@incodetech/web 0.0.0-dev-20260518-3e2a44e2 → 0.0.0-dev-20260518-4cedf99f

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.
Files changed (60) hide show
  1. package/dist/ae-signature/ae-signature.es.js +1 -1
  2. package/dist/antifraud/antifraud.es.js +1 -1
  3. package/dist/authentication/authentication.es.js +2 -2
  4. package/dist/consent/consent.es.js +3 -3
  5. package/dist/{countrySelector-CE-JgIsv.js → countrySelector-DLCfd7yy.js} +1 -1
  6. package/dist/{cpfOcr-D_tbwbvh.js → cpfOcr-BdLPvojl.js} +1 -1
  7. package/dist/cross-document-data-match/cross-document-data-match.es.js +1 -1
  8. package/dist/curp-validation/curp-validation.es.js +3 -3
  9. package/dist/{customFields-CW38fQUv.js → customFields-DV6lUnvq.js} +2 -2
  10. package/dist/{customWatchlist-D9_yjEQd.js → customWatchlist-DSmB80f3.js} +2 -2
  11. package/dist/{documentCapture-xX-JT7ZY.js → documentCapture-lJ-U1cjp.js} +4 -4
  12. package/dist/{dynamicForms-CJP1Ia6Q.js → dynamicForms-JljZlRXK.js} +4 -4
  13. package/dist/ekyb/ekyb.es.js +1 -1
  14. package/dist/{ekybModule-BSs7mndb.js → ekybModule-BKRqcVUg.js} +7 -7
  15. package/dist/ekybModule-VSRRLIbh.js +2 -0
  16. package/dist/ekyc/ekyc.es.js +1 -1
  17. package/dist/ekycModule-Cv_JJrCQ.js +2 -0
  18. package/dist/{ekycModule-CU9pt5YN.js → ekycModule-Dh8h68HL.js} +5 -5
  19. package/dist/electronic-signature/electronic-signature.es.js +1 -1
  20. package/dist/{electronic-signature-COYXjGdd.js → electronic-signature-C7wAN8uG.js} +3 -3
  21. package/dist/email/email.es.js +4 -4
  22. package/dist/{emailInput-DppGf9pv.js → emailInput-DQD3XnzK.js} +2 -2
  23. package/dist/{expiredId-BnmzE8T3.js → expiredId-Gqc6wM4h.js} +1 -1
  24. package/dist/{extensibility-CzEJfRwo.js → extensibility-BEX3WegI.js} +8 -8
  25. package/dist/extensibility.es.js +8 -8
  26. package/dist/face-match/face-match.es.js +1 -1
  27. package/dist/faceMatch-BPXidsWa.js +2 -0
  28. package/dist/{faceMatch-BV8UD7tj.js → faceMatch-T-_3NI8m.js} +3 -3
  29. package/dist/flow/flow.es.js +299 -299
  30. package/dist/geolocation/geolocation.es.js +2 -2
  31. package/dist/governmentValidation/governmentValidation.es.js +3 -3
  32. package/dist/{homeScreen-DnP1jw9A.js → homeScreen-B213v-on.js} +17 -17
  33. package/dist/{i18n-9s4OSqwi.js → i18n-DQ49aghC.js} +224 -217
  34. package/dist/id/id.es.js +7 -7
  35. package/dist/id-verification/id-verification.es.js +2 -2
  36. package/dist/{idOcr-CCjfWQvH.js → idOcr-CsDIoUzl.js} +5 -5
  37. package/dist/identity-reuse/identity-reuse.es.js +2 -2
  38. package/dist/{incodeComponent-C1o4M0ZK.js → incodeComponent-Dx2l4chW.js} +1 -1
  39. package/dist/index.es.js +1 -1
  40. package/dist/{mandatoryConsent-DssKMC3v.js → mandatoryConsent-D6YZlHdq.js} +3 -3
  41. package/dist/{optionAccessibleLabel-CzEeX3Q4.js → optionAccessibleLabel-k7Y-6ZwH.js} +2 -2
  42. package/dist/{otpInput-DqRA_egd.js → otpInput-uUeFE3w6.js} +1 -1
  43. package/dist/phone/phone.es.js +3 -3
  44. package/dist/{processing-G_y3o32b.js → processing-CO4IWfYV.js} +1 -1
  45. package/dist/qe-signature/qe-signature.es.js +1 -1
  46. package/dist/{radioGroupComposed-BbmvxmD2.js → radioGroupComposed-CAeFseVP.js} +1 -1
  47. package/dist/{redirectToMobile-C3k1gloW.js → redirectToMobile-Dbz6ZG63.js} +3 -3
  48. package/dist/selfie/selfie.es.js +4 -4
  49. package/dist/signature/signature.es.js +4 -4
  50. package/dist/{transitionSpinner-PIEPU2Vx.js → transitionSpinner-D_N_MiDY.js} +1 -1
  51. package/dist/{tutorial-9vHAHvMK.js → tutorial-C0s7rqxv.js} +2 -2
  52. package/dist/{useModuleLoader-BFiVA41N.js → useModuleLoader-gInq0l-h.js} +15 -15
  53. package/dist/{verificationResult-BrVbUJ4U.js → verificationResult-biy_diWd.js} +1 -1
  54. package/dist/watchlist/watchlist.es.js +2 -2
  55. package/dist/{watchlistForBusiness-BcSNtHCV.js → watchlistForBusiness-DCPDk7x_.js} +3 -3
  56. package/dist/workflow/workflow.es.js +120 -120
  57. package/package.json +2 -2
  58. package/dist/ekybModule-D9M3E2Gm.js +0 -2
  59. package/dist/ekycModule-CZw9cLno.js +0 -2
  60. package/dist/faceMatch-B8j0g0Yo.js +0 -2
@@ -225,7 +225,7 @@ var s = (e) => typeof e == "string", c = () => {
225
225
  toJSON() {
226
226
  return this.data;
227
227
  }
228
- }, A = {
228
+ }, re = {
229
229
  processors: {},
230
230
  addPostProcessor(e) {
231
231
  this.processors[e.name] = e;
@@ -235,16 +235,16 @@ var s = (e) => typeof e == "string", c = () => {
235
235
  t = this.processors[e]?.process(t, n, r, i) ?? t;
236
236
  }), t;
237
237
  }
238
- }, re = Symbol("i18next/PATH_KEY");
239
- function ie() {
238
+ }, ie = Symbol("i18next/PATH_KEY");
239
+ function ae() {
240
240
  let e = [], t = Object.create(null), n;
241
- return t.get = (r, i) => (n?.revoke?.(), i === re ? e : (e.push(i), n = Proxy.revocable(r, t), n.proxy)), Proxy.revocable(Object.create(null), t).proxy;
241
+ return t.get = (r, i) => (n?.revoke?.(), i === ie ? e : (e.push(i), n = Proxy.revocable(r, t), n.proxy)), Proxy.revocable(Object.create(null), t).proxy;
242
242
  }
