@snmt-react-ui/country-select 2.8.20 → 2.8.22
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 +1139 -1046
- package/dist/index.css +1 -1
- package/package.json +3 -3
package/dist/country-select.js
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
1
|
+
var u2 = Object.defineProperty;
|
|
2
|
+
var p2 = (i, e, t) => e in i ? u2(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t;
|
|
3
|
+
var O1 = (i, e, t) => p2(i, typeof e != "symbol" ? e + "" : e, t);
|
|
4
4
|
import "./index.css";
|
|
5
|
-
import { jsx as r, Fragment as U, jsxs as
|
|
6
|
-
import { SNMTUiContext as
|
|
7
|
-
import { Select as
|
|
8
|
-
import { forwardRef as
|
|
9
|
-
var
|
|
10
|
-
function
|
|
5
|
+
import { jsx as r, Fragment as U, jsxs as C } from "react/jsx-runtime";
|
|
6
|
+
import { SNMTUiContext as f2 } from "@snmt-react-ui/core";
|
|
7
|
+
import { Select as m2, Tag as w2, Flex as L2, Checkbox as k2, Avatar as v2, Typography as L1, Popover as N2 } from "antd";
|
|
8
|
+
import { forwardRef as i1, useState as I, useRef as $, useEffect as V, useCallback as K, useContext as Q, createContext as q, useImperativeHandle as k1 } from "react";
|
|
9
|
+
var R2 = Object.defineProperty, x2 = (i, e, t) => e in i ? R2(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, _2 = (i, e, t) => x2(i, e + "", t), M2 = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
10
|
+
function b2() {
|
|
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
|
z(e[0]) && (e[0] = `react-i18next:: ${e[0]}`), console.warn(...e);
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
|
-
const
|
|
18
|
-
function
|
|
17
|
+
const G1 = {};
|
|
18
|
+
function M1() {
|
|
19
19
|
for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
|
|
20
20
|
e[t] = arguments[t];
|
|
21
|
-
z(e[0]) &&
|
|
21
|
+
z(e[0]) && G1[e[0]] || (z(e[0]) && (G1[e[0]] = /* @__PURE__ */ new Date()), b2(...e));
|
|
22
22
|
}
|
|
23
|
-
const
|
|
23
|
+
const e2 = (i, e) => () => {
|
|
24
24
|
if (i.isInitialized)
|
|
25
25
|
e();
|
|
26
26
|
else {
|
|
@@ -31,13 +31,13 @@ const q1 = (i, e) => () => {
|
|
|
31
31
|
};
|
|
32
32
|
i.on("initialized", t);
|
|
33
33
|
}
|
|
34
|
-
},
|
|
35
|
-
i.loadNamespaces(e,
|
|
34
|
+
}, Z1 = (i, e, t) => {
|
|
35
|
+
i.loadNamespaces(e, e2(i, t));
|
|
36
36
|
}, S1 = (i, e, t, n) => {
|
|
37
37
|
z(t) && (t = [t]), t.forEach((s) => {
|
|
38
38
|
i.options.ns.indexOf(s) < 0 && i.options.ns.push(s);
|
|
39
|
-
}), i.loadLanguages(e,
|
|
40
|
-
},
|
|
39
|
+
}), i.loadLanguages(e, e2(i, n));
|
|
40
|
+
}, y2 = function(i, e) {
|
|
41
41
|
let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
42
42
|
const n = e.languages[0], s = e.options ? e.options.fallbackLng : !1, o = e.languages[e.languages.length - 1];
|
|
43
43
|
if (n.toLowerCase() === "cimode") return !0;
|
|
@@ -46,15 +46,15 @@ const q1 = (i, e) => () => {
|
|
|
46
46
|
return a === -1 || a === 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(n, i) || !e.services.backendConnector.backend || e.options.resources && !e.options.partialBundledLanguages || c(n, i) && (!s || c(o, i)));
|
|
49
|
-
},
|
|
49
|
+
}, E2 = function(i, e) {
|
|
50
50
|
let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
51
|
-
return !e.languages || !e.languages.length ? (
|
|
51
|
+
return !e.languages || !e.languages.length ? (M1("i18n.languages were undefined or empty", e.languages), !0) : e.options.ignoreJSONStructure !== void 0 ? e.hasLoadedNamespace(i, {
|
|
52
52
|
lng: t.lng,
|
|
53
53
|
precheck: (n, s) => {
|
|
54
54
|
if (t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && n.services.backendConnector.backend && n.isLanguageChangingTo && !s(n.isLanguageChangingTo, i)) return !1;
|
|
55
55
|
}
|
|
56
|
-
}) :
|
|
57
|
-
}, z = (i) => typeof i == "string",
|
|
56
|
+
}) : y2(i, e, t);
|
|
57
|
+
}, z = (i) => typeof i == "string", H2 = (i) => typeof i == "object" && i !== null, A2 = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, I2 = {
|
|
58
58
|
"&": "&",
|
|
59
59
|
"&": "&",
|
|
60
60
|
"<": "<",
|
|
@@ -75,8 +75,8 @@ const q1 = (i, e) => () => {
|
|
|
75
75
|
"…": "…",
|
|
76
76
|
"/": "/",
|
|
77
77
|
"/": "/"
|
|
78
|
-
}, V2 = (i) =>
|
|
79
|
-
let
|
|
78
|
+
}, V2 = (i) => I2[i], O2 = (i) => i.replace(A2, V2);
|
|
79
|
+
let G2 = {
|
|
80
80
|
bindI18n: "languageChanged",
|
|
81
81
|
bindI18nStore: "",
|
|
82
82
|
transEmptyNodeValue: "",
|
|
@@ -84,14 +84,14 @@ let I2 = {
|
|
|
84
84
|
transWrapTextNodes: "",
|
|
85
85
|
transKeepBasicHtmlNodesFor: ["br", "strong", "i", "p"],
|
|
86
86
|
useSuspense: !0,
|
|
87
|
-
unescape:
|
|
87
|
+
unescape: O2
|
|
88
88
|
};
|
|
89
|
-
const Z2 = () =>
|
|
90
|
-
let
|
|
91
|
-
const
|
|
92
|
-
class
|
|
89
|
+
const Z2 = () => G2;
|
|
90
|
+
let S2;
|
|
91
|
+
const T2 = () => S2, D2 = q();
|
|
92
|
+
class K2 {
|
|
93
93
|
constructor() {
|
|
94
|
-
|
|
94
|
+
_2(this, "getUsedNamespaces", () => Object.keys(this.usedNamespaces)), this.usedNamespaces = {};
|
|
95
95
|
}
|
|
96
96
|
addUsedNamespaces(e) {
|
|
97
97
|
e.forEach((t) => {
|
|
@@ -99,25 +99,25 @@ class D2 {
|
|
|
99
99
|
});
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
|
-
const
|
|
103
|
-
const t =
|
|
104
|
-
return
|
|
102
|
+
const B2 = (i, e) => {
|
|
103
|
+
const t = $();
|
|
104
|
+
return V(() => {
|
|
105
105
|
t.current = i;
|
|
106
106
|
}, [i, e]), t.current;
|
|
107
|
-
},
|
|
107
|
+
}, t2 = (i, e, t, n) => i.getFixedT(e, t, n), Y2 = (i, e, t, n) => K(t2(i, e, t, n), [i, e, t, n]), P2 = function(i) {
|
|
108
108
|
let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
109
109
|
const {
|
|
110
110
|
i18n: t
|
|
111
111
|
} = e, {
|
|
112
112
|
i18n: n,
|
|
113
113
|
defaultNS: s
|
|
114
|
-
} = Q(
|
|
115
|
-
if (o && !o.reportNamespaces && (o.reportNamespaces = new
|
|
116
|
-
|
|
117
|
-
const
|
|
118
|
-
return M.t =
|
|
114
|
+
} = Q(D2) || {}, o = t || n || T2();
|
|
115
|
+
if (o && !o.reportNamespaces && (o.reportNamespaces = new K2()), !o) {
|
|
116
|
+
M1("You will need to pass in an i18next instance by using initReactI18next");
|
|
117
|
+
const w = (x, _) => z(_) ? _ : H2(_) && z(_.defaultValue) ? _.defaultValue : Array.isArray(x) ? x[x.length - 1] : x, M = [w, {}, !1];
|
|
118
|
+
return M.t = w, M.i18n = {}, M.ready = !1, M;
|
|
119
119
|
}
|
|
120
|
-
o.options.react && o.options.react.wait !== void 0 &&
|
|
120
|
+
o.options.react && o.options.react.wait !== void 0 && M1("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
|
|
121
121
|
const c = {
|
|
122
122
|
...Z2(),
|
|
123
123
|
...o.options.react,
|
|
@@ -128,35 +128,35 @@ const T2 = (i, e) => {
|
|
|
128
128
|
} = c;
|
|
129
129
|
let a = i;
|
|
130
130
|
a = z(a) ? [a] : a || ["translation"], o.reportNamespaces.addUsedNamespaces && o.reportNamespaces.addUsedNamespaces(a);
|
|
131
|
-
const h = (o.isInitialized || o.initializedStoreOnce) && a.every((
|
|
131
|
+
const h = (o.isInitialized || o.initializedStoreOnce) && a.every((w) => E2(w, o, c)), u = Y2(o, e.lng || null, c.nsMode === "fallback" ? a : a[0], l), g = () => u, p = () => t2(o, e.lng || null, c.nsMode === "fallback" ? a : a[0], l), [m, v] = I(g);
|
|
132
132
|
let f = a.join();
|
|
133
133
|
e.lng && (f = `${e.lng}${f}`);
|
|
134
|
-
const
|
|
135
|
-
|
|
134
|
+
const b = B2(f), y = $(!0);
|
|
135
|
+
V(() => {
|
|
136
136
|
const {
|
|
137
|
-
bindI18n:
|
|
137
|
+
bindI18n: w,
|
|
138
138
|
bindI18nStore: M
|
|
139
139
|
} = c;
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
}) :
|
|
143
|
-
|
|
144
|
-
})), h &&
|
|
145
|
-
const
|
|
146
|
-
|
|
140
|
+
y.current = !0, !h && !d && (e.lng ? S1(o, e.lng, a, () => {
|
|
141
|
+
y.current && v(p);
|
|
142
|
+
}) : Z1(o, a, () => {
|
|
143
|
+
y.current && v(p);
|
|
144
|
+
})), h && b && b !== f && y.current && v(p);
|
|
145
|
+
const x = () => {
|
|
146
|
+
y.current && v(p);
|
|
147
147
|
};
|
|
148
|
-
return
|
|
149
|
-
|
|
148
|
+
return w && o && o.on(w, x), M && o && o.store.on(M, x), () => {
|
|
149
|
+
y.current = !1, w && o && w.split(" ").forEach((_) => o.off(_, x)), M && o && M.split(" ").forEach((_) => o.store.off(_, x));
|
|
150
150
|
};
|
|
151
|
-
}, [o, f]),
|
|
152
|
-
|
|
151
|
+
}, [o, f]), V(() => {
|
|
152
|
+
y.current && h && v(g);
|
|
153
153
|
}, [o, l, h]);
|
|
154
|
-
const
|
|
155
|
-
if (
|
|
156
|
-
throw new Promise((
|
|
157
|
-
e.lng ? S1(o, e.lng, a, () =>
|
|
154
|
+
const H = [m, o, h];
|
|
155
|
+
if (H.t = m, H.i18n = o, H.ready = h, h || !h && !d) return H;
|
|
156
|
+
throw new Promise((w) => {
|
|
157
|
+
e.lng ? S1(o, e.lng, a, () => w()) : Z1(o, a, () => w());
|
|
158
158
|
});
|
|
159
|
-
},
|
|
159
|
+
}, o1 = ({
|
|
160
160
|
children: i,
|
|
161
161
|
direction: e = "row",
|
|
162
162
|
flexWrap: t = "nowrap",
|
|
@@ -166,7 +166,7 @@ const T2 = (i, e) => {
|
|
|
166
166
|
gap: c,
|
|
167
167
|
padding: d
|
|
168
168
|
}) => /* @__PURE__ */ r(
|
|
169
|
-
|
|
169
|
+
L2,
|
|
170
170
|
{
|
|
171
171
|
className: `snmt-flex${t === "inherit" ? " inherit" : ""}`,
|
|
172
172
|
vertical: e === "column",
|
|
@@ -178,32 +178,118 @@ const T2 = (i, e) => {
|
|
|
178
178
|
style: { padding: d },
|
|
179
179
|
children: i
|
|
180
180
|
}
|
|
181
|
-
),
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
181
|
+
), { Title: j2, Text: $2 } = L1, F2 = {
|
|
182
|
+
h1: 1,
|
|
183
|
+
h2: 2,
|
|
184
|
+
h3: 3,
|
|
185
|
+
h4: 4
|
|
186
|
+
}, T1 = i1(
|
|
187
|
+
({
|
|
188
|
+
align: i = "inherit",
|
|
189
|
+
variant: e = "body1",
|
|
190
|
+
color: t,
|
|
191
|
+
children: n,
|
|
192
|
+
onClick: s,
|
|
193
|
+
collapsed: o,
|
|
194
|
+
whiteSpace: c = "normal",
|
|
195
|
+
/** This prop allows you to enable tooltip if text size is too big */
|
|
196
|
+
trim: d = !1
|
|
197
|
+
}, l) => {
|
|
198
|
+
const a = $(null);
|
|
199
|
+
k1(l, () => a.current);
|
|
200
|
+
const [h, u] = I(!1);
|
|
201
|
+
V(() => {
|
|
202
|
+
var v;
|
|
203
|
+
if (!d) return;
|
|
204
|
+
const f = () => {
|
|
205
|
+
a.current && u(a.current.scrollWidth > a.current.clientWidth);
|
|
206
|
+
};
|
|
207
|
+
f();
|
|
208
|
+
const b = new ResizeObserver(f);
|
|
209
|
+
return a.current && b.observe(a.current), (v = a.current) != null && v.parentElement && b.observe(a.current.parentElement), () => {
|
|
210
|
+
b.disconnect();
|
|
211
|
+
};
|
|
212
|
+
}, [d]);
|
|
213
|
+
const g = e === "h1" || e === "h2" || e === "h3" || e === "h4";
|
|
214
|
+
let p = `snmt-typography snmt-typography-${e}`;
|
|
215
|
+
i && i !== "inherit" && (p += ` snmt-typography-align-${i}`), o && (p += " collapsed");
|
|
216
|
+
const m = {
|
|
217
|
+
className: p,
|
|
218
|
+
style: { color: t, whiteSpace: d ? "nowrap" : c, display: d ? "block" : "" },
|
|
219
|
+
onClick: s,
|
|
220
|
+
ref: a,
|
|
221
|
+
ellipsis: d && h ? {
|
|
222
|
+
tooltip: {
|
|
223
|
+
title: n,
|
|
224
|
+
overlayClassName: "snmt-tooltip"
|
|
225
|
+
}
|
|
226
|
+
} : void 0
|
|
227
|
+
};
|
|
228
|
+
return g ? /* @__PURE__ */ r(j2, { level: F2[e], ...m, children: n }) : /* @__PURE__ */ r($2, { ...m, children: n });
|
|
229
|
+
}
|
|
230
|
+
);
|
|
231
|
+
var b1 = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", i.GREY_LIGHT_0_5 = "var(--grey-light-0-5)", 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_0_5 = "var(--blue-light-0-5)", 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.CYAN_LIGHT = "var(--cyan-light)", i.CYAN_DARK = "var(--cyan-dark)", i.MAGENTA_LIGHT = "var(--magenta-light)", i.MAGENTA_DARK = "var(--magenta-dark)", i.GOLD_LIGHT = "var(--gold-light)", i.GOLD_DARK = "var(--gold-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))(b1 || {});
|
|
232
|
+
const W2 = q({
|
|
233
|
+
locale: "en",
|
|
234
|
+
theme: "light"
|
|
235
|
+
});
|
|
236
|
+
W2.Provider;
|
|
237
|
+
const U2 = ({ label: i, variant: e = "small", src: t, fallbackText: n }) => {
|
|
238
|
+
const s = t != null && t.trim() ? t : void 0, o = {
|
|
239
|
+
large: 80,
|
|
240
|
+
medium: 48,
|
|
241
|
+
small: 32,
|
|
242
|
+
xsmall: 20
|
|
243
|
+
}, c = {
|
|
244
|
+
large: "h2",
|
|
245
|
+
medium: "h4",
|
|
246
|
+
small: "body2",
|
|
247
|
+
xsmall: "caption"
|
|
248
|
+
}, d = {
|
|
249
|
+
large: "h2",
|
|
250
|
+
medium: "h2",
|
|
251
|
+
small: "body2",
|
|
252
|
+
xsmall: "body2"
|
|
253
|
+
};
|
|
254
|
+
return /* @__PURE__ */ C(
|
|
255
|
+
"div",
|
|
185
256
|
{
|
|
186
|
-
className:
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
257
|
+
className: "snmt-avatar-with-label-wrapper",
|
|
258
|
+
style: { gap: i ? e === "large" || e === "medium" ? 12 : 8 : 0 },
|
|
259
|
+
children: [
|
|
260
|
+
/* @__PURE__ */ r(
|
|
261
|
+
v2,
|
|
262
|
+
{
|
|
263
|
+
className: `snmt-avatar ${s ? "image" : ""}`,
|
|
264
|
+
src: s,
|
|
265
|
+
size: o[e],
|
|
266
|
+
children: /* @__PURE__ */ r(T1, { color: b1.GREY_LIGHT_0, variant: c[e], children: !s && n })
|
|
267
|
+
}
|
|
268
|
+
),
|
|
269
|
+
i && /* @__PURE__ */ r(
|
|
270
|
+
T1,
|
|
271
|
+
{
|
|
272
|
+
color: b1.GREY_DARK_5,
|
|
273
|
+
variant: e ? d[e] : "body2",
|
|
274
|
+
children: i
|
|
275
|
+
}
|
|
276
|
+
)
|
|
277
|
+
]
|
|
192
278
|
}
|
|
193
279
|
);
|
|
194
280
|
};
|
|
195
|
-
var
|
|
196
|
-
const
|
|
281
|
+
var S = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", i.GREY_LIGHT_0_5 = "var(--grey-light-0-5)", 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_0_5 = "var(--blue-light-0-5)", 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.CYAN_LIGHT = "var(--cyan-light)", i.CYAN_DARK = "var(--cyan-dark)", i.MAGENTA_LIGHT = "var(--magenta-light)", i.MAGENTA_DARK = "var(--magenta-dark)", i.GOLD_LIGHT = "var(--gold-light)", i.GOLD_DARK = "var(--gold-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))(S || {});
|
|
282
|
+
const A1 = q({
|
|
197
283
|
locale: "en",
|
|
198
284
|
theme: "light"
|
|
199
285
|
});
|
|
200
|
-
|
|
201
|
-
const { Title:
|
|
286
|
+
A1.Provider;
|
|
287
|
+
const { Title: z2, Text: J2 } = L1, Q2 = {
|
|
202
288
|
h1: 1,
|
|
203
289
|
h2: 2,
|
|
204
290
|
h3: 3,
|
|
205
291
|
h4: 4
|
|
206
|
-
},
|
|
292
|
+
}, q2 = i1(
|
|
207
293
|
({
|
|
208
294
|
align: i = "inherit",
|
|
209
295
|
variant: e = "body1",
|
|
@@ -215,25 +301,25 @@ const { Title: P2, Text: j2 } = y1, $2 = {
|
|
|
215
301
|
/** This prop allows you to enable tooltip if text size is too big */
|
|
216
302
|
trim: d = !1
|
|
217
303
|
}, l) => {
|
|
218
|
-
const a =
|
|
219
|
-
|
|
220
|
-
const [h, u] =
|
|
221
|
-
|
|
304
|
+
const a = $(null);
|
|
305
|
+
k1(l, () => a.current);
|
|
306
|
+
const [h, u] = I(!1);
|
|
307
|
+
V(() => {
|
|
222
308
|
var v;
|
|
223
309
|
if (!d) return;
|
|
224
310
|
const f = () => {
|
|
225
311
|
a.current && u(a.current.scrollWidth > a.current.clientWidth);
|
|
226
312
|
};
|
|
227
313
|
f();
|
|
228
|
-
const
|
|
229
|
-
return a.current &&
|
|
230
|
-
|
|
314
|
+
const b = new ResizeObserver(f);
|
|
315
|
+
return a.current && b.observe(a.current), (v = a.current) != null && v.parentElement && b.observe(a.current.parentElement), () => {
|
|
316
|
+
b.disconnect();
|
|
231
317
|
};
|
|
232
318
|
}, [d]);
|
|
233
|
-
const
|
|
319
|
+
const g = e === "h1" || e === "h2" || e === "h3" || e === "h4";
|
|
234
320
|
let p = `snmt-typography snmt-typography-${e}`;
|
|
235
321
|
i && i !== "inherit" && (p += ` snmt-typography-align-${i}`), o && (p += " collapsed");
|
|
236
|
-
const
|
|
322
|
+
const m = {
|
|
237
323
|
className: p,
|
|
238
324
|
style: { color: t, whiteSpace: d ? "nowrap" : c, display: d ? "block" : "" },
|
|
239
325
|
onClick: s,
|
|
@@ -245,9 +331,9 @@ const { Title: P2, Text: j2 } = y1, $2 = {
|
|
|
245
331
|
}
|
|
246
332
|
} : void 0
|
|
247
333
|
};
|
|
248
|
-
return
|
|
334
|
+
return g ? /* @__PURE__ */ r(z2, { level: Q2[e], ...m, children: n }) : /* @__PURE__ */ r(J2, { ...m, children: n });
|
|
249
335
|
}
|
|
250
|
-
),
|
|
336
|
+
), X2 = ({
|
|
251
337
|
checked: i = !0,
|
|
252
338
|
indeterminate: e = !1,
|
|
253
339
|
label: t,
|
|
@@ -255,13 +341,13 @@ const { Title: P2, Text: j2 } = y1, $2 = {
|
|
|
255
341
|
disabled: s = !1,
|
|
256
342
|
disableUncheck: o = !1
|
|
257
343
|
}) => {
|
|
258
|
-
const [c, d] =
|
|
259
|
-
|
|
344
|
+
const [c, d] = I(i), [l, a] = I(e);
|
|
345
|
+
V(() => {
|
|
260
346
|
d(i), a(e);
|
|
261
347
|
}, [i, e]);
|
|
262
|
-
const { theme: h } = Q(
|
|
348
|
+
const { theme: h } = Q(A1);
|
|
263
349
|
return /* @__PURE__ */ r(
|
|
264
|
-
|
|
350
|
+
k2,
|
|
265
351
|
{
|
|
266
352
|
className: `snmt-checkbox snmt-checkbox-${h}`,
|
|
267
353
|
checked: c,
|
|
@@ -271,23 +357,23 @@ const { Title: P2, Text: j2 } = y1, $2 = {
|
|
|
271
357
|
},
|
|
272
358
|
disabled: s,
|
|
273
359
|
children: t && /* @__PURE__ */ r(
|
|
274
|
-
|
|
360
|
+
q2,
|
|
275
361
|
{
|
|
276
362
|
variant: "body2",
|
|
277
|
-
color: s ?
|
|
363
|
+
color: s ? S.GREY_DARK_2 : S.GREY_DARK_5,
|
|
278
364
|
children: t
|
|
279
365
|
}
|
|
280
366
|
)
|
|
281
367
|
}
|
|
282
368
|
);
|
|
283
369
|
};
|
|
284
|
-
var
|
|
285
|
-
const
|
|
370
|
+
var L = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", i.GREY_LIGHT_0_5 = "var(--grey-light-0-5)", 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_0_5 = "var(--blue-light-0-5)", 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.CYAN_LIGHT = "var(--cyan-light)", i.CYAN_DARK = "var(--cyan-dark)", i.MAGENTA_LIGHT = "var(--magenta-light)", i.MAGENTA_DARK = "var(--magenta-dark)", i.GOLD_LIGHT = "var(--gold-light)", i.GOLD_DARK = "var(--gold-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))(L || {});
|
|
371
|
+
const i2 = q({
|
|
286
372
|
locale: "en",
|
|
287
373
|
theme: "light"
|
|
288
374
|
});
|
|
289
|
-
|
|
290
|
-
const
|
|
375
|
+
i2.Provider;
|
|
376
|
+
const e5 = ({
|
|
291
377
|
width: i = 20,
|
|
292
378
|
height: e = 20,
|
|
293
379
|
color: t = "#001E52",
|
|
@@ -314,13 +400,13 @@ const U2 = ({
|
|
|
314
400
|
}
|
|
315
401
|
)
|
|
316
402
|
}
|
|
317
|
-
),
|
|
403
|
+
), t5 = ({
|
|
318
404
|
width: i = 20,
|
|
319
405
|
height: e = 20,
|
|
320
|
-
color: t =
|
|
406
|
+
color: t = L.GREY_DARK_5,
|
|
321
407
|
className: n,
|
|
322
408
|
onClick: s
|
|
323
|
-
}) => /* @__PURE__ */
|
|
409
|
+
}) => /* @__PURE__ */ C(
|
|
324
410
|
"svg",
|
|
325
411
|
{
|
|
326
412
|
width: i,
|
|
@@ -354,13 +440,13 @@ const U2 = ({
|
|
|
354
440
|
)
|
|
355
441
|
]
|
|
356
442
|
}
|
|
357
|
-
),
|
|
443
|
+
), i5 = ({
|
|
358
444
|
width: i = 20,
|
|
359
445
|
height: e = 20,
|
|
360
446
|
color: t = "#001E52",
|
|
361
447
|
className: n,
|
|
362
448
|
onClick: s
|
|
363
|
-
}) => /* @__PURE__ */
|
|
449
|
+
}) => /* @__PURE__ */ C(
|
|
364
450
|
"svg",
|
|
365
451
|
{
|
|
366
452
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -389,13 +475,13 @@ const U2 = ({
|
|
|
389
475
|
)
|
|
390
476
|
]
|
|
391
477
|
}
|
|
392
|
-
),
|
|
478
|
+
), n5 = ({
|
|
393
479
|
width: i = 20,
|
|
394
480
|
height: e = 20,
|
|
395
|
-
color: t =
|
|
481
|
+
color: t = L.GREY_DARK_5,
|
|
396
482
|
className: n,
|
|
397
483
|
onClick: s
|
|
398
|
-
}) => /* @__PURE__ */
|
|
484
|
+
}) => /* @__PURE__ */ C(
|
|
399
485
|
"svg",
|
|
400
486
|
{
|
|
401
487
|
width: i,
|
|
@@ -416,10 +502,10 @@ const U2 = ({
|
|
|
416
502
|
/* @__PURE__ */ r("defs", { children: /* @__PURE__ */ r("clipPath", { id: "clip0_1_2043", children: /* @__PURE__ */ r("rect", { width: "24", height: "24", fill: "white", transform: "translate(0.5 0.5)" }) }) })
|
|
417
503
|
]
|
|
418
504
|
}
|
|
419
|
-
),
|
|
505
|
+
), s5 = ({
|
|
420
506
|
width: i = 20,
|
|
421
507
|
height: e = 20,
|
|
422
|
-
color: t =
|
|
508
|
+
color: t = L.GREY_DARK_5,
|
|
423
509
|
className: n,
|
|
424
510
|
onClick: s
|
|
425
511
|
}) => /* @__PURE__ */ r(
|
|
@@ -440,13 +526,13 @@ const U2 = ({
|
|
|
440
526
|
}
|
|
441
527
|
)
|
|
442
528
|
}
|
|
443
|
-
),
|
|
529
|
+
), r5 = ({
|
|
444
530
|
width: i = 20,
|
|
445
531
|
height: e = 20,
|
|
446
|
-
color: t =
|
|
532
|
+
color: t = L.GREY_DARK_5,
|
|
447
533
|
className: n,
|
|
448
534
|
onClick: s
|
|
449
|
-
}) => /* @__PURE__ */
|
|
535
|
+
}) => /* @__PURE__ */ C(
|
|
450
536
|
"svg",
|
|
451
537
|
{
|
|
452
538
|
width: i,
|
|
@@ -467,10 +553,10 @@ const U2 = ({
|
|
|
467
553
|
/* @__PURE__ */ r("defs", { children: /* @__PURE__ */ r("clipPath", { id: "clip0_1_2039", children: /* @__PURE__ */ r("rect", { width: "24", height: "24", fill: "white", transform: "translate(0.5 0.5)" }) }) })
|
|
468
554
|
]
|
|
469
555
|
}
|
|
470
|
-
),
|
|
556
|
+
), o5 = ({
|
|
471
557
|
width: i = 20,
|
|
472
558
|
height: e = 20,
|
|
473
|
-
color: t =
|
|
559
|
+
color: t = L.GREY_DARK_5,
|
|
474
560
|
className: n,
|
|
475
561
|
onClick: s
|
|
476
562
|
}) => /* @__PURE__ */ r(
|
|
@@ -491,13 +577,13 @@ const U2 = ({
|
|
|
491
577
|
}
|
|
492
578
|
)
|
|
493
579
|
}
|
|
494
|
-
),
|
|
580
|
+
), a5 = ({
|
|
495
581
|
width: i = 20,
|
|
496
582
|
height: e = 20,
|
|
497
|
-
color: t =
|
|
583
|
+
color: t = L.GREY_DARK_5,
|
|
498
584
|
className: n,
|
|
499
585
|
onClick: s
|
|
500
|
-
}) => /* @__PURE__ */
|
|
586
|
+
}) => /* @__PURE__ */ C(
|
|
501
587
|
"svg",
|
|
502
588
|
{
|
|
503
589
|
width: i,
|
|
@@ -538,10 +624,10 @@ const U2 = ({
|
|
|
538
624
|
)
|
|
539
625
|
]
|
|
540
626
|
}
|
|
541
|
-
),
|
|
627
|
+
), l5 = ({
|
|
542
628
|
width: i = 20,
|
|
543
629
|
height: e = 20,
|
|
544
|
-
color: t =
|
|
630
|
+
color: t = L.GREY_DARK_5,
|
|
545
631
|
className: n,
|
|
546
632
|
onClick: s
|
|
547
633
|
}) => /* @__PURE__ */ r(
|
|
@@ -562,10 +648,10 @@ const U2 = ({
|
|
|
562
648
|
}
|
|
563
649
|
)
|
|
564
650
|
}
|
|
565
|
-
),
|
|
651
|
+
), h5 = ({
|
|
566
652
|
width: i = 20,
|
|
567
653
|
height: e = 20,
|
|
568
|
-
color: t =
|
|
654
|
+
color: t = L.GREY_DARK_5,
|
|
569
655
|
className: n,
|
|
570
656
|
onClick: s
|
|
571
657
|
}) => /* @__PURE__ */ r(
|
|
@@ -586,10 +672,10 @@ const U2 = ({
|
|
|
586
672
|
}
|
|
587
673
|
)
|
|
588
674
|
}
|
|
589
|
-
),
|
|
675
|
+
), c5 = ({
|
|
590
676
|
width: i = 20,
|
|
591
677
|
height: e = 20,
|
|
592
|
-
color: t =
|
|
678
|
+
color: t = L.GREY_DARK_5,
|
|
593
679
|
className: n,
|
|
594
680
|
onClick: s
|
|
595
681
|
}) => /* @__PURE__ */ r(
|
|
@@ -610,13 +696,13 @@ const U2 = ({
|
|
|
610
696
|
}
|
|
611
697
|
)
|
|
612
698
|
}
|
|
613
|
-
),
|
|
699
|
+
), d5 = ({
|
|
614
700
|
width: i = 20,
|
|
615
701
|
height: e = 20,
|
|
616
|
-
color: t =
|
|
702
|
+
color: t = L.GREY_DARK_5,
|
|
617
703
|
className: n,
|
|
618
704
|
onClick: s
|
|
619
|
-
}) => /* @__PURE__ */
|
|
705
|
+
}) => /* @__PURE__ */ C(
|
|
620
706
|
"svg",
|
|
621
707
|
{
|
|
622
708
|
width: i,
|
|
@@ -671,13 +757,13 @@ const U2 = ({
|
|
|
671
757
|
)
|
|
672
758
|
]
|
|
673
759
|
}
|
|
674
|
-
),
|
|
760
|
+
), g5 = ({
|
|
675
761
|
width: i = 20,
|
|
676
762
|
height: e = 20,
|
|
677
|
-
color: t =
|
|
763
|
+
color: t = L.GREY_DARK_5,
|
|
678
764
|
className: n,
|
|
679
765
|
onClick: s
|
|
680
|
-
}) => /* @__PURE__ */
|
|
766
|
+
}) => /* @__PURE__ */ C(
|
|
681
767
|
"svg",
|
|
682
768
|
{
|
|
683
769
|
width: i,
|
|
@@ -718,13 +804,13 @@ const U2 = ({
|
|
|
718
804
|
)
|
|
719
805
|
]
|
|
720
806
|
}
|
|
721
|
-
),
|
|
807
|
+
), C5 = ({
|
|
722
808
|
width: i = 20,
|
|
723
809
|
height: e = 20,
|
|
724
|
-
color: t =
|
|
810
|
+
color: t = L.GREY_DARK_5,
|
|
725
811
|
className: n,
|
|
726
812
|
onClick: s
|
|
727
|
-
}) => /* @__PURE__ */
|
|
813
|
+
}) => /* @__PURE__ */ C(
|
|
728
814
|
"svg",
|
|
729
815
|
{
|
|
730
816
|
width: i,
|
|
@@ -758,13 +844,13 @@ const U2 = ({
|
|
|
758
844
|
)
|
|
759
845
|
]
|
|
760
846
|
}
|
|
761
|
-
),
|
|
847
|
+
), u5 = ({
|
|
762
848
|
width: i = 20,
|
|
763
849
|
height: e = 20,
|
|
764
|
-
color: t =
|
|
850
|
+
color: t = L.GREY_DARK_5,
|
|
765
851
|
className: n,
|
|
766
852
|
onClick: s
|
|
767
|
-
}) => /* @__PURE__ */
|
|
853
|
+
}) => /* @__PURE__ */ C(
|
|
768
854
|
"svg",
|
|
769
855
|
{
|
|
770
856
|
width: i,
|
|
@@ -798,13 +884,13 @@ const U2 = ({
|
|
|
798
884
|
)
|
|
799
885
|
]
|
|
800
886
|
}
|
|
801
|
-
),
|
|
887
|
+
), p5 = ({
|
|
802
888
|
width: i = 20,
|
|
803
889
|
height: e = 20,
|
|
804
|
-
color: t =
|
|
890
|
+
color: t = L.GREY_DARK_5,
|
|
805
891
|
className: n,
|
|
806
892
|
onClick: s
|
|
807
|
-
}) => /* @__PURE__ */
|
|
893
|
+
}) => /* @__PURE__ */ C(
|
|
808
894
|
"svg",
|
|
809
895
|
{
|
|
810
896
|
width: i,
|
|
@@ -845,13 +931,13 @@ const U2 = ({
|
|
|
845
931
|
)
|
|
846
932
|
]
|
|
847
933
|
}
|
|
848
|
-
),
|
|
934
|
+
), f5 = ({
|
|
849
935
|
width: i = 20,
|
|
850
936
|
height: e = 20,
|
|
851
|
-
color: t =
|
|
937
|
+
color: t = L.GREY_DARK_5,
|
|
852
938
|
className: n,
|
|
853
939
|
onClick: s
|
|
854
|
-
}) => /* @__PURE__ */
|
|
940
|
+
}) => /* @__PURE__ */ C(
|
|
855
941
|
"svg",
|
|
856
942
|
{
|
|
857
943
|
width: i,
|
|
@@ -892,13 +978,13 @@ const U2 = ({
|
|
|
892
978
|
)
|
|
893
979
|
]
|
|
894
980
|
}
|
|
895
|
-
),
|
|
981
|
+
), m5 = ({
|
|
896
982
|
width: i = 20,
|
|
897
983
|
height: e = 20,
|
|
898
|
-
color: t =
|
|
984
|
+
color: t = L.GREY_DARK_5,
|
|
899
985
|
className: n,
|
|
900
986
|
onClick: s
|
|
901
|
-
}) => /* @__PURE__ */
|
|
987
|
+
}) => /* @__PURE__ */ C(
|
|
902
988
|
"svg",
|
|
903
989
|
{
|
|
904
990
|
width: i,
|
|
@@ -939,13 +1025,13 @@ const U2 = ({
|
|
|
939
1025
|
)
|
|
940
1026
|
]
|
|
941
1027
|
}
|
|
942
|
-
),
|
|
1028
|
+
), w5 = ({
|
|
943
1029
|
width: i = 20,
|
|
944
1030
|
height: e = 20,
|
|
945
|
-
color: t =
|
|
1031
|
+
color: t = L.GREY_DARK_5,
|
|
946
1032
|
className: n,
|
|
947
1033
|
onClick: s
|
|
948
|
-
}) => /* @__PURE__ */
|
|
1034
|
+
}) => /* @__PURE__ */ C(
|
|
949
1035
|
"svg",
|
|
950
1036
|
{
|
|
951
1037
|
width: i,
|
|
@@ -979,13 +1065,13 @@ const U2 = ({
|
|
|
979
1065
|
)
|
|
980
1066
|
]
|
|
981
1067
|
}
|
|
982
|
-
),
|
|
1068
|
+
), L5 = ({
|
|
983
1069
|
width: i = 20,
|
|
984
1070
|
height: e = 20,
|
|
985
|
-
color: t =
|
|
1071
|
+
color: t = L.GREY_DARK_5,
|
|
986
1072
|
className: n,
|
|
987
1073
|
onClick: s
|
|
988
|
-
}) => /* @__PURE__ */
|
|
1074
|
+
}) => /* @__PURE__ */ C(
|
|
989
1075
|
"svg",
|
|
990
1076
|
{
|
|
991
1077
|
width: i,
|
|
@@ -1012,13 +1098,13 @@ const U2 = ({
|
|
|
1012
1098
|
)
|
|
1013
1099
|
]
|
|
1014
1100
|
}
|
|
1015
|
-
),
|
|
1101
|
+
), k5 = ({
|
|
1016
1102
|
width: i = 20,
|
|
1017
1103
|
height: e = 20,
|
|
1018
|
-
color: t =
|
|
1104
|
+
color: t = L.GREY_DARK_5,
|
|
1019
1105
|
className: n,
|
|
1020
1106
|
onClick: s
|
|
1021
|
-
}) => /* @__PURE__ */
|
|
1107
|
+
}) => /* @__PURE__ */ C(
|
|
1022
1108
|
"svg",
|
|
1023
1109
|
{
|
|
1024
1110
|
width: i,
|
|
@@ -1045,13 +1131,13 @@ const U2 = ({
|
|
|
1045
1131
|
)
|
|
1046
1132
|
]
|
|
1047
1133
|
}
|
|
1048
|
-
),
|
|
1134
|
+
), v5 = ({
|
|
1049
1135
|
width: i = 20,
|
|
1050
1136
|
height: e = 20,
|
|
1051
|
-
color: t =
|
|
1137
|
+
color: t = L.GREY_DARK_5,
|
|
1052
1138
|
className: n,
|
|
1053
1139
|
onClick: s
|
|
1054
|
-
}) => /* @__PURE__ */
|
|
1140
|
+
}) => /* @__PURE__ */ C(
|
|
1055
1141
|
"svg",
|
|
1056
1142
|
{
|
|
1057
1143
|
width: i,
|
|
@@ -1078,13 +1164,13 @@ const U2 = ({
|
|
|
1078
1164
|
)
|
|
1079
1165
|
]
|
|
1080
1166
|
}
|
|
1081
|
-
),
|
|
1167
|
+
), N5 = ({
|
|
1082
1168
|
width: i = 20,
|
|
1083
1169
|
height: e = 20,
|
|
1084
|
-
color: t =
|
|
1170
|
+
color: t = L.GREY_DARK_5,
|
|
1085
1171
|
className: n,
|
|
1086
1172
|
onClick: s
|
|
1087
|
-
}) => /* @__PURE__ */
|
|
1173
|
+
}) => /* @__PURE__ */ C(
|
|
1088
1174
|
"svg",
|
|
1089
1175
|
{
|
|
1090
1176
|
width: i,
|
|
@@ -1111,13 +1197,13 @@ const U2 = ({
|
|
|
1111
1197
|
)
|
|
1112
1198
|
]
|
|
1113
1199
|
}
|
|
1114
|
-
),
|
|
1200
|
+
), R5 = ({
|
|
1115
1201
|
width: i = 20,
|
|
1116
1202
|
height: e = 20,
|
|
1117
|
-
color: t =
|
|
1203
|
+
color: t = L.GREY_DARK_5,
|
|
1118
1204
|
className: n,
|
|
1119
1205
|
onClick: s
|
|
1120
|
-
}) => /* @__PURE__ */
|
|
1206
|
+
}) => /* @__PURE__ */ C(
|
|
1121
1207
|
"svg",
|
|
1122
1208
|
{
|
|
1123
1209
|
width: i,
|
|
@@ -1151,13 +1237,13 @@ const U2 = ({
|
|
|
1151
1237
|
)
|
|
1152
1238
|
]
|
|
1153
1239
|
}
|
|
1154
|
-
),
|
|
1240
|
+
), x5 = ({
|
|
1155
1241
|
width: i = 20,
|
|
1156
1242
|
height: e = 20,
|
|
1157
|
-
color: t =
|
|
1243
|
+
color: t = L.GREY_DARK_5,
|
|
1158
1244
|
className: n,
|
|
1159
1245
|
onClick: s
|
|
1160
|
-
}) => /* @__PURE__ */
|
|
1246
|
+
}) => /* @__PURE__ */ C(
|
|
1161
1247
|
"svg",
|
|
1162
1248
|
{
|
|
1163
1249
|
width: i,
|
|
@@ -1184,13 +1270,13 @@ const U2 = ({
|
|
|
1184
1270
|
)
|
|
1185
1271
|
]
|
|
1186
1272
|
}
|
|
1187
|
-
),
|
|
1273
|
+
), _5 = ({
|
|
1188
1274
|
width: i = 20,
|
|
1189
1275
|
height: e = 20,
|
|
1190
|
-
color: t =
|
|
1276
|
+
color: t = L.GREY_DARK_5,
|
|
1191
1277
|
className: n,
|
|
1192
1278
|
onClick: s
|
|
1193
|
-
}) => /* @__PURE__ */
|
|
1279
|
+
}) => /* @__PURE__ */ C(
|
|
1194
1280
|
"svg",
|
|
1195
1281
|
{
|
|
1196
1282
|
width: i,
|
|
@@ -1217,13 +1303,13 @@ const U2 = ({
|
|
|
1217
1303
|
)
|
|
1218
1304
|
]
|
|
1219
1305
|
}
|
|
1220
|
-
),
|
|
1306
|
+
), M5 = ({
|
|
1221
1307
|
width: i = 20,
|
|
1222
1308
|
height: e = 20,
|
|
1223
1309
|
color: t = "#070739",
|
|
1224
1310
|
className: n,
|
|
1225
1311
|
onClick: s
|
|
1226
|
-
}) => /* @__PURE__ */
|
|
1312
|
+
}) => /* @__PURE__ */ C(
|
|
1227
1313
|
"svg",
|
|
1228
1314
|
{
|
|
1229
1315
|
width: i,
|
|
@@ -1247,13 +1333,13 @@ const U2 = ({
|
|
|
1247
1333
|
/* @__PURE__ */ r("circle", { cx: "10", cy: "10", r: "2.375", stroke: t, strokeWidth: "1.25" })
|
|
1248
1334
|
]
|
|
1249
1335
|
}
|
|
1250
|
-
),
|
|
1336
|
+
), b5 = ({
|
|
1251
1337
|
width: i = 20,
|
|
1252
1338
|
height: e = 20,
|
|
1253
1339
|
color: t = "#070739",
|
|
1254
1340
|
className: n,
|
|
1255
1341
|
onClick: s
|
|
1256
|
-
}) => /* @__PURE__ */
|
|
1342
|
+
}) => /* @__PURE__ */ C(
|
|
1257
1343
|
"svg",
|
|
1258
1344
|
{
|
|
1259
1345
|
width: i,
|
|
@@ -1285,7 +1371,7 @@ const U2 = ({
|
|
|
1285
1371
|
)
|
|
1286
1372
|
]
|
|
1287
1373
|
}
|
|
1288
|
-
),
|
|
1374
|
+
), y5 = ({
|
|
1289
1375
|
width: i = 9,
|
|
1290
1376
|
height: e = 5,
|
|
1291
1377
|
color: t = "#001E52",
|
|
@@ -1311,13 +1397,13 @@ const U2 = ({
|
|
|
1311
1397
|
}
|
|
1312
1398
|
)
|
|
1313
1399
|
}
|
|
1314
|
-
),
|
|
1400
|
+
), E5 = ({
|
|
1315
1401
|
width: i = 20,
|
|
1316
1402
|
height: e = 20,
|
|
1317
1403
|
color: t = "#F2F2F7",
|
|
1318
1404
|
className: n,
|
|
1319
1405
|
onClick: s
|
|
1320
|
-
}) => /* @__PURE__ */
|
|
1406
|
+
}) => /* @__PURE__ */ C(
|
|
1321
1407
|
"svg",
|
|
1322
1408
|
{
|
|
1323
1409
|
width: i,
|
|
@@ -1340,13 +1426,13 @@ const U2 = ({
|
|
|
1340
1426
|
)
|
|
1341
1427
|
]
|
|
1342
1428
|
}
|
|
1343
|
-
),
|
|
1429
|
+
), H5 = ({
|
|
1344
1430
|
width: i = 20,
|
|
1345
1431
|
height: e = 20,
|
|
1346
1432
|
color: t = "#004ED7",
|
|
1347
1433
|
className: n,
|
|
1348
1434
|
onClick: s
|
|
1349
|
-
}) => /* @__PURE__ */
|
|
1435
|
+
}) => /* @__PURE__ */ C(
|
|
1350
1436
|
"svg",
|
|
1351
1437
|
{
|
|
1352
1438
|
width: i,
|
|
@@ -1369,13 +1455,13 @@ const U2 = ({
|
|
|
1369
1455
|
)
|
|
1370
1456
|
]
|
|
1371
1457
|
}
|
|
1372
|
-
),
|
|
1458
|
+
), A5 = ({
|
|
1373
1459
|
width: i = 10,
|
|
1374
1460
|
height: e = 10,
|
|
1375
1461
|
color: t = "#001E52",
|
|
1376
1462
|
className: n,
|
|
1377
1463
|
onClick: s
|
|
1378
|
-
}) => /* @__PURE__ */
|
|
1464
|
+
}) => /* @__PURE__ */ C(
|
|
1379
1465
|
"svg",
|
|
1380
1466
|
{
|
|
1381
1467
|
width: i,
|
|
@@ -1398,13 +1484,13 @@ const U2 = ({
|
|
|
1398
1484
|
)
|
|
1399
1485
|
]
|
|
1400
1486
|
}
|
|
1401
|
-
),
|
|
1487
|
+
), I5 = ({
|
|
1402
1488
|
width: i = 10,
|
|
1403
1489
|
height: e = 10,
|
|
1404
1490
|
color: t = "#001E52",
|
|
1405
1491
|
className: n,
|
|
1406
1492
|
onClick: s
|
|
1407
|
-
}) => /* @__PURE__ */
|
|
1493
|
+
}) => /* @__PURE__ */ C(
|
|
1408
1494
|
"svg",
|
|
1409
1495
|
{
|
|
1410
1496
|
width: i,
|
|
@@ -1435,13 +1521,13 @@ const U2 = ({
|
|
|
1435
1521
|
)
|
|
1436
1522
|
]
|
|
1437
1523
|
}
|
|
1438
|
-
),
|
|
1524
|
+
), V5 = ({
|
|
1439
1525
|
className: i,
|
|
1440
|
-
color: e =
|
|
1526
|
+
color: e = L.GREY_DARK_5,
|
|
1441
1527
|
height: t = 20,
|
|
1442
1528
|
width: n = 20,
|
|
1443
1529
|
onClick: s
|
|
1444
|
-
}) => /* @__PURE__ */
|
|
1530
|
+
}) => /* @__PURE__ */ C(
|
|
1445
1531
|
"svg",
|
|
1446
1532
|
{
|
|
1447
1533
|
width: n,
|
|
@@ -1468,9 +1554,9 @@ const U2 = ({
|
|
|
1468
1554
|
)
|
|
1469
1555
|
]
|
|
1470
1556
|
}
|
|
1471
|
-
),
|
|
1557
|
+
), O5 = ({
|
|
1472
1558
|
className: i,
|
|
1473
|
-
color: e =
|
|
1559
|
+
color: e = L.GREY_DARK_5,
|
|
1474
1560
|
height: t = 20,
|
|
1475
1561
|
width: n = 20,
|
|
1476
1562
|
onClick: s
|
|
@@ -1495,9 +1581,9 @@ const U2 = ({
|
|
|
1495
1581
|
}
|
|
1496
1582
|
)
|
|
1497
1583
|
}
|
|
1498
|
-
),
|
|
1584
|
+
), G5 = ({
|
|
1499
1585
|
className: i,
|
|
1500
|
-
color: e =
|
|
1586
|
+
color: e = L.GREY_DARK_5,
|
|
1501
1587
|
height: t = 20,
|
|
1502
1588
|
width: n = 20,
|
|
1503
1589
|
onClick: s
|
|
@@ -1522,9 +1608,9 @@ const U2 = ({
|
|
|
1522
1608
|
}
|
|
1523
1609
|
)
|
|
1524
1610
|
}
|
|
1525
|
-
),
|
|
1611
|
+
), Z5 = ({
|
|
1526
1612
|
className: i,
|
|
1527
|
-
color: e =
|
|
1613
|
+
color: e = L.GREY_DARK_5,
|
|
1528
1614
|
height: t = 5,
|
|
1529
1615
|
width: n = 10,
|
|
1530
1616
|
onClick: s
|
|
@@ -1546,9 +1632,9 @@ const U2 = ({
|
|
|
1546
1632
|
}
|
|
1547
1633
|
)
|
|
1548
1634
|
}
|
|
1549
|
-
),
|
|
1635
|
+
), S5 = ({
|
|
1550
1636
|
className: i,
|
|
1551
|
-
color: e =
|
|
1637
|
+
color: e = L.GREY_DARK_5,
|
|
1552
1638
|
height: t = 5,
|
|
1553
1639
|
width: n = 10,
|
|
1554
1640
|
onClick: s
|
|
@@ -1571,13 +1657,13 @@ const U2 = ({
|
|
|
1571
1657
|
}
|
|
1572
1658
|
)
|
|
1573
1659
|
}
|
|
1574
|
-
),
|
|
1660
|
+
), T5 = ({
|
|
1575
1661
|
className: i,
|
|
1576
|
-
color: e =
|
|
1662
|
+
color: e = L.GREY_DARK_5,
|
|
1577
1663
|
height: t = 20,
|
|
1578
1664
|
width: n = 20,
|
|
1579
1665
|
onClick: s
|
|
1580
|
-
}) => /* @__PURE__ */
|
|
1666
|
+
}) => /* @__PURE__ */ C(
|
|
1581
1667
|
"svg",
|
|
1582
1668
|
{
|
|
1583
1669
|
width: n,
|
|
@@ -1604,13 +1690,13 @@ const U2 = ({
|
|
|
1604
1690
|
)
|
|
1605
1691
|
]
|
|
1606
1692
|
}
|
|
1607
|
-
),
|
|
1693
|
+
), D5 = ({
|
|
1608
1694
|
className: i,
|
|
1609
|
-
color: e =
|
|
1695
|
+
color: e = L.GREY_DARK_5,
|
|
1610
1696
|
height: t = 24,
|
|
1611
1697
|
width: n = 24,
|
|
1612
1698
|
onClick: s
|
|
1613
|
-
}) => /* @__PURE__ */
|
|
1699
|
+
}) => /* @__PURE__ */ C(
|
|
1614
1700
|
"svg",
|
|
1615
1701
|
{
|
|
1616
1702
|
width: n,
|
|
@@ -1643,9 +1729,9 @@ const U2 = ({
|
|
|
1643
1729
|
)
|
|
1644
1730
|
]
|
|
1645
1731
|
}
|
|
1646
|
-
),
|
|
1732
|
+
), K5 = ({
|
|
1647
1733
|
className: i,
|
|
1648
|
-
color: e =
|
|
1734
|
+
color: e = L.GREY_DARK_5,
|
|
1649
1735
|
height: t = 24,
|
|
1650
1736
|
width: n = 24,
|
|
1651
1737
|
onClick: s
|
|
@@ -1670,13 +1756,13 @@ const U2 = ({
|
|
|
1670
1756
|
}
|
|
1671
1757
|
)
|
|
1672
1758
|
}
|
|
1673
|
-
),
|
|
1759
|
+
), B5 = ({
|
|
1674
1760
|
className: i,
|
|
1675
|
-
color: e =
|
|
1761
|
+
color: e = L.GREY_DARK_5,
|
|
1676
1762
|
height: t = 24,
|
|
1677
1763
|
width: n = 24,
|
|
1678
1764
|
onClick: s
|
|
1679
|
-
}) => /* @__PURE__ */
|
|
1765
|
+
}) => /* @__PURE__ */ C(
|
|
1680
1766
|
"svg",
|
|
1681
1767
|
{
|
|
1682
1768
|
width: n,
|
|
@@ -1729,13 +1815,13 @@ const U2 = ({
|
|
|
1729
1815
|
)
|
|
1730
1816
|
]
|
|
1731
1817
|
}
|
|
1732
|
-
),
|
|
1818
|
+
), Y5 = ({
|
|
1733
1819
|
className: i,
|
|
1734
|
-
color: e =
|
|
1820
|
+
color: e = L.GREY_DARK_5,
|
|
1735
1821
|
height: t = 24,
|
|
1736
1822
|
width: n = 24,
|
|
1737
1823
|
onClick: s
|
|
1738
|
-
}) => /* @__PURE__ */
|
|
1824
|
+
}) => /* @__PURE__ */ C(
|
|
1739
1825
|
"svg",
|
|
1740
1826
|
{
|
|
1741
1827
|
width: n,
|
|
@@ -1766,13 +1852,13 @@ const U2 = ({
|
|
|
1766
1852
|
)
|
|
1767
1853
|
]
|
|
1768
1854
|
}
|
|
1769
|
-
),
|
|
1855
|
+
), P5 = ({
|
|
1770
1856
|
className: i,
|
|
1771
|
-
color: e =
|
|
1857
|
+
color: e = L.GREY_DARK_3,
|
|
1772
1858
|
height: t = 14,
|
|
1773
1859
|
width: n = 14,
|
|
1774
1860
|
onClick: s
|
|
1775
|
-
}) => /* @__PURE__ */
|
|
1861
|
+
}) => /* @__PURE__ */ C(
|
|
1776
1862
|
"svg",
|
|
1777
1863
|
{
|
|
1778
1864
|
className: i,
|
|
@@ -1803,9 +1889,9 @@ const U2 = ({
|
|
|
1803
1889
|
)
|
|
1804
1890
|
]
|
|
1805
1891
|
}
|
|
1806
|
-
),
|
|
1892
|
+
), j5 = ({
|
|
1807
1893
|
className: i,
|
|
1808
|
-
color: e =
|
|
1894
|
+
color: e = L.GREY_DARK_5,
|
|
1809
1895
|
height: t = 18,
|
|
1810
1896
|
onClick: n,
|
|
1811
1897
|
width: s = 18
|
|
@@ -1830,13 +1916,13 @@ const U2 = ({
|
|
|
1830
1916
|
}
|
|
1831
1917
|
)
|
|
1832
1918
|
}
|
|
1833
|
-
),
|
|
1919
|
+
), $5 = ({
|
|
1834
1920
|
className: i,
|
|
1835
|
-
color: e =
|
|
1921
|
+
color: e = L.GREY_DARK_5,
|
|
1836
1922
|
height: t = 24,
|
|
1837
1923
|
width: n = 24,
|
|
1838
1924
|
onClick: s
|
|
1839
|
-
}) => /* @__PURE__ */
|
|
1925
|
+
}) => /* @__PURE__ */ C(
|
|
1840
1926
|
"svg",
|
|
1841
1927
|
{
|
|
1842
1928
|
onClick: s,
|
|
@@ -1882,13 +1968,13 @@ const U2 = ({
|
|
|
1882
1968
|
)
|
|
1883
1969
|
]
|
|
1884
1970
|
}
|
|
1885
|
-
),
|
|
1971
|
+
), F5 = ({
|
|
1886
1972
|
className: i,
|
|
1887
|
-
color: e =
|
|
1973
|
+
color: e = L.GREY_DARK_5,
|
|
1888
1974
|
height: t = 24,
|
|
1889
1975
|
width: n = 24,
|
|
1890
1976
|
onClick: s
|
|
1891
|
-
}) => /* @__PURE__ */
|
|
1977
|
+
}) => /* @__PURE__ */ C(
|
|
1892
1978
|
"svg",
|
|
1893
1979
|
{
|
|
1894
1980
|
onClick: s,
|
|
@@ -1919,13 +2005,13 @@ const U2 = ({
|
|
|
1919
2005
|
)
|
|
1920
2006
|
]
|
|
1921
2007
|
}
|
|
1922
|
-
),
|
|
2008
|
+
), W5 = ({
|
|
1923
2009
|
className: i,
|
|
1924
|
-
color: e =
|
|
2010
|
+
color: e = L.NOTIFICATION_WARNING_DARK,
|
|
1925
2011
|
height: t = 37,
|
|
1926
2012
|
width: n = 36,
|
|
1927
2013
|
onClick: s
|
|
1928
|
-
}) => /* @__PURE__ */
|
|
2014
|
+
}) => /* @__PURE__ */ C(
|
|
1929
2015
|
"svg",
|
|
1930
2016
|
{
|
|
1931
2017
|
onClick: s,
|
|
@@ -1958,9 +2044,9 @@ const U2 = ({
|
|
|
1958
2044
|
)
|
|
1959
2045
|
]
|
|
1960
2046
|
}
|
|
1961
|
-
),
|
|
2047
|
+
), U5 = ({
|
|
1962
2048
|
className: i,
|
|
1963
|
-
color: e =
|
|
2049
|
+
color: e = L.GREY_DARK_5,
|
|
1964
2050
|
height: t = 24,
|
|
1965
2051
|
width: n = 24,
|
|
1966
2052
|
onClick: s
|
|
@@ -1984,13 +2070,13 @@ const U2 = ({
|
|
|
1984
2070
|
}
|
|
1985
2071
|
)
|
|
1986
2072
|
}
|
|
1987
|
-
),
|
|
2073
|
+
), z5 = ({
|
|
1988
2074
|
className: i,
|
|
1989
|
-
color: e =
|
|
2075
|
+
color: e = L.GREY_DARK_5,
|
|
1990
2076
|
height: t = 24,
|
|
1991
2077
|
width: n = 24,
|
|
1992
2078
|
onClick: s
|
|
1993
|
-
}) => /* @__PURE__ */
|
|
2079
|
+
}) => /* @__PURE__ */ C(
|
|
1994
2080
|
"svg",
|
|
1995
2081
|
{
|
|
1996
2082
|
onClick: s,
|
|
@@ -2023,13 +2109,13 @@ const U2 = ({
|
|
|
2023
2109
|
)
|
|
2024
2110
|
]
|
|
2025
2111
|
}
|
|
2026
|
-
),
|
|
2112
|
+
), J5 = ({
|
|
2027
2113
|
className: i,
|
|
2028
|
-
color: e =
|
|
2114
|
+
color: e = L.GREY_DARK_5,
|
|
2029
2115
|
height: t = 20,
|
|
2030
2116
|
width: n = 20,
|
|
2031
2117
|
onClick: s
|
|
2032
|
-
}) => /* @__PURE__ */
|
|
2118
|
+
}) => /* @__PURE__ */ C(
|
|
2033
2119
|
"svg",
|
|
2034
2120
|
{
|
|
2035
2121
|
onClick: s,
|
|
@@ -2056,13 +2142,13 @@ const U2 = ({
|
|
|
2056
2142
|
)
|
|
2057
2143
|
]
|
|
2058
2144
|
}
|
|
2059
|
-
),
|
|
2145
|
+
), Q5 = ({
|
|
2060
2146
|
className: i,
|
|
2061
|
-
color: e =
|
|
2147
|
+
color: e = L.GREY_DARK_5,
|
|
2062
2148
|
height: t = 24,
|
|
2063
2149
|
width: n = 24,
|
|
2064
2150
|
onClick: s
|
|
2065
|
-
}) => /* @__PURE__ */
|
|
2151
|
+
}) => /* @__PURE__ */ C(
|
|
2066
2152
|
"svg",
|
|
2067
2153
|
{
|
|
2068
2154
|
onClick: s,
|
|
@@ -2125,13 +2211,13 @@ const U2 = ({
|
|
|
2125
2211
|
)
|
|
2126
2212
|
]
|
|
2127
2213
|
}
|
|
2128
|
-
),
|
|
2214
|
+
), q5 = ({
|
|
2129
2215
|
className: i,
|
|
2130
|
-
color: e =
|
|
2216
|
+
color: e = L.GREY_DARK_5,
|
|
2131
2217
|
height: t = 24,
|
|
2132
2218
|
width: n = 24,
|
|
2133
2219
|
onClick: s
|
|
2134
|
-
}) => /* @__PURE__ */
|
|
2220
|
+
}) => /* @__PURE__ */ C(
|
|
2135
2221
|
"svg",
|
|
2136
2222
|
{
|
|
2137
2223
|
onClick: s,
|
|
@@ -2182,13 +2268,13 @@ const U2 = ({
|
|
|
2182
2268
|
)
|
|
2183
2269
|
]
|
|
2184
2270
|
}
|
|
2185
|
-
),
|
|
2271
|
+
), X5 = ({
|
|
2186
2272
|
className: i,
|
|
2187
|
-
color: e =
|
|
2273
|
+
color: e = L.GREY_DARK_5,
|
|
2188
2274
|
height: t = 24,
|
|
2189
2275
|
width: n = 24,
|
|
2190
2276
|
onClick: s
|
|
2191
|
-
}) => /* @__PURE__ */
|
|
2277
|
+
}) => /* @__PURE__ */ C(
|
|
2192
2278
|
"svg",
|
|
2193
2279
|
{
|
|
2194
2280
|
onClick: s,
|
|
@@ -2231,9 +2317,9 @@ const U2 = ({
|
|
|
2231
2317
|
)
|
|
2232
2318
|
]
|
|
2233
2319
|
}
|
|
2234
|
-
),
|
|
2320
|
+
), ee = ({
|
|
2235
2321
|
className: i,
|
|
2236
|
-
color: e =
|
|
2322
|
+
color: e = L.GREY_DARK_5,
|
|
2237
2323
|
height: t = 24,
|
|
2238
2324
|
width: n = 24,
|
|
2239
2325
|
onClick: s
|
|
@@ -2258,13 +2344,13 @@ const U2 = ({
|
|
|
2258
2344
|
}
|
|
2259
2345
|
)
|
|
2260
2346
|
}
|
|
2261
|
-
),
|
|
2347
|
+
), te = ({
|
|
2262
2348
|
className: i,
|
|
2263
|
-
color: e =
|
|
2349
|
+
color: e = L.GREY_DARK_5,
|
|
2264
2350
|
height: t = 20,
|
|
2265
2351
|
width: n = 20,
|
|
2266
2352
|
onClick: s
|
|
2267
|
-
}) => /* @__PURE__ */
|
|
2353
|
+
}) => /* @__PURE__ */ C(
|
|
2268
2354
|
"svg",
|
|
2269
2355
|
{
|
|
2270
2356
|
onClick: s,
|
|
@@ -2275,7 +2361,7 @@ const U2 = ({
|
|
|
2275
2361
|
fill: "none",
|
|
2276
2362
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2277
2363
|
children: [
|
|
2278
|
-
/* @__PURE__ */ r("rect", { width: "20", height: "20", rx: "4", fill:
|
|
2364
|
+
/* @__PURE__ */ r("rect", { width: "20", height: "20", rx: "4", fill: L.GREY_LIGHT_2 }),
|
|
2279
2365
|
/* @__PURE__ */ r(
|
|
2280
2366
|
"path",
|
|
2281
2367
|
{
|
|
@@ -2287,7 +2373,7 @@ const U2 = ({
|
|
|
2287
2373
|
)
|
|
2288
2374
|
]
|
|
2289
2375
|
}
|
|
2290
|
-
),
|
|
2376
|
+
), ie = ({
|
|
2291
2377
|
className: i,
|
|
2292
2378
|
color: e = "#001E52",
|
|
2293
2379
|
height: t = 24,
|
|
@@ -2313,7 +2399,7 @@ const U2 = ({
|
|
|
2313
2399
|
}
|
|
2314
2400
|
)
|
|
2315
2401
|
}
|
|
2316
|
-
),
|
|
2402
|
+
), ne = ({
|
|
2317
2403
|
className: i,
|
|
2318
2404
|
color: e = "#001E52",
|
|
2319
2405
|
height: t = 24,
|
|
@@ -2330,7 +2416,7 @@ const U2 = ({
|
|
|
2330
2416
|
version: "1.1",
|
|
2331
2417
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2332
2418
|
viewBox: "0 0 489.698 489.698",
|
|
2333
|
-
children: /* @__PURE__ */ r("g", { children: /* @__PURE__ */
|
|
2419
|
+
children: /* @__PURE__ */ r("g", { children: /* @__PURE__ */ C("g", { children: [
|
|
2334
2420
|
/* @__PURE__ */ r(
|
|
2335
2421
|
"path",
|
|
2336
2422
|
{
|
|
@@ -2351,10 +2437,10 @@ const U2 = ({
|
|
|
2351
2437
|
)
|
|
2352
2438
|
] }) })
|
|
2353
2439
|
}
|
|
2354
|
-
),
|
|
2440
|
+
), se = ({
|
|
2355
2441
|
width: i = 20,
|
|
2356
2442
|
height: e = 20,
|
|
2357
|
-
color: t =
|
|
2443
|
+
color: t = L.GREY_DARK_5,
|
|
2358
2444
|
className: n,
|
|
2359
2445
|
onClick: s
|
|
2360
2446
|
}) => /* @__PURE__ */ r(
|
|
@@ -2375,13 +2461,13 @@ const U2 = ({
|
|
|
2375
2461
|
}
|
|
2376
2462
|
)
|
|
2377
2463
|
}
|
|
2378
|
-
),
|
|
2464
|
+
), re = ({
|
|
2379
2465
|
width: i = 24,
|
|
2380
2466
|
height: e = 24,
|
|
2381
2467
|
color: t = "#131314",
|
|
2382
2468
|
className: n,
|
|
2383
2469
|
onClick: s
|
|
2384
|
-
}) => /* @__PURE__ */
|
|
2470
|
+
}) => /* @__PURE__ */ C(
|
|
2385
2471
|
"svg",
|
|
2386
2472
|
{
|
|
2387
2473
|
width: i,
|
|
@@ -2408,13 +2494,13 @@ const U2 = ({
|
|
|
2408
2494
|
)
|
|
2409
2495
|
]
|
|
2410
2496
|
}
|
|
2411
|
-
),
|
|
2497
|
+
), oe = ({
|
|
2412
2498
|
width: i = 20,
|
|
2413
2499
|
height: e = 20,
|
|
2414
|
-
color: t =
|
|
2500
|
+
color: t = L.GREY_DARK_5,
|
|
2415
2501
|
className: n,
|
|
2416
2502
|
onClick: s
|
|
2417
|
-
}) => /* @__PURE__ */
|
|
2503
|
+
}) => /* @__PURE__ */ C(
|
|
2418
2504
|
"svg",
|
|
2419
2505
|
{
|
|
2420
2506
|
width: i,
|
|
@@ -2441,13 +2527,13 @@ const U2 = ({
|
|
|
2441
2527
|
)
|
|
2442
2528
|
]
|
|
2443
2529
|
}
|
|
2444
|
-
),
|
|
2530
|
+
), ae = ({
|
|
2445
2531
|
width: i = 24,
|
|
2446
2532
|
height: e = 24,
|
|
2447
|
-
color: t =
|
|
2533
|
+
color: t = L.GREY_DARK_2,
|
|
2448
2534
|
className: n,
|
|
2449
2535
|
onClick: s
|
|
2450
|
-
}) => /* @__PURE__ */
|
|
2536
|
+
}) => /* @__PURE__ */ C(
|
|
2451
2537
|
"svg",
|
|
2452
2538
|
{
|
|
2453
2539
|
width: i,
|
|
@@ -2481,10 +2567,10 @@ const U2 = ({
|
|
|
2481
2567
|
)
|
|
2482
2568
|
]
|
|
2483
2569
|
}
|
|
2484
|
-
),
|
|
2570
|
+
), le = ({
|
|
2485
2571
|
width: i = 24,
|
|
2486
2572
|
height: e = 24,
|
|
2487
|
-
color: t =
|
|
2573
|
+
color: t = L.GREY_DARK_2,
|
|
2488
2574
|
className: n,
|
|
2489
2575
|
onClick: s
|
|
2490
2576
|
}) => /* @__PURE__ */ r(
|
|
@@ -2508,10 +2594,10 @@ const U2 = ({
|
|
|
2508
2594
|
}
|
|
2509
2595
|
)
|
|
2510
2596
|
}
|
|
2511
|
-
),
|
|
2597
|
+
), he = ({
|
|
2512
2598
|
width: i = 24,
|
|
2513
2599
|
height: e = 24,
|
|
2514
|
-
color: t =
|
|
2600
|
+
color: t = L.GREY_DARK_2,
|
|
2515
2601
|
className: n,
|
|
2516
2602
|
onClick: s
|
|
2517
2603
|
}) => /* @__PURE__ */ r(
|
|
@@ -2535,7 +2621,7 @@ const U2 = ({
|
|
|
2535
2621
|
}
|
|
2536
2622
|
)
|
|
2537
2623
|
}
|
|
2538
|
-
),
|
|
2624
|
+
), s1 = ({
|
|
2539
2625
|
name: i,
|
|
2540
2626
|
width: e,
|
|
2541
2627
|
height: t,
|
|
@@ -2544,39 +2630,39 @@ const U2 = ({
|
|
|
2544
2630
|
disabled: o = !1,
|
|
2545
2631
|
onClick: c
|
|
2546
2632
|
}) => {
|
|
2547
|
-
const { theme: d } = Q(
|
|
2633
|
+
const { theme: d } = Q(i2), l = o ? d && d === "dark" ? L.GREY_LIGHT_4 : L.GREY_DARK_1 : n, a = o ? void 0 : c, h = c && !o ? `${s || ""} clickable` : s;
|
|
2548
2634
|
return /* @__PURE__ */ r(U, { children: (() => {
|
|
2549
2635
|
switch (i) {
|
|
2550
2636
|
case "nextIcon":
|
|
2551
|
-
return
|
|
2637
|
+
return O5({ width: e, height: t, color: l, className: h, onClick: a });
|
|
2552
2638
|
case "prevIcon":
|
|
2553
|
-
return
|
|
2639
|
+
return G5({ width: e, height: t, color: l, className: h, onClick: a });
|
|
2554
2640
|
case "arrowDown":
|
|
2555
|
-
return
|
|
2641
|
+
return e5({ width: e, height: t, color: l, className: h, onClick: a });
|
|
2556
2642
|
case "info":
|
|
2557
|
-
return
|
|
2643
|
+
return t5({ width: e, height: t, color: l, className: h, onClick: a });
|
|
2558
2644
|
case "arrowRight":
|
|
2559
|
-
return
|
|
2645
|
+
return i5({ width: e, height: t, color: l, className: h, onClick: a });
|
|
2560
2646
|
case "calendar":
|
|
2561
|
-
return
|
|
2647
|
+
return a5({ width: e, height: t, color: l, className: h, onClick: a });
|
|
2562
2648
|
case "check":
|
|
2563
|
-
return
|
|
2649
|
+
return l5({ width: e, height: t, color: l, className: h, onClick: a });
|
|
2564
2650
|
case "cancel":
|
|
2565
|
-
return
|
|
2651
|
+
return h5({ width: e, height: t, color: l, className: h, onClick: a });
|
|
2566
2652
|
case "add":
|
|
2567
|
-
return
|
|
2653
|
+
return c5({ width: e, height: t, color: l, className: h, onClick: a });
|
|
2568
2654
|
case "list":
|
|
2569
|
-
return
|
|
2655
|
+
return d5({ width: e, height: t, color: l, className: h, onClick: a });
|
|
2570
2656
|
case "dragAndDrop":
|
|
2571
|
-
return
|
|
2657
|
+
return g5({ width: e, height: t, color: l, className: h, onClick: a });
|
|
2572
2658
|
case "filter":
|
|
2573
|
-
return
|
|
2659
|
+
return C5({ width: e, height: t, color: l, className: h, onClick: a });
|
|
2574
2660
|
case "attention":
|
|
2575
|
-
return
|
|
2661
|
+
return u5({ width: e, height: t, color: l, className: h, onClick: a });
|
|
2576
2662
|
case "users":
|
|
2577
|
-
return
|
|
2663
|
+
return p5({ width: e, height: t, color: l, className: h, onClick: a });
|
|
2578
2664
|
case "mySkillsMatrix":
|
|
2579
|
-
return
|
|
2665
|
+
return f5({
|
|
2580
2666
|
width: e,
|
|
2581
2667
|
height: t,
|
|
2582
2668
|
color: l,
|
|
@@ -2584,9 +2670,9 @@ const U2 = ({
|
|
|
2584
2670
|
onClick: a
|
|
2585
2671
|
});
|
|
2586
2672
|
case "skills":
|
|
2587
|
-
return
|
|
2673
|
+
return m5({ width: e, height: t, color: l, className: h, onClick: a });
|
|
2588
2674
|
case "skillsMatrices":
|
|
2589
|
-
return
|
|
2675
|
+
return w5({
|
|
2590
2676
|
width: e,
|
|
2591
2677
|
height: t,
|
|
2592
2678
|
color: l,
|
|
@@ -2594,21 +2680,21 @@ const U2 = ({
|
|
|
2594
2680
|
onClick: a
|
|
2595
2681
|
});
|
|
2596
2682
|
case "history":
|
|
2597
|
-
return
|
|
2683
|
+
return L5({ width: e, height: t, color: l, className: h, onClick: a });
|
|
2598
2684
|
case "logOut":
|
|
2599
|
-
return
|
|
2685
|
+
return k5({ width: e, height: t, color: l, className: h, onClick: a });
|
|
2600
2686
|
case "settings":
|
|
2601
|
-
return
|
|
2687
|
+
return v5({ width: e, height: t, color: l, className: h, onClick: a });
|
|
2602
2688
|
case "trash":
|
|
2603
|
-
return
|
|
2689
|
+
return N5({ width: e, height: t, color: l, className: h, onClick: a });
|
|
2604
2690
|
case "settings2":
|
|
2605
|
-
return
|
|
2691
|
+
return R5({ width: e, height: t, color: l, className: h, onClick: a });
|
|
2606
2692
|
case "checkCircle":
|
|
2607
|
-
return
|
|
2693
|
+
return x5({ width: e, height: t, color: l, className: h, onClick: a });
|
|
2608
2694
|
case "cancelCircle":
|
|
2609
|
-
return
|
|
2695
|
+
return _5({ width: e, height: t, color: l, className: h, onClick: a });
|
|
2610
2696
|
case "visibilityIcon":
|
|
2611
|
-
return
|
|
2697
|
+
return M5({
|
|
2612
2698
|
width: e,
|
|
2613
2699
|
height: t,
|
|
2614
2700
|
color: l,
|
|
@@ -2616,7 +2702,7 @@ const U2 = ({
|
|
|
2616
2702
|
onClick: a
|
|
2617
2703
|
});
|
|
2618
2704
|
case "visibilityOffIcon":
|
|
2619
|
-
return
|
|
2705
|
+
return b5({
|
|
2620
2706
|
width: e,
|
|
2621
2707
|
height: t,
|
|
2622
2708
|
color: l,
|
|
@@ -2624,7 +2710,7 @@ const U2 = ({
|
|
|
2624
2710
|
onClick: a
|
|
2625
2711
|
});
|
|
2626
2712
|
case "selectArrowIcon":
|
|
2627
|
-
return
|
|
2713
|
+
return y5({
|
|
2628
2714
|
width: e,
|
|
2629
2715
|
height: t,
|
|
2630
2716
|
color: l,
|
|
@@ -2632,7 +2718,7 @@ const U2 = ({
|
|
|
2632
2718
|
onClick: a
|
|
2633
2719
|
});
|
|
2634
2720
|
case "expandArrowIcon":
|
|
2635
|
-
return
|
|
2721
|
+
return E5({
|
|
2636
2722
|
width: e,
|
|
2637
2723
|
height: t,
|
|
2638
2724
|
color: l,
|
|
@@ -2640,7 +2726,7 @@ const U2 = ({
|
|
|
2640
2726
|
onClick: a
|
|
2641
2727
|
});
|
|
2642
2728
|
case "expandActiveArrowIcon":
|
|
2643
|
-
return
|
|
2729
|
+
return H5({
|
|
2644
2730
|
width: e,
|
|
2645
2731
|
height: t,
|
|
2646
2732
|
color: l,
|
|
@@ -2648,85 +2734,85 @@ const U2 = ({
|
|
|
2648
2734
|
onClick: a
|
|
2649
2735
|
});
|
|
2650
2736
|
case "sortUp":
|
|
2651
|
-
return
|
|
2737
|
+
return A5({ width: e, height: t, color: l, className: h, onClick: a });
|
|
2652
2738
|
case "sortDown":
|
|
2653
|
-
return
|
|
2739
|
+
return I5({ width: e, height: t, color: l, className: h, onClick: a });
|
|
2654
2740
|
case "search":
|
|
2655
|
-
return b5({ width: e, height: t, color: l, className: h, onClick: a });
|
|
2656
|
-
case "arrowUpFilled":
|
|
2657
2741
|
return V5({ width: e, height: t, color: l, className: h, onClick: a });
|
|
2742
|
+
case "arrowUpFilled":
|
|
2743
|
+
return S5({ width: e, height: t, color: l, className: h, onClick: a });
|
|
2658
2744
|
case "arrowDownFilled":
|
|
2659
|
-
return
|
|
2745
|
+
return Z5({ width: e, height: t, color: l, className: h, onClick: a });
|
|
2660
2746
|
case "arrow2Up":
|
|
2661
|
-
return
|
|
2747
|
+
return n5({ width: e, height: t, color: l, className: h, onClick: a });
|
|
2662
2748
|
case "arrow2Right":
|
|
2663
|
-
return
|
|
2749
|
+
return s5({ width: e, height: t, color: l, className: h, onClick: a });
|
|
2664
2750
|
case "arrow2Down":
|
|
2665
|
-
return
|
|
2751
|
+
return r5({ width: e, height: t, color: l, className: h, onClick: a });
|
|
2666
2752
|
case "arrow2Left":
|
|
2667
|
-
return
|
|
2753
|
+
return o5({ width: e, height: t, color: l, className: h, onClick: a });
|
|
2668
2754
|
case "link":
|
|
2669
|
-
return
|
|
2755
|
+
return T5({ width: e, height: t, color: l, className: h, onClick: a });
|
|
2670
2756
|
case "telegram":
|
|
2671
|
-
return
|
|
2757
|
+
return K5({ width: e, height: t, color: l, className: h, onClick: a });
|
|
2672
2758
|
case "mail":
|
|
2673
|
-
return
|
|
2759
|
+
return Y5({ width: e, height: t, color: l, className: h, onClick: a });
|
|
2674
2760
|
case "github":
|
|
2675
|
-
return
|
|
2761
|
+
return D5({ width: e, height: t, color: l, className: h, onClick: a });
|
|
2676
2762
|
case "linkedIn":
|
|
2677
|
-
return
|
|
2763
|
+
return B5({ width: e, height: t, color: l, className: h, onClick: a });
|
|
2678
2764
|
case "emptyStateIcon":
|
|
2679
|
-
return
|
|
2765
|
+
return P5({ width: e, height: t, color: l, className: h, onClick: a });
|
|
2680
2766
|
case "filtersIcon":
|
|
2681
|
-
return
|
|
2767
|
+
return j5({ width: e, height: t, color: l, className: h, onClick: a });
|
|
2682
2768
|
case "dotMenuIcon":
|
|
2683
|
-
return
|
|
2769
|
+
return $5({ width: e, height: t, color: l, className: h, onClick: a });
|
|
2684
2770
|
case "plusCircle":
|
|
2685
|
-
return
|
|
2771
|
+
return F5({ width: e, height: t, color: l, className: h, onClick: a });
|
|
2686
2772
|
case "warning":
|
|
2687
|
-
return
|
|
2773
|
+
return W5({ width: e, height: t, color: l, className: h, onClick: a });
|
|
2688
2774
|
case "back":
|
|
2689
|
-
return
|
|
2775
|
+
return U5({ width: e, height: t, color: l, className: h, onClick: a });
|
|
2690
2776
|
case "bell":
|
|
2691
|
-
return
|
|
2777
|
+
return z5({ width: e, height: t, color: l, className: h, onClick: a });
|
|
2692
2778
|
case "copy":
|
|
2693
|
-
return
|
|
2779
|
+
return J5({ width: e, height: t, color: l, className: h, onClick: a });
|
|
2694
2780
|
case "contract":
|
|
2695
|
-
return
|
|
2781
|
+
return Q5({ width: e, height: t, color: l, className: h, onClick: a });
|
|
2696
2782
|
case "resourceManager":
|
|
2697
|
-
return
|
|
2783
|
+
return q5({ width: e, height: t, color: l, className: h, onClick: a });
|
|
2698
2784
|
case "image":
|
|
2699
|
-
return
|
|
2785
|
+
return X5({ width: e, height: t, color: l, className: h, onClick: a });
|
|
2700
2786
|
case "edit":
|
|
2701
|
-
return
|
|
2787
|
+
return ee({ width: e, height: t, color: l, className: h, onClick: a });
|
|
2702
2788
|
case "filledArrowRight":
|
|
2703
|
-
return
|
|
2789
|
+
return te({ width: e, height: t, color: l, className: h, onClick: a });
|
|
2704
2790
|
case "burgerMenu":
|
|
2705
|
-
return
|
|
2791
|
+
return ie({ width: e, height: t, color: l, className: h, onClick: a });
|
|
2706
2792
|
case "refresh":
|
|
2707
|
-
return
|
|
2793
|
+
return ne({ width: e, height: t, color: l, className: h, onClick: a });
|
|
2708
2794
|
case "projects":
|
|
2709
|
-
return
|
|
2795
|
+
return se({ width: e, height: t, color: l, className: h, onClick: a });
|
|
2710
2796
|
case "user":
|
|
2711
|
-
return
|
|
2797
|
+
return oe({ width: e, height: t, color: l, className: h, onClick: a });
|
|
2712
2798
|
case "exit":
|
|
2713
|
-
return
|
|
2799
|
+
return re({ width: e, height: t, color: l, className: h, onClick: a });
|
|
2714
2800
|
case "openPointCircle":
|
|
2715
|
-
return
|
|
2801
|
+
return ae({ width: e, height: t, color: l, className: h, onClick: a });
|
|
2716
2802
|
case "community":
|
|
2717
|
-
return
|
|
2803
|
+
return le({ width: e, height: t, color: l, className: h, onClick: a });
|
|
2718
2804
|
case "docs":
|
|
2719
|
-
return
|
|
2805
|
+
return he({ width: e, height: t, color: l, className: h, onClick: a });
|
|
2720
2806
|
default:
|
|
2721
2807
|
return /* @__PURE__ */ r(U, { children: "No Icon provided" });
|
|
2722
2808
|
}
|
|
2723
2809
|
})() });
|
|
2724
|
-
}, { Title:
|
|
2810
|
+
}, { Title: ce, Text: de } = L1, ge = {
|
|
2725
2811
|
h1: 1,
|
|
2726
2812
|
h2: 2,
|
|
2727
2813
|
h3: 3,
|
|
2728
2814
|
h4: 4
|
|
2729
|
-
},
|
|
2815
|
+
}, Ce = i1(
|
|
2730
2816
|
({
|
|
2731
2817
|
align: i = "inherit",
|
|
2732
2818
|
variant: e = "body1",
|
|
@@ -2738,25 +2824,25 @@ const U2 = ({
|
|
|
2738
2824
|
/** This prop allows you to enable tooltip if text size is too big */
|
|
2739
2825
|
trim: d = !1
|
|
2740
2826
|
}, l) => {
|
|
2741
|
-
const a =
|
|
2742
|
-
|
|
2743
|
-
const [h, u] =
|
|
2744
|
-
|
|
2827
|
+
const a = $(null);
|
|
2828
|
+
k1(l, () => a.current);
|
|
2829
|
+
const [h, u] = I(!1);
|
|
2830
|
+
V(() => {
|
|
2745
2831
|
var v;
|
|
2746
2832
|
if (!d) return;
|
|
2747
2833
|
const f = () => {
|
|
2748
2834
|
a.current && u(a.current.scrollWidth > a.current.clientWidth);
|
|
2749
2835
|
};
|
|
2750
2836
|
f();
|
|
2751
|
-
const
|
|
2752
|
-
return a.current &&
|
|
2753
|
-
|
|
2837
|
+
const b = new ResizeObserver(f);
|
|
2838
|
+
return a.current && b.observe(a.current), (v = a.current) != null && v.parentElement && b.observe(a.current.parentElement), () => {
|
|
2839
|
+
b.disconnect();
|
|
2754
2840
|
};
|
|
2755
2841
|
}, [d]);
|
|
2756
|
-
const
|
|
2842
|
+
const g = e === "h1" || e === "h2" || e === "h3" || e === "h4";
|
|
2757
2843
|
let p = `snmt-typography snmt-typography-${e}`;
|
|
2758
2844
|
i && i !== "inherit" && (p += ` snmt-typography-align-${i}`), o && (p += " collapsed");
|
|
2759
|
-
const
|
|
2845
|
+
const m = {
|
|
2760
2846
|
className: p,
|
|
2761
2847
|
style: { color: t, whiteSpace: d ? "nowrap" : c, display: d ? "block" : "" },
|
|
2762
2848
|
onClick: s,
|
|
@@ -2768,16 +2854,16 @@ const U2 = ({
|
|
|
2768
2854
|
}
|
|
2769
2855
|
} : void 0
|
|
2770
2856
|
};
|
|
2771
|
-
return
|
|
2857
|
+
return g ? /* @__PURE__ */ r(ce, { level: ge[e], ...m, children: n }) : /* @__PURE__ */ r(de, { ...m, children: n });
|
|
2772
2858
|
}
|
|
2773
2859
|
);
|
|
2774
|
-
var
|
|
2775
|
-
const
|
|
2860
|
+
var k = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", i.GREY_LIGHT_0_5 = "var(--grey-light-0-5)", 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_0_5 = "var(--blue-light-0-5)", 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.CYAN_LIGHT = "var(--cyan-light)", i.CYAN_DARK = "var(--cyan-dark)", i.MAGENTA_LIGHT = "var(--magenta-light)", i.MAGENTA_DARK = "var(--magenta-dark)", i.GOLD_LIGHT = "var(--gold-light)", i.GOLD_DARK = "var(--gold-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 || {});
|
|
2861
|
+
const n2 = q({
|
|
2776
2862
|
locale: "en",
|
|
2777
2863
|
theme: "light"
|
|
2778
2864
|
});
|
|
2779
|
-
|
|
2780
|
-
const
|
|
2865
|
+
n2.Provider;
|
|
2866
|
+
const ue = ({
|
|
2781
2867
|
width: i = 20,
|
|
2782
2868
|
height: e = 20,
|
|
2783
2869
|
color: t = "#001E52",
|
|
@@ -2804,13 +2890,13 @@ const le = ({
|
|
|
2804
2890
|
}
|
|
2805
2891
|
)
|
|
2806
2892
|
}
|
|
2807
|
-
),
|
|
2893
|
+
), pe = ({
|
|
2808
2894
|
width: i = 20,
|
|
2809
2895
|
height: e = 20,
|
|
2810
|
-
color: t =
|
|
2896
|
+
color: t = k.GREY_DARK_5,
|
|
2811
2897
|
className: n,
|
|
2812
2898
|
onClick: s
|
|
2813
|
-
}) => /* @__PURE__ */
|
|
2899
|
+
}) => /* @__PURE__ */ C(
|
|
2814
2900
|
"svg",
|
|
2815
2901
|
{
|
|
2816
2902
|
width: i,
|
|
@@ -2844,13 +2930,13 @@ const le = ({
|
|
|
2844
2930
|
)
|
|
2845
2931
|
]
|
|
2846
2932
|
}
|
|
2847
|
-
),
|
|
2933
|
+
), fe = ({
|
|
2848
2934
|
width: i = 20,
|
|
2849
2935
|
height: e = 20,
|
|
2850
2936
|
color: t = "#001E52",
|
|
2851
2937
|
className: n,
|
|
2852
2938
|
onClick: s
|
|
2853
|
-
}) => /* @__PURE__ */
|
|
2939
|
+
}) => /* @__PURE__ */ C(
|
|
2854
2940
|
"svg",
|
|
2855
2941
|
{
|
|
2856
2942
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2879,13 +2965,13 @@ const le = ({
|
|
|
2879
2965
|
)
|
|
2880
2966
|
]
|
|
2881
2967
|
}
|
|
2882
|
-
),
|
|
2968
|
+
), me = ({
|
|
2883
2969
|
width: i = 20,
|
|
2884
2970
|
height: e = 20,
|
|
2885
|
-
color: t =
|
|
2971
|
+
color: t = k.GREY_DARK_5,
|
|
2886
2972
|
className: n,
|
|
2887
2973
|
onClick: s
|
|
2888
|
-
}) => /* @__PURE__ */
|
|
2974
|
+
}) => /* @__PURE__ */ C(
|
|
2889
2975
|
"svg",
|
|
2890
2976
|
{
|
|
2891
2977
|
width: i,
|
|
@@ -2906,10 +2992,10 @@ const le = ({
|
|
|
2906
2992
|
/* @__PURE__ */ r("defs", { children: /* @__PURE__ */ r("clipPath", { id: "clip0_1_2043", children: /* @__PURE__ */ r("rect", { width: "24", height: "24", fill: "white", transform: "translate(0.5 0.5)" }) }) })
|
|
2907
2993
|
]
|
|
2908
2994
|
}
|
|
2909
|
-
),
|
|
2995
|
+
), we = ({
|
|
2910
2996
|
width: i = 20,
|
|
2911
2997
|
height: e = 20,
|
|
2912
|
-
color: t =
|
|
2998
|
+
color: t = k.GREY_DARK_5,
|
|
2913
2999
|
className: n,
|
|
2914
3000
|
onClick: s
|
|
2915
3001
|
}) => /* @__PURE__ */ r(
|
|
@@ -2930,13 +3016,13 @@ const le = ({
|
|
|
2930
3016
|
}
|
|
2931
3017
|
)
|
|
2932
3018
|
}
|
|
2933
|
-
),
|
|
3019
|
+
), Le = ({
|
|
2934
3020
|
width: i = 20,
|
|
2935
3021
|
height: e = 20,
|
|
2936
|
-
color: t =
|
|
3022
|
+
color: t = k.GREY_DARK_5,
|
|
2937
3023
|
className: n,
|
|
2938
3024
|
onClick: s
|
|
2939
|
-
}) => /* @__PURE__ */
|
|
3025
|
+
}) => /* @__PURE__ */ C(
|
|
2940
3026
|
"svg",
|
|
2941
3027
|
{
|
|
2942
3028
|
width: i,
|
|
@@ -2957,10 +3043,10 @@ const le = ({
|
|
|
2957
3043
|
/* @__PURE__ */ r("defs", { children: /* @__PURE__ */ r("clipPath", { id: "clip0_1_2039", children: /* @__PURE__ */ r("rect", { width: "24", height: "24", fill: "white", transform: "translate(0.5 0.5)" }) }) })
|
|
2958
3044
|
]
|
|
2959
3045
|
}
|
|
2960
|
-
),
|
|
3046
|
+
), ke = ({
|
|
2961
3047
|
width: i = 20,
|
|
2962
3048
|
height: e = 20,
|
|
2963
|
-
color: t =
|
|
3049
|
+
color: t = k.GREY_DARK_5,
|
|
2964
3050
|
className: n,
|
|
2965
3051
|
onClick: s
|
|
2966
3052
|
}) => /* @__PURE__ */ r(
|
|
@@ -2981,13 +3067,13 @@ const le = ({
|
|
|
2981
3067
|
}
|
|
2982
3068
|
)
|
|
2983
3069
|
}
|
|
2984
|
-
),
|
|
3070
|
+
), ve = ({
|
|
2985
3071
|
width: i = 20,
|
|
2986
3072
|
height: e = 20,
|
|
2987
|
-
color: t =
|
|
3073
|
+
color: t = k.GREY_DARK_5,
|
|
2988
3074
|
className: n,
|
|
2989
3075
|
onClick: s
|
|
2990
|
-
}) => /* @__PURE__ */
|
|
3076
|
+
}) => /* @__PURE__ */ C(
|
|
2991
3077
|
"svg",
|
|
2992
3078
|
{
|
|
2993
3079
|
width: i,
|
|
@@ -3028,10 +3114,10 @@ const le = ({
|
|
|
3028
3114
|
)
|
|
3029
3115
|
]
|
|
3030
3116
|
}
|
|
3031
|
-
),
|
|
3117
|
+
), Ne = ({
|
|
3032
3118
|
width: i = 20,
|
|
3033
3119
|
height: e = 20,
|
|
3034
|
-
color: t =
|
|
3120
|
+
color: t = k.GREY_DARK_5,
|
|
3035
3121
|
className: n,
|
|
3036
3122
|
onClick: s
|
|
3037
3123
|
}) => /* @__PURE__ */ r(
|
|
@@ -3052,10 +3138,10 @@ const le = ({
|
|
|
3052
3138
|
}
|
|
3053
3139
|
)
|
|
3054
3140
|
}
|
|
3055
|
-
),
|
|
3141
|
+
), Re = ({
|
|
3056
3142
|
width: i = 20,
|
|
3057
3143
|
height: e = 20,
|
|
3058
|
-
color: t =
|
|
3144
|
+
color: t = k.GREY_DARK_5,
|
|
3059
3145
|
className: n,
|
|
3060
3146
|
onClick: s
|
|
3061
3147
|
}) => /* @__PURE__ */ r(
|
|
@@ -3076,10 +3162,10 @@ const le = ({
|
|
|
3076
3162
|
}
|
|
3077
3163
|
)
|
|
3078
3164
|
}
|
|
3079
|
-
),
|
|
3165
|
+
), xe = ({
|
|
3080
3166
|
width: i = 20,
|
|
3081
3167
|
height: e = 20,
|
|
3082
|
-
color: t =
|
|
3168
|
+
color: t = k.GREY_DARK_5,
|
|
3083
3169
|
className: n,
|
|
3084
3170
|
onClick: s
|
|
3085
3171
|
}) => /* @__PURE__ */ r(
|
|
@@ -3100,13 +3186,13 @@ const le = ({
|
|
|
3100
3186
|
}
|
|
3101
3187
|
)
|
|
3102
3188
|
}
|
|
3103
|
-
),
|
|
3189
|
+
), _e = ({
|
|
3104
3190
|
width: i = 20,
|
|
3105
3191
|
height: e = 20,
|
|
3106
|
-
color: t =
|
|
3192
|
+
color: t = k.GREY_DARK_5,
|
|
3107
3193
|
className: n,
|
|
3108
3194
|
onClick: s
|
|
3109
|
-
}) => /* @__PURE__ */
|
|
3195
|
+
}) => /* @__PURE__ */ C(
|
|
3110
3196
|
"svg",
|
|
3111
3197
|
{
|
|
3112
3198
|
width: i,
|
|
@@ -3161,13 +3247,13 @@ const le = ({
|
|
|
3161
3247
|
)
|
|
3162
3248
|
]
|
|
3163
3249
|
}
|
|
3164
|
-
),
|
|
3250
|
+
), Me = ({
|
|
3165
3251
|
width: i = 20,
|
|
3166
3252
|
height: e = 20,
|
|
3167
|
-
color: t =
|
|
3253
|
+
color: t = k.GREY_DARK_5,
|
|
3168
3254
|
className: n,
|
|
3169
3255
|
onClick: s
|
|
3170
|
-
}) => /* @__PURE__ */
|
|
3256
|
+
}) => /* @__PURE__ */ C(
|
|
3171
3257
|
"svg",
|
|
3172
3258
|
{
|
|
3173
3259
|
width: i,
|
|
@@ -3208,13 +3294,13 @@ const le = ({
|
|
|
3208
3294
|
)
|
|
3209
3295
|
]
|
|
3210
3296
|
}
|
|
3211
|
-
),
|
|
3297
|
+
), be = ({
|
|
3212
3298
|
width: i = 20,
|
|
3213
3299
|
height: e = 20,
|
|
3214
|
-
color: t =
|
|
3300
|
+
color: t = k.GREY_DARK_5,
|
|
3215
3301
|
className: n,
|
|
3216
3302
|
onClick: s
|
|
3217
|
-
}) => /* @__PURE__ */
|
|
3303
|
+
}) => /* @__PURE__ */ C(
|
|
3218
3304
|
"svg",
|
|
3219
3305
|
{
|
|
3220
3306
|
width: i,
|
|
@@ -3248,13 +3334,13 @@ const le = ({
|
|
|
3248
3334
|
)
|
|
3249
3335
|
]
|
|
3250
3336
|
}
|
|
3251
|
-
),
|
|
3337
|
+
), ye = ({
|
|
3252
3338
|
width: i = 20,
|
|
3253
3339
|
height: e = 20,
|
|
3254
|
-
color: t =
|
|
3340
|
+
color: t = k.GREY_DARK_5,
|
|
3255
3341
|
className: n,
|
|
3256
3342
|
onClick: s
|
|
3257
|
-
}) => /* @__PURE__ */
|
|
3343
|
+
}) => /* @__PURE__ */ C(
|
|
3258
3344
|
"svg",
|
|
3259
3345
|
{
|
|
3260
3346
|
width: i,
|
|
@@ -3288,13 +3374,13 @@ const le = ({
|
|
|
3288
3374
|
)
|
|
3289
3375
|
]
|
|
3290
3376
|
}
|
|
3291
|
-
),
|
|
3377
|
+
), Ee = ({
|
|
3292
3378
|
width: i = 20,
|
|
3293
3379
|
height: e = 20,
|
|
3294
|
-
color: t =
|
|
3380
|
+
color: t = k.GREY_DARK_5,
|
|
3295
3381
|
className: n,
|
|
3296
3382
|
onClick: s
|
|
3297
|
-
}) => /* @__PURE__ */
|
|
3383
|
+
}) => /* @__PURE__ */ C(
|
|
3298
3384
|
"svg",
|
|
3299
3385
|
{
|
|
3300
3386
|
width: i,
|
|
@@ -3335,13 +3421,13 @@ const le = ({
|
|
|
3335
3421
|
)
|
|
3336
3422
|
]
|
|
3337
3423
|
}
|
|
3338
|
-
),
|
|
3424
|
+
), He = ({
|
|
3339
3425
|
width: i = 20,
|
|
3340
3426
|
height: e = 20,
|
|
3341
|
-
color: t =
|
|
3427
|
+
color: t = k.GREY_DARK_5,
|
|
3342
3428
|
className: n,
|
|
3343
3429
|
onClick: s
|
|
3344
|
-
}) => /* @__PURE__ */
|
|
3430
|
+
}) => /* @__PURE__ */ C(
|
|
3345
3431
|
"svg",
|
|
3346
3432
|
{
|
|
3347
3433
|
width: i,
|
|
@@ -3382,13 +3468,13 @@ const le = ({
|
|
|
3382
3468
|
)
|
|
3383
3469
|
]
|
|
3384
3470
|
}
|
|
3385
|
-
),
|
|
3471
|
+
), Ae = ({
|
|
3386
3472
|
width: i = 20,
|
|
3387
3473
|
height: e = 20,
|
|
3388
|
-
color: t =
|
|
3474
|
+
color: t = k.GREY_DARK_5,
|
|
3389
3475
|
className: n,
|
|
3390
3476
|
onClick: s
|
|
3391
|
-
}) => /* @__PURE__ */
|
|
3477
|
+
}) => /* @__PURE__ */ C(
|
|
3392
3478
|
"svg",
|
|
3393
3479
|
{
|
|
3394
3480
|
width: i,
|
|
@@ -3429,13 +3515,13 @@ const le = ({
|
|
|
3429
3515
|
)
|
|
3430
3516
|
]
|
|
3431
3517
|
}
|
|
3432
|
-
),
|
|
3518
|
+
), Ie = ({
|
|
3433
3519
|
width: i = 20,
|
|
3434
3520
|
height: e = 20,
|
|
3435
|
-
color: t =
|
|
3521
|
+
color: t = k.GREY_DARK_5,
|
|
3436
3522
|
className: n,
|
|
3437
3523
|
onClick: s
|
|
3438
|
-
}) => /* @__PURE__ */
|
|
3524
|
+
}) => /* @__PURE__ */ C(
|
|
3439
3525
|
"svg",
|
|
3440
3526
|
{
|
|
3441
3527
|
width: i,
|
|
@@ -3469,13 +3555,13 @@ const le = ({
|
|
|
3469
3555
|
)
|
|
3470
3556
|
]
|
|
3471
3557
|
}
|
|
3472
|
-
),
|
|
3558
|
+
), Ve = ({
|
|
3473
3559
|
width: i = 20,
|
|
3474
3560
|
height: e = 20,
|
|
3475
|
-
color: t =
|
|
3561
|
+
color: t = k.GREY_DARK_5,
|
|
3476
3562
|
className: n,
|
|
3477
3563
|
onClick: s
|
|
3478
|
-
}) => /* @__PURE__ */
|
|
3564
|
+
}) => /* @__PURE__ */ C(
|
|
3479
3565
|
"svg",
|
|
3480
3566
|
{
|
|
3481
3567
|
width: i,
|
|
@@ -3502,13 +3588,13 @@ const le = ({
|
|
|
3502
3588
|
)
|
|
3503
3589
|
]
|
|
3504
3590
|
}
|
|
3505
|
-
),
|
|
3591
|
+
), Oe = ({
|
|
3506
3592
|
width: i = 20,
|
|
3507
3593
|
height: e = 20,
|
|
3508
|
-
color: t =
|
|
3594
|
+
color: t = k.GREY_DARK_5,
|
|
3509
3595
|
className: n,
|
|
3510
3596
|
onClick: s
|
|
3511
|
-
}) => /* @__PURE__ */
|
|
3597
|
+
}) => /* @__PURE__ */ C(
|
|
3512
3598
|
"svg",
|
|
3513
3599
|
{
|
|
3514
3600
|
width: i,
|
|
@@ -3535,13 +3621,13 @@ const le = ({
|
|
|
3535
3621
|
)
|
|
3536
3622
|
]
|
|
3537
3623
|
}
|
|
3538
|
-
),
|
|
3624
|
+
), Ge = ({
|
|
3539
3625
|
width: i = 20,
|
|
3540
3626
|
height: e = 20,
|
|
3541
|
-
color: t =
|
|
3627
|
+
color: t = k.GREY_DARK_5,
|
|
3542
3628
|
className: n,
|
|
3543
3629
|
onClick: s
|
|
3544
|
-
}) => /* @__PURE__ */
|
|
3630
|
+
}) => /* @__PURE__ */ C(
|
|
3545
3631
|
"svg",
|
|
3546
3632
|
{
|
|
3547
3633
|
width: i,
|
|
@@ -3568,13 +3654,13 @@ const le = ({
|
|
|
3568
3654
|
)
|
|
3569
3655
|
]
|
|
3570
3656
|
}
|
|
3571
|
-
),
|
|
3657
|
+
), Ze = ({
|
|
3572
3658
|
width: i = 20,
|
|
3573
3659
|
height: e = 20,
|
|
3574
|
-
color: t =
|
|
3660
|
+
color: t = k.GREY_DARK_5,
|
|
3575
3661
|
className: n,
|
|
3576
3662
|
onClick: s
|
|
3577
|
-
}) => /* @__PURE__ */
|
|
3663
|
+
}) => /* @__PURE__ */ C(
|
|
3578
3664
|
"svg",
|
|
3579
3665
|
{
|
|
3580
3666
|
width: i,
|
|
@@ -3601,13 +3687,13 @@ const le = ({
|
|
|
3601
3687
|
)
|
|
3602
3688
|
]
|
|
3603
3689
|
}
|
|
3604
|
-
),
|
|
3690
|
+
), Se = ({
|
|
3605
3691
|
width: i = 20,
|
|
3606
3692
|
height: e = 20,
|
|
3607
|
-
color: t =
|
|
3693
|
+
color: t = k.GREY_DARK_5,
|
|
3608
3694
|
className: n,
|
|
3609
3695
|
onClick: s
|
|
3610
|
-
}) => /* @__PURE__ */
|
|
3696
|
+
}) => /* @__PURE__ */ C(
|
|
3611
3697
|
"svg",
|
|
3612
3698
|
{
|
|
3613
3699
|
width: i,
|
|
@@ -3641,13 +3727,13 @@ const le = ({
|
|
|
3641
3727
|
)
|
|
3642
3728
|
]
|
|
3643
3729
|
}
|
|
3644
|
-
),
|
|
3730
|
+
), Te = ({
|
|
3645
3731
|
width: i = 20,
|
|
3646
3732
|
height: e = 20,
|
|
3647
|
-
color: t =
|
|
3733
|
+
color: t = k.GREY_DARK_5,
|
|
3648
3734
|
className: n,
|
|
3649
3735
|
onClick: s
|
|
3650
|
-
}) => /* @__PURE__ */
|
|
3736
|
+
}) => /* @__PURE__ */ C(
|
|
3651
3737
|
"svg",
|
|
3652
3738
|
{
|
|
3653
3739
|
width: i,
|
|
@@ -3674,13 +3760,13 @@ const le = ({
|
|
|
3674
3760
|
)
|
|
3675
3761
|
]
|
|
3676
3762
|
}
|
|
3677
|
-
),
|
|
3763
|
+
), De = ({
|
|
3678
3764
|
width: i = 20,
|
|
3679
3765
|
height: e = 20,
|
|
3680
|
-
color: t =
|
|
3766
|
+
color: t = k.GREY_DARK_5,
|
|
3681
3767
|
className: n,
|
|
3682
3768
|
onClick: s
|
|
3683
|
-
}) => /* @__PURE__ */
|
|
3769
|
+
}) => /* @__PURE__ */ C(
|
|
3684
3770
|
"svg",
|
|
3685
3771
|
{
|
|
3686
3772
|
width: i,
|
|
@@ -3707,13 +3793,13 @@ const le = ({
|
|
|
3707
3793
|
)
|
|
3708
3794
|
]
|
|
3709
3795
|
}
|
|
3710
|
-
),
|
|
3796
|
+
), Ke = ({
|
|
3711
3797
|
width: i = 20,
|
|
3712
3798
|
height: e = 20,
|
|
3713
3799
|
color: t = "#070739",
|
|
3714
3800
|
className: n,
|
|
3715
3801
|
onClick: s
|
|
3716
|
-
}) => /* @__PURE__ */
|
|
3802
|
+
}) => /* @__PURE__ */ C(
|
|
3717
3803
|
"svg",
|
|
3718
3804
|
{
|
|
3719
3805
|
width: i,
|
|
@@ -3737,13 +3823,13 @@ const le = ({
|
|
|
3737
3823
|
/* @__PURE__ */ r("circle", { cx: "10", cy: "10", r: "2.375", stroke: t, strokeWidth: "1.25" })
|
|
3738
3824
|
]
|
|
3739
3825
|
}
|
|
3740
|
-
),
|
|
3826
|
+
), Be = ({
|
|
3741
3827
|
width: i = 20,
|
|
3742
3828
|
height: e = 20,
|
|
3743
3829
|
color: t = "#070739",
|
|
3744
3830
|
className: n,
|
|
3745
3831
|
onClick: s
|
|
3746
|
-
}) => /* @__PURE__ */
|
|
3832
|
+
}) => /* @__PURE__ */ C(
|
|
3747
3833
|
"svg",
|
|
3748
3834
|
{
|
|
3749
3835
|
width: i,
|
|
@@ -3775,7 +3861,7 @@ const le = ({
|
|
|
3775
3861
|
)
|
|
3776
3862
|
]
|
|
3777
3863
|
}
|
|
3778
|
-
),
|
|
3864
|
+
), Ye = ({
|
|
3779
3865
|
width: i = 9,
|
|
3780
3866
|
height: e = 5,
|
|
3781
3867
|
color: t = "#001E52",
|
|
@@ -3801,13 +3887,13 @@ const le = ({
|
|
|
3801
3887
|
}
|
|
3802
3888
|
)
|
|
3803
3889
|
}
|
|
3804
|
-
),
|
|
3890
|
+
), Pe = ({
|
|
3805
3891
|
width: i = 20,
|
|
3806
3892
|
height: e = 20,
|
|
3807
3893
|
color: t = "#F2F2F7",
|
|
3808
3894
|
className: n,
|
|
3809
3895
|
onClick: s
|
|
3810
|
-
}) => /* @__PURE__ */
|
|
3896
|
+
}) => /* @__PURE__ */ C(
|
|
3811
3897
|
"svg",
|
|
3812
3898
|
{
|
|
3813
3899
|
width: i,
|
|
@@ -3830,13 +3916,13 @@ const le = ({
|
|
|
3830
3916
|
)
|
|
3831
3917
|
]
|
|
3832
3918
|
}
|
|
3833
|
-
),
|
|
3919
|
+
), je = ({
|
|
3834
3920
|
width: i = 20,
|
|
3835
3921
|
height: e = 20,
|
|
3836
3922
|
color: t = "#004ED7",
|
|
3837
3923
|
className: n,
|
|
3838
3924
|
onClick: s
|
|
3839
|
-
}) => /* @__PURE__ */
|
|
3925
|
+
}) => /* @__PURE__ */ C(
|
|
3840
3926
|
"svg",
|
|
3841
3927
|
{
|
|
3842
3928
|
width: i,
|
|
@@ -3859,13 +3945,13 @@ const le = ({
|
|
|
3859
3945
|
)
|
|
3860
3946
|
]
|
|
3861
3947
|
}
|
|
3862
|
-
),
|
|
3948
|
+
), $e = ({
|
|
3863
3949
|
width: i = 10,
|
|
3864
3950
|
height: e = 10,
|
|
3865
3951
|
color: t = "#001E52",
|
|
3866
3952
|
className: n,
|
|
3867
3953
|
onClick: s
|
|
3868
|
-
}) => /* @__PURE__ */
|
|
3954
|
+
}) => /* @__PURE__ */ C(
|
|
3869
3955
|
"svg",
|
|
3870
3956
|
{
|
|
3871
3957
|
width: i,
|
|
@@ -3888,13 +3974,13 @@ const le = ({
|
|
|
3888
3974
|
)
|
|
3889
3975
|
]
|
|
3890
3976
|
}
|
|
3891
|
-
),
|
|
3977
|
+
), Fe = ({
|
|
3892
3978
|
width: i = 10,
|
|
3893
3979
|
height: e = 10,
|
|
3894
3980
|
color: t = "#001E52",
|
|
3895
3981
|
className: n,
|
|
3896
3982
|
onClick: s
|
|
3897
|
-
}) => /* @__PURE__ */
|
|
3983
|
+
}) => /* @__PURE__ */ C(
|
|
3898
3984
|
"svg",
|
|
3899
3985
|
{
|
|
3900
3986
|
width: i,
|
|
@@ -3925,13 +4011,13 @@ const le = ({
|
|
|
3925
4011
|
)
|
|
3926
4012
|
]
|
|
3927
4013
|
}
|
|
3928
|
-
),
|
|
4014
|
+
), We = ({
|
|
3929
4015
|
className: i,
|
|
3930
|
-
color: e =
|
|
4016
|
+
color: e = k.GREY_DARK_5,
|
|
3931
4017
|
height: t = 20,
|
|
3932
4018
|
width: n = 20,
|
|
3933
4019
|
onClick: s
|
|
3934
|
-
}) => /* @__PURE__ */
|
|
4020
|
+
}) => /* @__PURE__ */ C(
|
|
3935
4021
|
"svg",
|
|
3936
4022
|
{
|
|
3937
4023
|
width: n,
|
|
@@ -3958,9 +4044,9 @@ const le = ({
|
|
|
3958
4044
|
)
|
|
3959
4045
|
]
|
|
3960
4046
|
}
|
|
3961
|
-
),
|
|
4047
|
+
), Ue = ({
|
|
3962
4048
|
className: i,
|
|
3963
|
-
color: e =
|
|
4049
|
+
color: e = k.GREY_DARK_5,
|
|
3964
4050
|
height: t = 20,
|
|
3965
4051
|
width: n = 20,
|
|
3966
4052
|
onClick: s
|
|
@@ -3985,9 +4071,9 @@ const le = ({
|
|
|
3985
4071
|
}
|
|
3986
4072
|
)
|
|
3987
4073
|
}
|
|
3988
|
-
),
|
|
4074
|
+
), ze = ({
|
|
3989
4075
|
className: i,
|
|
3990
|
-
color: e =
|
|
4076
|
+
color: e = k.GREY_DARK_5,
|
|
3991
4077
|
height: t = 20,
|
|
3992
4078
|
width: n = 20,
|
|
3993
4079
|
onClick: s
|
|
@@ -4012,9 +4098,9 @@ const le = ({
|
|
|
4012
4098
|
}
|
|
4013
4099
|
)
|
|
4014
4100
|
}
|
|
4015
|
-
),
|
|
4101
|
+
), Je = ({
|
|
4016
4102
|
className: i,
|
|
4017
|
-
color: e =
|
|
4103
|
+
color: e = k.GREY_DARK_5,
|
|
4018
4104
|
height: t = 5,
|
|
4019
4105
|
width: n = 10,
|
|
4020
4106
|
onClick: s
|
|
@@ -4036,9 +4122,9 @@ const le = ({
|
|
|
4036
4122
|
}
|
|
4037
4123
|
)
|
|
4038
4124
|
}
|
|
4039
|
-
),
|
|
4125
|
+
), Qe = ({
|
|
4040
4126
|
className: i,
|
|
4041
|
-
color: e =
|
|
4127
|
+
color: e = k.GREY_DARK_5,
|
|
4042
4128
|
height: t = 5,
|
|
4043
4129
|
width: n = 10,
|
|
4044
4130
|
onClick: s
|
|
@@ -4061,13 +4147,13 @@ const le = ({
|
|
|
4061
4147
|
}
|
|
4062
4148
|
)
|
|
4063
4149
|
}
|
|
4064
|
-
),
|
|
4150
|
+
), qe = ({
|
|
4065
4151
|
className: i,
|
|
4066
|
-
color: e =
|
|
4152
|
+
color: e = k.GREY_DARK_5,
|
|
4067
4153
|
height: t = 20,
|
|
4068
4154
|
width: n = 20,
|
|
4069
4155
|
onClick: s
|
|
4070
|
-
}) => /* @__PURE__ */
|
|
4156
|
+
}) => /* @__PURE__ */ C(
|
|
4071
4157
|
"svg",
|
|
4072
4158
|
{
|
|
4073
4159
|
width: n,
|
|
@@ -4094,13 +4180,13 @@ const le = ({
|
|
|
4094
4180
|
)
|
|
4095
4181
|
]
|
|
4096
4182
|
}
|
|
4097
|
-
),
|
|
4183
|
+
), Xe = ({
|
|
4098
4184
|
className: i,
|
|
4099
|
-
color: e =
|
|
4185
|
+
color: e = k.GREY_DARK_5,
|
|
4100
4186
|
height: t = 24,
|
|
4101
4187
|
width: n = 24,
|
|
4102
4188
|
onClick: s
|
|
4103
|
-
}) => /* @__PURE__ */
|
|
4189
|
+
}) => /* @__PURE__ */ C(
|
|
4104
4190
|
"svg",
|
|
4105
4191
|
{
|
|
4106
4192
|
width: n,
|
|
@@ -4133,9 +4219,9 @@ const le = ({
|
|
|
4133
4219
|
)
|
|
4134
4220
|
]
|
|
4135
4221
|
}
|
|
4136
|
-
),
|
|
4222
|
+
), e7 = ({
|
|
4137
4223
|
className: i,
|
|
4138
|
-
color: e =
|
|
4224
|
+
color: e = k.GREY_DARK_5,
|
|
4139
4225
|
height: t = 24,
|
|
4140
4226
|
width: n = 24,
|
|
4141
4227
|
onClick: s
|
|
@@ -4160,13 +4246,13 @@ const le = ({
|
|
|
4160
4246
|
}
|
|
4161
4247
|
)
|
|
4162
4248
|
}
|
|
4163
|
-
),
|
|
4249
|
+
), t7 = ({
|
|
4164
4250
|
className: i,
|
|
4165
|
-
color: e =
|
|
4251
|
+
color: e = k.GREY_DARK_5,
|
|
4166
4252
|
height: t = 24,
|
|
4167
4253
|
width: n = 24,
|
|
4168
4254
|
onClick: s
|
|
4169
|
-
}) => /* @__PURE__ */
|
|
4255
|
+
}) => /* @__PURE__ */ C(
|
|
4170
4256
|
"svg",
|
|
4171
4257
|
{
|
|
4172
4258
|
width: n,
|
|
@@ -4219,13 +4305,13 @@ const le = ({
|
|
|
4219
4305
|
)
|
|
4220
4306
|
]
|
|
4221
4307
|
}
|
|
4222
|
-
),
|
|
4308
|
+
), i7 = ({
|
|
4223
4309
|
className: i,
|
|
4224
|
-
color: e =
|
|
4310
|
+
color: e = k.GREY_DARK_5,
|
|
4225
4311
|
height: t = 24,
|
|
4226
4312
|
width: n = 24,
|
|
4227
4313
|
onClick: s
|
|
4228
|
-
}) => /* @__PURE__ */
|
|
4314
|
+
}) => /* @__PURE__ */ C(
|
|
4229
4315
|
"svg",
|
|
4230
4316
|
{
|
|
4231
4317
|
width: n,
|
|
@@ -4256,13 +4342,13 @@ const le = ({
|
|
|
4256
4342
|
)
|
|
4257
4343
|
]
|
|
4258
4344
|
}
|
|
4259
|
-
),
|
|
4345
|
+
), n7 = ({
|
|
4260
4346
|
className: i,
|
|
4261
|
-
color: e =
|
|
4347
|
+
color: e = k.GREY_DARK_3,
|
|
4262
4348
|
height: t = 14,
|
|
4263
4349
|
width: n = 14,
|
|
4264
4350
|
onClick: s
|
|
4265
|
-
}) => /* @__PURE__ */
|
|
4351
|
+
}) => /* @__PURE__ */ C(
|
|
4266
4352
|
"svg",
|
|
4267
4353
|
{
|
|
4268
4354
|
className: i,
|
|
@@ -4293,9 +4379,9 @@ const le = ({
|
|
|
4293
4379
|
)
|
|
4294
4380
|
]
|
|
4295
4381
|
}
|
|
4296
|
-
),
|
|
4382
|
+
), s7 = ({
|
|
4297
4383
|
className: i,
|
|
4298
|
-
color: e =
|
|
4384
|
+
color: e = k.GREY_DARK_5,
|
|
4299
4385
|
height: t = 18,
|
|
4300
4386
|
onClick: n,
|
|
4301
4387
|
width: s = 18
|
|
@@ -4320,13 +4406,13 @@ const le = ({
|
|
|
4320
4406
|
}
|
|
4321
4407
|
)
|
|
4322
4408
|
}
|
|
4323
|
-
),
|
|
4409
|
+
), r7 = ({
|
|
4324
4410
|
className: i,
|
|
4325
|
-
color: e =
|
|
4411
|
+
color: e = k.GREY_DARK_5,
|
|
4326
4412
|
height: t = 24,
|
|
4327
4413
|
width: n = 24,
|
|
4328
4414
|
onClick: s
|
|
4329
|
-
}) => /* @__PURE__ */
|
|
4415
|
+
}) => /* @__PURE__ */ C(
|
|
4330
4416
|
"svg",
|
|
4331
4417
|
{
|
|
4332
4418
|
onClick: s,
|
|
@@ -4372,13 +4458,13 @@ const le = ({
|
|
|
4372
4458
|
)
|
|
4373
4459
|
]
|
|
4374
4460
|
}
|
|
4375
|
-
),
|
|
4461
|
+
), o7 = ({
|
|
4376
4462
|
className: i,
|
|
4377
|
-
color: e =
|
|
4463
|
+
color: e = k.GREY_DARK_5,
|
|
4378
4464
|
height: t = 24,
|
|
4379
4465
|
width: n = 24,
|
|
4380
4466
|
onClick: s
|
|
4381
|
-
}) => /* @__PURE__ */
|
|
4467
|
+
}) => /* @__PURE__ */ C(
|
|
4382
4468
|
"svg",
|
|
4383
4469
|
{
|
|
4384
4470
|
onClick: s,
|
|
@@ -4409,13 +4495,13 @@ const le = ({
|
|
|
4409
4495
|
)
|
|
4410
4496
|
]
|
|
4411
4497
|
}
|
|
4412
|
-
),
|
|
4498
|
+
), a7 = ({
|
|
4413
4499
|
className: i,
|
|
4414
|
-
color: e =
|
|
4500
|
+
color: e = k.NOTIFICATION_WARNING_DARK,
|
|
4415
4501
|
height: t = 37,
|
|
4416
4502
|
width: n = 36,
|
|
4417
4503
|
onClick: s
|
|
4418
|
-
}) => /* @__PURE__ */
|
|
4504
|
+
}) => /* @__PURE__ */ C(
|
|
4419
4505
|
"svg",
|
|
4420
4506
|
{
|
|
4421
4507
|
onClick: s,
|
|
@@ -4448,9 +4534,9 @@ const le = ({
|
|
|
4448
4534
|
)
|
|
4449
4535
|
]
|
|
4450
4536
|
}
|
|
4451
|
-
),
|
|
4537
|
+
), l7 = ({
|
|
4452
4538
|
className: i,
|
|
4453
|
-
color: e =
|
|
4539
|
+
color: e = k.GREY_DARK_5,
|
|
4454
4540
|
height: t = 24,
|
|
4455
4541
|
width: n = 24,
|
|
4456
4542
|
onClick: s
|
|
@@ -4474,13 +4560,13 @@ const le = ({
|
|
|
4474
4560
|
}
|
|
4475
4561
|
)
|
|
4476
4562
|
}
|
|
4477
|
-
),
|
|
4563
|
+
), h7 = ({
|
|
4478
4564
|
className: i,
|
|
4479
|
-
color: e =
|
|
4565
|
+
color: e = k.GREY_DARK_5,
|
|
4480
4566
|
height: t = 24,
|
|
4481
4567
|
width: n = 24,
|
|
4482
4568
|
onClick: s
|
|
4483
|
-
}) => /* @__PURE__ */
|
|
4569
|
+
}) => /* @__PURE__ */ C(
|
|
4484
4570
|
"svg",
|
|
4485
4571
|
{
|
|
4486
4572
|
onClick: s,
|
|
@@ -4513,13 +4599,13 @@ const le = ({
|
|
|
4513
4599
|
)
|
|
4514
4600
|
]
|
|
4515
4601
|
}
|
|
4516
|
-
),
|
|
4602
|
+
), c7 = ({
|
|
4517
4603
|
className: i,
|
|
4518
|
-
color: e =
|
|
4604
|
+
color: e = k.GREY_DARK_5,
|
|
4519
4605
|
height: t = 20,
|
|
4520
4606
|
width: n = 20,
|
|
4521
4607
|
onClick: s
|
|
4522
|
-
}) => /* @__PURE__ */
|
|
4608
|
+
}) => /* @__PURE__ */ C(
|
|
4523
4609
|
"svg",
|
|
4524
4610
|
{
|
|
4525
4611
|
onClick: s,
|
|
@@ -4546,13 +4632,13 @@ const le = ({
|
|
|
4546
4632
|
)
|
|
4547
4633
|
]
|
|
4548
4634
|
}
|
|
4549
|
-
),
|
|
4635
|
+
), d7 = ({
|
|
4550
4636
|
className: i,
|
|
4551
|
-
color: e =
|
|
4637
|
+
color: e = k.GREY_DARK_5,
|
|
4552
4638
|
height: t = 24,
|
|
4553
4639
|
width: n = 24,
|
|
4554
4640
|
onClick: s
|
|
4555
|
-
}) => /* @__PURE__ */
|
|
4641
|
+
}) => /* @__PURE__ */ C(
|
|
4556
4642
|
"svg",
|
|
4557
4643
|
{
|
|
4558
4644
|
onClick: s,
|
|
@@ -4615,13 +4701,13 @@ const le = ({
|
|
|
4615
4701
|
)
|
|
4616
4702
|
]
|
|
4617
4703
|
}
|
|
4618
|
-
),
|
|
4704
|
+
), g7 = ({
|
|
4619
4705
|
className: i,
|
|
4620
|
-
color: e =
|
|
4706
|
+
color: e = k.GREY_DARK_5,
|
|
4621
4707
|
height: t = 24,
|
|
4622
4708
|
width: n = 24,
|
|
4623
4709
|
onClick: s
|
|
4624
|
-
}) => /* @__PURE__ */
|
|
4710
|
+
}) => /* @__PURE__ */ C(
|
|
4625
4711
|
"svg",
|
|
4626
4712
|
{
|
|
4627
4713
|
onClick: s,
|
|
@@ -4672,13 +4758,13 @@ const le = ({
|
|
|
4672
4758
|
)
|
|
4673
4759
|
]
|
|
4674
4760
|
}
|
|
4675
|
-
),
|
|
4761
|
+
), C7 = ({
|
|
4676
4762
|
className: i,
|
|
4677
|
-
color: e =
|
|
4763
|
+
color: e = k.GREY_DARK_5,
|
|
4678
4764
|
height: t = 24,
|
|
4679
4765
|
width: n = 24,
|
|
4680
4766
|
onClick: s
|
|
4681
|
-
}) => /* @__PURE__ */
|
|
4767
|
+
}) => /* @__PURE__ */ C(
|
|
4682
4768
|
"svg",
|
|
4683
4769
|
{
|
|
4684
4770
|
onClick: s,
|
|
@@ -4721,9 +4807,9 @@ const le = ({
|
|
|
4721
4807
|
)
|
|
4722
4808
|
]
|
|
4723
4809
|
}
|
|
4724
|
-
),
|
|
4810
|
+
), u7 = ({
|
|
4725
4811
|
className: i,
|
|
4726
|
-
color: e =
|
|
4812
|
+
color: e = k.GREY_DARK_5,
|
|
4727
4813
|
height: t = 24,
|
|
4728
4814
|
width: n = 24,
|
|
4729
4815
|
onClick: s
|
|
@@ -4748,13 +4834,13 @@ const le = ({
|
|
|
4748
4834
|
}
|
|
4749
4835
|
)
|
|
4750
4836
|
}
|
|
4751
|
-
),
|
|
4837
|
+
), p7 = ({
|
|
4752
4838
|
className: i,
|
|
4753
|
-
color: e =
|
|
4839
|
+
color: e = k.GREY_DARK_5,
|
|
4754
4840
|
height: t = 20,
|
|
4755
4841
|
width: n = 20,
|
|
4756
4842
|
onClick: s
|
|
4757
|
-
}) => /* @__PURE__ */
|
|
4843
|
+
}) => /* @__PURE__ */ C(
|
|
4758
4844
|
"svg",
|
|
4759
4845
|
{
|
|
4760
4846
|
onClick: s,
|
|
@@ -4765,7 +4851,7 @@ const le = ({
|
|
|
4765
4851
|
fill: "none",
|
|
4766
4852
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4767
4853
|
children: [
|
|
4768
|
-
/* @__PURE__ */ r("rect", { width: "20", height: "20", rx: "4", fill:
|
|
4854
|
+
/* @__PURE__ */ r("rect", { width: "20", height: "20", rx: "4", fill: k.GREY_LIGHT_2 }),
|
|
4769
4855
|
/* @__PURE__ */ r(
|
|
4770
4856
|
"path",
|
|
4771
4857
|
{
|
|
@@ -4777,7 +4863,7 @@ const le = ({
|
|
|
4777
4863
|
)
|
|
4778
4864
|
]
|
|
4779
4865
|
}
|
|
4780
|
-
),
|
|
4866
|
+
), f7 = ({
|
|
4781
4867
|
className: i,
|
|
4782
4868
|
color: e = "#001E52",
|
|
4783
4869
|
height: t = 24,
|
|
@@ -4803,7 +4889,7 @@ const le = ({
|
|
|
4803
4889
|
}
|
|
4804
4890
|
)
|
|
4805
4891
|
}
|
|
4806
|
-
),
|
|
4892
|
+
), m7 = ({
|
|
4807
4893
|
className: i,
|
|
4808
4894
|
color: e = "#001E52",
|
|
4809
4895
|
height: t = 24,
|
|
@@ -4820,7 +4906,7 @@ const le = ({
|
|
|
4820
4906
|
version: "1.1",
|
|
4821
4907
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4822
4908
|
viewBox: "0 0 489.698 489.698",
|
|
4823
|
-
children: /* @__PURE__ */ r("g", { children: /* @__PURE__ */
|
|
4909
|
+
children: /* @__PURE__ */ r("g", { children: /* @__PURE__ */ C("g", { children: [
|
|
4824
4910
|
/* @__PURE__ */ r(
|
|
4825
4911
|
"path",
|
|
4826
4912
|
{
|
|
@@ -4841,10 +4927,10 @@ const le = ({
|
|
|
4841
4927
|
)
|
|
4842
4928
|
] }) })
|
|
4843
4929
|
}
|
|
4844
|
-
),
|
|
4930
|
+
), w7 = ({
|
|
4845
4931
|
width: i = 20,
|
|
4846
4932
|
height: e = 20,
|
|
4847
|
-
color: t =
|
|
4933
|
+
color: t = k.GREY_DARK_5,
|
|
4848
4934
|
className: n,
|
|
4849
4935
|
onClick: s
|
|
4850
4936
|
}) => /* @__PURE__ */ r(
|
|
@@ -4865,13 +4951,13 @@ const le = ({
|
|
|
4865
4951
|
}
|
|
4866
4952
|
)
|
|
4867
4953
|
}
|
|
4868
|
-
),
|
|
4954
|
+
), L7 = ({
|
|
4869
4955
|
width: i = 24,
|
|
4870
4956
|
height: e = 24,
|
|
4871
4957
|
color: t = "#131314",
|
|
4872
4958
|
className: n,
|
|
4873
4959
|
onClick: s
|
|
4874
|
-
}) => /* @__PURE__ */
|
|
4960
|
+
}) => /* @__PURE__ */ C(
|
|
4875
4961
|
"svg",
|
|
4876
4962
|
{
|
|
4877
4963
|
width: i,
|
|
@@ -4898,13 +4984,13 @@ const le = ({
|
|
|
4898
4984
|
)
|
|
4899
4985
|
]
|
|
4900
4986
|
}
|
|
4901
|
-
),
|
|
4987
|
+
), k7 = ({
|
|
4902
4988
|
width: i = 20,
|
|
4903
4989
|
height: e = 20,
|
|
4904
|
-
color: t =
|
|
4990
|
+
color: t = k.GREY_DARK_5,
|
|
4905
4991
|
className: n,
|
|
4906
4992
|
onClick: s
|
|
4907
|
-
}) => /* @__PURE__ */
|
|
4993
|
+
}) => /* @__PURE__ */ C(
|
|
4908
4994
|
"svg",
|
|
4909
4995
|
{
|
|
4910
4996
|
width: i,
|
|
@@ -4931,13 +5017,13 @@ const le = ({
|
|
|
4931
5017
|
)
|
|
4932
5018
|
]
|
|
4933
5019
|
}
|
|
4934
|
-
),
|
|
5020
|
+
), v7 = ({
|
|
4935
5021
|
width: i = 24,
|
|
4936
5022
|
height: e = 24,
|
|
4937
|
-
color: t =
|
|
5023
|
+
color: t = k.GREY_DARK_2,
|
|
4938
5024
|
className: n,
|
|
4939
5025
|
onClick: s
|
|
4940
|
-
}) => /* @__PURE__ */
|
|
5026
|
+
}) => /* @__PURE__ */ C(
|
|
4941
5027
|
"svg",
|
|
4942
5028
|
{
|
|
4943
5029
|
width: i,
|
|
@@ -4971,10 +5057,10 @@ const le = ({
|
|
|
4971
5057
|
)
|
|
4972
5058
|
]
|
|
4973
5059
|
}
|
|
4974
|
-
),
|
|
5060
|
+
), N7 = ({
|
|
4975
5061
|
width: i = 24,
|
|
4976
5062
|
height: e = 24,
|
|
4977
|
-
color: t =
|
|
5063
|
+
color: t = k.GREY_DARK_2,
|
|
4978
5064
|
className: n,
|
|
4979
5065
|
onClick: s
|
|
4980
5066
|
}) => /* @__PURE__ */ r(
|
|
@@ -4998,10 +5084,10 @@ const le = ({
|
|
|
4998
5084
|
}
|
|
4999
5085
|
)
|
|
5000
5086
|
}
|
|
5001
|
-
),
|
|
5087
|
+
), R7 = ({
|
|
5002
5088
|
width: i = 24,
|
|
5003
5089
|
height: e = 24,
|
|
5004
|
-
color: t =
|
|
5090
|
+
color: t = k.GREY_DARK_2,
|
|
5005
5091
|
className: n,
|
|
5006
5092
|
onClick: s
|
|
5007
5093
|
}) => /* @__PURE__ */ r(
|
|
@@ -5025,7 +5111,7 @@ const le = ({
|
|
|
5025
5111
|
}
|
|
5026
5112
|
)
|
|
5027
5113
|
}
|
|
5028
|
-
),
|
|
5114
|
+
), x7 = ({
|
|
5029
5115
|
name: i,
|
|
5030
5116
|
width: e,
|
|
5031
5117
|
height: t,
|
|
@@ -5034,39 +5120,39 @@ const le = ({
|
|
|
5034
5120
|
disabled: o = !1,
|
|
5035
5121
|
onClick: c
|
|
5036
5122
|
}) => {
|
|
5037
|
-
const { theme: d } = Q(
|
|
5123
|
+
const { theme: d } = Q(n2), l = o ? d && d === "dark" ? k.GREY_LIGHT_4 : k.GREY_DARK_1 : n, a = o ? void 0 : c, h = c && !o ? `${s || ""} clickable` : s;
|
|
5038
5124
|
return /* @__PURE__ */ r(U, { children: (() => {
|
|
5039
5125
|
switch (i) {
|
|
5040
5126
|
case "nextIcon":
|
|
5041
|
-
return
|
|
5127
|
+
return Ue({ width: e, height: t, color: l, className: h, onClick: a });
|
|
5042
5128
|
case "prevIcon":
|
|
5043
|
-
return
|
|
5129
|
+
return ze({ width: e, height: t, color: l, className: h, onClick: a });
|
|
5044
5130
|
case "arrowDown":
|
|
5045
|
-
return
|
|
5131
|
+
return ue({ width: e, height: t, color: l, className: h, onClick: a });
|
|
5046
5132
|
case "info":
|
|
5047
|
-
return
|
|
5133
|
+
return pe({ width: e, height: t, color: l, className: h, onClick: a });
|
|
5048
5134
|
case "arrowRight":
|
|
5049
|
-
return
|
|
5135
|
+
return fe({ width: e, height: t, color: l, className: h, onClick: a });
|
|
5050
5136
|
case "calendar":
|
|
5051
|
-
return
|
|
5137
|
+
return ve({ width: e, height: t, color: l, className: h, onClick: a });
|
|
5052
5138
|
case "check":
|
|
5053
|
-
return
|
|
5139
|
+
return Ne({ width: e, height: t, color: l, className: h, onClick: a });
|
|
5054
5140
|
case "cancel":
|
|
5055
|
-
return
|
|
5141
|
+
return Re({ width: e, height: t, color: l, className: h, onClick: a });
|
|
5056
5142
|
case "add":
|
|
5057
|
-
return
|
|
5143
|
+
return xe({ width: e, height: t, color: l, className: h, onClick: a });
|
|
5058
5144
|
case "list":
|
|
5059
|
-
return
|
|
5145
|
+
return _e({ width: e, height: t, color: l, className: h, onClick: a });
|
|
5060
5146
|
case "dragAndDrop":
|
|
5061
|
-
return
|
|
5147
|
+
return Me({ width: e, height: t, color: l, className: h, onClick: a });
|
|
5062
5148
|
case "filter":
|
|
5063
|
-
return
|
|
5149
|
+
return be({ width: e, height: t, color: l, className: h, onClick: a });
|
|
5064
5150
|
case "attention":
|
|
5065
|
-
return
|
|
5151
|
+
return ye({ width: e, height: t, color: l, className: h, onClick: a });
|
|
5066
5152
|
case "users":
|
|
5067
|
-
return
|
|
5153
|
+
return Ee({ width: e, height: t, color: l, className: h, onClick: a });
|
|
5068
5154
|
case "mySkillsMatrix":
|
|
5069
|
-
return
|
|
5155
|
+
return He({
|
|
5070
5156
|
width: e,
|
|
5071
5157
|
height: t,
|
|
5072
5158
|
color: l,
|
|
@@ -5074,9 +5160,9 @@ const le = ({
|
|
|
5074
5160
|
onClick: a
|
|
5075
5161
|
});
|
|
5076
5162
|
case "skills":
|
|
5077
|
-
return
|
|
5163
|
+
return Ae({ width: e, height: t, color: l, className: h, onClick: a });
|
|
5078
5164
|
case "skillsMatrices":
|
|
5079
|
-
return
|
|
5165
|
+
return Ie({
|
|
5080
5166
|
width: e,
|
|
5081
5167
|
height: t,
|
|
5082
5168
|
color: l,
|
|
@@ -5084,21 +5170,21 @@ const le = ({
|
|
|
5084
5170
|
onClick: a
|
|
5085
5171
|
});
|
|
5086
5172
|
case "history":
|
|
5087
|
-
return
|
|
5173
|
+
return Ve({ width: e, height: t, color: l, className: h, onClick: a });
|
|
5088
5174
|
case "logOut":
|
|
5089
|
-
return
|
|
5175
|
+
return Oe({ width: e, height: t, color: l, className: h, onClick: a });
|
|
5090
5176
|
case "settings":
|
|
5091
|
-
return
|
|
5177
|
+
return Ge({ width: e, height: t, color: l, className: h, onClick: a });
|
|
5092
5178
|
case "trash":
|
|
5093
|
-
return
|
|
5179
|
+
return Ze({ width: e, height: t, color: l, className: h, onClick: a });
|
|
5094
5180
|
case "settings2":
|
|
5095
|
-
return
|
|
5181
|
+
return Se({ width: e, height: t, color: l, className: h, onClick: a });
|
|
5096
5182
|
case "checkCircle":
|
|
5097
|
-
return
|
|
5183
|
+
return Te({ width: e, height: t, color: l, className: h, onClick: a });
|
|
5098
5184
|
case "cancelCircle":
|
|
5099
|
-
return
|
|
5185
|
+
return De({ width: e, height: t, color: l, className: h, onClick: a });
|
|
5100
5186
|
case "visibilityIcon":
|
|
5101
|
-
return
|
|
5187
|
+
return Ke({
|
|
5102
5188
|
width: e,
|
|
5103
5189
|
height: t,
|
|
5104
5190
|
color: l,
|
|
@@ -5106,7 +5192,7 @@ const le = ({
|
|
|
5106
5192
|
onClick: a
|
|
5107
5193
|
});
|
|
5108
5194
|
case "visibilityOffIcon":
|
|
5109
|
-
return
|
|
5195
|
+
return Be({
|
|
5110
5196
|
width: e,
|
|
5111
5197
|
height: t,
|
|
5112
5198
|
color: l,
|
|
@@ -5114,7 +5200,7 @@ const le = ({
|
|
|
5114
5200
|
onClick: a
|
|
5115
5201
|
});
|
|
5116
5202
|
case "selectArrowIcon":
|
|
5117
|
-
return
|
|
5203
|
+
return Ye({
|
|
5118
5204
|
width: e,
|
|
5119
5205
|
height: t,
|
|
5120
5206
|
color: l,
|
|
@@ -5122,7 +5208,7 @@ const le = ({
|
|
|
5122
5208
|
onClick: a
|
|
5123
5209
|
});
|
|
5124
5210
|
case "expandArrowIcon":
|
|
5125
|
-
return
|
|
5211
|
+
return Pe({
|
|
5126
5212
|
width: e,
|
|
5127
5213
|
height: t,
|
|
5128
5214
|
color: l,
|
|
@@ -5130,7 +5216,7 @@ const le = ({
|
|
|
5130
5216
|
onClick: a
|
|
5131
5217
|
});
|
|
5132
5218
|
case "expandActiveArrowIcon":
|
|
5133
|
-
return
|
|
5219
|
+
return je({
|
|
5134
5220
|
width: e,
|
|
5135
5221
|
height: t,
|
|
5136
5222
|
color: l,
|
|
@@ -5138,87 +5224,87 @@ const le = ({
|
|
|
5138
5224
|
onClick: a
|
|
5139
5225
|
});
|
|
5140
5226
|
case "sortUp":
|
|
5141
|
-
return
|
|
5227
|
+
return $e({ width: e, height: t, color: l, className: h, onClick: a });
|
|
5142
5228
|
case "sortDown":
|
|
5143
|
-
return
|
|
5229
|
+
return Fe({ width: e, height: t, color: l, className: h, onClick: a });
|
|
5144
5230
|
case "search":
|
|
5145
|
-
return
|
|
5231
|
+
return We({ width: e, height: t, color: l, className: h, onClick: a });
|
|
5146
5232
|
case "arrowUpFilled":
|
|
5147
|
-
return
|
|
5233
|
+
return Qe({ width: e, height: t, color: l, className: h, onClick: a });
|
|
5148
5234
|
case "arrowDownFilled":
|
|
5149
|
-
return
|
|
5235
|
+
return Je({ width: e, height: t, color: l, className: h, onClick: a });
|
|
5150
5236
|
case "arrow2Up":
|
|
5151
|
-
return
|
|
5237
|
+
return me({ width: e, height: t, color: l, className: h, onClick: a });
|
|
5152
5238
|
case "arrow2Right":
|
|
5153
|
-
return
|
|
5239
|
+
return we({ width: e, height: t, color: l, className: h, onClick: a });
|
|
5154
5240
|
case "arrow2Down":
|
|
5155
|
-
return
|
|
5241
|
+
return Le({ width: e, height: t, color: l, className: h, onClick: a });
|
|
5156
5242
|
case "arrow2Left":
|
|
5157
|
-
return
|
|
5243
|
+
return ke({ width: e, height: t, color: l, className: h, onClick: a });
|
|
5158
5244
|
case "link":
|
|
5159
|
-
return
|
|
5245
|
+
return qe({ width: e, height: t, color: l, className: h, onClick: a });
|
|
5160
5246
|
case "telegram":
|
|
5161
|
-
return
|
|
5247
|
+
return e7({ width: e, height: t, color: l, className: h, onClick: a });
|
|
5162
5248
|
case "mail":
|
|
5163
|
-
return
|
|
5249
|
+
return i7({ width: e, height: t, color: l, className: h, onClick: a });
|
|
5164
5250
|
case "github":
|
|
5165
|
-
return
|
|
5251
|
+
return Xe({ width: e, height: t, color: l, className: h, onClick: a });
|
|
5166
5252
|
case "linkedIn":
|
|
5167
|
-
return
|
|
5253
|
+
return t7({ width: e, height: t, color: l, className: h, onClick: a });
|
|
5168
5254
|
case "emptyStateIcon":
|
|
5169
|
-
return
|
|
5255
|
+
return n7({ width: e, height: t, color: l, className: h, onClick: a });
|
|
5170
5256
|
case "filtersIcon":
|
|
5171
|
-
return
|
|
5257
|
+
return s7({ width: e, height: t, color: l, className: h, onClick: a });
|
|
5172
5258
|
case "dotMenuIcon":
|
|
5173
|
-
return
|
|
5259
|
+
return r7({ width: e, height: t, color: l, className: h, onClick: a });
|
|
5174
5260
|
case "plusCircle":
|
|
5175
|
-
return
|
|
5261
|
+
return o7({ width: e, height: t, color: l, className: h, onClick: a });
|
|
5176
5262
|
case "warning":
|
|
5177
|
-
return
|
|
5263
|
+
return a7({ width: e, height: t, color: l, className: h, onClick: a });
|
|
5178
5264
|
case "back":
|
|
5179
|
-
return
|
|
5265
|
+
return l7({ width: e, height: t, color: l, className: h, onClick: a });
|
|
5180
5266
|
case "bell":
|
|
5181
|
-
return
|
|
5267
|
+
return h7({ width: e, height: t, color: l, className: h, onClick: a });
|
|
5182
5268
|
case "copy":
|
|
5183
|
-
return
|
|
5269
|
+
return c7({ width: e, height: t, color: l, className: h, onClick: a });
|
|
5184
5270
|
case "contract":
|
|
5185
|
-
return
|
|
5271
|
+
return d7({ width: e, height: t, color: l, className: h, onClick: a });
|
|
5186
5272
|
case "resourceManager":
|
|
5187
|
-
return
|
|
5273
|
+
return g7({ width: e, height: t, color: l, className: h, onClick: a });
|
|
5188
5274
|
case "image":
|
|
5189
|
-
return
|
|
5275
|
+
return C7({ width: e, height: t, color: l, className: h, onClick: a });
|
|
5190
5276
|
case "edit":
|
|
5191
|
-
return
|
|
5277
|
+
return u7({ width: e, height: t, color: l, className: h, onClick: a });
|
|
5192
5278
|
case "filledArrowRight":
|
|
5193
|
-
return
|
|
5279
|
+
return p7({ width: e, height: t, color: l, className: h, onClick: a });
|
|
5194
5280
|
case "burgerMenu":
|
|
5195
|
-
return
|
|
5281
|
+
return f7({ width: e, height: t, color: l, className: h, onClick: a });
|
|
5196
5282
|
case "refresh":
|
|
5197
|
-
return
|
|
5283
|
+
return m7({ width: e, height: t, color: l, className: h, onClick: a });
|
|
5198
5284
|
case "projects":
|
|
5199
|
-
return
|
|
5285
|
+
return w7({ width: e, height: t, color: l, className: h, onClick: a });
|
|
5200
5286
|
case "user":
|
|
5201
|
-
return
|
|
5287
|
+
return k7({ width: e, height: t, color: l, className: h, onClick: a });
|
|
5202
5288
|
case "exit":
|
|
5203
|
-
return
|
|
5289
|
+
return L7({ width: e, height: t, color: l, className: h, onClick: a });
|
|
5204
5290
|
case "openPointCircle":
|
|
5205
|
-
return
|
|
5291
|
+
return v7({ width: e, height: t, color: l, className: h, onClick: a });
|
|
5206
5292
|
case "community":
|
|
5207
|
-
return
|
|
5293
|
+
return N7({ width: e, height: t, color: l, className: h, onClick: a });
|
|
5208
5294
|
case "docs":
|
|
5209
|
-
return
|
|
5295
|
+
return R7({ width: e, height: t, color: l, className: h, onClick: a });
|
|
5210
5296
|
default:
|
|
5211
5297
|
return /* @__PURE__ */ r(U, { children: "No Icon provided" });
|
|
5212
5298
|
}
|
|
5213
5299
|
})() });
|
|
5214
5300
|
};
|
|
5215
|
-
var
|
|
5216
|
-
const
|
|
5301
|
+
var a1 = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", i.GREY_LIGHT_0_5 = "var(--grey-light-0-5)", 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_0_5 = "var(--blue-light-0-5)", 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.CYAN_LIGHT = "var(--cyan-light)", i.CYAN_DARK = "var(--cyan-dark)", i.MAGENTA_LIGHT = "var(--magenta-light)", i.MAGENTA_DARK = "var(--magenta-dark)", i.GOLD_LIGHT = "var(--gold-light)", i.GOLD_DARK = "var(--gold-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))(a1 || {});
|
|
5302
|
+
const _7 = q({
|
|
5217
5303
|
locale: "en",
|
|
5218
5304
|
theme: "light"
|
|
5219
5305
|
});
|
|
5220
|
-
|
|
5221
|
-
const
|
|
5306
|
+
_7.Provider;
|
|
5307
|
+
const s2 = ({
|
|
5222
5308
|
children: i,
|
|
5223
5309
|
width: e,
|
|
5224
5310
|
size: t = "small",
|
|
@@ -5230,14 +5316,14 @@ const i2 = ({
|
|
|
5230
5316
|
o || n == null || n();
|
|
5231
5317
|
};
|
|
5232
5318
|
return /* @__PURE__ */ r(
|
|
5233
|
-
|
|
5319
|
+
w2,
|
|
5234
5320
|
{
|
|
5235
5321
|
className: `snmt-tag ${t} ${o ? "disabled" : ""}`,
|
|
5236
5322
|
closeIcon: /* @__PURE__ */ r(
|
|
5237
|
-
|
|
5323
|
+
x7,
|
|
5238
5324
|
{
|
|
5239
5325
|
name: "cancelCircle",
|
|
5240
|
-
color: o ?
|
|
5326
|
+
color: o ? a1.GREY_DARK_1 : a1.GREY_DARK_2,
|
|
5241
5327
|
width: c,
|
|
5242
5328
|
height: c,
|
|
5243
5329
|
onClick: d
|
|
@@ -5247,21 +5333,21 @@ const i2 = ({
|
|
|
5247
5333
|
style: { width: e ?? "fit-content" },
|
|
5248
5334
|
closable: s,
|
|
5249
5335
|
children: typeof i == "string" ? /* @__PURE__ */ r(
|
|
5250
|
-
|
|
5336
|
+
Ce,
|
|
5251
5337
|
{
|
|
5252
5338
|
variant: t === "small" ? "body4" : "body2",
|
|
5253
|
-
color: o ?
|
|
5339
|
+
color: o ? a1.GREY_DARK_2 : a1.GREY_DARK_5,
|
|
5254
5340
|
children: i
|
|
5255
5341
|
}
|
|
5256
5342
|
) : i
|
|
5257
5343
|
}
|
|
5258
5344
|
);
|
|
5259
|
-
}, { Title:
|
|
5345
|
+
}, { Title: M7, Text: b7 } = L1, y7 = {
|
|
5260
5346
|
h1: 1,
|
|
5261
5347
|
h2: 2,
|
|
5262
5348
|
h3: 3,
|
|
5263
5349
|
h4: 4
|
|
5264
|
-
},
|
|
5350
|
+
}, E7 = i1(
|
|
5265
5351
|
({
|
|
5266
5352
|
align: i = "inherit",
|
|
5267
5353
|
variant: e = "body1",
|
|
@@ -5273,25 +5359,25 @@ const i2 = ({
|
|
|
5273
5359
|
/** This prop allows you to enable tooltip if text size is too big */
|
|
5274
5360
|
trim: d = !1
|
|
5275
5361
|
}, l) => {
|
|
5276
|
-
const a =
|
|
5277
|
-
|
|
5278
|
-
const [h, u] =
|
|
5279
|
-
|
|
5362
|
+
const a = $(null);
|
|
5363
|
+
k1(l, () => a.current);
|
|
5364
|
+
const [h, u] = I(!1);
|
|
5365
|
+
V(() => {
|
|
5280
5366
|
var v;
|
|
5281
5367
|
if (!d) return;
|
|
5282
5368
|
const f = () => {
|
|
5283
5369
|
a.current && u(a.current.scrollWidth > a.current.clientWidth);
|
|
5284
5370
|
};
|
|
5285
5371
|
f();
|
|
5286
|
-
const
|
|
5287
|
-
return a.current &&
|
|
5288
|
-
|
|
5372
|
+
const b = new ResizeObserver(f);
|
|
5373
|
+
return a.current && b.observe(a.current), (v = a.current) != null && v.parentElement && b.observe(a.current.parentElement), () => {
|
|
5374
|
+
b.disconnect();
|
|
5289
5375
|
};
|
|
5290
5376
|
}, [d]);
|
|
5291
|
-
const
|
|
5377
|
+
const g = e === "h1" || e === "h2" || e === "h3" || e === "h4";
|
|
5292
5378
|
let p = `snmt-typography snmt-typography-${e}`;
|
|
5293
5379
|
i && i !== "inherit" && (p += ` snmt-typography-align-${i}`), o && (p += " collapsed");
|
|
5294
|
-
const
|
|
5380
|
+
const m = {
|
|
5295
5381
|
className: p,
|
|
5296
5382
|
style: { color: t, whiteSpace: d ? "nowrap" : c, display: d ? "block" : "" },
|
|
5297
5383
|
onClick: s,
|
|
@@ -5303,9 +5389,9 @@ const i2 = ({
|
|
|
5303
5389
|
}
|
|
5304
5390
|
} : void 0
|
|
5305
5391
|
};
|
|
5306
|
-
return
|
|
5392
|
+
return g ? /* @__PURE__ */ r(M7, { level: y7[e], ...m, children: n }) : /* @__PURE__ */ r(b7, { ...m, children: n });
|
|
5307
5393
|
}
|
|
5308
|
-
),
|
|
5394
|
+
), H7 = ({
|
|
5309
5395
|
children: i,
|
|
5310
5396
|
content: e,
|
|
5311
5397
|
isOpen: t,
|
|
@@ -5314,9 +5400,9 @@ const i2 = ({
|
|
|
5314
5400
|
noPadding: o = !1,
|
|
5315
5401
|
trigger: c = "click"
|
|
5316
5402
|
}) => {
|
|
5317
|
-
const [d, l] =
|
|
5403
|
+
const [d, l] = I(!1);
|
|
5318
5404
|
return /* @__PURE__ */ r(
|
|
5319
|
-
|
|
5405
|
+
N2,
|
|
5320
5406
|
{
|
|
5321
5407
|
content: e,
|
|
5322
5408
|
arrow: !1,
|
|
@@ -5331,18 +5417,18 @@ const i2 = ({
|
|
|
5331
5417
|
}
|
|
5332
5418
|
);
|
|
5333
5419
|
};
|
|
5334
|
-
var
|
|
5420
|
+
var A7 = { exports: {} };
|
|
5335
5421
|
(function(i, e) {
|
|
5336
5422
|
(function(t, n) {
|
|
5337
5423
|
i.exports = n();
|
|
5338
|
-
})(
|
|
5424
|
+
})(M2, function() {
|
|
5339
5425
|
return { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(t) {
|
|
5340
5426
|
var n = ["th", "st", "nd", "rd"], s = t % 100;
|
|
5341
5427
|
return "[" + t + (n[(s - 20) % 10] || n[s] || n[0]) + "]";
|
|
5342
5428
|
} };
|
|
5343
5429
|
});
|
|
5344
|
-
})(
|
|
5345
|
-
const
|
|
5430
|
+
})(A7);
|
|
5431
|
+
const I7 = ({
|
|
5346
5432
|
values: i,
|
|
5347
5433
|
onTagClose: e,
|
|
5348
5434
|
maxWidth: t,
|
|
@@ -5351,29 +5437,29 @@ const M7 = ({
|
|
|
5351
5437
|
options: o,
|
|
5352
5438
|
extraOptions: c
|
|
5353
5439
|
}) => {
|
|
5354
|
-
const { locale: d } = Q(
|
|
5355
|
-
if (
|
|
5440
|
+
const { locale: d } = Q(A1), { t: l } = P2("common", { lng: d }), [a, h] = I(!1);
|
|
5441
|
+
if (V(() => {
|
|
5356
5442
|
i.length || h(!1);
|
|
5357
5443
|
}, [i]), !i.length)
|
|
5358
5444
|
return null;
|
|
5359
|
-
const u = (
|
|
5360
|
-
var p,
|
|
5361
|
-
return ((p = o == null ? void 0 : o.find((f) => f.value ===
|
|
5445
|
+
const u = (g) => {
|
|
5446
|
+
var p, m;
|
|
5447
|
+
return ((p = o == null ? void 0 : o.find((f) => f.value === g)) == null ? void 0 : p.label) || ((m = c == null ? void 0 : c.find((f) => f.value === g)) == null ? void 0 : m.label) || g;
|
|
5362
5448
|
};
|
|
5363
|
-
return /* @__PURE__ */
|
|
5364
|
-
|
|
5449
|
+
return /* @__PURE__ */ C(
|
|
5450
|
+
H7,
|
|
5365
5451
|
{
|
|
5366
5452
|
content: (
|
|
5367
5453
|
// 90: paddings + margins + gaps and so on
|
|
5368
|
-
/* @__PURE__ */ r("div", { style: { maxWidth: t - 90 }, className: "snmt-popover-from-select", children: /* @__PURE__ */ r(
|
|
5369
|
-
|
|
5454
|
+
/* @__PURE__ */ r("div", { style: { maxWidth: t - 90 }, className: "snmt-popover-from-select", children: /* @__PURE__ */ r(o1, { gap: 6, flexWrap: "wrap", children: i.map(({ value: g }) => /* @__PURE__ */ r(
|
|
5455
|
+
s2,
|
|
5370
5456
|
{
|
|
5371
|
-
onClose: () => e(
|
|
5457
|
+
onClose: () => e(g),
|
|
5372
5458
|
closable: n,
|
|
5373
5459
|
disabled: s,
|
|
5374
|
-
children: u(
|
|
5460
|
+
children: u(g)
|
|
5375
5461
|
},
|
|
5376
|
-
|
|
5462
|
+
g
|
|
5377
5463
|
)) }) })
|
|
5378
5464
|
),
|
|
5379
5465
|
placement: "bottomRight",
|
|
@@ -5386,19 +5472,19 @@ const M7 = ({
|
|
|
5386
5472
|
]
|
|
5387
5473
|
}
|
|
5388
5474
|
);
|
|
5389
|
-
},
|
|
5475
|
+
}, V7 = {
|
|
5390
5476
|
small: 20,
|
|
5391
5477
|
medium: 28,
|
|
5392
5478
|
large: 48
|
|
5393
|
-
},
|
|
5394
|
-
const t =
|
|
5479
|
+
}, D1 = ({ size: i = "medium", color: e = "#004ed7" }) => {
|
|
5480
|
+
const t = V7[i], n = `no-repeat linear-gradient(${e}
|
|
5395
5481
|
calc(50% - 10px), #0000 0 calc(50% + 10px), ${e} 0)`, s = {
|
|
5396
5482
|
width: t,
|
|
5397
5483
|
background: `${n} 0% 100%, ${n} 50% 100%, ${n} 100% 100%`,
|
|
5398
5484
|
backgroundSize: "20% calc(200% + 20px)"
|
|
5399
5485
|
};
|
|
5400
5486
|
return /* @__PURE__ */ r("span", { className: "snmt-loader", style: s });
|
|
5401
|
-
},
|
|
5487
|
+
}, O7 = i1(
|
|
5402
5488
|
({
|
|
5403
5489
|
value: i,
|
|
5404
5490
|
onChange: e,
|
|
@@ -5412,197 +5498,204 @@ const M7 = ({
|
|
|
5412
5498
|
clearable: a = !1,
|
|
5413
5499
|
scrollThresholdValue: h = 50,
|
|
5414
5500
|
onSearchChange: u,
|
|
5415
|
-
onDropdownVisibleChange:
|
|
5501
|
+
onDropdownVisibleChange: g,
|
|
5416
5502
|
onScrollToEnd: p,
|
|
5417
|
-
onPopupScroll:
|
|
5503
|
+
onPopupScroll: m,
|
|
5418
5504
|
id: v,
|
|
5419
5505
|
extraOptions: f,
|
|
5420
|
-
dropdownRender:
|
|
5421
|
-
optionRender:
|
|
5422
|
-
isLoading:
|
|
5423
|
-
readOnly:
|
|
5506
|
+
dropdownRender: b,
|
|
5507
|
+
optionRender: y,
|
|
5508
|
+
isLoading: H,
|
|
5509
|
+
readOnly: w,
|
|
5424
5510
|
error: M
|
|
5425
|
-
},
|
|
5426
|
-
const [
|
|
5427
|
-
|
|
5511
|
+
}, x) => {
|
|
5512
|
+
const [_, T] = I(!1), [Y, n1] = I(!1), [F, c1] = I(!0), [A, P] = I(i), W = $(null);
|
|
5513
|
+
V(() => {
|
|
5428
5514
|
P(i);
|
|
5429
5515
|
}, [i]);
|
|
5430
|
-
const
|
|
5431
|
-
|
|
5432
|
-
}, d1 = (
|
|
5433
|
-
var
|
|
5434
|
-
return !!((
|
|
5435
|
-
},
|
|
5436
|
-
|
|
5516
|
+
const X = (N) => {
|
|
5517
|
+
T(N), g && g(N);
|
|
5518
|
+
}, d1 = (N, E) => {
|
|
5519
|
+
var D;
|
|
5520
|
+
return !!((D = E == null ? void 0 : E.label) != null && D.toString().toLowerCase().includes(N.toLowerCase()));
|
|
5521
|
+
}, G = () => {
|
|
5522
|
+
n1(!0);
|
|
5437
5523
|
}, j = () => {
|
|
5438
|
-
|
|
5439
|
-
},
|
|
5440
|
-
(
|
|
5441
|
-
if (P(
|
|
5442
|
-
const
|
|
5443
|
-
e == null || e(
|
|
5524
|
+
n1(!1);
|
|
5525
|
+
}, Z = K(
|
|
5526
|
+
(N) => {
|
|
5527
|
+
if (P(N), n) {
|
|
5528
|
+
const D = N;
|
|
5529
|
+
e == null || e(D);
|
|
5444
5530
|
return;
|
|
5445
5531
|
}
|
|
5446
|
-
const
|
|
5447
|
-
e == null || e(
|
|
5532
|
+
const E = N;
|
|
5533
|
+
e == null || e(E);
|
|
5448
5534
|
},
|
|
5449
5535
|
[n, e]
|
|
5450
|
-
),
|
|
5451
|
-
if (!(
|
|
5536
|
+
), g1 = K(() => {
|
|
5537
|
+
if (!(w || d)) {
|
|
5452
5538
|
if (n) {
|
|
5453
|
-
|
|
5539
|
+
Z([]);
|
|
5454
5540
|
return;
|
|
5455
5541
|
}
|
|
5456
|
-
|
|
5542
|
+
Z("");
|
|
5457
5543
|
}
|
|
5458
|
-
}, [d,
|
|
5459
|
-
(
|
|
5460
|
-
const
|
|
5461
|
-
|
|
5544
|
+
}, [d, Z, n, w]), C1 = K(
|
|
5545
|
+
(N) => {
|
|
5546
|
+
const E = A.filter((D) => D !== N);
|
|
5547
|
+
Z(E), P(E);
|
|
5462
5548
|
},
|
|
5463
|
-
[
|
|
5464
|
-
),
|
|
5465
|
-
(
|
|
5549
|
+
[Z, A]
|
|
5550
|
+
), I1 = K(
|
|
5551
|
+
(N) => (A == null ? void 0 : A.indexOf(N)) === 0 ? (
|
|
5466
5552
|
// if the search input is empty
|
|
5467
5553
|
// then display the placeholder, else do not display it
|
|
5468
|
-
/* @__PURE__ */ r("span", { className: "custom-placeholder", children:
|
|
5554
|
+
/* @__PURE__ */ r("span", { className: "custom-placeholder", children: F ? t : "" })
|
|
5469
5555
|
) : /* @__PURE__ */ r(U, {}),
|
|
5470
|
-
[
|
|
5471
|
-
),
|
|
5472
|
-
|
|
5473
|
-
},
|
|
5474
|
-
const { target:
|
|
5475
|
-
|
|
5476
|
-
},
|
|
5477
|
-
(
|
|
5478
|
-
var
|
|
5479
|
-
return ((
|
|
5480
|
-
(
|
|
5481
|
-
)) == null ? void 0 :
|
|
5556
|
+
[F, A, t]
|
|
5557
|
+
), c2 = (N) => {
|
|
5558
|
+
N.preventDefault(), N.stopPropagation();
|
|
5559
|
+
}, d2 = async (N) => {
|
|
5560
|
+
const { target: E } = N;
|
|
5561
|
+
E.scrollTop + E.offsetHeight >= E.scrollHeight - h && (p == null || p(!0)), m && await m(N);
|
|
5562
|
+
}, N1 = K(
|
|
5563
|
+
(N) => {
|
|
5564
|
+
var E, D;
|
|
5565
|
+
return ((E = o.find((R1) => R1.value === N)) == null ? void 0 : E.label) || ((D = f == null ? void 0 : f.find(
|
|
5566
|
+
(R1) => R1.value === N
|
|
5567
|
+
)) == null ? void 0 : D.label) || N;
|
|
5482
5568
|
},
|
|
5483
5569
|
[f, o]
|
|
5484
|
-
),
|
|
5485
|
-
(
|
|
5486
|
-
var
|
|
5570
|
+
), g2 = K(
|
|
5571
|
+
(N) => {
|
|
5572
|
+
var E;
|
|
5487
5573
|
return /* @__PURE__ */ r(
|
|
5488
|
-
|
|
5574
|
+
I7,
|
|
5489
5575
|
{
|
|
5490
|
-
values:
|
|
5491
|
-
onTagClose:
|
|
5492
|
-
maxWidth: ((
|
|
5576
|
+
values: N,
|
|
5577
|
+
onTagClose: C1,
|
|
5578
|
+
maxWidth: ((E = W.current) == null ? void 0 : E.clientWidth) || 0,
|
|
5493
5579
|
disabled: d,
|
|
5494
|
-
closable: !
|
|
5580
|
+
closable: !w,
|
|
5495
5581
|
options: o,
|
|
5496
5582
|
extraOptions: f
|
|
5497
5583
|
}
|
|
5498
5584
|
);
|
|
5499
5585
|
},
|
|
5500
|
-
[d, f,
|
|
5501
|
-
),
|
|
5502
|
-
({ label:
|
|
5503
|
-
[d,
|
|
5504
|
-
),
|
|
5505
|
-
return /* @__PURE__ */
|
|
5506
|
-
/* @__PURE__ */
|
|
5586
|
+
[d, f, C1, o, w]
|
|
5587
|
+
), C2 = K(
|
|
5588
|
+
({ label: N, value: E, mode: D }) => D === "filter" ? I1(E) : /* @__PURE__ */ r("div", { onMouseDown: c2, className: "tag-wrapper", children: /* @__PURE__ */ r(s2, { onClose: () => C1(E), disabled: d, children: typeof N == "object" ? N : N1(E) }) }),
|
|
5589
|
+
[d, N1, C1, I1]
|
|
5590
|
+
), V1 = Array.isArray(A) && A.length > 0 || !!A && typeof A == "string" && A.trim() !== "";
|
|
5591
|
+
return /* @__PURE__ */ C("div", { className: "snmt-select-container", children: [
|
|
5592
|
+
/* @__PURE__ */ C(
|
|
5507
5593
|
"div",
|
|
5508
5594
|
{
|
|
5509
5595
|
className: `snmt-select-1-15-6 ${Y ? "snmt-select-focused" : ""}
|
|
5510
|
-
${n ? "" : "snmt-select-single"} ${
|
|
5511
|
-
ref:
|
|
5596
|
+
${n ? "" : "snmt-select-single"} ${w ? "snmt-select-read-only" : ""}`,
|
|
5597
|
+
ref: W,
|
|
5512
5598
|
style: { width: c },
|
|
5513
5599
|
children: [
|
|
5514
5600
|
/* @__PURE__ */ r(
|
|
5515
|
-
|
|
5601
|
+
m2,
|
|
5516
5602
|
{
|
|
5517
5603
|
className: "snmt-select-blank",
|
|
5518
|
-
popupClassName:
|
|
5604
|
+
popupClassName: w ? "dropdown-read-only" : "",
|
|
5519
5605
|
id: v,
|
|
5520
|
-
ref:
|
|
5606
|
+
ref: x,
|
|
5521
5607
|
showSearch: !!s,
|
|
5522
5608
|
filterOption: s && d1,
|
|
5523
|
-
onDropdownVisibleChange:
|
|
5609
|
+
onDropdownVisibleChange: X,
|
|
5524
5610
|
disabled: d,
|
|
5525
|
-
value:
|
|
5526
|
-
labelRender: (
|
|
5527
|
-
const
|
|
5528
|
-
return d ? /* @__PURE__ */ r("span", { style: { color:
|
|
5611
|
+
value: A || void 0,
|
|
5612
|
+
labelRender: (N) => {
|
|
5613
|
+
const E = N1(N.value);
|
|
5614
|
+
return d ? /* @__PURE__ */ r("span", { style: { color: S.GREY_DARK_1 }, children: E }) : E;
|
|
5529
5615
|
},
|
|
5530
5616
|
mode: n === "filter" ? "multiple" : n,
|
|
5531
|
-
onChange:
|
|
5532
|
-
onFocus:
|
|
5617
|
+
onChange: Z,
|
|
5618
|
+
onFocus: G,
|
|
5533
5619
|
onBlur: j,
|
|
5534
|
-
onSearch: (
|
|
5535
|
-
c1(!
|
|
5620
|
+
onSearch: (N) => {
|
|
5621
|
+
c1(!N), u && u(N);
|
|
5536
5622
|
},
|
|
5537
5623
|
onSelect: () => c1(!0),
|
|
5538
5624
|
onDeselect: () => c1(!0),
|
|
5539
|
-
tagRender: (
|
|
5625
|
+
tagRender: (N) => C2({ ...N, mode: n }),
|
|
5540
5626
|
maxTagCount: "responsive",
|
|
5541
|
-
maxTagPlaceholder:
|
|
5542
|
-
onPopupScroll:
|
|
5543
|
-
prefix:
|
|
5544
|
-
suffixIcon: /* @__PURE__ */ r("div", { className: "wrapper-suffix-icon", children: n !== "filter" && /* @__PURE__ */
|
|
5545
|
-
|
|
5627
|
+
maxTagPlaceholder: g2,
|
|
5628
|
+
onPopupScroll: d2,
|
|
5629
|
+
prefix: H && /* @__PURE__ */ r(D1, { size: "small" }),
|
|
5630
|
+
suffixIcon: /* @__PURE__ */ r("div", { className: "wrapper-suffix-icon", children: n !== "filter" && /* @__PURE__ */ C(U, { children: [
|
|
5631
|
+
A && !!A.length && (n || a) && /* @__PURE__ */ r(
|
|
5546
5632
|
"div",
|
|
5547
5633
|
{
|
|
5548
|
-
onClick:
|
|
5634
|
+
onClick: g1,
|
|
5549
5635
|
style: {
|
|
5550
5636
|
cursor: d ? "not-allowed" : "pointer"
|
|
5551
5637
|
},
|
|
5552
5638
|
children: /* @__PURE__ */ r(
|
|
5553
|
-
|
|
5639
|
+
s1,
|
|
5554
5640
|
{
|
|
5555
5641
|
name: "cancel",
|
|
5556
|
-
color: d ?
|
|
5642
|
+
color: d ? S.GREY_DARK_1 : S.GREY_DARK_2
|
|
5557
5643
|
}
|
|
5558
5644
|
)
|
|
5559
5645
|
}
|
|
5560
5646
|
),
|
|
5561
5647
|
/* @__PURE__ */ r(
|
|
5562
|
-
|
|
5648
|
+
s1,
|
|
5563
5649
|
{
|
|
5564
5650
|
name: "selectArrowIcon",
|
|
5565
|
-
color: d ?
|
|
5566
|
-
className:
|
|
5567
|
-
onClick: () =>
|
|
5651
|
+
color: d ? S.GREY_DARK_1 : S.GREY_DARK_5,
|
|
5652
|
+
className: _ ? "select-arrow-rotated" : "select-arrow",
|
|
5653
|
+
onClick: () => T(!_)
|
|
5568
5654
|
}
|
|
5569
5655
|
)
|
|
5570
5656
|
] }) }),
|
|
5571
|
-
removeIcon: /* @__PURE__ */ r(
|
|
5657
|
+
removeIcon: /* @__PURE__ */ r(s1, { name: "cancelCircle", color: S.GREY_DARK_1 }),
|
|
5572
5658
|
options: o,
|
|
5573
|
-
optionRender: (
|
|
5574
|
-
/* @__PURE__ */
|
|
5659
|
+
optionRender: (N) => y ? y(N.data) : /* @__PURE__ */ C(o1, { justifyContent: "space-between", alignItems: "center", flex: "1", children: [
|
|
5660
|
+
/* @__PURE__ */ C(o1, { alignItems: "center", gap: 12, children: [
|
|
5575
5661
|
n && /* @__PURE__ */ r(
|
|
5576
|
-
|
|
5662
|
+
X2,
|
|
5577
5663
|
{
|
|
5578
|
-
checked: !!(
|
|
5664
|
+
checked: !!(A != null && A.includes(N.value))
|
|
5579
5665
|
}
|
|
5580
5666
|
),
|
|
5581
|
-
/* @__PURE__ */
|
|
5582
|
-
|
|
5583
|
-
|
|
5667
|
+
/* @__PURE__ */ C(o1, { alignItems: "center", gap: 8, children: [
|
|
5668
|
+
N.data.image !== void 0 && /* @__PURE__ */ r(
|
|
5669
|
+
U2,
|
|
5670
|
+
{
|
|
5671
|
+
src: N.data.image,
|
|
5672
|
+
variant: "xsmall",
|
|
5673
|
+
fallbackText: N.data.imageFallbackText ? N.data.imageFallbackText : ""
|
|
5674
|
+
}
|
|
5675
|
+
),
|
|
5676
|
+
/* @__PURE__ */ r("span", { children: N.label })
|
|
5584
5677
|
] })
|
|
5585
5678
|
] }),
|
|
5586
|
-
!n &&
|
|
5679
|
+
!n && A === N.value && /* @__PURE__ */ r(s1, { name: "check", color: S.BLUE_DARK_1 })
|
|
5587
5680
|
] }),
|
|
5588
|
-
dropdownRender: (
|
|
5589
|
-
/* @__PURE__ */ r("div", { className: "dropdown-menu", children:
|
|
5590
|
-
|
|
5681
|
+
dropdownRender: (N) => /* @__PURE__ */ C("div", { className: "dropdown-container", children: [
|
|
5682
|
+
/* @__PURE__ */ r("div", { className: "dropdown-menu", children: b ? b(N) : N }),
|
|
5683
|
+
H && /* @__PURE__ */ r("div", { className: "loading-overlay", children: /* @__PURE__ */ r(D1, {}) })
|
|
5591
5684
|
] })
|
|
5592
5685
|
}
|
|
5593
5686
|
),
|
|
5594
|
-
t && /* @__PURE__ */
|
|
5687
|
+
t && /* @__PURE__ */ C(U, { children: [
|
|
5595
5688
|
/* @__PURE__ */ r(
|
|
5596
5689
|
"label",
|
|
5597
5690
|
{
|
|
5598
|
-
className: `${Y ||
|
|
5691
|
+
className: `${Y || V1 ? "label-floating" : ""} ${d ? "label-disabled" : ""} ${Y ? "label-focused" : ""} ${H ? "label-loading" : ""} ${M ? "label-error" : ""}`,
|
|
5599
5692
|
children: l ? `${t}*` : t
|
|
5600
5693
|
}
|
|
5601
5694
|
),
|
|
5602
5695
|
/* @__PURE__ */ r(
|
|
5603
5696
|
"fieldset",
|
|
5604
5697
|
{
|
|
5605
|
-
className: `${Y ? "fieldset-focused" : ""} ${d ? "fieldset-disabled" : ""} ${
|
|
5698
|
+
className: `${Y ? "fieldset-focused" : ""} ${d ? "fieldset-disabled" : ""} ${V1 ? "fieldset-filled" : ""} ${M ? "fieldset-error" : ""}`,
|
|
5606
5699
|
children: /* @__PURE__ */ r("legend", { children: /* @__PURE__ */ r("span", { children: l ? `${t}*` : t }) })
|
|
5607
5700
|
}
|
|
5608
5701
|
)
|
|
@@ -5610,77 +5703,77 @@ const M7 = ({
|
|
|
5610
5703
|
]
|
|
5611
5704
|
}
|
|
5612
5705
|
),
|
|
5613
|
-
M && /* @__PURE__ */
|
|
5706
|
+
M && /* @__PURE__ */ C(o1, { justifyContent: "flex-start", gap: 6, children: [
|
|
5614
5707
|
/* @__PURE__ */ r(
|
|
5615
|
-
|
|
5708
|
+
s1,
|
|
5616
5709
|
{
|
|
5617
5710
|
name: "attention",
|
|
5618
|
-
color:
|
|
5711
|
+
color: S.NOTIFICATION_ERROR_DARK,
|
|
5619
5712
|
height: 16,
|
|
5620
5713
|
width: 16
|
|
5621
5714
|
}
|
|
5622
5715
|
),
|
|
5623
|
-
typeof M == "string" ? /* @__PURE__ */ r(
|
|
5716
|
+
typeof M == "string" ? /* @__PURE__ */ r(E7, { color: S.NOTIFICATION_ERROR_DARK, variant: "body4", children: M }) : M
|
|
5624
5717
|
] })
|
|
5625
5718
|
] });
|
|
5626
5719
|
}
|
|
5627
|
-
),
|
|
5720
|
+
), R = (i) => typeof i == "string", r1 = () => {
|
|
5628
5721
|
let i, e;
|
|
5629
5722
|
const t = new Promise((n, s) => {
|
|
5630
5723
|
i = n, e = s;
|
|
5631
5724
|
});
|
|
5632
5725
|
return t.resolve = i, t.reject = e, t;
|
|
5633
|
-
},
|
|
5726
|
+
}, K1 = (i) => i == null ? "" : "" + i, G7 = (i, e, t) => {
|
|
5634
5727
|
i.forEach((n) => {
|
|
5635
5728
|
e[n] && (t[n] = e[n]);
|
|
5636
5729
|
});
|
|
5637
|
-
},
|
|
5638
|
-
const n =
|
|
5730
|
+
}, Z7 = /###/g, B1 = (i) => i && i.indexOf("###") > -1 ? i.replace(Z7, ".") : i, Y1 = (i) => !i || R(i), l1 = (i, e, t) => {
|
|
5731
|
+
const n = R(e) ? e.split(".") : e;
|
|
5639
5732
|
let s = 0;
|
|
5640
5733
|
for (; s < n.length - 1; ) {
|
|
5641
|
-
if (
|
|
5642
|
-
const o =
|
|
5734
|
+
if (Y1(i)) return {};
|
|
5735
|
+
const o = B1(n[s]);
|
|
5643
5736
|
!i[o] && t && (i[o] = new t()), Object.prototype.hasOwnProperty.call(i, o) ? i = i[o] : i = {}, ++s;
|
|
5644
5737
|
}
|
|
5645
|
-
return
|
|
5738
|
+
return Y1(i) ? {} : {
|
|
5646
5739
|
obj: i,
|
|
5647
|
-
k:
|
|
5740
|
+
k: B1(n[s])
|
|
5648
5741
|
};
|
|
5649
|
-
},
|
|
5742
|
+
}, P1 = (i, e, t) => {
|
|
5650
5743
|
const {
|
|
5651
5744
|
obj: n,
|
|
5652
5745
|
k: s
|
|
5653
|
-
} =
|
|
5746
|
+
} = l1(i, e, Object);
|
|
5654
5747
|
if (n !== void 0 || e.length === 1) {
|
|
5655
5748
|
n[s] = t;
|
|
5656
5749
|
return;
|
|
5657
5750
|
}
|
|
5658
|
-
let o = e[e.length - 1], c = e.slice(0, e.length - 1), d =
|
|
5751
|
+
let o = e[e.length - 1], c = e.slice(0, e.length - 1), d = l1(i, c, Object);
|
|
5659
5752
|
for (; d.obj === void 0 && c.length; )
|
|
5660
|
-
o = `${c[c.length - 1]}.${o}`, c = c.slice(0, c.length - 1), d =
|
|
5753
|
+
o = `${c[c.length - 1]}.${o}`, c = c.slice(0, c.length - 1), d = l1(i, c, Object), d && d.obj && typeof d.obj[`${d.k}.${o}`] < "u" && (d.obj = void 0);
|
|
5661
5754
|
d.obj[`${d.k}.${o}`] = t;
|
|
5662
|
-
},
|
|
5755
|
+
}, S7 = (i, e, t, n) => {
|
|
5663
5756
|
const {
|
|
5664
5757
|
obj: s,
|
|
5665
5758
|
k: o
|
|
5666
|
-
} =
|
|
5759
|
+
} = l1(i, e, Object);
|
|
5667
5760
|
s[o] = s[o] || [], s[o].push(t);
|
|
5668
5761
|
}, p1 = (i, e) => {
|
|
5669
5762
|
const {
|
|
5670
5763
|
obj: t,
|
|
5671
5764
|
k: n
|
|
5672
|
-
} =
|
|
5765
|
+
} = l1(i, e);
|
|
5673
5766
|
if (t)
|
|
5674
5767
|
return t[n];
|
|
5675
|
-
},
|
|
5768
|
+
}, T7 = (i, e, t) => {
|
|
5676
5769
|
const n = p1(i, t);
|
|
5677
5770
|
return n !== void 0 ? n : p1(e, t);
|
|
5678
|
-
},
|
|
5771
|
+
}, r2 = (i, e, t) => {
|
|
5679
5772
|
for (const n in e)
|
|
5680
|
-
n !== "__proto__" && n !== "constructor" && (n in i ?
|
|
5773
|
+
n !== "__proto__" && n !== "constructor" && (n in i ? R(i[n]) || i[n] instanceof String || R(e[n]) || e[n] instanceof String ? t && (i[n] = e[n]) : r2(i[n], e[n], t) : i[n] = e[n]);
|
|
5681
5774
|
return i;
|
|
5682
|
-
},
|
|
5683
|
-
var
|
|
5775
|
+
}, e1 = (i) => i.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
|
|
5776
|
+
var D7 = {
|
|
5684
5777
|
"&": "&",
|
|
5685
5778
|
"<": "<",
|
|
5686
5779
|
">": ">",
|
|
@@ -5688,8 +5781,8 @@ var I7 = {
|
|
|
5688
5781
|
"'": "'",
|
|
5689
5782
|
"/": "/"
|
|
5690
5783
|
};
|
|
5691
|
-
const
|
|
5692
|
-
class
|
|
5784
|
+
const K7 = (i) => R(i) ? i.replace(/[&<>"'\/]/g, (e) => D7[e]) : i;
|
|
5785
|
+
class B7 {
|
|
5693
5786
|
constructor(e) {
|
|
5694
5787
|
this.capacity = e, this.regExpMap = /* @__PURE__ */ new Map(), this.regExpQueue = [];
|
|
5695
5788
|
}
|
|
@@ -5701,18 +5794,18 @@ class O7 {
|
|
|
5701
5794
|
return this.regExpQueue.length === this.capacity && this.regExpMap.delete(this.regExpQueue.shift()), this.regExpMap.set(e, n), this.regExpQueue.push(e), n;
|
|
5702
5795
|
}
|
|
5703
5796
|
}
|
|
5704
|
-
const
|
|
5797
|
+
const Y7 = [" ", ",", "?", "!", ";"], P7 = new B7(20), j7 = (i, e, t) => {
|
|
5705
5798
|
e = e || "", t = t || "";
|
|
5706
|
-
const n =
|
|
5799
|
+
const n = Y7.filter((c) => e.indexOf(c) < 0 && t.indexOf(c) < 0);
|
|
5707
5800
|
if (n.length === 0) return !0;
|
|
5708
|
-
const s =
|
|
5801
|
+
const s = P7.getRegExp(`(${n.map((c) => c === "?" ? "\\?" : c).join("|")})`);
|
|
5709
5802
|
let o = !s.test(i);
|
|
5710
5803
|
if (!o) {
|
|
5711
5804
|
const c = i.indexOf(t);
|
|
5712
5805
|
c > 0 && !s.test(i.substring(0, c)) && (o = !0);
|
|
5713
5806
|
}
|
|
5714
5807
|
return o;
|
|
5715
|
-
},
|
|
5808
|
+
}, y1 = function(i, e) {
|
|
5716
5809
|
let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : ".";
|
|
5717
5810
|
if (!i) return;
|
|
5718
5811
|
if (i[e]) return i[e];
|
|
@@ -5732,7 +5825,7 @@ const S7 = [" ", ",", "?", "!", ";"], G7 = new O7(20), D7 = (i, e, t) => {
|
|
|
5732
5825
|
s = c;
|
|
5733
5826
|
}
|
|
5734
5827
|
return s;
|
|
5735
|
-
}, f1 = (i) => i && i.replace("_", "-"),
|
|
5828
|
+
}, f1 = (i) => i && i.replace("_", "-"), $7 = {
|
|
5736
5829
|
type: "logger",
|
|
5737
5830
|
log(i) {
|
|
5738
5831
|
this.output("log", i);
|
|
@@ -5754,7 +5847,7 @@ class m1 {
|
|
|
5754
5847
|
}
|
|
5755
5848
|
init(e) {
|
|
5756
5849
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
5757
|
-
this.prefix = t.prefix || "i18next:", this.logger = e ||
|
|
5850
|
+
this.prefix = t.prefix || "i18next:", this.logger = e || $7, this.options = t, this.debug = t.debug;
|
|
5758
5851
|
}
|
|
5759
5852
|
log() {
|
|
5760
5853
|
for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
|
|
@@ -5777,7 +5870,7 @@ class m1 {
|
|
|
5777
5870
|
return this.forward(t, "warn", "WARNING DEPRECATED: ", !0);
|
|
5778
5871
|
}
|
|
5779
5872
|
forward(e, t, n, s) {
|
|
5780
|
-
return s && !this.debug ? null : (
|
|
5873
|
+
return s && !this.debug ? null : (R(e[0]) && (e[0] = `${n}${this.prefix} ${e[0]}`), this.logger[t](e));
|
|
5781
5874
|
}
|
|
5782
5875
|
create(e) {
|
|
5783
5876
|
return new m1(this.logger, {
|
|
@@ -5790,7 +5883,7 @@ class m1 {
|
|
|
5790
5883
|
}
|
|
5791
5884
|
}
|
|
5792
5885
|
var B = new m1();
|
|
5793
|
-
class
|
|
5886
|
+
class v1 {
|
|
5794
5887
|
constructor() {
|
|
5795
5888
|
this.observers = {};
|
|
5796
5889
|
}
|
|
@@ -5824,7 +5917,7 @@ class L1 {
|
|
|
5824
5917
|
});
|
|
5825
5918
|
}
|
|
5826
5919
|
}
|
|
5827
|
-
class
|
|
5920
|
+
class j1 extends v1 {
|
|
5828
5921
|
constructor(e) {
|
|
5829
5922
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
|
|
5830
5923
|
ns: ["translation"],
|
|
@@ -5843,9 +5936,9 @@ class Y1 extends L1 {
|
|
|
5843
5936
|
let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
|
|
5844
5937
|
const o = s.keySeparator !== void 0 ? s.keySeparator : this.options.keySeparator, c = s.ignoreJSONStructure !== void 0 ? s.ignoreJSONStructure : this.options.ignoreJSONStructure;
|
|
5845
5938
|
let d;
|
|
5846
|
-
e.indexOf(".") > -1 ? d = e.split(".") : (d = [e, t], n && (Array.isArray(n) ? d.push(...n) :
|
|
5939
|
+
e.indexOf(".") > -1 ? d = e.split(".") : (d = [e, t], n && (Array.isArray(n) ? d.push(...n) : R(n) && o ? d.push(...n.split(o)) : d.push(n)));
|
|
5847
5940
|
const l = p1(this.data, d);
|
|
5848
|
-
return !l && !t && !n && e.indexOf(".") > -1 && (e = d[0], t = d[1], n = d.slice(2).join(".")), l || !c || !
|
|
5941
|
+
return !l && !t && !n && e.indexOf(".") > -1 && (e = d[0], t = d[1], n = d.slice(2).join(".")), l || !c || !R(n) ? l : y1(this.data && this.data[e] && this.data[e][t], n, o);
|
|
5849
5942
|
}
|
|
5850
5943
|
addResource(e, t, n, s) {
|
|
5851
5944
|
let o = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : {
|
|
@@ -5853,14 +5946,14 @@ class Y1 extends L1 {
|
|
|
5853
5946
|
};
|
|
5854
5947
|
const c = o.keySeparator !== void 0 ? o.keySeparator : this.options.keySeparator;
|
|
5855
5948
|
let d = [e, t];
|
|
5856
|
-
n && (d = d.concat(c ? n.split(c) : n)), e.indexOf(".") > -1 && (d = e.split("."), s = t, t = d[1]), this.addNamespaces(t),
|
|
5949
|
+
n && (d = d.concat(c ? n.split(c) : n)), e.indexOf(".") > -1 && (d = e.split("."), s = t, t = d[1]), this.addNamespaces(t), P1(this.data, d, s), o.silent || this.emit("added", e, t, n, s);
|
|
5857
5950
|
}
|
|
5858
5951
|
addResources(e, t, n) {
|
|
5859
5952
|
let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {
|
|
5860
5953
|
silent: !1
|
|
5861
5954
|
};
|
|
5862
5955
|
for (const o in n)
|
|
5863
|
-
(
|
|
5956
|
+
(R(n[o]) || Array.isArray(n[o])) && this.addResource(e, t, o, n[o], {
|
|
5864
5957
|
silent: !0
|
|
5865
5958
|
});
|
|
5866
5959
|
s.silent || this.emit("added", e, t, n);
|
|
@@ -5872,10 +5965,10 @@ class Y1 extends L1 {
|
|
|
5872
5965
|
}, d = [e, t];
|
|
5873
5966
|
e.indexOf(".") > -1 && (d = e.split("."), s = n, n = t, t = d[1]), this.addNamespaces(t);
|
|
5874
5967
|
let l = p1(this.data, d) || {};
|
|
5875
|
-
c.skipCopy || (n = JSON.parse(JSON.stringify(n))), s ?
|
|
5968
|
+
c.skipCopy || (n = JSON.parse(JSON.stringify(n))), s ? r2(l, n, o) : l = {
|
|
5876
5969
|
...l,
|
|
5877
5970
|
...n
|
|
5878
|
-
},
|
|
5971
|
+
}, P1(this.data, d, l), c.silent || this.emit("added", e, t, n);
|
|
5879
5972
|
}
|
|
5880
5973
|
removeResourceBundle(e, t) {
|
|
5881
5974
|
this.hasResourceBundle(e, t) && delete this.data[e][t], this.removeNamespaces(t), this.emit("removed", e, t);
|
|
@@ -5899,7 +5992,7 @@ class Y1 extends L1 {
|
|
|
5899
5992
|
return this.data;
|
|
5900
5993
|
}
|
|
5901
5994
|
}
|
|
5902
|
-
var
|
|
5995
|
+
var o2 = {
|
|
5903
5996
|
processors: {},
|
|
5904
5997
|
addPostProcessor(i) {
|
|
5905
5998
|
this.processors[i.name] = i;
|
|
@@ -5910,11 +6003,11 @@ var s2 = {
|
|
|
5910
6003
|
}), e;
|
|
5911
6004
|
}
|
|
5912
6005
|
};
|
|
5913
|
-
const
|
|
5914
|
-
class w1 extends
|
|
6006
|
+
const $1 = {};
|
|
6007
|
+
class w1 extends v1 {
|
|
5915
6008
|
constructor(e) {
|
|
5916
6009
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
5917
|
-
super(),
|
|
6010
|
+
super(), G7(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = B.create("translator");
|
|
5918
6011
|
}
|
|
5919
6012
|
changeLanguage(e) {
|
|
5920
6013
|
e && (this.language = e);
|
|
@@ -5933,20 +6026,20 @@ class w1 extends L1 {
|
|
|
5933
6026
|
n === void 0 && (n = ":");
|
|
5934
6027
|
const s = t.keySeparator !== void 0 ? t.keySeparator : this.options.keySeparator;
|
|
5935
6028
|
let o = t.ns || this.options.defaultNS || [];
|
|
5936
|
-
const c = n && e.indexOf(n) > -1, d = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !
|
|
6029
|
+
const c = n && e.indexOf(n) > -1, d = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !j7(e, n, s);
|
|
5937
6030
|
if (c && !d) {
|
|
5938
6031
|
const l = e.match(this.interpolator.nestingRegexp);
|
|
5939
6032
|
if (l && l.length > 0)
|
|
5940
6033
|
return {
|
|
5941
6034
|
key: e,
|
|
5942
|
-
namespaces:
|
|
6035
|
+
namespaces: R(o) ? [o] : o
|
|
5943
6036
|
};
|
|
5944
6037
|
const a = e.split(n);
|
|
5945
6038
|
(n !== s || n === s && this.options.ns.indexOf(a[0]) > -1) && (o = a.shift()), e = a.join(s);
|
|
5946
6039
|
}
|
|
5947
6040
|
return {
|
|
5948
6041
|
key: e,
|
|
5949
|
-
namespaces:
|
|
6042
|
+
namespaces: R(o) ? [o] : o
|
|
5950
6043
|
};
|
|
5951
6044
|
}
|
|
5952
6045
|
translate(e, t, n) {
|
|
@@ -5960,15 +6053,15 @@ class w1 extends L1 {
|
|
|
5960
6053
|
} = this.extractFromKey(e[e.length - 1], t), l = d[d.length - 1], a = t.lng || this.language, h = t.appendNamespaceToCIMode || this.options.appendNamespaceToCIMode;
|
|
5961
6054
|
if (a && a.toLowerCase() === "cimode") {
|
|
5962
6055
|
if (h) {
|
|
5963
|
-
const
|
|
6056
|
+
const w = t.nsSeparator || this.options.nsSeparator;
|
|
5964
6057
|
return s ? {
|
|
5965
|
-
res: `${l}${
|
|
6058
|
+
res: `${l}${w}${c}`,
|
|
5966
6059
|
usedKey: c,
|
|
5967
6060
|
exactUsedKey: c,
|
|
5968
6061
|
usedLng: a,
|
|
5969
6062
|
usedNS: l,
|
|
5970
6063
|
usedParams: this.getUsedParamsDetails(t)
|
|
5971
|
-
} : `${l}${
|
|
6064
|
+
} : `${l}${w}${c}`;
|
|
5972
6065
|
}
|
|
5973
6066
|
return s ? {
|
|
5974
6067
|
res: c,
|
|
@@ -5980,67 +6073,67 @@ class w1 extends L1 {
|
|
|
5980
6073
|
} : c;
|
|
5981
6074
|
}
|
|
5982
6075
|
const u = this.resolve(e, t);
|
|
5983
|
-
let
|
|
5984
|
-
const p = u && u.usedKey || c,
|
|
5985
|
-
if (
|
|
6076
|
+
let g = u && u.res;
|
|
6077
|
+
const p = u && u.usedKey || c, m = u && u.exactUsedKey || c, v = Object.prototype.toString.apply(g), f = ["[object Number]", "[object Function]", "[object RegExp]"], b = t.joinArrays !== void 0 ? t.joinArrays : this.options.joinArrays, y = !this.i18nFormat || this.i18nFormat.handleAsObject, H = !R(g) && typeof g != "boolean" && typeof g != "number";
|
|
6078
|
+
if (y && g && H && f.indexOf(v) < 0 && !(R(b) && Array.isArray(g))) {
|
|
5986
6079
|
if (!t.returnObjects && !this.options.returnObjects) {
|
|
5987
6080
|
this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
|
|
5988
|
-
const
|
|
6081
|
+
const w = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(p, g, {
|
|
5989
6082
|
...t,
|
|
5990
6083
|
ns: d
|
|
5991
6084
|
}) : `key '${c} (${this.language})' returned an object instead of string.`;
|
|
5992
|
-
return s ? (u.res =
|
|
6085
|
+
return s ? (u.res = w, u.usedParams = this.getUsedParamsDetails(t), u) : w;
|
|
5993
6086
|
}
|
|
5994
6087
|
if (o) {
|
|
5995
|
-
const
|
|
5996
|
-
for (const
|
|
5997
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
5998
|
-
const
|
|
5999
|
-
M[
|
|
6088
|
+
const w = Array.isArray(g), M = w ? [] : {}, x = w ? m : p;
|
|
6089
|
+
for (const _ in g)
|
|
6090
|
+
if (Object.prototype.hasOwnProperty.call(g, _)) {
|
|
6091
|
+
const T = `${x}${o}${_}`;
|
|
6092
|
+
M[_] = this.translate(T, {
|
|
6000
6093
|
...t,
|
|
6001
6094
|
joinArrays: !1,
|
|
6002
6095
|
ns: d
|
|
6003
|
-
}), M[
|
|
6096
|
+
}), M[_] === T && (M[_] = g[_]);
|
|
6004
6097
|
}
|
|
6005
|
-
|
|
6098
|
+
g = M;
|
|
6006
6099
|
}
|
|
6007
|
-
} else if (
|
|
6008
|
-
|
|
6100
|
+
} else if (y && R(b) && Array.isArray(g))
|
|
6101
|
+
g = g.join(b), g && (g = this.extendTranslation(g, e, t, n));
|
|
6009
6102
|
else {
|
|
6010
|
-
let
|
|
6011
|
-
const
|
|
6103
|
+
let w = !1, M = !1;
|
|
6104
|
+
const x = t.count !== void 0 && !R(t.count), _ = w1.hasDefaultValue(t), T = x ? this.pluralResolver.getSuffix(a, t.count, t) : "", Y = t.ordinal && x ? this.pluralResolver.getSuffix(a, t.count, {
|
|
6012
6105
|
ordinal: !1
|
|
6013
|
-
}) : "",
|
|
6014
|
-
!this.isValidLookup(
|
|
6015
|
-
const
|
|
6016
|
-
if (M ||
|
|
6017
|
-
if (this.logger.log(P ? "updateKey" : "missingKey", a, l, c, P ?
|
|
6018
|
-
const
|
|
6106
|
+
}) : "", n1 = x && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), F = n1 && t[`defaultValue${this.options.pluralSeparator}zero`] || t[`defaultValue${T}`] || t[`defaultValue${Y}`] || t.defaultValue;
|
|
6107
|
+
!this.isValidLookup(g) && _ && (w = !0, g = F), this.isValidLookup(g) || (M = !0, g = c);
|
|
6108
|
+
const A = (t.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && M ? void 0 : g, P = _ && F !== g && this.options.updateMissing;
|
|
6109
|
+
if (M || w || P) {
|
|
6110
|
+
if (this.logger.log(P ? "updateKey" : "missingKey", a, l, c, P ? F : g), o) {
|
|
6111
|
+
const G = this.resolve(c, {
|
|
6019
6112
|
...t,
|
|
6020
6113
|
keySeparator: !1
|
|
6021
6114
|
});
|
|
6022
|
-
|
|
6023
|
-
}
|
|
6024
|
-
let
|
|
6025
|
-
const
|
|
6026
|
-
if (this.options.saveMissingTo === "fallback" &&
|
|
6027
|
-
for (let
|
|
6028
|
-
|
|
6029
|
-
else this.options.saveMissingTo === "all" ?
|
|
6030
|
-
const d1 = (
|
|
6031
|
-
const
|
|
6032
|
-
this.options.missingKeyHandler ? this.options.missingKeyHandler(
|
|
6115
|
+
G && G.res && this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.");
|
|
6116
|
+
}
|
|
6117
|
+
let W = [];
|
|
6118
|
+
const X = this.languageUtils.getFallbackCodes(this.options.fallbackLng, t.lng || this.language);
|
|
6119
|
+
if (this.options.saveMissingTo === "fallback" && X && X[0])
|
|
6120
|
+
for (let G = 0; G < X.length; G++)
|
|
6121
|
+
W.push(X[G]);
|
|
6122
|
+
else this.options.saveMissingTo === "all" ? W = this.languageUtils.toResolveHierarchy(t.lng || this.language) : W.push(t.lng || this.language);
|
|
6123
|
+
const d1 = (G, j, Z) => {
|
|
6124
|
+
const g1 = _ && Z !== g ? Z : A;
|
|
6125
|
+
this.options.missingKeyHandler ? this.options.missingKeyHandler(G, l, j, g1, P, t) : this.backendConnector && this.backendConnector.saveMissing && this.backendConnector.saveMissing(G, l, j, g1, P, t), this.emit("missingKey", G, l, j, g);
|
|
6033
6126
|
};
|
|
6034
|
-
this.options.saveMissing && (this.options.saveMissingPlurals &&
|
|
6035
|
-
const j = this.pluralResolver.getSuffixes(
|
|
6036
|
-
|
|
6037
|
-
d1([
|
|
6127
|
+
this.options.saveMissing && (this.options.saveMissingPlurals && x ? W.forEach((G) => {
|
|
6128
|
+
const j = this.pluralResolver.getSuffixes(G, t);
|
|
6129
|
+
n1 && t[`defaultValue${this.options.pluralSeparator}zero`] && j.indexOf(`${this.options.pluralSeparator}zero`) < 0 && j.push(`${this.options.pluralSeparator}zero`), j.forEach((Z) => {
|
|
6130
|
+
d1([G], c + Z, t[`defaultValue${Z}`] || F);
|
|
6038
6131
|
});
|
|
6039
|
-
}) : d1(
|
|
6132
|
+
}) : d1(W, c, F));
|
|
6040
6133
|
}
|
|
6041
|
-
|
|
6134
|
+
g = this.extendTranslation(g, e, t, u, n), M && g === c && this.options.appendNamespaceToMissingKey && (g = `${l}:${c}`), (M || w) && this.options.parseMissingKeyHandler && (this.options.compatibilityAPI !== "v1" ? g = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${l}:${c}` : c, w ? g : void 0) : g = this.options.parseMissingKeyHandler(g));
|
|
6042
6135
|
}
|
|
6043
|
-
return s ? (u.res =
|
|
6136
|
+
return s ? (u.res = g, u.usedParams = this.getUsedParamsDetails(t), u) : g;
|
|
6044
6137
|
}
|
|
6045
6138
|
extendTranslation(e, t, n, s, o) {
|
|
6046
6139
|
var c = this;
|
|
@@ -6059,28 +6152,28 @@ class w1 extends L1 {
|
|
|
6059
6152
|
...n.interpolation
|
|
6060
6153
|
}
|
|
6061
6154
|
});
|
|
6062
|
-
const a =
|
|
6155
|
+
const a = R(e) && (n && n.interpolation && n.interpolation.skipOnVariables !== void 0 ? n.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables);
|
|
6063
6156
|
let h;
|
|
6064
6157
|
if (a) {
|
|
6065
|
-
const
|
|
6066
|
-
h =
|
|
6158
|
+
const g = e.match(this.interpolator.nestingRegexp);
|
|
6159
|
+
h = g && g.length;
|
|
6067
6160
|
}
|
|
6068
|
-
let u = n.replace && !
|
|
6161
|
+
let u = n.replace && !R(n.replace) ? n.replace : n;
|
|
6069
6162
|
if (this.options.interpolation.defaultVariables && (u = {
|
|
6070
6163
|
...this.options.interpolation.defaultVariables,
|
|
6071
6164
|
...u
|
|
6072
6165
|
}), e = this.interpolator.interpolate(e, u, n.lng || this.language || s.usedLng, n), a) {
|
|
6073
|
-
const
|
|
6166
|
+
const g = e.match(this.interpolator.nestingRegexp), p = g && g.length;
|
|
6074
6167
|
h < p && (n.nest = !1);
|
|
6075
6168
|
}
|
|
6076
6169
|
!n.lng && this.options.compatibilityAPI !== "v1" && s && s.res && (n.lng = this.language || s.usedLng), n.nest !== !1 && (e = this.interpolator.nest(e, function() {
|
|
6077
|
-
for (var
|
|
6078
|
-
p[
|
|
6170
|
+
for (var g = arguments.length, p = new Array(g), m = 0; m < g; m++)
|
|
6171
|
+
p[m] = arguments[m];
|
|
6079
6172
|
return o && o[0] === p[0] && !n.context ? (c.logger.warn(`It seems you are nesting recursively key: ${p[0]} in key: ${t[0]}`), null) : c.translate(...p, t);
|
|
6080
6173
|
}, n)), n.interpolation && this.interpolator.reset();
|
|
6081
6174
|
}
|
|
6082
|
-
const d = n.postProcess || this.options.postProcess, l =
|
|
6083
|
-
return e != null && l && l.length && n.applyPostProcessor !== !1 && (e =
|
|
6175
|
+
const d = n.postProcess || this.options.postProcess, l = R(d) ? [d] : d;
|
|
6176
|
+
return e != null && l && l.length && n.applyPostProcessor !== !1 && (e = o2.handle(l, e, t, this.options && this.options.postProcessPassResolved ? {
|
|
6084
6177
|
i18nResolved: {
|
|
6085
6178
|
...s,
|
|
6086
6179
|
usedParams: this.getUsedParamsDetails(n)
|
|
@@ -6090,32 +6183,32 @@ class w1 extends L1 {
|
|
|
6090
6183
|
}
|
|
6091
6184
|
resolve(e) {
|
|
6092
6185
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n, s, o, c, d;
|
|
6093
|
-
return
|
|
6186
|
+
return R(e) && (e = [e]), e.forEach((l) => {
|
|
6094
6187
|
if (this.isValidLookup(n)) return;
|
|
6095
6188
|
const a = this.extractFromKey(l, t), h = a.key;
|
|
6096
6189
|
s = h;
|
|
6097
6190
|
let u = a.namespaces;
|
|
6098
6191
|
this.options.fallbackNS && (u = u.concat(this.options.fallbackNS));
|
|
6099
|
-
const
|
|
6192
|
+
const g = t.count !== void 0 && !R(t.count), p = g && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), m = t.context !== void 0 && (R(t.context) || typeof t.context == "number") && t.context !== "", v = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
|
|
6100
6193
|
u.forEach((f) => {
|
|
6101
|
-
this.isValidLookup(n) || (d = f,
|
|
6194
|
+
this.isValidLookup(n) || (d = f, !$1[`${v[0]}-${f}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(d) && ($1[`${v[0]}-${f}`] = !0, this.logger.warn(`key "${s}" for languages "${v.join(", ")}" won't get resolved as namespace "${d}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), v.forEach((b) => {
|
|
6102
6195
|
if (this.isValidLookup(n)) return;
|
|
6103
|
-
c =
|
|
6104
|
-
const
|
|
6196
|
+
c = b;
|
|
6197
|
+
const y = [h];
|
|
6105
6198
|
if (this.i18nFormat && this.i18nFormat.addLookupKeys)
|
|
6106
|
-
this.i18nFormat.addLookupKeys(
|
|
6199
|
+
this.i18nFormat.addLookupKeys(y, h, b, f, t);
|
|
6107
6200
|
else {
|
|
6108
|
-
let
|
|
6109
|
-
|
|
6110
|
-
const M = `${this.options.pluralSeparator}zero`,
|
|
6111
|
-
if (
|
|
6112
|
-
const
|
|
6113
|
-
|
|
6201
|
+
let w;
|
|
6202
|
+
g && (w = this.pluralResolver.getSuffix(b, t.count, t));
|
|
6203
|
+
const M = `${this.options.pluralSeparator}zero`, x = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
|
|
6204
|
+
if (g && (y.push(h + w), t.ordinal && w.indexOf(x) === 0 && y.push(h + w.replace(x, this.options.pluralSeparator)), p && y.push(h + M)), m) {
|
|
6205
|
+
const _ = `${h}${this.options.contextSeparator}${t.context}`;
|
|
6206
|
+
y.push(_), g && (y.push(_ + w), t.ordinal && w.indexOf(x) === 0 && y.push(_ + w.replace(x, this.options.pluralSeparator)), p && y.push(_ + M));
|
|
6114
6207
|
}
|
|
6115
6208
|
}
|
|
6116
|
-
let
|
|
6117
|
-
for (;
|
|
6118
|
-
this.isValidLookup(n) || (o =
|
|
6209
|
+
let H;
|
|
6210
|
+
for (; H = y.pop(); )
|
|
6211
|
+
this.isValidLookup(n) || (o = H, n = this.getResource(b, f, H, t));
|
|
6119
6212
|
}));
|
|
6120
6213
|
});
|
|
6121
6214
|
}), {
|
|
@@ -6135,7 +6228,7 @@ class w1 extends L1 {
|
|
|
6135
6228
|
}
|
|
6136
6229
|
getUsedParamsDetails() {
|
|
6137
6230
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
6138
|
-
const t = ["defaultValue", "ordinal", "context", "replace", "lng", "lngs", "fallbackLng", "ns", "keySeparator", "nsSeparator", "returnObjects", "returnDetails", "joinArrays", "postProcess", "interpolation"], n = e.replace && !
|
|
6231
|
+
const t = ["defaultValue", "ordinal", "context", "replace", "lng", "lngs", "fallbackLng", "ns", "keySeparator", "nsSeparator", "returnObjects", "returnDetails", "joinArrays", "postProcess", "interpolation"], n = e.replace && !R(e.replace);
|
|
6139
6232
|
let s = n ? e.replace : e;
|
|
6140
6233
|
if (n && typeof e.count < "u" && (s.count = e.count), this.options.interpolation.defaultVariables && (s = {
|
|
6141
6234
|
...this.options.interpolation.defaultVariables,
|
|
@@ -6157,8 +6250,8 @@ class w1 extends L1 {
|
|
|
6157
6250
|
return !1;
|
|
6158
6251
|
}
|
|
6159
6252
|
}
|
|
6160
|
-
const
|
|
6161
|
-
class
|
|
6253
|
+
const x1 = (i) => i.charAt(0).toUpperCase() + i.slice(1);
|
|
6254
|
+
class F1 {
|
|
6162
6255
|
constructor(e) {
|
|
6163
6256
|
this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = B.create("languageUtils");
|
|
6164
6257
|
}
|
|
@@ -6173,7 +6266,7 @@ class j1 {
|
|
|
6173
6266
|
return this.formatLanguageCode(t[0]);
|
|
6174
6267
|
}
|
|
6175
6268
|
formatLanguageCode(e) {
|
|
6176
|
-
if (
|
|
6269
|
+
if (R(e) && e.indexOf("-") > -1) {
|
|
6177
6270
|
if (typeof Intl < "u" && typeof Intl.getCanonicalLocales < "u")
|
|
6178
6271
|
try {
|
|
6179
6272
|
let s = Intl.getCanonicalLocales(e)[0];
|
|
@@ -6182,7 +6275,7 @@ class j1 {
|
|
|
6182
6275
|
}
|
|
6183
6276
|
const t = ["hans", "hant", "latn", "cyrl", "cans", "mong", "arab"];
|
|
6184
6277
|
let n = e.split("-");
|
|
6185
|
-
return this.options.lowerCaseLng ? n = n.map((s) => s.toLowerCase()) : n.length === 2 ? (n[0] = n[0].toLowerCase(), n[1] = n[1].toUpperCase(), t.indexOf(n[1].toLowerCase()) > -1 && (n[1] =
|
|
6278
|
+
return this.options.lowerCaseLng ? n = n.map((s) => s.toLowerCase()) : n.length === 2 ? (n[0] = n[0].toLowerCase(), n[1] = n[1].toUpperCase(), t.indexOf(n[1].toLowerCase()) > -1 && (n[1] = x1(n[1].toLowerCase()))) : n.length === 3 && (n[0] = n[0].toLowerCase(), n[1].length === 2 && (n[1] = n[1].toUpperCase()), n[0] !== "sgn" && n[2].length === 2 && (n[2] = n[2].toUpperCase()), t.indexOf(n[1].toLowerCase()) > -1 && (n[1] = x1(n[1].toLowerCase())), t.indexOf(n[2].toLowerCase()) > -1 && (n[2] = x1(n[2].toLowerCase()))), n.join("-");
|
|
6186
6279
|
}
|
|
6187
6280
|
return this.options.cleanCode || this.options.lowerCaseLng ? e.toLowerCase() : e;
|
|
6188
6281
|
}
|
|
@@ -6209,7 +6302,7 @@ class j1 {
|
|
|
6209
6302
|
}
|
|
6210
6303
|
getFallbackCodes(e, t) {
|
|
6211
6304
|
if (!e) return [];
|
|
6212
|
-
if (typeof e == "function" && (e = e(t)),
|
|
6305
|
+
if (typeof e == "function" && (e = e(t)), R(e) && (e = [e]), Array.isArray(e)) return e;
|
|
6213
6306
|
if (!t) return e.default || [];
|
|
6214
6307
|
let n = e[t];
|
|
6215
6308
|
return n || (n = e[this.getScriptPartFromCode(t)]), n || (n = e[this.formatLanguageCode(t)]), n || (n = e[this.getLanguagePartFromCode(t)]), n || (n = e.default), n || [];
|
|
@@ -6218,12 +6311,12 @@ class j1 {
|
|
|
6218
6311
|
const n = this.getFallbackCodes(t || this.options.fallbackLng || [], e), s = [], o = (c) => {
|
|
6219
6312
|
c && (this.isSupportedCode(c) ? s.push(c) : this.logger.warn(`rejecting language code not found in supportedLngs: ${c}`));
|
|
6220
6313
|
};
|
|
6221
|
-
return
|
|
6314
|
+
return R(e) && (e.indexOf("-") > -1 || e.indexOf("_") > -1) ? (this.options.load !== "languageOnly" && o(this.formatLanguageCode(e)), this.options.load !== "languageOnly" && this.options.load !== "currentOnly" && o(this.getScriptPartFromCode(e)), this.options.load !== "currentOnly" && o(this.getLanguagePartFromCode(e))) : R(e) && o(this.formatLanguageCode(e)), n.forEach((c) => {
|
|
6222
6315
|
s.indexOf(c) < 0 && o(this.formatLanguageCode(c));
|
|
6223
6316
|
}), s;
|
|
6224
6317
|
}
|
|
6225
6318
|
}
|
|
6226
|
-
let
|
|
6319
|
+
let F7 = [{
|
|
6227
6320
|
lngs: ["ach", "ak", "am", "arn", "br", "fil", "gun", "ln", "mfe", "mg", "mi", "oc", "pt", "pt-BR", "tg", "tl", "ti", "tr", "uz", "wa"],
|
|
6228
6321
|
nr: [1, 2],
|
|
6229
6322
|
fc: 1
|
|
@@ -6315,7 +6408,7 @@ let K7 = [{
|
|
|
6315
6408
|
lngs: ["he", "iw"],
|
|
6316
6409
|
nr: [1, 2, 20, 21],
|
|
6317
6410
|
fc: 22
|
|
6318
|
-
}],
|
|
6411
|
+
}], W7 = {
|
|
6319
6412
|
1: (i) => +(i > 1),
|
|
6320
6413
|
2: (i) => +(i != 1),
|
|
6321
6414
|
3: (i) => 0,
|
|
@@ -6339,28 +6432,28 @@ let K7 = [{
|
|
|
6339
6432
|
21: (i) => i % 100 == 1 ? 1 : i % 100 == 2 ? 2 : i % 100 == 3 || i % 100 == 4 ? 3 : 0,
|
|
6340
6433
|
22: (i) => i == 1 ? 0 : i == 2 ? 1 : (i < 0 || i > 10) && i % 10 == 0 ? 2 : 3
|
|
6341
6434
|
};
|
|
6342
|
-
const
|
|
6435
|
+
const U7 = ["v1", "v2", "v3"], z7 = ["v4"], W1 = {
|
|
6343
6436
|
zero: 0,
|
|
6344
6437
|
one: 1,
|
|
6345
6438
|
two: 2,
|
|
6346
6439
|
few: 3,
|
|
6347
6440
|
many: 4,
|
|
6348
6441
|
other: 5
|
|
6349
|
-
},
|
|
6442
|
+
}, J7 = () => {
|
|
6350
6443
|
const i = {};
|
|
6351
|
-
return
|
|
6444
|
+
return F7.forEach((e) => {
|
|
6352
6445
|
e.lngs.forEach((t) => {
|
|
6353
6446
|
i[t] = {
|
|
6354
6447
|
numbers: e.nr,
|
|
6355
|
-
plurals:
|
|
6448
|
+
plurals: W7[e.fc]
|
|
6356
6449
|
};
|
|
6357
6450
|
});
|
|
6358
6451
|
}), i;
|
|
6359
6452
|
};
|
|
6360
|
-
class
|
|
6453
|
+
class Q7 {
|
|
6361
6454
|
constructor(e) {
|
|
6362
6455
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
6363
|
-
this.languageUtils = e, this.options = t, this.logger = B.create("pluralResolver"), (!this.options.compatibilityJSON ||
|
|
6456
|
+
this.languageUtils = e, this.options = t, this.logger = B.create("pluralResolver"), (!this.options.compatibilityJSON || z7.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 = J7(), this.pluralRulesCache = {};
|
|
6364
6457
|
}
|
|
6365
6458
|
addRule(e, t) {
|
|
6366
6459
|
this.rules[e] = t;
|
|
@@ -6403,7 +6496,7 @@ class $7 {
|
|
|
6403
6496
|
getSuffixes(e) {
|
|
6404
6497
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
6405
6498
|
const n = this.getRule(e, t);
|
|
6406
|
-
return n ? this.shouldUseIntlApi() ? n.resolvedOptions().pluralCategories.sort((s, o) =>
|
|
6499
|
+
return n ? this.shouldUseIntlApi() ? n.resolvedOptions().pluralCategories.sort((s, o) => W1[s] - W1[o]).map((s) => `${this.options.prepend}${t.ordinal ? `ordinal${this.options.prepend}` : ""}${s}`) : n.numbers.map((s) => this.getSuffix(e, s, t)) : [];
|
|
6407
6500
|
}
|
|
6408
6501
|
getSuffix(e, t) {
|
|
6409
6502
|
let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
@@ -6418,14 +6511,14 @@ class $7 {
|
|
|
6418
6511
|
return this.options.compatibilityJSON === "v1" ? s === 1 ? "" : typeof s == "number" ? `_plural_${s.toString()}` : o() : this.options.compatibilityJSON === "v2" || this.options.simplifyPluralSuffix && e.numbers.length === 2 && e.numbers[0] === 1 ? o() : this.options.prepend && n.toString() ? this.options.prepend + n.toString() : n.toString();
|
|
6419
6512
|
}
|
|
6420
6513
|
shouldUseIntlApi() {
|
|
6421
|
-
return !
|
|
6514
|
+
return !U7.includes(this.options.compatibilityJSON);
|
|
6422
6515
|
}
|
|
6423
6516
|
}
|
|
6424
|
-
const
|
|
6425
|
-
let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", s = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, o =
|
|
6426
|
-
return !o && s &&
|
|
6427
|
-
},
|
|
6428
|
-
class
|
|
6517
|
+
const U1 = function(i, e, t) {
|
|
6518
|
+
let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", s = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, o = T7(i, e, t);
|
|
6519
|
+
return !o && s && R(t) && (o = y1(i, t, n), o === void 0 && (o = y1(e, t, n))), o;
|
|
6520
|
+
}, _1 = (i) => i.replace(/\$/g, "$$$$");
|
|
6521
|
+
class q7 {
|
|
6429
6522
|
constructor() {
|
|
6430
6523
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
6431
6524
|
this.logger = B.create("interpolator"), this.options = e, this.format = e.interpolation && e.interpolation.format || ((t) => t), this.init(e);
|
|
@@ -6446,15 +6539,15 @@ class F7 {
|
|
|
6446
6539
|
formatSeparator: a,
|
|
6447
6540
|
unescapeSuffix: h,
|
|
6448
6541
|
unescapePrefix: u,
|
|
6449
|
-
nestingPrefix:
|
|
6542
|
+
nestingPrefix: g,
|
|
6450
6543
|
nestingPrefixEscaped: p,
|
|
6451
|
-
nestingSuffix:
|
|
6544
|
+
nestingSuffix: m,
|
|
6452
6545
|
nestingSuffixEscaped: v,
|
|
6453
6546
|
nestingOptionsSeparator: f,
|
|
6454
|
-
maxReplaces:
|
|
6455
|
-
alwaysFormat:
|
|
6547
|
+
maxReplaces: b,
|
|
6548
|
+
alwaysFormat: y
|
|
6456
6549
|
} = e.interpolation;
|
|
6457
|
-
this.escape = t !== void 0 ? t :
|
|
6550
|
+
this.escape = t !== void 0 ? t : K7, this.escapeValue = n !== void 0 ? n : !0, this.useRawValueToEscape = s !== void 0 ? s : !1, this.prefix = o ? e1(o) : c || "{{", this.suffix = d ? e1(d) : l || "}}", this.formatSeparator = a || ",", this.unescapePrefix = h ? "" : u || "-", this.unescapeSuffix = this.unescapePrefix ? "" : h || "", this.nestingPrefix = g ? e1(g) : p || e1("$t("), this.nestingSuffix = m ? e1(m) : v || e1(")"), this.nestingOptionsSeparator = f || ",", this.maxReplaces = b || 1e3, this.alwaysFormat = y !== void 0 ? y : !1, this.resetRegExp();
|
|
6458
6551
|
}
|
|
6459
6552
|
reset() {
|
|
6460
6553
|
this.options && this.init(this.options);
|
|
@@ -6467,15 +6560,15 @@ class F7 {
|
|
|
6467
6560
|
let o, c, d;
|
|
6468
6561
|
const l = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, a = (p) => {
|
|
6469
6562
|
if (p.indexOf(this.formatSeparator) < 0) {
|
|
6470
|
-
const
|
|
6471
|
-
return this.alwaysFormat ? this.format(
|
|
6563
|
+
const b = U1(t, l, p, this.options.keySeparator, this.options.ignoreJSONStructure);
|
|
6564
|
+
return this.alwaysFormat ? this.format(b, void 0, n, {
|
|
6472
6565
|
...s,
|
|
6473
6566
|
...t,
|
|
6474
6567
|
interpolationkey: p
|
|
6475
|
-
}) :
|
|
6568
|
+
}) : b;
|
|
6476
6569
|
}
|
|
6477
|
-
const
|
|
6478
|
-
return this.format(
|
|
6570
|
+
const m = p.split(this.formatSeparator), v = m.shift().trim(), f = m.join(this.formatSeparator).trim();
|
|
6571
|
+
return this.format(U1(t, l, v, this.options.keySeparator, this.options.ignoreJSONStructure), f, n, {
|
|
6479
6572
|
...s,
|
|
6480
6573
|
...t,
|
|
6481
6574
|
interpolationkey: v
|
|
@@ -6485,25 +6578,25 @@ class F7 {
|
|
|
6485
6578
|
const h = s && s.missingInterpolationHandler || this.options.missingInterpolationHandler, u = s && s.interpolation && s.interpolation.skipOnVariables !== void 0 ? s.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables;
|
|
6486
6579
|
return [{
|
|
6487
6580
|
regex: this.regexpUnescape,
|
|
6488
|
-
safeValue: (p) =>
|
|
6581
|
+
safeValue: (p) => _1(p)
|
|
6489
6582
|
}, {
|
|
6490
6583
|
regex: this.regexp,
|
|
6491
|
-
safeValue: (p) => this.escapeValue ?
|
|
6584
|
+
safeValue: (p) => this.escapeValue ? _1(this.escape(p)) : _1(p)
|
|
6492
6585
|
}].forEach((p) => {
|
|
6493
6586
|
for (d = 0; o = p.regex.exec(e); ) {
|
|
6494
|
-
const
|
|
6495
|
-
if (c = a(
|
|
6587
|
+
const m = o[1].trim();
|
|
6588
|
+
if (c = a(m), c === void 0)
|
|
6496
6589
|
if (typeof h == "function") {
|
|
6497
6590
|
const f = h(e, o, s);
|
|
6498
|
-
c =
|
|
6499
|
-
} else if (s && Object.prototype.hasOwnProperty.call(s,
|
|
6591
|
+
c = R(f) ? f : "";
|
|
6592
|
+
} else if (s && Object.prototype.hasOwnProperty.call(s, m))
|
|
6500
6593
|
c = "";
|
|
6501
6594
|
else if (u) {
|
|
6502
6595
|
c = o[0];
|
|
6503
6596
|
continue;
|
|
6504
6597
|
} else
|
|
6505
|
-
this.logger.warn(`missed to pass in variable ${
|
|
6506
|
-
else !
|
|
6598
|
+
this.logger.warn(`missed to pass in variable ${m} for interpolating ${e}`), c = "";
|
|
6599
|
+
else !R(c) && !this.useRawValueToEscape && (c = K1(c));
|
|
6507
6600
|
const v = p.safeValue(c);
|
|
6508
6601
|
if (e = e.replace(o[0], v), u ? (p.regex.lastIndex += c.length, p.regex.lastIndex -= o[0].length) : p.regex.lastIndex = 0, d++, d >= this.maxReplaces)
|
|
6509
6602
|
break;
|
|
@@ -6516,17 +6609,17 @@ class F7 {
|
|
|
6516
6609
|
const h = this.nestingOptionsSeparator;
|
|
6517
6610
|
if (l.indexOf(h) < 0) return l;
|
|
6518
6611
|
const u = l.split(new RegExp(`${h}[ ]*{`));
|
|
6519
|
-
let
|
|
6520
|
-
l = u[0],
|
|
6521
|
-
const p =
|
|
6522
|
-
(p && p.length % 2 === 0 && !
|
|
6612
|
+
let g = `{${u[1]}`;
|
|
6613
|
+
l = u[0], g = this.interpolate(g, c);
|
|
6614
|
+
const p = g.match(/'/g), m = g.match(/"/g);
|
|
6615
|
+
(p && p.length % 2 === 0 && !m || m.length % 2 !== 0) && (g = g.replace(/'/g, '"'));
|
|
6523
6616
|
try {
|
|
6524
|
-
c = JSON.parse(
|
|
6617
|
+
c = JSON.parse(g), a && (c = {
|
|
6525
6618
|
...a,
|
|
6526
6619
|
...c
|
|
6527
6620
|
});
|
|
6528
6621
|
} catch (v) {
|
|
6529
|
-
return this.logger.warn(`failed parsing options string in nesting for key ${l}`, v), `${l}${h}${
|
|
6622
|
+
return this.logger.warn(`failed parsing options string in nesting for key ${l}`, v), `${l}${h}${g}`;
|
|
6530
6623
|
}
|
|
6531
6624
|
return c.defaultValue && c.defaultValue.indexOf(this.prefix) > -1 && delete c.defaultValue, l;
|
|
6532
6625
|
};
|
|
@@ -6534,14 +6627,14 @@ class F7 {
|
|
|
6534
6627
|
let l = [];
|
|
6535
6628
|
c = {
|
|
6536
6629
|
...n
|
|
6537
|
-
}, c = c.replace && !
|
|
6630
|
+
}, c = c.replace && !R(c.replace) ? c.replace : c, c.applyPostProcessor = !1, delete c.defaultValue;
|
|
6538
6631
|
let a = !1;
|
|
6539
6632
|
if (s[0].indexOf(this.formatSeparator) !== -1 && !/{.*}/.test(s[1])) {
|
|
6540
6633
|
const h = s[1].split(this.formatSeparator).map((u) => u.trim());
|
|
6541
6634
|
s[1] = h.shift(), l = h, a = !0;
|
|
6542
6635
|
}
|
|
6543
|
-
if (o = t(d.call(this, s[1].trim(), c), c), o && s[0] === e && !
|
|
6544
|
-
|
|
6636
|
+
if (o = t(d.call(this, s[1].trim(), c), c), o && s[0] === e && !R(o)) return o;
|
|
6637
|
+
R(o) || (o = K1(o)), o || (this.logger.warn(`missed to resolve ${s[1]} for nesting ${e}`), o = ""), a && (o = l.reduce((h, u) => this.format(h, u, n.lng, {
|
|
6545
6638
|
...n,
|
|
6546
6639
|
interpolationkey: s[1].trim()
|
|
6547
6640
|
}), o.trim())), e = e.replace(s[0], o), this.regexp.lastIndex = 0;
|
|
@@ -6549,7 +6642,7 @@ class F7 {
|
|
|
6549
6642
|
return e;
|
|
6550
6643
|
}
|
|
6551
6644
|
}
|
|
6552
|
-
const
|
|
6645
|
+
const X7 = (i) => {
|
|
6553
6646
|
let e = i.toLowerCase().trim();
|
|
6554
6647
|
const t = {};
|
|
6555
6648
|
if (i.indexOf("(") > -1) {
|
|
@@ -6567,7 +6660,7 @@ const W7 = (i) => {
|
|
|
6567
6660
|
formatName: e,
|
|
6568
6661
|
formatOptions: t
|
|
6569
6662
|
};
|
|
6570
|
-
},
|
|
6663
|
+
}, t1 = (i) => {
|
|
6571
6664
|
const e = {};
|
|
6572
6665
|
return (t, n, s) => {
|
|
6573
6666
|
let o = s;
|
|
@@ -6580,36 +6673,36 @@ const W7 = (i) => {
|
|
|
6580
6673
|
return d || (d = i(f1(n), s), e[c] = d), d(t);
|
|
6581
6674
|
};
|
|
6582
6675
|
};
|
|
6583
|
-
class
|
|
6676
|
+
class et {
|
|
6584
6677
|
constructor() {
|
|
6585
6678
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
6586
6679
|
this.logger = B.create("formatter"), this.options = e, this.formats = {
|
|
6587
|
-
number:
|
|
6680
|
+
number: t1((t, n) => {
|
|
6588
6681
|
const s = new Intl.NumberFormat(t, {
|
|
6589
6682
|
...n
|
|
6590
6683
|
});
|
|
6591
6684
|
return (o) => s.format(o);
|
|
6592
6685
|
}),
|
|
6593
|
-
currency:
|
|
6686
|
+
currency: t1((t, n) => {
|
|
6594
6687
|
const s = new Intl.NumberFormat(t, {
|
|
6595
6688
|
...n,
|
|
6596
6689
|
style: "currency"
|
|
6597
6690
|
});
|
|
6598
6691
|
return (o) => s.format(o);
|
|
6599
6692
|
}),
|
|
6600
|
-
datetime:
|
|
6693
|
+
datetime: t1((t, n) => {
|
|
6601
6694
|
const s = new Intl.DateTimeFormat(t, {
|
|
6602
6695
|
...n
|
|
6603
6696
|
});
|
|
6604
6697
|
return (o) => s.format(o);
|
|
6605
6698
|
}),
|
|
6606
|
-
relativetime:
|
|
6699
|
+
relativetime: t1((t, n) => {
|
|
6607
6700
|
const s = new Intl.RelativeTimeFormat(t, {
|
|
6608
6701
|
...n
|
|
6609
6702
|
});
|
|
6610
6703
|
return (o) => s.format(o, n.range || "day");
|
|
6611
6704
|
}),
|
|
6612
|
-
list:
|
|
6705
|
+
list: t1((t, n) => {
|
|
6613
6706
|
const s = new Intl.ListFormat(t, {
|
|
6614
6707
|
...n
|
|
6615
6708
|
});
|
|
@@ -6627,7 +6720,7 @@ class U7 {
|
|
|
6627
6720
|
this.formats[e.toLowerCase().trim()] = t;
|
|
6628
6721
|
}
|
|
6629
6722
|
addCached(e, t) {
|
|
6630
|
-
this.formats[e.toLowerCase().trim()] =
|
|
6723
|
+
this.formats[e.toLowerCase().trim()] = t1(t);
|
|
6631
6724
|
}
|
|
6632
6725
|
format(e, t, n) {
|
|
6633
6726
|
let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
|
|
@@ -6640,18 +6733,18 @@ class U7 {
|
|
|
6640
6733
|
const {
|
|
6641
6734
|
formatName: a,
|
|
6642
6735
|
formatOptions: h
|
|
6643
|
-
} =
|
|
6736
|
+
} = X7(l);
|
|
6644
6737
|
if (this.formats[a]) {
|
|
6645
6738
|
let u = d;
|
|
6646
6739
|
try {
|
|
6647
|
-
const
|
|
6740
|
+
const g = s && s.formatParams && s.formatParams[s.interpolationkey] || {}, p = g.locale || g.lng || s.locale || s.lng || n;
|
|
6648
6741
|
u = this.formats[a](d, p, {
|
|
6649
6742
|
...h,
|
|
6650
6743
|
...s,
|
|
6651
|
-
...
|
|
6744
|
+
...g
|
|
6652
6745
|
});
|
|
6653
|
-
} catch (
|
|
6654
|
-
this.logger.warn(
|
|
6746
|
+
} catch (g) {
|
|
6747
|
+
this.logger.warn(g);
|
|
6655
6748
|
}
|
|
6656
6749
|
return u;
|
|
6657
6750
|
} else
|
|
@@ -6660,10 +6753,10 @@ class U7 {
|
|
|
6660
6753
|
}, e);
|
|
6661
6754
|
}
|
|
6662
6755
|
}
|
|
6663
|
-
const
|
|
6756
|
+
const tt = (i, e) => {
|
|
6664
6757
|
i.pending[e] !== void 0 && (delete i.pending[e], i.pendingCount--);
|
|
6665
6758
|
};
|
|
6666
|
-
class
|
|
6759
|
+
class it extends v1 {
|
|
6667
6760
|
constructor(e, t, n) {
|
|
6668
6761
|
let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
|
|
6669
6762
|
super(), this.backend = e, this.store = t, this.services = n, this.languageUtils = n.languageUtils, this.options = s, this.logger = B.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = s.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = s.maxRetries >= 0 ? s.maxRetries : 5, this.retryTimeout = s.retryTimeout >= 1 ? s.retryTimeout : 350, this.state = {}, this.queue = [], this.backend && this.backend.init && this.backend.init(n, s.backend, s);
|
|
@@ -6673,8 +6766,8 @@ class J7 extends L1 {
|
|
|
6673
6766
|
return e.forEach((a) => {
|
|
6674
6767
|
let h = !0;
|
|
6675
6768
|
t.forEach((u) => {
|
|
6676
|
-
const
|
|
6677
|
-
!n.reload && this.store.hasResourceBundle(a, u) ? this.state[
|
|
6769
|
+
const g = `${a}|${u}`;
|
|
6770
|
+
!n.reload && this.store.hasResourceBundle(a, u) ? this.state[g] = 2 : this.state[g] < 0 || (this.state[g] === 1 ? c[g] === void 0 && (c[g] = !0) : (this.state[g] = 1, h = !1, c[g] === void 0 && (c[g] = !0), o[g] === void 0 && (o[g] = !0), l[u] === void 0 && (l[u] = !0)));
|
|
6678
6771
|
}), h || (d[a] = !0);
|
|
6679
6772
|
}), (Object.keys(o).length || Object.keys(c).length) && this.queue.push({
|
|
6680
6773
|
pending: c,
|
|
@@ -6696,7 +6789,7 @@ class J7 extends L1 {
|
|
|
6696
6789
|
}), this.state[e] = t ? -1 : 2, t && n && (this.state[e] = 0);
|
|
6697
6790
|
const d = {};
|
|
6698
6791
|
this.queue.forEach((l) => {
|
|
6699
|
-
|
|
6792
|
+
S7(l.loaded, [o], c), tt(l, e), t && l.errors.push(t), l.pendingCount === 0 && !l.done && (Object.keys(l.loaded).forEach((a) => {
|
|
6700
6793
|
d[a] || (d[a] = {});
|
|
6701
6794
|
const h = l.loaded[a];
|
|
6702
6795
|
h.length && h.forEach((u) => {
|
|
@@ -6748,7 +6841,7 @@ class J7 extends L1 {
|
|
|
6748
6841
|
let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, s = arguments.length > 3 ? arguments[3] : void 0;
|
|
6749
6842
|
if (!this.backend)
|
|
6750
6843
|
return this.logger.warn("No backend was added via i18next.use. Will not load resources."), s && s();
|
|
6751
|
-
|
|
6844
|
+
R(e) && (e = this.languageUtils.toResolveHierarchy(e)), R(t) && (t = [t]);
|
|
6752
6845
|
const o = this.queueLoad(e, t, n, s);
|
|
6753
6846
|
if (!o.toLoad.length)
|
|
6754
6847
|
return o.pending.length || s(), null;
|
|
@@ -6798,7 +6891,7 @@ class J7 extends L1 {
|
|
|
6798
6891
|
}
|
|
6799
6892
|
}
|
|
6800
6893
|
}
|
|
6801
|
-
const
|
|
6894
|
+
const z1 = () => ({
|
|
6802
6895
|
debug: !1,
|
|
6803
6896
|
initImmediate: !0,
|
|
6804
6897
|
ns: ["translation"],
|
|
@@ -6833,7 +6926,7 @@ const W1 = () => ({
|
|
|
6833
6926
|
appendNamespaceToCIMode: !1,
|
|
6834
6927
|
overloadTranslationOptionHandler: (i) => {
|
|
6835
6928
|
let e = {};
|
|
6836
|
-
if (typeof i[1] == "object" && (e = i[1]),
|
|
6929
|
+
if (typeof i[1] == "object" && (e = i[1]), R(i[1]) && (e.defaultValue = i[1]), R(i[2]) && (e.tDescription = i[2]), typeof i[2] == "object" || typeof i[3] == "object") {
|
|
6837
6930
|
const t = i[3] || i[2];
|
|
6838
6931
|
Object.keys(t).forEach((n) => {
|
|
6839
6932
|
e[n] = t[n];
|
|
@@ -6854,18 +6947,18 @@ const W1 = () => ({
|
|
|
6854
6947
|
maxReplaces: 1e3,
|
|
6855
6948
|
skipOnVariables: !0
|
|
6856
6949
|
}
|
|
6857
|
-
}),
|
|
6858
|
-
},
|
|
6950
|
+
}), J1 = (i) => (R(i.ns) && (i.ns = [i.ns]), R(i.fallbackLng) && (i.fallbackLng = [i.fallbackLng]), R(i.fallbackNS) && (i.fallbackNS = [i.fallbackNS]), i.supportedLngs && i.supportedLngs.indexOf("cimode") < 0 && (i.supportedLngs = i.supportedLngs.concat(["cimode"])), i), u1 = () => {
|
|
6951
|
+
}, nt = (i) => {
|
|
6859
6952
|
Object.getOwnPropertyNames(Object.getPrototypeOf(i)).forEach((t) => {
|
|
6860
6953
|
typeof i[t] == "function" && (i[t] = i[t].bind(i));
|
|
6861
6954
|
});
|
|
6862
6955
|
};
|
|
6863
|
-
class
|
|
6956
|
+
class h1 extends v1 {
|
|
6864
6957
|
constructor() {
|
|
6865
6958
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0;
|
|
6866
|
-
if (super(), this.options =
|
|
6959
|
+
if (super(), this.options = J1(e), this.services = {}, this.logger = B, this.modules = {
|
|
6867
6960
|
external: []
|
|
6868
|
-
},
|
|
6961
|
+
}, nt(this), t && !this.isInitialized && !e.isClone) {
|
|
6869
6962
|
if (!this.options.initImmediate)
|
|
6870
6963
|
return this.init(e, t), this;
|
|
6871
6964
|
setTimeout(() => {
|
|
@@ -6876,12 +6969,12 @@ class l1 extends L1 {
|
|
|
6876
6969
|
init() {
|
|
6877
6970
|
var e = this;
|
|
6878
6971
|
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 ? arguments[1] : void 0;
|
|
6879
|
-
this.isInitializing = !0, typeof t == "function" && (n = t, t = {}), !t.defaultNS && t.defaultNS !== !1 && t.ns && (
|
|
6880
|
-
const s =
|
|
6972
|
+
this.isInitializing = !0, typeof t == "function" && (n = t, t = {}), !t.defaultNS && t.defaultNS !== !1 && t.ns && (R(t.ns) ? t.defaultNS = t.ns : t.ns.indexOf("translation") < 0 && (t.defaultNS = t.ns[0]));
|
|
6973
|
+
const s = z1();
|
|
6881
6974
|
this.options = {
|
|
6882
6975
|
...s,
|
|
6883
6976
|
...this.options,
|
|
6884
|
-
...
|
|
6977
|
+
...J1(t)
|
|
6885
6978
|
}, this.options.compatibilityAPI !== "v1" && (this.options.interpolation = {
|
|
6886
6979
|
...s.interpolation,
|
|
6887
6980
|
...this.options.interpolation
|
|
@@ -6890,22 +6983,22 @@ class l1 extends L1 {
|
|
|
6890
6983
|
if (!this.options.isClone) {
|
|
6891
6984
|
this.modules.logger ? B.init(o(this.modules.logger), this.options) : B.init(null, this.options);
|
|
6892
6985
|
let h;
|
|
6893
|
-
this.modules.formatter ? h = this.modules.formatter : typeof Intl < "u" && (h =
|
|
6894
|
-
const u = new
|
|
6895
|
-
this.store = new
|
|
6896
|
-
const
|
|
6897
|
-
|
|
6986
|
+
this.modules.formatter ? h = this.modules.formatter : typeof Intl < "u" && (h = et);
|
|
6987
|
+
const u = new F1(this.options);
|
|
6988
|
+
this.store = new j1(this.options.resources, this.options);
|
|
6989
|
+
const g = this.services;
|
|
6990
|
+
g.logger = B, g.resourceStore = this.store, g.languageUtils = u, g.pluralResolver = new Q7(u, {
|
|
6898
6991
|
prepend: this.options.pluralSeparator,
|
|
6899
6992
|
compatibilityJSON: this.options.compatibilityJSON,
|
|
6900
6993
|
simplifyPluralSuffix: this.options.simplifyPluralSuffix
|
|
6901
|
-
}), h && (!this.options.interpolation.format || this.options.interpolation.format === s.interpolation.format) && (
|
|
6994
|
+
}), h && (!this.options.interpolation.format || this.options.interpolation.format === s.interpolation.format) && (g.formatter = o(h), g.formatter.init(g, this.options), this.options.interpolation.format = g.formatter.format.bind(g.formatter)), g.interpolator = new q7(this.options), g.utils = {
|
|
6902
6995
|
hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
|
|
6903
|
-
},
|
|
6904
|
-
for (var
|
|
6996
|
+
}, g.backendConnector = new it(o(this.modules.backend), g.resourceStore, g, this.options), g.backendConnector.on("*", function(p) {
|
|
6997
|
+
for (var m = arguments.length, v = new Array(m > 1 ? m - 1 : 0), f = 1; f < m; f++)
|
|
6905
6998
|
v[f - 1] = arguments[f];
|
|
6906
6999
|
e.emit(p, ...v);
|
|
6907
|
-
}), this.modules.languageDetector && (
|
|
6908
|
-
for (var
|
|
7000
|
+
}), this.modules.languageDetector && (g.languageDetector = o(this.modules.languageDetector), g.languageDetector.init && g.languageDetector.init(g, this.options.detection, this.options)), this.modules.i18nFormat && (g.i18nFormat = o(this.modules.i18nFormat), g.i18nFormat.init && g.i18nFormat.init(this)), this.translator = new w1(this.services, this.options), this.translator.on("*", function(p) {
|
|
7001
|
+
for (var m = arguments.length, v = new Array(m > 1 ? m - 1 : 0), f = 1; f < m; f++)
|
|
6909
7002
|
v[f - 1] = arguments[f];
|
|
6910
7003
|
e.emit(p, ...v);
|
|
6911
7004
|
}), this.modules.external.forEach((p) => {
|
|
@@ -6925,9 +7018,9 @@ class l1 extends L1 {
|
|
|
6925
7018
|
return e.store[h](...arguments), e;
|
|
6926
7019
|
};
|
|
6927
7020
|
});
|
|
6928
|
-
const l =
|
|
6929
|
-
const h = (u,
|
|
6930
|
-
this.isInitializing = !1, this.isInitialized && !this.initializedStoreOnce && this.logger.warn("init: i18next is already initialized. You should call init just once!"), this.isInitialized = !0, this.options.isClone || this.logger.log("initialized", this.options), this.emit("initialized", this.options), l.resolve(
|
|
7021
|
+
const l = r1(), a = () => {
|
|
7022
|
+
const h = (u, g) => {
|
|
7023
|
+
this.isInitializing = !1, this.isInitialized && !this.initializedStoreOnce && this.logger.warn("init: i18next is already initialized. You should call init just once!"), this.isInitialized = !0, this.options.isClone || this.logger.log("initialized", this.options), this.emit("initialized", this.options), l.resolve(g), n(u, g);
|
|
6931
7024
|
};
|
|
6932
7025
|
if (this.languages && this.options.compatibilityAPI !== "v1" && !this.isInitialized) return h(null, this.t.bind(this));
|
|
6933
7026
|
this.changeLanguage(this.options.lng, h);
|
|
@@ -6936,7 +7029,7 @@ class l1 extends L1 {
|
|
|
6936
7029
|
}
|
|
6937
7030
|
loadResources(e) {
|
|
6938
7031
|
let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : u1;
|
|
6939
|
-
const s =
|
|
7032
|
+
const s = R(e) ? e : this.language;
|
|
6940
7033
|
if (typeof e == "function" && (n = e), !this.options.resources || this.options.partialBundledLanguages) {
|
|
6941
7034
|
if (s && s.toLowerCase() === "cimode" && (!this.options.preload || this.options.preload.length === 0)) return n();
|
|
6942
7035
|
const o = [], c = (d) => {
|
|
@@ -6952,7 +7045,7 @@ class l1 extends L1 {
|
|
|
6952
7045
|
n(null);
|
|
6953
7046
|
}
|
|
6954
7047
|
reloadResources(e, t, n) {
|
|
6955
|
-
const s =
|
|
7048
|
+
const s = r1();
|
|
6956
7049
|
return typeof e == "function" && (n = e, e = void 0), typeof t == "function" && (n = t, t = void 0), e || (e = this.languages), t || (t = this.options.ns), n || (n = u1), this.services.backendConnector.reload(e, t, (o) => {
|
|
6957
7050
|
s.resolve(), n(o);
|
|
6958
7051
|
}), s;
|
|
@@ -6960,7 +7053,7 @@ class l1 extends L1 {
|
|
|
6960
7053
|
use(e) {
|
|
6961
7054
|
if (!e) throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");
|
|
6962
7055
|
if (!e.type) throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");
|
|
6963
|
-
return e.type === "backend" && (this.modules.backend = e), (e.type === "logger" || e.log && e.warn && e.error) && (this.modules.logger = e), e.type === "languageDetector" && (this.modules.languageDetector = e), e.type === "i18nFormat" && (this.modules.i18nFormat = e), e.type === "postProcessor" &&
|
|
7056
|
+
return e.type === "backend" && (this.modules.backend = e), (e.type === "logger" || e.log && e.warn && e.error) && (this.modules.logger = e), e.type === "languageDetector" && (this.modules.languageDetector = e), e.type === "i18nFormat" && (this.modules.i18nFormat = e), e.type === "postProcessor" && o2.addPostProcessor(e), e.type === "formatter" && (this.modules.formatter = e), e.type === "3rdParty" && this.modules.external.push(e), this;
|
|
6964
7057
|
}
|
|
6965
7058
|
setResolvedLanguage(e) {
|
|
6966
7059
|
if (!(!e || !this.languages) && !(["cimode", "dev"].indexOf(e) > -1))
|
|
@@ -6975,7 +7068,7 @@ class l1 extends L1 {
|
|
|
6975
7068
|
changeLanguage(e, t) {
|
|
6976
7069
|
var n = this;
|
|
6977
7070
|
this.isLanguageChangingTo = e;
|
|
6978
|
-
const s =
|
|
7071
|
+
const s = r1();
|
|
6979
7072
|
this.emit("languageChanging", e);
|
|
6980
7073
|
const o = (l) => {
|
|
6981
7074
|
this.language = l, this.languages = this.services.languageUtils.toResolveHierarchy(l), this.resolvedLanguage = void 0, this.setResolvedLanguage(l);
|
|
@@ -6987,7 +7080,7 @@ class l1 extends L1 {
|
|
|
6987
7080
|
});
|
|
6988
7081
|
}, d = (l) => {
|
|
6989
7082
|
!e && !l && this.services.languageDetector && (l = []);
|
|
6990
|
-
const a =
|
|
7083
|
+
const a = R(l) ? l : this.services.languageUtils.getBestMatchFromCodes(l);
|
|
6991
7084
|
a && (this.language || o(a), this.translator.language || this.translator.changeLanguage(a), this.services.languageDetector && this.services.languageDetector.cacheUserLanguage && this.services.languageDetector.cacheUserLanguage(a)), this.loadResources(a, (h) => {
|
|
6992
7085
|
c(h, a);
|
|
6993
7086
|
});
|
|
@@ -7007,11 +7100,11 @@ class l1 extends L1 {
|
|
|
7007
7100
|
...d
|
|
7008
7101
|
};
|
|
7009
7102
|
l.lng = l.lng || o.lng, l.lngs = l.lngs || o.lngs, l.ns = l.ns || o.ns, l.keyPrefix !== "" && (l.keyPrefix = l.keyPrefix || n || o.keyPrefix);
|
|
7010
|
-
const
|
|
7103
|
+
const g = s.options.keySeparator || ".";
|
|
7011
7104
|
let p;
|
|
7012
|
-
return l.keyPrefix && Array.isArray(c) ? p = c.map((
|
|
7105
|
+
return l.keyPrefix && Array.isArray(c) ? p = c.map((m) => `${l.keyPrefix}${g}${m}`) : p = l.keyPrefix ? `${l.keyPrefix}${g}${c}` : c, s.t(p, l);
|
|
7013
7106
|
};
|
|
7014
|
-
return
|
|
7107
|
+
return R(e) ? o.lng = e : o.lngs = e, o.ns = t, o.keyPrefix = n, o;
|
|
7015
7108
|
}
|
|
7016
7109
|
t() {
|
|
7017
7110
|
return this.translator && this.translator.translate(...arguments);
|
|
@@ -7041,16 +7134,16 @@ class l1 extends L1 {
|
|
|
7041
7134
|
return !!(this.hasResourceBundle(n, e) || !this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages || c(n, e) && (!s || c(o, e)));
|
|
7042
7135
|
}
|
|
7043
7136
|
loadNamespaces(e, t) {
|
|
7044
|
-
const n =
|
|
7045
|
-
return this.options.ns ? (
|
|
7137
|
+
const n = r1();
|
|
7138
|
+
return this.options.ns ? (R(e) && (e = [e]), e.forEach((s) => {
|
|
7046
7139
|
this.options.ns.indexOf(s) < 0 && this.options.ns.push(s);
|
|
7047
7140
|
}), this.loadResources((s) => {
|
|
7048
7141
|
n.resolve(), t && t(s);
|
|
7049
7142
|
}), n) : (t && t(), Promise.resolve());
|
|
7050
7143
|
}
|
|
7051
7144
|
loadLanguages(e, t) {
|
|
7052
|
-
const n =
|
|
7053
|
-
|
|
7145
|
+
const n = r1();
|
|
7146
|
+
R(e) && (e = [e]);
|
|
7054
7147
|
const s = this.options.preload || [], o = e.filter((c) => s.indexOf(c) < 0 && this.services.languageUtils.isSupportedCode(c));
|
|
7055
7148
|
return o.length ? (this.options.preload = s.concat(o), this.loadResources((c) => {
|
|
7056
7149
|
n.resolve(), t && t(c);
|
|
@@ -7058,12 +7151,12 @@ class l1 extends L1 {
|
|
|
7058
7151
|
}
|
|
7059
7152
|
dir(e) {
|
|
7060
7153
|
if (e || (e = this.resolvedLanguage || (this.languages && this.languages.length > 0 ? this.languages[0] : this.language)), !e) return "rtl";
|
|
7061
|
-
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"], n = this.services && this.services.languageUtils || new
|
|
7154
|
+
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"], n = this.services && this.services.languageUtils || new F1(z1());
|
|
7062
7155
|
return t.indexOf(n.getLanguagePartFromCode(e)) > -1 || e.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr";
|
|
7063
7156
|
}
|
|
7064
7157
|
static createInstance() {
|
|
7065
7158
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0;
|
|
7066
|
-
return new
|
|
7159
|
+
return new h1(e, t);
|
|
7067
7160
|
}
|
|
7068
7161
|
cloneInstance() {
|
|
7069
7162
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : u1;
|
|
@@ -7073,14 +7166,14 @@ class l1 extends L1 {
|
|
|
7073
7166
|
...this.options,
|
|
7074
7167
|
...e,
|
|
7075
7168
|
isClone: !0
|
|
7076
|
-
}, o = new
|
|
7169
|
+
}, o = new h1(s);
|
|
7077
7170
|
return (e.debug !== void 0 || e.prefix !== void 0) && (o.logger = o.logger.clone(e)), ["store", "services", "language"].forEach((d) => {
|
|
7078
7171
|
o[d] = this[d];
|
|
7079
7172
|
}), o.services = {
|
|
7080
7173
|
...this.services
|
|
7081
7174
|
}, o.services.utils = {
|
|
7082
7175
|
hasLoadedNamespace: o.hasLoadedNamespace.bind(o)
|
|
7083
|
-
}, n && (o.store = new
|
|
7176
|
+
}, n && (o.store = new j1(this.store.data, s), o.services.resourceStore = o.store), o.translator = new w1(o.services, s), o.translator.on("*", function(d) {
|
|
7084
7177
|
for (var l = arguments.length, a = new Array(l > 1 ? l - 1 : 0), h = 1; h < l; h++)
|
|
7085
7178
|
a[h - 1] = arguments[h];
|
|
7086
7179
|
o.emit(d, ...a);
|
|
@@ -7098,36 +7191,36 @@ class l1 extends L1 {
|
|
|
7098
7191
|
};
|
|
7099
7192
|
}
|
|
7100
7193
|
}
|
|
7101
|
-
const
|
|
7102
|
-
|
|
7103
|
-
|
|
7104
|
-
|
|
7105
|
-
|
|
7106
|
-
|
|
7107
|
-
|
|
7108
|
-
|
|
7109
|
-
|
|
7110
|
-
|
|
7111
|
-
|
|
7112
|
-
|
|
7113
|
-
|
|
7114
|
-
|
|
7115
|
-
|
|
7116
|
-
|
|
7117
|
-
function
|
|
7194
|
+
const O = h1.createInstance();
|
|
7195
|
+
O.createInstance = h1.createInstance;
|
|
7196
|
+
O.createInstance;
|
|
7197
|
+
O.dir;
|
|
7198
|
+
O.init;
|
|
7199
|
+
O.loadResources;
|
|
7200
|
+
O.reloadResources;
|
|
7201
|
+
O.use;
|
|
7202
|
+
O.changeLanguage;
|
|
7203
|
+
O.getFixedT;
|
|
7204
|
+
O.t;
|
|
7205
|
+
O.exists;
|
|
7206
|
+
O.setDefaultNamespace;
|
|
7207
|
+
O.hasLoadedNamespace;
|
|
7208
|
+
O.loadNamespaces;
|
|
7209
|
+
O.loadLanguages;
|
|
7210
|
+
function st() {
|
|
7118
7211
|
if (console && console.warn) {
|
|
7119
7212
|
for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
|
|
7120
7213
|
e[t] = arguments[t];
|
|
7121
7214
|
J(e[0]) && (e[0] = `react-i18next:: ${e[0]}`), console.warn(...e);
|
|
7122
7215
|
}
|
|
7123
7216
|
}
|
|
7124
|
-
const
|
|
7125
|
-
function
|
|
7217
|
+
const Q1 = {};
|
|
7218
|
+
function E1() {
|
|
7126
7219
|
for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
|
|
7127
7220
|
e[t] = arguments[t];
|
|
7128
|
-
J(e[0]) &&
|
|
7221
|
+
J(e[0]) && Q1[e[0]] || (J(e[0]) && (Q1[e[0]] = /* @__PURE__ */ new Date()), st(...e));
|
|
7129
7222
|
}
|
|
7130
|
-
const
|
|
7223
|
+
const a2 = (i, e) => () => {
|
|
7131
7224
|
if (i.isInitialized)
|
|
7132
7225
|
e();
|
|
7133
7226
|
else {
|
|
@@ -7138,13 +7231,13 @@ const r2 = (i, e) => () => {
|
|
|
7138
7231
|
};
|
|
7139
7232
|
i.on("initialized", t);
|
|
7140
7233
|
}
|
|
7141
|
-
},
|
|
7142
|
-
i.loadNamespaces(e,
|
|
7143
|
-
},
|
|
7234
|
+
}, q1 = (i, e, t) => {
|
|
7235
|
+
i.loadNamespaces(e, a2(i, t));
|
|
7236
|
+
}, X1 = (i, e, t, n) => {
|
|
7144
7237
|
J(t) && (t = [t]), t.forEach((s) => {
|
|
7145
7238
|
i.options.ns.indexOf(s) < 0 && i.options.ns.push(s);
|
|
7146
|
-
}), i.loadLanguages(e,
|
|
7147
|
-
},
|
|
7239
|
+
}), i.loadLanguages(e, a2(i, n));
|
|
7240
|
+
}, rt = function(i, e) {
|
|
7148
7241
|
let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
7149
7242
|
const n = e.languages[0], s = e.options ? e.options.fallbackLng : !1, o = e.languages[e.languages.length - 1];
|
|
7150
7243
|
if (n.toLowerCase() === "cimode") return !0;
|
|
@@ -7153,15 +7246,15 @@ const r2 = (i, e) => () => {
|
|
|
7153
7246
|
return a === -1 || a === 2;
|
|
7154
7247
|
};
|
|
7155
7248
|
return t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && e.services.backendConnector.backend && e.isLanguageChangingTo && !c(e.isLanguageChangingTo, i) ? !1 : !!(e.hasResourceBundle(n, i) || !e.services.backendConnector.backend || e.options.resources && !e.options.partialBundledLanguages || c(n, i) && (!s || c(o, i)));
|
|
7156
|
-
},
|
|
7249
|
+
}, ot = function(i, e) {
|
|
7157
7250
|
let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
7158
|
-
return !e.languages || !e.languages.length ? (
|
|
7251
|
+
return !e.languages || !e.languages.length ? (E1("i18n.languages were undefined or empty", e.languages), !0) : e.options.ignoreJSONStructure !== void 0 ? e.hasLoadedNamespace(i, {
|
|
7159
7252
|
lng: t.lng,
|
|
7160
7253
|
precheck: (s, o) => {
|
|
7161
7254
|
if (t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && s.services.backendConnector.backend && s.isLanguageChangingTo && !o(s.isLanguageChangingTo, i)) return !1;
|
|
7162
7255
|
}
|
|
7163
|
-
}) :
|
|
7164
|
-
}, J = (i) => typeof i == "string",
|
|
7256
|
+
}) : rt(i, e, t);
|
|
7257
|
+
}, J = (i) => typeof i == "string", at = (i) => typeof i == "object" && i !== null, lt = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, ht = {
|
|
7165
7258
|
"&": "&",
|
|
7166
7259
|
"&": "&",
|
|
7167
7260
|
"<": "<",
|
|
@@ -7182,8 +7275,8 @@ const r2 = (i, e) => () => {
|
|
|
7182
7275
|
"…": "…",
|
|
7183
7276
|
"/": "/",
|
|
7184
7277
|
"/": "/"
|
|
7185
|
-
},
|
|
7186
|
-
let
|
|
7278
|
+
}, ct = (i) => ht[i], dt = (i) => i.replace(lt, ct);
|
|
7279
|
+
let H1 = {
|
|
7187
7280
|
bindI18n: "languageChanged",
|
|
7188
7281
|
bindI18nStore: "",
|
|
7189
7282
|
transEmptyNodeValue: "",
|
|
@@ -7191,27 +7284,27 @@ let b1 = {
|
|
|
7191
7284
|
transWrapTextNodes: "",
|
|
7192
7285
|
transKeepBasicHtmlNodesFor: ["br", "strong", "i", "p"],
|
|
7193
7286
|
useSuspense: !0,
|
|
7194
|
-
unescape:
|
|
7287
|
+
unescape: dt
|
|
7195
7288
|
};
|
|
7196
|
-
const
|
|
7289
|
+
const gt = function() {
|
|
7197
7290
|
let i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
7198
|
-
|
|
7199
|
-
...
|
|
7291
|
+
H1 = {
|
|
7292
|
+
...H1,
|
|
7200
7293
|
...i
|
|
7201
7294
|
};
|
|
7202
|
-
},
|
|
7203
|
-
let
|
|
7204
|
-
const
|
|
7205
|
-
|
|
7206
|
-
},
|
|
7295
|
+
}, Ct = () => H1;
|
|
7296
|
+
let l2;
|
|
7297
|
+
const ut = (i) => {
|
|
7298
|
+
l2 = i;
|
|
7299
|
+
}, pt = () => l2, ft = {
|
|
7207
7300
|
type: "3rdParty",
|
|
7208
7301
|
init(i) {
|
|
7209
|
-
|
|
7302
|
+
gt(i.options.react), ut(i);
|
|
7210
7303
|
}
|
|
7211
|
-
},
|
|
7212
|
-
class
|
|
7304
|
+
}, mt = q();
|
|
7305
|
+
class wt {
|
|
7213
7306
|
constructor() {
|
|
7214
|
-
|
|
7307
|
+
O1(this, "getUsedNamespaces", () => Object.keys(this.usedNamespaces));
|
|
7215
7308
|
this.usedNamespaces = {};
|
|
7216
7309
|
}
|
|
7217
7310
|
addUsedNamespaces(e) {
|
|
@@ -7220,27 +7313,27 @@ class C0 {
|
|
|
7220
7313
|
});
|
|
7221
7314
|
}
|
|
7222
7315
|
}
|
|
7223
|
-
const
|
|
7224
|
-
const t =
|
|
7225
|
-
return
|
|
7316
|
+
const Lt = (i, e) => {
|
|
7317
|
+
const t = $();
|
|
7318
|
+
return V(() => {
|
|
7226
7319
|
t.current = i;
|
|
7227
7320
|
}, [i, e]), t.current;
|
|
7228
|
-
},
|
|
7321
|
+
}, h2 = (i, e, t, n) => i.getFixedT(e, t, n), kt = (i, e, t, n) => K(h2(i, e, t, n), [i, e, t, n]), vt = function(i) {
|
|
7229
7322
|
let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
7230
7323
|
const {
|
|
7231
7324
|
i18n: t
|
|
7232
7325
|
} = e, {
|
|
7233
7326
|
i18n: n,
|
|
7234
7327
|
defaultNS: s
|
|
7235
|
-
} = Q(
|
|
7236
|
-
if (o && !o.reportNamespaces && (o.reportNamespaces = new
|
|
7237
|
-
|
|
7238
|
-
const
|
|
7239
|
-
return M.t =
|
|
7328
|
+
} = Q(mt) || {}, o = t || n || pt();
|
|
7329
|
+
if (o && !o.reportNamespaces && (o.reportNamespaces = new wt()), !o) {
|
|
7330
|
+
E1("You will need to pass in an i18next instance by using initReactI18next");
|
|
7331
|
+
const w = (x, _) => J(_) ? _ : at(_) && J(_.defaultValue) ? _.defaultValue : Array.isArray(x) ? x[x.length - 1] : x, M = [w, {}, !1];
|
|
7332
|
+
return M.t = w, M.i18n = {}, M.ready = !1, M;
|
|
7240
7333
|
}
|
|
7241
|
-
o.options.react && o.options.react.wait !== void 0 &&
|
|
7334
|
+
o.options.react && o.options.react.wait !== void 0 && E1("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
|
|
7242
7335
|
const c = {
|
|
7243
|
-
...
|
|
7336
|
+
...Ct(),
|
|
7244
7337
|
...o.options.react,
|
|
7245
7338
|
...e
|
|
7246
7339
|
}, {
|
|
@@ -7249,52 +7342,52 @@ const g0 = (i, e) => {
|
|
|
7249
7342
|
} = c;
|
|
7250
7343
|
let a = i;
|
|
7251
7344
|
a = J(a) ? [a] : a || ["translation"], o.reportNamespaces.addUsedNamespaces && o.reportNamespaces.addUsedNamespaces(a);
|
|
7252
|
-
const h = (o.isInitialized || o.initializedStoreOnce) && a.every((
|
|
7345
|
+
const h = (o.isInitialized || o.initializedStoreOnce) && a.every((w) => ot(w, o, c)), u = kt(o, e.lng || null, c.nsMode === "fallback" ? a : a[0], l), g = () => u, p = () => h2(o, e.lng || null, c.nsMode === "fallback" ? a : a[0], l), [m, v] = I(g);
|
|
7253
7346
|
let f = a.join();
|
|
7254
7347
|
e.lng && (f = `${e.lng}${f}`);
|
|
7255
|
-
const
|
|
7256
|
-
|
|
7348
|
+
const b = Lt(f), y = $(!0);
|
|
7349
|
+
V(() => {
|
|
7257
7350
|
const {
|
|
7258
|
-
bindI18n:
|
|
7351
|
+
bindI18n: w,
|
|
7259
7352
|
bindI18nStore: M
|
|
7260
7353
|
} = c;
|
|
7261
|
-
|
|
7262
|
-
|
|
7263
|
-
}) :
|
|
7264
|
-
|
|
7265
|
-
})), h &&
|
|
7266
|
-
const
|
|
7267
|
-
|
|
7354
|
+
y.current = !0, !h && !d && (e.lng ? X1(o, e.lng, a, () => {
|
|
7355
|
+
y.current && v(p);
|
|
7356
|
+
}) : q1(o, a, () => {
|
|
7357
|
+
y.current && v(p);
|
|
7358
|
+
})), h && b && b !== f && y.current && v(p);
|
|
7359
|
+
const x = () => {
|
|
7360
|
+
y.current && v(p);
|
|
7268
7361
|
};
|
|
7269
|
-
return
|
|
7270
|
-
|
|
7362
|
+
return w && o && o.on(w, x), M && o && o.store.on(M, x), () => {
|
|
7363
|
+
y.current = !1, w && o && w.split(" ").forEach((_) => o.off(_, x)), M && o && M.split(" ").forEach((_) => o.store.off(_, x));
|
|
7271
7364
|
};
|
|
7272
|
-
}, [o, f]),
|
|
7273
|
-
|
|
7365
|
+
}, [o, f]), V(() => {
|
|
7366
|
+
y.current && h && v(g);
|
|
7274
7367
|
}, [o, l, h]);
|
|
7275
|
-
const
|
|
7276
|
-
if (
|
|
7277
|
-
throw new Promise((
|
|
7278
|
-
e.lng ?
|
|
7368
|
+
const H = [m, o, h];
|
|
7369
|
+
if (H.t = m, H.i18n = o, H.ready = h, h || !h && !d) return H;
|
|
7370
|
+
throw new Promise((w) => {
|
|
7371
|
+
e.lng ? X1(o, e.lng, a, () => w()) : q1(o, a, () => w());
|
|
7279
7372
|
});
|
|
7280
|
-
},
|
|
7281
|
-
placeholder:
|
|
7282
|
-
},
|
|
7283
|
-
placeholder:
|
|
7373
|
+
}, Nt = "Country", Rt = {
|
|
7374
|
+
placeholder: Nt
|
|
7375
|
+
}, xt = "Страна", _t = {
|
|
7376
|
+
placeholder: xt
|
|
7284
7377
|
};
|
|
7285
|
-
|
|
7378
|
+
O.use(ft).init({
|
|
7286
7379
|
defaultNS: "common",
|
|
7287
7380
|
lng: "en",
|
|
7288
7381
|
resources: {
|
|
7289
7382
|
en: {
|
|
7290
|
-
common:
|
|
7383
|
+
common: Rt
|
|
7291
7384
|
},
|
|
7292
7385
|
ru: {
|
|
7293
|
-
common:
|
|
7386
|
+
common: _t
|
|
7294
7387
|
}
|
|
7295
7388
|
}
|
|
7296
7389
|
});
|
|
7297
|
-
const
|
|
7390
|
+
const Vt = i1(
|
|
7298
7391
|
({
|
|
7299
7392
|
width: i,
|
|
7300
7393
|
selectedCity: e,
|
|
@@ -7307,54 +7400,54 @@ const b0 = h1(
|
|
|
7307
7400
|
clearable: l,
|
|
7308
7401
|
error: a
|
|
7309
7402
|
}, h) => {
|
|
7310
|
-
const [u,
|
|
7311
|
-
if (!
|
|
7403
|
+
const [u, g] = I([]), [p, m] = I([]), [v, f] = I(!1), { locale: b, axiosPeople: y } = Q(f2);
|
|
7404
|
+
if (!y)
|
|
7312
7405
|
throw new Error(
|
|
7313
7406
|
`CountrySelect requires "axiosPeople" to fetch counties.
|
|
7314
7407
|
Please provide it via SNMTUiContext.`
|
|
7315
7408
|
);
|
|
7316
|
-
const { t:
|
|
7409
|
+
const { t: H } = vt("common", { lng: b }), w = K(async () => {
|
|
7317
7410
|
f(!0);
|
|
7318
7411
|
try {
|
|
7319
|
-
const
|
|
7320
|
-
|
|
7412
|
+
const x = await y.post("v1/countries/search");
|
|
7413
|
+
m(x == null ? void 0 : x.data.data);
|
|
7321
7414
|
} catch {
|
|
7322
|
-
|
|
7415
|
+
g([]);
|
|
7323
7416
|
} finally {
|
|
7324
7417
|
f(!1);
|
|
7325
7418
|
}
|
|
7326
|
-
}, [
|
|
7327
|
-
|
|
7328
|
-
|
|
7329
|
-
}, []),
|
|
7419
|
+
}, [y]);
|
|
7420
|
+
V(() => {
|
|
7421
|
+
w();
|
|
7422
|
+
}, []), V(() => {
|
|
7330
7423
|
if (e) {
|
|
7331
|
-
const
|
|
7332
|
-
(
|
|
7424
|
+
const x = e.split("-")[1], _ = p.filter(
|
|
7425
|
+
(T) => T.name.includes(x)
|
|
7333
7426
|
);
|
|
7334
|
-
if (
|
|
7335
|
-
const
|
|
7427
|
+
if (_.length) {
|
|
7428
|
+
const T = _.map((Y) => ({
|
|
7336
7429
|
label: Y.name,
|
|
7337
7430
|
value: Y.name
|
|
7338
7431
|
}));
|
|
7339
|
-
n(
|
|
7432
|
+
n(T[0].value);
|
|
7340
7433
|
}
|
|
7341
7434
|
}
|
|
7342
|
-
}, [e, p, n]),
|
|
7343
|
-
const
|
|
7344
|
-
label:
|
|
7345
|
-
value:
|
|
7435
|
+
}, [e, p, n]), V(() => {
|
|
7436
|
+
const x = p.map((_) => ({
|
|
7437
|
+
label: _.name,
|
|
7438
|
+
value: _.name
|
|
7346
7439
|
}));
|
|
7347
|
-
|
|
7440
|
+
g(x);
|
|
7348
7441
|
}, [p]);
|
|
7349
|
-
const M = (
|
|
7350
|
-
|
|
7442
|
+
const M = (x) => {
|
|
7443
|
+
x === null ? (n(""), t && t("")) : (n(x), t && t(""));
|
|
7351
7444
|
};
|
|
7352
7445
|
return /* @__PURE__ */ r("div", { className: "snmt-country-select", children: /* @__PURE__ */ r(
|
|
7353
|
-
|
|
7446
|
+
O7,
|
|
7354
7447
|
{
|
|
7355
7448
|
id: o,
|
|
7356
7449
|
width: i,
|
|
7357
|
-
placeholder:
|
|
7450
|
+
placeholder: H("placeholder"),
|
|
7358
7451
|
value: s,
|
|
7359
7452
|
ref: h,
|
|
7360
7453
|
onChange: M,
|
|
@@ -7369,5 +7462,5 @@ const b0 = h1(
|
|
|
7369
7462
|
}
|
|
7370
7463
|
);
|
|
7371
7464
|
export {
|
|
7372
|
-
|
|
7465
|
+
Vt as CountrySelect
|
|
7373
7466
|
};
|