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