243
- function j(e, t) {
244
- let { [re]: n } = e(ie());
243
+ function A(e, t) {
244
+ let { [ie]: n } = e(ae());
245
245
  return n.join(t?.keySeparator ?? ".");
246
246
  }
247
- var ae = {}, M = (e) => !s(e) && typeof e != "boolean" && typeof e != "number", oe = class e extends O {
247
+ var oe = {}, j = (e) => !s(e) && typeof e != "boolean" && typeof e != "number", se = class e extends O {
248
248
  constructor(e, t = {}) {
249
249
  super(), u([
250
250
  "resourceStore",
@@ -264,7 +264,7 @@ var ae = {}, M = (e) => !s(e) && typeof e != "boolean" && typeof e != "number",
264
264
  if (e == null) return !1;
265
265
  let r = this.resolve(e, n);
266
266
  if (r?.res === void 0) return !1;
267
- let i = M(r.res);
267
+ let i = j(r.res);
268
268
  return !(n.returnObjects === !1 && i);
269
269
  }
270
270
  extractFromKey(e, t) {
@@ -288,7 +288,7 @@ var ae = {}, M = (e) => !s(e) && typeof e != "boolean" && typeof e != "number",
288
288
  translate(t, n, r) {
289
289
  let i = typeof n == "object" ? { ...n } : n;
290
290
  if (typeof i != "object" && this.options.overloadTranslationOptionHandler && (i = this.options.overloadTranslationOptionHandler(arguments)), typeof i == "object" && (i = { ...i }), i ||= {}, t == null) return "";
291
- typeof t == "function" && (t = j(t, {
291
+ typeof t == "function" && (t = A(t, {
292
292
  ...this.options,
293
293
  ...i
294
294
  })), Array.isArray(t) || (t = [String(t)]);
@@ -316,7 +316,7 @@ var ae = {}, M = (e) => !s(e) && typeof e != "boolean" && typeof e != "number",
316
316
  "[object RegExp]"
317
317
  ], v = i.joinArrays === void 0 ? this.options.joinArrays : i.joinArrays, y = !this.i18nFormat || this.i18nFormat.handleAsObject, b = i.count !== void 0 && !s(i.count), x = e.hasDefaultValue(i), te = b ? this.pluralResolver.getSuffix(f, i.count, i) : "", S = i.ordinal && b ? this.pluralResolver.getSuffix(f, i.count, { ordinal: !1 }) : "", C = b && !i.ordinal && i.count === 0, w = C && i[`defaultValue${this.options.pluralSeparator}zero`] || i[`defaultValue${te}`] || i[`defaultValue${S}`] || i.defaultValue, T = h;
318
318
  y && !h && x && (T = w);
319
- let E = M(T), ne = Object.prototype.toString.apply(T);
319
+ let E = j(T), ne = Object.prototype.toString.apply(T);
320
320
  if (y && T && E && ee.indexOf(ne) < 0 && !(s(v) && Array.isArray(T))) {
321
321
  if (!i.returnObjects && !this.options.returnObjects) {
322
322
  this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
@@ -332,7 +332,7 @@ var ae = {}, M = (e) => !s(e) && typeof e != "boolean" && typeof e != "number",
332
332
  let r = `${n}${o}${e}`;
333
333
  x && !h ? t[e] = this.translate(r, {
334
334
  ...i,
335
- defaultValue: M(w) ? w[e] : void 0,
335
+ defaultValue: j(w) ? w[e] : void 0,
336
336
  joinArrays: !1,
337
337
  ns: l
338
338
  }) : t[e] = this.translate(r, {
@@ -403,7 +403,7 @@ var ae = {}, M = (e) => !s(e) && typeof e != "boolean" && typeof e != "number",
403
403
  !n.lng && r && r.res && (n.lng = this.language || r.usedLng), n.nest !== !1 && (e = this.interpolator.nest(e, (...e) => i?.[0] === e[0] && !n.context ? (this.logger.warn(`It seems you are nesting recursively key: ${e[0]} in key: ${t[0]}`), null) : this.translate(...e, t), n)), n.interpolation && this.interpolator.reset();
404
404
  }
405
405
  let a = n.postProcess || this.options.postProcess, o = s(a) ? [a] : a;
406
- return e != null && o?.length && n.applyPostProcessor !== !1 && (e = A.handle(o, e, t, this.options && this.options.postProcessPassResolved ? {
406
+ return e != null && o?.length && n.applyPostProcessor !== !1 && (e = re.handle(o, e, t, this.options && this.options.postProcessPassResolved ? {
407
407
  i18nResolved: {
408
408
  ...r,
409
409
  usedParams: this.getUsedParamsDetails(n)
@@ -421,7 +421,7 @@ var ae = {}, M = (e) => !s(e) && typeof e != "boolean" && typeof e != "number",
421
421
  this.options.fallbackNS && (u = u.concat(this.options.fallbackNS));
422
422
  let d = t.count !== void 0 && !s(t.count), f = d && !t.ordinal && t.count === 0, p = t.context !== void 0 && (s(t.context) || typeof t.context == "number") && t.context !== "", m = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
423
423
  u.forEach((e) => {
424
- this.isValidLookup(n) || (o = e, !ae[`${m[0]}-${e}`] && this.utils?.hasLoadedNamespace && !this.utils?.hasLoadedNamespace(o) && (ae[`${m[0]}-${e}`] = !0, this.logger.warn(`key "${r}" for languages "${m.join(", ")}" won't get resolved as namespace "${o}" 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!!!")), m.forEach((r) => {
424
+ this.isValidLookup(n) || (o = e, !oe[`${m[0]}-${e}`] && this.utils?.hasLoadedNamespace && !this.utils?.hasLoadedNamespace(o) && (oe[`${m[0]}-${e}`] = !0, this.logger.warn(`key "${r}" for languages "${m.join(", ")}" won't get resolved as namespace "${o}" 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!!!")), m.forEach((r) => {
425
425
  if (this.isValidLookup(n)) return;
426
426
  a = r;
427
427
  let o = [l];
@@ -484,7 +484,7 @@ var ae = {}, M = (e) => !s(e) && typeof e != "boolean" && typeof e != "number",
484
484
  for (let t in e) if (Object.prototype.hasOwnProperty.call(e, t) && t.substring(0, 12) === "defaultValue" && e[t] !== void 0) return !0;
485
485
  return !1;
486
486
  }
487
- }, se = class {
487
+ }, ce = class {
488
488
  constructor(e) {
489
489
  this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = D.create("languageUtils");
490
490
  }
@@ -544,17 +544,17 @@ var ae = {}, M = (e) => !s(e) && typeof e != "boolean" && typeof e != "number",
544
544
  r.indexOf(e) < 0 && i(this.formatLanguageCode(e));
545
545
  }), r;
546
546
  }
547
- }, ce = {
547
+ }, le = {
548
548
  zero: 0,
549
549
  one: 1,
550
550
  two: 2,
551
551
  few: 3,
552
552
  many: 4,
553
553
  other: 5
554
- }, le = {
554
+ }, ue = {
555
555
  select: (e) => e === 1 ? "one" : "other",
556
556
  resolvedOptions: () => ({ pluralCategories: ["one", "other"] })
557
- }, ue = class {
557
+ }, de = class {
558
558
  constructor(e, t = {}) {
559
559
  this.languageUtils = e, this.options = t, this.logger = D.create("pluralResolver"), this.pluralRulesCache = {};
560
560
  }
@@ -574,8 +574,8 @@ var ae = {}, M = (e) => !s(e) && typeof e != "boolean" && typeof e != "number",
574
574
  try {
575
575
  a = new Intl.PluralRules(n, { type: r });
576
576
  } catch {
577
- if (!Intl) return this.logger.error("No Intl support, please use an Intl polyfill!"), le;
578
- if (!e.match(/-|_/)) return le;
577
+ if (!Intl) return this.logger.error("No Intl support, please use an Intl polyfill!"), ue;
578
+ if (!e.match(/-|_/)) return ue;
579
579
  let n = this.languageUtils.getLanguagePartFromCode(e);
580
580
  a = this.getRule(n, t);
581
581
  }
@@ -590,16 +590,16 @@ var ae = {}, M = (e) => !s(e) && typeof e != "boolean" && typeof e != "number",
590
590
  }
591
591
  getSuffixes(e, t = {}) {
592
592
  let n = this.getRule(e, t);
593
- return n ||= this.getRule("dev", t), n ? n.resolvedOptions().pluralCategories.sort((e, t) => ce[e] - ce[t]).map((e) => `${this.options.prepend}${t.ordinal ? `ordinal${this.options.prepend}` : ""}${e}`) : [];
593
+ return n ||= this.getRule("dev", t), n ? n.resolvedOptions().pluralCategories.sort((e, t) => le[e] - le[t]).map((e) => `${this.options.prepend}${t.ordinal ? `ordinal${this.options.prepend}` : ""}${e}`) : [];
594
594
  }
595
595
  getSuffix(e, t, n = {}) {
596
596
  let r = this.getRule(e, n);
597
597
  return r ? `${this.options.prepend}${n.ordinal ? `ordinal${this.options.prepend}` : ""}${r.select(t)}` : (this.logger.warn(`no plural rule found for: ${e}`), this.getSuffix("dev", t, n));
598
598
  }
599
- }, de = (e, t, n, r = ".", i = !0) => {
599
+ }, fe = (e, t, n, r = ".", i = !0) => {
600
600
  let a = ee(e, t, n);
601
601
  return !a && i && s(n) && (a = T(e, n, r), a === void 0 && (a = T(t, n, r))), a;
602
- }, N = (e) => e.replace(/\$/g, "$$$$"), fe = class {
602
+ }, M = (e) => e.replace(/\$/g, "$$$$"), pe = class {
603
603
  constructor(e = {}) {
604
604
  this.logger = D.create("interpolator"), this.options = e, this.format = e?.interpolation?.format || ((e) => e), this.init(e);
605
605
  }
@@ -618,7 +618,7 @@ var ae = {}, M = (e) => !s(e) && typeof e != "boolean" && typeof e != "number",
618
618
  interpolate(e, t, n, r) {
619
619
  let i, a, o, c = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, u = (e) => {
620
620
  if (e.indexOf(this.formatSeparator) < 0) {
621
- let i = de(t, c, e, this.options.keySeparator, this.options.ignoreJSONStructure);
621
+ let i = fe(t, c, e, this.options.keySeparator, this.options.ignoreJSONStructure);
622
622
  return this.alwaysFormat ? this.format(i, void 0, n, {
623
623
  ...r,
624
624
  ...t,
@@ -626,7 +626,7 @@ var ae = {}, M = (e) => !s(e) && typeof e != "boolean" && typeof e != "number",
626
626
  }) : i;
627
627
  }
628
628
  let i = e.split(this.formatSeparator), a = i.shift().trim(), o = i.join(this.formatSeparator).trim();
629
- return this.format(de(t, c, a, this.options.keySeparator, this.options.ignoreJSONStructure), o, n, {
629
+ return this.format(fe(t, c, a, this.options.keySeparator, this.options.ignoreJSONStructure), o, n, {
630
630
  ...r,
631
631
  ...t,
632
632
  interpolationkey: a
@@ -636,10 +636,10 @@ var ae = {}, M = (e) => !s(e) && typeof e != "boolean" && typeof e != "number",
636
636
  let d = r?.missingInterpolationHandler || this.options.missingInterpolationHandler, f = r?.interpolation?.skipOnVariables === void 0 ? this.options.interpolation.skipOnVariables : r.interpolation.skipOnVariables;
637
637
  return [{
638
638
  regex: this.regexpUnescape,
639
- safeValue: (e) => N(e)
639
+ safeValue: (e) => M(e)
640
640
  }, {
641
641
  regex: this.regexp,
642
- safeValue: (e) => this.escapeValue ? N(this.escape(e)) : N(e)
642
+ safeValue: (e) => this.escapeValue ? M(this.escape(e)) : M(e)
643
643
  }].forEach((t) => {
644
644
  for (o = 0; i = t.regex.exec(e);) {
645
645
  let n = i[1].trim();
@@ -687,7 +687,7 @@ var ae = {}, M = (e) => !s(e) && typeof e != "boolean" && typeof e != "number",
687
687
  }
688
688
  return e;
689
689
  }
690
- }, pe = (e) => {
690
+ }, me = (e) => {
691
691
  let t = e.toLowerCase().trim(), n = {};
692
692
  if (e.indexOf("(") > -1) {
693
693
  let r = e.split("(");
@@ -704,7 +704,7 @@ var ae = {}, M = (e) => !s(e) && typeof e != "boolean" && typeof e != "number",
704
704
  formatName: t,
705
705
  formatOptions: n
706
706
  };
707
- }, me = (e) => {
707
+ }, he = (e) => {
708
708
  let t = {};
709
709
  return (n, r, i) => {
710
710
  let a = i;
@@ -715,13 +715,13 @@ var ae = {}, M = (e) => !s(e) && typeof e != "boolean" && typeof e != "number",
715
715
  let o = r + JSON.stringify(a), s = t[o];
716
716
  return s || (s = e(E(r), i), t[o] = s), s(n);
717
717
  };
718
- }, he = (e) => (t, n, r) => e(E(n), r)(t), ge = class {
718
+ }, ge = (e) => (t, n, r) => e(E(n), r)(t), _e = class {
719
719
  constructor(e = {}) {
720
720
  this.logger = D.create("formatter"), this.options = e, this.init(e);
721
721
  }
722
722
  init(e, t = { interpolation: {} }) {
723
723
  this.formatSeparator = t.interpolation.formatSeparator || ",";
724
- let n = t.cacheInBuiltFormats ? me : he;
724
+ let n = t.cacheInBuiltFormats ? he : ge;
725
725
  this.formats = {
726
726
  number: n((e, t) => {
727
727
  let n = new Intl.NumberFormat(e, { ...t });
@@ -752,7 +752,7 @@ var ae = {}, M = (e) => !s(e) && typeof e != "boolean" && typeof e != "number",
752
752
  this.formats[e.toLowerCase().trim()] = t;
753
753
  }
754
754
  addCached(e, t) {
755
- this.formats[e.toLowerCase().trim()] = me(t);
755
+ this.formats[e.toLowerCase().trim()] = he(t);
756
756
  }
757
757
  format(e, t, n, r = {}) {
758
758
  let i = t.split(this.formatSeparator);
@@ -761,7 +761,7 @@ var ae = {}, M = (e) => !s(e) && typeof e != "boolean" && typeof e != "number",
761
761
  i[0] = [i[0], ...i.splice(1, e)].join(this.formatSeparator);
762
762
  }
763
763
  return i.reduce((e, t) => {
764
- let { formatName: i, formatOptions: a } = pe(t);
764
+ let { formatName: i, formatOptions: a } = me(t);
765
765
  if (this.formats[i]) {
766
766
  let t = e;
767
767
  try {
@@ -779,9 +779,9 @@ var ae = {}, M = (e) => !s(e) && typeof e != "boolean" && typeof e != "number",
779
779
  return e;
780
780
  }, e);
781
781
  }
782
- }, _e = (e, t) => {
782
+ }, ve = (e, t) => {
783
783
  e.pending[t] !== void 0 && (delete e.pending[t], e.pendingCount--);
784
- }, ve = class extends O {
784
+ }, ye = class extends O {
785
785
  constructor(e, t, n, r = {}) {
786
786
  super(), this.backend = e, this.store = t, this.services = n, this.languageUtils = n.languageUtils, this.options = r, this.logger = D.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = r.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = r.maxRetries >= 0 ? r.maxRetries : 5, this.retryTimeout = r.retryTimeout >= 1 ? r.retryTimeout : 350, this.state = {}, this.queue = [], this.backend?.init?.(n, r.backend, r);
787
787
  }
@@ -811,7 +811,7 @@ var ae = {}, M = (e) => !s(e) && typeof e != "boolean" && typeof e != "number",
811
811
  t && this.emit("failedLoading", i, a, t), !t && n && this.store.addResourceBundle(i, a, n, void 0, void 0, { skipCopy: !0 }), this.state[e] = t ? -1 : 2, t && n && (this.state[e] = 0);
812
812
  let o = {};
813
813
  this.queue.forEach((n) => {
814
- g(n.loaded, [i], a), _e(n, e), t && n.errors.push(t), n.pendingCount === 0 && !n.done && (Object.keys(n.loaded).forEach((e) => {
814
+ g(n.loaded, [i], a), ve(n, e), t && n.errors.push(t), n.pendingCount === 0 && !n.done && (Object.keys(n.loaded).forEach((e) => {
815
815
  o[e] || (o[e] = {});
816
816
  let t = n.loaded[e];
817
817
  t.length && t.forEach((t) => {
@@ -901,7 +901,7 @@ var ae = {}, M = (e) => !s(e) && typeof e != "boolean" && typeof e != "number",
901
901
  !e || !e[0] || this.store.addResource(e[0], t, n, r);
902
902
  }
903
903
  }
904
- }, P = () => ({
904
+ }, N = () => ({
905
905
  debug: !1,
906
906
  initAsync: !0,
907
907
  ns: ["translation"],
@@ -958,13 +958,13 @@ var ae = {}, M = (e) => !s(e) && typeof e != "boolean" && typeof e != "number",
958
958
  skipOnVariables: !0
959
959
  },
960
960
  cacheInBuiltFormats: !0
961
- }), F = (e) => (s(e.ns) && (e.ns = [e.ns]), s(e.fallbackLng) && (e.fallbackLng = [e.fallbackLng]), s(e.fallbackNS) && (e.fallbackNS = [e.fallbackNS]), e.supportedLngs?.indexOf?.("cimode") < 0 && (e.supportedLngs = e.supportedLngs.concat(["cimode"])), typeof e.initImmediate == "boolean" && (e.initAsync = e.initImmediate), e), I = () => {}, ye = (e) => {
961
+ }), P = (e) => (s(e.ns) && (e.ns = [e.ns]), s(e.fallbackLng) && (e.fallbackLng = [e.fallbackLng]), s(e.fallbackNS) && (e.fallbackNS = [e.fallbackNS]), e.supportedLngs?.indexOf?.("cimode") < 0 && (e.supportedLngs = e.supportedLngs.concat(["cimode"])), typeof e.initImmediate == "boolean" && (e.initAsync = e.initImmediate), e), F = () => {}, be = (e) => {
962
962
  Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach((t) => {
963
963
  typeof e[t] == "function" && (e[t] = e[t].bind(e));
964
964
  });
965
- }, L = class e extends O {
965
+ }, I = class e extends O {
966
966
  constructor(e = {}, t) {
967
- if (super(), this.options = F(e), this.services = {}, this.logger = D, this.modules = { external: [] }, ye(this), t && !this.isInitialized && !e.isClone) {
967
+ if (super(), this.options = P(e), this.services = {}, this.logger = D, this.modules = { external: [] }, be(this), t && !this.isInitialized && !e.isClone) {
968
968
  if (!this.options.initAsync) return this.init(e, t), this;
969
969
  setTimeout(() => {
970
970
  this.init(e, t);
@@ -973,11 +973,11 @@ var ae = {}, M = (e) => !s(e) && typeof e != "boolean" && typeof e != "number",
973
973
  }
974
974
  init(e = {}, t) {
975
975
  this.isInitializing = !0, typeof e == "function" && (t = e, e = {}), e.defaultNS == null && e.ns && (s(e.ns) ? e.defaultNS = e.ns : e.ns.indexOf("translation") < 0 && (e.defaultNS = e.ns[0]));
976
- let n = P();
976
+ let n = N();
977
977
  this.options = {
978
978
  ...n,
979
979
  ...this.options,
980
- ...F(e)
980
+ ...P(e)
981
981
  }, this.options.interpolation = {
982
982
  ...n.interpolation,
983
983
  ...this.options.interpolation
@@ -986,22 +986,22 @@ var ae = {}, M = (e) => !s(e) && typeof e != "boolean" && typeof e != "number",
986
986
  if (!this.options.isClone) {
987
987
  this.modules.logger ? D.init(r(this.modules.logger), this.options) : D.init(null, this.options);
988
988
  let e;
989
- e = this.modules.formatter ? this.modules.formatter : ge;
990
- let t = new se(this.options);
989
+ e = this.modules.formatter ? this.modules.formatter : _e;
990
+ let t = new ce(this.options);
991
991
  this.store = new k(this.options.resources, this.options);
992
992
  let i = this.services;
993
- i.logger = D, i.resourceStore = this.store, i.languageUtils = t, i.pluralResolver = new ue(t, {
993
+ i.logger = D, i.resourceStore = this.store, i.languageUtils = t, i.pluralResolver = new de(t, {
994
994
  prepend: this.options.pluralSeparator,
995
995
  simplifyPluralSuffix: this.options.simplifyPluralSuffix
996
- }), this.options.interpolation.format && this.options.interpolation.format !== n.interpolation.format && this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"), e && (!this.options.interpolation.format || this.options.interpolation.format === n.interpolation.format) && (i.formatter = r(e), i.formatter.init && i.formatter.init(i, this.options), this.options.interpolation.format = i.formatter.format.bind(i.formatter)), i.interpolator = new fe(this.options), i.utils = { hasLoadedNamespace: this.hasLoadedNamespace.bind(this) }, i.backendConnector = new ve(r(this.modules.backend), i.resourceStore, i, this.options), i.backendConnector.on("*", (e, ...t) => {
996
+ }), this.options.interpolation.format && this.options.interpolation.format !== n.interpolation.format && this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"), e && (!this.options.interpolation.format || this.options.interpolation.format === n.interpolation.format) && (i.formatter = r(e), i.formatter.init && i.formatter.init(i, this.options), this.options.interpolation.format = i.formatter.format.bind(i.formatter)), i.interpolator = new pe(this.options), i.utils = { hasLoadedNamespace: this.hasLoadedNamespace.bind(this) }, i.backendConnector = new ye(r(this.modules.backend), i.resourceStore, i, this.options), i.backendConnector.on("*", (e, ...t) => {
997
997
  this.emit(e, ...t);
998
- }), this.modules.languageDetector && (i.languageDetector = r(this.modules.languageDetector), i.languageDetector.init && i.languageDetector.init(i, this.options.detection, this.options)), this.modules.i18nFormat && (i.i18nFormat = r(this.modules.i18nFormat), i.i18nFormat.init && i.i18nFormat.init(this)), this.translator = new oe(this.services, this.options), this.translator.on("*", (e, ...t) => {
998
+ }), this.modules.languageDetector && (i.languageDetector = r(this.modules.languageDetector), i.languageDetector.init && i.languageDetector.init(i, this.options.detection, this.options)), this.modules.i18nFormat && (i.i18nFormat = r(this.modules.i18nFormat), i.i18nFormat.init && i.i18nFormat.init(this)), this.translator = new se(this.services, this.options), this.translator.on("*", (e, ...t) => {
999
999
  this.emit(e, ...t);
1000
1000
  }), this.modules.external.forEach((e) => {
1001
1001
  e.init && e.init(this);
1002
1002
  });
1003
1003
  }
1004
- if (this.format = this.options.interpolation.format, t ||= I, this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
1004
+ if (this.format = this.options.interpolation.format, t ||= F, this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
1005
1005
  let e = this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);
1006
1006
  e.length > 0 && e[0] !== "dev" && (this.options.lng = e[0]);
1007
1007
  }
@@ -1029,7 +1029,7 @@ var ae = {}, M = (e) => !s(e) && typeof e != "boolean" && typeof e != "number",
1029
1029
  };
1030
1030
  return this.options.resources || !this.options.initAsync ? a() : setTimeout(a, 0), i;
1031
1031
  }
1032
- loadResources(e, t = I) {
1032
+ loadResources(e, t = F) {
1033
1033
  let n = t, r = s(e) ? e : this.language;
1034
1034
  if (typeof e == "function" && (n = e), !this.options.resources || this.options.partialBundledLanguages) {
1035
1035
  if (r?.toLowerCase() === "cimode" && (!this.options.preload || this.options.preload.length === 0)) return n();
@@ -1045,14 +1045,14 @@ var ae = {}, M = (e) => !s(e) && typeof e != "boolean" && typeof e != "number",
1045
1045
  }
1046
1046
  reloadResources(e, t, n) {
1047
1047
  let r = c();
1048
- return typeof e == "function" && (n = e, e = void 0), typeof t == "function" && (n = t, t = void 0), e ||= this.languages, t ||= this.options.ns, n ||= I, this.services.backendConnector.reload(e, t, (e) => {
1048
+ return typeof e == "function" && (n = e, e = void 0), typeof t == "function" && (n = t, t = void 0), e ||= this.languages, t ||= this.options.ns, n ||= F, this.services.backendConnector.reload(e, t, (e) => {
1049
1049
  r.resolve(), n(e);
1050
1050
  }), r;
1051
1051
  }
1052
1052
  use(e) {
1053
1053
  if (!e) throw Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");
1054
1054
  if (!e.type) throw Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");
1055
- 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" && A.addPostProcessor(e), e.type === "formatter" && (this.modules.formatter = e), e.type === "3rdParty" && this.modules.external.push(e), this;
1055
+ 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" && re.addPostProcessor(e), e.type === "formatter" && (this.modules.formatter = e), e.type === "3rdParty" && this.modules.external.push(e), this;
1056
1056
  }
1057
1057
  setResolvedLanguage(e) {
1058
1058
  if (!(!e || !this.languages) && !(["cimode", "dev"].indexOf(e) > -1)) {
@@ -1088,10 +1088,10 @@ var ae = {}, M = (e) => !s(e) && typeof e != "boolean" && typeof e != "number",
1088
1088
  let a;
1089
1089
  a = typeof t == "object" ? { ...t } : this.options.overloadTranslationOptionHandler([e, t].concat(i)), a.lng = a.lng || r.lng, a.lngs = a.lngs || r.lngs, a.ns = a.ns || r.ns, a.keyPrefix !== "" && (a.keyPrefix = a.keyPrefix || n || r.keyPrefix);
1090
1090
  let o = this.options.keySeparator || ".", s;
1091
- return a.keyPrefix && Array.isArray(e) ? s = e.map((e) => (typeof e == "function" && (e = j(e, {
1091
+ return a.keyPrefix && Array.isArray(e) ? s = e.map((e) => (typeof e == "function" && (e = A(e, {
1092
1092
  ...this.options,
1093
1093
  ...t
1094
- })), `${a.keyPrefix}${o}${e}`)) : (typeof e == "function" && (e = j(e, {
1094
+ })), `${a.keyPrefix}${o}${e}`)) : (typeof e == "function" && (e = A(e, {
1095
1095
  ...this.options,
1096
1096
  ...t
1097
1097
  })), s = a.keyPrefix ? `${a.keyPrefix}${o}${e}` : e), this.t(s, a);
@@ -1147,14 +1147,14 @@ var ae = {}, M = (e) => !s(e) && typeof e != "boolean" && typeof e != "number",
1147
1147
  if (e && e.direction) return e.direction;
1148
1148
  }
1149
1149
  } catch {}
1150
- let t = /* @__PURE__ */ "ar.shu.sqr.ssh.xaa.yhd.yud.aao.abh.abv.acm.acq.acw.acx.acy.adf.ads.aeb.aec.afb.ajp.apc.apd.arb.arq.ars.ary.arz.auz.avl.ayh.ayl.ayn.ayp.bbz.pga.he.iw.ps.pbt.pbu.pst.prp.prd.ug.ur.ydd.yds.yih.ji.yi.hbo.men.xmn.fa.jpr.peo.pes.prs.dv.sam.ckb".split("."), n = this.services?.languageUtils || new se(P());
1150
+ let t = /* @__PURE__ */ "ar.shu.sqr.ssh.xaa.yhd.yud.aao.abh.abv.acm.acq.acw.acx.acy.adf.ads.aeb.aec.afb.ajp.apc.apd.arb.arq.ars.ary.arz.auz.avl.ayh.ayl.ayn.ayp.bbz.pga.he.iw.ps.pbt.pbu.pst.prp.prd.ug.ur.ydd.yds.yih.ji.yi.hbo.men.xmn.fa.jpr.peo.pes.prs.dv.sam.ckb".split("."), n = this.services?.languageUtils || new ce(N());
1151
1151
  return e.toLowerCase().indexOf("-latn") > 1 ? "ltr" : t.indexOf(n.getLanguagePartFromCode(e)) > -1 || e.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr";
1152
1152
  }
1153
1153
  static createInstance(t = {}, n) {
1154
1154
  let r = new e(t, n);
1155
1155
  return r.createInstance = e.createInstance, r;
1156
1156
  }
1157
- cloneInstance(t = {}, n = I) {
1157
+ cloneInstance(t = {}, n = F) {
1158
1158
  let r = t.forkResourceStore;
1159
1159
  r && delete t.forkResourceStore;
1160
1160
  let i = {
@@ -1168,7 +1168,7 @@ var ae = {}, M = (e) => !s(e) && typeof e != "boolean" && typeof e != "number",
1168
1168
  "language"
1169
1169
  ].forEach((e) => {
1170
1170
  a[e] = this[e];
1171
- }), a.services = { ...this.services }, a.services.utils = { hasLoadedNamespace: a.hasLoadedNamespace.bind(a) }, r && (a.store = new k(Object.keys(this.store.data).reduce((e, t) => (e[t] = { ...this.store.data[t] }, e[t] = Object.keys(e[t]).reduce((n, r) => (n[r] = { ...e[t][r] }, n), e[t]), e), {}), i), a.services.resourceStore = a.store), t.interpolation && (a.services.interpolator = new fe(i)), a.translator = new oe(a.services, i), a.translator.on("*", (e, ...t) => {
1171
+ }), a.services = { ...this.services }, a.services.utils = { hasLoadedNamespace: a.hasLoadedNamespace.bind(a) }, r && (a.store = new k(Object.keys(this.store.data).reduce((e, t) => (e[t] = { ...this.store.data[t] }, e[t] = Object.keys(e[t]).reduce((n, r) => (n[r] = { ...e[t][r] }, n), e[t]), e), {}), i), a.services.resourceStore = a.store), t.interpolation && (a.services.interpolator = new pe(i)), a.translator = new se(a.services, i), a.translator.on("*", (e, ...t) => {
1172
1172
  a.emit(e, ...t);
1173
1173
  }), a.init(i, n), a.translator.options = i, a.translator.backendConnector.services.utils = { hasLoadedNamespace: a.hasLoadedNamespace.bind(a) }, a;
1174
1174
  }
@@ -1182,16 +1182,16 @@ var ae = {}, M = (e) => !s(e) && typeof e != "boolean" && typeof e != "number",
1182
1182
  };
1183
1183
  }
1184
1184
  }.createInstance();
1185
- L.createInstance, L.dir, L.init, L.loadResources, L.reloadResources, L.use, L.changeLanguage, L.getFixedT, L.t, L.exists, L.setDefaultNamespace, L.hasLoadedNamespace, L.loadNamespaces, L.loadLanguages;
1185
+ I.createInstance, I.dir, I.init, I.loadResources, I.reloadResources, I.use, I.changeLanguage, I.getFixedT, I.t, I.exists, I.setDefaultNamespace, I.hasLoadedNamespace, I.loadNamespaces, I.loadLanguages;
1186
1186
  //#endregion
1187
1187
  //#region ../../node_modules/.pnpm/i18next-browser-languagedetector@8.2.0/node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js
1188
- var { slice: be, forEach: xe } = [];
1189
- function Se(e) {
1190
- return xe.call(be.call(arguments, 1), (t) => {
1188
+ var { slice: xe, forEach: Se } = [];
1189
+ function Ce(e) {
1190
+ return Se.call(xe.call(arguments, 1), (t) => {
1191
1191
  if (t) for (let n in t) e[n] === void 0 && (e[n] = t[n]);
1192
1192
  }), e;
1193
1193
  }
1194
- function Ce(e) {
1194
+ function we(e) {
1195
1195
  return typeof e == "string" ? [
1196
1196
  /<\s*script.*?>/i,
1197
1197
  /<\s*\/\s*script\s*>/i,
@@ -1208,7 +1208,7 @@ function Ce(e) {
1208
1208
  /innerHTML/i
1209
1209
  ].some((t) => t.test(e)) : !1;
1210
1210
  }
1211
- var R = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, we = function(e, t) {
1211
+ var L = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Te = function(e, t) {
1212
1212
  let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : { path: "/" }, r = `${e}=${encodeURIComponent(t)}`;
1213
1213
  if (n.maxAge > 0) {
1214
1214
  let e = n.maxAge - 0;
@@ -1216,11 +1216,11 @@ var R = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, we = function(e, t) {
1216
1216
  r += `; Max-Age=${Math.floor(e)}`;
1217
1217
  }
1218
1218
  if (n.domain) {
1219
- if (!R.test(n.domain)) throw TypeError("option domain is invalid");
1219
+ if (!L.test(n.domain)) throw TypeError("option domain is invalid");
1220
1220
  r += `; Domain=${n.domain}`;
1221
1221
  }
1222
1222
  if (n.path) {
1223
- if (!R.test(n.path)) throw TypeError("option path is invalid");
1223
+ if (!L.test(n.path)) throw TypeError("option path is invalid");
1224
1224
  r += `; Path=${n.path}`;
1225
1225
  }
1226
1226
  if (n.expires) {
@@ -1243,13 +1243,13 @@ var R = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, we = function(e, t) {
1243
1243
  default: throw TypeError("option sameSite is invalid");
1244
1244
  }
1245
1245
  return n.partitioned && (r += "; Partitioned"), r;
1246
- }, z = {
1246
+ }, Ee = {
1247
1247
  create(e, t, n, r) {
1248
1248
  let i = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : {
1249
1249
  path: "/",
1250
1250
  sameSite: "strict"
1251
1251
  };
1252
- n && (i.expires = /* @__PURE__ */ new Date(), i.expires.setTime(i.expires.getTime() + n * 60 * 1e3)), r && (i.domain = r), document.cookie = we(e, t, i);
1252
+ n && (i.expires = /* @__PURE__ */ new Date(), i.expires.setTime(i.expires.getTime() + n * 60 * 1e3)), r && (i.domain = r), document.cookie = Te(e, t, i);
1253
1253
  },
1254
1254
  read(e) {
1255
1255
  let t = `${e}=`, n = document.cookie.split(";");
@@ -1263,17 +1263,17 @@ var R = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, we = function(e, t) {
1263
1263
  remove(e, t) {
1264
1264
  this.create(e, "", -1, t);
1265
1265
  }
1266
- }, Te = {
1266
+ }, De = {
1267
1267
  name: "cookie",
1268
1268
  lookup(e) {
1269
1269
  let { lookupCookie: t } = e;
1270
- if (t && typeof document < "u") return z.read(t) || void 0;
1270
+ if (t && typeof document < "u") return Ee.read(t) || void 0;
1271
1271
  },
1272
1272
  cacheUserLanguage(e, t) {
1273
1273
  let { lookupCookie: n, cookieMinutes: r, cookieDomain: i, cookieOptions: a } = t;
1274
- n && typeof document < "u" && z.create(n, e, r, i, a);
1274
+ n && typeof document < "u" && Ee.create(n, e, r, i, a);
1275
1275
  }
1276
- }, Ee = {
1276
+ }, Oe = {
1277
1277
  name: "querystring",
1278
1278
  lookup(e) {
1279
1279
  let { lookupQuerystring: t } = e, n;
@@ -1288,7 +1288,7 @@ var R = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, we = function(e, t) {
1288
1288
  }
1289
1289
  return n;
1290
1290
  }
1291
- }, De = {
1291
+ }, ke = {
1292
1292
  name: "hash",
1293
1293
  lookup(e) {
1294
1294
  let { lookupHash: t, lookupFromHashIndex: n } = e, r;
@@ -1312,47 +1312,47 @@ var R = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, we = function(e, t) {
1312
1312
  }
1313
1313
  return r;
1314
1314
  }
1315
- }, B = null, Oe = () => {
1316
- if (B !== null) return B;
1315
+ }, R = null, Ae = () => {
1316
+ if (R !== null) return R;
1317
1317
  try {
1318
- if (B = typeof window < "u" && window.localStorage !== null, !B) return !1;
1318
+ if (R = typeof window < "u" && window.localStorage !== null, !R) return !1;
1319
1319
  let e = "i18next.translate.boo";
1320
1320
  window.localStorage.setItem(e, "foo"), window.localStorage.removeItem(e);
1321
1321
  } catch {
1322
- B = !1;
1322
+ R = !1;
1323
1323
  }
1324
- return B;
1325
- }, ke = {
1324
+ return R;
1325
+ }, je = {
1326
1326
  name: "localStorage",
1327
1327
  lookup(e) {
1328
1328
  let { lookupLocalStorage: t } = e;
1329
- if (t && Oe()) return window.localStorage.getItem(t) || void 0;
1329
+ if (t && Ae()) return window.localStorage.getItem(t) || void 0;
1330
1330
  },
1331
1331
  cacheUserLanguage(e, t) {
1332
1332
  let { lookupLocalStorage: n } = t;
1333
- n && Oe() && window.localStorage.setItem(n, e);
1333
+ n && Ae() && window.localStorage.setItem(n, e);
1334
1334
  }
1335
- }, V = null, H = () => {
1336
- if (V !== null) return V;
1335
+ }, z = null, B = () => {
1336
+ if (z !== null) return z;
1337
1337
  try {
1338
- if (V = typeof window < "u" && window.sessionStorage !== null, !V) return !1;
1338
+ if (z = typeof window < "u" && window.sessionStorage !== null, !z) return !1;
1339
1339
  let e = "i18next.translate.boo";
1340
1340
  window.sessionStorage.setItem(e, "foo"), window.sessionStorage.removeItem(e);
1341
1341
  } catch {
1342
- V = !1;
1342
+ z = !1;
1343
1343
  }
1344
- return V;
1345
- }, Ae = {
1344
+ return z;
1345
+ }, Me = {
1346
1346
  name: "sessionStorage",
1347
1347
  lookup(e) {
1348
1348
  let { lookupSessionStorage: t } = e;
1349
- if (t && H()) return window.sessionStorage.getItem(t) || void 0;
1349
+ if (t && B()) return window.sessionStorage.getItem(t) || void 0;
1350
1350
  },
1351
1351
  cacheUserLanguage(e, t) {
1352
1352
  let { lookupSessionStorage: n } = t;
1353
- n && H() && window.sessionStorage.setItem(n, e);
1353
+ n && B() && window.sessionStorage.setItem(n, e);
1354
1354
  }
1355
- }, je = {
1355
+ }, Ne = {
1356
1356
  name: "navigator",
1357
1357
  lookup(e) {
1358
1358
  let t = [];
@@ -1363,13 +1363,13 @@ var R = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, we = function(e, t) {
1363
1363
  }
1364
1364
  return t.length > 0 ? t : void 0;
1365
1365
  }
1366
- }, Me = {
1366
+ }, Pe = {
1367
1367
  name: "htmlTag",
1368
1368
  lookup(e) {
1369
1369
  let { htmlTag: t } = e, n, r = t || (typeof document < "u" ? document.documentElement : null);
1370
1370
  return r && typeof r.getAttribute == "function" && (n = r.getAttribute("lang")), n;
1371
1371
  }
1372
- }, Ne = {
1372
+ }, Fe = {
1373
1373
  name: "path",
1374
1374
  lookup(e) {
1375
1375
  let { lookupFromPathIndex: t } = e;
@@ -1377,17 +1377,17 @@ var R = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, we = function(e, t) {
1377
1377
  let n = window.location.pathname.match(/\/([a-zA-Z-]*)/g);
1378
1378
  if (Array.isArray(n)) return n[typeof t == "number" ? t : 0]?.replace("/", "");
1379
1379
  }
1380
- }, Pe = {
1380
+ }, Ie = {
1381
1381
  name: "subdomain",
1382
1382
  lookup(e) {
1383
1383
  let { lookupFromSubdomainIndex: t } = e, n = typeof t == "number" ? t + 1 : 1, r = typeof window < "u" && window.location?.hostname?.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);
1384
1384
  if (r) return r[n];
1385
1385
  }
1386
- }, Fe = !1;
1386
+ }, Le = !1;
1387
1387
  try {
1388
- document.cookie, Fe = !0;
1388
+ document.cookie, Le = !0;
1389
1389
  } catch {}
1390
- var Ie = [
1390
+ var Re = [
1391
1391
  "querystring",
1392
1392
  "cookie",
1393
1393
  "localStorage",
@@ -1395,9 +1395,9 @@ var Ie = [
1395
1395
  "navigator",
1396
1396
  "htmlTag"
1397
1397
  ];
1398
- Fe || Ie.splice(1, 1);
1399
- var Le = () => ({
1400
- order: Ie,
1398
+ Le || Re.splice(1, 1);
1399
+ var ze = () => ({
1400
+ order: Re,
1401
1401
  lookupQuerystring: "lng",
1402
1402
  lookupCookie: "i18next",
1403
1403
  lookupLocalStorage: "i18nextLng",
@@ -1405,14 +1405,14 @@ var Le = () => ({
1405
1405
  caches: ["localStorage"],
1406
1406
  excludeCacheFor: ["cimode"],
1407
1407
  convertDetectedLanguage: (e) => e
1408
- }), Re = class {
1408
+ }), Be = class {
1409
1409
  constructor(e) {
1410
1410
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
1411
1411
  this.type = "languageDetector", this.detectors = {}, this.init(e, t);
1412
1412
  }
1413
1413
  init() {
1414
1414
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : { languageUtils: {} }, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
1415
- this.services = e, this.options = Se(t, this.options || {}, Le()), typeof this.options.convertDetectedLanguage == "string" && this.options.convertDetectedLanguage.indexOf("15897") > -1 && (this.options.convertDetectedLanguage = (e) => e.replace("-", "_")), this.options.lookupFromUrlIndex && (this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex), this.i18nOptions = n, this.addDetector(Te), this.addDetector(Ee), this.addDetector(ke), this.addDetector(Ae), this.addDetector(je), this.addDetector(Me), this.addDetector(Ne), this.addDetector(Pe), this.addDetector(De);
1415
+ this.services = e, this.options = Ce(t, this.options || {}, ze()), typeof this.options.convertDetectedLanguage == "string" && this.options.convertDetectedLanguage.indexOf("15897") > -1 && (this.options.convertDetectedLanguage = (e) => e.replace("-", "_")), this.options.lookupFromUrlIndex && (this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex), this.i18nOptions = n, this.addDetector(De), this.addDetector(Oe), this.addDetector(je), this.addDetector(Me), this.addDetector(Ne), this.addDetector(Pe), this.addDetector(Fe), this.addDetector(Ie), this.addDetector(ke);
1416
1416
  }
1417
1417
  addDetector(e) {
1418
1418
  return this.detectors[e.name] = e, this;
@@ -1424,7 +1424,7 @@ var Le = () => ({
1424
1424
  let n = this.detectors[e].lookup(this.options);
1425
1425
  n && typeof n == "string" && (n = [n]), n && (t = t.concat(n));
1426
1426
  }
1427
- }), t = t.filter((e) => e != null && !Ce(e)).map((e) => this.options.convertDetectedLanguage(e)), this.services && this.services.languageUtils && this.services.languageUtils.getBestMatchFromCodes ? t : t.length > 0 ? t[0] : null;
1427
+ }), t = t.filter((e) => e != null && !we(e)).map((e) => this.options.convertDetectedLanguage(e)), this.services && this.services.languageUtils && this.services.languageUtils.getBestMatchFromCodes ? t : t.length > 0 ? t[0] : null;
1428
1428
  }
1429
1429
  cacheUserLanguage(e) {
1430
1430
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : this.options.caches;
@@ -1433,31 +1433,31 @@ var Le = () => ({
1433
1433
  }));
1434
1434
  }
1435
1435
  };
1436
- Re.type = "languageDetector";
1436
+ Be.type = "languageDetector";
1437
1437
  //#endregion
1438
1438
  //#region ../../node_modules/.pnpm/i18next-http-backend@3.0.2/node_modules/i18next-http-backend/esm/utils.js
1439
- function U(e) {
1439
+ function V(e) {
1440
1440
  "@babel/helpers - typeof";
1441
- return U = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
1441
+ return V = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
1442
1442
  return typeof e;
1443
1443
  } : function(e) {
1444
1444
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
1445
- }, U(e);
1445
+ }, V(e);
1446
1446
  }
1447
- var ze = [];
1448
- ze.forEach, ze.slice;
1449
- function Be() {
1450
- return typeof XMLHttpRequest == "function" || (typeof XMLHttpRequest > "u" ? "undefined" : U(XMLHttpRequest)) === "object";
1447
+ var Ve = [];
1448
+ Ve.forEach, Ve.slice;
1449
+ function He() {
1450
+ return typeof XMLHttpRequest == "function" || (typeof XMLHttpRequest > "u" ? "undefined" : V(XMLHttpRequest)) === "object";
1451
1451
  }
1452
- function Ve(e) {
1452
+ function Ue(e) {
1453
1453
  return !!e && typeof e.then == "function";
1454
1454
  }
1455
- function He(e) {
1456
- return Ve(e) ? e : Promise.resolve(e);
1455
+ function We(e) {
1456
+ return Ue(e) ? e : Promise.resolve(e);
1457
1457
  }
1458
1458
  //#endregion
1459
1459
  //#region ../../node_modules/.pnpm/i18next-http-backend@3.0.2/node_modules/i18next-http-backend/esm/request.js
1460
- function Ue(e, t) {
1460
+ function Ge(e, t) {
1461
1461
  var n = Object.keys(e);
1462
1462
  if (Object.getOwnPropertySymbols) {
1463
1463
  var r = Object.getOwnPropertySymbols(e);
@@ -1467,66 +1467,66 @@ function Ue(e, t) {
1467
1467
  }
1468
1468
  return n;
1469
1469
  }
1470
- function We(e) {
1470
+ function Ke(e) {
1471
1471
  for (var t = 1; t < arguments.length; t++) {
1472
1472
  var n = arguments[t] == null ? {} : arguments[t];
1473
- t % 2 ? Ue(Object(n), !0).forEach(function(t) {
1474
- Ge(e, t, n[t]);
1475
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Ue(Object(n)).forEach(function(t) {
1473
+ t % 2 ? Ge(Object(n), !0).forEach(function(t) {
1474
+ qe(e, t, n[t]);
1475
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Ge(Object(n)).forEach(function(t) {
1476
1476
  Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
1477
1477
  });
1478
1478
  }
1479
1479
  return e;
1480
1480
  }
1481
- function Ge(e, t, n) {
1482
- return (t = Ke(t)) in e ? Object.defineProperty(e, t, {
1481
+ function qe(e, t, n) {
1482
+ return (t = Je(t)) in e ? Object.defineProperty(e, t, {
1483
1483
  value: n,
1484
1484
  enumerable: !0,
1485
1485
  configurable: !0,
1486
1486
  writable: !0
1487
1487
  }) : e[t] = n, e;
1488
1488
  }
1489
- function Ke(e) {
1490
- var t = qe(e, "string");
1491
- return W(t) == "symbol" ? t : t + "";
1489
+ function Je(e) {
1490
+ var t = Ye(e, "string");
1491
+ return H(t) == "symbol" ? t : t + "";
1492
1492
  }
1493
- function qe(e, t) {
1494
- if (W(e) != "object" || !e) return e;
1493
+ function Ye(e, t) {
1494
+ if (H(e) != "object" || !e) return e;
1495
1495
  var n = e[Symbol.toPrimitive];
1496
1496
  if (n !== void 0) {
1497
1497
  var r = n.call(e, t || "default");
1498
- if (W(r) != "object") return r;
1498
+ if (H(r) != "object") return r;
1499
1499
  throw TypeError("@@toPrimitive must return a primitive value.");
1500
1500
  }
1501
1501
  return (t === "string" ? String : Number)(e);
1502
1502
  }
1503
- function W(e) {
1503
+ function H(e) {
1504
1504
  "@babel/helpers - typeof";
1505
- return W = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
1505
+ return H = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
1506
1506
  return typeof e;
1507
1507
  } : function(e) {
1508
1508
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
1509
- }, W(e);
1509
+ }, H(e);
1510
1510
  }
1511
- var G = typeof fetch == "function" ? fetch : void 0;
1512
- typeof global < "u" && global.fetch ? G = global.fetch : typeof window < "u" && window.fetch && (G = window.fetch);
1513
- var K;
1514
- Be() && (typeof global < "u" && global.XMLHttpRequest ? K = global.XMLHttpRequest : typeof window < "u" && window.XMLHttpRequest && (K = window.XMLHttpRequest));
1515
- var q;
1516
- if (typeof ActiveXObject == "function" && (typeof global < "u" && global.ActiveXObject ? q = global.ActiveXObject : typeof window < "u" && window.ActiveXObject && (q = window.ActiveXObject)), typeof G != "function" && (G = void 0), !G && !K && !q) try {
1511
+ var U = typeof fetch == "function" ? fetch : void 0;
1512
+ typeof global < "u" && global.fetch ? U = global.fetch : typeof window < "u" && window.fetch && (U = window.fetch);
1513
+ var W;
1514
+ He() && (typeof global < "u" && global.XMLHttpRequest ? W = global.XMLHttpRequest : typeof window < "u" && window.XMLHttpRequest && (W = window.XMLHttpRequest));
1515
+ var G;
1516
+ if (typeof ActiveXObject == "function" && (typeof global < "u" && global.ActiveXObject ? G = global.ActiveXObject : typeof window < "u" && window.ActiveXObject && (G = window.ActiveXObject)), typeof U != "function" && (U = void 0), !U && !W && !G) try {
1517
1517
  import("./browser-ponyfill-jOkuz57z.js").then((t) => /* @__PURE__ */ e(t.default, 1)).then(function(e) {
1518
- G = e.default;
1518
+ U = e.default;
1519
1519
  }).catch(function() {});
1520
1520
  } catch {}
1521
- var J = function(e, t) {
1522
- if (t && W(t) === "object") {
1521
+ var K = function(e, t) {
1522
+ if (t && H(t) === "object") {
1523
1523
  var n = "";
1524
1524
  for (var r in t) n += "&" + encodeURIComponent(r) + "=" + encodeURIComponent(t[r]);
1525
1525
  if (!n) return e;
1526
1526
  e = e + (e.indexOf("?") === -1 ? "?" : "&") + n.slice(1);
1527
1527
  }
1528
1528
  return e;
1529
- }, Je = function(e, t, n, r) {
1529
+ }, Xe = function(e, t, n, r) {
1530
1530
  var i = function(e) {
1531
1531
  if (!e.ok) return n(e.statusText || "Error", { status: e.status });
1532
1532
  e.text().then(function(t) {
@@ -1543,32 +1543,32 @@ var J = function(e, t) {
1543
1543
  return;
1544
1544
  }
1545
1545
  }
1546
- typeof fetch == "function" ? fetch(e, t).then(i).catch(n) : G(e, t).then(i).catch(n);
1547
- }, Ye = !1, Xe = function(e, t, n, r) {
1548
- e.queryStringParams && (t = J(t, e.queryStringParams));
1549
- var i = We({}, typeof e.customHeaders == "function" ? e.customHeaders() : e.customHeaders);
1546
+ typeof fetch == "function" ? fetch(e, t).then(i).catch(n) : U(e, t).then(i).catch(n);
1547
+ }, Ze = !1, Qe = function(e, t, n, r) {
1548
+ e.queryStringParams && (t = K(t, e.queryStringParams));
1549
+ var i = Ke({}, typeof e.customHeaders == "function" ? e.customHeaders() : e.customHeaders);
1550
1550
  typeof window > "u" && typeof global < "u" && global.process !== void 0 && global.process.versions && global.process.versions.node && (i["User-Agent"] = `i18next-http-backend (node/${global.process.version}; ${global.process.platform} ${global.process.arch})`), n && (i["Content-Type"] = "application/json");
1551
- var a = typeof e.requestOptions == "function" ? e.requestOptions(n) : e.requestOptions, o = We({
1551
+ var a = typeof e.requestOptions == "function" ? e.requestOptions(n) : e.requestOptions, o = Ke({
1552
1552
  method: n ? "POST" : "GET",
1553
1553
  body: n ? e.stringify(n) : void 0,
1554
1554
  headers: i
1555
- }, Ye ? {} : a), s = typeof e.alternateFetch == "function" && e.alternateFetch.length >= 1 ? e.alternateFetch : void 0;
1555
+ }, Ze ? {} : a), s = typeof e.alternateFetch == "function" && e.alternateFetch.length >= 1 ? e.alternateFetch : void 0;
1556
1556
  try {
1557
- Je(t, o, r, s);
1557
+ Xe(t, o, r, s);
1558
1558
  } catch (e) {
1559
1559
  if (!a || Object.keys(a).length === 0 || !e.message || e.message.indexOf("not implemented") < 0) return r(e);
1560
1560
  try {
1561
1561
  Object.keys(a).forEach(function(e) {
1562
1562
  delete o[e];
1563
- }), Je(t, o, r, s), Ye = !0;
1563
+ }), Xe(t, o, r, s), Ze = !0;
1564
1564
  } catch (e) {
1565
1565
  r(e);
1566
1566
  }
1567
1567
  }
1568
- }, Ze = function(e, t, n, r) {
1569
- n && W(n) === "object" && (n = J("", n).slice(1)), e.queryStringParams && (t = J(t, e.queryStringParams));
1568
+ }, $e = function(e, t, n, r) {
1569
+ n && H(n) === "object" && (n = K("", n).slice(1)), e.queryStringParams && (t = K(t, e.queryStringParams));
1570
1570
  try {
1571
- var i = K ? new K() : new q("MSXML2.XMLHTTP.3.0");
1571
+ var i = W ? new W() : new G("MSXML2.XMLHTTP.3.0");
1572
1572
  i.open(n ? "POST" : "GET", t, 1), e.crossDomain || i.setRequestHeader("X-Requested-With", "XMLHttpRequest"), i.withCredentials = !!e.withCredentials, n && i.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"), i.overrideMimeType && i.overrideMimeType("application/json");
1573
1573
  var a = e.customHeaders;
1574
1574
  if (a = typeof a == "function" ? a() : a, a) for (var o in a) i.setRequestHeader(o, a[o]);
@@ -1581,22 +1581,22 @@ var J = function(e, t) {
1581
1581
  } catch (e) {
1582
1582
  console && console.log(e);
1583
1583
  }
1584
- }, Qe = function(e, t, n, r) {
1585
- if (typeof n == "function" && (r = n, n = void 0), r ||= function() {}, G && t.indexOf("file:") !== 0) return Xe(e, t, n, r);
1586
- if (Be() || typeof ActiveXObject == "function") return Ze(e, t, n, r);
1584
+ }, et = function(e, t, n, r) {
1585
+ if (typeof n == "function" && (r = n, n = void 0), r ||= function() {}, U && t.indexOf("file:") !== 0) return Qe(e, t, n, r);
1586
+ if (He() || typeof ActiveXObject == "function") return $e(e, t, n, r);
1587
1587
  r(/* @__PURE__ */ Error("No fetch and no xhr implementation found!"));
1588
1588
  };
1589
1589
  //#endregion
1590
1590
  //#region ../../node_modules/.pnpm/i18next-http-backend@3.0.2/node_modules/i18next-http-backend/esm/index.js
1591
- function Y(e) {
1591
+ function q(e) {
1592
1592
  "@babel/helpers - typeof";
1593
- return Y = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
1593
+ return q = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
1594
1594
  return typeof e;
1595
1595
  } : function(e) {
1596
1596
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
1597
- }, Y(e);
1597
+ }, q(e);
1598
1598
  }
1599
- function $e(e, t) {
1599
+ function tt(e, t) {
1600
1600
  var n = Object.keys(e);
1601
1601
  if (Object.getOwnPropertySymbols) {
1602
1602
  var r = Object.getOwnPropertySymbols(e);
@@ -1606,52 +1606,52 @@ function $e(e, t) {
1606
1606
  }
1607
1607
  return n;
1608
1608
  }
1609
- function X(e) {
1609
+ function J(e) {
1610
1610
  for (var t = 1; t < arguments.length; t++) {
1611
1611
  var n = arguments[t] == null ? {} : arguments[t];
1612
- t % 2 ? $e(Object(n), !0).forEach(function(t) {
1613
- rt(e, t, n[t]);
1614
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : $e(Object(n)).forEach(function(t) {
1612
+ t % 2 ? tt(Object(n), !0).forEach(function(t) {
1613
+ at(e, t, n[t]);
1614
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : tt(Object(n)).forEach(function(t) {
1615
1615
  Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
1616
1616
  });
1617
1617
  }
1618
1618
  return e;
1619
1619
  }
1620
- function et(e, t) {
1620
+ function nt(e, t) {
1621
1621
  if (!(e instanceof t)) throw TypeError("Cannot call a class as a function");
1622
1622
  }
1623
- function tt(e, t) {
1623
+ function rt(e, t) {
1624
1624
  for (var n = 0; n < t.length; n++) {
1625
1625
  var r = t[n];
1626
- r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, it(r.key), r);
1626
+ r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, ot(r.key), r);
1627
1627
  }
1628
1628
  }
1629
- function nt(e, t, n) {
1630
- return t && tt(e.prototype, t), n && tt(e, n), Object.defineProperty(e, "prototype", { writable: !1 }), e;
1629
+ function it(e, t, n) {
1630
+ return t && rt(e.prototype, t), n && rt(e, n), Object.defineProperty(e, "prototype", { writable: !1 }), e;
1631
1631
  }
1632
- function rt(e, t, n) {
1633
- return (t = it(t)) in e ? Object.defineProperty(e, t, {
1632
+ function at(e, t, n) {
1633
+ return (t = ot(t)) in e ? Object.defineProperty(e, t, {
1634
1634
  value: n,
1635
1635
  enumerable: !0,
1636
1636
  configurable: !0,
1637
1637
  writable: !0
1638
1638
  }) : e[t] = n, e;
1639
1639
  }
1640
- function it(e) {
1641
- var t = at(e, "string");
1642
- return Y(t) == "symbol" ? t : t + "";
1640
+ function ot(e) {
1641
+ var t = st(e, "string");
1642
+ return q(t) == "symbol" ? t : t + "";
1643
1643
  }
1644
- function at(e, t) {
1645
- if (Y(e) != "object" || !e) return e;
1644
+ function st(e, t) {
1645
+ if (q(e) != "object" || !e) return e;
1646
1646
  var n = e[Symbol.toPrimitive];
1647
1647
  if (n !== void 0) {
1648
1648
  var r = n.call(e, t || "default");
1649
- if (Y(r) != "object") return r;
1649
+ if (q(r) != "object") return r;
1650
1650
  throw TypeError("@@toPrimitive must return a primitive value.");
1651
1651
  }
1652
1652
  return (t === "string" ? String : Number)(e);
1653
1653
  }
1654
- var ot = function() {
1654
+ var ct = function() {
1655
1655
  return {
1656
1656
  loadPath: "/locales/{{lng}}/{{ns}}.json",
1657
1657
  addPath: "/locales/add/{{lng}}/{{ns}}",
@@ -1660,10 +1660,10 @@ var ot = function() {
1660
1660
  },
1661
1661
  stringify: JSON.stringify,
1662
1662
  parsePayload: function(e, t, n) {
1663
- return rt({}, t, n || "");
1663
+ return at({}, t, n || "");
1664
1664
  },
1665
1665
  parseLoadPayload: function(e, t) {},
1666
- request: Qe,
1666
+ request: et,
1667
1667
  reloadInterval: typeof window < "u" ? !1 : 3600 * 1e3,
1668
1668
  customHeaders: {},
1669
1669
  queryStringParams: {},
@@ -1676,21 +1676,21 @@ var ot = function() {
1676
1676
  cache: "default"
1677
1677
  }
1678
1678
  };
1679
- }, st = function() {
1679
+ }, lt = function() {
1680
1680
  function e(t) {
1681
1681
  var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
1682
- et(this, e), this.services = t, this.options = n, this.allOptions = r, this.type = "backend", this.init(t, n, r);
1682
+ nt(this, e), this.services = t, this.options = n, this.allOptions = r, this.type = "backend", this.init(t, n, r);
1683
1683
  }
1684
- return nt(e, [
1684
+ return it(e, [
1685
1685
  {
1686
1686
  key: "init",
1687
1687
  value: function(e) {
1688
1688
  var t = this, n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
1689
- if (this.services = e, this.options = X(X(X({}, ot()), this.options || {}), n), this.allOptions = r, this.services && this.options.reloadInterval) {
1689
+ if (this.services = e, this.options = J(J(J({}, ct()), this.options || {}), n), this.allOptions = r, this.services && this.options.reloadInterval) {
1690
1690
  var i = setInterval(function() {
1691
1691
  return t.reload();
1692
1692
  }, this.options.reloadInterval);
1693
- Y(i) === "object" && typeof i.unref == "function" && i.unref();
1693
+ q(i) === "object" && typeof i.unref == "function" && i.unref();
1694
1694
  }
1695
1695
  }
1696
1696
  },
@@ -1710,7 +1710,7 @@ var ot = function() {
1710
1710
  key: "_readAny",
1711
1711
  value: function(e, t, n, r, i) {
1712
1712
  var a = this, o = this.options.loadPath;
1713
- typeof this.options.loadPath == "function" && (o = this.options.loadPath(e, n)), o = He(o), o.then(function(o) {
1713
+ typeof this.options.loadPath == "function" && (o = this.options.loadPath(e, n)), o = We(o), o.then(function(o) {
1714
1714
  if (!o) return i(null, {});
1715
1715
  var s = a.services.interpolator.interpolate(o, {
1716
1716
  lng: e.join("+"),
@@ -1795,10 +1795,10 @@ var ot = function() {
1795
1795
  }
1796
1796
  ]);
1797
1797
  }();
1798
- st.type = "backend";
1798
+ lt.type = "backend";
1799
1799
  //#endregion
1800
1800
  //#region src/i18n/languageMetadata.ts
1801
- var Z = {
1801
+ var Y = {
1802
1802
  en: { emoji: "🇺🇸" },
1803
1803
  "en-DG": { emoji: "🇬🇧" },
1804
1804
  es: { emoji: "🇪🇸" },
@@ -1882,44 +1882,51 @@ var Z = {
1882
1882
  ur: { emoji: "🇵🇰" },
1883
1883
  uz: { emoji: "🇺🇿" },
1884
1884
  hr: { emoji: "🇭🇷" }
1885
- }, Q = Object.keys(Z);
1886
- function ct(e) {
1887
- let t = Z[e];
1888
- return t ? t.emoji : Z[e.split("-")[0] || e]?.emoji ?? "🌐";
1885
+ }, X = Object.keys(Y);
1886
+ function ut(e) {
1887
+ let t = Y[e];
1888
+ return t ? t.emoji : Y[e.split("-")[0] || e]?.emoji ?? "🌐";
1889
1889
  }
1890
1890
  //#endregion
1891
1891
  //#region src/i18n/setup.ts
1892
- var lt = "incode:i18n:language", ut = (e) => {
1892
+ var Z = "incode:i18n:language", dt = (e) => {
1893
1893
  let t = e.replace(/([A-Z])/g, " $1");
1894
1894
  return t.charAt(0).toUpperCase() + t.slice(1);
1895
- }, dt = (e) => {
1895
+ }, ft = (e) => {
1896
1896
  let t = e.split("."), n = t[t.length - 1];
1897
- return ut(n || "missing key");
1898
- }, ft = new Re();
1899
- ft.addDetector({
1897
+ return dt(n || "missing key");
1898
+ }, pt = new Be();
1899
+ pt.addDetector({
1900
1900
  name: "navigatorOnlyLanguage",
1901
1901
  lookup() {
1902
1902
  if (typeof navigator > "u") return "en";
1903
1903
  let e = navigator.language;
1904
- return Q.includes(e) ? e : e.split("-")[0];
1904
+ return X.includes(e) ? e : e.split("-")[0];
1905
1905
  }
1906
1906
  });
1907
- var pt = "https://api.i18nexus.com/project_resources/translations/{{lng}}/{{ns}}.json?api_key=cg41dUINoxdp8BaHDQLJhA";
1908
- function mt(e, t) {
1907
+ var mt = "https://api.i18nexus.com/project_resources/translations/{{lng}}/{{ns}}.json?api_key=cg41dUINoxdp8BaHDQLJhA";
1908
+ function ht(e, t) {
1909
1909
  for (let [n, r] of Object.entries(t)) r && e.addResourceBundle(n, "default", r, !0, !0);
1910
1910
  }
1911
- function ht(e = {}) {
1912
- let { lang: t, translations: n } = e, r = L.createInstance();
1913
- return r.use(st).use(ft).init({
1914
- lng: t,
1911
+ function gt() {
1912
+ try {
1913
+ return typeof localStorage > "u" ? null : localStorage.getItem(Z);
1914
+ } catch {
1915
+ return null;
1916
+ }
1917
+ }
1918
+ function _t(e = {}) {
1919
+ let { lang: t, translations: n } = e, r = I.createInstance(), i = gt();
1920
+ return r.use(lt).use(pt).init({
1921
+ lng: i ?? t,
1915
1922
  fallbackLng: "en",
1916
- supportedLngs: Q,
1923
+ supportedLngs: X,
1917
1924
  ns: ["default"],
1918
1925
  defaultNS: "default",
1919
1926
  partialBundledLanguages: !0,
1920
1927
  keySeparator: ".",
1921
1928
  interpolation: { escapeValue: !1 },
1922
- backend: { loadPath: pt },
1929
+ backend: { loadPath: mt },
1923
1930
  detection: {
1924
1931
  order: [
1925
1932
  "querystring",
@@ -1932,28 +1939,28 @@ function ht(e = {}) {
1932
1939
  "subdomain"
1933
1940
  ],
1934
1941
  lookupQuerystring: "lang",
1935
- lookupLocalStorage: lt,
1936
- lookupSessionStorage: lt,
1942
+ lookupLocalStorage: Z,
1943
+ lookupSessionStorage: Z,
1937
1944
  caches: ["localStorage"]
1938
1945
  },
1939
1946
  initImmediate: !1,
1940
- parseMissingKeyHandler: dt
1941
- }), n && (mt(r, n), r.on("loaded", () => {
1942
- mt(r, n);
1947
+ parseMissingKeyHandler: ft
1948
+ }), n && (ht(r, n), r.on("loaded", () => {
1949
+ ht(r, n);
1943
1950
  })), r;
1944
1951
  }
1945
1952
  //#endregion
1946
1953
  //#region src/i18n/instance.ts
1947
- var $ = null;
1948
- function gt(e) {
1949
- $ = e;
1954
+ var Q = null;
1955
+ function vt(e) {
1956
+ Q = e;
1950
1957
  }
1951
- function _t() {
1952
- return $ ||= ht(), $;
1958
+ function yt() {
1959
+ return Q ||= _t(), Q;
1953
1960
  }
1954
1961
  //#endregion
1955
1962
  //#region src/shared/icons/arrowIcon.tsx
1956
- var vt = ({ class: e }) => /* @__PURE__ */ o("svg", {
1963
+ var bt = ({ class: e }) => /* @__PURE__ */ o("svg", {
1957
1964
  width: "13",
1958
1965
  height: "14",
1959
1966
  viewBox: "0 0 13 14",
@@ -1968,8 +1975,8 @@ var vt = ({ class: e }) => /* @__PURE__ */ o("svg", {
1968
1975
  });
1969
1976
  //#endregion
1970
1977
  //#region src/i18n/useTranslation.ts
1971
- function yt() {
1972
- let e = _t(), [, t] = a(0), [r, o] = a(e.isInitialized);
1978
+ function $() {
1979
+ let e = yt(), [, t] = a(0), [r, o] = a(e.isInitialized);
1973
1980
  return n(() => {
1974
1981
  let n = () => {
1975
1982
  t((e) => e + 1);
@@ -1987,13 +1994,13 @@ function yt() {
1987
1994
  }
1988
1995
  //#endregion
1989
1996
  //#region src/i18n/Trans.tsx
1990
- var bt = ({ i18nKey: e, boldClass: n = "IncodeTransBold", arrowClass: i = "IncodeTransArrow", components: a, defaultValue: s }) => {
1991
- let { t: c } = yt(), l = s ? c(e, { defaultValue: s }) : c(e), u = "<strong>|<\\/strong>|<br\\s*\\/?>|<arrow\\s*\\/>", d = a ? Object.keys(a).map((e) => `<${e}>|<\\/${e}>`).join("|") : "", f = d ? `${u}|${d}` : u, p = l.split(RegExp(`(${f})`, "g")), m = !1, h = null;
1997
+ var xt = ({ i18nKey: e, boldClass: n = "IncodeTransBold", arrowClass: i = "IncodeTransArrow", components: a, defaultValue: s }) => {
1998
+ let { t: c } = $(), l = s ? c(e, { defaultValue: s }) : c(e), u = "<strong>|<\\/strong>|<br\\s*\\/?>|<arrow\\s*\\/>", d = a ? Object.keys(a).map((e) => `<${e}>|<\\/${e}>`).join("|") : "", f = d ? `${u}|${d}` : u, p = l.split(RegExp(`(${f})`, "g")), m = !1, h = null;
1992
1999
  return /* @__PURE__ */ o(t, { children: p.map((e, s) => {
1993
2000
  if (e === "<strong>") return m = !0, null;
1994
2001
  if (e === "</strong>") return m = !1, null;
1995
2002
  if (/^<br\s*\/?>$/.test(e)) return /* @__PURE__ */ o("br", {}, s);
1996
- if (/^<arrow\s*\/>$/.test(e)) return /* @__PURE__ */ o(vt, { class: i }, s);
2003
+ if (/^<arrow\s*\/>$/.test(e)) return /* @__PURE__ */ o(bt, { class: i }, s);
1997
2004
  if (a) {
1998
2005
  let t = e.match(/^<(\w+)>$/);
1999
2006
  if (t && a[t[1]]) return h = t[1], null;
@@ -2007,4 +2014,4 @@ var bt = ({ i18nKey: e, boldClass: n = "IncodeTransBold", arrowClass: i = "Incod
2007
2014
  }) });
2008
2015
  };
2009
2016
  //#endregion
2010
- export { ct as a, ht as i, yt as n, Q as o, gt as r, bt as t };
2017
+ export { gt as a, _t as i, $ as n, ut as o, vt as r, X as s, xt as t };