@spscommerce/i18n 8.45.3 → 8.45.5
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/browser-ponyfill-83P4QcZQ.js +366 -0
- package/lib/index-ZNLhhFMv.js +3734 -0
- package/lib/index.js +7 -3837
- package/lib/index.umd.cjs +4 -2
- package/package.json +4 -4
|
@@ -0,0 +1,3734 @@
|
|
|
1
|
+
import { createContext as Ut, useContext as ut, createElement as le, isValidElement as ce, cloneElement as ie, useState as jt, useRef as Oe, useEffect as Ee } from "react";
|
|
2
|
+
function R(n) {
|
|
3
|
+
"@babel/helpers - typeof";
|
|
4
|
+
return R = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
5
|
+
return typeof t;
|
|
6
|
+
} : function(t) {
|
|
7
|
+
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
8
|
+
}, R(n);
|
|
9
|
+
}
|
|
10
|
+
function At(n, t) {
|
|
11
|
+
if (R(n) != "object" || !n) return n;
|
|
12
|
+
var a = n[Symbol.toPrimitive];
|
|
13
|
+
if (a !== void 0) {
|
|
14
|
+
var e = a.call(n, t);
|
|
15
|
+
if (R(e) != "object") return e;
|
|
16
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
17
|
+
}
|
|
18
|
+
return String(n);
|
|
19
|
+
}
|
|
20
|
+
function ct(n) {
|
|
21
|
+
var t = At(n, "string");
|
|
22
|
+
return R(t) == "symbol" ? t : t + "";
|
|
23
|
+
}
|
|
24
|
+
function me(n, t, a) {
|
|
25
|
+
return (t = ct(t)) in n ? Object.defineProperty(n, t, {
|
|
26
|
+
value: a,
|
|
27
|
+
enumerable: !0,
|
|
28
|
+
configurable: !0,
|
|
29
|
+
writable: !0
|
|
30
|
+
}) : n[t] = a, n;
|
|
31
|
+
}
|
|
32
|
+
function E(n) {
|
|
33
|
+
for (var t = 1; t < arguments.length; t++) {
|
|
34
|
+
var a = arguments[t] != null ? Object(arguments[t]) : {}, e = Object.keys(a);
|
|
35
|
+
typeof Object.getOwnPropertySymbols == "function" && e.push.apply(e, Object.getOwnPropertySymbols(a).filter(function(r) {
|
|
36
|
+
return Object.getOwnPropertyDescriptor(a, r).enumerable;
|
|
37
|
+
})), e.forEach(function(r) {
|
|
38
|
+
me(n, r, a[r]);
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
return n;
|
|
42
|
+
}
|
|
43
|
+
function U(n, t) {
|
|
44
|
+
if (!(n instanceof t)) throw new TypeError("Cannot call a class as a function");
|
|
45
|
+
}
|
|
46
|
+
function Ie(n, t) {
|
|
47
|
+
for (var a = 0; a < t.length; a++) {
|
|
48
|
+
var e = t[a];
|
|
49
|
+
e.enumerable = e.enumerable || !1, e.configurable = !0, "value" in e && (e.writable = !0), Object.defineProperty(n, ct(e.key), e);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
function j(n, t, a) {
|
|
53
|
+
return t && Ie(n.prototype, t), a && Ie(n, a), Object.defineProperty(n, "prototype", {
|
|
54
|
+
writable: !1
|
|
55
|
+
}), n;
|
|
56
|
+
}
|
|
57
|
+
function _(n) {
|
|
58
|
+
if (n === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
59
|
+
return n;
|
|
60
|
+
}
|
|
61
|
+
function te(n, t) {
|
|
62
|
+
if (t && (R(t) == "object" || typeof t == "function")) return t;
|
|
63
|
+
if (t !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
64
|
+
return _(n);
|
|
65
|
+
}
|
|
66
|
+
function X(n) {
|
|
67
|
+
return X = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t) {
|
|
68
|
+
return t.__proto__ || Object.getPrototypeOf(t);
|
|
69
|
+
}, X(n);
|
|
70
|
+
}
|
|
71
|
+
function Re(n, t) {
|
|
72
|
+
return Re = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(a, e) {
|
|
73
|
+
return a.__proto__ = e, a;
|
|
74
|
+
}, Re(n, t);
|
|
75
|
+
}
|
|
76
|
+
function ve(n, t) {
|
|
77
|
+
if (typeof t != "function" && t !== null) throw new TypeError("Super expression must either be null or a function");
|
|
78
|
+
n.prototype = Object.create(t && t.prototype, {
|
|
79
|
+
constructor: {
|
|
80
|
+
value: n,
|
|
81
|
+
writable: !0,
|
|
82
|
+
configurable: !0
|
|
83
|
+
}
|
|
84
|
+
}), Object.defineProperty(n, "prototype", {
|
|
85
|
+
writable: !1
|
|
86
|
+
}), t && Re(n, t);
|
|
87
|
+
}
|
|
88
|
+
var Dt = {
|
|
89
|
+
type: "logger",
|
|
90
|
+
log: function(t) {
|
|
91
|
+
this.output("log", t);
|
|
92
|
+
},
|
|
93
|
+
warn: function(t) {
|
|
94
|
+
this.output("warn", t);
|
|
95
|
+
},
|
|
96
|
+
error: function(t) {
|
|
97
|
+
this.output("error", t);
|
|
98
|
+
},
|
|
99
|
+
output: function(t, a) {
|
|
100
|
+
console && console[t] && console[t].apply(console, a);
|
|
101
|
+
}
|
|
102
|
+
}, Nt = (function() {
|
|
103
|
+
function n(t) {
|
|
104
|
+
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
105
|
+
U(this, n), this.init(t, a);
|
|
106
|
+
}
|
|
107
|
+
return j(n, [{
|
|
108
|
+
key: "init",
|
|
109
|
+
value: function(a) {
|
|
110
|
+
var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
111
|
+
this.prefix = e.prefix || "i18next:", this.logger = a || Dt, this.options = e, this.debug = e.debug;
|
|
112
|
+
}
|
|
113
|
+
}, {
|
|
114
|
+
key: "setDebug",
|
|
115
|
+
value: function(a) {
|
|
116
|
+
this.debug = a;
|
|
117
|
+
}
|
|
118
|
+
}, {
|
|
119
|
+
key: "log",
|
|
120
|
+
value: function() {
|
|
121
|
+
for (var a = arguments.length, e = new Array(a), r = 0; r < a; r++)
|
|
122
|
+
e[r] = arguments[r];
|
|
123
|
+
return this.forward(e, "log", "", !0);
|
|
124
|
+
}
|
|
125
|
+
}, {
|
|
126
|
+
key: "warn",
|
|
127
|
+
value: function() {
|
|
128
|
+
for (var a = arguments.length, e = new Array(a), r = 0; r < a; r++)
|
|
129
|
+
e[r] = arguments[r];
|
|
130
|
+
return this.forward(e, "warn", "", !0);
|
|
131
|
+
}
|
|
132
|
+
}, {
|
|
133
|
+
key: "error",
|
|
134
|
+
value: function() {
|
|
135
|
+
for (var a = arguments.length, e = new Array(a), r = 0; r < a; r++)
|
|
136
|
+
e[r] = arguments[r];
|
|
137
|
+
return this.forward(e, "error", "");
|
|
138
|
+
}
|
|
139
|
+
}, {
|
|
140
|
+
key: "deprecate",
|
|
141
|
+
value: function() {
|
|
142
|
+
for (var a = arguments.length, e = new Array(a), r = 0; r < a; r++)
|
|
143
|
+
e[r] = arguments[r];
|
|
144
|
+
return this.forward(e, "warn", "WARNING DEPRECATED: ", !0);
|
|
145
|
+
}
|
|
146
|
+
}, {
|
|
147
|
+
key: "forward",
|
|
148
|
+
value: function(a, e, r, i) {
|
|
149
|
+
return i && !this.debug ? null : (typeof a[0] == "string" && (a[0] = "".concat(r).concat(this.prefix, " ").concat(a[0])), this.logger[e](a));
|
|
150
|
+
}
|
|
151
|
+
}, {
|
|
152
|
+
key: "create",
|
|
153
|
+
value: function(a) {
|
|
154
|
+
return new n(this.logger, E({}, {
|
|
155
|
+
prefix: "".concat(this.prefix, ":").concat(a, ":")
|
|
156
|
+
}, this.options));
|
|
157
|
+
}
|
|
158
|
+
}]), n;
|
|
159
|
+
})(), N = new Nt(), I = (function() {
|
|
160
|
+
function n() {
|
|
161
|
+
U(this, n), this.observers = {};
|
|
162
|
+
}
|
|
163
|
+
return j(n, [{
|
|
164
|
+
key: "on",
|
|
165
|
+
value: function(a, e) {
|
|
166
|
+
var r = this;
|
|
167
|
+
return a.split(" ").forEach(function(i) {
|
|
168
|
+
r.observers[i] = r.observers[i] || [], r.observers[i].push(e);
|
|
169
|
+
}), this;
|
|
170
|
+
}
|
|
171
|
+
}, {
|
|
172
|
+
key: "off",
|
|
173
|
+
value: function(a, e) {
|
|
174
|
+
if (this.observers[a]) {
|
|
175
|
+
if (!e) {
|
|
176
|
+
delete this.observers[a];
|
|
177
|
+
return;
|
|
178
|
+
}
|
|
179
|
+
this.observers[a] = this.observers[a].filter(function(r) {
|
|
180
|
+
return r !== e;
|
|
181
|
+
});
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
}, {
|
|
185
|
+
key: "emit",
|
|
186
|
+
value: function(a) {
|
|
187
|
+
for (var e = arguments.length, r = new Array(e > 1 ? e - 1 : 0), i = 1; i < e; i++)
|
|
188
|
+
r[i - 1] = arguments[i];
|
|
189
|
+
if (this.observers[a]) {
|
|
190
|
+
var o = [].concat(this.observers[a]);
|
|
191
|
+
o.forEach(function(l) {
|
|
192
|
+
l.apply(void 0, r);
|
|
193
|
+
});
|
|
194
|
+
}
|
|
195
|
+
if (this.observers["*"]) {
|
|
196
|
+
var s = [].concat(this.observers["*"]);
|
|
197
|
+
s.forEach(function(l) {
|
|
198
|
+
l.apply(l, [a].concat(r));
|
|
199
|
+
});
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
}]), n;
|
|
203
|
+
})();
|
|
204
|
+
function G() {
|
|
205
|
+
var n, t, a = new Promise(function(e, r) {
|
|
206
|
+
n = e, t = r;
|
|
207
|
+
});
|
|
208
|
+
return a.resolve = n, a.reject = t, a;
|
|
209
|
+
}
|
|
210
|
+
function Fe(n) {
|
|
211
|
+
return n == null ? "" : "" + n;
|
|
212
|
+
}
|
|
213
|
+
function Bt(n, t, a) {
|
|
214
|
+
n.forEach(function(e) {
|
|
215
|
+
t[e] && (a[e] = t[e]);
|
|
216
|
+
});
|
|
217
|
+
}
|
|
218
|
+
function De(n, t, a) {
|
|
219
|
+
function e(s) {
|
|
220
|
+
return s && s.indexOf("###") > -1 ? s.replace(/###/g, ".") : s;
|
|
221
|
+
}
|
|
222
|
+
function r() {
|
|
223
|
+
return !n || typeof n == "string";
|
|
224
|
+
}
|
|
225
|
+
for (var i = typeof t != "string" ? [].concat(t) : t.split("."); i.length > 1; ) {
|
|
226
|
+
if (r()) return {};
|
|
227
|
+
var o = e(i.shift());
|
|
228
|
+
!n[o] && a && (n[o] = new a()), Object.prototype.hasOwnProperty.call(n, o) ? n = n[o] : n = {};
|
|
229
|
+
}
|
|
230
|
+
return r() ? {} : {
|
|
231
|
+
obj: n,
|
|
232
|
+
k: e(i.shift())
|
|
233
|
+
};
|
|
234
|
+
}
|
|
235
|
+
function ze(n, t, a) {
|
|
236
|
+
var e = De(n, t, Object), r = e.obj, i = e.k;
|
|
237
|
+
r[i] = a;
|
|
238
|
+
}
|
|
239
|
+
function It(n, t, a, e) {
|
|
240
|
+
var r = De(n, t, Object), i = r.obj, o = r.k;
|
|
241
|
+
i[o] = i[o] || [], i[o].push(a);
|
|
242
|
+
}
|
|
243
|
+
function de(n, t) {
|
|
244
|
+
var a = De(n, t), e = a.obj, r = a.k;
|
|
245
|
+
if (e)
|
|
246
|
+
return e[r];
|
|
247
|
+
}
|
|
248
|
+
function Me(n, t, a) {
|
|
249
|
+
var e = de(n, a);
|
|
250
|
+
return e !== void 0 ? e : de(t, a);
|
|
251
|
+
}
|
|
252
|
+
function dt(n, t, a) {
|
|
253
|
+
for (var e in t)
|
|
254
|
+
e !== "__proto__" && e !== "constructor" && (e in n ? typeof n[e] == "string" || n[e] instanceof String || typeof t[e] == "string" || t[e] instanceof String ? a && (n[e] = t[e]) : dt(n[e], t[e], a) : n[e] = t[e]);
|
|
255
|
+
return n;
|
|
256
|
+
}
|
|
257
|
+
function Z(n) {
|
|
258
|
+
return n.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
|
|
259
|
+
}
|
|
260
|
+
var Ft = {
|
|
261
|
+
"&": "&",
|
|
262
|
+
"<": "<",
|
|
263
|
+
">": ">",
|
|
264
|
+
'"': """,
|
|
265
|
+
"'": "'",
|
|
266
|
+
"/": "/"
|
|
267
|
+
};
|
|
268
|
+
function zt(n) {
|
|
269
|
+
return typeof n == "string" ? n.replace(/[&<>"'\/]/g, function(t) {
|
|
270
|
+
return Ft[t];
|
|
271
|
+
}) : n;
|
|
272
|
+
}
|
|
273
|
+
var ye = typeof window < "u" && window.navigator && window.navigator.userAgent && window.navigator.userAgent.indexOf("MSIE") > -1, Mt = (function(n) {
|
|
274
|
+
ve(t, n);
|
|
275
|
+
function t(a) {
|
|
276
|
+
var e, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
|
|
277
|
+
ns: ["translation"],
|
|
278
|
+
defaultNS: "translation"
|
|
279
|
+
};
|
|
280
|
+
return U(this, t), e = te(this, X(t).call(this)), ye && I.call(_(e)), e.data = a || {}, e.options = r, e.options.keySeparator === void 0 && (e.options.keySeparator = "."), e;
|
|
281
|
+
}
|
|
282
|
+
return j(t, [{
|
|
283
|
+
key: "addNamespaces",
|
|
284
|
+
value: function(e) {
|
|
285
|
+
this.options.ns.indexOf(e) < 0 && this.options.ns.push(e);
|
|
286
|
+
}
|
|
287
|
+
}, {
|
|
288
|
+
key: "removeNamespaces",
|
|
289
|
+
value: function(e) {
|
|
290
|
+
var r = this.options.ns.indexOf(e);
|
|
291
|
+
r > -1 && this.options.ns.splice(r, 1);
|
|
292
|
+
}
|
|
293
|
+
}, {
|
|
294
|
+
key: "getResource",
|
|
295
|
+
value: function(e, r, i) {
|
|
296
|
+
var o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {}, s = o.keySeparator !== void 0 ? o.keySeparator : this.options.keySeparator, l = [e, r];
|
|
297
|
+
return i && typeof i != "string" && (l = l.concat(i)), i && typeof i == "string" && (l = l.concat(s ? i.split(s) : i)), e.indexOf(".") > -1 && (l = e.split(".")), de(this.data, l);
|
|
298
|
+
}
|
|
299
|
+
}, {
|
|
300
|
+
key: "addResource",
|
|
301
|
+
value: function(e, r, i, o) {
|
|
302
|
+
var s = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : {
|
|
303
|
+
silent: !1
|
|
304
|
+
}, l = this.options.keySeparator;
|
|
305
|
+
l === void 0 && (l = ".");
|
|
306
|
+
var u = [e, r];
|
|
307
|
+
i && (u = u.concat(l ? i.split(l) : i)), e.indexOf(".") > -1 && (u = e.split("."), o = r, r = u[1]), this.addNamespaces(r), ze(this.data, u, o), s.silent || this.emit("added", e, r, i, o);
|
|
308
|
+
}
|
|
309
|
+
}, {
|
|
310
|
+
key: "addResources",
|
|
311
|
+
value: function(e, r, i) {
|
|
312
|
+
var o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {
|
|
313
|
+
silent: !1
|
|
314
|
+
};
|
|
315
|
+
for (var s in i)
|
|
316
|
+
(typeof i[s] == "string" || Object.prototype.toString.apply(i[s]) === "[object Array]") && this.addResource(e, r, s, i[s], {
|
|
317
|
+
silent: !0
|
|
318
|
+
});
|
|
319
|
+
o.silent || this.emit("added", e, r, i);
|
|
320
|
+
}
|
|
321
|
+
}, {
|
|
322
|
+
key: "addResourceBundle",
|
|
323
|
+
value: function(e, r, i, o, s) {
|
|
324
|
+
var l = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : {
|
|
325
|
+
silent: !1
|
|
326
|
+
}, u = [e, r];
|
|
327
|
+
e.indexOf(".") > -1 && (u = e.split("."), o = i, i = r, r = u[1]), this.addNamespaces(r);
|
|
328
|
+
var c = de(this.data, u) || {};
|
|
329
|
+
o ? dt(c, i, s) : c = E({}, c, i), ze(this.data, u, c), l.silent || this.emit("added", e, r, i);
|
|
330
|
+
}
|
|
331
|
+
}, {
|
|
332
|
+
key: "removeResourceBundle",
|
|
333
|
+
value: function(e, r) {
|
|
334
|
+
this.hasResourceBundle(e, r) && delete this.data[e][r], this.removeNamespaces(r), this.emit("removed", e, r);
|
|
335
|
+
}
|
|
336
|
+
}, {
|
|
337
|
+
key: "hasResourceBundle",
|
|
338
|
+
value: function(e, r) {
|
|
339
|
+
return this.getResource(e, r) !== void 0;
|
|
340
|
+
}
|
|
341
|
+
}, {
|
|
342
|
+
key: "getResourceBundle",
|
|
343
|
+
value: function(e, r) {
|
|
344
|
+
return r || (r = this.options.defaultNS), this.options.compatibilityAPI === "v1" ? E({}, {}, this.getResource(e, r)) : this.getResource(e, r);
|
|
345
|
+
}
|
|
346
|
+
}, {
|
|
347
|
+
key: "getDataByLanguage",
|
|
348
|
+
value: function(e) {
|
|
349
|
+
return this.data[e];
|
|
350
|
+
}
|
|
351
|
+
}, {
|
|
352
|
+
key: "toJSON",
|
|
353
|
+
value: function() {
|
|
354
|
+
return this.data;
|
|
355
|
+
}
|
|
356
|
+
}]), t;
|
|
357
|
+
})(I), ft = {
|
|
358
|
+
processors: {},
|
|
359
|
+
addPostProcessor: function(t) {
|
|
360
|
+
this.processors[t.name] = t;
|
|
361
|
+
},
|
|
362
|
+
handle: function(t, a, e, r, i) {
|
|
363
|
+
var o = this;
|
|
364
|
+
return t.forEach(function(s) {
|
|
365
|
+
o.processors[s] && (a = o.processors[s].process(a, e, r, i));
|
|
366
|
+
}), a;
|
|
367
|
+
}
|
|
368
|
+
}, Ve = {}, He = (function(n) {
|
|
369
|
+
ve(t, n);
|
|
370
|
+
function t(a) {
|
|
371
|
+
var e, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
372
|
+
return U(this, t), e = te(this, X(t).call(this)), ye && I.call(_(e)), Bt(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], a, _(e)), e.options = r, e.options.keySeparator === void 0 && (e.options.keySeparator = "."), e.logger = N.create("translator"), e;
|
|
373
|
+
}
|
|
374
|
+
return j(t, [{
|
|
375
|
+
key: "changeLanguage",
|
|
376
|
+
value: function(e) {
|
|
377
|
+
e && (this.language = e);
|
|
378
|
+
}
|
|
379
|
+
}, {
|
|
380
|
+
key: "exists",
|
|
381
|
+
value: function(e) {
|
|
382
|
+
var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
|
|
383
|
+
interpolation: {}
|
|
384
|
+
}, i = this.resolve(e, r);
|
|
385
|
+
return i && i.res !== void 0;
|
|
386
|
+
}
|
|
387
|
+
}, {
|
|
388
|
+
key: "extractFromKey",
|
|
389
|
+
value: function(e, r) {
|
|
390
|
+
var i = r.nsSeparator !== void 0 ? r.nsSeparator : this.options.nsSeparator;
|
|
391
|
+
i === void 0 && (i = ":");
|
|
392
|
+
var o = r.keySeparator !== void 0 ? r.keySeparator : this.options.keySeparator, s = r.ns || this.options.defaultNS;
|
|
393
|
+
if (i && e.indexOf(i) > -1) {
|
|
394
|
+
var l = e.match(this.interpolator.nestingRegexp);
|
|
395
|
+
if (l && l.length > 0)
|
|
396
|
+
return {
|
|
397
|
+
key: e,
|
|
398
|
+
namespaces: s
|
|
399
|
+
};
|
|
400
|
+
var u = e.split(i);
|
|
401
|
+
(i !== o || i === o && this.options.ns.indexOf(u[0]) > -1) && (s = u.shift()), e = u.join(o);
|
|
402
|
+
}
|
|
403
|
+
return typeof s == "string" && (s = [s]), {
|
|
404
|
+
key: e,
|
|
405
|
+
namespaces: s
|
|
406
|
+
};
|
|
407
|
+
}
|
|
408
|
+
}, {
|
|
409
|
+
key: "translate",
|
|
410
|
+
value: function(e, r, i) {
|
|
411
|
+
var o = this;
|
|
412
|
+
if (R(r) !== "object" && this.options.overloadTranslationOptionHandler && (r = this.options.overloadTranslationOptionHandler(arguments)), r || (r = {}), e == null) return "";
|
|
413
|
+
Array.isArray(e) || (e = [String(e)]);
|
|
414
|
+
var s = r.keySeparator !== void 0 ? r.keySeparator : this.options.keySeparator, l = this.extractFromKey(e[e.length - 1], r), u = l.key, c = l.namespaces, d = c[c.length - 1], f = r.lng || this.language, g = r.appendNamespaceToCIMode || this.options.appendNamespaceToCIMode;
|
|
415
|
+
if (f && f.toLowerCase() === "cimode") {
|
|
416
|
+
if (g) {
|
|
417
|
+
var h = r.nsSeparator || this.options.nsSeparator;
|
|
418
|
+
return d + h + u;
|
|
419
|
+
}
|
|
420
|
+
return u;
|
|
421
|
+
}
|
|
422
|
+
var m = this.resolve(e, r), p = m && m.res, v = m && m.usedKey || u, b = m && m.exactUsedKey || u, S = Object.prototype.toString.apply(p), L = ["[object Number]", "[object Function]", "[object RegExp]"], w = r.joinArrays !== void 0 ? r.joinArrays : this.options.joinArrays, y = !this.i18nFormat || this.i18nFormat.handleAsObject, T = typeof p != "string" && typeof p != "boolean" && typeof p != "number";
|
|
423
|
+
if (y && p && T && L.indexOf(S) < 0 && !(typeof w == "string" && S === "[object Array]")) {
|
|
424
|
+
if (!r.returnObjects && !this.options.returnObjects)
|
|
425
|
+
return this.logger.warn("accessing an object - but returnObjects options is not enabled!"), this.options.returnedObjectHandler ? this.options.returnedObjectHandler(v, p, r) : "key '".concat(u, " (").concat(this.language, ")' returned an object instead of string.");
|
|
426
|
+
if (s) {
|
|
427
|
+
var C = S === "[object Array]", k = C ? [] : {}, x = C ? b : v;
|
|
428
|
+
for (var O in p)
|
|
429
|
+
if (Object.prototype.hasOwnProperty.call(p, O)) {
|
|
430
|
+
var K = "".concat(x).concat(s).concat(O);
|
|
431
|
+
k[O] = this.translate(K, E({}, r, {
|
|
432
|
+
joinArrays: !1,
|
|
433
|
+
ns: c
|
|
434
|
+
})), k[O] === K && (k[O] = p[O]);
|
|
435
|
+
}
|
|
436
|
+
p = k;
|
|
437
|
+
}
|
|
438
|
+
} else if (y && typeof w == "string" && S === "[object Array]")
|
|
439
|
+
p = p.join(w), p && (p = this.extendTranslation(p, e, r, i));
|
|
440
|
+
else {
|
|
441
|
+
var z = !1, A = !1, W = r.count !== void 0 && typeof r.count != "string", ne = t.hasDefaultValue(r), be = W ? this.pluralResolver.getSuffix(f, r.count) : "", M = r["defaultValue".concat(be)] || r.defaultValue;
|
|
442
|
+
!this.isValidLookup(p) && ne && (z = !0, p = M), this.isValidLookup(p) || (A = !0, p = u);
|
|
443
|
+
var D = ne && M !== p && this.options.updateMissing;
|
|
444
|
+
if (A || z || D) {
|
|
445
|
+
if (this.logger.log(D ? "updateKey" : "missingKey", f, d, u, D ? M : p), s) {
|
|
446
|
+
var re = this.resolve(u, E({}, r, {
|
|
447
|
+
keySeparator: !1
|
|
448
|
+
}));
|
|
449
|
+
re && re.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.");
|
|
450
|
+
}
|
|
451
|
+
var B = [], V = this.languageUtils.getFallbackCodes(this.options.fallbackLng, r.lng || this.language);
|
|
452
|
+
if (this.options.saveMissingTo === "fallback" && V && V[0])
|
|
453
|
+
for (var $ = 0; $ < V.length; $++)
|
|
454
|
+
B.push(V[$]);
|
|
455
|
+
else this.options.saveMissingTo === "all" ? B = this.languageUtils.toResolveHierarchy(r.lng || this.language) : B.push(r.lng || this.language);
|
|
456
|
+
var Ne = function(Q, we, Be) {
|
|
457
|
+
o.options.missingKeyHandler ? o.options.missingKeyHandler(Q, d, we, D ? Be : p, D, r) : o.backendConnector && o.backendConnector.saveMissing && o.backendConnector.saveMissing(Q, d, we, D ? Be : p, D, r), o.emit("missingKey", Q, d, we, p);
|
|
458
|
+
};
|
|
459
|
+
this.options.saveMissing && (this.options.saveMissingPlurals && W ? B.forEach(function(Se) {
|
|
460
|
+
o.pluralResolver.getSuffixes(Se).forEach(function(Q) {
|
|
461
|
+
Ne([Se], u + Q, r["defaultValue".concat(Q)] || M);
|
|
462
|
+
});
|
|
463
|
+
}) : Ne(B, u, M));
|
|
464
|
+
}
|
|
465
|
+
p = this.extendTranslation(p, e, r, m, i), A && p === u && this.options.appendNamespaceToMissingKey && (p = "".concat(d, ":").concat(u)), A && this.options.parseMissingKeyHandler && (p = this.options.parseMissingKeyHandler(p));
|
|
466
|
+
}
|
|
467
|
+
return p;
|
|
468
|
+
}
|
|
469
|
+
}, {
|
|
470
|
+
key: "extendTranslation",
|
|
471
|
+
value: function(e, r, i, o, s) {
|
|
472
|
+
var l = this;
|
|
473
|
+
if (this.i18nFormat && this.i18nFormat.parse)
|
|
474
|
+
e = this.i18nFormat.parse(e, i, o.usedLng, o.usedNS, o.usedKey, {
|
|
475
|
+
resolved: o
|
|
476
|
+
});
|
|
477
|
+
else if (!i.skipInterpolation) {
|
|
478
|
+
i.interpolation && this.interpolator.init(E({}, i, {
|
|
479
|
+
interpolation: E({}, this.options.interpolation, i.interpolation)
|
|
480
|
+
}));
|
|
481
|
+
var u = i.interpolation && i.interpolation.skipOnVariables || this.options.interpolation.skipOnVariables, c;
|
|
482
|
+
if (u) {
|
|
483
|
+
var d = e.match(this.interpolator.nestingRegexp);
|
|
484
|
+
c = d && d.length;
|
|
485
|
+
}
|
|
486
|
+
var f = i.replace && typeof i.replace != "string" ? i.replace : i;
|
|
487
|
+
if (this.options.interpolation.defaultVariables && (f = E({}, this.options.interpolation.defaultVariables, f)), e = this.interpolator.interpolate(e, f, i.lng || this.language, i), u) {
|
|
488
|
+
var g = e.match(this.interpolator.nestingRegexp), h = g && g.length;
|
|
489
|
+
c < h && (i.nest = !1);
|
|
490
|
+
}
|
|
491
|
+
i.nest !== !1 && (e = this.interpolator.nest(e, function() {
|
|
492
|
+
for (var v = arguments.length, b = new Array(v), S = 0; S < v; S++)
|
|
493
|
+
b[S] = arguments[S];
|
|
494
|
+
return s && s[0] === b[0] && !i.context ? (l.logger.warn("It seems you are nesting recursively key: ".concat(b[0], " in key: ").concat(r[0])), null) : l.translate.apply(l, b.concat([r]));
|
|
495
|
+
}, i)), i.interpolation && this.interpolator.reset();
|
|
496
|
+
}
|
|
497
|
+
var m = i.postProcess || this.options.postProcess, p = typeof m == "string" ? [m] : m;
|
|
498
|
+
return e != null && p && p.length && i.applyPostProcessor !== !1 && (e = ft.handle(p, e, r, this.options && this.options.postProcessPassResolved ? E({
|
|
499
|
+
i18nResolved: o
|
|
500
|
+
}, i) : i, this)), e;
|
|
501
|
+
}
|
|
502
|
+
}, {
|
|
503
|
+
key: "resolve",
|
|
504
|
+
value: function(e) {
|
|
505
|
+
var r = this, i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, o, s, l, u, c;
|
|
506
|
+
return typeof e == "string" && (e = [e]), e.forEach(function(d) {
|
|
507
|
+
if (!r.isValidLookup(o)) {
|
|
508
|
+
var f = r.extractFromKey(d, i), g = f.key;
|
|
509
|
+
s = g;
|
|
510
|
+
var h = f.namespaces;
|
|
511
|
+
r.options.fallbackNS && (h = h.concat(r.options.fallbackNS));
|
|
512
|
+
var m = i.count !== void 0 && typeof i.count != "string", p = i.context !== void 0 && typeof i.context == "string" && i.context !== "", v = i.lngs ? i.lngs : r.languageUtils.toResolveHierarchy(i.lng || r.language, i.fallbackLng);
|
|
513
|
+
h.forEach(function(b) {
|
|
514
|
+
r.isValidLookup(o) || (c = b, !Ve["".concat(v[0], "-").concat(b)] && r.utils && r.utils.hasLoadedNamespace && !r.utils.hasLoadedNamespace(c) && (Ve["".concat(v[0], "-").concat(b)] = !0, r.logger.warn('key "'.concat(s, '" for languages "').concat(v.join(", "), `" won't get resolved as namespace "`).concat(c, '" was not yet loaded'), "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), v.forEach(function(S) {
|
|
515
|
+
if (!r.isValidLookup(o)) {
|
|
516
|
+
u = S;
|
|
517
|
+
var L = g, w = [L];
|
|
518
|
+
if (r.i18nFormat && r.i18nFormat.addLookupKeys)
|
|
519
|
+
r.i18nFormat.addLookupKeys(w, g, S, b, i);
|
|
520
|
+
else {
|
|
521
|
+
var y;
|
|
522
|
+
m && (y = r.pluralResolver.getSuffix(S, i.count)), m && p && w.push(L + y), p && w.push(L += "".concat(r.options.contextSeparator).concat(i.context)), m && w.push(L += y);
|
|
523
|
+
}
|
|
524
|
+
for (var T; T = w.pop(); )
|
|
525
|
+
r.isValidLookup(o) || (l = T, o = r.getResource(S, b, T, i));
|
|
526
|
+
}
|
|
527
|
+
}));
|
|
528
|
+
});
|
|
529
|
+
}
|
|
530
|
+
}), {
|
|
531
|
+
res: o,
|
|
532
|
+
usedKey: s,
|
|
533
|
+
exactUsedKey: l,
|
|
534
|
+
usedLng: u,
|
|
535
|
+
usedNS: c
|
|
536
|
+
};
|
|
537
|
+
}
|
|
538
|
+
}, {
|
|
539
|
+
key: "isValidLookup",
|
|
540
|
+
value: function(e) {
|
|
541
|
+
return e !== void 0 && !(!this.options.returnNull && e === null) && !(!this.options.returnEmptyString && e === "");
|
|
542
|
+
}
|
|
543
|
+
}, {
|
|
544
|
+
key: "getResource",
|
|
545
|
+
value: function(e, r, i) {
|
|
546
|
+
var o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
|
|
547
|
+
return this.i18nFormat && this.i18nFormat.getResource ? this.i18nFormat.getResource(e, r, i, o) : this.resourceStore.getResource(e, r, i, o);
|
|
548
|
+
}
|
|
549
|
+
}], [{
|
|
550
|
+
key: "hasDefaultValue",
|
|
551
|
+
value: function(e) {
|
|
552
|
+
var r = "defaultValue";
|
|
553
|
+
for (var i in e)
|
|
554
|
+
if (Object.prototype.hasOwnProperty.call(e, i) && r === i.substring(0, r.length) && e[i] !== void 0)
|
|
555
|
+
return !0;
|
|
556
|
+
return !1;
|
|
557
|
+
}
|
|
558
|
+
}]), t;
|
|
559
|
+
})(I);
|
|
560
|
+
function xe(n) {
|
|
561
|
+
return n.charAt(0).toUpperCase() + n.slice(1);
|
|
562
|
+
}
|
|
563
|
+
var Vt = (function() {
|
|
564
|
+
function n(t) {
|
|
565
|
+
U(this, n), this.options = t, this.whitelist = this.options.supportedLngs || !1, this.supportedLngs = this.options.supportedLngs || !1, this.logger = N.create("languageUtils");
|
|
566
|
+
}
|
|
567
|
+
return j(n, [{
|
|
568
|
+
key: "getScriptPartFromCode",
|
|
569
|
+
value: function(a) {
|
|
570
|
+
if (!a || a.indexOf("-") < 0) return null;
|
|
571
|
+
var e = a.split("-");
|
|
572
|
+
return e.length === 2 || (e.pop(), e[e.length - 1].toLowerCase() === "x") ? null : this.formatLanguageCode(e.join("-"));
|
|
573
|
+
}
|
|
574
|
+
}, {
|
|
575
|
+
key: "getLanguagePartFromCode",
|
|
576
|
+
value: function(a) {
|
|
577
|
+
if (!a || a.indexOf("-") < 0) return a;
|
|
578
|
+
var e = a.split("-");
|
|
579
|
+
return this.formatLanguageCode(e[0]);
|
|
580
|
+
}
|
|
581
|
+
}, {
|
|
582
|
+
key: "formatLanguageCode",
|
|
583
|
+
value: function(a) {
|
|
584
|
+
if (typeof a == "string" && a.indexOf("-") > -1) {
|
|
585
|
+
var e = ["hans", "hant", "latn", "cyrl", "cans", "mong", "arab"], r = a.split("-");
|
|
586
|
+
return this.options.lowerCaseLng ? r = r.map(function(i) {
|
|
587
|
+
return i.toLowerCase();
|
|
588
|
+
}) : 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("-");
|
|
589
|
+
}
|
|
590
|
+
return this.options.cleanCode || this.options.lowerCaseLng ? a.toLowerCase() : a;
|
|
591
|
+
}
|
|
592
|
+
}, {
|
|
593
|
+
key: "isWhitelisted",
|
|
594
|
+
value: function(a) {
|
|
595
|
+
return this.logger.deprecate("languageUtils.isWhitelisted", `function "isWhitelisted" will be renamed to "isSupportedCode" in the next major - please make sure to rename it's usage asap.`), this.isSupportedCode(a);
|
|
596
|
+
}
|
|
597
|
+
}, {
|
|
598
|
+
key: "isSupportedCode",
|
|
599
|
+
value: function(a) {
|
|
600
|
+
return (this.options.load === "languageOnly" || this.options.nonExplicitSupportedLngs) && (a = this.getLanguagePartFromCode(a)), !this.supportedLngs || !this.supportedLngs.length || this.supportedLngs.indexOf(a) > -1;
|
|
601
|
+
}
|
|
602
|
+
}, {
|
|
603
|
+
key: "getBestMatchFromCodes",
|
|
604
|
+
value: function(a) {
|
|
605
|
+
var e = this;
|
|
606
|
+
if (!a) return null;
|
|
607
|
+
var r;
|
|
608
|
+
return a.forEach(function(i) {
|
|
609
|
+
if (!r) {
|
|
610
|
+
var o = e.formatLanguageCode(i);
|
|
611
|
+
(!e.options.supportedLngs || e.isSupportedCode(o)) && (r = o);
|
|
612
|
+
}
|
|
613
|
+
}), !r && this.options.supportedLngs && a.forEach(function(i) {
|
|
614
|
+
if (!r) {
|
|
615
|
+
var o = e.getLanguagePartFromCode(i);
|
|
616
|
+
if (e.isSupportedCode(o)) return r = o;
|
|
617
|
+
r = e.options.supportedLngs.find(function(s) {
|
|
618
|
+
if (s.indexOf(o) === 0) return s;
|
|
619
|
+
});
|
|
620
|
+
}
|
|
621
|
+
}), r || (r = this.getFallbackCodes(this.options.fallbackLng)[0]), r;
|
|
622
|
+
}
|
|
623
|
+
}, {
|
|
624
|
+
key: "getFallbackCodes",
|
|
625
|
+
value: function(a, e) {
|
|
626
|
+
if (!a) return [];
|
|
627
|
+
if (typeof a == "function" && (a = a(e)), typeof a == "string" && (a = [a]), Object.prototype.toString.apply(a) === "[object Array]") return a;
|
|
628
|
+
if (!e) return a.default || [];
|
|
629
|
+
var r = a[e];
|
|
630
|
+
return r || (r = a[this.getScriptPartFromCode(e)]), r || (r = a[this.formatLanguageCode(e)]), r || (r = a[this.getLanguagePartFromCode(e)]), r || (r = a.default), r || [];
|
|
631
|
+
}
|
|
632
|
+
}, {
|
|
633
|
+
key: "toResolveHierarchy",
|
|
634
|
+
value: function(a, e) {
|
|
635
|
+
var r = this, i = this.getFallbackCodes(e || this.options.fallbackLng || [], a), o = [], s = function(u) {
|
|
636
|
+
u && (r.isSupportedCode(u) ? o.push(u) : r.logger.warn("rejecting language code not found in supportedLngs: ".concat(u)));
|
|
637
|
+
};
|
|
638
|
+
return typeof a == "string" && a.indexOf("-") > -1 ? (this.options.load !== "languageOnly" && s(this.formatLanguageCode(a)), this.options.load !== "languageOnly" && this.options.load !== "currentOnly" && s(this.getScriptPartFromCode(a)), this.options.load !== "currentOnly" && s(this.getLanguagePartFromCode(a))) : typeof a == "string" && s(this.formatLanguageCode(a)), i.forEach(function(l) {
|
|
639
|
+
o.indexOf(l) < 0 && s(r.formatLanguageCode(l));
|
|
640
|
+
}), o;
|
|
641
|
+
}
|
|
642
|
+
}]), n;
|
|
643
|
+
})(), Ht = [{
|
|
644
|
+
lngs: ["ach", "ak", "am", "arn", "br", "fil", "gun", "ln", "mfe", "mg", "mi", "oc", "pt", "pt-BR", "tg", "tl", "ti", "tr", "uz", "wa"],
|
|
645
|
+
nr: [1, 2],
|
|
646
|
+
fc: 1
|
|
647
|
+
}, {
|
|
648
|
+
lngs: ["af", "an", "ast", "az", "bg", "bn", "ca", "da", "de", "dev", "el", "en", "eo", "es", "et", "eu", "fi", "fo", "fur", "fy", "gl", "gu", "ha", "hi", "hu", "hy", "ia", "it", "kn", "ku", "lb", "mai", "ml", "mn", "mr", "nah", "nap", "nb", "ne", "nl", "nn", "no", "nso", "pa", "pap", "pms", "ps", "pt-PT", "rm", "sco", "se", "si", "so", "son", "sq", "sv", "sw", "ta", "te", "tk", "ur", "yo"],
|
|
649
|
+
nr: [1, 2],
|
|
650
|
+
fc: 2
|
|
651
|
+
}, {
|
|
652
|
+
lngs: ["ay", "bo", "cgg", "fa", "ht", "id", "ja", "jbo", "ka", "kk", "km", "ko", "ky", "lo", "ms", "sah", "su", "th", "tt", "ug", "vi", "wo", "zh"],
|
|
653
|
+
nr: [1],
|
|
654
|
+
fc: 3
|
|
655
|
+
}, {
|
|
656
|
+
lngs: ["be", "bs", "cnr", "dz", "hr", "ru", "sr", "uk"],
|
|
657
|
+
nr: [1, 2, 5],
|
|
658
|
+
fc: 4
|
|
659
|
+
}, {
|
|
660
|
+
lngs: ["ar"],
|
|
661
|
+
nr: [0, 1, 2, 3, 11, 100],
|
|
662
|
+
fc: 5
|
|
663
|
+
}, {
|
|
664
|
+
lngs: ["cs", "sk"],
|
|
665
|
+
nr: [1, 2, 5],
|
|
666
|
+
fc: 6
|
|
667
|
+
}, {
|
|
668
|
+
lngs: ["csb", "pl"],
|
|
669
|
+
nr: [1, 2, 5],
|
|
670
|
+
fc: 7
|
|
671
|
+
}, {
|
|
672
|
+
lngs: ["cy"],
|
|
673
|
+
nr: [1, 2, 3, 8],
|
|
674
|
+
fc: 8
|
|
675
|
+
}, {
|
|
676
|
+
lngs: ["fr"],
|
|
677
|
+
nr: [1, 2],
|
|
678
|
+
fc: 9
|
|
679
|
+
}, {
|
|
680
|
+
lngs: ["ga"],
|
|
681
|
+
nr: [1, 2, 3, 7, 11],
|
|
682
|
+
fc: 10
|
|
683
|
+
}, {
|
|
684
|
+
lngs: ["gd"],
|
|
685
|
+
nr: [1, 2, 3, 20],
|
|
686
|
+
fc: 11
|
|
687
|
+
}, {
|
|
688
|
+
lngs: ["is"],
|
|
689
|
+
nr: [1, 2],
|
|
690
|
+
fc: 12
|
|
691
|
+
}, {
|
|
692
|
+
lngs: ["jv"],
|
|
693
|
+
nr: [0, 1],
|
|
694
|
+
fc: 13
|
|
695
|
+
}, {
|
|
696
|
+
lngs: ["kw"],
|
|
697
|
+
nr: [1, 2, 3, 4],
|
|
698
|
+
fc: 14
|
|
699
|
+
}, {
|
|
700
|
+
lngs: ["lt"],
|
|
701
|
+
nr: [1, 2, 10],
|
|
702
|
+
fc: 15
|
|
703
|
+
}, {
|
|
704
|
+
lngs: ["lv"],
|
|
705
|
+
nr: [1, 2, 0],
|
|
706
|
+
fc: 16
|
|
707
|
+
}, {
|
|
708
|
+
lngs: ["mk"],
|
|
709
|
+
nr: [1, 2],
|
|
710
|
+
fc: 17
|
|
711
|
+
}, {
|
|
712
|
+
lngs: ["mnk"],
|
|
713
|
+
nr: [0, 1, 2],
|
|
714
|
+
fc: 18
|
|
715
|
+
}, {
|
|
716
|
+
lngs: ["mt"],
|
|
717
|
+
nr: [1, 2, 11, 20],
|
|
718
|
+
fc: 19
|
|
719
|
+
}, {
|
|
720
|
+
lngs: ["or"],
|
|
721
|
+
nr: [2, 1],
|
|
722
|
+
fc: 2
|
|
723
|
+
}, {
|
|
724
|
+
lngs: ["ro"],
|
|
725
|
+
nr: [1, 2, 20],
|
|
726
|
+
fc: 20
|
|
727
|
+
}, {
|
|
728
|
+
lngs: ["sl"],
|
|
729
|
+
nr: [5, 1, 2, 3],
|
|
730
|
+
fc: 21
|
|
731
|
+
}, {
|
|
732
|
+
lngs: ["he", "iw"],
|
|
733
|
+
nr: [1, 2, 20, 21],
|
|
734
|
+
fc: 22
|
|
735
|
+
}], _t = {
|
|
736
|
+
1: function(t) {
|
|
737
|
+
return +(t > 1);
|
|
738
|
+
},
|
|
739
|
+
2: function(t) {
|
|
740
|
+
return +(t != 1);
|
|
741
|
+
},
|
|
742
|
+
3: function(t) {
|
|
743
|
+
return 0;
|
|
744
|
+
},
|
|
745
|
+
4: function(t) {
|
|
746
|
+
return t % 10 == 1 && t % 100 != 11 ? 0 : t % 10 >= 2 && t % 10 <= 4 && (t % 100 < 10 || t % 100 >= 20) ? 1 : 2;
|
|
747
|
+
},
|
|
748
|
+
5: function(t) {
|
|
749
|
+
return t == 0 ? 0 : t == 1 ? 1 : t == 2 ? 2 : t % 100 >= 3 && t % 100 <= 10 ? 3 : t % 100 >= 11 ? 4 : 5;
|
|
750
|
+
},
|
|
751
|
+
6: function(t) {
|
|
752
|
+
return t == 1 ? 0 : t >= 2 && t <= 4 ? 1 : 2;
|
|
753
|
+
},
|
|
754
|
+
7: function(t) {
|
|
755
|
+
return t == 1 ? 0 : t % 10 >= 2 && t % 10 <= 4 && (t % 100 < 10 || t % 100 >= 20) ? 1 : 2;
|
|
756
|
+
},
|
|
757
|
+
8: function(t) {
|
|
758
|
+
return t == 1 ? 0 : t == 2 ? 1 : t != 8 && t != 11 ? 2 : 3;
|
|
759
|
+
},
|
|
760
|
+
9: function(t) {
|
|
761
|
+
return +(t >= 2);
|
|
762
|
+
},
|
|
763
|
+
10: function(t) {
|
|
764
|
+
return t == 1 ? 0 : t == 2 ? 1 : t < 7 ? 2 : t < 11 ? 3 : 4;
|
|
765
|
+
},
|
|
766
|
+
11: function(t) {
|
|
767
|
+
return t == 1 || t == 11 ? 0 : t == 2 || t == 12 ? 1 : t > 2 && t < 20 ? 2 : 3;
|
|
768
|
+
},
|
|
769
|
+
12: function(t) {
|
|
770
|
+
return +(t % 10 != 1 || t % 100 == 11);
|
|
771
|
+
},
|
|
772
|
+
13: function(t) {
|
|
773
|
+
return +(t !== 0);
|
|
774
|
+
},
|
|
775
|
+
14: function(t) {
|
|
776
|
+
return t == 1 ? 0 : t == 2 ? 1 : t == 3 ? 2 : 3;
|
|
777
|
+
},
|
|
778
|
+
15: function(t) {
|
|
779
|
+
return t % 10 == 1 && t % 100 != 11 ? 0 : t % 10 >= 2 && (t % 100 < 10 || t % 100 >= 20) ? 1 : 2;
|
|
780
|
+
},
|
|
781
|
+
16: function(t) {
|
|
782
|
+
return t % 10 == 1 && t % 100 != 11 ? 0 : t !== 0 ? 1 : 2;
|
|
783
|
+
},
|
|
784
|
+
17: function(t) {
|
|
785
|
+
return t == 1 || t % 10 == 1 && t % 100 != 11 ? 0 : 1;
|
|
786
|
+
},
|
|
787
|
+
18: function(t) {
|
|
788
|
+
return t == 0 ? 0 : t == 1 ? 1 : 2;
|
|
789
|
+
},
|
|
790
|
+
19: function(t) {
|
|
791
|
+
return t == 1 ? 0 : t == 0 || t % 100 > 1 && t % 100 < 11 ? 1 : t % 100 > 10 && t % 100 < 20 ? 2 : 3;
|
|
792
|
+
},
|
|
793
|
+
20: function(t) {
|
|
794
|
+
return t == 1 ? 0 : t == 0 || t % 100 > 0 && t % 100 < 20 ? 1 : 2;
|
|
795
|
+
},
|
|
796
|
+
21: function(t) {
|
|
797
|
+
return t % 100 == 1 ? 1 : t % 100 == 2 ? 2 : t % 100 == 3 || t % 100 == 4 ? 3 : 0;
|
|
798
|
+
},
|
|
799
|
+
22: function(t) {
|
|
800
|
+
return t == 1 ? 0 : t == 2 ? 1 : (t < 0 || t > 10) && t % 10 == 0 ? 2 : 3;
|
|
801
|
+
}
|
|
802
|
+
};
|
|
803
|
+
function qt() {
|
|
804
|
+
var n = {};
|
|
805
|
+
return Ht.forEach(function(t) {
|
|
806
|
+
t.lngs.forEach(function(a) {
|
|
807
|
+
n[a] = {
|
|
808
|
+
numbers: t.nr,
|
|
809
|
+
plurals: _t[t.fc]
|
|
810
|
+
};
|
|
811
|
+
});
|
|
812
|
+
}), n;
|
|
813
|
+
}
|
|
814
|
+
var Kt = (function() {
|
|
815
|
+
function n(t) {
|
|
816
|
+
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
817
|
+
U(this, n), this.languageUtils = t, this.options = a, this.logger = N.create("pluralResolver"), this.rules = qt();
|
|
818
|
+
}
|
|
819
|
+
return j(n, [{
|
|
820
|
+
key: "addRule",
|
|
821
|
+
value: function(a, e) {
|
|
822
|
+
this.rules[a] = e;
|
|
823
|
+
}
|
|
824
|
+
}, {
|
|
825
|
+
key: "getRule",
|
|
826
|
+
value: function(a) {
|
|
827
|
+
return this.rules[a] || this.rules[this.languageUtils.getLanguagePartFromCode(a)];
|
|
828
|
+
}
|
|
829
|
+
}, {
|
|
830
|
+
key: "needsPlural",
|
|
831
|
+
value: function(a) {
|
|
832
|
+
var e = this.getRule(a);
|
|
833
|
+
return e && e.numbers.length > 1;
|
|
834
|
+
}
|
|
835
|
+
}, {
|
|
836
|
+
key: "getPluralFormsOfKey",
|
|
837
|
+
value: function(a, e) {
|
|
838
|
+
return this.getSuffixes(a).map(function(r) {
|
|
839
|
+
return e + r;
|
|
840
|
+
});
|
|
841
|
+
}
|
|
842
|
+
}, {
|
|
843
|
+
key: "getSuffixes",
|
|
844
|
+
value: function(a) {
|
|
845
|
+
var e = this, r = this.getRule(a);
|
|
846
|
+
return r ? r.numbers.map(function(i) {
|
|
847
|
+
return e.getSuffix(a, i);
|
|
848
|
+
}) : [];
|
|
849
|
+
}
|
|
850
|
+
}, {
|
|
851
|
+
key: "getSuffix",
|
|
852
|
+
value: function(a, e) {
|
|
853
|
+
var r = this, i = this.getRule(a);
|
|
854
|
+
if (i) {
|
|
855
|
+
var o = i.noAbs ? i.plurals(e) : i.plurals(Math.abs(e)), s = i.numbers[o];
|
|
856
|
+
this.options.simplifyPluralSuffix && i.numbers.length === 2 && i.numbers[0] === 1 && (s === 2 ? s = "plural" : s === 1 && (s = ""));
|
|
857
|
+
var l = function() {
|
|
858
|
+
return r.options.prepend && s.toString() ? r.options.prepend + s.toString() : s.toString();
|
|
859
|
+
};
|
|
860
|
+
return this.options.compatibilityJSON === "v1" ? s === 1 ? "" : typeof s == "number" ? "_plural_".concat(s.toString()) : l() : this.options.compatibilityJSON === "v2" || this.options.simplifyPluralSuffix && i.numbers.length === 2 && i.numbers[0] === 1 ? l() : this.options.prepend && o.toString() ? this.options.prepend + o.toString() : o.toString();
|
|
861
|
+
}
|
|
862
|
+
return this.logger.warn("no plural rule found for: ".concat(a)), "";
|
|
863
|
+
}
|
|
864
|
+
}]), n;
|
|
865
|
+
})(), Wt = (function() {
|
|
866
|
+
function n() {
|
|
867
|
+
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
868
|
+
U(this, n), this.logger = N.create("interpolator"), this.options = t, this.format = t.interpolation && t.interpolation.format || function(a) {
|
|
869
|
+
return a;
|
|
870
|
+
}, this.init(t);
|
|
871
|
+
}
|
|
872
|
+
return j(n, [{
|
|
873
|
+
key: "init",
|
|
874
|
+
value: function() {
|
|
875
|
+
var a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
876
|
+
a.interpolation || (a.interpolation = {
|
|
877
|
+
escapeValue: !0
|
|
878
|
+
});
|
|
879
|
+
var e = a.interpolation;
|
|
880
|
+
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 ? Z(e.prefix) : e.prefixEscaped || "{{", this.suffix = e.suffix ? Z(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 ? Z(e.nestingPrefix) : e.nestingPrefixEscaped || Z("$t("), this.nestingSuffix = e.nestingSuffix ? Z(e.nestingSuffix) : e.nestingSuffixEscaped || Z(")"), 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();
|
|
881
|
+
}
|
|
882
|
+
}, {
|
|
883
|
+
key: "reset",
|
|
884
|
+
value: function() {
|
|
885
|
+
this.options && this.init(this.options);
|
|
886
|
+
}
|
|
887
|
+
}, {
|
|
888
|
+
key: "resetRegExp",
|
|
889
|
+
value: function() {
|
|
890
|
+
var a = "".concat(this.prefix, "(.+?)").concat(this.suffix);
|
|
891
|
+
this.regexp = new RegExp(a, "g");
|
|
892
|
+
var e = "".concat(this.prefix).concat(this.unescapePrefix, "(.+?)").concat(this.unescapeSuffix).concat(this.suffix);
|
|
893
|
+
this.regexpUnescape = new RegExp(e, "g");
|
|
894
|
+
var r = "".concat(this.nestingPrefix, "(.+?)").concat(this.nestingSuffix);
|
|
895
|
+
this.nestingRegexp = new RegExp(r, "g");
|
|
896
|
+
}
|
|
897
|
+
}, {
|
|
898
|
+
key: "interpolate",
|
|
899
|
+
value: function(a, e, r, i) {
|
|
900
|
+
var o = this, s, l, u, c = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {};
|
|
901
|
+
function d(p) {
|
|
902
|
+
return p.replace(/\$/g, "$$$$");
|
|
903
|
+
}
|
|
904
|
+
var f = function(v) {
|
|
905
|
+
if (v.indexOf(o.formatSeparator) < 0) {
|
|
906
|
+
var b = Me(e, c, v);
|
|
907
|
+
return o.alwaysFormat ? o.format(b, void 0, r) : b;
|
|
908
|
+
}
|
|
909
|
+
var S = v.split(o.formatSeparator), L = S.shift().trim(), w = S.join(o.formatSeparator).trim();
|
|
910
|
+
return o.format(Me(e, c, L), w, r, i);
|
|
911
|
+
};
|
|
912
|
+
this.resetRegExp();
|
|
913
|
+
var g = i && i.missingInterpolationHandler || this.options.missingInterpolationHandler, h = i && i.interpolation && i.interpolation.skipOnVariables || this.options.interpolation.skipOnVariables, m = [{
|
|
914
|
+
regex: this.regexpUnescape,
|
|
915
|
+
safeValue: function(v) {
|
|
916
|
+
return d(v);
|
|
917
|
+
}
|
|
918
|
+
}, {
|
|
919
|
+
regex: this.regexp,
|
|
920
|
+
safeValue: function(v) {
|
|
921
|
+
return o.escapeValue ? d(o.escape(v)) : d(v);
|
|
922
|
+
}
|
|
923
|
+
}];
|
|
924
|
+
return m.forEach(function(p) {
|
|
925
|
+
for (u = 0; s = p.regex.exec(a); ) {
|
|
926
|
+
if (l = f(s[1].trim()), l === void 0)
|
|
927
|
+
if (typeof g == "function") {
|
|
928
|
+
var v = g(a, s, i);
|
|
929
|
+
l = typeof v == "string" ? v : "";
|
|
930
|
+
} else if (h) {
|
|
931
|
+
l = s[0];
|
|
932
|
+
continue;
|
|
933
|
+
} else
|
|
934
|
+
o.logger.warn("missed to pass in variable ".concat(s[1], " for interpolating ").concat(a)), l = "";
|
|
935
|
+
else typeof l != "string" && !o.useRawValueToEscape && (l = Fe(l));
|
|
936
|
+
if (a = a.replace(s[0], p.safeValue(l)), p.regex.lastIndex = 0, u++, u >= o.maxReplaces)
|
|
937
|
+
break;
|
|
938
|
+
}
|
|
939
|
+
}), a;
|
|
940
|
+
}
|
|
941
|
+
}, {
|
|
942
|
+
key: "nest",
|
|
943
|
+
value: function(a, e) {
|
|
944
|
+
var r = this, i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, o, s, l = E({}, i);
|
|
945
|
+
l.applyPostProcessor = !1, delete l.defaultValue;
|
|
946
|
+
function u(g, h) {
|
|
947
|
+
var m = this.nestingOptionsSeparator;
|
|
948
|
+
if (g.indexOf(m) < 0) return g;
|
|
949
|
+
var p = g.split(new RegExp("".concat(m, "[ ]*{"))), v = "{".concat(p[1]);
|
|
950
|
+
g = p[0], v = this.interpolate(v, l), v = v.replace(/'/g, '"');
|
|
951
|
+
try {
|
|
952
|
+
l = JSON.parse(v), h && (l = E({}, h, l));
|
|
953
|
+
} catch (b) {
|
|
954
|
+
return this.logger.warn("failed parsing options string in nesting for key ".concat(g), b), "".concat(g).concat(m).concat(v);
|
|
955
|
+
}
|
|
956
|
+
return delete l.defaultValue, g;
|
|
957
|
+
}
|
|
958
|
+
for (; o = this.nestingRegexp.exec(a); ) {
|
|
959
|
+
var c = [], d = !1;
|
|
960
|
+
if (o[0].includes(this.formatSeparator) && !/{.*}/.test(o[1])) {
|
|
961
|
+
var f = o[1].split(this.formatSeparator).map(function(g) {
|
|
962
|
+
return g.trim();
|
|
963
|
+
});
|
|
964
|
+
o[1] = f.shift(), c = f, d = !0;
|
|
965
|
+
}
|
|
966
|
+
if (s = e(u.call(this, o[1].trim(), l), l), s && o[0] === a && typeof s != "string") return s;
|
|
967
|
+
typeof s != "string" && (s = Fe(s)), s || (this.logger.warn("missed to resolve ".concat(o[1], " for nesting ").concat(a)), s = ""), d && (s = c.reduce(function(g, h) {
|
|
968
|
+
return r.format(g, h, i.lng, i);
|
|
969
|
+
}, s.trim())), a = a.replace(o[0], s), this.regexp.lastIndex = 0;
|
|
970
|
+
}
|
|
971
|
+
return a;
|
|
972
|
+
}
|
|
973
|
+
}]), n;
|
|
974
|
+
})();
|
|
975
|
+
function $t(n, t) {
|
|
976
|
+
for (var a = n.indexOf(t); a !== -1; )
|
|
977
|
+
n.splice(a, 1), a = n.indexOf(t);
|
|
978
|
+
}
|
|
979
|
+
var Qt = (function(n) {
|
|
980
|
+
ve(t, n);
|
|
981
|
+
function t(a, e, r) {
|
|
982
|
+
var i, o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
|
|
983
|
+
return U(this, t), i = te(this, X(t).call(this)), ye && I.call(_(i)), i.backend = a, i.store = e, i.services = r, i.languageUtils = r.languageUtils, i.options = o, i.logger = N.create("backendConnector"), i.state = {}, i.queue = [], i.backend && i.backend.init && i.backend.init(r, o.backend, o), i;
|
|
984
|
+
}
|
|
985
|
+
return j(t, [{
|
|
986
|
+
key: "queueLoad",
|
|
987
|
+
value: function(e, r, i, o) {
|
|
988
|
+
var s = this, l = [], u = [], c = [], d = [];
|
|
989
|
+
return e.forEach(function(f) {
|
|
990
|
+
var g = !0;
|
|
991
|
+
r.forEach(function(h) {
|
|
992
|
+
var m = "".concat(f, "|").concat(h);
|
|
993
|
+
!i.reload && s.store.hasResourceBundle(f, h) ? s.state[m] = 2 : s.state[m] < 0 || (s.state[m] === 1 ? u.indexOf(m) < 0 && u.push(m) : (s.state[m] = 1, g = !1, u.indexOf(m) < 0 && u.push(m), l.indexOf(m) < 0 && l.push(m), d.indexOf(h) < 0 && d.push(h)));
|
|
994
|
+
}), g || c.push(f);
|
|
995
|
+
}), (l.length || u.length) && this.queue.push({
|
|
996
|
+
pending: u,
|
|
997
|
+
loaded: {},
|
|
998
|
+
errors: [],
|
|
999
|
+
callback: o
|
|
1000
|
+
}), {
|
|
1001
|
+
toLoad: l,
|
|
1002
|
+
pending: u,
|
|
1003
|
+
toLoadLanguages: c,
|
|
1004
|
+
toLoadNamespaces: d
|
|
1005
|
+
};
|
|
1006
|
+
}
|
|
1007
|
+
}, {
|
|
1008
|
+
key: "loaded",
|
|
1009
|
+
value: function(e, r, i) {
|
|
1010
|
+
var o = e.split("|"), s = o[0], l = o[1];
|
|
1011
|
+
r && this.emit("failedLoading", s, l, r), i && this.store.addResourceBundle(s, l, i), this.state[e] = r ? -1 : 2;
|
|
1012
|
+
var u = {};
|
|
1013
|
+
this.queue.forEach(function(c) {
|
|
1014
|
+
It(c.loaded, [s], l), $t(c.pending, e), r && c.errors.push(r), c.pending.length === 0 && !c.done && (Object.keys(c.loaded).forEach(function(d) {
|
|
1015
|
+
u[d] || (u[d] = []), c.loaded[d].length && c.loaded[d].forEach(function(f) {
|
|
1016
|
+
u[d].indexOf(f) < 0 && u[d].push(f);
|
|
1017
|
+
});
|
|
1018
|
+
}), c.done = !0, c.errors.length ? c.callback(c.errors) : c.callback());
|
|
1019
|
+
}), this.emit("loaded", u), this.queue = this.queue.filter(function(c) {
|
|
1020
|
+
return !c.done;
|
|
1021
|
+
});
|
|
1022
|
+
}
|
|
1023
|
+
}, {
|
|
1024
|
+
key: "read",
|
|
1025
|
+
value: function(e, r, i) {
|
|
1026
|
+
var o = this, s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : 0, l = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : 350, u = arguments.length > 5 ? arguments[5] : void 0;
|
|
1027
|
+
return e.length ? this.backend[i](e, r, function(c, d) {
|
|
1028
|
+
if (c && d && s < 5) {
|
|
1029
|
+
setTimeout(function() {
|
|
1030
|
+
o.read.call(o, e, r, i, s + 1, l * 2, u);
|
|
1031
|
+
}, l);
|
|
1032
|
+
return;
|
|
1033
|
+
}
|
|
1034
|
+
u(c, d);
|
|
1035
|
+
}) : u(null, {});
|
|
1036
|
+
}
|
|
1037
|
+
}, {
|
|
1038
|
+
key: "prepareLoading",
|
|
1039
|
+
value: function(e, r) {
|
|
1040
|
+
var i = this, o = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, s = arguments.length > 3 ? arguments[3] : void 0;
|
|
1041
|
+
if (!this.backend)
|
|
1042
|
+
return this.logger.warn("No backend was added via i18next.use. Will not load resources."), s && s();
|
|
1043
|
+
typeof e == "string" && (e = this.languageUtils.toResolveHierarchy(e)), typeof r == "string" && (r = [r]);
|
|
1044
|
+
var l = this.queueLoad(e, r, o, s);
|
|
1045
|
+
if (!l.toLoad.length)
|
|
1046
|
+
return l.pending.length || s(), null;
|
|
1047
|
+
l.toLoad.forEach(function(u) {
|
|
1048
|
+
i.loadOne(u);
|
|
1049
|
+
});
|
|
1050
|
+
}
|
|
1051
|
+
}, {
|
|
1052
|
+
key: "load",
|
|
1053
|
+
value: function(e, r, i) {
|
|
1054
|
+
this.prepareLoading(e, r, {}, i);
|
|
1055
|
+
}
|
|
1056
|
+
}, {
|
|
1057
|
+
key: "reload",
|
|
1058
|
+
value: function(e, r, i) {
|
|
1059
|
+
this.prepareLoading(e, r, {
|
|
1060
|
+
reload: !0
|
|
1061
|
+
}, i);
|
|
1062
|
+
}
|
|
1063
|
+
}, {
|
|
1064
|
+
key: "loadOne",
|
|
1065
|
+
value: function(e) {
|
|
1066
|
+
var r = this, i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", o = e.split("|"), s = o[0], l = o[1];
|
|
1067
|
+
this.read(s, l, "read", void 0, void 0, function(u, c) {
|
|
1068
|
+
u && r.logger.warn("".concat(i, "loading namespace ").concat(l, " for language ").concat(s, " failed"), u), !u && c && r.logger.log("".concat(i, "loaded namespace ").concat(l, " for language ").concat(s), c), r.loaded(e, u, c);
|
|
1069
|
+
});
|
|
1070
|
+
}
|
|
1071
|
+
}, {
|
|
1072
|
+
key: "saveMissing",
|
|
1073
|
+
value: function(e, r, i, o, s) {
|
|
1074
|
+
var l = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : {};
|
|
1075
|
+
if (this.services.utils && this.services.utils.hasLoadedNamespace && !this.services.utils.hasLoadedNamespace(r)) {
|
|
1076
|
+
this.logger.warn('did not save key "'.concat(i, '" as the namespace "').concat(r, '" 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!!!");
|
|
1077
|
+
return;
|
|
1078
|
+
}
|
|
1079
|
+
i == null || i === "" || (this.backend && this.backend.create && this.backend.create(e, r, i, o, null, E({}, l, {
|
|
1080
|
+
isUpdate: s
|
|
1081
|
+
})), !(!e || !e[0]) && this.store.addResource(e[0], r, i, o));
|
|
1082
|
+
}
|
|
1083
|
+
}]), t;
|
|
1084
|
+
})(I);
|
|
1085
|
+
function Zt() {
|
|
1086
|
+
return {
|
|
1087
|
+
debug: !1,
|
|
1088
|
+
initImmediate: !0,
|
|
1089
|
+
ns: ["translation"],
|
|
1090
|
+
defaultNS: ["translation"],
|
|
1091
|
+
fallbackLng: ["dev"],
|
|
1092
|
+
fallbackNS: !1,
|
|
1093
|
+
whitelist: !1,
|
|
1094
|
+
nonExplicitWhitelist: !1,
|
|
1095
|
+
supportedLngs: !1,
|
|
1096
|
+
nonExplicitSupportedLngs: !1,
|
|
1097
|
+
load: "all",
|
|
1098
|
+
preload: !1,
|
|
1099
|
+
simplifyPluralSuffix: !0,
|
|
1100
|
+
keySeparator: ".",
|
|
1101
|
+
nsSeparator: ":",
|
|
1102
|
+
pluralSeparator: "_",
|
|
1103
|
+
contextSeparator: "_",
|
|
1104
|
+
partialBundledLanguages: !1,
|
|
1105
|
+
saveMissing: !1,
|
|
1106
|
+
updateMissing: !1,
|
|
1107
|
+
saveMissingTo: "fallback",
|
|
1108
|
+
saveMissingPlurals: !0,
|
|
1109
|
+
missingKeyHandler: !1,
|
|
1110
|
+
missingInterpolationHandler: !1,
|
|
1111
|
+
postProcess: !1,
|
|
1112
|
+
postProcessPassResolved: !1,
|
|
1113
|
+
returnNull: !0,
|
|
1114
|
+
returnEmptyString: !0,
|
|
1115
|
+
returnObjects: !1,
|
|
1116
|
+
joinArrays: !1,
|
|
1117
|
+
returnedObjectHandler: !1,
|
|
1118
|
+
parseMissingKeyHandler: !1,
|
|
1119
|
+
appendNamespaceToMissingKey: !1,
|
|
1120
|
+
appendNamespaceToCIMode: !1,
|
|
1121
|
+
overloadTranslationOptionHandler: function(t) {
|
|
1122
|
+
var a = {};
|
|
1123
|
+
if (R(t[1]) === "object" && (a = t[1]), typeof t[1] == "string" && (a.defaultValue = t[1]), typeof t[2] == "string" && (a.tDescription = t[2]), R(t[2]) === "object" || R(t[3]) === "object") {
|
|
1124
|
+
var e = t[3] || t[2];
|
|
1125
|
+
Object.keys(e).forEach(function(r) {
|
|
1126
|
+
a[r] = e[r];
|
|
1127
|
+
});
|
|
1128
|
+
}
|
|
1129
|
+
return a;
|
|
1130
|
+
},
|
|
1131
|
+
interpolation: {
|
|
1132
|
+
escapeValue: !0,
|
|
1133
|
+
format: function(t, a, e, r) {
|
|
1134
|
+
return t;
|
|
1135
|
+
},
|
|
1136
|
+
prefix: "{{",
|
|
1137
|
+
suffix: "}}",
|
|
1138
|
+
formatSeparator: ",",
|
|
1139
|
+
unescapePrefix: "-",
|
|
1140
|
+
nestingPrefix: "$t(",
|
|
1141
|
+
nestingSuffix: ")",
|
|
1142
|
+
nestingOptionsSeparator: ",",
|
|
1143
|
+
maxReplaces: 1e3,
|
|
1144
|
+
skipOnVariables: !1
|
|
1145
|
+
}
|
|
1146
|
+
};
|
|
1147
|
+
}
|
|
1148
|
+
function _e(n) {
|
|
1149
|
+
return typeof n.ns == "string" && (n.ns = [n.ns]), typeof n.fallbackLng == "string" && (n.fallbackLng = [n.fallbackLng]), typeof n.fallbackNS == "string" && (n.fallbackNS = [n.fallbackNS]), n.whitelist && (n.whitelist && n.whitelist.indexOf("cimode") < 0 && (n.whitelist = n.whitelist.concat(["cimode"])), n.supportedLngs = n.whitelist), n.nonExplicitWhitelist && (n.nonExplicitSupportedLngs = n.nonExplicitWhitelist), n.supportedLngs && n.supportedLngs.indexOf("cimode") < 0 && (n.supportedLngs = n.supportedLngs.concat(["cimode"])), n;
|
|
1150
|
+
}
|
|
1151
|
+
function oe() {
|
|
1152
|
+
}
|
|
1153
|
+
var Xt = (function(n) {
|
|
1154
|
+
ve(t, n);
|
|
1155
|
+
function t() {
|
|
1156
|
+
var a, e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = arguments.length > 1 ? arguments[1] : void 0;
|
|
1157
|
+
if (U(this, t), a = te(this, X(t).call(this)), ye && I.call(_(a)), a.options = _e(e), a.services = {}, a.logger = N, a.modules = {
|
|
1158
|
+
external: []
|
|
1159
|
+
}, r && !a.isInitialized && !e.isClone) {
|
|
1160
|
+
if (!a.options.initImmediate)
|
|
1161
|
+
return a.init(e, r), te(a, _(a));
|
|
1162
|
+
setTimeout(function() {
|
|
1163
|
+
a.init(e, r);
|
|
1164
|
+
}, 0);
|
|
1165
|
+
}
|
|
1166
|
+
return a;
|
|
1167
|
+
}
|
|
1168
|
+
return j(t, [{
|
|
1169
|
+
key: "init",
|
|
1170
|
+
value: function() {
|
|
1171
|
+
var e = this, r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, i = arguments.length > 1 ? arguments[1] : void 0;
|
|
1172
|
+
typeof r == "function" && (i = r, r = {}), r.whitelist && !r.supportedLngs && this.logger.deprecate("whitelist", 'option "whitelist" will be renamed to "supportedLngs" in the next major - please make sure to rename this option asap.'), r.nonExplicitWhitelist && !r.nonExplicitSupportedLngs && this.logger.deprecate("whitelist", 'options "nonExplicitWhitelist" will be renamed to "nonExplicitSupportedLngs" in the next major - please make sure to rename this option asap.'), this.options = E({}, Zt(), this.options, _e(r)), this.format = this.options.interpolation.format, i || (i = oe);
|
|
1173
|
+
function o(h) {
|
|
1174
|
+
return h ? typeof h == "function" ? new h() : h : null;
|
|
1175
|
+
}
|
|
1176
|
+
if (!this.options.isClone) {
|
|
1177
|
+
this.modules.logger ? N.init(o(this.modules.logger), this.options) : N.init(null, this.options);
|
|
1178
|
+
var s = new Vt(this.options);
|
|
1179
|
+
this.store = new Mt(this.options.resources, this.options);
|
|
1180
|
+
var l = this.services;
|
|
1181
|
+
l.logger = N, l.resourceStore = this.store, l.languageUtils = s, l.pluralResolver = new Kt(s, {
|
|
1182
|
+
prepend: this.options.pluralSeparator,
|
|
1183
|
+
compatibilityJSON: this.options.compatibilityJSON,
|
|
1184
|
+
simplifyPluralSuffix: this.options.simplifyPluralSuffix
|
|
1185
|
+
}), l.interpolator = new Wt(this.options), l.utils = {
|
|
1186
|
+
hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
|
|
1187
|
+
}, l.backendConnector = new Qt(o(this.modules.backend), l.resourceStore, l, this.options), l.backendConnector.on("*", function(h) {
|
|
1188
|
+
for (var m = arguments.length, p = new Array(m > 1 ? m - 1 : 0), v = 1; v < m; v++)
|
|
1189
|
+
p[v - 1] = arguments[v];
|
|
1190
|
+
e.emit.apply(e, [h].concat(p));
|
|
1191
|
+
}), this.modules.languageDetector && (l.languageDetector = o(this.modules.languageDetector), l.languageDetector.init(l, this.options.detection, this.options)), this.modules.i18nFormat && (l.i18nFormat = o(this.modules.i18nFormat), l.i18nFormat.init && l.i18nFormat.init(this)), this.translator = new He(this.services, this.options), this.translator.on("*", function(h) {
|
|
1192
|
+
for (var m = arguments.length, p = new Array(m > 1 ? m - 1 : 0), v = 1; v < m; v++)
|
|
1193
|
+
p[v - 1] = arguments[v];
|
|
1194
|
+
e.emit.apply(e, [h].concat(p));
|
|
1195
|
+
}), this.modules.external.forEach(function(h) {
|
|
1196
|
+
h.init && h.init(e);
|
|
1197
|
+
});
|
|
1198
|
+
}
|
|
1199
|
+
if (this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
|
|
1200
|
+
var u = this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);
|
|
1201
|
+
u.length > 0 && u[0] !== "dev" && (this.options.lng = u[0]);
|
|
1202
|
+
}
|
|
1203
|
+
!this.services.languageDetector && !this.options.lng && this.logger.warn("init: no languageDetector is used and no lng is defined");
|
|
1204
|
+
var c = ["getResource", "hasResourceBundle", "getResourceBundle", "getDataByLanguage"];
|
|
1205
|
+
c.forEach(function(h) {
|
|
1206
|
+
e[h] = function() {
|
|
1207
|
+
var m;
|
|
1208
|
+
return (m = e.store)[h].apply(m, arguments);
|
|
1209
|
+
};
|
|
1210
|
+
});
|
|
1211
|
+
var d = ["addResource", "addResources", "addResourceBundle", "removeResourceBundle"];
|
|
1212
|
+
d.forEach(function(h) {
|
|
1213
|
+
e[h] = function() {
|
|
1214
|
+
var m;
|
|
1215
|
+
return (m = e.store)[h].apply(m, arguments), e;
|
|
1216
|
+
};
|
|
1217
|
+
});
|
|
1218
|
+
var f = G(), g = function() {
|
|
1219
|
+
var m = function(v, b) {
|
|
1220
|
+
e.isInitialized && e.logger.warn("init: i18next is already initialized. You should call init just once!"), e.isInitialized = !0, e.options.isClone || e.logger.log("initialized", e.options), e.emit("initialized", e.options), f.resolve(b), i(v, b);
|
|
1221
|
+
};
|
|
1222
|
+
if (e.languages && e.options.compatibilityAPI !== "v1" && !e.isInitialized) return m(null, e.t.bind(e));
|
|
1223
|
+
e.changeLanguage(e.options.lng, m);
|
|
1224
|
+
};
|
|
1225
|
+
return this.options.resources || !this.options.initImmediate ? g() : setTimeout(g, 0), f;
|
|
1226
|
+
}
|
|
1227
|
+
}, {
|
|
1228
|
+
key: "loadResources",
|
|
1229
|
+
value: function(e) {
|
|
1230
|
+
var r = this, i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : oe, o = i, s = typeof e == "string" ? e : this.language;
|
|
1231
|
+
if (typeof e == "function" && (o = e), !this.options.resources || this.options.partialBundledLanguages) {
|
|
1232
|
+
if (s && s.toLowerCase() === "cimode") return o();
|
|
1233
|
+
var l = [], u = function(f) {
|
|
1234
|
+
if (f) {
|
|
1235
|
+
var g = r.services.languageUtils.toResolveHierarchy(f);
|
|
1236
|
+
g.forEach(function(h) {
|
|
1237
|
+
l.indexOf(h) < 0 && l.push(h);
|
|
1238
|
+
});
|
|
1239
|
+
}
|
|
1240
|
+
};
|
|
1241
|
+
if (s)
|
|
1242
|
+
u(s);
|
|
1243
|
+
else {
|
|
1244
|
+
var c = this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);
|
|
1245
|
+
c.forEach(function(d) {
|
|
1246
|
+
return u(d);
|
|
1247
|
+
});
|
|
1248
|
+
}
|
|
1249
|
+
this.options.preload && this.options.preload.forEach(function(d) {
|
|
1250
|
+
return u(d);
|
|
1251
|
+
}), this.services.backendConnector.load(l, this.options.ns, o);
|
|
1252
|
+
} else
|
|
1253
|
+
o(null);
|
|
1254
|
+
}
|
|
1255
|
+
}, {
|
|
1256
|
+
key: "reloadResources",
|
|
1257
|
+
value: function(e, r, i) {
|
|
1258
|
+
var o = G();
|
|
1259
|
+
return e || (e = this.languages), r || (r = this.options.ns), i || (i = oe), this.services.backendConnector.reload(e, r, function(s) {
|
|
1260
|
+
o.resolve(), i(s);
|
|
1261
|
+
}), o;
|
|
1262
|
+
}
|
|
1263
|
+
}, {
|
|
1264
|
+
key: "use",
|
|
1265
|
+
value: function(e) {
|
|
1266
|
+
if (!e) throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");
|
|
1267
|
+
if (!e.type) throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");
|
|
1268
|
+
return e.type === "backend" && (this.modules.backend = e), (e.type === "logger" || e.log && e.warn && e.error) && (this.modules.logger = e), e.type === "languageDetector" && (this.modules.languageDetector = e), e.type === "i18nFormat" && (this.modules.i18nFormat = e), e.type === "postProcessor" && ft.addPostProcessor(e), e.type === "3rdParty" && this.modules.external.push(e), this;
|
|
1269
|
+
}
|
|
1270
|
+
}, {
|
|
1271
|
+
key: "changeLanguage",
|
|
1272
|
+
value: function(e, r) {
|
|
1273
|
+
var i = this;
|
|
1274
|
+
this.isLanguageChangingTo = e;
|
|
1275
|
+
var o = G();
|
|
1276
|
+
this.emit("languageChanging", e);
|
|
1277
|
+
var s = function(c, d) {
|
|
1278
|
+
d ? (i.language = d, i.languages = i.services.languageUtils.toResolveHierarchy(d), i.translator.changeLanguage(d), i.isLanguageChangingTo = void 0, i.emit("languageChanged", d), i.logger.log("languageChanged", d)) : i.isLanguageChangingTo = void 0, o.resolve(function() {
|
|
1279
|
+
return i.t.apply(i, arguments);
|
|
1280
|
+
}), r && r(c, function() {
|
|
1281
|
+
return i.t.apply(i, arguments);
|
|
1282
|
+
});
|
|
1283
|
+
}, l = function(c) {
|
|
1284
|
+
var d = typeof c == "string" ? c : i.services.languageUtils.getBestMatchFromCodes(c);
|
|
1285
|
+
d && (i.language || (i.language = d, i.languages = i.services.languageUtils.toResolveHierarchy(d)), i.translator.language || i.translator.changeLanguage(d), i.services.languageDetector && i.services.languageDetector.cacheUserLanguage(d)), i.loadResources(d, function(f) {
|
|
1286
|
+
s(f, d);
|
|
1287
|
+
});
|
|
1288
|
+
};
|
|
1289
|
+
return !e && this.services.languageDetector && !this.services.languageDetector.async ? l(this.services.languageDetector.detect()) : !e && this.services.languageDetector && this.services.languageDetector.async ? this.services.languageDetector.detect(l) : l(e), o;
|
|
1290
|
+
}
|
|
1291
|
+
}, {
|
|
1292
|
+
key: "getFixedT",
|
|
1293
|
+
value: function(e, r) {
|
|
1294
|
+
var i = this, o = function s(l, u) {
|
|
1295
|
+
var c;
|
|
1296
|
+
if (R(u) !== "object") {
|
|
1297
|
+
for (var d = arguments.length, f = new Array(d > 2 ? d - 2 : 0), g = 2; g < d; g++)
|
|
1298
|
+
f[g - 2] = arguments[g];
|
|
1299
|
+
c = i.options.overloadTranslationOptionHandler([l, u].concat(f));
|
|
1300
|
+
} else
|
|
1301
|
+
c = E({}, u);
|
|
1302
|
+
return c.lng = c.lng || s.lng, c.lngs = c.lngs || s.lngs, c.ns = c.ns || s.ns, i.t(l, c);
|
|
1303
|
+
};
|
|
1304
|
+
return typeof e == "string" ? o.lng = e : o.lngs = e, o.ns = r, o;
|
|
1305
|
+
}
|
|
1306
|
+
}, {
|
|
1307
|
+
key: "t",
|
|
1308
|
+
value: function() {
|
|
1309
|
+
var e;
|
|
1310
|
+
return this.translator && (e = this.translator).translate.apply(e, arguments);
|
|
1311
|
+
}
|
|
1312
|
+
}, {
|
|
1313
|
+
key: "exists",
|
|
1314
|
+
value: function() {
|
|
1315
|
+
var e;
|
|
1316
|
+
return this.translator && (e = this.translator).exists.apply(e, arguments);
|
|
1317
|
+
}
|
|
1318
|
+
}, {
|
|
1319
|
+
key: "setDefaultNamespace",
|
|
1320
|
+
value: function(e) {
|
|
1321
|
+
this.options.defaultNS = e;
|
|
1322
|
+
}
|
|
1323
|
+
}, {
|
|
1324
|
+
key: "hasLoadedNamespace",
|
|
1325
|
+
value: function(e) {
|
|
1326
|
+
var r = this, i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
1327
|
+
if (!this.isInitialized)
|
|
1328
|
+
return this.logger.warn("hasLoadedNamespace: i18next was not initialized", this.languages), !1;
|
|
1329
|
+
if (!this.languages || !this.languages.length)
|
|
1330
|
+
return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty", this.languages), !1;
|
|
1331
|
+
var o = this.languages[0], s = this.options ? this.options.fallbackLng : !1, l = this.languages[this.languages.length - 1];
|
|
1332
|
+
if (o.toLowerCase() === "cimode") return !0;
|
|
1333
|
+
var u = function(f, g) {
|
|
1334
|
+
var h = r.services.backendConnector.state["".concat(f, "|").concat(g)];
|
|
1335
|
+
return h === -1 || h === 2;
|
|
1336
|
+
};
|
|
1337
|
+
if (i.precheck) {
|
|
1338
|
+
var c = i.precheck(this, u);
|
|
1339
|
+
if (c !== void 0) return c;
|
|
1340
|
+
}
|
|
1341
|
+
return !!(this.hasResourceBundle(o, e) || !this.services.backendConnector.backend || u(o, e) && (!s || u(l, e)));
|
|
1342
|
+
}
|
|
1343
|
+
}, {
|
|
1344
|
+
key: "loadNamespaces",
|
|
1345
|
+
value: function(e, r) {
|
|
1346
|
+
var i = this, o = G();
|
|
1347
|
+
return this.options.ns ? (typeof e == "string" && (e = [e]), e.forEach(function(s) {
|
|
1348
|
+
i.options.ns.indexOf(s) < 0 && i.options.ns.push(s);
|
|
1349
|
+
}), this.loadResources(function(s) {
|
|
1350
|
+
o.resolve(), r && r(s);
|
|
1351
|
+
}), o) : (r && r(), Promise.resolve());
|
|
1352
|
+
}
|
|
1353
|
+
}, {
|
|
1354
|
+
key: "loadLanguages",
|
|
1355
|
+
value: function(e, r) {
|
|
1356
|
+
var i = G();
|
|
1357
|
+
typeof e == "string" && (e = [e]);
|
|
1358
|
+
var o = this.options.preload || [], s = e.filter(function(l) {
|
|
1359
|
+
return o.indexOf(l) < 0;
|
|
1360
|
+
});
|
|
1361
|
+
return s.length ? (this.options.preload = o.concat(s), this.loadResources(function(l) {
|
|
1362
|
+
i.resolve(), r && r(l);
|
|
1363
|
+
}), i) : (r && r(), Promise.resolve());
|
|
1364
|
+
}
|
|
1365
|
+
}, {
|
|
1366
|
+
key: "dir",
|
|
1367
|
+
value: function(e) {
|
|
1368
|
+
if (e || (e = this.languages && this.languages.length > 0 ? this.languages[0] : this.language), !e) return "rtl";
|
|
1369
|
+
var r = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam"];
|
|
1370
|
+
return r.indexOf(this.services.languageUtils.getLanguagePartFromCode(e)) >= 0 ? "rtl" : "ltr";
|
|
1371
|
+
}
|
|
1372
|
+
}, {
|
|
1373
|
+
key: "createInstance",
|
|
1374
|
+
value: function() {
|
|
1375
|
+
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = arguments.length > 1 ? arguments[1] : void 0;
|
|
1376
|
+
return new t(e, r);
|
|
1377
|
+
}
|
|
1378
|
+
}, {
|
|
1379
|
+
key: "cloneInstance",
|
|
1380
|
+
value: function() {
|
|
1381
|
+
var e = this, r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : oe, o = E({}, this.options, r, {
|
|
1382
|
+
isClone: !0
|
|
1383
|
+
}), s = new t(o), l = ["store", "services", "language"];
|
|
1384
|
+
return l.forEach(function(u) {
|
|
1385
|
+
s[u] = e[u];
|
|
1386
|
+
}), s.services = E({}, this.services), s.services.utils = {
|
|
1387
|
+
hasLoadedNamespace: s.hasLoadedNamespace.bind(s)
|
|
1388
|
+
}, s.translator = new He(s.services, s.options), s.translator.on("*", function(u) {
|
|
1389
|
+
for (var c = arguments.length, d = new Array(c > 1 ? c - 1 : 0), f = 1; f < c; f++)
|
|
1390
|
+
d[f - 1] = arguments[f];
|
|
1391
|
+
s.emit.apply(s, [u].concat(d));
|
|
1392
|
+
}), s.init(o, i), s.translator.options = s.options, s.translator.backendConnector.services.utils = {
|
|
1393
|
+
hasLoadedNamespace: s.hasLoadedNamespace.bind(s)
|
|
1394
|
+
}, s;
|
|
1395
|
+
}
|
|
1396
|
+
}]), t;
|
|
1397
|
+
})(I), H = new Xt();
|
|
1398
|
+
function Yt(n, t) {
|
|
1399
|
+
if (n == null) return {};
|
|
1400
|
+
var a = {};
|
|
1401
|
+
for (var e in n) if ({}.hasOwnProperty.call(n, e)) {
|
|
1402
|
+
if (t.indexOf(e) !== -1) continue;
|
|
1403
|
+
a[e] = n[e];
|
|
1404
|
+
}
|
|
1405
|
+
return a;
|
|
1406
|
+
}
|
|
1407
|
+
function pt(n, t) {
|
|
1408
|
+
if (n == null) return {};
|
|
1409
|
+
var a, e, r = Yt(n, t);
|
|
1410
|
+
if (Object.getOwnPropertySymbols) {
|
|
1411
|
+
var i = Object.getOwnPropertySymbols(n);
|
|
1412
|
+
for (e = 0; e < i.length; e++) a = i[e], t.indexOf(a) === -1 && {}.propertyIsEnumerable.call(n, a) && (r[a] = n[a]);
|
|
1413
|
+
}
|
|
1414
|
+
return r;
|
|
1415
|
+
}
|
|
1416
|
+
var yn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
1417
|
+
function Gt(n) {
|
|
1418
|
+
return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
|
|
1419
|
+
}
|
|
1420
|
+
var Te, qe;
|
|
1421
|
+
function Jt() {
|
|
1422
|
+
return qe || (qe = 1, Te = {
|
|
1423
|
+
area: !0,
|
|
1424
|
+
base: !0,
|
|
1425
|
+
br: !0,
|
|
1426
|
+
col: !0,
|
|
1427
|
+
embed: !0,
|
|
1428
|
+
hr: !0,
|
|
1429
|
+
img: !0,
|
|
1430
|
+
input: !0,
|
|
1431
|
+
link: !0,
|
|
1432
|
+
meta: !0,
|
|
1433
|
+
param: !0,
|
|
1434
|
+
source: !0,
|
|
1435
|
+
track: !0,
|
|
1436
|
+
wbr: !0
|
|
1437
|
+
}), Te;
|
|
1438
|
+
}
|
|
1439
|
+
var ea = Jt();
|
|
1440
|
+
const ta = /* @__PURE__ */ Gt(ea);
|
|
1441
|
+
var aa = /\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;
|
|
1442
|
+
function Ke(n) {
|
|
1443
|
+
var t = { type: "tag", name: "", voidElement: !1, attrs: {}, children: [] }, a = n.match(/<\/?([^\s]+?)[/\s>]/);
|
|
1444
|
+
if (a && (t.name = a[1], (ta[a[1]] || n.charAt(n.length - 2) === "/") && (t.voidElement = !0), t.name.startsWith("!--"))) {
|
|
1445
|
+
var e = n.indexOf("-->");
|
|
1446
|
+
return { type: "comment", comment: e !== -1 ? n.slice(4, e) : "" };
|
|
1447
|
+
}
|
|
1448
|
+
for (var r = new RegExp(aa), i = null; (i = r.exec(n)) !== null; ) if (i[0].trim()) if (i[1]) {
|
|
1449
|
+
var o = i[1].trim(), s = [o, ""];
|
|
1450
|
+
o.indexOf("=") > -1 && (s = o.split("=")), t.attrs[s[0]] = s[1], r.lastIndex--;
|
|
1451
|
+
} else i[2] && (t.attrs[i[2]] = i[3].trim().substring(1, i[3].length - 1));
|
|
1452
|
+
return t;
|
|
1453
|
+
}
|
|
1454
|
+
var na = /<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g, ra = /^\s*$/, ia = /* @__PURE__ */ Object.create(null);
|
|
1455
|
+
function gt(n, t) {
|
|
1456
|
+
switch (t.type) {
|
|
1457
|
+
case "text":
|
|
1458
|
+
return n + t.content;
|
|
1459
|
+
case "tag":
|
|
1460
|
+
return n += "<" + t.name + (t.attrs ? (function(a) {
|
|
1461
|
+
var e = [];
|
|
1462
|
+
for (var r in a) e.push(r + '="' + a[r] + '"');
|
|
1463
|
+
return e.length ? " " + e.join(" ") : "";
|
|
1464
|
+
})(t.attrs) : "") + (t.voidElement ? "/>" : ">"), t.voidElement ? n : n + t.children.reduce(gt, "") + "</" + t.name + ">";
|
|
1465
|
+
case "comment":
|
|
1466
|
+
return n + "<!--" + t.comment + "-->";
|
|
1467
|
+
}
|
|
1468
|
+
}
|
|
1469
|
+
var oa = { parse: function(n, t) {
|
|
1470
|
+
t || (t = {}), t.components || (t.components = ia);
|
|
1471
|
+
var a, e = [], r = [], i = -1, o = !1;
|
|
1472
|
+
if (n.indexOf("<") !== 0) {
|
|
1473
|
+
var s = n.indexOf("<");
|
|
1474
|
+
e.push({ type: "text", content: s === -1 ? n : n.substring(0, s) });
|
|
1475
|
+
}
|
|
1476
|
+
return n.replace(na, function(l, u) {
|
|
1477
|
+
if (o) {
|
|
1478
|
+
if (l !== "</" + a.name + ">") return;
|
|
1479
|
+
o = !1;
|
|
1480
|
+
}
|
|
1481
|
+
var c, d = l.charAt(1) !== "/", f = l.startsWith("<!--"), g = u + l.length, h = n.charAt(g);
|
|
1482
|
+
if (f) {
|
|
1483
|
+
var m = Ke(l);
|
|
1484
|
+
return i < 0 ? (e.push(m), e) : ((c = r[i]).children.push(m), e);
|
|
1485
|
+
}
|
|
1486
|
+
if (d && (i++, (a = Ke(l)).type === "tag" && t.components[a.name] && (a.type = "component", o = !0), a.voidElement || o || !h || h === "<" || a.children.push({ type: "text", content: n.slice(g, n.indexOf("<", g)) }), i === 0 && e.push(a), (c = r[i - 1]) && c.children.push(a), r[i] = a), (!d || a.voidElement) && (i > -1 && (a.voidElement || a.name === l.slice(2, -1)) && (i--, a = i === -1 ? e : r[i]), !o && h !== "<" && h)) {
|
|
1487
|
+
c = i === -1 ? e : r[i].children;
|
|
1488
|
+
var p = n.indexOf("<", g), v = n.slice(g, p === -1 ? void 0 : p);
|
|
1489
|
+
ra.test(v) && (v = " "), (p > -1 && i + c.length >= 0 || v !== " ") && c.push({ type: "text", content: v });
|
|
1490
|
+
}
|
|
1491
|
+
}), e;
|
|
1492
|
+
}, stringify: function(n) {
|
|
1493
|
+
return n.reduce(function(t, a) {
|
|
1494
|
+
return t + gt("", a);
|
|
1495
|
+
}, "");
|
|
1496
|
+
} }, sa = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, la = {
|
|
1497
|
+
"&": "&",
|
|
1498
|
+
"&": "&",
|
|
1499
|
+
"<": "<",
|
|
1500
|
+
"<": "<",
|
|
1501
|
+
">": ">",
|
|
1502
|
+
">": ">",
|
|
1503
|
+
"'": "'",
|
|
1504
|
+
"'": "'",
|
|
1505
|
+
""": '"',
|
|
1506
|
+
""": '"',
|
|
1507
|
+
" ": " ",
|
|
1508
|
+
" ": " ",
|
|
1509
|
+
"©": "©",
|
|
1510
|
+
"©": "©",
|
|
1511
|
+
"®": "®",
|
|
1512
|
+
"®": "®",
|
|
1513
|
+
"…": "…",
|
|
1514
|
+
"…": "…",
|
|
1515
|
+
"/": "/",
|
|
1516
|
+
"/": "/"
|
|
1517
|
+
}, ua = function(t) {
|
|
1518
|
+
return la[t];
|
|
1519
|
+
}, ca = function(t) {
|
|
1520
|
+
return t.replace(sa, ua);
|
|
1521
|
+
};
|
|
1522
|
+
function We(n, t) {
|
|
1523
|
+
var a = Object.keys(n);
|
|
1524
|
+
if (Object.getOwnPropertySymbols) {
|
|
1525
|
+
var e = Object.getOwnPropertySymbols(n);
|
|
1526
|
+
t && (e = e.filter(function(r) {
|
|
1527
|
+
return Object.getOwnPropertyDescriptor(n, r).enumerable;
|
|
1528
|
+
})), a.push.apply(a, e);
|
|
1529
|
+
}
|
|
1530
|
+
return a;
|
|
1531
|
+
}
|
|
1532
|
+
function $e(n) {
|
|
1533
|
+
for (var t = 1; t < arguments.length; t++) {
|
|
1534
|
+
var a = arguments[t] != null ? arguments[t] : {};
|
|
1535
|
+
t % 2 ? We(Object(a), !0).forEach(function(e) {
|
|
1536
|
+
me(n, e, a[e]);
|
|
1537
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(n, Object.getOwnPropertyDescriptors(a)) : We(Object(a)).forEach(function(e) {
|
|
1538
|
+
Object.defineProperty(n, e, Object.getOwnPropertyDescriptor(a, e));
|
|
1539
|
+
});
|
|
1540
|
+
}
|
|
1541
|
+
return n;
|
|
1542
|
+
}
|
|
1543
|
+
var Ue = {
|
|
1544
|
+
bindI18n: "languageChanged",
|
|
1545
|
+
bindI18nStore: "",
|
|
1546
|
+
transEmptyNodeValue: "",
|
|
1547
|
+
transSupportBasicHtmlNodes: !0,
|
|
1548
|
+
transWrapTextNodes: "",
|
|
1549
|
+
transKeepBasicHtmlNodesFor: ["br", "strong", "i", "p"],
|
|
1550
|
+
useSuspense: !0,
|
|
1551
|
+
unescape: ca
|
|
1552
|
+
}, ht, mt = Ut();
|
|
1553
|
+
function da() {
|
|
1554
|
+
var n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
1555
|
+
Ue = $e($e({}, Ue), n);
|
|
1556
|
+
}
|
|
1557
|
+
function vt() {
|
|
1558
|
+
return Ue;
|
|
1559
|
+
}
|
|
1560
|
+
var fa = (function() {
|
|
1561
|
+
function n() {
|
|
1562
|
+
U(this, n), this.usedNamespaces = {};
|
|
1563
|
+
}
|
|
1564
|
+
return j(n, [{
|
|
1565
|
+
key: "addUsedNamespaces",
|
|
1566
|
+
value: function(a) {
|
|
1567
|
+
var e = this;
|
|
1568
|
+
a.forEach(function(r) {
|
|
1569
|
+
e.usedNamespaces[r] || (e.usedNamespaces[r] = !0);
|
|
1570
|
+
});
|
|
1571
|
+
}
|
|
1572
|
+
}, {
|
|
1573
|
+
key: "getUsedNamespaces",
|
|
1574
|
+
value: function() {
|
|
1575
|
+
return Object.keys(this.usedNamespaces);
|
|
1576
|
+
}
|
|
1577
|
+
}]), n;
|
|
1578
|
+
})();
|
|
1579
|
+
function pa(n) {
|
|
1580
|
+
ht = n;
|
|
1581
|
+
}
|
|
1582
|
+
function yt() {
|
|
1583
|
+
return ht;
|
|
1584
|
+
}
|
|
1585
|
+
var ga = {
|
|
1586
|
+
type: "3rdParty",
|
|
1587
|
+
init: function(t) {
|
|
1588
|
+
da(t.options.react), pa(t);
|
|
1589
|
+
}
|
|
1590
|
+
};
|
|
1591
|
+
function ue() {
|
|
1592
|
+
if (console && console.warn) {
|
|
1593
|
+
for (var n, t = arguments.length, a = new Array(t), e = 0; e < t; e++)
|
|
1594
|
+
a[e] = arguments[e];
|
|
1595
|
+
typeof a[0] == "string" && (a[0] = "react-i18next:: ".concat(a[0])), (n = console).warn.apply(n, a);
|
|
1596
|
+
}
|
|
1597
|
+
}
|
|
1598
|
+
var Qe = {};
|
|
1599
|
+
function fe() {
|
|
1600
|
+
for (var n = arguments.length, t = new Array(n), a = 0; a < n; a++)
|
|
1601
|
+
t[a] = arguments[a];
|
|
1602
|
+
typeof t[0] == "string" && Qe[t[0]] || (typeof t[0] == "string" && (Qe[t[0]] = /* @__PURE__ */ new Date()), ue.apply(void 0, t));
|
|
1603
|
+
}
|
|
1604
|
+
function Ze(n, t, a) {
|
|
1605
|
+
n.loadNamespaces(t, function() {
|
|
1606
|
+
if (n.isInitialized)
|
|
1607
|
+
a();
|
|
1608
|
+
else {
|
|
1609
|
+
var e = function r() {
|
|
1610
|
+
setTimeout(function() {
|
|
1611
|
+
n.off("initialized", r);
|
|
1612
|
+
}, 0), a();
|
|
1613
|
+
};
|
|
1614
|
+
n.on("initialized", e);
|
|
1615
|
+
}
|
|
1616
|
+
});
|
|
1617
|
+
}
|
|
1618
|
+
function ha(n, t) {
|
|
1619
|
+
var a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, e = t.languages[0], r = t.options ? t.options.fallbackLng : !1, i = t.languages[t.languages.length - 1];
|
|
1620
|
+
if (e.toLowerCase() === "cimode") return !0;
|
|
1621
|
+
var o = function(l, u) {
|
|
1622
|
+
var c = t.services.backendConnector.state["".concat(l, "|").concat(u)];
|
|
1623
|
+
return c === -1 || c === 2;
|
|
1624
|
+
};
|
|
1625
|
+
return a.bindI18n && a.bindI18n.indexOf("languageChanging") > -1 && t.services.backendConnector.backend && t.isLanguageChangingTo && !o(t.isLanguageChangingTo, n) ? !1 : !!(t.hasResourceBundle(e, n) || !t.services.backendConnector.backend || t.options.resources && !t.options.partialBundledLanguages || o(e, n) && (!r || o(i, n)));
|
|
1626
|
+
}
|
|
1627
|
+
function ma(n, t) {
|
|
1628
|
+
var a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
1629
|
+
if (!t.languages || !t.languages.length)
|
|
1630
|
+
return fe("i18n.languages were undefined or empty", t.languages), !0;
|
|
1631
|
+
var e = t.options.ignoreJSONStructure !== void 0;
|
|
1632
|
+
return e ? t.hasLoadedNamespace(n, {
|
|
1633
|
+
precheck: function(i, o) {
|
|
1634
|
+
if (a.bindI18n && a.bindI18n.indexOf("languageChanging") > -1 && i.services.backendConnector.backend && i.isLanguageChangingTo && !o(i.isLanguageChangingTo, n)) return !1;
|
|
1635
|
+
}
|
|
1636
|
+
}) : ha(n, t, a);
|
|
1637
|
+
}
|
|
1638
|
+
var va = ["format"], ya = ["children", "count", "parent", "i18nKey", "context", "tOptions", "values", "defaults", "components", "ns", "i18n", "t", "shouldUnescape"];
|
|
1639
|
+
function Xe(n, t) {
|
|
1640
|
+
var a = Object.keys(n);
|
|
1641
|
+
if (Object.getOwnPropertySymbols) {
|
|
1642
|
+
var e = Object.getOwnPropertySymbols(n);
|
|
1643
|
+
t && (e = e.filter(function(r) {
|
|
1644
|
+
return Object.getOwnPropertyDescriptor(n, r).enumerable;
|
|
1645
|
+
})), a.push.apply(a, e);
|
|
1646
|
+
}
|
|
1647
|
+
return a;
|
|
1648
|
+
}
|
|
1649
|
+
function P(n) {
|
|
1650
|
+
for (var t = 1; t < arguments.length; t++) {
|
|
1651
|
+
var a = arguments[t] != null ? arguments[t] : {};
|
|
1652
|
+
t % 2 ? Xe(Object(a), !0).forEach(function(e) {
|
|
1653
|
+
me(n, e, a[e]);
|
|
1654
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(n, Object.getOwnPropertyDescriptors(a)) : Xe(Object(a)).forEach(function(e) {
|
|
1655
|
+
Object.defineProperty(n, e, Object.getOwnPropertyDescriptor(a, e));
|
|
1656
|
+
});
|
|
1657
|
+
}
|
|
1658
|
+
return n;
|
|
1659
|
+
}
|
|
1660
|
+
function ke(n, t) {
|
|
1661
|
+
if (!n) return !1;
|
|
1662
|
+
var a = n.props ? n.props.children : n.children;
|
|
1663
|
+
return t ? a.length > 0 : !!a;
|
|
1664
|
+
}
|
|
1665
|
+
function Le(n) {
|
|
1666
|
+
return n ? n.props ? n.props.children : n.children : [];
|
|
1667
|
+
}
|
|
1668
|
+
function ba(n) {
|
|
1669
|
+
return Object.prototype.toString.call(n) !== "[object Array]" ? !1 : n.every(function(t) {
|
|
1670
|
+
return ce(t);
|
|
1671
|
+
});
|
|
1672
|
+
}
|
|
1673
|
+
function J(n) {
|
|
1674
|
+
return Array.isArray(n) ? n : [n];
|
|
1675
|
+
}
|
|
1676
|
+
function Sa(n, t) {
|
|
1677
|
+
var a = P({}, t);
|
|
1678
|
+
return a.props = Object.assign(n.props, t.props), a;
|
|
1679
|
+
}
|
|
1680
|
+
function bt(n, t) {
|
|
1681
|
+
if (!n) return "";
|
|
1682
|
+
var a = "", e = J(n), r = t.transSupportBasicHtmlNodes && t.transKeepBasicHtmlNodesFor ? t.transKeepBasicHtmlNodesFor : [];
|
|
1683
|
+
return e.forEach(function(i, o) {
|
|
1684
|
+
if (typeof i == "string")
|
|
1685
|
+
a += "".concat(i);
|
|
1686
|
+
else if (ce(i)) {
|
|
1687
|
+
var s = Object.keys(i.props).length, l = r.indexOf(i.type) > -1, u = i.props.children;
|
|
1688
|
+
if (!u && l && s === 0)
|
|
1689
|
+
a += "<".concat(i.type, "/>");
|
|
1690
|
+
else if (!u && (!l || s !== 0))
|
|
1691
|
+
a += "<".concat(o, "></").concat(o, ">");
|
|
1692
|
+
else if (i.props.i18nIsDynamicList)
|
|
1693
|
+
a += "<".concat(o, "></").concat(o, ">");
|
|
1694
|
+
else if (l && s === 1 && typeof u == "string")
|
|
1695
|
+
a += "<".concat(i.type, ">").concat(u, "</").concat(i.type, ">");
|
|
1696
|
+
else {
|
|
1697
|
+
var c = bt(u, t);
|
|
1698
|
+
a += "<".concat(o, ">").concat(c, "</").concat(o, ">");
|
|
1699
|
+
}
|
|
1700
|
+
} else if (i === null)
|
|
1701
|
+
ue("Trans: the passed in value is invalid - seems you passed in a null child.");
|
|
1702
|
+
else if (R(i) === "object") {
|
|
1703
|
+
var d = i.format, f = pt(i, va), g = Object.keys(f);
|
|
1704
|
+
if (g.length === 1) {
|
|
1705
|
+
var h = d ? "".concat(g[0], ", ").concat(d) : g[0];
|
|
1706
|
+
a += "{{".concat(h, "}}");
|
|
1707
|
+
} else
|
|
1708
|
+
ue("react-i18next: the passed in object contained more than one variable - the object should look like {{ value, format }} where format is optional.", i);
|
|
1709
|
+
} else
|
|
1710
|
+
ue("Trans: the passed in value is invalid - seems you passed in a variable like {number} - please pass in variables for interpolation as full objects like {{number}}.", i);
|
|
1711
|
+
}), a;
|
|
1712
|
+
}
|
|
1713
|
+
function wa(n, t, a, e, r, i) {
|
|
1714
|
+
if (t === "") return [];
|
|
1715
|
+
var o = e.transKeepBasicHtmlNodesFor || [], s = t && new RegExp(o.join("|")).test(t);
|
|
1716
|
+
if (!n && !s) return [t];
|
|
1717
|
+
var l = {};
|
|
1718
|
+
function u(p) {
|
|
1719
|
+
var v = J(p);
|
|
1720
|
+
v.forEach(function(b) {
|
|
1721
|
+
typeof b != "string" && (ke(b) ? u(Le(b)) : R(b) === "object" && !ce(b) && Object.assign(l, b));
|
|
1722
|
+
});
|
|
1723
|
+
}
|
|
1724
|
+
u(n);
|
|
1725
|
+
var c = oa.parse("<0>".concat(t, "</0>")), d = P(P({}, l), r);
|
|
1726
|
+
function f(p, v, b) {
|
|
1727
|
+
var S = Le(p), L = h(S, v.children, b);
|
|
1728
|
+
return ba(S) && L.length === 0 ? S : L;
|
|
1729
|
+
}
|
|
1730
|
+
function g(p, v, b, S, L) {
|
|
1731
|
+
p.dummy && (p.children = v), b.push(ie(p, P(P({}, p.props), {}, {
|
|
1732
|
+
key: S
|
|
1733
|
+
}), L ? void 0 : v));
|
|
1734
|
+
}
|
|
1735
|
+
function h(p, v, b) {
|
|
1736
|
+
var S = J(p), L = J(v);
|
|
1737
|
+
return L.reduce(function(w, y, T) {
|
|
1738
|
+
var C = y.children && y.children[0] && y.children[0].content && a.services.interpolator.interpolate(y.children[0].content, d, a.language);
|
|
1739
|
+
if (y.type === "tag") {
|
|
1740
|
+
var k = S[parseInt(y.name, 10)];
|
|
1741
|
+
!k && b.length === 1 && b[0][y.name] && (k = b[0][y.name]), k || (k = {});
|
|
1742
|
+
var x = Object.keys(y.attrs).length !== 0 ? Sa({
|
|
1743
|
+
props: y.attrs
|
|
1744
|
+
}, k) : k, O = ce(x), K = O && ke(y, !0) && !y.voidElement, z = s && R(x) === "object" && x.dummy && !O, A = R(n) === "object" && n !== null && Object.hasOwnProperty.call(n, y.name);
|
|
1745
|
+
if (typeof x == "string") {
|
|
1746
|
+
var W = a.services.interpolator.interpolate(x, d, a.language);
|
|
1747
|
+
w.push(W);
|
|
1748
|
+
} else if (ke(x) || K) {
|
|
1749
|
+
var ne = f(x, y, b);
|
|
1750
|
+
g(x, ne, w, T);
|
|
1751
|
+
} else if (z) {
|
|
1752
|
+
var be = h(S, y.children, b);
|
|
1753
|
+
w.push(ie(x, P(P({}, x.props), {}, {
|
|
1754
|
+
key: T
|
|
1755
|
+
}), be));
|
|
1756
|
+
} else if (Number.isNaN(parseFloat(y.name)))
|
|
1757
|
+
if (A) {
|
|
1758
|
+
var M = f(x, y, b);
|
|
1759
|
+
g(x, M, w, T, y.voidElement);
|
|
1760
|
+
} else if (e.transSupportBasicHtmlNodes && o.indexOf(y.name) > -1)
|
|
1761
|
+
if (y.voidElement)
|
|
1762
|
+
w.push(le(y.name, {
|
|
1763
|
+
key: "".concat(y.name, "-").concat(T)
|
|
1764
|
+
}));
|
|
1765
|
+
else {
|
|
1766
|
+
var D = h(S, y.children, b);
|
|
1767
|
+
w.push(le(y.name, {
|
|
1768
|
+
key: "".concat(y.name, "-").concat(T)
|
|
1769
|
+
}, D));
|
|
1770
|
+
}
|
|
1771
|
+
else if (y.voidElement)
|
|
1772
|
+
w.push("<".concat(y.name, " />"));
|
|
1773
|
+
else {
|
|
1774
|
+
var re = h(S, y.children, b);
|
|
1775
|
+
w.push("<".concat(y.name, ">").concat(re, "</").concat(y.name, ">"));
|
|
1776
|
+
}
|
|
1777
|
+
else if (R(x) === "object" && !O) {
|
|
1778
|
+
var B = y.children[0] ? C : null;
|
|
1779
|
+
B && w.push(B);
|
|
1780
|
+
} else y.children.length === 1 && C ? w.push(ie(x, P(P({}, x.props), {}, {
|
|
1781
|
+
key: T
|
|
1782
|
+
}), C)) : w.push(ie(x, P(P({}, x.props), {}, {
|
|
1783
|
+
key: T
|
|
1784
|
+
})));
|
|
1785
|
+
} else if (y.type === "text") {
|
|
1786
|
+
var V = e.transWrapTextNodes, $ = i ? e.unescape(a.services.interpolator.interpolate(y.content, d, a.language)) : a.services.interpolator.interpolate(y.content, d, a.language);
|
|
1787
|
+
V ? w.push(le(V, {
|
|
1788
|
+
key: "".concat(y.name, "-").concat(T)
|
|
1789
|
+
}, $)) : w.push($);
|
|
1790
|
+
}
|
|
1791
|
+
return w;
|
|
1792
|
+
}, []);
|
|
1793
|
+
}
|
|
1794
|
+
var m = h([{
|
|
1795
|
+
dummy: !0,
|
|
1796
|
+
children: n || []
|
|
1797
|
+
}], c, J(n || []));
|
|
1798
|
+
return Le(m[0]);
|
|
1799
|
+
}
|
|
1800
|
+
function xa(n) {
|
|
1801
|
+
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, c = n.components, d = n.ns, f = n.i18n, g = n.t, h = n.shouldUnescape, m = pt(n, ya), p = ut(mt) || {}, v = p.i18n, b = p.defaultNS, S = f || v || yt();
|
|
1802
|
+
if (!S)
|
|
1803
|
+
return fe("You will need to pass in an i18next instance by using i18nextReactModule"), t;
|
|
1804
|
+
var L = g || S.t.bind(S) || function(W) {
|
|
1805
|
+
return W;
|
|
1806
|
+
};
|
|
1807
|
+
i && (s.context = i);
|
|
1808
|
+
var w = P(P({}, vt()), S.options && S.options.react), y = d || L.ns || b || S.options && S.options.defaultNS;
|
|
1809
|
+
y = typeof y == "string" ? [y] : y || ["translation"];
|
|
1810
|
+
var T = u || bt(t, w) || w.transEmptyNodeValue || r, C = w.hashTransKey, k = r || (C ? C(T) : T), x = l ? s.interpolation : {
|
|
1811
|
+
interpolation: P(P({}, s.interpolation), {}, {
|
|
1812
|
+
prefix: "#$?",
|
|
1813
|
+
suffix: "?$#"
|
|
1814
|
+
})
|
|
1815
|
+
}, O = P(P(P(P({}, s), {}, {
|
|
1816
|
+
count: a
|
|
1817
|
+
}, l), x), {}, {
|
|
1818
|
+
defaultValue: T,
|
|
1819
|
+
ns: y
|
|
1820
|
+
}), K = k ? L(k, O) : T, z = wa(c || t, K, S, w, O, h), A = e !== void 0 ? e : w.defaultTransParent;
|
|
1821
|
+
return A ? le(A, m, z) : z;
|
|
1822
|
+
}
|
|
1823
|
+
function Ta(n) {
|
|
1824
|
+
if (Array.isArray(n)) return n;
|
|
1825
|
+
}
|
|
1826
|
+
function ka(n, t) {
|
|
1827
|
+
var a = n == null ? null : typeof Symbol < "u" && n[Symbol.iterator] || n["@@iterator"];
|
|
1828
|
+
if (a != null) {
|
|
1829
|
+
var e, r, i, o, s = [], l = !0, u = !1;
|
|
1830
|
+
try {
|
|
1831
|
+
if (i = (a = a.call(n)).next, t !== 0) for (; !(l = (e = i.call(a)).done) && (s.push(e.value), s.length !== t); l = !0) ;
|
|
1832
|
+
} catch (c) {
|
|
1833
|
+
u = !0, r = c;
|
|
1834
|
+
} finally {
|
|
1835
|
+
try {
|
|
1836
|
+
if (!l && a.return != null && (o = a.return(), Object(o) !== o)) return;
|
|
1837
|
+
} finally {
|
|
1838
|
+
if (u) throw r;
|
|
1839
|
+
}
|
|
1840
|
+
}
|
|
1841
|
+
return s;
|
|
1842
|
+
}
|
|
1843
|
+
}
|
|
1844
|
+
function Ye(n, t) {
|
|
1845
|
+
(t == null || t > n.length) && (t = n.length);
|
|
1846
|
+
for (var a = 0, e = Array(t); a < t; a++) e[a] = n[a];
|
|
1847
|
+
return e;
|
|
1848
|
+
}
|
|
1849
|
+
function La(n, t) {
|
|
1850
|
+
if (n) {
|
|
1851
|
+
if (typeof n == "string") return Ye(n, t);
|
|
1852
|
+
var a = {}.toString.call(n).slice(8, -1);
|
|
1853
|
+
return a === "Object" && n.constructor && (a = n.constructor.name), a === "Map" || a === "Set" ? Array.from(n) : a === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a) ? Ye(n, t) : void 0;
|
|
1854
|
+
}
|
|
1855
|
+
}
|
|
1856
|
+
function Ca() {
|
|
1857
|
+
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
1858
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
1859
|
+
}
|
|
1860
|
+
function Pa(n, t) {
|
|
1861
|
+
return Ta(n) || ka(n, t) || La(n, t) || Ca();
|
|
1862
|
+
}
|
|
1863
|
+
function Ge(n, t) {
|
|
1864
|
+
var a = Object.keys(n);
|
|
1865
|
+
if (Object.getOwnPropertySymbols) {
|
|
1866
|
+
var e = Object.getOwnPropertySymbols(n);
|
|
1867
|
+
t && (e = e.filter(function(r) {
|
|
1868
|
+
return Object.getOwnPropertyDescriptor(n, r).enumerable;
|
|
1869
|
+
})), a.push.apply(a, e);
|
|
1870
|
+
}
|
|
1871
|
+
return a;
|
|
1872
|
+
}
|
|
1873
|
+
function Ce(n) {
|
|
1874
|
+
for (var t = 1; t < arguments.length; t++) {
|
|
1875
|
+
var a = arguments[t] != null ? arguments[t] : {};
|
|
1876
|
+
t % 2 ? Ge(Object(a), !0).forEach(function(e) {
|
|
1877
|
+
me(n, e, a[e]);
|
|
1878
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(n, Object.getOwnPropertyDescriptors(a)) : Ge(Object(a)).forEach(function(e) {
|
|
1879
|
+
Object.defineProperty(n, e, Object.getOwnPropertyDescriptor(a, e));
|
|
1880
|
+
});
|
|
1881
|
+
}
|
|
1882
|
+
return n;
|
|
1883
|
+
}
|
|
1884
|
+
var Oa = function(t, a) {
|
|
1885
|
+
var e = Oe();
|
|
1886
|
+
return Ee(function() {
|
|
1887
|
+
e.current = t;
|
|
1888
|
+
}, [t, a]), e.current;
|
|
1889
|
+
};
|
|
1890
|
+
function St(n) {
|
|
1891
|
+
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = t.i18n, e = ut(mt) || {}, r = e.i18n, i = e.defaultNS, o = a || r || yt();
|
|
1892
|
+
if (o && !o.reportNamespaces && (o.reportNamespaces = new fa()), !o) {
|
|
1893
|
+
fe("You will need to pass in an i18next instance by using initReactI18next");
|
|
1894
|
+
var s = function(k) {
|
|
1895
|
+
return Array.isArray(k) ? k[k.length - 1] : k;
|
|
1896
|
+
}, l = [s, {}, !1];
|
|
1897
|
+
return l.t = s, l.i18n = {}, l.ready = !1, l;
|
|
1898
|
+
}
|
|
1899
|
+
o.options.react && o.options.react.wait !== void 0 && fe("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
|
|
1900
|
+
var u = Ce(Ce(Ce({}, vt()), o.options.react), t), c = u.useSuspense, d = u.keyPrefix, f = n || i || o.options && o.options.defaultNS;
|
|
1901
|
+
f = typeof f == "string" ? [f] : f || ["translation"], o.reportNamespaces.addUsedNamespaces && o.reportNamespaces.addUsedNamespaces(f);
|
|
1902
|
+
var g = (o.isInitialized || o.initializedStoreOnce) && f.every(function(C) {
|
|
1903
|
+
return ma(C, o, u);
|
|
1904
|
+
});
|
|
1905
|
+
function h() {
|
|
1906
|
+
return o.getFixedT(null, u.nsMode === "fallback" ? f : f[0], d);
|
|
1907
|
+
}
|
|
1908
|
+
var m = jt(h), p = Pa(m, 2), v = p[0], b = p[1], S = f.join(), L = Oa(S), w = Oe(!0);
|
|
1909
|
+
Ee(function() {
|
|
1910
|
+
var C = u.bindI18n, k = u.bindI18nStore;
|
|
1911
|
+
w.current = !0, !g && !c && Ze(o, f, function() {
|
|
1912
|
+
w.current && b(h);
|
|
1913
|
+
}), g && L && L !== S && w.current && b(h);
|
|
1914
|
+
function x() {
|
|
1915
|
+
w.current && b(h);
|
|
1916
|
+
}
|
|
1917
|
+
return C && o && o.on(C, x), k && o && o.store.on(k, x), function() {
|
|
1918
|
+
w.current = !1, C && o && C.split(" ").forEach(function(O) {
|
|
1919
|
+
return o.off(O, x);
|
|
1920
|
+
}), k && o && k.split(" ").forEach(function(O) {
|
|
1921
|
+
return o.store.off(O, x);
|
|
1922
|
+
});
|
|
1923
|
+
};
|
|
1924
|
+
}, [o, S]);
|
|
1925
|
+
var y = Oe(!0);
|
|
1926
|
+
Ee(function() {
|
|
1927
|
+
w.current && !y.current && b(h), y.current = !1;
|
|
1928
|
+
}, [o, d]);
|
|
1929
|
+
var T = [v, o, g];
|
|
1930
|
+
if (T.t = v, T.i18n = o, T.ready = g, g || !g && !c) return T;
|
|
1931
|
+
throw new Promise(function(C) {
|
|
1932
|
+
Ze(o, f, function() {
|
|
1933
|
+
C();
|
|
1934
|
+
});
|
|
1935
|
+
});
|
|
1936
|
+
}
|
|
1937
|
+
function Ea(n, t) {
|
|
1938
|
+
var a = typeof Symbol < "u" && n[Symbol.iterator] || n["@@iterator"];
|
|
1939
|
+
if (!a) {
|
|
1940
|
+
if (Array.isArray(n) || (a = Ra(n)) || t) {
|
|
1941
|
+
a && (n = a);
|
|
1942
|
+
var e = 0, r = function() {
|
|
1943
|
+
};
|
|
1944
|
+
return { s: r, n: function() {
|
|
1945
|
+
return e >= n.length ? { done: !0 } : { done: !1, value: n[e++] };
|
|
1946
|
+
}, e: function(u) {
|
|
1947
|
+
throw u;
|
|
1948
|
+
}, f: r };
|
|
1949
|
+
}
|
|
1950
|
+
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
1951
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
1952
|
+
}
|
|
1953
|
+
var i, o = !0, s = !1;
|
|
1954
|
+
return { s: function() {
|
|
1955
|
+
a = a.call(n);
|
|
1956
|
+
}, n: function() {
|
|
1957
|
+
var u = a.next();
|
|
1958
|
+
return o = u.done, u;
|
|
1959
|
+
}, e: function(u) {
|
|
1960
|
+
s = !0, i = u;
|
|
1961
|
+
}, f: function() {
|
|
1962
|
+
try {
|
|
1963
|
+
o || a.return == null || a.return();
|
|
1964
|
+
} finally {
|
|
1965
|
+
if (s) throw i;
|
|
1966
|
+
}
|
|
1967
|
+
} };
|
|
1968
|
+
}
|
|
1969
|
+
function Ra(n, t) {
|
|
1970
|
+
if (n) {
|
|
1971
|
+
if (typeof n == "string") return Je(n, t);
|
|
1972
|
+
var a = {}.toString.call(n).slice(8, -1);
|
|
1973
|
+
return a === "Object" && n.constructor && (a = n.constructor.name), a === "Map" || a === "Set" ? Array.from(n) : a === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a) ? Je(n, t) : void 0;
|
|
1974
|
+
}
|
|
1975
|
+
}
|
|
1976
|
+
function Je(n, t) {
|
|
1977
|
+
(t == null || t > n.length) && (t = n.length);
|
|
1978
|
+
for (var a = 0, e = Array(t); a < t; a++) e[a] = n[a];
|
|
1979
|
+
return e;
|
|
1980
|
+
}
|
|
1981
|
+
function je(n) {
|
|
1982
|
+
"@babel/helpers - typeof";
|
|
1983
|
+
return je = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
1984
|
+
return typeof t;
|
|
1985
|
+
} : function(t) {
|
|
1986
|
+
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
1987
|
+
}, je(n);
|
|
1988
|
+
}
|
|
1989
|
+
var wt = ["__proto__", "constructor", "prototype"];
|
|
1990
|
+
function xt(n) {
|
|
1991
|
+
return !(typeof n != "string" || n.length === 0 || n.length > 128 || wt.indexOf(n) > -1 || n.indexOf("..") > -1 || n.indexOf("\\") > -1 || /[?#%\s@]/.test(n) || /[\x00-\x1F\x7F]/.test(n));
|
|
1992
|
+
}
|
|
1993
|
+
function Tt(n) {
|
|
1994
|
+
return !(!xt(n) || n.indexOf("/") > -1);
|
|
1995
|
+
}
|
|
1996
|
+
function Ua(n) {
|
|
1997
|
+
return xt(n);
|
|
1998
|
+
}
|
|
1999
|
+
var ja = {
|
|
2000
|
+
lng: Tt,
|
|
2001
|
+
ns: Ua
|
|
2002
|
+
};
|
|
2003
|
+
function se(n) {
|
|
2004
|
+
return typeof n != "string" ? n : n.replace(/[\r\n\x00-\x1F\x7F]/g, " ");
|
|
2005
|
+
}
|
|
2006
|
+
function Aa(n) {
|
|
2007
|
+
if (typeof n != "string" || n.length === 0) return n;
|
|
2008
|
+
try {
|
|
2009
|
+
var t = new URL(n);
|
|
2010
|
+
return t.username || t.password ? (t.username = "", t.password = "", t.toString()) : n;
|
|
2011
|
+
} catch {
|
|
2012
|
+
return n.replace(/(\/\/)[^/@\s]+@/g, "$1");
|
|
2013
|
+
}
|
|
2014
|
+
}
|
|
2015
|
+
function kt() {
|
|
2016
|
+
return typeof XMLHttpRequest == "function" || (typeof XMLHttpRequest > "u" ? "undefined" : je(XMLHttpRequest)) === "object";
|
|
2017
|
+
}
|
|
2018
|
+
function Da(n) {
|
|
2019
|
+
return !!n && typeof n.then == "function";
|
|
2020
|
+
}
|
|
2021
|
+
function Na(n) {
|
|
2022
|
+
return Da(n) ? n : Promise.resolve(n);
|
|
2023
|
+
}
|
|
2024
|
+
var Ba = /\{\{(.+?)\}\}/g;
|
|
2025
|
+
function et(n, t) {
|
|
2026
|
+
var a = !1, e = n.replace(Ba, function(r, i) {
|
|
2027
|
+
var o = i.trim();
|
|
2028
|
+
if (wt.indexOf(o) > -1) return r;
|
|
2029
|
+
var s = t[o];
|
|
2030
|
+
if (s == null) return r;
|
|
2031
|
+
var l = ja[o] || Tt, u = String(s).split("+"), c = Ea(u), d;
|
|
2032
|
+
try {
|
|
2033
|
+
for (c.s(); !(d = c.n()).done; ) {
|
|
2034
|
+
var f = d.value;
|
|
2035
|
+
if (!l(f))
|
|
2036
|
+
return a = !0, r;
|
|
2037
|
+
}
|
|
2038
|
+
} catch (g) {
|
|
2039
|
+
c.e(g);
|
|
2040
|
+
} finally {
|
|
2041
|
+
c.f();
|
|
2042
|
+
}
|
|
2043
|
+
return u.join("+");
|
|
2044
|
+
});
|
|
2045
|
+
return a ? null : e;
|
|
2046
|
+
}
|
|
2047
|
+
function tt(n, t) {
|
|
2048
|
+
var a = Object.keys(n);
|
|
2049
|
+
if (Object.getOwnPropertySymbols) {
|
|
2050
|
+
var e = Object.getOwnPropertySymbols(n);
|
|
2051
|
+
t && (e = e.filter(function(r) {
|
|
2052
|
+
return Object.getOwnPropertyDescriptor(n, r).enumerable;
|
|
2053
|
+
})), a.push.apply(a, e);
|
|
2054
|
+
}
|
|
2055
|
+
return a;
|
|
2056
|
+
}
|
|
2057
|
+
function at(n) {
|
|
2058
|
+
for (var t = 1; t < arguments.length; t++) {
|
|
2059
|
+
var a = arguments[t] != null ? arguments[t] : {};
|
|
2060
|
+
t % 2 ? tt(Object(a), !0).forEach(function(e) {
|
|
2061
|
+
Ia(n, e, a[e]);
|
|
2062
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(n, Object.getOwnPropertyDescriptors(a)) : tt(Object(a)).forEach(function(e) {
|
|
2063
|
+
Object.defineProperty(n, e, Object.getOwnPropertyDescriptor(a, e));
|
|
2064
|
+
});
|
|
2065
|
+
}
|
|
2066
|
+
return n;
|
|
2067
|
+
}
|
|
2068
|
+
function Ia(n, t, a) {
|
|
2069
|
+
return (t = Fa(t)) in n ? Object.defineProperty(n, t, { value: a, enumerable: !0, configurable: !0, writable: !0 }) : n[t] = a, n;
|
|
2070
|
+
}
|
|
2071
|
+
function Fa(n) {
|
|
2072
|
+
var t = za(n, "string");
|
|
2073
|
+
return q(t) == "symbol" ? t : t + "";
|
|
2074
|
+
}
|
|
2075
|
+
function za(n, t) {
|
|
2076
|
+
if (q(n) != "object" || !n) return n;
|
|
2077
|
+
var a = n[Symbol.toPrimitive];
|
|
2078
|
+
if (a !== void 0) {
|
|
2079
|
+
var e = a.call(n, t);
|
|
2080
|
+
if (q(e) != "object") return e;
|
|
2081
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
2082
|
+
}
|
|
2083
|
+
return (t === "string" ? String : Number)(n);
|
|
2084
|
+
}
|
|
2085
|
+
function q(n) {
|
|
2086
|
+
"@babel/helpers - typeof";
|
|
2087
|
+
return q = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
2088
|
+
return typeof t;
|
|
2089
|
+
} : function(t) {
|
|
2090
|
+
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
2091
|
+
}, q(n);
|
|
2092
|
+
}
|
|
2093
|
+
var F = typeof fetch == "function" ? fetch : void 0;
|
|
2094
|
+
typeof global < "u" && global.fetch ? F = global.fetch : typeof window < "u" && window.fetch && (F = window.fetch);
|
|
2095
|
+
var ae;
|
|
2096
|
+
kt() && (typeof global < "u" && global.XMLHttpRequest ? ae = global.XMLHttpRequest : typeof window < "u" && window.XMLHttpRequest && (ae = window.XMLHttpRequest));
|
|
2097
|
+
var pe;
|
|
2098
|
+
typeof ActiveXObject == "function" && (typeof global < "u" && global.ActiveXObject ? pe = global.ActiveXObject : typeof window < "u" && window.ActiveXObject && (pe = window.ActiveXObject));
|
|
2099
|
+
typeof F != "function" && (F = void 0);
|
|
2100
|
+
if (!F && !ae && !pe)
|
|
2101
|
+
try {
|
|
2102
|
+
import("./browser-ponyfill-83P4QcZQ.js").then((n) => n.b).then(function(n) {
|
|
2103
|
+
F = n.default;
|
|
2104
|
+
}).catch(function() {
|
|
2105
|
+
});
|
|
2106
|
+
} catch {
|
|
2107
|
+
}
|
|
2108
|
+
var Lt = ["__proto__", "constructor", "prototype"], Ae = function(t, a) {
|
|
2109
|
+
if (a && q(a) === "object") {
|
|
2110
|
+
for (var e = "", r = 0, i = Object.keys(a); r < i.length; r++) {
|
|
2111
|
+
var o = i[r];
|
|
2112
|
+
Lt.indexOf(o) > -1 || (e += "&" + encodeURIComponent(o) + "=" + encodeURIComponent(a[o]));
|
|
2113
|
+
}
|
|
2114
|
+
if (!e) return t;
|
|
2115
|
+
t = t + (t.indexOf("?") !== -1 ? "&" : "?") + e.slice(1);
|
|
2116
|
+
}
|
|
2117
|
+
return t;
|
|
2118
|
+
}, nt = function(t, a, e, r) {
|
|
2119
|
+
var i = function(l) {
|
|
2120
|
+
if (!l.ok) return e(l.statusText || "Error", {
|
|
2121
|
+
status: l.status
|
|
2122
|
+
});
|
|
2123
|
+
l.text().then(function(u) {
|
|
2124
|
+
e(null, {
|
|
2125
|
+
status: l.status,
|
|
2126
|
+
data: u
|
|
2127
|
+
});
|
|
2128
|
+
}).catch(e);
|
|
2129
|
+
};
|
|
2130
|
+
if (r) {
|
|
2131
|
+
var o = r(t, a);
|
|
2132
|
+
if (o instanceof Promise) {
|
|
2133
|
+
o.then(i).catch(e);
|
|
2134
|
+
return;
|
|
2135
|
+
}
|
|
2136
|
+
}
|
|
2137
|
+
typeof fetch == "function" ? fetch(t, a).then(i).catch(e) : F(t, a).then(i).catch(e);
|
|
2138
|
+
}, Ma = function(t, a, e, r) {
|
|
2139
|
+
t.queryStringParams && (a = Ae(a, t.queryStringParams));
|
|
2140
|
+
var i = at({}, typeof t.customHeaders == "function" ? t.customHeaders() : t.customHeaders);
|
|
2141
|
+
typeof window > "u" && typeof global < "u" && typeof global.process < "u" && global.process.versions && global.process.versions.node && (i["User-Agent"] = "i18next-http-backend (node/".concat(global.process.version, "; ").concat(global.process.platform, " ").concat(global.process.arch, ")")), e && (i["Content-Type"] = "application/json");
|
|
2142
|
+
var o = typeof t.requestOptions == "function" ? t.requestOptions(e) : t.requestOptions, s = at({
|
|
2143
|
+
method: e ? "POST" : "GET",
|
|
2144
|
+
body: e ? t.stringify(e) : void 0,
|
|
2145
|
+
headers: i
|
|
2146
|
+
}, t._omitFetchOptions ? {} : o), l = typeof t.alternateFetch == "function" && t.alternateFetch.length >= 1 ? t.alternateFetch : void 0;
|
|
2147
|
+
try {
|
|
2148
|
+
nt(a, s, r, l);
|
|
2149
|
+
} catch (u) {
|
|
2150
|
+
if (!o || Object.keys(o).length === 0 || !u.message || u.message.indexOf("not implemented") < 0)
|
|
2151
|
+
return r(u);
|
|
2152
|
+
try {
|
|
2153
|
+
Object.keys(o).forEach(function(c) {
|
|
2154
|
+
delete s[c];
|
|
2155
|
+
}), nt(a, s, r, l), t._omitFetchOptions = !0;
|
|
2156
|
+
} catch (c) {
|
|
2157
|
+
r(c);
|
|
2158
|
+
}
|
|
2159
|
+
}
|
|
2160
|
+
}, Va = function(t, a, e, r) {
|
|
2161
|
+
e && q(e) === "object" && (e = Ae("", e).slice(1)), t.queryStringParams && (a = Ae(a, t.queryStringParams));
|
|
2162
|
+
try {
|
|
2163
|
+
var i = ae ? new ae() : new pe("MSXML2.XMLHTTP.3.0");
|
|
2164
|
+
i.open(e ? "POST" : "GET", a, 1), t.crossDomain || i.setRequestHeader("X-Requested-With", "XMLHttpRequest"), i.withCredentials = !!t.withCredentials, e && i.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"), i.overrideMimeType && i.overrideMimeType("application/json");
|
|
2165
|
+
var o = t.customHeaders;
|
|
2166
|
+
if (o = typeof o == "function" ? o() : o, o)
|
|
2167
|
+
for (var s = 0, l = Object.keys(o); s < l.length; s++) {
|
|
2168
|
+
var u = l[s];
|
|
2169
|
+
Lt.indexOf(u) > -1 || i.setRequestHeader(u, o[u]);
|
|
2170
|
+
}
|
|
2171
|
+
i.onreadystatechange = function() {
|
|
2172
|
+
i.readyState > 3 && r(i.status >= 400 ? i.statusText : null, {
|
|
2173
|
+
status: i.status,
|
|
2174
|
+
data: i.responseText
|
|
2175
|
+
});
|
|
2176
|
+
}, i.send(e);
|
|
2177
|
+
} catch (c) {
|
|
2178
|
+
console && console.log(c);
|
|
2179
|
+
}
|
|
2180
|
+
}, Ha = function(t, a, e, r) {
|
|
2181
|
+
if (typeof e == "function" && (r = e, e = void 0), r = r || function() {
|
|
2182
|
+
}, F && a.indexOf("file:") !== 0)
|
|
2183
|
+
return Ma(t, a, e, r);
|
|
2184
|
+
if (kt() || typeof ActiveXObject == "function")
|
|
2185
|
+
return Va(t, a, e, r);
|
|
2186
|
+
r(new Error("No fetch and no xhr implementation found!"));
|
|
2187
|
+
};
|
|
2188
|
+
function Y(n) {
|
|
2189
|
+
"@babel/helpers - typeof";
|
|
2190
|
+
return Y = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
2191
|
+
return typeof t;
|
|
2192
|
+
} : function(t) {
|
|
2193
|
+
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
2194
|
+
}, Y(n);
|
|
2195
|
+
}
|
|
2196
|
+
function rt(n, t) {
|
|
2197
|
+
var a = Object.keys(n);
|
|
2198
|
+
if (Object.getOwnPropertySymbols) {
|
|
2199
|
+
var e = Object.getOwnPropertySymbols(n);
|
|
2200
|
+
t && (e = e.filter(function(r) {
|
|
2201
|
+
return Object.getOwnPropertyDescriptor(n, r).enumerable;
|
|
2202
|
+
})), a.push.apply(a, e);
|
|
2203
|
+
}
|
|
2204
|
+
return a;
|
|
2205
|
+
}
|
|
2206
|
+
function Pe(n) {
|
|
2207
|
+
for (var t = 1; t < arguments.length; t++) {
|
|
2208
|
+
var a = arguments[t] != null ? arguments[t] : {};
|
|
2209
|
+
t % 2 ? rt(Object(a), !0).forEach(function(e) {
|
|
2210
|
+
Ct(n, e, a[e]);
|
|
2211
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(n, Object.getOwnPropertyDescriptors(a)) : rt(Object(a)).forEach(function(e) {
|
|
2212
|
+
Object.defineProperty(n, e, Object.getOwnPropertyDescriptor(a, e));
|
|
2213
|
+
});
|
|
2214
|
+
}
|
|
2215
|
+
return n;
|
|
2216
|
+
}
|
|
2217
|
+
function _a(n, t) {
|
|
2218
|
+
if (!(n instanceof t)) throw new TypeError("Cannot call a class as a function");
|
|
2219
|
+
}
|
|
2220
|
+
function qa(n, t) {
|
|
2221
|
+
for (var a = 0; a < t.length; a++) {
|
|
2222
|
+
var e = t[a];
|
|
2223
|
+
e.enumerable = e.enumerable || !1, e.configurable = !0, "value" in e && (e.writable = !0), Object.defineProperty(n, Pt(e.key), e);
|
|
2224
|
+
}
|
|
2225
|
+
}
|
|
2226
|
+
function Ka(n, t, a) {
|
|
2227
|
+
return t && qa(n.prototype, t), Object.defineProperty(n, "prototype", { writable: !1 }), n;
|
|
2228
|
+
}
|
|
2229
|
+
function Ct(n, t, a) {
|
|
2230
|
+
return (t = Pt(t)) in n ? Object.defineProperty(n, t, { value: a, enumerable: !0, configurable: !0, writable: !0 }) : n[t] = a, n;
|
|
2231
|
+
}
|
|
2232
|
+
function Pt(n) {
|
|
2233
|
+
var t = Wa(n, "string");
|
|
2234
|
+
return Y(t) == "symbol" ? t : t + "";
|
|
2235
|
+
}
|
|
2236
|
+
function Wa(n, t) {
|
|
2237
|
+
if (Y(n) != "object" || !n) return n;
|
|
2238
|
+
var a = n[Symbol.toPrimitive];
|
|
2239
|
+
if (a !== void 0) {
|
|
2240
|
+
var e = a.call(n, t);
|
|
2241
|
+
if (Y(e) != "object") return e;
|
|
2242
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
2243
|
+
}
|
|
2244
|
+
return String(n);
|
|
2245
|
+
}
|
|
2246
|
+
var $a = function() {
|
|
2247
|
+
return {
|
|
2248
|
+
loadPath: "/locales/{{lng}}/{{ns}}.json",
|
|
2249
|
+
addPath: "/locales/add/{{lng}}/{{ns}}",
|
|
2250
|
+
parse: function(a) {
|
|
2251
|
+
return JSON.parse(a);
|
|
2252
|
+
},
|
|
2253
|
+
stringify: JSON.stringify,
|
|
2254
|
+
parsePayload: function(a, e, r) {
|
|
2255
|
+
return Ct({}, e, r || "");
|
|
2256
|
+
},
|
|
2257
|
+
parseLoadPayload: function(a, e) {
|
|
2258
|
+
},
|
|
2259
|
+
request: Ha,
|
|
2260
|
+
reloadInterval: typeof window < "u" ? !1 : 3600 * 1e3,
|
|
2261
|
+
customHeaders: {},
|
|
2262
|
+
queryStringParams: {},
|
|
2263
|
+
crossDomain: !1,
|
|
2264
|
+
withCredentials: !1,
|
|
2265
|
+
overrideMimeType: !1,
|
|
2266
|
+
requestOptions: {
|
|
2267
|
+
mode: "cors",
|
|
2268
|
+
credentials: "same-origin",
|
|
2269
|
+
cache: "default"
|
|
2270
|
+
}
|
|
2271
|
+
};
|
|
2272
|
+
}, Ot = (function() {
|
|
2273
|
+
function n(t) {
|
|
2274
|
+
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, e = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
2275
|
+
_a(this, n), this.services = t, this.options = a, this.allOptions = e, this.type = "backend", this.init(t, a, e);
|
|
2276
|
+
}
|
|
2277
|
+
return Ka(n, [{
|
|
2278
|
+
key: "init",
|
|
2279
|
+
value: function(a) {
|
|
2280
|
+
var e = this, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
2281
|
+
if (this.services = a, this.options = Pe(Pe(Pe({}, $a()), this.options || {}), r), this.allOptions = i, this.services && this.options.reloadInterval) {
|
|
2282
|
+
var o = setInterval(function() {
|
|
2283
|
+
return e.reload();
|
|
2284
|
+
}, this.options.reloadInterval);
|
|
2285
|
+
Y(o) === "object" && typeof o.unref == "function" && o.unref();
|
|
2286
|
+
}
|
|
2287
|
+
}
|
|
2288
|
+
}, {
|
|
2289
|
+
key: "readMulti",
|
|
2290
|
+
value: function(a, e, r) {
|
|
2291
|
+
this._readAny(a, a, e, e, r);
|
|
2292
|
+
}
|
|
2293
|
+
}, {
|
|
2294
|
+
key: "read",
|
|
2295
|
+
value: function(a, e, r) {
|
|
2296
|
+
this._readAny([a], a, [e], e, r);
|
|
2297
|
+
}
|
|
2298
|
+
}, {
|
|
2299
|
+
key: "_readAny",
|
|
2300
|
+
value: function(a, e, r, i, o) {
|
|
2301
|
+
var s = this, l = this.options.loadPath;
|
|
2302
|
+
typeof this.options.loadPath == "function" && (l = this.options.loadPath(a, r)), l = Na(l), l.then(function(u) {
|
|
2303
|
+
if (!u) return o(null, {});
|
|
2304
|
+
var c = et(u, {
|
|
2305
|
+
lng: a.join("+"),
|
|
2306
|
+
ns: r.join("+")
|
|
2307
|
+
});
|
|
2308
|
+
if (c == null) {
|
|
2309
|
+
var d = a.map(se).join(", "), f = r.map(se).join(", ");
|
|
2310
|
+
return o(new Error("i18next-http-backend: unsafe lng/ns value — refusing to build request URL for languages=[" + d + "] namespaces=[" + f + "]"), !1);
|
|
2311
|
+
}
|
|
2312
|
+
s.loadUrl(c, o, e, i);
|
|
2313
|
+
});
|
|
2314
|
+
}
|
|
2315
|
+
}, {
|
|
2316
|
+
key: "loadUrl",
|
|
2317
|
+
value: function(a, e, r, i) {
|
|
2318
|
+
var o = this, s = typeof r == "string" ? [r] : r, l = typeof i == "string" ? [i] : i, u = this.options.parseLoadPayload(s, l), c = se(Aa(a));
|
|
2319
|
+
this.options.request(this.options, a, u, function(d, f) {
|
|
2320
|
+
if (f && (f.status >= 500 && f.status < 600 || !f.status)) return e("failed loading " + c + "; status code: " + f.status, !0);
|
|
2321
|
+
if (f && f.status >= 400 && f.status < 500) return e("failed loading " + c + "; status code: " + f.status, !1);
|
|
2322
|
+
if (!f && d && d.message) {
|
|
2323
|
+
var g = d.message.toLowerCase(), h = ["failed", "fetch", "network", "load"].find(function(v) {
|
|
2324
|
+
return g.indexOf(v) > -1;
|
|
2325
|
+
});
|
|
2326
|
+
if (h)
|
|
2327
|
+
return e("failed loading " + c + ": " + se(d.message), !0);
|
|
2328
|
+
}
|
|
2329
|
+
if (d) return e(d, !1);
|
|
2330
|
+
var m, p;
|
|
2331
|
+
try {
|
|
2332
|
+
typeof f.data == "string" ? m = o.options.parse(f.data, r, i) : m = f.data;
|
|
2333
|
+
} catch {
|
|
2334
|
+
p = "failed parsing " + c + " to json";
|
|
2335
|
+
}
|
|
2336
|
+
if (p) return e(p, !1);
|
|
2337
|
+
e(null, m);
|
|
2338
|
+
});
|
|
2339
|
+
}
|
|
2340
|
+
}, {
|
|
2341
|
+
key: "create",
|
|
2342
|
+
value: function(a, e, r, i, o) {
|
|
2343
|
+
var s = this;
|
|
2344
|
+
if (this.options.addPath) {
|
|
2345
|
+
typeof a == "string" && (a = [a]);
|
|
2346
|
+
var l = this.options.parsePayload(e, r, i), u = 0, c = [], d = [];
|
|
2347
|
+
a.forEach(function(f) {
|
|
2348
|
+
var g = s.options.addPath;
|
|
2349
|
+
typeof s.options.addPath == "function" && (g = s.options.addPath(f, e));
|
|
2350
|
+
var h = et(g, {
|
|
2351
|
+
lng: f,
|
|
2352
|
+
ns: e
|
|
2353
|
+
});
|
|
2354
|
+
if (h == null) {
|
|
2355
|
+
u += 1, o && u === a.length && o(c, d);
|
|
2356
|
+
return;
|
|
2357
|
+
}
|
|
2358
|
+
s.options.request(s.options, h, l, function(m, p) {
|
|
2359
|
+
u += 1, c.push(m), d.push(p), u === a.length && typeof o == "function" && o(c, d);
|
|
2360
|
+
});
|
|
2361
|
+
});
|
|
2362
|
+
}
|
|
2363
|
+
}
|
|
2364
|
+
}, {
|
|
2365
|
+
key: "reload",
|
|
2366
|
+
value: function() {
|
|
2367
|
+
var a = this, e = this.services, r = e.backendConnector, i = e.languageUtils, o = e.logger, s = r.language;
|
|
2368
|
+
if (!(s && s.toLowerCase() === "cimode")) {
|
|
2369
|
+
var l = [], u = function(d) {
|
|
2370
|
+
var f = i.toResolveHierarchy(d);
|
|
2371
|
+
f.forEach(function(g) {
|
|
2372
|
+
l.indexOf(g) < 0 && l.push(g);
|
|
2373
|
+
});
|
|
2374
|
+
};
|
|
2375
|
+
u(s), this.allOptions.preload && this.allOptions.preload.forEach(function(c) {
|
|
2376
|
+
return u(c);
|
|
2377
|
+
}), l.forEach(function(c) {
|
|
2378
|
+
a.allOptions.ns.forEach(function(d) {
|
|
2379
|
+
r.read(c, d, "read", null, null, function(f, g) {
|
|
2380
|
+
f && o.warn("loading namespace ".concat(d, " for language ").concat(c, " failed"), f), !f && g && o.log("loaded namespace ".concat(d, " for language ").concat(c), g), r.loaded("".concat(c, "|").concat(d), f, g);
|
|
2381
|
+
});
|
|
2382
|
+
});
|
|
2383
|
+
});
|
|
2384
|
+
}
|
|
2385
|
+
}
|
|
2386
|
+
}]);
|
|
2387
|
+
})();
|
|
2388
|
+
Ot.type = "backend";
|
|
2389
|
+
var Et = [], Qa = Et.forEach, Za = Et.slice;
|
|
2390
|
+
function Xa(n) {
|
|
2391
|
+
return Qa.call(Za.call(arguments, 1), function(t) {
|
|
2392
|
+
if (t)
|
|
2393
|
+
for (var a in t)
|
|
2394
|
+
n[a] === void 0 && (n[a] = t[a]);
|
|
2395
|
+
}), n;
|
|
2396
|
+
}
|
|
2397
|
+
var it = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Ya = function(t, a, e) {
|
|
2398
|
+
var r = e || {};
|
|
2399
|
+
r.path = r.path || "/";
|
|
2400
|
+
var i = encodeURIComponent(a), o = t + "=" + i;
|
|
2401
|
+
if (r.maxAge > 0) {
|
|
2402
|
+
var s = r.maxAge - 0;
|
|
2403
|
+
if (isNaN(s)) throw new Error("maxAge should be a Number");
|
|
2404
|
+
o += "; Max-Age=" + Math.floor(s);
|
|
2405
|
+
}
|
|
2406
|
+
if (r.domain) {
|
|
2407
|
+
if (!it.test(r.domain))
|
|
2408
|
+
throw new TypeError("option domain is invalid");
|
|
2409
|
+
o += "; Domain=" + r.domain;
|
|
2410
|
+
}
|
|
2411
|
+
if (r.path) {
|
|
2412
|
+
if (!it.test(r.path))
|
|
2413
|
+
throw new TypeError("option path is invalid");
|
|
2414
|
+
o += "; Path=" + r.path;
|
|
2415
|
+
}
|
|
2416
|
+
if (r.expires) {
|
|
2417
|
+
if (typeof r.expires.toUTCString != "function")
|
|
2418
|
+
throw new TypeError("option expires is invalid");
|
|
2419
|
+
o += "; Expires=" + r.expires.toUTCString();
|
|
2420
|
+
}
|
|
2421
|
+
if (r.httpOnly && (o += "; HttpOnly"), r.secure && (o += "; Secure"), r.sameSite) {
|
|
2422
|
+
var l = typeof r.sameSite == "string" ? r.sameSite.toLowerCase() : r.sameSite;
|
|
2423
|
+
switch (l) {
|
|
2424
|
+
case !0:
|
|
2425
|
+
o += "; SameSite=Strict";
|
|
2426
|
+
break;
|
|
2427
|
+
case "lax":
|
|
2428
|
+
o += "; SameSite=Lax";
|
|
2429
|
+
break;
|
|
2430
|
+
case "strict":
|
|
2431
|
+
o += "; SameSite=Strict";
|
|
2432
|
+
break;
|
|
2433
|
+
case "none":
|
|
2434
|
+
o += "; SameSite=None";
|
|
2435
|
+
break;
|
|
2436
|
+
default:
|
|
2437
|
+
throw new TypeError("option sameSite is invalid");
|
|
2438
|
+
}
|
|
2439
|
+
}
|
|
2440
|
+
return o;
|
|
2441
|
+
}, ot = {
|
|
2442
|
+
create: function(t, a, e, r) {
|
|
2443
|
+
var i = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : {
|
|
2444
|
+
path: "/",
|
|
2445
|
+
sameSite: "strict"
|
|
2446
|
+
};
|
|
2447
|
+
e && (i.expires = /* @__PURE__ */ new Date(), i.expires.setTime(i.expires.getTime() + e * 60 * 1e3)), r && (i.domain = r), document.cookie = Ya(t, encodeURIComponent(a), i);
|
|
2448
|
+
},
|
|
2449
|
+
read: function(t) {
|
|
2450
|
+
for (var a = t + "=", e = document.cookie.split(";"), r = 0; r < e.length; r++) {
|
|
2451
|
+
for (var i = e[r]; i.charAt(0) === " "; )
|
|
2452
|
+
i = i.substring(1, i.length);
|
|
2453
|
+
if (i.indexOf(a) === 0) return i.substring(a.length, i.length);
|
|
2454
|
+
}
|
|
2455
|
+
return null;
|
|
2456
|
+
},
|
|
2457
|
+
remove: function(t) {
|
|
2458
|
+
this.create(t, "", -1);
|
|
2459
|
+
}
|
|
2460
|
+
}, Ga = {
|
|
2461
|
+
name: "cookie",
|
|
2462
|
+
lookup: function(t) {
|
|
2463
|
+
var a;
|
|
2464
|
+
if (t.lookupCookie && typeof document < "u") {
|
|
2465
|
+
var e = ot.read(t.lookupCookie);
|
|
2466
|
+
e && (a = e);
|
|
2467
|
+
}
|
|
2468
|
+
return a;
|
|
2469
|
+
},
|
|
2470
|
+
cacheUserLanguage: function(t, a) {
|
|
2471
|
+
a.lookupCookie && typeof document < "u" && ot.create(a.lookupCookie, t, a.cookieMinutes, a.cookieDomain, a.cookieOptions);
|
|
2472
|
+
}
|
|
2473
|
+
}, Ja = {
|
|
2474
|
+
name: "querystring",
|
|
2475
|
+
lookup: function(t) {
|
|
2476
|
+
var a;
|
|
2477
|
+
if (typeof window < "u")
|
|
2478
|
+
for (var e = window.location.search.substring(1), r = e.split("&"), i = 0; i < r.length; i++) {
|
|
2479
|
+
var o = r[i].indexOf("=");
|
|
2480
|
+
if (o > 0) {
|
|
2481
|
+
var s = r[i].substring(0, o);
|
|
2482
|
+
s === t.lookupQuerystring && (a = r[i].substring(o + 1));
|
|
2483
|
+
}
|
|
2484
|
+
}
|
|
2485
|
+
return a;
|
|
2486
|
+
}
|
|
2487
|
+
}, ge;
|
|
2488
|
+
try {
|
|
2489
|
+
ge = window !== "undefined" && window.localStorage !== null;
|
|
2490
|
+
var st = "i18next.translate.boo";
|
|
2491
|
+
window.localStorage.setItem(st, "foo"), window.localStorage.removeItem(st);
|
|
2492
|
+
} catch {
|
|
2493
|
+
ge = !1;
|
|
2494
|
+
}
|
|
2495
|
+
var en = {
|
|
2496
|
+
name: "localStorage",
|
|
2497
|
+
lookup: function(t) {
|
|
2498
|
+
var a;
|
|
2499
|
+
if (t.lookupLocalStorage && ge) {
|
|
2500
|
+
var e = window.localStorage.getItem(t.lookupLocalStorage);
|
|
2501
|
+
e && (a = e);
|
|
2502
|
+
}
|
|
2503
|
+
return a;
|
|
2504
|
+
},
|
|
2505
|
+
cacheUserLanguage: function(t, a) {
|
|
2506
|
+
a.lookupLocalStorage && ge && window.localStorage.setItem(a.lookupLocalStorage, t);
|
|
2507
|
+
}
|
|
2508
|
+
}, he;
|
|
2509
|
+
try {
|
|
2510
|
+
he = window !== "undefined" && window.sessionStorage !== null;
|
|
2511
|
+
var lt = "i18next.translate.boo";
|
|
2512
|
+
window.sessionStorage.setItem(lt, "foo"), window.sessionStorage.removeItem(lt);
|
|
2513
|
+
} catch {
|
|
2514
|
+
he = !1;
|
|
2515
|
+
}
|
|
2516
|
+
var tn = {
|
|
2517
|
+
name: "sessionStorage",
|
|
2518
|
+
lookup: function(t) {
|
|
2519
|
+
var a;
|
|
2520
|
+
if (t.lookupsessionStorage && he) {
|
|
2521
|
+
var e = window.sessionStorage.getItem(t.lookupsessionStorage);
|
|
2522
|
+
e && (a = e);
|
|
2523
|
+
}
|
|
2524
|
+
return a;
|
|
2525
|
+
},
|
|
2526
|
+
cacheUserLanguage: function(t, a) {
|
|
2527
|
+
a.lookupsessionStorage && he && window.sessionStorage.setItem(a.lookupsessionStorage, t);
|
|
2528
|
+
}
|
|
2529
|
+
}, an = {
|
|
2530
|
+
name: "navigator",
|
|
2531
|
+
lookup: function(t) {
|
|
2532
|
+
var a = [];
|
|
2533
|
+
if (typeof navigator < "u") {
|
|
2534
|
+
if (navigator.languages)
|
|
2535
|
+
for (var e = 0; e < navigator.languages.length; e++)
|
|
2536
|
+
a.push(navigator.languages[e]);
|
|
2537
|
+
navigator.userLanguage && a.push(navigator.userLanguage), navigator.language && a.push(navigator.language);
|
|
2538
|
+
}
|
|
2539
|
+
return a.length > 0 ? a : void 0;
|
|
2540
|
+
}
|
|
2541
|
+
}, nn = {
|
|
2542
|
+
name: "htmlTag",
|
|
2543
|
+
lookup: function(t) {
|
|
2544
|
+
var a, e = t.htmlTag || (typeof document < "u" ? document.documentElement : null);
|
|
2545
|
+
return e && typeof e.getAttribute == "function" && (a = e.getAttribute("lang")), a;
|
|
2546
|
+
}
|
|
2547
|
+
}, rn = {
|
|
2548
|
+
name: "path",
|
|
2549
|
+
lookup: function(t) {
|
|
2550
|
+
var a;
|
|
2551
|
+
if (typeof window < "u") {
|
|
2552
|
+
var e = window.location.pathname.match(/\/([a-zA-Z-]*)/g);
|
|
2553
|
+
if (e instanceof Array)
|
|
2554
|
+
if (typeof t.lookupFromPathIndex == "number") {
|
|
2555
|
+
if (typeof e[t.lookupFromPathIndex] != "string")
|
|
2556
|
+
return;
|
|
2557
|
+
a = e[t.lookupFromPathIndex].replace("/", "");
|
|
2558
|
+
} else
|
|
2559
|
+
a = e[0].replace("/", "");
|
|
2560
|
+
}
|
|
2561
|
+
return a;
|
|
2562
|
+
}
|
|
2563
|
+
}, on = {
|
|
2564
|
+
name: "subdomain",
|
|
2565
|
+
lookup: function(t) {
|
|
2566
|
+
var a;
|
|
2567
|
+
if (typeof window < "u") {
|
|
2568
|
+
var e = window.location.href.match(/(?:http[s]*\:\/\/)*(.*?)\.(?=[^\/]*\..{2,5})/gi);
|
|
2569
|
+
e instanceof Array && (typeof t.lookupFromSubdomainIndex == "number" ? a = e[t.lookupFromSubdomainIndex].replace("http://", "").replace("https://", "").replace(".", "") : a = e[0].replace("http://", "").replace("https://", "").replace(".", ""));
|
|
2570
|
+
}
|
|
2571
|
+
return a;
|
|
2572
|
+
}
|
|
2573
|
+
};
|
|
2574
|
+
function sn() {
|
|
2575
|
+
return {
|
|
2576
|
+
order: ["querystring", "cookie", "localStorage", "sessionStorage", "navigator", "htmlTag"],
|
|
2577
|
+
lookupQuerystring: "lng",
|
|
2578
|
+
lookupCookie: "i18next",
|
|
2579
|
+
lookupLocalStorage: "i18nextLng",
|
|
2580
|
+
// cache user language
|
|
2581
|
+
caches: ["localStorage"],
|
|
2582
|
+
excludeCacheFor: ["cimode"]
|
|
2583
|
+
//cookieMinutes: 10,
|
|
2584
|
+
//cookieDomain: 'myDomain'
|
|
2585
|
+
};
|
|
2586
|
+
}
|
|
2587
|
+
var Rt = /* @__PURE__ */ (function() {
|
|
2588
|
+
function n(t) {
|
|
2589
|
+
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
2590
|
+
U(this, n), this.type = "languageDetector", this.detectors = {}, this.init(t, a);
|
|
2591
|
+
}
|
|
2592
|
+
return j(n, [{
|
|
2593
|
+
key: "init",
|
|
2594
|
+
value: function(a) {
|
|
2595
|
+
var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
2596
|
+
this.services = a, this.options = Xa(e, this.options || {}, sn()), this.options.lookupFromUrlIndex && (this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex), this.i18nOptions = r, this.addDetector(Ga), this.addDetector(Ja), this.addDetector(en), this.addDetector(tn), this.addDetector(an), this.addDetector(nn), this.addDetector(rn), this.addDetector(on);
|
|
2597
|
+
}
|
|
2598
|
+
}, {
|
|
2599
|
+
key: "addDetector",
|
|
2600
|
+
value: function(a) {
|
|
2601
|
+
this.detectors[a.name] = a;
|
|
2602
|
+
}
|
|
2603
|
+
}, {
|
|
2604
|
+
key: "detect",
|
|
2605
|
+
value: function(a) {
|
|
2606
|
+
var e = this;
|
|
2607
|
+
a || (a = this.options.order);
|
|
2608
|
+
var r = [];
|
|
2609
|
+
return a.forEach(function(i) {
|
|
2610
|
+
if (e.detectors[i]) {
|
|
2611
|
+
var o = e.detectors[i].lookup(e.options);
|
|
2612
|
+
o && typeof o == "string" && (o = [o]), o && (r = r.concat(o));
|
|
2613
|
+
}
|
|
2614
|
+
}), this.services.languageUtils.getBestMatchFromCodes ? r : r.length > 0 ? r[0] : null;
|
|
2615
|
+
}
|
|
2616
|
+
}, {
|
|
2617
|
+
key: "cacheUserLanguage",
|
|
2618
|
+
value: function(a, e) {
|
|
2619
|
+
var r = this;
|
|
2620
|
+
e || (e = this.options.caches), e && (this.options.excludeCacheFor && this.options.excludeCacheFor.indexOf(a) > -1 || e.forEach(function(i) {
|
|
2621
|
+
r.detectors[i] && r.detectors[i].cacheUserLanguage(a, r.options);
|
|
2622
|
+
}));
|
|
2623
|
+
}
|
|
2624
|
+
}]), n;
|
|
2625
|
+
})();
|
|
2626
|
+
Rt.type = "languageDetector";
|
|
2627
|
+
const ln = {
|
|
2628
|
+
"addToList.disabledDragTooltip": "Drag & Drop ist deaktiviert, wenn Filter aktiviert sind",
|
|
2629
|
+
"addToList.moveAllItemsToCol": "Alles nach „ {{columnName}} “ verschieben",
|
|
2630
|
+
"addToList.noDataZeroStateColumnTitle": "Diese Spalte ist leer",
|
|
2631
|
+
"addToList.noDataZeroStateOffColumnSubheading": "Optionen aus {{columnName}} entfernen",
|
|
2632
|
+
"addToList.noDataZeroStateOnColumnSubheading": "Verschiebe Optionen aus {{columnName}}",
|
|
2633
|
+
"addToList.offColumnHeader": "Aus Spalte",
|
|
2634
|
+
"addToList.onColumnHeader": "Auf Spalte",
|
|
2635
|
+
"advancedSearch.clear": "Felder löschen",
|
|
2636
|
+
"advancedSearch.search": "Suchen",
|
|
2637
|
+
"button.spinningTitle": "Wird geladen…",
|
|
2638
|
+
"columnChooser.removeButton": "Entfernen Sie {{elementName}}",
|
|
2639
|
+
"columnManager.cancelButton": "Kündigen",
|
|
2640
|
+
"columnManager.filterText": "Eine Spalte suchen",
|
|
2641
|
+
"columnManager.offListHeader": "Ausgeblendete Spalten",
|
|
2642
|
+
"columnManager.onListHeader": "Sichtbare Spalten",
|
|
2643
|
+
"columnManager.saveButton": "Speichern",
|
|
2644
|
+
"columnManager.title": "Tabellenspalten verwalten",
|
|
2645
|
+
"contentRow.collapse": "Zusammenbrechen",
|
|
2646
|
+
"contentRow.expand": "Erweitern",
|
|
2647
|
+
"datepicker.calendar.nextMonth": "Nächsten Monat anzeigen",
|
|
2648
|
+
"datepicker.calendar.prevMonth": "Vorherigen Monat anzeigen",
|
|
2649
|
+
"datepicker.preset.after": "Nach dem",
|
|
2650
|
+
"datepicker.preset.before": "Vor",
|
|
2651
|
+
"datepicker.preset.custom": "Benutzerdefiniert",
|
|
2652
|
+
"datepicker.preset.ninetyDays": "Letzte 90 Tage",
|
|
2653
|
+
"datepicker.preset.oneYear": "Vergangenes Jahr",
|
|
2654
|
+
"datepicker.preset.sevenDays": "Letzte 7 Tage",
|
|
2655
|
+
"datepicker.preset.sixtyDays": "Letzte 60 Tage",
|
|
2656
|
+
"datepicker.preset.thirtyDays": "Letzte 30 Tage",
|
|
2657
|
+
"datepicker.preset.today": "Heute",
|
|
2658
|
+
"datepicker.presetsLabel": "Bereiche",
|
|
2659
|
+
"fileUpload.acceptedTypes.one": "{{fileTypes}} Format ist akzeptiert",
|
|
2660
|
+
"fileUpload.acceptedTypes.other": "{{fileTypes}} akzeptierte Formate",
|
|
2661
|
+
"fileUpload.cancelled.one": "Datei-Upload fehlgeschlagen",
|
|
2662
|
+
"fileUpload.cancelled.other": "Datei-Upload(s) fehlgeschlagen",
|
|
2663
|
+
"fileUpload.close": "Schließen",
|
|
2664
|
+
"fileUpload.error.tooLarge.one": "Die ausgewählte Datei ist größer als das Größenlimit von {{size}}.",
|
|
2665
|
+
"fileUpload.error.tooLarge.other": "Die ausgewählten Dateien sind größer als die Größenbeschränkung von {{size}}.",
|
|
2666
|
+
"fileUpload.error.wrongType.one": "Die ausgewählte Datei ist kein akzeptierter Dateityp: {{fileTypes}}.",
|
|
2667
|
+
"fileUpload.error.wrongType.other": "Ausgewählte Dateien sind nicht akzeptierte Dateitypen: {{fileTypes}}.",
|
|
2668
|
+
"fileUpload.instructions.one": "Ziehen Sie Ihre Datei per Drag & Drop hierher oder |suchen Sie nach einer Datei| auf Ihrem Desktop.",
|
|
2669
|
+
"fileUpload.instructions.other": "Ziehen Sie Ihre Dateien per Drag & Drop hierher oder |suchen Sie nach Dateien| auf Ihrem Desktop.",
|
|
2670
|
+
"fileUpload.maximumSize": "{{size}} maximal",
|
|
2671
|
+
"fileUpload.processing": "Hochladen wird verarbeitet…",
|
|
2672
|
+
"fileUpload.title": "Laden Sie Ihre {{description}} hoch",
|
|
2673
|
+
"filterPanel.clear": "Filter löschen",
|
|
2674
|
+
"filterPanel.filterPlaceholder": "Filteroptionen",
|
|
2675
|
+
"filterPanel.title": "Filter",
|
|
2676
|
+
"focusedTask.close": "Schließen",
|
|
2677
|
+
"growler.dismiss": "Entlassen",
|
|
2678
|
+
"insightCard.all": "ALLES",
|
|
2679
|
+
"insightCard.partnerCount": "{{count}} |von| {{total}}",
|
|
2680
|
+
"insightCard.partners": "PARTNER",
|
|
2681
|
+
"insightTile.all": "ALLES",
|
|
2682
|
+
"insightTile.partnerCount": "{{count}} |von| {{total}}",
|
|
2683
|
+
"insightTile.partners": "PARTNER",
|
|
2684
|
+
"label.errors.dateConstraint.max": "Bitte geben Sie ein Datum am oder vor dem {{context.maxExceeded}} ein.",
|
|
2685
|
+
"label.errors.dateConstraint.min": "Bitte geben Sie ein Datum am oder nach {{context.minExceeded}} ein.",
|
|
2686
|
+
"label.errors.dateFormat": "Bitte geben Sie ein Datum im Format {{context}} ein.",
|
|
2687
|
+
"label.errors.dateRangeOrder": "Das Enddatum kann nicht vor dem Startdatum liegen.",
|
|
2688
|
+
"label.errors.dateValidity": "Bitte gib ein korrektes Datum an.",
|
|
2689
|
+
"label.errors.max": "Bitte geben Sie einen Wert ein, der nicht größer als {{context}} ist.",
|
|
2690
|
+
"label.errors.maxLength": "Bitte geben Sie nicht mehr als {{context}} Zeichen ein.",
|
|
2691
|
+
"label.errors.min": "Bitte geben Sie einen Wert ein, der nicht kleiner als {{context}} ist.",
|
|
2692
|
+
"label.errors.minLength": "Bitte geben Sie mindestens {{context}} Zeichen ein.",
|
|
2693
|
+
"label.errors.required": "Dieses Feld wird benötigt.",
|
|
2694
|
+
"label.preventativeErrors.alpha": "Dieses Feld akzeptiert nur alphabetische Werte.",
|
|
2695
|
+
"label.preventativeErrors.maxLength": "Dieses Feld akzeptiert eine maximale Anzahl von Zeichen.",
|
|
2696
|
+
"label.preventativeErrors.nonNumeric": "Dieses Feld akzeptiert nur nicht numerische Werte.",
|
|
2697
|
+
"label.preventativeErrors.numeric": "Dieses Feld akzeptiert nur numerische Werte (null oder größer).",
|
|
2698
|
+
"label.preventativeErrors.positiveOrNegativeNumber": "Dieses Feld akzeptiert nur numerische Werte.",
|
|
2699
|
+
"label.stronglySuggested": "Dieses Feld wird dringend empfohlen.",
|
|
2700
|
+
"listActionBar.clearSelected": "Auswahl löschen",
|
|
2701
|
+
"listActionBar.itemsSelected": "Ausgewählte Elemente",
|
|
2702
|
+
"listToolbar.advancedSearchToggle": "Erweiterte Suche",
|
|
2703
|
+
"modal.close": "Modal schließen",
|
|
2704
|
+
"modal.defaultButtonLabel": "Okay",
|
|
2705
|
+
"modal.defaultTitle.general": "Handlung",
|
|
2706
|
+
"modal.defaultTitle.info": "Infos",
|
|
2707
|
+
"modal.defaultTitle.serious-warning": "Warnung",
|
|
2708
|
+
"modal.defaultTitle.success": "Erfolg",
|
|
2709
|
+
"modal.defaultTitle.warning": "Warnung",
|
|
2710
|
+
"pagination.nextPage": "Nächste Seite",
|
|
2711
|
+
"pagination.of": "von",
|
|
2712
|
+
"pagination.ofMany": "von vielen",
|
|
2713
|
+
"pagination.ofPageCount": "von {{pageCount}}",
|
|
2714
|
+
"pagination.page": "Seite",
|
|
2715
|
+
"pagination.perPage": "Pro Seite",
|
|
2716
|
+
"pagination.prevPage": "Vorherige Seite",
|
|
2717
|
+
"pagination.view": "Siehe",
|
|
2718
|
+
"pagination.viewing": "Einsehen",
|
|
2719
|
+
"progressBar.closeButtonTitle": "Fortschrittsbalken schließen",
|
|
2720
|
+
"searchResultsBar.clear": "Klar",
|
|
2721
|
+
"searchResultsBar.clearResults": "Ergebnisse löschen",
|
|
2722
|
+
"searchResultsBar.count": "{{count}} von {{total}}",
|
|
2723
|
+
"searchResultsBar.matchingResults": "Passende Ergebnisse",
|
|
2724
|
+
"searchResultsBar.noAdvancedSearchSelections": "Keine erweiterten Suchauswahlen",
|
|
2725
|
+
"searchResultsBar.results": "Ergebnisse:",
|
|
2726
|
+
"select.defaultPlaceholder": "Wählen Sie eine Option aus…",
|
|
2727
|
+
"select.searchPlaceholder": "Suche...",
|
|
2728
|
+
"slackLink.label": "Chat",
|
|
2729
|
+
"slideInPanel.close": "Schließen",
|
|
2730
|
+
"slideInPanel.defaultTitle": "Einschubleiste",
|
|
2731
|
+
"spinner.defaultAltText": "Wird geladen…",
|
|
2732
|
+
"taskQueue.clearCompleted": "Löschen abgeschlossen",
|
|
2733
|
+
"taskQueue.newTask": "Sie haben eine neue Aufgabe der Reihe.",
|
|
2734
|
+
"taskQueue.noTasks": "Derzeit befinden sich keine Aufgaben in Ihrer Warteschlange.",
|
|
2735
|
+
"timeInput.customTime": "Benutzerdefinierte Zeit"
|
|
2736
|
+
}, un = {
|
|
2737
|
+
"addToList.disabledDragTooltip": "Drag and drop are disabled when filters are engaged",
|
|
2738
|
+
"addToList.moveAllItemsToCol": 'Move All to "{{columnName}}"',
|
|
2739
|
+
"addToList.noDataZeroStateColumnTitle": "This Column is Empty",
|
|
2740
|
+
"addToList.noDataZeroStateOffColumnSubheading": "Remove options from the {{columnName}}",
|
|
2741
|
+
"addToList.noDataZeroStateOnColumnSubheading": "Move options from the {{columnName}}",
|
|
2742
|
+
"addToList.offColumnHeader": "Off Column",
|
|
2743
|
+
"addToList.onColumnHeader": "On Column",
|
|
2744
|
+
"addToList.moreOptionsAvailable": "More options available. Use the search field to filter results.",
|
|
2745
|
+
"advancedSearch.clear": "Clear Fields",
|
|
2746
|
+
"advancedSearch.search": "Search",
|
|
2747
|
+
"button.spinningTitle": "Loading…",
|
|
2748
|
+
"columnChooser.applyChanges": "Apply Changes",
|
|
2749
|
+
"columnChooser.findColumnsToAdd": "Find Columns to Add",
|
|
2750
|
+
"columnChooser.selected": "Selected",
|
|
2751
|
+
"columnChooser.removeButton": "Remove {{elementName}}",
|
|
2752
|
+
"columnManager.cancelButton": "Cancel",
|
|
2753
|
+
"columnManager.filterText": "Find a Column",
|
|
2754
|
+
"columnManager.offListHeader": "Hidden Columns",
|
|
2755
|
+
"columnManager.onListHeader": "Visible Columns",
|
|
2756
|
+
"columnManager.saveButton": "Save",
|
|
2757
|
+
"columnManager.title": "Manage Table Columns",
|
|
2758
|
+
"contextBar.change": "Change",
|
|
2759
|
+
"contextBar.in": "in",
|
|
2760
|
+
"contextBar.viewing": "Viewing",
|
|
2761
|
+
"contentRow.collapse": "Collapse",
|
|
2762
|
+
"contentRow.expand": "Expand",
|
|
2763
|
+
"datepicker.calendar.nextMonth": "View Next Month",
|
|
2764
|
+
"datepicker.calendar.prevMonth": "View Previous Month",
|
|
2765
|
+
"datepicker.preset.after": "After",
|
|
2766
|
+
"datepicker.preset.before": "Before",
|
|
2767
|
+
"datepicker.preset.custom": "Custom",
|
|
2768
|
+
"datepicker.preset.ninetyDays": "Last 90 days",
|
|
2769
|
+
"datepicker.preset.oneYear": "Last year",
|
|
2770
|
+
"datepicker.preset.sevenDays": "Last 7 days",
|
|
2771
|
+
"datepicker.preset.sixtyDays": "Last 60 days",
|
|
2772
|
+
"datepicker.preset.thirtyDays": "Last 30 days",
|
|
2773
|
+
"datepicker.preset.today": "Today",
|
|
2774
|
+
"datepicker.presetsLabel": "Ranges",
|
|
2775
|
+
"dateTimeRangePicker.to": "to",
|
|
2776
|
+
"fileUpload.acceptedTypes.one": "{{fileTypes}} format accepted",
|
|
2777
|
+
"fileUpload.acceptedTypes.other": "{{fileTypes}} formats accepted",
|
|
2778
|
+
"fileUpload.cancelled.one": "File Upload Failed",
|
|
2779
|
+
"fileUpload.cancelled.other": "File Upload(s) Failed",
|
|
2780
|
+
"fileUpload.close": "Close",
|
|
2781
|
+
"fileUpload.error.tooLarge.one": "Selected file is larger than the size limit of {{size}}.",
|
|
2782
|
+
"fileUpload.error.tooLarge.other": "Selected files are larger than the size limit of {{size}}.",
|
|
2783
|
+
"fileUpload.error.wrongType.one": "Selected file is not an accepted file type: {{fileTypes}}.",
|
|
2784
|
+
"fileUpload.error.wrongType.other": "Selected files are not accepted file types: {{fileTypes}}.",
|
|
2785
|
+
"fileUpload.instructions.one": "Drag and drop your file here or |browse for a file| on your desktop.",
|
|
2786
|
+
"fileUpload.instructions.other": "Drag and drop your files here or |browse for files| on your desktop.",
|
|
2787
|
+
"fileUpload.maximumSize": "{{size}} maximum",
|
|
2788
|
+
"fileUpload.processing": "Processing Upload…",
|
|
2789
|
+
"fileUpload.title": "Upload Your {{description}}",
|
|
2790
|
+
"filterPanel.clear": "Clear Filters",
|
|
2791
|
+
"filterPanel.filterPlaceholder": "Filter options",
|
|
2792
|
+
"filterPanel.title": "Filters",
|
|
2793
|
+
"focusedTask.close": "Close",
|
|
2794
|
+
"growler.dismiss": "Dismiss",
|
|
2795
|
+
"insightCard.all": "ALL",
|
|
2796
|
+
"insightCard.partnerCount": "{{count}} |of| {{total}}",
|
|
2797
|
+
"insightCard.partners": "PARTNERS",
|
|
2798
|
+
"insightTile.all": "ALL",
|
|
2799
|
+
"insightTile.partnerCount": "{{count}} |of| {{total}}",
|
|
2800
|
+
"insightTile.partners": "PARTNERS",
|
|
2801
|
+
"insights.hideAdditionalInsights": "Hide Additional Insights",
|
|
2802
|
+
"insights.showAdditionalInsights": "Show Additional Insights",
|
|
2803
|
+
"label.errors.dateConstraint.max": "Please enter a date on or prior to {{context.maxExceeded}}.",
|
|
2804
|
+
"label.errors.dateConstraint.min": "Please enter a date on or after {{context.minExceeded}}.",
|
|
2805
|
+
"label.errors.dateFormat": "Please enter a date in the format {{context}}.",
|
|
2806
|
+
"label.errors.dateRangeOrder": "End date cannot be before start date.",
|
|
2807
|
+
"label.errors.dateValidity": "Please enter a valid date.",
|
|
2808
|
+
"label.errors.max": "Please enter a value no greater than {{context}}.",
|
|
2809
|
+
"label.errors.maxLength": "Please enter no more than {{context}} characters.",
|
|
2810
|
+
"label.errors.min": "Please enter a value no less than {{context}}.",
|
|
2811
|
+
"label.errors.minLength": "Please enter at least {{context}} characters.",
|
|
2812
|
+
"label.errors.required": "This field is required.",
|
|
2813
|
+
"label.preventativeErrors.alpha": "This field accepts only alphabetic values.",
|
|
2814
|
+
"label.preventativeErrors.maxLength": "This field accepts a maximum number of characters.",
|
|
2815
|
+
"label.preventativeErrors.nonNumeric": "This field accepts only non-numerical values.",
|
|
2816
|
+
"label.preventativeErrors.numeric": "This field accepts only numerical values (zero or greater).",
|
|
2817
|
+
"label.preventativeErrors.positiveOrNegativeNumber": "This field accepts only numerical values.",
|
|
2818
|
+
"label.stronglySuggested": "This field is strongly suggested.",
|
|
2819
|
+
"listActionBar.clearSelected": "Clear Selected",
|
|
2820
|
+
"listActionBar.itemsSelected": "Items Selected",
|
|
2821
|
+
"listToolbar.advancedSearchToggle": "Advanced Search",
|
|
2822
|
+
"matrix.cell.null": "null",
|
|
2823
|
+
"modal.close": "Close modal",
|
|
2824
|
+
"modal.defaultButtonLabel": "Okay",
|
|
2825
|
+
"modal.defaultTitle.general": "Action",
|
|
2826
|
+
"modal.defaultTitle.info": "Info",
|
|
2827
|
+
"modal.defaultTitle.serious-warning": "Warning",
|
|
2828
|
+
"modal.defaultTitle.success": "Success",
|
|
2829
|
+
"modal.defaultTitle.warning": "Warning",
|
|
2830
|
+
"pagination.many": "many",
|
|
2831
|
+
"pagination.nextPage": "Next Page",
|
|
2832
|
+
"pagination.of": "of",
|
|
2833
|
+
"pagination.ofMany": "of many",
|
|
2834
|
+
"pagination.ofPageCount": "of {{pageCount}}",
|
|
2835
|
+
"pagination.page": "Page",
|
|
2836
|
+
"pagination.perPage": "Per Page",
|
|
2837
|
+
"pagination.prevPage": "Previous Page",
|
|
2838
|
+
"pagination.view": "View",
|
|
2839
|
+
"pagination.viewing": "Viewing",
|
|
2840
|
+
"progressBar.closeButtonTitle": "Close progress bar",
|
|
2841
|
+
"productBar.current": "current",
|
|
2842
|
+
"richTextEditor.linkModal.text": "Text",
|
|
2843
|
+
"richTextEditor.linkModal.link": "Link",
|
|
2844
|
+
"richTextEditor.linkModal.ok": "OK",
|
|
2845
|
+
"searchResultsBar.clear": "Clear",
|
|
2846
|
+
"searchResultsBar.clearResults": "Clear Results",
|
|
2847
|
+
"searchResultsBar.count": "{{count}} of {{total}}",
|
|
2848
|
+
"searchResultsBar.matchingResults": "Matching results",
|
|
2849
|
+
"searchResultsBar.noAdvancedSearchSelections": "No Advanced Search Selections",
|
|
2850
|
+
"searchResultsBar.results": "Results:",
|
|
2851
|
+
"select.defaultPlaceholder": "Select one…",
|
|
2852
|
+
"select.searchPlaceholder": "Search…",
|
|
2853
|
+
"slackLink.label": "Chat",
|
|
2854
|
+
"slideInPanel.close": "Close",
|
|
2855
|
+
"slideInPanel.defaultTitle": "Slide In Panel",
|
|
2856
|
+
"spinner.defaultAltText": "Loading…",
|
|
2857
|
+
"taskQueue.clearCompleted": "Clear Completed",
|
|
2858
|
+
"taskQueue.newTask": "You have a new task in your queue.",
|
|
2859
|
+
"taskQueue.noTasks": "There are currently no tasks in your queue.",
|
|
2860
|
+
"timeInput.customTime": "Custom time"
|
|
2861
|
+
}, cn = {
|
|
2862
|
+
"addToList.disabledDragTooltip": "Las funciones de arrastrar y soltar están deshabilitadas cuando los filtros están activados",
|
|
2863
|
+
"addToList.moveAllItemsToCol": "Mover todo a " {{columnName}} "",
|
|
2864
|
+
"addToList.noDataZeroStateColumnTitle": "Esta columna está vacía",
|
|
2865
|
+
"addToList.noDataZeroStateOffColumnSubheading": "Eliminar opciones de {{columnName}}",
|
|
2866
|
+
"addToList.noDataZeroStateOnColumnSubheading": "Mover opciones de {{columnName}}",
|
|
2867
|
+
"addToList.offColumnHeader": "Fuera de columna",
|
|
2868
|
+
"addToList.onColumnHeader": "En la columna",
|
|
2869
|
+
"advancedSearch.clear": "Campos despejados",
|
|
2870
|
+
"advancedSearch.search": "Buscar",
|
|
2871
|
+
"button.spinningTitle": "Cargando…",
|
|
2872
|
+
"columnChooser.removeButton": "Eliminar {{elementName}}",
|
|
2873
|
+
"columnManager.cancelButton": "Cancelar",
|
|
2874
|
+
"columnManager.filterText": "Encuentra una columna",
|
|
2875
|
+
"columnManager.offListHeader": "Columnas ocultas",
|
|
2876
|
+
"columnManager.onListHeader": "Columnas visibles",
|
|
2877
|
+
"columnManager.saveButton": "Guardar",
|
|
2878
|
+
"columnManager.title": "Administrar columnas de tabla",
|
|
2879
|
+
"contentRow.collapse": "Colapso",
|
|
2880
|
+
"contentRow.expand": "Expandir",
|
|
2881
|
+
"datepicker.calendar.nextMonth": "Ver el próximo mes",
|
|
2882
|
+
"datepicker.calendar.prevMonth": "Ver mes anterior",
|
|
2883
|
+
"datepicker.preset.after": "Después",
|
|
2884
|
+
"datepicker.preset.before": "antes de",
|
|
2885
|
+
"datepicker.preset.custom": "Costumbre",
|
|
2886
|
+
"datepicker.preset.ninetyDays": "Últimos 90 días",
|
|
2887
|
+
"datepicker.preset.oneYear": "El año pasado",
|
|
2888
|
+
"datepicker.preset.sevenDays": "Últimos 7 días",
|
|
2889
|
+
"datepicker.preset.sixtyDays": "Últimos 60 días",
|
|
2890
|
+
"datepicker.preset.thirtyDays": "Últimos 30 días",
|
|
2891
|
+
"datepicker.preset.today": "Hoy",
|
|
2892
|
+
"datepicker.presetsLabel": "Rangos",
|
|
2893
|
+
"fileUpload.acceptedTypes.one": "Formato {{fileTypes}} aceptado",
|
|
2894
|
+
"fileUpload.acceptedTypes.other": "Formatos {{fileTypes}} aceptados",
|
|
2895
|
+
"fileUpload.cancelled.one": "Error al cargar el archivo",
|
|
2896
|
+
"fileUpload.cancelled.other": "Error en la carga de archivos",
|
|
2897
|
+
"fileUpload.close": "Cerrar",
|
|
2898
|
+
"fileUpload.error.tooLarge.one": "El archivo seleccionado supera el límite de tamaño de {{size}}.",
|
|
2899
|
+
"fileUpload.error.tooLarge.other": "Los archivos seleccionados superan el límite de tamaño de {{size}}.",
|
|
2900
|
+
"fileUpload.error.wrongType.one": "El archivo seleccionado no es un tipo de archivo aceptado: {{fileTypes}}.",
|
|
2901
|
+
"fileUpload.error.wrongType.other": "Los archivos seleccionados no son aceptados tipos de archivo: {{fileTypes}}.",
|
|
2902
|
+
"fileUpload.instructions.one": "Arrastre y suelte su archivo aquí o busque un archivo en su escritorio.",
|
|
2903
|
+
"fileUpload.instructions.other": "Arrastre y suelte sus archivos aquí o busque archivos en su escritorio.",
|
|
2904
|
+
"fileUpload.maximumSize": "{{size}} máximo",
|
|
2905
|
+
"fileUpload.processing": "Procesando carga…",
|
|
2906
|
+
"fileUpload.title": "Sube tu {{description}}",
|
|
2907
|
+
"filterPanel.clear": "Borrar filtros",
|
|
2908
|
+
"filterPanel.filterPlaceholder": "Opciones de filtro",
|
|
2909
|
+
"filterPanel.title": "Filtros",
|
|
2910
|
+
"focusedTask.close": "Cerrar",
|
|
2911
|
+
"growler.dismiss": "Despedir",
|
|
2912
|
+
"insightCard.all": "Todos",
|
|
2913
|
+
"insightCard.partnerCount": "{{count}} |de| {{total}}",
|
|
2914
|
+
"insightCard.partners": "socios",
|
|
2915
|
+
"insightTile.all": "Todos",
|
|
2916
|
+
"insightTile.partnerCount": "{{count}} |de| {{total}}",
|
|
2917
|
+
"insightTile.partners": "socios",
|
|
2918
|
+
"label.errors.dateConstraint.max": "Ingrese una fecha anterior o igual a {{context.maxExceeded}} .",
|
|
2919
|
+
"label.errors.dateConstraint.min": "Ingrese una fecha igual o posterior al {{context.minExceeded}} .",
|
|
2920
|
+
"label.errors.dateFormat": "Introduzca una fecha en el formato {{context}} .",
|
|
2921
|
+
"label.errors.dateRangeOrder": "La fecha de finalización no puede ser anterior a la fecha de inicio.",
|
|
2922
|
+
"label.errors.dateValidity": "Por favor introduzca una fecha valida.",
|
|
2923
|
+
"label.errors.max": "Ingrese un valor no mayor que {{context}} .",
|
|
2924
|
+
"label.errors.maxLength": "Por favor, no introduzca más de {{context}} caracteres.",
|
|
2925
|
+
"label.errors.min": "Ingrese un valor no menor a {{context}} .",
|
|
2926
|
+
"label.errors.minLength": "Ingrese al menos {{context}} caracteres.",
|
|
2927
|
+
"label.errors.required": "Este campo es obligatorio.",
|
|
2928
|
+
"label.preventativeErrors.alpha": "Este campo sólo acepta valores alfabéticos.",
|
|
2929
|
+
"label.preventativeErrors.maxLength": "Este campo acepta un número máximo de caracteres.",
|
|
2930
|
+
"label.preventativeErrors.nonNumeric": "Este campo sólo acepta valores no numéricos.",
|
|
2931
|
+
"label.preventativeErrors.numeric": "Este campo sólo acepta valores numéricos (cero o mayor).",
|
|
2932
|
+
"label.preventativeErrors.positiveOrNegativeNumber": "Este campo sólo acepta valores numéricos.",
|
|
2933
|
+
"label.stronglySuggested": "Este campo es muy recomendable.",
|
|
2934
|
+
"listActionBar.clearSelected": "Borrar seleccionados",
|
|
2935
|
+
"listActionBar.itemsSelected": "Artículos seleccionados",
|
|
2936
|
+
"listToolbar.advancedSearchToggle": "Búsqueda avanzada",
|
|
2937
|
+
"modal.close": "Cerrar modal",
|
|
2938
|
+
"modal.defaultButtonLabel": "Aceptar",
|
|
2939
|
+
"modal.defaultTitle.general": "Acción",
|
|
2940
|
+
"modal.defaultTitle.info": "Información",
|
|
2941
|
+
"modal.defaultTitle.serious-warning": "Aviso",
|
|
2942
|
+
"modal.defaultTitle.success": "Éxito",
|
|
2943
|
+
"modal.defaultTitle.warning": "Aviso",
|
|
2944
|
+
"pagination.nextPage": "Siguiente página",
|
|
2945
|
+
"pagination.of": "de",
|
|
2946
|
+
"pagination.ofMany": "de muchos",
|
|
2947
|
+
"pagination.ofPageCount": "de {{pageCount}}",
|
|
2948
|
+
"pagination.page": "Página",
|
|
2949
|
+
"pagination.perPage": "Por página",
|
|
2950
|
+
"pagination.prevPage": "Página anterior",
|
|
2951
|
+
"pagination.view": "Ver",
|
|
2952
|
+
"pagination.viewing": "Ver",
|
|
2953
|
+
"progressBar.closeButtonTitle": "Cerrar la barra de progreso",
|
|
2954
|
+
"searchResultsBar.clear": "Claro",
|
|
2955
|
+
"searchResultsBar.clearResults": "Resultados claros",
|
|
2956
|
+
"searchResultsBar.count": "{{count}} de {{total}}",
|
|
2957
|
+
"searchResultsBar.matchingResults": "Resultados coincidentes",
|
|
2958
|
+
"searchResultsBar.noAdvancedSearchSelections": "Sin selecciones de búsqueda avanzada",
|
|
2959
|
+
"searchResultsBar.results": "Resultados:",
|
|
2960
|
+
"select.defaultPlaceholder": "Seleccione uno…",
|
|
2961
|
+
"select.searchPlaceholder": "Busca...",
|
|
2962
|
+
"slackLink.label": "Charla",
|
|
2963
|
+
"slideInPanel.close": "Cerrar",
|
|
2964
|
+
"slideInPanel.defaultTitle": "Panel deslizable",
|
|
2965
|
+
"spinner.defaultAltText": "Cargando…",
|
|
2966
|
+
"taskQueue.clearCompleted": "Borrar completadas",
|
|
2967
|
+
"taskQueue.newTask": "Tienes una nueva tarea en tu cola.",
|
|
2968
|
+
"taskQueue.noTasks": "En este momento no hay ninguna tarea en la cola.",
|
|
2969
|
+
"timeInput.customTime": "Hora personalizada"
|
|
2970
|
+
}, dn = {
|
|
2971
|
+
"addToList.disabledDragTooltip": "Le glisser-déposer est désactivé lorsque les filtres sont activés",
|
|
2972
|
+
"addToList.moveAllItemsToCol": "Déplacer tout vers « {{columnName}} »",
|
|
2973
|
+
"addToList.noDataZeroStateColumnTitle": "Cette colonne est vide",
|
|
2974
|
+
"addToList.noDataZeroStateOffColumnSubheading": "Supprimer les options de {{columnName}}",
|
|
2975
|
+
"addToList.noDataZeroStateOnColumnSubheading": "Déplacer les options depuis {{columnName}}",
|
|
2976
|
+
"addToList.offColumnHeader": "Hors colonne",
|
|
2977
|
+
"addToList.onColumnHeader": "Dans la colonne",
|
|
2978
|
+
"advancedSearch.clear": "Effacer les champs",
|
|
2979
|
+
"advancedSearch.search": "Rechercher",
|
|
2980
|
+
"button.spinningTitle": "Chargement…",
|
|
2981
|
+
"columnChooser.removeButton": "Supprimer {{elementName}}",
|
|
2982
|
+
"columnManager.cancelButton": "Annuler",
|
|
2983
|
+
"columnManager.filterText": "Trouver une colonne",
|
|
2984
|
+
"columnManager.offListHeader": "Colonnes cachées",
|
|
2985
|
+
"columnManager.onListHeader": "Colonnes visibles",
|
|
2986
|
+
"columnManager.saveButton": "Enregistrer",
|
|
2987
|
+
"columnManager.title": "Gérer les colonnes du tableau",
|
|
2988
|
+
"contentRow.collapse": "Effondrer",
|
|
2989
|
+
"contentRow.expand": "Développer",
|
|
2990
|
+
"datepicker.calendar.nextMonth": "Voir le mois prochain",
|
|
2991
|
+
"datepicker.calendar.prevMonth": "Voir le mois précédent",
|
|
2992
|
+
"datepicker.preset.after": "Après",
|
|
2993
|
+
"datepicker.preset.before": "Avant",
|
|
2994
|
+
"datepicker.preset.custom": "Personnalisé",
|
|
2995
|
+
"datepicker.preset.ninetyDays": "Les 90 derniers jours",
|
|
2996
|
+
"datepicker.preset.oneYear": "L'année Dernière",
|
|
2997
|
+
"datepicker.preset.sevenDays": "Les 7 derniers jours",
|
|
2998
|
+
"datepicker.preset.sixtyDays": "Les 60 derniers jours",
|
|
2999
|
+
"datepicker.preset.thirtyDays": "Les 30 derniers jours",
|
|
3000
|
+
"datepicker.preset.today": "Aujourd'hui",
|
|
3001
|
+
"datepicker.presetsLabel": "Gammes",
|
|
3002
|
+
"fileUpload.acceptedTypes.one": "Format {{fileTypes}} accepté",
|
|
3003
|
+
"fileUpload.acceptedTypes.other": "Formats {{fileTypes}} acceptés",
|
|
3004
|
+
"fileUpload.cancelled.one": "Échec du téléchargement du fichier",
|
|
3005
|
+
"fileUpload.cancelled.other": "Échec du téléchargement du fichier",
|
|
3006
|
+
"fileUpload.close": "Fermer",
|
|
3007
|
+
"fileUpload.error.tooLarge.one": "Le fichier sélectionné est plus grand que la limite de taille de {{size}}.",
|
|
3008
|
+
"fileUpload.error.tooLarge.other": "Les fichiers sélectionnés sont plus grands que la limite de taille de {{size}}.",
|
|
3009
|
+
"fileUpload.error.wrongType.one": "Le fichier sélectionné n'est pas un type de fichier accepté : {{fileTypes}}.",
|
|
3010
|
+
"fileUpload.error.wrongType.other": "Les fichiers sélectionnés ne sont pas acceptés Types de fichiers : {{fileTypes}}.",
|
|
3011
|
+
"fileUpload.instructions.one": "Glisser et déposer votre fichier ici ou |rechercher un fichier| sur votre bureau.",
|
|
3012
|
+
"fileUpload.instructions.other": "Glisser et déposer vos fichiers ici ou |rechercher des fichiers| sur votre bureau.",
|
|
3013
|
+
"fileUpload.maximumSize": "{{size}} maximum",
|
|
3014
|
+
"fileUpload.processing": "Traitement du téléchargement…",
|
|
3015
|
+
"fileUpload.title": "Téléchargez votre {{description}}",
|
|
3016
|
+
"filterPanel.clear": "Effacer les filtres",
|
|
3017
|
+
"filterPanel.filterPlaceholder": "Options de filtrage",
|
|
3018
|
+
"filterPanel.title": "Filtres",
|
|
3019
|
+
"focusedTask.close": "Fermer",
|
|
3020
|
+
"growler.dismiss": "Rejeter",
|
|
3021
|
+
"insightCard.all": "Tout",
|
|
3022
|
+
"insightCard.partnerCount": "{{count}} |de| {{total}}",
|
|
3023
|
+
"insightCard.partners": "partenaires",
|
|
3024
|
+
"insightTile.all": "Tout",
|
|
3025
|
+
"insightTile.partnerCount": "{{count}} |de| {{total}}",
|
|
3026
|
+
"insightTile.partners": "partenaires",
|
|
3027
|
+
"label.errors.dateConstraint.max": "Veuillez saisir une date au plus tard le {{context.maxExceeded}} .",
|
|
3028
|
+
"label.errors.dateConstraint.min": "Veuillez saisir une date le ou après {{context.minExceeded}} .",
|
|
3029
|
+
"label.errors.dateFormat": "Veuillez saisir une date au format {{context}} .",
|
|
3030
|
+
"label.errors.dateRangeOrder": "La date de fin ne peut pas être antérieure à la date de début.",
|
|
3031
|
+
"label.errors.dateValidity": "Veuillez entrer une date valide.",
|
|
3032
|
+
"label.errors.max": "Veuillez saisir une valeur ne dépassant pas {{context}} .",
|
|
3033
|
+
"label.errors.maxLength": "Veuillez ne pas saisir plus de {{context}} caractères.",
|
|
3034
|
+
"label.errors.min": "Veuillez saisir une valeur non inférieure à {{context}} .",
|
|
3035
|
+
"label.errors.minLength": "Veuillez saisir au moins {{context}} caractères.",
|
|
3036
|
+
"label.errors.required": "Ce champ est requis.",
|
|
3037
|
+
"label.preventativeErrors.alpha": "Ce champ accepte uniquement les valeurs alphabétiques.",
|
|
3038
|
+
"label.preventativeErrors.maxLength": "Ce champ accepte un nombre maximum de caractères.",
|
|
3039
|
+
"label.preventativeErrors.nonNumeric": "Ce champ accepte uniquement les valeurs non numériques.",
|
|
3040
|
+
"label.preventativeErrors.numeric": "Ce champ accepte uniquement les valeurs numériques (zéro ou plus).",
|
|
3041
|
+
"label.preventativeErrors.positiveOrNegativeNumber": "Ce champ accepte uniquement des valeurs numériques.",
|
|
3042
|
+
"label.stronglySuggested": "Ce champ est fortement suggéré.",
|
|
3043
|
+
"listActionBar.clearSelected": "Effacer la sélection",
|
|
3044
|
+
"listActionBar.itemsSelected": "Articles sélectionnés",
|
|
3045
|
+
"listToolbar.advancedSearchToggle": "Recherche Avancée",
|
|
3046
|
+
"modal.close": "Fermer la fenêtre modale",
|
|
3047
|
+
"modal.defaultButtonLabel": "OK",
|
|
3048
|
+
"modal.defaultTitle.general": "Action",
|
|
3049
|
+
"modal.defaultTitle.info": "Infos",
|
|
3050
|
+
"modal.defaultTitle.serious-warning": "Avertissement",
|
|
3051
|
+
"modal.defaultTitle.success": "Succès",
|
|
3052
|
+
"modal.defaultTitle.warning": "Avertissement",
|
|
3053
|
+
"pagination.nextPage": "Page suivante",
|
|
3054
|
+
"pagination.of": "de",
|
|
3055
|
+
"pagination.ofMany": "de plusieurs",
|
|
3056
|
+
"pagination.ofPageCount": "de {{pageCount}}",
|
|
3057
|
+
"pagination.page": "Page",
|
|
3058
|
+
"pagination.perPage": "Par page",
|
|
3059
|
+
"pagination.prevPage": "Page précédente",
|
|
3060
|
+
"pagination.view": "Voir",
|
|
3061
|
+
"pagination.viewing": "Visualisation",
|
|
3062
|
+
"progressBar.closeButtonTitle": "Fermer la barre de progression",
|
|
3063
|
+
"searchResultsBar.clear": "Effacer",
|
|
3064
|
+
"searchResultsBar.clearResults": "Effacer les résultats",
|
|
3065
|
+
"searchResultsBar.count": "{{count}} sur {{total}}",
|
|
3066
|
+
"searchResultsBar.matchingResults": "Résultats correspondants",
|
|
3067
|
+
"searchResultsBar.noAdvancedSearchSelections": "Aucune sélection de recherche avancée",
|
|
3068
|
+
"searchResultsBar.results": "Résultats:",
|
|
3069
|
+
"select.defaultPlaceholder": "Sélectionnez-en un…",
|
|
3070
|
+
"select.searchPlaceholder": "Recherche...",
|
|
3071
|
+
"slackLink.label": "Clavarder",
|
|
3072
|
+
"slideInPanel.close": "Fermer",
|
|
3073
|
+
"slideInPanel.defaultTitle": "Panneau coulissant",
|
|
3074
|
+
"spinner.defaultAltText": "Chargement…",
|
|
3075
|
+
"taskQueue.clearCompleted": "Effacer Terminé",
|
|
3076
|
+
"taskQueue.newTask": "Vous avez une nouvelle tâche dans votre file d'attente.",
|
|
3077
|
+
"taskQueue.noTasks": "Il n'y a actuellement aucune tâche dans votre file d'attente.",
|
|
3078
|
+
"timeInput.customTime": "Temps personnalisé"
|
|
3079
|
+
}, fn = {
|
|
3080
|
+
"addToList.disabledDragTooltip": "Le glisser-déposer est désactivé lorsque les filtres sont activés",
|
|
3081
|
+
"addToList.moveAllItemsToCol": "Déplacer tout vers « {{columnName}} »",
|
|
3082
|
+
"addToList.noDataZeroStateColumnTitle": "Cette colonne est vide",
|
|
3083
|
+
"addToList.noDataZeroStateOffColumnSubheading": "Supprimer les options de {{columnName}}",
|
|
3084
|
+
"addToList.noDataZeroStateOnColumnSubheading": "Déplacer les options depuis {{columnName}}",
|
|
3085
|
+
"addToList.offColumnHeader": "Hors colonne",
|
|
3086
|
+
"addToList.onColumnHeader": "Sur la colonne",
|
|
3087
|
+
"advancedSearch.clear": "Effacer les champs",
|
|
3088
|
+
"advancedSearch.search": "Rechercher",
|
|
3089
|
+
"button.spinningTitle": "Chargement…",
|
|
3090
|
+
"columnChooser.removeButton": "Supprimer {{elementName}}",
|
|
3091
|
+
"columnManager.cancelButton": "Annuler",
|
|
3092
|
+
"columnManager.filterText": "Trouver une colonne",
|
|
3093
|
+
"columnManager.offListHeader": "Colonnes cachées",
|
|
3094
|
+
"columnManager.onListHeader": "Colonnes visibles",
|
|
3095
|
+
"columnManager.saveButton": "Enregistrer",
|
|
3096
|
+
"columnManager.title": "Gérer les colonnes du tableau",
|
|
3097
|
+
"contentRow.collapse": "Réduire",
|
|
3098
|
+
"contentRow.expand": "Développer",
|
|
3099
|
+
"datepicker.calendar.nextMonth": "Voir le mois prochain",
|
|
3100
|
+
"datepicker.calendar.prevMonth": "Voir le mois précédent",
|
|
3101
|
+
"datepicker.preset.after": "Après",
|
|
3102
|
+
"datepicker.preset.before": "Avant",
|
|
3103
|
+
"datepicker.preset.custom": "Personnalisé",
|
|
3104
|
+
"datepicker.preset.ninetyDays": "90 derniers jours",
|
|
3105
|
+
"datepicker.preset.oneYear": "Année Passée",
|
|
3106
|
+
"datepicker.preset.sevenDays": "7 derniers jours",
|
|
3107
|
+
"datepicker.preset.sixtyDays": "60 derniers jours",
|
|
3108
|
+
"datepicker.preset.thirtyDays": "30 derniers jours",
|
|
3109
|
+
"datepicker.preset.today": "Aujourd'hui",
|
|
3110
|
+
"datepicker.presetsLabel": "Gammes",
|
|
3111
|
+
"fileUpload.acceptedTypes.one": "Format {{fileTypes}} accepté",
|
|
3112
|
+
"fileUpload.acceptedTypes.other": "Formats {{fileTypes}} acceptés",
|
|
3113
|
+
"fileUpload.cancelled.one": "Échec du téléchargement du fichier",
|
|
3114
|
+
"fileUpload.cancelled.other": "Échec du téléchargement du fichier",
|
|
3115
|
+
"fileUpload.close": "Fermer",
|
|
3116
|
+
"fileUpload.error.tooLarge.one": "Le fichier sélectionné est plus grand que la limite de taille de {{size}}.",
|
|
3117
|
+
"fileUpload.error.tooLarge.other": "Les fichiers sélectionnés sont plus grands que la limite de taille de {{size}}.",
|
|
3118
|
+
"fileUpload.error.wrongType.one": "Le fichier sélectionné n'est pas un type de fichier accepté : {{fileTypes}}.",
|
|
3119
|
+
"fileUpload.error.wrongType.other": "Les fichiers sélectionnés ne sont pas acceptés Types de fichiers : {{fileTypes}}.",
|
|
3120
|
+
"fileUpload.instructions.one": "Faites glisser et déposez votre fichier ici ou |recherchez un fichier| sur votre bureau.",
|
|
3121
|
+
"fileUpload.instructions.other": "Faites glisser et déposez vos fichiers ici ou |recherchez des fichiers| sur votre bureau.",
|
|
3122
|
+
"fileUpload.maximumSize": "{{size}} maximum",
|
|
3123
|
+
"fileUpload.processing": "Traitement du téléchargement…",
|
|
3124
|
+
"fileUpload.title": "Téléchargez votre {{description}}",
|
|
3125
|
+
"filterPanel.clear": "Effacer les filtres",
|
|
3126
|
+
"filterPanel.filterPlaceholder": "Options de filtrage",
|
|
3127
|
+
"filterPanel.title": "Filtres",
|
|
3128
|
+
"focusedTask.close": "Fermer",
|
|
3129
|
+
"growler.dismiss": "Rejeter",
|
|
3130
|
+
"insightCard.all": "Tout",
|
|
3131
|
+
"insightCard.partnerCount": "{{count}} |de| {{total}}",
|
|
3132
|
+
"insightCard.partners": "partenaires",
|
|
3133
|
+
"insightTile.all": "Tout",
|
|
3134
|
+
"insightTile.partnerCount": "{{count}} |de| {{total}}",
|
|
3135
|
+
"insightTile.partners": "partenaires",
|
|
3136
|
+
"label.errors.dateConstraint.max": "Veuillez saisir une date au plus tard le {{context.maxExceeded}} .",
|
|
3137
|
+
"label.errors.dateConstraint.min": "Veuillez saisir une date le ou après {{context.minExceeded}} .",
|
|
3138
|
+
"label.errors.dateFormat": "Veuillez saisir une date au format {{context}} .",
|
|
3139
|
+
"label.errors.dateRangeOrder": "La date de fin ne peut pas être antérieure à la date de début.",
|
|
3140
|
+
"label.errors.dateValidity": "Veuillez entrer une date valide.",
|
|
3141
|
+
"label.errors.max": "Veuillez saisir une valeur ne dépassant pas {{context}} .",
|
|
3142
|
+
"label.errors.maxLength": "Veuillez ne pas saisir plus de {{context}} caractères.",
|
|
3143
|
+
"label.errors.min": "Veuillez saisir une valeur supérieure à {{context}} .",
|
|
3144
|
+
"label.errors.minLength": "Veuillez saisir au moins {{context}} caractères.",
|
|
3145
|
+
"label.errors.required": "Ce champ est requis.",
|
|
3146
|
+
"label.preventativeErrors.alpha": "Ce champ accepte uniquement les valeurs alphabétiques.",
|
|
3147
|
+
"label.preventativeErrors.maxLength": "Ce champ accepte un nombre maximum de caractères.",
|
|
3148
|
+
"label.preventativeErrors.nonNumeric": "Ce champ accepte uniquement les valeurs non numériques.",
|
|
3149
|
+
"label.preventativeErrors.numeric": "Ce champ accepte uniquement les valeurs numériques (zéro ou plus).",
|
|
3150
|
+
"label.preventativeErrors.positiveOrNegativeNumber": "Ce champ accepte uniquement des valeurs numériques.",
|
|
3151
|
+
"label.stronglySuggested": "Ce champ est fortement suggéré.",
|
|
3152
|
+
"listActionBar.clearSelected": "Effacer la sélection",
|
|
3153
|
+
"listActionBar.itemsSelected": "Articles sélectionnés",
|
|
3154
|
+
"listToolbar.advancedSearchToggle": "Recherche Avancée",
|
|
3155
|
+
"modal.close": "Fermer la fenêtre modale",
|
|
3156
|
+
"modal.defaultButtonLabel": "D'accord",
|
|
3157
|
+
"modal.defaultTitle.general": "Action",
|
|
3158
|
+
"modal.defaultTitle.info": "Info",
|
|
3159
|
+
"modal.defaultTitle.serious-warning": "Avertissement",
|
|
3160
|
+
"modal.defaultTitle.success": "Succès",
|
|
3161
|
+
"modal.defaultTitle.warning": "Avertissement",
|
|
3162
|
+
"pagination.nextPage": "Page suivante",
|
|
3163
|
+
"pagination.of": "de",
|
|
3164
|
+
"pagination.ofMany": "de plusieurs",
|
|
3165
|
+
"pagination.ofPageCount": "de {{pageCount}}",
|
|
3166
|
+
"pagination.page": "Page",
|
|
3167
|
+
"pagination.perPage": "Par page",
|
|
3168
|
+
"pagination.prevPage": "Page précédente",
|
|
3169
|
+
"pagination.view": "Voir",
|
|
3170
|
+
"pagination.viewing": "Visualisation",
|
|
3171
|
+
"progressBar.closeButtonTitle": "Fermer la barre de progression",
|
|
3172
|
+
"searchResultsBar.clear": "Effacer",
|
|
3173
|
+
"searchResultsBar.clearResults": "Effacer les résultats",
|
|
3174
|
+
"searchResultsBar.count": "{{count}} sur {{total}}",
|
|
3175
|
+
"searchResultsBar.matchingResults": "Résultats correspondants",
|
|
3176
|
+
"searchResultsBar.noAdvancedSearchSelections": "Aucune sélection de recherche avancée",
|
|
3177
|
+
"searchResultsBar.results": "Résultats :",
|
|
3178
|
+
"select.defaultPlaceholder": "Sélectionnez…",
|
|
3179
|
+
"select.searchPlaceholder": "Recherche...",
|
|
3180
|
+
"slackLink.label": "Chatter",
|
|
3181
|
+
"slideInPanel.close": "Fermer",
|
|
3182
|
+
"slideInPanel.defaultTitle": "Panneau coulissant",
|
|
3183
|
+
"spinner.defaultAltText": "Chargement…",
|
|
3184
|
+
"taskQueue.clearCompleted": "Effacer les tâches complétées",
|
|
3185
|
+
"taskQueue.newTask": "Vous avez une nouvelle tâche dans votre file d'attente.",
|
|
3186
|
+
"taskQueue.noTasks": "Aucune tâche ne se trouve dans votre file d'attente.",
|
|
3187
|
+
"timeInput.customTime": "Temps personnalisé"
|
|
3188
|
+
}, pn = {
|
|
3189
|
+
"addToList.disabledDragTooltip": "Il trascinamento della selezione è disabilitato quando i filtri sono attivi",
|
|
3190
|
+
"addToList.moveAllItemsToCol": "Sposta tutto in " {{columnName}} "",
|
|
3191
|
+
"addToList.noDataZeroStateColumnTitle": "Questa colonna è vuota",
|
|
3192
|
+
"addToList.noDataZeroStateOffColumnSubheading": "Rimuovi le opzioni da {{columnName}}",
|
|
3193
|
+
"addToList.noDataZeroStateOnColumnSubheading": "Sposta le opzioni da {{columnName}}",
|
|
3194
|
+
"addToList.offColumnHeader": "Fuori colonna",
|
|
3195
|
+
"addToList.onColumnHeader": "Sulla colonna",
|
|
3196
|
+
"advancedSearch.clear": "Cancella campi",
|
|
3197
|
+
"advancedSearch.search": "Ricerca",
|
|
3198
|
+
"button.spinningTitle": "Caricamento in corso…",
|
|
3199
|
+
"columnChooser.removeButton": "Rimuovi {{elementName}}",
|
|
3200
|
+
"columnManager.cancelButton": "Annulla",
|
|
3201
|
+
"columnManager.filterText": "Trova una colonna",
|
|
3202
|
+
"columnManager.offListHeader": "Colonne nascoste",
|
|
3203
|
+
"columnManager.onListHeader": "Colonne visibili",
|
|
3204
|
+
"columnManager.saveButton": "Salva",
|
|
3205
|
+
"columnManager.title": "Gestisci colonne tabella",
|
|
3206
|
+
"contentRow.collapse": "Crollo",
|
|
3207
|
+
"contentRow.expand": "Espandere",
|
|
3208
|
+
"datepicker.calendar.nextMonth": "Visualizza il mese prossimo",
|
|
3209
|
+
"datepicker.calendar.prevMonth": "Visualizza il mese precedente",
|
|
3210
|
+
"datepicker.preset.after": "Dopo",
|
|
3211
|
+
"datepicker.preset.before": "Prima",
|
|
3212
|
+
"datepicker.preset.custom": "Abitudine",
|
|
3213
|
+
"datepicker.preset.ninetyDays": "Ultimi 90 giorni",
|
|
3214
|
+
"datepicker.preset.oneYear": "Ultimo anno",
|
|
3215
|
+
"datepicker.preset.sevenDays": "Ultimi 7 giorni",
|
|
3216
|
+
"datepicker.preset.sixtyDays": "Ultimi 60 giorni",
|
|
3217
|
+
"datepicker.preset.thirtyDays": "Ultimi 30 giorni",
|
|
3218
|
+
"datepicker.preset.today": "Oggi",
|
|
3219
|
+
"datepicker.presetsLabel": "Gamme",
|
|
3220
|
+
"fileUpload.acceptedTypes.one": "Formato {{fileTypes}} accettato",
|
|
3221
|
+
"fileUpload.acceptedTypes.other": "Formati accettati {{fileTypes}}",
|
|
3222
|
+
"fileUpload.cancelled.one": "Caricamento file non riuscito",
|
|
3223
|
+
"fileUpload.cancelled.other": "Caricamento file non riuscito",
|
|
3224
|
+
"fileUpload.close": "Chiudi",
|
|
3225
|
+
"fileUpload.error.tooLarge.one": "Il file selezionato supera il limite di dimensione di {{size}}.",
|
|
3226
|
+
"fileUpload.error.tooLarge.other": "I file selezionati sono più grandi del limite di dimensione di {{size}}.",
|
|
3227
|
+
"fileUpload.error.wrongType.one": "Il file selezionato non è un tipo di file accettato: {{fileTypes}}.",
|
|
3228
|
+
"fileUpload.error.wrongType.other": "I file selezionati non sono accettati tipi di file: {{fileTypes}}.",
|
|
3229
|
+
"fileUpload.instructions.one": "Trascina e rilascia il tuo file qui oppure |cerca un file| sul desktop.",
|
|
3230
|
+
"fileUpload.instructions.other": "Trascina e rilascia i tuoi file qui oppure |cerca file| sul desktop.",
|
|
3231
|
+
"fileUpload.maximumSize": "{{size}} massimo",
|
|
3232
|
+
"fileUpload.processing": "Caricamento in corso...",
|
|
3233
|
+
"fileUpload.title": "Carica la tua {{description}}",
|
|
3234
|
+
"filterPanel.clear": "Cancella i filtri",
|
|
3235
|
+
"filterPanel.filterPlaceholder": "Opzioni filtro",
|
|
3236
|
+
"filterPanel.title": "Filtri",
|
|
3237
|
+
"focusedTask.close": "Chiudi",
|
|
3238
|
+
"growler.dismiss": "Ignora",
|
|
3239
|
+
"insightCard.all": "Tutti",
|
|
3240
|
+
"insightCard.partnerCount": "{{count}} |di| {{total}}",
|
|
3241
|
+
"insightCard.partners": "partner",
|
|
3242
|
+
"insightTile.all": "Tutti",
|
|
3243
|
+
"insightTile.partnerCount": "{{count}} |di| {{total}}",
|
|
3244
|
+
"insightTile.partners": "partner",
|
|
3245
|
+
"label.errors.dateConstraint.max": "Inserisci una data uguale o precedente a {{context.maxExceeded}} .",
|
|
3246
|
+
"label.errors.dateConstraint.min": "Inserisci una data uguale o successiva al giorno {{context.minExceeded}} .",
|
|
3247
|
+
"label.errors.dateFormat": "Inserisci una data nel formato {{context}} .",
|
|
3248
|
+
"label.errors.dateRangeOrder": "La data di fine non può essere anteriore alla data di inizio.",
|
|
3249
|
+
"label.errors.dateValidity": "Per favore, inserisci una data valida.",
|
|
3250
|
+
"label.errors.max": "Inserisci un valore non maggiore di {{context}} .",
|
|
3251
|
+
"label.errors.maxLength": "Inserisci non più di {{context}} caratteri.",
|
|
3252
|
+
"label.errors.min": "Inserisci un valore non inferiore a {{context}} .",
|
|
3253
|
+
"label.errors.minLength": "Inserisci almeno {{context}} caratteri.",
|
|
3254
|
+
"label.errors.required": "Questo campo è obbligatorio.",
|
|
3255
|
+
"label.preventativeErrors.alpha": "Questo campo accetta solo valori alfabetici.",
|
|
3256
|
+
"label.preventativeErrors.maxLength": "Questo campo accetta un numero massimo di caratteri.",
|
|
3257
|
+
"label.preventativeErrors.nonNumeric": "Questo campo accetta solo valori non numerici.",
|
|
3258
|
+
"label.preventativeErrors.numeric": "Questo campo accetta solo valori numerici (zero o maggiori).",
|
|
3259
|
+
"label.preventativeErrors.positiveOrNegativeNumber": "Questo campo accetta solo valori numerici.",
|
|
3260
|
+
"label.stronglySuggested": "Questo campo è fortemente consigliato.",
|
|
3261
|
+
"listActionBar.clearSelected": "Cancella selezione",
|
|
3262
|
+
"listActionBar.itemsSelected": "Elementi selezionati",
|
|
3263
|
+
"listToolbar.advancedSearchToggle": "Ricerca avanzata",
|
|
3264
|
+
"modal.close": "Chiudi modale",
|
|
3265
|
+
"modal.defaultButtonLabel": "Okay",
|
|
3266
|
+
"modal.defaultTitle.general": "Azione",
|
|
3267
|
+
"modal.defaultTitle.info": "Informazioni",
|
|
3268
|
+
"modal.defaultTitle.serious-warning": "Avviso",
|
|
3269
|
+
"modal.defaultTitle.success": "Successo",
|
|
3270
|
+
"modal.defaultTitle.warning": "Avviso",
|
|
3271
|
+
"pagination.nextPage": "Pagina successiva",
|
|
3272
|
+
"pagination.of": "di",
|
|
3273
|
+
"pagination.ofMany": "di molti",
|
|
3274
|
+
"pagination.ofPageCount": "di {{pageCount}}",
|
|
3275
|
+
"pagination.page": "Pagina",
|
|
3276
|
+
"pagination.perPage": "Per pagina",
|
|
3277
|
+
"pagination.prevPage": "Pagina precedente",
|
|
3278
|
+
"pagination.view": "Vista",
|
|
3279
|
+
"pagination.viewing": "Visualizzazione",
|
|
3280
|
+
"progressBar.closeButtonTitle": "Chiudi barra di avanzamento",
|
|
3281
|
+
"searchResultsBar.clear": "Cancella",
|
|
3282
|
+
"searchResultsBar.clearResults": "Risultati chiari",
|
|
3283
|
+
"searchResultsBar.count": "{{count}} di {{total}}",
|
|
3284
|
+
"searchResultsBar.matchingResults": "Risultati corrispondenti",
|
|
3285
|
+
"searchResultsBar.noAdvancedSearchSelections": "Nessuna selezione di ricerca avanzata",
|
|
3286
|
+
"searchResultsBar.results": "Risultati:",
|
|
3287
|
+
"select.defaultPlaceholder": "Selezionane uno…",
|
|
3288
|
+
"select.searchPlaceholder": "Ricerca...",
|
|
3289
|
+
"slackLink.label": "Chiacchierare",
|
|
3290
|
+
"slideInPanel.close": "Chiudi",
|
|
3291
|
+
"slideInPanel.defaultTitle": "Pannello scorrevole",
|
|
3292
|
+
"spinner.defaultAltText": "Caricamento in corso…",
|
|
3293
|
+
"taskQueue.clearCompleted": "Rimuovi completati",
|
|
3294
|
+
"taskQueue.newTask": "Hai una nuova attività in coda.",
|
|
3295
|
+
"taskQueue.noTasks": "Al momento non ci sono lavori nella tua coda.",
|
|
3296
|
+
"timeInput.customTime": "Tempo personalizzato"
|
|
3297
|
+
}, gn = {
|
|
3298
|
+
"addToList.disabledDragTooltip": "Slepen en neerzetten is uitgeschakeld wanneer filters zijn ingeschakeld",
|
|
3299
|
+
"addToList.moveAllItemsToCol": 'Verplaats alles naar " {{columnName}} "',
|
|
3300
|
+
"addToList.noDataZeroStateColumnTitle": "Deze kolom is leeg",
|
|
3301
|
+
"addToList.noDataZeroStateOffColumnSubheading": "Opties verwijderen uit de {{columnName}}",
|
|
3302
|
+
"addToList.noDataZeroStateOnColumnSubheading": "Verplaats opties van de {{columnName}}",
|
|
3303
|
+
"addToList.offColumnHeader": "Uit kolom",
|
|
3304
|
+
"addToList.onColumnHeader": "Op kolom",
|
|
3305
|
+
"advancedSearch.clear": "Velden wissen",
|
|
3306
|
+
"advancedSearch.search": "Zoeken",
|
|
3307
|
+
"button.spinningTitle": "Bezig met laden…",
|
|
3308
|
+
"columnChooser.removeButton": "Verwijder {{elementName}}",
|
|
3309
|
+
"columnManager.cancelButton": "Annuleren",
|
|
3310
|
+
"columnManager.filterText": "Vind een kolom",
|
|
3311
|
+
"columnManager.offListHeader": "Verborgen kolommen",
|
|
3312
|
+
"columnManager.onListHeader": "Zichtbare kolommen",
|
|
3313
|
+
"columnManager.saveButton": "Opslaan",
|
|
3314
|
+
"columnManager.title": "Tabelkolommen beheren",
|
|
3315
|
+
"contentRow.collapse": "Samenvoegen",
|
|
3316
|
+
"contentRow.expand": "Uitbreiden",
|
|
3317
|
+
"datepicker.calendar.nextMonth": "Bekijk volgende maand",
|
|
3318
|
+
"datepicker.calendar.prevMonth": "Bekijk vorige maand",
|
|
3319
|
+
"datepicker.preset.after": "Na",
|
|
3320
|
+
"datepicker.preset.before": "Voordat",
|
|
3321
|
+
"datepicker.preset.custom": "Op maat",
|
|
3322
|
+
"datepicker.preset.ninetyDays": "Laatste 90 dagen",
|
|
3323
|
+
"datepicker.preset.oneYear": "Afgelopen jaar",
|
|
3324
|
+
"datepicker.preset.sevenDays": "Laatste 7 dagen",
|
|
3325
|
+
"datepicker.preset.sixtyDays": "Laatste 60 dagen",
|
|
3326
|
+
"datepicker.preset.thirtyDays": "Laatste 30 dagen",
|
|
3327
|
+
"datepicker.preset.today": "Vandaag",
|
|
3328
|
+
"datepicker.presetsLabel": "Bereiken",
|
|
3329
|
+
"fileUpload.acceptedTypes.one": "{{fileTypes}} formaat geaccepteerd",
|
|
3330
|
+
"fileUpload.acceptedTypes.other": "{{fileTypes}} formaten geaccepteerd",
|
|
3331
|
+
"fileUpload.cancelled.one": "Bestandsupload mislukt",
|
|
3332
|
+
"fileUpload.cancelled.other": "Bestandsupload(s) mislukt",
|
|
3333
|
+
"fileUpload.close": "sluiten",
|
|
3334
|
+
"fileUpload.error.tooLarge.one": "Het geselecteerde bestand is groter dan de maximale grootte van {{size}}.",
|
|
3335
|
+
"fileUpload.error.tooLarge.other": "Geselecteerde bestanden zijn groter dan de maximale grootte van {{size}}.",
|
|
3336
|
+
"fileUpload.error.wrongType.one": "Het geselecteerde bestand is geen geaccepteerd bestandstype: {{fileTypes}}.",
|
|
3337
|
+
"fileUpload.error.wrongType.other": "Geselecteerde bestanden worden niet geaccepteerd bestandstypen: {{fileTypes}}.",
|
|
3338
|
+
"fileUpload.instructions.one": "Sleep uw bestand hierheen of |blader naar een bestand| op uw bureaublad.",
|
|
3339
|
+
"fileUpload.instructions.other": "Sleep uw bestanden hierheen of |blader naar bestanden| op uw bureaublad.",
|
|
3340
|
+
"fileUpload.maximumSize": "{{size}} maximaal",
|
|
3341
|
+
"fileUpload.processing": "Uploaden verwerken…",
|
|
3342
|
+
"fileUpload.title": "Upload uw {{description}}",
|
|
3343
|
+
"filterPanel.clear": "Filters wissen",
|
|
3344
|
+
"filterPanel.filterPlaceholder": "Filteropties",
|
|
3345
|
+
"filterPanel.title": "filters",
|
|
3346
|
+
"focusedTask.close": "Sluiten",
|
|
3347
|
+
"growler.dismiss": "Ontslaan",
|
|
3348
|
+
"insightCard.all": "Alle",
|
|
3349
|
+
"insightCard.partnerCount": "{{count}} |van| {{total}}",
|
|
3350
|
+
"insightCard.partners": "partners",
|
|
3351
|
+
"insightTile.all": "Alle",
|
|
3352
|
+
"insightTile.partnerCount": "{{count}} |van| {{total}}",
|
|
3353
|
+
"insightTile.partners": "partners",
|
|
3354
|
+
"label.errors.dateConstraint.max": "Voer een datum in die op of vóór {{context.maxExceeded}} valt.",
|
|
3355
|
+
"label.errors.dateConstraint.min": "Voer een datum in die op of na {{context.minExceeded}} valt.",
|
|
3356
|
+
"label.errors.dateFormat": "Voer een datum in het formaat {{context}} in.",
|
|
3357
|
+
"label.errors.dateRangeOrder": "De einddatum kan niet vóór de startdatum liggen.",
|
|
3358
|
+
"label.errors.dateValidity": "Vul alstublieft een geldige datum in.",
|
|
3359
|
+
"label.errors.max": "Voer een waarde in die niet groter is dan {{context}} .",
|
|
3360
|
+
"label.errors.maxLength": "Voer maximaal {{context}} tekens in.",
|
|
3361
|
+
"label.errors.min": "Voer een waarde in die minimaal {{context}} .",
|
|
3362
|
+
"label.errors.minLength": "Voer minimaal {{context}} tekens in.",
|
|
3363
|
+
"label.errors.required": "Dit veld is verplicht.",
|
|
3364
|
+
"label.preventativeErrors.alpha": "Dit veld accepteert alleen alfabetische waarden.",
|
|
3365
|
+
"label.preventativeErrors.maxLength": "Voor dit veld is een maximaal aantal tekens toegestaan.",
|
|
3366
|
+
"label.preventativeErrors.nonNumeric": "Dit veld accepteert alleen niet-numerieke waarden.",
|
|
3367
|
+
"label.preventativeErrors.numeric": "Dit veld accepteert alleen numerieke waarden (nul of groter).",
|
|
3368
|
+
"label.preventativeErrors.positiveOrNegativeNumber": "Dit veld accepteert alleen numerieke waarden.",
|
|
3369
|
+
"label.stronglySuggested": "Dit veld wordt sterk aanbevolen.",
|
|
3370
|
+
"listActionBar.clearSelected": "Geselecteerde wissen",
|
|
3371
|
+
"listActionBar.itemsSelected": "Geselecteerde items",
|
|
3372
|
+
"listToolbar.advancedSearchToggle": "geavanceerd zoeken",
|
|
3373
|
+
"modal.close": "Sluit modaal",
|
|
3374
|
+
"modal.defaultButtonLabel": "oke",
|
|
3375
|
+
"modal.defaultTitle.general": "Actie",
|
|
3376
|
+
"modal.defaultTitle.info": "Informatie",
|
|
3377
|
+
"modal.defaultTitle.serious-warning": "Waarschuwing",
|
|
3378
|
+
"modal.defaultTitle.success": "Succes",
|
|
3379
|
+
"modal.defaultTitle.warning": "Waarschuwing",
|
|
3380
|
+
"pagination.nextPage": "Volgende pagina",
|
|
3381
|
+
"pagination.of": "van",
|
|
3382
|
+
"pagination.ofMany": "van velen",
|
|
3383
|
+
"pagination.ofPageCount": "van {{pageCount}}",
|
|
3384
|
+
"pagination.page": "Pagina",
|
|
3385
|
+
"pagination.perPage": "Per pagina",
|
|
3386
|
+
"pagination.prevPage": "Vorige pagina",
|
|
3387
|
+
"pagination.view": "Bekijk",
|
|
3388
|
+
"pagination.viewing": "Het bekijken van",
|
|
3389
|
+
"progressBar.closeButtonTitle": "Sluit de voortgangsbalk",
|
|
3390
|
+
"searchResultsBar.clear": "Verwijderen",
|
|
3391
|
+
"searchResultsBar.clearResults": "Resultaten verwijderen",
|
|
3392
|
+
"searchResultsBar.count": "{{count}} van {{total}}",
|
|
3393
|
+
"searchResultsBar.matchingResults": "Overeenkomende resultaten",
|
|
3394
|
+
"searchResultsBar.noAdvancedSearchSelections": "Geen geavanceerde zoekselecties",
|
|
3395
|
+
"searchResultsBar.results": "Resultaten:",
|
|
3396
|
+
"select.defaultPlaceholder": "Selecteer er één…",
|
|
3397
|
+
"select.searchPlaceholder": "Zoek...",
|
|
3398
|
+
"slackLink.label": "Chat",
|
|
3399
|
+
"slideInPanel.close": "Sluiten",
|
|
3400
|
+
"slideInPanel.defaultTitle": "Schuifpaneel",
|
|
3401
|
+
"spinner.defaultAltText": "Bezig met laden…",
|
|
3402
|
+
"taskQueue.clearCompleted": "Verwijderen voltooid",
|
|
3403
|
+
"taskQueue.newTask": "Er staat een nieuwe taak in uw wachtrij.",
|
|
3404
|
+
"taskQueue.noTasks": "Er staan momenteel geen taken in uw wachtrij.",
|
|
3405
|
+
"timeInput.customTime": "Aangepaste tijd"
|
|
3406
|
+
}, hn = {
|
|
3407
|
+
"addToList.disabledDragTooltip": "使用过滤器时,拖放功能将被禁用",
|
|
3408
|
+
"addToList.moveAllItemsToCol": "全部移动到“ {{columnName}} ”",
|
|
3409
|
+
"addToList.noDataZeroStateColumnTitle": "此列为空",
|
|
3410
|
+
"addToList.noDataZeroStateOffColumnSubheading": "从{{columnName}}中删除选项",
|
|
3411
|
+
"addToList.noDataZeroStateOnColumnSubheading": "从{{columnName}}移动选项",
|
|
3412
|
+
"addToList.offColumnHeader": "列外",
|
|
3413
|
+
"addToList.onColumnHeader": "在柱上",
|
|
3414
|
+
"advancedSearch.clear": "清除字段",
|
|
3415
|
+
"advancedSearch.search": "搜索",
|
|
3416
|
+
"button.spinningTitle": "加载中…",
|
|
3417
|
+
"columnChooser.removeButton": "删除{{elementName}}",
|
|
3418
|
+
"columnManager.cancelButton": "取消",
|
|
3419
|
+
"columnManager.filterText": "查找列",
|
|
3420
|
+
"columnManager.offListHeader": "隐藏列",
|
|
3421
|
+
"columnManager.onListHeader": "可见列",
|
|
3422
|
+
"columnManager.saveButton": "保存",
|
|
3423
|
+
"columnManager.title": "管理表列",
|
|
3424
|
+
"contentRow.collapse": "坍塌",
|
|
3425
|
+
"contentRow.expand": "扩张",
|
|
3426
|
+
"datepicker.calendar.nextMonth": "查看下个月",
|
|
3427
|
+
"datepicker.calendar.prevMonth": "查看上个月",
|
|
3428
|
+
"datepicker.preset.after": "后",
|
|
3429
|
+
"datepicker.preset.before": "前",
|
|
3430
|
+
"datepicker.preset.custom": "习惯",
|
|
3431
|
+
"datepicker.preset.ninetyDays": "最近 90 天",
|
|
3432
|
+
"datepicker.preset.oneYear": "去年",
|
|
3433
|
+
"datepicker.preset.sevenDays": "最近 7 天",
|
|
3434
|
+
"datepicker.preset.sixtyDays": "最近 60 天",
|
|
3435
|
+
"datepicker.preset.thirtyDays": "最近 30 天",
|
|
3436
|
+
"datepicker.preset.today": "今天",
|
|
3437
|
+
"datepicker.presetsLabel": "范围",
|
|
3438
|
+
"fileUpload.acceptedTypes.one": "{{fileTypes}}格式已接受",
|
|
3439
|
+
"fileUpload.acceptedTypes.other": "接受{{fileTypes}}个格式",
|
|
3440
|
+
"fileUpload.cancelled.one": "文件上传失败",
|
|
3441
|
+
"fileUpload.cancelled.other": "文件上传失败",
|
|
3442
|
+
"fileUpload.close": "关闭",
|
|
3443
|
+
"fileUpload.error.tooLarge.one": "所选文件大于 {{size}} 的大小限制。",
|
|
3444
|
+
"fileUpload.error.tooLarge.other": "所选文件大于 {{size}} 的大小限制。",
|
|
3445
|
+
"fileUpload.error.wrongType.one": "所选文件不是可接受的文件类型: {{fileTypes}} 。",
|
|
3446
|
+
"fileUpload.error.wrongType.other": "所选文件不接受文件类型: {{fileTypes}}.",
|
|
3447
|
+
"fileUpload.instructions.one": "将您的文件拖放到此处或在桌面上|浏览文件|。",
|
|
3448
|
+
"fileUpload.instructions.other": "将您的文件拖放到此处或|浏览文件|到您的桌面上。",
|
|
3449
|
+
"fileUpload.maximumSize": "最大{{size}}",
|
|
3450
|
+
"fileUpload.processing": "正在处理上传...",
|
|
3451
|
+
"fileUpload.title": "上传您的{{description}}",
|
|
3452
|
+
"filterPanel.clear": "清除筛选条件",
|
|
3453
|
+
"filterPanel.filterPlaceholder": "过滤选项",
|
|
3454
|
+
"filterPanel.title": "筛选条件",
|
|
3455
|
+
"focusedTask.close": "关闭",
|
|
3456
|
+
"growler.dismiss": "解雇",
|
|
3457
|
+
"insightCard.all": "所有",
|
|
3458
|
+
"insightCard.partnerCount": "{{count}} | 的| {{total}}",
|
|
3459
|
+
"insightCard.partners": "贸易伙伴",
|
|
3460
|
+
"insightTile.all": "所有",
|
|
3461
|
+
"insightTile.partnerCount": "{{count}} | 的| {{total}}",
|
|
3462
|
+
"insightTile.partners": "贸易伙伴",
|
|
3463
|
+
"label.errors.dateConstraint.max": "请输入{{context.maxExceeded}}或之前的日期。",
|
|
3464
|
+
"label.errors.dateConstraint.min": "请输入{{context.minExceeded}}或之后的日期。",
|
|
3465
|
+
"label.errors.dateFormat": "请以{{context}}格式输入日期。",
|
|
3466
|
+
"label.errors.dateRangeOrder": "结束日期不能早于开始日期。",
|
|
3467
|
+
"label.errors.dateValidity": "请输入有效的日期。",
|
|
3468
|
+
"label.errors.max": "请输入不大于{{context}}值。",
|
|
3469
|
+
"label.errors.maxLength": "请输入不超过{{context}}个字符。",
|
|
3470
|
+
"label.errors.min": "请输入不小于{{context}}值。",
|
|
3471
|
+
"label.errors.minLength": "请输入至少{{context}}个字符。",
|
|
3472
|
+
"label.errors.required": "此字段是必填字段。",
|
|
3473
|
+
"label.preventativeErrors.alpha": "此字段仅接受字母值。",
|
|
3474
|
+
"label.preventativeErrors.maxLength": "此字段接受最大字符数。",
|
|
3475
|
+
"label.preventativeErrors.nonNumeric": "此字段仅接受非数字值。",
|
|
3476
|
+
"label.preventativeErrors.numeric": "此字段仅接受数值(零或更大)。",
|
|
3477
|
+
"label.preventativeErrors.positiveOrNegativeNumber": "此字段仅接受数值。",
|
|
3478
|
+
"label.stronglySuggested": "强烈建议使用此字段。",
|
|
3479
|
+
"listActionBar.clearSelected": "清除选定",
|
|
3480
|
+
"listActionBar.itemsSelected": "已选商品",
|
|
3481
|
+
"listToolbar.advancedSearchToggle": "高级搜索",
|
|
3482
|
+
"modal.close": "关闭模式",
|
|
3483
|
+
"modal.defaultButtonLabel": "好的",
|
|
3484
|
+
"modal.defaultTitle.general": "行动",
|
|
3485
|
+
"modal.defaultTitle.info": "信息",
|
|
3486
|
+
"modal.defaultTitle.serious-warning": "提醒",
|
|
3487
|
+
"modal.defaultTitle.success": "成功",
|
|
3488
|
+
"modal.defaultTitle.warning": "提醒",
|
|
3489
|
+
"pagination.nextPage": "下一页",
|
|
3490
|
+
"pagination.of": "的",
|
|
3491
|
+
"pagination.ofMany": "许多",
|
|
3492
|
+
"pagination.ofPageCount": "共{{pageCount}}",
|
|
3493
|
+
"pagination.page": "页",
|
|
3494
|
+
"pagination.perPage": "每页",
|
|
3495
|
+
"pagination.prevPage": "上一页",
|
|
3496
|
+
"pagination.view": "查看",
|
|
3497
|
+
"pagination.viewing": "观看",
|
|
3498
|
+
"progressBar.closeButtonTitle": "关闭进度条",
|
|
3499
|
+
"searchResultsBar.clear": "明确",
|
|
3500
|
+
"searchResultsBar.clearResults": "清晰的结果",
|
|
3501
|
+
"searchResultsBar.count": "{{count}}个,共{{total}}个",
|
|
3502
|
+
"searchResultsBar.matchingResults": "匹配结果",
|
|
3503
|
+
"searchResultsBar.noAdvancedSearchSelections": "没有高级搜索选择",
|
|
3504
|
+
"searchResultsBar.results": "结果:",
|
|
3505
|
+
"select.defaultPlaceholder": "选择一个…",
|
|
3506
|
+
"select.searchPlaceholder": "搜索...",
|
|
3507
|
+
"slackLink.label": "聊天",
|
|
3508
|
+
"slideInPanel.close": "关闭",
|
|
3509
|
+
"slideInPanel.defaultTitle": "滑入面板",
|
|
3510
|
+
"spinner.defaultAltText": "加载中…",
|
|
3511
|
+
"taskQueue.clearCompleted": "清除完毕",
|
|
3512
|
+
"taskQueue.newTask": "您的队列中有一项新任务。",
|
|
3513
|
+
"taskQueue.noTasks": "您的队列中目前没有任务。",
|
|
3514
|
+
"timeInput.customTime": "自定义时间"
|
|
3515
|
+
}, mn = {
|
|
3516
|
+
"addToList.disabledDragTooltip": "使用過濾器時,拖放功能將被停用",
|
|
3517
|
+
"addToList.moveAllItemsToCol": "全部移動到“ {{columnName}} ”",
|
|
3518
|
+
"addToList.noDataZeroStateColumnTitle": "此列為空",
|
|
3519
|
+
"addToList.noDataZeroStateOffColumnSubheading": "從{{columnName}}中刪除選項",
|
|
3520
|
+
"addToList.noDataZeroStateOnColumnSubheading": "從{{columnName}}移動選項",
|
|
3521
|
+
"addToList.offColumnHeader": "列外",
|
|
3522
|
+
"addToList.onColumnHeader": "在柱上",
|
|
3523
|
+
"advancedSearch.clear": "清除字段",
|
|
3524
|
+
"advancedSearch.search": "搜尋",
|
|
3525
|
+
"button.spinningTitle": "載入中…",
|
|
3526
|
+
"columnChooser.removeButton": "刪除{{elementName}}",
|
|
3527
|
+
"columnManager.cancelButton": "取消",
|
|
3528
|
+
"columnManager.filterText": "尋找列",
|
|
3529
|
+
"columnManager.offListHeader": "隱藏列",
|
|
3530
|
+
"columnManager.onListHeader": "可見列",
|
|
3531
|
+
"columnManager.saveButton": "儲存",
|
|
3532
|
+
"columnManager.title": "管理表列",
|
|
3533
|
+
"contentRow.collapse": "坍塌",
|
|
3534
|
+
"contentRow.expand": "擴張",
|
|
3535
|
+
"datepicker.calendar.nextMonth": "查看下個月",
|
|
3536
|
+
"datepicker.calendar.prevMonth": "看看上個月",
|
|
3537
|
+
"datepicker.preset.after": "後",
|
|
3538
|
+
"datepicker.preset.before": "前",
|
|
3539
|
+
"datepicker.preset.custom": "習慣",
|
|
3540
|
+
"datepicker.preset.ninetyDays": "過去 90 天",
|
|
3541
|
+
"datepicker.preset.oneYear": "去年",
|
|
3542
|
+
"datepicker.preset.sevenDays": "過去 7 天",
|
|
3543
|
+
"datepicker.preset.sixtyDays": "過去 60 天",
|
|
3544
|
+
"datepicker.preset.thirtyDays": "最近30天",
|
|
3545
|
+
"datepicker.preset.today": "今天",
|
|
3546
|
+
"datepicker.presetsLabel": "範圍",
|
|
3547
|
+
"fileUpload.acceptedTypes.one": "{{fileTypes}}格式已接受",
|
|
3548
|
+
"fileUpload.acceptedTypes.other": "接受{{fileTypes}}個格式",
|
|
3549
|
+
"fileUpload.cancelled.one": "文件上傳失敗",
|
|
3550
|
+
"fileUpload.cancelled.other": "文件上傳失敗",
|
|
3551
|
+
"fileUpload.close": "關閉",
|
|
3552
|
+
"fileUpload.error.tooLarge.one": "選取的檔案大於 {{size}} 的大小限制。",
|
|
3553
|
+
"fileUpload.error.tooLarge.other": "選取的檔案大於 {{size}} 的大小限制。",
|
|
3554
|
+
"fileUpload.error.wrongType.one": "所選檔案不是可接受的檔案類型: {{fileTypes}} 。",
|
|
3555
|
+
"fileUpload.error.wrongType.other": "不接受選取的檔案類型: {{fileTypes}}.",
|
|
3556
|
+
"fileUpload.instructions.one": "將您的文件拖放到此處或在桌面上|瀏覽文件|。",
|
|
3557
|
+
"fileUpload.instructions.other": "將您的文件拖曳到此處或|瀏覽文件|到您的桌面上。",
|
|
3558
|
+
"fileUpload.maximumSize": "最大{{size}}",
|
|
3559
|
+
"fileUpload.processing": "正在處理上傳...",
|
|
3560
|
+
"fileUpload.title": "上傳您的{{description}}",
|
|
3561
|
+
"filterPanel.clear": "清除過濾器",
|
|
3562
|
+
"filterPanel.filterPlaceholder": "過濾選項",
|
|
3563
|
+
"filterPanel.title": "過濾器",
|
|
3564
|
+
"focusedTask.close": "關閉",
|
|
3565
|
+
"growler.dismiss": "解僱",
|
|
3566
|
+
"insightCard.all": "所有",
|
|
3567
|
+
"insightCard.partnerCount": "{{count}} | 的| {{total}}",
|
|
3568
|
+
"insightCard.partners": "貿易夥伴",
|
|
3569
|
+
"insightTile.all": "所有",
|
|
3570
|
+
"insightTile.partnerCount": "{{count}} | 的| {{total}}",
|
|
3571
|
+
"insightTile.partners": "貿易夥伴",
|
|
3572
|
+
"label.errors.dateConstraint.max": "請輸入{{context.maxExceeded}}或之前的日期。",
|
|
3573
|
+
"label.errors.dateConstraint.min": "請輸入{{context.minExceeded}}或之後的日期。",
|
|
3574
|
+
"label.errors.dateFormat": "請以{{context}}格式輸入日期。",
|
|
3575
|
+
"label.errors.dateRangeOrder": "結束日期不能早於開始日期。",
|
|
3576
|
+
"label.errors.dateValidity": "請輸入有效的日期。",
|
|
3577
|
+
"label.errors.max": "請輸入不大於{{context}}值。",
|
|
3578
|
+
"label.errors.maxLength": "請輸入不超過{{context}}個字元。",
|
|
3579
|
+
"label.errors.min": "請輸入不小於{{context}}值。",
|
|
3580
|
+
"label.errors.minLength": "請輸入至少{{context}}個字元。",
|
|
3581
|
+
"label.errors.required": "這是必填欄位。",
|
|
3582
|
+
"label.preventativeErrors.alpha": "此欄位僅接受字母值。",
|
|
3583
|
+
"label.preventativeErrors.maxLength": "此欄位接受最大字元數。",
|
|
3584
|
+
"label.preventativeErrors.nonNumeric": "此欄位僅接受非數字值。",
|
|
3585
|
+
"label.preventativeErrors.numeric": "此欄位僅接受數值(零或更大)。",
|
|
3586
|
+
"label.preventativeErrors.positiveOrNegativeNumber": "此欄位僅接受數值。",
|
|
3587
|
+
"label.stronglySuggested": "強烈建議使用此欄位。",
|
|
3588
|
+
"listActionBar.clearSelected": "清除選定",
|
|
3589
|
+
"listActionBar.itemsSelected": "已選商品",
|
|
3590
|
+
"listToolbar.advancedSearchToggle": "高級搜尋",
|
|
3591
|
+
"modal.close": "關閉模式",
|
|
3592
|
+
"modal.defaultButtonLabel": "好的",
|
|
3593
|
+
"modal.defaultTitle.general": "行動",
|
|
3594
|
+
"modal.defaultTitle.info": "信息",
|
|
3595
|
+
"modal.defaultTitle.serious-warning": "警告",
|
|
3596
|
+
"modal.defaultTitle.success": "成功",
|
|
3597
|
+
"modal.defaultTitle.warning": "警告",
|
|
3598
|
+
"pagination.nextPage": "下一頁",
|
|
3599
|
+
"pagination.of": "的",
|
|
3600
|
+
"pagination.ofMany": "許多",
|
|
3601
|
+
"pagination.ofPageCount": "共{{pageCount}}",
|
|
3602
|
+
"pagination.page": "頁",
|
|
3603
|
+
"pagination.perPage": "每頁",
|
|
3604
|
+
"pagination.prevPage": "上一頁",
|
|
3605
|
+
"pagination.view": "檢視",
|
|
3606
|
+
"pagination.viewing": "檢視",
|
|
3607
|
+
"progressBar.closeButtonTitle": "關閉進度條",
|
|
3608
|
+
"searchResultsBar.clear": "明確",
|
|
3609
|
+
"searchResultsBar.clearResults": "清晰的結果",
|
|
3610
|
+
"searchResultsBar.count": "{{count}} 個,共 {{total}} 個",
|
|
3611
|
+
"searchResultsBar.matchingResults": "匹配結果",
|
|
3612
|
+
"searchResultsBar.noAdvancedSearchSelections": "沒有高級搜尋選擇",
|
|
3613
|
+
"searchResultsBar.results": "結果:",
|
|
3614
|
+
"select.defaultPlaceholder": "選擇一個…",
|
|
3615
|
+
"select.searchPlaceholder": "搜尋...",
|
|
3616
|
+
"slackLink.label": "聊",
|
|
3617
|
+
"slideInPanel.close": "關閉",
|
|
3618
|
+
"slideInPanel.defaultTitle": "滑入面板",
|
|
3619
|
+
"spinner.defaultAltText": "載入中…",
|
|
3620
|
+
"taskQueue.clearCompleted": "完成清除",
|
|
3621
|
+
"taskQueue.newTask": "您的隊列中有一項新任務。",
|
|
3622
|
+
"taskQueue.noTasks": "目前沒有待處理任務。",
|
|
3623
|
+
"timeInput.customTime": "自訂時間"
|
|
3624
|
+
}, ee = H.createInstance({
|
|
3625
|
+
defaultNS: "woodland",
|
|
3626
|
+
ns: ["woodland"],
|
|
3627
|
+
fallbackLng: "en-US",
|
|
3628
|
+
load: "currentOnly",
|
|
3629
|
+
debug: !1,
|
|
3630
|
+
keySeparator: !1,
|
|
3631
|
+
resources: {
|
|
3632
|
+
"en-US": { woodland: un },
|
|
3633
|
+
"de-DE": { woodland: ln },
|
|
3634
|
+
"es-ES": { woodland: cn },
|
|
3635
|
+
"fr-CA": { woodland: dn },
|
|
3636
|
+
"fr-FR": { woodland: fn },
|
|
3637
|
+
"it-IT": { woodland: pn },
|
|
3638
|
+
"nl-NL": { woodland: gn },
|
|
3639
|
+
"zh-CN": { woodland: hn },
|
|
3640
|
+
"zh-TW": { woodland: mn }
|
|
3641
|
+
},
|
|
3642
|
+
interpolation: {
|
|
3643
|
+
escapeValue: !1
|
|
3644
|
+
}
|
|
3645
|
+
});
|
|
3646
|
+
ee.init();
|
|
3647
|
+
function bn(n) {
|
|
3648
|
+
return St("woodland", {
|
|
3649
|
+
...n,
|
|
3650
|
+
i18n: ee
|
|
3651
|
+
});
|
|
3652
|
+
}
|
|
3653
|
+
function Sn({
|
|
3654
|
+
detectorConfig: n,
|
|
3655
|
+
translationPath: t,
|
|
3656
|
+
customDetectors: a,
|
|
3657
|
+
...e
|
|
3658
|
+
}) {
|
|
3659
|
+
const r = new Rt(), i = {
|
|
3660
|
+
name: "hashRouterQuerystringDetector",
|
|
3661
|
+
lookup: (c) => {
|
|
3662
|
+
try {
|
|
3663
|
+
const d = c && c.lookupQuerystring || "lang", g = new RegExp(`[?&]${d}(=([^&#]*)|&|#|$)`).exec(window.location.href);
|
|
3664
|
+
if (g && g[2]) {
|
|
3665
|
+
const h = decodeURIComponent(g[2].replace(/\+/g, " "));
|
|
3666
|
+
if (h)
|
|
3667
|
+
return h;
|
|
3668
|
+
}
|
|
3669
|
+
} catch (d) {
|
|
3670
|
+
console.error(d);
|
|
3671
|
+
}
|
|
3672
|
+
}
|
|
3673
|
+
};
|
|
3674
|
+
r.addDetector(i), Array.isArray(a) && a.forEach((c) => {
|
|
3675
|
+
r.addDetector(c);
|
|
3676
|
+
});
|
|
3677
|
+
const l = {
|
|
3678
|
+
fallbackLng: "en-US",
|
|
3679
|
+
// set to false for production
|
|
3680
|
+
debug: !0,
|
|
3681
|
+
// used to traverse nesting in tree-like translation structures
|
|
3682
|
+
keySeparator: ".",
|
|
3683
|
+
load: "currentOnly",
|
|
3684
|
+
backend: {
|
|
3685
|
+
/*
|
|
3686
|
+
* this is the path to your translation files
|
|
3687
|
+
* this can also take an absolute path as well as the current relative path
|
|
3688
|
+
* relative path currently points to public/locales
|
|
3689
|
+
*/
|
|
3690
|
+
loadPath: t || "/locales/{{lng}}/{{ns}}.json"
|
|
3691
|
+
},
|
|
3692
|
+
interpolation: {
|
|
3693
|
+
// React takes care of interpolation for us
|
|
3694
|
+
escapeValue: !1
|
|
3695
|
+
},
|
|
3696
|
+
detection: n || {
|
|
3697
|
+
// order and from where user language should be detected
|
|
3698
|
+
order: ["querystring", "hashRouterQuerystringDetector", "cookie", "localStorage"],
|
|
3699
|
+
// keys or params to lookup language from
|
|
3700
|
+
lookupQuerystring: "lang",
|
|
3701
|
+
lookupCookie: "lang",
|
|
3702
|
+
lookupSessionStorage: "lang",
|
|
3703
|
+
lookupLocalStorage: "lang",
|
|
3704
|
+
// cache user language on
|
|
3705
|
+
caches: ["localStorage", "cookie"],
|
|
3706
|
+
// languages to not persist (cookie, localStorage)
|
|
3707
|
+
excludeCacheFor: ["cimode"],
|
|
3708
|
+
// optional set cookie options, reference:[MDN Set-Cookie docs](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie)
|
|
3709
|
+
cookieOptions: { path: "/", sameSite: "strict" }
|
|
3710
|
+
},
|
|
3711
|
+
...e
|
|
3712
|
+
}, u = H.use(Ot).use(r).use(ga).init(l);
|
|
3713
|
+
return H.on("initialized", () => {
|
|
3714
|
+
ee.changeLanguage(H.language);
|
|
3715
|
+
}), H.on("loaded", () => {
|
|
3716
|
+
ee.changeLanguage(H.language);
|
|
3717
|
+
}), H.on("languageChanged", (c) => {
|
|
3718
|
+
ee.changeLanguage(c);
|
|
3719
|
+
}), u;
|
|
3720
|
+
}
|
|
3721
|
+
const wn = xa;
|
|
3722
|
+
function xn(n = "translation", t) {
|
|
3723
|
+
return St(n, t);
|
|
3724
|
+
}
|
|
3725
|
+
export {
|
|
3726
|
+
wn as S,
|
|
3727
|
+
ee as a,
|
|
3728
|
+
bn as b,
|
|
3729
|
+
yn as c,
|
|
3730
|
+
Gt as g,
|
|
3731
|
+
H as i,
|
|
3732
|
+
Sn as l,
|
|
3733
|
+
xn as u
|
|
3734
|
+
};
|