@spscommerce/i18n 8.8.3 → 8.8.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/index.es.js CHANGED
@@ -15,32 +15,32 @@ function Pt(a, t) {
15
15
  }
16
16
  return Object.freeze(Object.defineProperty(a, Symbol.toStringTag, { value: "Module" }));
17
17
  }
18
- function _(a) {
18
+ function I(a) {
19
19
  "@babel/helpers - typeof";
20
- return _ = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
20
+ return I = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
21
21
  return typeof t;
22
22
  } : function(t) {
23
23
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
24
- }, _(a);
24
+ }, I(a);
25
25
  }
26
26
  function Lt(a, t) {
27
- if (_(a) != "object" || !a)
27
+ if (I(a) != "object" || !a)
28
28
  return a;
29
29
  var n = a[Symbol.toPrimitive];
30
30
  if (n !== void 0) {
31
- var e = n.call(a, t || "default");
32
- if (_(e) != "object")
31
+ var e = n.call(a, t);
32
+ if (I(e) != "object")
33
33
  return e;
34
34
  throw new TypeError("@@toPrimitive must return a primitive value.");
35
35
  }
36
- return (t === "string" ? String : Number)(a);
36
+ return String(a);
37
37
  }
38
38
  function it(a) {
39
39
  var t = Lt(a, "string");
40
- return _(t) == "symbol" ? t : t + "";
40
+ return I(t) == "symbol" ? t : t + "";
41
41
  }
42
- function he(a, t, n) {
43
- return t = it(t), t in a ? Object.defineProperty(a, t, {
42
+ function ge(a, t, n) {
43
+ return (t = it(t)) in a ? Object.defineProperty(a, t, {
44
44
  value: n,
45
45
  enumerable: !0,
46
46
  configurable: !0,
@@ -53,7 +53,7 @@ function D(a) {
53
53
  typeof Object.getOwnPropertySymbols == "function" && e.push.apply(e, Object.getOwnPropertySymbols(n).filter(function(r) {
54
54
  return Object.getOwnPropertyDescriptor(n, r).enumerable;
55
55
  })), e.forEach(function(r) {
56
- he(a, r, n[r]);
56
+ ge(a, r, n[r]);
57
57
  });
58
58
  }
59
59
  return a;
@@ -79,20 +79,20 @@ function W(a) {
79
79
  return a;
80
80
  }
81
81
  function ee(a, t) {
82
- if (t && (_(t) === "object" || typeof t == "function"))
82
+ if (t && (I(t) == "object" || typeof t == "function"))
83
83
  return t;
84
84
  if (t !== void 0)
85
85
  throw new TypeError("Derived constructors may only return object or undefined");
86
86
  return W(a);
87
87
  }
88
88
  function G(a) {
89
- return G = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(n) {
90
- return n.__proto__ || Object.getPrototypeOf(n);
89
+ return G = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t) {
90
+ return t.__proto__ || Object.getPrototypeOf(t);
91
91
  }, G(a);
92
92
  }
93
93
  function Le(a, t) {
94
- return Le = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(e, r) {
95
- return e.__proto__ = r, e;
94
+ return Le = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(n, e) {
95
+ return n.__proto__ = e, n;
96
96
  }, Le(a, t);
97
97
  }
98
98
  function ve(a, t) {
@@ -179,7 +179,7 @@ var Et = {
179
179
  }, this.options));
180
180
  }
181
181
  }]), a;
182
- }(), V = new jt(), K = function() {
182
+ }(), V = new jt(), z = function() {
183
183
  function a() {
184
184
  H(this, a), this.observers = {};
185
185
  }
@@ -230,7 +230,7 @@ function Y() {
230
230
  });
231
231
  return n.resolve = a, n.reject = t, n;
232
232
  }
233
- function _e(a) {
233
+ function Ie(a) {
234
234
  return a == null ? "" : "" + a;
235
235
  }
236
236
  function Rt(a, t, n) {
@@ -256,7 +256,7 @@ function Ae(a, t, n) {
256
256
  k: e(i.shift())
257
257
  };
258
258
  }
259
- function Ie(a, t, n) {
259
+ function _e(a, t, n) {
260
260
  var e = Ae(a, t, Object), r = e.obj, i = e.k;
261
261
  r[i] = n;
262
262
  }
@@ -301,7 +301,7 @@ var me = typeof window < "u" && window.navigator && window.navigator.userAgent &
301
301
  ns: ["translation"],
302
302
  defaultNS: "translation"
303
303
  };
304
- return H(this, t), e = ee(this, G(t).call(this)), me && K.call(W(e)), e.data = n || {}, e.options = r, e.options.keySeparator === void 0 && (e.options.keySeparator = "."), e;
304
+ return H(this, t), e = ee(this, G(t).call(this)), me && z.call(W(e)), e.data = n || {}, e.options = r, e.options.keySeparator === void 0 && (e.options.keySeparator = "."), e;
305
305
  }
306
306
  return M(t, [{
307
307
  key: "addNamespaces",
@@ -328,7 +328,7 @@ var me = typeof window < "u" && window.navigator && window.navigator.userAgent &
328
328
  }, u = this.options.keySeparator;
329
329
  u === void 0 && (u = ".");
330
330
  var f = [e, r];
331
- i && (f = f.concat(u ? i.split(u) : i)), e.indexOf(".") > -1 && (f = e.split("."), o = r, r = f[1]), this.addNamespaces(r), Ie(this.data, f, o), s.silent || this.emit("added", e, r, i, o);
331
+ i && (f = f.concat(u ? i.split(u) : i)), e.indexOf(".") > -1 && (f = e.split("."), o = r, r = f[1]), this.addNamespaces(r), _e(this.data, f, o), s.silent || this.emit("added", e, r, i, o);
332
332
  }
333
333
  }, {
334
334
  key: "addResources",
@@ -350,7 +350,7 @@ var me = typeof window < "u" && window.navigator && window.navigator.userAgent &
350
350
  }, f = [e, r];
351
351
  e.indexOf(".") > -1 && (f = e.split("."), o = i, i = r, r = f[1]), this.addNamespaces(r);
352
352
  var c = fe(this.data, f) || {};
353
- o ? ot(c, i, s) : c = D({}, c, i), Ie(this.data, f, c), u.silent || this.emit("added", e, r, i);
353
+ o ? ot(c, i, s) : c = D({}, c, i), _e(this.data, f, c), u.silent || this.emit("added", e, r, i);
354
354
  }
355
355
  }, {
356
356
  key: "removeResourceBundle",
@@ -378,7 +378,7 @@ var me = typeof window < "u" && window.navigator && window.navigator.userAgent &
378
378
  return this.data;
379
379
  }
380
380
  }]), t;
381
- }(K), st = {
381
+ }(z), st = {
382
382
  processors: {},
383
383
  addPostProcessor: function(t) {
384
384
  this.processors[t.name] = t;
@@ -393,7 +393,7 @@ var me = typeof window < "u" && window.navigator && window.navigator.userAgent &
393
393
  ve(t, a);
394
394
  function t(n) {
395
395
  var e, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
396
- return H(this, t), e = ee(this, G(t).call(this)), me && K.call(W(e)), Rt(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], n, W(e)), e.options = r, e.options.keySeparator === void 0 && (e.options.keySeparator = "."), e.logger = V.create("translator"), e;
396
+ return H(this, t), e = ee(this, G(t).call(this)), me && z.call(W(e)), Rt(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], n, W(e)), e.options = r, e.options.keySeparator === void 0 && (e.options.keySeparator = "."), e.logger = V.create("translator"), e;
397
397
  }
