@snmt-react-ui/country-select 2.3.14 → 2.3.15
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.
- package/dist/country-select.js +979 -639
- package/package.json +3 -3
package/dist/country-select.js
CHANGED
@@ -4,21 +4,21 @@ var E1 = (i, e, t) => he(i, typeof e != "symbol" ? e + "" : e, t);
|
|
4
4
|
import "./index.css";
|
5
5
|
import { jsx as n, Fragment as X, jsxs as C } from "react/jsx-runtime";
|
6
6
|
import { SNMTUiContext as ce } from "@snmt-react-ui/core";
|
7
|
-
import { Select as de, Flex as ge, Avatar as Ce, Checkbox as ue, Typography as pe, Tag as
|
7
|
+
import { Select as de, Flex as ge, Avatar as Ce, Checkbox as ue, Typography as pe, Tag as we, Popover as fe } from "antd";
|
8
8
|
import { createContext as e1, forwardRef as b1, useState as S, useRef as l1, useEffect as A, useCallback as W, useContext as z } from "react";
|
9
9
|
var me = Object.defineProperty, ke = (i, e, t) => e in i ? me(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, Le = (i, e, t) => ke(i, e + "", t), ve = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
10
10
|
function Ne() {
|
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
|
-
|
14
|
+
$(e[0]) && (e[0] = `react-i18next:: ${e[0]}`), console.warn(...e);
|
15
15
|
}
|
16
16
|
}
|
17
|
-
const
|
17
|
+
const V1 = {};
|
18
18
|
function N1() {
|
19
19
|
for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
|
20
20
|
e[t] = arguments[t];
|
21
|
-
|
21
|
+
$(e[0]) && V1[e[0]] || ($(e[0]) && (V1[e[0]] = /* @__PURE__ */ new Date()), Ne(...e));
|
22
22
|
}
|
23
23
|
const U1 = (i, e) => () => {
|
24
24
|
if (i.isInitialized)
|
@@ -31,10 +31,10 @@ const U1 = (i, e) => () => {
|
|
31
31
|
};
|
32
32
|
i.on("initialized", t);
|
33
33
|
}
|
34
|
-
},
|
34
|
+
}, H1 = (i, e, t) => {
|
35
35
|
i.loadNamespaces(e, U1(i, t));
|
36
36
|
}, I1 = (i, e, t, s) => {
|
37
|
-
|
37
|
+
$(t) && (t = [t]), t.forEach((o) => {
|
38
38
|
i.options.ns.indexOf(o) < 0 && i.options.ns.push(o);
|
39
39
|
}), i.loadLanguages(e, U1(i, s));
|
40
40
|
}, xe = function(i, e) {
|
@@ -46,7 +46,7 @@ const U1 = (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) && (!o || c(l, i)));
|
49
|
-
},
|
49
|
+
}, Me = function(i, e) {
|
50
50
|
let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
51
51
|
return !e.languages || !e.languages.length ? (N1("i18n.languages were undefined or empty", e.languages), !0) : e.options.ignoreJSONStructure !== void 0 ? e.hasLoadedNamespace(i, {
|
52
52
|
lng: t.lng,
|
@@ -54,7 +54,7 @@ const U1 = (i, e) => () => {
|
|
54
54
|
if (t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && s.services.backendConnector.backend && s.isLanguageChangingTo && !o(s.isLanguageChangingTo, i)) return !1;
|
55
55
|
}
|
56
56
|
}) : xe(i, e, t);
|
57
|
-
},
|
57
|
+
}, $ = (i) => typeof i == "string", Re = (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, ye = {
|
58
58
|
"&": "&",
|
59
59
|
"&": "&",
|
60
60
|
"<": "<",
|
@@ -76,7 +76,7 @@ const U1 = (i, e) => () => {
|
|
76
76
|
"/": "/",
|
77
77
|
"/": "/"
|
78
78
|
}, _e = (i) => ye[i], Ee = (i) => i.replace(be, _e);
|
79
|
-
let
|
79
|
+
let Ve = {
|
80
80
|
bindI18n: "languageChanged",
|
81
81
|
bindI18nStore: "",
|
82
82
|
transEmptyNodeValue: "",
|
@@ -86,7 +86,7 @@ let He = {
|
|
86
86
|
useSuspense: !0,
|
87
87
|
unescape: Ee
|
88
88
|
};
|
89
|
-
const
|
89
|
+
const He = () => Ve;
|
90
90
|
let Ie;
|
91
91
|
const Se = () => Ie, Oe = e1();
|
92
92
|
class Ae {
|
@@ -114,12 +114,12 @@ const Be = (i, e) => {
|
|
114
114
|
} = z(Oe) || {}, l = t || s || Se();
|
115
115
|
if (l && !l.reportNamespaces && (l.reportNamespaces = new Ae()), !l) {
|
116
116
|
N1("You will need to pass in an i18next instance by using initReactI18next");
|
117
|
-
const
|
118
|
-
return
|
117
|
+
const w = (b, R) => $(R) ? R : Re(R) && $(R.defaultValue) ? R.defaultValue : Array.isArray(b) ? b[b.length - 1] : b, M = [w, {}, !1];
|
118
|
+
return M.t = w, M.i18n = {}, M.ready = !1, M;
|
119
119
|
}
|
120
120
|
l.options.react && l.options.react.wait !== void 0 && N1("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
|
121
121
|
const c = {
|
122
|
-
...
|
122
|
+
...He(),
|
123
123
|
...l.options.react,
|
124
124
|
...e
|
125
125
|
}, {
|
@@ -127,34 +127,34 @@ const Be = (i, e) => {
|
|
127
127
|
keyPrefix: d
|
128
128
|
} = c;
|
129
129
|
let g = i;
|
130
|
-
g =
|
131
|
-
const a = (l.isInitialized || l.initializedStoreOnce) && g.every((
|
132
|
-
let
|
133
|
-
e.lng && (
|
134
|
-
const E = Be(
|
130
|
+
g = $(g) ? [g] : g || ["translation"], l.reportNamespaces.addUsedNamespaces && l.reportNamespaces.addUsedNamespaces(g);
|
131
|
+
const a = (l.isInitialized || l.initializedStoreOnce) && g.every((w) => Me(w, l, c)), h = Ze(l, e.lng || null, c.nsMode === "fallback" ? g : g[0], d), u = () => h, p = () => z1(l, e.lng || null, c.nsMode === "fallback" ? g : g[0], d), [L, x] = S(u);
|
132
|
+
let f = g.join();
|
133
|
+
e.lng && (f = `${e.lng}${f}`);
|
134
|
+
const E = Be(f), y = l1(!0);
|
135
135
|
A(() => {
|
136
136
|
const {
|
137
|
-
bindI18n:
|
138
|
-
bindI18nStore:
|
137
|
+
bindI18n: w,
|
138
|
+
bindI18nStore: M
|
139
139
|
} = c;
|
140
140
|
y.current = !0, !a && !r && (e.lng ? I1(l, e.lng, g, () => {
|
141
141
|
y.current && x(p);
|
142
|
-
}) :
|
142
|
+
}) : H1(l, g, () => {
|
143
143
|
y.current && x(p);
|
144
|
-
})), a && E && E !==
|
144
|
+
})), a && E && E !== f && y.current && x(p);
|
145
145
|
const b = () => {
|
146
146
|
y.current && x(p);
|
147
147
|
};
|
148
|
-
return
|
149
|
-
y.current = !1,
|
148
|
+
return w && l && l.on(w, b), M && l && l.store.on(M, b), () => {
|
149
|
+
y.current = !1, w && l && w.split(" ").forEach((R) => l.off(R, b)), M && l && M.split(" ").forEach((R) => l.store.off(R, b));
|
150
150
|
};
|
151
|
-
}, [l,
|
151
|
+
}, [l, f]), A(() => {
|
152
152
|
y.current && a && x(u);
|
153
153
|
}, [l, d, a]);
|
154
|
-
const _ = [
|
155
|
-
if (_.t =
|
156
|
-
throw new Promise((
|
157
|
-
e.lng ? I1(l, e.lng, g, () =>
|
154
|
+
const _ = [L, l, a];
|
155
|
+
if (_.t = L, _.i18n = l, _.ready = a, a || !a && !r) return _;
|
156
|
+
throw new Promise((w) => {
|
157
|
+
e.lng ? I1(l, e.lng, g, () => w()) : H1(l, g, () => w());
|
158
158
|
});
|
159
159
|
}, g1 = ({
|
160
160
|
children: i,
|
@@ -192,13 +192,13 @@ const Be = (i, e) => {
|
|
192
192
|
}
|
193
193
|
);
|
194
194
|
};
|
195
|
-
var
|
195
|
+
var F = /* @__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))(F || {});
|
196
196
|
const y1 = e1({
|
197
197
|
locale: "en",
|
198
198
|
theme: "light"
|
199
199
|
});
|
200
200
|
y1.Provider;
|
201
|
-
const
|
201
|
+
const De = ({
|
202
202
|
checked: i = !0,
|
203
203
|
indeterminate: e = !1,
|
204
204
|
children: t,
|
@@ -225,13 +225,13 @@ const Te = ({
|
|
225
225
|
}
|
226
226
|
);
|
227
227
|
};
|
228
|
-
var
|
228
|
+
var m = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", i.GREY_LIGHT_1 = "var(--grey-light-1)", i.GREY_LIGHT_2 = "var(--grey-light-2)", i.GREY_LIGHT_3 = "var(--grey-light-3)", i.GREY_LIGHT_4 = "var(--grey-light-4)", i.GREY_DARK_1 = "var(--grey-dark-1)", i.GREY_DARK_2 = "var(--grey-dark-2)", i.GREY_DARK_3 = "var(--grey-dark-3)", i.GREY_DARK_4 = "var(--grey-dark-4)", i.GREY_DARK_5 = "var(--grey-dark-5)", i.BLUE_PRIMARY = "var(--blue-primary)", i.BLUE_HOVER = "var(--blue-hover)", i.BLUE_LIGHT_1 = "var(--blue-light-1)", i.BLUE_LIGHT_2 = "var(--blue-light-2)", i.BLUE_LIGHT_3 = "var(--blue-light-3)", i.BLUE_LIGHT_4 = "var(--blue-light-4)", i.BLUE_DARK_1 = "var(--blue-dark-1)", i.PURPLE_LIGHT = "var(--purple-light)", i.PURPLE_DARK = "var(--purple-dark)", i.NOTIFICATION_WARNING_LIGHT = "var(--notification-warning-light)", i.NOTIFICATION_WARNING_DARK = "var(--notification-warning-dark)", i.NOTIFICATION_SUCCESS_LIGHT = "var(--notification-success-light)", i.NOTIFICATION_SUCCESS_DARK = "var(--notification-success-dark)", i.NOTIFICATION_ERROR_LIGHT = "var(--notification-error-light)", i.NOTIFICATION_ERROR_DARK = "var(--notification-error-dark)", i.NOTIFICATION_ERROR_DARK_MODE = "var(--notification-error-dark-mode)", i))(m || {});
|
229
229
|
const J1 = e1({
|
230
230
|
locale: "en",
|
231
231
|
theme: "light"
|
232
232
|
});
|
233
233
|
J1.Provider;
|
234
|
-
const
|
234
|
+
const Ge = ({
|
235
235
|
width: i = 20,
|
236
236
|
height: e = 20,
|
237
237
|
color: t = "#001E52",
|
@@ -258,7 +258,7 @@ const De = ({
|
|
258
258
|
}
|
259
259
|
)
|
260
260
|
}
|
261
|
-
),
|
261
|
+
), Te = ({
|
262
262
|
width: i = 20,
|
263
263
|
height: e = 20,
|
264
264
|
color: t = "#001E52",
|
@@ -348,7 +348,7 @@ const De = ({
|
|
348
348
|
)
|
349
349
|
]
|
350
350
|
}
|
351
|
-
),
|
351
|
+
), Ye = ({
|
352
352
|
width: i = 18,
|
353
353
|
height: e = 18,
|
354
354
|
color: t = "#001E52",
|
@@ -387,7 +387,7 @@ const De = ({
|
|
387
387
|
)
|
388
388
|
]
|
389
389
|
}
|
390
|
-
),
|
390
|
+
), Fe = ({
|
391
391
|
width: i = 20,
|
392
392
|
height: e = 20,
|
393
393
|
color: t = "#001E52",
|
@@ -413,7 +413,7 @@ const De = ({
|
|
413
413
|
}
|
414
414
|
)
|
415
415
|
}
|
416
|
-
),
|
416
|
+
), $e = ({
|
417
417
|
width: i = 20,
|
418
418
|
height: e = 20,
|
419
419
|
color: t = "#001E52",
|
@@ -1282,7 +1282,7 @@ const De = ({
|
|
1282
1282
|
)
|
1283
1283
|
]
|
1284
1284
|
}
|
1285
|
-
),
|
1285
|
+
), w2 = ({
|
1286
1286
|
width: i = 11,
|
1287
1287
|
height: e = 11,
|
1288
1288
|
color: t = "#FFB020",
|
@@ -1316,7 +1316,7 @@ const De = ({
|
|
1316
1316
|
)
|
1317
1317
|
]
|
1318
1318
|
}
|
1319
|
-
),
|
1319
|
+
), f2 = ({
|
1320
1320
|
width: i = 10,
|
1321
1321
|
height: e = 10,
|
1322
1322
|
color: t = "#88A4FF",
|
@@ -1568,7 +1568,7 @@ const De = ({
|
|
1568
1568
|
}
|
1569
1569
|
)
|
1570
1570
|
}
|
1571
|
-
),
|
1571
|
+
), M2 = ({
|
1572
1572
|
width: i = 20,
|
1573
1573
|
height: e = 20,
|
1574
1574
|
color: t = "#F2F2F7",
|
@@ -1597,7 +1597,7 @@ const De = ({
|
|
1597
1597
|
)
|
1598
1598
|
]
|
1599
1599
|
}
|
1600
|
-
),
|
1600
|
+
), R2 = ({
|
1601
1601
|
width: i = 20,
|
1602
1602
|
height: e = 20,
|
1603
1603
|
color: t = "#004ED7",
|
@@ -1768,10 +1768,10 @@ const De = ({
|
|
1768
1768
|
)
|
1769
1769
|
]
|
1770
1770
|
}
|
1771
|
-
),
|
1771
|
+
), V2 = ({
|
1772
1772
|
width: i = 24,
|
1773
1773
|
height: e = 24,
|
1774
|
-
color: t =
|
1774
|
+
color: t = m.GREY_DARK_5,
|
1775
1775
|
className: s,
|
1776
1776
|
onClick: o
|
1777
1777
|
}) => /* @__PURE__ */ C(
|
@@ -1807,10 +1807,10 @@ const De = ({
|
|
1807
1807
|
)
|
1808
1808
|
]
|
1809
1809
|
}
|
1810
|
-
),
|
1810
|
+
), H2 = ({
|
1811
1811
|
width: i = 20,
|
1812
1812
|
height: e = 20,
|
1813
|
-
color: t =
|
1813
|
+
color: t = m.GREY_DARK_1,
|
1814
1814
|
className: s,
|
1815
1815
|
onClick: o
|
1816
1816
|
}) => /* @__PURE__ */ C(
|
@@ -1843,7 +1843,7 @@ const De = ({
|
|
1843
1843
|
), I2 = ({
|
1844
1844
|
width: i = 81,
|
1845
1845
|
height: e = 80,
|
1846
|
-
color: t =
|
1846
|
+
color: t = m.GREY_DARK_5,
|
1847
1847
|
className: s,
|
1848
1848
|
onClick: o
|
1849
1849
|
}) => /* @__PURE__ */ C(
|
@@ -1891,7 +1891,7 @@ const De = ({
|
|
1891
1891
|
}
|
1892
1892
|
), S2 = ({
|
1893
1893
|
className: i,
|
1894
|
-
color: e =
|
1894
|
+
color: e = m.GREY_DARK_5,
|
1895
1895
|
height: t = 20,
|
1896
1896
|
width: s = 20,
|
1897
1897
|
onClick: o
|
@@ -1918,7 +1918,7 @@ const De = ({
|
|
1918
1918
|
}
|
1919
1919
|
), O2 = ({
|
1920
1920
|
className: i,
|
1921
|
-
color: e =
|
1921
|
+
color: e = m.GREY_DARK_5,
|
1922
1922
|
height: t = 20,
|
1923
1923
|
width: s = 20,
|
1924
1924
|
onClick: o
|
@@ -1945,7 +1945,7 @@ const De = ({
|
|
1945
1945
|
}
|
1946
1946
|
), A2 = ({
|
1947
1947
|
className: i,
|
1948
|
-
color: e =
|
1948
|
+
color: e = m.GREY_DARK_5,
|
1949
1949
|
height: t = 5,
|
1950
1950
|
width: s = 10,
|
1951
1951
|
onClick: o
|
@@ -1969,7 +1969,7 @@ const De = ({
|
|
1969
1969
|
}
|
1970
1970
|
), B2 = ({
|
1971
1971
|
className: i,
|
1972
|
-
color: e =
|
1972
|
+
color: e = m.GREY_DARK_5,
|
1973
1973
|
height: t = 5,
|
1974
1974
|
width: s = 10,
|
1975
1975
|
onClick: o
|
@@ -1994,7 +1994,7 @@ const De = ({
|
|
1994
1994
|
}
|
1995
1995
|
), Z2 = ({
|
1996
1996
|
className: i,
|
1997
|
-
color: e =
|
1997
|
+
color: e = m.GREY_DARK_5,
|
1998
1998
|
height: t = 24,
|
1999
1999
|
width: s = 24,
|
2000
2000
|
onClick: o
|
@@ -2033,7 +2033,7 @@ const De = ({
|
|
2033
2033
|
}
|
2034
2034
|
), W2 = ({
|
2035
2035
|
className: i,
|
2036
|
-
color: e =
|
2036
|
+
color: e = m.GREY_DARK_5,
|
2037
2037
|
height: t = 24,
|
2038
2038
|
width: s = 24,
|
2039
2039
|
onClick: o
|
@@ -2072,7 +2072,7 @@ const De = ({
|
|
2072
2072
|
}
|
2073
2073
|
), j2 = ({
|
2074
2074
|
className: i,
|
2075
|
-
color: e =
|
2075
|
+
color: e = m.GREY_DARK_5,
|
2076
2076
|
height: t = 24,
|
2077
2077
|
width: s = 24,
|
2078
2078
|
onClick: o
|
@@ -2097,9 +2097,9 @@ const De = ({
|
|
2097
2097
|
}
|
2098
2098
|
)
|
2099
2099
|
}
|
2100
|
-
),
|
2100
|
+
), D2 = ({
|
2101
2101
|
className: i,
|
2102
|
-
color: e =
|
2102
|
+
color: e = m.GREY_DARK_5,
|
2103
2103
|
height: t = 24,
|
2104
2104
|
width: s = 24,
|
2105
2105
|
onClick: o
|
@@ -2156,9 +2156,9 @@ const De = ({
|
|
2156
2156
|
)
|
2157
2157
|
]
|
2158
2158
|
}
|
2159
|
-
),
|
2159
|
+
), G2 = ({
|
2160
2160
|
className: i,
|
2161
|
-
color: e =
|
2161
|
+
color: e = m.GREY_DARK_5,
|
2162
2162
|
height: t = 24,
|
2163
2163
|
width: s = 24,
|
2164
2164
|
onClick: o
|
@@ -2193,9 +2193,9 @@ const De = ({
|
|
2193
2193
|
)
|
2194
2194
|
]
|
2195
2195
|
}
|
2196
|
-
),
|
2196
|
+
), T2 = ({
|
2197
2197
|
className: i,
|
2198
|
-
color: e =
|
2198
|
+
color: e = m.GREY_DARK_3,
|
2199
2199
|
height: t = 14,
|
2200
2200
|
width: s = 14,
|
2201
2201
|
onClick: o
|
@@ -2232,7 +2232,7 @@ const De = ({
|
|
2232
2232
|
}
|
2233
2233
|
), K2 = ({
|
2234
2234
|
className: i,
|
2235
|
-
color: e =
|
2235
|
+
color: e = m.GREY_DARK_5,
|
2236
2236
|
height: t = 18,
|
2237
2237
|
onClick: s,
|
2238
2238
|
width: o = 18
|
@@ -2259,7 +2259,7 @@ const De = ({
|
|
2259
2259
|
}
|
2260
2260
|
), P2 = ({
|
2261
2261
|
className: i,
|
2262
|
-
color: e =
|
2262
|
+
color: e = m.GREY_DARK_5,
|
2263
2263
|
height: t = 24,
|
2264
2264
|
width: s = 24,
|
2265
2265
|
onClick: o
|
@@ -2309,9 +2309,9 @@ const De = ({
|
|
2309
2309
|
)
|
2310
2310
|
]
|
2311
2311
|
}
|
2312
|
-
),
|
2312
|
+
), Y2 = ({
|
2313
2313
|
className: i,
|
2314
|
-
color: e =
|
2314
|
+
color: e = m.GREY_DARK_5,
|
2315
2315
|
height: t = 24,
|
2316
2316
|
width: s = 24,
|
2317
2317
|
onClick: o
|
@@ -2346,9 +2346,9 @@ const De = ({
|
|
2346
2346
|
)
|
2347
2347
|
]
|
2348
2348
|
}
|
2349
|
-
),
|
2349
|
+
), F2 = ({
|
2350
2350
|
className: i,
|
2351
|
-
color: e =
|
2351
|
+
color: e = m.NOTIFICATION_WARNING_DARK,
|
2352
2352
|
height: t = 37,
|
2353
2353
|
width: s = 36,
|
2354
2354
|
onClick: o
|
@@ -2385,9 +2385,9 @@ const De = ({
|
|
2385
2385
|
)
|
2386
2386
|
]
|
2387
2387
|
}
|
2388
|
-
),
|
2388
|
+
), $2 = ({
|
2389
2389
|
className: i,
|
2390
|
-
color: e =
|
2390
|
+
color: e = m.GREY_DARK_5,
|
2391
2391
|
height: t = 24,
|
2392
2392
|
width: s = 24,
|
2393
2393
|
onClick: o
|
@@ -2413,7 +2413,7 @@ const De = ({
|
|
2413
2413
|
}
|
2414
2414
|
), U2 = ({
|
2415
2415
|
className: i,
|
2416
|
-
color: e =
|
2416
|
+
color: e = m.GREY_DARK_5,
|
2417
2417
|
height: t = 24,
|
2418
2418
|
width: s = 24,
|
2419
2419
|
onClick: o
|
@@ -2452,7 +2452,7 @@ const De = ({
|
|
2452
2452
|
}
|
2453
2453
|
), z2 = ({
|
2454
2454
|
className: i,
|
2455
|
-
color: e =
|
2455
|
+
color: e = m.GREY_DARK_5,
|
2456
2456
|
height: t = 24,
|
2457
2457
|
width: s = 24,
|
2458
2458
|
onClick: o
|
@@ -2491,7 +2491,7 @@ const De = ({
|
|
2491
2491
|
}
|
2492
2492
|
), J2 = ({
|
2493
2493
|
className: i,
|
2494
|
-
color: e =
|
2494
|
+
color: e = m.GREY_DARK_5,
|
2495
2495
|
height: t = 24,
|
2496
2496
|
width: s = 24,
|
2497
2497
|
onClick: o
|
@@ -2560,7 +2560,7 @@ const De = ({
|
|
2560
2560
|
}
|
2561
2561
|
), Q2 = ({
|
2562
2562
|
className: i,
|
2563
|
-
color: e =
|
2563
|
+
color: e = m.GREY_DARK_5,
|
2564
2564
|
height: t = 24,
|
2565
2565
|
width: s = 24,
|
2566
2566
|
onClick: o
|
@@ -2599,7 +2599,7 @@ const De = ({
|
|
2599
2599
|
}
|
2600
2600
|
), q2 = ({
|
2601
2601
|
className: i,
|
2602
|
-
color: e =
|
2602
|
+
color: e = m.GREY_DARK_5,
|
2603
2603
|
height: t = 24,
|
2604
2604
|
width: s = 24,
|
2605
2605
|
onClick: o
|
@@ -2656,7 +2656,7 @@ const De = ({
|
|
2656
2656
|
}
|
2657
2657
|
), X2 = ({
|
2658
2658
|
className: i,
|
2659
|
-
color: e =
|
2659
|
+
color: e = m.GREY_DARK_5,
|
2660
2660
|
height: t = 24,
|
2661
2661
|
width: s = 24,
|
2662
2662
|
onClick: o
|
@@ -2695,7 +2695,7 @@ const De = ({
|
|
2695
2695
|
}
|
2696
2696
|
), et = ({
|
2697
2697
|
className: i,
|
2698
|
-
color: e =
|
2698
|
+
color: e = m.GREY_DARK_5,
|
2699
2699
|
height: t = 24,
|
2700
2700
|
width: s = 24,
|
2701
2701
|
onClick: o
|
@@ -2744,7 +2744,7 @@ const De = ({
|
|
2744
2744
|
}
|
2745
2745
|
), tt = ({
|
2746
2746
|
className: i,
|
2747
|
-
color: e =
|
2747
|
+
color: e = m.GREY_DARK_5,
|
2748
2748
|
height: t = 24,
|
2749
2749
|
width: s = 24,
|
2750
2750
|
onClick: o
|
@@ -2783,7 +2783,7 @@ const De = ({
|
|
2783
2783
|
}
|
2784
2784
|
), it = ({
|
2785
2785
|
className: i,
|
2786
|
-
color: e =
|
2786
|
+
color: e = m.GREY_DARK_5,
|
2787
2787
|
height: t = 24,
|
2788
2788
|
width: s = 24,
|
2789
2789
|
onClick: o
|
@@ -2810,7 +2810,7 @@ const De = ({
|
|
2810
2810
|
}
|
2811
2811
|
), st = ({
|
2812
2812
|
className: i,
|
2813
|
-
color: e =
|
2813
|
+
color: e = m.GREY_DARK_5,
|
2814
2814
|
height: t = 24,
|
2815
2815
|
width: s = 24,
|
2816
2816
|
onClick: o
|
@@ -2848,7 +2848,7 @@ const De = ({
|
|
2848
2848
|
}
|
2849
2849
|
), ot = ({
|
2850
2850
|
className: i,
|
2851
|
-
color: e =
|
2851
|
+
color: e = m.GREY_DARK_5,
|
2852
2852
|
height: t = 24,
|
2853
2853
|
width: s = 24,
|
2854
2854
|
onClick: o
|
@@ -2869,7 +2869,7 @@ const De = ({
|
|
2869
2869
|
}
|
2870
2870
|
), nt = ({
|
2871
2871
|
className: i,
|
2872
|
-
color: e =
|
2872
|
+
color: e = m.GREY_DARK_5,
|
2873
2873
|
height: t = 24,
|
2874
2874
|
width: s = 24,
|
2875
2875
|
onClick: o
|
@@ -2908,7 +2908,7 @@ const De = ({
|
|
2908
2908
|
}
|
2909
2909
|
), rt = ({
|
2910
2910
|
className: i,
|
2911
|
-
color: e =
|
2911
|
+
color: e = m.GREY_DARK_5,
|
2912
2912
|
height: t = 24,
|
2913
2913
|
width: s = 24,
|
2914
2914
|
onClick: o
|
@@ -2947,7 +2947,7 @@ const De = ({
|
|
2947
2947
|
}
|
2948
2948
|
), lt = ({
|
2949
2949
|
className: i,
|
2950
|
-
color: e =
|
2950
|
+
color: e = m.GREY_DARK_5,
|
2951
2951
|
height: t = 24,
|
2952
2952
|
width: s = 24,
|
2953
2953
|
onClick: o
|
@@ -2986,7 +2986,7 @@ const De = ({
|
|
2986
2986
|
}
|
2987
2987
|
), at = ({
|
2988
2988
|
className: i,
|
2989
|
-
color: e =
|
2989
|
+
color: e = m.GREY_DARK_2,
|
2990
2990
|
height: t = 16,
|
2991
2991
|
width: s = 16,
|
2992
2992
|
onClick: o
|
@@ -3012,7 +3012,7 @@ const De = ({
|
|
3012
3012
|
}
|
3013
3013
|
), ht = ({
|
3014
3014
|
className: i,
|
3015
|
-
color: e =
|
3015
|
+
color: e = m.GREY_DARK_5,
|
3016
3016
|
height: t = 20,
|
3017
3017
|
width: s = 20,
|
3018
3018
|
onClick: o
|
@@ -3041,7 +3041,7 @@ const De = ({
|
|
3041
3041
|
}
|
3042
3042
|
), ct = ({
|
3043
3043
|
className: i,
|
3044
|
-
color: e =
|
3044
|
+
color: e = m.GREY_DARK_5,
|
3045
3045
|
height: t = 20,
|
3046
3046
|
width: s = 20,
|
3047
3047
|
onClick: o
|
@@ -3070,7 +3070,7 @@ const De = ({
|
|
3070
3070
|
}
|
3071
3071
|
), dt = ({
|
3072
3072
|
className: i,
|
3073
|
-
color: e =
|
3073
|
+
color: e = m.GREY_DARK_5,
|
3074
3074
|
height: t = 20,
|
3075
3075
|
width: s = 20,
|
3076
3076
|
onClick: o
|
@@ -3085,7 +3085,7 @@ const De = ({
|
|
3085
3085
|
fill: "none",
|
3086
3086
|
xmlns: "http://www.w3.org/2000/svg",
|
3087
3087
|
children: [
|
3088
|
-
/* @__PURE__ */ n("rect", { width: "20", height: "20", rx: "4", fill:
|
3088
|
+
/* @__PURE__ */ n("rect", { width: "20", height: "20", rx: "4", fill: m.GREY_LIGHT_2 }),
|
3089
3089
|
/* @__PURE__ */ n(
|
3090
3090
|
"path",
|
3091
3091
|
{
|
@@ -3099,7 +3099,7 @@ const De = ({
|
|
3099
3099
|
}
|
3100
3100
|
), gt = ({
|
3101
3101
|
className: i,
|
3102
|
-
color: e =
|
3102
|
+
color: e = m.GREY_DARK_5,
|
3103
3103
|
height: t = 20,
|
3104
3104
|
width: s = 20,
|
3105
3105
|
onClick: o
|
@@ -3114,7 +3114,7 @@ const De = ({
|
|
3114
3114
|
fill: "none",
|
3115
3115
|
xmlns: "http://www.w3.org/2000/svg",
|
3116
3116
|
children: [
|
3117
|
-
/* @__PURE__ */ n("rect", { width: "20", height: "20", rx: "4", fill:
|
3117
|
+
/* @__PURE__ */ n("rect", { width: "20", height: "20", rx: "4", fill: m.GREY_LIGHT_2 }),
|
3118
3118
|
/* @__PURE__ */ n(
|
3119
3119
|
"path",
|
3120
3120
|
{
|
@@ -3173,10 +3173,10 @@ const De = ({
|
|
3173
3173
|
{
|
3174
3174
|
d: "M13.3333 14.6667L17.5 10.5M17.5 10.5L13.3333 6.33333M17.5 10.5H7.5M7.5 3H6.5C5.09987 3 4.3998 3 3.86502 3.27248C3.39462 3.51217 3.01217 3.89462 2.77248 4.36502C2.5 4.8998 2.5 5.59987 2.5 7V14C2.5 15.4001 2.5 16.1002 2.77248 16.635C3.01217 17.1054 3.39462 17.4878 3.86502 17.7275C4.3998 18 5.09987 18 6.5 18H7.5",
|
3175
3175
|
stroke: e,
|
3176
|
-
|
3177
|
-
|
3178
|
-
|
3179
|
-
|
3176
|
+
strokeOpacity: "0.8",
|
3177
|
+
strokeWidth: "2",
|
3178
|
+
strokeLinecap: "round",
|
3179
|
+
strokeLinejoin: "round"
|
3180
3180
|
}
|
3181
3181
|
)
|
3182
3182
|
}
|
@@ -3218,7 +3218,7 @@ const De = ({
|
|
3218
3218
|
)
|
3219
3219
|
] }) })
|
3220
3220
|
}
|
3221
|
-
),
|
3221
|
+
), wt = ({
|
3222
3222
|
width: i = 20,
|
3223
3223
|
height: e = 20,
|
3224
3224
|
color: t = "#001E52",
|
@@ -3274,7 +3274,7 @@ const De = ({
|
|
3274
3274
|
}
|
3275
3275
|
)
|
3276
3276
|
}
|
3277
|
-
),
|
3277
|
+
), ft = ({
|
3278
3278
|
width: i = 24,
|
3279
3279
|
height: e = 24,
|
3280
3280
|
color: t = "#131314",
|
@@ -3307,6 +3307,166 @@ const De = ({
|
|
3307
3307
|
)
|
3308
3308
|
]
|
3309
3309
|
}
|
3310
|
+
), mt = ({
|
3311
|
+
width: i = 24,
|
3312
|
+
height: e = 24,
|
3313
|
+
color: t = m.GREY_DARK_2,
|
3314
|
+
className: s,
|
3315
|
+
onClick: o
|
3316
|
+
}) => /* @__PURE__ */ C(
|
3317
|
+
"svg",
|
3318
|
+
{
|
3319
|
+
width: i,
|
3320
|
+
height: e,
|
3321
|
+
viewBox: "0 0 24 24",
|
3322
|
+
fill: "none",
|
3323
|
+
xmlns: "http://www.w3.org/2000/svg",
|
3324
|
+
className: s,
|
3325
|
+
onClick: o,
|
3326
|
+
children: [
|
3327
|
+
/* @__PURE__ */ n(
|
3328
|
+
"path",
|
3329
|
+
{
|
3330
|
+
d: "M5 20V19C5 15.134 8.13401 12 12 12V12C15.866 12 19 15.134 19 19V20",
|
3331
|
+
stroke: t,
|
3332
|
+
strokeWidth: "1.5",
|
3333
|
+
strokeLinecap: "round",
|
3334
|
+
strokeLinejoin: "round"
|
3335
|
+
}
|
3336
|
+
),
|
3337
|
+
/* @__PURE__ */ n(
|
3338
|
+
"path",
|
3339
|
+
{
|
3340
|
+
d: "M12 12C14.2091 12 16 10.2091 16 8C16 5.79086 14.2091 4 12 4C9.79086 4 8 5.79086 8 8C8 10.2091 9.79086 12 12 12Z",
|
3341
|
+
stroke: t,
|
3342
|
+
strokeWidth: "1.5",
|
3343
|
+
strokeLinecap: "round",
|
3344
|
+
strokeLinejoin: "round"
|
3345
|
+
}
|
3346
|
+
)
|
3347
|
+
]
|
3348
|
+
}
|
3349
|
+
), kt = ({
|
3350
|
+
width: i = 24,
|
3351
|
+
height: e = 24,
|
3352
|
+
color: t = m.GREY_DARK_2,
|
3353
|
+
className: s,
|
3354
|
+
onClick: o
|
3355
|
+
}) => /* @__PURE__ */ n(
|
3356
|
+
"svg",
|
3357
|
+
{
|
3358
|
+
width: i,
|
3359
|
+
height: e,
|
3360
|
+
viewBox: "0 0 24 24",
|
3361
|
+
fill: "none",
|
3362
|
+
xmlns: "http://www.w3.org/2000/svg",
|
3363
|
+
className: s,
|
3364
|
+
onClick: o,
|
3365
|
+
children: /* @__PURE__ */ n(
|
3366
|
+
"path",
|
3367
|
+
{
|
3368
|
+
d: "M15 4V2M15 4V6M15 4H10.5M3 10V19C3 19.5304 3.21071 20.0391 3.58579 20.4142C3.96086 20.7893 4.46957 21 5 21H19C19.5304 21 20.0391 20.7893 20.4142 20.4142C20.7893 20.0391 21 19.5304 21 19V10M3 10H21M3 10V6C3 5.46957 3.21071 4.96086 3.58579 4.58579C3.96086 4.21071 4.46957 4 5 4H7M21 10V6C21 5.46957 20.7893 4.96086 20.4142 4.58579C20.0391 4.21071 19.5304 4 19 4H18.5M7 2V6",
|
3369
|
+
stroke: t,
|
3370
|
+
strokeWidth: "1.5",
|
3371
|
+
strokeLinecap: "round",
|
3372
|
+
strokeLinejoin: "round"
|
3373
|
+
}
|
3374
|
+
)
|
3375
|
+
}
|
3376
|
+
), Lt = ({
|
3377
|
+
width: i = 24,
|
3378
|
+
height: e = 24,
|
3379
|
+
color: t = m.GREY_DARK_2,
|
3380
|
+
className: s,
|
3381
|
+
onClick: o
|
3382
|
+
}) => /* @__PURE__ */ C(
|
3383
|
+
"svg",
|
3384
|
+
{
|
3385
|
+
width: i,
|
3386
|
+
height: e,
|
3387
|
+
viewBox: "0 0 24 24",
|
3388
|
+
fill: "none",
|
3389
|
+
xmlns: "http://www.w3.org/2000/svg",
|
3390
|
+
className: s,
|
3391
|
+
onClick: o,
|
3392
|
+
children: [
|
3393
|
+
/* @__PURE__ */ n(
|
3394
|
+
"path",
|
3395
|
+
{
|
3396
|
+
d: "M12 22C17.523 22 22 17.523 22 12C22 6.477 17.523 2 12 2C6.477 2 2 6.477 2 12C2 17.523 6.477 22 12 22Z",
|
3397
|
+
stroke: t,
|
3398
|
+
strokeWidth: "1.5",
|
3399
|
+
strokeLinecap: "round",
|
3400
|
+
strokeLinejoin: "round"
|
3401
|
+
}
|
3402
|
+
),
|
3403
|
+
/* @__PURE__ */ n(
|
3404
|
+
"path",
|
3405
|
+
{
|
3406
|
+
d: "M12 13C12.2652 13 12.5196 12.8946 12.7071 12.7071C12.8946 12.5196 13 12.2652 13 12C13 11.7348 12.8946 11.4804 12.7071 11.2929C12.5196 11.1054 12.2652 11 12 11C11.7348 11 11.4804 11.1054 11.2929 11.2929C11.1054 11.4804 11 11.7348 11 12C11 12.2652 11.1054 12.5196 11.2929 12.7071C11.4804 12.8946 11.7348 13 12 13Z",
|
3407
|
+
fill: t,
|
3408
|
+
stroke: t,
|
3409
|
+
strokeWidth: "1.5",
|
3410
|
+
strokeLinecap: "round",
|
3411
|
+
strokeLinejoin: "round"
|
3412
|
+
}
|
3413
|
+
)
|
3414
|
+
]
|
3415
|
+
}
|
3416
|
+
), vt = ({
|
3417
|
+
width: i = 24,
|
3418
|
+
height: e = 24,
|
3419
|
+
color: t = m.GREY_DARK_2,
|
3420
|
+
className: s,
|
3421
|
+
onClick: o
|
3422
|
+
}) => /* @__PURE__ */ n(
|
3423
|
+
"svg",
|
3424
|
+
{
|
3425
|
+
width: i,
|
3426
|
+
height: e,
|
3427
|
+
viewBox: "0 0 24 24",
|
3428
|
+
fill: "none",
|
3429
|
+
xmlns: "http://www.w3.org/2000/svg",
|
3430
|
+
className: s,
|
3431
|
+
onClick: o,
|
3432
|
+
children: /* @__PURE__ */ n(
|
3433
|
+
"path",
|
3434
|
+
{
|
3435
|
+
d: "M7 18V17C7 15.6739 7.52678 14.4021 8.46447 13.4645C9.40215 12.5268 10.6739 12 12 12M12 12C13.3261 12 14.5979 12.5268 15.5355 13.4645C16.4732 14.4021 17 15.6739 17 17V18M12 12C12.7956 12 13.5587 11.6839 14.1213 11.1213C14.6839 10.5587 15 9.79565 15 9C15 8.20435 14.6839 7.44129 14.1213 6.87868C13.5587 6.31607 12.7956 6 12 6C11.2044 6 10.4413 6.31607 9.87868 6.87868C9.31607 7.44129 9 8.20435 9 9C9 9.79565 9.31607 10.5587 9.87868 11.1213C10.4413 11.6839 11.2044 12 12 12ZM1 18V17C1 16.2044 1.31607 15.4413 1.87868 14.8787C2.44129 14.3161 3.20435 14 4 14M4 14C4.53043 14 5.03914 13.7893 5.41421 13.4142C5.78929 13.0391 6 12.5304 6 12C6 11.4696 5.78929 10.9609 5.41421 10.5858C5.03914 10.2107 4.53043 10 4 10C3.46957 10 2.96086 10.2107 2.58579 10.5858C2.21071 10.9609 2 11.4696 2 12C2 12.5304 2.21071 13.0391 2.58579 13.4142C2.96086 13.7893 3.46957 14 4 14ZM23 18V17C23 16.2044 22.6839 15.4413 22.1213 14.8787C21.5587 14.3161 20.7956 14 20 14M20 14C20.5304 14 21.0391 13.7893 21.4142 13.4142C21.7893 13.0391 22 12.5304 22 12C22 11.4696 21.7893 10.9609 21.4142 10.5858C21.0391 10.2107 20.5304 10 20 10C19.4696 10 18.9609 10.2107 18.5858 10.5858C18.2107 10.9609 18 11.4696 18 12C18 12.5304 18.2107 13.0391 18.5858 13.4142C18.9609 13.7893 19.4696 14 20 14Z",
|
3436
|
+
stroke: t,
|
3437
|
+
strokeWidth: "1.5",
|
3438
|
+
strokeLinecap: "round",
|
3439
|
+
strokeLinejoin: "round"
|
3440
|
+
}
|
3441
|
+
)
|
3442
|
+
}
|
3443
|
+
), Nt = ({
|
3444
|
+
width: i = 24,
|
3445
|
+
height: e = 24,
|
3446
|
+
color: t = m.GREY_DARK_2,
|
3447
|
+
className: s,
|
3448
|
+
onClick: o
|
3449
|
+
}) => /* @__PURE__ */ n(
|
3450
|
+
"svg",
|
3451
|
+
{
|
3452
|
+
width: i,
|
3453
|
+
height: e,
|
3454
|
+
viewBox: "0 0 24 24",
|
3455
|
+
fill: "none",
|
3456
|
+
xmlns: "http://www.w3.org/2000/svg",
|
3457
|
+
className: s,
|
3458
|
+
onClick: o,
|
3459
|
+
children: /* @__PURE__ */ n(
|
3460
|
+
"path",
|
3461
|
+
{
|
3462
|
+
d: "M7 7H17M7 12H17M7 17H13M19 3H5C4.46957 3 3.96086 3.21071 3.58579 3.58579C3.21071 3.96086 3 4.46957 3 5V19C3 19.5304 3.21071 20.0391 3.58579 20.4142C3.96086 20.7893 4.46957 21 5 21H19C19.5304 21 20.0391 20.7893 20.4142 20.4142C20.7893 20.0391 21 19.5304 21 19V5C21 4.46957 20.7893 3.96086 20.4142 3.58579C20.0391 3.21071 19.5304 3 19 3Z",
|
3463
|
+
stroke: t,
|
3464
|
+
strokeWidth: "1.5",
|
3465
|
+
strokeLinecap: "round",
|
3466
|
+
strokeLinejoin: "round"
|
3467
|
+
}
|
3468
|
+
)
|
3469
|
+
}
|
3310
3470
|
), c1 = ({
|
3311
3471
|
name: i,
|
3312
3472
|
width: e,
|
@@ -3316,7 +3476,7 @@ const De = ({
|
|
3316
3476
|
disabled: l = !1,
|
3317
3477
|
onClick: c
|
3318
3478
|
}) => {
|
3319
|
-
const [r, d] = S(o), { theme: g } = z(J1), a = l ? g && g === "dark" ?
|
3479
|
+
const [r, d] = S(o), { theme: g } = z(J1), a = l ? g && g === "dark" ? m.GREY_LIGHT_4 : m.GREY_DARK_1 : s, h = l ? void 0 : c;
|
3320
3480
|
return A(() => {
|
3321
3481
|
if (o) {
|
3322
3482
|
h && !l && d(`${o} clickable`);
|
@@ -3330,19 +3490,19 @@ const De = ({
|
|
3330
3490
|
case "prevIcon":
|
3331
3491
|
return O2({ width: e, height: t, color: a, className: r, onClick: h });
|
3332
3492
|
case "arrowUp":
|
3333
|
-
return De({ width: e, height: t, color: a, className: r, onClick: h });
|
3334
|
-
case "arrowDown":
|
3335
3493
|
return Ge({ width: e, height: t, color: a, className: r, onClick: h });
|
3494
|
+
case "arrowDown":
|
3495
|
+
return Te({ width: e, height: t, color: a, className: r, onClick: h });
|
3336
3496
|
case "info":
|
3337
3497
|
return Ke({ width: e, height: t, color: a, className: r, onClick: h });
|
3338
3498
|
case "arrowRight":
|
3339
3499
|
return Pe({ width: e, height: t, color: a, className: r, onClick: h });
|
3340
3500
|
case "calendar":
|
3341
|
-
return
|
3501
|
+
return Ye({ width: e, height: t, color: a, className: r, onClick: h });
|
3342
3502
|
case "ok":
|
3343
|
-
return
|
3503
|
+
return Fe({ width: e, height: t, color: a, className: r, onClick: h });
|
3344
3504
|
case "cancel":
|
3345
|
-
return
|
3505
|
+
return $e({ width: e, height: t, color: a, className: r, onClick: h });
|
3346
3506
|
case "add":
|
3347
3507
|
return Ue({ width: e, height: t, color: a, className: r, onClick: h });
|
3348
3508
|
case "list":
|
@@ -3412,7 +3572,7 @@ const De = ({
|
|
3412
3572
|
case "success":
|
3413
3573
|
return p2({ width: e, height: t, color: a, className: r, onClick: h });
|
3414
3574
|
case "attentionSmall":
|
3415
|
-
return
|
3575
|
+
return w2({
|
3416
3576
|
width: e,
|
3417
3577
|
height: t,
|
3418
3578
|
color: a,
|
@@ -3420,7 +3580,7 @@ const De = ({
|
|
3420
3580
|
onClick: h
|
3421
3581
|
});
|
3422
3582
|
case "errorSmall":
|
3423
|
-
return
|
3583
|
+
return f2({ width: e, height: t, color: a, className: r, onClick: h });
|
3424
3584
|
case "infoMedium":
|
3425
3585
|
return m2({ width: e, height: t, color: a, className: r, onClick: h });
|
3426
3586
|
case "attentionMedium":
|
@@ -3466,7 +3626,7 @@ const De = ({
|
|
3466
3626
|
onClick: h
|
3467
3627
|
});
|
3468
3628
|
case "expandArrowIcon":
|
3469
|
-
return
|
3629
|
+
return M2({
|
3470
3630
|
width: e,
|
3471
3631
|
height: t,
|
3472
3632
|
color: a,
|
@@ -3474,7 +3634,7 @@ const De = ({
|
|
3474
3634
|
onClick: h
|
3475
3635
|
});
|
3476
3636
|
case "expandActiveArrowIcon":
|
3477
|
-
return
|
3637
|
+
return R2({
|
3478
3638
|
width: e,
|
3479
3639
|
height: t,
|
3480
3640
|
color: a,
|
@@ -3488,9 +3648,9 @@ const De = ({
|
|
3488
3648
|
case "sortDown":
|
3489
3649
|
return E2({ width: e, height: t, color: a, className: r, onClick: h });
|
3490
3650
|
case "logOut2":
|
3491
|
-
return H2({ width: e, height: t, color: a, className: r, onClick: h });
|
3492
|
-
case "search":
|
3493
3651
|
return V2({ width: e, height: t, color: a, className: r, onClick: h });
|
3652
|
+
case "search":
|
3653
|
+
return H2({ width: e, height: t, color: a, className: r, onClick: h });
|
3494
3654
|
case "handRock":
|
3495
3655
|
return I2({ width: e, height: t, color: a, className: r, onClick: h });
|
3496
3656
|
case "arrowUpFilled":
|
@@ -3502,23 +3662,23 @@ const De = ({
|
|
3502
3662
|
case "telegram":
|
3503
3663
|
return j2({ width: e, height: t, color: a, className: r, onClick: h });
|
3504
3664
|
case "mail":
|
3505
|
-
return
|
3665
|
+
return G2({ width: e, height: t, color: a, className: r, onClick: h });
|
3506
3666
|
case "github":
|
3507
3667
|
return W2({ width: e, height: t, color: a, className: r, onClick: h });
|
3508
3668
|
case "linkedIn":
|
3509
|
-
return
|
3669
|
+
return D2({ width: e, height: t, color: a, className: r, onClick: h });
|
3510
3670
|
case "emptyStateIcon":
|
3511
|
-
return
|
3671
|
+
return T2({ width: e, height: t, color: a, className: r, onClick: h });
|
3512
3672
|
case "filtersIcon":
|
3513
3673
|
return K2({ width: e, height: t, color: a, className: r, onClick: h });
|
3514
3674
|
case "dotMenuIcon":
|
3515
3675
|
return P2({ width: e, height: t, color: a, className: r, onClick: h });
|
3516
3676
|
case "plusCircle":
|
3517
|
-
return
|
3677
|
+
return Y2({ width: e, height: t, color: a, className: r, onClick: h });
|
3518
3678
|
case "warning":
|
3519
|
-
return
|
3679
|
+
return F2({ width: e, height: t, color: a, className: r, onClick: h });
|
3520
3680
|
case "back":
|
3521
|
-
return
|
3681
|
+
return $2({ width: e, height: t, color: a, className: r, onClick: h });
|
3522
3682
|
case "bell":
|
3523
3683
|
return U2({ width: e, height: t, color: a, className: r, onClick: h });
|
3524
3684
|
case "contract":
|
@@ -3564,19 +3724,29 @@ const De = ({
|
|
3564
3724
|
case "refresh":
|
3565
3725
|
return pt({ width: e, height: t, color: a, className: r, onClick: h });
|
3566
3726
|
case "projects":
|
3567
|
-
return ft({ width: e, height: t, color: a, className: r, onClick: h });
|
3568
|
-
case "exit":
|
3569
3727
|
return wt({ width: e, height: t, color: a, className: r, onClick: h });
|
3728
|
+
case "exit":
|
3729
|
+
return ft({ width: e, height: t, color: a, className: r, onClick: h });
|
3730
|
+
case "client":
|
3731
|
+
return mt({ width: e, height: t, color: a, className: r, onClick: h });
|
3732
|
+
case "calendar2":
|
3733
|
+
return kt({ width: e, height: t, color: a, className: r, onClick: h });
|
3734
|
+
case "openPointCircle":
|
3735
|
+
return Lt({ width: e, height: t, color: a, className: r, onClick: h });
|
3736
|
+
case "community":
|
3737
|
+
return vt({ width: e, height: t, color: a, className: r, onClick: h });
|
3738
|
+
case "docs":
|
3739
|
+
return Nt({ width: e, height: t, color: a, className: r, onClick: h });
|
3570
3740
|
default:
|
3571
3741
|
return /* @__PURE__ */ n(X, { children: "No Icon provided" });
|
3572
3742
|
}
|
3573
3743
|
})() });
|
3574
|
-
}, { Title:
|
3744
|
+
}, { Title: xt, Text: Mt } = pe, Rt = {
|
3575
3745
|
h1: 1,
|
3576
3746
|
h2: 2,
|
3577
3747
|
h3: 3,
|
3578
3748
|
h4: 4
|
3579
|
-
},
|
3749
|
+
}, bt = b1(
|
3580
3750
|
({
|
3581
3751
|
align: i = "inherit",
|
3582
3752
|
variant: e = "body1",
|
@@ -3589,17 +3759,17 @@ const De = ({
|
|
3589
3759
|
const d = e === "h1" || e === "h2" || e === "h3" || e === "h4";
|
3590
3760
|
let g = `snmt-typography snmt-typography-${e}`;
|
3591
3761
|
return i && i !== "inherit" && (g += ` snmt-typography-align-${i}`), l && (g += " collapsed"), d ? /* @__PURE__ */ n(
|
3592
|
-
|
3762
|
+
xt,
|
3593
3763
|
{
|
3594
3764
|
className: g,
|
3595
3765
|
style: { color: t, whiteSpace: c },
|
3596
3766
|
onClick: o,
|
3597
|
-
level:
|
3767
|
+
level: Rt[e],
|
3598
3768
|
ref: r,
|
3599
3769
|
children: s
|
3600
3770
|
}
|
3601
3771
|
) : /* @__PURE__ */ n(
|
3602
|
-
|
3772
|
+
Mt,
|
3603
3773
|
{
|
3604
3774
|
className: g,
|
3605
3775
|
style: { color: t, whiteSpace: c },
|
@@ -3610,13 +3780,13 @@ const De = ({
|
|
3610
3780
|
);
|
3611
3781
|
}
|
3612
3782
|
);
|
3613
|
-
var
|
3783
|
+
var k = /* @__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))(k || {});
|
3614
3784
|
const Q1 = e1({
|
3615
3785
|
locale: "en",
|
3616
3786
|
theme: "light"
|
3617
3787
|
});
|
3618
3788
|
Q1.Provider;
|
3619
|
-
const
|
3789
|
+
const yt = ({
|
3620
3790
|
width: i = 20,
|
3621
3791
|
height: e = 20,
|
3622
3792
|
color: t = "#001E52",
|
@@ -3643,7 +3813,7 @@ const Nt = ({
|
|
3643
3813
|
}
|
3644
3814
|
)
|
3645
3815
|
}
|
3646
|
-
),
|
3816
|
+
), _t = ({
|
3647
3817
|
width: i = 20,
|
3648
3818
|
height: e = 20,
|
3649
3819
|
color: t = "#001E52",
|
@@ -3670,7 +3840,7 @@ const Nt = ({
|
|
3670
3840
|
}
|
3671
3841
|
)
|
3672
3842
|
}
|
3673
|
-
),
|
3843
|
+
), Et = ({
|
3674
3844
|
width: i = 16,
|
3675
3845
|
height: e = 16,
|
3676
3846
|
color: t = "#001E52",
|
@@ -3698,7 +3868,7 @@ const Nt = ({
|
|
3698
3868
|
)
|
3699
3869
|
]
|
3700
3870
|
}
|
3701
|
-
),
|
3871
|
+
), Vt = ({
|
3702
3872
|
width: i = 20,
|
3703
3873
|
height: e = 20,
|
3704
3874
|
color: t = "#001E52",
|
@@ -3733,7 +3903,7 @@ const Nt = ({
|
|
3733
3903
|
)
|
3734
3904
|
]
|
3735
3905
|
}
|
3736
|
-
),
|
3906
|
+
), Ht = ({
|
3737
3907
|
width: i = 18,
|
3738
3908
|
height: e = 18,
|
3739
3909
|
color: t = "#001E52",
|
@@ -3772,7 +3942,7 @@ const Nt = ({
|
|
3772
3942
|
)
|
3773
3943
|
]
|
3774
3944
|
}
|
3775
|
-
),
|
3945
|
+
), It = ({
|
3776
3946
|
width: i = 20,
|
3777
3947
|
height: e = 20,
|
3778
3948
|
color: t = "#001E52",
|
@@ -3798,7 +3968,7 @@ const Nt = ({
|
|
3798
3968
|
}
|
3799
3969
|
)
|
3800
3970
|
}
|
3801
|
-
),
|
3971
|
+
), St = ({
|
3802
3972
|
width: i = 20,
|
3803
3973
|
height: e = 20,
|
3804
3974
|
color: t = "#001E52",
|
@@ -3819,7 +3989,7 @@ const Nt = ({
|
|
3819
3989
|
/* @__PURE__ */ n("path", { d: "M16 4L4 16", stroke: t, strokeWidth: "1.5", strokeLinecap: "round" })
|
3820
3990
|
]
|
3821
3991
|
}
|
3822
|
-
),
|
3992
|
+
), Ot = ({
|
3823
3993
|
width: i = 20,
|
3824
3994
|
height: e = 20,
|
3825
3995
|
color: t = "#001E52",
|
@@ -3851,7 +4021,7 @@ const Nt = ({
|
|
3851
4021
|
)
|
3852
4022
|
]
|
3853
4023
|
}
|
3854
|
-
),
|
4024
|
+
), At = ({
|
3855
4025
|
width: i = 20,
|
3856
4026
|
height: e = 20,
|
3857
4027
|
color: t = "#001E52",
|
@@ -3905,7 +4075,7 @@ const Nt = ({
|
|
3905
4075
|
)
|
3906
4076
|
]
|
3907
4077
|
}
|
3908
|
-
),
|
4078
|
+
), Bt = ({
|
3909
4079
|
width: i = 20,
|
3910
4080
|
height: e = 20,
|
3911
4081
|
color: t = "#001E52",
|
@@ -3944,7 +4114,7 @@ const Nt = ({
|
|
3944
4114
|
/* @__PURE__ */ n("path", { d: "M3 12L17 12", stroke: t, strokeWidth: "2", strokeLinecap: "round" })
|
3945
4115
|
]
|
3946
4116
|
}
|
3947
|
-
),
|
4117
|
+
), Zt = ({
|
3948
4118
|
width: i = 16,
|
3949
4119
|
height: e = 12,
|
3950
4120
|
color: t = "#001E52",
|
@@ -3993,7 +4163,7 @@ const Nt = ({
|
|
3993
4163
|
)
|
3994
4164
|
] })
|
3995
4165
|
}
|
3996
|
-
),
|
4166
|
+
), Wt = ({
|
3997
4167
|
width: i = 16,
|
3998
4168
|
height: e = 16,
|
3999
4169
|
color: t = "#001E52",
|
@@ -4027,7 +4197,7 @@ const Nt = ({
|
|
4027
4197
|
)
|
4028
4198
|
]
|
4029
4199
|
}
|
4030
|
-
),
|
4200
|
+
), jt = ({
|
4031
4201
|
width: i = 10,
|
4032
4202
|
height: e = 10,
|
4033
4203
|
color: t = "#001E52",
|
@@ -4066,7 +4236,7 @@ const Nt = ({
|
|
4066
4236
|
)
|
4067
4237
|
] })
|
4068
4238
|
}
|
4069
|
-
),
|
4239
|
+
), Dt = ({
|
4070
4240
|
width: i = 16,
|
4071
4241
|
height: e = 16,
|
4072
4242
|
color: t = "#001E52",
|
@@ -4102,7 +4272,7 @@ const Nt = ({
|
|
4102
4272
|
)
|
4103
4273
|
]
|
4104
4274
|
}
|
4105
|
-
),
|
4275
|
+
), Gt = ({
|
4106
4276
|
width: i = 11,
|
4107
4277
|
height: e = 32,
|
4108
4278
|
color: t = "#001E52",
|
@@ -4140,7 +4310,7 @@ const Nt = ({
|
|
4140
4310
|
/* @__PURE__ */ n("circle", { cx: "3", cy: "3", r: "3", fill: t })
|
4141
4311
|
]
|
4142
4312
|
}
|
4143
|
-
),
|
4313
|
+
), Tt = ({
|
4144
4314
|
width: i = 20,
|
4145
4315
|
height: e = 20,
|
4146
4316
|
color: t = "#001E52",
|
@@ -4187,7 +4357,7 @@ const Nt = ({
|
|
4187
4357
|
)
|
4188
4358
|
]
|
4189
4359
|
}
|
4190
|
-
),
|
4360
|
+
), Kt = ({
|
4191
4361
|
width: i = 20,
|
4192
4362
|
height: e = 20,
|
4193
4363
|
color: t = "#001E52",
|
@@ -4220,7 +4390,7 @@ const Nt = ({
|
|
4220
4390
|
)
|
4221
4391
|
]
|
4222
4392
|
}
|
4223
|
-
),
|
4393
|
+
), Pt = ({
|
4224
4394
|
width: i = 20,
|
4225
4395
|
height: e = 20,
|
4226
4396
|
color: t = "#001E52",
|
@@ -4267,7 +4437,7 @@ const Nt = ({
|
|
4267
4437
|
)
|
4268
4438
|
]
|
4269
4439
|
}
|
4270
|
-
),
|
4440
|
+
), Yt = ({
|
4271
4441
|
width: i = 20,
|
4272
4442
|
height: e = 20,
|
4273
4443
|
color: t = "#001E52",
|
@@ -4300,7 +4470,7 @@ const Nt = ({
|
|
4300
4470
|
)
|
4301
4471
|
]
|
4302
4472
|
}
|
4303
|
-
),
|
4473
|
+
), Ft = ({
|
4304
4474
|
width: i = 18,
|
4305
4475
|
height: e = 16,
|
4306
4476
|
color: t = "#001E52",
|
@@ -4339,7 +4509,7 @@ const Nt = ({
|
|
4339
4509
|
)
|
4340
4510
|
]
|
4341
4511
|
}
|
4342
|
-
),
|
4512
|
+
), $t = ({
|
4343
4513
|
width: i = 20,
|
4344
4514
|
height: e = 20,
|
4345
4515
|
color: t = "#001E52",
|
@@ -4372,7 +4542,7 @@ const Nt = ({
|
|
4372
4542
|
)
|
4373
4543
|
]
|
4374
4544
|
}
|
4375
|
-
),
|
4545
|
+
), Ut = ({
|
4376
4546
|
width: i = 20,
|
4377
4547
|
height: e = 20,
|
4378
4548
|
color: t = "#001E52",
|
@@ -4396,7 +4566,7 @@ const Nt = ({
|
|
4396
4566
|
}
|
4397
4567
|
)
|
4398
4568
|
}
|
4399
|
-
),
|
4569
|
+
), zt = ({
|
4400
4570
|
width: i = 20,
|
4401
4571
|
height: e = 20,
|
4402
4572
|
color: t = "#001E52",
|
@@ -4443,7 +4613,7 @@ const Nt = ({
|
|
4443
4613
|
)
|
4444
4614
|
]
|
4445
4615
|
}
|
4446
|
-
),
|
4616
|
+
), Jt = ({
|
4447
4617
|
width: i = 20,
|
4448
4618
|
height: e = 20,
|
4449
4619
|
color: t = "#001E52",
|
@@ -4476,7 +4646,7 @@ const Nt = ({
|
|
4476
4646
|
)
|
4477
4647
|
]
|
4478
4648
|
}
|
4479
|
-
),
|
4649
|
+
), Qt = ({
|
4480
4650
|
width: i = 20,
|
4481
4651
|
height: e = 20,
|
4482
4652
|
color: t = "#001E52",
|
@@ -4509,7 +4679,7 @@ const Nt = ({
|
|
4509
4679
|
)
|
4510
4680
|
]
|
4511
4681
|
}
|
4512
|
-
),
|
4682
|
+
), qt = ({
|
4513
4683
|
width: i = 20,
|
4514
4684
|
height: e = 23,
|
4515
4685
|
color: t = "#001E52",
|
@@ -4570,7 +4740,7 @@ const Nt = ({
|
|
4570
4740
|
)
|
4571
4741
|
]
|
4572
4742
|
}
|
4573
|
-
),
|
4743
|
+
), Xt = ({
|
4574
4744
|
width: i = 20,
|
4575
4745
|
height: e = 20,
|
4576
4746
|
color: t = "#001E52",
|
@@ -4610,7 +4780,7 @@ const Nt = ({
|
|
4610
4780
|
)
|
4611
4781
|
]
|
4612
4782
|
}
|
4613
|
-
),
|
4783
|
+
), e5 = ({
|
4614
4784
|
width: i = 32,
|
4615
4785
|
height: e = 25,
|
4616
4786
|
color: t = "#001E52",
|
@@ -4638,7 +4808,7 @@ const Nt = ({
|
|
4638
4808
|
)
|
4639
4809
|
]
|
4640
4810
|
}
|
4641
|
-
),
|
4811
|
+
), t5 = ({
|
4642
4812
|
width: i = 14,
|
4643
4813
|
height: e = 14,
|
4644
4814
|
color: t = "#10B981",
|
@@ -4667,7 +4837,7 @@ const Nt = ({
|
|
4667
4837
|
)
|
4668
4838
|
]
|
4669
4839
|
}
|
4670
|
-
),
|
4840
|
+
), i5 = ({
|
4671
4841
|
width: i = 11,
|
4672
4842
|
height: e = 11,
|
4673
4843
|
color: t = "#FFB020",
|
@@ -4701,7 +4871,7 @@ const Nt = ({
|
|
4701
4871
|
)
|
4702
4872
|
]
|
4703
4873
|
}
|
4704
|
-
),
|
4874
|
+
), s5 = ({
|
4705
4875
|
width: i = 10,
|
4706
4876
|
height: e = 10,
|
4707
4877
|
color: t = "#88A4FF",
|
@@ -4749,7 +4919,7 @@ const Nt = ({
|
|
4749
4919
|
)
|
4750
4920
|
]
|
4751
4921
|
}
|
4752
|
-
),
|
4922
|
+
), o5 = ({
|
4753
4923
|
width: i = 14,
|
4754
4924
|
height: e = 14,
|
4755
4925
|
color: t = "#8E8E93",
|
@@ -4777,7 +4947,7 @@ const Nt = ({
|
|
4777
4947
|
)
|
4778
4948
|
]
|
4779
4949
|
}
|
4780
|
-
),
|
4950
|
+
), n5 = ({
|
4781
4951
|
width: i = 14,
|
4782
4952
|
height: e = 14,
|
4783
4953
|
color: t = "#FFB020",
|
@@ -4811,7 +4981,7 @@ const Nt = ({
|
|
4811
4981
|
)
|
4812
4982
|
]
|
4813
4983
|
}
|
4814
|
-
),
|
4984
|
+
), r5 = ({
|
4815
4985
|
width: i = 14,
|
4816
4986
|
height: e = 14,
|
4817
4987
|
color: t = "#D0421B",
|
@@ -4859,7 +5029,7 @@ const Nt = ({
|
|
4859
5029
|
)
|
4860
5030
|
]
|
4861
5031
|
}
|
4862
|
-
),
|
5032
|
+
), l5 = ({
|
4863
5033
|
width: i = 20,
|
4864
5034
|
height: e = 20,
|
4865
5035
|
color: t = "#070739",
|
@@ -4889,7 +5059,7 @@ const Nt = ({
|
|
4889
5059
|
/* @__PURE__ */ n("circle", { cx: "10", cy: "10", r: "2.375", stroke: t, strokeWidth: "1.25" })
|
4890
5060
|
]
|
4891
5061
|
}
|
4892
|
-
),
|
5062
|
+
), a5 = ({
|
4893
5063
|
width: i = 20,
|
4894
5064
|
height: e = 20,
|
4895
5065
|
color: t = "#070739",
|
@@ -4927,7 +5097,7 @@ const Nt = ({
|
|
4927
5097
|
)
|
4928
5098
|
]
|
4929
5099
|
}
|
4930
|
-
),
|
5100
|
+
), h5 = ({
|
4931
5101
|
width: i = 9,
|
4932
5102
|
height: e = 5,
|
4933
5103
|
color: t = "#001E52",
|
@@ -4953,7 +5123,7 @@ const Nt = ({
|
|
4953
5123
|
}
|
4954
5124
|
)
|
4955
5125
|
}
|
4956
|
-
),
|
5126
|
+
), c5 = ({
|
4957
5127
|
width: i = 20,
|
4958
5128
|
height: e = 20,
|
4959
5129
|
color: t = "#F2F2F7",
|
@@ -4982,7 +5152,7 @@ const Nt = ({
|
|
4982
5152
|
)
|
4983
5153
|
]
|
4984
5154
|
}
|
4985
|
-
),
|
5155
|
+
), d5 = ({
|
4986
5156
|
width: i = 20,
|
4987
5157
|
height: e = 20,
|
4988
5158
|
color: t = "#004ED7",
|
@@ -5011,7 +5181,7 @@ const Nt = ({
|
|
5011
5181
|
)
|
5012
5182
|
]
|
5013
5183
|
}
|
5014
|
-
),
|
5184
|
+
), g5 = ({
|
5015
5185
|
width: i = 248,
|
5016
5186
|
height: e = 248,
|
5017
5187
|
color: t = "#070739",
|
@@ -5048,7 +5218,7 @@ const Nt = ({
|
|
5048
5218
|
)
|
5049
5219
|
]
|
5050
5220
|
}
|
5051
|
-
),
|
5221
|
+
), C5 = ({
|
5052
5222
|
width: i = 24,
|
5053
5223
|
height: e = 24,
|
5054
5224
|
color: t = "#001E52",
|
@@ -5087,7 +5257,7 @@ const Nt = ({
|
|
5087
5257
|
)
|
5088
5258
|
]
|
5089
5259
|
}
|
5090
|
-
),
|
5260
|
+
), u5 = ({
|
5091
5261
|
width: i = 10,
|
5092
5262
|
height: e = 10,
|
5093
5263
|
color: t = "#001E52",
|
@@ -5116,7 +5286,7 @@ const Nt = ({
|
|
5116
5286
|
)
|
5117
5287
|
]
|
5118
5288
|
}
|
5119
|
-
),
|
5289
|
+
), p5 = ({
|
5120
5290
|
width: i = 10,
|
5121
5291
|
height: e = 10,
|
5122
5292
|
color: t = "#001E52",
|
@@ -5153,10 +5323,10 @@ const Nt = ({
|
|
5153
5323
|
)
|
5154
5324
|
]
|
5155
5325
|
}
|
5156
|
-
),
|
5326
|
+
), w5 = ({
|
5157
5327
|
width: i = 24,
|
5158
5328
|
height: e = 24,
|
5159
|
-
color: t =
|
5329
|
+
color: t = k.GREY_DARK_5,
|
5160
5330
|
className: s,
|
5161
5331
|
onClick: o
|
5162
5332
|
}) => /* @__PURE__ */ C(
|
@@ -5192,10 +5362,10 @@ const Nt = ({
|
|
5192
5362
|
)
|
5193
5363
|
]
|
5194
5364
|
}
|
5195
|
-
),
|
5365
|
+
), f5 = ({
|
5196
5366
|
width: i = 20,
|
5197
5367
|
height: e = 20,
|
5198
|
-
color: t =
|
5368
|
+
color: t = k.GREY_DARK_1,
|
5199
5369
|
className: s,
|
5200
5370
|
onClick: o
|
5201
5371
|
}) => /* @__PURE__ */ C(
|
@@ -5225,10 +5395,10 @@ const Nt = ({
|
|
5225
5395
|
)
|
5226
5396
|
]
|
5227
5397
|
}
|
5228
|
-
),
|
5398
|
+
), m5 = ({
|
5229
5399
|
width: i = 81,
|
5230
5400
|
height: e = 80,
|
5231
|
-
color: t =
|
5401
|
+
color: t = k.GREY_DARK_5,
|
5232
5402
|
className: s,
|
5233
5403
|
onClick: o
|
5234
5404
|
}) => /* @__PURE__ */ C(
|
@@ -5274,9 +5444,9 @@ const Nt = ({
|
|
5274
5444
|
)
|
5275
5445
|
]
|
5276
5446
|
}
|
5277
|
-
),
|
5447
|
+
), k5 = ({
|
5278
5448
|
className: i,
|
5279
|
-
color: e =
|
5449
|
+
color: e = k.GREY_DARK_5,
|
5280
5450
|
height: t = 20,
|
5281
5451
|
width: s = 20,
|
5282
5452
|
onClick: o
|
@@ -5301,9 +5471,9 @@ const Nt = ({
|
|
5301
5471
|
}
|
5302
5472
|
)
|
5303
5473
|
}
|
5304
|
-
),
|
5474
|
+
), L5 = ({
|
5305
5475
|
className: i,
|
5306
|
-
color: e =
|
5476
|
+
color: e = k.GREY_DARK_5,
|
5307
5477
|
height: t = 20,
|
5308
5478
|
width: s = 20,
|
5309
5479
|
onClick: o
|
@@ -5328,9 +5498,9 @@ const Nt = ({
|
|
5328
5498
|
}
|
5329
5499
|
)
|
5330
5500
|
}
|
5331
|
-
),
|
5501
|
+
), v5 = ({
|
5332
5502
|
className: i,
|
5333
|
-
color: e =
|
5503
|
+
color: e = k.GREY_DARK_5,
|
5334
5504
|
height: t = 5,
|
5335
5505
|
width: s = 10,
|
5336
5506
|
onClick: o
|
@@ -5352,9 +5522,9 @@ const Nt = ({
|
|
5352
5522
|
}
|
5353
5523
|
)
|
5354
5524
|
}
|
5355
|
-
),
|
5525
|
+
), N5 = ({
|
5356
5526
|
className: i,
|
5357
|
-
color: e =
|
5527
|
+
color: e = k.GREY_DARK_5,
|
5358
5528
|
height: t = 5,
|
5359
5529
|
width: s = 10,
|
5360
5530
|
onClick: o
|
@@ -5377,9 +5547,9 @@ const Nt = ({
|
|
5377
5547
|
}
|
5378
5548
|
)
|
5379
5549
|
}
|
5380
|
-
),
|
5550
|
+
), x5 = ({
|
5381
5551
|
className: i,
|
5382
|
-
color: e =
|
5552
|
+
color: e = k.GREY_DARK_5,
|
5383
5553
|
height: t = 24,
|
5384
5554
|
width: s = 24,
|
5385
5555
|
onClick: o
|
@@ -5416,9 +5586,9 @@ const Nt = ({
|
|
5416
5586
|
)
|
5417
5587
|
]
|
5418
5588
|
}
|
5419
|
-
),
|
5589
|
+
), M5 = ({
|
5420
5590
|
className: i,
|
5421
|
-
color: e =
|
5591
|
+
color: e = k.GREY_DARK_5,
|
5422
5592
|
height: t = 24,
|
5423
5593
|
width: s = 24,
|
5424
5594
|
onClick: o
|
@@ -5455,9 +5625,9 @@ const Nt = ({
|
|
5455
5625
|
)
|
5456
5626
|
]
|
5457
5627
|
}
|
5458
|
-
),
|
5628
|
+
), R5 = ({
|
5459
5629
|
className: i,
|
5460
|
-
color: e =
|
5630
|
+
color: e = k.GREY_DARK_5,
|
5461
5631
|
height: t = 24,
|
5462
5632
|
width: s = 24,
|
5463
5633
|
onClick: o
|
@@ -5482,9 +5652,9 @@ const Nt = ({
|
|
5482
5652
|
}
|
5483
5653
|
)
|
5484
5654
|
}
|
5485
|
-
),
|
5655
|
+
), b5 = ({
|
5486
5656
|
className: i,
|
5487
|
-
color: e =
|
5657
|
+
color: e = k.GREY_DARK_5,
|
5488
5658
|
height: t = 24,
|
5489
5659
|
width: s = 24,
|
5490
5660
|
onClick: o
|
@@ -5541,9 +5711,9 @@ const Nt = ({
|
|
5541
5711
|
)
|
5542
5712
|
]
|
5543
5713
|
}
|
5544
|
-
),
|
5714
|
+
), y5 = ({
|
5545
5715
|
className: i,
|
5546
|
-
color: e =
|
5716
|
+
color: e = k.GREY_DARK_5,
|
5547
5717
|
height: t = 24,
|
5548
5718
|
width: s = 24,
|
5549
5719
|
onClick: o
|
@@ -5578,9 +5748,9 @@ const Nt = ({
|
|
5578
5748
|
)
|
5579
5749
|
]
|
5580
5750
|
}
|
5581
|
-
),
|
5751
|
+
), _5 = ({
|
5582
5752
|
className: i,
|
5583
|
-
color: e =
|
5753
|
+
color: e = k.GREY_DARK_3,
|
5584
5754
|
height: t = 14,
|
5585
5755
|
width: s = 14,
|
5586
5756
|
onClick: o
|
@@ -5615,9 +5785,9 @@ const Nt = ({
|
|
5615
5785
|
)
|
5616
5786
|
]
|
5617
5787
|
}
|
5618
|
-
),
|
5788
|
+
), E5 = ({
|
5619
5789
|
className: i,
|
5620
|
-
color: e =
|
5790
|
+
color: e = k.GREY_DARK_5,
|
5621
5791
|
height: t = 18,
|
5622
5792
|
onClick: s,
|
5623
5793
|
width: o = 18
|
@@ -5642,9 +5812,9 @@ const Nt = ({
|
|
5642
5812
|
}
|
5643
5813
|
)
|
5644
5814
|
}
|
5645
|
-
),
|
5815
|
+
), V5 = ({
|
5646
5816
|
className: i,
|
5647
|
-
color: e =
|
5817
|
+
color: e = k.GREY_DARK_5,
|
5648
5818
|
height: t = 24,
|
5649
5819
|
width: s = 24,
|
5650
5820
|
onClick: o
|
@@ -5694,9 +5864,9 @@ const Nt = ({
|
|
5694
5864
|
)
|
5695
5865
|
]
|
5696
5866
|
}
|
5697
|
-
),
|
5867
|
+
), H5 = ({
|
5698
5868
|
className: i,
|
5699
|
-
color: e =
|
5869
|
+
color: e = k.GREY_DARK_5,
|
5700
5870
|
height: t = 24,
|
5701
5871
|
width: s = 24,
|
5702
5872
|
onClick: o
|
@@ -5731,9 +5901,9 @@ const Nt = ({
|
|
5731
5901
|
)
|
5732
5902
|
]
|
5733
5903
|
}
|
5734
|
-
),
|
5904
|
+
), I5 = ({
|
5735
5905
|
className: i,
|
5736
|
-
color: e =
|
5906
|
+
color: e = k.NOTIFICATION_WARNING_DARK,
|
5737
5907
|
height: t = 37,
|
5738
5908
|
width: s = 36,
|
5739
5909
|
onClick: o
|
@@ -5770,9 +5940,9 @@ const Nt = ({
|
|
5770
5940
|
)
|
5771
5941
|
]
|
5772
5942
|
}
|
5773
|
-
),
|
5943
|
+
), S5 = ({
|
5774
5944
|
className: i,
|
5775
|
-
color: e =
|
5945
|
+
color: e = k.GREY_DARK_5,
|
5776
5946
|
height: t = 24,
|
5777
5947
|
width: s = 24,
|
5778
5948
|
onClick: o
|
@@ -5796,9 +5966,9 @@ const Nt = ({
|
|
5796
5966
|
}
|
5797
5967
|
)
|
5798
5968
|
}
|
5799
|
-
),
|
5969
|
+
), O5 = ({
|
5800
5970
|
className: i,
|
5801
|
-
color: e =
|
5971
|
+
color: e = k.GREY_DARK_5,
|
5802
5972
|
height: t = 24,
|
5803
5973
|
width: s = 24,
|
5804
5974
|
onClick: o
|
@@ -5835,9 +6005,9 @@ const Nt = ({
|
|
5835
6005
|
)
|
5836
6006
|
]
|
5837
6007
|
}
|
5838
|
-
),
|
6008
|
+
), A5 = ({
|
5839
6009
|
className: i,
|
5840
|
-
color: e =
|
6010
|
+
color: e = k.GREY_DARK_5,
|
5841
6011
|
height: t = 24,
|
5842
6012
|
width: s = 24,
|
5843
6013
|
onClick: o
|
@@ -5874,9 +6044,9 @@ const Nt = ({
|
|
5874
6044
|
)
|
5875
6045
|
]
|
5876
6046
|
}
|
5877
|
-
),
|
6047
|
+
), B5 = ({
|
5878
6048
|
className: i,
|
5879
|
-
color: e =
|
6049
|
+
color: e = k.GREY_DARK_5,
|
5880
6050
|
height: t = 24,
|
5881
6051
|
width: s = 24,
|
5882
6052
|
onClick: o
|
@@ -5943,9 +6113,9 @@ const Nt = ({
|
|
5943
6113
|
)
|
5944
6114
|
]
|
5945
6115
|
}
|
5946
|
-
),
|
6116
|
+
), Z5 = ({
|
5947
6117
|
className: i,
|
5948
|
-
color: e =
|
6118
|
+
color: e = k.GREY_DARK_5,
|
5949
6119
|
height: t = 24,
|
5950
6120
|
width: s = 24,
|
5951
6121
|
onClick: o
|
@@ -5982,9 +6152,9 @@ const Nt = ({
|
|
5982
6152
|
)
|
5983
6153
|
]
|
5984
6154
|
}
|
5985
|
-
),
|
6155
|
+
), W5 = ({
|
5986
6156
|
className: i,
|
5987
|
-
color: e =
|
6157
|
+
color: e = k.GREY_DARK_5,
|
5988
6158
|
height: t = 24,
|
5989
6159
|
width: s = 24,
|
5990
6160
|
onClick: o
|
@@ -6039,9 +6209,9 @@ const Nt = ({
|
|
6039
6209
|
)
|
6040
6210
|
]
|
6041
6211
|
}
|
6042
|
-
),
|
6212
|
+
), j5 = ({
|
6043
6213
|
className: i,
|
6044
|
-
color: e =
|
6214
|
+
color: e = k.GREY_DARK_5,
|
6045
6215
|
height: t = 24,
|
6046
6216
|
width: s = 24,
|
6047
6217
|
onClick: o
|
@@ -6078,9 +6248,9 @@ const Nt = ({
|
|
6078
6248
|
)
|
6079
6249
|
]
|
6080
6250
|
}
|
6081
|
-
),
|
6251
|
+
), D5 = ({
|
6082
6252
|
className: i,
|
6083
|
-
color: e =
|
6253
|
+
color: e = k.GREY_DARK_5,
|
6084
6254
|
height: t = 24,
|
6085
6255
|
width: s = 24,
|
6086
6256
|
onClick: o
|
@@ -6127,9 +6297,9 @@ const Nt = ({
|
|
6127
6297
|
)
|
6128
6298
|
]
|
6129
6299
|
}
|
6130
|
-
),
|
6300
|
+
), G5 = ({
|
6131
6301
|
className: i,
|
6132
|
-
color: e =
|
6302
|
+
color: e = k.GREY_DARK_5,
|
6133
6303
|
height: t = 24,
|
6134
6304
|
width: s = 24,
|
6135
6305
|
onClick: o
|
@@ -6166,9 +6336,9 @@ const Nt = ({
|
|
6166
6336
|
)
|
6167
6337
|
]
|
6168
6338
|
}
|
6169
|
-
),
|
6339
|
+
), T5 = ({
|
6170
6340
|
className: i,
|
6171
|
-
color: e =
|
6341
|
+
color: e = k.GREY_DARK_5,
|
6172
6342
|
height: t = 24,
|
6173
6343
|
width: s = 24,
|
6174
6344
|
onClick: o
|
@@ -6193,9 +6363,9 @@ const Nt = ({
|
|
6193
6363
|
}
|
6194
6364
|
)
|
6195
6365
|
}
|
6196
|
-
),
|
6366
|
+
), K5 = ({
|
6197
6367
|
className: i,
|
6198
|
-
color: e =
|
6368
|
+
color: e = k.GREY_DARK_5,
|
6199
6369
|
height: t = 24,
|
6200
6370
|
width: s = 24,
|
6201
6371
|
onClick: o
|
@@ -6231,9 +6401,9 @@ const Nt = ({
|
|
6231
6401
|
)
|
6232
6402
|
]
|
6233
6403
|
}
|
6234
|
-
),
|
6404
|
+
), P5 = ({
|
6235
6405
|
className: i,
|
6236
|
-
color: e =
|
6406
|
+
color: e = k.GREY_DARK_5,
|
6237
6407
|
height: t = 24,
|
6238
6408
|
width: s = 24,
|
6239
6409
|
onClick: o
|
@@ -6252,9 +6422,9 @@ const Nt = ({
|
|
6252
6422
|
/* @__PURE__ */ n("path", { d: "M12 8L4 8", stroke: e, strokeWidth: "1.7", strokeLinecap: "round" })
|
6253
6423
|
]
|
6254
6424
|
}
|
6255
|
-
),
|
6425
|
+
), Y5 = ({
|
6256
6426
|
className: i,
|
6257
|
-
color: e =
|
6427
|
+
color: e = k.GREY_DARK_5,
|
6258
6428
|
height: t = 24,
|
6259
6429
|
width: s = 24,
|
6260
6430
|
onClick: o
|
@@ -6291,9 +6461,9 @@ const Nt = ({
|
|
6291
6461
|
)
|
6292
6462
|
]
|
6293
6463
|
}
|
6294
|
-
),
|
6464
|
+
), F5 = ({
|
6295
6465
|
className: i,
|
6296
|
-
color: e =
|
6466
|
+
color: e = k.GREY_DARK_5,
|
6297
6467
|
height: t = 24,
|
6298
6468
|
width: s = 24,
|
6299
6469
|
onClick: o
|
@@ -6330,9 +6500,9 @@ const Nt = ({
|
|
6330
6500
|
)
|
6331
6501
|
]
|
6332
6502
|
}
|
6333
|
-
),
|
6503
|
+
), $5 = ({
|
6334
6504
|
className: i,
|
6335
|
-
color: e =
|
6505
|
+
color: e = k.GREY_DARK_5,
|
6336
6506
|
height: t = 24,
|
6337
6507
|
width: s = 24,
|
6338
6508
|
onClick: o
|
@@ -6369,9 +6539,9 @@ const Nt = ({
|
|
6369
6539
|
)
|
6370
6540
|
]
|
6371
6541
|
}
|
6372
|
-
),
|
6542
|
+
), U5 = ({
|
6373
6543
|
className: i,
|
6374
|
-
color: e =
|
6544
|
+
color: e = k.GREY_DARK_2,
|
6375
6545
|
height: t = 16,
|
6376
6546
|
width: s = 16,
|
6377
6547
|
onClick: o
|
@@ -6395,9 +6565,9 @@ const Nt = ({
|
|
6395
6565
|
}
|
6396
6566
|
)
|
6397
6567
|
}
|
6398
|
-
),
|
6568
|
+
), z5 = ({
|
6399
6569
|
className: i,
|
6400
|
-
color: e =
|
6570
|
+
color: e = k.GREY_DARK_5,
|
6401
6571
|
height: t = 20,
|
6402
6572
|
width: s = 20,
|
6403
6573
|
onClick: o
|
@@ -6424,9 +6594,9 @@ const Nt = ({
|
|
6424
6594
|
/* @__PURE__ */ n("defs", { children: /* @__PURE__ */ n("clipPath", { id: "clip0_3992_5989", children: /* @__PURE__ */ n("rect", { width: "20", height: "20", fill: "white" }) }) })
|
6425
6595
|
]
|
6426
6596
|
}
|
6427
|
-
),
|
6597
|
+
), J5 = ({
|
6428
6598
|
className: i,
|
6429
|
-
color: e =
|
6599
|
+
color: e = k.GREY_DARK_5,
|
6430
6600
|
height: t = 20,
|
6431
6601
|
width: s = 20,
|
6432
6602
|
onClick: o
|
@@ -6453,9 +6623,9 @@ const Nt = ({
|
|
6453
6623
|
/* @__PURE__ */ n("defs", { children: /* @__PURE__ */ n("clipPath", { id: "clip0_3992_5988", children: /* @__PURE__ */ n("rect", { width: "20", height: "20", fill: "white" }) }) })
|
6454
6624
|
]
|
6455
6625
|
}
|
6456
|
-
),
|
6626
|
+
), Q5 = ({
|
6457
6627
|
className: i,
|
6458
|
-
color: e =
|
6628
|
+
color: e = k.GREY_DARK_5,
|
6459
6629
|
height: t = 20,
|
6460
6630
|
width: s = 20,
|
6461
6631
|
onClick: o
|
@@ -6470,7 +6640,7 @@ const Nt = ({
|
|
6470
6640
|
fill: "none",
|
6471
6641
|
xmlns: "http://www.w3.org/2000/svg",
|
6472
6642
|
children: [
|
6473
|
-
/* @__PURE__ */ n("rect", { width: "20", height: "20", rx: "4", fill:
|
6643
|
+
/* @__PURE__ */ n("rect", { width: "20", height: "20", rx: "4", fill: k.GREY_LIGHT_2 }),
|
6474
6644
|
/* @__PURE__ */ n(
|
6475
6645
|
"path",
|
6476
6646
|
{
|
@@ -6482,9 +6652,9 @@ const Nt = ({
|
|
6482
6652
|
)
|
6483
6653
|
]
|
6484
6654
|
}
|
6485
|
-
),
|
6655
|
+
), q5 = ({
|
6486
6656
|
className: i,
|
6487
|
-
color: e =
|
6657
|
+
color: e = k.GREY_DARK_5,
|
6488
6658
|
height: t = 20,
|
6489
6659
|
width: s = 20,
|
6490
6660
|
onClick: o
|
@@ -6499,7 +6669,7 @@ const Nt = ({
|
|
6499
6669
|
fill: "none",
|
6500
6670
|
xmlns: "http://www.w3.org/2000/svg",
|
6501
6671
|
children: [
|
6502
|
-
/* @__PURE__ */ n("rect", { width: "20", height: "20", rx: "4", fill:
|
6672
|
+
/* @__PURE__ */ n("rect", { width: "20", height: "20", rx: "4", fill: k.GREY_LIGHT_2 }),
|
6503
6673
|
/* @__PURE__ */ n(
|
6504
6674
|
"path",
|
6505
6675
|
{
|
@@ -6511,7 +6681,7 @@ const Nt = ({
|
|
6511
6681
|
)
|
6512
6682
|
]
|
6513
6683
|
}
|
6514
|
-
),
|
6684
|
+
), X5 = ({
|
6515
6685
|
className: i,
|
6516
6686
|
color: e = "#001E52",
|
6517
6687
|
height: t = 24,
|
@@ -6537,7 +6707,7 @@ const Nt = ({
|
|
6537
6707
|
}
|
6538
6708
|
)
|
6539
6709
|
}
|
6540
|
-
),
|
6710
|
+
), e3 = ({
|
6541
6711
|
className: i,
|
6542
6712
|
color: e = "#131314",
|
6543
6713
|
height: t = 20,
|
@@ -6558,14 +6728,14 @@ const Nt = ({
|
|
6558
6728
|
{
|
6559
6729
|
d: "M13.3333 14.6667L17.5 10.5M17.5 10.5L13.3333 6.33333M17.5 10.5H7.5M7.5 3H6.5C5.09987 3 4.3998 3 3.86502 3.27248C3.39462 3.51217 3.01217 3.89462 2.77248 4.36502C2.5 4.8998 2.5 5.59987 2.5 7V14C2.5 15.4001 2.5 16.1002 2.77248 16.635C3.01217 17.1054 3.39462 17.4878 3.86502 17.7275C4.3998 18 5.09987 18 6.5 18H7.5",
|
6560
6730
|
stroke: e,
|
6561
|
-
|
6562
|
-
|
6563
|
-
|
6564
|
-
|
6731
|
+
strokeOpacity: "0.8",
|
6732
|
+
strokeWidth: "2",
|
6733
|
+
strokeLinecap: "round",
|
6734
|
+
strokeLinejoin: "round"
|
6565
6735
|
}
|
6566
6736
|
)
|
6567
6737
|
}
|
6568
|
-
),
|
6738
|
+
), t3 = ({
|
6569
6739
|
className: i,
|
6570
6740
|
color: e = "#001E52",
|
6571
6741
|
height: t = 24,
|
@@ -6603,7 +6773,7 @@ const Nt = ({
|
|
6603
6773
|
)
|
6604
6774
|
] }) })
|
6605
6775
|
}
|
6606
|
-
),
|
6776
|
+
), i3 = ({
|
6607
6777
|
width: i = 20,
|
6608
6778
|
height: e = 20,
|
6609
6779
|
color: t = "#001E52",
|
@@ -6659,7 +6829,7 @@ const Nt = ({
|
|
6659
6829
|
}
|
6660
6830
|
)
|
6661
6831
|
}
|
6662
|
-
),
|
6832
|
+
), s3 = ({
|
6663
6833
|
width: i = 24,
|
6664
6834
|
height: e = 24,
|
6665
6835
|
color: t = "#131314",
|
@@ -6692,7 +6862,167 @@ const Nt = ({
|
|
6692
6862
|
)
|
6693
6863
|
]
|
6694
6864
|
}
|
6695
|
-
),
|
6865
|
+
), o3 = ({
|
6866
|
+
width: i = 24,
|
6867
|
+
height: e = 24,
|
6868
|
+
color: t = k.GREY_DARK_2,
|
6869
|
+
className: s,
|
6870
|
+
onClick: o
|
6871
|
+
}) => /* @__PURE__ */ C(
|
6872
|
+
"svg",
|
6873
|
+
{
|
6874
|
+
width: i,
|
6875
|
+
height: e,
|
6876
|
+
viewBox: "0 0 24 24",
|
6877
|
+
fill: "none",
|
6878
|
+
xmlns: "http://www.w3.org/2000/svg",
|
6879
|
+
className: s,
|
6880
|
+
onClick: o,
|
6881
|
+
children: [
|
6882
|
+
/* @__PURE__ */ n(
|
6883
|
+
"path",
|
6884
|
+
{
|
6885
|
+
d: "M5 20V19C5 15.134 8.13401 12 12 12V12C15.866 12 19 15.134 19 19V20",
|
6886
|
+
stroke: t,
|
6887
|
+
strokeWidth: "1.5",
|
6888
|
+
strokeLinecap: "round",
|
6889
|
+
strokeLinejoin: "round"
|
6890
|
+
}
|
6891
|
+
),
|
6892
|
+
/* @__PURE__ */ n(
|
6893
|
+
"path",
|
6894
|
+
{
|
6895
|
+
d: "M12 12C14.2091 12 16 10.2091 16 8C16 5.79086 14.2091 4 12 4C9.79086 4 8 5.79086 8 8C8 10.2091 9.79086 12 12 12Z",
|
6896
|
+
stroke: t,
|
6897
|
+
strokeWidth: "1.5",
|
6898
|
+
strokeLinecap: "round",
|
6899
|
+
strokeLinejoin: "round"
|
6900
|
+
}
|
6901
|
+
)
|
6902
|
+
]
|
6903
|
+
}
|
6904
|
+
), n3 = ({
|
6905
|
+
width: i = 24,
|
6906
|
+
height: e = 24,
|
6907
|
+
color: t = k.GREY_DARK_2,
|
6908
|
+
className: s,
|
6909
|
+
onClick: o
|
6910
|
+
}) => /* @__PURE__ */ n(
|
6911
|
+
"svg",
|
6912
|
+
{
|
6913
|
+
width: i,
|
6914
|
+
height: e,
|
6915
|
+
viewBox: "0 0 24 24",
|
6916
|
+
fill: "none",
|
6917
|
+
xmlns: "http://www.w3.org/2000/svg",
|
6918
|
+
className: s,
|
6919
|
+
onClick: o,
|
6920
|
+
children: /* @__PURE__ */ n(
|
6921
|
+
"path",
|
6922
|
+
{
|
6923
|
+
d: "M15 4V2M15 4V6M15 4H10.5M3 10V19C3 19.5304 3.21071 20.0391 3.58579 20.4142C3.96086 20.7893 4.46957 21 5 21H19C19.5304 21 20.0391 20.7893 20.4142 20.4142C20.7893 20.0391 21 19.5304 21 19V10M3 10H21M3 10V6C3 5.46957 3.21071 4.96086 3.58579 4.58579C3.96086 4.21071 4.46957 4 5 4H7M21 10V6C21 5.46957 20.7893 4.96086 20.4142 4.58579C20.0391 4.21071 19.5304 4 19 4H18.5M7 2V6",
|
6924
|
+
stroke: t,
|
6925
|
+
strokeWidth: "1.5",
|
6926
|
+
strokeLinecap: "round",
|
6927
|
+
strokeLinejoin: "round"
|
6928
|
+
}
|
6929
|
+
)
|
6930
|
+
}
|
6931
|
+
), r3 = ({
|
6932
|
+
width: i = 24,
|
6933
|
+
height: e = 24,
|
6934
|
+
color: t = k.GREY_DARK_2,
|
6935
|
+
className: s,
|
6936
|
+
onClick: o
|
6937
|
+
}) => /* @__PURE__ */ C(
|
6938
|
+
"svg",
|
6939
|
+
{
|
6940
|
+
width: i,
|
6941
|
+
height: e,
|
6942
|
+
viewBox: "0 0 24 24",
|
6943
|
+
fill: "none",
|
6944
|
+
xmlns: "http://www.w3.org/2000/svg",
|
6945
|
+
className: s,
|
6946
|
+
onClick: o,
|
6947
|
+
children: [
|
6948
|
+
/* @__PURE__ */ n(
|
6949
|
+
"path",
|
6950
|
+
{
|
6951
|
+
d: "M12 22C17.523 22 22 17.523 22 12C22 6.477 17.523 2 12 2C6.477 2 2 6.477 2 12C2 17.523 6.477 22 12 22Z",
|
6952
|
+
stroke: t,
|
6953
|
+
strokeWidth: "1.5",
|
6954
|
+
strokeLinecap: "round",
|
6955
|
+
strokeLinejoin: "round"
|
6956
|
+
}
|
6957
|
+
),
|
6958
|
+
/* @__PURE__ */ n(
|
6959
|
+
"path",
|
6960
|
+
{
|
6961
|
+
d: "M12 13C12.2652 13 12.5196 12.8946 12.7071 12.7071C12.8946 12.5196 13 12.2652 13 12C13 11.7348 12.8946 11.4804 12.7071 11.2929C12.5196 11.1054 12.2652 11 12 11C11.7348 11 11.4804 11.1054 11.2929 11.2929C11.1054 11.4804 11 11.7348 11 12C11 12.2652 11.1054 12.5196 11.2929 12.7071C11.4804 12.8946 11.7348 13 12 13Z",
|
6962
|
+
fill: t,
|
6963
|
+
stroke: t,
|
6964
|
+
strokeWidth: "1.5",
|
6965
|
+
strokeLinecap: "round",
|
6966
|
+
strokeLinejoin: "round"
|
6967
|
+
}
|
6968
|
+
)
|
6969
|
+
]
|
6970
|
+
}
|
6971
|
+
), l3 = ({
|
6972
|
+
width: i = 24,
|
6973
|
+
height: e = 24,
|
6974
|
+
color: t = k.GREY_DARK_2,
|
6975
|
+
className: s,
|
6976
|
+
onClick: o
|
6977
|
+
}) => /* @__PURE__ */ n(
|
6978
|
+
"svg",
|
6979
|
+
{
|
6980
|
+
width: i,
|
6981
|
+
height: e,
|
6982
|
+
viewBox: "0 0 24 24",
|
6983
|
+
fill: "none",
|
6984
|
+
xmlns: "http://www.w3.org/2000/svg",
|
6985
|
+
className: s,
|
6986
|
+
onClick: o,
|
6987
|
+
children: /* @__PURE__ */ n(
|
6988
|
+
"path",
|
6989
|
+
{
|
6990
|
+
d: "M7 18V17C7 15.6739 7.52678 14.4021 8.46447 13.4645C9.40215 12.5268 10.6739 12 12 12M12 12C13.3261 12 14.5979 12.5268 15.5355 13.4645C16.4732 14.4021 17 15.6739 17 17V18M12 12C12.7956 12 13.5587 11.6839 14.1213 11.1213C14.6839 10.5587 15 9.79565 15 9C15 8.20435 14.6839 7.44129 14.1213 6.87868C13.5587 6.31607 12.7956 6 12 6C11.2044 6 10.4413 6.31607 9.87868 6.87868C9.31607 7.44129 9 8.20435 9 9C9 9.79565 9.31607 10.5587 9.87868 11.1213C10.4413 11.6839 11.2044 12 12 12ZM1 18V17C1 16.2044 1.31607 15.4413 1.87868 14.8787C2.44129 14.3161 3.20435 14 4 14M4 14C4.53043 14 5.03914 13.7893 5.41421 13.4142C5.78929 13.0391 6 12.5304 6 12C6 11.4696 5.78929 10.9609 5.41421 10.5858C5.03914 10.2107 4.53043 10 4 10C3.46957 10 2.96086 10.2107 2.58579 10.5858C2.21071 10.9609 2 11.4696 2 12C2 12.5304 2.21071 13.0391 2.58579 13.4142C2.96086 13.7893 3.46957 14 4 14ZM23 18V17C23 16.2044 22.6839 15.4413 22.1213 14.8787C21.5587 14.3161 20.7956 14 20 14M20 14C20.5304 14 21.0391 13.7893 21.4142 13.4142C21.7893 13.0391 22 12.5304 22 12C22 11.4696 21.7893 10.9609 21.4142 10.5858C21.0391 10.2107 20.5304 10 20 10C19.4696 10 18.9609 10.2107 18.5858 10.5858C18.2107 10.9609 18 11.4696 18 12C18 12.5304 18.2107 13.0391 18.5858 13.4142C18.9609 13.7893 19.4696 14 20 14Z",
|
6991
|
+
stroke: t,
|
6992
|
+
strokeWidth: "1.5",
|
6993
|
+
strokeLinecap: "round",
|
6994
|
+
strokeLinejoin: "round"
|
6995
|
+
}
|
6996
|
+
)
|
6997
|
+
}
|
6998
|
+
), a3 = ({
|
6999
|
+
width: i = 24,
|
7000
|
+
height: e = 24,
|
7001
|
+
color: t = k.GREY_DARK_2,
|
7002
|
+
className: s,
|
7003
|
+
onClick: o
|
7004
|
+
}) => /* @__PURE__ */ n(
|
7005
|
+
"svg",
|
7006
|
+
{
|
7007
|
+
width: i,
|
7008
|
+
height: e,
|
7009
|
+
viewBox: "0 0 24 24",
|
7010
|
+
fill: "none",
|
7011
|
+
xmlns: "http://www.w3.org/2000/svg",
|
7012
|
+
className: s,
|
7013
|
+
onClick: o,
|
7014
|
+
children: /* @__PURE__ */ n(
|
7015
|
+
"path",
|
7016
|
+
{
|
7017
|
+
d: "M7 7H17M7 12H17M7 17H13M19 3H5C4.46957 3 3.96086 3.21071 3.58579 3.58579C3.21071 3.96086 3 4.46957 3 5V19C3 19.5304 3.21071 20.0391 3.58579 20.4142C3.96086 20.7893 4.46957 21 5 21H19C19.5304 21 20.0391 20.7893 20.4142 20.4142C20.7893 20.0391 21 19.5304 21 19V5C21 4.46957 20.7893 3.96086 20.4142 3.58579C20.0391 3.21071 19.5304 3 19 3Z",
|
7018
|
+
stroke: t,
|
7019
|
+
strokeWidth: "1.5",
|
7020
|
+
strokeLinecap: "round",
|
7021
|
+
strokeLinejoin: "round"
|
7022
|
+
}
|
7023
|
+
)
|
7024
|
+
}
|
7025
|
+
), h3 = ({
|
6696
7026
|
name: i,
|
6697
7027
|
width: e,
|
6698
7028
|
height: t,
|
@@ -6701,7 +7031,7 @@ const Nt = ({
|
|
6701
7031
|
disabled: l = !1,
|
6702
7032
|
onClick: c
|
6703
7033
|
}) => {
|
6704
|
-
const [r, d] = S(o), { theme: g } = z(Q1), a = l ? g && g === "dark" ?
|
7034
|
+
const [r, d] = S(o), { theme: g } = z(Q1), a = l ? g && g === "dark" ? k.GREY_LIGHT_4 : k.GREY_DARK_1 : s, h = l ? void 0 : c;
|
6705
7035
|
return A(() => {
|
6706
7036
|
if (o) {
|
6707
7037
|
h && !l && d(`${o} clickable`);
|
@@ -6711,39 +7041,39 @@ const Nt = ({
|
|
6711
7041
|
}, [h, o, l]), /* @__PURE__ */ n(X, { children: (() => {
|
6712
7042
|
switch (i) {
|
6713
7043
|
case "nextIcon":
|
6714
|
-
return
|
7044
|
+
return k5({ width: e, height: t, color: a, className: r, onClick: h });
|
6715
7045
|
case "prevIcon":
|
6716
|
-
return
|
7046
|
+
return L5({ width: e, height: t, color: a, className: r, onClick: h });
|
6717
7047
|
case "arrowUp":
|
6718
|
-
return
|
7048
|
+
return yt({ width: e, height: t, color: a, className: r, onClick: h });
|
6719
7049
|
case "arrowDown":
|
6720
|
-
return
|
7050
|
+
return _t({ width: e, height: t, color: a, className: r, onClick: h });
|
6721
7051
|
case "info":
|
6722
|
-
return
|
7052
|
+
return Et({ width: e, height: t, color: a, className: r, onClick: h });
|
6723
7053
|
case "arrowRight":
|
6724
|
-
return
|
7054
|
+
return Vt({ width: e, height: t, color: a, className: r, onClick: h });
|
6725
7055
|
case "calendar":
|
6726
|
-
return
|
7056
|
+
return Ht({ width: e, height: t, color: a, className: r, onClick: h });
|
6727
7057
|
case "ok":
|
6728
|
-
return
|
7058
|
+
return It({ width: e, height: t, color: a, className: r, onClick: h });
|
6729
7059
|
case "cancel":
|
6730
|
-
return
|
7060
|
+
return St({ width: e, height: t, color: a, className: r, onClick: h });
|
6731
7061
|
case "add":
|
6732
|
-
return
|
7062
|
+
return Ot({ width: e, height: t, color: a, className: r, onClick: h });
|
6733
7063
|
case "list":
|
6734
|
-
return
|
7064
|
+
return At({ width: e, height: t, color: a, className: r, onClick: h });
|
6735
7065
|
case "dragAndDrop":
|
6736
|
-
return
|
7066
|
+
return Bt({ width: e, height: t, color: a, className: r, onClick: h });
|
6737
7067
|
case "filter":
|
6738
|
-
return
|
7068
|
+
return Zt({ width: e, height: t, color: a, className: r, onClick: h });
|
6739
7069
|
case "attention":
|
6740
|
-
return
|
7070
|
+
return Wt({ width: e, height: t, color: a, className: r, onClick: h });
|
6741
7071
|
case "plus":
|
6742
|
-
return
|
7072
|
+
return jt({ width: e, height: t, color: a, className: r, onClick: h });
|
6743
7073
|
case "time":
|
6744
|
-
return
|
7074
|
+
return Dt({ width: e, height: t, color: a, className: r, onClick: h });
|
6745
7075
|
case "arrowDownLong":
|
6746
|
-
return
|
7076
|
+
return Gt({
|
6747
7077
|
width: e,
|
6748
7078
|
height: t,
|
6749
7079
|
color: a,
|
@@ -6751,9 +7081,9 @@ const Nt = ({
|
|
6751
7081
|
onClick: h
|
6752
7082
|
});
|
6753
7083
|
case "users":
|
6754
|
-
return
|
7084
|
+
return Tt({ width: e, height: t, color: a, className: r, onClick: h });
|
6755
7085
|
case "mySkillsMatrix":
|
6756
|
-
return
|
7086
|
+
return Kt({
|
6757
7087
|
width: e,
|
6758
7088
|
height: t,
|
6759
7089
|
color: a,
|
@@ -6761,9 +7091,9 @@ const Nt = ({
|
|
6761
7091
|
onClick: h
|
6762
7092
|
});
|
6763
7093
|
case "skills":
|
6764
|
-
return
|
7094
|
+
return Pt({ width: e, height: t, color: a, className: r, onClick: h });
|
6765
7095
|
case "skillsMatrices":
|
6766
|
-
return
|
7096
|
+
return Yt({
|
6767
7097
|
width: e,
|
6768
7098
|
height: t,
|
6769
7099
|
color: a,
|
@@ -6771,23 +7101,23 @@ const Nt = ({
|
|
6771
7101
|
onClick: h
|
6772
7102
|
});
|
6773
7103
|
case "history":
|
6774
|
-
return
|
7104
|
+
return Ft({ width: e, height: t, color: a, className: r, onClick: h });
|
6775
7105
|
case "logOut":
|
6776
|
-
return
|
7106
|
+
return $t({ width: e, height: t, color: a, className: r, onClick: h });
|
6777
7107
|
case "settings":
|
6778
|
-
return
|
7108
|
+
return Ut({ width: e, height: t, color: a, className: r, onClick: h });
|
6779
7109
|
case "addSkill":
|
6780
|
-
return
|
7110
|
+
return zt({ width: e, height: t, color: a, className: r, onClick: h });
|
6781
7111
|
case "conversation":
|
6782
|
-
return
|
7112
|
+
return Jt({ width: e, height: t, color: a, className: r, onClick: h });
|
6783
7113
|
case "trash":
|
6784
|
-
return
|
7114
|
+
return Qt({ width: e, height: t, color: a, className: r, onClick: h });
|
6785
7115
|
case "settings4":
|
6786
|
-
return
|
7116
|
+
return qt({ width: e, height: t, color: a, className: r, onClick: h });
|
6787
7117
|
case "edit2":
|
6788
|
-
return
|
7118
|
+
return Xt({ width: e, height: t, color: a, className: r, onClick: h });
|
6789
7119
|
case "notifications":
|
6790
|
-
return
|
7120
|
+
return e5({
|
6791
7121
|
width: e,
|
6792
7122
|
height: t,
|
6793
7123
|
color: a,
|
@@ -6795,9 +7125,9 @@ const Nt = ({
|
|
6795
7125
|
onClick: h
|
6796
7126
|
});
|
6797
7127
|
case "success":
|
6798
|
-
return
|
7128
|
+
return t5({ width: e, height: t, color: a, className: r, onClick: h });
|
6799
7129
|
case "attentionSmall":
|
6800
|
-
return
|
7130
|
+
return i5({
|
6801
7131
|
width: e,
|
6802
7132
|
height: t,
|
6803
7133
|
color: a,
|
@@ -6805,11 +7135,11 @@ const Nt = ({
|
|
6805
7135
|
onClick: h
|
6806
7136
|
});
|
6807
7137
|
case "errorSmall":
|
6808
|
-
return
|
7138
|
+
return s5({ width: e, height: t, color: a, className: r, onClick: h });
|
6809
7139
|
case "infoMedium":
|
6810
|
-
return
|
7140
|
+
return o5({ width: e, height: t, color: a, className: r, onClick: h });
|
6811
7141
|
case "attentionMedium":
|
6812
|
-
return
|
7142
|
+
return n5({
|
6813
7143
|
width: e,
|
6814
7144
|
height: t,
|
6815
7145
|
color: a,
|
@@ -6817,9 +7147,9 @@ const Nt = ({
|
|
6817
7147
|
onClick: h
|
6818
7148
|
});
|
6819
7149
|
case "errorMedium":
|
6820
|
-
return
|
7150
|
+
return r5({ width: e, height: t, color: a, className: r, onClick: h });
|
6821
7151
|
case "faviconSkills":
|
6822
|
-
return
|
7152
|
+
return g5({
|
6823
7153
|
width: e,
|
6824
7154
|
height: t,
|
6825
7155
|
color: a,
|
@@ -6827,7 +7157,7 @@ const Nt = ({
|
|
6827
7157
|
onClick: h
|
6828
7158
|
});
|
6829
7159
|
case "visibilityIcon":
|
6830
|
-
return
|
7160
|
+
return l5({
|
6831
7161
|
width: e,
|
6832
7162
|
height: t,
|
6833
7163
|
color: a,
|
@@ -6835,7 +7165,7 @@ const Nt = ({
|
|
6835
7165
|
onClick: h
|
6836
7166
|
});
|
6837
7167
|
case "visibilityOffIcon":
|
6838
|
-
return
|
7168
|
+
return a5({
|
6839
7169
|
width: e,
|
6840
7170
|
height: t,
|
6841
7171
|
color: a,
|
@@ -6843,7 +7173,7 @@ const Nt = ({
|
|
6843
7173
|
onClick: h
|
6844
7174
|
});
|
6845
7175
|
case "selectArrowIcon":
|
6846
|
-
return
|
7176
|
+
return h5({
|
6847
7177
|
width: e,
|
6848
7178
|
height: t,
|
6849
7179
|
color: a,
|
@@ -6851,7 +7181,7 @@ const Nt = ({
|
|
6851
7181
|
onClick: h
|
6852
7182
|
});
|
6853
7183
|
case "expandArrowIcon":
|
6854
|
-
return
|
7184
|
+
return c5({
|
6855
7185
|
width: e,
|
6856
7186
|
height: t,
|
6857
7187
|
color: a,
|
@@ -6859,7 +7189,7 @@ const Nt = ({
|
|
6859
7189
|
onClick: h
|
6860
7190
|
});
|
6861
7191
|
case "expandActiveArrowIcon":
|
6862
|
-
return
|
7192
|
+
return d5({
|
6863
7193
|
width: e,
|
6864
7194
|
height: t,
|
6865
7195
|
color: a,
|
@@ -6867,102 +7197,112 @@ const Nt = ({
|
|
6867
7197
|
onClick: h
|
6868
7198
|
});
|
6869
7199
|
case "camera":
|
6870
|
-
return
|
7200
|
+
return C5({ width: e, height: t, color: a, className: r, onClick: h });
|
6871
7201
|
case "sortUp":
|
6872
|
-
return
|
7202
|
+
return u5({ width: e, height: t, color: a, className: r, onClick: h });
|
6873
7203
|
case "sortDown":
|
6874
|
-
return
|
7204
|
+
return p5({ width: e, height: t, color: a, className: r, onClick: h });
|
6875
7205
|
case "logOut2":
|
6876
|
-
return
|
7206
|
+
return w5({ width: e, height: t, color: a, className: r, onClick: h });
|
6877
7207
|
case "search":
|
6878
|
-
return
|
7208
|
+
return f5({ width: e, height: t, color: a, className: r, onClick: h });
|
6879
7209
|
case "handRock":
|
6880
|
-
return
|
7210
|
+
return m5({ width: e, height: t, color: a, className: r, onClick: h });
|
6881
7211
|
case "arrowUpFilled":
|
6882
|
-
return
|
7212
|
+
return N5({ width: e, height: t, color: a, className: r, onClick: h });
|
6883
7213
|
case "arrowDownFilled":
|
6884
|
-
return
|
7214
|
+
return v5({ width: e, height: t, color: a, className: r, onClick: h });
|
6885
7215
|
case "link":
|
6886
|
-
return
|
7216
|
+
return x5({ width: e, height: t, color: a, className: r, onClick: h });
|
6887
7217
|
case "telegram":
|
6888
|
-
return
|
7218
|
+
return R5({ width: e, height: t, color: a, className: r, onClick: h });
|
6889
7219
|
case "mail":
|
6890
|
-
return
|
7220
|
+
return y5({ width: e, height: t, color: a, className: r, onClick: h });
|
6891
7221
|
case "github":
|
6892
|
-
return
|
7222
|
+
return M5({ width: e, height: t, color: a, className: r, onClick: h });
|
6893
7223
|
case "linkedIn":
|
6894
|
-
return
|
7224
|
+
return b5({ width: e, height: t, color: a, className: r, onClick: h });
|
6895
7225
|
case "emptyStateIcon":
|
6896
|
-
return
|
7226
|
+
return _5({ width: e, height: t, color: a, className: r, onClick: h });
|
6897
7227
|
case "filtersIcon":
|
6898
|
-
return
|
7228
|
+
return E5({ width: e, height: t, color: a, className: r, onClick: h });
|
6899
7229
|
case "dotMenuIcon":
|
6900
|
-
return
|
7230
|
+
return V5({ width: e, height: t, color: a, className: r, onClick: h });
|
6901
7231
|
case "plusCircle":
|
6902
|
-
return
|
7232
|
+
return H5({ width: e, height: t, color: a, className: r, onClick: h });
|
6903
7233
|
case "warning":
|
6904
|
-
return
|
7234
|
+
return I5({ width: e, height: t, color: a, className: r, onClick: h });
|
6905
7235
|
case "back":
|
6906
|
-
return
|
7236
|
+
return S5({ width: e, height: t, color: a, className: r, onClick: h });
|
6907
7237
|
case "bell":
|
6908
|
-
return
|
7238
|
+
return O5({ width: e, height: t, color: a, className: r, onClick: h });
|
6909
7239
|
case "contract":
|
6910
|
-
return
|
7240
|
+
return B5({ width: e, height: t, color: a, className: r, onClick: h });
|
6911
7241
|
case "trash2":
|
6912
|
-
return
|
7242
|
+
return A5({ width: e, height: t, color: a, className: r, onClick: h });
|
6913
7243
|
case "manager":
|
6914
|
-
return
|
7244
|
+
return Z5({ width: e, height: t, color: a, className: r, onClick: h });
|
6915
7245
|
case "resourceManager":
|
6916
|
-
return
|
7246
|
+
return W5({ width: e, height: t, color: a, className: r, onClick: h });
|
6917
7247
|
case "settings2":
|
6918
|
-
return
|
7248
|
+
return j5({ width: e, height: t, color: a, className: r, onClick: h });
|
6919
7249
|
case "image":
|
6920
|
-
return
|
7250
|
+
return D5({ width: e, height: t, color: a, className: r, onClick: h });
|
6921
7251
|
case "upload":
|
6922
|
-
return
|
7252
|
+
return G5({ width: e, height: t, color: a, className: r, onClick: h });
|
6923
7253
|
case "edit":
|
6924
|
-
return
|
7254
|
+
return T5({ width: e, height: t, color: a, className: r, onClick: h });
|
6925
7255
|
case "location":
|
6926
|
-
return
|
7256
|
+
return K5({ width: e, height: t, color: a, className: r, onClick: h });
|
6927
7257
|
case "plus2":
|
6928
|
-
return
|
7258
|
+
return P5({ width: e, height: t, color: a, className: r, onClick: h });
|
6929
7259
|
case "search2":
|
6930
|
-
return
|
7260
|
+
return Y5({ width: e, height: t, color: a, className: r, onClick: h });
|
6931
7261
|
case "fastArrowLeft":
|
6932
|
-
return
|
7262
|
+
return F5({ width: e, height: t, color: a, className: r, onClick: h });
|
6933
7263
|
case "fastArrowRight":
|
6934
|
-
return
|
7264
|
+
return $5({ width: e, height: t, color: a, className: r, onClick: h });
|
6935
7265
|
case "crossInCircle":
|
6936
|
-
return
|
7266
|
+
return U5({ width: e, height: t, color: a, className: r, onClick: h });
|
6937
7267
|
case "arrowUp2":
|
6938
|
-
return
|
7268
|
+
return J5({ width: e, height: t, color: a, className: r, onClick: h });
|
6939
7269
|
case "arrowDown2":
|
6940
|
-
return
|
7270
|
+
return z5({ width: e, height: t, color: a, className: r, onClick: h });
|
6941
7271
|
case "filledArrowLeft":
|
6942
|
-
return
|
7272
|
+
return Q5({ width: e, height: t, color: a, className: r, onClick: h });
|
6943
7273
|
case "filledArrowRight":
|
6944
|
-
return
|
7274
|
+
return q5({ width: e, height: t, color: a, className: r, onClick: h });
|
6945
7275
|
case "burgerMenu":
|
6946
|
-
return
|
7276
|
+
return X5({ width: e, height: t, color: a, className: r, onClick: h });
|
6947
7277
|
case "signOut":
|
6948
|
-
return
|
7278
|
+
return e3({ width: e, height: t, color: a, className: r, onClick: h });
|
6949
7279
|
case "refresh":
|
6950
|
-
return
|
7280
|
+
return t3({ width: e, height: t, color: a, className: r, onClick: h });
|
6951
7281
|
case "projects":
|
6952
|
-
return
|
7282
|
+
return i3({ width: e, height: t, color: a, className: r, onClick: h });
|
6953
7283
|
case "exit":
|
6954
|
-
return
|
7284
|
+
return s3({ width: e, height: t, color: a, className: r, onClick: h });
|
7285
|
+
case "client":
|
7286
|
+
return o3({ width: e, height: t, color: a, className: r, onClick: h });
|
7287
|
+
case "calendar2":
|
7288
|
+
return n3({ width: e, height: t, color: a, className: r, onClick: h });
|
7289
|
+
case "openPointCircle":
|
7290
|
+
return r3({ width: e, height: t, color: a, className: r, onClick: h });
|
7291
|
+
case "community":
|
7292
|
+
return l3({ width: e, height: t, color: a, className: r, onClick: h });
|
7293
|
+
case "docs":
|
7294
|
+
return a3({ width: e, height: t, color: a, className: r, onClick: h });
|
6955
7295
|
default:
|
6956
7296
|
return /* @__PURE__ */ n(X, { children: "No Icon provided" });
|
6957
7297
|
}
|
6958
7298
|
})() });
|
6959
7299
|
};
|
6960
7300
|
var o1 = /* @__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))(o1 || {});
|
6961
|
-
const
|
7301
|
+
const c3 = e1({
|
6962
7302
|
locale: "en",
|
6963
7303
|
theme: "light"
|
6964
7304
|
});
|
6965
|
-
|
7305
|
+
c3.Provider;
|
6966
7306
|
const q1 = ({
|
6967
7307
|
children: i,
|
6968
7308
|
width: e,
|
@@ -6975,11 +7315,11 @@ const q1 = ({
|
|
6975
7315
|
l || s == null || s();
|
6976
7316
|
};
|
6977
7317
|
return /* @__PURE__ */ n(
|
6978
|
-
|
7318
|
+
we,
|
6979
7319
|
{
|
6980
7320
|
className: `snmt-tag ${t} ${l ? "disabled" : ""}`,
|
6981
7321
|
closeIcon: /* @__PURE__ */ n(
|
6982
|
-
|
7322
|
+
h3,
|
6983
7323
|
{
|
6984
7324
|
name: "errorSmall",
|
6985
7325
|
color: l ? o1.GREY_DARK_1 : o1.GREY_DARK_2,
|
@@ -6992,7 +7332,7 @@ const q1 = ({
|
|
6992
7332
|
style: { width: e ?? "fit-content" },
|
6993
7333
|
closable: o,
|
6994
7334
|
children: typeof i == "string" ? /* @__PURE__ */ n(
|
6995
|
-
|
7335
|
+
bt,
|
6996
7336
|
{
|
6997
7337
|
variant: t === "small" ? "body4" : "body2",
|
6998
7338
|
color: l ? o1.GREY_DARK_2 : o1.GREY_DARK_5,
|
@@ -7001,7 +7341,7 @@ const q1 = ({
|
|
7001
7341
|
) : i
|
7002
7342
|
}
|
7003
7343
|
);
|
7004
|
-
},
|
7344
|
+
}, d3 = ({
|
7005
7345
|
children: i,
|
7006
7346
|
content: e,
|
7007
7347
|
isOpen: t,
|
@@ -7011,7 +7351,7 @@ const q1 = ({
|
|
7011
7351
|
}) => {
|
7012
7352
|
const [c, r] = S(!1);
|
7013
7353
|
return /* @__PURE__ */ n(
|
7014
|
-
|
7354
|
+
fe,
|
7015
7355
|
{
|
7016
7356
|
content: e,
|
7017
7357
|
arrow: !1,
|
@@ -7026,7 +7366,7 @@ const q1 = ({
|
|
7026
7366
|
}
|
7027
7367
|
);
|
7028
7368
|
};
|
7029
|
-
var
|
7369
|
+
var g3 = { exports: {} };
|
7030
7370
|
(function(i, e) {
|
7031
7371
|
(function(t, s) {
|
7032
7372
|
i.exports = s();
|
@@ -7036,8 +7376,8 @@ var i3 = { exports: {} };
|
|
7036
7376
|
return "[" + t + (s[(o - 20) % 10] || s[o] || s[0]) + "]";
|
7037
7377
|
} };
|
7038
7378
|
});
|
7039
|
-
})(
|
7040
|
-
const
|
7379
|
+
})(g3);
|
7380
|
+
const C3 = ({
|
7041
7381
|
values: i,
|
7042
7382
|
onTagClose: e,
|
7043
7383
|
maxWidth: t,
|
@@ -7052,11 +7392,11 @@ const s3 = ({
|
|
7052
7392
|
}, [i]), !i.length)
|
7053
7393
|
return null;
|
7054
7394
|
const h = (u) => {
|
7055
|
-
var p,
|
7056
|
-
return ((p = l == null ? void 0 : l.find((
|
7395
|
+
var p, L;
|
7396
|
+
return ((p = l == null ? void 0 : l.find((f) => f.value === u)) == null ? void 0 : p.label) || ((L = c == null ? void 0 : c.find((f) => f.value === u)) == null ? void 0 : L.label) || u;
|
7057
7397
|
};
|
7058
7398
|
return /* @__PURE__ */ C(
|
7059
|
-
|
7399
|
+
d3,
|
7060
7400
|
{
|
7061
7401
|
content: (
|
7062
7402
|
// 90: paddings + margins + gaps and so on
|
@@ -7089,7 +7429,7 @@ const s3 = ({
|
|
7089
7429
|
backgroundSize: "20% calc(200% + 20px)"
|
7090
7430
|
};
|
7091
7431
|
return /* @__PURE__ */ n("span", { className: "snmt-loader", style: s });
|
7092
|
-
},
|
7432
|
+
}, u3 = b1(
|
7093
7433
|
({
|
7094
7434
|
value: i,
|
7095
7435
|
onChange: e,
|
@@ -7105,125 +7445,125 @@ const s3 = ({
|
|
7105
7445
|
onSearchChange: h,
|
7106
7446
|
onDropdownVisibleChange: u,
|
7107
7447
|
onScrollToEnd: p,
|
7108
|
-
onPopupScroll:
|
7448
|
+
onPopupScroll: L,
|
7109
7449
|
id: x,
|
7110
|
-
extraOptions:
|
7450
|
+
extraOptions: f,
|
7111
7451
|
dropdownRender: E,
|
7112
7452
|
optionRender: y,
|
7113
7453
|
isLoading: _,
|
7114
|
-
readOnly:
|
7115
|
-
},
|
7116
|
-
const [b,
|
7454
|
+
readOnly: w
|
7455
|
+
}, M) => {
|
7456
|
+
const [b, R] = S(!1), [T, a1] = S(!1), [t1, D] = S(!0), [B, i1] = S(i), G = l1(null);
|
7117
7457
|
A(() => {
|
7118
7458
|
i1(i);
|
7119
7459
|
}, [i]);
|
7120
|
-
const K = (
|
7121
|
-
|
7122
|
-
}, J = (
|
7460
|
+
const K = (N) => {
|
7461
|
+
R(N), u && u(N);
|
7462
|
+
}, J = (N, V) => {
|
7123
7463
|
var Z;
|
7124
|
-
return !!((Z =
|
7464
|
+
return !!((Z = V == null ? void 0 : V.label) != null && Z.toString().toLowerCase().includes(N.toLowerCase()));
|
7125
7465
|
}, h1 = () => {
|
7126
7466
|
a1(!0);
|
7127
7467
|
}, I = () => {
|
7128
7468
|
a1(!1);
|
7129
7469
|
}, O = W(
|
7130
|
-
(
|
7131
|
-
if (i1(
|
7132
|
-
const Z =
|
7470
|
+
(N) => {
|
7471
|
+
if (i1(N), s) {
|
7472
|
+
const Z = N;
|
7133
7473
|
e == null || e(Z);
|
7134
7474
|
return;
|
7135
7475
|
}
|
7136
|
-
const
|
7137
|
-
e == null || e(
|
7476
|
+
const V = N;
|
7477
|
+
e == null || e(V);
|
7138
7478
|
},
|
7139
7479
|
[s, e]
|
7140
7480
|
), P = W(() => {
|
7141
|
-
if (!
|
7481
|
+
if (!w) {
|
7142
7482
|
if (s) {
|
7143
7483
|
O([]);
|
7144
7484
|
return;
|
7145
7485
|
}
|
7146
7486
|
O("");
|
7147
7487
|
}
|
7148
|
-
}, [O, s,
|
7149
|
-
(
|
7150
|
-
const
|
7151
|
-
O(
|
7488
|
+
}, [O, s, w]), Y = W(
|
7489
|
+
(N) => {
|
7490
|
+
const V = B.filter((Z) => Z !== N);
|
7491
|
+
O(V), i1(V);
|
7152
7492
|
},
|
7153
7493
|
[O, B]
|
7154
7494
|
), _1 = W(
|
7155
|
-
(
|
7495
|
+
(N) => (B == null ? void 0 : B.indexOf(N)) === 0 ? (
|
7156
7496
|
// if the search input is empty
|
7157
7497
|
// then display the placeholder, else do not display it
|
7158
7498
|
/* @__PURE__ */ n("span", { className: "custom-placeholder", children: t1 ? t : "" })
|
7159
7499
|
) : /* @__PURE__ */ n(X, {}),
|
7160
7500
|
[t1, B, t]
|
7161
|
-
), oe = (
|
7162
|
-
|
7163
|
-
}, ne = async (
|
7164
|
-
const { target:
|
7165
|
-
|
7501
|
+
), oe = (N) => {
|
7502
|
+
N.preventDefault(), N.stopPropagation();
|
7503
|
+
}, ne = async (N) => {
|
7504
|
+
const { target: V } = N;
|
7505
|
+
V.scrollTop + V.offsetHeight >= V.scrollHeight - a && (p == null || p(!0)), L && await L(N);
|
7166
7506
|
}, m1 = W(
|
7167
|
-
(
|
7168
|
-
var
|
7169
|
-
return ((
|
7170
|
-
(k1) => k1.value ===
|
7171
|
-
)) == null ? void 0 : Z.label) ||
|
7507
|
+
(N) => {
|
7508
|
+
var V, Z;
|
7509
|
+
return ((V = l.find((k1) => k1.value === N)) == null ? void 0 : V.label) || ((Z = f == null ? void 0 : f.find(
|
7510
|
+
(k1) => k1.value === N
|
7511
|
+
)) == null ? void 0 : Z.label) || N;
|
7172
7512
|
},
|
7173
|
-
[
|
7513
|
+
[f, l]
|
7174
7514
|
), re = W(
|
7175
|
-
(
|
7176
|
-
var
|
7515
|
+
(N) => {
|
7516
|
+
var V;
|
7177
7517
|
return /* @__PURE__ */ n(
|
7178
|
-
|
7518
|
+
C3,
|
7179
7519
|
{
|
7180
|
-
values:
|
7181
|
-
onTagClose:
|
7182
|
-
maxWidth: ((
|
7520
|
+
values: N,
|
7521
|
+
onTagClose: Y,
|
7522
|
+
maxWidth: ((V = G.current) == null ? void 0 : V.clientWidth) || 0,
|
7183
7523
|
disabled: r,
|
7184
|
-
closable: !
|
7524
|
+
closable: !w,
|
7185
7525
|
options: l,
|
7186
|
-
extraOptions:
|
7526
|
+
extraOptions: f
|
7187
7527
|
}
|
7188
7528
|
);
|
7189
7529
|
},
|
7190
|
-
[r,
|
7530
|
+
[r, f, Y, l, w]
|
7191
7531
|
), le = W(
|
7192
|
-
({ label:
|
7193
|
-
[r, m1,
|
7532
|
+
({ label: N, value: V, mode: Z }) => Z === "filter" ? _1(V) : /* @__PURE__ */ n("div", { onMouseDown: oe, className: "tag-wrapper", children: /* @__PURE__ */ n(q1, { onClose: () => Y(V), disabled: r, children: typeof N == "object" ? N : m1(V) }) }),
|
7533
|
+
[r, m1, Y, _1]
|
7194
7534
|
);
|
7195
7535
|
return /* @__PURE__ */ C(
|
7196
7536
|
"div",
|
7197
7537
|
{
|
7198
|
-
className: `snmt-select ${
|
7199
|
-
${s ? "" : "snmt-select-single"} ${
|
7200
|
-
ref:
|
7538
|
+
className: `snmt-select ${T ? "snmt-select-focused" : ""}
|
7539
|
+
${s ? "" : "snmt-select-single"} ${w ? "snmt-select-read-only" : ""}`,
|
7540
|
+
ref: G,
|
7201
7541
|
style: { width: c },
|
7202
7542
|
children: [
|
7203
7543
|
/* @__PURE__ */ n(
|
7204
7544
|
de,
|
7205
7545
|
{
|
7206
7546
|
className: "snmt-select-blank",
|
7207
|
-
popupClassName:
|
7547
|
+
popupClassName: w ? "dropdown-read-only" : "",
|
7208
7548
|
id: x,
|
7209
|
-
ref:
|
7549
|
+
ref: M,
|
7210
7550
|
showSearch: !!o,
|
7211
7551
|
filterOption: o && J,
|
7212
7552
|
onDropdownVisibleChange: K,
|
7213
7553
|
placeholder: t ? d ? `${t}*` : t : void 0,
|
7214
7554
|
disabled: r,
|
7215
7555
|
value: B || void 0,
|
7216
|
-
labelRender: (
|
7556
|
+
labelRender: (N) => m1(N.value),
|
7217
7557
|
mode: s === "filter" ? "multiple" : s,
|
7218
7558
|
onChange: O,
|
7219
7559
|
onFocus: h1,
|
7220
7560
|
onBlur: I,
|
7221
|
-
onSearch: (
|
7222
|
-
|
7561
|
+
onSearch: (N) => {
|
7562
|
+
D(!N), h && h(N);
|
7223
7563
|
},
|
7224
|
-
onSelect: () =>
|
7225
|
-
onDeselect: () =>
|
7226
|
-
tagRender: (
|
7564
|
+
onSelect: () => D(!0),
|
7565
|
+
onDeselect: () => D(!0),
|
7566
|
+
tagRender: (N) => le({ ...N, mode: s }),
|
7227
7567
|
maxTagCount: "responsive",
|
7228
7568
|
maxTagPlaceholder: re,
|
7229
7569
|
onPopupScroll: ne,
|
@@ -7233,46 +7573,46 @@ const s3 = ({
|
|
7233
7573
|
c1,
|
7234
7574
|
{
|
7235
7575
|
name: "cancel",
|
7236
|
-
color: r ?
|
7576
|
+
color: r ? F.GREY_DARK_1 : F.GREY_DARK_5
|
7237
7577
|
}
|
7238
7578
|
) }),
|
7239
7579
|
/* @__PURE__ */ n(
|
7240
7580
|
c1,
|
7241
7581
|
{
|
7242
7582
|
name: "selectArrowIcon",
|
7243
|
-
color: r ?
|
7583
|
+
color: r ? F.GREY_DARK_1 : F.GREY_DARK_5,
|
7244
7584
|
className: b ? "select-arrow-rotated" : "select-arrow",
|
7245
|
-
onClick: () =>
|
7585
|
+
onClick: () => R(!b)
|
7246
7586
|
}
|
7247
7587
|
)
|
7248
7588
|
] }) }),
|
7249
|
-
removeIcon: /* @__PURE__ */ n(c1, { name: "errorSmall", color:
|
7589
|
+
removeIcon: /* @__PURE__ */ n(c1, { name: "errorSmall", color: F.GREY_DARK_2 }),
|
7250
7590
|
options: l,
|
7251
|
-
optionRender: (
|
7591
|
+
optionRender: (N) => y ? y(N.data) : /* @__PURE__ */ C(g1, { justifyContent: "space-between", alignItems: "center", flex: "1", children: [
|
7252
7592
|
/* @__PURE__ */ C(g1, { alignItems: "center", gap: 12, children: [
|
7253
7593
|
s && /* @__PURE__ */ n(
|
7254
|
-
|
7594
|
+
De,
|
7255
7595
|
{
|
7256
|
-
checked: !!(B != null && B.includes(
|
7596
|
+
checked: !!(B != null && B.includes(N.value))
|
7257
7597
|
}
|
7258
7598
|
),
|
7259
7599
|
/* @__PURE__ */ C(g1, { alignItems: "center", gap: 8, children: [
|
7260
|
-
|
7261
|
-
/* @__PURE__ */ n("span", { children:
|
7600
|
+
N.data.image && /* @__PURE__ */ n(je, { src: N.data.image, size: 20 }),
|
7601
|
+
/* @__PURE__ */ n("span", { children: N.label })
|
7262
7602
|
] })
|
7263
7603
|
] }),
|
7264
|
-
!s && B ===
|
7604
|
+
!s && B === N.value && /* @__PURE__ */ n(
|
7265
7605
|
c1,
|
7266
7606
|
{
|
7267
7607
|
name: "ok",
|
7268
|
-
color:
|
7608
|
+
color: F.BLUE_PRIMARY,
|
7269
7609
|
width: 16,
|
7270
7610
|
height: 16
|
7271
7611
|
}
|
7272
7612
|
)
|
7273
7613
|
] }),
|
7274
|
-
dropdownRender: (
|
7275
|
-
/* @__PURE__ */ n("div", { className: "dropdown-menu", children: E ? E(
|
7614
|
+
dropdownRender: (N) => /* @__PURE__ */ C("div", { className: "dropdown-container", children: [
|
7615
|
+
/* @__PURE__ */ n("div", { className: "dropdown-menu", children: E ? E(N) : N }),
|
7276
7616
|
_ && /* @__PURE__ */ n("div", { className: "loading-overlay", children: /* @__PURE__ */ n(S1, { size: 28 }) })
|
7277
7617
|
] })
|
7278
7618
|
}
|
@@ -7280,7 +7620,7 @@ const s3 = ({
|
|
7280
7620
|
/* @__PURE__ */ n(
|
7281
7621
|
"fieldset",
|
7282
7622
|
{
|
7283
|
-
className: `${
|
7623
|
+
className: `${T ? "fieldset-focused" : ""}
|
7284
7624
|
${r ? "fieldset-disabled" : ""}
|
7285
7625
|
${typeof i == "string" && i ? "fieldset-filled" : ""}
|
7286
7626
|
${typeof i == "object" && i != null && i.length ? "fieldset-filled" : ""}`,
|
@@ -7291,18 +7631,18 @@ const s3 = ({
|
|
7291
7631
|
}
|
7292
7632
|
);
|
7293
7633
|
}
|
7294
|
-
),
|
7634
|
+
), v = (i) => typeof i == "string", s1 = () => {
|
7295
7635
|
let i, e;
|
7296
7636
|
const t = new Promise((s, o) => {
|
7297
7637
|
i = s, e = o;
|
7298
7638
|
});
|
7299
7639
|
return t.resolve = i, t.reject = e, t;
|
7300
|
-
}, O1 = (i) => i == null ? "" : "" + i,
|
7640
|
+
}, O1 = (i) => i == null ? "" : "" + i, p3 = (i, e, t) => {
|
7301
7641
|
i.forEach((s) => {
|
7302
7642
|
e[s] && (t[s] = e[s]);
|
7303
7643
|
});
|
7304
|
-
},
|
7305
|
-
const s =
|
7644
|
+
}, w3 = /###/g, A1 = (i) => i && i.indexOf("###") > -1 ? i.replace(w3, ".") : i, B1 = (i) => !i || v(i), n1 = (i, e, t) => {
|
7645
|
+
const s = v(e) ? e.split(".") : e;
|
7306
7646
|
let o = 0;
|
7307
7647
|
for (; o < s.length - 1; ) {
|
7308
7648
|
if (B1(i)) return {};
|
@@ -7326,7 +7666,7 @@ const s3 = ({
|
|
7326
7666
|
for (; r.obj === void 0 && c.length; )
|
7327
7667
|
l = `${c[c.length - 1]}.${l}`, c = c.slice(0, c.length - 1), r = n1(i, c, Object), r && r.obj && typeof r.obj[`${r.k}.${l}`] < "u" && (r.obj = void 0);
|
7328
7668
|
r.obj[`${r.k}.${l}`] = t;
|
7329
|
-
},
|
7669
|
+
}, f3 = (i, e, t, s) => {
|
7330
7670
|
const {
|
7331
7671
|
obj: o,
|
7332
7672
|
k: l
|
@@ -7339,15 +7679,15 @@ const s3 = ({
|
|
7339
7679
|
} = n1(i, e);
|
7340
7680
|
if (t)
|
7341
7681
|
return t[s];
|
7342
|
-
},
|
7682
|
+
}, m3 = (i, e, t) => {
|
7343
7683
|
const s = C1(i, t);
|
7344
7684
|
return s !== void 0 ? s : C1(e, t);
|
7345
7685
|
}, X1 = (i, e, t) => {
|
7346
7686
|
for (const s in e)
|
7347
|
-
s !== "__proto__" && s !== "constructor" && (s in i ?
|
7687
|
+
s !== "__proto__" && s !== "constructor" && (s in i ? v(i[s]) || i[s] instanceof String || v(e[s]) || e[s] instanceof String ? t && (i[s] = e[s]) : X1(i[s], e[s], t) : i[s] = e[s]);
|
7348
7688
|
return i;
|
7349
7689
|
}, Q = (i) => i.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
|
7350
|
-
var
|
7690
|
+
var k3 = {
|
7351
7691
|
"&": "&",
|
7352
7692
|
"<": "<",
|
7353
7693
|
">": ">",
|
@@ -7355,8 +7695,8 @@ var h3 = {
|
|
7355
7695
|
"'": "'",
|
7356
7696
|
"/": "/"
|
7357
7697
|
};
|
7358
|
-
const
|
7359
|
-
class
|
7698
|
+
const L3 = (i) => v(i) ? i.replace(/[&<>"'\/]/g, (e) => k3[e]) : i;
|
7699
|
+
class v3 {
|
7360
7700
|
constructor(e) {
|
7361
7701
|
this.capacity = e, this.regExpMap = /* @__PURE__ */ new Map(), this.regExpQueue = [];
|
7362
7702
|
}
|
@@ -7368,11 +7708,11 @@ class d3 {
|
|
7368
7708
|
return this.regExpQueue.length === this.capacity && this.regExpMap.delete(this.regExpQueue.shift()), this.regExpMap.set(e, s), this.regExpQueue.push(e), s;
|
7369
7709
|
}
|
7370
7710
|
}
|
7371
|
-
const
|
7711
|
+
const N3 = [" ", ",", "?", "!", ";"], x3 = new v3(20), M3 = (i, e, t) => {
|
7372
7712
|
e = e || "", t = t || "";
|
7373
|
-
const s =
|
7713
|
+
const s = N3.filter((c) => e.indexOf(c) < 0 && t.indexOf(c) < 0);
|
7374
7714
|
if (s.length === 0) return !0;
|
7375
|
-
const o =
|
7715
|
+
const o = x3.getRegExp(`(${s.map((c) => c === "?" ? "\\?" : c).join("|")})`);
|
7376
7716
|
let l = !o.test(i);
|
7377
7717
|
if (!l) {
|
7378
7718
|
const c = i.indexOf(t);
|
@@ -7399,7 +7739,7 @@ const g3 = [" ", ",", "?", "!", ";"], C3 = new d3(20), u3 = (i, e, t) => {
|
|
7399
7739
|
o = c;
|
7400
7740
|
}
|
7401
7741
|
return o;
|
7402
|
-
}, u1 = (i) => i && i.replace("_", "-"),
|
7742
|
+
}, u1 = (i) => i && i.replace("_", "-"), R3 = {
|
7403
7743
|
type: "logger",
|
7404
7744
|
log(i) {
|
7405
7745
|
this.output("log", i);
|
@@ -7421,7 +7761,7 @@ class p1 {
|
|
7421
7761
|
}
|
7422
7762
|
init(e) {
|
7423
7763
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
7424
|
-
this.prefix = t.prefix || "i18next:", this.logger = e ||
|
7764
|
+
this.prefix = t.prefix || "i18next:", this.logger = e || R3, this.options = t, this.debug = t.debug;
|
7425
7765
|
}
|
7426
7766
|
log() {
|
7427
7767
|
for (var e = arguments.length, t = new Array(e), s = 0; s < e; s++)
|
@@ -7444,7 +7784,7 @@ class p1 {
|
|
7444
7784
|
return this.forward(t, "warn", "WARNING DEPRECATED: ", !0);
|
7445
7785
|
}
|
7446
7786
|
forward(e, t, s, o) {
|
7447
|
-
return o && !this.debug ? null : (
|
7787
|
+
return o && !this.debug ? null : (v(e[0]) && (e[0] = `${s}${this.prefix} ${e[0]}`), this.logger[t](e));
|
7448
7788
|
}
|
7449
7789
|
create(e) {
|
7450
7790
|
return new p1(this.logger, {
|
@@ -7457,7 +7797,7 @@ class p1 {
|
|
7457
7797
|
}
|
7458
7798
|
}
|
7459
7799
|
var j = new p1();
|
7460
|
-
class
|
7800
|
+
class f1 {
|
7461
7801
|
constructor() {
|
7462
7802
|
this.observers = {};
|
7463
7803
|
}
|
@@ -7491,7 +7831,7 @@ class w1 {
|
|
7491
7831
|
});
|
7492
7832
|
}
|
7493
7833
|
}
|
7494
|
-
class W1 extends
|
7834
|
+
class W1 extends f1 {
|
7495
7835
|
constructor(e) {
|
7496
7836
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
|
7497
7837
|
ns: ["translation"],
|
@@ -7510,9 +7850,9 @@ class W1 extends w1 {
|
|
7510
7850
|
let o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
|
7511
7851
|
const l = o.keySeparator !== void 0 ? o.keySeparator : this.options.keySeparator, c = o.ignoreJSONStructure !== void 0 ? o.ignoreJSONStructure : this.options.ignoreJSONStructure;
|
7512
7852
|
let r;
|
7513
|
-
e.indexOf(".") > -1 ? r = e.split(".") : (r = [e, t], s && (Array.isArray(s) ? r.push(...s) :
|
7853
|
+
e.indexOf(".") > -1 ? r = e.split(".") : (r = [e, t], s && (Array.isArray(s) ? r.push(...s) : v(s) && l ? r.push(...s.split(l)) : r.push(s)));
|
7514
7854
|
const d = C1(this.data, r);
|
7515
|
-
return !d && !t && !s && e.indexOf(".") > -1 && (e = r[0], t = r[1], s = r.slice(2).join(".")), d || !c || !
|
7855
|
+
return !d && !t && !s && e.indexOf(".") > -1 && (e = r[0], t = r[1], s = r.slice(2).join(".")), d || !c || !v(s) ? d : x1(this.data && this.data[e] && this.data[e][t], s, l);
|
7516
7856
|
}
|
7517
7857
|
addResource(e, t, s, o) {
|
7518
7858
|
let l = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : {
|
@@ -7527,7 +7867,7 @@ class W1 extends w1 {
|
|
7527
7867
|
silent: !1
|
7528
7868
|
};
|
7529
7869
|
for (const l in s)
|
7530
|
-
(
|
7870
|
+
(v(s[l]) || Array.isArray(s[l])) && this.addResource(e, t, l, s[l], {
|
7531
7871
|
silent: !0
|
7532
7872
|
});
|
7533
7873
|
o.silent || this.emit("added", e, t, s);
|
@@ -7578,10 +7918,10 @@ var ee = {
|
|
7578
7918
|
}
|
7579
7919
|
};
|
7580
7920
|
const j1 = {};
|
7581
|
-
class
|
7921
|
+
class w1 extends f1 {
|
7582
7922
|
constructor(e) {
|
7583
7923
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
7584
|
-
super(),
|
7924
|
+
super(), p3(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = j.create("translator");
|
7585
7925
|
}
|
7586
7926
|
changeLanguage(e) {
|
7587
7927
|
e && (this.language = e);
|
@@ -7600,20 +7940,20 @@ class f1 extends w1 {
|
|
7600
7940
|
s === void 0 && (s = ":");
|
7601
7941
|
const o = t.keySeparator !== void 0 ? t.keySeparator : this.options.keySeparator;
|
7602
7942
|
let l = t.ns || this.options.defaultNS || [];
|
7603
|
-
const c = s && e.indexOf(s) > -1, r = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !
|
7943
|
+
const c = s && e.indexOf(s) > -1, r = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !M3(e, s, o);
|
7604
7944
|
if (c && !r) {
|
7605
7945
|
const d = e.match(this.interpolator.nestingRegexp);
|
7606
7946
|
if (d && d.length > 0)
|
7607
7947
|
return {
|
7608
7948
|
key: e,
|
7609
|
-
namespaces:
|
7949
|
+
namespaces: v(l) ? [l] : l
|
7610
7950
|
};
|
7611
7951
|
const g = e.split(s);
|
7612
7952
|
(s !== o || s === o && this.options.ns.indexOf(g[0]) > -1) && (l = g.shift()), e = g.join(o);
|
7613
7953
|
}
|
7614
7954
|
return {
|
7615
7955
|
key: e,
|
7616
|
-
namespaces:
|
7956
|
+
namespaces: v(l) ? [l] : l
|
7617
7957
|
};
|
7618
7958
|
}
|
7619
7959
|
translate(e, t, s) {
|
@@ -7627,15 +7967,15 @@ class f1 extends w1 {
|
|
7627
7967
|
} = this.extractFromKey(e[e.length - 1], t), d = r[r.length - 1], g = t.lng || this.language, a = t.appendNamespaceToCIMode || this.options.appendNamespaceToCIMode;
|
7628
7968
|
if (g && g.toLowerCase() === "cimode") {
|
7629
7969
|
if (a) {
|
7630
|
-
const
|
7970
|
+
const w = t.nsSeparator || this.options.nsSeparator;
|
7631
7971
|
return o ? {
|
7632
|
-
res: `${d}${
|
7972
|
+
res: `${d}${w}${c}`,
|
7633
7973
|
usedKey: c,
|
7634
7974
|
exactUsedKey: c,
|
7635
7975
|
usedLng: g,
|
7636
7976
|
usedNS: d,
|
7637
7977
|
usedParams: this.getUsedParamsDetails(t)
|
7638
|
-
} : `${d}${
|
7978
|
+
} : `${d}${w}${c}`;
|
7639
7979
|
}
|
7640
7980
|
return o ? {
|
7641
7981
|
res: c,
|
@@ -7648,40 +7988,40 @@ class f1 extends w1 {
|
|
7648
7988
|
}
|
7649
7989
|
const h = this.resolve(e, t);
|
7650
7990
|
let u = h && h.res;
|
7651
|
-
const p = h && h.usedKey || c,
|
7652
|
-
if (y && u && _ &&
|
7991
|
+
const p = h && h.usedKey || c, L = h && h.exactUsedKey || c, x = Object.prototype.toString.apply(u), f = ["[object Number]", "[object Function]", "[object RegExp]"], E = t.joinArrays !== void 0 ? t.joinArrays : this.options.joinArrays, y = !this.i18nFormat || this.i18nFormat.handleAsObject, _ = !v(u) && typeof u != "boolean" && typeof u != "number";
|
7992
|
+
if (y && u && _ && f.indexOf(x) < 0 && !(v(E) && Array.isArray(u))) {
|
7653
7993
|
if (!t.returnObjects && !this.options.returnObjects) {
|
7654
7994
|
this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
|
7655
|
-
const
|
7995
|
+
const w = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(p, u, {
|
7656
7996
|
...t,
|
7657
7997
|
ns: r
|
7658
7998
|
}) : `key '${c} (${this.language})' returned an object instead of string.`;
|
7659
|
-
return o ? (h.res =
|
7999
|
+
return o ? (h.res = w, h.usedParams = this.getUsedParamsDetails(t), h) : w;
|
7660
8000
|
}
|
7661
8001
|
if (l) {
|
7662
|
-
const
|
7663
|
-
for (const
|
7664
|
-
if (Object.prototype.hasOwnProperty.call(u,
|
7665
|
-
const
|
7666
|
-
R
|
8002
|
+
const w = Array.isArray(u), M = w ? [] : {}, b = w ? L : p;
|
8003
|
+
for (const R in u)
|
8004
|
+
if (Object.prototype.hasOwnProperty.call(u, R)) {
|
8005
|
+
const T = `${b}${l}${R}`;
|
8006
|
+
M[R] = this.translate(T, {
|
7667
8007
|
...t,
|
7668
8008
|
joinArrays: !1,
|
7669
8009
|
ns: r
|
7670
|
-
}), R
|
8010
|
+
}), M[R] === T && (M[R] = u[R]);
|
7671
8011
|
}
|
7672
|
-
u =
|
8012
|
+
u = M;
|
7673
8013
|
}
|
7674
|
-
} else if (y &&
|
8014
|
+
} else if (y && v(E) && Array.isArray(u))
|
7675
8015
|
u = u.join(E), u && (u = this.extendTranslation(u, e, t, s));
|
7676
8016
|
else {
|
7677
|
-
let
|
7678
|
-
const b = t.count !== void 0 && !
|
8017
|
+
let w = !1, M = !1;
|
8018
|
+
const b = t.count !== void 0 && !v(t.count), R = w1.hasDefaultValue(t), T = b ? this.pluralResolver.getSuffix(g, t.count, t) : "", a1 = t.ordinal && b ? this.pluralResolver.getSuffix(g, t.count, {
|
7679
8019
|
ordinal: !1
|
7680
|
-
}) : "", t1 = b && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(),
|
7681
|
-
!this.isValidLookup(u) &&
|
7682
|
-
const i1 = (t.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) &&
|
7683
|
-
if (
|
7684
|
-
if (this.logger.log(
|
8020
|
+
}) : "", t1 = b && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), D = t1 && t[`defaultValue${this.options.pluralSeparator}zero`] || t[`defaultValue${T}`] || t[`defaultValue${a1}`] || t.defaultValue;
|
8021
|
+
!this.isValidLookup(u) && R && (w = !0, u = D), this.isValidLookup(u) || (M = !0, u = c);
|
8022
|
+
const i1 = (t.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && M ? void 0 : u, G = R && D !== u && this.options.updateMissing;
|
8023
|
+
if (M || w || G) {
|
8024
|
+
if (this.logger.log(G ? "updateKey" : "missingKey", g, d, c, G ? D : u), l) {
|
7685
8025
|
const I = this.resolve(c, {
|
7686
8026
|
...t,
|
7687
8027
|
keySeparator: !1
|
@@ -7695,17 +8035,17 @@ class f1 extends w1 {
|
|
7695
8035
|
K.push(J[I]);
|
7696
8036
|
else this.options.saveMissingTo === "all" ? K = this.languageUtils.toResolveHierarchy(t.lng || this.language) : K.push(t.lng || this.language);
|
7697
8037
|
const h1 = (I, O, P) => {
|
7698
|
-
const
|
7699
|
-
this.options.missingKeyHandler ? this.options.missingKeyHandler(I, d, O,
|
8038
|
+
const Y = R && P !== u ? P : i1;
|
8039
|
+
this.options.missingKeyHandler ? this.options.missingKeyHandler(I, d, O, Y, G, t) : this.backendConnector && this.backendConnector.saveMissing && this.backendConnector.saveMissing(I, d, O, Y, G, t), this.emit("missingKey", I, d, O, u);
|
7700
8040
|
};
|
7701
8041
|
this.options.saveMissing && (this.options.saveMissingPlurals && b ? K.forEach((I) => {
|
7702
8042
|
const O = this.pluralResolver.getSuffixes(I, t);
|
7703
8043
|
t1 && t[`defaultValue${this.options.pluralSeparator}zero`] && O.indexOf(`${this.options.pluralSeparator}zero`) < 0 && O.push(`${this.options.pluralSeparator}zero`), O.forEach((P) => {
|
7704
|
-
h1([I], c + P, t[`defaultValue${P}`] ||
|
8044
|
+
h1([I], c + P, t[`defaultValue${P}`] || D);
|
7705
8045
|
});
|
7706
|
-
}) : h1(K, c,
|
8046
|
+
}) : h1(K, c, D));
|
7707
8047
|
}
|
7708
|
-
u = this.extendTranslation(u, e, t, h, s),
|
8048
|
+
u = this.extendTranslation(u, e, t, h, s), M && u === c && this.options.appendNamespaceToMissingKey && (u = `${d}:${c}`), (M || w) && this.options.parseMissingKeyHandler && (this.options.compatibilityAPI !== "v1" ? u = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${d}:${c}` : c, w ? u : void 0) : u = this.options.parseMissingKeyHandler(u));
|
7709
8049
|
}
|
7710
8050
|
return o ? (h.res = u, h.usedParams = this.getUsedParamsDetails(t), h) : u;
|
7711
8051
|
}
|
@@ -7726,13 +8066,13 @@ class f1 extends w1 {
|
|
7726
8066
|
...s.interpolation
|
7727
8067
|
}
|
7728
8068
|
});
|
7729
|
-
const g =
|
8069
|
+
const g = v(e) && (s && s.interpolation && s.interpolation.skipOnVariables !== void 0 ? s.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables);
|
7730
8070
|
let a;
|
7731
8071
|
if (g) {
|
7732
8072
|
const u = e.match(this.interpolator.nestingRegexp);
|
7733
8073
|
a = u && u.length;
|
7734
8074
|
}
|
7735
|
-
let h = s.replace && !
|
8075
|
+
let h = s.replace && !v(s.replace) ? s.replace : s;
|
7736
8076
|
if (this.options.interpolation.defaultVariables && (h = {
|
7737
8077
|
...this.options.interpolation.defaultVariables,
|
7738
8078
|
...h
|
@@ -7741,12 +8081,12 @@ class f1 extends w1 {
|
|
7741
8081
|
a < p && (s.nest = !1);
|
7742
8082
|
}
|
7743
8083
|
!s.lng && this.options.compatibilityAPI !== "v1" && o && o.res && (s.lng = this.language || o.usedLng), s.nest !== !1 && (e = this.interpolator.nest(e, function() {
|
7744
|
-
for (var u = arguments.length, p = new Array(u),
|
7745
|
-
p[
|
8084
|
+
for (var u = arguments.length, p = new Array(u), L = 0; L < u; L++)
|
8085
|
+
p[L] = arguments[L];
|
7746
8086
|
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);
|
7747
8087
|
}, s)), s.interpolation && this.interpolator.reset();
|
7748
8088
|
}
|
7749
|
-
const r = s.postProcess || this.options.postProcess, d =
|
8089
|
+
const r = s.postProcess || this.options.postProcess, d = v(r) ? [r] : r;
|
7750
8090
|
return e != null && d && d.length && s.applyPostProcessor !== !1 && (e = ee.handle(d, e, t, this.options && this.options.postProcessPassResolved ? {
|
7751
8091
|
i18nResolved: {
|
7752
8092
|
...o,
|
@@ -7757,32 +8097,32 @@ class f1 extends w1 {
|
|
7757
8097
|
}
|
7758
8098
|
resolve(e) {
|
7759
8099
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s, o, l, c, r;
|
7760
|
-
return
|
8100
|
+
return v(e) && (e = [e]), e.forEach((d) => {
|
7761
8101
|
if (this.isValidLookup(s)) return;
|
7762
8102
|
const g = this.extractFromKey(d, t), a = g.key;
|
7763
8103
|
o = a;
|
7764
8104
|
let h = g.namespaces;
|
7765
8105
|
this.options.fallbackNS && (h = h.concat(this.options.fallbackNS));
|
7766
|
-
const u = t.count !== void 0 && !
|
7767
|
-
h.forEach((
|
7768
|
-
this.isValidLookup(s) || (r =
|
8106
|
+
const u = t.count !== void 0 && !v(t.count), p = u && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), L = t.context !== void 0 && (v(t.context) || typeof t.context == "number") && t.context !== "", x = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
|
8107
|
+
h.forEach((f) => {
|
8108
|
+
this.isValidLookup(s) || (r = f, !j1[`${x[0]}-${f}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(r) && (j1[`${x[0]}-${f}`] = !0, this.logger.warn(`key "${o}" for languages "${x.join(", ")}" won't get resolved as namespace "${r}" 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) => {
|
7769
8109
|
if (this.isValidLookup(s)) return;
|
7770
8110
|
c = E;
|
7771
8111
|
const y = [a];
|
7772
8112
|
if (this.i18nFormat && this.i18nFormat.addLookupKeys)
|
7773
|
-
this.i18nFormat.addLookupKeys(y, a, E,
|
8113
|
+
this.i18nFormat.addLookupKeys(y, a, E, f, t);
|
7774
8114
|
else {
|
7775
|
-
let
|
7776
|
-
u && (
|
7777
|
-
const
|
7778
|
-
if (u && (y.push(a +
|
7779
|
-
const
|
7780
|
-
y.push(
|
8115
|
+
let w;
|
8116
|
+
u && (w = this.pluralResolver.getSuffix(E, t.count, t));
|
8117
|
+
const M = `${this.options.pluralSeparator}zero`, b = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
|
8118
|
+
if (u && (y.push(a + w), t.ordinal && w.indexOf(b) === 0 && y.push(a + w.replace(b, this.options.pluralSeparator)), p && y.push(a + M)), L) {
|
8119
|
+
const R = `${a}${this.options.contextSeparator}${t.context}`;
|
8120
|
+
y.push(R), u && (y.push(R + w), t.ordinal && w.indexOf(b) === 0 && y.push(R + w.replace(b, this.options.pluralSeparator)), p && y.push(R + M));
|
7781
8121
|
}
|
7782
8122
|
}
|
7783
8123
|
let _;
|
7784
8124
|
for (; _ = y.pop(); )
|
7785
|
-
this.isValidLookup(s) || (l = _, s = this.getResource(E,
|
8125
|
+
this.isValidLookup(s) || (l = _, s = this.getResource(E, f, _, t));
|
7786
8126
|
}));
|
7787
8127
|
});
|
7788
8128
|
}), {
|
@@ -7802,7 +8142,7 @@ class f1 extends w1 {
|
|
7802
8142
|
}
|
7803
8143
|
getUsedParamsDetails() {
|
7804
8144
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
7805
|
-
const t = ["defaultValue", "ordinal", "context", "replace", "lng", "lngs", "fallbackLng", "ns", "keySeparator", "nsSeparator", "returnObjects", "returnDetails", "joinArrays", "postProcess", "interpolation"], s = e.replace && !
|
8145
|
+
const t = ["defaultValue", "ordinal", "context", "replace", "lng", "lngs", "fallbackLng", "ns", "keySeparator", "nsSeparator", "returnObjects", "returnDetails", "joinArrays", "postProcess", "interpolation"], s = e.replace && !v(e.replace);
|
7806
8146
|
let o = s ? e.replace : e;
|
7807
8147
|
if (s && typeof e.count < "u" && (o.count = e.count), this.options.interpolation.defaultVariables && (o = {
|
7808
8148
|
...this.options.interpolation.defaultVariables,
|
@@ -7825,7 +8165,7 @@ class f1 extends w1 {
|
|
7825
8165
|
}
|
7826
8166
|
}
|
7827
8167
|
const L1 = (i) => i.charAt(0).toUpperCase() + i.slice(1);
|
7828
|
-
class
|
8168
|
+
class D1 {
|
7829
8169
|
constructor(e) {
|
7830
8170
|
this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = j.create("languageUtils");
|
7831
8171
|
}
|
@@ -7840,7 +8180,7 @@ class T1 {
|
|
7840
8180
|
return this.formatLanguageCode(t[0]);
|
7841
8181
|
}
|
7842
8182
|
formatLanguageCode(e) {
|
7843
|
-
if (
|
8183
|
+
if (v(e) && e.indexOf("-") > -1) {
|
7844
8184
|
if (typeof Intl < "u" && typeof Intl.getCanonicalLocales < "u")
|
7845
8185
|
try {
|
7846
8186
|
let o = Intl.getCanonicalLocales(e)[0];
|
@@ -7876,7 +8216,7 @@ class T1 {
|
|
7876
8216
|
}
|
7877
8217
|
getFallbackCodes(e, t) {
|
7878
8218
|
if (!e) return [];
|
7879
|
-
if (typeof e == "function" && (e = e(t)),
|
8219
|
+
if (typeof e == "function" && (e = e(t)), v(e) && (e = [e]), Array.isArray(e)) return e;
|
7880
8220
|
if (!t) return e.default || [];
|
7881
8221
|
let s = e[t];
|
7882
8222
|
return s || (s = e[this.getScriptPartFromCode(t)]), s || (s = e[this.formatLanguageCode(t)]), s || (s = e[this.getLanguagePartFromCode(t)]), s || (s = e.default), s || [];
|
@@ -7885,12 +8225,12 @@ class T1 {
|
|
7885
8225
|
const s = this.getFallbackCodes(t || this.options.fallbackLng || [], e), o = [], l = (c) => {
|
7886
8226
|
c && (this.isSupportedCode(c) ? o.push(c) : this.logger.warn(`rejecting language code not found in supportedLngs: ${c}`));
|
7887
8227
|
};
|
7888
|
-
return
|
8228
|
+
return v(e) && (e.indexOf("-") > -1 || e.indexOf("_") > -1) ? (this.options.load !== "languageOnly" && l(this.formatLanguageCode(e)), this.options.load !== "languageOnly" && this.options.load !== "currentOnly" && l(this.getScriptPartFromCode(e)), this.options.load !== "currentOnly" && l(this.getLanguagePartFromCode(e))) : v(e) && l(this.formatLanguageCode(e)), s.forEach((c) => {
|
7889
8229
|
o.indexOf(c) < 0 && l(this.formatLanguageCode(c));
|
7890
8230
|
}), o;
|
7891
8231
|
}
|
7892
8232
|
}
|
7893
|
-
let
|
8233
|
+
let b3 = [{
|
7894
8234
|
lngs: ["ach", "ak", "am", "arn", "br", "fil", "gun", "ln", "mfe", "mg", "mi", "oc", "pt", "pt-BR", "tg", "tl", "ti", "tr", "uz", "wa"],
|
7895
8235
|
nr: [1, 2],
|
7896
8236
|
fc: 1
|
@@ -7982,7 +8322,7 @@ let f3 = [{
|
|
7982
8322
|
lngs: ["he", "iw"],
|
7983
8323
|
nr: [1, 2, 20, 21],
|
7984
8324
|
fc: 22
|
7985
|
-
}],
|
8325
|
+
}], y3 = {
|
7986
8326
|
1: (i) => +(i > 1),
|
7987
8327
|
2: (i) => +(i != 1),
|
7988
8328
|
3: (i) => 0,
|
@@ -8006,28 +8346,28 @@ let f3 = [{
|
|
8006
8346
|
21: (i) => i % 100 == 1 ? 1 : i % 100 == 2 ? 2 : i % 100 == 3 || i % 100 == 4 ? 3 : 0,
|
8007
8347
|
22: (i) => i == 1 ? 0 : i == 2 ? 1 : (i < 0 || i > 10) && i % 10 == 0 ? 2 : 3
|
8008
8348
|
};
|
8009
|
-
const
|
8349
|
+
const _3 = ["v1", "v2", "v3"], E3 = ["v4"], G1 = {
|
8010
8350
|
zero: 0,
|
8011
8351
|
one: 1,
|
8012
8352
|
two: 2,
|
8013
8353
|
few: 3,
|
8014
8354
|
many: 4,
|
8015
8355
|
other: 5
|
8016
|
-
},
|
8356
|
+
}, V3 = () => {
|
8017
8357
|
const i = {};
|
8018
|
-
return
|
8358
|
+
return b3.forEach((e) => {
|
8019
8359
|
e.lngs.forEach((t) => {
|
8020
8360
|
i[t] = {
|
8021
8361
|
numbers: e.nr,
|
8022
|
-
plurals:
|
8362
|
+
plurals: y3[e.fc]
|
8023
8363
|
};
|
8024
8364
|
});
|
8025
8365
|
}), i;
|
8026
8366
|
};
|
8027
|
-
class
|
8367
|
+
class H3 {
|
8028
8368
|
constructor(e) {
|
8029
8369
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
8030
|
-
this.languageUtils = e, this.options = t, this.logger = j.create("pluralResolver"), (!this.options.compatibilityJSON ||
|
8370
|
+
this.languageUtils = e, this.options = t, this.logger = j.create("pluralResolver"), (!this.options.compatibilityJSON || E3.includes(this.options.compatibilityJSON)) && (typeof Intl > "u" || !Intl.PluralRules) && (this.options.compatibilityJSON = "v3", this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")), this.rules = V3(), this.pluralRulesCache = {};
|
8031
8371
|
}
|
8032
8372
|
addRule(e, t) {
|
8033
8373
|
this.rules[e] = t;
|
@@ -8070,7 +8410,7 @@ class v3 {
|
|
8070
8410
|
getSuffixes(e) {
|
8071
8411
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
8072
8412
|
const s = this.getRule(e, t);
|
8073
|
-
return s ? this.shouldUseIntlApi() ? s.resolvedOptions().pluralCategories.sort((o, l) =>
|
8413
|
+
return s ? this.shouldUseIntlApi() ? s.resolvedOptions().pluralCategories.sort((o, l) => G1[o] - G1[l]).map((o) => `${this.options.prepend}${t.ordinal ? `ordinal${this.options.prepend}` : ""}${o}`) : s.numbers.map((o) => this.getSuffix(e, o, t)) : [];
|
8074
8414
|
}
|
8075
8415
|
getSuffix(e, t) {
|
8076
8416
|
let s = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
@@ -8085,14 +8425,14 @@ class v3 {
|
|
8085
8425
|
return this.options.compatibilityJSON === "v1" ? o === 1 ? "" : typeof o == "number" ? `_plural_${o.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();
|
8086
8426
|
}
|
8087
8427
|
shouldUseIntlApi() {
|
8088
|
-
return !
|
8428
|
+
return !_3.includes(this.options.compatibilityJSON);
|
8089
8429
|
}
|
8090
8430
|
}
|
8091
|
-
const
|
8092
|
-
let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", o = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, l =
|
8093
|
-
return !l && o &&
|
8431
|
+
const T1 = function(i, e, t) {
|
8432
|
+
let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", o = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, l = m3(i, e, t);
|
8433
|
+
return !l && o && v(t) && (l = x1(i, t, s), l === void 0 && (l = x1(e, t, s))), l;
|
8094
8434
|
}, v1 = (i) => i.replace(/\$/g, "$$$$");
|
8095
|
-
class
|
8435
|
+
class I3 {
|
8096
8436
|
constructor() {
|
8097
8437
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
8098
8438
|
this.logger = j.create("interpolator"), this.options = e, this.format = e.interpolation && e.interpolation.format || ((t) => t), this.init(e);
|
@@ -8115,13 +8455,13 @@ class N3 {
|
|
8115
8455
|
unescapePrefix: h,
|
8116
8456
|
nestingPrefix: u,
|
8117
8457
|
nestingPrefixEscaped: p,
|
8118
|
-
nestingSuffix:
|
8458
|
+
nestingSuffix: L,
|
8119
8459
|
nestingSuffixEscaped: x,
|
8120
|
-
nestingOptionsSeparator:
|
8460
|
+
nestingOptionsSeparator: f,
|
8121
8461
|
maxReplaces: E,
|
8122
8462
|
alwaysFormat: y
|
8123
8463
|
} = e.interpolation;
|
8124
|
-
this.escape = t !== void 0 ? t :
|
8464
|
+
this.escape = t !== void 0 ? t : L3, this.escapeValue = s !== void 0 ? s : !0, this.useRawValueToEscape = o !== void 0 ? o : !1, this.prefix = l ? Q(l) : c || "{{", this.suffix = r ? Q(r) : d || "}}", this.formatSeparator = g || ",", this.unescapePrefix = a ? "" : h || "-", this.unescapeSuffix = this.unescapePrefix ? "" : a || "", this.nestingPrefix = u ? Q(u) : p || Q("$t("), this.nestingSuffix = L ? Q(L) : x || Q(")"), this.nestingOptionsSeparator = f || ",", this.maxReplaces = E || 1e3, this.alwaysFormat = y !== void 0 ? y : !1, this.resetRegExp();
|
8125
8465
|
}
|
8126
8466
|
reset() {
|
8127
8467
|
this.options && this.init(this.options);
|
@@ -8134,15 +8474,15 @@ class N3 {
|
|
8134
8474
|
let l, c, r;
|
8135
8475
|
const d = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, g = (p) => {
|
8136
8476
|
if (p.indexOf(this.formatSeparator) < 0) {
|
8137
|
-
const E =
|
8477
|
+
const E = T1(t, d, p, this.options.keySeparator, this.options.ignoreJSONStructure);
|
8138
8478
|
return this.alwaysFormat ? this.format(E, void 0, s, {
|
8139
8479
|
...o,
|
8140
8480
|
...t,
|
8141
8481
|
interpolationkey: p
|
8142
8482
|
}) : E;
|
8143
8483
|
}
|
8144
|
-
const
|
8145
|
-
return this.format(
|
8484
|
+
const L = p.split(this.formatSeparator), x = L.shift().trim(), f = L.join(this.formatSeparator).trim();
|
8485
|
+
return this.format(T1(t, d, x, this.options.keySeparator, this.options.ignoreJSONStructure), f, s, {
|
8146
8486
|
...o,
|
8147
8487
|
...t,
|
8148
8488
|
interpolationkey: x
|
@@ -8158,19 +8498,19 @@ class N3 {
|
|
8158
8498
|
safeValue: (p) => this.escapeValue ? v1(this.escape(p)) : v1(p)
|
8159
8499
|
}].forEach((p) => {
|
8160
8500
|
for (r = 0; l = p.regex.exec(e); ) {
|
8161
|
-
const
|
8162
|
-
if (c = g(
|
8501
|
+
const L = l[1].trim();
|
8502
|
+
if (c = g(L), c === void 0)
|
8163
8503
|
if (typeof a == "function") {
|
8164
|
-
const
|
8165
|
-
c =
|
8166
|
-
} else if (o && Object.prototype.hasOwnProperty.call(o,
|
8504
|
+
const f = a(e, l, o);
|
8505
|
+
c = v(f) ? f : "";
|
8506
|
+
} else if (o && Object.prototype.hasOwnProperty.call(o, L))
|
8167
8507
|
c = "";
|
8168
8508
|
else if (h) {
|
8169
8509
|
c = l[0];
|
8170
8510
|
continue;
|
8171
8511
|
} else
|
8172
|
-
this.logger.warn(`missed to pass in variable ${
|
8173
|
-
else !
|
8512
|
+
this.logger.warn(`missed to pass in variable ${L} for interpolating ${e}`), c = "";
|
8513
|
+
else !v(c) && !this.useRawValueToEscape && (c = O1(c));
|
8174
8514
|
const x = p.safeValue(c);
|
8175
8515
|
if (e = e.replace(l[0], x), h ? (p.regex.lastIndex += c.length, p.regex.lastIndex -= l[0].length) : p.regex.lastIndex = 0, r++, r >= this.maxReplaces)
|
8176
8516
|
break;
|
@@ -8185,8 +8525,8 @@ class N3 {
|
|
8185
8525
|
const h = d.split(new RegExp(`${a}[ ]*{`));
|
8186
8526
|
let u = `{${h[1]}`;
|
8187
8527
|
d = h[0], u = this.interpolate(u, c);
|
8188
|
-
const p = u.match(/'/g),
|
8189
|
-
(p && p.length % 2 === 0 && !
|
8528
|
+
const p = u.match(/'/g), L = u.match(/"/g);
|
8529
|
+
(p && p.length % 2 === 0 && !L || L.length % 2 !== 0) && (u = u.replace(/'/g, '"'));
|
8190
8530
|
try {
|
8191
8531
|
c = JSON.parse(u), g && (c = {
|
8192
8532
|
...g,
|
@@ -8201,14 +8541,14 @@ class N3 {
|
|
8201
8541
|
let d = [];
|
8202
8542
|
c = {
|
8203
8543
|
...s
|
8204
|
-
}, c = c.replace && !
|
8544
|
+
}, c = c.replace && !v(c.replace) ? c.replace : c, c.applyPostProcessor = !1, delete c.defaultValue;
|
8205
8545
|
let g = !1;
|
8206
8546
|
if (o[0].indexOf(this.formatSeparator) !== -1 && !/{.*}/.test(o[1])) {
|
8207
8547
|
const a = o[1].split(this.formatSeparator).map((h) => h.trim());
|
8208
8548
|
o[1] = a.shift(), d = a, g = !0;
|
8209
8549
|
}
|
8210
|
-
if (l = t(r.call(this, o[1].trim(), c), c), l && o[0] === e && !
|
8211
|
-
|
8550
|
+
if (l = t(r.call(this, o[1].trim(), c), c), l && o[0] === e && !v(l)) return l;
|
8551
|
+
v(l) || (l = O1(l)), l || (this.logger.warn(`missed to resolve ${o[1]} for nesting ${e}`), l = ""), g && (l = d.reduce((a, h) => this.format(a, h, s.lng, {
|
8212
8552
|
...s,
|
8213
8553
|
interpolationkey: o[1].trim()
|
8214
8554
|
}), l.trim())), e = e.replace(o[0], l), this.regexp.lastIndex = 0;
|
@@ -8216,7 +8556,7 @@ class N3 {
|
|
8216
8556
|
return e;
|
8217
8557
|
}
|
8218
8558
|
}
|
8219
|
-
const
|
8559
|
+
const S3 = (i) => {
|
8220
8560
|
let e = i.toLowerCase().trim();
|
8221
8561
|
const t = {};
|
8222
8562
|
if (i.indexOf("(") > -1) {
|
@@ -8247,7 +8587,7 @@ const x3 = (i) => {
|
|
8247
8587
|
return r || (r = i(u1(s), o), e[c] = r), r(t);
|
8248
8588
|
};
|
8249
8589
|
};
|
8250
|
-
class
|
8590
|
+
class O3 {
|
8251
8591
|
constructor() {
|
8252
8592
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
8253
8593
|
this.logger = j.create("formatter"), this.options = e, this.formats = {
|
@@ -8307,7 +8647,7 @@ class R3 {
|
|
8307
8647
|
const {
|
8308
8648
|
formatName: g,
|
8309
8649
|
formatOptions: a
|
8310
|
-
} =
|
8650
|
+
} = S3(d);
|
8311
8651
|
if (this.formats[g]) {
|
8312
8652
|
let h = r;
|
8313
8653
|
try {
|
@@ -8327,10 +8667,10 @@ class R3 {
|
|
8327
8667
|
}, e);
|
8328
8668
|
}
|
8329
8669
|
}
|
8330
|
-
const
|
8670
|
+
const A3 = (i, e) => {
|
8331
8671
|
i.pending[e] !== void 0 && (delete i.pending[e], i.pendingCount--);
|
8332
8672
|
};
|
8333
|
-
class
|
8673
|
+
class B3 extends f1 {
|
8334
8674
|
constructor(e, t, s) {
|
8335
8675
|
let o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
|
8336
8676
|
super(), this.backend = e, this.store = t, this.services = s, this.languageUtils = s.languageUtils, this.options = o, this.logger = j.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = o.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = o.maxRetries >= 0 ? o.maxRetries : 5, this.retryTimeout = o.retryTimeout >= 1 ? o.retryTimeout : 350, this.state = {}, this.queue = [], this.backend && this.backend.init && this.backend.init(s, o.backend, o);
|
@@ -8363,7 +8703,7 @@ class b3 extends w1 {
|
|
8363
8703
|
}), this.state[e] = t ? -1 : 2, t && s && (this.state[e] = 0);
|
8364
8704
|
const r = {};
|
8365
8705
|
this.queue.forEach((d) => {
|
8366
|
-
|
8706
|
+
f3(d.loaded, [l], c), A3(d, e), t && d.errors.push(t), d.pendingCount === 0 && !d.done && (Object.keys(d.loaded).forEach((g) => {
|
8367
8707
|
r[g] || (r[g] = {});
|
8368
8708
|
const a = d.loaded[g];
|
8369
8709
|
a.length && a.forEach((h) => {
|
@@ -8415,7 +8755,7 @@ class b3 extends w1 {
|
|
8415
8755
|
let s = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, o = arguments.length > 3 ? arguments[3] : void 0;
|
8416
8756
|
if (!this.backend)
|
8417
8757
|
return this.logger.warn("No backend was added via i18next.use. Will not load resources."), o && o();
|
8418
|
-
|
8758
|
+
v(e) && (e = this.languageUtils.toResolveHierarchy(e)), v(t) && (t = [t]);
|
8419
8759
|
const l = this.queueLoad(e, t, s, o);
|
8420
8760
|
if (!l.toLoad.length)
|
8421
8761
|
return l.pending.length || o(), null;
|
@@ -8500,7 +8840,7 @@ const K1 = () => ({
|
|
8500
8840
|
appendNamespaceToCIMode: !1,
|
8501
8841
|
overloadTranslationOptionHandler: (i) => {
|
8502
8842
|
let e = {};
|
8503
|
-
if (typeof i[1] == "object" && (e = i[1]),
|
8843
|
+
if (typeof i[1] == "object" && (e = i[1]), v(i[1]) && (e.defaultValue = i[1]), v(i[2]) && (e.tDescription = i[2]), typeof i[2] == "object" || typeof i[3] == "object") {
|
8504
8844
|
const t = i[3] || i[2];
|
8505
8845
|
Object.keys(t).forEach((s) => {
|
8506
8846
|
e[s] = t[s];
|
@@ -8521,18 +8861,18 @@ const K1 = () => ({
|
|
8521
8861
|
maxReplaces: 1e3,
|
8522
8862
|
skipOnVariables: !0
|
8523
8863
|
}
|
8524
|
-
}), P1 = (i) => (
|
8525
|
-
},
|
8864
|
+
}), P1 = (i) => (v(i.ns) && (i.ns = [i.ns]), v(i.fallbackLng) && (i.fallbackLng = [i.fallbackLng]), v(i.fallbackNS) && (i.fallbackNS = [i.fallbackNS]), i.supportedLngs && i.supportedLngs.indexOf("cimode") < 0 && (i.supportedLngs = i.supportedLngs.concat(["cimode"])), i), d1 = () => {
|
8865
|
+
}, Z3 = (i) => {
|
8526
8866
|
Object.getOwnPropertyNames(Object.getPrototypeOf(i)).forEach((t) => {
|
8527
8867
|
typeof i[t] == "function" && (i[t] = i[t].bind(i));
|
8528
8868
|
});
|
8529
8869
|
};
|
8530
|
-
class r1 extends
|
8870
|
+
class r1 extends f1 {
|
8531
8871
|
constructor() {
|
8532
8872
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0;
|
8533
8873
|
if (super(), this.options = P1(e), this.services = {}, this.logger = j, this.modules = {
|
8534
8874
|
external: []
|
8535
|
-
},
|
8875
|
+
}, Z3(this), t && !this.isInitialized && !e.isClone) {
|
8536
8876
|
if (!this.options.initImmediate)
|
8537
8877
|
return this.init(e, t), this;
|
8538
8878
|
setTimeout(() => {
|
@@ -8543,7 +8883,7 @@ class r1 extends w1 {
|
|
8543
8883
|
init() {
|
8544
8884
|
var e = this;
|
8545
8885
|
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, s = arguments.length > 1 ? arguments[1] : void 0;
|
8546
|
-
this.isInitializing = !0, typeof t == "function" && (s = t, t = {}), !t.defaultNS && t.defaultNS !== !1 && t.ns && (
|
8886
|
+
this.isInitializing = !0, typeof t == "function" && (s = t, t = {}), !t.defaultNS && t.defaultNS !== !1 && t.ns && (v(t.ns) ? t.defaultNS = t.ns : t.ns.indexOf("translation") < 0 && (t.defaultNS = t.ns[0]));
|
8547
8887
|
const o = K1();
|
8548
8888
|
this.options = {
|
8549
8889
|
...o,
|
@@ -8557,23 +8897,23 @@ class r1 extends w1 {
|
|
8557
8897
|
if (!this.options.isClone) {
|
8558
8898
|
this.modules.logger ? j.init(l(this.modules.logger), this.options) : j.init(null, this.options);
|
8559
8899
|
let a;
|
8560
|
-
this.modules.formatter ? a = this.modules.formatter : typeof Intl < "u" && (a =
|
8561
|
-
const h = new
|
8900
|
+
this.modules.formatter ? a = this.modules.formatter : typeof Intl < "u" && (a = O3);
|
8901
|
+
const h = new D1(this.options);
|
8562
8902
|
this.store = new W1(this.options.resources, this.options);
|
8563
8903
|
const u = this.services;
|
8564
|
-
u.logger = j, u.resourceStore = this.store, u.languageUtils = h, u.pluralResolver = new
|
8904
|
+
u.logger = j, u.resourceStore = this.store, u.languageUtils = h, u.pluralResolver = new H3(h, {
|
8565
8905
|
prepend: this.options.pluralSeparator,
|
8566
8906
|
compatibilityJSON: this.options.compatibilityJSON,
|
8567
8907
|
simplifyPluralSuffix: this.options.simplifyPluralSuffix
|
8568
|
-
}), a && (!this.options.interpolation.format || this.options.interpolation.format === o.interpolation.format) && (u.formatter = l(a), u.formatter.init(u, this.options), this.options.interpolation.format = u.formatter.format.bind(u.formatter)), u.interpolator = new
|
8908
|
+
}), a && (!this.options.interpolation.format || this.options.interpolation.format === o.interpolation.format) && (u.formatter = l(a), u.formatter.init(u, this.options), this.options.interpolation.format = u.formatter.format.bind(u.formatter)), u.interpolator = new I3(this.options), u.utils = {
|
8569
8909
|
hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
|
8570
|
-
}, u.backendConnector = new
|
8571
|
-
for (var
|
8572
|
-
x[
|
8910
|
+
}, u.backendConnector = new B3(l(this.modules.backend), u.resourceStore, u, this.options), u.backendConnector.on("*", function(p) {
|
8911
|
+
for (var L = arguments.length, x = new Array(L > 1 ? L - 1 : 0), f = 1; f < L; f++)
|
8912
|
+
x[f - 1] = arguments[f];
|
8573
8913
|
e.emit(p, ...x);
|
8574
|
-
}), this.modules.languageDetector && (u.languageDetector = l(this.modules.languageDetector), u.languageDetector.init && u.languageDetector.init(u, this.options.detection, this.options)), this.modules.i18nFormat && (u.i18nFormat = l(this.modules.i18nFormat), u.i18nFormat.init && u.i18nFormat.init(this)), this.translator = new
|
8575
|
-
for (var
|
8576
|
-
x[
|
8914
|
+
}), this.modules.languageDetector && (u.languageDetector = l(this.modules.languageDetector), u.languageDetector.init && u.languageDetector.init(u, this.options.detection, this.options)), this.modules.i18nFormat && (u.i18nFormat = l(this.modules.i18nFormat), u.i18nFormat.init && u.i18nFormat.init(this)), this.translator = new w1(this.services, this.options), this.translator.on("*", function(p) {
|
8915
|
+
for (var L = arguments.length, x = new Array(L > 1 ? L - 1 : 0), f = 1; f < L; f++)
|
8916
|
+
x[f - 1] = arguments[f];
|
8577
8917
|
e.emit(p, ...x);
|
8578
8918
|
}), this.modules.external.forEach((p) => {
|
8579
8919
|
p.init && p.init(this);
|
@@ -8603,7 +8943,7 @@ class r1 extends w1 {
|
|
8603
8943
|
}
|
8604
8944
|
loadResources(e) {
|
8605
8945
|
let s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : d1;
|
8606
|
-
const o =
|
8946
|
+
const o = v(e) ? e : this.language;
|
8607
8947
|
if (typeof e == "function" && (s = e), !this.options.resources || this.options.partialBundledLanguages) {
|
8608
8948
|
if (o && o.toLowerCase() === "cimode" && (!this.options.preload || this.options.preload.length === 0)) return s();
|
8609
8949
|
const l = [], c = (r) => {
|
@@ -8654,7 +8994,7 @@ class r1 extends w1 {
|
|
8654
8994
|
});
|
8655
8995
|
}, r = (d) => {
|
8656
8996
|
!e && !d && this.services.languageDetector && (d = []);
|
8657
|
-
const g =
|
8997
|
+
const g = v(d) ? d : this.services.languageUtils.getBestMatchFromCodes(d);
|
8658
8998
|
g && (this.language || l(g), this.translator.language || this.translator.changeLanguage(g), this.services.languageDetector && this.services.languageDetector.cacheUserLanguage && this.services.languageDetector.cacheUserLanguage(g)), this.loadResources(g, (a) => {
|
8659
8999
|
c(a, g);
|
8660
9000
|
});
|
@@ -8676,9 +9016,9 @@ class r1 extends w1 {
|
|
8676
9016
|
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);
|
8677
9017
|
const u = o.options.keySeparator || ".";
|
8678
9018
|
let p;
|
8679
|
-
return d.keyPrefix && Array.isArray(c) ? p = c.map((
|
9019
|
+
return d.keyPrefix && Array.isArray(c) ? p = c.map((L) => `${d.keyPrefix}${u}${L}`) : p = d.keyPrefix ? `${d.keyPrefix}${u}${c}` : c, o.t(p, d);
|
8680
9020
|
};
|
8681
|
-
return
|
9021
|
+
return v(e) ? l.lng = e : l.lngs = e, l.ns = t, l.keyPrefix = s, l;
|
8682
9022
|
}
|
8683
9023
|
t() {
|
8684
9024
|
return this.translator && this.translator.translate(...arguments);
|
@@ -8709,7 +9049,7 @@ class r1 extends w1 {
|
|
8709
9049
|
}
|
8710
9050
|
loadNamespaces(e, t) {
|
8711
9051
|
const s = s1();
|
8712
|
-
return this.options.ns ? (
|
9052
|
+
return this.options.ns ? (v(e) && (e = [e]), e.forEach((o) => {
|
8713
9053
|
this.options.ns.indexOf(o) < 0 && this.options.ns.push(o);
|
8714
9054
|
}), this.loadResources((o) => {
|
8715
9055
|
s.resolve(), t && t(o);
|
@@ -8717,7 +9057,7 @@ class r1 extends w1 {
|
|
8717
9057
|
}
|
8718
9058
|
loadLanguages(e, t) {
|
8719
9059
|
const s = s1();
|
8720
|
-
|
9060
|
+
v(e) && (e = [e]);
|
8721
9061
|
const o = this.options.preload || [], l = e.filter((c) => o.indexOf(c) < 0 && this.services.languageUtils.isSupportedCode(c));
|
8722
9062
|
return l.length ? (this.options.preload = o.concat(l), this.loadResources((c) => {
|
8723
9063
|
s.resolve(), t && t(c);
|
@@ -8725,7 +9065,7 @@ class r1 extends w1 {
|
|
8725
9065
|
}
|
8726
9066
|
dir(e) {
|
8727
9067
|
if (e || (e = this.resolvedLanguage || (this.languages && this.languages.length > 0 ? this.languages[0] : this.language)), !e) return "rtl";
|
8728
|
-
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
|
9068
|
+
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 D1(K1());
|
8729
9069
|
return t.indexOf(s.getLanguagePartFromCode(e)) > -1 || e.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr";
|
8730
9070
|
}
|
8731
9071
|
static createInstance() {
|
@@ -8747,7 +9087,7 @@ class r1 extends w1 {
|
|
8747
9087
|
...this.services
|
8748
9088
|
}, l.services.utils = {
|
8749
9089
|
hasLoadedNamespace: l.hasLoadedNamespace.bind(l)
|
8750
|
-
}, s && (l.store = new W1(this.store.data, o), l.services.resourceStore = l.store), l.translator = new
|
9090
|
+
}, s && (l.store = new W1(this.store.data, o), l.services.resourceStore = l.store), l.translator = new w1(l.services, o), l.translator.on("*", function(r) {
|
8751
9091
|
for (var d = arguments.length, g = new Array(d > 1 ? d - 1 : 0), a = 1; a < d; a++)
|
8752
9092
|
g[a - 1] = arguments[a];
|
8753
9093
|
l.emit(r, ...g);
|
@@ -8765,34 +9105,34 @@ class r1 extends w1 {
|
|
8765
9105
|
};
|
8766
9106
|
}
|
8767
9107
|
}
|
8768
|
-
const
|
8769
|
-
|
8770
|
-
|
8771
|
-
|
8772
|
-
|
8773
|
-
|
8774
|
-
|
8775
|
-
|
8776
|
-
|
8777
|
-
|
8778
|
-
|
8779
|
-
|
8780
|
-
|
8781
|
-
|
8782
|
-
|
8783
|
-
|
8784
|
-
function
|
9108
|
+
const H = r1.createInstance();
|
9109
|
+
H.createInstance = r1.createInstance;
|
9110
|
+
H.createInstance;
|
9111
|
+
H.dir;
|
9112
|
+
H.init;
|
9113
|
+
H.loadResources;
|
9114
|
+
H.reloadResources;
|
9115
|
+
H.use;
|
9116
|
+
H.changeLanguage;
|
9117
|
+
H.getFixedT;
|
9118
|
+
H.t;
|
9119
|
+
H.exists;
|
9120
|
+
H.setDefaultNamespace;
|
9121
|
+
H.hasLoadedNamespace;
|
9122
|
+
H.loadNamespaces;
|
9123
|
+
H.loadLanguages;
|
9124
|
+
function W3() {
|
8785
9125
|
if (console && console.warn) {
|
8786
9126
|
for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
|
8787
9127
|
e[t] = arguments[t];
|
8788
9128
|
U(e[0]) && (e[0] = `react-i18next:: ${e[0]}`), console.warn(...e);
|
8789
9129
|
}
|
8790
9130
|
}
|
8791
|
-
const
|
8792
|
-
function
|
9131
|
+
const Y1 = {};
|
9132
|
+
function M1() {
|
8793
9133
|
for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
|
8794
9134
|
e[t] = arguments[t];
|
8795
|
-
U(e[0]) &&
|
9135
|
+
U(e[0]) && Y1[e[0]] || (U(e[0]) && (Y1[e[0]] = /* @__PURE__ */ new Date()), W3(...e));
|
8796
9136
|
}
|
8797
9137
|
const te = (i, e) => () => {
|
8798
9138
|
if (i.isInitialized)
|
@@ -8805,13 +9145,13 @@ const te = (i, e) => () => {
|
|
8805
9145
|
};
|
8806
9146
|
i.on("initialized", t);
|
8807
9147
|
}
|
8808
|
-
},
|
9148
|
+
}, F1 = (i, e, t) => {
|
8809
9149
|
i.loadNamespaces(e, te(i, t));
|
8810
|
-
},
|
9150
|
+
}, $1 = (i, e, t, s) => {
|
8811
9151
|
U(t) && (t = [t]), t.forEach((o) => {
|
8812
9152
|
i.options.ns.indexOf(o) < 0 && i.options.ns.push(o);
|
8813
9153
|
}), i.loadLanguages(e, te(i, s));
|
8814
|
-
},
|
9154
|
+
}, j3 = function(i, e) {
|
8815
9155
|
let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
8816
9156
|
const s = e.languages[0], o = e.options ? e.options.fallbackLng : !1, l = e.languages[e.languages.length - 1];
|
8817
9157
|
if (s.toLowerCase() === "cimode") return !0;
|
@@ -8820,15 +9160,15 @@ const te = (i, e) => () => {
|
|
8820
9160
|
return g === -1 || g === 2;
|
8821
9161
|
};
|
8822
9162
|
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) && (!o || c(l, i)));
|
8823
|
-
},
|
9163
|
+
}, D3 = function(i, e) {
|
8824
9164
|
let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
8825
|
-
return !e.languages || !e.languages.length ? (
|
9165
|
+
return !e.languages || !e.languages.length ? (M1("i18n.languages were undefined or empty", e.languages), !0) : e.options.ignoreJSONStructure !== void 0 ? e.hasLoadedNamespace(i, {
|
8826
9166
|
lng: t.lng,
|
8827
9167
|
precheck: (o, l) => {
|
8828
9168
|
if (t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && o.services.backendConnector.backend && o.isLanguageChangingTo && !l(o.isLanguageChangingTo, i)) return !1;
|
8829
9169
|
}
|
8830
|
-
}) :
|
8831
|
-
}, U = (i) => typeof i == "string",
|
9170
|
+
}) : j3(i, e, t);
|
9171
|
+
}, U = (i) => typeof i == "string", G3 = (i) => typeof i == "object" && i !== null, T3 = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, K3 = {
|
8832
9172
|
"&": "&",
|
8833
9173
|
"&": "&",
|
8834
9174
|
"<": "<",
|
@@ -8849,8 +9189,8 @@ const te = (i, e) => () => {
|
|
8849
9189
|
"…": "…",
|
8850
9190
|
"/": "/",
|
8851
9191
|
"/": "/"
|
8852
|
-
},
|
8853
|
-
let
|
9192
|
+
}, P3 = (i) => K3[i], Y3 = (i) => i.replace(T3, P3);
|
9193
|
+
let R1 = {
|
8854
9194
|
bindI18n: "languageChanged",
|
8855
9195
|
bindI18nStore: "",
|
8856
9196
|
transEmptyNodeValue: "",
|
@@ -8858,25 +9198,25 @@ let M1 = {
|
|
8858
9198
|
transWrapTextNodes: "",
|
8859
9199
|
transKeepBasicHtmlNodesFor: ["br", "strong", "i", "p"],
|
8860
9200
|
useSuspense: !0,
|
8861
|
-
unescape:
|
9201
|
+
unescape: Y3
|
8862
9202
|
};
|
8863
|
-
const
|
9203
|
+
const F3 = function() {
|
8864
9204
|
let i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
8865
|
-
|
8866
|
-
...
|
9205
|
+
R1 = {
|
9206
|
+
...R1,
|
8867
9207
|
...i
|
8868
9208
|
};
|
8869
|
-
},
|
9209
|
+
}, $3 = () => R1;
|
8870
9210
|
let ie;
|
8871
|
-
const
|
9211
|
+
const U3 = (i) => {
|
8872
9212
|
ie = i;
|
8873
|
-
},
|
9213
|
+
}, z3 = () => ie, J3 = {
|
8874
9214
|
type: "3rdParty",
|
8875
9215
|
init(i) {
|
8876
|
-
|
9216
|
+
F3(i.options.react), U3(i);
|
8877
9217
|
}
|
8878
|
-
},
|
8879
|
-
class
|
9218
|
+
}, Q3 = e1();
|
9219
|
+
class q3 {
|
8880
9220
|
constructor() {
|
8881
9221
|
E1(this, "getUsedNamespaces", () => Object.keys(this.usedNamespaces));
|
8882
9222
|
this.usedNamespaces = {};
|
@@ -8887,27 +9227,27 @@ class G3 {
|
|
8887
9227
|
});
|
8888
9228
|
}
|
8889
9229
|
}
|
8890
|
-
const
|
9230
|
+
const X3 = (i, e) => {
|
8891
9231
|
const t = l1();
|
8892
9232
|
return A(() => {
|
8893
9233
|
t.current = i;
|
8894
9234
|
}, [i, e]), t.current;
|
8895
|
-
}, se = (i, e, t, s) => i.getFixedT(e, t, s),
|
9235
|
+
}, se = (i, e, t, s) => i.getFixedT(e, t, s), e0 = (i, e, t, s) => W(se(i, e, t, s), [i, e, t, s]), t0 = function(i) {
|
8896
9236
|
let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
8897
9237
|
const {
|
8898
9238
|
i18n: t
|
8899
9239
|
} = e, {
|
8900
9240
|
i18n: s,
|
8901
9241
|
defaultNS: o
|
8902
|
-
} = z(
|
8903
|
-
if (l && !l.reportNamespaces && (l.reportNamespaces = new
|
8904
|
-
|
8905
|
-
const
|
8906
|
-
return
|
9242
|
+
} = z(Q3) || {}, l = t || s || z3();
|
9243
|
+
if (l && !l.reportNamespaces && (l.reportNamespaces = new q3()), !l) {
|
9244
|
+
M1("You will need to pass in an i18next instance by using initReactI18next");
|
9245
|
+
const w = (b, R) => U(R) ? R : G3(R) && U(R.defaultValue) ? R.defaultValue : Array.isArray(b) ? b[b.length - 1] : b, M = [w, {}, !1];
|
9246
|
+
return M.t = w, M.i18n = {}, M.ready = !1, M;
|
8907
9247
|
}
|
8908
|
-
l.options.react && l.options.react.wait !== void 0 &&
|
9248
|
+
l.options.react && l.options.react.wait !== void 0 && M1("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
|
8909
9249
|
const c = {
|
8910
|
-
|
9250
|
+
...$3(),
|
8911
9251
|
...l.options.react,
|
8912
9252
|
...e
|
8913
9253
|
}, {
|
@@ -8916,60 +9256,60 @@ const K3 = (i, e) => {
|
|
8916
9256
|
} = c;
|
8917
9257
|
let g = i;
|
8918
9258
|
g = U(g) ? [g] : g || ["translation"], l.reportNamespaces.addUsedNamespaces && l.reportNamespaces.addUsedNamespaces(g);
|
8919
|
-
const a = (l.isInitialized || l.initializedStoreOnce) && g.every((
|
8920
|
-
let
|
8921
|
-
e.lng && (
|
8922
|
-
const E =
|
9259
|
+
const a = (l.isInitialized || l.initializedStoreOnce) && g.every((w) => D3(w, l, c)), h = e0(l, e.lng || null, c.nsMode === "fallback" ? g : g[0], d), u = () => h, p = () => se(l, e.lng || null, c.nsMode === "fallback" ? g : g[0], d), [L, x] = S(u);
|
9260
|
+
let f = g.join();
|
9261
|
+
e.lng && (f = `${e.lng}${f}`);
|
9262
|
+
const E = X3(f), y = l1(!0);
|
8923
9263
|
A(() => {
|
8924
9264
|
const {
|
8925
|
-
bindI18n:
|
8926
|
-
bindI18nStore:
|
9265
|
+
bindI18n: w,
|
9266
|
+
bindI18nStore: M
|
8927
9267
|
} = c;
|
8928
|
-
y.current = !0, !a && !r && (e.lng ?
|
9268
|
+
y.current = !0, !a && !r && (e.lng ? $1(l, e.lng, g, () => {
|
8929
9269
|
y.current && x(p);
|
8930
|
-
}) :
|
9270
|
+
}) : F1(l, g, () => {
|
8931
9271
|
y.current && x(p);
|
8932
|
-
})), a && E && E !==
|
9272
|
+
})), a && E && E !== f && y.current && x(p);
|
8933
9273
|
const b = () => {
|
8934
9274
|
y.current && x(p);
|
8935
9275
|
};
|
8936
|
-
return
|
8937
|
-
y.current = !1,
|
9276
|
+
return w && l && l.on(w, b), M && l && l.store.on(M, b), () => {
|
9277
|
+
y.current = !1, w && l && w.split(" ").forEach((R) => l.off(R, b)), M && l && M.split(" ").forEach((R) => l.store.off(R, b));
|
8938
9278
|
};
|
8939
|
-
}, [l,
|
9279
|
+
}, [l, f]), A(() => {
|
8940
9280
|
y.current && a && x(u);
|
8941
9281
|
}, [l, d, a]);
|
8942
|
-
const _ = [
|
8943
|
-
if (_.t =
|
8944
|
-
throw new Promise((
|
8945
|
-
e.lng ?
|
9282
|
+
const _ = [L, l, a];
|
9283
|
+
if (_.t = L, _.i18n = l, _.ready = a, a || !a && !r) return _;
|
9284
|
+
throw new Promise((w) => {
|
9285
|
+
e.lng ? $1(l, e.lng, g, () => w()) : F1(l, g, () => w());
|
8946
9286
|
});
|
8947
|
-
},
|
8948
|
-
placeholder:
|
8949
|
-
},
|
8950
|
-
placeholder:
|
9287
|
+
}, i0 = "Country", s0 = {
|
9288
|
+
placeholder: i0
|
9289
|
+
}, o0 = "Страна", n0 = {
|
9290
|
+
placeholder: o0
|
8951
9291
|
};
|
8952
|
-
|
9292
|
+
H.use(J3).init({
|
8953
9293
|
defaultNS: "common",
|
8954
9294
|
lng: "en",
|
8955
9295
|
resources: {
|
8956
9296
|
en: {
|
8957
|
-
common:
|
9297
|
+
common: s0
|
8958
9298
|
},
|
8959
9299
|
ru: {
|
8960
|
-
common:
|
9300
|
+
common: n0
|
8961
9301
|
}
|
8962
9302
|
}
|
8963
9303
|
});
|
8964
|
-
const
|
9304
|
+
const C0 = b1(
|
8965
9305
|
({ width: i, selectedCity: e, setSelectedCity: t, onChange: s, value: o, id: l, disabled: c }, r) => {
|
8966
|
-
const [d, g] = S([]), [a, h] = S([]), [u, p] = S(!1), { locale:
|
9306
|
+
const [d, g] = S([]), [a, h] = S([]), [u, p] = S(!1), { locale: L, axiosPeople: x } = z(ce);
|
8967
9307
|
if (!x)
|
8968
9308
|
throw new Error(
|
8969
9309
|
`CountrySelect requires "axiosPeople" to fetch counties.
|
8970
9310
|
Please provide it via SNMTUiContext.`
|
8971
9311
|
);
|
8972
|
-
const { t:
|
9312
|
+
const { t: f } = t0("common", { lng: L }), E = W(async () => {
|
8973
9313
|
p(!0);
|
8974
9314
|
try {
|
8975
9315
|
const _ = await x.post("v1/countries/search");
|
@@ -8984,21 +9324,21 @@ const si = b1(
|
|
8984
9324
|
E();
|
8985
9325
|
}, []), A(() => {
|
8986
9326
|
if (e) {
|
8987
|
-
const _ = e.split("-")[1],
|
8988
|
-
(
|
9327
|
+
const _ = e.split("-")[1], w = a.filter(
|
9328
|
+
(M) => M.name.includes(_)
|
8989
9329
|
);
|
8990
|
-
if (
|
8991
|
-
const
|
9330
|
+
if (w.length) {
|
9331
|
+
const M = w.map((b) => ({
|
8992
9332
|
label: b.name,
|
8993
9333
|
value: b.name
|
8994
9334
|
}));
|
8995
|
-
s(
|
9335
|
+
s(M[0].value);
|
8996
9336
|
}
|
8997
9337
|
}
|
8998
9338
|
}, [e, a, s]), A(() => {
|
8999
|
-
const _ = a.map((
|
9000
|
-
label:
|
9001
|
-
value:
|
9339
|
+
const _ = a.map((w) => ({
|
9340
|
+
label: w.name,
|
9341
|
+
value: w.name
|
9002
9342
|
}));
|
9003
9343
|
g(_);
|
9004
9344
|
}, [a]);
|
@@ -9006,11 +9346,11 @@ const si = b1(
|
|
9006
9346
|
_ === null ? (s(""), t && t("")) : (s(_), t && t(""));
|
9007
9347
|
};
|
9008
9348
|
return /* @__PURE__ */ n("div", { className: "snmt-country-select", children: /* @__PURE__ */ n(
|
9009
|
-
|
9349
|
+
u3,
|
9010
9350
|
{
|
9011
9351
|
id: l,
|
9012
9352
|
width: i,
|
9013
|
-
placeholder:
|
9353
|
+
placeholder: f("placeholder"),
|
9014
9354
|
value: o,
|
9015
9355
|
ref: r,
|
9016
9356
|
onChange: y,
|
@@ -9022,5 +9362,5 @@ const si = b1(
|
|
9022
9362
|
}
|
9023
9363
|
);
|
9024
9364
|
export {
|
9025
|
-
|
9365
|
+
C0 as CountrySelect
|
9026
9366
|
};
|