@spscommerce/i18n 8.34.9 → 8.34.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.js +210 -227
- package/lib/index.umd.cjs +2 -2
- package/locales/de-DE/woodland.json +6 -3
- package/locales/en-US/woodland.json +15 -20
- package/locales/es-ES/woodland.json +9 -3
- package/locales/fr-CA/woodland.json +9 -3
- package/locales/fr-FR/woodland.json +9 -3
- package/locales/it-IT/woodland.json +9 -3
- package/locales/nl-NL/woodland.json +6 -3
- package/locales/zh-CN/woodland.json +6 -3
- package/locales/zh-TW/woodland.json +6 -3
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createContext as Et, useContext as ut, createElement as le, isValidElement as ce, cloneElement as ie, useState as Rt, useRef as Oe, useEffect as Ee } from "react";
|
|
2
|
-
function
|
|
2
|
+
function Dt(n, t) {
|
|
3
3
|
for (var a = 0; a < t.length; a++) {
|
|
4
4
|
const e = t[a];
|
|
5
5
|
if (typeof e != "string" && !Array.isArray(e)) {
|
|
@@ -15,27 +15,27 @@ function At(n, t) {
|
|
|
15
15
|
}
|
|
16
16
|
return Object.freeze(Object.defineProperty(n, Symbol.toStringTag, { value: "Module" }));
|
|
17
17
|
}
|
|
18
|
-
function
|
|
18
|
+
function F(n) {
|
|
19
19
|
"@babel/helpers - typeof";
|
|
20
|
-
return
|
|
20
|
+
return F = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
21
21
|
return typeof t;
|
|
22
22
|
} : function(t) {
|
|
23
23
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
24
|
-
},
|
|
24
|
+
}, F(n);
|
|
25
25
|
}
|
|
26
|
-
function
|
|
27
|
-
if (
|
|
26
|
+
function At(n, t) {
|
|
27
|
+
if (F(n) != "object" || !n) return n;
|
|
28
28
|
var a = n[Symbol.toPrimitive];
|
|
29
29
|
if (a !== void 0) {
|
|
30
30
|
var e = a.call(n, t);
|
|
31
|
-
if (
|
|
31
|
+
if (F(e) != "object") return e;
|
|
32
32
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
33
33
|
}
|
|
34
34
|
return String(n);
|
|
35
35
|
}
|
|
36
36
|
function ct(n) {
|
|
37
|
-
var t =
|
|
38
|
-
return
|
|
37
|
+
var t = At(n, "string");
|
|
38
|
+
return F(t) == "symbol" ? t : t + "";
|
|
39
39
|
}
|
|
40
40
|
function ve(n, t, a) {
|
|
41
41
|
return (t = ct(t)) in n ? Object.defineProperty(n, t, {
|
|
@@ -56,17 +56,17 @@ function N(n) {
|
|
|
56
56
|
}
|
|
57
57
|
return n;
|
|
58
58
|
}
|
|
59
|
-
function
|
|
59
|
+
function M(n, t) {
|
|
60
60
|
if (!(n instanceof t)) throw new TypeError("Cannot call a class as a function");
|
|
61
61
|
}
|
|
62
|
-
function
|
|
62
|
+
function ze(n, t) {
|
|
63
63
|
for (var a = 0; a < t.length; a++) {
|
|
64
64
|
var e = t[a];
|
|
65
65
|
e.enumerable = e.enumerable || !1, e.configurable = !0, "value" in e && (e.writable = !0), Object.defineProperty(n, ct(e.key), e);
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
function _(n, t, a) {
|
|
69
|
-
return t &&
|
|
69
|
+
return t && ze(n.prototype, t), a && ze(n, a), Object.defineProperty(n, "prototype", {
|
|
70
70
|
writable: !1
|
|
71
71
|
}), n;
|
|
72
72
|
}
|
|
@@ -75,7 +75,7 @@ function K(n) {
|
|
|
75
75
|
return n;
|
|
76
76
|
}
|
|
77
77
|
function re(n, t) {
|
|
78
|
-
if (t && (
|
|
78
|
+
if (t && (F(t) == "object" || typeof t == "function")) return t;
|
|
79
79
|
if (t !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
80
80
|
return K(n);
|
|
81
81
|
}
|
|
@@ -118,7 +118,7 @@ var Bt = {
|
|
|
118
118
|
}, Ut = function() {
|
|
119
119
|
function n(t) {
|
|
120
120
|
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
121
|
-
|
|
121
|
+
M(this, n), this.init(t, a);
|
|
122
122
|
}
|
|
123
123
|
return _(n, [{
|
|
124
124
|
key: "init",
|
|
@@ -174,7 +174,7 @@ var Bt = {
|
|
|
174
174
|
}]), n;
|
|
175
175
|
}(), q = new Ut(), Q = function() {
|
|
176
176
|
function n() {
|
|
177
|
-
|
|
177
|
+
M(this, n), this.observers = {};
|
|
178
178
|
}
|
|
179
179
|
return _(n, [{
|
|
180
180
|
key: "on",
|
|
@@ -223,7 +223,7 @@ function J() {
|
|
|
223
223
|
});
|
|
224
224
|
return a.resolve = n, a.reject = t, a;
|
|
225
225
|
}
|
|
226
|
-
function
|
|
226
|
+
function Ie(n) {
|
|
227
227
|
return n == null ? "" : "" + n;
|
|
228
228
|
}
|
|
229
229
|
function Nt(n, t, a) {
|
|
@@ -248,11 +248,11 @@ function Ne(n, t, a) {
|
|
|
248
248
|
k: e(i.shift())
|
|
249
249
|
};
|
|
250
250
|
}
|
|
251
|
-
function
|
|
251
|
+
function Me(n, t, a) {
|
|
252
252
|
var e = Ne(n, t, Object), r = e.obj, i = e.k;
|
|
253
253
|
r[i] = a;
|
|
254
254
|
}
|
|
255
|
-
function
|
|
255
|
+
function Ft(n, t, a, e) {
|
|
256
256
|
var r = Ne(n, t, Object), i = r.obj, o = r.k;
|
|
257
257
|
i[o] = i[o] || [], i[o].push(a);
|
|
258
258
|
}
|
|
@@ -273,7 +273,7 @@ function dt(n, t, a) {
|
|
|
273
273
|
function G(n) {
|
|
274
274
|
return n.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
|
|
275
275
|
}
|
|
276
|
-
var
|
|
276
|
+
var jt = {
|
|
277
277
|
"&": "&",
|
|
278
278
|
"<": "<",
|
|
279
279
|
">": ">",
|
|
@@ -281,19 +281,19 @@ var Ft = {
|
|
|
281
281
|
"'": "'",
|
|
282
282
|
"/": "/"
|
|
283
283
|
};
|
|
284
|
-
function
|
|
284
|
+
function zt(n) {
|
|
285
285
|
return typeof n == "string" ? n.replace(/[&<>"'\/]/g, function(t) {
|
|
286
|
-
return
|
|
286
|
+
return jt[t];
|
|
287
287
|
}) : n;
|
|
288
288
|
}
|
|
289
|
-
var be = typeof window < "u" && window.navigator && window.navigator.userAgent && window.navigator.userAgent.indexOf("MSIE") > -1,
|
|
289
|
+
var be = typeof window < "u" && window.navigator && window.navigator.userAgent && window.navigator.userAgent.indexOf("MSIE") > -1, It = function(n) {
|
|
290
290
|
ye(t, n);
|
|
291
291
|
function t(a) {
|
|
292
292
|
var e, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
|
|
293
293
|
ns: ["translation"],
|
|
294
294
|
defaultNS: "translation"
|
|
295
295
|
};
|
|
296
|
-
return
|
|
296
|
+
return M(this, t), e = re(this, Y(t).call(this)), be && Q.call(K(e)), e.data = a || {}, e.options = r, e.options.keySeparator === void 0 && (e.options.keySeparator = "."), e;
|
|
297
297
|
}
|
|
298
298
|
return _(t, [{
|
|
299
299
|
key: "addNamespaces",
|
|
@@ -320,7 +320,7 @@ var be = typeof window < "u" && window.navigator && window.navigator.userAgent &
|
|
|
320
320
|
}, l = this.options.keySeparator;
|
|
321
321
|
l === void 0 && (l = ".");
|
|
322
322
|
var u = [e, r];
|
|
323
|
-
i && (u = u.concat(l ? i.split(l) : i)), e.indexOf(".") > -1 && (u = e.split("."), o = r, r = u[1]), this.addNamespaces(r),
|
|
323
|
+
i && (u = u.concat(l ? i.split(l) : i)), e.indexOf(".") > -1 && (u = e.split("."), o = r, r = u[1]), this.addNamespaces(r), Me(this.data, u, o), s.silent || this.emit("added", e, r, i, o);
|
|
324
324
|
}
|
|
325
325
|
}, {
|
|
326
326
|
key: "addResources",
|
|
@@ -342,7 +342,7 @@ var be = typeof window < "u" && window.navigator && window.navigator.userAgent &
|
|
|
342
342
|
}, u = [e, r];
|
|
343
343
|
e.indexOf(".") > -1 && (u = e.split("."), o = i, i = r, r = u[1]), this.addNamespaces(r);
|
|
344
344
|
var d = de(this.data, u) || {};
|
|
345
|
-
o ? dt(d, i, s) : d = N({}, d, i),
|
|
345
|
+
o ? dt(d, i, s) : d = N({}, d, i), Me(this.data, u, d), l.silent || this.emit("added", e, r, i);
|
|
346
346
|
}
|
|
347
347
|
}, {
|
|
348
348
|
key: "removeResourceBundle",
|
|
@@ -385,7 +385,7 @@ var be = typeof window < "u" && window.navigator && window.navigator.userAgent &
|
|
|
385
385
|
ye(t, n);
|
|
386
386
|
function t(a) {
|
|
387
387
|
var e, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
388
|
-
return
|
|
388
|
+
return M(this, t), e = re(this, Y(t).call(this)), be && Q.call(K(e)), Nt(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], a, K(e)), e.options = r, e.options.keySeparator === void 0 && (e.options.keySeparator = "."), e.logger = q.create("translator"), e;
|
|
389
389
|
}
|
|
390
390
|
return _(t, [{
|
|
391
391
|
key: "changeLanguage",
|
|
@@ -425,7 +425,7 @@ var be = typeof window < "u" && window.navigator && window.navigator.userAgent &
|
|
|
425
425
|
key: "translate",
|
|
426
426
|
value: function(e, r, i) {
|
|
427
427
|
var o = this;
|
|
428
|
-
if (
|
|
428
|
+
if (F(r) !== "object" && this.options.overloadTranslationOptionHandler && (r = this.options.overloadTranslationOptionHandler(arguments)), r || (r = {}), e == null) return "";
|
|
429
429
|
Array.isArray(e) || (e = [String(e)]);
|
|
430
430
|
var s = r.keySeparator !== void 0 ? r.keySeparator : this.options.keySeparator, l = this.extractFromKey(e[e.length - 1], r), u = l.key, d = l.namespaces, f = d[d.length - 1], v = r.lng || this.language, m = r.appendNamespaceToCIMode || this.options.appendNamespaceToCIMode;
|
|
431
431
|
if (v && v.toLowerCase() === "cimode") {
|
|
@@ -435,12 +435,12 @@ var be = typeof window < "u" && window.navigator && window.navigator.userAgent &
|
|
|
435
435
|
}
|
|
436
436
|
return u;
|
|
437
437
|
}
|
|
438
|
-
var y = this.resolve(e, r), g = y && y.res, b = y && y.usedKey || u, w = y && y.exactUsedKey || u,
|
|
439
|
-
if (
|
|
438
|
+
var y = this.resolve(e, r), g = y && y.res, b = y && y.usedKey || u, w = y && y.exactUsedKey || u, x = Object.prototype.toString.apply(g), A = ["[object Number]", "[object Function]", "[object RegExp]"], k = r.joinArrays !== void 0 ? r.joinArrays : this.options.joinArrays, S = !this.i18nFormat || this.i18nFormat.handleAsObject, O = typeof g != "string" && typeof g != "boolean" && typeof g != "number";
|
|
439
|
+
if (S && g && O && A.indexOf(x) < 0 && !(typeof k == "string" && x === "[object Array]")) {
|
|
440
440
|
if (!r.returnObjects && !this.options.returnObjects)
|
|
441
441
|
return this.logger.warn("accessing an object - but returnObjects options is not enabled!"), this.options.returnedObjectHandler ? this.options.returnedObjectHandler(b, g, r) : "key '".concat(u, " (").concat(this.language, ")' returned an object instead of string.");
|
|
442
442
|
if (s) {
|
|
443
|
-
var E =
|
|
443
|
+
var E = x === "[object Array]", R = E ? [] : {}, L = E ? w : b;
|
|
444
444
|
for (var P in g)
|
|
445
445
|
if (Object.prototype.hasOwnProperty.call(g, P)) {
|
|
446
446
|
var W = "".concat(L).concat(s).concat(P);
|
|
@@ -451,32 +451,32 @@ var be = typeof window < "u" && window.navigator && window.navigator.userAgent &
|
|
|
451
451
|
}
|
|
452
452
|
g = R;
|
|
453
453
|
}
|
|
454
|
-
} else if (
|
|
454
|
+
} else if (S && typeof k == "string" && x === "[object Array]")
|
|
455
455
|
g = g.join(k), g && (g = this.extendTranslation(g, e, r, i));
|
|
456
456
|
else {
|
|
457
|
-
var
|
|
458
|
-
!this.isValidLookup(g) && T && (
|
|
459
|
-
var C = T &&
|
|
460
|
-
if (c ||
|
|
461
|
-
if (this.logger.log(C ? "updateKey" : "missingKey", v, f, u, C ?
|
|
457
|
+
var z = !1, c = !1, h = r.count !== void 0 && typeof r.count != "string", T = t.hasDefaultValue(r), B = h ? this.pluralResolver.getSuffix(v, r.count) : "", D = r["defaultValue".concat(B)] || r.defaultValue;
|
|
458
|
+
!this.isValidLookup(g) && T && (z = !0, g = D), this.isValidLookup(g) || (c = !0, g = u);
|
|
459
|
+
var C = T && D !== g && this.options.updateMissing;
|
|
460
|
+
if (c || z || C) {
|
|
461
|
+
if (this.logger.log(C ? "updateKey" : "missingKey", v, f, u, C ? D : g), s) {
|
|
462
462
|
var H = this.resolve(u, N({}, r, {
|
|
463
463
|
keySeparator: !1
|
|
464
464
|
}));
|
|
465
465
|
H && H.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.");
|
|
466
466
|
}
|
|
467
|
-
var
|
|
468
|
-
if (this.options.saveMissingTo === "fallback" &&
|
|
469
|
-
for (var Z = 0; Z <
|
|
470
|
-
|
|
471
|
-
else this.options.saveMissingTo === "all" ?
|
|
472
|
-
var
|
|
473
|
-
o.options.missingKeyHandler ? o.options.missingKeyHandler(X, f, we, C ?
|
|
467
|
+
var j = [], I = this.languageUtils.getFallbackCodes(this.options.fallbackLng, r.lng || this.language);
|
|
468
|
+
if (this.options.saveMissingTo === "fallback" && I && I[0])
|
|
469
|
+
for (var Z = 0; Z < I.length; Z++)
|
|
470
|
+
j.push(I[Z]);
|
|
471
|
+
else this.options.saveMissingTo === "all" ? j = this.languageUtils.toResolveHierarchy(r.lng || this.language) : j.push(r.lng || this.language);
|
|
472
|
+
var Fe = function(X, we, je) {
|
|
473
|
+
o.options.missingKeyHandler ? o.options.missingKeyHandler(X, f, we, C ? je : g, C, r) : o.backendConnector && o.backendConnector.saveMissing && o.backendConnector.saveMissing(X, f, we, C ? je : g, C, r), o.emit("missingKey", X, f, we, g);
|
|
474
474
|
};
|
|
475
|
-
this.options.saveMissing && (this.options.saveMissingPlurals && h ?
|
|
476
|
-
o.pluralResolver.getSuffixes(
|
|
477
|
-
|
|
475
|
+
this.options.saveMissing && (this.options.saveMissingPlurals && h ? j.forEach(function(Se) {
|
|
476
|
+
o.pluralResolver.getSuffixes(Se).forEach(function(X) {
|
|
477
|
+
Fe([Se], u + X, r["defaultValue".concat(X)] || D);
|
|
478
478
|
});
|
|
479
|
-
}) :
|
|
479
|
+
}) : Fe(j, u, D));
|
|
480
480
|
}
|
|
481
481
|
g = this.extendTranslation(g, e, r, y, i), c && g === u && this.options.appendNamespaceToMissingKey && (g = "".concat(f, ":").concat(u)), c && this.options.parseMissingKeyHandler && (g = this.options.parseMissingKeyHandler(g));
|
|
482
482
|
}
|
|
@@ -505,8 +505,8 @@ var be = typeof window < "u" && window.navigator && window.navigator.userAgent &
|
|
|
505
505
|
d < p && (i.nest = !1);
|
|
506
506
|
}
|
|
507
507
|
i.nest !== !1 && (e = this.interpolator.nest(e, function() {
|
|
508
|
-
for (var b = arguments.length, w = new Array(b),
|
|
509
|
-
w[
|
|
508
|
+
for (var b = arguments.length, w = new Array(b), x = 0; x < b; x++)
|
|
509
|
+
w[x] = arguments[x];
|
|
510
510
|
return s && s[0] === w[0] && !i.context ? (l.logger.warn("It seems you are nesting recursively key: ".concat(w[0], " in key: ").concat(r[0])), null) : l.translate.apply(l, w.concat([r]));
|
|
511
511
|
}, i)), i.interpolation && this.interpolator.reset();
|
|
512
512
|
}
|
|
@@ -527,18 +527,18 @@ var be = typeof window < "u" && window.navigator && window.navigator.userAgent &
|
|
|
527
527
|
r.options.fallbackNS && (p = p.concat(r.options.fallbackNS));
|
|
528
528
|
var y = i.count !== void 0 && typeof i.count != "string", g = i.context !== void 0 && typeof i.context == "string" && i.context !== "", b = i.lngs ? i.lngs : r.languageUtils.toResolveHierarchy(i.lng || r.language, i.fallbackLng);
|
|
529
529
|
p.forEach(function(w) {
|
|
530
|
-
r.isValidLookup(o) || (d = w, !He["".concat(b[0], "-").concat(w)] && r.utils && r.utils.hasLoadedNamespace && !r.utils.hasLoadedNamespace(d) && (He["".concat(b[0], "-").concat(w)] = !0, r.logger.warn('key "'.concat(s, '" for languages "').concat(b.join(", "), `" won't get resolved as namespace "`).concat(d, '" was not yet loaded'), "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), b.forEach(function(
|
|
530
|
+
r.isValidLookup(o) || (d = w, !He["".concat(b[0], "-").concat(w)] && r.utils && r.utils.hasLoadedNamespace && !r.utils.hasLoadedNamespace(d) && (He["".concat(b[0], "-").concat(w)] = !0, r.logger.warn('key "'.concat(s, '" for languages "').concat(b.join(", "), `" won't get resolved as namespace "`).concat(d, '" was not yet loaded'), "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), b.forEach(function(x) {
|
|
531
531
|
if (!r.isValidLookup(o)) {
|
|
532
|
-
u =
|
|
533
|
-
var
|
|
532
|
+
u = x;
|
|
533
|
+
var A = m, k = [A];
|
|
534
534
|
if (r.i18nFormat && r.i18nFormat.addLookupKeys)
|
|
535
|
-
r.i18nFormat.addLookupKeys(k, m,
|
|
535
|
+
r.i18nFormat.addLookupKeys(k, m, x, w, i);
|
|
536
536
|
else {
|
|
537
|
-
var
|
|
538
|
-
y && (
|
|
537
|
+
var S;
|
|
538
|
+
y && (S = r.pluralResolver.getSuffix(x, i.count)), y && g && k.push(A + S), g && k.push(A += "".concat(r.options.contextSeparator).concat(i.context)), y && k.push(A += S);
|
|
539
539
|
}
|
|
540
540
|
for (var O; O = k.pop(); )
|
|
541
|
-
r.isValidLookup(o) || (l = O, o = r.getResource(
|
|
541
|
+
r.isValidLookup(o) || (l = O, o = r.getResource(x, w, O, i));
|
|
542
542
|
}
|
|
543
543
|
}));
|
|
544
544
|
});
|
|
@@ -573,12 +573,12 @@ var be = typeof window < "u" && window.navigator && window.navigator.userAgent &
|
|
|
573
573
|
}
|
|
574
574
|
}]), t;
|
|
575
575
|
}(Q);
|
|
576
|
-
function
|
|
576
|
+
function xe(n) {
|
|
577
577
|
return n.charAt(0).toUpperCase() + n.slice(1);
|
|
578
578
|
}
|
|
579
|
-
var
|
|
579
|
+
var Mt = function() {
|
|
580
580
|
function n(t) {
|
|
581
|
-
|
|
581
|
+
M(this, n), this.options = t, this.whitelist = this.options.supportedLngs || !1, this.supportedLngs = this.options.supportedLngs || !1, this.logger = q.create("languageUtils");
|
|
582
582
|
}
|
|
583
583
|
return _(n, [{
|
|
584
584
|
key: "getScriptPartFromCode",
|
|
@@ -601,7 +601,7 @@ var zt = function() {
|
|
|
601
601
|
var e = ["hans", "hant", "latn", "cyrl", "cans", "mong", "arab"], r = a.split("-");
|
|
602
602
|
return this.options.lowerCaseLng ? r = r.map(function(i) {
|
|
603
603
|
return i.toLowerCase();
|
|
604
|
-
}) : r.length === 2 ? (r[0] = r[0].toLowerCase(), r[1] = r[1].toUpperCase(), e.indexOf(r[1].toLowerCase()) > -1 && (r[1] =
|
|
604
|
+
}) : r.length === 2 ? (r[0] = r[0].toLowerCase(), r[1] = r[1].toUpperCase(), e.indexOf(r[1].toLowerCase()) > -1 && (r[1] = xe(r[1].toLowerCase()))) : r.length === 3 && (r[0] = r[0].toLowerCase(), r[1].length === 2 && (r[1] = r[1].toUpperCase()), r[0] !== "sgn" && r[2].length === 2 && (r[2] = r[2].toUpperCase()), e.indexOf(r[1].toLowerCase()) > -1 && (r[1] = xe(r[1].toLowerCase())), e.indexOf(r[2].toLowerCase()) > -1 && (r[2] = xe(r[2].toLowerCase()))), r.join("-");
|
|
605
605
|
}
|
|
606
606
|
return this.options.cleanCode || this.options.lowerCaseLng ? a.toLowerCase() : a;
|
|
607
607
|
}
|
|
@@ -830,7 +830,7 @@ function qt() {
|
|
|
830
830
|
var Vt = function() {
|
|
831
831
|
function n(t) {
|
|
832
832
|
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
833
|
-
|
|
833
|
+
M(this, n), this.languageUtils = t, this.options = a, this.logger = q.create("pluralResolver"), this.rules = qt();
|
|
834
834
|
}
|
|
835
835
|
return _(n, [{
|
|
836
836
|
key: "addRule",
|
|
@@ -881,7 +881,7 @@ var Vt = function() {
|
|
|
881
881
|
}(), Wt = function() {
|
|
882
882
|
function n() {
|
|
883
883
|
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
884
|
-
|
|
884
|
+
M(this, n), this.logger = q.create("interpolator"), this.options = t, this.format = t.interpolation && t.interpolation.format || function(a) {
|
|
885
885
|
return a;
|
|
886
886
|
}, this.init(t);
|
|
887
887
|
}
|
|
@@ -893,7 +893,7 @@ var Vt = function() {
|
|
|
893
893
|
escapeValue: !0
|
|
894
894
|
});
|
|
895
895
|
var e = a.interpolation;
|
|
896
|
-
this.escape = e.escape !== void 0 ? e.escape :
|
|
896
|
+
this.escape = e.escape !== void 0 ? e.escape : zt, this.escapeValue = e.escapeValue !== void 0 ? e.escapeValue : !0, this.useRawValueToEscape = e.useRawValueToEscape !== void 0 ? e.useRawValueToEscape : !1, this.prefix = e.prefix ? G(e.prefix) : e.prefixEscaped || "{{", this.suffix = e.suffix ? G(e.suffix) : e.suffixEscaped || "}}", this.formatSeparator = e.formatSeparator ? e.formatSeparator : e.formatSeparator || ",", this.unescapePrefix = e.unescapeSuffix ? "" : e.unescapePrefix || "-", this.unescapeSuffix = this.unescapePrefix ? "" : e.unescapeSuffix || "", this.nestingPrefix = e.nestingPrefix ? G(e.nestingPrefix) : e.nestingPrefixEscaped || G("$t("), this.nestingSuffix = e.nestingSuffix ? G(e.nestingSuffix) : e.nestingSuffixEscaped || G(")"), this.nestingOptionsSeparator = e.nestingOptionsSeparator ? e.nestingOptionsSeparator : e.nestingOptionsSeparator || ",", this.maxReplaces = e.maxReplaces ? e.maxReplaces : 1e3, this.alwaysFormat = e.alwaysFormat !== void 0 ? e.alwaysFormat : !1, this.resetRegExp();
|
|
897
897
|
}
|
|
898
898
|
}, {
|
|
899
899
|
key: "reset",
|
|
@@ -922,8 +922,8 @@ var Vt = function() {
|
|
|
922
922
|
var w = _e(e, d, b);
|
|
923
923
|
return o.alwaysFormat ? o.format(w, void 0, r) : w;
|
|
924
924
|
}
|
|
925
|
-
var
|
|
926
|
-
return o.format(_e(e, d,
|
|
925
|
+
var x = b.split(o.formatSeparator), A = x.shift().trim(), k = x.join(o.formatSeparator).trim();
|
|
926
|
+
return o.format(_e(e, d, A), k, r, i);
|
|
927
927
|
};
|
|
928
928
|
this.resetRegExp();
|
|
929
929
|
var m = i && i.missingInterpolationHandler || this.options.missingInterpolationHandler, p = i && i.interpolation && i.interpolation.skipOnVariables || this.options.interpolation.skipOnVariables, y = [{
|
|
@@ -948,7 +948,7 @@ var Vt = function() {
|
|
|
948
948
|
continue;
|
|
949
949
|
} else
|
|
950
950
|
o.logger.warn("missed to pass in variable ".concat(s[1], " for interpolating ").concat(a)), l = "";
|
|
951
|
-
else typeof l != "string" && !o.useRawValueToEscape && (l =
|
|
951
|
+
else typeof l != "string" && !o.useRawValueToEscape && (l = Ie(l));
|
|
952
952
|
if (a = a.replace(s[0], g.safeValue(l)), g.regex.lastIndex = 0, u++, u >= o.maxReplaces)
|
|
953
953
|
break;
|
|
954
954
|
}
|
|
@@ -980,7 +980,7 @@ var Vt = function() {
|
|
|
980
980
|
o[1] = v.shift(), d = v, f = !0;
|
|
981
981
|
}
|
|
982
982
|
if (s = e(u.call(this, o[1].trim(), l), l), s && o[0] === a && typeof s != "string") return s;
|
|
983
|
-
typeof s != "string" && (s =
|
|
983
|
+
typeof s != "string" && (s = Ie(s)), s || (this.logger.warn("missed to resolve ".concat(o[1], " for nesting ").concat(a)), s = ""), f && (s = d.reduce(function(m, p) {
|
|
984
984
|
return r.format(m, p, i.lng, i);
|
|
985
985
|
}, s.trim())), a = a.replace(o[0], s), this.regexp.lastIndex = 0;
|
|
986
986
|
}
|
|
@@ -996,7 +996,7 @@ var $t = function(n) {
|
|
|
996
996
|
ye(t, n);
|
|
997
997
|
function t(a, e, r) {
|
|
998
998
|
var i, o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
|
|
999
|
-
return
|
|
999
|
+
return M(this, t), i = re(this, Y(t).call(this)), be && Q.call(K(i)), i.backend = a, i.store = e, i.services = r, i.languageUtils = r.languageUtils, i.options = o, i.logger = q.create("backendConnector"), i.state = {}, i.queue = [], i.backend && i.backend.init && i.backend.init(r, o.backend, o), i;
|
|
1000
1000
|
}
|
|
1001
1001
|
return _(t, [{
|
|
1002
1002
|
key: "queueLoad",
|
|
@@ -1027,7 +1027,7 @@ var $t = function(n) {
|
|
|
1027
1027
|
r && this.emit("failedLoading", s, l, r), i && this.store.addResourceBundle(s, l, i), this.state[e] = r ? -1 : 2;
|
|
1028
1028
|
var u = {};
|
|
1029
1029
|
this.queue.forEach(function(d) {
|
|
1030
|
-
|
|
1030
|
+
Ft(d.loaded, [s], l), Qt(d.pending, e), r && d.errors.push(r), d.pending.length === 0 && !d.done && (Object.keys(d.loaded).forEach(function(f) {
|
|
1031
1031
|
u[f] || (u[f] = []), d.loaded[f].length && d.loaded[f].forEach(function(v) {
|
|
1032
1032
|
u[f].indexOf(v) < 0 && u[f].push(v);
|
|
1033
1033
|
});
|
|
@@ -1136,7 +1136,7 @@ function Kt() {
|
|
|
1136
1136
|
appendNamespaceToCIMode: !1,
|
|
1137
1137
|
overloadTranslationOptionHandler: function(t) {
|
|
1138
1138
|
var a = {};
|
|
1139
|
-
if (
|
|
1139
|
+
if (F(t[1]) === "object" && (a = t[1]), typeof t[1] == "string" && (a.defaultValue = t[1]), typeof t[2] == "string" && (a.tDescription = t[2]), F(t[2]) === "object" || F(t[3]) === "object") {
|
|
1140
1140
|
var e = t[3] || t[2];
|
|
1141
1141
|
Object.keys(e).forEach(function(r) {
|
|
1142
1142
|
a[r] = e[r];
|
|
@@ -1170,7 +1170,7 @@ var Zt = function(n) {
|
|
|
1170
1170
|
ye(t, n);
|
|
1171
1171
|
function t() {
|
|
1172
1172
|
var a, e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = arguments.length > 1 ? arguments[1] : void 0;
|
|
1173
|
-
if (
|
|
1173
|
+
if (M(this, t), a = re(this, Y(t).call(this)), be && Q.call(K(a)), a.options = Ve(e), a.services = {}, a.logger = q, a.modules = {
|
|
1174
1174
|
external: []
|
|
1175
1175
|
}, r && !a.isInitialized && !e.isClone) {
|
|
1176
1176
|
if (!a.options.initImmediate)
|
|
@@ -1191,8 +1191,8 @@ var Zt = function(n) {
|
|
|
1191
1191
|
}
|
|
1192
1192
|
if (!this.options.isClone) {
|
|
1193
1193
|
this.modules.logger ? q.init(o(this.modules.logger), this.options) : q.init(null, this.options);
|
|
1194
|
-
var s = new
|
|
1195
|
-
this.store = new
|
|
1194
|
+
var s = new Mt(this.options);
|
|
1195
|
+
this.store = new It(this.options.resources, this.options);
|
|
1196
1196
|
var l = this.services;
|
|
1197
1197
|
l.logger = q, l.resourceStore = this.store, l.languageUtils = s, l.pluralResolver = new Vt(s, {
|
|
1198
1198
|
prepend: this.options.pluralSeparator,
|
|
@@ -1309,7 +1309,7 @@ var Zt = function(n) {
|
|
|
1309
1309
|
value: function(e, r) {
|
|
1310
1310
|
var i = this, o = function s(l, u) {
|
|
1311
1311
|
var d;
|
|
1312
|
-
if (
|
|
1312
|
+
if (F(u) !== "object") {
|
|
1313
1313
|
for (var f = arguments.length, v = new Array(f > 2 ? f - 2 : 0), m = 2; m < f; m++)
|
|
1314
1314
|
v[m - 2] = arguments[m];
|
|
1315
1315
|
d = i.options.overloadTranslationOptionHandler([l, u].concat(v));
|
|
@@ -1556,7 +1556,7 @@ function Ke(n) {
|
|
|
1556
1556
|
}
|
|
1557
1557
|
return n;
|
|
1558
1558
|
}
|
|
1559
|
-
var
|
|
1559
|
+
var De = {
|
|
1560
1560
|
bindI18n: "languageChanged",
|
|
1561
1561
|
bindI18nStore: "",
|
|
1562
1562
|
transEmptyNodeValue: "",
|
|
@@ -1568,14 +1568,14 @@ var Ae = {
|
|
|
1568
1568
|
}, mt, vt = Et();
|
|
1569
1569
|
function ua() {
|
|
1570
1570
|
var n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
1571
|
-
|
|
1571
|
+
De = Ke(Ke({}, De), n);
|
|
1572
1572
|
}
|
|
1573
1573
|
function yt() {
|
|
1574
|
-
return
|
|
1574
|
+
return De;
|
|
1575
1575
|
}
|
|
1576
1576
|
var ca = function() {
|
|
1577
1577
|
function n() {
|
|
1578
|
-
|
|
1578
|
+
M(this, n), this.usedNamespaces = {};
|
|
1579
1579
|
}
|
|
1580
1580
|
return _(n, [{
|
|
1581
1581
|
key: "addUsedNamespaces",
|
|
@@ -1693,7 +1693,7 @@ function ya(n, t) {
|
|
|
1693
1693
|
var a = U({}, t);
|
|
1694
1694
|
return a.props = Object.assign(n.props, t.props), a;
|
|
1695
1695
|
}
|
|
1696
|
-
function
|
|
1696
|
+
function St(n, t) {
|
|
1697
1697
|
if (!n) return "";
|
|
1698
1698
|
var a = "", e = ee(n), r = t.transSupportBasicHtmlNodes && t.transKeepBasicHtmlNodesFor ? t.transKeepBasicHtmlNodesFor : [];
|
|
1699
1699
|
return e.forEach(function(i, o) {
|
|
@@ -1710,12 +1710,12 @@ function xt(n, t) {
|
|
|
1710
1710
|
else if (l && s === 1 && typeof u == "string")
|
|
1711
1711
|
a += "<".concat(i.type, ">").concat(u, "</").concat(i.type, ">");
|
|
1712
1712
|
else {
|
|
1713
|
-
var d =
|
|
1713
|
+
var d = St(u, t);
|
|
1714
1714
|
a += "<".concat(o, ">").concat(d, "</").concat(o, ">");
|
|
1715
1715
|
}
|
|
1716
1716
|
} else if (i === null)
|
|
1717
1717
|
ue("Trans: the passed in value is invalid - seems you passed in a null child.");
|
|
1718
|
-
else if (
|
|
1718
|
+
else if (F(i) === "object") {
|
|
1719
1719
|
var f = i.format, v = pt(i, ga), m = Object.keys(v);
|
|
1720
1720
|
if (m.length === 1) {
|
|
1721
1721
|
var p = f ? "".concat(m[0], ", ").concat(f) : m[0];
|
|
@@ -1734,74 +1734,74 @@ function ba(n, t, a, e, r, i) {
|
|
|
1734
1734
|
function u(g) {
|
|
1735
1735
|
var b = ee(g);
|
|
1736
1736
|
b.forEach(function(w) {
|
|
1737
|
-
typeof w != "string" && (Ce(w) ? u(Le(w)) :
|
|
1737
|
+
typeof w != "string" && (Ce(w) ? u(Le(w)) : F(w) === "object" && !ce(w) && Object.assign(l, w));
|
|
1738
1738
|
});
|
|
1739
1739
|
}
|
|
1740
1740
|
u(n);
|
|
1741
1741
|
var d = na.parse("<0>".concat(t, "</0>")), f = U(U({}, l), r);
|
|
1742
1742
|
function v(g, b, w) {
|
|
1743
|
-
var
|
|
1744
|
-
return va(
|
|
1743
|
+
var x = Le(g), A = p(x, b.children, w);
|
|
1744
|
+
return va(x) && A.length === 0 ? x : A;
|
|
1745
1745
|
}
|
|
1746
|
-
function m(g, b, w,
|
|
1746
|
+
function m(g, b, w, x, A) {
|
|
1747
1747
|
g.dummy && (g.children = b), w.push(ie(g, U(U({}, g.props), {}, {
|
|
1748
|
-
key:
|
|
1749
|
-
}),
|
|
1748
|
+
key: x
|
|
1749
|
+
}), A ? void 0 : b));
|
|
1750
1750
|
}
|
|
1751
1751
|
function p(g, b, w) {
|
|
1752
|
-
var
|
|
1753
|
-
return
|
|
1754
|
-
var E =
|
|
1755
|
-
if (
|
|
1756
|
-
var R =
|
|
1757
|
-
!R && w.length === 1 && w[0][
|
|
1758
|
-
var L = Object.keys(
|
|
1759
|
-
props:
|
|
1760
|
-
}, R) : R, P = ce(L), W = P && Ce(
|
|
1752
|
+
var x = ee(g), A = ee(b);
|
|
1753
|
+
return A.reduce(function(k, S, O) {
|
|
1754
|
+
var E = S.children && S.children[0] && S.children[0].content && a.services.interpolator.interpolate(S.children[0].content, f, a.language);
|
|
1755
|
+
if (S.type === "tag") {
|
|
1756
|
+
var R = x[parseInt(S.name, 10)];
|
|
1757
|
+
!R && w.length === 1 && w[0][S.name] && (R = w[0][S.name]), R || (R = {});
|
|
1758
|
+
var L = Object.keys(S.attrs).length !== 0 ? ya({
|
|
1759
|
+
props: S.attrs
|
|
1760
|
+
}, R) : R, P = ce(L), W = P && Ce(S, !0) && !S.voidElement, z = s && F(L) === "object" && L.dummy && !P, c = F(n) === "object" && n !== null && Object.hasOwnProperty.call(n, S.name);
|
|
1761
1761
|
if (typeof L == "string") {
|
|
1762
1762
|
var h = a.services.interpolator.interpolate(L, f, a.language);
|
|
1763
1763
|
k.push(h);
|
|
1764
1764
|
} else if (Ce(L) || W) {
|
|
1765
|
-
var T = v(L,
|
|
1765
|
+
var T = v(L, S, w);
|
|
1766
1766
|
m(L, T, k, O);
|
|
1767
|
-
} else if (
|
|
1768
|
-
var B = p(
|
|
1767
|
+
} else if (z) {
|
|
1768
|
+
var B = p(x, S.children, w);
|
|
1769
1769
|
k.push(ie(L, U(U({}, L.props), {}, {
|
|
1770
1770
|
key: O
|
|
1771
1771
|
}), B));
|
|
1772
|
-
} else if (Number.isNaN(parseFloat(
|
|
1772
|
+
} else if (Number.isNaN(parseFloat(S.name)))
|
|
1773
1773
|
if (c) {
|
|
1774
|
-
var
|
|
1775
|
-
m(L,
|
|
1776
|
-
} else if (e.transSupportBasicHtmlNodes && o.indexOf(
|
|
1777
|
-
if (
|
|
1778
|
-
k.push(le(
|
|
1779
|
-
key: "".concat(
|
|
1774
|
+
var D = v(L, S, w);
|
|
1775
|
+
m(L, D, k, O, S.voidElement);
|
|
1776
|
+
} else if (e.transSupportBasicHtmlNodes && o.indexOf(S.name) > -1)
|
|
1777
|
+
if (S.voidElement)
|
|
1778
|
+
k.push(le(S.name, {
|
|
1779
|
+
key: "".concat(S.name, "-").concat(O)
|
|
1780
1780
|
}));
|
|
1781
1781
|
else {
|
|
1782
|
-
var C = p(
|
|
1783
|
-
k.push(le(
|
|
1784
|
-
key: "".concat(
|
|
1782
|
+
var C = p(x, S.children, w);
|
|
1783
|
+
k.push(le(S.name, {
|
|
1784
|
+
key: "".concat(S.name, "-").concat(O)
|
|
1785
1785
|
}, C));
|
|
1786
1786
|
}
|
|
1787
|
-
else if (
|
|
1788
|
-
k.push("<".concat(
|
|
1787
|
+
else if (S.voidElement)
|
|
1788
|
+
k.push("<".concat(S.name, " />"));
|
|
1789
1789
|
else {
|
|
1790
|
-
var H = p(
|
|
1791
|
-
k.push("<".concat(
|
|
1790
|
+
var H = p(x, S.children, w);
|
|
1791
|
+
k.push("<".concat(S.name, ">").concat(H, "</").concat(S.name, ">"));
|
|
1792
1792
|
}
|
|
1793
|
-
else if (
|
|
1794
|
-
var
|
|
1795
|
-
|
|
1796
|
-
} else
|
|
1793
|
+
else if (F(L) === "object" && !P) {
|
|
1794
|
+
var j = S.children[0] ? E : null;
|
|
1795
|
+
j && k.push(j);
|
|
1796
|
+
} else S.children.length === 1 && E ? k.push(ie(L, U(U({}, L.props), {}, {
|
|
1797
1797
|
key: O
|
|
1798
1798
|
}), E)) : k.push(ie(L, U(U({}, L.props), {}, {
|
|
1799
1799
|
key: O
|
|
1800
1800
|
})));
|
|
1801
|
-
} else if (
|
|
1802
|
-
var
|
|
1803
|
-
|
|
1804
|
-
key: "".concat(
|
|
1801
|
+
} else if (S.type === "text") {
|
|
1802
|
+
var I = e.transWrapTextNodes, Z = i ? e.unescape(a.services.interpolator.interpolate(S.content, f, a.language)) : a.services.interpolator.interpolate(S.content, f, a.language);
|
|
1803
|
+
I ? k.push(le(I, {
|
|
1804
|
+
key: "".concat(S.name, "-").concat(O)
|
|
1805
1805
|
}, Z)) : k.push(Z);
|
|
1806
1806
|
}
|
|
1807
1807
|
return k;
|
|
@@ -1813,17 +1813,17 @@ function ba(n, t, a, e, r, i) {
|
|
|
1813
1813
|
}], d, ee(n || []));
|
|
1814
1814
|
return Le(y[0]);
|
|
1815
1815
|
}
|
|
1816
|
-
function
|
|
1817
|
-
var t = n.children, a = n.count, e = n.parent, r = n.i18nKey, i = n.context, o = n.tOptions, s = o === void 0 ? {} : o, l = n.values, u = n.defaults, d = n.components, f = n.ns, v = n.i18n, m = n.t, p = n.shouldUnescape, y = pt(n, ma), g = ut(vt) || {}, b = g.i18n, w = g.defaultNS,
|
|
1818
|
-
if (!
|
|
1816
|
+
function Sa(n) {
|
|
1817
|
+
var t = n.children, a = n.count, e = n.parent, r = n.i18nKey, i = n.context, o = n.tOptions, s = o === void 0 ? {} : o, l = n.values, u = n.defaults, d = n.components, f = n.ns, v = n.i18n, m = n.t, p = n.shouldUnescape, y = pt(n, ma), g = ut(vt) || {}, b = g.i18n, w = g.defaultNS, x = v || b || bt();
|
|
1818
|
+
if (!x)
|
|
1819
1819
|
return fe("You will need to pass in an i18next instance by using i18nextReactModule"), t;
|
|
1820
|
-
var
|
|
1820
|
+
var A = m || x.t.bind(x) || function(h) {
|
|
1821
1821
|
return h;
|
|
1822
1822
|
};
|
|
1823
1823
|
i && (s.context = i);
|
|
1824
|
-
var k = U(U({}, yt()),
|
|
1825
|
-
|
|
1826
|
-
var O = u ||
|
|
1824
|
+
var k = U(U({}, yt()), x.options && x.options.react), S = f || A.ns || w || x.options && x.options.defaultNS;
|
|
1825
|
+
S = typeof S == "string" ? [S] : S || ["translation"];
|
|
1826
|
+
var O = u || St(t, k) || k.transEmptyNodeValue || r, E = k.hashTransKey, R = r || (E ? E(O) : O), L = l ? s.interpolation : {
|
|
1827
1827
|
interpolation: U(U({}, s.interpolation), {}, {
|
|
1828
1828
|
prefix: "#$?",
|
|
1829
1829
|
suffix: "?$#"
|
|
@@ -1832,14 +1832,14 @@ function xa(n) {
|
|
|
1832
1832
|
count: a
|
|
1833
1833
|
}, l), L), {}, {
|
|
1834
1834
|
defaultValue: O,
|
|
1835
|
-
ns:
|
|
1836
|
-
}), W = R ?
|
|
1837
|
-
return c ? le(c, y,
|
|
1835
|
+
ns: S
|
|
1836
|
+
}), W = R ? A(R, P) : O, z = ba(d || t, W, x, k, P, p), c = e !== void 0 ? e : k.defaultTransParent;
|
|
1837
|
+
return c ? le(c, y, z) : z;
|
|
1838
1838
|
}
|
|
1839
1839
|
function wa(n) {
|
|
1840
1840
|
if (Array.isArray(n)) return n;
|
|
1841
1841
|
}
|
|
1842
|
-
function
|
|
1842
|
+
function xa(n, t) {
|
|
1843
1843
|
var a = n == null ? null : typeof Symbol < "u" && n[Symbol.iterator] || n["@@iterator"];
|
|
1844
1844
|
if (a != null) {
|
|
1845
1845
|
var e, r, i, o, s = [], l = !0, u = !1;
|
|
@@ -1874,7 +1874,7 @@ function ka() {
|
|
|
1874
1874
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
1875
1875
|
}
|
|
1876
1876
|
function Ca(n, t) {
|
|
1877
|
-
return wa(n) ||
|
|
1877
|
+
return wa(n) || xa(n, t) || Ta(n, t) || ka();
|
|
1878
1878
|
}
|
|
1879
1879
|
function Je(n, t) {
|
|
1880
1880
|
var a = Object.keys(n);
|
|
@@ -1921,12 +1921,12 @@ function wt(n) {
|
|
|
1921
1921
|
function p() {
|
|
1922
1922
|
return o.getFixedT(null, u.nsMode === "fallback" ? v : v[0], f);
|
|
1923
1923
|
}
|
|
1924
|
-
var y = Rt(p), g = Ca(y, 2), b = g[0], w = g[1],
|
|
1924
|
+
var y = Rt(p), g = Ca(y, 2), b = g[0], w = g[1], x = v.join(), A = La(x), k = Oe(!0);
|
|
1925
1925
|
Ee(function() {
|
|
1926
1926
|
var E = u.bindI18n, R = u.bindI18nStore;
|
|
1927
1927
|
k.current = !0, !m && !d && Xe(o, v, function() {
|
|
1928
1928
|
k.current && w(p);
|
|
1929
|
-
}), m &&
|
|
1929
|
+
}), m && A && A !== x && k.current && w(p);
|
|
1930
1930
|
function L() {
|
|
1931
1931
|
k.current && w(p);
|
|
1932
1932
|
}
|
|
@@ -1937,10 +1937,10 @@ function wt(n) {
|
|
|
1937
1937
|
return o.store.off(P, L);
|
|
1938
1938
|
});
|
|
1939
1939
|
};
|
|
1940
|
-
}, [o,
|
|
1941
|
-
var
|
|
1940
|
+
}, [o, x]);
|
|
1941
|
+
var S = Oe(!0);
|
|
1942
1942
|
Ee(function() {
|
|
1943
|
-
k.current && !
|
|
1943
|
+
k.current && !S.current && w(p), S.current = !1;
|
|
1944
1944
|
}, [o, f]);
|
|
1945
1945
|
var O = [b, o, m];
|
|
1946
1946
|
if (O.t = b, O.i18n = o, O.ready = m, m || !m && !d) return O;
|
|
@@ -1950,15 +1950,15 @@ function wt(n) {
|
|
|
1950
1950
|
});
|
|
1951
1951
|
});
|
|
1952
1952
|
}
|
|
1953
|
-
function
|
|
1953
|
+
function Ae(n) {
|
|
1954
1954
|
"@babel/helpers - typeof";
|
|
1955
|
-
return
|
|
1955
|
+
return Ae = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
1956
1956
|
return typeof t;
|
|
1957
1957
|
} : function(t) {
|
|
1958
1958
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
1959
|
-
},
|
|
1959
|
+
}, Ae(n);
|
|
1960
1960
|
}
|
|
1961
|
-
var
|
|
1961
|
+
var xt = [], Pa = xt.forEach, Oa = xt.slice;
|
|
1962
1962
|
function Be(n) {
|
|
1963
1963
|
return Pa.call(Oa.call(arguments, 1), function(t) {
|
|
1964
1964
|
if (t)
|
|
@@ -1967,7 +1967,7 @@ function Be(n) {
|
|
|
1967
1967
|
}), n;
|
|
1968
1968
|
}
|
|
1969
1969
|
function Tt() {
|
|
1970
|
-
return typeof XMLHttpRequest == "function" || (typeof XMLHttpRequest > "u" ? "undefined" :
|
|
1970
|
+
return typeof XMLHttpRequest == "function" || (typeof XMLHttpRequest > "u" ? "undefined" : Ae(XMLHttpRequest)) === "object";
|
|
1971
1971
|
}
|
|
1972
1972
|
function Ea(n) {
|
|
1973
1973
|
return !!n && typeof n.then == "function";
|
|
@@ -1975,13 +1975,13 @@ function Ea(n) {
|
|
|
1975
1975
|
function Ra(n) {
|
|
1976
1976
|
return Ea(n) ? n : Promise.resolve(n);
|
|
1977
1977
|
}
|
|
1978
|
-
function
|
|
1978
|
+
function Da(n) {
|
|
1979
1979
|
throw new Error('Could not dynamically require "' + n + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
1980
1980
|
}
|
|
1981
|
-
var se = { exports: {} }, te = { exports: {} },
|
|
1981
|
+
var se = { exports: {} }, te = { exports: {} }, Aa = te.exports, et;
|
|
1982
1982
|
function Ba() {
|
|
1983
1983
|
return et || (et = 1, function(n, t) {
|
|
1984
|
-
var a = typeof self < "u" ? self :
|
|
1984
|
+
var a = typeof self < "u" ? self : Aa, e = function() {
|
|
1985
1985
|
function i() {
|
|
1986
1986
|
this.fetch = !1, this.DOMException = a.DOMException;
|
|
1987
1987
|
}
|
|
@@ -2100,12 +2100,12 @@ function Ba() {
|
|
|
2100
2100
|
var h = new FileReader(), T = g(h);
|
|
2101
2101
|
return h.readAsText(c), T;
|
|
2102
2102
|
}
|
|
2103
|
-
function
|
|
2103
|
+
function x(c) {
|
|
2104
2104
|
for (var h = new Uint8Array(c), T = new Array(h.length), B = 0; B < h.length; B++)
|
|
2105
2105
|
T[B] = String.fromCharCode(h[B]);
|
|
2106
2106
|
return T.join("");
|
|
2107
2107
|
}
|
|
2108
|
-
function
|
|
2108
|
+
function A(c) {
|
|
2109
2109
|
if (c.slice)
|
|
2110
2110
|
return c.slice(0);
|
|
2111
2111
|
var h = new Uint8Array(c.byteLength);
|
|
@@ -2113,7 +2113,7 @@ function Ba() {
|
|
|
2113
2113
|
}
|
|
2114
2114
|
function k() {
|
|
2115
2115
|
return this.bodyUsed = !1, this._initBody = function(c) {
|
|
2116
|
-
this._bodyInit = c, c ? typeof c == "string" ? this._bodyText = c : s.blob && Blob.prototype.isPrototypeOf(c) ? this._bodyBlob = c : s.formData && FormData.prototype.isPrototypeOf(c) ? this._bodyFormData = c : s.searchParams && URLSearchParams.prototype.isPrototypeOf(c) ? this._bodyText = c.toString() : s.arrayBuffer && s.blob && l(c) ? (this._bodyArrayBuffer =
|
|
2116
|
+
this._bodyInit = c, c ? typeof c == "string" ? this._bodyText = c : s.blob && Blob.prototype.isPrototypeOf(c) ? this._bodyBlob = c : s.formData && FormData.prototype.isPrototypeOf(c) ? this._bodyFormData = c : s.searchParams && URLSearchParams.prototype.isPrototypeOf(c) ? this._bodyText = c.toString() : s.arrayBuffer && s.blob && l(c) ? (this._bodyArrayBuffer = A(c.buffer), this._bodyInit = new Blob([this._bodyArrayBuffer])) : s.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(c) || d(c)) ? this._bodyArrayBuffer = A(c) : this._bodyText = c = Object.prototype.toString.call(c) : this._bodyText = "", this.headers.get("content-type") || (typeof c == "string" ? this.headers.set("content-type", "text/plain;charset=UTF-8") : this._bodyBlob && this._bodyBlob.type ? this.headers.set("content-type", this._bodyBlob.type) : s.searchParams && URLSearchParams.prototype.isPrototypeOf(c) && this.headers.set("content-type", "application/x-www-form-urlencoded;charset=UTF-8"));
|
|
2117
2117
|
}, s.blob && (this.blob = function() {
|
|
2118
2118
|
var c = y(this);
|
|
2119
2119
|
if (c)
|
|
@@ -2134,7 +2134,7 @@ function Ba() {
|
|
|
2134
2134
|
if (this._bodyBlob)
|
|
2135
2135
|
return w(this._bodyBlob);
|
|
2136
2136
|
if (this._bodyArrayBuffer)
|
|
2137
|
-
return Promise.resolve(
|
|
2137
|
+
return Promise.resolve(x(this._bodyArrayBuffer));
|
|
2138
2138
|
if (this._bodyFormData)
|
|
2139
2139
|
throw new Error("could not read FormData body as text");
|
|
2140
2140
|
return Promise.resolve(this._bodyText);
|
|
@@ -2144,10 +2144,10 @@ function Ba() {
|
|
|
2144
2144
|
return this.text().then(JSON.parse);
|
|
2145
2145
|
}, this;
|
|
2146
2146
|
}
|
|
2147
|
-
var
|
|
2147
|
+
var S = ["DELETE", "GET", "HEAD", "OPTIONS", "POST", "PUT"];
|
|
2148
2148
|
function O(c) {
|
|
2149
2149
|
var h = c.toUpperCase();
|
|
2150
|
-
return
|
|
2150
|
+
return S.indexOf(h) > -1 ? h : c;
|
|
2151
2151
|
}
|
|
2152
2152
|
function E(c, h) {
|
|
2153
2153
|
h = h || {};
|
|
@@ -2169,17 +2169,17 @@ function Ba() {
|
|
|
2169
2169
|
var h = new FormData();
|
|
2170
2170
|
return c.trim().split("&").forEach(function(T) {
|
|
2171
2171
|
if (T) {
|
|
2172
|
-
var B = T.split("="),
|
|
2173
|
-
h.append(decodeURIComponent(
|
|
2172
|
+
var B = T.split("="), D = B.shift().replace(/\+/g, " "), C = B.join("=").replace(/\+/g, " ");
|
|
2173
|
+
h.append(decodeURIComponent(D), decodeURIComponent(C));
|
|
2174
2174
|
}
|
|
2175
2175
|
}), h;
|
|
2176
2176
|
}
|
|
2177
2177
|
function L(c) {
|
|
2178
2178
|
var h = new p(), T = c.replace(/\r?\n[\t ]+/g, " ");
|
|
2179
2179
|
return T.split(/\r?\n/).forEach(function(B) {
|
|
2180
|
-
var
|
|
2180
|
+
var D = B.split(":"), C = D.shift().trim();
|
|
2181
2181
|
if (C) {
|
|
2182
|
-
var H =
|
|
2182
|
+
var H = D.join(":").trim();
|
|
2183
2183
|
h.append(C, H);
|
|
2184
2184
|
}
|
|
2185
2185
|
}), h;
|
|
@@ -2214,38 +2214,38 @@ function Ba() {
|
|
|
2214
2214
|
this.stack = B.stack;
|
|
2215
2215
|
}, o.DOMException.prototype = Object.create(Error.prototype), o.DOMException.prototype.constructor = o.DOMException;
|
|
2216
2216
|
}
|
|
2217
|
-
function
|
|
2217
|
+
function z(c, h) {
|
|
2218
2218
|
return new Promise(function(T, B) {
|
|
2219
|
-
var
|
|
2220
|
-
if (
|
|
2219
|
+
var D = new E(c, h);
|
|
2220
|
+
if (D.signal && D.signal.aborted)
|
|
2221
2221
|
return B(new o.DOMException("Aborted", "AbortError"));
|
|
2222
2222
|
var C = new XMLHttpRequest();
|
|
2223
2223
|
function H() {
|
|
2224
2224
|
C.abort();
|
|
2225
2225
|
}
|
|
2226
2226
|
C.onload = function() {
|
|
2227
|
-
var
|
|
2227
|
+
var j = {
|
|
2228
2228
|
status: C.status,
|
|
2229
2229
|
statusText: C.statusText,
|
|
2230
2230
|
headers: L(C.getAllResponseHeaders() || "")
|
|
2231
2231
|
};
|
|
2232
|
-
|
|
2233
|
-
var
|
|
2234
|
-
T(new P(
|
|
2232
|
+
j.url = "responseURL" in C ? C.responseURL : j.headers.get("X-Request-URL");
|
|
2233
|
+
var I = "response" in C ? C.response : C.responseText;
|
|
2234
|
+
T(new P(I, j));
|
|
2235
2235
|
}, C.onerror = function() {
|
|
2236
2236
|
B(new TypeError("Network request failed"));
|
|
2237
2237
|
}, C.ontimeout = function() {
|
|
2238
2238
|
B(new TypeError("Network request failed"));
|
|
2239
2239
|
}, C.onabort = function() {
|
|
2240
2240
|
B(new o.DOMException("Aborted", "AbortError"));
|
|
2241
|
-
}, C.open(
|
|
2242
|
-
C.setRequestHeader(
|
|
2243
|
-
}),
|
|
2244
|
-
C.readyState === 4 &&
|
|
2245
|
-
}), C.send(typeof
|
|
2241
|
+
}, C.open(D.method, D.url, !0), D.credentials === "include" ? C.withCredentials = !0 : D.credentials === "omit" && (C.withCredentials = !1), "responseType" in C && s.blob && (C.responseType = "blob"), D.headers.forEach(function(j, I) {
|
|
2242
|
+
C.setRequestHeader(I, j);
|
|
2243
|
+
}), D.signal && (D.signal.addEventListener("abort", H), C.onreadystatechange = function() {
|
|
2244
|
+
C.readyState === 4 && D.signal.removeEventListener("abort", H);
|
|
2245
|
+
}), C.send(typeof D._bodyInit > "u" ? null : D._bodyInit);
|
|
2246
2246
|
});
|
|
2247
2247
|
}
|
|
2248
|
-
return
|
|
2248
|
+
return z.polyfill = !0, i.fetch || (i.fetch = z, i.Headers = p, i.Request = E, i.Response = P), o.Headers = p, o.Request = E, o.Response = P, o.fetch = z, Object.defineProperty(o, "__esModule", { value: !0 }), o;
|
|
2249
2249
|
})({});
|
|
2250
2250
|
})(e), e.fetch.ponyfill = !0, delete e.fetch.polyfill;
|
|
2251
2251
|
var r = e;
|
|
@@ -2256,14 +2256,14 @@ var tt;
|
|
|
2256
2256
|
function Ua() {
|
|
2257
2257
|
return tt || (tt = 1, function(n, t) {
|
|
2258
2258
|
var a;
|
|
2259
|
-
if (typeof fetch == "function" && (typeof Te < "u" && Te.fetch ? a = Te.fetch : typeof window < "u" && window.fetch ? a = window.fetch : a = fetch), typeof
|
|
2259
|
+
if (typeof fetch == "function" && (typeof Te < "u" && Te.fetch ? a = Te.fetch : typeof window < "u" && window.fetch ? a = window.fetch : a = fetch), typeof Da < "u" && (typeof window > "u" || typeof window.document > "u")) {
|
|
2260
2260
|
var e = a || Ba();
|
|
2261
2261
|
e.default && (e = e.default), t.default = e, n.exports = t.default;
|
|
2262
2262
|
}
|
|
2263
2263
|
}(se, se.exports)), se.exports;
|
|
2264
2264
|
}
|
|
2265
2265
|
var kt = Ua();
|
|
2266
|
-
const Ct = /* @__PURE__ */ ht(kt), at = /* @__PURE__ */
|
|
2266
|
+
const Ct = /* @__PURE__ */ ht(kt), at = /* @__PURE__ */ Dt({
|
|
2267
2267
|
__proto__: null,
|
|
2268
2268
|
default: Ct
|
|
2269
2269
|
}, [kt]);
|
|
@@ -2326,7 +2326,7 @@ var Ue = function(t, a) {
|
|
|
2326
2326
|
r(u);
|
|
2327
2327
|
}
|
|
2328
2328
|
}
|
|
2329
|
-
},
|
|
2329
|
+
}, Fa = function(t, a, e, r) {
|
|
2330
2330
|
e && pe(e) === "object" && (e = Ue("", e).slice(1)), t.queryStringParams && (a = Ue(a, t.queryStringParams));
|
|
2331
2331
|
try {
|
|
2332
2332
|
var i;
|
|
@@ -2344,26 +2344,26 @@ var Ue = function(t, a) {
|
|
|
2344
2344
|
} catch (l) {
|
|
2345
2345
|
console && console.log(l);
|
|
2346
2346
|
}
|
|
2347
|
-
},
|
|
2347
|
+
}, ja = function(t, a, e, r) {
|
|
2348
2348
|
if (typeof e == "function" && (r = e, e = void 0), r = r || function() {
|
|
2349
2349
|
}, V)
|
|
2350
2350
|
return Na(t, a, e, r);
|
|
2351
2351
|
if (Tt() || typeof ActiveXObject == "function")
|
|
2352
|
-
return
|
|
2352
|
+
return Fa(t, a, e, r);
|
|
2353
2353
|
r(new Error("No fetch and no xhr implementation found!"));
|
|
2354
2354
|
};
|
|
2355
|
-
function
|
|
2355
|
+
function za(n, t) {
|
|
2356
2356
|
if (!(n instanceof t))
|
|
2357
2357
|
throw new TypeError("Cannot call a class as a function");
|
|
2358
2358
|
}
|
|
2359
|
-
function
|
|
2359
|
+
function Ia(n, t) {
|
|
2360
2360
|
for (var a = 0; a < t.length; a++) {
|
|
2361
2361
|
var e = t[a];
|
|
2362
2362
|
e.enumerable = e.enumerable || !1, e.configurable = !0, "value" in e && (e.writable = !0), Object.defineProperty(n, e.key, e);
|
|
2363
2363
|
}
|
|
2364
2364
|
}
|
|
2365
|
-
function
|
|
2366
|
-
return t &&
|
|
2365
|
+
function Ma(n, t, a) {
|
|
2366
|
+
return t && Ia(n.prototype, t), Object.defineProperty(n, "prototype", { writable: !1 }), n;
|
|
2367
2367
|
}
|
|
2368
2368
|
function _a(n, t, a) {
|
|
2369
2369
|
return t in n ? Object.defineProperty(n, t, { value: a, enumerable: !0, configurable: !0, writable: !0 }) : n[t] = a, n;
|
|
@@ -2380,7 +2380,7 @@ var Ha = function() {
|
|
|
2380
2380
|
parsePayload: function(a, e, r) {
|
|
2381
2381
|
return _a({}, e, r || "");
|
|
2382
2382
|
},
|
|
2383
|
-
request:
|
|
2383
|
+
request: ja,
|
|
2384
2384
|
reloadInterval: typeof window < "u" ? !1 : 60 * 60 * 1e3,
|
|
2385
2385
|
customHeaders: {},
|
|
2386
2386
|
queryStringParams: {},
|
|
@@ -2396,9 +2396,9 @@ var Ha = function() {
|
|
|
2396
2396
|
}, Lt = function() {
|
|
2397
2397
|
function n(t) {
|
|
2398
2398
|
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, e = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
2399
|
-
|
|
2399
|
+
za(this, n), this.services = t, this.options = a, this.allOptions = e, this.type = "backend", this.init(t, a, e);
|
|
2400
2400
|
}
|
|
2401
|
-
return
|
|
2401
|
+
return Ma(n, [{
|
|
2402
2402
|
key: "init",
|
|
2403
2403
|
value: function(a) {
|
|
2404
2404
|
var e = this, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
@@ -2694,7 +2694,7 @@ function tr() {
|
|
|
2694
2694
|
var Ot = /* @__PURE__ */ function() {
|
|
2695
2695
|
function n(t) {
|
|
2696
2696
|
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
2697
|
-
|
|
2697
|
+
M(this, n), this.type = "languageDetector", this.detectors = {}, this.init(t, a);
|
|
2698
2698
|
}
|
|
2699
2699
|
return _(n, [{
|
|
2700
2700
|
key: "init",
|
|
@@ -2763,14 +2763,14 @@ const ar = {
|
|
|
2763
2763
|
"datepicker.preset.thirtyDays": "Letzte 30 Tage",
|
|
2764
2764
|
"datepicker.preset.today": "Heute",
|
|
2765
2765
|
"datepicker.presetsLabel": "Bereiche",
|
|
2766
|
-
"fileUpload.acceptedTypes": { one: "{{fileTypes}} Format akzeptiert", other: "{{fileTypes}} akzeptierte Formate" },
|
|
2766
|
+
"fileUpload.acceptedTypes": { one: "{{fileTypes}} Format akzeptiert", other: "{{fileTypes}} akzeptierte Formate", zero: null },
|
|
2767
2767
|
"fileUpload.acceptedTypes.one": "{{fileTypes}} Format akzeptiert",
|
|
2768
2768
|
"fileUpload.acceptedTypes.other": "{{fileTypes}} akzeptierte Formate",
|
|
2769
|
-
"fileUpload.cancelled": { one: "Datei-Upload fehlgeschlagen", other: "Datei-Upload(s) fehlgeschlagen" },
|
|
2769
|
+
"fileUpload.cancelled": { one: "Datei-Upload fehlgeschlagen", other: "Datei-Upload(s) fehlgeschlagen", zero: null },
|
|
2770
2770
|
"fileUpload.cancelled.one": "Datei-Upload fehlgeschlagen",
|
|
2771
2771
|
"fileUpload.cancelled.other": "Datei-Upload(s) fehlgeschlagen",
|
|
2772
2772
|
"fileUpload.close": "Schließen",
|
|
2773
|
-
"fileUpload.instructions": { one: "Ziehen Sie Ihre Datei per Drag & Drop hierher oder |suchen Sie nach einer Datei| auf Ihrem Desktop.", other: "Ziehen Sie Ihre Dateien per Drag & Drop hierher oder |suchen Sie nach Dateien| auf Ihrem Desktop." },
|
|
2773
|
+
"fileUpload.instructions": { one: "Ziehen Sie Ihre Datei per Drag & Drop hierher oder |suchen Sie nach einer Datei| auf Ihrem Desktop.", other: "Ziehen Sie Ihre Dateien per Drag & Drop hierher oder |suchen Sie nach Dateien| auf Ihrem Desktop.", zero: null },
|
|
2774
2774
|
"fileUpload.instructions.one": "Ziehen Sie Ihre Datei per Drag & Drop hierher oder |suchen Sie nach einer Datei| auf Ihrem Desktop.",
|
|
2775
2775
|
"fileUpload.instructions.other": "Ziehen Sie Ihre Dateien per Drag & Drop hierher oder |suchen Sie nach Dateien| auf Ihrem Desktop.",
|
|
2776
2776
|
"fileUpload.maximumSize": "{{size}} maximal",
|
|
@@ -2841,13 +2841,9 @@ const ar = {
|
|
|
2841
2841
|
"addToList.noDataZeroStateOnColumnSubheading": "Move options from the {{columnName}}",
|
|
2842
2842
|
"addToList.offColumnHeader": "Off Column",
|
|
2843
2843
|
"addToList.onColumnHeader": "On Column",
|
|
2844
|
-
"addToList.moreOptionsAvailable": "More options available. Use the search field to filter results.",
|
|
2845
2844
|
"advancedSearch.clear": "Clear Fields",
|
|
2846
2845
|
"advancedSearch.search": "Search",
|
|
2847
2846
|
"button.spinningTitle": "Loading…",
|
|
2848
|
-
"columnChooser.applyChanges": "Apply Changes",
|
|
2849
|
-
"columnChooser.findColumnsToAdd": "Find Columns to Add",
|
|
2850
|
-
"columnChooser.selected": "Selected",
|
|
2851
2847
|
"columnChooser.removeButton": "Remove {{elementName}}",
|
|
2852
2848
|
"columnManager.cancelButton": "Cancel",
|
|
2853
2849
|
"columnManager.filterText": "Find a Column",
|
|
@@ -2857,9 +2853,6 @@ const ar = {
|
|
|
2857
2853
|
"columnManager.title": "Manage Table Columns",
|
|
2858
2854
|
"contentRow.collapse": "Collapse",
|
|
2859
2855
|
"contentRow.expand": "Expand",
|
|
2860
|
-
"contextBar.viewing": "Viewing",
|
|
2861
|
-
"contextBar.in": "in",
|
|
2862
|
-
"contextBar.change": "Change",
|
|
2863
2856
|
"datepicker.calendar.nextMonth": "View Next Month",
|
|
2864
2857
|
"datepicker.calendar.prevMonth": "View Previous Month",
|
|
2865
2858
|
"datepicker.preset.after": "After",
|
|
@@ -2872,12 +2865,14 @@ const ar = {
|
|
|
2872
2865
|
"datepicker.preset.thirtyDays": "Last 30 days",
|
|
2873
2866
|
"datepicker.preset.today": "Today",
|
|
2874
2867
|
"datepicker.presetsLabel": "Ranges",
|
|
2875
|
-
"
|
|
2868
|
+
"fileUpload.acceptedTypes": { one: "{{fileTypes}} format accepted", other: "{{fileTypes}} formats accepted", zero: null },
|
|
2876
2869
|
"fileUpload.acceptedTypes.one": "{{fileTypes}} format accepted",
|
|
2877
2870
|
"fileUpload.acceptedTypes.other": "{{fileTypes}} formats accepted",
|
|
2871
|
+
"fileUpload.cancelled": { one: "File Upload Failed", other: "File Upload(s) Failed", zero: null },
|
|
2878
2872
|
"fileUpload.cancelled.one": "File Upload Failed",
|
|
2879
2873
|
"fileUpload.cancelled.other": "File Upload(s) Failed",
|
|
2880
2874
|
"fileUpload.close": "Close",
|
|
2875
|
+
"fileUpload.instructions": { one: "Drag and drop your file here or |browse for a file| on your desktop.", other: "Drag and drop your files here or |browse for files| on your desktop.", zero: null },
|
|
2881
2876
|
"fileUpload.instructions.one": "Drag and drop your file here or |browse for a file| on your desktop.",
|
|
2882
2877
|
"fileUpload.instructions.other": "Drag and drop your files here or |browse for files| on your desktop.",
|
|
2883
2878
|
"fileUpload.maximumSize": "{{size}} maximum",
|
|
@@ -2894,8 +2889,6 @@ const ar = {
|
|
|
2894
2889
|
"insightTile.all": "ALL",
|
|
2895
2890
|
"insightTile.partnerCount": "{{count}} |of| {{total}}",
|
|
2896
2891
|
"insightTile.partners": "PARTNERS",
|
|
2897
|
-
"insights.hideAdditionalInsights": "Hide Additional Insights",
|
|
2898
|
-
"insights.showAdditionalInsights": "Show Additional Insights",
|
|
2899
2892
|
"label.errors.dateConstraint.max": "Please enter a date on or prior to {{context.maxExceeded}}.",
|
|
2900
2893
|
"label.errors.dateConstraint.min": "Please enter a date on or after {{context.minExceeded}}.",
|
|
2901
2894
|
"label.errors.dateFormat": "Please enter a date in the format {{context}}.",
|
|
@@ -2915,7 +2908,6 @@ const ar = {
|
|
|
2915
2908
|
"listActionBar.clearSelected": "Clear Selected",
|
|
2916
2909
|
"listActionBar.itemsSelected": "Items Selected",
|
|
2917
2910
|
"listToolbar.advancedSearchToggle": "Advanced Search",
|
|
2918
|
-
"matrix.cell.null": "null",
|
|
2919
2911
|
"modal.close": "Close modal",
|
|
2920
2912
|
"modal.defaultButtonLabel": "Okay",
|
|
2921
2913
|
"modal.defaultTitle.general": "Action",
|
|
@@ -2924,20 +2916,11 @@ const ar = {
|
|
|
2924
2916
|
"modal.defaultTitle.success": "Success",
|
|
2925
2917
|
"modal.defaultTitle.warning": "Warning",
|
|
2926
2918
|
"pagination.nextPage": "Next Page",
|
|
2927
|
-
"pagination.of": "of",
|
|
2928
|
-
"pagination.many": "many",
|
|
2929
2919
|
"pagination.ofMany": "of many",
|
|
2930
2920
|
"pagination.ofPageCount": "of {{pageCount}}",
|
|
2931
2921
|
"pagination.page": "Page",
|
|
2932
|
-
"pagination.perPage": "Per Page",
|
|
2933
2922
|
"pagination.prevPage": "Previous Page",
|
|
2934
|
-
"pagination.view": "View",
|
|
2935
|
-
"pagination.viewing": "Viewing",
|
|
2936
2923
|
"progressBar.closeButtonTitle": "Close progress bar",
|
|
2937
|
-
"productBar.current": "current",
|
|
2938
|
-
"richTextEditor.linkModal.text": "Text",
|
|
2939
|
-
"richTextEditor.linkModal.link": "Link",
|
|
2940
|
-
"richTextEditor.linkModal.ok": "OK",
|
|
2941
2924
|
"searchResultsBar.clear": "Clear",
|
|
2942
2925
|
"searchResultsBar.clearResults": "Clear Results",
|
|
2943
2926
|
"searchResultsBar.count": "{{count}} of {{total}}",
|
|
@@ -2984,14 +2967,14 @@ const ar = {
|
|
|
2984
2967
|
"datepicker.preset.thirtyDays": "Últimos 30 días",
|
|
2985
2968
|
"datepicker.preset.today": "Hoy",
|
|
2986
2969
|
"datepicker.presetsLabel": "Rangos",
|
|
2987
|
-
"fileUpload.acceptedTypes": { one: "Formato {{fileTypes}} aceptado", other: "Formatos {{fileTypes}} aceptados" },
|
|
2970
|
+
"fileUpload.acceptedTypes": { many: null, one: "Formato {{fileTypes}} aceptado", other: "Formatos {{fileTypes}} aceptados", zero: null },
|
|
2988
2971
|
"fileUpload.acceptedTypes.one": "Formato {{fileTypes}} aceptado",
|
|
2989
2972
|
"fileUpload.acceptedTypes.other": "Formatos {{fileTypes}} aceptados",
|
|
2990
|
-
"fileUpload.cancelled": { one: "Error al cargar el archivo", other: "Error en la carga de archivos" },
|
|
2973
|
+
"fileUpload.cancelled": { many: null, one: "Error al cargar el archivo", other: "Error en la carga de archivos", zero: null },
|
|
2991
2974
|
"fileUpload.cancelled.one": "Error al cargar el archivo",
|
|
2992
2975
|
"fileUpload.cancelled.other": "Error en la carga de archivos",
|
|
2993
2976
|
"fileUpload.close": "Cerrar",
|
|
2994
|
-
"fileUpload.instructions": { one: "Arrastre y suelte su archivo aquí o busque un archivo en su escritorio.", other: "Arrastre y suelte sus archivos aquí o busque archivos en su escritorio." },
|
|
2977
|
+
"fileUpload.instructions": { many: null, one: "Arrastre y suelte su archivo aquí o busque un archivo en su escritorio.", other: "Arrastre y suelte sus archivos aquí o busque archivos en su escritorio.", zero: null },
|
|
2995
2978
|
"fileUpload.instructions.one": "Arrastre y suelte su archivo aquí o busque un archivo en su escritorio.",
|
|
2996
2979
|
"fileUpload.instructions.other": "Arrastre y suelte sus archivos aquí o busque archivos en su escritorio.",
|
|
2997
2980
|
"fileUpload.maximumSize": "{{size}} máximo",
|
|
@@ -3086,14 +3069,14 @@ const ar = {
|
|
|
3086
3069
|
"datepicker.preset.thirtyDays": "Les 30 derniers jours",
|
|
3087
3070
|
"datepicker.preset.today": "Aujourd'hui",
|
|
3088
3071
|
"datepicker.presetsLabel": "Gammes",
|
|
3089
|
-
"fileUpload.acceptedTypes": { one: "Format {{fileTypes}} accepté", other: "Formats {{fileTypes}} acceptés" },
|
|
3072
|
+
"fileUpload.acceptedTypes": { many: null, one: "Format {{fileTypes}} accepté", other: "Formats {{fileTypes}} acceptés", zero: null },
|
|
3090
3073
|
"fileUpload.acceptedTypes.one": "Format {{fileTypes}} accepté",
|
|
3091
3074
|
"fileUpload.acceptedTypes.other": "Formats {{fileTypes}} acceptés",
|
|
3092
|
-
"fileUpload.cancelled": { one: "Échec du téléchargement du fichier", other: "Échec du téléchargement du fichier" },
|
|
3075
|
+
"fileUpload.cancelled": { many: null, one: "Échec du téléchargement du fichier", other: "Échec du téléchargement du fichier", zero: null },
|
|
3093
3076
|
"fileUpload.cancelled.one": "Échec du téléchargement du fichier",
|
|
3094
3077
|
"fileUpload.cancelled.other": "Échec du téléchargement du fichier",
|
|
3095
3078
|
"fileUpload.close": "Fermer",
|
|
3096
|
-
"fileUpload.instructions": { one: "Faites glisser et déposez votre fichier ici ou |recherchez un fichier| sur votre bureau.", other: "Faites glisser et déposez vos fichiers ici ou |recherchez des fichiers| sur votre bureau." },
|
|
3079
|
+
"fileUpload.instructions": { many: null, one: "Faites glisser et déposez votre fichier ici ou |recherchez un fichier| sur votre bureau.", other: "Faites glisser et déposez vos fichiers ici ou |recherchez des fichiers| sur votre bureau.", zero: null },
|
|
3097
3080
|
"fileUpload.instructions.one": "Faites glisser et déposez votre fichier ici ou |recherchez un fichier| sur votre bureau.",
|
|
3098
3081
|
"fileUpload.instructions.other": "Faites glisser et déposez vos fichiers ici ou |recherchez des fichiers| sur votre bureau.",
|
|
3099
3082
|
"fileUpload.maximumSize": "{{size}} maximum",
|
|
@@ -3188,14 +3171,14 @@ const ar = {
|
|
|
3188
3171
|
"datepicker.preset.thirtyDays": "30 derniers jours",
|
|
3189
3172
|
"datepicker.preset.today": "Aujourd'hui",
|
|
3190
3173
|
"datepicker.presetsLabel": "Gammes",
|
|
3191
|
-
"fileUpload.acceptedTypes": { one: "Format {{fileTypes}} accepté", other: "Formats {{fileTypes}} acceptés" },
|
|
3174
|
+
"fileUpload.acceptedTypes": { many: null, one: "Format {{fileTypes}} accepté", other: "Formats {{fileTypes}} acceptés", zero: null },
|
|
3192
3175
|
"fileUpload.acceptedTypes.one": "Format {{fileTypes}} accepté",
|
|
3193
3176
|
"fileUpload.acceptedTypes.other": "Formats {{fileTypes}} acceptés",
|
|
3194
|
-
"fileUpload.cancelled": { one: "Échec du téléchargement du fichier", other: "Échec du téléchargement du fichier" },
|
|
3177
|
+
"fileUpload.cancelled": { many: null, one: "Échec du téléchargement du fichier", other: "Échec du téléchargement du fichier", zero: null },
|
|
3195
3178
|
"fileUpload.cancelled.one": "Échec du téléchargement du fichier",
|
|
3196
3179
|
"fileUpload.cancelled.other": "Échec du téléchargement du fichier",
|
|
3197
3180
|
"fileUpload.close": "Fermer",
|
|
3198
|
-
"fileUpload.instructions": { one: "Faites glisser et déposez votre fichier ici ou |recherchez un fichier| sur votre bureau.", other: "Faites glisser et déposez vos fichiers ici ou |recherchez des fichiers| sur votre bureau." },
|
|
3181
|
+
"fileUpload.instructions": { many: null, one: "Faites glisser et déposez votre fichier ici ou |recherchez un fichier| sur votre bureau.", other: "Faites glisser et déposez vos fichiers ici ou |recherchez des fichiers| sur votre bureau.", zero: null },
|
|
3199
3182
|
"fileUpload.instructions.one": "Faites glisser et déposez votre fichier ici ou |recherchez un fichier| sur votre bureau.",
|
|
3200
3183
|
"fileUpload.instructions.other": "Faites glisser et déposez vos fichiers ici ou |recherchez des fichiers| sur votre bureau.",
|
|
3201
3184
|
"fileUpload.maximumSize": "{{size}} maximum",
|
|
@@ -3290,14 +3273,14 @@ const ar = {
|
|
|
3290
3273
|
"datepicker.preset.thirtyDays": "Ultimi 30 giorni",
|
|
3291
3274
|
"datepicker.preset.today": "Oggi",
|
|
3292
3275
|
"datepicker.presetsLabel": "Gamme",
|
|
3293
|
-
"fileUpload.acceptedTypes": { one: "Formato {{fileTypes}} accettato", other: "Formati accettati {{fileTypes}}" },
|
|
3276
|
+
"fileUpload.acceptedTypes": { many: null, one: "Formato {{fileTypes}} accettato", other: "Formati accettati {{fileTypes}}", zero: null },
|
|
3294
3277
|
"fileUpload.acceptedTypes.one": "Formato {{fileTypes}} accettato",
|
|
3295
3278
|
"fileUpload.acceptedTypes.other": "Formati accettati {{fileTypes}}",
|
|
3296
|
-
"fileUpload.cancelled": { one: "Caricamento file non riuscito", other: "Caricamento file non riuscito" },
|
|
3279
|
+
"fileUpload.cancelled": { many: null, one: "Caricamento file non riuscito", other: "Caricamento file non riuscito", zero: null },
|
|
3297
3280
|
"fileUpload.cancelled.one": "Caricamento file non riuscito",
|
|
3298
3281
|
"fileUpload.cancelled.other": "Caricamento file non riuscito",
|
|
3299
3282
|
"fileUpload.close": "Chiudi",
|
|
3300
|
-
"fileUpload.instructions": { one: "Trascina e rilascia il tuo file qui oppure |cerca un file| sul desktop.", other: "Trascina e rilascia i tuoi file qui oppure |cerca file| sul desktop." },
|
|
3283
|
+
"fileUpload.instructions": { many: null, one: "Trascina e rilascia il tuo file qui oppure |cerca un file| sul desktop.", other: "Trascina e rilascia i tuoi file qui oppure |cerca file| sul desktop.", zero: null },
|
|
3301
3284
|
"fileUpload.instructions.one": "Trascina e rilascia il tuo file qui oppure |cerca un file| sul desktop.",
|
|
3302
3285
|
"fileUpload.instructions.other": "Trascina e rilascia i tuoi file qui oppure |cerca file| sul desktop.",
|
|
3303
3286
|
"fileUpload.maximumSize": "{{size}} massimo",
|
|
@@ -3392,14 +3375,14 @@ const ar = {
|
|
|
3392
3375
|
"datepicker.preset.thirtyDays": "Laatste 30 dagen",
|
|
3393
3376
|
"datepicker.preset.today": "Vandaag",
|
|
3394
3377
|
"datepicker.presetsLabel": "Bereiken",
|
|
3395
|
-
"fileUpload.acceptedTypes": { one: "{{fileTypes}} formaat geaccepteerd", other: "{{fileTypes}} formaten geaccepteerd" },
|
|
3378
|
+
"fileUpload.acceptedTypes": { one: "{{fileTypes}} formaat geaccepteerd", other: "{{fileTypes}} formaten geaccepteerd", zero: null },
|
|
3396
3379
|
"fileUpload.acceptedTypes.one": "{{fileTypes}} formaat geaccepteerd",
|
|
3397
3380
|
"fileUpload.acceptedTypes.other": "{{fileTypes}} formaten geaccepteerd",
|
|
3398
|
-
"fileUpload.cancelled": { one: "Bestandsupload mislukt", other: "Bestandsupload(s) mislukt" },
|
|
3381
|
+
"fileUpload.cancelled": { one: "Bestandsupload mislukt", other: "Bestandsupload(s) mislukt", zero: null },
|
|
3399
3382
|
"fileUpload.cancelled.one": "Bestandsupload mislukt",
|
|
3400
3383
|
"fileUpload.cancelled.other": "Bestandsupload(s) mislukt",
|
|
3401
3384
|
"fileUpload.close": "Dicht",
|
|
3402
|
-
"fileUpload.instructions": { one: "Sleep uw bestand hierheen of |blader naar een bestand| op uw bureaublad.", other: "Sleep uw bestanden hierheen of |blader naar bestanden| op uw bureaublad." },
|
|
3385
|
+
"fileUpload.instructions": { one: "Sleep uw bestand hierheen of |blader naar een bestand| op uw bureaublad.", other: "Sleep uw bestanden hierheen of |blader naar bestanden| op uw bureaublad.", zero: null },
|
|
3403
3386
|
"fileUpload.instructions.one": "Sleep uw bestand hierheen of |blader naar een bestand| op uw bureaublad.",
|
|
3404
3387
|
"fileUpload.instructions.other": "Sleep uw bestanden hierheen of |blader naar bestanden| op uw bureaublad.",
|
|
3405
3388
|
"fileUpload.maximumSize": "{{size}} maximaal",
|
|
@@ -3494,14 +3477,14 @@ const ar = {
|
|
|
3494
3477
|
"datepicker.preset.thirtyDays": "最近 30 天",
|
|
3495
3478
|
"datepicker.preset.today": "今天",
|
|
3496
3479
|
"datepicker.presetsLabel": "范围",
|
|
3497
|
-
"fileUpload.acceptedTypes": { other: "接受{{fileTypes}}个格式" },
|
|
3480
|
+
"fileUpload.acceptedTypes": { other: "接受{{fileTypes}}个格式", zero: null },
|
|
3498
3481
|
"fileUpload.acceptedTypes.one": "{{fileTypes}}格式已接受",
|
|
3499
3482
|
"fileUpload.acceptedTypes.other": "接受{{fileTypes}}个格式",
|
|
3500
|
-
"fileUpload.cancelled": { other: "文件上传失败" },
|
|
3483
|
+
"fileUpload.cancelled": { other: "文件上传失败", zero: null },
|
|
3501
3484
|
"fileUpload.cancelled.one": "文件上传失败",
|
|
3502
3485
|
"fileUpload.cancelled.other": "文件上传失败",
|
|
3503
3486
|
"fileUpload.close": "关闭",
|
|
3504
|
-
"fileUpload.instructions": { other: "将您的文件拖放到此处或|浏览文件|到您的桌面上。" },
|
|
3487
|
+
"fileUpload.instructions": { other: "将您的文件拖放到此处或|浏览文件|到您的桌面上。", zero: null },
|
|
3505
3488
|
"fileUpload.instructions.one": "将您的文件拖放到此处或在桌面上|浏览文件|。",
|
|
3506
3489
|
"fileUpload.instructions.other": "将您的文件拖放到此处或|浏览文件|到您的桌面上。",
|
|
3507
3490
|
"fileUpload.maximumSize": "最大{{size}}",
|
|
@@ -3596,14 +3579,14 @@ const ar = {
|
|
|
3596
3579
|
"datepicker.preset.thirtyDays": "最近30天",
|
|
3597
3580
|
"datepicker.preset.today": "今天",
|
|
3598
3581
|
"datepicker.presetsLabel": "範圍",
|
|
3599
|
-
"fileUpload.acceptedTypes": { other: "接受{{fileTypes}}個格式" },
|
|
3582
|
+
"fileUpload.acceptedTypes": { other: "接受{{fileTypes}}個格式", zero: null },
|
|
3600
3583
|
"fileUpload.acceptedTypes.one": "{{fileTypes}}格式已接受",
|
|
3601
3584
|
"fileUpload.acceptedTypes.other": "接受{{fileTypes}}個格式",
|
|
3602
|
-
"fileUpload.cancelled": { other: "文件上傳失敗" },
|
|
3585
|
+
"fileUpload.cancelled": { other: "文件上傳失敗", zero: null },
|
|
3603
3586
|
"fileUpload.cancelled.one": "文件上傳失敗",
|
|
3604
3587
|
"fileUpload.cancelled.other": "文件上傳失敗",
|
|
3605
3588
|
"fileUpload.close": "關閉",
|
|
3606
|
-
"fileUpload.instructions": { other: "將您的文件拖曳到此處或|瀏覽文件|到您的桌面上。" },
|
|
3589
|
+
"fileUpload.instructions": { other: "將您的文件拖曳到此處或|瀏覽文件|到您的桌面上。", zero: null },
|
|
3607
3590
|
"fileUpload.instructions.one": "將您的文件拖放到此處或在桌面上|瀏覽文件|。",
|
|
3608
3591
|
"fileUpload.instructions.other": "將您的文件拖曳到此處或|瀏覽文件|到您的桌面上。",
|
|
3609
3592
|
"fileUpload.maximumSize": "最大{{size}}",
|
|
@@ -3763,7 +3746,7 @@ function pr({
|
|
|
3763
3746
|
ae.changeLanguage(d);
|
|
3764
3747
|
}), u;
|
|
3765
3748
|
}
|
|
3766
|
-
const hr =
|
|
3749
|
+
const hr = Sa;
|
|
3767
3750
|
function gr(n = "translation", t) {
|
|
3768
3751
|
return wt(n, t);
|
|
3769
3752
|
}
|