@prosopo/cli 2.5.5 → 2.6.2

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.
@@ -1,7 +1,7 @@
1
1
  import Su from "node:path";
2
2
  import { g as Ou, L as ku, a as Lu, b as Nu } from "./provider.cli.bundle.js";
3
3
  import Xr from "node:fs";
4
- const Tu = () => !!(typeof window < "u" && window.document && window.document.createElement), Iu = () => !Tu(), le = (m) => typeof m == "string", Dn = () => {
4
+ const Tu = () => !!(typeof window < "u" && window.document && window.document.createElement), Iu = () => !Tu(), le = (m) => typeof m == "string", mn = () => {
5
5
  let m, n;
6
6
  const t = new Promise((a, l) => {
7
7
  m = a, n = l;
@@ -11,7 +11,7 @@ const Tu = () => !!(typeof window < "u" && window.document && window.document.cr
11
11
  m.forEach((a) => {
12
12
  n[a] && (t[a] = n[a]);
13
13
  });
14
- }, Ru = /###/g, Tr = (m) => m && m.indexOf("###") > -1 ? m.replace(Ru, ".") : m, Ir = (m) => !m || le(m), An = (m, n, t) => {
14
+ }, Ru = /###/g, Tr = (m) => m && m.indexOf("###") > -1 ? m.replace(Ru, ".") : m, Ir = (m) => !m || le(m), Fn = (m, n, t) => {
15
15
  const a = le(n) ? n.split(".") : n;
16
16
  let l = 0;
17
17
  for (; l < a.length - 1; ) {
@@ -27,26 +27,26 @@ const Tu = () => !!(typeof window < "u" && window.document && window.document.cr
27
27
  const {
28
28
  obj: a,
29
29
  k: l
30
- } = An(m, n, Object);
30
+ } = Fn(m, n, Object);
31
31
  if (a !== void 0 || n.length === 1) {
32
32
  a[l] = t;
33
33
  return;
34
34
  }
35
- let c = n[n.length - 1], d = n.slice(0, n.length - 1), v = An(m, d, Object);
35
+ let c = n[n.length - 1], d = n.slice(0, n.length - 1), v = Fn(m, d, Object);
36
36
  for (; v.obj === void 0 && d.length; )
37
- c = `${d[d.length - 1]}.${c}`, d = d.slice(0, d.length - 1), v = An(m, d, Object), v?.obj && typeof v.obj[`${v.k}.${c}`] < "u" && (v.obj = void 0);
37
+ c = `${d[d.length - 1]}.${c}`, d = d.slice(0, d.length - 1), v = Fn(m, d, Object), v?.obj && typeof v.obj[`${v.k}.${c}`] < "u" && (v.obj = void 0);
38
38
  v.obj[`${v.k}.${c}`] = t;
39
39
  }, ju = (m, n, t, a) => {
40
40
  const {
41
41
  obj: l,
42
42
  k: c
43
- } = An(m, n, Object);
43
+ } = Fn(m, n, Object);
44
44
  l[c] = l[c] || [], l[c].push(t);
45
45
  }, Tn = (m, n) => {
46
46
  const {
47
47
  obj: t,
48
48
  k: a
49
- } = An(m, n);
49
+ } = Fn(m, n);
50
50
  if (t && Object.prototype.hasOwnProperty.call(t, a))
51
51
  return t[a];
52
52
  }, _u = (m, n, t) => {
@@ -56,7 +56,7 @@ const Tu = () => !!(typeof window < "u" && window.document && window.document.cr
56
56
  for (const a in n)
57
57
  a !== "__proto__" && a !== "constructor" && (a in m ? le(m[a]) || m[a] instanceof String || le(n[a]) || n[a] instanceof String ? t && (m[a] = n[a]) : et(m[a], n[a], t) : m[a] = n[a]);
58
58
  return m;
59
- }, sn = (m) => m.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
59
+ }, ln = (m) => m.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
60
60
  var Mu = {
61
61
  "&": "&amp;",
62
62
  "<": "&lt;",
@@ -696,7 +696,7 @@ class Ju {
696
696
  maxReplaces: Y,
697
697
  alwaysFormat: ee
698
698
  } = n.interpolation;
699
- this.escape = t !== void 0 ? t : $u, this.escapeValue = a !== void 0 ? a : !0, this.useRawValueToEscape = l !== void 0 ? l : !1, this.prefix = c ? sn(c) : d || "{{", this.suffix = v ? sn(v) : y || "}}", this.formatSeparator = C || ",", this.unescapePrefix = b ? "" : R || "-", this.unescapeSuffix = this.unescapePrefix ? "" : b || "", this.nestingPrefix = E ? sn(E) : w || sn("$t("), this.nestingSuffix = k ? sn(k) : T || sn(")"), this.nestingOptionsSeparator = I || ",", this.maxReplaces = Y || 1e3, this.alwaysFormat = ee !== void 0 ? ee : !1, this.resetRegExp();
699
+ this.escape = t !== void 0 ? t : $u, this.escapeValue = a !== void 0 ? a : !0, this.useRawValueToEscape = l !== void 0 ? l : !1, this.prefix = c ? ln(c) : d || "{{", this.suffix = v ? ln(v) : y || "}}", this.formatSeparator = C || ",", this.unescapePrefix = b ? "" : R || "-", this.unescapeSuffix = this.unescapePrefix ? "" : b || "", this.nestingPrefix = E ? ln(E) : w || ln("$t("), this.nestingSuffix = k ? ln(k) : T || ln(")"), this.nestingOptionsSeparator = I || ",", this.maxReplaces = Y || 1e3, this.alwaysFormat = ee !== void 0 ? ee : !1, this.resetRegExp();
700
700
  }
701
701
  reset() {
702
702
  this.options && this.init(this.options);
@@ -809,7 +809,7 @@ const Wu = (m) => {
809
809
  formatName: n,
810
810
  formatOptions: t
811
811
  };
812
- }, ln = (m) => {
812
+ }, fn = (m) => {
813
813
  const n = {};
814
814
  return (t, a, l) => {
815
815
  let c = l;
@@ -826,32 +826,32 @@ class zu {
826
826
  constructor() {
827
827
  let n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
828
828
  this.logger = We.create("formatter"), this.options = n, this.formats = {
829
- number: ln((t, a) => {
829
+ number: fn((t, a) => {
830
830
  const l = new Intl.NumberFormat(t, {
831
831
  ...a
832
832
  });
833
833
  return (c) => l.format(c);
834
834
  }),
835
- currency: ln((t, a) => {
835
+ currency: fn((t, a) => {
836
836
  const l = new Intl.NumberFormat(t, {
837
837
  ...a,
838
838
  style: "currency"
839
839
  });
840
840
  return (c) => l.format(c);
841
841
  }),
842
- datetime: ln((t, a) => {
842
+ datetime: fn((t, a) => {
843
843
  const l = new Intl.DateTimeFormat(t, {
844
844
  ...a
845
845
  });
846
846
  return (c) => l.format(c);
847
847
  }),
848
- relativetime: ln((t, a) => {
848
+ relativetime: fn((t, a) => {
849
849
  const l = new Intl.RelativeTimeFormat(t, {
850
850
  ...a
851
851
  });
852
852
  return (c) => l.format(c, a.range || "day");
853
853
  }),
854
- list: ln((t, a) => {
854
+ list: fn((t, a) => {
855
855
  const l = new Intl.ListFormat(t, {
856
856
  ...a
857
857
  });
@@ -869,7 +869,7 @@ class zu {
869
869
  this.formats[n.toLowerCase().trim()] = t;
870
870
  }
871
871
  addCached(n, t) {
872
- this.formats[n.toLowerCase().trim()] = ln(t);
872
+ this.formats[n.toLowerCase().trim()] = fn(t);
873
873
  }
874
874
  format(n, t, a) {
875
875
  let l = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
@@ -1102,7 +1102,7 @@ const Hr = () => ({
1102
1102
  typeof m[t] == "function" && (m[t] = m[t].bind(m));
1103
1103
  });
1104
1104
  };
1105
- class Fn extends jn {
1105
+ class vn extends jn {
1106
1106
  constructor() {
1107
1107
  let n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0;
1108
1108
  if (super(), this.options = Yr(n), this.services = {}, this.logger = We, this.modules = {
@@ -1166,7 +1166,7 @@ class Fn extends jn {
1166
1166
  return n.store[b](...arguments), n;
1167
1167
  };
1168
1168
  });
1169
- const y = Dn(), C = () => {
1169
+ const y = mn(), C = () => {
1170
1170
  const b = (R, E) => {
1171
1171
  this.isInitializing = !1, this.isInitialized && !this.initializedStoreOnce && this.logger.warn("init: i18next is already initialized. You should call init just once!"), this.isInitialized = !0, this.options.isClone || this.logger.log("initialized", this.options), this.emit("initialized", this.options), y.resolve(E), a(R, E);
1172
1172
  };
@@ -1193,7 +1193,7 @@ class Fn extends jn {
1193
1193
  a(null);
1194
1194
  }
1195
1195
  reloadResources(n, t, a) {
1196
- const l = Dn();
1196
+ const l = mn();
1197
1197
  return typeof n == "function" && (a = n, n = void 0), typeof t == "function" && (a = t, t = void 0), n || (n = this.languages), t || (t = this.options.ns), a || (a = wn), this.services.backendConnector.reload(n, t, (c) => {
1198
1198
  l.resolve(), a(c);
1199
1199
  }), l;
@@ -1216,7 +1216,7 @@ class Fn extends jn {
1216
1216
  changeLanguage(n, t) {
1217
1217
  var a = this;
1218
1218
  this.isLanguageChangingTo = n;
1219
- const l = Dn();
1219
+ const l = mn();
1220
1220
  this.emit("languageChanging", n);
1221
1221
  const c = (y) => {
1222
1222
  this.language = y, this.languages = this.services.languageUtils.toResolveHierarchy(y), this.resolvedLanguage = void 0, this.setResolvedLanguage(y);
@@ -1286,7 +1286,7 @@ class Fn extends jn {
1286
1286
  return !!(this.hasResourceBundle(a, n) || !this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages || d(a, n) && (!l || d(c, n)));
1287
1287
  }
1288
1288
  loadNamespaces(n, t) {
1289
- const a = Dn();
1289
+ const a = mn();
1290
1290
  return this.options.ns ? (le(n) && (n = [n]), n.forEach((l) => {
1291
1291
  this.options.ns.indexOf(l) < 0 && this.options.ns.push(l);
1292
1292
  }), this.loadResources((l) => {
@@ -1294,7 +1294,7 @@ class Fn extends jn {
1294
1294
  }), a) : (t && t(), Promise.resolve());
1295
1295
  }
1296
1296
  loadLanguages(n, t) {
1297
- const a = Dn();
1297
+ const a = mn();
1298
1298
  le(n) && (n = [n]);
1299
1299
  const l = this.options.preload || [], c = n.filter((d) => l.indexOf(d) < 0 && this.services.languageUtils.isSupportedCode(d));
1300
1300
  return c.length ? (this.options.preload = l.concat(c), this.loadResources((d) => {
@@ -1308,7 +1308,7 @@ class Fn extends jn {
1308
1308
  }
1309
1309
  static createInstance() {
1310
1310
  let n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0;
1311
- return new Fn(n, t);
1311
+ return new vn(n, t);
1312
1312
  }
1313
1313
  cloneInstance() {
1314
1314
  let n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : wn;
@@ -1318,7 +1318,7 @@ class Fn extends jn {
1318
1318
  ...this.options,
1319
1319
  ...n,
1320
1320
  isClone: !0
1321
- }, c = new Fn(l);
1321
+ }, c = new vn(l);
1322
1322
  if ((n.debug !== void 0 || n.prefix !== void 0) && (c.logger = c.logger.clone(n)), ["store", "services", "language"].forEach((v) => {
1323
1323
  c[v] = this[v];
1324
1324
  }), c.services = {
@@ -1351,8 +1351,8 @@ class Fn extends jn {
1351
1351
  };
1352
1352
  }
1353
1353
  }
1354
- const mn = Fn.createInstance();
1355
- mn.createInstance = Fn.createInstance;
1354
+ const An = vn.createInstance();
1355
+ An.createInstance = vn.createInstance;
1356
1356
  var Sn = { exports: {} }, Xe = {}, Kr;
1357
1357
  function Xu() {
1358
1358
  if (Kr) return Xe;
@@ -1860,6 +1860,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
1860
1860
  throw Ae(A());
1861
1861
  case "\u2028":
1862
1862
  case "\u2029":
1863
+ cn(G);
1863
1864
  break;
1864
1865
  case void 0:
1865
1866
  throw Ae(A());
@@ -2121,7 +2122,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2121
2122
  i == null ? E = "end" : Array.isArray(i) ? E = "afterArrayValue" : E = "afterPropertyValue";
2122
2123
  }
2123
2124
  function Ae(i) {
2124
- return Ge(i === void 0 ? "JSON5: invalid end of input at ".concat(T, ":").concat(I) : "JSON5: invalid character '".concat(fn(i), "' at ").concat(T, ":").concat(I));
2125
+ return Ge(i === void 0 ? "JSON5: invalid end of input at ".concat(T, ":").concat(I) : "JSON5: invalid character '".concat(rn(i), "' at ").concat(T, ":").concat(I));
2125
2126
  }
2126
2127
  function Ke() {
2127
2128
  return Ge("JSON5: invalid end of input at ".concat(T, ":").concat(I));
@@ -2129,9 +2130,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2129
2130
  function en() {
2130
2131
  return I -= 5, Ge("JSON5: invalid identifier character at ".concat(T, ":").concat(I));
2131
2132
  }
2132
- function vn(i) {
2133
+ function cn(i) {
2134
+ console.warn("JSON5: '".concat(rn(i), "' in strings is not valid ECMAScript; consider escaping"));
2133
2135
  }
2134
- function fn(i) {
2136
+ function rn(i) {
2135
2137
  var h = {
2136
2138
  "'": "\\'",
2137
2139
  '"': '\\"',
@@ -2257,8 +2259,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2257
2259
  _ !== "" && (ne += " "), ne += Oe, ve.push(ne);
2258
2260
  }
2259
2261
  }
2260
- } catch (cn) {
2261
- he.e(cn);
2262
+ } catch (pn) {
2263
+ he.e(pn);
2262
2264
  } finally {
2263
2265
  he.f();
2264
2266
  }
@@ -2327,7 +2329,7 @@ function ei() {
2327
2329
  if (Jr) return de;
2328
2330
  Jr = 1, Object.defineProperty(de, "__esModule", {
2329
2331
  value: !0
2330
- }), de.SyntaxKind = de.ScanError = de.ParseErrorCode = void 0, de.applyEdits = Ge, de.findNodeAtOffset = de.findNodeAtLocation = de.createScanner = void 0, de.format = vn, de.getNodeValue = de.getNodePath = de.getLocation = void 0, de.modify = fn, de.parseTree = de.parse = void 0, de.printParseErrorCode = en, de.visit = de.stripComments = void 0;
2332
+ }), de.SyntaxKind = de.ScanError = de.ParseErrorCode = void 0, de.applyEdits = Ge, de.findNodeAtOffset = de.findNodeAtLocation = de.createScanner = void 0, de.format = cn, de.getNodeValue = de.getNodePath = de.getLocation = void 0, de.modify = rn, de.parseTree = de.parse = void 0, de.printParseErrorCode = en, de.visit = de.stripComments = void 0;
2331
2333
  function m(u, x) {
2332
2334
  var D = Object.keys(u);
2333
2335
  if (Object.getOwnPropertySymbols) {
@@ -3338,8 +3340,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
3338
3340
  else {
3339
3341
  if (D === void 0)
3340
3342
  return [];
3341
- var Re = "".concat(JSON.stringify(L), ": ").concat(JSON.stringify(D)), Fe = i.getInsertionIndex ? i.getInsertionIndex(j.children.map(function(cn) {
3342
- return cn.children[0].value;
3343
+ var Re = "".concat(JSON.stringify(L), ": ").concat(JSON.stringify(D)), Fe = i.getInsertionIndex ? i.getInsertionIndex(j.children.map(function(pn) {
3344
+ return pn.children[0].value;
3343
3345
  })) : j.children.length, Le;
3344
3346
  if (Fe > 0) {
3345
3347
  var xe = j.children[Fe - 1];
@@ -3517,10 +3519,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
3517
3519
  }
3518
3520
  return "<unknown ParseErrorCode>";
3519
3521
  }
3520
- function vn(u, x, D) {
3522
+ function cn(u, x, D) {
3521
3523
  return ee(u, x, D);
3522
3524
  }
3523
- function fn(u, x, D, i) {
3525
+ function rn(u, x, D, i) {
3524
3526
  return ke(u, x, D, i);
3525
3527
  }
3526
3528
  function Ge(u, x) {
@@ -3785,10 +3787,10 @@ function tt() {
3785
3787
  },
3786
3788
  defaultStyle: "lowercase"
3787
3789
  });
3788
- function vn(e) {
3790
+ function cn(e) {
3789
3791
  return 48 <= e && e <= 57 || 65 <= e && e <= 70 || 97 <= e && e <= 102;
3790
3792
  }
3791
- function fn(e) {
3793
+ function rn(e) {
3792
3794
  return 48 <= e && e <= 55;
3793
3795
  }
3794
3796
  function Ge(e) {
@@ -3811,7 +3813,7 @@ function tt() {
3811
3813
  if (s === "x") {
3812
3814
  for (o++; o < r; o++)
3813
3815
  if (s = e[o], s !== "_") {
3814
- if (!vn(e.charCodeAt(o))) return !1;
3816
+ if (!cn(e.charCodeAt(o))) return !1;
3815
3817
  f = !0;
3816
3818
  }
3817
3819
  return f && s !== "_";
@@ -3819,7 +3821,7 @@ function tt() {
3819
3821
  if (s === "o") {
3820
3822
  for (o++; o < r; o++)
3821
3823
  if (s = e[o], s !== "_") {
3822
- if (!fn(e.charCodeAt(o))) return !1;
3824
+ if (!rn(e.charCodeAt(o))) return !1;
3823
3825
  f = !0;
3824
3826
  }
3825
3827
  return f && s !== "_";
@@ -4025,7 +4027,7 @@ function tt() {
4025
4027
  }
4026
4028
  return !0;
4027
4029
  }
4028
- function cn(e) {
4030
+ function pn(e) {
4029
4031
  if (e === null) return [];
4030
4032
  var r, o, f, s, g, p = e;
4031
4033
  for (g = new Array(p.length), r = 0, o = p.length; r < o; r += 1)
@@ -4035,7 +4037,7 @@ function tt() {
4035
4037
  var Gn = new J("tag:yaml.org,2002:pairs", {
4036
4038
  kind: "sequence",
4037
4039
  resolve: Ue,
4038
- construct: cn
4040
+ construct: pn
4039
4041
  }), it = Object.prototype.hasOwnProperty;
4040
4042
  function at(e) {
4041
4043
  if (e === null) return !0;
@@ -4068,7 +4070,7 @@ function tt() {
4068
4070
  function He(e) {
4069
4071
  return e === 9 || e === 32 || e === 10 || e === 13;
4070
4072
  }
4071
- function rn(e) {
4073
+ function tn(e) {
4072
4074
  return e === 44 || e === 91 || e === 93 || e === 123 || e === 125;
4073
4075
  }
4074
4076
  function pt(e) {
@@ -4088,8 +4090,8 @@ function tt() {
4088
4090
  function gt(e) {
4089
4091
  return e <= 65535 ? String.fromCharCode(e) : String.fromCharCode((e - 65536 >> 10) + 55296, (e - 65536 & 1023) + 56320);
4090
4092
  }
4091
- for (var ir = new Array(256), ar = new Array(256), tn = 0; tn < 256; tn++)
4092
- ir[tn] = ur(tn) ? 1 : 0, ar[tn] = ur(tn);
4093
+ for (var ir = new Array(256), ar = new Array(256), un = 0; un < 256; un++)
4094
+ ir[un] = ur(un) ? 1 : 0, ar[un] = ur(un);
4093
4095
  function Dt(e, r) {
4094
4096
  this.input = e, this.filename = r.filename || null, this.schema = r.schema || _n, this.onWarning = r.onWarning || null, this.legacy = r.legacy || !1, this.json = r.json || !1, this.listener = r.listener || null, this.implicitTypes = this.schema.compiledImplicit, this.typeMap = this.schema.compiledTypeMap, this.length = e.length, this.position = 0, this.line = 0, this.lineStart = 0, this.lineIndent = 0, this.firstTabInLine = -1, this.documents = [];
4095
4097
  }
@@ -4140,7 +4142,7 @@ function tt() {
4140
4142
  for (w.isObject(o) || Q(e, "cannot merge mappings; the provided source object is unacceptable"), s = Object.keys(o), p = 0, F = s.length; p < F; p += 1)
4141
4143
  g = s[p], Qe.call(r, g) || (r[g] = o[g], f[g] = !0);
4142
4144
  }
4143
- function un(e, r, o, f, s, g, p, F, S) {
4145
+ function an(e, r, o, f, s, g, p, F, S) {
4144
4146
  var V, Z;
4145
4147
  if (Array.isArray(s))
4146
4148
  for (s = Array.prototype.slice.call(s), V = 0, Z = s.length; V < Z; V += 1)
@@ -4190,17 +4192,17 @@ function tt() {
4190
4192
  }
4191
4193
  function mt(e, r, o) {
4192
4194
  var f, s, g, p, F, S, V, Z, U = e.kind, ue = e.result, ie;
4193
- if (ie = e.input.charCodeAt(e.position), He(ie) || rn(ie) || ie === 35 || ie === 38 || ie === 42 || ie === 33 || ie === 124 || ie === 62 || ie === 39 || ie === 34 || ie === 37 || ie === 64 || ie === 96 || (ie === 63 || ie === 45) && (s = e.input.charCodeAt(e.position + 1), He(s) || o && rn(s)))
4195
+ if (ie = e.input.charCodeAt(e.position), He(ie) || tn(ie) || ie === 35 || ie === 38 || ie === 42 || ie === 33 || ie === 124 || ie === 62 || ie === 39 || ie === 34 || ie === 37 || ie === 64 || ie === 96 || (ie === 63 || ie === 45) && (s = e.input.charCodeAt(e.position + 1), He(s) || o && tn(s)))
4194
4196
  return !1;
4195
4197
  for (e.kind = "scalar", e.result = "", g = p = e.position, F = !1; ie !== 0; ) {
4196
4198
  if (ie === 58) {
4197
- if (s = e.input.charCodeAt(e.position + 1), He(s) || o && rn(s))
4199
+ if (s = e.input.charCodeAt(e.position + 1), He(s) || o && tn(s))
4198
4200
  break;
4199
4201
  } else if (ie === 35) {
4200
4202
  if (f = e.input.charCodeAt(e.position - 1), He(f))
4201
4203
  break;
4202
4204
  } else {
4203
- if (e.position === e.lineStart && bn(e) || o && rn(ie))
4205
+ if (e.position === e.lineStart && bn(e) || o && tn(ie))
4204
4206
  break;
4205
4207
  if (Je(ie))
4206
4208
  if (S = e.line, V = e.lineStart, Z = e.lineIndent, Ie(e, !1, -1), e.lineIndent >= r) {
@@ -4262,7 +4264,7 @@ function tt() {
4262
4264
  for (e.anchor !== null && (e.anchorMap[e.anchor] = F), Ee = e.input.charCodeAt(++e.position); Ee !== 0; ) {
4263
4265
  if (Ie(e, !0, r), Ee = e.input.charCodeAt(e.position), Ee === Z)
4264
4266
  return e.position++, e.tag = p, e.anchor = S, e.kind = ie ? "mapping" : "sequence", e.result = F, !0;
4265
- o ? Ee === 44 && Q(e, "expected the node content, but found ','") : Q(e, "missed comma between flow collection entries"), Ne = we = qe = null, U = ue = !1, Ee === 63 && (V = e.input.charCodeAt(e.position + 1), He(V) && (U = ue = !0, e.position++, Ie(e, !0, r))), f = e.line, s = e.lineStart, g = e.position, an(e, r, En, !1, !0), Ne = e.tag, we = e.result, Ie(e, !0, r), Ee = e.input.charCodeAt(e.position), (ue || e.line === f) && Ee === 58 && (U = !0, Ee = e.input.charCodeAt(++e.position), Ie(e, !0, r), an(e, r, En, !1, !0), qe = e.result), ie ? un(e, F, me, Ne, we, qe, f, s, g) : U ? F.push(un(e, null, me, Ne, we, qe, f, s, g)) : F.push(we), Ie(e, !0, r), Ee = e.input.charCodeAt(e.position), Ee === 44 ? (o = !0, Ee = e.input.charCodeAt(++e.position)) : o = !1;
4267
+ o ? Ee === 44 && Q(e, "expected the node content, but found ','") : Q(e, "missed comma between flow collection entries"), Ne = we = qe = null, U = ue = !1, Ee === 63 && (V = e.input.charCodeAt(e.position + 1), He(V) && (U = ue = !0, e.position++, Ie(e, !0, r))), f = e.line, s = e.lineStart, g = e.position, on(e, r, En, !1, !0), Ne = e.tag, we = e.result, Ie(e, !0, r), Ee = e.input.charCodeAt(e.position), (ue || e.line === f) && Ee === 58 && (U = !0, Ee = e.input.charCodeAt(++e.position), Ie(e, !0, r), on(e, r, En, !1, !0), qe = e.result), ie ? an(e, F, me, Ne, we, qe, f, s, g) : U ? F.push(an(e, null, me, Ne, we, qe, f, s, g)) : F.push(we), Ie(e, !0, r), Ee = e.input.charCodeAt(e.position), Ee === 44 ? (o = !0, Ee = e.input.charCodeAt(++e.position)) : o = !1;
4266
4268
  }
4267
4269
  Q(e, "unexpected end of the stream within a flow collection");
4268
4270
  }
@@ -4321,7 +4323,7 @@ function tt() {
4321
4323
  g.push(null), S = e.input.charCodeAt(e.position);
4322
4324
  continue;
4323
4325
  }
4324
- if (o = e.line, an(e, r, Xn, !1, !0), g.push(e.result), Ie(e, !0, -1), S = e.input.charCodeAt(e.position), (e.line === o || e.lineIndent > r) && S !== 0)
4326
+ if (o = e.line, on(e, r, Xn, !1, !0), g.push(e.result), Ie(e, !0, -1), S = e.input.charCodeAt(e.position), (e.line === o || e.lineIndent > r) && S !== 0)
4325
4327
  Q(e, "bad indentation of a sequence entry");
4326
4328
  else if (e.lineIndent < r)
4327
4329
  break;
@@ -4333,15 +4335,15 @@ function tt() {
4333
4335
  if (e.firstTabInLine !== -1) return !1;
4334
4336
  for (e.anchor !== null && (e.anchorMap[e.anchor] = U), Ee = e.input.charCodeAt(e.position); Ee !== 0; ) {
4335
4337
  if (!Ne && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, Q(e, "tab characters must not be used in indentation")), f = e.input.charCodeAt(e.position + 1), g = e.line, (Ee === 63 || Ee === 58) && He(f))
4336
- Ee === 63 ? (Ne && (un(e, U, ue, ie, me, null, p, F, S), ie = me = we = null), qe = !0, Ne = !0, s = !0) : Ne ? (Ne = !1, s = !0) : Q(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, Ee = f;
4338
+ Ee === 63 ? (Ne && (an(e, U, ue, ie, me, null, p, F, S), ie = me = we = null), qe = !0, Ne = !0, s = !0) : Ne ? (Ne = !1, s = !0) : Q(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, Ee = f;
4337
4339
  else {
4338
- if (p = e.line, F = e.lineStart, S = e.position, !an(e, o, Zn, !1, !0))
4340
+ if (p = e.line, F = e.lineStart, S = e.position, !on(e, o, Zn, !1, !0))
4339
4341
  break;
4340
4342
  if (e.line === g) {
4341
4343
  for (Ee = e.input.charCodeAt(e.position); nn(Ee); )
4342
4344
  Ee = e.input.charCodeAt(++e.position);
4343
4345
  if (Ee === 58)
4344
- Ee = e.input.charCodeAt(++e.position), He(Ee) || Q(e, "a whitespace character is expected after the key-value separator within a block mapping"), Ne && (un(e, U, ue, ie, me, null, p, F, S), ie = me = we = null), qe = !0, Ne = !1, s = !1, ie = e.tag, me = e.result;
4346
+ Ee = e.input.charCodeAt(++e.position), He(Ee) || Q(e, "a whitespace character is expected after the key-value separator within a block mapping"), Ne && (an(e, U, ue, ie, me, null, p, F, S), ie = me = we = null), qe = !0, Ne = !1, s = !1, ie = e.tag, me = e.result;
4345
4347
  else if (qe)
4346
4348
  Q(e, "can not read an implicit mapping pair; a colon is missed");
4347
4349
  else
@@ -4351,12 +4353,12 @@ function tt() {
4351
4353
  else
4352
4354
  return e.tag = V, e.anchor = Z, !0;
4353
4355
  }
4354
- if ((e.line === g || e.lineIndent > r) && (Ne && (p = e.line, F = e.lineStart, S = e.position), an(e, r, yn, !0, s) && (Ne ? me = e.result : we = e.result), Ne || (un(e, U, ue, ie, me, we, p, F, S), ie = me = we = null), Ie(e, !0, -1), Ee = e.input.charCodeAt(e.position)), (e.line === g || e.lineIndent > r) && Ee !== 0)
4356
+ if ((e.line === g || e.lineIndent > r) && (Ne && (p = e.line, F = e.lineStart, S = e.position), on(e, r, yn, !0, s) && (Ne ? me = e.result : we = e.result), Ne || (an(e, U, ue, ie, me, we, p, F, S), ie = me = we = null), Ie(e, !0, -1), Ee = e.input.charCodeAt(e.position)), (e.line === g || e.lineIndent > r) && Ee !== 0)
4355
4357
  Q(e, "bad indentation of a mapping entry");
4356
4358
  else if (e.lineIndent < r)
4357
4359
  break;
4358
4360
  }
4359
- return Ne && un(e, U, ue, ie, me, null, p, F, S), qe && (e.tag = V, e.anchor = Z, e.kind = "mapping", e.result = U), qe;
4361
+ return Ne && an(e, U, ue, ie, me, null, p, F, S), qe && (e.tag = V, e.anchor = Z, e.kind = "mapping", e.result = U), qe;
4360
4362
  }
4361
4363
  function Ct(e) {
4362
4364
  var r, o = !1, f = !1, s, g, p;
@@ -4382,18 +4384,18 @@ function tt() {
4382
4384
  function bt(e) {
4383
4385
  var r, o;
4384
4386
  if (o = e.input.charCodeAt(e.position), o !== 38) return !1;
4385
- for (e.anchor !== null && Q(e, "duplication of an anchor property"), o = e.input.charCodeAt(++e.position), r = e.position; o !== 0 && !He(o) && !rn(o); )
4387
+ for (e.anchor !== null && Q(e, "duplication of an anchor property"), o = e.input.charCodeAt(++e.position), r = e.position; o !== 0 && !He(o) && !tn(o); )
4386
4388
  o = e.input.charCodeAt(++e.position);
4387
4389
  return e.position === r && Q(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(r, e.position), !0;
4388
4390
  }
4389
4391
  function xt(e) {
4390
4392
  var r, o, f;
4391
4393
  if (f = e.input.charCodeAt(e.position), f !== 42) return !1;
4392
- for (f = e.input.charCodeAt(++e.position), r = e.position; f !== 0 && !He(f) && !rn(f); )
4394
+ for (f = e.input.charCodeAt(++e.position), r = e.position; f !== 0 && !He(f) && !tn(f); )
4393
4395
  f = e.input.charCodeAt(++e.position);
4394
4396
  return e.position === r && Q(e, "name of an alias node must contain at least one character"), o = e.input.slice(r, e.position), Qe.call(e.anchorMap, o) || Q(e, 'unidentified alias "' + o + '"'), e.result = e.anchorMap[o], Ie(e, !0, -1), !0;
4395
4397
  }
4396
- function an(e, r, o, f, s) {
4398
+ function on(e, r, o, f, s) {
4397
4399
  var g, p, F, S = 1, V = !1, Z = !1, U, ue, ie, me, we, Ne;
4398
4400
  if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, g = p = F = yn === o || Xn === o, f && Ie(e, !0, -1) && (V = !0, e.lineIndent > r ? S = 1 : e.lineIndent === r ? S = 0 : e.lineIndent < r && (S = -1)), S === 1)
4399
4401
  for (; Ct(e) || bt(e); )
@@ -4440,7 +4442,7 @@ function tt() {
4440
4442
  }
4441
4443
  p !== 0 && $n(e), Qe.call(sr, f) ? sr[f](e, f, s) : Cn(e, 'unknown document directive "' + f + '"');
4442
4444
  }
4443
- if (Ie(e, !0, -1), e.lineIndent === 0 && e.input.charCodeAt(e.position) === 45 && e.input.charCodeAt(e.position + 1) === 45 && e.input.charCodeAt(e.position + 2) === 45 ? (e.position += 3, Ie(e, !0, -1)) : g && Q(e, "directives end mark is expected"), an(e, e.lineIndent - 1, yn, !1, !0), Ie(e, !0, -1), e.checkLineBreaks && ft.test(e.input.slice(r, e.position)) && Cn(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && bn(e)) {
4445
+ if (Ie(e, !0, -1), e.lineIndent === 0 && e.input.charCodeAt(e.position) === 45 && e.input.charCodeAt(e.position + 1) === 45 && e.input.charCodeAt(e.position + 2) === 45 ? (e.position += 3, Ie(e, !0, -1)) : g && Q(e, "directives end mark is expected"), on(e, e.lineIndent - 1, yn, !1, !0), Ie(e, !0, -1), e.checkLineBreaks && ft.test(e.input.slice(r, e.position)) && Cn(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && bn(e)) {
4444
4446
  e.input.charCodeAt(e.position) === 46 && (e.position += 3, Ie(e, !0, -1));
4445
4447
  return;
4446
4448
  }
@@ -4478,7 +4480,7 @@ function tt() {
4478
4480
  var Ot = wt, kt = St, pr = {
4479
4481
  loadAll: Ot,
4480
4482
  load: kt
4481
- }, hr = Object.prototype.toString, dr = Object.prototype.hasOwnProperty, Un = 65279, Lt = 9, pn = 10, Nt = 13, Tt = 32, It = 33, Pt = 34, Hn = 35, Rt = 37, jt = 38, _t = 39, Mt = 42, gr = 44, $t = 45, xn = 58, Vt = 61, Ut = 62, Ht = 63, Yt = 64, Dr = 91, mr = 93, Kt = 96, Ar = 123, qt = 124, Fr = 125, $e = {};
4483
+ }, hr = Object.prototype.toString, dr = Object.prototype.hasOwnProperty, Un = 65279, Lt = 9, hn = 10, Nt = 13, Tt = 32, It = 33, Pt = 34, Hn = 35, Rt = 37, jt = 38, _t = 39, Mt = 42, gr = 44, $t = 45, xn = 58, Vt = 61, Ut = 62, Ht = 63, Yt = 64, Dr = 91, mr = 93, Kt = 96, Ar = 123, qt = 124, Fr = 125, $e = {};
4482
4484
  $e[0] = "\\0", $e[7] = "\\a", $e[8] = "\\b", $e[9] = "\\t", $e[10] = "\\n", $e[11] = "\\v", $e[12] = "\\f", $e[13] = "\\r", $e[27] = "\\e", $e[34] = '\\"', $e[92] = "\\\\", $e[133] = "\\N", $e[160] = "\\_", $e[8232] = "\\L", $e[8233] = "\\P";
4483
4485
  var Jt = ["y", "Y", "yes", "Yes", "YES", "on", "On", "ON", "n", "N", "no", "No", "NO", "off", "Off", "OFF"], Wt = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
4484
4486
  function zt(e, r) {
@@ -4500,9 +4502,9 @@ function tt() {
4500
4502
  throw new I("code point within a string may not be greater than 0xFFFFFFFF");
4501
4503
  return "\\" + o + w.repeat("0", f - r.length) + r;
4502
4504
  }
4503
- var Qt = 1, hn = 2;
4505
+ var Qt = 1, dn = 2;
4504
4506
  function Zt(e) {
4505
- this.schema = e.schema || _n, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = w.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = zt(this.schema, e.styles || null), this.sortKeys = e.sortKeys || !1, this.lineWidth = e.lineWidth || 80, this.noRefs = e.noRefs || !1, this.noCompatMode = e.noCompatMode || !1, this.condenseFlow = e.condenseFlow || !1, this.quotingType = e.quotingType === '"' ? hn : Qt, this.forceQuotes = e.forceQuotes || !1, this.replacer = typeof e.replacer == "function" ? e.replacer : null, this.implicitTypes = this.schema.compiledImplicit, this.explicitTypes = this.schema.compiledExplicit, this.tag = null, this.result = "", this.duplicates = [], this.usedDuplicates = null;
4507
+ this.schema = e.schema || _n, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = w.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = zt(this.schema, e.styles || null), this.sortKeys = e.sortKeys || !1, this.lineWidth = e.lineWidth || 80, this.noRefs = e.noRefs || !1, this.noCompatMode = e.noCompatMode || !1, this.condenseFlow = e.condenseFlow || !1, this.quotingType = e.quotingType === '"' ? dn : Qt, this.forceQuotes = e.forceQuotes || !1, this.replacer = typeof e.replacer == "function" ? e.replacer : null, this.implicitTypes = this.schema.compiledImplicit, this.explicitTypes = this.schema.compiledExplicit, this.tag = null, this.result = "", this.duplicates = [], this.usedDuplicates = null;
4506
4508
  }
4507
4509
  function vr(e, r) {
4508
4510
  for (var o = w.repeat(" ", r), f = 0, s = -1, g = "", p, F = e.length; f < F; )
@@ -4525,23 +4527,23 @@ function tt() {
4525
4527
  function Bn(e) {
4526
4528
  return e === Tt || e === Lt;
4527
4529
  }
4528
- function dn(e) {
4530
+ function gn(e) {
4529
4531
  return 32 <= e && e <= 126 || 161 <= e && e <= 55295 && e !== 8232 && e !== 8233 || 57344 <= e && e <= 65533 && e !== Un || 65536 <= e && e <= 1114111;
4530
4532
  }
4531
4533
  function Er(e) {
4532
- return dn(e) && e !== Un && e !== Nt && e !== pn;
4534
+ return gn(e) && e !== Un && e !== Nt && e !== hn;
4533
4535
  }
4534
4536
  function yr(e, r, o) {
4535
4537
  var f = Er(e), s = f && !Bn(e);
4536
4538
  return (o ? f : f && e !== gr && e !== Dr && e !== mr && e !== Ar && e !== Fr) && e !== Hn && !(r === xn && !s) || Er(r) && !Bn(r) && e === Hn || r === xn && s;
4537
4539
  }
4538
4540
  function eu(e) {
4539
- return dn(e) && e !== Un && !Bn(e) && e !== $t && e !== Ht && e !== xn && e !== gr && e !== Dr && e !== mr && e !== Ar && e !== Fr && e !== Hn && e !== jt && e !== Mt && e !== It && e !== qt && e !== Vt && e !== Ut && e !== _t && e !== Pt && e !== Rt && e !== Yt && e !== Kt;
4541
+ return gn(e) && e !== Un && !Bn(e) && e !== $t && e !== Ht && e !== xn && e !== gr && e !== Dr && e !== mr && e !== Ar && e !== Fr && e !== Hn && e !== jt && e !== Mt && e !== It && e !== qt && e !== Vt && e !== Ut && e !== _t && e !== Pt && e !== Rt && e !== Yt && e !== Kt;
4540
4542
  }
4541
4543
  function nu(e) {
4542
4544
  return !Bn(e) && e !== xn;
4543
4545
  }
4544
- function gn(e, r) {
4546
+ function Dn(e, r) {
4545
4547
  var o = e.charCodeAt(r), f;
4546
4548
  return o >= 55296 && o <= 56319 && r + 1 < e.length && (f = e.charCodeAt(r + 1), f >= 56320 && f <= 57343) ? (o - 55296) * 1024 + f - 56320 + 65536 : o;
4547
4549
  }
@@ -4549,33 +4551,33 @@ function tt() {
4549
4551
  var r = /^\n* /;
4550
4552
  return r.test(e);
4551
4553
  }
4552
- var br = 1, Kn = 2, xr = 3, Br = 4, on = 5;
4554
+ var br = 1, Kn = 2, xr = 3, Br = 4, sn = 5;
4553
4555
  function ru(e, r, o, f, s, g, p, F) {
4554
- var S, V = 0, Z = null, U = !1, ue = !1, ie = f !== -1, me = -1, we = eu(gn(e, 0)) && nu(gn(e, e.length - 1));
4556
+ var S, V = 0, Z = null, U = !1, ue = !1, ie = f !== -1, me = -1, we = eu(Dn(e, 0)) && nu(Dn(e, e.length - 1));
4555
4557
  if (r || p)
4556
4558
  for (S = 0; S < e.length; V >= 65536 ? S += 2 : S++) {
4557
- if (V = gn(e, S), !dn(V))
4558
- return on;
4559
+ if (V = Dn(e, S), !gn(V))
4560
+ return sn;
4559
4561
  we = we && yr(V, Z, F), Z = V;
4560
4562
  }
4561
4563
  else {
4562
4564
  for (S = 0; S < e.length; V >= 65536 ? S += 2 : S++) {
4563
- if (V = gn(e, S), V === pn)
4565
+ if (V = Dn(e, S), V === hn)
4564
4566
  U = !0, ie && (ue = ue || S - me - 1 > f && e[me + 1] !== " ", me = S);
4565
- else if (!dn(V))
4566
- return on;
4567
+ else if (!gn(V))
4568
+ return sn;
4567
4569
  we = we && yr(V, Z, F), Z = V;
4568
4570
  }
4569
4571
  ue = ue || ie && S - me - 1 > f && e[me + 1] !== " ";
4570
4572
  }
4571
- return !U && !ue ? we && !p && !s(e) ? br : g === hn ? on : Kn : o > 9 && Cr(e) ? on : p ? g === hn ? on : Kn : ue ? Br : xr;
4573
+ return !U && !ue ? we && !p && !s(e) ? br : g === dn ? sn : Kn : o > 9 && Cr(e) ? sn : p ? g === dn ? sn : Kn : ue ? Br : xr;
4572
4574
  }
4573
4575
  function tu(e, r, o, f, s) {
4574
4576
  e.dump = function() {
4575
4577
  if (r.length === 0)
4576
- return e.quotingType === hn ? '""' : "''";
4578
+ return e.quotingType === dn ? '""' : "''";
4577
4579
  if (!e.noCompatMode && (Jt.indexOf(r) !== -1 || Wt.test(r)))
4578
- return e.quotingType === hn ? '"' + r + '"' : "'" + r + "'";
4580
+ return e.quotingType === dn ? '"' + r + '"' : "'" + r + "'";
4579
4581
  var g = e.indent * Math.max(1, o), p = e.lineWidth === -1 ? -1 : Math.max(Math.min(e.lineWidth, 40), e.lineWidth - g), F = f || e.flowLevel > -1 && o >= e.flowLevel;
4580
4582
  function S(V) {
4581
4583
  return Xt(e, V);
@@ -4589,7 +4591,7 @@ function tt() {
4589
4591
  return "|" + wr(r, e.indent) + Sr(vr(r, g));
4590
4592
  case Br:
4591
4593
  return ">" + wr(r, e.indent) + Sr(vr(uu(r, p), g));
4592
- case on:
4594
+ case sn:
4593
4595
  return '"' + iu(r) + '"';
4594
4596
  default:
4595
4597
  throw new I("impossible error: invalid scalar style");
@@ -4632,7 +4634,7 @@ function tt() {
4632
4634
  }
4633
4635
  function iu(e) {
4634
4636
  for (var r = "", o = 0, f, s = 0; s < e.length; o >= 65536 ? s += 2 : s++)
4635
- o = gn(e, s), f = $e[o], !f && dn(o) ? (r += e[s], o >= 65536 && (r += e[s + 1])) : r += f || Gt(o);
4637
+ o = Dn(e, s), f = $e[o], !f && gn(o) ? (r += e[s], o >= 65536 && (r += e[s + 1])) : r += f || Gt(o);
4636
4638
  return r;
4637
4639
  }
4638
4640
  function au(e, r, o) {
@@ -4644,7 +4646,7 @@ function tt() {
4644
4646
  function kr(e, r, o, f) {
4645
4647
  var s = "", g = e.tag, p, F, S;
4646
4648
  for (p = 0, F = o.length; p < F; p += 1)
4647
- S = o[p], e.replacer && (S = e.replacer.call(o, String(p), S)), (ze(e, r + 1, S, !0, !0, !1, !0) || typeof S > "u" && ze(e, r + 1, null, !0, !0, !1, !0)) && ((!f || s !== "") && (s += Yn(e, r)), e.dump && pn === e.dump.charCodeAt(0) ? s += "-" : s += "- ", s += e.dump);
4649
+ S = o[p], e.replacer && (S = e.replacer.call(o, String(p), S)), (ze(e, r + 1, S, !0, !0, !1, !0) || typeof S > "u" && ze(e, r + 1, null, !0, !0, !1, !0)) && ((!f || s !== "") && (s += Yn(e, r)), e.dump && hn === e.dump.charCodeAt(0) ? s += "-" : s += "- ", s += e.dump);
4648
4650
  e.tag = g, e.dump = s || "[]";
4649
4651
  }
4650
4652
  function ou(e, r, o) {
@@ -4662,7 +4664,7 @@ function tt() {
4662
4664
  else if (e.sortKeys)
4663
4665
  throw new I("sortKeys must be a boolean or a function");
4664
4666
  for (F = 0, S = p.length; F < S; F += 1)
4665
- ue = "", (!f || s !== "") && (ue += Yn(e, r)), V = p[F], Z = o[V], e.replacer && (Z = e.replacer.call(o, V, Z)), ze(e, r + 1, V, !0, !0, !0) && (U = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, U && (e.dump && pn === e.dump.charCodeAt(0) ? ue += "?" : ue += "? "), ue += e.dump, U && (ue += Yn(e, r)), ze(e, r + 1, Z, !0, U) && (e.dump && pn === e.dump.charCodeAt(0) ? ue += ":" : ue += ": ", ue += e.dump, s += ue));
4667
+ ue = "", (!f || s !== "") && (ue += Yn(e, r)), V = p[F], Z = o[V], e.replacer && (Z = e.replacer.call(o, V, Z)), ze(e, r + 1, V, !0, !0, !0) && (U = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, U && (e.dump && hn === e.dump.charCodeAt(0) ? ue += "?" : ue += "? "), ue += e.dump, U && (ue += Yn(e, r)), ze(e, r + 1, Z, !0, U) && (e.dump && hn === e.dump.charCodeAt(0) ? ue += ":" : ue += ": ", ue += e.dump, s += ue));
4666
4668
  e.tag = g, e.dump = s || "{}";
4667
4669
  }
4668
4670
  function Lr(e, r, o) {
@@ -5226,17 +5228,18 @@ function ti() {
5226
5228
  var ui = /* @__PURE__ */ ti();
5227
5229
  const ii = /* @__PURE__ */ Ou(ui), ai = `${Su.dirname(import.meta.url)}/locales/{{lng}}/{{ns}}.json`.replace("file://", "");
5228
5230
  function fi() {
5229
- return !mn.isInitialized && Iu() && (mn.use(ii).use(ku).init({
5231
+ return !An.isInitialized && Iu() && (An.use(ii).use(ku).init({
5230
5232
  debug: process.env.PROSOPO_LOG_LEVEL === "debug",
5231
- fallbackLng: Nu.enum.en,
5232
- supportedLngs: Lu,
5233
+ fallbackLng: Lu.enum.en,
5234
+ supportedLngs: Object.values(Nu),
5233
5235
  ns: ["translation"],
5234
5236
  backend: {
5235
5237
  loadPath: ai
5236
5238
  },
5237
5239
  detection: { order: ["header", "query", "cookie"] }
5238
- }), mn.on("loaded", () => {
5239
- })), mn;
5240
+ }), An.on("loaded", () => {
5241
+ console.log("i18n backend loaded");
5242
+ })), An;
5240
5243
  }
5241
5244
  export {
5242
5245
  fi as default,