@snmt-react-ui/country-select 2.8.6 → 2.8.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/country-select.js +734 -868
- package/package.json +3 -3
package/dist/country-select.js
CHANGED
|
@@ -4,7 +4,7 @@ var V1 = (i, e, t) => g2(i, typeof e != "symbol" ? e + "" : e, t);
|
|
|
4
4
|
import "./index.css";
|
|
5
5
|
import { jsx as r, Fragment as W, jsxs as u } from "react/jsx-runtime";
|
|
6
6
|
import { SNMTUiContext as u2 } from "@snmt-react-ui/core";
|
|
7
|
-
import { Select as
|
|
7
|
+
import { Select as f2, Tag as p2, Flex as m2, Checkbox as w2, Avatar as L2, Typography as J1, Popover as k2 } from "antd";
|
|
8
8
|
import { forwardRef as w1, useState as I, useRef as J, useEffect as A, useCallback as K, useContext as Q, createContext as t1, useImperativeHandle as Q1 } from "react";
|
|
9
9
|
var v2 = Object.defineProperty, N2 = (i, e, t) => e in i ? v2(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, R2 = (i, e, t) => N2(i, e + "", t), x2 = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
10
10
|
function M2() {
|
|
@@ -33,7 +33,7 @@ const q1 = (i, e) => () => {
|
|
|
33
33
|
}
|
|
34
34
|
}, A1 = (i, e, t) => {
|
|
35
35
|
i.loadNamespaces(e, q1(i, t));
|
|
36
|
-
},
|
|
36
|
+
}, Z1 = (i, e, t, s) => {
|
|
37
37
|
U(t) && (t = [t]), t.forEach((n) => {
|
|
38
38
|
i.options.ns.indexOf(n) < 0 && i.options.ns.push(n);
|
|
39
39
|
}), i.loadLanguages(e, q1(i, s));
|
|
@@ -41,11 +41,11 @@ const q1 = (i, e) => () => {
|
|
|
41
41
|
let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
42
42
|
const s = e.languages[0], n = e.options ? e.options.fallbackLng : !1, o = e.languages[e.languages.length - 1];
|
|
43
43
|
if (s.toLowerCase() === "cimode") return !0;
|
|
44
|
-
const
|
|
44
|
+
const h = (a, C) => {
|
|
45
45
|
const d = e.services.backendConnector.state[`${a}|${C}`];
|
|
46
46
|
return d === -1 || d === 2;
|
|
47
47
|
};
|
|
48
|
-
return t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && e.services.backendConnector.backend && e.isLanguageChangingTo && !
|
|
48
|
+
return t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && e.services.backendConnector.backend && e.isLanguageChangingTo && !h(e.isLanguageChangingTo, i) ? !1 : !!(e.hasResourceBundle(s, i) || !e.services.backendConnector.backend || e.options.resources && !e.options.partialBundledLanguages || h(s, i) && (!n || h(o, i)));
|
|
49
49
|
}, b2 = function(i, e) {
|
|
50
50
|
let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
51
51
|
return !e.languages || !e.languages.length ? (x1("i18n.languages were undefined or empty", e.languages), !0) : e.options.ignoreJSONStructure !== void 0 ? e.hasLoadedNamespace(i, {
|
|
@@ -86,9 +86,9 @@ let A2 = {
|
|
|
86
86
|
useSuspense: !0,
|
|
87
87
|
unescape: I2
|
|
88
88
|
};
|
|
89
|
-
const
|
|
90
|
-
let
|
|
91
|
-
const S2 = () =>
|
|
89
|
+
const Z2 = () => A2;
|
|
90
|
+
let O2;
|
|
91
|
+
const S2 = () => O2, D2 = t1();
|
|
92
92
|
class G2 {
|
|
93
93
|
constructor() {
|
|
94
94
|
R2(this, "getUsedNamespaces", () => Object.keys(this.usedNamespaces)), this.usedNamespaces = {};
|
|
@@ -114,47 +114,47 @@ const T2 = (i, e) => {
|
|
|
114
114
|
} = Q(D2) || {}, o = t || s || S2();
|
|
115
115
|
if (o && !o.reportNamespaces && (o.reportNamespaces = new G2()), !o) {
|
|
116
116
|
x1("You will need to pass in an i18next instance by using initReactI18next");
|
|
117
|
-
const
|
|
118
|
-
return _.t =
|
|
117
|
+
const p = (R, x) => U(x) ? x : y2(x) && U(x.defaultValue) ? x.defaultValue : Array.isArray(R) ? R[R.length - 1] : R, _ = [p, {}, !1];
|
|
118
|
+
return _.t = p, _.i18n = {}, _.ready = !1, _;
|
|
119
119
|
}
|
|
120
120
|
o.options.react && o.options.react.wait !== void 0 && x1("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
|
|
121
|
-
const
|
|
122
|
-
...
|
|
121
|
+
const h = {
|
|
122
|
+
...Z2(),
|
|
123
123
|
...o.options.react,
|
|
124
124
|
...e
|
|
125
125
|
}, {
|
|
126
126
|
useSuspense: a,
|
|
127
127
|
keyPrefix: C
|
|
128
|
-
} =
|
|
128
|
+
} = h;
|
|
129
129
|
let d = i;
|
|
130
130
|
d = U(d) ? [d] : d || ["translation"], o.reportNamespaces.addUsedNamespaces && o.reportNamespaces.addUsedNamespaces(d);
|
|
131
|
-
const l = (o.isInitialized || o.initializedStoreOnce) && d.every((
|
|
131
|
+
const l = (o.isInitialized || o.initializedStoreOnce) && d.every((p) => b2(p, o, h)), c = K2(o, e.lng || null, h.nsMode === "fallback" ? d : d[0], C), g = () => c, f = () => X1(o, e.lng || null, h.nsMode === "fallback" ? d : d[0], C), [k, N] = I(g);
|
|
132
132
|
let m = d.join();
|
|
133
133
|
e.lng && (m = `${e.lng}${m}`);
|
|
134
134
|
const y = T2(m), b = J(!0);
|
|
135
135
|
A(() => {
|
|
136
136
|
const {
|
|
137
|
-
bindI18n:
|
|
137
|
+
bindI18n: p,
|
|
138
138
|
bindI18nStore: _
|
|
139
|
-
} =
|
|
140
|
-
b.current = !0, !l && !a && (e.lng ?
|
|
141
|
-
b.current && N(
|
|
139
|
+
} = h;
|
|
140
|
+
b.current = !0, !l && !a && (e.lng ? Z1(o, e.lng, d, () => {
|
|
141
|
+
b.current && N(f);
|
|
142
142
|
}) : A1(o, d, () => {
|
|
143
|
-
b.current && N(
|
|
144
|
-
})), l && y && y !== m && b.current && N(
|
|
143
|
+
b.current && N(f);
|
|
144
|
+
})), l && y && y !== m && b.current && N(f);
|
|
145
145
|
const R = () => {
|
|
146
|
-
b.current && N(
|
|
146
|
+
b.current && N(f);
|
|
147
147
|
};
|
|
148
|
-
return
|
|
149
|
-
b.current = !1,
|
|
148
|
+
return p && o && o.on(p, R), _ && o && o.store.on(_, R), () => {
|
|
149
|
+
b.current = !1, p && o && p.split(" ").forEach((x) => o.off(x, R)), _ && o && _.split(" ").forEach((x) => o.store.off(x, R));
|
|
150
150
|
};
|
|
151
151
|
}, [o, m]), A(() => {
|
|
152
152
|
b.current && l && N(g);
|
|
153
153
|
}, [o, C, l]);
|
|
154
|
-
const E = [
|
|
155
|
-
if (E.t =
|
|
156
|
-
throw new Promise((
|
|
157
|
-
e.lng ?
|
|
154
|
+
const E = [k, o, l];
|
|
155
|
+
if (E.t = k, E.i18n = o, E.ready = l, l || !l && !a) return E;
|
|
156
|
+
throw new Promise((p) => {
|
|
157
|
+
e.lng ? Z1(o, e.lng, d, () => p()) : A1(o, d, () => p());
|
|
158
158
|
});
|
|
159
159
|
}, r1 = ({
|
|
160
160
|
children: i,
|
|
@@ -163,7 +163,7 @@ const T2 = (i, e) => {
|
|
|
163
163
|
alignItems: s = "normal",
|
|
164
164
|
justifyContent: n = "normal",
|
|
165
165
|
flex: o,
|
|
166
|
-
gap:
|
|
166
|
+
gap: h,
|
|
167
167
|
padding: a
|
|
168
168
|
}) => /* @__PURE__ */ r(
|
|
169
169
|
m2,
|
|
@@ -174,7 +174,7 @@ const T2 = (i, e) => {
|
|
|
174
174
|
align: s,
|
|
175
175
|
justify: n,
|
|
176
176
|
flex: o,
|
|
177
|
-
gap:
|
|
177
|
+
gap: h,
|
|
178
178
|
style: { padding: a },
|
|
179
179
|
children: i
|
|
180
180
|
}
|
|
@@ -206,7 +206,7 @@ const Y2 = ({
|
|
|
206
206
|
disabled: n = !1,
|
|
207
207
|
disableUncheck: o = !1
|
|
208
208
|
}) => {
|
|
209
|
-
const [
|
|
209
|
+
const [h, a] = I(i), [C, d] = I(e);
|
|
210
210
|
A(() => {
|
|
211
211
|
a(i), d(e);
|
|
212
212
|
}, [i, e]);
|
|
@@ -215,17 +215,17 @@ const Y2 = ({
|
|
|
215
215
|
w2,
|
|
216
216
|
{
|
|
217
217
|
className: `snmt-checkbox snmt-checkbox-${l}`,
|
|
218
|
-
checked:
|
|
218
|
+
checked: h,
|
|
219
219
|
indeterminate: C,
|
|
220
|
-
onChange: (
|
|
221
|
-
o &&
|
|
220
|
+
onChange: (c) => {
|
|
221
|
+
o && h || (d(!1), a(c.target.checked), s && s(c));
|
|
222
222
|
},
|
|
223
223
|
disabled: n,
|
|
224
224
|
children: t
|
|
225
225
|
}
|
|
226
226
|
);
|
|
227
227
|
};
|
|
228
|
-
var
|
|
228
|
+
var w = /* @__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))(w || {});
|
|
229
229
|
const e2 = t1({
|
|
230
230
|
locale: "en",
|
|
231
231
|
theme: "light"
|
|
@@ -261,7 +261,7 @@ const j2 = ({
|
|
|
261
261
|
), $2 = ({
|
|
262
262
|
width: i = 20,
|
|
263
263
|
height: e = 20,
|
|
264
|
-
color: t =
|
|
264
|
+
color: t = w.GREY_DARK_5,
|
|
265
265
|
className: s,
|
|
266
266
|
onClick: n
|
|
267
267
|
}) => /* @__PURE__ */ u(
|
|
@@ -336,7 +336,7 @@ const j2 = ({
|
|
|
336
336
|
), W2 = ({
|
|
337
337
|
width: i = 20,
|
|
338
338
|
height: e = 20,
|
|
339
|
-
color: t =
|
|
339
|
+
color: t = w.GREY_DARK_5,
|
|
340
340
|
className: s,
|
|
341
341
|
onClick: n
|
|
342
342
|
}) => /* @__PURE__ */ u(
|
|
@@ -383,7 +383,7 @@ const j2 = ({
|
|
|
383
383
|
), U2 = ({
|
|
384
384
|
width: i = 20,
|
|
385
385
|
height: e = 20,
|
|
386
|
-
color: t =
|
|
386
|
+
color: t = w.GREY_DARK_5,
|
|
387
387
|
className: s,
|
|
388
388
|
onClick: n
|
|
389
389
|
}) => /* @__PURE__ */ r(
|
|
@@ -407,7 +407,7 @@ const j2 = ({
|
|
|
407
407
|
), z2 = ({
|
|
408
408
|
width: i = 20,
|
|
409
409
|
height: e = 20,
|
|
410
|
-
color: t =
|
|
410
|
+
color: t = w.GREY_DARK_5,
|
|
411
411
|
className: s,
|
|
412
412
|
onClick: n
|
|
413
413
|
}) => /* @__PURE__ */ r(
|
|
@@ -431,7 +431,7 @@ const j2 = ({
|
|
|
431
431
|
), J2 = ({
|
|
432
432
|
width: i = 20,
|
|
433
433
|
height: e = 20,
|
|
434
|
-
color: t =
|
|
434
|
+
color: t = w.GREY_DARK_5,
|
|
435
435
|
className: s,
|
|
436
436
|
onClick: n
|
|
437
437
|
}) => /* @__PURE__ */ r(
|
|
@@ -455,7 +455,7 @@ const j2 = ({
|
|
|
455
455
|
), Q2 = ({
|
|
456
456
|
width: i = 20,
|
|
457
457
|
height: e = 20,
|
|
458
|
-
color: t =
|
|
458
|
+
color: t = w.GREY_DARK_5,
|
|
459
459
|
className: s,
|
|
460
460
|
onClick: n
|
|
461
461
|
}) => /* @__PURE__ */ u(
|
|
@@ -516,7 +516,7 @@ const j2 = ({
|
|
|
516
516
|
), q2 = ({
|
|
517
517
|
width: i = 20,
|
|
518
518
|
height: e = 20,
|
|
519
|
-
color: t =
|
|
519
|
+
color: t = w.GREY_DARK_5,
|
|
520
520
|
className: s,
|
|
521
521
|
onClick: n
|
|
522
522
|
}) => /* @__PURE__ */ u(
|
|
@@ -563,7 +563,7 @@ const j2 = ({
|
|
|
563
563
|
), X2 = ({
|
|
564
564
|
width: i = 20,
|
|
565
565
|
height: e = 20,
|
|
566
|
-
color: t =
|
|
566
|
+
color: t = w.GREY_DARK_5,
|
|
567
567
|
className: s,
|
|
568
568
|
onClick: n
|
|
569
569
|
}) => /* @__PURE__ */ u(
|
|
@@ -603,7 +603,7 @@ const j2 = ({
|
|
|
603
603
|
), e5 = ({
|
|
604
604
|
width: i = 20,
|
|
605
605
|
height: e = 20,
|
|
606
|
-
color: t =
|
|
606
|
+
color: t = w.GREY_DARK_5,
|
|
607
607
|
className: s,
|
|
608
608
|
onClick: n
|
|
609
609
|
}) => /* @__PURE__ */ u(
|
|
@@ -643,7 +643,7 @@ const j2 = ({
|
|
|
643
643
|
), t5 = ({
|
|
644
644
|
width: i = 20,
|
|
645
645
|
height: e = 20,
|
|
646
|
-
color: t =
|
|
646
|
+
color: t = w.GREY_DARK_5,
|
|
647
647
|
className: s,
|
|
648
648
|
onClick: n
|
|
649
649
|
}) => /* @__PURE__ */ u(
|
|
@@ -690,7 +690,7 @@ const j2 = ({
|
|
|
690
690
|
), i5 = ({
|
|
691
691
|
width: i = 20,
|
|
692
692
|
height: e = 20,
|
|
693
|
-
color: t =
|
|
693
|
+
color: t = w.GREY_DARK_5,
|
|
694
694
|
className: s,
|
|
695
695
|
onClick: n
|
|
696
696
|
}) => /* @__PURE__ */ u(
|
|
@@ -737,7 +737,7 @@ const j2 = ({
|
|
|
737
737
|
), s5 = ({
|
|
738
738
|
width: i = 20,
|
|
739
739
|
height: e = 20,
|
|
740
|
-
color: t =
|
|
740
|
+
color: t = w.GREY_DARK_5,
|
|
741
741
|
className: s,
|
|
742
742
|
onClick: n
|
|
743
743
|
}) => /* @__PURE__ */ u(
|
|
@@ -784,7 +784,7 @@ const j2 = ({
|
|
|
784
784
|
), n5 = ({
|
|
785
785
|
width: i = 20,
|
|
786
786
|
height: e = 20,
|
|
787
|
-
color: t =
|
|
787
|
+
color: t = w.GREY_DARK_5,
|
|
788
788
|
className: s,
|
|
789
789
|
onClick: n
|
|
790
790
|
}) => /* @__PURE__ */ u(
|
|
@@ -824,7 +824,7 @@ const j2 = ({
|
|
|
824
824
|
), r5 = ({
|
|
825
825
|
width: i = 20,
|
|
826
826
|
height: e = 20,
|
|
827
|
-
color: t =
|
|
827
|
+
color: t = w.GREY_DARK_5,
|
|
828
828
|
className: s,
|
|
829
829
|
onClick: n
|
|
830
830
|
}) => /* @__PURE__ */ u(
|
|
@@ -857,7 +857,7 @@ const j2 = ({
|
|
|
857
857
|
), o5 = ({
|
|
858
858
|
width: i = 20,
|
|
859
859
|
height: e = 20,
|
|
860
|
-
color: t =
|
|
860
|
+
color: t = w.GREY_DARK_5,
|
|
861
861
|
className: s,
|
|
862
862
|
onClick: n
|
|
863
863
|
}) => /* @__PURE__ */ u(
|
|
@@ -890,7 +890,7 @@ const j2 = ({
|
|
|
890
890
|
), a5 = ({
|
|
891
891
|
width: i = 20,
|
|
892
892
|
height: e = 20,
|
|
893
|
-
color: t =
|
|
893
|
+
color: t = w.GREY_DARK_5,
|
|
894
894
|
className: s,
|
|
895
895
|
onClick: n
|
|
896
896
|
}) => /* @__PURE__ */ u(
|
|
@@ -923,7 +923,7 @@ const j2 = ({
|
|
|
923
923
|
), l5 = ({
|
|
924
924
|
width: i = 20,
|
|
925
925
|
height: e = 20,
|
|
926
|
-
color: t =
|
|
926
|
+
color: t = w.GREY_DARK_5,
|
|
927
927
|
className: s,
|
|
928
928
|
onClick: n
|
|
929
929
|
}) => /* @__PURE__ */ u(
|
|
@@ -956,7 +956,7 @@ const j2 = ({
|
|
|
956
956
|
), h5 = ({
|
|
957
957
|
width: i = 20,
|
|
958
958
|
height: e = 20,
|
|
959
|
-
color: t =
|
|
959
|
+
color: t = w.GREY_DARK_5,
|
|
960
960
|
className: s,
|
|
961
961
|
onClick: n
|
|
962
962
|
}) => /* @__PURE__ */ u(
|
|
@@ -996,7 +996,7 @@ const j2 = ({
|
|
|
996
996
|
), c5 = ({
|
|
997
997
|
width: i = 20,
|
|
998
998
|
height: e = 20,
|
|
999
|
-
color: t =
|
|
999
|
+
color: t = w.GREY_DARK_5,
|
|
1000
1000
|
className: s,
|
|
1001
1001
|
onClick: n
|
|
1002
1002
|
}) => /* @__PURE__ */ u(
|
|
@@ -1029,7 +1029,7 @@ const j2 = ({
|
|
|
1029
1029
|
), d5 = ({
|
|
1030
1030
|
width: i = 20,
|
|
1031
1031
|
height: e = 20,
|
|
1032
|
-
color: t =
|
|
1032
|
+
color: t = w.GREY_DARK_5,
|
|
1033
1033
|
className: s,
|
|
1034
1034
|
onClick: n
|
|
1035
1035
|
}) => /* @__PURE__ */ u(
|
|
@@ -1153,7 +1153,7 @@ const j2 = ({
|
|
|
1153
1153
|
}
|
|
1154
1154
|
)
|
|
1155
1155
|
}
|
|
1156
|
-
),
|
|
1156
|
+
), f5 = ({
|
|
1157
1157
|
width: i = 20,
|
|
1158
1158
|
height: e = 20,
|
|
1159
1159
|
color: t = "#F2F2F7",
|
|
@@ -1182,7 +1182,7 @@ const j2 = ({
|
|
|
1182
1182
|
)
|
|
1183
1183
|
]
|
|
1184
1184
|
}
|
|
1185
|
-
),
|
|
1185
|
+
), p5 = ({
|
|
1186
1186
|
width: i = 20,
|
|
1187
1187
|
height: e = 20,
|
|
1188
1188
|
color: t = "#004ED7",
|
|
@@ -1279,7 +1279,7 @@ const j2 = ({
|
|
|
1279
1279
|
}
|
|
1280
1280
|
), L5 = ({
|
|
1281
1281
|
className: i,
|
|
1282
|
-
color: e =
|
|
1282
|
+
color: e = w.GREY_DARK_5,
|
|
1283
1283
|
height: t = 20,
|
|
1284
1284
|
width: s = 20,
|
|
1285
1285
|
onClick: n
|
|
@@ -1312,7 +1312,7 @@ const j2 = ({
|
|
|
1312
1312
|
}
|
|
1313
1313
|
), k5 = ({
|
|
1314
1314
|
className: i,
|
|
1315
|
-
color: e =
|
|
1315
|
+
color: e = w.GREY_DARK_5,
|
|
1316
1316
|
height: t = 20,
|
|
1317
1317
|
width: s = 20,
|
|
1318
1318
|
onClick: n
|
|
@@ -1339,7 +1339,7 @@ const j2 = ({
|
|
|
1339
1339
|
}
|
|
1340
1340
|
), v5 = ({
|
|
1341
1341
|
className: i,
|
|
1342
|
-
color: e =
|
|
1342
|
+
color: e = w.GREY_DARK_5,
|
|
1343
1343
|
height: t = 20,
|
|
1344
1344
|
width: s = 20,
|
|
1345
1345
|
onClick: n
|
|
@@ -1366,7 +1366,7 @@ const j2 = ({
|
|
|
1366
1366
|
}
|
|
1367
1367
|
), N5 = ({
|
|
1368
1368
|
className: i,
|
|
1369
|
-
color: e =
|
|
1369
|
+
color: e = w.GREY_DARK_5,
|
|
1370
1370
|
height: t = 5,
|
|
1371
1371
|
width: s = 10,
|
|
1372
1372
|
onClick: n
|
|
@@ -1390,7 +1390,7 @@ const j2 = ({
|
|
|
1390
1390
|
}
|
|
1391
1391
|
), R5 = ({
|
|
1392
1392
|
className: i,
|
|
1393
|
-
color: e =
|
|
1393
|
+
color: e = w.GREY_DARK_5,
|
|
1394
1394
|
height: t = 5,
|
|
1395
1395
|
width: s = 10,
|
|
1396
1396
|
onClick: n
|
|
@@ -1415,7 +1415,7 @@ const j2 = ({
|
|
|
1415
1415
|
}
|
|
1416
1416
|
), x5 = ({
|
|
1417
1417
|
className: i,
|
|
1418
|
-
color: e =
|
|
1418
|
+
color: e = w.GREY_DARK_5,
|
|
1419
1419
|
height: t = 20,
|
|
1420
1420
|
width: s = 20,
|
|
1421
1421
|
onClick: n
|
|
@@ -1448,7 +1448,7 @@ const j2 = ({
|
|
|
1448
1448
|
}
|
|
1449
1449
|
), M5 = ({
|
|
1450
1450
|
className: i,
|
|
1451
|
-
color: e =
|
|
1451
|
+
color: e = w.GREY_DARK_5,
|
|
1452
1452
|
height: t = 24,
|
|
1453
1453
|
width: s = 24,
|
|
1454
1454
|
onClick: n
|
|
@@ -1487,7 +1487,7 @@ const j2 = ({
|
|
|
1487
1487
|
}
|
|
1488
1488
|
), _5 = ({
|
|
1489
1489
|
className: i,
|
|
1490
|
-
color: e =
|
|
1490
|
+
color: e = w.GREY_DARK_5,
|
|
1491
1491
|
height: t = 24,
|
|
1492
1492
|
width: s = 24,
|
|
1493
1493
|
onClick: n
|
|
@@ -1514,7 +1514,7 @@ const j2 = ({
|
|
|
1514
1514
|
}
|
|
1515
1515
|
), b5 = ({
|
|
1516
1516
|
className: i,
|
|
1517
|
-
color: e =
|
|
1517
|
+
color: e = w.GREY_DARK_5,
|
|
1518
1518
|
height: t = 24,
|
|
1519
1519
|
width: s = 24,
|
|
1520
1520
|
onClick: n
|
|
@@ -1573,7 +1573,7 @@ const j2 = ({
|
|
|
1573
1573
|
}
|
|
1574
1574
|
), y5 = ({
|
|
1575
1575
|
className: i,
|
|
1576
|
-
color: e =
|
|
1576
|
+
color: e = w.GREY_DARK_5,
|
|
1577
1577
|
height: t = 24,
|
|
1578
1578
|
width: s = 24,
|
|
1579
1579
|
onClick: n
|
|
@@ -1610,7 +1610,7 @@ const j2 = ({
|
|
|
1610
1610
|
}
|
|
1611
1611
|
), H5 = ({
|
|
1612
1612
|
className: i,
|
|
1613
|
-
color: e =
|
|
1613
|
+
color: e = w.GREY_DARK_3,
|
|
1614
1614
|
height: t = 14,
|
|
1615
1615
|
width: s = 14,
|
|
1616
1616
|
onClick: n
|
|
@@ -1647,7 +1647,7 @@ const j2 = ({
|
|
|
1647
1647
|
}
|
|
1648
1648
|
), E5 = ({
|
|
1649
1649
|
className: i,
|
|
1650
|
-
color: e =
|
|
1650
|
+
color: e = w.GREY_DARK_5,
|
|
1651
1651
|
height: t = 18,
|
|
1652
1652
|
onClick: s,
|
|
1653
1653
|
width: n = 18
|
|
@@ -1674,7 +1674,7 @@ const j2 = ({
|
|
|
1674
1674
|
}
|
|
1675
1675
|
), V5 = ({
|
|
1676
1676
|
className: i,
|
|
1677
|
-
color: e =
|
|
1677
|
+
color: e = w.GREY_DARK_5,
|
|
1678
1678
|
height: t = 24,
|
|
1679
1679
|
width: s = 24,
|
|
1680
1680
|
onClick: n
|
|
@@ -1726,7 +1726,7 @@ const j2 = ({
|
|
|
1726
1726
|
}
|
|
1727
1727
|
), I5 = ({
|
|
1728
1728
|
className: i,
|
|
1729
|
-
color: e =
|
|
1729
|
+
color: e = w.GREY_DARK_5,
|
|
1730
1730
|
height: t = 24,
|
|
1731
1731
|
width: s = 24,
|
|
1732
1732
|
onClick: n
|
|
@@ -1763,7 +1763,7 @@ const j2 = ({
|
|
|
1763
1763
|
}
|
|
1764
1764
|
), A5 = ({
|
|
1765
1765
|
className: i,
|
|
1766
|
-
color: e =
|
|
1766
|
+
color: e = w.NOTIFICATION_WARNING_DARK,
|
|
1767
1767
|
height: t = 37,
|
|
1768
1768
|
width: s = 36,
|
|
1769
1769
|
onClick: n
|
|
@@ -1800,9 +1800,9 @@ const j2 = ({
|
|
|
1800
1800
|
)
|
|
1801
1801
|
]
|
|
1802
1802
|
}
|
|
1803
|
-
),
|
|
1803
|
+
), Z5 = ({
|
|
1804
1804
|
className: i,
|
|
1805
|
-
color: e =
|
|
1805
|
+
color: e = w.GREY_DARK_5,
|
|
1806
1806
|
height: t = 24,
|
|
1807
1807
|
width: s = 24,
|
|
1808
1808
|
onClick: n
|
|
@@ -1826,9 +1826,9 @@ const j2 = ({
|
|
|
1826
1826
|
}
|
|
1827
1827
|
)
|
|
1828
1828
|
}
|
|
1829
|
-
),
|
|
1829
|
+
), O5 = ({
|
|
1830
1830
|
className: i,
|
|
1831
|
-
color: e =
|
|
1831
|
+
color: e = w.GREY_DARK_5,
|
|
1832
1832
|
height: t = 24,
|
|
1833
1833
|
width: s = 24,
|
|
1834
1834
|
onClick: n
|
|
@@ -1867,7 +1867,7 @@ const j2 = ({
|
|
|
1867
1867
|
}
|
|
1868
1868
|
), S5 = ({
|
|
1869
1869
|
className: i,
|
|
1870
|
-
color: e =
|
|
1870
|
+
color: e = w.GREY_DARK_5,
|
|
1871
1871
|
height: t = 20,
|
|
1872
1872
|
width: s = 20,
|
|
1873
1873
|
onClick: n
|
|
@@ -1900,7 +1900,7 @@ const j2 = ({
|
|
|
1900
1900
|
}
|
|
1901
1901
|
), D5 = ({
|
|
1902
1902
|
className: i,
|
|
1903
|
-
color: e =
|
|
1903
|
+
color: e = w.GREY_DARK_5,
|
|
1904
1904
|
height: t = 24,
|
|
1905
1905
|
width: s = 24,
|
|
1906
1906
|
onClick: n
|
|
@@ -1969,7 +1969,7 @@ const j2 = ({
|
|
|
1969
1969
|
}
|
|
1970
1970
|
), G5 = ({
|
|
1971
1971
|
className: i,
|
|
1972
|
-
color: e =
|
|
1972
|
+
color: e = w.GREY_DARK_5,
|
|
1973
1973
|
height: t = 24,
|
|
1974
1974
|
width: s = 24,
|
|
1975
1975
|
onClick: n
|
|
@@ -2026,7 +2026,7 @@ const j2 = ({
|
|
|
2026
2026
|
}
|
|
2027
2027
|
), T5 = ({
|
|
2028
2028
|
className: i,
|
|
2029
|
-
color: e =
|
|
2029
|
+
color: e = w.GREY_DARK_5,
|
|
2030
2030
|
height: t = 24,
|
|
2031
2031
|
width: s = 24,
|
|
2032
2032
|
onClick: n
|
|
@@ -2075,7 +2075,7 @@ const j2 = ({
|
|
|
2075
2075
|
}
|
|
2076
2076
|
), K5 = ({
|
|
2077
2077
|
className: i,
|
|
2078
|
-
color: e =
|
|
2078
|
+
color: e = w.GREY_DARK_5,
|
|
2079
2079
|
height: t = 24,
|
|
2080
2080
|
width: s = 24,
|
|
2081
2081
|
onClick: n
|
|
@@ -2102,7 +2102,7 @@ const j2 = ({
|
|
|
2102
2102
|
}
|
|
2103
2103
|
), B5 = ({
|
|
2104
2104
|
className: i,
|
|
2105
|
-
color: e =
|
|
2105
|
+
color: e = w.GREY_DARK_5,
|
|
2106
2106
|
height: t = 20,
|
|
2107
2107
|
width: s = 20,
|
|
2108
2108
|
onClick: n
|
|
@@ -2117,7 +2117,7 @@ const j2 = ({
|
|
|
2117
2117
|
fill: "none",
|
|
2118
2118
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2119
2119
|
children: [
|
|
2120
|
-
/* @__PURE__ */ r("rect", { width: "20", height: "20", rx: "4", fill:
|
|
2120
|
+
/* @__PURE__ */ r("rect", { width: "20", height: "20", rx: "4", fill: w.GREY_LIGHT_2 }),
|
|
2121
2121
|
/* @__PURE__ */ r(
|
|
2122
2122
|
"path",
|
|
2123
2123
|
{
|
|
@@ -2196,55 +2196,23 @@ const j2 = ({
|
|
|
2196
2196
|
), j5 = ({
|
|
2197
2197
|
width: i = 20,
|
|
2198
2198
|
height: e = 20,
|
|
2199
|
-
color: t =
|
|
2199
|
+
color: t = w.GREY_DARK_5,
|
|
2200
2200
|
className: s,
|
|
2201
2201
|
onClick: n
|
|
2202
2202
|
}) => /* @__PURE__ */ r(
|
|
2203
2203
|
"svg",
|
|
2204
2204
|
{
|
|
2205
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
2206
2205
|
width: i,
|
|
2207
2206
|
height: e,
|
|
2208
|
-
className: s,
|
|
2209
2207
|
onClick: n,
|
|
2210
|
-
|
|
2208
|
+
className: s,
|
|
2209
|
+
viewBox: "0 0 24 24",
|
|
2211
2210
|
fill: "none",
|
|
2211
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2212
2212
|
children: /* @__PURE__ */ r(
|
|
2213
2213
|
"path",
|
|
2214
2214
|
{
|
|
2215
|
-
|
|
2216
|
-
clipRule: "evenodd",
|
|
2217
|
-
d: `M2.88667 2.88667C1.66667 4.10834 1.66667 6.07167 1.66667 10C1.66667 13.9283 1.66667 15.8925
|
|
2218
|
-
2.88667 17.1125C4.10833 18.3333 6.07167 18.3333 10 18.3333C13.9283 18.3333 15.8925 18.3333 17.1125
|
|
2219
|
-
17.1125C18.3333 15.8933 18.3333 13.9283 18.3333 10C18.3333 6.07167 18.3333 4.10751 17.1125 2.88667C15.8933
|
|
2220
|
-
1.66667 13.9283 1.66667 10 1.66667C6.07167 1.66667 4.1075 1.66667 2.88667 2.88667ZM8.78667 6.26417C8.84325
|
|
2221
|
-
6.20469 8.88755 6.13465 8.91706 6.05805C8.94657 5.98145 8.96071 5.89979 8.95866 5.81772C8.95661 5.73566
|
|
2222
|
-
8.93841 5.6548 8.90511 5.57977C8.87181 5.50474 8.82406 5.437 8.76458 5.38042C8.70511 5.32384 8.63507 5.27954
|
|
2223
|
-
8.55847 5.25003C8.48186 5.22052 8.4002 5.20638 8.31814 5.20843C8.23607 5.21048 8.15522 5.22868 8.08018
|
|
2224
|
-
5.26198C8.00515 5.29528 7.93741 5.34303 7.88083 5.4025L5.9525 7.42751L5.4525 6.9025C5.39654 6.84066 5.32876
|
|
2225
|
-
6.79064 5.25316 6.75539C5.17756 6.72015 5.09567 6.70039 5.01232 6.69729C4.92897 6.69418 4.84583 6.7078
|
|
2226
|
-
4.76782 6.73732C4.68982 6.76685 4.6185 6.81169 4.5581 6.86921C4.49769 6.92673 4.4494 6.99575 4.41609
|
|
2227
|
-
7.07222C4.38277 7.14869 4.3651 7.23105 4.36411 7.31446C4.36312 7.39786 4.37884 7.48062 4.41034 7.55786C4.44183
|
|
2228
|
-
7.63509 4.48847 7.70524 4.5475 7.76417L5.5 8.76417C5.55837 8.82544 5.62858 8.87421 5.70636 8.90754C5.78414
|
|
2229
|
-
8.94086 5.86788 8.95805 5.9525 8.95805C6.03712 8.95805 6.12086 8.94086 6.19864 8.90754C6.27643 8.87421
|
|
2230
|
-
6.34663 8.82544 6.405 8.76417L8.78667 6.26417ZM10.8333 6.875C10.6676 6.875 10.5086 6.94085 10.3914
|
|
2231
|
-
7.05806C10.2742 7.17527 10.2083 7.33424 10.2083 7.5C10.2083 7.66577 10.2742 7.82474 10.3914 7.94195C10.5086
|
|
2232
|
-
8.05916 10.6676 8.125 10.8333 8.125H15C15.1658 8.125 15.3247 8.05916 15.4419 7.94195C15.5592 7.82474 15.625
|
|
2233
|
-
7.66577 15.625 7.5C15.625 7.33424 15.5592 7.17527 15.4419 7.05806C15.3247 6.94085 15.1658 6.875 15
|
|
2234
|
-
6.875H10.8333ZM8.78583 12.0975C8.84486 12.0386 8.8915 11.9684 8.923 11.8912C8.95449 11.814 8.97021 11.7312
|
|
2235
|
-
8.96922 11.6478C8.96824 11.5644 8.95056 11.482 8.91725 11.4056C8.88393 11.3291 8.83565 11.2601 8.77524
|
|
2236
|
-
11.2025C8.71483 11.145 8.64352 11.1002 8.56551 11.0707C8.4875 11.0411 8.40437 11.0275 8.32102 11.0306C8.23766
|
|
2237
|
-
11.0337 8.15578 11.0535 8.08018 11.0887C8.00458 11.124 7.9368 11.174 7.88083 11.2358L5.9525 13.2608L5.4525
|
|
2238
|
-
12.7358C5.39654 12.674 5.32876 12.624 5.25316 12.5887C5.17756 12.5535 5.09567 12.5337 5.01232 12.5306C4.92897
|
|
2239
|
-
12.5275 4.84583 12.5411 4.76782 12.5707C4.68982 12.6002 4.6185 12.645 4.5581 12.7025C4.49769 12.7601 4.4494
|
|
2240
|
-
12.8291 4.41609 12.9056C4.38277 12.982 4.3651 13.0644 4.36411 13.1478C4.36312 13.2312 4.37884 13.314 4.41034
|
|
2241
|
-
13.3912C4.44183 13.4684 4.48847 13.5386 4.5475 13.5975L5.5 14.5975C5.55837 14.6588 5.62858 14.7075 5.70636
|
|
2242
|
-
14.7409C5.78414 14.7742 5.86788 14.7914 5.9525 14.7914C6.03712 14.7914 6.12086 14.7742 6.19864 14.7409C6.27643
|
|
2243
|
-
14.7075 6.34663 14.6588 6.405 14.5975L8.78583 12.0975ZM10.8333 12.7083C10.6676 12.7083 10.5086 12.7742 10.3914
|
|
2244
|
-
12.8914C10.2742 13.0086 10.2083 13.1676 10.2083 13.3333C10.2083 13.4991 10.2742 13.6581 10.3914 13.7753C10.5086
|
|
2245
|
-
13.8925 10.6676 13.9583 10.8333 13.9583H15C15.1658 13.9583 15.3247 13.8925 15.4419 13.7753C15.5592 13.6581
|
|
2246
|
-
15.625 13.4991 15.625 13.3333C15.625 13.1676 15.5592 13.0086 15.4419 12.8914C15.3247 12.7742 15.1658 12.7083
|
|
2247
|
-
15 12.7083H10.8333Z`,
|
|
2215
|
+
d: "M6.06939 16.5692C6.3622 16.2765 6.83706 16.2767 7.12994 16.5692C7.4228 16.8621 7.42273 17.3369 7.12994 17.6298L5.12994 19.6298C4.98929 19.7704 4.79858 19.8495 4.59967 19.8495C4.45045 19.8495 4.30597 19.8052 4.18365 19.7235L4.06939 19.6298L3.26959 18.83L3.21783 18.7733C2.97763 18.4787 2.99503 18.044 3.26959 17.7694C3.54417 17.495 3.97896 17.4775 4.2735 17.7177L4.33014 17.7694L4.59967 18.0389L6.06939 16.5692ZM20.0001 17.7499L20.0762 17.7538C20.4546 17.7921 20.75 18.1115 20.7501 18.4999C20.7501 18.8883 20.4546 19.2077 20.0762 19.246L20.0001 19.2499H9.00006C8.58584 19.2499 8.25006 18.9141 8.25006 18.4999C8.25007 18.0857 8.58585 17.7499 9.00006 17.7499H20.0001ZM5.55475 13.0145C5.27614 13.3209 4.80164 13.3438 4.49518 13.0653C4.18868 12.7867 4.16675 12.3122 4.44537 12.0057L5.55475 13.0145ZM20.0001 11.7499L20.0762 11.7538C20.4546 11.7921 20.75 12.1115 20.7501 12.4999C20.7501 12.8883 20.4546 13.2077 20.0762 13.246L20.0001 13.2499H9.00006C8.58584 13.2499 8.25006 12.9141 8.25006 12.4999C8.25007 12.0857 8.58585 11.7499 9.00006 11.7499H20.0001ZM4.50982 11.9403C4.79264 11.6865 5.22745 11.6831 5.51471 11.9442C5.80181 12.2055 5.8394 12.6386 5.61334 12.9442L5.56451 13.0038L5.55475 13.0145L4.44537 12.0057L4.45514 11.994L4.50982 11.9403ZM5.55475 7.01453C5.27614 7.32089 4.80164 7.3438 4.49518 7.06532C4.18868 6.78668 4.16674 6.31224 4.44537 6.00575L5.55475 7.01453ZM20.0001 5.74989L20.0762 5.75379C20.4546 5.79206 20.75 6.11146 20.7501 6.49989C20.7501 6.88832 20.4546 7.20771 20.0762 7.24598L20.0001 7.24989H9.00006C8.58584 7.24989 8.25006 6.9141 8.25006 6.49989C8.25007 6.08568 8.58585 5.74989 9.00006 5.74989H20.0001ZM4.45514 5.99403C4.73381 5.68784 5.20832 5.66569 5.51471 5.94422C5.8209 6.22289 5.84305 6.69741 5.56451 7.00379L5.55475 7.01453L4.44537 6.00575L4.45514 5.99403Z",
|
|
2248
2216
|
fill: t
|
|
2249
2217
|
}
|
|
2250
2218
|
)
|
|
@@ -2283,9 +2251,9 @@ const j2 = ({
|
|
|
2283
2251
|
]
|
|
2284
2252
|
}
|
|
2285
2253
|
), F5 = ({
|
|
2286
|
-
width: i =
|
|
2287
|
-
height: e =
|
|
2288
|
-
color: t =
|
|
2254
|
+
width: i = 20,
|
|
2255
|
+
height: e = 20,
|
|
2256
|
+
color: t = w.GREY_DARK_5,
|
|
2289
2257
|
className: s,
|
|
2290
2258
|
onClick: n
|
|
2291
2259
|
}) => /* @__PURE__ */ u(
|
|
@@ -2293,30 +2261,24 @@ const j2 = ({
|
|
|
2293
2261
|
{
|
|
2294
2262
|
width: i,
|
|
2295
2263
|
height: e,
|
|
2264
|
+
className: s,
|
|
2265
|
+
onClick: n,
|
|
2296
2266
|
viewBox: "0 0 24 24",
|
|
2297
2267
|
fill: "none",
|
|
2298
2268
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2299
|
-
className: s,
|
|
2300
|
-
onClick: n,
|
|
2301
2269
|
children: [
|
|
2302
2270
|
/* @__PURE__ */ r(
|
|
2303
2271
|
"path",
|
|
2304
2272
|
{
|
|
2305
|
-
d: "
|
|
2306
|
-
|
|
2307
|
-
strokeWidth: "1.5",
|
|
2308
|
-
strokeLinecap: "round",
|
|
2309
|
-
strokeLinejoin: "round"
|
|
2273
|
+
d: "M18.25 20.5V19.5C18.25 16.0482 15.4518 13.25 12 13.25C8.54822 13.25 5.75 16.0482 5.75 19.5V20.5C5.75 20.9142 5.41421 21.25 5 21.25C4.58579 21.25 4.25 20.9142 4.25 20.5V19.5C4.25 15.2198 7.71979 11.75 12 11.75C16.2802 11.75 19.75 15.2198 19.75 19.5V20.5C19.75 20.9142 19.4142 21.25 19 21.25C18.5858 21.25 18.25 20.9142 18.25 20.5Z",
|
|
2274
|
+
fill: t
|
|
2310
2275
|
}
|
|
2311
2276
|
),
|
|
2312
2277
|
/* @__PURE__ */ r(
|
|
2313
2278
|
"path",
|
|
2314
2279
|
{
|
|
2315
|
-
d: "
|
|
2316
|
-
|
|
2317
|
-
strokeWidth: "1.5",
|
|
2318
|
-
strokeLinecap: "round",
|
|
2319
|
-
strokeLinejoin: "round"
|
|
2280
|
+
d: "M15.25 8.5C15.25 6.70507 13.7949 5.25 12 5.25C10.2051 5.25 8.75 6.70507 8.75 8.5C8.75 10.2949 10.2051 11.75 12 11.75C13.7949 11.75 15.25 10.2949 15.25 8.5ZM16.75 8.5C16.75 11.1234 14.6234 13.25 12 13.25C9.37665 13.25 7.25 11.1234 7.25 8.5C7.25 5.87665 9.37665 3.75 12 3.75C14.6234 3.75 16.75 5.87665 16.75 8.5Z",
|
|
2281
|
+
fill: t
|
|
2320
2282
|
}
|
|
2321
2283
|
)
|
|
2322
2284
|
]
|
|
@@ -2324,7 +2286,7 @@ const j2 = ({
|
|
|
2324
2286
|
), W5 = ({
|
|
2325
2287
|
width: i = 24,
|
|
2326
2288
|
height: e = 24,
|
|
2327
|
-
color: t =
|
|
2289
|
+
color: t = w.GREY_DARK_2,
|
|
2328
2290
|
className: s,
|
|
2329
2291
|
onClick: n
|
|
2330
2292
|
}) => /* @__PURE__ */ u(
|
|
@@ -2364,7 +2326,7 @@ const j2 = ({
|
|
|
2364
2326
|
), U5 = ({
|
|
2365
2327
|
width: i = 24,
|
|
2366
2328
|
height: e = 24,
|
|
2367
|
-
color: t =
|
|
2329
|
+
color: t = w.GREY_DARK_2,
|
|
2368
2330
|
className: s,
|
|
2369
2331
|
onClick: n
|
|
2370
2332
|
}) => /* @__PURE__ */ r(
|
|
@@ -2391,7 +2353,7 @@ const j2 = ({
|
|
|
2391
2353
|
), z5 = ({
|
|
2392
2354
|
width: i = 24,
|
|
2393
2355
|
height: e = 24,
|
|
2394
|
-
color: t =
|
|
2356
|
+
color: t = w.GREY_DARK_2,
|
|
2395
2357
|
className: s,
|
|
2396
2358
|
onClick: n
|
|
2397
2359
|
}) => /* @__PURE__ */ r(
|
|
@@ -2415,32 +2377,6 @@ const j2 = ({
|
|
|
2415
2377
|
}
|
|
2416
2378
|
)
|
|
2417
2379
|
}
|
|
2418
|
-
), J5 = ({
|
|
2419
|
-
width: i = 20,
|
|
2420
|
-
height: e = 20,
|
|
2421
|
-
color: t = "#001E52",
|
|
2422
|
-
className: s,
|
|
2423
|
-
onClick: n
|
|
2424
|
-
}) => /* @__PURE__ */ r(
|
|
2425
|
-
"svg",
|
|
2426
|
-
{
|
|
2427
|
-
width: i,
|
|
2428
|
-
height: e,
|
|
2429
|
-
viewBox: "0 0 20 20",
|
|
2430
|
-
fill: "none",
|
|
2431
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
2432
|
-
className: s,
|
|
2433
|
-
onClick: n,
|
|
2434
|
-
children: /* @__PURE__ */ r(
|
|
2435
|
-
"path",
|
|
2436
|
-
{
|
|
2437
|
-
fillRule: "evenodd",
|
|
2438
|
-
clipRule: "evenodd",
|
|
2439
|
-
d: "M18.3337 10.0001C18.3337 14.6026 14.6028 18.3334 10.0003 18.3334C5.39783 18.3334 1.66699 14.6026 1.66699 10.0001C1.66699 5.39758 5.39783 1.66675 10.0003 1.66675C14.6028 1.66675 18.3337 5.39758 18.3337 10.0001ZM12.5003 7.50008C12.5003 8.16312 12.2369 8.79901 11.7681 9.26785C11.2993 9.73669 10.6634 10.0001 10.0003 10.0001C9.33728 10.0001 8.7014 9.73669 8.23256 9.26785C7.76372 8.79901 7.50033 8.16312 7.50033 7.50008C7.50033 6.83704 7.76372 6.20116 8.23256 5.73231C8.7014 5.26347 9.33728 5.00008 10.0003 5.00008C10.6634 5.00008 11.2993 5.26347 11.7681 5.73231C12.2369 6.20116 12.5003 6.83704 12.5003 7.50008ZM10.0003 17.0834C11.4306 17.0857 12.8277 16.6529 14.0062 15.8426C14.5095 15.4967 14.7245 14.8384 14.4312 14.3026C13.8253 13.1917 12.5753 12.5001 10.0003 12.5001C7.42533 12.5001 6.17533 13.1917 5.56866 14.3026C5.27616 14.8384 5.49116 15.4967 5.99449 15.8426C7.17299 16.6529 8.5701 17.0857 10.0003 17.0834Z",
|
|
2440
|
-
fill: t
|
|
2441
|
-
}
|
|
2442
|
-
)
|
|
2443
|
-
}
|
|
2444
2380
|
), s1 = ({
|
|
2445
2381
|
name: i,
|
|
2446
2382
|
width: e,
|
|
@@ -2448,85 +2384,84 @@ const j2 = ({
|
|
|
2448
2384
|
color: s,
|
|
2449
2385
|
className: n,
|
|
2450
2386
|
disabled: o = !1,
|
|
2451
|
-
onClick:
|
|
2387
|
+
onClick: h
|
|
2452
2388
|
}) => {
|
|
2453
|
-
const [a, C] = I(n), { theme: d } = Q(e2), l = o ? d && d === "dark" ?
|
|
2389
|
+
const [a, C] = I(n), { theme: d } = Q(e2), l = o ? d && d === "dark" ? w.GREY_LIGHT_4 : w.GREY_DARK_1 : s, c = o ? void 0 : h;
|
|
2454
2390
|
return A(() => {
|
|
2455
2391
|
if (n) {
|
|
2456
|
-
|
|
2392
|
+
c && !o && C(`${n} clickable`);
|
|
2457
2393
|
return;
|
|
2458
2394
|
}
|
|
2459
|
-
|
|
2460
|
-
}, [
|
|
2395
|
+
c && !o && C("clickable");
|
|
2396
|
+
}, [c, n, o]), /* @__PURE__ */ r(W, { children: (() => {
|
|
2461
2397
|
switch (i) {
|
|
2462
2398
|
case "nextIcon":
|
|
2463
|
-
return k5({ width: e, height: t, color: l, className: a, onClick:
|
|
2399
|
+
return k5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2464
2400
|
case "prevIcon":
|
|
2465
|
-
return v5({ width: e, height: t, color: l, className: a, onClick:
|
|
2401
|
+
return v5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2466
2402
|
case "arrowDown":
|
|
2467
|
-
return j2({ width: e, height: t, color: l, className: a, onClick:
|
|
2403
|
+
return j2({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2468
2404
|
case "info":
|
|
2469
|
-
return $2({ width: e, height: t, color: l, className: a, onClick:
|
|
2405
|
+
return $2({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2470
2406
|
case "arrowRight":
|
|
2471
|
-
return F2({ width: e, height: t, color: l, className: a, onClick:
|
|
2407
|
+
return F2({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2472
2408
|
case "calendar":
|
|
2473
|
-
return W2({ width: e, height: t, color: l, className: a, onClick:
|
|
2409
|
+
return W2({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2474
2410
|
case "check":
|
|
2475
|
-
return U2({ width: e, height: t, color: l, className: a, onClick:
|
|
2411
|
+
return U2({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2476
2412
|
case "cancel":
|
|
2477
|
-
return z2({ width: e, height: t, color: l, className: a, onClick:
|
|
2413
|
+
return z2({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2478
2414
|
case "add":
|
|
2479
|
-
return J2({ width: e, height: t, color: l, className: a, onClick:
|
|
2415
|
+
return J2({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2480
2416
|
case "list":
|
|
2481
|
-
return Q2({ width: e, height: t, color: l, className: a, onClick:
|
|
2417
|
+
return Q2({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2482
2418
|
case "dragAndDrop":
|
|
2483
|
-
return q2({ width: e, height: t, color: l, className: a, onClick:
|
|
2419
|
+
return q2({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2484
2420
|
case "filter":
|
|
2485
|
-
return X2({ width: e, height: t, color: l, className: a, onClick:
|
|
2421
|
+
return X2({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2486
2422
|
case "attention":
|
|
2487
|
-
return e5({ width: e, height: t, color: l, className: a, onClick:
|
|
2423
|
+
return e5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2488
2424
|
case "users":
|
|
2489
|
-
return t5({ width: e, height: t, color: l, className: a, onClick:
|
|
2425
|
+
return t5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2490
2426
|
case "mySkillsMatrix":
|
|
2491
2427
|
return i5({
|
|
2492
2428
|
width: e,
|
|
2493
2429
|
height: t,
|
|
2494
2430
|
color: l,
|
|
2495
2431
|
className: a,
|
|
2496
|
-
onClick:
|
|
2432
|
+
onClick: c
|
|
2497
2433
|
});
|
|
2498
2434
|
case "skills":
|
|
2499
|
-
return s5({ width: e, height: t, color: l, className: a, onClick:
|
|
2435
|
+
return s5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2500
2436
|
case "skillsMatrices":
|
|
2501
2437
|
return n5({
|
|
2502
2438
|
width: e,
|
|
2503
2439
|
height: t,
|
|
2504
2440
|
color: l,
|
|
2505
2441
|
className: a,
|
|
2506
|
-
onClick:
|
|
2442
|
+
onClick: c
|
|
2507
2443
|
});
|
|
2508
2444
|
case "history":
|
|
2509
|
-
return r5({ width: e, height: t, color: l, className: a, onClick:
|
|
2445
|
+
return r5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2510
2446
|
case "logOut":
|
|
2511
|
-
return o5({ width: e, height: t, color: l, className: a, onClick:
|
|
2447
|
+
return o5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2512
2448
|
case "settings":
|
|
2513
|
-
return a5({ width: e, height: t, color: l, className: a, onClick:
|
|
2449
|
+
return a5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2514
2450
|
case "trash":
|
|
2515
|
-
return l5({ width: e, height: t, color: l, className: a, onClick:
|
|
2451
|
+
return l5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2516
2452
|
case "settings2":
|
|
2517
|
-
return h5({ width: e, height: t, color: l, className: a, onClick:
|
|
2453
|
+
return h5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2518
2454
|
case "checkCircle":
|
|
2519
|
-
return c5({ width: e, height: t, color: l, className: a, onClick:
|
|
2455
|
+
return c5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2520
2456
|
case "cancelCircle":
|
|
2521
|
-
return d5({ width: e, height: t, color: l, className: a, onClick:
|
|
2522
|
-
case "infoMedium":
|
|
2457
|
+
return d5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2523
2458
|
case "visibilityIcon":
|
|
2524
2459
|
return C5({
|
|
2525
2460
|
width: e,
|
|
2526
2461
|
height: t,
|
|
2527
2462
|
color: l,
|
|
2528
2463
|
className: a,
|
|
2529
|
-
onClick:
|
|
2464
|
+
onClick: c
|
|
2530
2465
|
});
|
|
2531
2466
|
case "visibilityOffIcon":
|
|
2532
2467
|
return g5({
|
|
@@ -2534,7 +2469,7 @@ const j2 = ({
|
|
|
2534
2469
|
height: t,
|
|
2535
2470
|
color: l,
|
|
2536
2471
|
className: a,
|
|
2537
|
-
onClick:
|
|
2472
|
+
onClick: c
|
|
2538
2473
|
});
|
|
2539
2474
|
case "selectArrowIcon":
|
|
2540
2475
|
return u5({
|
|
@@ -2542,98 +2477,96 @@ const j2 = ({
|
|
|
2542
2477
|
height: t,
|
|
2543
2478
|
color: l,
|
|
2544
2479
|
className: a,
|
|
2545
|
-
onClick:
|
|
2480
|
+
onClick: c
|
|
2546
2481
|
});
|
|
2547
2482
|
case "expandArrowIcon":
|
|
2548
|
-
return
|
|
2483
|
+
return f5({
|
|
2549
2484
|
width: e,
|
|
2550
2485
|
height: t,
|
|
2551
2486
|
color: l,
|
|
2552
2487
|
className: a,
|
|
2553
|
-
onClick:
|
|
2488
|
+
onClick: c
|
|
2554
2489
|
});
|
|
2555
2490
|
case "expandActiveArrowIcon":
|
|
2556
|
-
return
|
|
2491
|
+
return p5({
|
|
2557
2492
|
width: e,
|
|
2558
2493
|
height: t,
|
|
2559
2494
|
color: l,
|
|
2560
2495
|
className: a,
|
|
2561
|
-
onClick:
|
|
2496
|
+
onClick: c
|
|
2562
2497
|
});
|
|
2563
2498
|
case "sortUp":
|
|
2564
|
-
return m5({ width: e, height: t, color: l, className: a, onClick:
|
|
2499
|
+
return m5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2565
2500
|
case "sortDown":
|
|
2566
|
-
return w5({ width: e, height: t, color: l, className: a, onClick:
|
|
2501
|
+
return w5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2567
2502
|
case "search":
|
|
2568
|
-
return L5({ width: e, height: t, color: l, className: a, onClick:
|
|
2503
|
+
return L5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2569
2504
|
case "arrowUpFilled":
|
|
2570
|
-
return R5({ width: e, height: t, color: l, className: a, onClick:
|
|
2505
|
+
return R5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2571
2506
|
case "arrowDownFilled":
|
|
2572
|
-
return N5({ width: e, height: t, color: l, className: a, onClick:
|
|
2507
|
+
return N5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2573
2508
|
case "link":
|
|
2574
|
-
return x5({ width: e, height: t, color: l, className: a, onClick:
|
|
2509
|
+
return x5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2575
2510
|
case "telegram":
|
|
2576
|
-
return _5({ width: e, height: t, color: l, className: a, onClick:
|
|
2511
|
+
return _5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2577
2512
|
case "mail":
|
|
2578
|
-
return y5({ width: e, height: t, color: l, className: a, onClick:
|
|
2513
|
+
return y5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2579
2514
|
case "github":
|
|
2580
|
-
return M5({ width: e, height: t, color: l, className: a, onClick:
|
|
2515
|
+
return M5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2581
2516
|
case "linkedIn":
|
|
2582
|
-
return b5({ width: e, height: t, color: l, className: a, onClick:
|
|
2517
|
+
return b5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2583
2518
|
case "emptyStateIcon":
|
|
2584
|
-
return H5({ width: e, height: t, color: l, className: a, onClick:
|
|
2519
|
+
return H5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2585
2520
|
case "filtersIcon":
|
|
2586
|
-
return E5({ width: e, height: t, color: l, className: a, onClick:
|
|
2521
|
+
return E5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2587
2522
|
case "dotMenuIcon":
|
|
2588
|
-
return V5({ width: e, height: t, color: l, className: a, onClick:
|
|
2523
|
+
return V5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2589
2524
|
case "plusCircle":
|
|
2590
|
-
return I5({ width: e, height: t, color: l, className: a, onClick:
|
|
2525
|
+
return I5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2591
2526
|
case "warning":
|
|
2592
|
-
return A5({ width: e, height: t, color: l, className: a, onClick:
|
|
2527
|
+
return A5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2593
2528
|
case "back":
|
|
2594
|
-
return
|
|
2529
|
+
return Z5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2595
2530
|
case "bell":
|
|
2596
|
-
return
|
|
2531
|
+
return O5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2597
2532
|
case "copy":
|
|
2598
|
-
return S5({ width: e, height: t, color: l, className: a, onClick:
|
|
2533
|
+
return S5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2599
2534
|
case "contract":
|
|
2600
|
-
return D5({ width: e, height: t, color: l, className: a, onClick:
|
|
2535
|
+
return D5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2601
2536
|
case "resourceManager":
|
|
2602
|
-
return G5({ width: e, height: t, color: l, className: a, onClick:
|
|
2537
|
+
return G5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2603
2538
|
case "image":
|
|
2604
|
-
return T5({ width: e, height: t, color: l, className: a, onClick:
|
|
2539
|
+
return T5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2605
2540
|
case "edit":
|
|
2606
|
-
return K5({ width: e, height: t, color: l, className: a, onClick:
|
|
2541
|
+
return K5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2607
2542
|
case "filledArrowRight":
|
|
2608
|
-
return B5({ width: e, height: t, color: l, className: a, onClick:
|
|
2543
|
+
return B5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2609
2544
|
case "burgerMenu":
|
|
2610
|
-
return P5({ width: e, height: t, color: l, className: a, onClick:
|
|
2545
|
+
return P5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2611
2546
|
case "refresh":
|
|
2612
|
-
return Y5({ width: e, height: t, color: l, className: a, onClick:
|
|
2547
|
+
return Y5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2613
2548
|
case "projects":
|
|
2614
|
-
return j5({ width: e, height: t, color: l, className: a, onClick:
|
|
2615
|
-
case "
|
|
2616
|
-
return
|
|
2549
|
+
return j5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2550
|
+
case "user":
|
|
2551
|
+
return F5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2617
2552
|
case "exit":
|
|
2618
|
-
return $5({ width: e, height: t, color: l, className: a, onClick:
|
|
2619
|
-
case "client":
|
|
2620
|
-
return F5({ width: e, height: t, color: l, className: a, onClick: h });
|
|
2553
|
+
return $5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2621
2554
|
case "openPointCircle":
|
|
2622
|
-
return W5({ width: e, height: t, color: l, className: a, onClick:
|
|
2555
|
+
return W5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2623
2556
|
case "community":
|
|
2624
|
-
return U5({ width: e, height: t, color: l, className: a, onClick:
|
|
2557
|
+
return U5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2625
2558
|
case "docs":
|
|
2626
|
-
return z5({ width: e, height: t, color: l, className: a, onClick:
|
|
2559
|
+
return z5({ width: e, height: t, color: l, className: a, onClick: c });
|
|
2627
2560
|
default:
|
|
2628
2561
|
return /* @__PURE__ */ r(W, { children: "No Icon provided" });
|
|
2629
2562
|
}
|
|
2630
2563
|
})() });
|
|
2631
|
-
}, { Title:
|
|
2564
|
+
}, { Title: J5, Text: Q5 } = J1, q5 = {
|
|
2632
2565
|
h1: 1,
|
|
2633
2566
|
h2: 2,
|
|
2634
2567
|
h3: 3,
|
|
2635
2568
|
h4: 4
|
|
2636
|
-
},
|
|
2569
|
+
}, X5 = w1(
|
|
2637
2570
|
({
|
|
2638
2571
|
align: i = "inherit",
|
|
2639
2572
|
variant: e = "body1",
|
|
@@ -2641,18 +2574,18 @@ const j2 = ({
|
|
|
2641
2574
|
children: s,
|
|
2642
2575
|
onClick: n,
|
|
2643
2576
|
collapsed: o,
|
|
2644
|
-
whiteSpace:
|
|
2577
|
+
whiteSpace: h = "normal",
|
|
2645
2578
|
/** This prop allows you to enable tooltip if text size is too big */
|
|
2646
2579
|
trim: a = !1
|
|
2647
2580
|
}, C) => {
|
|
2648
2581
|
const d = J(null);
|
|
2649
2582
|
Q1(C, () => d.current);
|
|
2650
|
-
const [l,
|
|
2583
|
+
const [l, c] = I(!1);
|
|
2651
2584
|
A(() => {
|
|
2652
2585
|
var N;
|
|
2653
2586
|
if (!a) return;
|
|
2654
2587
|
const m = () => {
|
|
2655
|
-
d.current &&
|
|
2588
|
+
d.current && c(d.current.scrollWidth > d.current.clientWidth);
|
|
2656
2589
|
};
|
|
2657
2590
|
m();
|
|
2658
2591
|
const y = new ResizeObserver(m);
|
|
@@ -2661,11 +2594,11 @@ const j2 = ({
|
|
|
2661
2594
|
};
|
|
2662
2595
|
}, [a]);
|
|
2663
2596
|
const g = e === "h1" || e === "h2" || e === "h3" || e === "h4";
|
|
2664
|
-
let
|
|
2665
|
-
i && i !== "inherit" && (
|
|
2666
|
-
const
|
|
2667
|
-
className:
|
|
2668
|
-
style: { color: t, whiteSpace: a ? "nowrap" :
|
|
2597
|
+
let f = `snmt-typography snmt-typography-${e}`;
|
|
2598
|
+
i && i !== "inherit" && (f += ` snmt-typography-align-${i}`), o && (f += " collapsed");
|
|
2599
|
+
const k = {
|
|
2600
|
+
className: f,
|
|
2601
|
+
style: { color: t, whiteSpace: a ? "nowrap" : h, display: a ? "block" : "" },
|
|
2669
2602
|
onClick: n,
|
|
2670
2603
|
ref: d,
|
|
2671
2604
|
ellipsis: a && l ? {
|
|
@@ -2675,16 +2608,16 @@ const j2 = ({
|
|
|
2675
2608
|
}
|
|
2676
2609
|
} : void 0
|
|
2677
2610
|
};
|
|
2678
|
-
return g ? /* @__PURE__ */ r(
|
|
2611
|
+
return g ? /* @__PURE__ */ r(J5, { level: q5[e], ...k, children: s }) : /* @__PURE__ */ r(Q5, { ...k, children: s });
|
|
2679
2612
|
}
|
|
2680
2613
|
);
|
|
2681
|
-
var
|
|
2614
|
+
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 || {});
|
|
2682
2615
|
const t2 = t1({
|
|
2683
2616
|
locale: "en",
|
|
2684
2617
|
theme: "light"
|
|
2685
2618
|
});
|
|
2686
2619
|
t2.Provider;
|
|
2687
|
-
const
|
|
2620
|
+
const ee = ({
|
|
2688
2621
|
width: i = 20,
|
|
2689
2622
|
height: e = 20,
|
|
2690
2623
|
color: t = "#001E52",
|
|
@@ -2711,10 +2644,10 @@ const te = ({
|
|
|
2711
2644
|
}
|
|
2712
2645
|
)
|
|
2713
2646
|
}
|
|
2714
|
-
),
|
|
2647
|
+
), te = ({
|
|
2715
2648
|
width: i = 20,
|
|
2716
2649
|
height: e = 20,
|
|
2717
|
-
color: t =
|
|
2650
|
+
color: t = L.GREY_DARK_5,
|
|
2718
2651
|
className: s,
|
|
2719
2652
|
onClick: n
|
|
2720
2653
|
}) => /* @__PURE__ */ u(
|
|
@@ -2751,7 +2684,7 @@ const te = ({
|
|
|
2751
2684
|
)
|
|
2752
2685
|
]
|
|
2753
2686
|
}
|
|
2754
|
-
),
|
|
2687
|
+
), ie = ({
|
|
2755
2688
|
width: i = 20,
|
|
2756
2689
|
height: e = 20,
|
|
2757
2690
|
color: t = "#001E52",
|
|
@@ -2786,10 +2719,10 @@ const te = ({
|
|
|
2786
2719
|
)
|
|
2787
2720
|
]
|
|
2788
2721
|
}
|
|
2789
|
-
),
|
|
2722
|
+
), se = ({
|
|
2790
2723
|
width: i = 20,
|
|
2791
2724
|
height: e = 20,
|
|
2792
|
-
color: t =
|
|
2725
|
+
color: t = L.GREY_DARK_5,
|
|
2793
2726
|
className: s,
|
|
2794
2727
|
onClick: n
|
|
2795
2728
|
}) => /* @__PURE__ */ u(
|
|
@@ -2833,10 +2766,10 @@ const te = ({
|
|
|
2833
2766
|
)
|
|
2834
2767
|
]
|
|
2835
2768
|
}
|
|
2836
|
-
),
|
|
2769
|
+
), ne = ({
|
|
2837
2770
|
width: i = 20,
|
|
2838
2771
|
height: e = 20,
|
|
2839
|
-
color: t =
|
|
2772
|
+
color: t = L.GREY_DARK_5,
|
|
2840
2773
|
className: s,
|
|
2841
2774
|
onClick: n
|
|
2842
2775
|
}) => /* @__PURE__ */ r(
|
|
@@ -2857,10 +2790,10 @@ const te = ({
|
|
|
2857
2790
|
}
|
|
2858
2791
|
)
|
|
2859
2792
|
}
|
|
2860
|
-
),
|
|
2793
|
+
), re = ({
|
|
2861
2794
|
width: i = 20,
|
|
2862
2795
|
height: e = 20,
|
|
2863
|
-
color: t =
|
|
2796
|
+
color: t = L.GREY_DARK_5,
|
|
2864
2797
|
className: s,
|
|
2865
2798
|
onClick: n
|
|
2866
2799
|
}) => /* @__PURE__ */ r(
|
|
@@ -2881,10 +2814,10 @@ const te = ({
|
|
|
2881
2814
|
}
|
|
2882
2815
|
)
|
|
2883
2816
|
}
|
|
2884
|
-
),
|
|
2817
|
+
), oe = ({
|
|
2885
2818
|
width: i = 20,
|
|
2886
2819
|
height: e = 20,
|
|
2887
|
-
color: t =
|
|
2820
|
+
color: t = L.GREY_DARK_5,
|
|
2888
2821
|
className: s,
|
|
2889
2822
|
onClick: n
|
|
2890
2823
|
}) => /* @__PURE__ */ r(
|
|
@@ -2905,10 +2838,10 @@ const te = ({
|
|
|
2905
2838
|
}
|
|
2906
2839
|
)
|
|
2907
2840
|
}
|
|
2908
|
-
),
|
|
2841
|
+
), ae = ({
|
|
2909
2842
|
width: i = 20,
|
|
2910
2843
|
height: e = 20,
|
|
2911
|
-
color: t =
|
|
2844
|
+
color: t = L.GREY_DARK_5,
|
|
2912
2845
|
className: s,
|
|
2913
2846
|
onClick: n
|
|
2914
2847
|
}) => /* @__PURE__ */ u(
|
|
@@ -2966,10 +2899,10 @@ const te = ({
|
|
|
2966
2899
|
)
|
|
2967
2900
|
]
|
|
2968
2901
|
}
|
|
2969
|
-
),
|
|
2902
|
+
), le = ({
|
|
2970
2903
|
width: i = 20,
|
|
2971
2904
|
height: e = 20,
|
|
2972
|
-
color: t =
|
|
2905
|
+
color: t = L.GREY_DARK_5,
|
|
2973
2906
|
className: s,
|
|
2974
2907
|
onClick: n
|
|
2975
2908
|
}) => /* @__PURE__ */ u(
|
|
@@ -3013,10 +2946,10 @@ const te = ({
|
|
|
3013
2946
|
)
|
|
3014
2947
|
]
|
|
3015
2948
|
}
|
|
3016
|
-
),
|
|
2949
|
+
), he = ({
|
|
3017
2950
|
width: i = 20,
|
|
3018
2951
|
height: e = 20,
|
|
3019
|
-
color: t =
|
|
2952
|
+
color: t = L.GREY_DARK_5,
|
|
3020
2953
|
className: s,
|
|
3021
2954
|
onClick: n
|
|
3022
2955
|
}) => /* @__PURE__ */ u(
|
|
@@ -3053,10 +2986,10 @@ const te = ({
|
|
|
3053
2986
|
)
|
|
3054
2987
|
]
|
|
3055
2988
|
}
|
|
3056
|
-
),
|
|
2989
|
+
), ce = ({
|
|
3057
2990
|
width: i = 20,
|
|
3058
2991
|
height: e = 20,
|
|
3059
|
-
color: t =
|
|
2992
|
+
color: t = L.GREY_DARK_5,
|
|
3060
2993
|
className: s,
|
|
3061
2994
|
onClick: n
|
|
3062
2995
|
}) => /* @__PURE__ */ u(
|
|
@@ -3093,10 +3026,10 @@ const te = ({
|
|
|
3093
3026
|
)
|
|
3094
3027
|
]
|
|
3095
3028
|
}
|
|
3096
|
-
),
|
|
3029
|
+
), de = ({
|
|
3097
3030
|
width: i = 20,
|
|
3098
3031
|
height: e = 20,
|
|
3099
|
-
color: t =
|
|
3032
|
+
color: t = L.GREY_DARK_5,
|
|
3100
3033
|
className: s,
|
|
3101
3034
|
onClick: n
|
|
3102
3035
|
}) => /* @__PURE__ */ u(
|
|
@@ -3140,10 +3073,10 @@ const te = ({
|
|
|
3140
3073
|
)
|
|
3141
3074
|
]
|
|
3142
3075
|
}
|
|
3143
|
-
),
|
|
3076
|
+
), Ce = ({
|
|
3144
3077
|
width: i = 20,
|
|
3145
3078
|
height: e = 20,
|
|
3146
|
-
color: t =
|
|
3079
|
+
color: t = L.GREY_DARK_5,
|
|
3147
3080
|
className: s,
|
|
3148
3081
|
onClick: n
|
|
3149
3082
|
}) => /* @__PURE__ */ u(
|
|
@@ -3187,10 +3120,10 @@ const te = ({
|
|
|
3187
3120
|
)
|
|
3188
3121
|
]
|
|
3189
3122
|
}
|
|
3190
|
-
),
|
|
3123
|
+
), ge = ({
|
|
3191
3124
|
width: i = 20,
|
|
3192
3125
|
height: e = 20,
|
|
3193
|
-
color: t =
|
|
3126
|
+
color: t = L.GREY_DARK_5,
|
|
3194
3127
|
className: s,
|
|
3195
3128
|
onClick: n
|
|
3196
3129
|
}) => /* @__PURE__ */ u(
|
|
@@ -3234,10 +3167,10 @@ const te = ({
|
|
|
3234
3167
|
)
|
|
3235
3168
|
]
|
|
3236
3169
|
}
|
|
3237
|
-
),
|
|
3170
|
+
), ue = ({
|
|
3238
3171
|
width: i = 20,
|
|
3239
3172
|
height: e = 20,
|
|
3240
|
-
color: t =
|
|
3173
|
+
color: t = L.GREY_DARK_5,
|
|
3241
3174
|
className: s,
|
|
3242
3175
|
onClick: n
|
|
3243
3176
|
}) => /* @__PURE__ */ u(
|
|
@@ -3277,7 +3210,7 @@ const te = ({
|
|
|
3277
3210
|
), fe = ({
|
|
3278
3211
|
width: i = 20,
|
|
3279
3212
|
height: e = 20,
|
|
3280
|
-
color: t =
|
|
3213
|
+
color: t = L.GREY_DARK_5,
|
|
3281
3214
|
className: s,
|
|
3282
3215
|
onClick: n
|
|
3283
3216
|
}) => /* @__PURE__ */ u(
|
|
@@ -3307,10 +3240,10 @@ const te = ({
|
|
|
3307
3240
|
)
|
|
3308
3241
|
]
|
|
3309
3242
|
}
|
|
3310
|
-
),
|
|
3243
|
+
), pe = ({
|
|
3311
3244
|
width: i = 20,
|
|
3312
3245
|
height: e = 20,
|
|
3313
|
-
color: t =
|
|
3246
|
+
color: t = L.GREY_DARK_5,
|
|
3314
3247
|
className: s,
|
|
3315
3248
|
onClick: n
|
|
3316
3249
|
}) => /* @__PURE__ */ u(
|
|
@@ -3340,10 +3273,10 @@ const te = ({
|
|
|
3340
3273
|
)
|
|
3341
3274
|
]
|
|
3342
3275
|
}
|
|
3343
|
-
),
|
|
3276
|
+
), me = ({
|
|
3344
3277
|
width: i = 20,
|
|
3345
3278
|
height: e = 20,
|
|
3346
|
-
color: t =
|
|
3279
|
+
color: t = L.GREY_DARK_5,
|
|
3347
3280
|
className: s,
|
|
3348
3281
|
onClick: n
|
|
3349
3282
|
}) => /* @__PURE__ */ u(
|
|
@@ -3373,10 +3306,10 @@ const te = ({
|
|
|
3373
3306
|
)
|
|
3374
3307
|
]
|
|
3375
3308
|
}
|
|
3376
|
-
),
|
|
3309
|
+
), we = ({
|
|
3377
3310
|
width: i = 20,
|
|
3378
3311
|
height: e = 20,
|
|
3379
|
-
color: t =
|
|
3312
|
+
color: t = L.GREY_DARK_5,
|
|
3380
3313
|
className: s,
|
|
3381
3314
|
onClick: n
|
|
3382
3315
|
}) => /* @__PURE__ */ u(
|
|
@@ -3406,10 +3339,10 @@ const te = ({
|
|
|
3406
3339
|
)
|
|
3407
3340
|
]
|
|
3408
3341
|
}
|
|
3409
|
-
),
|
|
3342
|
+
), Le = ({
|
|
3410
3343
|
width: i = 20,
|
|
3411
3344
|
height: e = 20,
|
|
3412
|
-
color: t =
|
|
3345
|
+
color: t = L.GREY_DARK_5,
|
|
3413
3346
|
className: s,
|
|
3414
3347
|
onClick: n
|
|
3415
3348
|
}) => /* @__PURE__ */ u(
|
|
@@ -3446,10 +3379,10 @@ const te = ({
|
|
|
3446
3379
|
)
|
|
3447
3380
|
]
|
|
3448
3381
|
}
|
|
3449
|
-
),
|
|
3382
|
+
), ke = ({
|
|
3450
3383
|
width: i = 20,
|
|
3451
3384
|
height: e = 20,
|
|
3452
|
-
color: t =
|
|
3385
|
+
color: t = L.GREY_DARK_5,
|
|
3453
3386
|
className: s,
|
|
3454
3387
|
onClick: n
|
|
3455
3388
|
}) => /* @__PURE__ */ u(
|
|
@@ -3479,10 +3412,10 @@ const te = ({
|
|
|
3479
3412
|
)
|
|
3480
3413
|
]
|
|
3481
3414
|
}
|
|
3482
|
-
),
|
|
3415
|
+
), ve = ({
|
|
3483
3416
|
width: i = 20,
|
|
3484
3417
|
height: e = 20,
|
|
3485
|
-
color: t =
|
|
3418
|
+
color: t = L.GREY_DARK_5,
|
|
3486
3419
|
className: s,
|
|
3487
3420
|
onClick: n
|
|
3488
3421
|
}) => /* @__PURE__ */ u(
|
|
@@ -3512,7 +3445,7 @@ const te = ({
|
|
|
3512
3445
|
)
|
|
3513
3446
|
]
|
|
3514
3447
|
}
|
|
3515
|
-
),
|
|
3448
|
+
), Ne = ({
|
|
3516
3449
|
width: i = 20,
|
|
3517
3450
|
height: e = 20,
|
|
3518
3451
|
color: t = "#070739",
|
|
@@ -3542,7 +3475,7 @@ const te = ({
|
|
|
3542
3475
|
/* @__PURE__ */ r("circle", { cx: "10", cy: "10", r: "2.375", stroke: t, strokeWidth: "1.25" })
|
|
3543
3476
|
]
|
|
3544
3477
|
}
|
|
3545
|
-
),
|
|
3478
|
+
), Re = ({
|
|
3546
3479
|
width: i = 20,
|
|
3547
3480
|
height: e = 20,
|
|
3548
3481
|
color: t = "#070739",
|
|
@@ -3580,7 +3513,7 @@ const te = ({
|
|
|
3580
3513
|
)
|
|
3581
3514
|
]
|
|
3582
3515
|
}
|
|
3583
|
-
),
|
|
3516
|
+
), xe = ({
|
|
3584
3517
|
width: i = 9,
|
|
3585
3518
|
height: e = 5,
|
|
3586
3519
|
color: t = "#001E52",
|
|
@@ -3606,7 +3539,7 @@ const te = ({
|
|
|
3606
3539
|
}
|
|
3607
3540
|
)
|
|
3608
3541
|
}
|
|
3609
|
-
),
|
|
3542
|
+
), Me = ({
|
|
3610
3543
|
width: i = 20,
|
|
3611
3544
|
height: e = 20,
|
|
3612
3545
|
color: t = "#F2F2F7",
|
|
@@ -3635,7 +3568,7 @@ const te = ({
|
|
|
3635
3568
|
)
|
|
3636
3569
|
]
|
|
3637
3570
|
}
|
|
3638
|
-
),
|
|
3571
|
+
), _e = ({
|
|
3639
3572
|
width: i = 20,
|
|
3640
3573
|
height: e = 20,
|
|
3641
3574
|
color: t = "#004ED7",
|
|
@@ -3664,7 +3597,7 @@ const te = ({
|
|
|
3664
3597
|
)
|
|
3665
3598
|
]
|
|
3666
3599
|
}
|
|
3667
|
-
),
|
|
3600
|
+
), be = ({
|
|
3668
3601
|
width: i = 10,
|
|
3669
3602
|
height: e = 10,
|
|
3670
3603
|
color: t = "#001E52",
|
|
@@ -3693,7 +3626,7 @@ const te = ({
|
|
|
3693
3626
|
)
|
|
3694
3627
|
]
|
|
3695
3628
|
}
|
|
3696
|
-
),
|
|
3629
|
+
), ye = ({
|
|
3697
3630
|
width: i = 10,
|
|
3698
3631
|
height: e = 10,
|
|
3699
3632
|
color: t = "#001E52",
|
|
@@ -3730,9 +3663,9 @@ const te = ({
|
|
|
3730
3663
|
)
|
|
3731
3664
|
]
|
|
3732
3665
|
}
|
|
3733
|
-
),
|
|
3666
|
+
), He = ({
|
|
3734
3667
|
className: i,
|
|
3735
|
-
color: e =
|
|
3668
|
+
color: e = L.GREY_DARK_5,
|
|
3736
3669
|
height: t = 20,
|
|
3737
3670
|
width: s = 20,
|
|
3738
3671
|
onClick: n
|
|
@@ -3763,9 +3696,9 @@ const te = ({
|
|
|
3763
3696
|
)
|
|
3764
3697
|
]
|
|
3765
3698
|
}
|
|
3766
|
-
),
|
|
3699
|
+
), Ee = ({
|
|
3767
3700
|
className: i,
|
|
3768
|
-
color: e =
|
|
3701
|
+
color: e = L.GREY_DARK_5,
|
|
3769
3702
|
height: t = 20,
|
|
3770
3703
|
width: s = 20,
|
|
3771
3704
|
onClick: n
|
|
@@ -3790,9 +3723,9 @@ const te = ({
|
|
|
3790
3723
|
}
|
|
3791
3724
|
)
|
|
3792
3725
|
}
|
|
3793
|
-
),
|
|
3726
|
+
), Ve = ({
|
|
3794
3727
|
className: i,
|
|
3795
|
-
color: e =
|
|
3728
|
+
color: e = L.GREY_DARK_5,
|
|
3796
3729
|
height: t = 20,
|
|
3797
3730
|
width: s = 20,
|
|
3798
3731
|
onClick: n
|
|
@@ -3817,9 +3750,9 @@ const te = ({
|
|
|
3817
3750
|
}
|
|
3818
3751
|
)
|
|
3819
3752
|
}
|
|
3820
|
-
),
|
|
3753
|
+
), Ie = ({
|
|
3821
3754
|
className: i,
|
|
3822
|
-
color: e =
|
|
3755
|
+
color: e = L.GREY_DARK_5,
|
|
3823
3756
|
height: t = 5,
|
|
3824
3757
|
width: s = 10,
|
|
3825
3758
|
onClick: n
|
|
@@ -3841,9 +3774,9 @@ const te = ({
|
|
|
3841
3774
|
}
|
|
3842
3775
|
)
|
|
3843
3776
|
}
|
|
3844
|
-
),
|
|
3777
|
+
), Ae = ({
|
|
3845
3778
|
className: i,
|
|
3846
|
-
color: e =
|
|
3779
|
+
color: e = L.GREY_DARK_5,
|
|
3847
3780
|
height: t = 5,
|
|
3848
3781
|
width: s = 10,
|
|
3849
3782
|
onClick: n
|
|
@@ -3868,7 +3801,7 @@ const te = ({
|
|
|
3868
3801
|
}
|
|
3869
3802
|
), Ze = ({
|
|
3870
3803
|
className: i,
|
|
3871
|
-
color: e =
|
|
3804
|
+
color: e = L.GREY_DARK_5,
|
|
3872
3805
|
height: t = 20,
|
|
3873
3806
|
width: s = 20,
|
|
3874
3807
|
onClick: n
|
|
@@ -3899,9 +3832,9 @@ const te = ({
|
|
|
3899
3832
|
)
|
|
3900
3833
|
]
|
|
3901
3834
|
}
|
|
3902
|
-
),
|
|
3835
|
+
), Oe = ({
|
|
3903
3836
|
className: i,
|
|
3904
|
-
color: e =
|
|
3837
|
+
color: e = L.GREY_DARK_5,
|
|
3905
3838
|
height: t = 24,
|
|
3906
3839
|
width: s = 24,
|
|
3907
3840
|
onClick: n
|
|
@@ -3938,9 +3871,9 @@ const te = ({
|
|
|
3938
3871
|
)
|
|
3939
3872
|
]
|
|
3940
3873
|
}
|
|
3941
|
-
),
|
|
3874
|
+
), Se = ({
|
|
3942
3875
|
className: i,
|
|
3943
|
-
color: e =
|
|
3876
|
+
color: e = L.GREY_DARK_5,
|
|
3944
3877
|
height: t = 24,
|
|
3945
3878
|
width: s = 24,
|
|
3946
3879
|
onClick: n
|
|
@@ -3965,9 +3898,9 @@ const te = ({
|
|
|
3965
3898
|
}
|
|
3966
3899
|
)
|
|
3967
3900
|
}
|
|
3968
|
-
),
|
|
3901
|
+
), De = ({
|
|
3969
3902
|
className: i,
|
|
3970
|
-
color: e =
|
|
3903
|
+
color: e = L.GREY_DARK_5,
|
|
3971
3904
|
height: t = 24,
|
|
3972
3905
|
width: s = 24,
|
|
3973
3906
|
onClick: n
|
|
@@ -4024,9 +3957,9 @@ const te = ({
|
|
|
4024
3957
|
)
|
|
4025
3958
|
]
|
|
4026
3959
|
}
|
|
4027
|
-
),
|
|
3960
|
+
), Ge = ({
|
|
4028
3961
|
className: i,
|
|
4029
|
-
color: e =
|
|
3962
|
+
color: e = L.GREY_DARK_5,
|
|
4030
3963
|
height: t = 24,
|
|
4031
3964
|
width: s = 24,
|
|
4032
3965
|
onClick: n
|
|
@@ -4061,9 +3994,9 @@ const te = ({
|
|
|
4061
3994
|
)
|
|
4062
3995
|
]
|
|
4063
3996
|
}
|
|
4064
|
-
),
|
|
3997
|
+
), Te = ({
|
|
4065
3998
|
className: i,
|
|
4066
|
-
color: e =
|
|
3999
|
+
color: e = L.GREY_DARK_3,
|
|
4067
4000
|
height: t = 14,
|
|
4068
4001
|
width: s = 14,
|
|
4069
4002
|
onClick: n
|
|
@@ -4098,9 +4031,9 @@ const te = ({
|
|
|
4098
4031
|
)
|
|
4099
4032
|
]
|
|
4100
4033
|
}
|
|
4101
|
-
),
|
|
4034
|
+
), Ke = ({
|
|
4102
4035
|
className: i,
|
|
4103
|
-
color: e =
|
|
4036
|
+
color: e = L.GREY_DARK_5,
|
|
4104
4037
|
height: t = 18,
|
|
4105
4038
|
onClick: s,
|
|
4106
4039
|
width: n = 18
|
|
@@ -4125,9 +4058,9 @@ const te = ({
|
|
|
4125
4058
|
}
|
|
4126
4059
|
)
|
|
4127
4060
|
}
|
|
4128
|
-
),
|
|
4061
|
+
), Be = ({
|
|
4129
4062
|
className: i,
|
|
4130
|
-
color: e =
|
|
4063
|
+
color: e = L.GREY_DARK_5,
|
|
4131
4064
|
height: t = 24,
|
|
4132
4065
|
width: s = 24,
|
|
4133
4066
|
onClick: n
|
|
@@ -4177,9 +4110,9 @@ const te = ({
|
|
|
4177
4110
|
)
|
|
4178
4111
|
]
|
|
4179
4112
|
}
|
|
4180
|
-
),
|
|
4113
|
+
), Pe = ({
|
|
4181
4114
|
className: i,
|
|
4182
|
-
color: e =
|
|
4115
|
+
color: e = L.GREY_DARK_5,
|
|
4183
4116
|
height: t = 24,
|
|
4184
4117
|
width: s = 24,
|
|
4185
4118
|
onClick: n
|
|
@@ -4214,9 +4147,9 @@ const te = ({
|
|
|
4214
4147
|
)
|
|
4215
4148
|
]
|
|
4216
4149
|
}
|
|
4217
|
-
),
|
|
4150
|
+
), Ye = ({
|
|
4218
4151
|
className: i,
|
|
4219
|
-
color: e =
|
|
4152
|
+
color: e = L.NOTIFICATION_WARNING_DARK,
|
|
4220
4153
|
height: t = 37,
|
|
4221
4154
|
width: s = 36,
|
|
4222
4155
|
onClick: n
|
|
@@ -4253,9 +4186,9 @@ const te = ({
|
|
|
4253
4186
|
)
|
|
4254
4187
|
]
|
|
4255
4188
|
}
|
|
4256
|
-
),
|
|
4189
|
+
), je = ({
|
|
4257
4190
|
className: i,
|
|
4258
|
-
color: e =
|
|
4191
|
+
color: e = L.GREY_DARK_5,
|
|
4259
4192
|
height: t = 24,
|
|
4260
4193
|
width: s = 24,
|
|
4261
4194
|
onClick: n
|
|
@@ -4279,9 +4212,9 @@ const te = ({
|
|
|
4279
4212
|
}
|
|
4280
4213
|
)
|
|
4281
4214
|
}
|
|
4282
|
-
),
|
|
4215
|
+
), $e = ({
|
|
4283
4216
|
className: i,
|
|
4284
|
-
color: e =
|
|
4217
|
+
color: e = L.GREY_DARK_5,
|
|
4285
4218
|
height: t = 24,
|
|
4286
4219
|
width: s = 24,
|
|
4287
4220
|
onClick: n
|
|
@@ -4318,9 +4251,9 @@ const te = ({
|
|
|
4318
4251
|
)
|
|
4319
4252
|
]
|
|
4320
4253
|
}
|
|
4321
|
-
),
|
|
4254
|
+
), Fe = ({
|
|
4322
4255
|
className: i,
|
|
4323
|
-
color: e =
|
|
4256
|
+
color: e = L.GREY_DARK_5,
|
|
4324
4257
|
height: t = 20,
|
|
4325
4258
|
width: s = 20,
|
|
4326
4259
|
onClick: n
|
|
@@ -4351,9 +4284,9 @@ const te = ({
|
|
|
4351
4284
|
)
|
|
4352
4285
|
]
|
|
4353
4286
|
}
|
|
4354
|
-
),
|
|
4287
|
+
), We = ({
|
|
4355
4288
|
className: i,
|
|
4356
|
-
color: e =
|
|
4289
|
+
color: e = L.GREY_DARK_5,
|
|
4357
4290
|
height: t = 24,
|
|
4358
4291
|
width: s = 24,
|
|
4359
4292
|
onClick: n
|
|
@@ -4420,9 +4353,9 @@ const te = ({
|
|
|
4420
4353
|
)
|
|
4421
4354
|
]
|
|
4422
4355
|
}
|
|
4423
|
-
),
|
|
4356
|
+
), Ue = ({
|
|
4424
4357
|
className: i,
|
|
4425
|
-
color: e =
|
|
4358
|
+
color: e = L.GREY_DARK_5,
|
|
4426
4359
|
height: t = 24,
|
|
4427
4360
|
width: s = 24,
|
|
4428
4361
|
onClick: n
|
|
@@ -4477,9 +4410,9 @@ const te = ({
|
|
|
4477
4410
|
)
|
|
4478
4411
|
]
|
|
4479
4412
|
}
|
|
4480
|
-
),
|
|
4413
|
+
), ze = ({
|
|
4481
4414
|
className: i,
|
|
4482
|
-
color: e =
|
|
4415
|
+
color: e = L.GREY_DARK_5,
|
|
4483
4416
|
height: t = 24,
|
|
4484
4417
|
width: s = 24,
|
|
4485
4418
|
onClick: n
|
|
@@ -4526,9 +4459,9 @@ const te = ({
|
|
|
4526
4459
|
)
|
|
4527
4460
|
]
|
|
4528
4461
|
}
|
|
4529
|
-
),
|
|
4462
|
+
), Je = ({
|
|
4530
4463
|
className: i,
|
|
4531
|
-
color: e =
|
|
4464
|
+
color: e = L.GREY_DARK_5,
|
|
4532
4465
|
height: t = 24,
|
|
4533
4466
|
width: s = 24,
|
|
4534
4467
|
onClick: n
|
|
@@ -4553,9 +4486,9 @@ const te = ({
|
|
|
4553
4486
|
}
|
|
4554
4487
|
)
|
|
4555
4488
|
}
|
|
4556
|
-
),
|
|
4489
|
+
), Qe = ({
|
|
4557
4490
|
className: i,
|
|
4558
|
-
color: e =
|
|
4491
|
+
color: e = L.GREY_DARK_5,
|
|
4559
4492
|
height: t = 20,
|
|
4560
4493
|
width: s = 20,
|
|
4561
4494
|
onClick: n
|
|
@@ -4570,7 +4503,7 @@ const te = ({
|
|
|
4570
4503
|
fill: "none",
|
|
4571
4504
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4572
4505
|
children: [
|
|
4573
|
-
/* @__PURE__ */ r("rect", { width: "20", height: "20", rx: "4", fill:
|
|
4506
|
+
/* @__PURE__ */ r("rect", { width: "20", height: "20", rx: "4", fill: L.GREY_LIGHT_2 }),
|
|
4574
4507
|
/* @__PURE__ */ r(
|
|
4575
4508
|
"path",
|
|
4576
4509
|
{
|
|
@@ -4582,7 +4515,7 @@ const te = ({
|
|
|
4582
4515
|
)
|
|
4583
4516
|
]
|
|
4584
4517
|
}
|
|
4585
|
-
),
|
|
4518
|
+
), qe = ({
|
|
4586
4519
|
className: i,
|
|
4587
4520
|
color: e = "#001E52",
|
|
4588
4521
|
height: t = 24,
|
|
@@ -4608,7 +4541,7 @@ const te = ({
|
|
|
4608
4541
|
}
|
|
4609
4542
|
)
|
|
4610
4543
|
}
|
|
4611
|
-
),
|
|
4544
|
+
), Xe = ({
|
|
4612
4545
|
className: i,
|
|
4613
4546
|
color: e = "#001E52",
|
|
4614
4547
|
height: t = 24,
|
|
@@ -4646,63 +4579,31 @@ const te = ({
|
|
|
4646
4579
|
)
|
|
4647
4580
|
] }) })
|
|
4648
4581
|
}
|
|
4649
|
-
),
|
|
4582
|
+
), e7 = ({
|
|
4650
4583
|
width: i = 20,
|
|
4651
4584
|
height: e = 20,
|
|
4652
|
-
color: t =
|
|
4585
|
+
color: t = L.GREY_DARK_5,
|
|
4653
4586
|
className: s,
|
|
4654
4587
|
onClick: n
|
|
4655
4588
|
}) => /* @__PURE__ */ r(
|
|
4656
4589
|
"svg",
|
|
4657
4590
|
{
|
|
4658
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4659
4591
|
width: i,
|
|
4660
4592
|
height: e,
|
|
4661
|
-
className: s,
|
|
4662
4593
|
onClick: n,
|
|
4663
|
-
|
|
4594
|
+
className: s,
|
|
4595
|
+
viewBox: "0 0 24 24",
|
|
4664
4596
|
fill: "none",
|
|
4597
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4665
4598
|
children: /* @__PURE__ */ r(
|
|
4666
4599
|
"path",
|
|
4667
4600
|
{
|
|
4668
|
-
|
|
4669
|
-
clipRule: "evenodd",
|
|
4670
|
-
d: `M2.88667 2.88667C1.66667 4.10834 1.66667 6.07167 1.66667 10C1.66667 13.9283 1.66667 15.8925
|
|
4671
|
-
2.88667 17.1125C4.10833 18.3333 6.07167 18.3333 10 18.3333C13.9283 18.3333 15.8925 18.3333 17.1125
|
|
4672
|
-
17.1125C18.3333 15.8933 18.3333 13.9283 18.3333 10C18.3333 6.07167 18.3333 4.10751 17.1125 2.88667C15.8933
|
|
4673
|
-
1.66667 13.9283 1.66667 10 1.66667C6.07167 1.66667 4.1075 1.66667 2.88667 2.88667ZM8.78667 6.26417C8.84325
|
|
4674
|
-
6.20469 8.88755 6.13465 8.91706 6.05805C8.94657 5.98145 8.96071 5.89979 8.95866 5.81772C8.95661 5.73566
|
|
4675
|
-
8.93841 5.6548 8.90511 5.57977C8.87181 5.50474 8.82406 5.437 8.76458 5.38042C8.70511 5.32384 8.63507 5.27954
|
|
4676
|
-
8.55847 5.25003C8.48186 5.22052 8.4002 5.20638 8.31814 5.20843C8.23607 5.21048 8.15522 5.22868 8.08018
|
|
4677
|
-
5.26198C8.00515 5.29528 7.93741 5.34303 7.88083 5.4025L5.9525 7.42751L5.4525 6.9025C5.39654 6.84066 5.32876
|
|
4678
|
-
6.79064 5.25316 6.75539C5.17756 6.72015 5.09567 6.70039 5.01232 6.69729C4.92897 6.69418 4.84583 6.7078
|
|
4679
|
-
4.76782 6.73732C4.68982 6.76685 4.6185 6.81169 4.5581 6.86921C4.49769 6.92673 4.4494 6.99575 4.41609
|
|
4680
|
-
7.07222C4.38277 7.14869 4.3651 7.23105 4.36411 7.31446C4.36312 7.39786 4.37884 7.48062 4.41034 7.55786C4.44183
|
|
4681
|
-
7.63509 4.48847 7.70524 4.5475 7.76417L5.5 8.76417C5.55837 8.82544 5.62858 8.87421 5.70636 8.90754C5.78414
|
|
4682
|
-
8.94086 5.86788 8.95805 5.9525 8.95805C6.03712 8.95805 6.12086 8.94086 6.19864 8.90754C6.27643 8.87421
|
|
4683
|
-
6.34663 8.82544 6.405 8.76417L8.78667 6.26417ZM10.8333 6.875C10.6676 6.875 10.5086 6.94085 10.3914
|
|
4684
|
-
7.05806C10.2742 7.17527 10.2083 7.33424 10.2083 7.5C10.2083 7.66577 10.2742 7.82474 10.3914 7.94195C10.5086
|
|
4685
|
-
8.05916 10.6676 8.125 10.8333 8.125H15C15.1658 8.125 15.3247 8.05916 15.4419 7.94195C15.5592 7.82474 15.625
|
|
4686
|
-
7.66577 15.625 7.5C15.625 7.33424 15.5592 7.17527 15.4419 7.05806C15.3247 6.94085 15.1658 6.875 15
|
|
4687
|
-
6.875H10.8333ZM8.78583 12.0975C8.84486 12.0386 8.8915 11.9684 8.923 11.8912C8.95449 11.814 8.97021 11.7312
|
|
4688
|
-
8.96922 11.6478C8.96824 11.5644 8.95056 11.482 8.91725 11.4056C8.88393 11.3291 8.83565 11.2601 8.77524
|
|
4689
|
-
11.2025C8.71483 11.145 8.64352 11.1002 8.56551 11.0707C8.4875 11.0411 8.40437 11.0275 8.32102 11.0306C8.23766
|
|
4690
|
-
11.0337 8.15578 11.0535 8.08018 11.0887C8.00458 11.124 7.9368 11.174 7.88083 11.2358L5.9525 13.2608L5.4525
|
|
4691
|
-
12.7358C5.39654 12.674 5.32876 12.624 5.25316 12.5887C5.17756 12.5535 5.09567 12.5337 5.01232 12.5306C4.92897
|
|
4692
|
-
12.5275 4.84583 12.5411 4.76782 12.5707C4.68982 12.6002 4.6185 12.645 4.5581 12.7025C4.49769 12.7601 4.4494
|
|
4693
|
-
12.8291 4.41609 12.9056C4.38277 12.982 4.3651 13.0644 4.36411 13.1478C4.36312 13.2312 4.37884 13.314 4.41034
|
|
4694
|
-
13.3912C4.44183 13.4684 4.48847 13.5386 4.5475 13.5975L5.5 14.5975C5.55837 14.6588 5.62858 14.7075 5.70636
|
|
4695
|
-
14.7409C5.78414 14.7742 5.86788 14.7914 5.9525 14.7914C6.03712 14.7914 6.12086 14.7742 6.19864 14.7409C6.27643
|
|
4696
|
-
14.7075 6.34663 14.6588 6.405 14.5975L8.78583 12.0975ZM10.8333 12.7083C10.6676 12.7083 10.5086 12.7742 10.3914
|
|
4697
|
-
12.8914C10.2742 13.0086 10.2083 13.1676 10.2083 13.3333C10.2083 13.4991 10.2742 13.6581 10.3914 13.7753C10.5086
|
|
4698
|
-
13.8925 10.6676 13.9583 10.8333 13.9583H15C15.1658 13.9583 15.3247 13.8925 15.4419 13.7753C15.5592 13.6581
|
|
4699
|
-
15.625 13.4991 15.625 13.3333C15.625 13.1676 15.5592 13.0086 15.4419 12.8914C15.3247 12.7742 15.1658 12.7083
|
|
4700
|
-
15 12.7083H10.8333Z`,
|
|
4601
|
+
d: "M6.06939 16.5692C6.3622 16.2765 6.83706 16.2767 7.12994 16.5692C7.4228 16.8621 7.42273 17.3369 7.12994 17.6298L5.12994 19.6298C4.98929 19.7704 4.79858 19.8495 4.59967 19.8495C4.45045 19.8495 4.30597 19.8052 4.18365 19.7235L4.06939 19.6298L3.26959 18.83L3.21783 18.7733C2.97763 18.4787 2.99503 18.044 3.26959 17.7694C3.54417 17.495 3.97896 17.4775 4.2735 17.7177L4.33014 17.7694L4.59967 18.0389L6.06939 16.5692ZM20.0001 17.7499L20.0762 17.7538C20.4546 17.7921 20.75 18.1115 20.7501 18.4999C20.7501 18.8883 20.4546 19.2077 20.0762 19.246L20.0001 19.2499H9.00006C8.58584 19.2499 8.25006 18.9141 8.25006 18.4999C8.25007 18.0857 8.58585 17.7499 9.00006 17.7499H20.0001ZM5.55475 13.0145C5.27614 13.3209 4.80164 13.3438 4.49518 13.0653C4.18868 12.7867 4.16675 12.3122 4.44537 12.0057L5.55475 13.0145ZM20.0001 11.7499L20.0762 11.7538C20.4546 11.7921 20.75 12.1115 20.7501 12.4999C20.7501 12.8883 20.4546 13.2077 20.0762 13.246L20.0001 13.2499H9.00006C8.58584 13.2499 8.25006 12.9141 8.25006 12.4999C8.25007 12.0857 8.58585 11.7499 9.00006 11.7499H20.0001ZM4.50982 11.9403C4.79264 11.6865 5.22745 11.6831 5.51471 11.9442C5.80181 12.2055 5.8394 12.6386 5.61334 12.9442L5.56451 13.0038L5.55475 13.0145L4.44537 12.0057L4.45514 11.994L4.50982 11.9403ZM5.55475 7.01453C5.27614 7.32089 4.80164 7.3438 4.49518 7.06532C4.18868 6.78668 4.16674 6.31224 4.44537 6.00575L5.55475 7.01453ZM20.0001 5.74989L20.0762 5.75379C20.4546 5.79206 20.75 6.11146 20.7501 6.49989C20.7501 6.88832 20.4546 7.20771 20.0762 7.24598L20.0001 7.24989H9.00006C8.58584 7.24989 8.25006 6.9141 8.25006 6.49989C8.25007 6.08568 8.58585 5.74989 9.00006 5.74989H20.0001ZM4.45514 5.99403C4.73381 5.68784 5.20832 5.66569 5.51471 5.94422C5.8209 6.22289 5.84305 6.69741 5.56451 7.00379L5.55475 7.01453L4.44537 6.00575L4.45514 5.99403Z",
|
|
4701
4602
|
fill: t
|
|
4702
4603
|
}
|
|
4703
4604
|
)
|
|
4704
4605
|
}
|
|
4705
|
-
),
|
|
4606
|
+
), t7 = ({
|
|
4706
4607
|
width: i = 24,
|
|
4707
4608
|
height: e = 24,
|
|
4708
4609
|
color: t = "#131314",
|
|
@@ -4735,10 +4636,10 @@ const te = ({
|
|
|
4735
4636
|
)
|
|
4736
4637
|
]
|
|
4737
4638
|
}
|
|
4738
|
-
),
|
|
4739
|
-
width: i =
|
|
4740
|
-
height: e =
|
|
4741
|
-
color: t =
|
|
4639
|
+
), i7 = ({
|
|
4640
|
+
width: i = 20,
|
|
4641
|
+
height: e = 20,
|
|
4642
|
+
color: t = L.GREY_DARK_5,
|
|
4742
4643
|
className: s,
|
|
4743
4644
|
onClick: n
|
|
4744
4645
|
}) => /* @__PURE__ */ u(
|
|
@@ -4746,38 +4647,32 @@ const te = ({
|
|
|
4746
4647
|
{
|
|
4747
4648
|
width: i,
|
|
4748
4649
|
height: e,
|
|
4650
|
+
className: s,
|
|
4651
|
+
onClick: n,
|
|
4749
4652
|
viewBox: "0 0 24 24",
|
|
4750
4653
|
fill: "none",
|
|
4751
4654
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4752
|
-
className: s,
|
|
4753
|
-
onClick: n,
|
|
4754
4655
|
children: [
|
|
4755
4656
|
/* @__PURE__ */ r(
|
|
4756
4657
|
"path",
|
|
4757
4658
|
{
|
|
4758
|
-
d: "
|
|
4759
|
-
|
|
4760
|
-
strokeWidth: "1.5",
|
|
4761
|
-
strokeLinecap: "round",
|
|
4762
|
-
strokeLinejoin: "round"
|
|
4659
|
+
d: "M18.25 20.5V19.5C18.25 16.0482 15.4518 13.25 12 13.25C8.54822 13.25 5.75 16.0482 5.75 19.5V20.5C5.75 20.9142 5.41421 21.25 5 21.25C4.58579 21.25 4.25 20.9142 4.25 20.5V19.5C4.25 15.2198 7.71979 11.75 12 11.75C16.2802 11.75 19.75 15.2198 19.75 19.5V20.5C19.75 20.9142 19.4142 21.25 19 21.25C18.5858 21.25 18.25 20.9142 18.25 20.5Z",
|
|
4660
|
+
fill: t
|
|
4763
4661
|
}
|
|
4764
4662
|
),
|
|
4765
4663
|
/* @__PURE__ */ r(
|
|
4766
4664
|
"path",
|
|
4767
4665
|
{
|
|
4768
|
-
d: "
|
|
4769
|
-
|
|
4770
|
-
strokeWidth: "1.5",
|
|
4771
|
-
strokeLinecap: "round",
|
|
4772
|
-
strokeLinejoin: "round"
|
|
4666
|
+
d: "M15.25 8.5C15.25 6.70507 13.7949 5.25 12 5.25C10.2051 5.25 8.75 6.70507 8.75 8.5C8.75 10.2949 10.2051 11.75 12 11.75C13.7949 11.75 15.25 10.2949 15.25 8.5ZM16.75 8.5C16.75 11.1234 14.6234 13.25 12 13.25C9.37665 13.25 7.25 11.1234 7.25 8.5C7.25 5.87665 9.37665 3.75 12 3.75C14.6234 3.75 16.75 5.87665 16.75 8.5Z",
|
|
4667
|
+
fill: t
|
|
4773
4668
|
}
|
|
4774
4669
|
)
|
|
4775
4670
|
]
|
|
4776
4671
|
}
|
|
4777
|
-
),
|
|
4672
|
+
), s7 = ({
|
|
4778
4673
|
width: i = 24,
|
|
4779
4674
|
height: e = 24,
|
|
4780
|
-
color: t =
|
|
4675
|
+
color: t = L.GREY_DARK_2,
|
|
4781
4676
|
className: s,
|
|
4782
4677
|
onClick: n
|
|
4783
4678
|
}) => /* @__PURE__ */ u(
|
|
@@ -4814,10 +4709,10 @@ const te = ({
|
|
|
4814
4709
|
)
|
|
4815
4710
|
]
|
|
4816
4711
|
}
|
|
4817
|
-
),
|
|
4712
|
+
), n7 = ({
|
|
4818
4713
|
width: i = 24,
|
|
4819
4714
|
height: e = 24,
|
|
4820
|
-
color: t =
|
|
4715
|
+
color: t = L.GREY_DARK_2,
|
|
4821
4716
|
className: s,
|
|
4822
4717
|
onClick: n
|
|
4823
4718
|
}) => /* @__PURE__ */ r(
|
|
@@ -4841,10 +4736,10 @@ const te = ({
|
|
|
4841
4736
|
}
|
|
4842
4737
|
)
|
|
4843
4738
|
}
|
|
4844
|
-
),
|
|
4739
|
+
), r7 = ({
|
|
4845
4740
|
width: i = 24,
|
|
4846
4741
|
height: e = 24,
|
|
4847
|
-
color: t =
|
|
4742
|
+
color: t = L.GREY_DARK_2,
|
|
4848
4743
|
className: s,
|
|
4849
4744
|
onClick: n
|
|
4850
4745
|
}) => /* @__PURE__ */ r(
|
|
@@ -4868,226 +4763,197 @@ const te = ({
|
|
|
4868
4763
|
}
|
|
4869
4764
|
)
|
|
4870
4765
|
}
|
|
4871
|
-
),
|
|
4872
|
-
width: i = 20,
|
|
4873
|
-
height: e = 20,
|
|
4874
|
-
color: t = "#001E52",
|
|
4875
|
-
className: s,
|
|
4876
|
-
onClick: n
|
|
4877
|
-
}) => /* @__PURE__ */ r(
|
|
4878
|
-
"svg",
|
|
4879
|
-
{
|
|
4880
|
-
width: i,
|
|
4881
|
-
height: e,
|
|
4882
|
-
viewBox: "0 0 20 20",
|
|
4883
|
-
fill: "none",
|
|
4884
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4885
|
-
className: s,
|
|
4886
|
-
onClick: n,
|
|
4887
|
-
children: /* @__PURE__ */ r(
|
|
4888
|
-
"path",
|
|
4889
|
-
{
|
|
4890
|
-
fillRule: "evenodd",
|
|
4891
|
-
clipRule: "evenodd",
|
|
4892
|
-
d: "M18.3337 10.0001C18.3337 14.6026 14.6028 18.3334 10.0003 18.3334C5.39783 18.3334 1.66699 14.6026 1.66699 10.0001C1.66699 5.39758 5.39783 1.66675 10.0003 1.66675C14.6028 1.66675 18.3337 5.39758 18.3337 10.0001ZM12.5003 7.50008C12.5003 8.16312 12.2369 8.79901 11.7681 9.26785C11.2993 9.73669 10.6634 10.0001 10.0003 10.0001C9.33728 10.0001 8.7014 9.73669 8.23256 9.26785C7.76372 8.79901 7.50033 8.16312 7.50033 7.50008C7.50033 6.83704 7.76372 6.20116 8.23256 5.73231C8.7014 5.26347 9.33728 5.00008 10.0003 5.00008C10.6634 5.00008 11.2993 5.26347 11.7681 5.73231C12.2369 6.20116 12.5003 6.83704 12.5003 7.50008ZM10.0003 17.0834C11.4306 17.0857 12.8277 16.6529 14.0062 15.8426C14.5095 15.4967 14.7245 14.8384 14.4312 14.3026C13.8253 13.1917 12.5753 12.5001 10.0003 12.5001C7.42533 12.5001 6.17533 13.1917 5.56866 14.3026C5.27616 14.8384 5.49116 15.4967 5.99449 15.8426C7.17299 16.6529 8.5701 17.0857 10.0003 17.0834Z",
|
|
4893
|
-
fill: t
|
|
4894
|
-
}
|
|
4895
|
-
)
|
|
4896
|
-
}
|
|
4897
|
-
), l7 = ({
|
|
4766
|
+
), o7 = ({
|
|
4898
4767
|
name: i,
|
|
4899
4768
|
width: e,
|
|
4900
4769
|
height: t,
|
|
4901
4770
|
color: s,
|
|
4902
4771
|
className: n,
|
|
4903
4772
|
disabled: o = !1,
|
|
4904
|
-
onClick:
|
|
4773
|
+
onClick: h
|
|
4905
4774
|
}) => {
|
|
4906
|
-
const [a, C] = I(n), { theme: d } = Q(t2), l = o ? d && d === "dark" ?
|
|
4775
|
+
const [a, C] = I(n), { theme: d } = Q(t2), l = o ? d && d === "dark" ? L.GREY_LIGHT_4 : L.GREY_DARK_1 : s, c = o ? void 0 : h;
|
|
4907
4776
|
return A(() => {
|
|
4908
4777
|
if (n) {
|
|
4909
|
-
|
|
4778
|
+
c && !o && C(`${n} clickable`);
|
|
4910
4779
|
return;
|
|
4911
4780
|
}
|
|
4912
|
-
|
|
4913
|
-
}, [
|
|
4781
|
+
c && !o && C("clickable");
|
|
4782
|
+
}, [c, n, o]), /* @__PURE__ */ r(W, { children: (() => {
|
|
4914
4783
|
switch (i) {
|
|
4915
4784
|
case "nextIcon":
|
|
4916
|
-
return
|
|
4785
|
+
return Ee({ width: e, height: t, color: l, className: a, onClick: c });
|
|
4917
4786
|
case "prevIcon":
|
|
4918
|
-
return
|
|
4787
|
+
return Ve({ width: e, height: t, color: l, className: a, onClick: c });
|
|
4919
4788
|
case "arrowDown":
|
|
4920
|
-
return
|
|
4789
|
+
return ee({ width: e, height: t, color: l, className: a, onClick: c });
|
|
4921
4790
|
case "info":
|
|
4922
|
-
return
|
|
4791
|
+
return te({ width: e, height: t, color: l, className: a, onClick: c });
|
|
4923
4792
|
case "arrowRight":
|
|
4924
|
-
return
|
|
4793
|
+
return ie({ width: e, height: t, color: l, className: a, onClick: c });
|
|
4925
4794
|
case "calendar":
|
|
4926
|
-
return
|
|
4795
|
+
return se({ width: e, height: t, color: l, className: a, onClick: c });
|
|
4927
4796
|
case "check":
|
|
4928
|
-
return
|
|
4797
|
+
return ne({ width: e, height: t, color: l, className: a, onClick: c });
|
|
4929
4798
|
case "cancel":
|
|
4930
|
-
return
|
|
4799
|
+
return re({ width: e, height: t, color: l, className: a, onClick: c });
|
|
4931
4800
|
case "add":
|
|
4932
|
-
return
|
|
4801
|
+
return oe({ width: e, height: t, color: l, className: a, onClick: c });
|
|
4933
4802
|
case "list":
|
|
4934
|
-
return
|
|
4803
|
+
return ae({ width: e, height: t, color: l, className: a, onClick: c });
|
|
4935
4804
|
case "dragAndDrop":
|
|
4936
|
-
return
|
|
4805
|
+
return le({ width: e, height: t, color: l, className: a, onClick: c });
|
|
4937
4806
|
case "filter":
|
|
4938
|
-
return
|
|
4807
|
+
return he({ width: e, height: t, color: l, className: a, onClick: c });
|
|
4939
4808
|
case "attention":
|
|
4940
|
-
return
|
|
4809
|
+
return ce({ width: e, height: t, color: l, className: a, onClick: c });
|
|
4941
4810
|
case "users":
|
|
4942
|
-
return
|
|
4811
|
+
return de({ width: e, height: t, color: l, className: a, onClick: c });
|
|
4943
4812
|
case "mySkillsMatrix":
|
|
4944
|
-
return
|
|
4813
|
+
return Ce({
|
|
4945
4814
|
width: e,
|
|
4946
4815
|
height: t,
|
|
4947
4816
|
color: l,
|
|
4948
4817
|
className: a,
|
|
4949
|
-
onClick:
|
|
4818
|
+
onClick: c
|
|
4950
4819
|
});
|
|
4951
4820
|
case "skills":
|
|
4952
|
-
return
|
|
4821
|
+
return ge({ width: e, height: t, color: l, className: a, onClick: c });
|
|
4953
4822
|
case "skillsMatrices":
|
|
4954
|
-
return
|
|
4823
|
+
return ue({
|
|
4955
4824
|
width: e,
|
|
4956
4825
|
height: t,
|
|
4957
4826
|
color: l,
|
|
4958
4827
|
className: a,
|
|
4959
|
-
onClick:
|
|
4828
|
+
onClick: c
|
|
4960
4829
|
});
|
|
4961
4830
|
case "history":
|
|
4962
|
-
return fe({ width: e, height: t, color: l, className: a, onClick:
|
|
4831
|
+
return fe({ width: e, height: t, color: l, className: a, onClick: c });
|
|
4963
4832
|
case "logOut":
|
|
4964
|
-
return
|
|
4833
|
+
return pe({ width: e, height: t, color: l, className: a, onClick: c });
|
|
4965
4834
|
case "settings":
|
|
4966
|
-
return
|
|
4835
|
+
return me({ width: e, height: t, color: l, className: a, onClick: c });
|
|
4967
4836
|
case "trash":
|
|
4968
|
-
return
|
|
4837
|
+
return we({ width: e, height: t, color: l, className: a, onClick: c });
|
|
4969
4838
|
case "settings2":
|
|
4970
|
-
return
|
|
4839
|
+
return Le({ width: e, height: t, color: l, className: a, onClick: c });
|
|
4971
4840
|
case "checkCircle":
|
|
4972
|
-
return
|
|
4841
|
+
return ke({ width: e, height: t, color: l, className: a, onClick: c });
|
|
4973
4842
|
case "cancelCircle":
|
|
4974
|
-
return
|
|
4975
|
-
case "infoMedium":
|
|
4843
|
+
return ve({ width: e, height: t, color: l, className: a, onClick: c });
|
|
4976
4844
|
case "visibilityIcon":
|
|
4977
|
-
return
|
|
4845
|
+
return Ne({
|
|
4978
4846
|
width: e,
|
|
4979
4847
|
height: t,
|
|
4980
4848
|
color: l,
|
|
4981
4849
|
className: a,
|
|
4982
|
-
onClick:
|
|
4850
|
+
onClick: c
|
|
4983
4851
|
});
|
|
4984
4852
|
case "visibilityOffIcon":
|
|
4985
|
-
return
|
|
4853
|
+
return Re({
|
|
4986
4854
|
width: e,
|
|
4987
4855
|
height: t,
|
|
4988
4856
|
color: l,
|
|
4989
4857
|
className: a,
|
|
4990
|
-
onClick:
|
|
4858
|
+
onClick: c
|
|
4991
4859
|
});
|
|
4992
4860
|
case "selectArrowIcon":
|
|
4993
|
-
return
|
|
4861
|
+
return xe({
|
|
4994
4862
|
width: e,
|
|
4995
4863
|
height: t,
|
|
4996
4864
|
color: l,
|
|
4997
4865
|
className: a,
|
|
4998
|
-
onClick:
|
|
4866
|
+
onClick: c
|
|
4999
4867
|
});
|
|
5000
4868
|
case "expandArrowIcon":
|
|
5001
|
-
return
|
|
4869
|
+
return Me({
|
|
5002
4870
|
width: e,
|
|
5003
4871
|
height: t,
|
|
5004
4872
|
color: l,
|
|
5005
4873
|
className: a,
|
|
5006
|
-
onClick:
|
|
4874
|
+
onClick: c
|
|
5007
4875
|
});
|
|
5008
4876
|
case "expandActiveArrowIcon":
|
|
5009
|
-
return
|
|
4877
|
+
return _e({
|
|
5010
4878
|
width: e,
|
|
5011
4879
|
height: t,
|
|
5012
4880
|
color: l,
|
|
5013
4881
|
className: a,
|
|
5014
|
-
onClick:
|
|
4882
|
+
onClick: c
|
|
5015
4883
|
});
|
|
5016
4884
|
case "sortUp":
|
|
5017
|
-
return
|
|
4885
|
+
return be({ width: e, height: t, color: l, className: a, onClick: c });
|
|
5018
4886
|
case "sortDown":
|
|
5019
|
-
return
|
|
4887
|
+
return ye({ width: e, height: t, color: l, className: a, onClick: c });
|
|
5020
4888
|
case "search":
|
|
5021
|
-
return
|
|
4889
|
+
return He({ width: e, height: t, color: l, className: a, onClick: c });
|
|
5022
4890
|
case "arrowUpFilled":
|
|
5023
|
-
return
|
|
4891
|
+
return Ae({ width: e, height: t, color: l, className: a, onClick: c });
|
|
5024
4892
|
case "arrowDownFilled":
|
|
5025
|
-
return
|
|
4893
|
+
return Ie({ width: e, height: t, color: l, className: a, onClick: c });
|
|
5026
4894
|
case "link":
|
|
5027
|
-
return Ze({ width: e, height: t, color: l, className: a, onClick:
|
|
4895
|
+
return Ze({ width: e, height: t, color: l, className: a, onClick: c });
|
|
5028
4896
|
case "telegram":
|
|
5029
|
-
return
|
|
4897
|
+
return Se({ width: e, height: t, color: l, className: a, onClick: c });
|
|
5030
4898
|
case "mail":
|
|
5031
|
-
return
|
|
4899
|
+
return Ge({ width: e, height: t, color: l, className: a, onClick: c });
|
|
5032
4900
|
case "github":
|
|
5033
|
-
return
|
|
4901
|
+
return Oe({ width: e, height: t, color: l, className: a, onClick: c });
|
|
5034
4902
|
case "linkedIn":
|
|
5035
|
-
return
|
|
4903
|
+
return De({ width: e, height: t, color: l, className: a, onClick: c });
|
|
5036
4904
|
case "emptyStateIcon":
|
|
5037
|
-
return
|
|
4905
|
+
return Te({ width: e, height: t, color: l, className: a, onClick: c });
|
|
5038
4906
|
case "filtersIcon":
|
|
5039
|
-
return
|
|
4907
|
+
return Ke({ width: e, height: t, color: l, className: a, onClick: c });
|
|
5040
4908
|
case "dotMenuIcon":
|
|
5041
|
-
return
|
|
4909
|
+
return Be({ width: e, height: t, color: l, className: a, onClick: c });
|
|
5042
4910
|
case "plusCircle":
|
|
5043
|
-
return
|
|
4911
|
+
return Pe({ width: e, height: t, color: l, className: a, onClick: c });
|
|
5044
4912
|
case "warning":
|
|
5045
|
-
return
|
|
4913
|
+
return Ye({ width: e, height: t, color: l, className: a, onClick: c });
|
|
5046
4914
|
case "back":
|
|
5047
|
-
return
|
|
4915
|
+
return je({ width: e, height: t, color: l, className: a, onClick: c });
|
|
5048
4916
|
case "bell":
|
|
5049
|
-
return
|
|
4917
|
+
return $e({ width: e, height: t, color: l, className: a, onClick: c });
|
|
5050
4918
|
case "copy":
|
|
5051
|
-
return
|
|
4919
|
+
return Fe({ width: e, height: t, color: l, className: a, onClick: c });
|
|
5052
4920
|
case "contract":
|
|
5053
|
-
return
|
|
4921
|
+
return We({ width: e, height: t, color: l, className: a, onClick: c });
|
|
5054
4922
|
case "resourceManager":
|
|
5055
|
-
return
|
|
4923
|
+
return Ue({ width: e, height: t, color: l, className: a, onClick: c });
|
|
5056
4924
|
case "image":
|
|
5057
|
-
return
|
|
4925
|
+
return ze({ width: e, height: t, color: l, className: a, onClick: c });
|
|
5058
4926
|
case "edit":
|
|
5059
|
-
return
|
|
4927
|
+
return Je({ width: e, height: t, color: l, className: a, onClick: c });
|
|
5060
4928
|
case "filledArrowRight":
|
|
5061
|
-
return
|
|
4929
|
+
return Qe({ width: e, height: t, color: l, className: a, onClick: c });
|
|
5062
4930
|
case "burgerMenu":
|
|
5063
|
-
return
|
|
4931
|
+
return qe({ width: e, height: t, color: l, className: a, onClick: c });
|
|
5064
4932
|
case "refresh":
|
|
5065
|
-
return
|
|
4933
|
+
return Xe({ width: e, height: t, color: l, className: a, onClick: c });
|
|
5066
4934
|
case "projects":
|
|
5067
|
-
return
|
|
5068
|
-
case "
|
|
5069
|
-
return
|
|
4935
|
+
return e7({ width: e, height: t, color: l, className: a, onClick: c });
|
|
4936
|
+
case "user":
|
|
4937
|
+
return i7({ width: e, height: t, color: l, className: a, onClick: c });
|
|
5070
4938
|
case "exit":
|
|
5071
|
-
return
|
|
5072
|
-
case "client":
|
|
5073
|
-
return s7({ width: e, height: t, color: l, className: a, onClick: h });
|
|
4939
|
+
return t7({ width: e, height: t, color: l, className: a, onClick: c });
|
|
5074
4940
|
case "openPointCircle":
|
|
5075
|
-
return
|
|
4941
|
+
return s7({ width: e, height: t, color: l, className: a, onClick: c });
|
|
5076
4942
|
case "community":
|
|
5077
|
-
return
|
|
4943
|
+
return n7({ width: e, height: t, color: l, className: a, onClick: c });
|
|
5078
4944
|
case "docs":
|
|
5079
|
-
return
|
|
4945
|
+
return r7({ width: e, height: t, color: l, className: a, onClick: c });
|
|
5080
4946
|
default:
|
|
5081
4947
|
return /* @__PURE__ */ r(W, { children: "No Icon provided" });
|
|
5082
4948
|
}
|
|
5083
4949
|
})() });
|
|
5084
4950
|
};
|
|
5085
4951
|
var o1 = /* @__PURE__ */ ((i) => (i.GREY_LIGHT_0 = "var(--grey-light-0)", i.GREY_LIGHT_1 = "var(--grey-light-1)", i.GREY_LIGHT_2 = "var(--grey-light-2)", i.GREY_LIGHT_3 = "var(--grey-light-3)", i.GREY_LIGHT_4 = "var(--grey-light-4)", i.GREY_DARK_1 = "var(--grey-dark-1)", i.GREY_DARK_2 = "var(--grey-dark-2)", i.GREY_DARK_3 = "var(--grey-dark-3)", i.GREY_DARK_4 = "var(--grey-dark-4)", i.GREY_DARK_5 = "var(--grey-dark-5)", i.BLUE_PRIMARY = "var(--blue-primary)", i.BLUE_HOVER = "var(--blue-hover)", i.BLUE_LIGHT_1 = "var(--blue-light-1)", i.BLUE_LIGHT_2 = "var(--blue-light-2)", i.BLUE_LIGHT_3 = "var(--blue-light-3)", i.BLUE_LIGHT_4 = "var(--blue-light-4)", i.BLUE_DARK_1 = "var(--blue-dark-1)", i.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))(o1 || {});
|
|
5086
|
-
const
|
|
4952
|
+
const a7 = t1({
|
|
5087
4953
|
locale: "en",
|
|
5088
4954
|
theme: "light"
|
|
5089
4955
|
});
|
|
5090
|
-
|
|
4956
|
+
a7.Provider;
|
|
5091
4957
|
const i2 = ({
|
|
5092
4958
|
children: i,
|
|
5093
4959
|
width: e,
|
|
@@ -5096,20 +4962,20 @@ const i2 = ({
|
|
|
5096
4962
|
closable: n = !0,
|
|
5097
4963
|
disabled: o = !1
|
|
5098
4964
|
}) => {
|
|
5099
|
-
const
|
|
4965
|
+
const h = t === "small" ? 10 : 12.5, a = () => {
|
|
5100
4966
|
o || s == null || s();
|
|
5101
4967
|
};
|
|
5102
4968
|
return /* @__PURE__ */ r(
|
|
5103
|
-
|
|
4969
|
+
p2,
|
|
5104
4970
|
{
|
|
5105
4971
|
className: `snmt-tag ${t} ${o ? "disabled" : ""}`,
|
|
5106
4972
|
closeIcon: /* @__PURE__ */ r(
|
|
5107
|
-
|
|
4973
|
+
o7,
|
|
5108
4974
|
{
|
|
5109
4975
|
name: "cancelCircle",
|
|
5110
4976
|
color: o ? o1.GREY_DARK_1 : o1.GREY_DARK_2,
|
|
5111
|
-
width:
|
|
5112
|
-
height:
|
|
4977
|
+
width: h,
|
|
4978
|
+
height: h,
|
|
5113
4979
|
onClick: a
|
|
5114
4980
|
}
|
|
5115
4981
|
),
|
|
@@ -5117,7 +4983,7 @@ const i2 = ({
|
|
|
5117
4983
|
style: { width: e ?? "fit-content" },
|
|
5118
4984
|
closable: n,
|
|
5119
4985
|
children: typeof i == "string" ? /* @__PURE__ */ r(
|
|
5120
|
-
|
|
4986
|
+
X5,
|
|
5121
4987
|
{
|
|
5122
4988
|
variant: t === "small" ? "body4" : "body2",
|
|
5123
4989
|
color: o ? o1.GREY_DARK_2 : o1.GREY_DARK_5,
|
|
@@ -5126,12 +4992,12 @@ const i2 = ({
|
|
|
5126
4992
|
) : i
|
|
5127
4993
|
}
|
|
5128
4994
|
);
|
|
5129
|
-
}, { Title:
|
|
4995
|
+
}, { Title: l7, Text: h7 } = J1, c7 = {
|
|
5130
4996
|
h1: 1,
|
|
5131
4997
|
h2: 2,
|
|
5132
4998
|
h3: 3,
|
|
5133
4999
|
h4: 4
|
|
5134
|
-
},
|
|
5000
|
+
}, d7 = w1(
|
|
5135
5001
|
({
|
|
5136
5002
|
align: i = "inherit",
|
|
5137
5003
|
variant: e = "body1",
|
|
@@ -5139,18 +5005,18 @@ const i2 = ({
|
|
|
5139
5005
|
children: s,
|
|
5140
5006
|
onClick: n,
|
|
5141
5007
|
collapsed: o,
|
|
5142
|
-
whiteSpace:
|
|
5008
|
+
whiteSpace: h = "normal",
|
|
5143
5009
|
/** This prop allows you to enable tooltip if text size is too big */
|
|
5144
5010
|
trim: a = !1
|
|
5145
5011
|
}, C) => {
|
|
5146
5012
|
const d = J(null);
|
|
5147
5013
|
Q1(C, () => d.current);
|
|
5148
|
-
const [l,
|
|
5014
|
+
const [l, c] = I(!1);
|
|
5149
5015
|
A(() => {
|
|
5150
5016
|
var N;
|
|
5151
5017
|
if (!a) return;
|
|
5152
5018
|
const m = () => {
|
|
5153
|
-
d.current &&
|
|
5019
|
+
d.current && c(d.current.scrollWidth > d.current.clientWidth);
|
|
5154
5020
|
};
|
|
5155
5021
|
m();
|
|
5156
5022
|
const y = new ResizeObserver(m);
|
|
@@ -5159,11 +5025,11 @@ const i2 = ({
|
|
|
5159
5025
|
};
|
|
5160
5026
|
}, [a]);
|
|
5161
5027
|
const g = e === "h1" || e === "h2" || e === "h3" || e === "h4";
|
|
5162
|
-
let
|
|
5163
|
-
i && i !== "inherit" && (
|
|
5164
|
-
const
|
|
5165
|
-
className:
|
|
5166
|
-
style: { color: t, whiteSpace: a ? "nowrap" :
|
|
5028
|
+
let f = `snmt-typography snmt-typography-${e}`;
|
|
5029
|
+
i && i !== "inherit" && (f += ` snmt-typography-align-${i}`), o && (f += " collapsed");
|
|
5030
|
+
const k = {
|
|
5031
|
+
className: f,
|
|
5032
|
+
style: { color: t, whiteSpace: a ? "nowrap" : h, display: a ? "block" : "" },
|
|
5167
5033
|
onClick: n,
|
|
5168
5034
|
ref: d,
|
|
5169
5035
|
ellipsis: a && l ? {
|
|
@@ -5173,9 +5039,9 @@ const i2 = ({
|
|
|
5173
5039
|
}
|
|
5174
5040
|
} : void 0
|
|
5175
5041
|
};
|
|
5176
|
-
return g ? /* @__PURE__ */ r(
|
|
5042
|
+
return g ? /* @__PURE__ */ r(l7, { level: c7[e], ...k, children: s }) : /* @__PURE__ */ r(h7, { ...k, children: s });
|
|
5177
5043
|
}
|
|
5178
|
-
),
|
|
5044
|
+
), C7 = ({
|
|
5179
5045
|
children: i,
|
|
5180
5046
|
content: e,
|
|
5181
5047
|
isOpen: t,
|
|
@@ -5183,7 +5049,7 @@ const i2 = ({
|
|
|
5183
5049
|
placement: n = "topRight",
|
|
5184
5050
|
noPadding: o = !1
|
|
5185
5051
|
}) => {
|
|
5186
|
-
const [
|
|
5052
|
+
const [h, a] = I(!1);
|
|
5187
5053
|
return /* @__PURE__ */ r(
|
|
5188
5054
|
k2,
|
|
5189
5055
|
{
|
|
@@ -5192,7 +5058,7 @@ const i2 = ({
|
|
|
5192
5058
|
placement: n,
|
|
5193
5059
|
trigger: "click",
|
|
5194
5060
|
overlayClassName: `snmt-popover ${o ? "" : "padding"}`,
|
|
5195
|
-
open: t ??
|
|
5061
|
+
open: t ?? h,
|
|
5196
5062
|
onOpenChange: (C) => {
|
|
5197
5063
|
a(C), s == null || s(C);
|
|
5198
5064
|
},
|
|
@@ -5200,7 +5066,7 @@ const i2 = ({
|
|
|
5200
5066
|
}
|
|
5201
5067
|
);
|
|
5202
5068
|
};
|
|
5203
|
-
var
|
|
5069
|
+
var g7 = { exports: {} };
|
|
5204
5070
|
(function(i, e) {
|
|
5205
5071
|
(function(t, s) {
|
|
5206
5072
|
i.exports = s();
|
|
@@ -5210,27 +5076,27 @@ var p7 = { exports: {} };
|
|
|
5210
5076
|
return "[" + t + (s[(n - 20) % 10] || s[n] || s[0]) + "]";
|
|
5211
5077
|
} };
|
|
5212
5078
|
});
|
|
5213
|
-
})(
|
|
5214
|
-
const
|
|
5079
|
+
})(g7);
|
|
5080
|
+
const u7 = ({
|
|
5215
5081
|
values: i,
|
|
5216
5082
|
onTagClose: e,
|
|
5217
5083
|
maxWidth: t,
|
|
5218
5084
|
closable: s = !0,
|
|
5219
5085
|
disabled: n,
|
|
5220
5086
|
options: o,
|
|
5221
|
-
extraOptions:
|
|
5087
|
+
extraOptions: h
|
|
5222
5088
|
}) => {
|
|
5223
5089
|
const { locale: a } = Q(y1), { t: C } = B2("common", { lng: a }), [d, l] = I(!1);
|
|
5224
5090
|
if (A(() => {
|
|
5225
5091
|
i.length || l(!1);
|
|
5226
5092
|
}, [i]), !i.length)
|
|
5227
5093
|
return null;
|
|
5228
|
-
const
|
|
5229
|
-
var
|
|
5230
|
-
return ((
|
|
5094
|
+
const c = (g) => {
|
|
5095
|
+
var f, k;
|
|
5096
|
+
return ((f = o == null ? void 0 : o.find((m) => m.value === g)) == null ? void 0 : f.label) || ((k = h == null ? void 0 : h.find((m) => m.value === g)) == null ? void 0 : k.label) || g;
|
|
5231
5097
|
};
|
|
5232
5098
|
return /* @__PURE__ */ u(
|
|
5233
|
-
|
|
5099
|
+
C7,
|
|
5234
5100
|
{
|
|
5235
5101
|
content: (
|
|
5236
5102
|
// 90: paddings + margins + gaps and so on
|
|
@@ -5240,7 +5106,7 @@ const f7 = ({
|
|
|
5240
5106
|
onClose: () => e(g),
|
|
5241
5107
|
closable: s,
|
|
5242
5108
|
disabled: n,
|
|
5243
|
-
children:
|
|
5109
|
+
children: c(g)
|
|
5244
5110
|
},
|
|
5245
5111
|
g
|
|
5246
5112
|
)) }) })
|
|
@@ -5255,19 +5121,19 @@ const f7 = ({
|
|
|
5255
5121
|
]
|
|
5256
5122
|
}
|
|
5257
5123
|
);
|
|
5258
|
-
},
|
|
5124
|
+
}, f7 = {
|
|
5259
5125
|
small: 20,
|
|
5260
5126
|
medium: 28,
|
|
5261
5127
|
large: 48
|
|
5262
|
-
},
|
|
5263
|
-
const t =
|
|
5128
|
+
}, O1 = ({ size: i = "medium", color: e = "#004ed7" }) => {
|
|
5129
|
+
const t = f7[i], s = `no-repeat linear-gradient(${e}
|
|
5264
5130
|
calc(50% - 10px), #0000 0 calc(50% + 10px), ${e} 0)`, n = {
|
|
5265
5131
|
width: t,
|
|
5266
5132
|
background: `${s} 0% 100%, ${s} 50% 100%, ${s} 100% 100%`,
|
|
5267
5133
|
backgroundSize: "20% calc(200% + 20px)"
|
|
5268
5134
|
};
|
|
5269
5135
|
return /* @__PURE__ */ r("span", { className: "snmt-loader", style: n });
|
|
5270
|
-
},
|
|
5136
|
+
}, p7 = w1(
|
|
5271
5137
|
({
|
|
5272
5138
|
value: i,
|
|
5273
5139
|
onChange: e,
|
|
@@ -5275,21 +5141,21 @@ const f7 = ({
|
|
|
5275
5141
|
mode: s,
|
|
5276
5142
|
search: n = !1,
|
|
5277
5143
|
options: o,
|
|
5278
|
-
width:
|
|
5144
|
+
width: h,
|
|
5279
5145
|
disabled: a = !1,
|
|
5280
5146
|
required: C = !1,
|
|
5281
5147
|
clearable: d = !1,
|
|
5282
5148
|
scrollThresholdValue: l = 50,
|
|
5283
|
-
onSearchChange:
|
|
5149
|
+
onSearchChange: c,
|
|
5284
5150
|
onDropdownVisibleChange: g,
|
|
5285
|
-
onScrollToEnd:
|
|
5286
|
-
onPopupScroll:
|
|
5151
|
+
onScrollToEnd: f,
|
|
5152
|
+
onPopupScroll: k,
|
|
5287
5153
|
id: N,
|
|
5288
5154
|
extraOptions: m,
|
|
5289
5155
|
dropdownRender: y,
|
|
5290
5156
|
optionRender: b,
|
|
5291
5157
|
isLoading: E,
|
|
5292
|
-
readOnly:
|
|
5158
|
+
readOnly: p,
|
|
5293
5159
|
error: _
|
|
5294
5160
|
}, R) => {
|
|
5295
5161
|
const [x, D] = I(!1), [P, i1] = I(!1), [$, h1] = I(!0), [V, Y] = I(i), F = J(null);
|
|
@@ -5301,7 +5167,7 @@ const f7 = ({
|
|
|
5301
5167
|
}, c1 = (M, H) => {
|
|
5302
5168
|
var G;
|
|
5303
5169
|
return !!((G = H == null ? void 0 : H.label) != null && G.toString().toLowerCase().includes(M.toLowerCase()));
|
|
5304
|
-
},
|
|
5170
|
+
}, O = () => {
|
|
5305
5171
|
i1(!0);
|
|
5306
5172
|
}, j = () => {
|
|
5307
5173
|
i1(!1);
|
|
@@ -5317,14 +5183,14 @@ const f7 = ({
|
|
|
5317
5183
|
},
|
|
5318
5184
|
[s, e]
|
|
5319
5185
|
), d1 = K(() => {
|
|
5320
|
-
if (!(
|
|
5186
|
+
if (!(p || a)) {
|
|
5321
5187
|
if (s) {
|
|
5322
5188
|
S([]);
|
|
5323
5189
|
return;
|
|
5324
5190
|
}
|
|
5325
5191
|
S("");
|
|
5326
5192
|
}
|
|
5327
|
-
}, [a, S, s,
|
|
5193
|
+
}, [a, S, s, p]), C1 = K(
|
|
5328
5194
|
(M) => {
|
|
5329
5195
|
const H = V.filter((G) => G !== M);
|
|
5330
5196
|
S(H), Y(H);
|
|
@@ -5341,7 +5207,7 @@ const f7 = ({
|
|
|
5341
5207
|
M.preventDefault(), M.stopPropagation();
|
|
5342
5208
|
}, h2 = async (M) => {
|
|
5343
5209
|
const { target: H } = M;
|
|
5344
|
-
H.scrollTop + H.offsetHeight >= H.scrollHeight - l && (
|
|
5210
|
+
H.scrollTop + H.offsetHeight >= H.scrollHeight - l && (f == null || f(!0)), k && await k(M);
|
|
5345
5211
|
}, k1 = K(
|
|
5346
5212
|
(M) => {
|
|
5347
5213
|
var H, G;
|
|
@@ -5354,19 +5220,19 @@ const f7 = ({
|
|
|
5354
5220
|
(M) => {
|
|
5355
5221
|
var H;
|
|
5356
5222
|
return /* @__PURE__ */ r(
|
|
5357
|
-
|
|
5223
|
+
u7,
|
|
5358
5224
|
{
|
|
5359
5225
|
values: M,
|
|
5360
5226
|
onTagClose: C1,
|
|
5361
5227
|
maxWidth: ((H = F.current) == null ? void 0 : H.clientWidth) || 0,
|
|
5362
5228
|
disabled: a,
|
|
5363
|
-
closable: !
|
|
5229
|
+
closable: !p,
|
|
5364
5230
|
options: o,
|
|
5365
5231
|
extraOptions: m
|
|
5366
5232
|
}
|
|
5367
5233
|
);
|
|
5368
5234
|
},
|
|
5369
|
-
[a, m, C1, o,
|
|
5235
|
+
[a, m, C1, o, p]
|
|
5370
5236
|
), d2 = K(
|
|
5371
5237
|
({ label: M, value: H, mode: G }) => G === "filter" ? H1(H) : /* @__PURE__ */ r("div", { onMouseDown: l2, className: "tag-wrapper", children: /* @__PURE__ */ r(i2, { onClose: () => C1(H), disabled: a, children: typeof M == "object" ? M : k1(H) }) }),
|
|
5372
5238
|
[a, k1, C1, H1]
|
|
@@ -5376,15 +5242,15 @@ const f7 = ({
|
|
|
5376
5242
|
"div",
|
|
5377
5243
|
{
|
|
5378
5244
|
className: `snmt-select-1-15-6 ${P ? "snmt-select-focused" : ""}
|
|
5379
|
-
${s ? "" : "snmt-select-single"} ${
|
|
5245
|
+
${s ? "" : "snmt-select-single"} ${p ? "snmt-select-read-only" : ""}`,
|
|
5380
5246
|
ref: F,
|
|
5381
|
-
style: { width:
|
|
5247
|
+
style: { width: h },
|
|
5382
5248
|
children: [
|
|
5383
5249
|
/* @__PURE__ */ r(
|
|
5384
|
-
|
|
5250
|
+
f2,
|
|
5385
5251
|
{
|
|
5386
5252
|
className: "snmt-select-blank",
|
|
5387
|
-
popupClassName:
|
|
5253
|
+
popupClassName: p ? "dropdown-read-only" : "",
|
|
5388
5254
|
id: N,
|
|
5389
5255
|
ref: R,
|
|
5390
5256
|
showSearch: !!n,
|
|
@@ -5398,10 +5264,10 @@ const f7 = ({
|
|
|
5398
5264
|
},
|
|
5399
5265
|
mode: s === "filter" ? "multiple" : s,
|
|
5400
5266
|
onChange: S,
|
|
5401
|
-
onFocus:
|
|
5267
|
+
onFocus: O,
|
|
5402
5268
|
onBlur: j,
|
|
5403
5269
|
onSearch: (M) => {
|
|
5404
|
-
h1(!M),
|
|
5270
|
+
h1(!M), c && c(M);
|
|
5405
5271
|
},
|
|
5406
5272
|
onSelect: () => h1(!0),
|
|
5407
5273
|
onDeselect: () => h1(!0),
|
|
@@ -5409,7 +5275,7 @@ const f7 = ({
|
|
|
5409
5275
|
maxTagCount: "responsive",
|
|
5410
5276
|
maxTagPlaceholder: c2,
|
|
5411
5277
|
onPopupScroll: h2,
|
|
5412
|
-
prefix: E && /* @__PURE__ */ r(
|
|
5278
|
+
prefix: E && /* @__PURE__ */ r(O1, { size: "small" }),
|
|
5413
5279
|
suffixIcon: /* @__PURE__ */ r("div", { className: "wrapper-suffix-icon", children: s !== "filter" && /* @__PURE__ */ u(W, { children: [
|
|
5414
5280
|
V && !!V.length && (s || d) && /* @__PURE__ */ r(
|
|
5415
5281
|
"div",
|
|
@@ -5456,7 +5322,7 @@ const f7 = ({
|
|
|
5456
5322
|
] }),
|
|
5457
5323
|
dropdownRender: (M) => /* @__PURE__ */ u("div", { className: "dropdown-container", children: [
|
|
5458
5324
|
/* @__PURE__ */ r("div", { className: "dropdown-menu", children: y ? y(M) : M }),
|
|
5459
|
-
E && /* @__PURE__ */ r("div", { className: "loading-overlay", children: /* @__PURE__ */ r(
|
|
5325
|
+
E && /* @__PURE__ */ r("div", { className: "loading-overlay", children: /* @__PURE__ */ r(O1, {}) })
|
|
5460
5326
|
] })
|
|
5461
5327
|
}
|
|
5462
5328
|
),
|
|
@@ -5489,7 +5355,7 @@ const f7 = ({
|
|
|
5489
5355
|
width: 16
|
|
5490
5356
|
}
|
|
5491
5357
|
),
|
|
5492
|
-
typeof _ == "string" ? /* @__PURE__ */ r(
|
|
5358
|
+
typeof _ == "string" ? /* @__PURE__ */ r(d7, { color: T.NOTIFICATION_ERROR_DARK, variant: "body4", children: _ }) : _
|
|
5493
5359
|
] })
|
|
5494
5360
|
] });
|
|
5495
5361
|
}
|
|
@@ -5499,11 +5365,11 @@ const f7 = ({
|
|
|
5499
5365
|
i = s, e = n;
|
|
5500
5366
|
});
|
|
5501
5367
|
return t.resolve = i, t.reject = e, t;
|
|
5502
|
-
}, S1 = (i) => i == null ? "" : "" + i,
|
|
5368
|
+
}, S1 = (i) => i == null ? "" : "" + i, m7 = (i, e, t) => {
|
|
5503
5369
|
i.forEach((s) => {
|
|
5504
5370
|
e[s] && (t[s] = e[s]);
|
|
5505
5371
|
});
|
|
5506
|
-
},
|
|
5372
|
+
}, w7 = /###/g, D1 = (i) => i && i.indexOf("###") > -1 ? i.replace(w7, ".") : i, G1 = (i) => !i || v(i), a1 = (i, e, t) => {
|
|
5507
5373
|
const s = v(e) ? e.split(".") : e;
|
|
5508
5374
|
let n = 0;
|
|
5509
5375
|
for (; n < s.length - 1; ) {
|
|
@@ -5524,11 +5390,11 @@ const f7 = ({
|
|
|
5524
5390
|
s[n] = t;
|
|
5525
5391
|
return;
|
|
5526
5392
|
}
|
|
5527
|
-
let o = e[e.length - 1],
|
|
5528
|
-
for (; a.obj === void 0 &&
|
|
5529
|
-
o = `${
|
|
5393
|
+
let o = e[e.length - 1], h = e.slice(0, e.length - 1), a = a1(i, h, Object);
|
|
5394
|
+
for (; a.obj === void 0 && h.length; )
|
|
5395
|
+
o = `${h[h.length - 1]}.${o}`, h = h.slice(0, h.length - 1), a = a1(i, h, Object), a && a.obj && typeof a.obj[`${a.k}.${o}`] < "u" && (a.obj = void 0);
|
|
5530
5396
|
a.obj[`${a.k}.${o}`] = t;
|
|
5531
|
-
},
|
|
5397
|
+
}, L7 = (i, e, t, s) => {
|
|
5532
5398
|
const {
|
|
5533
5399
|
obj: n,
|
|
5534
5400
|
k: o
|
|
@@ -5541,7 +5407,7 @@ const f7 = ({
|
|
|
5541
5407
|
} = a1(i, e);
|
|
5542
5408
|
if (t)
|
|
5543
5409
|
return t[s];
|
|
5544
|
-
},
|
|
5410
|
+
}, k7 = (i, e, t) => {
|
|
5545
5411
|
const s = u1(i, t);
|
|
5546
5412
|
return s !== void 0 ? s : u1(e, t);
|
|
5547
5413
|
}, s2 = (i, e, t) => {
|
|
@@ -5549,7 +5415,7 @@ const f7 = ({
|
|
|
5549
5415
|
s !== "__proto__" && s !== "constructor" && (s in i ? v(i[s]) || i[s] instanceof String || v(e[s]) || e[s] instanceof String ? t && (i[s] = e[s]) : s2(i[s], e[s], t) : i[s] = e[s]);
|
|
5550
5416
|
return i;
|
|
5551
5417
|
}, X = (i) => i.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
|
|
5552
|
-
var
|
|
5418
|
+
var v7 = {
|
|
5553
5419
|
"&": "&",
|
|
5554
5420
|
"<": "<",
|
|
5555
5421
|
">": ">",
|
|
@@ -5557,8 +5423,8 @@ var R7 = {
|
|
|
5557
5423
|
"'": "'",
|
|
5558
5424
|
"/": "/"
|
|
5559
5425
|
};
|
|
5560
|
-
const
|
|
5561
|
-
class
|
|
5426
|
+
const N7 = (i) => v(i) ? i.replace(/[&<>"'\/]/g, (e) => v7[e]) : i;
|
|
5427
|
+
class R7 {
|
|
5562
5428
|
constructor(e) {
|
|
5563
5429
|
this.capacity = e, this.regExpMap = /* @__PURE__ */ new Map(), this.regExpQueue = [];
|
|
5564
5430
|
}
|
|
@@ -5570,15 +5436,15 @@ class M7 {
|
|
|
5570
5436
|
return this.regExpQueue.length === this.capacity && this.regExpMap.delete(this.regExpQueue.shift()), this.regExpMap.set(e, s), this.regExpQueue.push(e), s;
|
|
5571
5437
|
}
|
|
5572
5438
|
}
|
|
5573
|
-
const
|
|
5439
|
+
const x7 = [" ", ",", "?", "!", ";"], M7 = new R7(20), _7 = (i, e, t) => {
|
|
5574
5440
|
e = e || "", t = t || "";
|
|
5575
|
-
const s =
|
|
5441
|
+
const s = x7.filter((h) => e.indexOf(h) < 0 && t.indexOf(h) < 0);
|
|
5576
5442
|
if (s.length === 0) return !0;
|
|
5577
|
-
const n =
|
|
5443
|
+
const n = M7.getRegExp(`(${s.map((h) => h === "?" ? "\\?" : h).join("|")})`);
|
|
5578
5444
|
let o = !n.test(i);
|
|
5579
5445
|
if (!o) {
|
|
5580
|
-
const
|
|
5581
|
-
|
|
5446
|
+
const h = i.indexOf(t);
|
|
5447
|
+
h > 0 && !n.test(i.substring(0, h)) && (o = !0);
|
|
5582
5448
|
}
|
|
5583
5449
|
return o;
|
|
5584
5450
|
}, M1 = function(i, e) {
|
|
@@ -5590,18 +5456,18 @@ const _7 = [" ", ",", "?", "!", ";"], b7 = new M7(20), y7 = (i, e, t) => {
|
|
|
5590
5456
|
for (let o = 0; o < s.length; ) {
|
|
5591
5457
|
if (!n || typeof n != "object")
|
|
5592
5458
|
return;
|
|
5593
|
-
let
|
|
5459
|
+
let h, a = "";
|
|
5594
5460
|
for (let C = o; C < s.length; ++C)
|
|
5595
|
-
if (C !== o && (a += t), a += s[C],
|
|
5596
|
-
if (["string", "number", "boolean"].indexOf(typeof
|
|
5461
|
+
if (C !== o && (a += t), a += s[C], h = n[a], h !== void 0) {
|
|
5462
|
+
if (["string", "number", "boolean"].indexOf(typeof h) > -1 && C < s.length - 1)
|
|
5597
5463
|
continue;
|
|
5598
5464
|
o += C - o + 1;
|
|
5599
5465
|
break;
|
|
5600
5466
|
}
|
|
5601
|
-
n =
|
|
5467
|
+
n = h;
|
|
5602
5468
|
}
|
|
5603
5469
|
return n;
|
|
5604
|
-
},
|
|
5470
|
+
}, f1 = (i) => i && i.replace("_", "-"), b7 = {
|
|
5605
5471
|
type: "logger",
|
|
5606
5472
|
log(i) {
|
|
5607
5473
|
this.output("log", i);
|
|
@@ -5616,14 +5482,14 @@ const _7 = [" ", ",", "?", "!", ";"], b7 = new M7(20), y7 = (i, e, t) => {
|
|
|
5616
5482
|
console && console[i] && console[i].apply(console, e);
|
|
5617
5483
|
}
|
|
5618
5484
|
};
|
|
5619
|
-
class
|
|
5485
|
+
class p1 {
|
|
5620
5486
|
constructor(e) {
|
|
5621
5487
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
5622
5488
|
this.init(e, t);
|
|
5623
5489
|
}
|
|
5624
5490
|
init(e) {
|
|
5625
5491
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
5626
|
-
this.prefix = t.prefix || "i18next:", this.logger = e ||
|
|
5492
|
+
this.prefix = t.prefix || "i18next:", this.logger = e || b7, this.options = t, this.debug = t.debug;
|
|
5627
5493
|
}
|
|
5628
5494
|
log() {
|
|
5629
5495
|
for (var e = arguments.length, t = new Array(e), s = 0; s < e; s++)
|
|
@@ -5649,16 +5515,16 @@ class f1 {
|
|
|
5649
5515
|
return n && !this.debug ? null : (v(e[0]) && (e[0] = `${s}${this.prefix} ${e[0]}`), this.logger[t](e));
|
|
5650
5516
|
}
|
|
5651
5517
|
create(e) {
|
|
5652
|
-
return new
|
|
5518
|
+
return new p1(this.logger, {
|
|
5653
5519
|
prefix: `${this.prefix}:${e}:`,
|
|
5654
5520
|
...this.options
|
|
5655
5521
|
});
|
|
5656
5522
|
}
|
|
5657
5523
|
clone(e) {
|
|
5658
|
-
return e = e || this.options, e.prefix = e.prefix || this.prefix, new
|
|
5524
|
+
return e = e || this.options, e.prefix = e.prefix || this.prefix, new p1(this.logger, e);
|
|
5659
5525
|
}
|
|
5660
5526
|
}
|
|
5661
|
-
var B = new
|
|
5527
|
+
var B = new p1();
|
|
5662
5528
|
class L1 {
|
|
5663
5529
|
constructor() {
|
|
5664
5530
|
this.observers = {};
|
|
@@ -5682,12 +5548,12 @@ class L1 {
|
|
|
5682
5548
|
emit(e) {
|
|
5683
5549
|
for (var t = arguments.length, s = new Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++)
|
|
5684
5550
|
s[n - 1] = arguments[n];
|
|
5685
|
-
this.observers[e] && Array.from(this.observers[e].entries()).forEach((
|
|
5686
|
-
let [a, C] =
|
|
5551
|
+
this.observers[e] && Array.from(this.observers[e].entries()).forEach((h) => {
|
|
5552
|
+
let [a, C] = h;
|
|
5687
5553
|
for (let d = 0; d < C; d++)
|
|
5688
5554
|
a(...s);
|
|
5689
|
-
}), this.observers["*"] && Array.from(this.observers["*"].entries()).forEach((
|
|
5690
|
-
let [a, C] =
|
|
5555
|
+
}), this.observers["*"] && Array.from(this.observers["*"].entries()).forEach((h) => {
|
|
5556
|
+
let [a, C] = h;
|
|
5691
5557
|
for (let d = 0; d < C; d++)
|
|
5692
5558
|
a.apply(a, [e, ...s]);
|
|
5693
5559
|
});
|
|
@@ -5710,19 +5576,19 @@ class K1 extends L1 {
|
|
|
5710
5576
|
}
|
|
5711
5577
|
getResource(e, t, s) {
|
|
5712
5578
|
let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
|
|
5713
|
-
const o = n.keySeparator !== void 0 ? n.keySeparator : this.options.keySeparator,
|
|
5579
|
+
const o = n.keySeparator !== void 0 ? n.keySeparator : this.options.keySeparator, h = n.ignoreJSONStructure !== void 0 ? n.ignoreJSONStructure : this.options.ignoreJSONStructure;
|
|
5714
5580
|
let a;
|
|
5715
5581
|
e.indexOf(".") > -1 ? a = e.split(".") : (a = [e, t], s && (Array.isArray(s) ? a.push(...s) : v(s) && o ? a.push(...s.split(o)) : a.push(s)));
|
|
5716
5582
|
const C = u1(this.data, a);
|
|
5717
|
-
return !C && !t && !s && e.indexOf(".") > -1 && (e = a[0], t = a[1], s = a.slice(2).join(".")), C || !
|
|
5583
|
+
return !C && !t && !s && e.indexOf(".") > -1 && (e = a[0], t = a[1], s = a.slice(2).join(".")), C || !h || !v(s) ? C : M1(this.data && this.data[e] && this.data[e][t], s, o);
|
|
5718
5584
|
}
|
|
5719
5585
|
addResource(e, t, s, n) {
|
|
5720
5586
|
let o = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : {
|
|
5721
5587
|
silent: !1
|
|
5722
5588
|
};
|
|
5723
|
-
const
|
|
5589
|
+
const h = o.keySeparator !== void 0 ? o.keySeparator : this.options.keySeparator;
|
|
5724
5590
|
let a = [e, t];
|
|
5725
|
-
s && (a = a.concat(
|
|
5591
|
+
s && (a = a.concat(h ? s.split(h) : s)), e.indexOf(".") > -1 && (a = e.split("."), n = t, t = a[1]), this.addNamespaces(t), T1(this.data, a, n), o.silent || this.emit("added", e, t, s, n);
|
|
5726
5592
|
}
|
|
5727
5593
|
addResources(e, t, s) {
|
|
5728
5594
|
let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {
|
|
@@ -5735,16 +5601,16 @@ class K1 extends L1 {
|
|
|
5735
5601
|
n.silent || this.emit("added", e, t, s);
|
|
5736
5602
|
}
|
|
5737
5603
|
addResourceBundle(e, t, s, n, o) {
|
|
5738
|
-
let
|
|
5604
|
+
let h = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : {
|
|
5739
5605
|
silent: !1,
|
|
5740
5606
|
skipCopy: !1
|
|
5741
5607
|
}, a = [e, t];
|
|
5742
5608
|
e.indexOf(".") > -1 && (a = e.split("."), n = s, s = t, t = a[1]), this.addNamespaces(t);
|
|
5743
5609
|
let C = u1(this.data, a) || {};
|
|
5744
|
-
|
|
5610
|
+
h.skipCopy || (s = JSON.parse(JSON.stringify(s))), n ? s2(C, s, o) : C = {
|
|
5745
5611
|
...C,
|
|
5746
5612
|
...s
|
|
5747
|
-
}, T1(this.data, a, C),
|
|
5613
|
+
}, T1(this.data, a, C), h.silent || this.emit("added", e, t, s);
|
|
5748
5614
|
}
|
|
5749
5615
|
removeResourceBundle(e, t) {
|
|
5750
5616
|
this.hasResourceBundle(e, t) && delete this.data[e][t], this.removeNamespaces(t), this.emit("removed", e, t);
|
|
@@ -5783,7 +5649,7 @@ const B1 = {};
|
|
|
5783
5649
|
class m1 extends L1 {
|
|
5784
5650
|
constructor(e) {
|
|
5785
5651
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
5786
|
-
super(),
|
|
5652
|
+
super(), m7(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = B.create("translator");
|
|
5787
5653
|
}
|
|
5788
5654
|
changeLanguage(e) {
|
|
5789
5655
|
e && (this.language = e);
|
|
@@ -5802,8 +5668,8 @@ class m1 extends L1 {
|
|
|
5802
5668
|
s === void 0 && (s = ":");
|
|
5803
5669
|
const n = t.keySeparator !== void 0 ? t.keySeparator : this.options.keySeparator;
|
|
5804
5670
|
let o = t.ns || this.options.defaultNS || [];
|
|
5805
|
-
const
|
|
5806
|
-
if (
|
|
5671
|
+
const h = s && e.indexOf(s) > -1, a = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !_7(e, s, n);
|
|
5672
|
+
if (h && !a) {
|
|
5807
5673
|
const C = e.match(this.interpolator.nestingRegexp);
|
|
5808
5674
|
if (C && C.length > 0)
|
|
5809
5675
|
return {
|
|
@@ -5824,44 +5690,44 @@ class m1 extends L1 {
|
|
|
5824
5690
|
}), t || (t = {}), e == null) return "";
|
|
5825
5691
|
Array.isArray(e) || (e = [String(e)]);
|
|
5826
5692
|
const n = t.returnDetails !== void 0 ? t.returnDetails : this.options.returnDetails, o = t.keySeparator !== void 0 ? t.keySeparator : this.options.keySeparator, {
|
|
5827
|
-
key:
|
|
5693
|
+
key: h,
|
|
5828
5694
|
namespaces: a
|
|
5829
5695
|
} = this.extractFromKey(e[e.length - 1], t), C = a[a.length - 1], d = t.lng || this.language, l = t.appendNamespaceToCIMode || this.options.appendNamespaceToCIMode;
|
|
5830
5696
|
if (d && d.toLowerCase() === "cimode") {
|
|
5831
5697
|
if (l) {
|
|
5832
|
-
const
|
|
5698
|
+
const p = t.nsSeparator || this.options.nsSeparator;
|
|
5833
5699
|
return n ? {
|
|
5834
|
-
res: `${C}${
|
|
5835
|
-
usedKey:
|
|
5836
|
-
exactUsedKey:
|
|
5700
|
+
res: `${C}${p}${h}`,
|
|
5701
|
+
usedKey: h,
|
|
5702
|
+
exactUsedKey: h,
|
|
5837
5703
|
usedLng: d,
|
|
5838
5704
|
usedNS: C,
|
|
5839
5705
|
usedParams: this.getUsedParamsDetails(t)
|
|
5840
|
-
} : `${C}${
|
|
5706
|
+
} : `${C}${p}${h}`;
|
|
5841
5707
|
}
|
|
5842
5708
|
return n ? {
|
|
5843
|
-
res:
|
|
5844
|
-
usedKey:
|
|
5845
|
-
exactUsedKey:
|
|
5709
|
+
res: h,
|
|
5710
|
+
usedKey: h,
|
|
5711
|
+
exactUsedKey: h,
|
|
5846
5712
|
usedLng: d,
|
|
5847
5713
|
usedNS: C,
|
|
5848
5714
|
usedParams: this.getUsedParamsDetails(t)
|
|
5849
|
-
} :
|
|
5715
|
+
} : h;
|
|
5850
5716
|
}
|
|
5851
|
-
const
|
|
5852
|
-
let g =
|
|
5853
|
-
const
|
|
5717
|
+
const c = this.resolve(e, t);
|
|
5718
|
+
let g = c && c.res;
|
|
5719
|
+
const f = c && c.usedKey || h, k = c && c.exactUsedKey || h, N = Object.prototype.toString.apply(g), m = ["[object Number]", "[object Function]", "[object RegExp]"], y = t.joinArrays !== void 0 ? t.joinArrays : this.options.joinArrays, b = !this.i18nFormat || this.i18nFormat.handleAsObject, E = !v(g) && typeof g != "boolean" && typeof g != "number";
|
|
5854
5720
|
if (b && g && E && m.indexOf(N) < 0 && !(v(y) && Array.isArray(g))) {
|
|
5855
5721
|
if (!t.returnObjects && !this.options.returnObjects) {
|
|
5856
5722
|
this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
|
|
5857
|
-
const
|
|
5723
|
+
const p = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(f, g, {
|
|
5858
5724
|
...t,
|
|
5859
5725
|
ns: a
|
|
5860
|
-
}) : `key '${
|
|
5861
|
-
return n ? (
|
|
5726
|
+
}) : `key '${h} (${this.language})' returned an object instead of string.`;
|
|
5727
|
+
return n ? (c.res = p, c.usedParams = this.getUsedParamsDetails(t), c) : p;
|
|
5862
5728
|
}
|
|
5863
5729
|
if (o) {
|
|
5864
|
-
const
|
|
5730
|
+
const p = Array.isArray(g), _ = p ? [] : {}, R = p ? k : f;
|
|
5865
5731
|
for (const x in g)
|
|
5866
5732
|
if (Object.prototype.hasOwnProperty.call(g, x)) {
|
|
5867
5733
|
const D = `${R}${o}${x}`;
|
|
@@ -5876,43 +5742,43 @@ class m1 extends L1 {
|
|
|
5876
5742
|
} else if (b && v(y) && Array.isArray(g))
|
|
5877
5743
|
g = g.join(y), g && (g = this.extendTranslation(g, e, t, s));
|
|
5878
5744
|
else {
|
|
5879
|
-
let
|
|
5745
|
+
let p = !1, _ = !1;
|
|
5880
5746
|
const R = t.count !== void 0 && !v(t.count), x = m1.hasDefaultValue(t), D = R ? this.pluralResolver.getSuffix(d, t.count, t) : "", P = t.ordinal && R ? this.pluralResolver.getSuffix(d, t.count, {
|
|
5881
5747
|
ordinal: !1
|
|
5882
5748
|
}) : "", i1 = R && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), $ = i1 && t[`defaultValue${this.options.pluralSeparator}zero`] || t[`defaultValue${D}`] || t[`defaultValue${P}`] || t.defaultValue;
|
|
5883
|
-
!this.isValidLookup(g) && x && (
|
|
5749
|
+
!this.isValidLookup(g) && x && (p = !0, g = $), this.isValidLookup(g) || (_ = !0, g = h);
|
|
5884
5750
|
const V = (t.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && _ ? void 0 : g, Y = x && $ !== g && this.options.updateMissing;
|
|
5885
|
-
if (_ ||
|
|
5886
|
-
if (this.logger.log(Y ? "updateKey" : "missingKey", d, C,
|
|
5887
|
-
const
|
|
5751
|
+
if (_ || p || Y) {
|
|
5752
|
+
if (this.logger.log(Y ? "updateKey" : "missingKey", d, C, h, Y ? $ : g), o) {
|
|
5753
|
+
const O = this.resolve(h, {
|
|
5888
5754
|
...t,
|
|
5889
5755
|
keySeparator: !1
|
|
5890
5756
|
});
|
|
5891
|
-
|
|
5757
|
+
O && O.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.");
|
|
5892
5758
|
}
|
|
5893
5759
|
let F = [];
|
|
5894
5760
|
const q = this.languageUtils.getFallbackCodes(this.options.fallbackLng, t.lng || this.language);
|
|
5895
5761
|
if (this.options.saveMissingTo === "fallback" && q && q[0])
|
|
5896
|
-
for (let
|
|
5897
|
-
F.push(q[
|
|
5762
|
+
for (let O = 0; O < q.length; O++)
|
|
5763
|
+
F.push(q[O]);
|
|
5898
5764
|
else this.options.saveMissingTo === "all" ? F = this.languageUtils.toResolveHierarchy(t.lng || this.language) : F.push(t.lng || this.language);
|
|
5899
|
-
const c1 = (
|
|
5765
|
+
const c1 = (O, j, S) => {
|
|
5900
5766
|
const d1 = x && S !== g ? S : V;
|
|
5901
|
-
this.options.missingKeyHandler ? this.options.missingKeyHandler(
|
|
5767
|
+
this.options.missingKeyHandler ? this.options.missingKeyHandler(O, C, j, d1, Y, t) : this.backendConnector && this.backendConnector.saveMissing && this.backendConnector.saveMissing(O, C, j, d1, Y, t), this.emit("missingKey", O, C, j, g);
|
|
5902
5768
|
};
|
|
5903
|
-
this.options.saveMissing && (this.options.saveMissingPlurals && R ? F.forEach((
|
|
5904
|
-
const j = this.pluralResolver.getSuffixes(
|
|
5769
|
+
this.options.saveMissing && (this.options.saveMissingPlurals && R ? F.forEach((O) => {
|
|
5770
|
+
const j = this.pluralResolver.getSuffixes(O, t);
|
|
5905
5771
|
i1 && t[`defaultValue${this.options.pluralSeparator}zero`] && j.indexOf(`${this.options.pluralSeparator}zero`) < 0 && j.push(`${this.options.pluralSeparator}zero`), j.forEach((S) => {
|
|
5906
|
-
c1([
|
|
5772
|
+
c1([O], h + S, t[`defaultValue${S}`] || $);
|
|
5907
5773
|
});
|
|
5908
|
-
}) : c1(F,
|
|
5774
|
+
}) : c1(F, h, $));
|
|
5909
5775
|
}
|
|
5910
|
-
g = this.extendTranslation(g, e, t,
|
|
5776
|
+
g = this.extendTranslation(g, e, t, c, s), _ && g === h && this.options.appendNamespaceToMissingKey && (g = `${C}:${h}`), (_ || p) && this.options.parseMissingKeyHandler && (this.options.compatibilityAPI !== "v1" ? g = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${C}:${h}` : h, p ? g : void 0) : g = this.options.parseMissingKeyHandler(g));
|
|
5911
5777
|
}
|
|
5912
|
-
return n ? (
|
|
5778
|
+
return n ? (c.res = g, c.usedParams = this.getUsedParamsDetails(t), c) : g;
|
|
5913
5779
|
}
|
|
5914
5780
|
extendTranslation(e, t, s, n, o) {
|
|
5915
|
-
var
|
|
5781
|
+
var h = this;
|
|
5916
5782
|
if (this.i18nFormat && this.i18nFormat.parse)
|
|
5917
5783
|
e = this.i18nFormat.parse(e, {
|
|
5918
5784
|
...this.options.interpolation.defaultVariables,
|
|
@@ -5934,18 +5800,18 @@ class m1 extends L1 {
|
|
|
5934
5800
|
const g = e.match(this.interpolator.nestingRegexp);
|
|
5935
5801
|
l = g && g.length;
|
|
5936
5802
|
}
|
|
5937
|
-
let
|
|
5938
|
-
if (this.options.interpolation.defaultVariables && (
|
|
5803
|
+
let c = s.replace && !v(s.replace) ? s.replace : s;
|
|
5804
|
+
if (this.options.interpolation.defaultVariables && (c = {
|
|
5939
5805
|
...this.options.interpolation.defaultVariables,
|
|
5940
|
-
...
|
|
5941
|
-
}), e = this.interpolator.interpolate(e,
|
|
5942
|
-
const g = e.match(this.interpolator.nestingRegexp),
|
|
5943
|
-
l <
|
|
5806
|
+
...c
|
|
5807
|
+
}), e = this.interpolator.interpolate(e, c, s.lng || this.language || n.usedLng, s), d) {
|
|
5808
|
+
const g = e.match(this.interpolator.nestingRegexp), f = g && g.length;
|
|
5809
|
+
l < f && (s.nest = !1);
|
|
5944
5810
|
}
|
|
5945
5811
|
!s.lng && this.options.compatibilityAPI !== "v1" && n && n.res && (s.lng = this.language || n.usedLng), s.nest !== !1 && (e = this.interpolator.nest(e, function() {
|
|
5946
|
-
for (var g = arguments.length,
|
|
5947
|
-
|
|
5948
|
-
return o && o[0] ===
|
|
5812
|
+
for (var g = arguments.length, f = new Array(g), k = 0; k < g; k++)
|
|
5813
|
+
f[k] = arguments[k];
|
|
5814
|
+
return o && o[0] === f[0] && !s.context ? (h.logger.warn(`It seems you are nesting recursively key: ${f[0]} in key: ${t[0]}`), null) : h.translate(...f, t);
|
|
5949
5815
|
}, s)), s.interpolation && this.interpolator.reset();
|
|
5950
5816
|
}
|
|
5951
5817
|
const a = s.postProcess || this.options.postProcess, C = v(a) ? [a] : a;
|
|
@@ -5958,28 +5824,28 @@ class m1 extends L1 {
|
|
|
5958
5824
|
} : s, this)), e;
|
|
5959
5825
|
}
|
|
5960
5826
|
resolve(e) {
|
|
5961
|
-
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s, n, o,
|
|
5827
|
+
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s, n, o, h, a;
|
|
5962
5828
|
return v(e) && (e = [e]), e.forEach((C) => {
|
|
5963
5829
|
if (this.isValidLookup(s)) return;
|
|
5964
5830
|
const d = this.extractFromKey(C, t), l = d.key;
|
|
5965
5831
|
n = l;
|
|
5966
|
-
let
|
|
5967
|
-
this.options.fallbackNS && (
|
|
5968
|
-
const g = t.count !== void 0 && !v(t.count),
|
|
5969
|
-
|
|
5832
|
+
let c = d.namespaces;
|
|
5833
|
+
this.options.fallbackNS && (c = c.concat(this.options.fallbackNS));
|
|
5834
|
+
const g = t.count !== void 0 && !v(t.count), f = g && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), k = t.context !== void 0 && (v(t.context) || typeof t.context == "number") && t.context !== "", N = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
|
|
5835
|
+
c.forEach((m) => {
|
|
5970
5836
|
this.isValidLookup(s) || (a = m, !B1[`${N[0]}-${m}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(a) && (B1[`${N[0]}-${m}`] = !0, this.logger.warn(`key "${n}" for languages "${N.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!!!")), N.forEach((y) => {
|
|
5971
5837
|
if (this.isValidLookup(s)) return;
|
|
5972
|
-
|
|
5838
|
+
h = y;
|
|
5973
5839
|
const b = [l];
|
|
5974
5840
|
if (this.i18nFormat && this.i18nFormat.addLookupKeys)
|
|
5975
5841
|
this.i18nFormat.addLookupKeys(b, l, y, m, t);
|
|
5976
5842
|
else {
|
|
5977
|
-
let
|
|
5978
|
-
g && (
|
|
5843
|
+
let p;
|
|
5844
|
+
g && (p = this.pluralResolver.getSuffix(y, t.count, t));
|
|
5979
5845
|
const _ = `${this.options.pluralSeparator}zero`, R = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
|
|
5980
|
-
if (g && (b.push(l +
|
|
5846
|
+
if (g && (b.push(l + p), t.ordinal && p.indexOf(R) === 0 && b.push(l + p.replace(R, this.options.pluralSeparator)), f && b.push(l + _)), k) {
|
|
5981
5847
|
const x = `${l}${this.options.contextSeparator}${t.context}`;
|
|
5982
|
-
b.push(x), g && (b.push(x +
|
|
5848
|
+
b.push(x), g && (b.push(x + p), t.ordinal && p.indexOf(R) === 0 && b.push(x + p.replace(R, this.options.pluralSeparator)), f && b.push(x + _));
|
|
5983
5849
|
}
|
|
5984
5850
|
}
|
|
5985
5851
|
let E;
|
|
@@ -5991,7 +5857,7 @@ class m1 extends L1 {
|
|
|
5991
5857
|
res: s,
|
|
5992
5858
|
usedKey: n,
|
|
5993
5859
|
exactUsedKey: o,
|
|
5994
|
-
usedLng:
|
|
5860
|
+
usedLng: h,
|
|
5995
5861
|
usedNS: a
|
|
5996
5862
|
};
|
|
5997
5863
|
}
|
|
@@ -6032,12 +5898,12 @@ class P1 {
|
|
|
6032
5898
|
this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = B.create("languageUtils");
|
|
6033
5899
|
}
|
|
6034
5900
|
getScriptPartFromCode(e) {
|
|
6035
|
-
if (e =
|
|
5901
|
+
if (e = f1(e), !e || e.indexOf("-") < 0) return null;
|
|
6036
5902
|
const t = e.split("-");
|
|
6037
5903
|
return t.length === 2 || (t.pop(), t[t.length - 1].toLowerCase() === "x") ? null : this.formatLanguageCode(t.join("-"));
|
|
6038
5904
|
}
|
|
6039
5905
|
getLanguagePartFromCode(e) {
|
|
6040
|
-
if (e =
|
|
5906
|
+
if (e = f1(e), !e || e.indexOf("-") < 0) return e;
|
|
6041
5907
|
const t = e.split("-");
|
|
6042
5908
|
return this.formatLanguageCode(t[0]);
|
|
6043
5909
|
}
|
|
@@ -6084,15 +5950,15 @@ class P1 {
|
|
|
6084
5950
|
return s || (s = e[this.getScriptPartFromCode(t)]), s || (s = e[this.formatLanguageCode(t)]), s || (s = e[this.getLanguagePartFromCode(t)]), s || (s = e.default), s || [];
|
|
6085
5951
|
}
|
|
6086
5952
|
toResolveHierarchy(e, t) {
|
|
6087
|
-
const s = this.getFallbackCodes(t || this.options.fallbackLng || [], e), n = [], o = (
|
|
6088
|
-
|
|
5953
|
+
const s = this.getFallbackCodes(t || this.options.fallbackLng || [], e), n = [], o = (h) => {
|
|
5954
|
+
h && (this.isSupportedCode(h) ? n.push(h) : this.logger.warn(`rejecting language code not found in supportedLngs: ${h}`));
|
|
6089
5955
|
};
|
|
6090
|
-
return v(e) && (e.indexOf("-") > -1 || e.indexOf("_") > -1) ? (this.options.load !== "languageOnly" && o(this.formatLanguageCode(e)), this.options.load !== "languageOnly" && this.options.load !== "currentOnly" && o(this.getScriptPartFromCode(e)), this.options.load !== "currentOnly" && o(this.getLanguagePartFromCode(e))) : v(e) && o(this.formatLanguageCode(e)), s.forEach((
|
|
6091
|
-
n.indexOf(
|
|
5956
|
+
return v(e) && (e.indexOf("-") > -1 || e.indexOf("_") > -1) ? (this.options.load !== "languageOnly" && o(this.formatLanguageCode(e)), this.options.load !== "languageOnly" && this.options.load !== "currentOnly" && o(this.getScriptPartFromCode(e)), this.options.load !== "currentOnly" && o(this.getLanguagePartFromCode(e))) : v(e) && o(this.formatLanguageCode(e)), s.forEach((h) => {
|
|
5957
|
+
n.indexOf(h) < 0 && o(this.formatLanguageCode(h));
|
|
6092
5958
|
}), n;
|
|
6093
5959
|
}
|
|
6094
5960
|
}
|
|
6095
|
-
let
|
|
5961
|
+
let y7 = [{
|
|
6096
5962
|
lngs: ["ach", "ak", "am", "arn", "br", "fil", "gun", "ln", "mfe", "mg", "mi", "oc", "pt", "pt-BR", "tg", "tl", "ti", "tr", "uz", "wa"],
|
|
6097
5963
|
nr: [1, 2],
|
|
6098
5964
|
fc: 1
|
|
@@ -6184,7 +6050,7 @@ let E7 = [{
|
|
|
6184
6050
|
lngs: ["he", "iw"],
|
|
6185
6051
|
nr: [1, 2, 20, 21],
|
|
6186
6052
|
fc: 22
|
|
6187
|
-
}],
|
|
6053
|
+
}], H7 = {
|
|
6188
6054
|
1: (i) => +(i > 1),
|
|
6189
6055
|
2: (i) => +(i != 1),
|
|
6190
6056
|
3: (i) => 0,
|
|
@@ -6208,28 +6074,28 @@ let E7 = [{
|
|
|
6208
6074
|
21: (i) => i % 100 == 1 ? 1 : i % 100 == 2 ? 2 : i % 100 == 3 || i % 100 == 4 ? 3 : 0,
|
|
6209
6075
|
22: (i) => i == 1 ? 0 : i == 2 ? 1 : (i < 0 || i > 10) && i % 10 == 0 ? 2 : 3
|
|
6210
6076
|
};
|
|
6211
|
-
const
|
|
6077
|
+
const E7 = ["v1", "v2", "v3"], V7 = ["v4"], Y1 = {
|
|
6212
6078
|
zero: 0,
|
|
6213
6079
|
one: 1,
|
|
6214
6080
|
two: 2,
|
|
6215
6081
|
few: 3,
|
|
6216
6082
|
many: 4,
|
|
6217
6083
|
other: 5
|
|
6218
|
-
},
|
|
6084
|
+
}, I7 = () => {
|
|
6219
6085
|
const i = {};
|
|
6220
|
-
return
|
|
6086
|
+
return y7.forEach((e) => {
|
|
6221
6087
|
e.lngs.forEach((t) => {
|
|
6222
6088
|
i[t] = {
|
|
6223
6089
|
numbers: e.nr,
|
|
6224
|
-
plurals:
|
|
6090
|
+
plurals: H7[e.fc]
|
|
6225
6091
|
};
|
|
6226
6092
|
});
|
|
6227
6093
|
}), i;
|
|
6228
6094
|
};
|
|
6229
|
-
class
|
|
6095
|
+
class A7 {
|
|
6230
6096
|
constructor(e) {
|
|
6231
6097
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
6232
|
-
this.languageUtils = e, this.options = t, this.logger = B.create("pluralResolver"), (!this.options.compatibilityJSON ||
|
|
6098
|
+
this.languageUtils = e, this.options = t, this.logger = B.create("pluralResolver"), (!this.options.compatibilityJSON || V7.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 = I7(), this.pluralRulesCache = {};
|
|
6233
6099
|
}
|
|
6234
6100
|
addRule(e, t) {
|
|
6235
6101
|
this.rules[e] = t;
|
|
@@ -6240,23 +6106,23 @@ class Z7 {
|
|
|
6240
6106
|
getRule(e) {
|
|
6241
6107
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
6242
6108
|
if (this.shouldUseIntlApi()) {
|
|
6243
|
-
const s =
|
|
6109
|
+
const s = f1(e === "dev" ? "en" : e), n = t.ordinal ? "ordinal" : "cardinal", o = JSON.stringify({
|
|
6244
6110
|
cleanedCode: s,
|
|
6245
6111
|
type: n
|
|
6246
6112
|
});
|
|
6247
6113
|
if (o in this.pluralRulesCache)
|
|
6248
6114
|
return this.pluralRulesCache[o];
|
|
6249
|
-
let
|
|
6115
|
+
let h;
|
|
6250
6116
|
try {
|
|
6251
|
-
|
|
6117
|
+
h = new Intl.PluralRules(s, {
|
|
6252
6118
|
type: n
|
|
6253
6119
|
});
|
|
6254
6120
|
} catch {
|
|
6255
6121
|
if (!e.match(/-|_/)) return;
|
|
6256
6122
|
const C = this.languageUtils.getLanguagePartFromCode(e);
|
|
6257
|
-
|
|
6123
|
+
h = this.getRule(C, t);
|
|
6258
6124
|
}
|
|
6259
|
-
return this.pluralRulesCache[o] =
|
|
6125
|
+
return this.pluralRulesCache[o] = h, h;
|
|
6260
6126
|
}
|
|
6261
6127
|
return this.rules[e] || this.rules[this.languageUtils.getLanguagePartFromCode(e)];
|
|
6262
6128
|
}
|
|
@@ -6287,14 +6153,14 @@ class Z7 {
|
|
|
6287
6153
|
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();
|
|
6288
6154
|
}
|
|
6289
6155
|
shouldUseIntlApi() {
|
|
6290
|
-
return !
|
|
6156
|
+
return !E7.includes(this.options.compatibilityJSON);
|
|
6291
6157
|
}
|
|
6292
6158
|
}
|
|
6293
6159
|
const j1 = function(i, e, t) {
|
|
6294
|
-
let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", n = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, o =
|
|
6160
|
+
let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", n = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, o = k7(i, e, t);
|
|
6295
6161
|
return !o && n && v(t) && (o = M1(i, t, s), o === void 0 && (o = M1(e, t, s))), o;
|
|
6296
6162
|
}, R1 = (i) => i.replace(/\$/g, "$$$$");
|
|
6297
|
-
class
|
|
6163
|
+
class Z7 {
|
|
6298
6164
|
constructor() {
|
|
6299
6165
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
6300
6166
|
this.logger = B.create("interpolator"), this.options = e, this.format = e.interpolation && e.interpolation.format || ((t) => t), this.init(e);
|
|
@@ -6309,21 +6175,21 @@ class S7 {
|
|
|
6309
6175
|
escapeValue: s,
|
|
6310
6176
|
useRawValueToEscape: n,
|
|
6311
6177
|
prefix: o,
|
|
6312
|
-
prefixEscaped:
|
|
6178
|
+
prefixEscaped: h,
|
|
6313
6179
|
suffix: a,
|
|
6314
6180
|
suffixEscaped: C,
|
|
6315
6181
|
formatSeparator: d,
|
|
6316
6182
|
unescapeSuffix: l,
|
|
6317
|
-
unescapePrefix:
|
|
6183
|
+
unescapePrefix: c,
|
|
6318
6184
|
nestingPrefix: g,
|
|
6319
|
-
nestingPrefixEscaped:
|
|
6320
|
-
nestingSuffix:
|
|
6185
|
+
nestingPrefixEscaped: f,
|
|
6186
|
+
nestingSuffix: k,
|
|
6321
6187
|
nestingSuffixEscaped: N,
|
|
6322
6188
|
nestingOptionsSeparator: m,
|
|
6323
6189
|
maxReplaces: y,
|
|
6324
6190
|
alwaysFormat: b
|
|
6325
6191
|
} = e.interpolation;
|
|
6326
|
-
this.escape = t !== void 0 ? t :
|
|
6192
|
+
this.escape = t !== void 0 ? t : N7, this.escapeValue = s !== void 0 ? s : !0, this.useRawValueToEscape = n !== void 0 ? n : !1, this.prefix = o ? X(o) : h || "{{", this.suffix = a ? X(a) : C || "}}", this.formatSeparator = d || ",", this.unescapePrefix = l ? "" : c || "-", this.unescapeSuffix = this.unescapePrefix ? "" : l || "", this.nestingPrefix = g ? X(g) : f || X("$t("), this.nestingSuffix = k ? X(k) : N || X(")"), this.nestingOptionsSeparator = m || ",", this.maxReplaces = y || 1e3, this.alwaysFormat = b !== void 0 ? b : !1, this.resetRegExp();
|
|
6327
6193
|
}
|
|
6328
6194
|
reset() {
|
|
6329
6195
|
this.options && this.init(this.options);
|
|
@@ -6333,17 +6199,17 @@ class S7 {
|
|
|
6333
6199
|
this.regexp = e(this.regexp, `${this.prefix}(.+?)${this.suffix}`), this.regexpUnescape = e(this.regexpUnescape, `${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`), this.nestingRegexp = e(this.nestingRegexp, `${this.nestingPrefix}(.+?)${this.nestingSuffix}`);
|
|
6334
6200
|
}
|
|
6335
6201
|
interpolate(e, t, s, n) {
|
|
6336
|
-
let o,
|
|
6337
|
-
const C = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, d = (
|
|
6338
|
-
if (
|
|
6339
|
-
const y = j1(t, C,
|
|
6202
|
+
let o, h, a;
|
|
6203
|
+
const C = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, d = (f) => {
|
|
6204
|
+
if (f.indexOf(this.formatSeparator) < 0) {
|
|
6205
|
+
const y = j1(t, C, f, this.options.keySeparator, this.options.ignoreJSONStructure);
|
|
6340
6206
|
return this.alwaysFormat ? this.format(y, void 0, s, {
|
|
6341
6207
|
...n,
|
|
6342
6208
|
...t,
|
|
6343
|
-
interpolationkey:
|
|
6209
|
+
interpolationkey: f
|
|
6344
6210
|
}) : y;
|
|
6345
6211
|
}
|
|
6346
|
-
const
|
|
6212
|
+
const k = f.split(this.formatSeparator), N = k.shift().trim(), m = k.join(this.formatSeparator).trim();
|
|
6347
6213
|
return this.format(j1(t, C, N, this.options.keySeparator, this.options.ignoreJSONStructure), m, s, {
|
|
6348
6214
|
...n,
|
|
6349
6215
|
...t,
|
|
@@ -6351,66 +6217,66 @@ class S7 {
|
|
|
6351
6217
|
});
|
|
6352
6218
|
};
|
|
6353
6219
|
this.resetRegExp();
|
|
6354
|
-
const l = n && n.missingInterpolationHandler || this.options.missingInterpolationHandler,
|
|
6220
|
+
const l = n && n.missingInterpolationHandler || this.options.missingInterpolationHandler, c = n && n.interpolation && n.interpolation.skipOnVariables !== void 0 ? n.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables;
|
|
6355
6221
|
return [{
|
|
6356
6222
|
regex: this.regexpUnescape,
|
|
6357
|
-
safeValue: (
|
|
6223
|
+
safeValue: (f) => R1(f)
|
|
6358
6224
|
}, {
|
|
6359
6225
|
regex: this.regexp,
|
|
6360
|
-
safeValue: (
|
|
6361
|
-
}].forEach((
|
|
6362
|
-
for (a = 0; o =
|
|
6363
|
-
const
|
|
6364
|
-
if (
|
|
6226
|
+
safeValue: (f) => this.escapeValue ? R1(this.escape(f)) : R1(f)
|
|
6227
|
+
}].forEach((f) => {
|
|
6228
|
+
for (a = 0; o = f.regex.exec(e); ) {
|
|
6229
|
+
const k = o[1].trim();
|
|
6230
|
+
if (h = d(k), h === void 0)
|
|
6365
6231
|
if (typeof l == "function") {
|
|
6366
6232
|
const m = l(e, o, n);
|
|
6367
|
-
|
|
6368
|
-
} else if (n && Object.prototype.hasOwnProperty.call(n,
|
|
6369
|
-
|
|
6370
|
-
else if (
|
|
6371
|
-
|
|
6233
|
+
h = v(m) ? m : "";
|
|
6234
|
+
} else if (n && Object.prototype.hasOwnProperty.call(n, k))
|
|
6235
|
+
h = "";
|
|
6236
|
+
else if (c) {
|
|
6237
|
+
h = o[0];
|
|
6372
6238
|
continue;
|
|
6373
6239
|
} else
|
|
6374
|
-
this.logger.warn(`missed to pass in variable ${
|
|
6375
|
-
else !v(
|
|
6376
|
-
const N =
|
|
6377
|
-
if (e = e.replace(o[0], N),
|
|
6240
|
+
this.logger.warn(`missed to pass in variable ${k} for interpolating ${e}`), h = "";
|
|
6241
|
+
else !v(h) && !this.useRawValueToEscape && (h = S1(h));
|
|
6242
|
+
const N = f.safeValue(h);
|
|
6243
|
+
if (e = e.replace(o[0], N), c ? (f.regex.lastIndex += h.length, f.regex.lastIndex -= o[0].length) : f.regex.lastIndex = 0, a++, a >= this.maxReplaces)
|
|
6378
6244
|
break;
|
|
6379
6245
|
}
|
|
6380
6246
|
}), e;
|
|
6381
6247
|
}
|
|
6382
6248
|
nest(e, t) {
|
|
6383
|
-
let s = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, n, o,
|
|
6249
|
+
let s = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, n, o, h;
|
|
6384
6250
|
const a = (C, d) => {
|
|
6385
6251
|
const l = this.nestingOptionsSeparator;
|
|
6386
6252
|
if (C.indexOf(l) < 0) return C;
|
|
6387
|
-
const
|
|
6388
|
-
let g = `{${
|
|
6389
|
-
C =
|
|
6390
|
-
const
|
|
6391
|
-
(
|
|
6253
|
+
const c = C.split(new RegExp(`${l}[ ]*{`));
|
|
6254
|
+
let g = `{${c[1]}`;
|
|
6255
|
+
C = c[0], g = this.interpolate(g, h);
|
|
6256
|
+
const f = g.match(/'/g), k = g.match(/"/g);
|
|
6257
|
+
(f && f.length % 2 === 0 && !k || k.length % 2 !== 0) && (g = g.replace(/'/g, '"'));
|
|
6392
6258
|
try {
|
|
6393
|
-
|
|
6259
|
+
h = JSON.parse(g), d && (h = {
|
|
6394
6260
|
...d,
|
|
6395
|
-
...
|
|
6261
|
+
...h
|
|
6396
6262
|
});
|
|
6397
6263
|
} catch (N) {
|
|
6398
6264
|
return this.logger.warn(`failed parsing options string in nesting for key ${C}`, N), `${C}${l}${g}`;
|
|
6399
6265
|
}
|
|
6400
|
-
return
|
|
6266
|
+
return h.defaultValue && h.defaultValue.indexOf(this.prefix) > -1 && delete h.defaultValue, C;
|
|
6401
6267
|
};
|
|
6402
6268
|
for (; n = this.nestingRegexp.exec(e); ) {
|
|
6403
6269
|
let C = [];
|
|
6404
|
-
|
|
6270
|
+
h = {
|
|
6405
6271
|
...s
|
|
6406
|
-
},
|
|
6272
|
+
}, h = h.replace && !v(h.replace) ? h.replace : h, h.applyPostProcessor = !1, delete h.defaultValue;
|
|
6407
6273
|
let d = !1;
|
|
6408
6274
|
if (n[0].indexOf(this.formatSeparator) !== -1 && !/{.*}/.test(n[1])) {
|
|
6409
|
-
const l = n[1].split(this.formatSeparator).map((
|
|
6275
|
+
const l = n[1].split(this.formatSeparator).map((c) => c.trim());
|
|
6410
6276
|
n[1] = l.shift(), C = l, d = !0;
|
|
6411
6277
|
}
|
|
6412
|
-
if (o = t(a.call(this, n[1].trim(),
|
|
6413
|
-
v(o) || (o = S1(o)), o || (this.logger.warn(`missed to resolve ${n[1]} for nesting ${e}`), o = ""), d && (o = C.reduce((l,
|
|
6278
|
+
if (o = t(a.call(this, n[1].trim(), h), h), o && n[0] === e && !v(o)) return o;
|
|
6279
|
+
v(o) || (o = S1(o)), o || (this.logger.warn(`missed to resolve ${n[1]} for nesting ${e}`), o = ""), d && (o = C.reduce((l, c) => this.format(l, c, s.lng, {
|
|
6414
6280
|
...s,
|
|
6415
6281
|
interpolationkey: n[1].trim()
|
|
6416
6282
|
}), o.trim())), e = e.replace(n[0], o), this.regexp.lastIndex = 0;
|
|
@@ -6418,16 +6284,16 @@ class S7 {
|
|
|
6418
6284
|
return e;
|
|
6419
6285
|
}
|
|
6420
6286
|
}
|
|
6421
|
-
const
|
|
6287
|
+
const O7 = (i) => {
|
|
6422
6288
|
let e = i.toLowerCase().trim();
|
|
6423
6289
|
const t = {};
|
|
6424
6290
|
if (i.indexOf("(") > -1) {
|
|
6425
6291
|
const s = i.split("(");
|
|
6426
6292
|
e = s[0].toLowerCase().trim();
|
|
6427
6293
|
const n = s[1].substring(0, s[1].length - 1);
|
|
6428
|
-
e === "currency" && n.indexOf(":") < 0 ? t.currency || (t.currency = n.trim()) : e === "relativetime" && n.indexOf(":") < 0 ? t.range || (t.range = n.trim()) : n.split(";").forEach((
|
|
6429
|
-
if (
|
|
6430
|
-
const [a, ...C] =
|
|
6294
|
+
e === "currency" && n.indexOf(":") < 0 ? t.currency || (t.currency = n.trim()) : e === "relativetime" && n.indexOf(":") < 0 ? t.range || (t.range = n.trim()) : n.split(";").forEach((h) => {
|
|
6295
|
+
if (h) {
|
|
6296
|
+
const [a, ...C] = h.split(":"), d = C.join(":").trim().replace(/^'+|'+$/g, ""), l = a.trim();
|
|
6431
6297
|
t[l] || (t[l] = d), d === "false" && (t[l] = !1), d === "true" && (t[l] = !0), isNaN(d) || (t[l] = parseInt(d, 10));
|
|
6432
6298
|
}
|
|
6433
6299
|
});
|
|
@@ -6444,12 +6310,12 @@ const D7 = (i) => {
|
|
|
6444
6310
|
...o,
|
|
6445
6311
|
[n.interpolationkey]: void 0
|
|
6446
6312
|
});
|
|
6447
|
-
const
|
|
6448
|
-
let a = e[
|
|
6449
|
-
return a || (a = i(
|
|
6313
|
+
const h = s + JSON.stringify(o);
|
|
6314
|
+
let a = e[h];
|
|
6315
|
+
return a || (a = i(f1(s), n), e[h] = a), a(t);
|
|
6450
6316
|
};
|
|
6451
6317
|
};
|
|
6452
|
-
class
|
|
6318
|
+
class S7 {
|
|
6453
6319
|
constructor() {
|
|
6454
6320
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
6455
6321
|
this.logger = B.create("formatter"), this.options = e, this.formats = {
|
|
@@ -6509,12 +6375,12 @@ class G7 {
|
|
|
6509
6375
|
const {
|
|
6510
6376
|
formatName: d,
|
|
6511
6377
|
formatOptions: l
|
|
6512
|
-
} =
|
|
6378
|
+
} = O7(C);
|
|
6513
6379
|
if (this.formats[d]) {
|
|
6514
|
-
let
|
|
6380
|
+
let c = a;
|
|
6515
6381
|
try {
|
|
6516
|
-
const g = n && n.formatParams && n.formatParams[n.interpolationkey] || {},
|
|
6517
|
-
|
|
6382
|
+
const g = n && n.formatParams && n.formatParams[n.interpolationkey] || {}, f = g.locale || g.lng || n.locale || n.lng || s;
|
|
6383
|
+
c = this.formats[d](a, f, {
|
|
6518
6384
|
...l,
|
|
6519
6385
|
...n,
|
|
6520
6386
|
...g
|
|
@@ -6522,61 +6388,61 @@ class G7 {
|
|
|
6522
6388
|
} catch (g) {
|
|
6523
6389
|
this.logger.warn(g);
|
|
6524
6390
|
}
|
|
6525
|
-
return
|
|
6391
|
+
return c;
|
|
6526
6392
|
} else
|
|
6527
6393
|
this.logger.warn(`there was no format function for ${d}`);
|
|
6528
6394
|
return a;
|
|
6529
6395
|
}, e);
|
|
6530
6396
|
}
|
|
6531
6397
|
}
|
|
6532
|
-
const
|
|
6398
|
+
const D7 = (i, e) => {
|
|
6533
6399
|
i.pending[e] !== void 0 && (delete i.pending[e], i.pendingCount--);
|
|
6534
6400
|
};
|
|
6535
|
-
class
|
|
6401
|
+
class G7 extends L1 {
|
|
6536
6402
|
constructor(e, t, s) {
|
|
6537
6403
|
let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
|
|
6538
6404
|
super(), this.backend = e, this.store = t, this.services = s, this.languageUtils = s.languageUtils, this.options = n, this.logger = B.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);
|
|
6539
6405
|
}
|
|
6540
6406
|
queueLoad(e, t, s, n) {
|
|
6541
|
-
const o = {},
|
|
6407
|
+
const o = {}, h = {}, a = {}, C = {};
|
|
6542
6408
|
return e.forEach((d) => {
|
|
6543
6409
|
let l = !0;
|
|
6544
|
-
t.forEach((
|
|
6545
|
-
const g = `${d}|${
|
|
6546
|
-
!s.reload && this.store.hasResourceBundle(d,
|
|
6410
|
+
t.forEach((c) => {
|
|
6411
|
+
const g = `${d}|${c}`;
|
|
6412
|
+
!s.reload && this.store.hasResourceBundle(d, c) ? this.state[g] = 2 : this.state[g] < 0 || (this.state[g] === 1 ? h[g] === void 0 && (h[g] = !0) : (this.state[g] = 1, l = !1, h[g] === void 0 && (h[g] = !0), o[g] === void 0 && (o[g] = !0), C[c] === void 0 && (C[c] = !0)));
|
|
6547
6413
|
}), l || (a[d] = !0);
|
|
6548
|
-
}), (Object.keys(o).length || Object.keys(
|
|
6549
|
-
pending:
|
|
6550
|
-
pendingCount: Object.keys(
|
|
6414
|
+
}), (Object.keys(o).length || Object.keys(h).length) && this.queue.push({
|
|
6415
|
+
pending: h,
|
|
6416
|
+
pendingCount: Object.keys(h).length,
|
|
6551
6417
|
loaded: {},
|
|
6552
6418
|
errors: [],
|
|
6553
6419
|
callback: n
|
|
6554
6420
|
}), {
|
|
6555
6421
|
toLoad: Object.keys(o),
|
|
6556
|
-
pending: Object.keys(
|
|
6422
|
+
pending: Object.keys(h),
|
|
6557
6423
|
toLoadLanguages: Object.keys(a),
|
|
6558
6424
|
toLoadNamespaces: Object.keys(C)
|
|
6559
6425
|
};
|
|
6560
6426
|
}
|
|
6561
6427
|
loaded(e, t, s) {
|
|
6562
|
-
const n = e.split("|"), o = n[0],
|
|
6563
|
-
t && this.emit("failedLoading", o,
|
|
6428
|
+
const n = e.split("|"), o = n[0], h = n[1];
|
|
6429
|
+
t && this.emit("failedLoading", o, h, t), !t && s && this.store.addResourceBundle(o, h, s, void 0, void 0, {
|
|
6564
6430
|
skipCopy: !0
|
|
6565
6431
|
}), this.state[e] = t ? -1 : 2, t && s && (this.state[e] = 0);
|
|
6566
6432
|
const a = {};
|
|
6567
6433
|
this.queue.forEach((C) => {
|
|
6568
|
-
|
|
6434
|
+
L7(C.loaded, [o], h), D7(C, e), t && C.errors.push(t), C.pendingCount === 0 && !C.done && (Object.keys(C.loaded).forEach((d) => {
|
|
6569
6435
|
a[d] || (a[d] = {});
|
|
6570
6436
|
const l = C.loaded[d];
|
|
6571
|
-
l.length && l.forEach((
|
|
6572
|
-
a[d][
|
|
6437
|
+
l.length && l.forEach((c) => {
|
|
6438
|
+
a[d][c] === void 0 && (a[d][c] = !0);
|
|
6573
6439
|
});
|
|
6574
6440
|
}), C.done = !0, C.errors.length ? C.callback(C.errors) : C.callback());
|
|
6575
6441
|
}), this.emit("loaded", a), this.queue = this.queue.filter((C) => !C.done);
|
|
6576
6442
|
}
|
|
6577
6443
|
read(e, t, s) {
|
|
6578
|
-
let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : 0, o = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : this.retryTimeout,
|
|
6579
|
-
if (!e.length) return
|
|
6444
|
+
let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : 0, o = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : this.retryTimeout, h = arguments.length > 5 ? arguments[5] : void 0;
|
|
6445
|
+
if (!e.length) return h(null, {});
|
|
6580
6446
|
if (this.readingCalls >= this.maxParallelReads) {
|
|
6581
6447
|
this.waitingReads.push({
|
|
6582
6448
|
lng: e,
|
|
@@ -6584,23 +6450,23 @@ class K7 extends L1 {
|
|
|
6584
6450
|
fcName: s,
|
|
6585
6451
|
tried: n,
|
|
6586
6452
|
wait: o,
|
|
6587
|
-
callback:
|
|
6453
|
+
callback: h
|
|
6588
6454
|
});
|
|
6589
6455
|
return;
|
|
6590
6456
|
}
|
|
6591
6457
|
this.readingCalls++;
|
|
6592
6458
|
const a = (d, l) => {
|
|
6593
6459
|
if (this.readingCalls--, this.waitingReads.length > 0) {
|
|
6594
|
-
const
|
|
6595
|
-
this.read(
|
|
6460
|
+
const c = this.waitingReads.shift();
|
|
6461
|
+
this.read(c.lng, c.ns, c.fcName, c.tried, c.wait, c.callback);
|
|
6596
6462
|
}
|
|
6597
6463
|
if (d && l && n < this.maxRetries) {
|
|
6598
6464
|
setTimeout(() => {
|
|
6599
|
-
this.read.call(this, e, t, s, n + 1, o * 2,
|
|
6465
|
+
this.read.call(this, e, t, s, n + 1, o * 2, h);
|
|
6600
6466
|
}, o);
|
|
6601
6467
|
return;
|
|
6602
6468
|
}
|
|
6603
|
-
|
|
6469
|
+
h(d, l);
|
|
6604
6470
|
}, C = this.backend[s].bind(this.backend);
|
|
6605
6471
|
if (C.length === 2) {
|
|
6606
6472
|
try {
|
|
@@ -6621,8 +6487,8 @@ class K7 extends L1 {
|
|
|
6621
6487
|
const o = this.queueLoad(e, t, s, n);
|
|
6622
6488
|
if (!o.toLoad.length)
|
|
6623
6489
|
return o.pending.length || n(), null;
|
|
6624
|
-
o.toLoad.forEach((
|
|
6625
|
-
this.loadOne(
|
|
6490
|
+
o.toLoad.forEach((h) => {
|
|
6491
|
+
this.loadOne(h);
|
|
6626
6492
|
});
|
|
6627
6493
|
}
|
|
6628
6494
|
load(e, t, s) {
|
|
@@ -6636,12 +6502,12 @@ class K7 extends L1 {
|
|
|
6636
6502
|
loadOne(e) {
|
|
6637
6503
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "";
|
|
6638
6504
|
const s = e.split("|"), n = s[0], o = s[1];
|
|
6639
|
-
this.read(n, o, "read", void 0, void 0, (
|
|
6640
|
-
|
|
6505
|
+
this.read(n, o, "read", void 0, void 0, (h, a) => {
|
|
6506
|
+
h && this.logger.warn(`${t}loading namespace ${o} for language ${n} failed`, h), !h && a && this.logger.log(`${t}loaded namespace ${o} for language ${n}`, a), this.loaded(e, h, a);
|
|
6641
6507
|
});
|
|
6642
6508
|
}
|
|
6643
6509
|
saveMissing(e, t, s, n, o) {
|
|
6644
|
-
let
|
|
6510
|
+
let h = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : {}, a = arguments.length > 6 && arguments[6] !== void 0 ? arguments[6] : () => {
|
|
6645
6511
|
};
|
|
6646
6512
|
if (this.services.utils && this.services.utils.hasLoadedNamespace && !this.services.utils.hasLoadedNamespace(t)) {
|
|
6647
6513
|
this.logger.warn(`did not save key "${s}" as the namespace "${t}" 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!!!");
|
|
@@ -6650,13 +6516,13 @@ class K7 extends L1 {
|
|
|
6650
6516
|
if (!(s == null || s === "")) {
|
|
6651
6517
|
if (this.backend && this.backend.create) {
|
|
6652
6518
|
const C = {
|
|
6653
|
-
...
|
|
6519
|
+
...h,
|
|
6654
6520
|
isUpdate: o
|
|
6655
6521
|
}, d = this.backend.create.bind(this.backend);
|
|
6656
6522
|
if (d.length < 6)
|
|
6657
6523
|
try {
|
|
6658
6524
|
let l;
|
|
6659
|
-
d.length === 5 ? l = d(e, t, s, n, C) : l = d(e, t, s, n), l && typeof l.then == "function" ? l.then((
|
|
6525
|
+
d.length === 5 ? l = d(e, t, s, n, C) : l = d(e, t, s, n), l && typeof l.then == "function" ? l.then((c) => a(null, c)).catch(a) : a(null, l);
|
|
6660
6526
|
} catch (l) {
|
|
6661
6527
|
a(l);
|
|
6662
6528
|
}
|
|
@@ -6724,7 +6590,7 @@ const $1 = () => ({
|
|
|
6724
6590
|
skipOnVariables: !0
|
|
6725
6591
|
}
|
|
6726
6592
|
}), F1 = (i) => (v(i.ns) && (i.ns = [i.ns]), v(i.fallbackLng) && (i.fallbackLng = [i.fallbackLng]), v(i.fallbackNS) && (i.fallbackNS = [i.fallbackNS]), i.supportedLngs && i.supportedLngs.indexOf("cimode") < 0 && (i.supportedLngs = i.supportedLngs.concat(["cimode"])), i), g1 = () => {
|
|
6727
|
-
},
|
|
6593
|
+
}, T7 = (i) => {
|
|
6728
6594
|
Object.getOwnPropertyNames(Object.getPrototypeOf(i)).forEach((t) => {
|
|
6729
6595
|
typeof i[t] == "function" && (i[t] = i[t].bind(i));
|
|
6730
6596
|
});
|
|
@@ -6734,7 +6600,7 @@ class l1 extends L1 {
|
|
|
6734
6600
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0;
|
|
6735
6601
|
if (super(), this.options = F1(e), this.services = {}, this.logger = B, this.modules = {
|
|
6736
6602
|
external: []
|
|
6737
|
-
},
|
|
6603
|
+
}, T7(this), t && !this.isInitialized && !e.isClone) {
|
|
6738
6604
|
if (!this.options.initImmediate)
|
|
6739
6605
|
return this.init(e, t), this;
|
|
6740
6606
|
setTimeout(() => {
|
|
@@ -6759,26 +6625,26 @@ class l1 extends L1 {
|
|
|
6759
6625
|
if (!this.options.isClone) {
|
|
6760
6626
|
this.modules.logger ? B.init(o(this.modules.logger), this.options) : B.init(null, this.options);
|
|
6761
6627
|
let l;
|
|
6762
|
-
this.modules.formatter ? l = this.modules.formatter : typeof Intl < "u" && (l =
|
|
6763
|
-
const
|
|
6628
|
+
this.modules.formatter ? l = this.modules.formatter : typeof Intl < "u" && (l = S7);
|
|
6629
|
+
const c = new P1(this.options);
|
|
6764
6630
|
this.store = new K1(this.options.resources, this.options);
|
|
6765
6631
|
const g = this.services;
|
|
6766
|
-
g.logger = B, g.resourceStore = this.store, g.languageUtils =
|
|
6632
|
+
g.logger = B, g.resourceStore = this.store, g.languageUtils = c, g.pluralResolver = new A7(c, {
|
|
6767
6633
|
prepend: this.options.pluralSeparator,
|
|
6768
6634
|
compatibilityJSON: this.options.compatibilityJSON,
|
|
6769
6635
|
simplifyPluralSuffix: this.options.simplifyPluralSuffix
|
|
6770
|
-
}), 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
|
|
6636
|
+
}), 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 Z7(this.options), g.utils = {
|
|
6771
6637
|
hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
|
|
6772
|
-
}, g.backendConnector = new
|
|
6773
|
-
for (var
|
|
6638
|
+
}, g.backendConnector = new G7(o(this.modules.backend), g.resourceStore, g, this.options), g.backendConnector.on("*", function(f) {
|
|
6639
|
+
for (var k = arguments.length, N = new Array(k > 1 ? k - 1 : 0), m = 1; m < k; m++)
|
|
6774
6640
|
N[m - 1] = arguments[m];
|
|
6775
|
-
e.emit(
|
|
6776
|
-
}), 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 m1(this.services, this.options), this.translator.on("*", function(
|
|
6777
|
-
for (var
|
|
6641
|
+
e.emit(f, ...N);
|
|
6642
|
+
}), 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 m1(this.services, this.options), this.translator.on("*", function(f) {
|
|
6643
|
+
for (var k = arguments.length, N = new Array(k > 1 ? k - 1 : 0), m = 1; m < k; m++)
|
|
6778
6644
|
N[m - 1] = arguments[m];
|
|
6779
|
-
e.emit(
|
|
6780
|
-
}), this.modules.external.forEach((
|
|
6781
|
-
|
|
6645
|
+
e.emit(f, ...N);
|
|
6646
|
+
}), this.modules.external.forEach((f) => {
|
|
6647
|
+
f.init && f.init(this);
|
|
6782
6648
|
});
|
|
6783
6649
|
}
|
|
6784
6650
|
if (this.format = this.options.interpolation.format, s || (s = g1), this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
|
|
@@ -6795,8 +6661,8 @@ class l1 extends L1 {
|
|
|
6795
6661
|
};
|
|
6796
6662
|
});
|
|
6797
6663
|
const C = n1(), d = () => {
|
|
6798
|
-
const l = (
|
|
6799
|
-
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(
|
|
6664
|
+
const l = (c, g) => {
|
|
6665
|
+
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(c, g);
|
|
6800
6666
|
};
|
|
6801
6667
|
if (this.languages && this.options.compatibilityAPI !== "v1" && !this.isInitialized) return l(null, this.t.bind(this));
|
|
6802
6668
|
this.changeLanguage(this.options.lng, l);
|
|
@@ -6808,13 +6674,13 @@ class l1 extends L1 {
|
|
|
6808
6674
|
const n = v(e) ? e : this.language;
|
|
6809
6675
|
if (typeof e == "function" && (s = e), !this.options.resources || this.options.partialBundledLanguages) {
|
|
6810
6676
|
if (n && n.toLowerCase() === "cimode" && (!this.options.preload || this.options.preload.length === 0)) return s();
|
|
6811
|
-
const o = [],
|
|
6677
|
+
const o = [], h = (a) => {
|
|
6812
6678
|
if (!a || a === "cimode") return;
|
|
6813
6679
|
this.services.languageUtils.toResolveHierarchy(a).forEach((d) => {
|
|
6814
6680
|
d !== "cimode" && o.indexOf(d) < 0 && o.push(d);
|
|
6815
6681
|
});
|
|
6816
6682
|
};
|
|
6817
|
-
n ?
|
|
6683
|
+
n ? h(n) : this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((C) => h(C)), this.options.preload && this.options.preload.forEach((a) => h(a)), this.services.backendConnector.load(o, this.options.ns, (a) => {
|
|
6818
6684
|
!a && !this.resolvedLanguage && this.language && this.setResolvedLanguage(this.language), s(a);
|
|
6819
6685
|
});
|
|
6820
6686
|
} else
|
|
@@ -6848,7 +6714,7 @@ class l1 extends L1 {
|
|
|
6848
6714
|
this.emit("languageChanging", e);
|
|
6849
6715
|
const o = (C) => {
|
|
6850
6716
|
this.language = C, this.languages = this.services.languageUtils.toResolveHierarchy(C), this.resolvedLanguage = void 0, this.setResolvedLanguage(C);
|
|
6851
|
-
},
|
|
6717
|
+
}, h = (C, d) => {
|
|
6852
6718
|
d ? (o(d), this.translator.changeLanguage(d), this.isLanguageChangingTo = void 0, this.emit("languageChanged", d), this.logger.log("languageChanged", d)) : this.isLanguageChangingTo = void 0, n.resolve(function() {
|
|
6853
6719
|
return s.t(...arguments);
|
|
6854
6720
|
}), t && t(C, function() {
|
|
@@ -6858,27 +6724,27 @@ class l1 extends L1 {
|
|
|
6858
6724
|
!e && !C && this.services.languageDetector && (C = []);
|
|
6859
6725
|
const d = v(C) ? C : this.services.languageUtils.getBestMatchFromCodes(C);
|
|
6860
6726
|
d && (this.language || o(d), this.translator.language || this.translator.changeLanguage(d), this.services.languageDetector && this.services.languageDetector.cacheUserLanguage && this.services.languageDetector.cacheUserLanguage(d)), this.loadResources(d, (l) => {
|
|
6861
|
-
|
|
6727
|
+
h(l, d);
|
|
6862
6728
|
});
|
|
6863
6729
|
};
|
|
6864
6730
|
return !e && this.services.languageDetector && !this.services.languageDetector.async ? a(this.services.languageDetector.detect()) : !e && this.services.languageDetector && this.services.languageDetector.async ? this.services.languageDetector.detect.length === 0 ? this.services.languageDetector.detect().then(a) : this.services.languageDetector.detect(a) : a(e), n;
|
|
6865
6731
|
}
|
|
6866
6732
|
getFixedT(e, t, s) {
|
|
6867
6733
|
var n = this;
|
|
6868
|
-
const o = function(
|
|
6734
|
+
const o = function(h, a) {
|
|
6869
6735
|
let C;
|
|
6870
6736
|
if (typeof a != "object") {
|
|
6871
|
-
for (var d = arguments.length, l = new Array(d > 2 ? d - 2 : 0),
|
|
6872
|
-
l[
|
|
6873
|
-
C = n.options.overloadTranslationOptionHandler([
|
|
6737
|
+
for (var d = arguments.length, l = new Array(d > 2 ? d - 2 : 0), c = 2; c < d; c++)
|
|
6738
|
+
l[c - 2] = arguments[c];
|
|
6739
|
+
C = n.options.overloadTranslationOptionHandler([h, a].concat(l));
|
|
6874
6740
|
} else
|
|
6875
6741
|
C = {
|
|
6876
6742
|
...a
|
|
6877
6743
|
};
|
|
6878
6744
|
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);
|
|
6879
6745
|
const g = n.options.keySeparator || ".";
|
|
6880
|
-
let
|
|
6881
|
-
return C.keyPrefix && Array.isArray(
|
|
6746
|
+
let f;
|
|
6747
|
+
return C.keyPrefix && Array.isArray(h) ? f = h.map((k) => `${C.keyPrefix}${g}${k}`) : f = C.keyPrefix ? `${C.keyPrefix}${g}${h}` : h, n.t(f, C);
|
|
6882
6748
|
};
|
|
6883
6749
|
return v(e) ? o.lng = e : o.lngs = e, o.ns = t, o.keyPrefix = s, o;
|
|
6884
6750
|
}
|
|
@@ -6899,15 +6765,15 @@ class l1 extends L1 {
|
|
|
6899
6765
|
return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty", this.languages), !1;
|
|
6900
6766
|
const s = t.lng || this.resolvedLanguage || this.languages[0], n = this.options ? this.options.fallbackLng : !1, o = this.languages[this.languages.length - 1];
|
|
6901
6767
|
if (s.toLowerCase() === "cimode") return !0;
|
|
6902
|
-
const
|
|
6768
|
+
const h = (a, C) => {
|
|
6903
6769
|
const d = this.services.backendConnector.state[`${a}|${C}`];
|
|
6904
6770
|
return d === -1 || d === 0 || d === 2;
|
|
6905
6771
|
};
|
|
6906
6772
|
if (t.precheck) {
|
|
6907
|
-
const a = t.precheck(this,
|
|
6773
|
+
const a = t.precheck(this, h);
|
|
6908
6774
|
if (a !== void 0) return a;
|
|
6909
6775
|
}
|
|
6910
|
-
return !!(this.hasResourceBundle(s, e) || !this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages ||
|
|
6776
|
+
return !!(this.hasResourceBundle(s, e) || !this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages || h(s, e) && (!n || h(o, e)));
|
|
6911
6777
|
}
|
|
6912
6778
|
loadNamespaces(e, t) {
|
|
6913
6779
|
const s = n1();
|
|
@@ -6920,9 +6786,9 @@ class l1 extends L1 {
|
|
|
6920
6786
|
loadLanguages(e, t) {
|
|
6921
6787
|
const s = n1();
|
|
6922
6788
|
v(e) && (e = [e]);
|
|
6923
|
-
const n = this.options.preload || [], o = e.filter((
|
|
6924
|
-
return o.length ? (this.options.preload = n.concat(o), this.loadResources((
|
|
6925
|
-
s.resolve(), t && t(
|
|
6789
|
+
const n = this.options.preload || [], o = e.filter((h) => n.indexOf(h) < 0 && this.services.languageUtils.isSupportedCode(h));
|
|
6790
|
+
return o.length ? (this.options.preload = n.concat(o), this.loadResources((h) => {
|
|
6791
|
+
s.resolve(), t && t(h);
|
|
6926
6792
|
}), s) : (t && t(), Promise.resolve());
|
|
6927
6793
|
}
|
|
6928
6794
|
dir(e) {
|
|
@@ -6967,23 +6833,23 @@ class l1 extends L1 {
|
|
|
6967
6833
|
};
|
|
6968
6834
|
}
|
|
6969
6835
|
}
|
|
6970
|
-
const
|
|
6971
|
-
|
|
6972
|
-
|
|
6973
|
-
|
|
6974
|
-
|
|
6975
|
-
|
|
6976
|
-
|
|
6977
|
-
|
|
6978
|
-
|
|
6979
|
-
|
|
6980
|
-
|
|
6981
|
-
|
|
6982
|
-
|
|
6983
|
-
|
|
6984
|
-
|
|
6985
|
-
|
|
6986
|
-
function
|
|
6836
|
+
const Z = l1.createInstance();
|
|
6837
|
+
Z.createInstance = l1.createInstance;
|
|
6838
|
+
Z.createInstance;
|
|
6839
|
+
Z.dir;
|
|
6840
|
+
Z.init;
|
|
6841
|
+
Z.loadResources;
|
|
6842
|
+
Z.reloadResources;
|
|
6843
|
+
Z.use;
|
|
6844
|
+
Z.changeLanguage;
|
|
6845
|
+
Z.getFixedT;
|
|
6846
|
+
Z.t;
|
|
6847
|
+
Z.exists;
|
|
6848
|
+
Z.setDefaultNamespace;
|
|
6849
|
+
Z.hasLoadedNamespace;
|
|
6850
|
+
Z.loadNamespaces;
|
|
6851
|
+
Z.loadLanguages;
|
|
6852
|
+
function K7() {
|
|
6987
6853
|
if (console && console.warn) {
|
|
6988
6854
|
for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
|
|
6989
6855
|
e[t] = arguments[t];
|
|
@@ -6994,7 +6860,7 @@ const W1 = {};
|
|
|
6994
6860
|
function _1() {
|
|
6995
6861
|
for (var i = arguments.length, e = new Array(i), t = 0; t < i; t++)
|
|
6996
6862
|
e[t] = arguments[t];
|
|
6997
|
-
z(e[0]) && W1[e[0]] || (z(e[0]) && (W1[e[0]] = /* @__PURE__ */ new Date()),
|
|
6863
|
+
z(e[0]) && W1[e[0]] || (z(e[0]) && (W1[e[0]] = /* @__PURE__ */ new Date()), K7(...e));
|
|
6998
6864
|
}
|
|
6999
6865
|
const r2 = (i, e) => () => {
|
|
7000
6866
|
if (i.isInitialized)
|
|
@@ -7013,24 +6879,24 @@ const r2 = (i, e) => () => {
|
|
|
7013
6879
|
z(t) && (t = [t]), t.forEach((n) => {
|
|
7014
6880
|
i.options.ns.indexOf(n) < 0 && i.options.ns.push(n);
|
|
7015
6881
|
}), i.loadLanguages(e, r2(i, s));
|
|
7016
|
-
},
|
|
6882
|
+
}, B7 = function(i, e) {
|
|
7017
6883
|
let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
7018
6884
|
const s = e.languages[0], n = e.options ? e.options.fallbackLng : !1, o = e.languages[e.languages.length - 1];
|
|
7019
6885
|
if (s.toLowerCase() === "cimode") return !0;
|
|
7020
|
-
const
|
|
6886
|
+
const h = (a, C) => {
|
|
7021
6887
|
const d = e.services.backendConnector.state[`${a}|${C}`];
|
|
7022
6888
|
return d === -1 || d === 2;
|
|
7023
6889
|
};
|
|
7024
|
-
return t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && e.services.backendConnector.backend && e.isLanguageChangingTo && !
|
|
7025
|
-
},
|
|
6890
|
+
return t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && e.services.backendConnector.backend && e.isLanguageChangingTo && !h(e.isLanguageChangingTo, i) ? !1 : !!(e.hasResourceBundle(s, i) || !e.services.backendConnector.backend || e.options.resources && !e.options.partialBundledLanguages || h(s, i) && (!n || h(o, i)));
|
|
6891
|
+
}, P7 = function(i, e) {
|
|
7026
6892
|
let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
7027
6893
|
return !e.languages || !e.languages.length ? (_1("i18n.languages were undefined or empty", e.languages), !0) : e.options.ignoreJSONStructure !== void 0 ? e.hasLoadedNamespace(i, {
|
|
7028
6894
|
lng: t.lng,
|
|
7029
6895
|
precheck: (n, o) => {
|
|
7030
6896
|
if (t.bindI18n && t.bindI18n.indexOf("languageChanging") > -1 && n.services.backendConnector.backend && n.isLanguageChangingTo && !o(n.isLanguageChangingTo, i)) return !1;
|
|
7031
6897
|
}
|
|
7032
|
-
}) :
|
|
7033
|
-
}, z = (i) => typeof i == "string",
|
|
6898
|
+
}) : B7(i, e, t);
|
|
6899
|
+
}, z = (i) => typeof i == "string", Y7 = (i) => typeof i == "object" && i !== null, j7 = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, $7 = {
|
|
7034
6900
|
"&": "&",
|
|
7035
6901
|
"&": "&",
|
|
7036
6902
|
"<": "<",
|
|
@@ -7051,7 +6917,7 @@ const r2 = (i, e) => () => {
|
|
|
7051
6917
|
"…": "…",
|
|
7052
6918
|
"/": "/",
|
|
7053
6919
|
"/": "/"
|
|
7054
|
-
},
|
|
6920
|
+
}, F7 = (i) => $7[i], W7 = (i) => i.replace(j7, F7);
|
|
7055
6921
|
let b1 = {
|
|
7056
6922
|
bindI18n: "languageChanged",
|
|
7057
6923
|
bindI18nStore: "",
|
|
@@ -7060,25 +6926,25 @@ let b1 = {
|
|
|
7060
6926
|
transWrapTextNodes: "",
|
|
7061
6927
|
transKeepBasicHtmlNodesFor: ["br", "strong", "i", "p"],
|
|
7062
6928
|
useSuspense: !0,
|
|
7063
|
-
unescape:
|
|
6929
|
+
unescape: W7
|
|
7064
6930
|
};
|
|
7065
|
-
const
|
|
6931
|
+
const U7 = function() {
|
|
7066
6932
|
let i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
7067
6933
|
b1 = {
|
|
7068
6934
|
...b1,
|
|
7069
6935
|
...i
|
|
7070
6936
|
};
|
|
7071
|
-
},
|
|
6937
|
+
}, z7 = () => b1;
|
|
7072
6938
|
let o2;
|
|
7073
|
-
const
|
|
6939
|
+
const J7 = (i) => {
|
|
7074
6940
|
o2 = i;
|
|
7075
|
-
},
|
|
6941
|
+
}, Q7 = () => o2, q7 = {
|
|
7076
6942
|
type: "3rdParty",
|
|
7077
6943
|
init(i) {
|
|
7078
|
-
|
|
6944
|
+
U7(i.options.react), J7(i);
|
|
7079
6945
|
}
|
|
7080
|
-
},
|
|
7081
|
-
class
|
|
6946
|
+
}, X7 = t1();
|
|
6947
|
+
class et {
|
|
7082
6948
|
constructor() {
|
|
7083
6949
|
V1(this, "getUsedNamespaces", () => Object.keys(this.usedNamespaces));
|
|
7084
6950
|
this.usedNamespaces = {};
|
|
@@ -7089,81 +6955,81 @@ class i0 {
|
|
|
7089
6955
|
});
|
|
7090
6956
|
}
|
|
7091
6957
|
}
|
|
7092
|
-
const
|
|
6958
|
+
const tt = (i, e) => {
|
|
7093
6959
|
const t = J();
|
|
7094
6960
|
return A(() => {
|
|
7095
6961
|
t.current = i;
|
|
7096
6962
|
}, [i, e]), t.current;
|
|
7097
|
-
}, a2 = (i, e, t, s) => i.getFixedT(e, t, s),
|
|
6963
|
+
}, a2 = (i, e, t, s) => i.getFixedT(e, t, s), it = (i, e, t, s) => K(a2(i, e, t, s), [i, e, t, s]), st = function(i) {
|
|
7098
6964
|
let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
7099
6965
|
const {
|
|
7100
6966
|
i18n: t
|
|
7101
6967
|
} = e, {
|
|
7102
6968
|
i18n: s,
|
|
7103
6969
|
defaultNS: n
|
|
7104
|
-
} = Q(
|
|
7105
|
-
if (o && !o.reportNamespaces && (o.reportNamespaces = new
|
|
6970
|
+
} = Q(X7) || {}, o = t || s || Q7();
|
|
6971
|
+
if (o && !o.reportNamespaces && (o.reportNamespaces = new et()), !o) {
|
|
7106
6972
|
_1("You will need to pass in an i18next instance by using initReactI18next");
|
|
7107
|
-
const
|
|
7108
|
-
return _.t =
|
|
6973
|
+
const p = (R, x) => z(x) ? x : Y7(x) && z(x.defaultValue) ? x.defaultValue : Array.isArray(R) ? R[R.length - 1] : R, _ = [p, {}, !1];
|
|
6974
|
+
return _.t = p, _.i18n = {}, _.ready = !1, _;
|
|
7109
6975
|
}
|
|
7110
6976
|
o.options.react && o.options.react.wait !== void 0 && _1("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
|
|
7111
|
-
const
|
|
7112
|
-
...
|
|
6977
|
+
const h = {
|
|
6978
|
+
...z7(),
|
|
7113
6979
|
...o.options.react,
|
|
7114
6980
|
...e
|
|
7115
6981
|
}, {
|
|
7116
6982
|
useSuspense: a,
|
|
7117
6983
|
keyPrefix: C
|
|
7118
|
-
} =
|
|
6984
|
+
} = h;
|
|
7119
6985
|
let d = i;
|
|
7120
6986
|
d = z(d) ? [d] : d || ["translation"], o.reportNamespaces.addUsedNamespaces && o.reportNamespaces.addUsedNamespaces(d);
|
|
7121
|
-
const l = (o.isInitialized || o.initializedStoreOnce) && d.every((
|
|
6987
|
+
const l = (o.isInitialized || o.initializedStoreOnce) && d.every((p) => P7(p, o, h)), c = it(o, e.lng || null, h.nsMode === "fallback" ? d : d[0], C), g = () => c, f = () => a2(o, e.lng || null, h.nsMode === "fallback" ? d : d[0], C), [k, N] = I(g);
|
|
7122
6988
|
let m = d.join();
|
|
7123
6989
|
e.lng && (m = `${e.lng}${m}`);
|
|
7124
|
-
const y =
|
|
6990
|
+
const y = tt(m), b = J(!0);
|
|
7125
6991
|
A(() => {
|
|
7126
6992
|
const {
|
|
7127
|
-
bindI18n:
|
|
6993
|
+
bindI18n: p,
|
|
7128
6994
|
bindI18nStore: _
|
|
7129
|
-
} =
|
|
6995
|
+
} = h;
|
|
7130
6996
|
b.current = !0, !l && !a && (e.lng ? z1(o, e.lng, d, () => {
|
|
7131
|
-
b.current && N(
|
|
6997
|
+
b.current && N(f);
|
|
7132
6998
|
}) : U1(o, d, () => {
|
|
7133
|
-
b.current && N(
|
|
7134
|
-
})), l && y && y !== m && b.current && N(
|
|
6999
|
+
b.current && N(f);
|
|
7000
|
+
})), l && y && y !== m && b.current && N(f);
|
|
7135
7001
|
const R = () => {
|
|
7136
|
-
b.current && N(
|
|
7002
|
+
b.current && N(f);
|
|
7137
7003
|
};
|
|
7138
|
-
return
|
|
7139
|
-
b.current = !1,
|
|
7004
|
+
return p && o && o.on(p, R), _ && o && o.store.on(_, R), () => {
|
|
7005
|
+
b.current = !1, p && o && p.split(" ").forEach((x) => o.off(x, R)), _ && o && _.split(" ").forEach((x) => o.store.off(x, R));
|
|
7140
7006
|
};
|
|
7141
7007
|
}, [o, m]), A(() => {
|
|
7142
7008
|
b.current && l && N(g);
|
|
7143
7009
|
}, [o, C, l]);
|
|
7144
|
-
const E = [
|
|
7145
|
-
if (E.t =
|
|
7146
|
-
throw new Promise((
|
|
7147
|
-
e.lng ? z1(o, e.lng, d, () =>
|
|
7010
|
+
const E = [k, o, l];
|
|
7011
|
+
if (E.t = k, E.i18n = o, E.ready = l, l || !l && !a) return E;
|
|
7012
|
+
throw new Promise((p) => {
|
|
7013
|
+
e.lng ? z1(o, e.lng, d, () => p()) : U1(o, d, () => p());
|
|
7148
7014
|
});
|
|
7149
|
-
},
|
|
7150
|
-
placeholder:
|
|
7151
|
-
},
|
|
7152
|
-
placeholder:
|
|
7015
|
+
}, nt = "Country", rt = {
|
|
7016
|
+
placeholder: nt
|
|
7017
|
+
}, ot = "Страна", at = {
|
|
7018
|
+
placeholder: ot
|
|
7153
7019
|
};
|
|
7154
|
-
|
|
7020
|
+
Z.use(q7).init({
|
|
7155
7021
|
defaultNS: "common",
|
|
7156
7022
|
lng: "en",
|
|
7157
7023
|
resources: {
|
|
7158
7024
|
en: {
|
|
7159
|
-
common:
|
|
7025
|
+
common: rt
|
|
7160
7026
|
},
|
|
7161
7027
|
ru: {
|
|
7162
|
-
common:
|
|
7028
|
+
common: at
|
|
7163
7029
|
}
|
|
7164
7030
|
}
|
|
7165
7031
|
});
|
|
7166
|
-
const
|
|
7032
|
+
const ft = w1(
|
|
7167
7033
|
({
|
|
7168
7034
|
width: i,
|
|
7169
7035
|
selectedCity: e,
|
|
@@ -7171,22 +7037,22 @@ const m0 = w1(
|
|
|
7171
7037
|
onChange: s,
|
|
7172
7038
|
value: n,
|
|
7173
7039
|
id: o,
|
|
7174
|
-
disabled:
|
|
7040
|
+
disabled: h,
|
|
7175
7041
|
required: a,
|
|
7176
7042
|
clearable: C,
|
|
7177
7043
|
error: d
|
|
7178
7044
|
}, l) => {
|
|
7179
|
-
const [
|
|
7045
|
+
const [c, g] = I([]), [f, k] = I([]), [N, m] = I(!1), { locale: y, axiosPeople: b } = Q(u2);
|
|
7180
7046
|
if (!b)
|
|
7181
7047
|
throw new Error(
|
|
7182
7048
|
`CountrySelect requires "axiosPeople" to fetch counties.
|
|
7183
7049
|
Please provide it via SNMTUiContext.`
|
|
7184
7050
|
);
|
|
7185
|
-
const { t: E } =
|
|
7051
|
+
const { t: E } = st("common", { lng: y }), p = K(async () => {
|
|
7186
7052
|
m(!0);
|
|
7187
7053
|
try {
|
|
7188
7054
|
const R = await b.post("v1/countries/search");
|
|
7189
|
-
|
|
7055
|
+
k(R == null ? void 0 : R.data.data);
|
|
7190
7056
|
} catch {
|
|
7191
7057
|
g([]);
|
|
7192
7058
|
} finally {
|
|
@@ -7194,10 +7060,10 @@ const m0 = w1(
|
|
|
7194
7060
|
}
|
|
7195
7061
|
}, [b]);
|
|
7196
7062
|
A(() => {
|
|
7197
|
-
|
|
7063
|
+
p();
|
|
7198
7064
|
}, []), A(() => {
|
|
7199
7065
|
if (e) {
|
|
7200
|
-
const R = e.split("-")[1], x =
|
|
7066
|
+
const R = e.split("-")[1], x = f.filter(
|
|
7201
7067
|
(D) => D.name.includes(R)
|
|
7202
7068
|
);
|
|
7203
7069
|
if (x.length) {
|
|
@@ -7208,18 +7074,18 @@ const m0 = w1(
|
|
|
7208
7074
|
s(D[0].value);
|
|
7209
7075
|
}
|
|
7210
7076
|
}
|
|
7211
|
-
}, [e,
|
|
7212
|
-
const R =
|
|
7077
|
+
}, [e, f, s]), A(() => {
|
|
7078
|
+
const R = f.map((x) => ({
|
|
7213
7079
|
label: x.name,
|
|
7214
7080
|
value: x.name
|
|
7215
7081
|
}));
|
|
7216
7082
|
g(R);
|
|
7217
|
-
}, [
|
|
7083
|
+
}, [f]);
|
|
7218
7084
|
const _ = (R) => {
|
|
7219
7085
|
R === null ? (s(""), t && t("")) : (s(R), t && t(""));
|
|
7220
7086
|
};
|
|
7221
7087
|
return /* @__PURE__ */ r("div", { className: "snmt-country-select", children: /* @__PURE__ */ r(
|
|
7222
|
-
|
|
7088
|
+
p7,
|
|
7223
7089
|
{
|
|
7224
7090
|
id: o,
|
|
7225
7091
|
width: i,
|
|
@@ -7227,8 +7093,8 @@ const m0 = w1(
|
|
|
7227
7093
|
value: n,
|
|
7228
7094
|
ref: l,
|
|
7229
7095
|
onChange: _,
|
|
7230
|
-
options:
|
|
7231
|
-
disabled:
|
|
7096
|
+
options: c,
|
|
7097
|
+
disabled: h,
|
|
7232
7098
|
isLoading: N,
|
|
7233
7099
|
required: a,
|
|
7234
7100
|
clearable: C,
|
|
@@ -7238,5 +7104,5 @@ const m0 = w1(
|
|
|
7238
7104
|
}
|
|
7239
7105
|
);
|
|
7240
7106
|
export {
|
|
7241
|
-
|
|
7107
|
+
ft as CountrySelect
|
|
7242
7108
|
};
|