398
398
  return M(t, [{
399
399
  key: "changeLanguage",
@@ -433,7 +433,7 @@ var me = typeof window < "u" && window.navigator && window.navigator.userAgent &
433
433
  key: "translate",
434
434
  value: function(e, r, i) {
435
435
  var o = this;
436
- if (_(r) !== "object" && this.options.overloadTranslationOptionHandler && (r = this.options.overloadTranslationOptionHandler(arguments)), r || (r = {}), e == null)
436
+ if (I(r) !== "object" && this.options.overloadTranslationOptionHandler && (r = this.options.overloadTranslationOptionHandler(arguments)), r || (r = {}), e == null)
437
437
  return "";
438
438
  Array.isArray(e) || (e = [String(e)]);
439
439
  var s = r.keySeparator !== void 0 ? r.keySeparator : this.options.keySeparator, u = this.extractFromKey(e[e.length - 1], r), f = u.key, c = u.namespaces, p = c[c.length - 1], v = r.lng || this.language, m = r.appendNamespaceToCIMode || this.options.appendNamespaceToCIMode;
@@ -444,53 +444,53 @@ var me = typeof window < "u" && window.navigator && window.navigator.userAgent &
444
444
  }
445
445
  return f;
446
446
  }
447
- var y = this.resolve(e, r), h = y && y.res, b = y && y.usedKey || f, O = y && y.exactUsedKey || f, S = Object.prototype.toString.apply(h), A = ["[object Number]", "[object Function]", "[object RegExp]"], k = r.joinArrays !== void 0 ? r.joinArrays : this.options.joinArrays, w = !this.i18nFormat || this.i18nFormat.handleAsObject, j = typeof h != "string" && typeof h != "boolean" && typeof h != "number";
448
- if (w && h && j && A.indexOf(S) < 0 && !(typeof k == "string" && S === "[object Array]")) {
447
+ var y = this.resolve(e, r), g = y && y.res, b = y && y.usedKey || f, S = y && y.exactUsedKey || f, O = Object.prototype.toString.apply(g), A = ["[object Number]", "[object Function]", "[object RegExp]"], k = r.joinArrays !== void 0 ? r.joinArrays : this.options.joinArrays, w = !this.i18nFormat || this.i18nFormat.handleAsObject, j = typeof g != "string" && typeof g != "boolean" && typeof g != "number";
448
+ if (w && g && j && A.indexOf(O) < 0 && !(typeof k == "string" && O === "[object Array]")) {
449
449
  if (!r.returnObjects && !this.options.returnObjects)
450
- return this.logger.warn("accessing an object - but returnObjects options is not enabled!"), this.options.returnedObjectHandler ? this.options.returnedObjectHandler(b, h, r) : "key '".concat(f, " (").concat(this.language, ")' returned an object instead of string.");
450
+ return this.logger.warn("accessing an object - but returnObjects options is not enabled!"), this.options.returnedObjectHandler ? this.options.returnedObjectHandler(b, g, r) : "key '".concat(f, " (").concat(this.language, ")' returned an object instead of string.");
451
451
  if (s) {
452
- var R = S === "[object Array]", C = R ? [] : {}, L = R ? O : b;
453
- for (var E in h)
454
- if (Object.prototype.hasOwnProperty.call(h, E)) {
455
- var z = "".concat(L).concat(s).concat(E);
456
- C[E] = this.translate(z, D({}, r, {
452
+ var R = O === "[object Array]", C = R ? [] : {}, L = R ? S : b;
453
+ for (var E in g)
454
+ if (Object.prototype.hasOwnProperty.call(g, E)) {
455
+ var K = "".concat(L).concat(s).concat(E);
456
+ C[E] = this.translate(K, D({}, r, {
457
457
  joinArrays: !1,
458
458
  ns: c
459
- })), C[E] === z && (C[E] = h[E]);
459
+ })), C[E] === K && (C[E] = g[E]);
460
460
  }
461
- h = C;
461
+ g = C;
462
462
  }
463
- } else if (w && typeof k == "string" && S === "[object Array]")
464
- h = h.join(k), h && (h = this.extendTranslation(h, e, r, i));
463
+ } else if (w && typeof k == "string" && O === "[object Array]")
464
+ g = g.join(k), g && (g = this.extendTranslation(g, e, r, i));
465
465
  else {
466
- var U = !1, l = !1, g = r.count !== void 0 && typeof r.count != "string", x = t.hasDefaultValue(r), T = g ? this.pluralResolver.getSuffix(v, r.count) : "", N = r["defaultValue".concat(T)] || r.defaultValue;
467
- !this.isValidLookup(h) && x && (U = !0, h = N), this.isValidLookup(h) || (l = !0, h = f);
468
- var P = x && N !== h && this.options.updateMissing;
466
+ var U = !1, l = !1, h = r.count !== void 0 && typeof r.count != "string", x = t.hasDefaultValue(r), T = h ? this.pluralResolver.getSuffix(v, r.count) : "", N = r["defaultValue".concat(T)] || r.defaultValue;
467
+ !this.isValidLookup(g) && x && (U = !0, g = N), this.isValidLookup(g) || (l = !0, g = f);
468
+ var P = x && N !== g && this.options.updateMissing;
469
469
  if (l || U || P) {
470
- if (this.logger.log(P ? "updateKey" : "missingKey", v, p, f, P ? N : h), s) {
470
+ if (this.logger.log(P ? "updateKey" : "missingKey", v, p, f, P ? N : g), s) {
471
471
  var q = this.resolve(f, D({}, r, {
472
472
  keySeparator: !1
473
473
  }));
474
474
  q && q.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.");
475
475
  }
476
- var I = [], B = this.languageUtils.getFallbackCodes(this.options.fallbackLng, r.lng || this.language);
476
+ var _ = [], B = this.languageUtils.getFallbackCodes(this.options.fallbackLng, r.lng || this.language);
477
477
  if (this.options.saveMissingTo === "fallback" && B && B[0])
478
478
  for (var X = 0; X < B.length; X++)
479
- I.push(B[X]);
479
+ _.push(B[X]);
480
480
  else
481
- this.options.saveMissingTo === "all" ? I = this.languageUtils.toResolveHierarchy(r.lng || this.language) : I.push(r.lng || this.language);
481
+ this.options.saveMissingTo === "all" ? _ = this.languageUtils.toResolveHierarchy(r.lng || this.language) : _.push(r.lng || this.language);
482
482
  var Te = function(J, be, Fe) {
483
- o.options.missingKeyHandler ? o.options.missingKeyHandler(J, p, be, P ? Fe : h, P, r) : o.backendConnector && o.backendConnector.saveMissing && o.backendConnector.saveMissing(J, p, be, P ? Fe : h, P, r), o.emit("missingKey", J, p, be, h);
483
+ o.options.missingKeyHandler ? o.options.missingKeyHandler(J, p, be, P ? Fe : g, P, r) : o.backendConnector && o.backendConnector.saveMissing && o.backendConnector.saveMissing(J, p, be, P ? Fe : g, P, r), o.emit("missingKey", J, p, be, g);
484
484
  };
485
- this.options.saveMissing && (this.options.saveMissingPlurals && g ? I.forEach(function(ye) {
485
+ this.options.saveMissing && (this.options.saveMissingPlurals && h ? _.forEach(function(ye) {
486
486
  o.pluralResolver.getSuffixes(ye).forEach(function(J) {
487
487
  Te([ye], f + J, r["defaultValue".concat(J)] || N);
488
488
  });
489
- }) : Te(I, f, N));
489
+ }) : Te(_, f, N));
490
490
  }
491
- h = this.extendTranslation(h, e, r, y, i), l && h === f && this.options.appendNamespaceToMissingKey && (h = "".concat(p, ":").concat(f)), l && this.options.parseMissingKeyHandler && (h = this.options.parseMissingKeyHandler(h));
491
+ g = this.extendTranslation(g, e, r, y, i), l && g === f && this.options.appendNamespaceToMissingKey && (g = "".concat(p, ":").concat(f)), l && this.options.parseMissingKeyHandler && (g = this.options.parseMissingKeyHandler(g));
492
492
  }
493
- return h;
493
+ return g;
494
494
  }
495
495
  }, {
496
496
  key: "extendTranslation",
@@ -515,13 +515,13 @@ var me = typeof window < "u" && window.navigator && window.navigator.userAgent &
515
515
  c < d && (i.nest = !1);
516
516
  }
517
517
  i.nest !== !1 && (e = this.interpolator.nest(e, function() {
518
- for (var b = arguments.length, O = new Array(b), S = 0; S < b; S++)
519
- O[S] = arguments[S];
520
- return s && s[0] === O[0] && !i.context ? (u.logger.warn("It seems you are nesting recursively key: ".concat(O[0], " in key: ").concat(r[0])), null) : u.translate.apply(u, O.concat([r]));
518
+ for (var b = arguments.length, S = new Array(b), O = 0; O < b; O++)
519
+ S[O] = arguments[O];
520
+ return s && s[0] === S[0] && !i.context ? (u.logger.warn("It seems you are nesting recursively key: ".concat(S[0], " in key: ").concat(r[0])), null) : u.translate.apply(u, S.concat([r]));
521
521
  }, i)), i.interpolation && this.interpolator.reset();
522
522
  }
523
- var y = i.postProcess || this.options.postProcess, h = typeof y == "string" ? [y] : y;
524
- return e != null && h && h.length && i.applyPostProcessor !== !1 && (e = st.handle(h, e, r, this.options && this.options.postProcessPassResolved ? D({
523
+ var y = i.postProcess || this.options.postProcess, g = typeof y == "string" ? [y] : y;
524
+ return e != null && g && g.length && i.applyPostProcessor !== !1 && (e = st.handle(g, e, r, this.options && this.options.postProcessPassResolved ? D({
525
525
  i18nResolved: o
526
526
  }, i) : i, this)), e;
527
527
  }
@@ -535,20 +535,20 @@ var me = typeof window < "u" && window.navigator && window.navigator.userAgent &
535
535
  s = m;
536
536
  var d = v.namespaces;
537
537
  r.options.fallbackNS && (d = d.concat(r.options.fallbackNS));
538
- var y = i.count !== void 0 && typeof i.count != "string", h = i.context !== void 0 && typeof i.context == "string" && i.context !== "", b = i.lngs ? i.lngs : r.languageUtils.toResolveHierarchy(i.lng || r.language, i.fallbackLng);
539
- d.forEach(function(O) {
540
- r.isValidLookup(o) || (c = O, !Be["".concat(b[0], "-").concat(O)] && r.utils && r.utils.hasLoadedNamespace && !r.utils.hasLoadedNamespace(c) && (Be["".concat(b[0], "-").concat(O)] = !0, r.logger.warn('key "'.concat(s, '" for languages "').concat(b.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!!!")), b.forEach(function(S) {
538
+ var y = i.count !== void 0 && typeof i.count != "string", g = i.context !== void 0 && typeof i.context == "string" && i.context !== "", b = i.lngs ? i.lngs : r.languageUtils.toResolveHierarchy(i.lng || r.language, i.fallbackLng);
539
+ d.forEach(function(S) {
540
+ r.isValidLookup(o) || (c = S, !Be["".concat(b[0], "-").concat(S)] && r.utils && r.utils.hasLoadedNamespace && !r.utils.hasLoadedNamespace(c) && (Be["".concat(b[0], "-").concat(S)] = !0, r.logger.warn('key "'.concat(s, '" for languages "').concat(b.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!!!")), b.forEach(function(O) {
541
541
  if (!r.isValidLookup(o)) {
542
- f = S;
542
+ f = O;
543
543
  var A = m, k = [A];
544
544
  if (r.i18nFormat && r.i18nFormat.addLookupKeys)
545
- r.i18nFormat.addLookupKeys(k, m, S, O, i);
545
+ r.i18nFormat.addLookupKeys(k, m, O, S, i);
546
546
  else {
547
547
  var w;
548
- y && (w = r.pluralResolver.getSuffix(S, i.count)), y && h && k.push(A + w), h && k.push(A += "".concat(r.options.contextSeparator).concat(i.context)), y && k.push(A += w);
548
+ y && (w = r.pluralResolver.getSuffix(O, i.count)), y && g && k.push(A + w), g && k.push(A += "".concat(r.options.contextSeparator).concat(i.context)), y && k.push(A += w);
549
549
  }
550
550
  for (var j; j = k.pop(); )
551
- r.isValidLookup(o) || (u = j, o = r.getResource(S, O, j, i));
551
+ r.isValidLookup(o) || (u = j, o = r.getResource(O, S, j, i));
552
552
  }
553
553
  }));
554
554
  });
@@ -582,7 +582,7 @@ var me = typeof window < "u" && window.navigator && window.navigator.userAgent &
582
582
  return !1;
583
583
  }
584
584
  }]), t;
585
- }(K);
585
+ }(z);
586
586
  function we(a) {
587
587
  return a.charAt(0).toUpperCase() + a.slice(1);
588
588
  }
@@ -766,7 +766,7 @@ var Ft = function() {
766
766
  lngs: ["he", "iw"],
767
767
  nr: [1, 2, 20, 21],
768
768
  fc: 22
769
- }], _t = {
769
+ }], It = {
770
770
  1: function(t) {
771
771
  return +(t > 1);
772
772
  },
@@ -834,13 +834,13 @@ var Ft = function() {
834
834
  return t == 1 ? 0 : t == 2 ? 1 : (t < 0 || t > 10) && t % 10 == 0 ? 2 : 3;
835
835
  }
836
836
  };
837
- function It() {
837
+ function _t() {
838
838
  var a = {};
839
839
  return Dt.forEach(function(t) {
840
840
  t.lngs.forEach(function(n) {
841
841
  a[n] = {
842
842
  numbers: t.nr,
843
- plurals: _t[t.fc]
843
+ plurals: It[t.fc]
844
844
  };
845
845
  });
846
846
  }), a;
@@ -848,7 +848,7 @@ function It() {
848
848
  var Ut = function() {
849
849
  function a(t) {
850
850
  var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
851
- H(this, a), this.languageUtils = t, this.options = n, this.logger = V.create("pluralResolver"), this.rules = It();
851
+ H(this, a), this.languageUtils = t, this.options = n, this.logger = V.create("pluralResolver"), this.rules = _t();
852
852
  }
853
853
  return M(a, [{
854
854
  key: "addRule",
@@ -932,15 +932,15 @@ var Ut = function() {
932
932
  key: "interpolate",
933
933
  value: function(n, e, r, i) {
934
934
  var o = this, s, u, f, c = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {};
935
- function p(h) {
936
- return h.replace(/\$/g, "$$$$");
935
+ function p(g) {
936
+ return g.replace(/\$/g, "$$$$");
937
937
  }
938
938
  var v = function(b) {
939
939
  if (b.indexOf(o.formatSeparator) < 0) {
940
- var O = Ue(e, c, b);
941
- return o.alwaysFormat ? o.format(O, void 0, r) : O;
940
+ var S = Ue(e, c, b);
941
+ return o.alwaysFormat ? o.format(S, void 0, r) : S;
942
942
  }
943
- var S = b.split(o.formatSeparator), A = S.shift().trim(), k = S.join(o.formatSeparator).trim();
943
+ var O = b.split(o.formatSeparator), A = O.shift().trim(), k = O.join(o.formatSeparator).trim();
944
944
  return o.format(Ue(e, c, A), k, r, i);
945
945
  };
946
946
  this.resetRegExp();
@@ -955,8 +955,8 @@ var Ut = function() {
955
955
  return o.escapeValue ? p(o.escape(b)) : p(b);
956
956
  }
957
957
  }];
958
- return y.forEach(function(h) {
959
- for (f = 0; s = h.regex.exec(n); ) {
958
+ return y.forEach(function(g) {
959
+ for (f = 0; s = g.regex.exec(n); ) {
960
960
  if (u = v(s[1].trim()), u === void 0)
961
961
  if (typeof m == "function") {
962
962
  var b = m(n, s, i);
@@ -967,8 +967,8 @@ var Ut = function() {
967
967
  } else
968
968
  o.logger.warn("missed to pass in variable ".concat(s[1], " for interpolating ").concat(n)), u = "";
969
969
  else
970
- typeof u != "string" && !o.useRawValueToEscape && (u = _e(u));
971
- if (n = n.replace(s[0], h.safeValue(u)), h.regex.lastIndex = 0, f++, f >= o.maxReplaces)
970
+ typeof u != "string" && !o.useRawValueToEscape && (u = Ie(u));
971
+ if (n = n.replace(s[0], g.safeValue(u)), g.regex.lastIndex = 0, f++, f >= o.maxReplaces)
972
972
  break;
973
973
  }
974
974
  }), n;
@@ -982,12 +982,12 @@ var Ut = function() {
982
982
  var y = this.nestingOptionsSeparator;
983
983
  if (m.indexOf(y) < 0)
984
984
  return m;
985
- var h = m.split(new RegExp("".concat(y, "[ ]*{"))), b = "{".concat(h[1]);
986
- m = h[0], b = this.interpolate(b, u), b = b.replace(/'/g, '"');
985
+ var g = m.split(new RegExp("".concat(y, "[ ]*{"))), b = "{".concat(g[1]);
986
+ m = g[0], b = this.interpolate(b, u), b = b.replace(/'/g, '"');
987
987
  try {
988
988
  u = JSON.parse(b), d && (u = D({}, d, u));
989
- } catch (O) {
990
- return this.logger.warn("failed parsing options string in nesting for key ".concat(m), O), "".concat(m).concat(y).concat(b);
989
+ } catch (S) {
990
+ return this.logger.warn("failed parsing options string in nesting for key ".concat(m), S), "".concat(m).concat(y).concat(b);
991
991
  }
992
992
  return delete u.defaultValue, m;
993
993
  }
@@ -1001,7 +1001,7 @@ var Ut = function() {
1001
1001
  }
1002
1002
  if (s = e(f.call(this, o[1].trim(), u), u), s && o[0] === n && typeof s != "string")
1003
1003
  return s;
1004
- typeof s != "string" && (s = _e(s)), s || (this.logger.warn("missed to resolve ".concat(o[1], " for nesting ").concat(n)), s = ""), p && (s = c.reduce(function(m, d) {
1004
+ typeof s != "string" && (s = Ie(s)), s || (this.logger.warn("missed to resolve ".concat(o[1], " for nesting ").concat(n)), s = ""), p && (s = c.reduce(function(m, d) {
1005
1005
  return r.format(m, d, i.lng, i);
1006
1006
  }, s.trim())), n = n.replace(o[0], s), this.regexp.lastIndex = 0;
1007
1007
  }
@@ -1017,7 +1017,7 @@ var Mt = function(a) {
1017
1017
  ve(t, a);
1018
1018
  function t(n, e, r) {
1019
1019
  var i, o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
1020
- return H(this, t), i = ee(this, G(t).call(this)), me && K.call(W(i)), i.backend = n, i.store = e, i.services = r, i.languageUtils = r.languageUtils, i.options = o, i.logger = V.create("backendConnector"), i.state = {}, i.queue = [], i.backend && i.backend.init && i.backend.init(r, o.backend, o), i;
1020
+ return H(this, t), i = ee(this, G(t).call(this)), me && z.call(W(i)), i.backend = n, i.store = e, i.services = r, i.languageUtils = r.languageUtils, i.options = o, i.logger = V.create("backendConnector"), i.state = {}, i.queue = [], i.backend && i.backend.init && i.backend.init(r, o.backend, o), i;
1021
1021
  }
1022
1022
  return M(t, [{
1023
1023
  key: "queueLoad",
@@ -1118,7 +1118,7 @@ var Mt = function(a) {
1118
1118
  })), !(!e || !e[0]) && this.store.addResource(e[0], r, i, o));
1119
1119
  }
1120
1120
  }]), t;
1121
- }(K);
1121
+ }(z);
1122
1122
  function qt() {
1123
1123
  return {
1124
1124
  debug: !1,
@@ -1157,7 +1157,7 @@ function qt() {
1157
1157
  appendNamespaceToCIMode: !1,
1158
1158
  overloadTranslationOptionHandler: function(t) {
1159
1159
  var n = {};
1160
- if (_(t[1]) === "object" && (n = t[1]), typeof t[1] == "string" && (n.defaultValue = t[1]), typeof t[2] == "string" && (n.tDescription = t[2]), _(t[2]) === "object" || _(t[3]) === "object") {
1160
+ if (I(t[1]) === "object" && (n = t[1]), typeof t[1] == "string" && (n.defaultValue = t[1]), typeof t[2] == "string" && (n.tDescription = t[2]), I(t[2]) === "object" || I(t[3]) === "object") {
1161
1161
  var e = t[3] || t[2];
1162
1162
  Object.keys(e).forEach(function(r) {
1163
1163
  n[r] = e[r];
@@ -1191,7 +1191,7 @@ var Vt = function(a) {
1191
1191
  ve(t, a);
1192
1192
  function t() {
1193
1193
  var n, e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = arguments.length > 1 ? arguments[1] : void 0;
1194
- if (H(this, t), n = ee(this, G(t).call(this)), me && K.call(W(n)), n.options = Me(e), n.services = {}, n.logger = V, n.modules = {
1194
+ if (H(this, t), n = ee(this, G(t).call(this)), me && z.call(W(n)), n.options = Me(e), n.services = {}, n.logger = V, n.modules = {
1195
1195
  external: []
1196
1196
  }, r && !n.isInitialized && !e.isClone) {
1197
1197
  if (!n.options.initImmediate)
@@ -1222,13 +1222,13 @@ var Vt = function(a) {
1222
1222
  }), u.interpolator = new Bt(this.options), u.utils = {
1223
1223
  hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
1224
1224
  }, u.backendConnector = new Mt(o(this.modules.backend), u.resourceStore, u, this.options), u.backendConnector.on("*", function(d) {
1225
- for (var y = arguments.length, h = new Array(y > 1 ? y - 1 : 0), b = 1; b < y; b++)
1226
- h[b - 1] = arguments[b];
1227
- e.emit.apply(e, [d].concat(h));
1225
+ for (var y = arguments.length, g = new Array(y > 1 ? y - 1 : 0), b = 1; b < y; b++)
1226
+ g[b - 1] = arguments[b];
1227
+ e.emit.apply(e, [d].concat(g));
1228
1228
  }), this.modules.languageDetector && (u.languageDetector = o(this.modules.languageDetector), u.languageDetector.init(u, this.options.detection, this.options)), this.modules.i18nFormat && (u.i18nFormat = o(this.modules.i18nFormat), u.i18nFormat.init && u.i18nFormat.init(this)), this.translator = new He(this.services, this.options), this.translator.on("*", function(d) {
1229
- for (var y = arguments.length, h = new Array(y > 1 ? y - 1 : 0), b = 1; b < y; b++)
1230
- h[b - 1] = arguments[b];
1231
- e.emit.apply(e, [d].concat(h));
1229
+ for (var y = arguments.length, g = new Array(y > 1 ? y - 1 : 0), b = 1; b < y; b++)
1230
+ g[b - 1] = arguments[b];
1231
+ e.emit.apply(e, [d].concat(g));
1232
1232
  }), this.modules.external.forEach(function(d) {
1233
1233
  d.init && d.init(e);
1234
1234
  });
@@ -1253,8 +1253,8 @@ var Vt = function(a) {
1253
1253
  };
1254
1254
  });
1255
1255
  var v = Y(), m = function() {
1256
- var y = function(b, O) {
1257
- 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), v.resolve(O), i(b, O);
1256
+ var y = function(b, S) {
1257
+ 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), v.resolve(S), i(b, S);
1258
1258
  };
1259
1259
  if (e.languages && e.options.compatibilityAPI !== "v1" && !e.isInitialized)
1260
1260
  return y(null, e.t.bind(e));
@@ -1334,7 +1334,7 @@ var Vt = function(a) {
1334
1334
  value: function(e, r) {
1335
1335
  var i = this, o = function s(u, f) {
1336
1336
  var c;
1337
- if (_(f) !== "object") {
1337
+ if (I(f) !== "object") {
1338
1338
  for (var p = arguments.length, v = new Array(p > 2 ? p - 2 : 0), m = 2; m < p; m++)
1339
1339
  v[m - 2] = arguments[m];
1340
1340
  c = i.options.overloadTranslationOptionHandler([u, f].concat(v));
@@ -1438,13 +1438,13 @@ var Vt = function(a) {
1438
1438
  }, s;
1439
1439
  }
1440
1440
  }]), t;
1441
- }(K), $t = new Vt();
1442
- function zt(a, t) {
1441
+ }(z), $t = new Vt();
1442
+ function Kt(a, t) {
1443
1443
  if (a == null)
1444
1444
  return {};
1445
1445
  var n = {};
1446
1446
  for (var e in a)
1447
- if (Object.prototype.hasOwnProperty.call(a, e)) {
1447
+ if ({}.hasOwnProperty.call(a, e)) {
1448
1448
  if (t.indexOf(e) >= 0)
1449
1449
  continue;
1450
1450
  n[e] = a[e];
@@ -1454,19 +1454,19 @@ function zt(a, t) {
1454
1454
  function ut(a, t) {
1455
1455
  if (a == null)
1456
1456
  return {};
1457
- var n = zt(a, t), e, r;
1457
+ var n, e, r = Kt(a, t);
1458
1458
  if (Object.getOwnPropertySymbols) {
1459
1459
  var i = Object.getOwnPropertySymbols(a);
1460
- for (r = 0; r < i.length; r++)
1461
- e = i[r], !(t.indexOf(e) >= 0) && Object.prototype.propertyIsEnumerable.call(a, e) && (n[e] = a[e]);
1460
+ for (e = 0; e < i.length; e++)
1461
+ n = i[e], t.indexOf(n) >= 0 || {}.propertyIsEnumerable.call(a, n) && (r[n] = a[n]);
1462
1462
  }
1463
- return n;
1463
+ return r;
1464
1464
  }
1465
1465
  var oe = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1466
1466
  function ft(a) {
1467
1467
  return a && a.__esModule && Object.prototype.hasOwnProperty.call(a, "default") ? a.default : a;
1468
1468
  }
1469
- var Kt = {
1469
+ var zt = {
1470
1470
  area: !0,
1471
1471
  base: !0,
1472
1472
  br: !0,
@@ -1482,7 +1482,7 @@ var Kt = {
1482
1482
  track: !0,
1483
1483
  wbr: !0
1484
1484
  };
1485
- const Wt = /* @__PURE__ */ ft(Kt);
1485
+ const Wt = /* @__PURE__ */ ft(zt);
1486
1486
  var Xt = /\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;
1487
1487
  function qe(a) {
1488
1488
  var t = { type: "tag", name: "", voidElement: !1, attrs: {}, children: [] }, n = a.match(/<\/?([^\s]+?)[/\s>]/);
@@ -1535,8 +1535,8 @@ var Yt = { parse: function(a, t) {
1535
1535
  }
1536
1536
  if (p && (i++, (n = qe(u)).type === "tag" && t.components[n.name] && (n.type = "component", o = !0), n.voidElement || o || !d || d === "<" || n.children.push({ type: "text", content: a.slice(m, a.indexOf("<", m)) }), i === 0 && e.push(n), (c = r[i - 1]) && c.children.push(n), r[i] = n), (!p || n.voidElement) && (i > -1 && (n.voidElement || n.name === u.slice(2, -1)) && (i--, n = i === -1 ? e : r[i]), !o && d !== "<" && d)) {
1537
1537
  c = i === -1 ? e : r[i].children;
1538
- var h = a.indexOf("<", m), b = a.slice(m, h === -1 ? void 0 : h);
1539
- Qt.test(b) && (b = " "), (h > -1 && i + c.length >= 0 || b !== " ") && c.push({ type: "text", content: b });
1538
+ var g = a.indexOf("<", m), b = a.slice(m, g === -1 ? void 0 : g);
1539
+ Qt.test(b) && (b = " "), (g > -1 && i + c.length >= 0 || b !== " ") && c.push({ type: "text", content: b });
1540
1540
  }
1541
1541
  }), e;
1542
1542
  }, stringify: function(a) {
@@ -1583,7 +1583,7 @@ function $e(a) {
1583
1583
  for (var t = 1; t < arguments.length; t++) {
1584
1584
  var n = arguments[t] != null ? arguments[t] : {};
1585
1585
  t % 2 ? Ve(Object(n), !0).forEach(function(e) {
1586
- he(a, e, n[e]);
1586
+ ge(a, e, n[e]);
1587
1587
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(n)) : Ve(Object(n)).forEach(function(e) {
1588
1588
  Object.defineProperty(a, e, Object.getOwnPropertyDescriptor(n, e));
1589
1589
  });
@@ -1629,7 +1629,7 @@ var an = function() {
1629
1629
  function on(a) {
1630
1630
  ct = a;
1631
1631
  }
1632
- function gt() {
1632
+ function ht() {
1633
1633
  return ct;
1634
1634
  }
1635
1635
  var sn = {
@@ -1645,13 +1645,13 @@ function se() {
1645
1645
  typeof n[0] == "string" && (n[0] = "react-i18next:: ".concat(n[0])), (a = console).warn.apply(a, n);
1646
1646
  }
1647
1647
  }
1648
- var ze = {};
1648
+ var Ke = {};
1649
1649
  function le() {
1650
1650
  for (var a = arguments.length, t = new Array(a), n = 0; n < a; n++)
1651
1651
  t[n] = arguments[n];
1652
- typeof t[0] == "string" && ze[t[0]] || (typeof t[0] == "string" && (ze[t[0]] = /* @__PURE__ */ new Date()), se.apply(void 0, t));
1652
+ typeof t[0] == "string" && Ke[t[0]] || (typeof t[0] == "string" && (Ke[t[0]] = /* @__PURE__ */ new Date()), se.apply(void 0, t));
1653
1653
  }
1654
- function Ke(a, t, n) {
1654
+ function ze(a, t, n) {
1655
1655
  a.loadNamespaces(t, function() {
1656
1656
  if (a.isInitialized)
1657
1657
  n();
@@ -1702,20 +1702,20 @@ function F(a) {
1702
1702
  for (var t = 1; t < arguments.length; t++) {
1703
1703
  var n = arguments[t] != null ? arguments[t] : {};
1704
1704
  t % 2 ? We(Object(n), !0).forEach(function(e) {
1705
- he(a, e, n[e]);
1705
+ ge(a, e, n[e]);
1706
1706
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(n)) : We(Object(n)).forEach(function(e) {
1707
1707
  Object.defineProperty(a, e, Object.getOwnPropertyDescriptor(n, e));
1708
1708
  });
1709
1709
  }
1710
1710
  return a;
1711
1711
  }
1712
- function Oe(a, t) {
1712
+ function Se(a, t) {
1713
1713
  if (!a)
1714
1714
  return !1;
1715
1715
  var n = a.props ? a.props.children : a.children;
1716
1716
  return t ? n.length > 0 : !!n;
1717
1717
  }
1718
- function Se(a) {
1718
+ function Oe(a) {
1719
1719
  return a ? a.props ? a.props.children : a.children : [];
1720
1720
  }
1721
1721
  function pn(a) {
@@ -1730,7 +1730,7 @@ function dn(a, t) {
1730
1730
  var n = F({}, t);
1731
1731
  return n.props = Object.assign(a.props, t.props), n;
1732
1732
  }
1733
- function ht(a, t) {
1733
+ function gt(a, t) {
1734
1734
  if (!a)
1735
1735
  return "";
1736
1736
  var n = "", e = Z(a), r = t.transSupportBasicHtmlNodes && t.transKeepBasicHtmlNodesFor ? t.transKeepBasicHtmlNodesFor : [];
@@ -1748,12 +1748,12 @@ function ht(a, t) {
1748
1748
  else if (u && s === 1 && typeof f == "string")
1749
1749
  n += "<".concat(i.type, ">").concat(f, "</").concat(i.type, ">");
1750
1750
  else {
1751
- var c = ht(f, t);
1751
+ var c = gt(f, t);
1752
1752
  n += "<".concat(o, ">").concat(c, "</").concat(o, ">");
1753
1753
  }
1754
1754
  } else if (i === null)
1755
1755
  se("Trans: the passed in value is invalid - seems you passed in a null child.");
1756
- else if (_(i) === "object") {
1756
+ else if (I(i) === "object") {
1757
1757
  var p = i.format, v = ut(i, ln), m = Object.keys(v);
1758
1758
  if (m.length === 1) {
1759
1759
  var d = p ? "".concat(m[0], ", ").concat(p) : m[0];
@@ -1764,54 +1764,54 @@ function ht(a, t) {
1764
1764
  se("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);
1765
1765
  }), n;
1766
1766
  }
1767
- function gn(a, t, n, e, r, i) {
1767
+ function hn(a, t, n, e, r, i) {
1768
1768
  if (t === "")
1769
1769
  return [];
1770
1770
  var o = e.transKeepBasicHtmlNodesFor || [], s = t && new RegExp(o.join("|")).test(t);
1771
1771
  if (!a && !s)
1772
1772
  return [t];
1773
1773
  var u = {};
1774
- function f(h) {
1775
- var b = Z(h);
1776
- b.forEach(function(O) {
1777
- typeof O != "string" && (Oe(O) ? f(Se(O)) : _(O) === "object" && !ue(O) && Object.assign(u, O));
1774
+ function f(g) {
1775
+ var b = Z(g);
1776
+ b.forEach(function(S) {
1777
+ typeof S != "string" && (Se(S) ? f(Oe(S)) : I(S) === "object" && !ue(S) && Object.assign(u, S));
1778
1778
  });
1779
1779
  }
1780
1780
  f(a);
1781
1781
  var c = Yt.parse("<0>".concat(t, "</0>")), p = F(F({}, u), r);
1782
- function v(h, b, O) {
1783
- var S = Se(h), A = d(S, b.children, O);
1784
- return pn(S) && A.length === 0 ? S : A;
1782
+ function v(g, b, S) {
1783
+ var O = Oe(g), A = d(O, b.children, S);
1784
+ return pn(O) && A.length === 0 ? O : A;
1785
1785
  }
1786
- function m(h, b, O, S, A) {
1787
- h.dummy && (h.children = b), O.push(ne(h, F(F({}, h.props), {}, {
1788
- key: S
1786
+ function m(g, b, S, O, A) {
1787
+ g.dummy && (g.children = b), S.push(ne(g, F(F({}, g.props), {}, {
1788
+ key: O
1789
1789
  }), A ? void 0 : b));
1790
1790
  }
1791
- function d(h, b, O) {
1792
- var S = Z(h), A = Z(b);
1791
+ function d(g, b, S) {
1792
+ var O = Z(g), A = Z(b);
1793
1793
  return A.reduce(function(k, w, j) {
1794
1794
  var R = w.children && w.children[0] && w.children[0].content && n.services.interpolator.interpolate(w.children[0].content, p, n.language);
1795
1795
  if (w.type === "tag") {
1796
- var C = S[parseInt(w.name, 10)];
1797
- !C && O.length === 1 && O[0][w.name] && (C = O[0][w.name]), C || (C = {});
1796
+ var C = O[parseInt(w.name, 10)];
1797
+ !C && S.length === 1 && S[0][w.name] && (C = S[0][w.name]), C || (C = {});
1798
1798
  var L = Object.keys(w.attrs).length !== 0 ? dn({
1799
1799
  props: w.attrs
1800
- }, C) : C, E = ue(L), z = E && Oe(w, !0) && !w.voidElement, U = s && _(L) === "object" && L.dummy && !E, l = _(a) === "object" && a !== null && Object.hasOwnProperty.call(a, w.name);
1800
+ }, C) : C, E = ue(L), K = E && Se(w, !0) && !w.voidElement, U = s && I(L) === "object" && L.dummy && !E, l = I(a) === "object" && a !== null && Object.hasOwnProperty.call(a, w.name);
1801
1801
  if (typeof L == "string") {
1802
- var g = n.services.interpolator.interpolate(L, p, n.language);
1803
- k.push(g);
1804
- } else if (Oe(L) || z) {
1805
- var x = v(L, w, O);
1802
+ var h = n.services.interpolator.interpolate(L, p, n.language);
1803
+ k.push(h);
1804
+ } else if (Se(L) || K) {
1805
+ var x = v(L, w, S);
1806
1806
  m(L, x, k, j);
1807
1807
  } else if (U) {
1808
- var T = d(S, w.children, O);
1808
+ var T = d(O, w.children, S);
1809
1809
  k.push(ne(L, F(F({}, L.props), {}, {
1810
1810
  key: j
1811
1811
  }), T));
1812
1812
  } else if (Number.isNaN(parseFloat(w.name)))
1813
1813
  if (l) {
1814
- var N = v(L, w, O);
1814
+ var N = v(L, w, S);
1815
1815
  m(L, N, k, j, w.voidElement);
1816
1816
  } else if (e.transSupportBasicHtmlNodes && o.indexOf(w.name) > -1)
1817
1817
  if (w.voidElement)
@@ -1819,7 +1819,7 @@ function gn(a, t, n, e, r, i) {
1819
1819
  key: "".concat(w.name, "-").concat(j)
1820
1820
  }));
1821
1821
  else {
1822
- var P = d(S, w.children, O);
1822
+ var P = d(O, w.children, S);
1823
1823
  k.push(ie(w.name, {
1824
1824
  key: "".concat(w.name, "-").concat(j)
1825
1825
  }, P));
@@ -1827,12 +1827,12 @@ function gn(a, t, n, e, r, i) {
1827
1827
  else if (w.voidElement)
1828
1828
  k.push("<".concat(w.name, " />"));
1829
1829
  else {
1830
- var q = d(S, w.children, O);
1830
+ var q = d(O, w.children, S);
1831
1831
  k.push("<".concat(w.name, ">").concat(q, "</").concat(w.name, ">"));
1832
1832
  }
1833
- else if (_(L) === "object" && !E) {
1834
- var I = w.children[0] ? R : null;
1835
- I && k.push(I);
1833
+ else if (I(L) === "object" && !E) {
1834
+ var _ = w.children[0] ? R : null;
1835
+ _ && k.push(_);
1836
1836
  } else
1837
1837
  w.children.length === 1 && R ? k.push(ne(L, F(F({}, L.props), {}, {
1838
1838
  key: j
@@ -1852,19 +1852,19 @@ function gn(a, t, n, e, r, i) {
1852
1852
  dummy: !0,
1853
1853
  children: a || []
1854
1854
  }], c, Z(a || []));
1855
- return Se(y[0]);
1855
+ return Oe(y[0]);
1856
1856
  }
1857
- function hn(a) {
1858
- var t = a.children, n = a.count, e = a.parent, r = a.i18nKey, i = a.context, o = a.tOptions, s = o === void 0 ? {} : o, u = a.values, f = a.defaults, c = a.components, p = a.ns, v = a.i18n, m = a.t, d = a.shouldUnescape, y = ut(a, cn), h = at(pt) || {}, b = h.i18n, O = h.defaultNS, S = v || b || gt();
1859
- if (!S)
1857
+ function gn(a) {
1858
+ var t = a.children, n = a.count, e = a.parent, r = a.i18nKey, i = a.context, o = a.tOptions, s = o === void 0 ? {} : o, u = a.values, f = a.defaults, c = a.components, p = a.ns, v = a.i18n, m = a.t, d = a.shouldUnescape, y = ut(a, cn), g = at(pt) || {}, b = g.i18n, S = g.defaultNS, O = v || b || ht();
1859
+ if (!O)
1860
1860
  return le("You will need to pass in an i18next instance by using i18nextReactModule"), t;
1861
- var A = m || S.t.bind(S) || function(g) {
1862
- return g;
1861
+ var A = m || O.t.bind(O) || function(h) {
1862
+ return h;
1863
1863
  };
1864
1864
  i && (s.context = i);
1865
- var k = F(F({}, dt()), S.options && S.options.react), w = p || A.ns || O || S.options && S.options.defaultNS;
1865
+ var k = F(F({}, dt()), O.options && O.options.react), w = p || A.ns || S || O.options && O.options.defaultNS;
1866
1866
  w = typeof w == "string" ? [w] : w || ["translation"];
1867
- var j = f || ht(t, k) || k.transEmptyNodeValue || r, R = k.hashTransKey, C = r || (R ? R(j) : j), L = u ? s.interpolation : {
1867
+ var j = f || gt(t, k) || k.transEmptyNodeValue || r, R = k.hashTransKey, C = r || (R ? R(j) : j), L = u ? s.interpolation : {
1868
1868
  interpolation: F(F({}, s.interpolation), {}, {
1869
1869
  prefix: "#$?",
1870
1870
  suffix: "?$#"
@@ -1874,7 +1874,7 @@ function hn(a) {
1874
1874
  }, u), L), {}, {
1875
1875
  defaultValue: j,
1876
1876
  ns: w
1877
- }), z = C ? A(C, E) : j, U = gn(c || t, z, S, k, E, d), l = e !== void 0 ? e : k.defaultTransParent;
1877
+ }), K = C ? A(C, E) : j, U = hn(c || t, K, O, k, E, d), l = e !== void 0 ? e : k.defaultTransParent;
1878
1878
  return l ? ie(l, y, U) : U;
1879
1879
  }
1880
1880
  function vn(a) {
@@ -1905,7 +1905,7 @@ function mn(a, t) {
1905
1905
  }
1906
1906
  function Xe(a, t) {
1907
1907
  (t == null || t > a.length) && (t = a.length);
1908
- for (var n = 0, e = new Array(t); n < t; n++)
1908
+ for (var n = 0, e = Array(t); n < t; n++)
1909
1909
  e[n] = a[n];
1910
1910
  return e;
1911
1911
  }
@@ -1913,11 +1913,8 @@ function yn(a, t) {
1913
1913
  if (a) {
1914
1914
  if (typeof a == "string")
1915
1915
  return Xe(a, t);
1916
- var n = Object.prototype.toString.call(a).slice(8, -1);
1917
- if (n === "Object" && a.constructor && (n = a.constructor.name), n === "Map" || n === "Set")
1918
- return Array.from(a);
1919
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
1920
- return Xe(a, t);
1916
+ var n = {}.toString.call(a).slice(8, -1);
1917
+ return n === "Object" && a.constructor && (n = a.constructor.name), n === "Map" || n === "Set" ? Array.from(a) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Xe(a, t) : void 0;
1921
1918
  }
1922
1919
  }
1923
1920
  function bn() {
@@ -1941,21 +1938,21 @@ function xe(a) {
1941
1938
  for (var t = 1; t < arguments.length; t++) {
1942
1939
  var n = arguments[t] != null ? arguments[t] : {};
1943
1940
  t % 2 ? Je(Object(n), !0).forEach(function(e) {
1944
- he(a, e, n[e]);
1941
+ ge(a, e, n[e]);
1945
1942
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(n)) : Je(Object(n)).forEach(function(e) {
1946
1943
  Object.defineProperty(a, e, Object.getOwnPropertyDescriptor(n, e));
1947
1944
  });
1948
1945
  }
1949
1946
  return a;
1950
1947
  }
1951
- var On = function(t, n) {
1948
+ var Sn = function(t, n) {
1952
1949
  var e = ke();
1953
1950
  return Pe(function() {
1954
1951
  e.current = t;
1955
1952
  }, [t, n]), e.current;
1956
1953
  };
1957
- function Sn(a) {
1958
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = t.i18n, e = at(pt) || {}, r = e.i18n, i = e.defaultNS, o = n || r || gt();
1954
+ function On(a) {
1955
+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = t.i18n, e = at(pt) || {}, r = e.i18n, i = e.defaultNS, o = n || r || ht();
1959
1956
  if (o && !o.reportNamespaces && (o.reportNamespaces = new an()), !o) {
1960
1957
  le("You will need to pass in an i18next instance by using initReactI18next");
1961
1958
  var s = function(C) {
@@ -1972,14 +1969,14 @@ function Sn(a) {
1972
1969
  function d() {
1973
1970
  return o.getFixedT(null, f.nsMode === "fallback" ? v : v[0], p);
1974
1971
  }
1975
- var y = kt(d), h = wn(y, 2), b = h[0], O = h[1], S = v.join(), A = On(S), k = ke(!0);
1972
+ var y = kt(d), g = wn(y, 2), b = g[0], S = g[1], O = v.join(), A = Sn(O), k = ke(!0);
1976
1973
  Pe(function() {
1977
1974
  var R = f.bindI18n, C = f.bindI18nStore;
1978
- k.current = !0, !m && !c && Ke(o, v, function() {
1979
- k.current && O(d);
1980
- }), m && A && A !== S && k.current && O(d);
1975
+ k.current = !0, !m && !c && ze(o, v, function() {
1976
+ k.current && S(d);
1977
+ }), m && A && A !== O && k.current && S(d);
1981
1978
  function L() {
1982
- k.current && O(d);
1979
+ k.current && S(d);
1983
1980
  }
1984
1981
  return R && o && o.on(R, L), C && o && o.store.on(C, L), function() {
1985
1982
  k.current = !1, R && o && R.split(" ").forEach(function(E) {
@@ -1988,16 +1985,16 @@ function Sn(a) {
1988
1985
  return o.store.off(E, L);
1989
1986
  });
1990
1987
  };
1991
- }, [o, S]);
1988
+ }, [o, O]);
1992
1989
  var w = ke(!0);
1993
1990
  Pe(function() {
1994
- k.current && !w.current && O(d), w.current = !1;
1991
+ k.current && !w.current && S(d), w.current = !1;
1995
1992
  }, [o, p]);
1996
1993
  var j = [b, o, m];
1997
1994
  if (j.t = b, j.i18n = o, j.ready = m, m || !m && !c)
1998
1995
  return j;
1999
1996
  throw new Promise(function(R) {
2000
- Ke(o, v, function() {
1997
+ ze(o, v, function() {
2001
1998
  R();
2002
1999
  });
2003
2000
  });
@@ -2080,54 +2077,54 @@ function jn() {
2080
2077
  return typeof l != "string" && (l = String(l)), l;
2081
2078
  }
2082
2079
  function m(l) {
2083
- var g = {
2080
+ var h = {
2084
2081
  next: function() {
2085
2082
  var x = l.shift();
2086
2083
  return { done: x === void 0, value: x };
2087
2084
  }
2088
2085
  };
2089
- return s.iterable && (g[Symbol.iterator] = function() {
2090
- return g;
2091
- }), g;
2086
+ return s.iterable && (h[Symbol.iterator] = function() {
2087
+ return h;
2088
+ }), h;
2092
2089
  }
2093
2090
  function d(l) {
2094
- this.map = {}, l instanceof d ? l.forEach(function(g, x) {
2095
- this.append(x, g);
2096
- }, this) : Array.isArray(l) ? l.forEach(function(g) {
2097
- this.append(g[0], g[1]);
2098
- }, this) : l && Object.getOwnPropertyNames(l).forEach(function(g) {
2099
- this.append(g, l[g]);
2091
+ this.map = {}, l instanceof d ? l.forEach(function(h, x) {
2092
+ this.append(x, h);
2093
+ }, this) : Array.isArray(l) ? l.forEach(function(h) {
2094
+ this.append(h[0], h[1]);
2095
+ }, this) : l && Object.getOwnPropertyNames(l).forEach(function(h) {
2096
+ this.append(h, l[h]);
2100
2097
  }, this);
2101
2098
  }
2102
- d.prototype.append = function(l, g) {
2103
- l = p(l), g = v(g);
2099
+ d.prototype.append = function(l, h) {
2100
+ l = p(l), h = v(h);
2104
2101
  var x = this.map[l];
2105
- this.map[l] = x ? x + ", " + g : g;
2102
+ this.map[l] = x ? x + ", " + h : h;
2106
2103
  }, d.prototype.delete = function(l) {
2107
2104
  delete this.map[p(l)];
2108
2105
  }, d.prototype.get = function(l) {
2109
2106
  return l = p(l), this.has(l) ? this.map[l] : null;
2110
2107
  }, d.prototype.has = function(l) {
2111
2108
  return this.map.hasOwnProperty(p(l));
2112
- }, d.prototype.set = function(l, g) {
2113
- this.map[p(l)] = v(g);
2114
- }, d.prototype.forEach = function(l, g) {
2109
+ }, d.prototype.set = function(l, h) {
2110
+ this.map[p(l)] = v(h);
2111
+ }, d.prototype.forEach = function(l, h) {
2115
2112
  for (var x in this.map)
2116
- this.map.hasOwnProperty(x) && l.call(g, this.map[x], x, this);
2113
+ this.map.hasOwnProperty(x) && l.call(h, this.map[x], x, this);
2117
2114
  }, d.prototype.keys = function() {
2118
2115
  var l = [];
2119
- return this.forEach(function(g, x) {
2116
+ return this.forEach(function(h, x) {
2120
2117
  l.push(x);
2121
2118
  }), m(l);
2122
2119
  }, d.prototype.values = function() {
2123
2120
  var l = [];
2124
- return this.forEach(function(g) {
2125
- l.push(g);
2121
+ return this.forEach(function(h) {
2122
+ l.push(h);
2126
2123
  }), m(l);
2127
2124
  }, d.prototype.entries = function() {
2128
2125
  var l = [];
2129
- return this.forEach(function(g, x) {
2130
- l.push([x, g]);
2126
+ return this.forEach(function(h, x) {
2127
+ l.push([x, h]);
2131
2128
  }), m(l);
2132
2129
  }, s.iterable && (d.prototype[Symbol.iterator] = d.prototype.entries);
2133
2130
  function y(l) {
@@ -2135,33 +2132,33 @@ function jn() {
2135
2132
  return Promise.reject(new TypeError("Already read"));
2136
2133
  l.bodyUsed = !0;
2137
2134
  }
2138
- function h(l) {
2139
- return new Promise(function(g, x) {
2135
+ function g(l) {
2136
+ return new Promise(function(h, x) {
2140
2137
  l.onload = function() {
2141
- g(l.result);
2138
+ h(l.result);
2142
2139
  }, l.onerror = function() {
2143
2140
  x(l.error);
2144
2141
  };
2145
2142
  });
2146
2143
  }
2147
2144
  function b(l) {
2148
- var g = new FileReader(), x = h(g);
2149
- return g.readAsArrayBuffer(l), x;
2150
- }
2151
- function O(l) {
2152
- var g = new FileReader(), x = h(g);
2153
- return g.readAsText(l), x;
2145
+ var h = new FileReader(), x = g(h);
2146
+ return h.readAsArrayBuffer(l), x;
2154
2147
  }
2155
2148
  function S(l) {
2156
- for (var g = new Uint8Array(l), x = new Array(g.length), T = 0; T < g.length; T++)
2157
- x[T] = String.fromCharCode(g[T]);
2149
+ var h = new FileReader(), x = g(h);
2150
+ return h.readAsText(l), x;
2151
+ }
2152
+ function O(l) {
2153
+ for (var h = new Uint8Array(l), x = new Array(h.length), T = 0; T < h.length; T++)
2154
+ x[T] = String.fromCharCode(h[T]);
2158
2155
  return x.join("");
2159
2156
  }
2160
2157
  function A(l) {
2161
2158
  if (l.slice)
2162
2159
  return l.slice(0);
2163
- var g = new Uint8Array(l.byteLength);
2164
- return g.set(new Uint8Array(l)), g.buffer;
2160
+ var h = new Uint8Array(l.byteLength);
2161
+ return h.set(new Uint8Array(l)), h.buffer;
2165
2162
  }
2166
2163
  function k() {
2167
2164
  return this.bodyUsed = !1, this._initBody = function(l) {
@@ -2184,9 +2181,9 @@ function jn() {
2184
2181
  if (l)
2185
2182
  return l;
2186
2183
  if (this._bodyBlob)
2187
- return O(this._bodyBlob);
2184
+ return S(this._bodyBlob);
2188
2185
  if (this._bodyArrayBuffer)
2189
- return Promise.resolve(S(this._bodyArrayBuffer));
2186
+ return Promise.resolve(O(this._bodyArrayBuffer));
2190
2187
  if (this._bodyFormData)
2191
2188
  throw new Error("could not read FormData body as text");
2192
2189
  return Promise.resolve(this._bodyText);
@@ -2198,19 +2195,19 @@ function jn() {
2198
2195
  }
2199
2196
  var w = ["DELETE", "GET", "HEAD", "OPTIONS", "POST", "PUT"];
2200
2197
  function j(l) {
2201
- var g = l.toUpperCase();
2202
- return w.indexOf(g) > -1 ? g : l;
2198
+ var h = l.toUpperCase();
2199
+ return w.indexOf(h) > -1 ? h : l;
2203
2200
  }
2204
- function R(l, g) {
2205
- g = g || {};
2206
- var x = g.body;
2201
+ function R(l, h) {
2202
+ h = h || {};
2203
+ var x = h.body;
2207
2204
  if (l instanceof R) {
2208
2205
  if (l.bodyUsed)
2209
2206
  throw new TypeError("Already read");
2210
- this.url = l.url, this.credentials = l.credentials, g.headers || (this.headers = new d(l.headers)), this.method = l.method, this.mode = l.mode, this.signal = l.signal, !x && l._bodyInit != null && (x = l._bodyInit, l.bodyUsed = !0);
2207
+ this.url = l.url, this.credentials = l.credentials, h.headers || (this.headers = new d(l.headers)), this.method = l.method, this.mode = l.mode, this.signal = l.signal, !x && l._bodyInit != null && (x = l._bodyInit, l.bodyUsed = !0);
2211
2208
  } else
2212
2209
  this.url = String(l);
2213
- if (this.credentials = g.credentials || this.credentials || "same-origin", (g.headers || !this.headers) && (this.headers = new d(g.headers)), this.method = j(g.method || this.method || "GET"), this.mode = g.mode || this.mode || null, this.signal = g.signal || this.signal, this.referrer = null, (this.method === "GET" || this.method === "HEAD") && x)
2210
+ if (this.credentials = h.credentials || this.credentials || "same-origin", (h.headers || !this.headers) && (this.headers = new d(h.headers)), this.method = j(h.method || this.method || "GET"), this.mode = h.mode || this.mode || null, this.signal = h.signal || this.signal, this.referrer = null, (this.method === "GET" || this.method === "HEAD") && x)
2214
2211
  throw new TypeError("Body not allowed for GET or HEAD requests");
2215
2212
  this._initBody(x);
2216
2213
  }
@@ -2218,27 +2215,27 @@ function jn() {
2218
2215
  return new R(this, { body: this._bodyInit });
2219
2216
  };
2220
2217
  function C(l) {
2221
- var g = new FormData();
2218
+ var h = new FormData();
2222
2219
  return l.trim().split("&").forEach(function(x) {
2223
2220
  if (x) {
2224
2221
  var T = x.split("="), N = T.shift().replace(/\+/g, " "), P = T.join("=").replace(/\+/g, " ");
2225
- g.append(decodeURIComponent(N), decodeURIComponent(P));
2222
+ h.append(decodeURIComponent(N), decodeURIComponent(P));
2226
2223
  }
2227
- }), g;
2224
+ }), h;
2228
2225
  }
2229
2226
  function L(l) {
2230
- var g = new d(), x = l.replace(/\r?\n[\t ]+/g, " ");
2227
+ var h = new d(), x = l.replace(/\r?\n[\t ]+/g, " ");
2231
2228
  return x.split(/\r?\n/).forEach(function(T) {
2232
2229
  var N = T.split(":"), P = N.shift().trim();
2233
2230
  if (P) {
2234
2231
  var q = N.join(":").trim();
2235
- g.append(P, q);
2232
+ h.append(P, q);
2236
2233
  }
2237
- }), g;
2234
+ }), h;
2238
2235
  }
2239
2236
  k.call(R.prototype);
2240
- function E(l, g) {
2241
- g || (g = {}), this.type = "default", this.status = g.status === void 0 ? 200 : g.status, this.ok = this.status >= 200 && this.status < 300, this.statusText = "statusText" in g ? g.statusText : "OK", this.headers = new d(g.headers), this.url = g.url || "", this._initBody(l);
2237
+ function E(l, h) {
2238
+ h || (h = {}), this.type = "default", this.status = h.status === void 0 ? 200 : h.status, this.ok = this.status >= 200 && this.status < 300, this.statusText = "statusText" in h ? h.statusText : "OK", this.headers = new d(h.headers), this.url = h.url || "", this._initBody(l);
2242
2239
  }
2243
2240
  k.call(E.prototype), E.prototype.clone = function() {
2244
2241
  return new E(this._bodyInit, {
@@ -2251,24 +2248,24 @@ function jn() {
2251
2248
  var l = new E(null, { status: 0, statusText: "" });
2252
2249
  return l.type = "error", l;
2253
2250
  };
2254
- var z = [301, 302, 303, 307, 308];
2255
- E.redirect = function(l, g) {
2256
- if (z.indexOf(g) === -1)
2251
+ var K = [301, 302, 303, 307, 308];
2252
+ E.redirect = function(l, h) {
2253
+ if (K.indexOf(h) === -1)
2257
2254
  throw new RangeError("Invalid status code");
2258
- return new E(null, { status: g, headers: { location: l } });
2255
+ return new E(null, { status: h, headers: { location: l } });
2259
2256
  }, o.DOMException = i.DOMException;
2260
2257
  try {
2261
2258
  new o.DOMException();
2262
2259
  } catch {
2263
- o.DOMException = function(g, x) {
2264
- this.message = g, this.name = x;
2265
- var T = Error(g);
2260
+ o.DOMException = function(h, x) {
2261
+ this.message = h, this.name = x;
2262
+ var T = Error(h);
2266
2263
  this.stack = T.stack;
2267
2264
  }, o.DOMException.prototype = Object.create(Error.prototype), o.DOMException.prototype.constructor = o.DOMException;
2268
2265
  }
2269
- function U(l, g) {
2266
+ function U(l, h) {
2270
2267
  return new Promise(function(x, T) {
2271
- var N = new R(l, g);
2268
+ var N = new R(l, h);
2272
2269
  if (N.signal && N.signal.aborted)
2273
2270
  return T(new o.DOMException("Aborted", "AbortError"));
2274
2271
  var P = new XMLHttpRequest();
@@ -2276,22 +2273,22 @@ function jn() {
2276
2273
  P.abort();
2277
2274
  }
2278
2275
  P.onload = function() {
2279
- var I = {
2276
+ var _ = {
2280
2277
  status: P.status,
2281
2278
  statusText: P.statusText,
2282
2279
  headers: L(P.getAllResponseHeaders() || "")
2283
2280
  };
2284
- I.url = "responseURL" in P ? P.responseURL : I.headers.get("X-Request-URL");
2281
+ _.url = "responseURL" in P ? P.responseURL : _.headers.get("X-Request-URL");
2285
2282
  var B = "response" in P ? P.response : P.responseText;
2286
- x(new E(B, I));
2283
+ x(new E(B, _));
2287
2284
  }, P.onerror = function() {
2288
2285
  T(new TypeError("Network request failed"));
2289
2286
  }, P.ontimeout = function() {
2290
2287
  T(new TypeError("Network request failed"));
2291
2288
  }, P.onabort = function() {
2292
2289
  T(new o.DOMException("Aborted", "AbortError"));
2293
- }, P.open(N.method, N.url, !0), N.credentials === "include" ? P.withCredentials = !0 : N.credentials === "omit" && (P.withCredentials = !1), "responseType" in P && s.blob && (P.responseType = "blob"), N.headers.forEach(function(I, B) {
2294
- P.setRequestHeader(B, I);
2290
+ }, P.open(N.method, N.url, !0), N.credentials === "include" ? P.withCredentials = !0 : N.credentials === "omit" && (P.withCredentials = !1), "responseType" in P && s.blob && (P.responseType = "blob"), N.headers.forEach(function(_, B) {
2291
+ P.setRequestHeader(B, _);
2295
2292
  }), N.signal && (N.signal.addEventListener("abort", q), P.onreadystatechange = function() {
2296
2293
  P.readyState === 4 && N.signal.removeEventListener("abort", q);
2297
2294
  }), P.send(typeof N._bodyInit > "u" ? null : N._bodyInit);
@@ -2419,7 +2416,7 @@ function Fn(a, t, n) {
2419
2416
  function Dn(a, t, n) {
2420
2417
  return t in a ? Object.defineProperty(a, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : a[t] = n, a;
2421
2418
  }
2422
- var _n = function() {
2419
+ var In = function() {
2423
2420
  return {
2424
2421
  loadPath: "/locales/{{lng}}/{{ns}}.json",
2425
2422
  addPath: "/locales/add/{{lng}}/{{ns}}",
@@ -2453,7 +2450,7 @@ var _n = function() {
2453
2450
  key: "init",
2454
2451
  value: function(n) {
2455
2452
  var e = this, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
2456
- this.services = n, this.options = Re(r, this.options || {}, _n()), this.allOptions = i, this.services && this.options.reloadInterval && setInterval(function() {
2453
+ this.services = n, this.options = Re(r, this.options || {}, In()), this.allOptions = i, this.services && this.options.reloadInterval && setInterval(function() {
2457
2454
  return e.reload();
2458
2455
  }, this.options.reloadInterval);
2459
2456
  }
@@ -2519,8 +2516,8 @@ var _n = function() {
2519
2516
  lng: v,
2520
2517
  ns: e
2521
2518
  });
2522
- s.options.request(s.options, d, u, function(y, h) {
2523
- f += 1, c.push(y), p.push(h), f === n.length && o && o(c, p);
2519
+ s.options.request(s.options, d, u, function(y, g) {
2520
+ f += 1, c.push(y), p.push(g), f === n.length && o && o(c, p);
2524
2521
  });
2525
2522
  });
2526
2523
  }
@@ -2550,9 +2547,9 @@ var _n = function() {
2550
2547
  }]), a;
2551
2548
  }();
2552
2549
  wt.type = "backend";
2553
- var Ot = [], In = Ot.forEach, Un = Ot.slice;
2550
+ var St = [], _n = St.forEach, Un = St.slice;
2554
2551
  function Bn(a) {
2555
- return In.call(Un.call(arguments, 1), function(t) {
2552
+ return _n.call(Un.call(arguments, 1), function(t) {
2556
2553
  if (t)
2557
2554
  for (var n in t)
2558
2555
  a[n] === void 0 && (a[n] = t[n]);
@@ -2671,28 +2668,28 @@ var Vn = {
2671
2668
  cacheUserLanguage: function(t, n) {
2672
2669
  n.lookupLocalStorage && de && window.localStorage.setItem(n.lookupLocalStorage, t);
2673
2670
  }
2674
- }, ge;
2671
+ }, he;
2675
2672
  try {
2676
- ge = window !== "undefined" && window.sessionStorage !== null;
2673
+ he = window !== "undefined" && window.sessionStorage !== null;
2677
2674
  var rt = "i18next.translate.boo";
2678
2675
  window.sessionStorage.setItem(rt, "foo"), window.sessionStorage.removeItem(rt);
2679
2676
  } catch {
2680
- ge = !1;
2677
+ he = !1;
2681
2678
  }
2682
2679
  var $n = {
2683
2680
  name: "sessionStorage",
2684
2681
  lookup: function(t) {
2685
2682
  var n;
2686
- if (t.lookupsessionStorage && ge) {
2683
+ if (t.lookupsessionStorage && he) {
2687
2684
  var e = window.sessionStorage.getItem(t.lookupsessionStorage);
2688
2685
  e && (n = e);
2689
2686
  }
2690
2687
  return n;
2691
2688
  },
2692
2689
  cacheUserLanguage: function(t, n) {
2693
- n.lookupsessionStorage && ge && window.sessionStorage.setItem(n.lookupsessionStorage, t);
2690
+ n.lookupsessionStorage && he && window.sessionStorage.setItem(n.lookupsessionStorage, t);
2694
2691
  }
2695
- }, zn = {
2692
+ }, Kn = {
2696
2693
  name: "navigator",
2697
2694
  lookup: function(t) {
2698
2695
  var n = [];
@@ -2704,7 +2701,7 @@ var $n = {
2704
2701
  }
2705
2702
  return n.length > 0 ? n : void 0;
2706
2703
  }
2707
- }, Kn = {
2704
+ }, zn = {
2708
2705
  name: "htmlTag",
2709
2706
  lookup: function(t) {
2710
2707
  var n, e = t.htmlTag || (typeof document < "u" ? document.documentElement : null);
@@ -2750,7 +2747,7 @@ function Jn() {
2750
2747
  //cookieDomain: 'myDomain'
2751
2748
  };
2752
2749
  }
2753
- var St = /* @__PURE__ */ function() {
2750
+ var Ot = /* @__PURE__ */ function() {
2754
2751
  function a(t) {
2755
2752
  var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
2756
2753
  H(this, a), this.type = "languageDetector", this.detectors = {}, this.init(t, n);
@@ -2759,7 +2756,7 @@ var St = /* @__PURE__ */ function() {
2759
2756
  key: "init",
2760
2757
  value: function(n) {
2761
2758
  var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
2762
- this.services = n, this.options = Bn(e, this.options || {}, Jn()), this.options.lookupFromUrlIndex && (this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex), this.i18nOptions = r, this.addDetector(Mn), this.addDetector(qn), this.addDetector(Vn), this.addDetector($n), this.addDetector(zn), this.addDetector(Kn), this.addDetector(Wn), this.addDetector(Xn);
2759
+ this.services = n, this.options = Bn(e, this.options || {}, Jn()), this.options.lookupFromUrlIndex && (this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex), this.i18nOptions = r, this.addDetector(Mn), this.addDetector(qn), this.addDetector(Vn), this.addDetector($n), this.addDetector(Kn), this.addDetector(zn), this.addDetector(Wn), this.addDetector(Xn);
2763
2760
  }
2764
2761
  }, {
2765
2762
  key: "addDetector",
@@ -2789,14 +2786,14 @@ var St = /* @__PURE__ */ function() {
2789
2786
  }
2790
2787
  }]), a;
2791
2788
  }();
2792
- St.type = "languageDetector";
2789
+ Ot.type = "languageDetector";
2793
2790
  function Gn({
2794
2791
  detectorConfig: a,
2795
2792
  translationPath: t,
2796
2793
  customDetectors: n,
2797
2794
  ...e
2798
2795
  }) {
2799
- const r = new St(), i = {
2796
+ const r = new Ot(), i = {
2800
2797
  name: "hashRouterQuerystringDetector",
2801
2798
  lookup: (f) => {
2802
2799
  try {
@@ -2856,9 +2853,9 @@ function Gn({
2856
2853
  };
2857
2854
  return $t.use(wt).use(r).use(sn).init(u);
2858
2855
  }
2859
- const Yn = hn;
2856
+ const Yn = gn;
2860
2857
  function Zn(a = "translation", t) {
2861
- return Sn([a, "design-system"], t);
2858
+ return On([a, "design-system"], t);
2862
2859
  }
2863
2860
  export {
2864
2861
  Yn as SpsLanguage,