@snmt-react-ui/city-select 2.8.9 → 2.8.10
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/city-select.js +877 -820
- package/dist/index.css +1 -1
- package/package.json +3 -3
package/dist/city-select.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
var m2 = Object.defineProperty;
|
|
2
2
|
var w2 = (i, e, t) => e in i ? m2(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t;
|
|
3
|
-
var
|
|
3
|
+
var T1 = (i, e, t) => w2(i, typeof e != "symbol" ? e + "" : e, t);
|
|
4
4
|
import "./index.css";
|
|
5
5
|
import { jsx as r, Fragment as i1, jsxs as u } from "react/jsx-runtime";
|
|
6
6
|
import { SNMTUiContext as L2 } from "@snmt-react-ui/core";
|
|
7
|
-
import { forwardRef as
|
|
8
|
-
import { Select as v2, Tag as N2, Flex as R2, Checkbox as x2, Avatar as _2, Typography as
|
|
7
|
+
import { forwardRef as d1, useState as I, useRef as $, useCallback as K, useEffect as S, useMemo as k2, useImperativeHandle as k1, useContext as r1, createContext as C1 } from "react";
|
|
8
|
+
import { Select as v2, Tag as N2, Flex as R2, Checkbox as x2, Avatar as _2, Typography as D1, Popover as M2 } from "antd";
|
|
9
9
|
var b2 = Object.defineProperty, y2 = (i, e, t) => e in i ? b2(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, H2 = (i, e, t) => y2(i, e + "", t), E2 = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
10
10
|
function V2() {
|
|
11
11
|
if (console && console.warn) {
|
|
@@ -14,11 +14,11 @@ function V2() {
|
|
|
14
14
|
s1(e[0]) && (e[0] = `react-i18next:: ${e[0]}`), console.warn(...e);
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
|
-
const
|
|
17
|
+
const K1 = {};
|
|
18
18
|
function A1() {
|
|
19
19
|
for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
|
|
20
20
|
e[t] = arguments[t];
|
|
21
|
-
s1(e[0]) &&
|
|
21
|
+
s1(e[0]) && K1[e[0]] || (s1(e[0]) && (K1[e[0]] = /* @__PURE__ */ new Date()), V2(...e));
|
|
22
22
|
}
|
|
23
23
|
const o2 = (i, e) => () => {
|
|
24
24
|
if (i.isInitialized)
|
|
@@ -31,9 +31,9 @@ const o2 = (i, e) => () => {
|
|
|
31
31
|
};
|
|
32
32
|
i.on("initialized", t);
|
|
33
33
|
}
|
|
34
|
-
},
|
|
34
|
+
}, B1 = (i, e, t) => {
|
|
35
35
|
i.loadNamespaces(e, o2(i, t));
|
|
36
|
-
},
|
|
36
|
+
}, P1 = (i, e, t, s) => {
|
|
37
37
|
s1(t) && (t = [t]), t.forEach((n) => {
|
|
38
38
|
i.options.ns.indexOf(n) < 0 && i.options.ns.push(n);
|
|
39
39
|
}), i.loadLanguages(e, o2(i, s));
|
|
@@ -54,7 +54,7 @@ const o2 = (i, e) => () => {
|
|
|
54
54
|
if (t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && s.services.backendConnector.backend && s.isLanguageChangingTo && !n(s.isLanguageChangingTo, i)) return !1;
|
|
55
55
|
}
|
|
56
56
|
}) : I2(i, e, t);
|
|
57
|
-
}, s1 = (i) => typeof i == "string", O2 = (i) => typeof i == "object" && i !== null,
|
|
57
|
+
}, s1 = (i) => typeof i == "string", O2 = (i) => typeof i == "object" && i !== null, S2 = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, Z2 = {
|
|
58
58
|
"&": "&",
|
|
59
59
|
"&": "&",
|
|
60
60
|
"<": "<",
|
|
@@ -75,7 +75,7 @@ const o2 = (i, e) => () => {
|
|
|
75
75
|
"…": "…",
|
|
76
76
|
"/": "/",
|
|
77
77
|
"/": "/"
|
|
78
|
-
}, D2 = (i) =>
|
|
78
|
+
}, D2 = (i) => Z2[i], G2 = (i) => i.replace(S2, D2);
|
|
79
79
|
let T2 = {
|
|
80
80
|
bindI18n: "languageChanged",
|
|
81
81
|
bindI18nStore: "",
|
|
@@ -88,7 +88,7 @@ let T2 = {
|
|
|
88
88
|
};
|
|
89
89
|
const K2 = () => T2;
|
|
90
90
|
let B2;
|
|
91
|
-
const P2 = () => B2, Y2 =
|
|
91
|
+
const P2 = () => B2, Y2 = C1();
|
|
92
92
|
class j2 {
|
|
93
93
|
constructor() {
|
|
94
94
|
H2(this, "getUsedNamespaces", () => Object.keys(this.usedNamespaces)), this.usedNamespaces = {};
|
|
@@ -100,7 +100,7 @@ class j2 {
|
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
102
|
const $2 = (i, e) => {
|
|
103
|
-
const t =
|
|
103
|
+
const t = $();
|
|
104
104
|
return S(() => {
|
|
105
105
|
t.current = i;
|
|
106
106
|
}, [i, e]), t.current;
|
|
@@ -114,8 +114,8 @@ const $2 = (i, e) => {
|
|
|
114
114
|
} = r1(Y2) || {}, o = t || s || P2();
|
|
115
115
|
if (o && !o.reportNamespaces && (o.reportNamespaces = new j2()), !o) {
|
|
116
116
|
A1("You will need to pass in an i18next instance by using initReactI18next");
|
|
117
|
-
const p = (_,
|
|
118
|
-
return
|
|
117
|
+
const p = (_, R) => s1(R) ? R : O2(R) && s1(R.defaultValue) ? R.defaultValue : Array.isArray(_) ? _[_.length - 1] : _, N = [p, {}, !1];
|
|
118
|
+
return N.t = p, N.i18n = {}, N.ready = !1, N;
|
|
119
119
|
}
|
|
120
120
|
o.options.react && o.options.react.wait !== void 0 && A1("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
|
|
121
121
|
const c = {
|
|
@@ -128,35 +128,35 @@ const $2 = (i, e) => {
|
|
|
128
128
|
} = c;
|
|
129
129
|
let d = i;
|
|
130
130
|
d = s1(d) ? [d] : d || ["translation"], o.reportNamespaces.addUsedNamespaces && o.reportNamespaces.addUsedNamespaces(d);
|
|
131
|
-
const l = (o.isInitialized || o.initializedStoreOnce) && d.every((p) => A2(p, o, c)), h = F2(o, e.lng || null, c.nsMode === "fallback" ? d : d[0], C), g = () => h, f = () => a2(o, e.lng || null, c.nsMode === "fallback" ? d : d[0], C), [
|
|
131
|
+
const l = (o.isInitialized || o.initializedStoreOnce) && d.every((p) => A2(p, o, c)), h = F2(o, e.lng || null, c.nsMode === "fallback" ? d : d[0], C), g = () => h, f = () => a2(o, e.lng || null, c.nsMode === "fallback" ? d : d[0], C), [w, v] = I(g);
|
|
132
132
|
let m = d.join();
|
|
133
133
|
e.lng && (m = `${e.lng}${m}`);
|
|
134
|
-
const
|
|
134
|
+
const b = $2(m), y = $(!0);
|
|
135
135
|
S(() => {
|
|
136
136
|
const {
|
|
137
137
|
bindI18n: p,
|
|
138
|
-
bindI18nStore:
|
|
138
|
+
bindI18nStore: N
|
|
139
139
|
} = c;
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
}) :
|
|
143
|
-
|
|
144
|
-
})), l &&
|
|
140
|
+
y.current = !0, !l && !a && (e.lng ? P1(o, e.lng, d, () => {
|
|
141
|
+
y.current && v(f);
|
|
142
|
+
}) : B1(o, d, () => {
|
|
143
|
+
y.current && v(f);
|
|
144
|
+
})), l && b && b !== m && y.current && v(f);
|
|
145
145
|
const _ = () => {
|
|
146
|
-
|
|
146
|
+
y.current && v(f);
|
|
147
147
|
};
|
|
148
|
-
return p && o && o.on(p, _),
|
|
149
|
-
|
|
148
|
+
return p && o && o.on(p, _), N && o && o.store.on(N, _), () => {
|
|
149
|
+
y.current = !1, p && o && p.split(" ").forEach((R) => o.off(R, _)), N && o && N.split(" ").forEach((R) => o.store.off(R, _));
|
|
150
150
|
};
|
|
151
151
|
}, [o, m]), S(() => {
|
|
152
|
-
|
|
152
|
+
y.current && l && v(g);
|
|
153
153
|
}, [o, C, l]);
|
|
154
|
-
const E = [
|
|
155
|
-
if (E.t =
|
|
154
|
+
const E = [w, o, l];
|
|
155
|
+
if (E.t = w, E.i18n = o, E.ready = l, l || !l && !a) return E;
|
|
156
156
|
throw new Promise((p) => {
|
|
157
|
-
e.lng ?
|
|
157
|
+
e.lng ? P1(o, e.lng, d, () => p()) : B1(o, d, () => p());
|
|
158
158
|
});
|
|
159
|
-
},
|
|
159
|
+
}, p1 = ({
|
|
160
160
|
children: i,
|
|
161
161
|
direction: e = "row",
|
|
162
162
|
flexWrap: t = "nowrap",
|
|
@@ -192,46 +192,103 @@ const $2 = (i, e) => {
|
|
|
192
192
|
}
|
|
193
193
|
);
|
|
194
194
|
};
|
|
195
|
-
var
|
|
196
|
-
const
|
|
195
|
+
var U = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", i.GREY_LIGHT_1 = "var(--grey-light-1)", i.GREY_LIGHT_2 = "var(--grey-light-2)", i.GREY_LIGHT_3 = "var(--grey-light-3)", i.GREY_LIGHT_4 = "var(--grey-light-4)", i.GREY_DARK_1 = "var(--grey-dark-1)", i.GREY_DARK_2 = "var(--grey-dark-2)", i.GREY_DARK_3 = "var(--grey-dark-3)", i.GREY_DARK_4 = "var(--grey-dark-4)", i.GREY_DARK_5 = "var(--grey-dark-5)", i.BLUE_PRIMARY = "var(--blue-primary)", i.BLUE_HOVER = "var(--blue-hover)", i.BLUE_LIGHT_1 = "var(--blue-light-1)", i.BLUE_LIGHT_2 = "var(--blue-light-2)", i.BLUE_LIGHT_3 = "var(--blue-light-3)", i.BLUE_LIGHT_4 = "var(--blue-light-4)", i.BLUE_DARK_1 = "var(--blue-dark-1)", i.BLUE_DARK_3 = "var(--blue-dark-3)", i.PURPLE_LIGHT = "var(--purple-light)", i.PURPLE_LIGHT_2 = "var(--purple-light-2)", i.PURPLE_DARK = "var(--purple-dark)", i.NOTIFICATION_WARNING_LIGHT = "var(--notification-warning-light)", i.NOTIFICATION_WARNING_DARK = "var(--notification-warning-dark)", i.NOTIFICATION_SUCCESS_LIGHT = "var(--notification-success-light)", i.NOTIFICATION_SUCCESS_DARK = "var(--notification-success-dark)", i.NOTIFICATION_ERROR_LIGHT = "var(--notification-error-light)", i.NOTIFICATION_ERROR_DARK = "var(--notification-error-dark)", i.NOTIFICATION_ERROR_DARK_MODE = "var(--notification-error-dark-mode)", i.CYAN_LIGHT = "var(--cyan-light)", i.GOLD_LIGHT = "var(--gold-light)", i))(U || {});
|
|
196
|
+
const G1 = C1({
|
|
197
197
|
locale: "en",
|
|
198
198
|
theme: "light"
|
|
199
199
|
});
|
|
200
|
-
|
|
201
|
-
const z2 =
|
|
200
|
+
G1.Provider;
|
|
201
|
+
const { Title: z2, Text: J2 } = D1, q2 = {
|
|
202
|
+
h1: 1,
|
|
203
|
+
h2: 2,
|
|
204
|
+
h3: 3,
|
|
205
|
+
h4: 4
|
|
206
|
+
}, Q2 = d1(
|
|
207
|
+
({
|
|
208
|
+
align: i = "inherit",
|
|
209
|
+
variant: e = "body1",
|
|
210
|
+
color: t,
|
|
211
|
+
children: s,
|
|
212
|
+
onClick: n,
|
|
213
|
+
collapsed: o,
|
|
214
|
+
whiteSpace: c = "normal",
|
|
215
|
+
/** This prop allows you to enable tooltip if text size is too big */
|
|
216
|
+
trim: a = !1
|
|
217
|
+
}, C) => {
|
|
218
|
+
const d = $(null);
|
|
219
|
+
k1(C, () => d.current);
|
|
220
|
+
const [l, h] = I(!1);
|
|
221
|
+
S(() => {
|
|
222
|
+
var v;
|
|
223
|
+
if (!a) return;
|
|
224
|
+
const m = () => {
|
|
225
|
+
d.current && h(d.current.scrollWidth > d.current.clientWidth);
|
|
226
|
+
};
|
|
227
|
+
m();
|
|
228
|
+
const b = new ResizeObserver(m);
|
|
229
|
+
return d.current && b.observe(d.current), (v = d.current) != null && v.parentElement && b.observe(d.current.parentElement), () => {
|
|
230
|
+
b.disconnect();
|
|
231
|
+
};
|
|
232
|
+
}, [a]);
|
|
233
|
+
const g = e === "h1" || e === "h2" || e === "h3" || e === "h4";
|
|
234
|
+
let f = `snmt-typography snmt-typography-${e}`;
|
|
235
|
+
i && i !== "inherit" && (f += ` snmt-typography-align-${i}`), o && (f += " collapsed");
|
|
236
|
+
const w = {
|
|
237
|
+
className: f,
|
|
238
|
+
style: { color: t, whiteSpace: a ? "nowrap" : c, display: a ? "block" : "" },
|
|
239
|
+
onClick: n,
|
|
240
|
+
ref: d,
|
|
241
|
+
ellipsis: a && l ? {
|
|
242
|
+
tooltip: {
|
|
243
|
+
title: s,
|
|
244
|
+
overlayClassName: "snmt-tooltip"
|
|
245
|
+
}
|
|
246
|
+
} : void 0
|
|
247
|
+
};
|
|
248
|
+
return g ? /* @__PURE__ */ r(z2, { level: q2[e], ...w, children: s }) : /* @__PURE__ */ r(J2, { ...w, children: s });
|
|
249
|
+
}
|
|
250
|
+
), X2 = ({
|
|
202
251
|
checked: i = !0,
|
|
203
252
|
indeterminate: e = !1,
|
|
204
253
|
children: t,
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
254
|
+
label: s,
|
|
255
|
+
onChange: n,
|
|
256
|
+
disabled: o = !1,
|
|
257
|
+
disableUncheck: c = !1
|
|
208
258
|
}) => {
|
|
209
|
-
const [
|
|
259
|
+
const [a, C] = I(i), [d, l] = I(e);
|
|
210
260
|
S(() => {
|
|
211
|
-
|
|
261
|
+
C(i), l(e);
|
|
212
262
|
}, [i, e]);
|
|
213
|
-
const { theme:
|
|
263
|
+
const { theme: h } = r1(G1);
|
|
214
264
|
return /* @__PURE__ */ r(
|
|
215
265
|
x2,
|
|
216
266
|
{
|
|
217
|
-
className: `snmt-checkbox snmt-checkbox-${
|
|
218
|
-
checked:
|
|
219
|
-
indeterminate:
|
|
220
|
-
onChange: (
|
|
221
|
-
|
|
267
|
+
className: `snmt-checkbox snmt-checkbox-${h}`,
|
|
268
|
+
checked: a,
|
|
269
|
+
indeterminate: d,
|
|
270
|
+
onChange: (g) => {
|
|
271
|
+
c && a || (l(!1), C(g.target.checked), n && n(g));
|
|
222
272
|
},
|
|
223
|
-
disabled:
|
|
224
|
-
children: t
|
|
273
|
+
disabled: o,
|
|
274
|
+
children: t || s && /* @__PURE__ */ r(
|
|
275
|
+
Q2,
|
|
276
|
+
{
|
|
277
|
+
variant: "body2",
|
|
278
|
+
color: o ? U.GREY_DARK_2 : U.GREY_DARK_5,
|
|
279
|
+
children: s
|
|
280
|
+
}
|
|
281
|
+
)
|
|
225
282
|
}
|
|
226
283
|
);
|
|
227
284
|
};
|
|
228
|
-
var
|
|
229
|
-
const l2 =
|
|
285
|
+
var L = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", i.GREY_LIGHT_1 = "var(--grey-light-1)", i.GREY_LIGHT_2 = "var(--grey-light-2)", i.GREY_LIGHT_3 = "var(--grey-light-3)", i.GREY_LIGHT_4 = "var(--grey-light-4)", i.GREY_DARK_1 = "var(--grey-dark-1)", i.GREY_DARK_2 = "var(--grey-dark-2)", i.GREY_DARK_3 = "var(--grey-dark-3)", i.GREY_DARK_4 = "var(--grey-dark-4)", i.GREY_DARK_5 = "var(--grey-dark-5)", i.BLUE_PRIMARY = "var(--blue-primary)", i.BLUE_HOVER = "var(--blue-hover)", i.BLUE_LIGHT_1 = "var(--blue-light-1)", i.BLUE_LIGHT_2 = "var(--blue-light-2)", i.BLUE_LIGHT_3 = "var(--blue-light-3)", i.BLUE_LIGHT_4 = "var(--blue-light-4)", i.BLUE_DARK_1 = "var(--blue-dark-1)", i.BLUE_DARK_3 = "var(--blue-dark-3)", i.PURPLE_LIGHT = "var(--purple-light)", i.PURPLE_LIGHT_2 = "var(--purple-light-2)", i.PURPLE_DARK = "var(--purple-dark)", i.NOTIFICATION_WARNING_LIGHT = "var(--notification-warning-light)", i.NOTIFICATION_WARNING_DARK = "var(--notification-warning-dark)", i.NOTIFICATION_SUCCESS_LIGHT = "var(--notification-success-light)", i.NOTIFICATION_SUCCESS_DARK = "var(--notification-success-dark)", i.NOTIFICATION_ERROR_LIGHT = "var(--notification-error-light)", i.NOTIFICATION_ERROR_DARK = "var(--notification-error-dark)", i.NOTIFICATION_ERROR_DARK_MODE = "var(--notification-error-dark-mode)", i.CYAN_LIGHT = "var(--cyan-light)", i.GOLD_LIGHT = "var(--gold-light)", i))(L || {});
|
|
286
|
+
const l2 = C1({
|
|
230
287
|
locale: "en",
|
|
231
288
|
theme: "light"
|
|
232
289
|
});
|
|
233
290
|
l2.Provider;
|
|
234
|
-
const
|
|
291
|
+
const e5 = ({
|
|
235
292
|
width: i = 20,
|
|
236
293
|
height: e = 20,
|
|
237
294
|
color: t = "#001E52",
|
|
@@ -258,10 +315,10 @@ const J2 = ({
|
|
|
258
315
|
}
|
|
259
316
|
)
|
|
260
317
|
}
|
|
261
|
-
),
|
|
318
|
+
), t5 = ({
|
|
262
319
|
width: i = 20,
|
|
263
320
|
height: e = 20,
|
|
264
|
-
color: t =
|
|
321
|
+
color: t = L.GREY_DARK_5,
|
|
265
322
|
className: s,
|
|
266
323
|
onClick: n
|
|
267
324
|
}) => /* @__PURE__ */ u(
|
|
@@ -298,7 +355,7 @@ const J2 = ({
|
|
|
298
355
|
)
|
|
299
356
|
]
|
|
300
357
|
}
|
|
301
|
-
),
|
|
358
|
+
), i5 = ({
|
|
302
359
|
width: i = 20,
|
|
303
360
|
height: e = 20,
|
|
304
361
|
color: t = "#001E52",
|
|
@@ -333,10 +390,10 @@ const J2 = ({
|
|
|
333
390
|
)
|
|
334
391
|
]
|
|
335
392
|
}
|
|
336
|
-
),
|
|
393
|
+
), s5 = ({
|
|
337
394
|
width: i = 20,
|
|
338
395
|
height: e = 20,
|
|
339
|
-
color: t =
|
|
396
|
+
color: t = L.GREY_DARK_5,
|
|
340
397
|
className: s,
|
|
341
398
|
onClick: n
|
|
342
399
|
}) => /* @__PURE__ */ u(
|
|
@@ -360,10 +417,10 @@ const J2 = ({
|
|
|
360
417
|
/* @__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)" }) }) })
|
|
361
418
|
]
|
|
362
419
|
}
|
|
363
|
-
),
|
|
420
|
+
), n5 = ({
|
|
364
421
|
width: i = 20,
|
|
365
422
|
height: e = 20,
|
|
366
|
-
color: t =
|
|
423
|
+
color: t = L.GREY_DARK_5,
|
|
367
424
|
className: s,
|
|
368
425
|
onClick: n
|
|
369
426
|
}) => /* @__PURE__ */ r(
|
|
@@ -384,10 +441,10 @@ const J2 = ({
|
|
|
384
441
|
}
|
|
385
442
|
)
|
|
386
443
|
}
|
|
387
|
-
),
|
|
444
|
+
), r5 = ({
|
|
388
445
|
width: i = 20,
|
|
389
446
|
height: e = 20,
|
|
390
|
-
color: t =
|
|
447
|
+
color: t = L.GREY_DARK_5,
|
|
391
448
|
className: s,
|
|
392
449
|
onClick: n
|
|
393
450
|
}) => /* @__PURE__ */ u(
|
|
@@ -411,10 +468,10 @@ const J2 = ({
|
|
|
411
468
|
/* @__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)" }) }) })
|
|
412
469
|
]
|
|
413
470
|
}
|
|
414
|
-
),
|
|
471
|
+
), o5 = ({
|
|
415
472
|
width: i = 20,
|
|
416
473
|
height: e = 20,
|
|
417
|
-
color: t =
|
|
474
|
+
color: t = L.GREY_DARK_5,
|
|
418
475
|
className: s,
|
|
419
476
|
onClick: n
|
|
420
477
|
}) => /* @__PURE__ */ r(
|
|
@@ -435,10 +492,10 @@ const J2 = ({
|
|
|
435
492
|
}
|
|
436
493
|
)
|
|
437
494
|
}
|
|
438
|
-
),
|
|
495
|
+
), a5 = ({
|
|
439
496
|
width: i = 20,
|
|
440
497
|
height: e = 20,
|
|
441
|
-
color: t =
|
|
498
|
+
color: t = L.GREY_DARK_5,
|
|
442
499
|
className: s,
|
|
443
500
|
onClick: n
|
|
444
501
|
}) => /* @__PURE__ */ u(
|
|
@@ -482,10 +539,10 @@ const J2 = ({
|
|
|
482
539
|
)
|
|
483
540
|
]
|
|
484
541
|
}
|
|
485
|
-
),
|
|
542
|
+
), l5 = ({
|
|
486
543
|
width: i = 20,
|
|
487
544
|
height: e = 20,
|
|
488
|
-
color: t =
|
|
545
|
+
color: t = L.GREY_DARK_5,
|
|
489
546
|
className: s,
|
|
490
547
|
onClick: n
|
|
491
548
|
}) => /* @__PURE__ */ r(
|
|
@@ -506,10 +563,10 @@ const J2 = ({
|
|
|
506
563
|
}
|
|
507
564
|
)
|
|
508
565
|
}
|
|
509
|
-
),
|
|
566
|
+
), h5 = ({
|
|
510
567
|
width: i = 20,
|
|
511
568
|
height: e = 20,
|
|
512
|
-
color: t =
|
|
569
|
+
color: t = L.GREY_DARK_5,
|
|
513
570
|
className: s,
|
|
514
571
|
onClick: n
|
|
515
572
|
}) => /* @__PURE__ */ r(
|
|
@@ -530,10 +587,10 @@ const J2 = ({
|
|
|
530
587
|
}
|
|
531
588
|
)
|
|
532
589
|
}
|
|
533
|
-
),
|
|
590
|
+
), c5 = ({
|
|
534
591
|
width: i = 20,
|
|
535
592
|
height: e = 20,
|
|
536
|
-
color: t =
|
|
593
|
+
color: t = L.GREY_DARK_5,
|
|
537
594
|
className: s,
|
|
538
595
|
onClick: n
|
|
539
596
|
}) => /* @__PURE__ */ r(
|
|
@@ -554,10 +611,10 @@ const J2 = ({
|
|
|
554
611
|
}
|
|
555
612
|
)
|
|
556
613
|
}
|
|
557
|
-
),
|
|
614
|
+
), d5 = ({
|
|
558
615
|
width: i = 20,
|
|
559
616
|
height: e = 20,
|
|
560
|
-
color: t =
|
|
617
|
+
color: t = L.GREY_DARK_5,
|
|
561
618
|
className: s,
|
|
562
619
|
onClick: n
|
|
563
620
|
}) => /* @__PURE__ */ u(
|
|
@@ -615,10 +672,10 @@ const J2 = ({
|
|
|
615
672
|
)
|
|
616
673
|
]
|
|
617
674
|
}
|
|
618
|
-
),
|
|
675
|
+
), C5 = ({
|
|
619
676
|
width: i = 20,
|
|
620
677
|
height: e = 20,
|
|
621
|
-
color: t =
|
|
678
|
+
color: t = L.GREY_DARK_5,
|
|
622
679
|
className: s,
|
|
623
680
|
onClick: n
|
|
624
681
|
}) => /* @__PURE__ */ u(
|
|
@@ -662,10 +719,10 @@ const J2 = ({
|
|
|
662
719
|
)
|
|
663
720
|
]
|
|
664
721
|
}
|
|
665
|
-
),
|
|
722
|
+
), g5 = ({
|
|
666
723
|
width: i = 20,
|
|
667
724
|
height: e = 20,
|
|
668
|
-
color: t =
|
|
725
|
+
color: t = L.GREY_DARK_5,
|
|
669
726
|
className: s,
|
|
670
727
|
onClick: n
|
|
671
728
|
}) => /* @__PURE__ */ u(
|
|
@@ -702,10 +759,10 @@ const J2 = ({
|
|
|
702
759
|
)
|
|
703
760
|
]
|
|
704
761
|
}
|
|
705
|
-
),
|
|
762
|
+
), u5 = ({
|
|
706
763
|
width: i = 20,
|
|
707
764
|
height: e = 20,
|
|
708
|
-
color: t =
|
|
765
|
+
color: t = L.GREY_DARK_5,
|
|
709
766
|
className: s,
|
|
710
767
|
onClick: n
|
|
711
768
|
}) => /* @__PURE__ */ u(
|
|
@@ -742,10 +799,10 @@ const J2 = ({
|
|
|
742
799
|
)
|
|
743
800
|
]
|
|
744
801
|
}
|
|
745
|
-
),
|
|
802
|
+
), f5 = ({
|
|
746
803
|
width: i = 20,
|
|
747
804
|
height: e = 20,
|
|
748
|
-
color: t =
|
|
805
|
+
color: t = L.GREY_DARK_5,
|
|
749
806
|
className: s,
|
|
750
807
|
onClick: n
|
|
751
808
|
}) => /* @__PURE__ */ u(
|
|
@@ -789,10 +846,10 @@ const J2 = ({
|
|
|
789
846
|
)
|
|
790
847
|
]
|
|
791
848
|
}
|
|
792
|
-
),
|
|
849
|
+
), p5 = ({
|
|
793
850
|
width: i = 20,
|
|
794
851
|
height: e = 20,
|
|
795
|
-
color: t =
|
|
852
|
+
color: t = L.GREY_DARK_5,
|
|
796
853
|
className: s,
|
|
797
854
|
onClick: n
|
|
798
855
|
}) => /* @__PURE__ */ u(
|
|
@@ -836,10 +893,10 @@ const J2 = ({
|
|
|
836
893
|
)
|
|
837
894
|
]
|
|
838
895
|
}
|
|
839
|
-
),
|
|
896
|
+
), m5 = ({
|
|
840
897
|
width: i = 20,
|
|
841
898
|
height: e = 20,
|
|
842
|
-
color: t =
|
|
899
|
+
color: t = L.GREY_DARK_5,
|
|
843
900
|
className: s,
|
|
844
901
|
onClick: n
|
|
845
902
|
}) => /* @__PURE__ */ u(
|
|
@@ -883,10 +940,10 @@ const J2 = ({
|
|
|
883
940
|
)
|
|
884
941
|
]
|
|
885
942
|
}
|
|
886
|
-
),
|
|
943
|
+
), w5 = ({
|
|
887
944
|
width: i = 20,
|
|
888
945
|
height: e = 20,
|
|
889
|
-
color: t =
|
|
946
|
+
color: t = L.GREY_DARK_5,
|
|
890
947
|
className: s,
|
|
891
948
|
onClick: n
|
|
892
949
|
}) => /* @__PURE__ */ u(
|
|
@@ -923,10 +980,10 @@ const J2 = ({
|
|
|
923
980
|
)
|
|
924
981
|
]
|
|
925
982
|
}
|
|
926
|
-
),
|
|
983
|
+
), L5 = ({
|
|
927
984
|
width: i = 20,
|
|
928
985
|
height: e = 20,
|
|
929
|
-
color: t =
|
|
986
|
+
color: t = L.GREY_DARK_5,
|
|
930
987
|
className: s,
|
|
931
988
|
onClick: n
|
|
932
989
|
}) => /* @__PURE__ */ u(
|
|
@@ -956,10 +1013,10 @@ const J2 = ({
|
|
|
956
1013
|
)
|
|
957
1014
|
]
|
|
958
1015
|
}
|
|
959
|
-
),
|
|
1016
|
+
), k5 = ({
|
|
960
1017
|
width: i = 20,
|
|
961
1018
|
height: e = 20,
|
|
962
|
-
color: t =
|
|
1019
|
+
color: t = L.GREY_DARK_5,
|
|
963
1020
|
className: s,
|
|
964
1021
|
onClick: n
|
|
965
1022
|
}) => /* @__PURE__ */ u(
|
|
@@ -989,10 +1046,10 @@ const J2 = ({
|
|
|
989
1046
|
)
|
|
990
1047
|
]
|
|
991
1048
|
}
|
|
992
|
-
),
|
|
1049
|
+
), v5 = ({
|
|
993
1050
|
width: i = 20,
|
|
994
1051
|
height: e = 20,
|
|
995
|
-
color: t =
|
|
1052
|
+
color: t = L.GREY_DARK_5,
|
|
996
1053
|
className: s,
|
|
997
1054
|
onClick: n
|
|
998
1055
|
}) => /* @__PURE__ */ u(
|
|
@@ -1022,10 +1079,10 @@ const J2 = ({
|
|
|
1022
1079
|
)
|
|
1023
1080
|
]
|
|
1024
1081
|
}
|
|
1025
|
-
),
|
|
1082
|
+
), N5 = ({
|
|
1026
1083
|
width: i = 20,
|
|
1027
1084
|
height: e = 20,
|
|
1028
|
-
color: t =
|
|
1085
|
+
color: t = L.GREY_DARK_5,
|
|
1029
1086
|
className: s,
|
|
1030
1087
|
onClick: n
|
|
1031
1088
|
}) => /* @__PURE__ */ u(
|
|
@@ -1055,10 +1112,10 @@ const J2 = ({
|
|
|
1055
1112
|
)
|
|
1056
1113
|
]
|
|
1057
1114
|
}
|
|
1058
|
-
),
|
|
1115
|
+
), R5 = ({
|
|
1059
1116
|
width: i = 20,
|
|
1060
1117
|
height: e = 20,
|
|
1061
|
-
color: t =
|
|
1118
|
+
color: t = L.GREY_DARK_5,
|
|
1062
1119
|
className: s,
|
|
1063
1120
|
onClick: n
|
|
1064
1121
|
}) => /* @__PURE__ */ u(
|
|
@@ -1095,10 +1152,10 @@ const J2 = ({
|
|
|
1095
1152
|
)
|
|
1096
1153
|
]
|
|
1097
1154
|
}
|
|
1098
|
-
),
|
|
1155
|
+
), x5 = ({
|
|
1099
1156
|
width: i = 20,
|
|
1100
1157
|
height: e = 20,
|
|
1101
|
-
color: t =
|
|
1158
|
+
color: t = L.GREY_DARK_5,
|
|
1102
1159
|
className: s,
|
|
1103
1160
|
onClick: n
|
|
1104
1161
|
}) => /* @__PURE__ */ u(
|
|
@@ -1128,10 +1185,10 @@ const J2 = ({
|
|
|
1128
1185
|
)
|
|
1129
1186
|
]
|
|
1130
1187
|
}
|
|
1131
|
-
),
|
|
1188
|
+
), _5 = ({
|
|
1132
1189
|
width: i = 20,
|
|
1133
1190
|
height: e = 20,
|
|
1134
|
-
color: t =
|
|
1191
|
+
color: t = L.GREY_DARK_5,
|
|
1135
1192
|
className: s,
|
|
1136
1193
|
onClick: n
|
|
1137
1194
|
}) => /* @__PURE__ */ u(
|
|
@@ -1161,7 +1218,7 @@ const J2 = ({
|
|
|
1161
1218
|
)
|
|
1162
1219
|
]
|
|
1163
1220
|
}
|
|
1164
|
-
),
|
|
1221
|
+
), M5 = ({
|
|
1165
1222
|
width: i = 20,
|
|
1166
1223
|
height: e = 20,
|
|
1167
1224
|
color: t = "#070739",
|
|
@@ -1191,7 +1248,7 @@ const J2 = ({
|
|
|
1191
1248
|
/* @__PURE__ */ r("circle", { cx: "10", cy: "10", r: "2.375", stroke: t, strokeWidth: "1.25" })
|
|
1192
1249
|
]
|
|
1193
1250
|
}
|
|
1194
|
-
),
|
|
1251
|
+
), b5 = ({
|
|
1195
1252
|
width: i = 20,
|
|
1196
1253
|
height: e = 20,
|
|
1197
1254
|
color: t = "#070739",
|
|
@@ -1229,7 +1286,7 @@ const J2 = ({
|
|
|
1229
1286
|
)
|
|
1230
1287
|
]
|
|
1231
1288
|
}
|
|
1232
|
-
),
|
|
1289
|
+
), y5 = ({
|
|
1233
1290
|
width: i = 9,
|
|
1234
1291
|
height: e = 5,
|
|
1235
1292
|
color: t = "#001E52",
|
|
@@ -1255,7 +1312,7 @@ const J2 = ({
|
|
|
1255
1312
|
}
|
|
1256
1313
|
)
|
|
1257
1314
|
}
|
|
1258
|
-
),
|
|
1315
|
+
), H5 = ({
|
|
1259
1316
|
width: i = 20,
|
|
1260
1317
|
height: e = 20,
|
|
1261
1318
|
color: t = "#F2F2F7",
|
|
@@ -1284,7 +1341,7 @@ const J2 = ({
|
|
|
1284
1341
|
)
|
|
1285
1342
|
]
|
|
1286
1343
|
}
|
|
1287
|
-
),
|
|
1344
|
+
), E5 = ({
|
|
1288
1345
|
width: i = 20,
|
|
1289
1346
|
height: e = 20,
|
|
1290
1347
|
color: t = "#004ED7",
|
|
@@ -1313,7 +1370,7 @@ const J2 = ({
|
|
|
1313
1370
|
)
|
|
1314
1371
|
]
|
|
1315
1372
|
}
|
|
1316
|
-
),
|
|
1373
|
+
), V5 = ({
|
|
1317
1374
|
width: i = 10,
|
|
1318
1375
|
height: e = 10,
|
|
1319
1376
|
color: t = "#001E52",
|
|
@@ -1342,7 +1399,7 @@ const J2 = ({
|
|
|
1342
1399
|
)
|
|
1343
1400
|
]
|
|
1344
1401
|
}
|
|
1345
|
-
),
|
|
1402
|
+
), I5 = ({
|
|
1346
1403
|
width: i = 10,
|
|
1347
1404
|
height: e = 10,
|
|
1348
1405
|
color: t = "#001E52",
|
|
@@ -1379,9 +1436,9 @@ const J2 = ({
|
|
|
1379
1436
|
)
|
|
1380
1437
|
]
|
|
1381
1438
|
}
|
|
1382
|
-
),
|
|
1439
|
+
), A5 = ({
|
|
1383
1440
|
className: i,
|
|
1384
|
-
color: e =
|
|
1441
|
+
color: e = L.GREY_DARK_5,
|
|
1385
1442
|
height: t = 20,
|
|
1386
1443
|
width: s = 20,
|
|
1387
1444
|
onClick: n
|
|
@@ -1412,9 +1469,9 @@ const J2 = ({
|
|
|
1412
1469
|
)
|
|
1413
1470
|
]
|
|
1414
1471
|
}
|
|
1415
|
-
),
|
|
1472
|
+
), O5 = ({
|
|
1416
1473
|
className: i,
|
|
1417
|
-
color: e =
|
|
1474
|
+
color: e = L.GREY_DARK_5,
|
|
1418
1475
|
height: t = 20,
|
|
1419
1476
|
width: s = 20,
|
|
1420
1477
|
onClick: n
|
|
@@ -1439,9 +1496,9 @@ const J2 = ({
|
|
|
1439
1496
|
}
|
|
1440
1497
|
)
|
|
1441
1498
|
}
|
|
1442
|
-
),
|
|
1499
|
+
), S5 = ({
|
|
1443
1500
|
className: i,
|
|
1444
|
-
color: e =
|
|
1501
|
+
color: e = L.GREY_DARK_5,
|
|
1445
1502
|
height: t = 20,
|
|
1446
1503
|
width: s = 20,
|
|
1447
1504
|
onClick: n
|
|
@@ -1466,9 +1523,9 @@ const J2 = ({
|
|
|
1466
1523
|
}
|
|
1467
1524
|
)
|
|
1468
1525
|
}
|
|
1469
|
-
),
|
|
1526
|
+
), Z5 = ({
|
|
1470
1527
|
className: i,
|
|
1471
|
-
color: e =
|
|
1528
|
+
color: e = L.GREY_DARK_5,
|
|
1472
1529
|
height: t = 5,
|
|
1473
1530
|
width: s = 10,
|
|
1474
1531
|
onClick: n
|
|
@@ -1490,9 +1547,9 @@ const J2 = ({
|
|
|
1490
1547
|
}
|
|
1491
1548
|
)
|
|
1492
1549
|
}
|
|
1493
|
-
),
|
|
1550
|
+
), D5 = ({
|
|
1494
1551
|
className: i,
|
|
1495
|
-
color: e =
|
|
1552
|
+
color: e = L.GREY_DARK_5,
|
|
1496
1553
|
height: t = 5,
|
|
1497
1554
|
width: s = 10,
|
|
1498
1555
|
onClick: n
|
|
@@ -1515,9 +1572,9 @@ const J2 = ({
|
|
|
1515
1572
|
}
|
|
1516
1573
|
)
|
|
1517
1574
|
}
|
|
1518
|
-
),
|
|
1575
|
+
), G5 = ({
|
|
1519
1576
|
className: i,
|
|
1520
|
-
color: e =
|
|
1577
|
+
color: e = L.GREY_DARK_5,
|
|
1521
1578
|
height: t = 20,
|
|
1522
1579
|
width: s = 20,
|
|
1523
1580
|
onClick: n
|
|
@@ -1548,9 +1605,9 @@ const J2 = ({
|
|
|
1548
1605
|
)
|
|
1549
1606
|
]
|
|
1550
1607
|
}
|
|
1551
|
-
),
|
|
1608
|
+
), T5 = ({
|
|
1552
1609
|
className: i,
|
|
1553
|
-
color: e =
|
|
1610
|
+
color: e = L.GREY_DARK_5,
|
|
1554
1611
|
height: t = 24,
|
|
1555
1612
|
width: s = 24,
|
|
1556
1613
|
onClick: n
|
|
@@ -1587,9 +1644,9 @@ const J2 = ({
|
|
|
1587
1644
|
)
|
|
1588
1645
|
]
|
|
1589
1646
|
}
|
|
1590
|
-
),
|
|
1647
|
+
), K5 = ({
|
|
1591
1648
|
className: i,
|
|
1592
|
-
color: e =
|
|
1649
|
+
color: e = L.GREY_DARK_5,
|
|
1593
1650
|
height: t = 24,
|
|
1594
1651
|
width: s = 24,
|
|
1595
1652
|
onClick: n
|
|
@@ -1614,9 +1671,9 @@ const J2 = ({
|
|
|
1614
1671
|
}
|
|
1615
1672
|
)
|
|
1616
1673
|
}
|
|
1617
|
-
),
|
|
1674
|
+
), B5 = ({
|
|
1618
1675
|
className: i,
|
|
1619
|
-
color: e =
|
|
1676
|
+
color: e = L.GREY_DARK_5,
|
|
1620
1677
|
height: t = 24,
|
|
1621
1678
|
width: s = 24,
|
|
1622
1679
|
onClick: n
|
|
@@ -1673,9 +1730,9 @@ const J2 = ({
|
|
|
1673
1730
|
)
|
|
1674
1731
|
]
|
|
1675
1732
|
}
|
|
1676
|
-
),
|
|
1733
|
+
), P5 = ({
|
|
1677
1734
|
className: i,
|
|
1678
|
-
color: e =
|
|
1735
|
+
color: e = L.GREY_DARK_5,
|
|
1679
1736
|
height: t = 24,
|
|
1680
1737
|
width: s = 24,
|
|
1681
1738
|
onClick: n
|
|
@@ -1710,9 +1767,9 @@ const J2 = ({
|
|
|
1710
1767
|
)
|
|
1711
1768
|
]
|
|
1712
1769
|
}
|
|
1713
|
-
),
|
|
1770
|
+
), Y5 = ({
|
|
1714
1771
|
className: i,
|
|
1715
|
-
color: e =
|
|
1772
|
+
color: e = L.GREY_DARK_3,
|
|
1716
1773
|
height: t = 14,
|
|
1717
1774
|
width: s = 14,
|
|
1718
1775
|
onClick: n
|
|
@@ -1747,9 +1804,9 @@ const J2 = ({
|
|
|
1747
1804
|
)
|
|
1748
1805
|
]
|
|
1749
1806
|
}
|
|
1750
|
-
),
|
|
1807
|
+
), j5 = ({
|
|
1751
1808
|
className: i,
|
|
1752
|
-
color: e =
|
|
1809
|
+
color: e = L.GREY_DARK_5,
|
|
1753
1810
|
height: t = 18,
|
|
1754
1811
|
onClick: s,
|
|
1755
1812
|
width: n = 18
|
|
@@ -1774,9 +1831,9 @@ const J2 = ({
|
|
|
1774
1831
|
}
|
|
1775
1832
|
)
|
|
1776
1833
|
}
|
|
1777
|
-
),
|
|
1834
|
+
), $5 = ({
|
|
1778
1835
|
className: i,
|
|
1779
|
-
color: e =
|
|
1836
|
+
color: e = L.GREY_DARK_5,
|
|
1780
1837
|
height: t = 24,
|
|
1781
1838
|
width: s = 24,
|
|
1782
1839
|
onClick: n
|
|
@@ -1826,9 +1883,9 @@ const J2 = ({
|
|
|
1826
1883
|
)
|
|
1827
1884
|
]
|
|
1828
1885
|
}
|
|
1829
|
-
),
|
|
1886
|
+
), F5 = ({
|
|
1830
1887
|
className: i,
|
|
1831
|
-
color: e =
|
|
1888
|
+
color: e = L.GREY_DARK_5,
|
|
1832
1889
|
height: t = 24,
|
|
1833
1890
|
width: s = 24,
|
|
1834
1891
|
onClick: n
|
|
@@ -1863,9 +1920,9 @@ const J2 = ({
|
|
|
1863
1920
|
)
|
|
1864
1921
|
]
|
|
1865
1922
|
}
|
|
1866
|
-
),
|
|
1923
|
+
), W5 = ({
|
|
1867
1924
|
className: i,
|
|
1868
|
-
color: e =
|
|
1925
|
+
color: e = L.NOTIFICATION_WARNING_DARK,
|
|
1869
1926
|
height: t = 37,
|
|
1870
1927
|
width: s = 36,
|
|
1871
1928
|
onClick: n
|
|
@@ -1902,9 +1959,9 @@ const J2 = ({
|
|
|
1902
1959
|
)
|
|
1903
1960
|
]
|
|
1904
1961
|
}
|
|
1905
|
-
),
|
|
1962
|
+
), U5 = ({
|
|
1906
1963
|
className: i,
|
|
1907
|
-
color: e =
|
|
1964
|
+
color: e = L.GREY_DARK_5,
|
|
1908
1965
|
height: t = 24,
|
|
1909
1966
|
width: s = 24,
|
|
1910
1967
|
onClick: n
|
|
@@ -1928,9 +1985,9 @@ const J2 = ({
|
|
|
1928
1985
|
}
|
|
1929
1986
|
)
|
|
1930
1987
|
}
|
|
1931
|
-
),
|
|
1988
|
+
), z5 = ({
|
|
1932
1989
|
className: i,
|
|
1933
|
-
color: e =
|
|
1990
|
+
color: e = L.GREY_DARK_5,
|
|
1934
1991
|
height: t = 24,
|
|
1935
1992
|
width: s = 24,
|
|
1936
1993
|
onClick: n
|
|
@@ -1967,9 +2024,9 @@ const J2 = ({
|
|
|
1967
2024
|
)
|
|
1968
2025
|
]
|
|
1969
2026
|
}
|
|
1970
|
-
),
|
|
2027
|
+
), J5 = ({
|
|
1971
2028
|
className: i,
|
|
1972
|
-
color: e =
|
|
2029
|
+
color: e = L.GREY_DARK_5,
|
|
1973
2030
|
height: t = 20,
|
|
1974
2031
|
width: s = 20,
|
|
1975
2032
|
onClick: n
|
|
@@ -2000,9 +2057,9 @@ const J2 = ({
|
|
|
2000
2057
|
)
|
|
2001
2058
|
]
|
|
2002
2059
|
}
|
|
2003
|
-
),
|
|
2060
|
+
), q5 = ({
|
|
2004
2061
|
className: i,
|
|
2005
|
-
color: e =
|
|
2062
|
+
color: e = L.GREY_DARK_5,
|
|
2006
2063
|
height: t = 24,
|
|
2007
2064
|
width: s = 24,
|
|
2008
2065
|
onClick: n
|
|
@@ -2069,9 +2126,9 @@ const J2 = ({
|
|
|
2069
2126
|
)
|
|
2070
2127
|
]
|
|
2071
2128
|
}
|
|
2072
|
-
),
|
|
2129
|
+
), Q5 = ({
|
|
2073
2130
|
className: i,
|
|
2074
|
-
color: e =
|
|
2131
|
+
color: e = L.GREY_DARK_5,
|
|
2075
2132
|
height: t = 24,
|
|
2076
2133
|
width: s = 24,
|
|
2077
2134
|
onClick: n
|
|
@@ -2126,9 +2183,9 @@ const J2 = ({
|
|
|
2126
2183
|
)
|
|
2127
2184
|
]
|
|
2128
2185
|
}
|
|
2129
|
-
),
|
|
2186
|
+
), X5 = ({
|
|
2130
2187
|
className: i,
|
|
2131
|
-
color: e =
|
|
2188
|
+
color: e = L.GREY_DARK_5,
|
|
2132
2189
|
height: t = 24,
|
|
2133
2190
|
width: s = 24,
|
|
2134
2191
|
onClick: n
|
|
@@ -2175,9 +2232,9 @@ const J2 = ({
|
|
|
2175
2232
|
)
|
|
2176
2233
|
]
|
|
2177
2234
|
}
|
|
2178
|
-
),
|
|
2235
|
+
), ee = ({
|
|
2179
2236
|
className: i,
|
|
2180
|
-
color: e =
|
|
2237
|
+
color: e = L.GREY_DARK_5,
|
|
2181
2238
|
height: t = 24,
|
|
2182
2239
|
width: s = 24,
|
|
2183
2240
|
onClick: n
|
|
@@ -2202,9 +2259,9 @@ const J2 = ({
|
|
|
2202
2259
|
}
|
|
2203
2260
|
)
|
|
2204
2261
|
}
|
|
2205
|
-
),
|
|
2262
|
+
), te = ({
|
|
2206
2263
|
className: i,
|
|
2207
|
-
color: e =
|
|
2264
|
+
color: e = L.GREY_DARK_5,
|
|
2208
2265
|
height: t = 20,
|
|
2209
2266
|
width: s = 20,
|
|
2210
2267
|
onClick: n
|
|
@@ -2219,7 +2276,7 @@ const J2 = ({
|
|
|
2219
2276
|
fill: "none",
|
|
2220
2277
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2221
2278
|
children: [
|
|
2222
|
-
/* @__PURE__ */ r("rect", { width: "20", height: "20", rx: "4", fill:
|
|
2279
|
+
/* @__PURE__ */ r("rect", { width: "20", height: "20", rx: "4", fill: L.GREY_LIGHT_2 }),
|
|
2223
2280
|
/* @__PURE__ */ r(
|
|
2224
2281
|
"path",
|
|
2225
2282
|
{
|
|
@@ -2231,7 +2288,7 @@ const J2 = ({
|
|
|
2231
2288
|
)
|
|
2232
2289
|
]
|
|
2233
2290
|
}
|
|
2234
|
-
),
|
|
2291
|
+
), ie = ({
|
|
2235
2292
|
className: i,
|
|
2236
2293
|
color: e = "#001E52",
|
|
2237
2294
|
height: t = 24,
|
|
@@ -2257,7 +2314,7 @@ const J2 = ({
|
|
|
2257
2314
|
}
|
|
2258
2315
|
)
|
|
2259
2316
|
}
|
|
2260
|
-
),
|
|
2317
|
+
), se = ({
|
|
2261
2318
|
className: i,
|
|
2262
2319
|
color: e = "#001E52",
|
|
2263
2320
|
height: t = 24,
|
|
@@ -2295,10 +2352,10 @@ const J2 = ({
|
|
|
2295
2352
|
)
|
|
2296
2353
|
] }) })
|
|
2297
2354
|
}
|
|
2298
|
-
),
|
|
2355
|
+
), ne = ({
|
|
2299
2356
|
width: i = 20,
|
|
2300
2357
|
height: e = 20,
|
|
2301
|
-
color: t =
|
|
2358
|
+
color: t = L.GREY_DARK_5,
|
|
2302
2359
|
className: s,
|
|
2303
2360
|
onClick: n
|
|
2304
2361
|
}) => /* @__PURE__ */ r(
|
|
@@ -2319,7 +2376,7 @@ const J2 = ({
|
|
|
2319
2376
|
}
|
|
2320
2377
|
)
|
|
2321
2378
|
}
|
|
2322
|
-
),
|
|
2379
|
+
), re = ({
|
|
2323
2380
|
width: i = 24,
|
|
2324
2381
|
height: e = 24,
|
|
2325
2382
|
color: t = "#131314",
|
|
@@ -2352,10 +2409,10 @@ const J2 = ({
|
|
|
2352
2409
|
)
|
|
2353
2410
|
]
|
|
2354
2411
|
}
|
|
2355
|
-
),
|
|
2412
|
+
), oe = ({
|
|
2356
2413
|
width: i = 20,
|
|
2357
2414
|
height: e = 20,
|
|
2358
|
-
color: t =
|
|
2415
|
+
color: t = L.GREY_DARK_5,
|
|
2359
2416
|
className: s,
|
|
2360
2417
|
onClick: n
|
|
2361
2418
|
}) => /* @__PURE__ */ u(
|
|
@@ -2385,10 +2442,10 @@ const J2 = ({
|
|
|
2385
2442
|
)
|
|
2386
2443
|
]
|
|
2387
2444
|
}
|
|
2388
|
-
),
|
|
2445
|
+
), ae = ({
|
|
2389
2446
|
width: i = 24,
|
|
2390
2447
|
height: e = 24,
|
|
2391
|
-
color: t =
|
|
2448
|
+
color: t = L.GREY_DARK_2,
|
|
2392
2449
|
className: s,
|
|
2393
2450
|
onClick: n
|
|
2394
2451
|
}) => /* @__PURE__ */ u(
|
|
@@ -2425,10 +2482,10 @@ const J2 = ({
|
|
|
2425
2482
|
)
|
|
2426
2483
|
]
|
|
2427
2484
|
}
|
|
2428
|
-
),
|
|
2485
|
+
), le = ({
|
|
2429
2486
|
width: i = 24,
|
|
2430
2487
|
height: e = 24,
|
|
2431
|
-
color: t =
|
|
2488
|
+
color: t = L.GREY_DARK_2,
|
|
2432
2489
|
className: s,
|
|
2433
2490
|
onClick: n
|
|
2434
2491
|
}) => /* @__PURE__ */ r(
|
|
@@ -2452,10 +2509,10 @@ const J2 = ({
|
|
|
2452
2509
|
}
|
|
2453
2510
|
)
|
|
2454
2511
|
}
|
|
2455
|
-
),
|
|
2512
|
+
), he = ({
|
|
2456
2513
|
width: i = 24,
|
|
2457
2514
|
height: e = 24,
|
|
2458
|
-
color: t =
|
|
2515
|
+
color: t = L.GREY_DARK_2,
|
|
2459
2516
|
className: s,
|
|
2460
2517
|
onClick: n
|
|
2461
2518
|
}) => /* @__PURE__ */ r(
|
|
@@ -2479,7 +2536,7 @@ const J2 = ({
|
|
|
2479
2536
|
}
|
|
2480
2537
|
)
|
|
2481
2538
|
}
|
|
2482
|
-
),
|
|
2539
|
+
), u1 = ({
|
|
2483
2540
|
name: i,
|
|
2484
2541
|
width: e,
|
|
2485
2542
|
height: t,
|
|
@@ -2488,7 +2545,7 @@ const J2 = ({
|
|
|
2488
2545
|
disabled: o = !1,
|
|
2489
2546
|
onClick: c
|
|
2490
2547
|
}) => {
|
|
2491
|
-
const [a, C] =
|
|
2548
|
+
const [a, C] = I(n), { theme: d } = r1(l2), l = o ? d && d === "dark" ? L.GREY_LIGHT_4 : L.GREY_DARK_1 : s, h = o ? void 0 : c;
|
|
2492
2549
|
return S(() => {
|
|
2493
2550
|
if (n) {
|
|
2494
2551
|
h && !o && C(`${n} clickable`);
|
|
@@ -2498,35 +2555,35 @@ const J2 = ({
|
|
|
2498
2555
|
}, [h, n, o]), /* @__PURE__ */ r(i1, { children: (() => {
|
|
2499
2556
|
switch (i) {
|
|
2500
2557
|
case "nextIcon":
|
|
2501
|
-
return
|
|
2558
|
+
return O5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2502
2559
|
case "prevIcon":
|
|
2503
|
-
return
|
|
2560
|
+
return S5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2504
2561
|
case "arrowDown":
|
|
2505
|
-
return
|
|
2562
|
+
return e5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2506
2563
|
case "info":
|
|
2507
|
-
return
|
|
2564
|
+
return t5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2508
2565
|
case "arrowRight":
|
|
2509
|
-
return
|
|
2566
|
+
return i5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2510
2567
|
case "calendar":
|
|
2511
|
-
return
|
|
2568
|
+
return a5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2512
2569
|
case "check":
|
|
2513
|
-
return
|
|
2570
|
+
return l5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2514
2571
|
case "cancel":
|
|
2515
|
-
return
|
|
2572
|
+
return h5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2516
2573
|
case "add":
|
|
2517
|
-
return
|
|
2574
|
+
return c5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2518
2575
|
case "list":
|
|
2519
|
-
return
|
|
2576
|
+
return d5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2520
2577
|
case "dragAndDrop":
|
|
2521
|
-
return
|
|
2578
|
+
return C5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2522
2579
|
case "filter":
|
|
2523
|
-
return
|
|
2580
|
+
return g5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2524
2581
|
case "attention":
|
|
2525
|
-
return
|
|
2582
|
+
return u5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2526
2583
|
case "users":
|
|
2527
|
-
return
|
|
2584
|
+
return f5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2528
2585
|
case "mySkillsMatrix":
|
|
2529
|
-
return
|
|
2586
|
+
return p5({
|
|
2530
2587
|
width: e,
|
|
2531
2588
|
height: t,
|
|
2532
2589
|
color: l,
|
|
@@ -2534,9 +2591,9 @@ const J2 = ({
|
|
|
2534
2591
|
onClick: h
|
|
2535
2592
|
});
|
|
2536
2593
|
case "skills":
|
|
2537
|
-
return
|
|
2594
|
+
return m5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2538
2595
|
case "skillsMatrices":
|
|
2539
|
-
return
|
|
2596
|
+
return w5({
|
|
2540
2597
|
width: e,
|
|
2541
2598
|
height: t,
|
|
2542
2599
|
color: l,
|
|
@@ -2544,21 +2601,21 @@ const J2 = ({
|
|
|
2544
2601
|
onClick: h
|
|
2545
2602
|
});
|
|
2546
2603
|
case "history":
|
|
2547
|
-
return
|
|
2604
|
+
return L5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2548
2605
|
case "logOut":
|
|
2549
|
-
return
|
|
2606
|
+
return k5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2550
2607
|
case "settings":
|
|
2551
|
-
return
|
|
2608
|
+
return v5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2552
2609
|
case "trash":
|
|
2553
|
-
return
|
|
2610
|
+
return N5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2554
2611
|
case "settings2":
|
|
2555
|
-
return
|
|
2612
|
+
return R5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2556
2613
|
case "checkCircle":
|
|
2557
|
-
return
|
|
2614
|
+
return x5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2558
2615
|
case "cancelCircle":
|
|
2559
|
-
return
|
|
2616
|
+
return _5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2560
2617
|
case "visibilityIcon":
|
|
2561
|
-
return
|
|
2618
|
+
return M5({
|
|
2562
2619
|
width: e,
|
|
2563
2620
|
height: t,
|
|
2564
2621
|
color: l,
|
|
@@ -2566,7 +2623,7 @@ const J2 = ({
|
|
|
2566
2623
|
onClick: h
|
|
2567
2624
|
});
|
|
2568
2625
|
case "visibilityOffIcon":
|
|
2569
|
-
return
|
|
2626
|
+
return b5({
|
|
2570
2627
|
width: e,
|
|
2571
2628
|
height: t,
|
|
2572
2629
|
color: l,
|
|
@@ -2574,7 +2631,7 @@ const J2 = ({
|
|
|
2574
2631
|
onClick: h
|
|
2575
2632
|
});
|
|
2576
2633
|
case "selectArrowIcon":
|
|
2577
|
-
return
|
|
2634
|
+
return y5({
|
|
2578
2635
|
width: e,
|
|
2579
2636
|
height: t,
|
|
2580
2637
|
color: l,
|
|
@@ -2582,7 +2639,7 @@ const J2 = ({
|
|
|
2582
2639
|
onClick: h
|
|
2583
2640
|
});
|
|
2584
2641
|
case "expandArrowIcon":
|
|
2585
|
-
return
|
|
2642
|
+
return H5({
|
|
2586
2643
|
width: e,
|
|
2587
2644
|
height: t,
|
|
2588
2645
|
color: l,
|
|
@@ -2590,7 +2647,7 @@ const J2 = ({
|
|
|
2590
2647
|
onClick: h
|
|
2591
2648
|
});
|
|
2592
2649
|
case "expandActiveArrowIcon":
|
|
2593
|
-
return
|
|
2650
|
+
return E5({
|
|
2594
2651
|
width: e,
|
|
2595
2652
|
height: t,
|
|
2596
2653
|
color: l,
|
|
@@ -2598,85 +2655,85 @@ const J2 = ({
|
|
|
2598
2655
|
onClick: h
|
|
2599
2656
|
});
|
|
2600
2657
|
case "sortUp":
|
|
2601
|
-
return
|
|
2658
|
+
return V5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2602
2659
|
case "sortDown":
|
|
2603
|
-
return
|
|
2660
|
+
return I5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2604
2661
|
case "search":
|
|
2605
|
-
return H5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2606
|
-
case "arrowUpFilled":
|
|
2607
2662
|
return A5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2663
|
+
case "arrowUpFilled":
|
|
2664
|
+
return D5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2608
2665
|
case "arrowDownFilled":
|
|
2609
|
-
return
|
|
2666
|
+
return Z5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2610
2667
|
case "arrow2Up":
|
|
2611
|
-
return
|
|
2668
|
+
return s5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2612
2669
|
case "arrow2Right":
|
|
2613
|
-
return
|
|
2670
|
+
return n5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2614
2671
|
case "arrow2Down":
|
|
2615
|
-
return
|
|
2672
|
+
return r5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2616
2673
|
case "arrow2Left":
|
|
2617
|
-
return
|
|
2674
|
+
return o5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2618
2675
|
case "link":
|
|
2619
|
-
return
|
|
2676
|
+
return G5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2620
2677
|
case "telegram":
|
|
2621
|
-
return
|
|
2678
|
+
return K5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2622
2679
|
case "mail":
|
|
2623
|
-
return
|
|
2680
|
+
return P5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2624
2681
|
case "github":
|
|
2625
|
-
return
|
|
2682
|
+
return T5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2626
2683
|
case "linkedIn":
|
|
2627
|
-
return
|
|
2684
|
+
return B5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2628
2685
|
case "emptyStateIcon":
|
|
2629
|
-
return
|
|
2686
|
+
return Y5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2630
2687
|
case "filtersIcon":
|
|
2631
|
-
return
|
|
2688
|
+
return j5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2632
2689
|
case "dotMenuIcon":
|
|
2633
|
-
return
|
|
2690
|
+
return $5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2634
2691
|
case "plusCircle":
|
|
2635
|
-
return
|
|
2692
|
+
return F5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2636
2693
|
case "warning":
|
|
2637
|
-
return
|
|
2694
|
+
return W5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2638
2695
|
case "back":
|
|
2639
|
-
return
|
|
2696
|
+
return U5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2640
2697
|
case "bell":
|
|
2641
|
-
return
|
|
2698
|
+
return z5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2642
2699
|
case "copy":
|
|
2643
|
-
return
|
|
2700
|
+
return J5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2644
2701
|
case "contract":
|
|
2645
|
-
return
|
|
2702
|
+
return q5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2646
2703
|
case "resourceManager":
|
|
2647
|
-
return
|
|
2704
|
+
return Q5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2648
2705
|
case "image":
|
|
2649
|
-
return
|
|
2706
|
+
return X5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2650
2707
|
case "edit":
|
|
2651
|
-
return
|
|
2708
|
+
return ee({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2652
2709
|
case "filledArrowRight":
|
|
2653
|
-
return
|
|
2710
|
+
return te({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2654
2711
|
case "burgerMenu":
|
|
2655
|
-
return
|
|
2712
|
+
return ie({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2656
2713
|
case "refresh":
|
|
2657
|
-
return
|
|
2714
|
+
return se({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2658
2715
|
case "projects":
|
|
2659
|
-
return
|
|
2716
|
+
return ne({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2660
2717
|
case "user":
|
|
2661
|
-
return
|
|
2718
|
+
return oe({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2662
2719
|
case "exit":
|
|
2663
|
-
return
|
|
2720
|
+
return re({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2664
2721
|
case "openPointCircle":
|
|
2665
|
-
return
|
|
2722
|
+
return ae({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2666
2723
|
case "community":
|
|
2667
|
-
return
|
|
2724
|
+
return le({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2668
2725
|
case "docs":
|
|
2669
|
-
return
|
|
2726
|
+
return he({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2670
2727
|
default:
|
|
2671
2728
|
return /* @__PURE__ */ r(i1, { children: "No Icon provided" });
|
|
2672
2729
|
}
|
|
2673
2730
|
})() });
|
|
2674
|
-
}, { Title:
|
|
2731
|
+
}, { Title: ce, Text: de } = D1, Ce = {
|
|
2675
2732
|
h1: 1,
|
|
2676
2733
|
h2: 2,
|
|
2677
2734
|
h3: 3,
|
|
2678
2735
|
h4: 4
|
|
2679
|
-
},
|
|
2736
|
+
}, ge = d1(
|
|
2680
2737
|
({
|
|
2681
2738
|
align: i = "inherit",
|
|
2682
2739
|
variant: e = "body1",
|
|
@@ -2688,25 +2745,25 @@ const J2 = ({
|
|
|
2688
2745
|
/** This prop allows you to enable tooltip if text size is too big */
|
|
2689
2746
|
trim: a = !1
|
|
2690
2747
|
}, C) => {
|
|
2691
|
-
const d =
|
|
2692
|
-
|
|
2693
|
-
const [l, h] =
|
|
2748
|
+
const d = $(null);
|
|
2749
|
+
k1(C, () => d.current);
|
|
2750
|
+
const [l, h] = I(!1);
|
|
2694
2751
|
S(() => {
|
|
2695
|
-
var
|
|
2752
|
+
var v;
|
|
2696
2753
|
if (!a) return;
|
|
2697
2754
|
const m = () => {
|
|
2698
2755
|
d.current && h(d.current.scrollWidth > d.current.clientWidth);
|
|
2699
2756
|
};
|
|
2700
2757
|
m();
|
|
2701
|
-
const
|
|
2702
|
-
return d.current &&
|
|
2703
|
-
|
|
2758
|
+
const b = new ResizeObserver(m);
|
|
2759
|
+
return d.current && b.observe(d.current), (v = d.current) != null && v.parentElement && b.observe(d.current.parentElement), () => {
|
|
2760
|
+
b.disconnect();
|
|
2704
2761
|
};
|
|
2705
2762
|
}, [a]);
|
|
2706
2763
|
const g = e === "h1" || e === "h2" || e === "h3" || e === "h4";
|
|
2707
2764
|
let f = `snmt-typography snmt-typography-${e}`;
|
|
2708
2765
|
i && i !== "inherit" && (f += ` snmt-typography-align-${i}`), o && (f += " collapsed");
|
|
2709
|
-
const
|
|
2766
|
+
const w = {
|
|
2710
2767
|
className: f,
|
|
2711
2768
|
style: { color: t, whiteSpace: a ? "nowrap" : c, display: a ? "block" : "" },
|
|
2712
2769
|
onClick: n,
|
|
@@ -2718,16 +2775,16 @@ const J2 = ({
|
|
|
2718
2775
|
}
|
|
2719
2776
|
} : void 0
|
|
2720
2777
|
};
|
|
2721
|
-
return g ? /* @__PURE__ */ r(
|
|
2778
|
+
return g ? /* @__PURE__ */ r(ce, { level: Ce[e], ...w, children: s }) : /* @__PURE__ */ r(de, { ...w, children: s });
|
|
2722
2779
|
}
|
|
2723
2780
|
);
|
|
2724
|
-
var
|
|
2725
|
-
const h2 =
|
|
2781
|
+
var k = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", i.GREY_LIGHT_1 = "var(--grey-light-1)", i.GREY_LIGHT_2 = "var(--grey-light-2)", i.GREY_LIGHT_3 = "var(--grey-light-3)", i.GREY_LIGHT_4 = "var(--grey-light-4)", i.GREY_DARK_1 = "var(--grey-dark-1)", i.GREY_DARK_2 = "var(--grey-dark-2)", i.GREY_DARK_3 = "var(--grey-dark-3)", i.GREY_DARK_4 = "var(--grey-dark-4)", i.GREY_DARK_5 = "var(--grey-dark-5)", i.BLUE_PRIMARY = "var(--blue-primary)", i.BLUE_HOVER = "var(--blue-hover)", i.BLUE_LIGHT_1 = "var(--blue-light-1)", i.BLUE_LIGHT_2 = "var(--blue-light-2)", i.BLUE_LIGHT_3 = "var(--blue-light-3)", i.BLUE_LIGHT_4 = "var(--blue-light-4)", i.BLUE_DARK_1 = "var(--blue-dark-1)", i.BLUE_DARK_3 = "var(--blue-dark-3)", i.PURPLE_LIGHT = "var(--purple-light)", i.PURPLE_LIGHT_2 = "var(--purple-light-2)", i.PURPLE_DARK = "var(--purple-dark)", i.NOTIFICATION_WARNING_LIGHT = "var(--notification-warning-light)", i.NOTIFICATION_WARNING_DARK = "var(--notification-warning-dark)", i.NOTIFICATION_SUCCESS_LIGHT = "var(--notification-success-light)", i.NOTIFICATION_SUCCESS_DARK = "var(--notification-success-dark)", i.NOTIFICATION_ERROR_LIGHT = "var(--notification-error-light)", i.NOTIFICATION_ERROR_DARK = "var(--notification-error-dark)", i.NOTIFICATION_ERROR_DARK_MODE = "var(--notification-error-dark-mode)", i.CYAN_LIGHT = "var(--cyan-light)", i.GOLD_LIGHT = "var(--gold-light)", i))(k || {});
|
|
2782
|
+
const h2 = C1({
|
|
2726
2783
|
locale: "en",
|
|
2727
2784
|
theme: "light"
|
|
2728
2785
|
});
|
|
2729
2786
|
h2.Provider;
|
|
2730
|
-
const
|
|
2787
|
+
const ue = ({
|
|
2731
2788
|
width: i = 20,
|
|
2732
2789
|
height: e = 20,
|
|
2733
2790
|
color: t = "#001E52",
|
|
@@ -2754,10 +2811,10 @@ const ce = ({
|
|
|
2754
2811
|
}
|
|
2755
2812
|
)
|
|
2756
2813
|
}
|
|
2757
|
-
),
|
|
2814
|
+
), fe = ({
|
|
2758
2815
|
width: i = 20,
|
|
2759
2816
|
height: e = 20,
|
|
2760
|
-
color: t =
|
|
2817
|
+
color: t = k.GREY_DARK_5,
|
|
2761
2818
|
className: s,
|
|
2762
2819
|
onClick: n
|
|
2763
2820
|
}) => /* @__PURE__ */ u(
|
|
@@ -2794,7 +2851,7 @@ const ce = ({
|
|
|
2794
2851
|
)
|
|
2795
2852
|
]
|
|
2796
2853
|
}
|
|
2797
|
-
),
|
|
2854
|
+
), pe = ({
|
|
2798
2855
|
width: i = 20,
|
|
2799
2856
|
height: e = 20,
|
|
2800
2857
|
color: t = "#001E52",
|
|
@@ -2829,10 +2886,10 @@ const ce = ({
|
|
|
2829
2886
|
)
|
|
2830
2887
|
]
|
|
2831
2888
|
}
|
|
2832
|
-
),
|
|
2889
|
+
), me = ({
|
|
2833
2890
|
width: i = 20,
|
|
2834
2891
|
height: e = 20,
|
|
2835
|
-
color: t =
|
|
2892
|
+
color: t = k.GREY_DARK_5,
|
|
2836
2893
|
className: s,
|
|
2837
2894
|
onClick: n
|
|
2838
2895
|
}) => /* @__PURE__ */ u(
|
|
@@ -2856,10 +2913,10 @@ const ce = ({
|
|
|
2856
2913
|
/* @__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)" }) }) })
|
|
2857
2914
|
]
|
|
2858
2915
|
}
|
|
2859
|
-
),
|
|
2916
|
+
), we = ({
|
|
2860
2917
|
width: i = 20,
|
|
2861
2918
|
height: e = 20,
|
|
2862
|
-
color: t =
|
|
2919
|
+
color: t = k.GREY_DARK_5,
|
|
2863
2920
|
className: s,
|
|
2864
2921
|
onClick: n
|
|
2865
2922
|
}) => /* @__PURE__ */ r(
|
|
@@ -2880,10 +2937,10 @@ const ce = ({
|
|
|
2880
2937
|
}
|
|
2881
2938
|
)
|
|
2882
2939
|
}
|
|
2883
|
-
),
|
|
2940
|
+
), Le = ({
|
|
2884
2941
|
width: i = 20,
|
|
2885
2942
|
height: e = 20,
|
|
2886
|
-
color: t =
|
|
2943
|
+
color: t = k.GREY_DARK_5,
|
|
2887
2944
|
className: s,
|
|
2888
2945
|
onClick: n
|
|
2889
2946
|
}) => /* @__PURE__ */ u(
|
|
@@ -2907,10 +2964,10 @@ const ce = ({
|
|
|
2907
2964
|
/* @__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)" }) }) })
|
|
2908
2965
|
]
|
|
2909
2966
|
}
|
|
2910
|
-
),
|
|
2967
|
+
), ke = ({
|
|
2911
2968
|
width: i = 20,
|
|
2912
2969
|
height: e = 20,
|
|
2913
|
-
color: t =
|
|
2970
|
+
color: t = k.GREY_DARK_5,
|
|
2914
2971
|
className: s,
|
|
2915
2972
|
onClick: n
|
|
2916
2973
|
}) => /* @__PURE__ */ r(
|
|
@@ -2931,10 +2988,10 @@ const ce = ({
|
|
|
2931
2988
|
}
|
|
2932
2989
|
)
|
|
2933
2990
|
}
|
|
2934
|
-
),
|
|
2991
|
+
), ve = ({
|
|
2935
2992
|
width: i = 20,
|
|
2936
2993
|
height: e = 20,
|
|
2937
|
-
color: t =
|
|
2994
|
+
color: t = k.GREY_DARK_5,
|
|
2938
2995
|
className: s,
|
|
2939
2996
|
onClick: n
|
|
2940
2997
|
}) => /* @__PURE__ */ u(
|
|
@@ -2978,10 +3035,10 @@ const ce = ({
|
|
|
2978
3035
|
)
|
|
2979
3036
|
]
|
|
2980
3037
|
}
|
|
2981
|
-
),
|
|
3038
|
+
), Ne = ({
|
|
2982
3039
|
width: i = 20,
|
|
2983
3040
|
height: e = 20,
|
|
2984
|
-
color: t =
|
|
3041
|
+
color: t = k.GREY_DARK_5,
|
|
2985
3042
|
className: s,
|
|
2986
3043
|
onClick: n
|
|
2987
3044
|
}) => /* @__PURE__ */ r(
|
|
@@ -3002,10 +3059,10 @@ const ce = ({
|
|
|
3002
3059
|
}
|
|
3003
3060
|
)
|
|
3004
3061
|
}
|
|
3005
|
-
),
|
|
3062
|
+
), Re = ({
|
|
3006
3063
|
width: i = 20,
|
|
3007
3064
|
height: e = 20,
|
|
3008
|
-
color: t =
|
|
3065
|
+
color: t = k.GREY_DARK_5,
|
|
3009
3066
|
className: s,
|
|
3010
3067
|
onClick: n
|
|
3011
3068
|
}) => /* @__PURE__ */ r(
|
|
@@ -3026,10 +3083,10 @@ const ce = ({
|
|
|
3026
3083
|
}
|
|
3027
3084
|
)
|
|
3028
3085
|
}
|
|
3029
|
-
),
|
|
3086
|
+
), xe = ({
|
|
3030
3087
|
width: i = 20,
|
|
3031
3088
|
height: e = 20,
|
|
3032
|
-
color: t =
|
|
3089
|
+
color: t = k.GREY_DARK_5,
|
|
3033
3090
|
className: s,
|
|
3034
3091
|
onClick: n
|
|
3035
3092
|
}) => /* @__PURE__ */ r(
|
|
@@ -3050,10 +3107,10 @@ const ce = ({
|
|
|
3050
3107
|
}
|
|
3051
3108
|
)
|
|
3052
3109
|
}
|
|
3053
|
-
),
|
|
3110
|
+
), _e = ({
|
|
3054
3111
|
width: i = 20,
|
|
3055
3112
|
height: e = 20,
|
|
3056
|
-
color: t =
|
|
3113
|
+
color: t = k.GREY_DARK_5,
|
|
3057
3114
|
className: s,
|
|
3058
3115
|
onClick: n
|
|
3059
3116
|
}) => /* @__PURE__ */ u(
|
|
@@ -3111,10 +3168,10 @@ const ce = ({
|
|
|
3111
3168
|
)
|
|
3112
3169
|
]
|
|
3113
3170
|
}
|
|
3114
|
-
),
|
|
3171
|
+
), Me = ({
|
|
3115
3172
|
width: i = 20,
|
|
3116
3173
|
height: e = 20,
|
|
3117
|
-
color: t =
|
|
3174
|
+
color: t = k.GREY_DARK_5,
|
|
3118
3175
|
className: s,
|
|
3119
3176
|
onClick: n
|
|
3120
3177
|
}) => /* @__PURE__ */ u(
|
|
@@ -3158,10 +3215,10 @@ const ce = ({
|
|
|
3158
3215
|
)
|
|
3159
3216
|
]
|
|
3160
3217
|
}
|
|
3161
|
-
),
|
|
3218
|
+
), be = ({
|
|
3162
3219
|
width: i = 20,
|
|
3163
3220
|
height: e = 20,
|
|
3164
|
-
color: t =
|
|
3221
|
+
color: t = k.GREY_DARK_5,
|
|
3165
3222
|
className: s,
|
|
3166
3223
|
onClick: n
|
|
3167
3224
|
}) => /* @__PURE__ */ u(
|
|
@@ -3198,10 +3255,10 @@ const ce = ({
|
|
|
3198
3255
|
)
|
|
3199
3256
|
]
|
|
3200
3257
|
}
|
|
3201
|
-
),
|
|
3258
|
+
), ye = ({
|
|
3202
3259
|
width: i = 20,
|
|
3203
3260
|
height: e = 20,
|
|
3204
|
-
color: t =
|
|
3261
|
+
color: t = k.GREY_DARK_5,
|
|
3205
3262
|
className: s,
|
|
3206
3263
|
onClick: n
|
|
3207
3264
|
}) => /* @__PURE__ */ u(
|
|
@@ -3238,10 +3295,10 @@ const ce = ({
|
|
|
3238
3295
|
)
|
|
3239
3296
|
]
|
|
3240
3297
|
}
|
|
3241
|
-
),
|
|
3298
|
+
), He = ({
|
|
3242
3299
|
width: i = 20,
|
|
3243
3300
|
height: e = 20,
|
|
3244
|
-
color: t =
|
|
3301
|
+
color: t = k.GREY_DARK_5,
|
|
3245
3302
|
className: s,
|
|
3246
3303
|
onClick: n
|
|
3247
3304
|
}) => /* @__PURE__ */ u(
|
|
@@ -3285,10 +3342,10 @@ const ce = ({
|
|
|
3285
3342
|
)
|
|
3286
3343
|
]
|
|
3287
3344
|
}
|
|
3288
|
-
),
|
|
3345
|
+
), Ee = ({
|
|
3289
3346
|
width: i = 20,
|
|
3290
3347
|
height: e = 20,
|
|
3291
|
-
color: t =
|
|
3348
|
+
color: t = k.GREY_DARK_5,
|
|
3292
3349
|
className: s,
|
|
3293
3350
|
onClick: n
|
|
3294
3351
|
}) => /* @__PURE__ */ u(
|
|
@@ -3332,10 +3389,10 @@ const ce = ({
|
|
|
3332
3389
|
)
|
|
3333
3390
|
]
|
|
3334
3391
|
}
|
|
3335
|
-
),
|
|
3392
|
+
), Ve = ({
|
|
3336
3393
|
width: i = 20,
|
|
3337
3394
|
height: e = 20,
|
|
3338
|
-
color: t =
|
|
3395
|
+
color: t = k.GREY_DARK_5,
|
|
3339
3396
|
className: s,
|
|
3340
3397
|
onClick: n
|
|
3341
3398
|
}) => /* @__PURE__ */ u(
|
|
@@ -3379,10 +3436,10 @@ const ce = ({
|
|
|
3379
3436
|
)
|
|
3380
3437
|
]
|
|
3381
3438
|
}
|
|
3382
|
-
),
|
|
3439
|
+
), Ie = ({
|
|
3383
3440
|
width: i = 20,
|
|
3384
3441
|
height: e = 20,
|
|
3385
|
-
color: t =
|
|
3442
|
+
color: t = k.GREY_DARK_5,
|
|
3386
3443
|
className: s,
|
|
3387
3444
|
onClick: n
|
|
3388
3445
|
}) => /* @__PURE__ */ u(
|
|
@@ -3419,10 +3476,10 @@ const ce = ({
|
|
|
3419
3476
|
)
|
|
3420
3477
|
]
|
|
3421
3478
|
}
|
|
3422
|
-
),
|
|
3479
|
+
), Ae = ({
|
|
3423
3480
|
width: i = 20,
|
|
3424
3481
|
height: e = 20,
|
|
3425
|
-
color: t =
|
|
3482
|
+
color: t = k.GREY_DARK_5,
|
|
3426
3483
|
className: s,
|
|
3427
3484
|
onClick: n
|
|
3428
3485
|
}) => /* @__PURE__ */ u(
|
|
@@ -3452,10 +3509,10 @@ const ce = ({
|
|
|
3452
3509
|
)
|
|
3453
3510
|
]
|
|
3454
3511
|
}
|
|
3455
|
-
),
|
|
3512
|
+
), Oe = ({
|
|
3456
3513
|
width: i = 20,
|
|
3457
3514
|
height: e = 20,
|
|
3458
|
-
color: t =
|
|
3515
|
+
color: t = k.GREY_DARK_5,
|
|
3459
3516
|
className: s,
|
|
3460
3517
|
onClick: n
|
|
3461
3518
|
}) => /* @__PURE__ */ u(
|
|
@@ -3485,10 +3542,10 @@ const ce = ({
|
|
|
3485
3542
|
)
|
|
3486
3543
|
]
|
|
3487
3544
|
}
|
|
3488
|
-
),
|
|
3545
|
+
), Se = ({
|
|
3489
3546
|
width: i = 20,
|
|
3490
3547
|
height: e = 20,
|
|
3491
|
-
color: t =
|
|
3548
|
+
color: t = k.GREY_DARK_5,
|
|
3492
3549
|
className: s,
|
|
3493
3550
|
onClick: n
|
|
3494
3551
|
}) => /* @__PURE__ */ u(
|
|
@@ -3518,10 +3575,10 @@ const ce = ({
|
|
|
3518
3575
|
)
|
|
3519
3576
|
]
|
|
3520
3577
|
}
|
|
3521
|
-
),
|
|
3578
|
+
), Ze = ({
|
|
3522
3579
|
width: i = 20,
|
|
3523
3580
|
height: e = 20,
|
|
3524
|
-
color: t =
|
|
3581
|
+
color: t = k.GREY_DARK_5,
|
|
3525
3582
|
className: s,
|
|
3526
3583
|
onClick: n
|
|
3527
3584
|
}) => /* @__PURE__ */ u(
|
|
@@ -3551,10 +3608,10 @@ const ce = ({
|
|
|
3551
3608
|
)
|
|
3552
3609
|
]
|
|
3553
3610
|
}
|
|
3554
|
-
),
|
|
3611
|
+
), De = ({
|
|
3555
3612
|
width: i = 20,
|
|
3556
3613
|
height: e = 20,
|
|
3557
|
-
color: t =
|
|
3614
|
+
color: t = k.GREY_DARK_5,
|
|
3558
3615
|
className: s,
|
|
3559
3616
|
onClick: n
|
|
3560
3617
|
}) => /* @__PURE__ */ u(
|
|
@@ -3591,10 +3648,10 @@ const ce = ({
|
|
|
3591
3648
|
)
|
|
3592
3649
|
]
|
|
3593
3650
|
}
|
|
3594
|
-
),
|
|
3651
|
+
), Ge = ({
|
|
3595
3652
|
width: i = 20,
|
|
3596
3653
|
height: e = 20,
|
|
3597
|
-
color: t =
|
|
3654
|
+
color: t = k.GREY_DARK_5,
|
|
3598
3655
|
className: s,
|
|
3599
3656
|
onClick: n
|
|
3600
3657
|
}) => /* @__PURE__ */ u(
|
|
@@ -3624,10 +3681,10 @@ const ce = ({
|
|
|
3624
3681
|
)
|
|
3625
3682
|
]
|
|
3626
3683
|
}
|
|
3627
|
-
),
|
|
3684
|
+
), Te = ({
|
|
3628
3685
|
width: i = 20,
|
|
3629
3686
|
height: e = 20,
|
|
3630
|
-
color: t =
|
|
3687
|
+
color: t = k.GREY_DARK_5,
|
|
3631
3688
|
className: s,
|
|
3632
3689
|
onClick: n
|
|
3633
3690
|
}) => /* @__PURE__ */ u(
|
|
@@ -3657,7 +3714,7 @@ const ce = ({
|
|
|
3657
3714
|
)
|
|
3658
3715
|
]
|
|
3659
3716
|
}
|
|
3660
|
-
),
|
|
3717
|
+
), Ke = ({
|
|
3661
3718
|
width: i = 20,
|
|
3662
3719
|
height: e = 20,
|
|
3663
3720
|
color: t = "#070739",
|
|
@@ -3687,7 +3744,7 @@ const ce = ({
|
|
|
3687
3744
|
/* @__PURE__ */ r("circle", { cx: "10", cy: "10", r: "2.375", stroke: t, strokeWidth: "1.25" })
|
|
3688
3745
|
]
|
|
3689
3746
|
}
|
|
3690
|
-
),
|
|
3747
|
+
), Be = ({
|
|
3691
3748
|
width: i = 20,
|
|
3692
3749
|
height: e = 20,
|
|
3693
3750
|
color: t = "#070739",
|
|
@@ -3725,7 +3782,7 @@ const ce = ({
|
|
|
3725
3782
|
)
|
|
3726
3783
|
]
|
|
3727
3784
|
}
|
|
3728
|
-
),
|
|
3785
|
+
), Pe = ({
|
|
3729
3786
|
width: i = 9,
|
|
3730
3787
|
height: e = 5,
|
|
3731
3788
|
color: t = "#001E52",
|
|
@@ -3751,7 +3808,7 @@ const ce = ({
|
|
|
3751
3808
|
}
|
|
3752
3809
|
)
|
|
3753
3810
|
}
|
|
3754
|
-
),
|
|
3811
|
+
), Ye = ({
|
|
3755
3812
|
width: i = 20,
|
|
3756
3813
|
height: e = 20,
|
|
3757
3814
|
color: t = "#F2F2F7",
|
|
@@ -3780,7 +3837,7 @@ const ce = ({
|
|
|
3780
3837
|
)
|
|
3781
3838
|
]
|
|
3782
3839
|
}
|
|
3783
|
-
),
|
|
3840
|
+
), je = ({
|
|
3784
3841
|
width: i = 20,
|
|
3785
3842
|
height: e = 20,
|
|
3786
3843
|
color: t = "#004ED7",
|
|
@@ -3809,7 +3866,7 @@ const ce = ({
|
|
|
3809
3866
|
)
|
|
3810
3867
|
]
|
|
3811
3868
|
}
|
|
3812
|
-
),
|
|
3869
|
+
), $e = ({
|
|
3813
3870
|
width: i = 10,
|
|
3814
3871
|
height: e = 10,
|
|
3815
3872
|
color: t = "#001E52",
|
|
@@ -3838,7 +3895,7 @@ const ce = ({
|
|
|
3838
3895
|
)
|
|
3839
3896
|
]
|
|
3840
3897
|
}
|
|
3841
|
-
),
|
|
3898
|
+
), Fe = ({
|
|
3842
3899
|
width: i = 10,
|
|
3843
3900
|
height: e = 10,
|
|
3844
3901
|
color: t = "#001E52",
|
|
@@ -3875,9 +3932,9 @@ const ce = ({
|
|
|
3875
3932
|
)
|
|
3876
3933
|
]
|
|
3877
3934
|
}
|
|
3878
|
-
),
|
|
3935
|
+
), We = ({
|
|
3879
3936
|
className: i,
|
|
3880
|
-
color: e =
|
|
3937
|
+
color: e = k.GREY_DARK_5,
|
|
3881
3938
|
height: t = 20,
|
|
3882
3939
|
width: s = 20,
|
|
3883
3940
|
onClick: n
|
|
@@ -3908,9 +3965,9 @@ const ce = ({
|
|
|
3908
3965
|
)
|
|
3909
3966
|
]
|
|
3910
3967
|
}
|
|
3911
|
-
),
|
|
3968
|
+
), Ue = ({
|
|
3912
3969
|
className: i,
|
|
3913
|
-
color: e =
|
|
3970
|
+
color: e = k.GREY_DARK_5,
|
|
3914
3971
|
height: t = 20,
|
|
3915
3972
|
width: s = 20,
|
|
3916
3973
|
onClick: n
|
|
@@ -3935,9 +3992,9 @@ const ce = ({
|
|
|
3935
3992
|
}
|
|
3936
3993
|
)
|
|
3937
3994
|
}
|
|
3938
|
-
),
|
|
3995
|
+
), ze = ({
|
|
3939
3996
|
className: i,
|
|
3940
|
-
color: e =
|
|
3997
|
+
color: e = k.GREY_DARK_5,
|
|
3941
3998
|
height: t = 20,
|
|
3942
3999
|
width: s = 20,
|
|
3943
4000
|
onClick: n
|
|
@@ -3962,9 +4019,9 @@ const ce = ({
|
|
|
3962
4019
|
}
|
|
3963
4020
|
)
|
|
3964
4021
|
}
|
|
3965
|
-
),
|
|
4022
|
+
), Je = ({
|
|
3966
4023
|
className: i,
|
|
3967
|
-
color: e =
|
|
4024
|
+
color: e = k.GREY_DARK_5,
|
|
3968
4025
|
height: t = 5,
|
|
3969
4026
|
width: s = 10,
|
|
3970
4027
|
onClick: n
|
|
@@ -3986,9 +4043,9 @@ const ce = ({
|
|
|
3986
4043
|
}
|
|
3987
4044
|
)
|
|
3988
4045
|
}
|
|
3989
|
-
),
|
|
4046
|
+
), qe = ({
|
|
3990
4047
|
className: i,
|
|
3991
|
-
color: e =
|
|
4048
|
+
color: e = k.GREY_DARK_5,
|
|
3992
4049
|
height: t = 5,
|
|
3993
4050
|
width: s = 10,
|
|
3994
4051
|
onClick: n
|
|
@@ -4011,9 +4068,9 @@ const ce = ({
|
|
|
4011
4068
|
}
|
|
4012
4069
|
)
|
|
4013
4070
|
}
|
|
4014
|
-
),
|
|
4071
|
+
), Qe = ({
|
|
4015
4072
|
className: i,
|
|
4016
|
-
color: e =
|
|
4073
|
+
color: e = k.GREY_DARK_5,
|
|
4017
4074
|
height: t = 20,
|
|
4018
4075
|
width: s = 20,
|
|
4019
4076
|
onClick: n
|
|
@@ -4044,9 +4101,9 @@ const ce = ({
|
|
|
4044
4101
|
)
|
|
4045
4102
|
]
|
|
4046
4103
|
}
|
|
4047
|
-
),
|
|
4104
|
+
), Xe = ({
|
|
4048
4105
|
className: i,
|
|
4049
|
-
color: e =
|
|
4106
|
+
color: e = k.GREY_DARK_5,
|
|
4050
4107
|
height: t = 24,
|
|
4051
4108
|
width: s = 24,
|
|
4052
4109
|
onClick: n
|
|
@@ -4083,9 +4140,9 @@ const ce = ({
|
|
|
4083
4140
|
)
|
|
4084
4141
|
]
|
|
4085
4142
|
}
|
|
4086
|
-
),
|
|
4143
|
+
), et = ({
|
|
4087
4144
|
className: i,
|
|
4088
|
-
color: e =
|
|
4145
|
+
color: e = k.GREY_DARK_5,
|
|
4089
4146
|
height: t = 24,
|
|
4090
4147
|
width: s = 24,
|
|
4091
4148
|
onClick: n
|
|
@@ -4110,9 +4167,9 @@ const ce = ({
|
|
|
4110
4167
|
}
|
|
4111
4168
|
)
|
|
4112
4169
|
}
|
|
4113
|
-
),
|
|
4170
|
+
), tt = ({
|
|
4114
4171
|
className: i,
|
|
4115
|
-
color: e =
|
|
4172
|
+
color: e = k.GREY_DARK_5,
|
|
4116
4173
|
height: t = 24,
|
|
4117
4174
|
width: s = 24,
|
|
4118
4175
|
onClick: n
|
|
@@ -4169,9 +4226,9 @@ const ce = ({
|
|
|
4169
4226
|
)
|
|
4170
4227
|
]
|
|
4171
4228
|
}
|
|
4172
|
-
),
|
|
4229
|
+
), it = ({
|
|
4173
4230
|
className: i,
|
|
4174
|
-
color: e =
|
|
4231
|
+
color: e = k.GREY_DARK_5,
|
|
4175
4232
|
height: t = 24,
|
|
4176
4233
|
width: s = 24,
|
|
4177
4234
|
onClick: n
|
|
@@ -4206,9 +4263,9 @@ const ce = ({
|
|
|
4206
4263
|
)
|
|
4207
4264
|
]
|
|
4208
4265
|
}
|
|
4209
|
-
),
|
|
4266
|
+
), st = ({
|
|
4210
4267
|
className: i,
|
|
4211
|
-
color: e =
|
|
4268
|
+
color: e = k.GREY_DARK_3,
|
|
4212
4269
|
height: t = 14,
|
|
4213
4270
|
width: s = 14,
|
|
4214
4271
|
onClick: n
|
|
@@ -4243,9 +4300,9 @@ const ce = ({
|
|
|
4243
4300
|
)
|
|
4244
4301
|
]
|
|
4245
4302
|
}
|
|
4246
|
-
),
|
|
4303
|
+
), nt = ({
|
|
4247
4304
|
className: i,
|
|
4248
|
-
color: e =
|
|
4305
|
+
color: e = k.GREY_DARK_5,
|
|
4249
4306
|
height: t = 18,
|
|
4250
4307
|
onClick: s,
|
|
4251
4308
|
width: n = 18
|
|
@@ -4270,9 +4327,9 @@ const ce = ({
|
|
|
4270
4327
|
}
|
|
4271
4328
|
)
|
|
4272
4329
|
}
|
|
4273
|
-
),
|
|
4330
|
+
), rt = ({
|
|
4274
4331
|
className: i,
|
|
4275
|
-
color: e =
|
|
4332
|
+
color: e = k.GREY_DARK_5,
|
|
4276
4333
|
height: t = 24,
|
|
4277
4334
|
width: s = 24,
|
|
4278
4335
|
onClick: n
|
|
@@ -4322,9 +4379,9 @@ const ce = ({
|
|
|
4322
4379
|
)
|
|
4323
4380
|
]
|
|
4324
4381
|
}
|
|
4325
|
-
),
|
|
4382
|
+
), ot = ({
|
|
4326
4383
|
className: i,
|
|
4327
|
-
color: e =
|
|
4384
|
+
color: e = k.GREY_DARK_5,
|
|
4328
4385
|
height: t = 24,
|
|
4329
4386
|
width: s = 24,
|
|
4330
4387
|
onClick: n
|
|
@@ -4359,9 +4416,9 @@ const ce = ({
|
|
|
4359
4416
|
)
|
|
4360
4417
|
]
|
|
4361
4418
|
}
|
|
4362
|
-
),
|
|
4419
|
+
), at = ({
|
|
4363
4420
|
className: i,
|
|
4364
|
-
color: e =
|
|
4421
|
+
color: e = k.NOTIFICATION_WARNING_DARK,
|
|
4365
4422
|
height: t = 37,
|
|
4366
4423
|
width: s = 36,
|
|
4367
4424
|
onClick: n
|
|
@@ -4398,9 +4455,9 @@ const ce = ({
|
|
|
4398
4455
|
)
|
|
4399
4456
|
]
|
|
4400
4457
|
}
|
|
4401
|
-
),
|
|
4458
|
+
), lt = ({
|
|
4402
4459
|
className: i,
|
|
4403
|
-
color: e =
|
|
4460
|
+
color: e = k.GREY_DARK_5,
|
|
4404
4461
|
height: t = 24,
|
|
4405
4462
|
width: s = 24,
|
|
4406
4463
|
onClick: n
|
|
@@ -4424,9 +4481,9 @@ const ce = ({
|
|
|
4424
4481
|
}
|
|
4425
4482
|
)
|
|
4426
4483
|
}
|
|
4427
|
-
),
|
|
4484
|
+
), ht = ({
|
|
4428
4485
|
className: i,
|
|
4429
|
-
color: e =
|
|
4486
|
+
color: e = k.GREY_DARK_5,
|
|
4430
4487
|
height: t = 24,
|
|
4431
4488
|
width: s = 24,
|
|
4432
4489
|
onClick: n
|
|
@@ -4463,9 +4520,9 @@ const ce = ({
|
|
|
4463
4520
|
)
|
|
4464
4521
|
]
|
|
4465
4522
|
}
|
|
4466
|
-
),
|
|
4523
|
+
), ct = ({
|
|
4467
4524
|
className: i,
|
|
4468
|
-
color: e =
|
|
4525
|
+
color: e = k.GREY_DARK_5,
|
|
4469
4526
|
height: t = 20,
|
|
4470
4527
|
width: s = 20,
|
|
4471
4528
|
onClick: n
|
|
@@ -4496,9 +4553,9 @@ const ce = ({
|
|
|
4496
4553
|
)
|
|
4497
4554
|
]
|
|
4498
4555
|
}
|
|
4499
|
-
),
|
|
4556
|
+
), dt = ({
|
|
4500
4557
|
className: i,
|
|
4501
|
-
color: e =
|
|
4558
|
+
color: e = k.GREY_DARK_5,
|
|
4502
4559
|
height: t = 24,
|
|
4503
4560
|
width: s = 24,
|
|
4504
4561
|
onClick: n
|
|
@@ -4565,9 +4622,9 @@ const ce = ({
|
|
|
4565
4622
|
)
|
|
4566
4623
|
]
|
|
4567
4624
|
}
|
|
4568
|
-
),
|
|
4625
|
+
), Ct = ({
|
|
4569
4626
|
className: i,
|
|
4570
|
-
color: e =
|
|
4627
|
+
color: e = k.GREY_DARK_5,
|
|
4571
4628
|
height: t = 24,
|
|
4572
4629
|
width: s = 24,
|
|
4573
4630
|
onClick: n
|
|
@@ -4622,9 +4679,9 @@ const ce = ({
|
|
|
4622
4679
|
)
|
|
4623
4680
|
]
|
|
4624
4681
|
}
|
|
4625
|
-
),
|
|
4682
|
+
), gt = ({
|
|
4626
4683
|
className: i,
|
|
4627
|
-
color: e =
|
|
4684
|
+
color: e = k.GREY_DARK_5,
|
|
4628
4685
|
height: t = 24,
|
|
4629
4686
|
width: s = 24,
|
|
4630
4687
|
onClick: n
|
|
@@ -4671,9 +4728,9 @@ const ce = ({
|
|
|
4671
4728
|
)
|
|
4672
4729
|
]
|
|
4673
4730
|
}
|
|
4674
|
-
),
|
|
4731
|
+
), ut = ({
|
|
4675
4732
|
className: i,
|
|
4676
|
-
color: e =
|
|
4733
|
+
color: e = k.GREY_DARK_5,
|
|
4677
4734
|
height: t = 24,
|
|
4678
4735
|
width: s = 24,
|
|
4679
4736
|
onClick: n
|
|
@@ -4698,9 +4755,9 @@ const ce = ({
|
|
|
4698
4755
|
}
|
|
4699
4756
|
)
|
|
4700
4757
|
}
|
|
4701
|
-
),
|
|
4758
|
+
), ft = ({
|
|
4702
4759
|
className: i,
|
|
4703
|
-
color: e =
|
|
4760
|
+
color: e = k.GREY_DARK_5,
|
|
4704
4761
|
height: t = 20,
|
|
4705
4762
|
width: s = 20,
|
|
4706
4763
|
onClick: n
|
|
@@ -4715,7 +4772,7 @@ const ce = ({
|
|
|
4715
4772
|
fill: "none",
|
|
4716
4773
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4717
4774
|
children: [
|
|
4718
|
-
/* @__PURE__ */ r("rect", { width: "20", height: "20", rx: "4", fill:
|
|
4775
|
+
/* @__PURE__ */ r("rect", { width: "20", height: "20", rx: "4", fill: k.GREY_LIGHT_2 }),
|
|
4719
4776
|
/* @__PURE__ */ r(
|
|
4720
4777
|
"path",
|
|
4721
4778
|
{
|
|
@@ -4727,7 +4784,7 @@ const ce = ({
|
|
|
4727
4784
|
)
|
|
4728
4785
|
]
|
|
4729
4786
|
}
|
|
4730
|
-
),
|
|
4787
|
+
), pt = ({
|
|
4731
4788
|
className: i,
|
|
4732
4789
|
color: e = "#001E52",
|
|
4733
4790
|
height: t = 24,
|
|
@@ -4753,7 +4810,7 @@ const ce = ({
|
|
|
4753
4810
|
}
|
|
4754
4811
|
)
|
|
4755
4812
|
}
|
|
4756
|
-
),
|
|
4813
|
+
), mt = ({
|
|
4757
4814
|
className: i,
|
|
4758
4815
|
color: e = "#001E52",
|
|
4759
4816
|
height: t = 24,
|
|
@@ -4791,10 +4848,10 @@ const ce = ({
|
|
|
4791
4848
|
)
|
|
4792
4849
|
] }) })
|
|
4793
4850
|
}
|
|
4794
|
-
),
|
|
4851
|
+
), wt = ({
|
|
4795
4852
|
width: i = 20,
|
|
4796
4853
|
height: e = 20,
|
|
4797
|
-
color: t =
|
|
4854
|
+
color: t = k.GREY_DARK_5,
|
|
4798
4855
|
className: s,
|
|
4799
4856
|
onClick: n
|
|
4800
4857
|
}) => /* @__PURE__ */ r(
|
|
@@ -4815,7 +4872,7 @@ const ce = ({
|
|
|
4815
4872
|
}
|
|
4816
4873
|
)
|
|
4817
4874
|
}
|
|
4818
|
-
),
|
|
4875
|
+
), Lt = ({
|
|
4819
4876
|
width: i = 24,
|
|
4820
4877
|
height: e = 24,
|
|
4821
4878
|
color: t = "#131314",
|
|
@@ -4848,10 +4905,10 @@ const ce = ({
|
|
|
4848
4905
|
)
|
|
4849
4906
|
]
|
|
4850
4907
|
}
|
|
4851
|
-
),
|
|
4908
|
+
), kt = ({
|
|
4852
4909
|
width: i = 20,
|
|
4853
4910
|
height: e = 20,
|
|
4854
|
-
color: t =
|
|
4911
|
+
color: t = k.GREY_DARK_5,
|
|
4855
4912
|
className: s,
|
|
4856
4913
|
onClick: n
|
|
4857
4914
|
}) => /* @__PURE__ */ u(
|
|
@@ -4881,10 +4938,10 @@ const ce = ({
|
|
|
4881
4938
|
)
|
|
4882
4939
|
]
|
|
4883
4940
|
}
|
|
4884
|
-
),
|
|
4941
|
+
), vt = ({
|
|
4885
4942
|
width: i = 24,
|
|
4886
4943
|
height: e = 24,
|
|
4887
|
-
color: t =
|
|
4944
|
+
color: t = k.GREY_DARK_2,
|
|
4888
4945
|
className: s,
|
|
4889
4946
|
onClick: n
|
|
4890
4947
|
}) => /* @__PURE__ */ u(
|
|
@@ -4921,10 +4978,10 @@ const ce = ({
|
|
|
4921
4978
|
)
|
|
4922
4979
|
]
|
|
4923
4980
|
}
|
|
4924
|
-
),
|
|
4981
|
+
), Nt = ({
|
|
4925
4982
|
width: i = 24,
|
|
4926
4983
|
height: e = 24,
|
|
4927
|
-
color: t =
|
|
4984
|
+
color: t = k.GREY_DARK_2,
|
|
4928
4985
|
className: s,
|
|
4929
4986
|
onClick: n
|
|
4930
4987
|
}) => /* @__PURE__ */ r(
|
|
@@ -4948,10 +5005,10 @@ const ce = ({
|
|
|
4948
5005
|
}
|
|
4949
5006
|
)
|
|
4950
5007
|
}
|
|
4951
|
-
),
|
|
5008
|
+
), Rt = ({
|
|
4952
5009
|
width: i = 24,
|
|
4953
5010
|
height: e = 24,
|
|
4954
|
-
color: t =
|
|
5011
|
+
color: t = k.GREY_DARK_2,
|
|
4955
5012
|
className: s,
|
|
4956
5013
|
onClick: n
|
|
4957
5014
|
}) => /* @__PURE__ */ r(
|
|
@@ -4975,7 +5032,7 @@ const ce = ({
|
|
|
4975
5032
|
}
|
|
4976
5033
|
)
|
|
4977
5034
|
}
|
|
4978
|
-
),
|
|
5035
|
+
), xt = ({
|
|
4979
5036
|
name: i,
|
|
4980
5037
|
width: e,
|
|
4981
5038
|
height: t,
|
|
@@ -4984,7 +5041,7 @@ const ce = ({
|
|
|
4984
5041
|
disabled: o = !1,
|
|
4985
5042
|
onClick: c
|
|
4986
5043
|
}) => {
|
|
4987
|
-
const [a, C] =
|
|
5044
|
+
const [a, C] = I(n), { theme: d } = r1(h2), l = o ? d && d === "dark" ? k.GREY_LIGHT_4 : k.GREY_DARK_1 : s, h = o ? void 0 : c;
|
|
4988
5045
|
return S(() => {
|
|
4989
5046
|
if (n) {
|
|
4990
5047
|
h && !o && C(`${n} clickable`);
|
|
@@ -4994,35 +5051,35 @@ const ce = ({
|
|
|
4994
5051
|
}, [h, n, o]), /* @__PURE__ */ r(i1, { children: (() => {
|
|
4995
5052
|
switch (i) {
|
|
4996
5053
|
case "nextIcon":
|
|
4997
|
-
return
|
|
5054
|
+
return Ue({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4998
5055
|
case "prevIcon":
|
|
4999
|
-
return
|
|
5056
|
+
return ze({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5000
5057
|
case "arrowDown":
|
|
5001
|
-
return
|
|
5058
|
+
return ue({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5002
5059
|
case "info":
|
|
5003
|
-
return
|
|
5060
|
+
return fe({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5004
5061
|
case "arrowRight":
|
|
5005
|
-
return
|
|
5062
|
+
return pe({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5006
5063
|
case "calendar":
|
|
5007
|
-
return
|
|
5064
|
+
return ve({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5008
5065
|
case "check":
|
|
5009
|
-
return
|
|
5066
|
+
return Ne({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5010
5067
|
case "cancel":
|
|
5011
|
-
return
|
|
5068
|
+
return Re({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5012
5069
|
case "add":
|
|
5013
|
-
return
|
|
5070
|
+
return xe({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5014
5071
|
case "list":
|
|
5015
|
-
return
|
|
5072
|
+
return _e({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5016
5073
|
case "dragAndDrop":
|
|
5017
|
-
return
|
|
5074
|
+
return Me({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5018
5075
|
case "filter":
|
|
5019
|
-
return
|
|
5076
|
+
return be({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5020
5077
|
case "attention":
|
|
5021
|
-
return
|
|
5078
|
+
return ye({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5022
5079
|
case "users":
|
|
5023
|
-
return
|
|
5080
|
+
return He({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5024
5081
|
case "mySkillsMatrix":
|
|
5025
|
-
return
|
|
5082
|
+
return Ee({
|
|
5026
5083
|
width: e,
|
|
5027
5084
|
height: t,
|
|
5028
5085
|
color: l,
|
|
@@ -5030,9 +5087,9 @@ const ce = ({
|
|
|
5030
5087
|
onClick: h
|
|
5031
5088
|
});
|
|
5032
5089
|
case "skills":
|
|
5033
|
-
return
|
|
5090
|
+
return Ve({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5034
5091
|
case "skillsMatrices":
|
|
5035
|
-
return
|
|
5092
|
+
return Ie({
|
|
5036
5093
|
width: e,
|
|
5037
5094
|
height: t,
|
|
5038
5095
|
color: l,
|
|
@@ -5040,21 +5097,21 @@ const ce = ({
|
|
|
5040
5097
|
onClick: h
|
|
5041
5098
|
});
|
|
5042
5099
|
case "history":
|
|
5043
|
-
return
|
|
5100
|
+
return Ae({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5044
5101
|
case "logOut":
|
|
5045
|
-
return
|
|
5102
|
+
return Oe({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5046
5103
|
case "settings":
|
|
5047
|
-
return
|
|
5104
|
+
return Se({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5048
5105
|
case "trash":
|
|
5049
|
-
return
|
|
5106
|
+
return Ze({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5050
5107
|
case "settings2":
|
|
5051
|
-
return
|
|
5108
|
+
return De({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5052
5109
|
case "checkCircle":
|
|
5053
|
-
return
|
|
5110
|
+
return Ge({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5054
5111
|
case "cancelCircle":
|
|
5055
|
-
return
|
|
5112
|
+
return Te({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5056
5113
|
case "visibilityIcon":
|
|
5057
|
-
return
|
|
5114
|
+
return Ke({
|
|
5058
5115
|
width: e,
|
|
5059
5116
|
height: t,
|
|
5060
5117
|
color: l,
|
|
@@ -5062,7 +5119,7 @@ const ce = ({
|
|
|
5062
5119
|
onClick: h
|
|
5063
5120
|
});
|
|
5064
5121
|
case "visibilityOffIcon":
|
|
5065
|
-
return
|
|
5122
|
+
return Be({
|
|
5066
5123
|
width: e,
|
|
5067
5124
|
height: t,
|
|
5068
5125
|
color: l,
|
|
@@ -5070,7 +5127,7 @@ const ce = ({
|
|
|
5070
5127
|
onClick: h
|
|
5071
5128
|
});
|
|
5072
5129
|
case "selectArrowIcon":
|
|
5073
|
-
return
|
|
5130
|
+
return Pe({
|
|
5074
5131
|
width: e,
|
|
5075
5132
|
height: t,
|
|
5076
5133
|
color: l,
|
|
@@ -5078,7 +5135,7 @@ const ce = ({
|
|
|
5078
5135
|
onClick: h
|
|
5079
5136
|
});
|
|
5080
5137
|
case "expandArrowIcon":
|
|
5081
|
-
return
|
|
5138
|
+
return Ye({
|
|
5082
5139
|
width: e,
|
|
5083
5140
|
height: t,
|
|
5084
5141
|
color: l,
|
|
@@ -5086,7 +5143,7 @@ const ce = ({
|
|
|
5086
5143
|
onClick: h
|
|
5087
5144
|
});
|
|
5088
5145
|
case "expandActiveArrowIcon":
|
|
5089
|
-
return
|
|
5146
|
+
return je({
|
|
5090
5147
|
width: e,
|
|
5091
5148
|
height: t,
|
|
5092
5149
|
color: l,
|
|
@@ -5094,86 +5151,86 @@ const ce = ({
|
|
|
5094
5151
|
onClick: h
|
|
5095
5152
|
});
|
|
5096
5153
|
case "sortUp":
|
|
5097
|
-
return
|
|
5154
|
+
return $e({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5098
5155
|
case "sortDown":
|
|
5099
|
-
return
|
|
5156
|
+
return Fe({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5100
5157
|
case "search":
|
|
5101
|
-
return Ye({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5102
|
-
case "arrowUpFilled":
|
|
5103
5158
|
return We({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5159
|
+
case "arrowUpFilled":
|
|
5160
|
+
return qe({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5104
5161
|
case "arrowDownFilled":
|
|
5105
|
-
return
|
|
5162
|
+
return Je({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5106
5163
|
case "arrow2Up":
|
|
5107
|
-
return
|
|
5164
|
+
return me({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5108
5165
|
case "arrow2Right":
|
|
5109
|
-
return
|
|
5166
|
+
return we({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5110
5167
|
case "arrow2Down":
|
|
5111
|
-
return
|
|
5168
|
+
return Le({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5112
5169
|
case "arrow2Left":
|
|
5113
|
-
return
|
|
5170
|
+
return ke({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5114
5171
|
case "link":
|
|
5115
|
-
return
|
|
5172
|
+
return Qe({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5116
5173
|
case "telegram":
|
|
5117
|
-
return
|
|
5174
|
+
return et({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5118
5175
|
case "mail":
|
|
5119
|
-
return
|
|
5176
|
+
return it({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5120
5177
|
case "github":
|
|
5121
|
-
return
|
|
5178
|
+
return Xe({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5122
5179
|
case "linkedIn":
|
|
5123
|
-
return
|
|
5180
|
+
return tt({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5124
5181
|
case "emptyStateIcon":
|
|
5125
|
-
return
|
|
5182
|
+
return st({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5126
5183
|
case "filtersIcon":
|
|
5127
|
-
return
|
|
5184
|
+
return nt({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5128
5185
|
case "dotMenuIcon":
|
|
5129
|
-
return
|
|
5186
|
+
return rt({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5130
5187
|
case "plusCircle":
|
|
5131
|
-
return
|
|
5188
|
+
return ot({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5132
5189
|
case "warning":
|
|
5133
|
-
return
|
|
5190
|
+
return at({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5134
5191
|
case "back":
|
|
5135
|
-
return
|
|
5192
|
+
return lt({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5136
5193
|
case "bell":
|
|
5137
|
-
return
|
|
5194
|
+
return ht({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5138
5195
|
case "copy":
|
|
5139
|
-
return
|
|
5196
|
+
return ct({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5140
5197
|
case "contract":
|
|
5141
|
-
return
|
|
5198
|
+
return dt({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5142
5199
|
case "resourceManager":
|
|
5143
|
-
return
|
|
5200
|
+
return Ct({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5144
5201
|
case "image":
|
|
5145
|
-
return
|
|
5202
|
+
return gt({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5146
5203
|
case "edit":
|
|
5147
|
-
return
|
|
5204
|
+
return ut({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5148
5205
|
case "filledArrowRight":
|
|
5149
|
-
return
|
|
5206
|
+
return ft({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5150
5207
|
case "burgerMenu":
|
|
5151
|
-
return
|
|
5208
|
+
return pt({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5152
5209
|
case "refresh":
|
|
5153
|
-
return
|
|
5210
|
+
return mt({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5154
5211
|
case "projects":
|
|
5155
|
-
return
|
|
5212
|
+
return wt({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5156
5213
|
case "user":
|
|
5157
|
-
return
|
|
5214
|
+
return kt({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5158
5215
|
case "exit":
|
|
5159
|
-
return
|
|
5216
|
+
return Lt({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5160
5217
|
case "openPointCircle":
|
|
5161
|
-
return
|
|
5218
|
+
return vt({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5162
5219
|
case "community":
|
|
5163
|
-
return
|
|
5220
|
+
return Nt({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5164
5221
|
case "docs":
|
|
5165
|
-
return
|
|
5222
|
+
return Rt({ width: e, height: t, color: l, className: a, onClick: h });
|
|
5166
5223
|
default:
|
|
5167
5224
|
return /* @__PURE__ */ r(i1, { children: "No Icon provided" });
|
|
5168
5225
|
}
|
|
5169
5226
|
})() });
|
|
5170
5227
|
};
|
|
5171
|
-
var
|
|
5172
|
-
const
|
|
5228
|
+
var m1 = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", i.GREY_LIGHT_1 = "var(--grey-light-1)", i.GREY_LIGHT_2 = "var(--grey-light-2)", i.GREY_LIGHT_3 = "var(--grey-light-3)", i.GREY_LIGHT_4 = "var(--grey-light-4)", i.GREY_DARK_1 = "var(--grey-dark-1)", i.GREY_DARK_2 = "var(--grey-dark-2)", i.GREY_DARK_3 = "var(--grey-dark-3)", i.GREY_DARK_4 = "var(--grey-dark-4)", i.GREY_DARK_5 = "var(--grey-dark-5)", i.BLUE_PRIMARY = "var(--blue-primary)", i.BLUE_HOVER = "var(--blue-hover)", i.BLUE_LIGHT_1 = "var(--blue-light-1)", i.BLUE_LIGHT_2 = "var(--blue-light-2)", i.BLUE_LIGHT_3 = "var(--blue-light-3)", i.BLUE_LIGHT_4 = "var(--blue-light-4)", i.BLUE_DARK_1 = "var(--blue-dark-1)", i.BLUE_DARK_3 = "var(--blue-dark-3)", i.PURPLE_LIGHT = "var(--purple-light)", i.PURPLE_LIGHT_2 = "var(--purple-light-2)", i.PURPLE_DARK = "var(--purple-dark)", i.NOTIFICATION_WARNING_LIGHT = "var(--notification-warning-light)", i.NOTIFICATION_WARNING_DARK = "var(--notification-warning-dark)", i.NOTIFICATION_SUCCESS_LIGHT = "var(--notification-success-light)", i.NOTIFICATION_SUCCESS_DARK = "var(--notification-success-dark)", i.NOTIFICATION_ERROR_LIGHT = "var(--notification-error-light)", i.NOTIFICATION_ERROR_DARK = "var(--notification-error-dark)", i.NOTIFICATION_ERROR_DARK_MODE = "var(--notification-error-dark-mode)", i.CYAN_LIGHT = "var(--cyan-light)", i.GOLD_LIGHT = "var(--gold-light)", i))(m1 || {});
|
|
5229
|
+
const _t = C1({
|
|
5173
5230
|
locale: "en",
|
|
5174
5231
|
theme: "light"
|
|
5175
5232
|
});
|
|
5176
|
-
|
|
5233
|
+
_t.Provider;
|
|
5177
5234
|
const c2 = ({
|
|
5178
5235
|
children: i,
|
|
5179
5236
|
width: e,
|
|
@@ -5190,10 +5247,10 @@ const c2 = ({
|
|
|
5190
5247
|
{
|
|
5191
5248
|
className: `snmt-tag ${t} ${o ? "disabled" : ""}`,
|
|
5192
5249
|
closeIcon: /* @__PURE__ */ r(
|
|
5193
|
-
|
|
5250
|
+
xt,
|
|
5194
5251
|
{
|
|
5195
5252
|
name: "cancelCircle",
|
|
5196
|
-
color: o ?
|
|
5253
|
+
color: o ? m1.GREY_DARK_1 : m1.GREY_DARK_2,
|
|
5197
5254
|
width: c,
|
|
5198
5255
|
height: c,
|
|
5199
5256
|
onClick: a
|
|
@@ -5203,21 +5260,21 @@ const c2 = ({
|
|
|
5203
5260
|
style: { width: e ?? "fit-content" },
|
|
5204
5261
|
closable: n,
|
|
5205
5262
|
children: typeof i == "string" ? /* @__PURE__ */ r(
|
|
5206
|
-
|
|
5263
|
+
ge,
|
|
5207
5264
|
{
|
|
5208
5265
|
variant: t === "small" ? "body4" : "body2",
|
|
5209
|
-
color: o ?
|
|
5266
|
+
color: o ? m1.GREY_DARK_2 : m1.GREY_DARK_5,
|
|
5210
5267
|
children: i
|
|
5211
5268
|
}
|
|
5212
5269
|
) : i
|
|
5213
5270
|
}
|
|
5214
5271
|
);
|
|
5215
|
-
}, { Title:
|
|
5272
|
+
}, { Title: Mt, Text: bt } = D1, yt = {
|
|
5216
5273
|
h1: 1,
|
|
5217
5274
|
h2: 2,
|
|
5218
5275
|
h3: 3,
|
|
5219
5276
|
h4: 4
|
|
5220
|
-
},
|
|
5277
|
+
}, Ht = d1(
|
|
5221
5278
|
({
|
|
5222
5279
|
align: i = "inherit",
|
|
5223
5280
|
variant: e = "body1",
|
|
@@ -5229,25 +5286,25 @@ const c2 = ({
|
|
|
5229
5286
|
/** This prop allows you to enable tooltip if text size is too big */
|
|
5230
5287
|
trim: a = !1
|
|
5231
5288
|
}, C) => {
|
|
5232
|
-
const d =
|
|
5233
|
-
|
|
5234
|
-
const [l, h] =
|
|
5289
|
+
const d = $(null);
|
|
5290
|
+
k1(C, () => d.current);
|
|
5291
|
+
const [l, h] = I(!1);
|
|
5235
5292
|
S(() => {
|
|
5236
|
-
var
|
|
5293
|
+
var v;
|
|
5237
5294
|
if (!a) return;
|
|
5238
5295
|
const m = () => {
|
|
5239
5296
|
d.current && h(d.current.scrollWidth > d.current.clientWidth);
|
|
5240
5297
|
};
|
|
5241
5298
|
m();
|
|
5242
|
-
const
|
|
5243
|
-
return d.current &&
|
|
5244
|
-
|
|
5299
|
+
const b = new ResizeObserver(m);
|
|
5300
|
+
return d.current && b.observe(d.current), (v = d.current) != null && v.parentElement && b.observe(d.current.parentElement), () => {
|
|
5301
|
+
b.disconnect();
|
|
5245
5302
|
};
|
|
5246
5303
|
}, [a]);
|
|
5247
5304
|
const g = e === "h1" || e === "h2" || e === "h3" || e === "h4";
|
|
5248
5305
|
let f = `snmt-typography snmt-typography-${e}`;
|
|
5249
5306
|
i && i !== "inherit" && (f += ` snmt-typography-align-${i}`), o && (f += " collapsed");
|
|
5250
|
-
const
|
|
5307
|
+
const w = {
|
|
5251
5308
|
className: f,
|
|
5252
5309
|
style: { color: t, whiteSpace: a ? "nowrap" : c, display: a ? "block" : "" },
|
|
5253
5310
|
onClick: n,
|
|
@@ -5259,9 +5316,9 @@ const c2 = ({
|
|
|
5259
5316
|
}
|
|
5260
5317
|
} : void 0
|
|
5261
5318
|
};
|
|
5262
|
-
return g ? /* @__PURE__ */ r(
|
|
5319
|
+
return g ? /* @__PURE__ */ r(Mt, { level: yt[e], ...w, children: s }) : /* @__PURE__ */ r(bt, { ...w, children: s });
|
|
5263
5320
|
}
|
|
5264
|
-
),
|
|
5321
|
+
), Et = ({
|
|
5265
5322
|
children: i,
|
|
5266
5323
|
content: e,
|
|
5267
5324
|
isOpen: t,
|
|
@@ -5270,7 +5327,7 @@ const c2 = ({
|
|
|
5270
5327
|
noPadding: o = !1,
|
|
5271
5328
|
trigger: c = "click"
|
|
5272
5329
|
}) => {
|
|
5273
|
-
const [a, C] =
|
|
5330
|
+
const [a, C] = I(!1);
|
|
5274
5331
|
return /* @__PURE__ */ r(
|
|
5275
5332
|
M2,
|
|
5276
5333
|
{
|
|
@@ -5287,7 +5344,7 @@ const c2 = ({
|
|
|
5287
5344
|
}
|
|
5288
5345
|
);
|
|
5289
5346
|
};
|
|
5290
|
-
var
|
|
5347
|
+
var Vt = { exports: {} };
|
|
5291
5348
|
(function(i, e) {
|
|
5292
5349
|
(function(t, s) {
|
|
5293
5350
|
i.exports = s();
|
|
@@ -5297,8 +5354,8 @@ var bt = { exports: {} };
|
|
|
5297
5354
|
return "[" + t + (s[(n - 20) % 10] || s[n] || s[0]) + "]";
|
|
5298
5355
|
} };
|
|
5299
5356
|
});
|
|
5300
|
-
})(
|
|
5301
|
-
const
|
|
5357
|
+
})(Vt);
|
|
5358
|
+
const It = ({
|
|
5302
5359
|
values: i,
|
|
5303
5360
|
onTagClose: e,
|
|
5304
5361
|
maxWidth: t,
|
|
@@ -5307,21 +5364,21 @@ const yt = ({
|
|
|
5307
5364
|
options: o,
|
|
5308
5365
|
extraOptions: c
|
|
5309
5366
|
}) => {
|
|
5310
|
-
const { locale: a } = r1(
|
|
5367
|
+
const { locale: a } = r1(G1), { t: C } = W2("common", { lng: a }), [d, l] = I(!1);
|
|
5311
5368
|
if (S(() => {
|
|
5312
5369
|
i.length || l(!1);
|
|
5313
5370
|
}, [i]), !i.length)
|
|
5314
5371
|
return null;
|
|
5315
5372
|
const h = (g) => {
|
|
5316
|
-
var f,
|
|
5317
|
-
return ((f = o == null ? void 0 : o.find((
|
|
5373
|
+
var f, w;
|
|
5374
|
+
return ((f = o == null ? void 0 : o.find((v) => v.value === g)) == null ? void 0 : f.label) || ((w = c == null ? void 0 : c.find((v) => v.value === g)) == null ? void 0 : w.label) || g;
|
|
5318
5375
|
};
|
|
5319
5376
|
return /* @__PURE__ */ u(
|
|
5320
|
-
|
|
5377
|
+
Et,
|
|
5321
5378
|
{
|
|
5322
5379
|
content: (
|
|
5323
5380
|
// 90: paddings + margins + gaps and so on
|
|
5324
|
-
/* @__PURE__ */ r("div", { style: { maxWidth: t - 90 }, className: "snmt-popover-from-select", children: /* @__PURE__ */ r(
|
|
5381
|
+
/* @__PURE__ */ r("div", { style: { maxWidth: t - 90 }, className: "snmt-popover-from-select", children: /* @__PURE__ */ r(p1, { gap: 6, flexWrap: "wrap", children: i.map(({ value: g }) => /* @__PURE__ */ r(
|
|
5325
5382
|
c2,
|
|
5326
5383
|
{
|
|
5327
5384
|
onClose: () => e(g),
|
|
@@ -5342,19 +5399,19 @@ const yt = ({
|
|
|
5342
5399
|
]
|
|
5343
5400
|
}
|
|
5344
5401
|
);
|
|
5345
|
-
},
|
|
5402
|
+
}, At = {
|
|
5346
5403
|
small: 20,
|
|
5347
5404
|
medium: 28,
|
|
5348
5405
|
large: 48
|
|
5349
|
-
},
|
|
5350
|
-
const t =
|
|
5406
|
+
}, Y1 = ({ size: i = "medium", color: e = "#004ed7" }) => {
|
|
5407
|
+
const t = At[i], s = `no-repeat linear-gradient(${e}
|
|
5351
5408
|
calc(50% - 10px), #0000 0 calc(50% + 10px), ${e} 0)`, n = {
|
|
5352
5409
|
width: t,
|
|
5353
5410
|
background: `${s} 0% 100%, ${s} 50% 100%, ${s} 100% 100%`,
|
|
5354
5411
|
backgroundSize: "20% calc(200% + 20px)"
|
|
5355
5412
|
};
|
|
5356
5413
|
return /* @__PURE__ */ r("span", { className: "snmt-loader", style: n });
|
|
5357
|
-
},
|
|
5414
|
+
}, j1 = d1(
|
|
5358
5415
|
({
|
|
5359
5416
|
value: i,
|
|
5360
5417
|
onChange: e,
|
|
@@ -5370,16 +5427,16 @@ const yt = ({
|
|
|
5370
5427
|
onSearchChange: h,
|
|
5371
5428
|
onDropdownVisibleChange: g,
|
|
5372
5429
|
onScrollToEnd: f,
|
|
5373
|
-
onPopupScroll:
|
|
5374
|
-
id:
|
|
5430
|
+
onPopupScroll: w,
|
|
5431
|
+
id: v,
|
|
5375
5432
|
extraOptions: m,
|
|
5376
|
-
dropdownRender:
|
|
5377
|
-
optionRender:
|
|
5433
|
+
dropdownRender: b,
|
|
5434
|
+
optionRender: y,
|
|
5378
5435
|
isLoading: E,
|
|
5379
5436
|
readOnly: p,
|
|
5380
|
-
error:
|
|
5437
|
+
error: N
|
|
5381
5438
|
}, _) => {
|
|
5382
|
-
const [
|
|
5439
|
+
const [R, V] = I(!1), [D, T] = I(!1), [P, Q] = I(!0), [A, Y] = I(i), z = $(null);
|
|
5383
5440
|
S(() => {
|
|
5384
5441
|
Y(i);
|
|
5385
5442
|
}, [i]);
|
|
@@ -5390,7 +5447,7 @@ const yt = ({
|
|
|
5390
5447
|
return !!((Z = H == null ? void 0 : H.label) != null && Z.toString().toLowerCase().includes(x.toLowerCase()));
|
|
5391
5448
|
}, G = () => {
|
|
5392
5449
|
T(!0);
|
|
5393
|
-
},
|
|
5450
|
+
}, F = () => {
|
|
5394
5451
|
T(!1);
|
|
5395
5452
|
}, j = K(
|
|
5396
5453
|
(x) => {
|
|
@@ -5413,22 +5470,22 @@ const yt = ({
|
|
|
5413
5470
|
}
|
|
5414
5471
|
}, [a, j, s, p]), t1 = K(
|
|
5415
5472
|
(x) => {
|
|
5416
|
-
const H =
|
|
5473
|
+
const H = A.filter((Z) => Z !== x);
|
|
5417
5474
|
j(H), Y(H);
|
|
5418
5475
|
},
|
|
5419
|
-
[j,
|
|
5420
|
-
),
|
|
5421
|
-
(x) => (
|
|
5476
|
+
[j, A]
|
|
5477
|
+
), g1 = K(
|
|
5478
|
+
(x) => (A == null ? void 0 : A.indexOf(x)) === 0 ? (
|
|
5422
5479
|
// if the search input is empty
|
|
5423
5480
|
// then display the placeholder, else do not display it
|
|
5424
5481
|
/* @__PURE__ */ r("span", { className: "custom-placeholder", children: P ? t : "" })
|
|
5425
5482
|
) : /* @__PURE__ */ r(i1, {}),
|
|
5426
|
-
[P,
|
|
5427
|
-
),
|
|
5483
|
+
[P, A, t]
|
|
5484
|
+
), v1 = (x) => {
|
|
5428
5485
|
x.preventDefault(), x.stopPropagation();
|
|
5429
|
-
},
|
|
5486
|
+
}, N1 = async (x) => {
|
|
5430
5487
|
const { target: H } = x;
|
|
5431
|
-
H.scrollTop + H.offsetHeight >= H.scrollHeight - l && (f == null || f(!0)),
|
|
5488
|
+
H.scrollTop + H.offsetHeight >= H.scrollHeight - l && (f == null || f(!0)), w && await w(x);
|
|
5432
5489
|
}, o1 = K(
|
|
5433
5490
|
(x) => {
|
|
5434
5491
|
var H, Z;
|
|
@@ -5437,15 +5494,15 @@ const yt = ({
|
|
|
5437
5494
|
)) == null ? void 0 : Z.label) || x;
|
|
5438
5495
|
},
|
|
5439
5496
|
[m, o]
|
|
5440
|
-
),
|
|
5497
|
+
), R1 = K(
|
|
5441
5498
|
(x) => {
|
|
5442
5499
|
var H;
|
|
5443
5500
|
return /* @__PURE__ */ r(
|
|
5444
|
-
|
|
5501
|
+
It,
|
|
5445
5502
|
{
|
|
5446
5503
|
values: x,
|
|
5447
5504
|
onTagClose: t1,
|
|
5448
|
-
maxWidth: ((H =
|
|
5505
|
+
maxWidth: ((H = z.current) == null ? void 0 : H.clientWidth) || 0,
|
|
5449
5506
|
disabled: a,
|
|
5450
5507
|
closable: !p,
|
|
5451
5508
|
options: o,
|
|
@@ -5454,17 +5511,17 @@ const yt = ({
|
|
|
5454
5511
|
);
|
|
5455
5512
|
},
|
|
5456
5513
|
[a, m, t1, o, p]
|
|
5457
|
-
),
|
|
5458
|
-
({ label: x, value: H, mode: Z }) => Z === "filter" ?
|
|
5459
|
-
[a, o1, t1,
|
|
5460
|
-
),
|
|
5514
|
+
), O = K(
|
|
5515
|
+
({ label: x, value: H, mode: Z }) => Z === "filter" ? g1(H) : /* @__PURE__ */ r("div", { onMouseDown: v1, className: "tag-wrapper", children: /* @__PURE__ */ r(c2, { onClose: () => t1(H), disabled: a, children: typeof x == "object" ? x : o1(H) }) }),
|
|
5516
|
+
[a, o1, t1, g1]
|
|
5517
|
+
), W = Array.isArray(A) && A.length > 0 || !!A && typeof A == "string" && A.trim() !== "";
|
|
5461
5518
|
return /* @__PURE__ */ u("div", { className: "snmt-select-container", children: [
|
|
5462
5519
|
/* @__PURE__ */ u(
|
|
5463
5520
|
"div",
|
|
5464
5521
|
{
|
|
5465
5522
|
className: `snmt-select-1-15-6 ${D ? "snmt-select-focused" : ""}
|
|
5466
5523
|
${s ? "" : "snmt-select-single"} ${p ? "snmt-select-read-only" : ""}`,
|
|
5467
|
-
ref:
|
|
5524
|
+
ref: z,
|
|
5468
5525
|
style: { width: c },
|
|
5469
5526
|
children: [
|
|
5470
5527
|
/* @__PURE__ */ r(
|
|
@@ -5472,33 +5529,33 @@ const yt = ({
|
|
|
5472
5529
|
{
|
|
5473
5530
|
className: "snmt-select-blank",
|
|
5474
5531
|
popupClassName: p ? "dropdown-read-only" : "",
|
|
5475
|
-
id:
|
|
5532
|
+
id: v,
|
|
5476
5533
|
ref: _,
|
|
5477
5534
|
showSearch: !!n,
|
|
5478
5535
|
filterOption: n && X,
|
|
5479
5536
|
onDropdownVisibleChange: q,
|
|
5480
5537
|
disabled: a,
|
|
5481
|
-
value:
|
|
5538
|
+
value: A || void 0,
|
|
5482
5539
|
labelRender: (x) => {
|
|
5483
5540
|
const H = o1(x.value);
|
|
5484
|
-
return a ? /* @__PURE__ */ r("span", { style: { color:
|
|
5541
|
+
return a ? /* @__PURE__ */ r("span", { style: { color: U.GREY_DARK_1 }, children: H }) : H;
|
|
5485
5542
|
},
|
|
5486
5543
|
mode: s === "filter" ? "multiple" : s,
|
|
5487
5544
|
onChange: j,
|
|
5488
5545
|
onFocus: G,
|
|
5489
|
-
onBlur:
|
|
5546
|
+
onBlur: F,
|
|
5490
5547
|
onSearch: (x) => {
|
|
5491
5548
|
Q(!x), h && h(x);
|
|
5492
5549
|
},
|
|
5493
5550
|
onSelect: () => Q(!0),
|
|
5494
5551
|
onDeselect: () => Q(!0),
|
|
5495
|
-
tagRender: (x) =>
|
|
5552
|
+
tagRender: (x) => O({ ...x, mode: s }),
|
|
5496
5553
|
maxTagCount: "responsive",
|
|
5497
|
-
maxTagPlaceholder:
|
|
5498
|
-
onPopupScroll:
|
|
5499
|
-
prefix: E && /* @__PURE__ */ r(
|
|
5554
|
+
maxTagPlaceholder: R1,
|
|
5555
|
+
onPopupScroll: N1,
|
|
5556
|
+
prefix: E && /* @__PURE__ */ r(Y1, { size: "small" }),
|
|
5500
5557
|
suffixIcon: /* @__PURE__ */ r("div", { className: "wrapper-suffix-icon", children: s !== "filter" && /* @__PURE__ */ u(i1, { children: [
|
|
5501
|
-
|
|
5558
|
+
A && !!A.length && (s || d) && /* @__PURE__ */ r(
|
|
5502
5559
|
"div",
|
|
5503
5560
|
{
|
|
5504
5561
|
onClick: e1,
|
|
@@ -5506,44 +5563,44 @@ const yt = ({
|
|
|
5506
5563
|
cursor: a ? "not-allowed" : "pointer"
|
|
5507
5564
|
},
|
|
5508
5565
|
children: /* @__PURE__ */ r(
|
|
5509
|
-
|
|
5566
|
+
u1,
|
|
5510
5567
|
{
|
|
5511
5568
|
name: "cancel",
|
|
5512
|
-
color: a ?
|
|
5569
|
+
color: a ? U.GREY_DARK_1 : U.GREY_DARK_2
|
|
5513
5570
|
}
|
|
5514
5571
|
)
|
|
5515
5572
|
}
|
|
5516
5573
|
),
|
|
5517
5574
|
/* @__PURE__ */ r(
|
|
5518
|
-
|
|
5575
|
+
u1,
|
|
5519
5576
|
{
|
|
5520
5577
|
name: "selectArrowIcon",
|
|
5521
|
-
color: a ?
|
|
5522
|
-
className:
|
|
5523
|
-
onClick: () => V(!
|
|
5578
|
+
color: a ? U.GREY_DARK_1 : U.GREY_DARK_5,
|
|
5579
|
+
className: R ? "select-arrow-rotated" : "select-arrow",
|
|
5580
|
+
onClick: () => V(!R)
|
|
5524
5581
|
}
|
|
5525
5582
|
)
|
|
5526
5583
|
] }) }),
|
|
5527
|
-
removeIcon: /* @__PURE__ */ r(
|
|
5584
|
+
removeIcon: /* @__PURE__ */ r(u1, { name: "cancelCircle", color: U.GREY_DARK_1 }),
|
|
5528
5585
|
options: o,
|
|
5529
|
-
optionRender: (x) =>
|
|
5530
|
-
/* @__PURE__ */ u(
|
|
5586
|
+
optionRender: (x) => y ? y(x.data) : /* @__PURE__ */ u(p1, { justifyContent: "space-between", alignItems: "center", flex: "1", children: [
|
|
5587
|
+
/* @__PURE__ */ u(p1, { alignItems: "center", gap: 12, children: [
|
|
5531
5588
|
s && /* @__PURE__ */ r(
|
|
5532
|
-
|
|
5589
|
+
X2,
|
|
5533
5590
|
{
|
|
5534
|
-
checked: !!(
|
|
5591
|
+
checked: !!(A != null && A.includes(x.value))
|
|
5535
5592
|
}
|
|
5536
5593
|
),
|
|
5537
|
-
/* @__PURE__ */ u(
|
|
5594
|
+
/* @__PURE__ */ u(p1, { alignItems: "center", gap: 8, children: [
|
|
5538
5595
|
x.data.image && /* @__PURE__ */ r(U2, { src: x.data.image, size: 20 }),
|
|
5539
5596
|
/* @__PURE__ */ r("span", { children: x.label })
|
|
5540
5597
|
] })
|
|
5541
5598
|
] }),
|
|
5542
|
-
!s &&
|
|
5599
|
+
!s && A === x.value && /* @__PURE__ */ r(u1, { name: "check", color: U.BLUE_DARK_1 })
|
|
5543
5600
|
] }),
|
|
5544
5601
|
dropdownRender: (x) => /* @__PURE__ */ u("div", { className: "dropdown-container", children: [
|
|
5545
|
-
/* @__PURE__ */ r("div", { className: "dropdown-menu", children:
|
|
5546
|
-
E && /* @__PURE__ */ r("div", { className: "loading-overlay", children: /* @__PURE__ */ r(
|
|
5602
|
+
/* @__PURE__ */ r("div", { className: "dropdown-menu", children: b ? b(x) : x }),
|
|
5603
|
+
E && /* @__PURE__ */ r("div", { className: "loading-overlay", children: /* @__PURE__ */ r(Y1, {}) })
|
|
5547
5604
|
] })
|
|
5548
5605
|
}
|
|
5549
5606
|
),
|
|
@@ -5551,14 +5608,14 @@ const yt = ({
|
|
|
5551
5608
|
/* @__PURE__ */ r(
|
|
5552
5609
|
"label",
|
|
5553
5610
|
{
|
|
5554
|
-
className: `${D ||
|
|
5611
|
+
className: `${D || W ? "label-floating" : ""} ${a ? "label-disabled" : ""} ${D ? "label-focused" : ""} ${E ? "label-loading" : ""} ${N ? "label-error" : ""}`,
|
|
5555
5612
|
children: C ? `${t}*` : t
|
|
5556
5613
|
}
|
|
5557
5614
|
),
|
|
5558
5615
|
/* @__PURE__ */ r(
|
|
5559
5616
|
"fieldset",
|
|
5560
5617
|
{
|
|
5561
|
-
className: `${D ? "fieldset-focused" : ""} ${a ? "fieldset-disabled" : ""} ${
|
|
5618
|
+
className: `${D ? "fieldset-focused" : ""} ${a ? "fieldset-disabled" : ""} ${W ? "fieldset-filled" : ""} ${N ? "fieldset-error" : ""}`,
|
|
5562
5619
|
children: /* @__PURE__ */ r("legend", { children: /* @__PURE__ */ r("span", { children: C ? `${t}*` : t }) })
|
|
5563
5620
|
}
|
|
5564
5621
|
)
|
|
@@ -5566,23 +5623,23 @@ const yt = ({
|
|
|
5566
5623
|
]
|
|
5567
5624
|
}
|
|
5568
5625
|
),
|
|
5569
|
-
|
|
5626
|
+
N && /* @__PURE__ */ u(p1, { justifyContent: "flex-start", gap: 6, children: [
|
|
5570
5627
|
/* @__PURE__ */ r(
|
|
5571
|
-
|
|
5628
|
+
u1,
|
|
5572
5629
|
{
|
|
5573
5630
|
name: "attention",
|
|
5574
|
-
color:
|
|
5631
|
+
color: U.NOTIFICATION_ERROR_DARK,
|
|
5575
5632
|
height: 16,
|
|
5576
5633
|
width: 16
|
|
5577
5634
|
}
|
|
5578
5635
|
),
|
|
5579
|
-
typeof
|
|
5636
|
+
typeof N == "string" ? /* @__PURE__ */ r(Ht, { color: U.NOTIFICATION_ERROR_DARK, variant: "body4", children: N }) : N
|
|
5580
5637
|
] })
|
|
5581
5638
|
] });
|
|
5582
5639
|
}
|
|
5583
5640
|
);
|
|
5584
|
-
function
|
|
5585
|
-
const t =
|
|
5641
|
+
function Ot(i, e = 500) {
|
|
5642
|
+
const t = $();
|
|
5586
5643
|
return S(() => () => {
|
|
5587
5644
|
t.current && clearTimeout(t.current);
|
|
5588
5645
|
}, []), (...s) => {
|
|
@@ -5592,15 +5649,15 @@ function Et(i, e = 500) {
|
|
|
5592
5649
|
clearTimeout(t.current), t.current = n;
|
|
5593
5650
|
};
|
|
5594
5651
|
}
|
|
5595
|
-
function
|
|
5596
|
-
const e =
|
|
5652
|
+
function $1(i) {
|
|
5653
|
+
const e = $(i);
|
|
5597
5654
|
return S(() => {
|
|
5598
5655
|
e.current = i;
|
|
5599
5656
|
}, [i]), e.current;
|
|
5600
5657
|
}
|
|
5601
5658
|
const E1 = 100, l1 = {
|
|
5602
5659
|
offset: 0
|
|
5603
|
-
},
|
|
5660
|
+
}, St = d1(
|
|
5604
5661
|
({
|
|
5605
5662
|
loadOptions: i,
|
|
5606
5663
|
width: e,
|
|
@@ -5616,30 +5673,30 @@ const E1 = 100, l1 = {
|
|
|
5616
5673
|
extraOptions: h,
|
|
5617
5674
|
onDropdownVisibleChange: g,
|
|
5618
5675
|
optionRender: f,
|
|
5619
|
-
dropdownRender:
|
|
5620
|
-
readOnly:
|
|
5676
|
+
dropdownRender: w,
|
|
5677
|
+
readOnly: v,
|
|
5621
5678
|
clearable: m = !1,
|
|
5622
|
-
required:
|
|
5623
|
-
error:
|
|
5679
|
+
required: b = !1,
|
|
5680
|
+
error: y
|
|
5624
5681
|
}, E) => {
|
|
5625
|
-
const [p,
|
|
5682
|
+
const [p, N] = I(), [_, R] = I(l1), [V, D] = I(!1), [T, P] = I(), [Q, A] = I(!1), [Y, z] = I(
|
|
5626
5683
|
h ?? []
|
|
5627
|
-
), q =
|
|
5684
|
+
), q = $1(_.offset), X = $1(T), [G, F] = I(!1), j = $(!1), e1 = K(
|
|
5628
5685
|
async ({
|
|
5629
|
-
limit:
|
|
5630
|
-
offset:
|
|
5686
|
+
limit: O = E1,
|
|
5687
|
+
offset: W,
|
|
5631
5688
|
search: x
|
|
5632
5689
|
}) => {
|
|
5633
5690
|
D(!0);
|
|
5634
5691
|
try {
|
|
5635
5692
|
const H = await i({
|
|
5636
|
-
limit:
|
|
5637
|
-
offset:
|
|
5693
|
+
limit: O,
|
|
5694
|
+
offset: W,
|
|
5638
5695
|
search: x
|
|
5639
5696
|
});
|
|
5640
|
-
|
|
5641
|
-
(Z) =>
|
|
5642
|
-
),
|
|
5697
|
+
N(
|
|
5698
|
+
(Z) => W === 0 ? H.options : [...Z ?? [], ...H.options]
|
|
5699
|
+
), R((Z) => ({
|
|
5643
5700
|
...Z,
|
|
5644
5701
|
count: H.count
|
|
5645
5702
|
}));
|
|
@@ -5650,46 +5707,46 @@ const E1 = 100, l1 = {
|
|
|
5650
5707
|
}
|
|
5651
5708
|
},
|
|
5652
5709
|
[i]
|
|
5653
|
-
), t1 =
|
|
5654
|
-
P(
|
|
5655
|
-
}),
|
|
5656
|
-
(
|
|
5710
|
+
), t1 = Ot((O) => {
|
|
5711
|
+
P(O), O || R(l1);
|
|
5712
|
+
}), g1 = K(
|
|
5713
|
+
(O) => t1(O),
|
|
5657
5714
|
[t1]
|
|
5658
|
-
),
|
|
5659
|
-
async (
|
|
5660
|
-
V ||
|
|
5661
|
-
...
|
|
5662
|
-
offset:
|
|
5715
|
+
), v1 = K(
|
|
5716
|
+
async (O) => {
|
|
5717
|
+
V || O && _.count && _.count > ((p == null ? void 0 : p.length) ?? 0) && R((W) => ({
|
|
5718
|
+
...W,
|
|
5719
|
+
offset: W.offset + E1
|
|
5663
5720
|
}));
|
|
5664
5721
|
},
|
|
5665
5722
|
[V, p == null ? void 0 : p.length, _.count]
|
|
5666
|
-
),
|
|
5667
|
-
(
|
|
5668
|
-
|
|
5723
|
+
), N1 = K(
|
|
5724
|
+
(O) => {
|
|
5725
|
+
A(O), !O && T && (P(void 0), R(l1), F(!0)), g == null || g(O);
|
|
5669
5726
|
},
|
|
5670
5727
|
[g, T]
|
|
5671
5728
|
);
|
|
5672
5729
|
S(() => {
|
|
5673
|
-
!j.current || V || (G || Q && (q !== _.offset || X !== T || !p)) && (e1({ offset: _.offset, limit: E1, search: T }), G &&
|
|
5730
|
+
!j.current || V || (G || Q && (q !== _.offset || X !== T || !p)) && (e1({ offset: _.offset, limit: E1, search: T }), G && F(!1));
|
|
5674
5731
|
}, [G, Q, _.offset, T, q, X, p, V]), S(() => {
|
|
5675
5732
|
(d || l) && e1(l1), j.current = !0;
|
|
5676
5733
|
}, []), S(() => {
|
|
5677
|
-
h &&
|
|
5678
|
-
const
|
|
5679
|
-
(x) => !
|
|
5734
|
+
h && z((O) => {
|
|
5735
|
+
const W = h.filter(
|
|
5736
|
+
(x) => !O.some((H) => H.value === x.value)
|
|
5680
5737
|
);
|
|
5681
|
-
return [...
|
|
5738
|
+
return [...O, ...W];
|
|
5682
5739
|
});
|
|
5683
5740
|
}, [h]);
|
|
5684
5741
|
const o1 = K(
|
|
5685
|
-
(
|
|
5686
|
-
t && t(
|
|
5687
|
-
let
|
|
5688
|
-
if (C ?
|
|
5689
|
-
const x =
|
|
5742
|
+
(O) => {
|
|
5743
|
+
t && t(O);
|
|
5744
|
+
let W = [];
|
|
5745
|
+
if (C ? W = Array.isArray(O) ? O : [] : W = O ? [O] : [], T) {
|
|
5746
|
+
const x = W.filter(
|
|
5690
5747
|
(H) => !(Y != null && Y.some((Z) => Z.value === H))
|
|
5691
5748
|
);
|
|
5692
|
-
x.length > 0 &&
|
|
5749
|
+
x.length > 0 && z((H = []) => [
|
|
5693
5750
|
...H,
|
|
5694
5751
|
...x.map((Z) => {
|
|
5695
5752
|
const a1 = p == null ? void 0 : p.find((p2) => p2.value === Z);
|
|
@@ -5698,11 +5755,11 @@ const E1 = 100, l1 = {
|
|
|
5698
5755
|
label: (a1 == null ? void 0 : a1.label) ?? Z
|
|
5699
5756
|
};
|
|
5700
5757
|
})
|
|
5701
|
-
]), P(void 0),
|
|
5758
|
+
]), P(void 0), R(l1), F(!0);
|
|
5702
5759
|
}
|
|
5703
5760
|
},
|
|
5704
5761
|
[t, T, C, p, Y]
|
|
5705
|
-
),
|
|
5762
|
+
), R1 = k2(
|
|
5706
5763
|
() => ({
|
|
5707
5764
|
id: n,
|
|
5708
5765
|
width: e,
|
|
@@ -5712,19 +5769,19 @@ const E1 = 100, l1 = {
|
|
|
5712
5769
|
placeholder: a,
|
|
5713
5770
|
search: !0,
|
|
5714
5771
|
value: s,
|
|
5715
|
-
onSearchChange:
|
|
5716
|
-
onDropdownVisibleChange:
|
|
5772
|
+
onSearchChange: g1,
|
|
5773
|
+
onDropdownVisibleChange: N1,
|
|
5717
5774
|
scrollThresholdValue: c,
|
|
5718
|
-
onScrollToEnd:
|
|
5775
|
+
onScrollToEnd: v1,
|
|
5719
5776
|
disabled: o,
|
|
5720
5777
|
extraOptions: Y,
|
|
5721
5778
|
isLoading: V,
|
|
5722
5779
|
optionRender: f,
|
|
5723
|
-
dropdownRender:
|
|
5724
|
-
readOnly:
|
|
5780
|
+
dropdownRender: w,
|
|
5781
|
+
readOnly: v,
|
|
5725
5782
|
clearable: m,
|
|
5726
|
-
required:
|
|
5727
|
-
error:
|
|
5783
|
+
required: b,
|
|
5784
|
+
error: y
|
|
5728
5785
|
}),
|
|
5729
5786
|
[
|
|
5730
5787
|
n,
|
|
@@ -5734,84 +5791,84 @@ const E1 = 100, l1 = {
|
|
|
5734
5791
|
E,
|
|
5735
5792
|
a,
|
|
5736
5793
|
s,
|
|
5737
|
-
|
|
5738
|
-
|
|
5794
|
+
g1,
|
|
5795
|
+
N1,
|
|
5739
5796
|
c,
|
|
5740
|
-
|
|
5797
|
+
v1,
|
|
5741
5798
|
o,
|
|
5742
5799
|
Y,
|
|
5743
5800
|
V,
|
|
5744
5801
|
f,
|
|
5745
|
-
|
|
5746
|
-
|
|
5802
|
+
w,
|
|
5803
|
+
v,
|
|
5747
5804
|
m,
|
|
5748
|
-
|
|
5749
|
-
|
|
5805
|
+
b,
|
|
5806
|
+
y
|
|
5750
5807
|
]
|
|
5751
5808
|
);
|
|
5752
|
-
return
|
|
5809
|
+
return k1(E, () => ({
|
|
5753
5810
|
refetchOptions: async () => {
|
|
5754
|
-
|
|
5811
|
+
R(l1), P(void 0), F(!0);
|
|
5755
5812
|
}
|
|
5756
|
-
})), C ? /* @__PURE__ */ r(
|
|
5813
|
+
})), C ? /* @__PURE__ */ r(j1, { ...R1, value: s, mode: C }) : /* @__PURE__ */ r("div", { className: "snmt-async-select", children: /* @__PURE__ */ r(j1, { ...R1, value: s }) });
|
|
5757
5814
|
}
|
|
5758
|
-
), M = (i) => typeof i == "string",
|
|
5815
|
+
), M = (i) => typeof i == "string", f1 = () => {
|
|
5759
5816
|
let i, e;
|
|
5760
5817
|
const t = new Promise((s, n) => {
|
|
5761
5818
|
i = s, e = n;
|
|
5762
5819
|
});
|
|
5763
5820
|
return t.resolve = i, t.reject = e, t;
|
|
5764
|
-
},
|
|
5821
|
+
}, F1 = (i) => i == null ? "" : "" + i, Zt = (i, e, t) => {
|
|
5765
5822
|
i.forEach((s) => {
|
|
5766
5823
|
e[s] && (t[s] = e[s]);
|
|
5767
5824
|
});
|
|
5768
|
-
},
|
|
5825
|
+
}, Dt = /###/g, W1 = (i) => i && i.indexOf("###") > -1 ? i.replace(Dt, ".") : i, U1 = (i) => !i || M(i), w1 = (i, e, t) => {
|
|
5769
5826
|
const s = M(e) ? e.split(".") : e;
|
|
5770
5827
|
let n = 0;
|
|
5771
5828
|
for (; n < s.length - 1; ) {
|
|
5772
|
-
if (
|
|
5773
|
-
const o =
|
|
5829
|
+
if (U1(i)) return {};
|
|
5830
|
+
const o = W1(s[n]);
|
|
5774
5831
|
!i[o] && t && (i[o] = new t()), Object.prototype.hasOwnProperty.call(i, o) ? i = i[o] : i = {}, ++n;
|
|
5775
5832
|
}
|
|
5776
|
-
return
|
|
5833
|
+
return U1(i) ? {} : {
|
|
5777
5834
|
obj: i,
|
|
5778
|
-
k:
|
|
5835
|
+
k: W1(s[n])
|
|
5779
5836
|
};
|
|
5780
|
-
},
|
|
5837
|
+
}, z1 = (i, e, t) => {
|
|
5781
5838
|
const {
|
|
5782
5839
|
obj: s,
|
|
5783
5840
|
k: n
|
|
5784
|
-
} =
|
|
5841
|
+
} = w1(i, e, Object);
|
|
5785
5842
|
if (s !== void 0 || e.length === 1) {
|
|
5786
5843
|
s[n] = t;
|
|
5787
5844
|
return;
|
|
5788
5845
|
}
|
|
5789
|
-
let o = e[e.length - 1], c = e.slice(0, e.length - 1), a =
|
|
5846
|
+
let o = e[e.length - 1], c = e.slice(0, e.length - 1), a = w1(i, c, Object);
|
|
5790
5847
|
for (; a.obj === void 0 && c.length; )
|
|
5791
|
-
o = `${c[c.length - 1]}.${o}`, c = c.slice(0, c.length - 1), a =
|
|
5848
|
+
o = `${c[c.length - 1]}.${o}`, c = c.slice(0, c.length - 1), a = w1(i, c, Object), a && a.obj && typeof a.obj[`${a.k}.${o}`] < "u" && (a.obj = void 0);
|
|
5792
5849
|
a.obj[`${a.k}.${o}`] = t;
|
|
5793
|
-
},
|
|
5850
|
+
}, Gt = (i, e, t, s) => {
|
|
5794
5851
|
const {
|
|
5795
5852
|
obj: n,
|
|
5796
5853
|
k: o
|
|
5797
|
-
} =
|
|
5854
|
+
} = w1(i, e, Object);
|
|
5798
5855
|
n[o] = n[o] || [], n[o].push(t);
|
|
5799
|
-
},
|
|
5856
|
+
}, _1 = (i, e) => {
|
|
5800
5857
|
const {
|
|
5801
5858
|
obj: t,
|
|
5802
5859
|
k: s
|
|
5803
|
-
} =
|
|
5860
|
+
} = w1(i, e);
|
|
5804
5861
|
if (t)
|
|
5805
5862
|
return t[s];
|
|
5806
|
-
},
|
|
5807
|
-
const s =
|
|
5808
|
-
return s !== void 0 ? s :
|
|
5863
|
+
}, Tt = (i, e, t) => {
|
|
5864
|
+
const s = _1(i, t);
|
|
5865
|
+
return s !== void 0 ? s : _1(e, t);
|
|
5809
5866
|
}, d2 = (i, e, t) => {
|
|
5810
5867
|
for (const s in e)
|
|
5811
5868
|
s !== "__proto__" && s !== "constructor" && (s in i ? M(i[s]) || i[s] instanceof String || M(e[s]) || e[s] instanceof String ? t && (i[s] = e[s]) : d2(i[s], e[s], t) : i[s] = e[s]);
|
|
5812
5869
|
return i;
|
|
5813
5870
|
}, h1 = (i) => i.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
|
|
5814
|
-
var
|
|
5871
|
+
var Kt = {
|
|
5815
5872
|
"&": "&",
|
|
5816
5873
|
"<": "<",
|
|
5817
5874
|
">": ">",
|
|
@@ -5819,8 +5876,8 @@ var St = {
|
|
|
5819
5876
|
"'": "'",
|
|
5820
5877
|
"/": "/"
|
|
5821
5878
|
};
|
|
5822
|
-
const
|
|
5823
|
-
class
|
|
5879
|
+
const Bt = (i) => M(i) ? i.replace(/[&<>"'\/]/g, (e) => Kt[e]) : i;
|
|
5880
|
+
class Pt {
|
|
5824
5881
|
constructor(e) {
|
|
5825
5882
|
this.capacity = e, this.regExpMap = /* @__PURE__ */ new Map(), this.regExpQueue = [];
|
|
5826
5883
|
}
|
|
@@ -5832,11 +5889,11 @@ class Gt {
|
|
|
5832
5889
|
return this.regExpQueue.length === this.capacity && this.regExpMap.delete(this.regExpQueue.shift()), this.regExpMap.set(e, s), this.regExpQueue.push(e), s;
|
|
5833
5890
|
}
|
|
5834
5891
|
}
|
|
5835
|
-
const
|
|
5892
|
+
const Yt = [" ", ",", "?", "!", ";"], jt = new Pt(20), $t = (i, e, t) => {
|
|
5836
5893
|
e = e || "", t = t || "";
|
|
5837
|
-
const s =
|
|
5894
|
+
const s = Yt.filter((c) => e.indexOf(c) < 0 && t.indexOf(c) < 0);
|
|
5838
5895
|
if (s.length === 0) return !0;
|
|
5839
|
-
const n =
|
|
5896
|
+
const n = jt.getRegExp(`(${s.map((c) => c === "?" ? "\\?" : c).join("|")})`);
|
|
5840
5897
|
let o = !n.test(i);
|
|
5841
5898
|
if (!o) {
|
|
5842
5899
|
const c = i.indexOf(t);
|
|
@@ -5863,7 +5920,7 @@ const Tt = [" ", ",", "?", "!", ";"], Kt = new Gt(20), Bt = (i, e, t) => {
|
|
|
5863
5920
|
n = c;
|
|
5864
5921
|
}
|
|
5865
5922
|
return n;
|
|
5866
|
-
},
|
|
5923
|
+
}, M1 = (i) => i && i.replace("_", "-"), Ft = {
|
|
5867
5924
|
type: "logger",
|
|
5868
5925
|
log(i) {
|
|
5869
5926
|
this.output("log", i);
|
|
@@ -5878,14 +5935,14 @@ const Tt = [" ", ",", "?", "!", ";"], Kt = new Gt(20), Bt = (i, e, t) => {
|
|
|
5878
5935
|
console && console[i] && console[i].apply(console, e);
|
|
5879
5936
|
}
|
|
5880
5937
|
};
|
|
5881
|
-
class
|
|
5938
|
+
class b1 {
|
|
5882
5939
|
constructor(e) {
|
|
5883
5940
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
5884
5941
|
this.init(e, t);
|
|
5885
5942
|
}
|
|
5886
5943
|
init(e) {
|
|
5887
5944
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
5888
|
-
this.prefix = t.prefix || "i18next:", this.logger = e ||
|
|
5945
|
+
this.prefix = t.prefix || "i18next:", this.logger = e || Ft, this.options = t, this.debug = t.debug;
|
|
5889
5946
|
}
|
|
5890
5947
|
log() {
|
|
5891
5948
|
for (var e = arguments.length, t = new Array(e), s = 0; s < e; s++)
|
|
@@ -5911,16 +5968,16 @@ class M1 {
|
|
|
5911
5968
|
return n && !this.debug ? null : (M(e[0]) && (e[0] = `${s}${this.prefix} ${e[0]}`), this.logger[t](e));
|
|
5912
5969
|
}
|
|
5913
5970
|
create(e) {
|
|
5914
|
-
return new
|
|
5971
|
+
return new b1(this.logger, {
|
|
5915
5972
|
prefix: `${this.prefix}:${e}:`,
|
|
5916
5973
|
...this.options
|
|
5917
5974
|
});
|
|
5918
5975
|
}
|
|
5919
5976
|
clone(e) {
|
|
5920
|
-
return e = e || this.options, e.prefix = e.prefix || this.prefix, new
|
|
5977
|
+
return e = e || this.options, e.prefix = e.prefix || this.prefix, new b1(this.logger, e);
|
|
5921
5978
|
}
|
|
5922
5979
|
}
|
|
5923
|
-
var J = new
|
|
5980
|
+
var J = new b1();
|
|
5924
5981
|
class H1 {
|
|
5925
5982
|
constructor() {
|
|
5926
5983
|
this.observers = {};
|
|
@@ -5955,7 +6012,7 @@ class H1 {
|
|
|
5955
6012
|
});
|
|
5956
6013
|
}
|
|
5957
6014
|
}
|
|
5958
|
-
class
|
|
6015
|
+
class J1 extends H1 {
|
|
5959
6016
|
constructor(e) {
|
|
5960
6017
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
|
|
5961
6018
|
ns: ["translation"],
|
|
@@ -5975,7 +6032,7 @@ class z1 extends H1 {
|
|
|
5975
6032
|
const o = n.keySeparator !== void 0 ? n.keySeparator : this.options.keySeparator, c = n.ignoreJSONStructure !== void 0 ? n.ignoreJSONStructure : this.options.ignoreJSONStructure;
|
|
5976
6033
|
let a;
|
|
5977
6034
|
e.indexOf(".") > -1 ? a = e.split(".") : (a = [e, t], s && (Array.isArray(s) ? a.push(...s) : M(s) && o ? a.push(...s.split(o)) : a.push(s)));
|
|
5978
|
-
const C =
|
|
6035
|
+
const C = _1(this.data, a);
|
|
5979
6036
|
return !C && !t && !s && e.indexOf(".") > -1 && (e = a[0], t = a[1], s = a.slice(2).join(".")), C || !c || !M(s) ? C : O1(this.data && this.data[e] && this.data[e][t], s, o);
|
|
5980
6037
|
}
|
|
5981
6038
|
addResource(e, t, s, n) {
|
|
@@ -5984,7 +6041,7 @@ class z1 extends H1 {
|
|
|
5984
6041
|
};
|
|
5985
6042
|
const c = o.keySeparator !== void 0 ? o.keySeparator : this.options.keySeparator;
|
|
5986
6043
|
let a = [e, t];
|
|
5987
|
-
s && (a = a.concat(c ? s.split(c) : s)), e.indexOf(".") > -1 && (a = e.split("."), n = t, t = a[1]), this.addNamespaces(t),
|
|
6044
|
+
s && (a = a.concat(c ? s.split(c) : s)), e.indexOf(".") > -1 && (a = e.split("."), n = t, t = a[1]), this.addNamespaces(t), z1(this.data, a, n), o.silent || this.emit("added", e, t, s, n);
|
|
5988
6045
|
}
|
|
5989
6046
|
addResources(e, t, s) {
|
|
5990
6047
|
let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {
|
|
@@ -6002,11 +6059,11 @@ class z1 extends H1 {
|
|
|
6002
6059
|
skipCopy: !1
|
|
6003
6060
|
}, a = [e, t];
|
|
6004
6061
|
e.indexOf(".") > -1 && (a = e.split("."), n = s, s = t, t = a[1]), this.addNamespaces(t);
|
|
6005
|
-
let C =
|
|
6062
|
+
let C = _1(this.data, a) || {};
|
|
6006
6063
|
c.skipCopy || (s = JSON.parse(JSON.stringify(s))), n ? d2(C, s, o) : C = {
|
|
6007
6064
|
...C,
|
|
6008
6065
|
...s
|
|
6009
|
-
},
|
|
6066
|
+
}, z1(this.data, a, C), c.silent || this.emit("added", e, t, s);
|
|
6010
6067
|
}
|
|
6011
6068
|
removeResourceBundle(e, t) {
|
|
6012
6069
|
this.hasResourceBundle(e, t) && delete this.data[e][t], this.removeNamespaces(t), this.emit("removed", e, t);
|
|
@@ -6041,11 +6098,11 @@ var C2 = {
|
|
|
6041
6098
|
}), e;
|
|
6042
6099
|
}
|
|
6043
6100
|
};
|
|
6044
|
-
const
|
|
6045
|
-
class
|
|
6101
|
+
const q1 = {};
|
|
6102
|
+
class y1 extends H1 {
|
|
6046
6103
|
constructor(e) {
|
|
6047
6104
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
6048
|
-
super(),
|
|
6105
|
+
super(), Zt(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = J.create("translator");
|
|
6049
6106
|
}
|
|
6050
6107
|
changeLanguage(e) {
|
|
6051
6108
|
e && (this.language = e);
|
|
@@ -6064,7 +6121,7 @@ class b1 extends H1 {
|
|
|
6064
6121
|
s === void 0 && (s = ":");
|
|
6065
6122
|
const n = t.keySeparator !== void 0 ? t.keySeparator : this.options.keySeparator;
|
|
6066
6123
|
let o = t.ns || this.options.defaultNS || [];
|
|
6067
|
-
const c = s && e.indexOf(s) > -1, a = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator &&
|
|
6124
|
+
const c = s && e.indexOf(s) > -1, a = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !$t(e, s, n);
|
|
6068
6125
|
if (c && !a) {
|
|
6069
6126
|
const C = e.match(this.interpolator.nestingRegexp);
|
|
6070
6127
|
if (C && C.length > 0)
|
|
@@ -6112,8 +6169,8 @@ class b1 extends H1 {
|
|
|
6112
6169
|
}
|
|
6113
6170
|
const h = this.resolve(e, t);
|
|
6114
6171
|
let g = h && h.res;
|
|
6115
|
-
const f = h && h.usedKey || c,
|
|
6116
|
-
if (
|
|
6172
|
+
const f = h && h.usedKey || c, w = h && h.exactUsedKey || c, v = Object.prototype.toString.apply(g), m = ["[object Number]", "[object Function]", "[object RegExp]"], b = t.joinArrays !== void 0 ? t.joinArrays : this.options.joinArrays, y = !this.i18nFormat || this.i18nFormat.handleAsObject, E = !M(g) && typeof g != "boolean" && typeof g != "number";
|
|
6173
|
+
if (y && g && E && m.indexOf(v) < 0 && !(M(b) && Array.isArray(g))) {
|
|
6117
6174
|
if (!t.returnObjects && !this.options.returnObjects) {
|
|
6118
6175
|
this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
|
|
6119
6176
|
const p = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(f, g, {
|
|
@@ -6123,28 +6180,28 @@ class b1 extends H1 {
|
|
|
6123
6180
|
return n ? (h.res = p, h.usedParams = this.getUsedParamsDetails(t), h) : p;
|
|
6124
6181
|
}
|
|
6125
6182
|
if (o) {
|
|
6126
|
-
const p = Array.isArray(g),
|
|
6127
|
-
for (const
|
|
6128
|
-
if (Object.prototype.hasOwnProperty.call(g,
|
|
6129
|
-
const V = `${_}${o}${
|
|
6130
|
-
|
|
6183
|
+
const p = Array.isArray(g), N = p ? [] : {}, _ = p ? w : f;
|
|
6184
|
+
for (const R in g)
|
|
6185
|
+
if (Object.prototype.hasOwnProperty.call(g, R)) {
|
|
6186
|
+
const V = `${_}${o}${R}`;
|
|
6187
|
+
N[R] = this.translate(V, {
|
|
6131
6188
|
...t,
|
|
6132
6189
|
joinArrays: !1,
|
|
6133
6190
|
ns: a
|
|
6134
|
-
}),
|
|
6191
|
+
}), N[R] === V && (N[R] = g[R]);
|
|
6135
6192
|
}
|
|
6136
|
-
g =
|
|
6193
|
+
g = N;
|
|
6137
6194
|
}
|
|
6138
|
-
} else if (
|
|
6139
|
-
g = g.join(
|
|
6195
|
+
} else if (y && M(b) && Array.isArray(g))
|
|
6196
|
+
g = g.join(b), g && (g = this.extendTranslation(g, e, t, s));
|
|
6140
6197
|
else {
|
|
6141
|
-
let p = !1,
|
|
6142
|
-
const _ = t.count !== void 0 && !M(t.count),
|
|
6198
|
+
let p = !1, N = !1;
|
|
6199
|
+
const _ = t.count !== void 0 && !M(t.count), R = y1.hasDefaultValue(t), V = _ ? this.pluralResolver.getSuffix(d, t.count, t) : "", D = t.ordinal && _ ? this.pluralResolver.getSuffix(d, t.count, {
|
|
6143
6200
|
ordinal: !1
|
|
6144
6201
|
}) : "", T = _ && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), P = T && t[`defaultValue${this.options.pluralSeparator}zero`] || t[`defaultValue${V}`] || t[`defaultValue${D}`] || t.defaultValue;
|
|
6145
|
-
!this.isValidLookup(g) &&
|
|
6146
|
-
const
|
|
6147
|
-
if (
|
|
6202
|
+
!this.isValidLookup(g) && R && (p = !0, g = P), this.isValidLookup(g) || (N = !0, g = c);
|
|
6203
|
+
const A = (t.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && N ? void 0 : g, Y = R && P !== g && this.options.updateMissing;
|
|
6204
|
+
if (N || p || Y) {
|
|
6148
6205
|
if (this.logger.log(Y ? "updateKey" : "missingKey", d, C, c, Y ? P : g), o) {
|
|
6149
6206
|
const G = this.resolve(c, {
|
|
6150
6207
|
...t,
|
|
@@ -6152,24 +6209,24 @@ class b1 extends H1 {
|
|
|
6152
6209
|
});
|
|
6153
6210
|
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.");
|
|
6154
6211
|
}
|
|
6155
|
-
let
|
|
6212
|
+
let z = [];
|
|
6156
6213
|
const q = this.languageUtils.getFallbackCodes(this.options.fallbackLng, t.lng || this.language);
|
|
6157
6214
|
if (this.options.saveMissingTo === "fallback" && q && q[0])
|
|
6158
6215
|
for (let G = 0; G < q.length; G++)
|
|
6159
|
-
|
|
6160
|
-
else this.options.saveMissingTo === "all" ?
|
|
6161
|
-
const X = (G,
|
|
6162
|
-
const e1 =
|
|
6163
|
-
this.options.missingKeyHandler ? this.options.missingKeyHandler(G, C,
|
|
6216
|
+
z.push(q[G]);
|
|
6217
|
+
else this.options.saveMissingTo === "all" ? z = this.languageUtils.toResolveHierarchy(t.lng || this.language) : z.push(t.lng || this.language);
|
|
6218
|
+
const X = (G, F, j) => {
|
|
6219
|
+
const e1 = R && j !== g ? j : A;
|
|
6220
|
+
this.options.missingKeyHandler ? this.options.missingKeyHandler(G, C, F, e1, Y, t) : this.backendConnector && this.backendConnector.saveMissing && this.backendConnector.saveMissing(G, C, F, e1, Y, t), this.emit("missingKey", G, C, F, g);
|
|
6164
6221
|
};
|
|
6165
|
-
this.options.saveMissing && (this.options.saveMissingPlurals && _ ?
|
|
6166
|
-
const
|
|
6167
|
-
T && t[`defaultValue${this.options.pluralSeparator}zero`] &&
|
|
6222
|
+
this.options.saveMissing && (this.options.saveMissingPlurals && _ ? z.forEach((G) => {
|
|
6223
|
+
const F = this.pluralResolver.getSuffixes(G, t);
|
|
6224
|
+
T && t[`defaultValue${this.options.pluralSeparator}zero`] && F.indexOf(`${this.options.pluralSeparator}zero`) < 0 && F.push(`${this.options.pluralSeparator}zero`), F.forEach((j) => {
|
|
6168
6225
|
X([G], c + j, t[`defaultValue${j}`] || P);
|
|
6169
6226
|
});
|
|
6170
|
-
}) : X(
|
|
6227
|
+
}) : X(z, c, P));
|
|
6171
6228
|
}
|
|
6172
|
-
g = this.extendTranslation(g, e, t, h, s),
|
|
6229
|
+
g = this.extendTranslation(g, e, t, h, s), N && g === c && this.options.appendNamespaceToMissingKey && (g = `${C}:${c}`), (N || p) && this.options.parseMissingKeyHandler && (this.options.compatibilityAPI !== "v1" ? g = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${C}:${c}` : c, p ? g : void 0) : g = this.options.parseMissingKeyHandler(g));
|
|
6173
6230
|
}
|
|
6174
6231
|
return n ? (h.res = g, h.usedParams = this.getUsedParamsDetails(t), h) : g;
|
|
6175
6232
|
}
|
|
@@ -6205,8 +6262,8 @@ class b1 extends H1 {
|
|
|
6205
6262
|
l < f && (s.nest = !1);
|
|
6206
6263
|
}
|
|
6207
6264
|
!s.lng && this.options.compatibilityAPI !== "v1" && n && n.res && (s.lng = this.language || n.usedLng), s.nest !== !1 && (e = this.interpolator.nest(e, function() {
|
|
6208
|
-
for (var g = arguments.length, f = new Array(g),
|
|
6209
|
-
f[
|
|
6265
|
+
for (var g = arguments.length, f = new Array(g), w = 0; w < g; w++)
|
|
6266
|
+
f[w] = arguments[w];
|
|
6210
6267
|
return o && o[0] === f[0] && !s.context ? (c.logger.warn(`It seems you are nesting recursively key: ${f[0]} in key: ${t[0]}`), null) : c.translate(...f, t);
|
|
6211
6268
|
}, s)), s.interpolation && this.interpolator.reset();
|
|
6212
6269
|
}
|
|
@@ -6227,26 +6284,26 @@ class b1 extends H1 {
|
|
|
6227
6284
|
n = l;
|
|
6228
6285
|
let h = d.namespaces;
|
|
6229
6286
|
this.options.fallbackNS && (h = h.concat(this.options.fallbackNS));
|
|
6230
|
-
const g = t.count !== void 0 && !M(t.count), f = g && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(),
|
|
6287
|
+
const g = t.count !== void 0 && !M(t.count), f = g && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), w = t.context !== void 0 && (M(t.context) || typeof t.context == "number") && t.context !== "", v = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
|
|
6231
6288
|
h.forEach((m) => {
|
|
6232
|
-
this.isValidLookup(s) || (a = m, !
|
|
6289
|
+
this.isValidLookup(s) || (a = m, !q1[`${v[0]}-${m}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(a) && (q1[`${v[0]}-${m}`] = !0, this.logger.warn(`key "${n}" for languages "${v.join(", ")}" won't get resolved as namespace "${a}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), v.forEach((b) => {
|
|
6233
6290
|
if (this.isValidLookup(s)) return;
|
|
6234
|
-
c =
|
|
6235
|
-
const
|
|
6291
|
+
c = b;
|
|
6292
|
+
const y = [l];
|
|
6236
6293
|
if (this.i18nFormat && this.i18nFormat.addLookupKeys)
|
|
6237
|
-
this.i18nFormat.addLookupKeys(
|
|
6294
|
+
this.i18nFormat.addLookupKeys(y, l, b, m, t);
|
|
6238
6295
|
else {
|
|
6239
6296
|
let p;
|
|
6240
|
-
g && (p = this.pluralResolver.getSuffix(
|
|
6241
|
-
const
|
|
6242
|
-
if (g && (
|
|
6243
|
-
const
|
|
6244
|
-
|
|
6297
|
+
g && (p = this.pluralResolver.getSuffix(b, t.count, t));
|
|
6298
|
+
const N = `${this.options.pluralSeparator}zero`, _ = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
|
|
6299
|
+
if (g && (y.push(l + p), t.ordinal && p.indexOf(_) === 0 && y.push(l + p.replace(_, this.options.pluralSeparator)), f && y.push(l + N)), w) {
|
|
6300
|
+
const R = `${l}${this.options.contextSeparator}${t.context}`;
|
|
6301
|
+
y.push(R), g && (y.push(R + p), t.ordinal && p.indexOf(_) === 0 && y.push(R + p.replace(_, this.options.pluralSeparator)), f && y.push(R + N));
|
|
6245
6302
|
}
|
|
6246
6303
|
}
|
|
6247
6304
|
let E;
|
|
6248
|
-
for (; E =
|
|
6249
|
-
this.isValidLookup(s) || (o = E, s = this.getResource(
|
|
6305
|
+
for (; E = y.pop(); )
|
|
6306
|
+
this.isValidLookup(s) || (o = E, s = this.getResource(b, m, E, t));
|
|
6250
6307
|
}));
|
|
6251
6308
|
});
|
|
6252
6309
|
}), {
|
|
@@ -6289,17 +6346,17 @@ class b1 extends H1 {
|
|
|
6289
6346
|
}
|
|
6290
6347
|
}
|
|
6291
6348
|
const V1 = (i) => i.charAt(0).toUpperCase() + i.slice(1);
|
|
6292
|
-
class
|
|
6349
|
+
class Q1 {
|
|
6293
6350
|
constructor(e) {
|
|
6294
6351
|
this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = J.create("languageUtils");
|
|
6295
6352
|
}
|
|
6296
6353
|
getScriptPartFromCode(e) {
|
|
6297
|
-
if (e =
|
|
6354
|
+
if (e = M1(e), !e || e.indexOf("-") < 0) return null;
|
|
6298
6355
|
const t = e.split("-");
|
|
6299
6356
|
return t.length === 2 || (t.pop(), t[t.length - 1].toLowerCase() === "x") ? null : this.formatLanguageCode(t.join("-"));
|
|
6300
6357
|
}
|
|
6301
6358
|
getLanguagePartFromCode(e) {
|
|
6302
|
-
if (e =
|
|
6359
|
+
if (e = M1(e), !e || e.indexOf("-") < 0) return e;
|
|
6303
6360
|
const t = e.split("-");
|
|
6304
6361
|
return this.formatLanguageCode(t[0]);
|
|
6305
6362
|
}
|
|
@@ -6354,7 +6411,7 @@ class q1 {
|
|
|
6354
6411
|
}), n;
|
|
6355
6412
|
}
|
|
6356
6413
|
}
|
|
6357
|
-
let
|
|
6414
|
+
let Wt = [{
|
|
6358
6415
|
lngs: ["ach", "ak", "am", "arn", "br", "fil", "gun", "ln", "mfe", "mg", "mi", "oc", "pt", "pt-BR", "tg", "tl", "ti", "tr", "uz", "wa"],
|
|
6359
6416
|
nr: [1, 2],
|
|
6360
6417
|
fc: 1
|
|
@@ -6446,7 +6503,7 @@ let Yt = [{
|
|
|
6446
6503
|
lngs: ["he", "iw"],
|
|
6447
6504
|
nr: [1, 2, 20, 21],
|
|
6448
6505
|
fc: 22
|
|
6449
|
-
}],
|
|
6506
|
+
}], Ut = {
|
|
6450
6507
|
1: (i) => +(i > 1),
|
|
6451
6508
|
2: (i) => +(i != 1),
|
|
6452
6509
|
3: (i) => 0,
|
|
@@ -6470,28 +6527,28 @@ let Yt = [{
|
|
|
6470
6527
|
21: (i) => i % 100 == 1 ? 1 : i % 100 == 2 ? 2 : i % 100 == 3 || i % 100 == 4 ? 3 : 0,
|
|
6471
6528
|
22: (i) => i == 1 ? 0 : i == 2 ? 1 : (i < 0 || i > 10) && i % 10 == 0 ? 2 : 3
|
|
6472
6529
|
};
|
|
6473
|
-
const
|
|
6530
|
+
const zt = ["v1", "v2", "v3"], Jt = ["v4"], X1 = {
|
|
6474
6531
|
zero: 0,
|
|
6475
6532
|
one: 1,
|
|
6476
6533
|
two: 2,
|
|
6477
6534
|
few: 3,
|
|
6478
6535
|
many: 4,
|
|
6479
6536
|
other: 5
|
|
6480
|
-
},
|
|
6537
|
+
}, qt = () => {
|
|
6481
6538
|
const i = {};
|
|
6482
|
-
return
|
|
6539
|
+
return Wt.forEach((e) => {
|
|
6483
6540
|
e.lngs.forEach((t) => {
|
|
6484
6541
|
i[t] = {
|
|
6485
6542
|
numbers: e.nr,
|
|
6486
|
-
plurals:
|
|
6543
|
+
plurals: Ut[e.fc]
|
|
6487
6544
|
};
|
|
6488
6545
|
});
|
|
6489
6546
|
}), i;
|
|
6490
6547
|
};
|
|
6491
|
-
class
|
|
6548
|
+
class Qt {
|
|
6492
6549
|
constructor(e) {
|
|
6493
6550
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
6494
|
-
this.languageUtils = e, this.options = t, this.logger = J.create("pluralResolver"), (!this.options.compatibilityJSON ||
|
|
6551
|
+
this.languageUtils = e, this.options = t, this.logger = J.create("pluralResolver"), (!this.options.compatibilityJSON || Jt.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 = qt(), this.pluralRulesCache = {};
|
|
6495
6552
|
}
|
|
6496
6553
|
addRule(e, t) {
|
|
6497
6554
|
this.rules[e] = t;
|
|
@@ -6502,7 +6559,7 @@ class Ut {
|
|
|
6502
6559
|
getRule(e) {
|
|
6503
6560
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
6504
6561
|
if (this.shouldUseIntlApi()) {
|
|
6505
|
-
const s =
|
|
6562
|
+
const s = M1(e === "dev" ? "en" : e), n = t.ordinal ? "ordinal" : "cardinal", o = JSON.stringify({
|
|
6506
6563
|
cleanedCode: s,
|
|
6507
6564
|
type: n
|
|
6508
6565
|
});
|
|
@@ -6534,7 +6591,7 @@ class Ut {
|
|
|
6534
6591
|
getSuffixes(e) {
|
|
6535
6592
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
6536
6593
|
const s = this.getRule(e, t);
|
|
6537
|
-
return s ? this.shouldUseIntlApi() ? s.resolvedOptions().pluralCategories.sort((n, o) =>
|
|
6594
|
+
return s ? this.shouldUseIntlApi() ? s.resolvedOptions().pluralCategories.sort((n, o) => X1[n] - X1[o]).map((n) => `${this.options.prepend}${t.ordinal ? `ordinal${this.options.prepend}` : ""}${n}`) : s.numbers.map((n) => this.getSuffix(e, n, t)) : [];
|
|
6538
6595
|
}
|
|
6539
6596
|
getSuffix(e, t) {
|
|
6540
6597
|
let s = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
@@ -6549,14 +6606,14 @@ class Ut {
|
|
|
6549
6606
|
return this.options.compatibilityJSON === "v1" ? n === 1 ? "" : typeof n == "number" ? `_plural_${n.toString()}` : o() : this.options.compatibilityJSON === "v2" || this.options.simplifyPluralSuffix && e.numbers.length === 2 && e.numbers[0] === 1 ? o() : this.options.prepend && s.toString() ? this.options.prepend + s.toString() : s.toString();
|
|
6550
6607
|
}
|
|
6551
6608
|
shouldUseIntlApi() {
|
|
6552
|
-
return
|
|
6609
|
+
return !zt.includes(this.options.compatibilityJSON);
|
|
6553
6610
|
}
|
|
6554
6611
|
}
|
|
6555
|
-
const
|
|
6556
|
-
let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", n = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, o =
|
|
6612
|
+
const e2 = function(i, e, t) {
|
|
6613
|
+
let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", n = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, o = Tt(i, e, t);
|
|
6557
6614
|
return !o && n && M(t) && (o = O1(i, t, s), o === void 0 && (o = O1(e, t, s))), o;
|
|
6558
6615
|
}, I1 = (i) => i.replace(/\$/g, "$$$$");
|
|
6559
|
-
class
|
|
6616
|
+
class Xt {
|
|
6560
6617
|
constructor() {
|
|
6561
6618
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
6562
6619
|
this.logger = J.create("interpolator"), this.options = e, this.format = e.interpolation && e.interpolation.format || ((t) => t), this.init(e);
|
|
@@ -6579,13 +6636,13 @@ class zt {
|
|
|
6579
6636
|
unescapePrefix: h,
|
|
6580
6637
|
nestingPrefix: g,
|
|
6581
6638
|
nestingPrefixEscaped: f,
|
|
6582
|
-
nestingSuffix:
|
|
6583
|
-
nestingSuffixEscaped:
|
|
6639
|
+
nestingSuffix: w,
|
|
6640
|
+
nestingSuffixEscaped: v,
|
|
6584
6641
|
nestingOptionsSeparator: m,
|
|
6585
|
-
maxReplaces:
|
|
6586
|
-
alwaysFormat:
|
|
6642
|
+
maxReplaces: b,
|
|
6643
|
+
alwaysFormat: y
|
|
6587
6644
|
} = e.interpolation;
|
|
6588
|
-
this.escape = t !== void 0 ? t :
|
|
6645
|
+
this.escape = t !== void 0 ? t : Bt, this.escapeValue = s !== void 0 ? s : !0, this.useRawValueToEscape = n !== void 0 ? n : !1, this.prefix = o ? h1(o) : c || "{{", this.suffix = a ? h1(a) : C || "}}", this.formatSeparator = d || ",", this.unescapePrefix = l ? "" : h || "-", this.unescapeSuffix = this.unescapePrefix ? "" : l || "", this.nestingPrefix = g ? h1(g) : f || h1("$t("), this.nestingSuffix = w ? h1(w) : v || h1(")"), this.nestingOptionsSeparator = m || ",", this.maxReplaces = b || 1e3, this.alwaysFormat = y !== void 0 ? y : !1, this.resetRegExp();
|
|
6589
6646
|
}
|
|
6590
6647
|
reset() {
|
|
6591
6648
|
this.options && this.init(this.options);
|
|
@@ -6598,18 +6655,18 @@ class zt {
|
|
|
6598
6655
|
let o, c, a;
|
|
6599
6656
|
const C = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, d = (f) => {
|
|
6600
6657
|
if (f.indexOf(this.formatSeparator) < 0) {
|
|
6601
|
-
const
|
|
6602
|
-
return this.alwaysFormat ? this.format(
|
|
6658
|
+
const b = e2(t, C, f, this.options.keySeparator, this.options.ignoreJSONStructure);
|
|
6659
|
+
return this.alwaysFormat ? this.format(b, void 0, s, {
|
|
6603
6660
|
...n,
|
|
6604
6661
|
...t,
|
|
6605
6662
|
interpolationkey: f
|
|
6606
|
-
}) :
|
|
6663
|
+
}) : b;
|
|
6607
6664
|
}
|
|
6608
|
-
const
|
|
6609
|
-
return this.format(
|
|
6665
|
+
const w = f.split(this.formatSeparator), v = w.shift().trim(), m = w.join(this.formatSeparator).trim();
|
|
6666
|
+
return this.format(e2(t, C, v, this.options.keySeparator, this.options.ignoreJSONStructure), m, s, {
|
|
6610
6667
|
...n,
|
|
6611
6668
|
...t,
|
|
6612
|
-
interpolationkey:
|
|
6669
|
+
interpolationkey: v
|
|
6613
6670
|
});
|
|
6614
6671
|
};
|
|
6615
6672
|
this.resetRegExp();
|
|
@@ -6622,21 +6679,21 @@ class zt {
|
|
|
6622
6679
|
safeValue: (f) => this.escapeValue ? I1(this.escape(f)) : I1(f)
|
|
6623
6680
|
}].forEach((f) => {
|
|
6624
6681
|
for (a = 0; o = f.regex.exec(e); ) {
|
|
6625
|
-
const
|
|
6626
|
-
if (c = d(
|
|
6682
|
+
const w = o[1].trim();
|
|
6683
|
+
if (c = d(w), c === void 0)
|
|
6627
6684
|
if (typeof l == "function") {
|
|
6628
6685
|
const m = l(e, o, n);
|
|
6629
6686
|
c = M(m) ? m : "";
|
|
6630
|
-
} else if (n && Object.prototype.hasOwnProperty.call(n,
|
|
6687
|
+
} else if (n && Object.prototype.hasOwnProperty.call(n, w))
|
|
6631
6688
|
c = "";
|
|
6632
6689
|
else if (h) {
|
|
6633
6690
|
c = o[0];
|
|
6634
6691
|
continue;
|
|
6635
6692
|
} else
|
|
6636
|
-
this.logger.warn(`missed to pass in variable ${
|
|
6637
|
-
else !M(c) && !this.useRawValueToEscape && (c =
|
|
6638
|
-
const
|
|
6639
|
-
if (e = e.replace(o[0],
|
|
6693
|
+
this.logger.warn(`missed to pass in variable ${w} for interpolating ${e}`), c = "";
|
|
6694
|
+
else !M(c) && !this.useRawValueToEscape && (c = F1(c));
|
|
6695
|
+
const v = f.safeValue(c);
|
|
6696
|
+
if (e = e.replace(o[0], v), h ? (f.regex.lastIndex += c.length, f.regex.lastIndex -= o[0].length) : f.regex.lastIndex = 0, a++, a >= this.maxReplaces)
|
|
6640
6697
|
break;
|
|
6641
6698
|
}
|
|
6642
6699
|
}), e;
|
|
@@ -6649,15 +6706,15 @@ class zt {
|
|
|
6649
6706
|
const h = C.split(new RegExp(`${l}[ ]*{`));
|
|
6650
6707
|
let g = `{${h[1]}`;
|
|
6651
6708
|
C = h[0], g = this.interpolate(g, c);
|
|
6652
|
-
const f = g.match(/'/g),
|
|
6653
|
-
(f && f.length % 2 === 0 && !
|
|
6709
|
+
const f = g.match(/'/g), w = g.match(/"/g);
|
|
6710
|
+
(f && f.length % 2 === 0 && !w || w.length % 2 !== 0) && (g = g.replace(/'/g, '"'));
|
|
6654
6711
|
try {
|
|
6655
6712
|
c = JSON.parse(g), d && (c = {
|
|
6656
6713
|
...d,
|
|
6657
6714
|
...c
|
|
6658
6715
|
});
|
|
6659
|
-
} catch (
|
|
6660
|
-
return this.logger.warn(`failed parsing options string in nesting for key ${C}`,
|
|
6716
|
+
} catch (v) {
|
|
6717
|
+
return this.logger.warn(`failed parsing options string in nesting for key ${C}`, v), `${C}${l}${g}`;
|
|
6661
6718
|
}
|
|
6662
6719
|
return c.defaultValue && c.defaultValue.indexOf(this.prefix) > -1 && delete c.defaultValue, C;
|
|
6663
6720
|
};
|
|
@@ -6672,7 +6729,7 @@ class zt {
|
|
|
6672
6729
|
n[1] = l.shift(), C = l, d = !0;
|
|
6673
6730
|
}
|
|
6674
6731
|
if (o = t(a.call(this, n[1].trim(), c), c), o && n[0] === e && !M(o)) return o;
|
|
6675
|
-
M(o) || (o =
|
|
6732
|
+
M(o) || (o = F1(o)), o || (this.logger.warn(`missed to resolve ${n[1]} for nesting ${e}`), o = ""), d && (o = C.reduce((l, h) => this.format(l, h, s.lng, {
|
|
6676
6733
|
...s,
|
|
6677
6734
|
interpolationkey: n[1].trim()
|
|
6678
6735
|
}), o.trim())), e = e.replace(n[0], o), this.regexp.lastIndex = 0;
|
|
@@ -6680,7 +6737,7 @@ class zt {
|
|
|
6680
6737
|
return e;
|
|
6681
6738
|
}
|
|
6682
6739
|
}
|
|
6683
|
-
const
|
|
6740
|
+
const e7 = (i) => {
|
|
6684
6741
|
let e = i.toLowerCase().trim();
|
|
6685
6742
|
const t = {};
|
|
6686
6743
|
if (i.indexOf("(") > -1) {
|
|
@@ -6708,10 +6765,10 @@ const Jt = (i) => {
|
|
|
6708
6765
|
});
|
|
6709
6766
|
const c = s + JSON.stringify(o);
|
|
6710
6767
|
let a = e[c];
|
|
6711
|
-
return a || (a = i(
|
|
6768
|
+
return a || (a = i(M1(s), n), e[c] = a), a(t);
|
|
6712
6769
|
};
|
|
6713
6770
|
};
|
|
6714
|
-
class
|
|
6771
|
+
class t7 {
|
|
6715
6772
|
constructor() {
|
|
6716
6773
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
6717
6774
|
this.logger = J.create("formatter"), this.options = e, this.formats = {
|
|
@@ -6771,7 +6828,7 @@ class qt {
|
|
|
6771
6828
|
const {
|
|
6772
6829
|
formatName: d,
|
|
6773
6830
|
formatOptions: l
|
|
6774
|
-
} =
|
|
6831
|
+
} = e7(C);
|
|
6775
6832
|
if (this.formats[d]) {
|
|
6776
6833
|
let h = a;
|
|
6777
6834
|
try {
|
|
@@ -6791,10 +6848,10 @@ class qt {
|
|
|
6791
6848
|
}, e);
|
|
6792
6849
|
}
|
|
6793
6850
|
}
|
|
6794
|
-
const
|
|
6851
|
+
const i7 = (i, e) => {
|
|
6795
6852
|
i.pending[e] !== void 0 && (delete i.pending[e], i.pendingCount--);
|
|
6796
6853
|
};
|
|
6797
|
-
class
|
|
6854
|
+
class s7 extends H1 {
|
|
6798
6855
|
constructor(e, t, s) {
|
|
6799
6856
|
let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
|
|
6800
6857
|
super(), this.backend = e, this.store = t, this.services = s, this.languageUtils = s.languageUtils, this.options = n, this.logger = J.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = n.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = n.maxRetries >= 0 ? n.maxRetries : 5, this.retryTimeout = n.retryTimeout >= 1 ? n.retryTimeout : 350, this.state = {}, this.queue = [], this.backend && this.backend.init && this.backend.init(s, n.backend, n);
|
|
@@ -6827,7 +6884,7 @@ class Xt extends H1 {
|
|
|
6827
6884
|
}), this.state[e] = t ? -1 : 2, t && s && (this.state[e] = 0);
|
|
6828
6885
|
const a = {};
|
|
6829
6886
|
this.queue.forEach((C) => {
|
|
6830
|
-
|
|
6887
|
+
Gt(C.loaded, [o], c), i7(C, e), t && C.errors.push(t), C.pendingCount === 0 && !C.done && (Object.keys(C.loaded).forEach((d) => {
|
|
6831
6888
|
a[d] || (a[d] = {});
|
|
6832
6889
|
const l = C.loaded[d];
|
|
6833
6890
|
l.length && l.forEach((h) => {
|
|
@@ -6929,7 +6986,7 @@ class Xt extends H1 {
|
|
|
6929
6986
|
}
|
|
6930
6987
|
}
|
|
6931
6988
|
}
|
|
6932
|
-
const
|
|
6989
|
+
const t2 = () => ({
|
|
6933
6990
|
debug: !1,
|
|
6934
6991
|
initImmediate: !0,
|
|
6935
6992
|
ns: ["translation"],
|
|
@@ -6985,18 +7042,18 @@ const e2 = () => ({
|
|
|
6985
7042
|
maxReplaces: 1e3,
|
|
6986
7043
|
skipOnVariables: !0
|
|
6987
7044
|
}
|
|
6988
|
-
}),
|
|
6989
|
-
},
|
|
7045
|
+
}), i2 = (i) => (M(i.ns) && (i.ns = [i.ns]), M(i.fallbackLng) && (i.fallbackLng = [i.fallbackLng]), M(i.fallbackNS) && (i.fallbackNS = [i.fallbackNS]), i.supportedLngs && i.supportedLngs.indexOf("cimode") < 0 && (i.supportedLngs = i.supportedLngs.concat(["cimode"])), i), x1 = () => {
|
|
7046
|
+
}, n7 = (i) => {
|
|
6990
7047
|
Object.getOwnPropertyNames(Object.getPrototypeOf(i)).forEach((t) => {
|
|
6991
7048
|
typeof i[t] == "function" && (i[t] = i[t].bind(i));
|
|
6992
7049
|
});
|
|
6993
7050
|
};
|
|
6994
|
-
class
|
|
7051
|
+
class L1 extends H1 {
|
|
6995
7052
|
constructor() {
|
|
6996
7053
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0;
|
|
6997
|
-
if (super(), this.options =
|
|
7054
|
+
if (super(), this.options = i2(e), this.services = {}, this.logger = J, this.modules = {
|
|
6998
7055
|
external: []
|
|
6999
|
-
},
|
|
7056
|
+
}, n7(this), t && !this.isInitialized && !e.isClone) {
|
|
7000
7057
|
if (!this.options.initImmediate)
|
|
7001
7058
|
return this.init(e, t), this;
|
|
7002
7059
|
setTimeout(() => {
|
|
@@ -7008,11 +7065,11 @@ class w1 extends H1 {
|
|
|
7008
7065
|
var e = this;
|
|
7009
7066
|
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, s = arguments.length > 1 ? arguments[1] : void 0;
|
|
7010
7067
|
this.isInitializing = !0, typeof t == "function" && (s = t, t = {}), !t.defaultNS && t.defaultNS !== !1 && t.ns && (M(t.ns) ? t.defaultNS = t.ns : t.ns.indexOf("translation") < 0 && (t.defaultNS = t.ns[0]));
|
|
7011
|
-
const n =
|
|
7068
|
+
const n = t2();
|
|
7012
7069
|
this.options = {
|
|
7013
7070
|
...n,
|
|
7014
7071
|
...this.options,
|
|
7015
|
-
...
|
|
7072
|
+
...i2(t)
|
|
7016
7073
|
}, this.options.compatibilityAPI !== "v1" && (this.options.interpolation = {
|
|
7017
7074
|
...n.interpolation,
|
|
7018
7075
|
...this.options.interpolation
|
|
@@ -7021,29 +7078,29 @@ class w1 extends H1 {
|
|
|
7021
7078
|
if (!this.options.isClone) {
|
|
7022
7079
|
this.modules.logger ? J.init(o(this.modules.logger), this.options) : J.init(null, this.options);
|
|
7023
7080
|
let l;
|
|
7024
|
-
this.modules.formatter ? l = this.modules.formatter : typeof Intl < "u" && (l =
|
|
7025
|
-
const h = new
|
|
7026
|
-
this.store = new
|
|
7081
|
+
this.modules.formatter ? l = this.modules.formatter : typeof Intl < "u" && (l = t7);
|
|
7082
|
+
const h = new Q1(this.options);
|
|
7083
|
+
this.store = new J1(this.options.resources, this.options);
|
|
7027
7084
|
const g = this.services;
|
|
7028
|
-
g.logger = J, g.resourceStore = this.store, g.languageUtils = h, g.pluralResolver = new
|
|
7085
|
+
g.logger = J, g.resourceStore = this.store, g.languageUtils = h, g.pluralResolver = new Qt(h, {
|
|
7029
7086
|
prepend: this.options.pluralSeparator,
|
|
7030
7087
|
compatibilityJSON: this.options.compatibilityJSON,
|
|
7031
7088
|
simplifyPluralSuffix: this.options.simplifyPluralSuffix
|
|
7032
|
-
}), l && (!this.options.interpolation.format || this.options.interpolation.format === n.interpolation.format) && (g.formatter = o(l), g.formatter.init(g, this.options), this.options.interpolation.format = g.formatter.format.bind(g.formatter)), g.interpolator = new
|
|
7089
|
+
}), l && (!this.options.interpolation.format || this.options.interpolation.format === n.interpolation.format) && (g.formatter = o(l), g.formatter.init(g, this.options), this.options.interpolation.format = g.formatter.format.bind(g.formatter)), g.interpolator = new Xt(this.options), g.utils = {
|
|
7033
7090
|
hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
|
|
7034
|
-
}, g.backendConnector = new
|
|
7035
|
-
for (var
|
|
7036
|
-
|
|
7037
|
-
e.emit(f, ...
|
|
7038
|
-
}), 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
|
|
7039
|
-
for (var
|
|
7040
|
-
|
|
7041
|
-
e.emit(f, ...
|
|
7091
|
+
}, g.backendConnector = new s7(o(this.modules.backend), g.resourceStore, g, this.options), g.backendConnector.on("*", function(f) {
|
|
7092
|
+
for (var w = arguments.length, v = new Array(w > 1 ? w - 1 : 0), m = 1; m < w; m++)
|
|
7093
|
+
v[m - 1] = arguments[m];
|
|
7094
|
+
e.emit(f, ...v);
|
|
7095
|
+
}), 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 y1(this.services, this.options), this.translator.on("*", function(f) {
|
|
7096
|
+
for (var w = arguments.length, v = new Array(w > 1 ? w - 1 : 0), m = 1; m < w; m++)
|
|
7097
|
+
v[m - 1] = arguments[m];
|
|
7098
|
+
e.emit(f, ...v);
|
|
7042
7099
|
}), this.modules.external.forEach((f) => {
|
|
7043
7100
|
f.init && f.init(this);
|
|
7044
7101
|
});
|
|
7045
7102
|
}
|
|
7046
|
-
if (this.format = this.options.interpolation.format, s || (s =
|
|
7103
|
+
if (this.format = this.options.interpolation.format, s || (s = x1), this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
|
|
7047
7104
|
const l = this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);
|
|
7048
7105
|
l.length > 0 && l[0] !== "dev" && (this.options.lng = l[0]);
|
|
7049
7106
|
}
|
|
@@ -7056,7 +7113,7 @@ class w1 extends H1 {
|
|
|
7056
7113
|
return e.store[l](...arguments), e;
|
|
7057
7114
|
};
|
|
7058
7115
|
});
|
|
7059
|
-
const C =
|
|
7116
|
+
const C = f1(), d = () => {
|
|
7060
7117
|
const l = (h, g) => {
|
|
7061
7118
|
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), C.resolve(g), s(h, g);
|
|
7062
7119
|
};
|
|
@@ -7066,7 +7123,7 @@ class w1 extends H1 {
|
|
|
7066
7123
|
return this.options.resources || !this.options.initImmediate ? d() : setTimeout(d, 0), C;
|
|
7067
7124
|
}
|
|
7068
7125
|
loadResources(e) {
|
|
7069
|
-
let s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] :
|
|
7126
|
+
let s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : x1;
|
|
7070
7127
|
const n = M(e) ? e : this.language;
|
|
7071
7128
|
if (typeof e == "function" && (s = e), !this.options.resources || this.options.partialBundledLanguages) {
|
|
7072
7129
|
if (n && n.toLowerCase() === "cimode" && (!this.options.preload || this.options.preload.length === 0)) return s();
|
|
@@ -7083,8 +7140,8 @@ class w1 extends H1 {
|
|
|
7083
7140
|
s(null);
|
|
7084
7141
|
}
|
|
7085
7142
|
reloadResources(e, t, s) {
|
|
7086
|
-
const n =
|
|
7087
|
-
return typeof e == "function" && (s = e, e = void 0), typeof t == "function" && (s = t, t = void 0), e || (e = this.languages), t || (t = this.options.ns), s || (s =
|
|
7143
|
+
const n = f1();
|
|
7144
|
+
return typeof e == "function" && (s = e, e = void 0), typeof t == "function" && (s = t, t = void 0), e || (e = this.languages), t || (t = this.options.ns), s || (s = x1), this.services.backendConnector.reload(e, t, (o) => {
|
|
7088
7145
|
n.resolve(), s(o);
|
|
7089
7146
|
}), n;
|
|
7090
7147
|
}
|
|
@@ -7106,7 +7163,7 @@ class w1 extends H1 {
|
|
|
7106
7163
|
changeLanguage(e, t) {
|
|
7107
7164
|
var s = this;
|
|
7108
7165
|
this.isLanguageChangingTo = e;
|
|
7109
|
-
const n =
|
|
7166
|
+
const n = f1();
|
|
7110
7167
|
this.emit("languageChanging", e);
|
|
7111
7168
|
const o = (C) => {
|
|
7112
7169
|
this.language = C, this.languages = this.services.languageUtils.toResolveHierarchy(C), this.resolvedLanguage = void 0, this.setResolvedLanguage(C);
|
|
@@ -7140,7 +7197,7 @@ class w1 extends H1 {
|
|
|
7140
7197
|
C.lng = C.lng || o.lng, C.lngs = C.lngs || o.lngs, C.ns = C.ns || o.ns, C.keyPrefix !== "" && (C.keyPrefix = C.keyPrefix || s || o.keyPrefix);
|
|
7141
7198
|
const g = n.options.keySeparator || ".";
|
|
7142
7199
|
let f;
|
|
7143
|
-
return C.keyPrefix && Array.isArray(c) ? f = c.map((
|
|
7200
|
+
return C.keyPrefix && Array.isArray(c) ? f = c.map((w) => `${C.keyPrefix}${g}${w}`) : f = C.keyPrefix ? `${C.keyPrefix}${g}${c}` : c, n.t(f, C);
|
|
7144
7201
|
};
|
|
7145
7202
|
return M(e) ? o.lng = e : o.lngs = e, o.ns = t, o.keyPrefix = s, o;
|
|
7146
7203
|
}
|
|
@@ -7172,7 +7229,7 @@ class w1 extends H1 {
|
|
|
7172
7229
|
return !!(this.hasResourceBundle(s, e) || !this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages || c(s, e) && (!n || c(o, e)));
|
|
7173
7230
|
}
|
|
7174
7231
|
loadNamespaces(e, t) {
|
|
7175
|
-
const s =
|
|
7232
|
+
const s = f1();
|
|
7176
7233
|
return this.options.ns ? (M(e) && (e = [e]), e.forEach((n) => {
|
|
7177
7234
|
this.options.ns.indexOf(n) < 0 && this.options.ns.push(n);
|
|
7178
7235
|
}), this.loadResources((n) => {
|
|
@@ -7180,7 +7237,7 @@ class w1 extends H1 {
|
|
|
7180
7237
|
}), s) : (t && t(), Promise.resolve());
|
|
7181
7238
|
}
|
|
7182
7239
|
loadLanguages(e, t) {
|
|
7183
|
-
const s =
|
|
7240
|
+
const s = f1();
|
|
7184
7241
|
M(e) && (e = [e]);
|
|
7185
7242
|
const n = this.options.preload || [], o = e.filter((c) => n.indexOf(c) < 0 && this.services.languageUtils.isSupportedCode(c));
|
|
7186
7243
|
return o.length ? (this.options.preload = n.concat(o), this.loadResources((c) => {
|
|
@@ -7189,29 +7246,29 @@ class w1 extends H1 {
|
|
|
7189
7246
|
}
|
|
7190
7247
|
dir(e) {
|
|
7191
7248
|
if (e || (e = this.resolvedLanguage || (this.languages && this.languages.length > 0 ? this.languages[0] : this.language)), !e) return "rtl";
|
|
7192
|
-
const t = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], s = this.services && this.services.languageUtils || new
|
|
7249
|
+
const t = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], s = this.services && this.services.languageUtils || new Q1(t2());
|
|
7193
7250
|
return t.indexOf(s.getLanguagePartFromCode(e)) > -1 || e.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr";
|
|
7194
7251
|
}
|
|
7195
7252
|
static createInstance() {
|
|
7196
7253
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0;
|
|
7197
|
-
return new
|
|
7254
|
+
return new L1(e, t);
|
|
7198
7255
|
}
|
|
7199
7256
|
cloneInstance() {
|
|
7200
|
-
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] :
|
|
7257
|
+
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : x1;
|
|
7201
7258
|
const s = e.forkResourceStore;
|
|
7202
7259
|
s && delete e.forkResourceStore;
|
|
7203
7260
|
const n = {
|
|
7204
7261
|
...this.options,
|
|
7205
7262
|
...e,
|
|
7206
7263
|
isClone: !0
|
|
7207
|
-
}, o = new
|
|
7264
|
+
}, o = new L1(n);
|
|
7208
7265
|
return (e.debug !== void 0 || e.prefix !== void 0) && (o.logger = o.logger.clone(e)), ["store", "services", "language"].forEach((a) => {
|
|
7209
7266
|
o[a] = this[a];
|
|
7210
7267
|
}), o.services = {
|
|
7211
7268
|
...this.services
|
|
7212
7269
|
}, o.services.utils = {
|
|
7213
7270
|
hasLoadedNamespace: o.hasLoadedNamespace.bind(o)
|
|
7214
|
-
}, s && (o.store = new
|
|
7271
|
+
}, s && (o.store = new J1(this.store.data, n), o.services.resourceStore = o.store), o.translator = new y1(o.services, n), o.translator.on("*", function(a) {
|
|
7215
7272
|
for (var C = arguments.length, d = new Array(C > 1 ? C - 1 : 0), l = 1; l < C; l++)
|
|
7216
7273
|
d[l - 1] = arguments[l];
|
|
7217
7274
|
o.emit(a, ...d);
|
|
@@ -7229,8 +7286,8 @@ class w1 extends H1 {
|
|
|
7229
7286
|
};
|
|
7230
7287
|
}
|
|
7231
7288
|
}
|
|
7232
|
-
const B =
|
|
7233
|
-
B.createInstance =
|
|
7289
|
+
const B = L1.createInstance();
|
|
7290
|
+
B.createInstance = L1.createInstance;
|
|
7234
7291
|
B.createInstance;
|
|
7235
7292
|
B.dir;
|
|
7236
7293
|
B.init;
|
|
@@ -7245,18 +7302,18 @@ B.setDefaultNamespace;
|
|
|
7245
7302
|
B.hasLoadedNamespace;
|
|
7246
7303
|
B.loadNamespaces;
|
|
7247
7304
|
B.loadLanguages;
|
|
7248
|
-
function
|
|
7305
|
+
function r7() {
|
|
7249
7306
|
if (console && console.warn) {
|
|
7250
7307
|
for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
|
|
7251
7308
|
e[t] = arguments[t];
|
|
7252
7309
|
n1(e[0]) && (e[0] = `react-i18next:: ${e[0]}`), console.warn(...e);
|
|
7253
7310
|
}
|
|
7254
7311
|
}
|
|
7255
|
-
const
|
|
7256
|
-
function
|
|
7312
|
+
const s2 = {};
|
|
7313
|
+
function S1() {
|
|
7257
7314
|
for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
|
|
7258
7315
|
e[t] = arguments[t];
|
|
7259
|
-
n1(e[0]) &&
|
|
7316
|
+
n1(e[0]) && s2[e[0]] || (n1(e[0]) && (s2[e[0]] = /* @__PURE__ */ new Date()), r7(...e));
|
|
7260
7317
|
}
|
|
7261
7318
|
const g2 = (i, e) => () => {
|
|
7262
7319
|
if (i.isInitialized)
|
|
@@ -7269,13 +7326,13 @@ const g2 = (i, e) => () => {
|
|
|
7269
7326
|
};
|
|
7270
7327
|
i.on("initialized", t);
|
|
7271
7328
|
}
|
|
7272
|
-
},
|
|
7329
|
+
}, n2 = (i, e, t) => {
|
|
7273
7330
|
i.loadNamespaces(e, g2(i, t));
|
|
7274
|
-
},
|
|
7331
|
+
}, r2 = (i, e, t, s) => {
|
|
7275
7332
|
n1(t) && (t = [t]), t.forEach((n) => {
|
|
7276
7333
|
i.options.ns.indexOf(n) < 0 && i.options.ns.push(n);
|
|
7277
7334
|
}), i.loadLanguages(e, g2(i, s));
|
|
7278
|
-
},
|
|
7335
|
+
}, o7 = function(i, e) {
|
|
7279
7336
|
let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
7280
7337
|
const s = e.languages[0], n = e.options ? e.options.fallbackLng : !1, o = e.languages[e.languages.length - 1];
|
|
7281
7338
|
if (s.toLowerCase() === "cimode") return !0;
|
|
@@ -7284,15 +7341,15 @@ const g2 = (i, e) => () => {
|
|
|
7284
7341
|
return d === -1 || d === 2;
|
|
7285
7342
|
};
|
|
7286
7343
|
return t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && e.services.backendConnector.backend && e.isLanguageChangingTo && !c(e.isLanguageChangingTo, i) ? !1 : !!(e.hasResourceBundle(s, i) || !e.services.backendConnector.backend || e.options.resources && !e.options.partialBundledLanguages || c(s, i) && (!n || c(o, i)));
|
|
7287
|
-
},
|
|
7344
|
+
}, a7 = function(i, e) {
|
|
7288
7345
|
let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
7289
|
-
return !e.languages || !e.languages.length ? (
|
|
7346
|
+
return !e.languages || !e.languages.length ? (S1("i18n.languages were undefined or empty", e.languages), !0) : e.options.ignoreJSONStructure !== void 0 ? e.hasLoadedNamespace(i, {
|
|
7290
7347
|
lng: t.lng,
|
|
7291
7348
|
precheck: (n, o) => {
|
|
7292
7349
|
if (t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && n.services.backendConnector.backend && n.isLanguageChangingTo && !o(n.isLanguageChangingTo, i)) return !1;
|
|
7293
7350
|
}
|
|
7294
|
-
}) :
|
|
7295
|
-
}, n1 = (i) => typeof i == "string",
|
|
7351
|
+
}) : o7(i, e, t);
|
|
7352
|
+
}, n1 = (i) => typeof i == "string", l7 = (i) => typeof i == "object" && i !== null, h7 = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, c7 = {
|
|
7296
7353
|
"&": "&",
|
|
7297
7354
|
"&": "&",
|
|
7298
7355
|
"<": "<",
|
|
@@ -7313,8 +7370,8 @@ const g2 = (i, e) => () => {
|
|
|
7313
7370
|
"…": "…",
|
|
7314
7371
|
"/": "/",
|
|
7315
7372
|
"/": "/"
|
|
7316
|
-
},
|
|
7317
|
-
let
|
|
7373
|
+
}, d7 = (i) => c7[i], C7 = (i) => i.replace(h7, d7);
|
|
7374
|
+
let Z1 = {
|
|
7318
7375
|
bindI18n: "languageChanged",
|
|
7319
7376
|
bindI18nStore: "",
|
|
7320
7377
|
transEmptyNodeValue: "",
|
|
@@ -7322,27 +7379,27 @@ let S1 = {
|
|
|
7322
7379
|
transWrapTextNodes: "",
|
|
7323
7380
|
transKeepBasicHtmlNodesFor: ["br", "strong", "i", "p"],
|
|
7324
7381
|
useSuspense: !0,
|
|
7325
|
-
unescape:
|
|
7382
|
+
unescape: C7
|
|
7326
7383
|
};
|
|
7327
|
-
const
|
|
7384
|
+
const g7 = function() {
|
|
7328
7385
|
let i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
7329
|
-
|
|
7330
|
-
...
|
|
7386
|
+
Z1 = {
|
|
7387
|
+
...Z1,
|
|
7331
7388
|
...i
|
|
7332
7389
|
};
|
|
7333
|
-
},
|
|
7390
|
+
}, u7 = () => Z1;
|
|
7334
7391
|
let u2;
|
|
7335
|
-
const
|
|
7392
|
+
const f7 = (i) => {
|
|
7336
7393
|
u2 = i;
|
|
7337
|
-
},
|
|
7394
|
+
}, p7 = () => u2, m7 = {
|
|
7338
7395
|
type: "3rdParty",
|
|
7339
7396
|
init(i) {
|
|
7340
|
-
|
|
7397
|
+
g7(i.options.react), f7(i);
|
|
7341
7398
|
}
|
|
7342
|
-
},
|
|
7343
|
-
class
|
|
7399
|
+
}, w7 = C1();
|
|
7400
|
+
class L7 {
|
|
7344
7401
|
constructor() {
|
|
7345
|
-
|
|
7402
|
+
T1(this, "getUsedNamespaces", () => Object.keys(this.usedNamespaces));
|
|
7346
7403
|
this.usedNamespaces = {};
|
|
7347
7404
|
}
|
|
7348
7405
|
addUsedNamespaces(e) {
|
|
@@ -7351,27 +7408,27 @@ class f7 {
|
|
|
7351
7408
|
});
|
|
7352
7409
|
}
|
|
7353
7410
|
}
|
|
7354
|
-
const
|
|
7355
|
-
const t =
|
|
7411
|
+
const k7 = (i, e) => {
|
|
7412
|
+
const t = $();
|
|
7356
7413
|
return S(() => {
|
|
7357
7414
|
t.current = i;
|
|
7358
7415
|
}, [i, e]), t.current;
|
|
7359
|
-
}, f2 = (i, e, t, s) => i.getFixedT(e, t, s),
|
|
7416
|
+
}, f2 = (i, e, t, s) => i.getFixedT(e, t, s), v7 = (i, e, t, s) => K(f2(i, e, t, s), [i, e, t, s]), N7 = function(i) {
|
|
7360
7417
|
let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
7361
7418
|
const {
|
|
7362
7419
|
i18n: t
|
|
7363
7420
|
} = e, {
|
|
7364
7421
|
i18n: s,
|
|
7365
7422
|
defaultNS: n
|
|
7366
|
-
} = r1(
|
|
7367
|
-
if (o && !o.reportNamespaces && (o.reportNamespaces = new
|
|
7368
|
-
|
|
7369
|
-
const p = (_,
|
|
7370
|
-
return
|
|
7423
|
+
} = r1(w7) || {}, o = t || s || p7();
|
|
7424
|
+
if (o && !o.reportNamespaces && (o.reportNamespaces = new L7()), !o) {
|
|
7425
|
+
S1("You will need to pass in an i18next instance by using initReactI18next");
|
|
7426
|
+
const p = (_, R) => n1(R) ? R : l7(R) && n1(R.defaultValue) ? R.defaultValue : Array.isArray(_) ? _[_.length - 1] : _, N = [p, {}, !1];
|
|
7427
|
+
return N.t = p, N.i18n = {}, N.ready = !1, N;
|
|
7371
7428
|
}
|
|
7372
|
-
o.options.react && o.options.react.wait !== void 0 &&
|
|
7429
|
+
o.options.react && o.options.react.wait !== void 0 && S1("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
|
|
7373
7430
|
const c = {
|
|
7374
|
-
...
|
|
7431
|
+
...u7(),
|
|
7375
7432
|
...o.options.react,
|
|
7376
7433
|
...e
|
|
7377
7434
|
}, {
|
|
@@ -7380,76 +7437,76 @@ const p7 = (i, e) => {
|
|
|
7380
7437
|
} = c;
|
|
7381
7438
|
let d = i;
|
|
7382
7439
|
d = n1(d) ? [d] : d || ["translation"], o.reportNamespaces.addUsedNamespaces && o.reportNamespaces.addUsedNamespaces(d);
|
|
7383
|
-
const l = (o.isInitialized || o.initializedStoreOnce) && d.every((p) =>
|
|
7440
|
+
const l = (o.isInitialized || o.initializedStoreOnce) && d.every((p) => a7(p, o, c)), h = v7(o, e.lng || null, c.nsMode === "fallback" ? d : d[0], C), g = () => h, f = () => f2(o, e.lng || null, c.nsMode === "fallback" ? d : d[0], C), [w, v] = I(g);
|
|
7384
7441
|
let m = d.join();
|
|
7385
7442
|
e.lng && (m = `${e.lng}${m}`);
|
|
7386
|
-
const
|
|
7443
|
+
const b = k7(m), y = $(!0);
|
|
7387
7444
|
S(() => {
|
|
7388
7445
|
const {
|
|
7389
7446
|
bindI18n: p,
|
|
7390
|
-
bindI18nStore:
|
|
7447
|
+
bindI18nStore: N
|
|
7391
7448
|
} = c;
|
|
7392
|
-
|
|
7393
|
-
|
|
7394
|
-
}) :
|
|
7395
|
-
|
|
7396
|
-
})), l &&
|
|
7449
|
+
y.current = !0, !l && !a && (e.lng ? r2(o, e.lng, d, () => {
|
|
7450
|
+
y.current && v(f);
|
|
7451
|
+
}) : n2(o, d, () => {
|
|
7452
|
+
y.current && v(f);
|
|
7453
|
+
})), l && b && b !== m && y.current && v(f);
|
|
7397
7454
|
const _ = () => {
|
|
7398
|
-
|
|
7455
|
+
y.current && v(f);
|
|
7399
7456
|
};
|
|
7400
|
-
return p && o && o.on(p, _),
|
|
7401
|
-
|
|
7457
|
+
return p && o && o.on(p, _), N && o && o.store.on(N, _), () => {
|
|
7458
|
+
y.current = !1, p && o && p.split(" ").forEach((R) => o.off(R, _)), N && o && N.split(" ").forEach((R) => o.store.off(R, _));
|
|
7402
7459
|
};
|
|
7403
7460
|
}, [o, m]), S(() => {
|
|
7404
|
-
|
|
7461
|
+
y.current && l && v(g);
|
|
7405
7462
|
}, [o, C, l]);
|
|
7406
|
-
const E = [
|
|
7407
|
-
if (E.t =
|
|
7463
|
+
const E = [w, o, l];
|
|
7464
|
+
if (E.t = w, E.i18n = o, E.ready = l, l || !l && !a) return E;
|
|
7408
7465
|
throw new Promise((p) => {
|
|
7409
|
-
e.lng ?
|
|
7466
|
+
e.lng ? r2(o, e.lng, d, () => p()) : n2(o, d, () => p());
|
|
7410
7467
|
});
|
|
7411
|
-
},
|
|
7412
|
-
placeholder:
|
|
7413
|
-
},
|
|
7414
|
-
placeholder:
|
|
7468
|
+
}, R7 = "City", x7 = {
|
|
7469
|
+
placeholder: R7
|
|
7470
|
+
}, _7 = "Город", M7 = {
|
|
7471
|
+
placeholder: _7
|
|
7415
7472
|
};
|
|
7416
|
-
function
|
|
7417
|
-
const e =
|
|
7473
|
+
function b7(i) {
|
|
7474
|
+
const e = $(i);
|
|
7418
7475
|
return S(() => {
|
|
7419
7476
|
e.current = i;
|
|
7420
7477
|
}, [i]), e.current;
|
|
7421
7478
|
}
|
|
7422
|
-
B.use(
|
|
7479
|
+
B.use(m7).init({
|
|
7423
7480
|
defaultNS: "common",
|
|
7424
7481
|
lng: "en",
|
|
7425
7482
|
resources: {
|
|
7426
7483
|
en: {
|
|
7427
|
-
common:
|
|
7484
|
+
common: x7
|
|
7428
7485
|
},
|
|
7429
7486
|
ru: {
|
|
7430
|
-
common:
|
|
7487
|
+
common: M7
|
|
7431
7488
|
}
|
|
7432
7489
|
}
|
|
7433
7490
|
});
|
|
7434
|
-
const
|
|
7491
|
+
const O7 = d1(
|
|
7435
7492
|
({ width: i, selectedCountry: e, onChange: t, value: s, id: n, disabled: o, clearable: c }, a) => {
|
|
7436
|
-
const [C, d] =
|
|
7493
|
+
const [C, d] = I(
|
|
7437
7494
|
[]
|
|
7438
|
-
), [l, h] =
|
|
7495
|
+
), [l, h] = I(!1), { locale: g, axiosPeople: f } = r1(L2), w = $(!1), v = $(null), m = $(C), b = b7(e);
|
|
7439
7496
|
if (!f)
|
|
7440
7497
|
throw new Error(
|
|
7441
7498
|
`CitySelect requires "axiosPeople" to fetch cities.
|
|
7442
7499
|
Please provide it via SNMTUiContext.`
|
|
7443
7500
|
);
|
|
7444
|
-
const { t:
|
|
7445
|
-
async (
|
|
7446
|
-
const _ = m.current.find((
|
|
7501
|
+
const { t: y } = N7("common", { lng: g }), E = K(
|
|
7502
|
+
async (N) => {
|
|
7503
|
+
const _ = m.current.find((R) => R.value === N);
|
|
7447
7504
|
if (_)
|
|
7448
7505
|
return [_];
|
|
7449
7506
|
try {
|
|
7450
7507
|
const V = (await f.post("v1/cities/search", {
|
|
7451
7508
|
filters: {
|
|
7452
|
-
geoNameId: [
|
|
7509
|
+
geoNameId: [N],
|
|
7453
7510
|
countryId: [e]
|
|
7454
7511
|
}
|
|
7455
7512
|
})).data.data;
|
|
@@ -7460,8 +7517,8 @@ const E7 = L1(
|
|
|
7460
7517
|
label: V[0].name
|
|
7461
7518
|
};
|
|
7462
7519
|
return m.current = [...m.current, D], [D];
|
|
7463
|
-
} catch (
|
|
7464
|
-
return console.error("CitySelect. fetchSelectedItems error",
|
|
7520
|
+
} catch (R) {
|
|
7521
|
+
return console.error("CitySelect. fetchSelectedItems error", R), [];
|
|
7465
7522
|
}
|
|
7466
7523
|
},
|
|
7467
7524
|
[f, e, t]
|
|
@@ -7473,37 +7530,37 @@ const E7 = L1(
|
|
|
7473
7530
|
d(_);
|
|
7474
7531
|
})();
|
|
7475
7532
|
}, []), S(() => {
|
|
7476
|
-
var
|
|
7477
|
-
|
|
7478
|
-
}, [e, t,
|
|
7533
|
+
var N;
|
|
7534
|
+
b !== e ? w.current && (t(null), d([]), m.current = [], (N = v.current) == null || N.refetchOptions()) : w.current = !0;
|
|
7535
|
+
}, [e, t, b]);
|
|
7479
7536
|
const p = K(
|
|
7480
7537
|
async ({
|
|
7481
|
-
limit:
|
|
7538
|
+
limit: N,
|
|
7482
7539
|
offset: _,
|
|
7483
|
-
search:
|
|
7540
|
+
search: R
|
|
7484
7541
|
}) => {
|
|
7485
7542
|
try {
|
|
7486
7543
|
h(!0);
|
|
7487
7544
|
const V = {
|
|
7488
7545
|
offset: _,
|
|
7489
|
-
limit:
|
|
7546
|
+
limit: N,
|
|
7490
7547
|
includeCount: !0
|
|
7491
7548
|
};
|
|
7492
|
-
V.filters = {}, e && e.length > 0 && (V.filters.countryId = [e]),
|
|
7549
|
+
V.filters = {}, e && e.length > 0 && (V.filters.countryId = [e]), R && (V.search = R);
|
|
7493
7550
|
const D = await f.post("v1/cities/search", V), T = (D == null ? void 0 : D.data.data) || [], P = D == null ? void 0 : D.data.metadata.count;
|
|
7494
7551
|
return {
|
|
7495
|
-
options: T.map((
|
|
7496
|
-
value:
|
|
7497
|
-
label:
|
|
7552
|
+
options: T.map((A) => ({
|
|
7553
|
+
value: A.geoNameId,
|
|
7554
|
+
label: A.name
|
|
7498
7555
|
})),
|
|
7499
7556
|
count: P,
|
|
7500
|
-
limit:
|
|
7557
|
+
limit: N
|
|
7501
7558
|
};
|
|
7502
7559
|
} catch (V) {
|
|
7503
7560
|
return console.error("CitySelect. loadOptions error", V), {
|
|
7504
7561
|
options: [],
|
|
7505
7562
|
count: 0,
|
|
7506
|
-
limit:
|
|
7563
|
+
limit: N
|
|
7507
7564
|
};
|
|
7508
7565
|
} finally {
|
|
7509
7566
|
h(!1);
|
|
@@ -7511,16 +7568,16 @@ const E7 = L1(
|
|
|
7511
7568
|
},
|
|
7512
7569
|
[f, e]
|
|
7513
7570
|
);
|
|
7514
|
-
return
|
|
7515
|
-
|
|
7571
|
+
return k1(a, () => v.current), /* @__PURE__ */ r("div", { className: "snmt-city-select", children: /* @__PURE__ */ r(
|
|
7572
|
+
St,
|
|
7516
7573
|
{
|
|
7517
7574
|
id: n,
|
|
7518
7575
|
width: i,
|
|
7519
7576
|
value: l && s ? null : s,
|
|
7520
7577
|
onChange: t,
|
|
7521
|
-
ref:
|
|
7578
|
+
ref: v,
|
|
7522
7579
|
search: !0,
|
|
7523
|
-
placeholder:
|
|
7580
|
+
placeholder: y("placeholder"),
|
|
7524
7581
|
disabled: o,
|
|
7525
7582
|
clearable: c,
|
|
7526
7583
|
loadOptions: p,
|
|
@@ -7532,5 +7589,5 @@ const E7 = L1(
|
|
|
7532
7589
|
}
|
|
7533
7590
|
);
|
|
7534
7591
|
export {
|
|
7535
|
-
|
|
7592
|
+
O7 as CitySelect
|
|
7536
7593
|
};
|