@dev-blinq/cucumber_client 1.0.1429-dev → 1.0.1429-stage

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 (43) hide show
  1. package/bin/assets/bundled_scripts/recorder.js +73 -73
  2. package/bin/assets/preload/css_gen.js +10 -10
  3. package/bin/assets/preload/toolbar.js +27 -29
  4. package/bin/assets/preload/unique_locators.js +1 -1
  5. package/bin/assets/preload/yaml.js +288 -275
  6. package/bin/assets/scripts/aria_snapshot.js +223 -220
  7. package/bin/assets/scripts/dom_attr.js +329 -329
  8. package/bin/assets/scripts/dom_parent.js +169 -174
  9. package/bin/assets/scripts/event_utils.js +94 -94
  10. package/bin/assets/scripts/pw.js +2050 -1949
  11. package/bin/assets/scripts/recorder.js +70 -45
  12. package/bin/assets/scripts/snapshot_capturer.js +147 -147
  13. package/bin/assets/scripts/unique_locators.js +170 -49
  14. package/bin/assets/scripts/yaml.js +796 -783
  15. package/bin/assets/templates/_hooks_template.txt +6 -2
  16. package/bin/assets/templates/utils_template.txt +16 -16
  17. package/bin/client/code_cleanup/find_step_definition_references.js +0 -1
  18. package/bin/client/code_gen/api_codegen.js +2 -2
  19. package/bin/client/code_gen/code_inversion.js +63 -2
  20. package/bin/client/code_gen/function_signature.js +4 -0
  21. package/bin/client/code_gen/page_reflection.js +52 -11
  22. package/bin/client/code_gen/playwright_codeget.js +28 -22
  23. package/bin/client/cucumber/feature_data.js +2 -2
  24. package/bin/client/cucumber/project_to_document.js +8 -2
  25. package/bin/client/cucumber/steps_definitions.js +19 -3
  26. package/bin/client/local_agent.js +3 -2
  27. package/bin/client/parse_feature_file.js +23 -26
  28. package/bin/client/playground/projects/env.json +2 -2
  29. package/bin/client/recorderv3/bvt_init.js +363 -0
  30. package/bin/client/recorderv3/bvt_recorder.js +1009 -47
  31. package/bin/client/recorderv3/implemented_steps.js +2 -0
  32. package/bin/client/recorderv3/index.js +3 -283
  33. package/bin/client/recorderv3/scriptTest.js +1 -1
  34. package/bin/client/recorderv3/services.js +818 -142
  35. package/bin/client/recorderv3/step_runner.js +28 -8
  36. package/bin/client/recorderv3/step_utils.js +514 -39
  37. package/bin/client/recorderv3/update_feature.js +32 -13
  38. package/bin/client/recorderv3/wbr_entry.js +61 -0
  39. package/bin/client/recording.js +1 -0
  40. package/bin/client/upload-service.js +4 -2
  41. package/bin/client/utils/socket_logger.js +1 -1
  42. package/bin/index.js +4 -1
  43. package/package.json +6 -4
@@ -45,7 +45,7 @@ var Yaml = (function (e) {
45
45
  }
46
46
  function v(e, t, n, s) {
47
47
  const i = O(e, t, n, s);
48
- if (m(i) || f(i)) return A(e, s, i), v(e, i, n, s);
48
+ if (m(i) || f(i)) return (A(e, s, i), v(e, i, n, s));
49
49
  if ("symbol" != typeof i)
50
50
  if (p(t)) {
51
51
  s = Object.freeze(s.concat(t));
@@ -76,7 +76,7 @@ var Yaml = (function (e) {
76
76
  }
77
77
  async function E(e, t, n, s) {
78
78
  const i = await O(e, t, n, s);
79
- if (m(i) || f(i)) return A(e, s, i), E(e, i, n, s);
79
+ if (m(i) || f(i)) return (A(e, s, i), E(e, i, n, s));
80
80
  if ("symbol" != typeof i)
81
81
  if (p(t)) {
82
82
  s = Object.freeze(s.concat(t));
@@ -136,18 +136,18 @@ var Yaml = (function (e) {
136
136
  s.contents = n;
137
137
  }
138
138
  }
139
- (w.BREAK = g), (w.SKIP = b), (w.REMOVE = k), (S.BREAK = g), (S.SKIP = b), (S.REMOVE = k);
139
+ ((w.BREAK = g), (w.SKIP = b), (w.REMOVE = k), (S.BREAK = g), (S.SKIP = b), (S.REMOVE = k));
140
140
  const I = { "!": "%21", ",": "%2C", "[": "%5B", "]": "%5D", "{": "%7B", "}": "%7D" };
141
141
  class T {
142
142
  constructor(e, t) {
143
- (this.docStart = null),
143
+ ((this.docStart = null),
144
144
  (this.docEnd = !1),
145
145
  (this.yaml = Object.assign({}, T.defaultYaml, e)),
146
- (this.tags = Object.assign({}, T.defaultTags, t));
146
+ (this.tags = Object.assign({}, T.defaultTags, t)));
147
147
  }
148
148
  clone() {
149
149
  const e = new T(this.yaml, this.tags);
150
- return (e.docStart = this.docStart), e;
150
+ return ((e.docStart = this.docStart), e);
151
151
  }
152
152
  atDocument() {
153
153
  const e = new T(this.yaml, this.tags);
@@ -156,9 +156,9 @@ var Yaml = (function (e) {
156
156
  this.atNextDocument = !0;
157
157
  break;
158
158
  case "1.2":
159
- (this.atNextDocument = !1),
159
+ ((this.atNextDocument = !1),
160
160
  (this.yaml = { explicit: T.defaultYaml.explicit, version: "1.2" }),
161
- (this.tags = Object.assign({}, T.defaultTags));
161
+ (this.tags = Object.assign({}, T.defaultTags)));
162
162
  }
163
163
  return e;
164
164
  }
@@ -173,22 +173,22 @@ var Yaml = (function (e) {
173
173
  case "%TAG": {
174
174
  if (2 !== n.length && (t(0, "%TAG directive should contain exactly two parts"), n.length < 2)) return !1;
175
175
  const [e, s] = n;
176
- return (this.tags[e] = s), !0;
176
+ return ((this.tags[e] = s), !0);
177
177
  }
178
178
  case "%YAML": {
179
179
  if (((this.yaml.explicit = !0), 1 !== n.length))
180
- return t(0, "%YAML directive should contain exactly one part"), !1;
180
+ return (t(0, "%YAML directive should contain exactly one part"), !1);
181
181
  const [e] = n;
182
- if ("1.1" === e || "1.2" === e) return (this.yaml.version = e), !0;
183
- return t(6, `Unsupported YAML version ${e}`, /^\d+\.\d+$/.test(e)), !1;
182
+ if ("1.1" === e || "1.2" === e) return ((this.yaml.version = e), !0);
183
+ return (t(6, `Unsupported YAML version ${e}`, /^\d+\.\d+$/.test(e)), !1);
184
184
  }
185
185
  default:
186
- return t(0, `Unknown directive ${s}`, !0), !1;
186
+ return (t(0, `Unknown directive ${s}`, !0), !1);
187
187
  }
188
188
  }
189
189
  tagName(e, t) {
190
190
  if ("!" === e) return "!";
191
- if ("!" !== e[0]) return t(`Not a valid tag: ${e}`), null;
191
+ if ("!" !== e[0]) return (t(`Not a valid tag: ${e}`), null);
192
192
  if ("<" === e[1]) {
193
193
  const n = e.slice(2, -1);
194
194
  return "!" === n || "!!" === n
@@ -202,7 +202,7 @@ var Yaml = (function (e) {
202
202
  try {
203
203
  return i + decodeURIComponent(s);
204
204
  } catch (e) {
205
- return t(String(e)), null;
205
+ return (t(String(e)), null);
206
206
  }
207
207
  return "!" === n ? e : (t(`Could not resolve tag: ${e}`), null);
208
208
  }
@@ -217,10 +217,10 @@ var Yaml = (function (e) {
217
217
  let s;
218
218
  if (e && n.length > 0 && m(e.contents)) {
219
219
  const t = {};
220
- w(e.contents, (e, n) => {
220
+ (w(e.contents, (e, n) => {
221
221
  m(n) && n.tag && (t[n.tag] = !0);
222
222
  }),
223
- (s = Object.keys(t));
223
+ (s = Object.keys(t)));
224
224
  } else s = [];
225
225
  for (const [i, o] of n)
226
226
  ("!!" === i && "tag:yaml.org,2002:" === o) ||
@@ -284,23 +284,23 @@ var Yaml = (function (e) {
284
284
  if (e && "function" == typeof e.toJSON) {
285
285
  if (!n || !y(e)) return e.toJSON(t, n);
286
286
  const s = { aliasCount: 0, count: 1, res: void 0 };
287
- n.anchors.set(e, s),
287
+ (n.anchors.set(e, s),
288
288
  (n.onCreate = (e) => {
289
- (s.res = e), delete n.onCreate;
290
- });
289
+ ((s.res = e), delete n.onCreate);
290
+ }));
291
291
  const i = e.toJSON(t, n);
292
- return n.onCreate && n.onCreate(i), i;
292
+ return (n.onCreate && n.onCreate(i), i);
293
293
  }
294
294
  return "bigint" != typeof e || n?.keep ? e : Number(e);
295
295
  }
296
- (T.defaultYaml = { explicit: !1, version: "1.2" }), (T.defaultTags = { "!!": "tag:yaml.org,2002:" });
296
+ ((T.defaultYaml = { explicit: !1, version: "1.2" }), (T.defaultTags = { "!!": "tag:yaml.org,2002:" }));
297
297
  class K {
298
298
  constructor(e) {
299
299
  Object.defineProperty(this, a, { value: e });
300
300
  }
301
301
  clone() {
302
302
  const e = Object.create(Object.getPrototypeOf(this), Object.getOwnPropertyDescriptors(this));
303
- return this.range && (e.range = this.range.slice()), e;
303
+ return (this.range && (e.range = this.range.slice()), e);
304
304
  }
305
305
  toJS(e, { mapAsMap: t, maxAliasCount: n, onAnchor: s, reviver: i } = {}) {
306
306
  if (!l(e)) throw new TypeError("A document argument is required");
@@ -319,13 +319,13 @@ var Yaml = (function (e) {
319
319
  }
320
320
  class B extends K {
321
321
  constructor(e) {
322
- super(t),
322
+ (super(t),
323
323
  (this.source = e),
324
324
  Object.defineProperty(this, "tag", {
325
325
  set() {
326
326
  throw new Error("Alias nodes cannot have tags");
327
327
  },
328
- });
328
+ }));
329
329
  }
330
330
  resolve(e, t) {
331
331
  let n, s;
@@ -397,7 +397,7 @@ var Yaml = (function (e) {
397
397
  const M = (e) => !e || ("function" != typeof e && "object" != typeof e);
398
398
  class D extends K {
399
399
  constructor(e) {
400
- super(o), (this.value = e);
400
+ (super(o), (this.value = e));
401
401
  }
402
402
  toJSON(e, t) {
403
403
  return t?.keep ? this.value : _(this.value, e, t);
@@ -406,16 +406,16 @@ var Yaml = (function (e) {
406
406
  return String(this.value);
407
407
  }
408
408
  }
409
- (D.BLOCK_FOLDED = "BLOCK_FOLDED"),
409
+ ((D.BLOCK_FOLDED = "BLOCK_FOLDED"),
410
410
  (D.BLOCK_LITERAL = "BLOCK_LITERAL"),
411
411
  (D.PLAIN = "PLAIN"),
412
412
  (D.QUOTE_DOUBLE = "QUOTE_DOUBLE"),
413
- (D.QUOTE_SINGLE = "QUOTE_SINGLE");
413
+ (D.QUOTE_SINGLE = "QUOTE_SINGLE"));
414
414
  function q(e, t, n) {
415
415
  if ((l(e) && (e = e.contents), m(e))) return e;
416
416
  if (f(e)) {
417
417
  const t = n.schema[s].createNode?.(n.schema, null, n);
418
- return t.items.push(e), t;
418
+ return (t.items.push(e), t);
419
419
  }
420
420
  (e instanceof String ||
421
421
  e instanceof Number ||
@@ -425,8 +425,8 @@ var Yaml = (function (e) {
425
425
  const { aliasDuplicateObjects: i, onAnchor: o, onTagObj: a, schema: c, sourceObjects: u } = n;
426
426
  let h;
427
427
  if (i && e && "object" == typeof e) {
428
- if (((h = u.get(e)), h)) return h.anchor || (h.anchor = o(e)), new B(h.anchor);
429
- (h = { anchor: null, node: null }), u.set(e, h);
428
+ if (((h = u.get(e)), h)) return (h.anchor || (h.anchor = o(e)), new B(h.anchor));
429
+ ((h = { anchor: null, node: null }), u.set(e, h));
430
430
  }
431
431
  t?.startsWith("!!") && (t = "tag:yaml.org,2002:" + t.slice(2));
432
432
  let d = (function (e, t, n) {
@@ -441,7 +441,7 @@ var Yaml = (function (e) {
441
441
  if (!d) {
442
442
  if ((e && "function" == typeof e.toJSON && (e = e.toJSON()), !e || "object" != typeof e)) {
443
443
  const t = new D(e);
444
- return h && (h.node = t), t;
444
+ return (h && (h.node = t), t);
445
445
  }
446
446
  d = e instanceof Map ? c[s] : Symbol.iterator in Object(e) ? c[r] : c[s];
447
447
  }
@@ -451,7 +451,7 @@ var Yaml = (function (e) {
451
451
  : "function" == typeof d?.nodeClass?.from
452
452
  ? d.nodeClass.from(n.schema, e, n)
453
453
  : new D(e);
454
- return t ? (p.tag = t) : d.default || (p.tag = d.tag), h && (h.node = p), p;
454
+ return (t ? (p.tag = t) : d.default || (p.tag = d.tag), h && (h.node = p), p);
455
455
  }
456
456
  function P(e, t, n) {
457
457
  let s = n;
@@ -459,7 +459,7 @@ var Yaml = (function (e) {
459
459
  const n = t[e];
460
460
  if ("number" == typeof n && Number.isInteger(n) && n >= 0) {
461
461
  const e = [];
462
- (e[n] = s), (s = e);
462
+ ((e[n] = s), (s = e));
463
463
  } else s = new Map([[n, s]]);
464
464
  }
465
465
  return q(s, void 0, {
@@ -475,7 +475,7 @@ var Yaml = (function (e) {
475
475
  const U = (e) => null == e || ("object" == typeof e && !!e[Symbol.iterator]().next().done);
476
476
  class R extends K {
477
477
  constructor(e, t) {
478
- super(e), Object.defineProperty(this, "schema", { value: t, configurable: !0, enumerable: !1, writable: !0 });
478
+ (super(e), Object.defineProperty(this, "schema", { value: t, configurable: !0, enumerable: !1, writable: !0 }));
479
479
  }
480
480
  clone(e) {
481
481
  const t = Object.create(Object.getPrototypeOf(this), Object.getOwnPropertyDescriptors(this));
@@ -583,19 +583,19 @@ var Yaml = (function (e) {
583
583
  }
584
584
  g = m;
585
585
  }
586
- if ("\n" === s) n === W && (m = H(e, m, t.length)), (d = m + t.length + c), (f = void 0);
586
+ if ("\n" === s) (n === W && (m = H(e, m, t.length)), (d = m + t.length + c), (f = void 0));
587
587
  else {
588
588
  if (" " === s && h && " " !== h && "\n" !== h && "\t" !== h) {
589
589
  const t = e[m + 1];
590
590
  t && " " !== t && "\n" !== t && "\t" !== t && (f = m);
591
591
  }
592
592
  if (m >= d)
593
- if (f) l.push(f), (d = f + c), (f = void 0);
593
+ if (f) (l.push(f), (d = f + c), (f = void 0));
594
594
  else if (n === G) {
595
- for (; " " === h || "\t" === h; ) (h = s), (s = e[(m += 1)]), (p = !0);
595
+ for (; " " === h || "\t" === h; ) ((h = s), (s = e[(m += 1)]), (p = !0));
596
596
  const t = m > g + 1 ? m - 2 : y - 1;
597
597
  if (u[t]) return e;
598
- l.push(t), (u[t] = !0), (d = t + c), (f = void 0);
598
+ (l.push(t), (u[t] = !0), (d = t + c), (f = void 0));
599
599
  } else p = !0;
600
600
  }
601
601
  h = s;
@@ -622,7 +622,7 @@ var Yaml = (function (e) {
622
622
  do {
623
623
  o = e[++t];
624
624
  } while (o && "\n" !== o);
625
- (s = t), (i = t + 1), (o = e[i]);
625
+ ((s = t), (i = t + 1), (o = e[i]));
626
626
  }
627
627
  return s;
628
628
  }
@@ -681,21 +681,21 @@ var Yaml = (function (e) {
681
681
  default:
682
682
  "00" === t.substr(0, 2) ? (r += "\\x" + t.substr(2)) : (r += n.substr(e, 6));
683
683
  }
684
- (e += 5), (a = e + 1);
684
+ ((e += 5), (a = e + 1));
685
685
  }
686
686
  break;
687
687
  case "n":
688
688
  if (s || '"' === n[e + 2] || n.length < i) e += 1;
689
689
  else {
690
690
  for (r += n.slice(a, e) + "\n\n"; "\\" === n[e + 2] && "n" === n[e + 3] && '"' !== n[e + 4]; )
691
- (r += "\n"), (e += 2);
692
- (r += o), " " === n[e + 2] && (r += "\\"), (e += 1), (a = e + 1);
691
+ ((r += "\n"), (e += 2));
692
+ ((r += o), " " === n[e + 2] && (r += "\\"), (e += 1), (a = e + 1));
693
693
  }
694
694
  break;
695
695
  default:
696
696
  e += 1;
697
697
  }
698
- return (r = a ? r + n.slice(a) : n), s ? r : Q(r, o, G, X(t, !1));
698
+ return ((r = a ? r + n.slice(a) : n), s ? r : Q(r, o, G, X(t, !1)));
699
699
  }
700
700
  function ee(e, t) {
701
701
  if (!1 === t.options.singleQuote || (t.implicitKey && e.includes("\n")) || /[ \t]\n|\n[ \t]/.test(e))
@@ -750,9 +750,9 @@ var Yaml = (function (e) {
750
750
  }
751
751
  let d = n.substring(h);
752
752
  const p = d.indexOf("\n");
753
- -1 === p ? (f = "-") : n === d || p !== d.length - 1 ? ((f = "+"), o && o()) : (f = ""),
753
+ (-1 === p ? (f = "-") : n === d || p !== d.length - 1 ? ((f = "+"), o && o()) : (f = ""),
754
754
  d &&
755
- ((n = n.slice(0, -d.length)), "\n" === d[d.length - 1] && (d = d.slice(0, -1)), (d = d.replace(ne, `$&${l}`)));
755
+ ((n = n.slice(0, -d.length)), "\n" === d[d.length - 1] && (d = d.slice(0, -1)), (d = d.replace(ne, `$&${l}`))));
756
756
  let m,
757
757
  y = !1,
758
758
  g = -1;
@@ -807,7 +807,7 @@ var Yaml = (function (e) {
807
807
  return a || u || !o.includes("\n") ? te(o, t) : se(e, t, n, s);
808
808
  if (!a && !u && i !== D.PLAIN && o.includes("\n")) return se(e, t, n, s);
809
809
  if (z(o)) {
810
- if ("" === c) return (t.forceBlockIndent = !0), se(e, t, n, s);
810
+ if ("" === c) return ((t.forceBlockIndent = !0), se(e, t, n, s));
811
811
  if (a && c === l) return te(o, t);
812
812
  }
813
813
  const f = o.replace(/\n+/g, `$&\n${c}`);
@@ -880,7 +880,7 @@ var Yaml = (function (e) {
880
880
  if (c(e)) {
881
881
  if (t.doc.directives) return e.toString(t);
882
882
  if (t.resolvedAliases?.has(e)) throw new TypeError("Cannot stringify circular structure without alias nodes");
883
- t.resolvedAliases ? t.resolvedAliases.add(e) : (t.resolvedAliases = new Set([e])), (e = e.resolve(t.doc));
883
+ (t.resolvedAliases ? t.resolvedAliases.add(e) : (t.resolvedAliases = new Set([e])), (e = e.resolve(t.doc)));
884
884
  }
885
885
  let i;
886
886
  const o = m(e) ? e : t.doc.createNode(e, { onTagObj: (e) => (i = e) });
@@ -899,7 +899,7 @@ var Yaml = (function (e) {
899
899
  e.length > 0 && (i = e);
900
900
  }
901
901
  n = i.find((e) => e.format === t.format) ?? i.find((e) => !e.format);
902
- } else (s = t), (n = e.find((e) => e.nodeClass && s instanceof e.nodeClass));
902
+ } else ((s = t), (n = e.find((e) => e.nodeClass && s instanceof e.nodeClass)));
903
903
  if (!n)
904
904
  throw new Error(`Tag not resolved for ${s?.constructor?.name ?? (null === s ? "null" : typeof s)} value`);
905
905
  return n;
@@ -910,7 +910,7 @@ var Yaml = (function (e) {
910
910
  o = (h(e) || p(e)) && e.anchor;
911
911
  o && L(o) && (n.add(o), i.push(`&${o}`));
912
912
  const r = e.tag ? e.tag : t.default ? null : t.tag;
913
- return r && i.push(s.directives.tagString(r)), i.join(" ");
913
+ return (r && i.push(s.directives.tagString(r)), i.join(" "));
914
914
  })(o, i, t);
915
915
  r.length > 0 && (t.indentAtStart = (t.indentAtStart ?? 0) + r.length + 1);
916
916
  const a = "function" == typeof i.stringify ? i.stringify(o, t, n, s) : h(o) ? ie(o, t, n, s) : o.toString(t, n, s);
@@ -966,16 +966,16 @@ var Yaml = (function (e) {
966
966
  const t = oe(n.doc, {});
967
967
  t.anchors = new Set();
968
968
  for (const e of n.anchors.keys()) t.anchors.add(e.anchor);
969
- (t.inFlow = !0), (t.inStringifyKey = !0);
969
+ ((t.inFlow = !0), (t.inStringifyKey = !0));
970
970
  const s = e.toString(t);
971
971
  if (!n.mapKeyWarned) {
972
972
  let e = JSON.stringify(s);
973
- e.length > 40 && (e = e.substring(0, 36) + '..."'),
973
+ (e.length > 40 && (e = e.substring(0, 36) + '..."'),
974
974
  ae(
975
975
  n.doc.options.logLevel,
976
976
  `Keys with collection values will be stringified due to JS Object restrictions: ${e}. Set mapAsMap: true to use object keys.`
977
977
  ),
978
- (n.mapKeyWarned = !0);
978
+ (n.mapKeyWarned = !0));
979
979
  }
980
980
  return s;
981
981
  }
@@ -994,11 +994,11 @@ var Yaml = (function (e) {
994
994
  }
995
995
  class pe {
996
996
  constructor(e, t = null) {
997
- Object.defineProperty(this, a, { value: i }), (this.key = e), (this.value = t);
997
+ (Object.defineProperty(this, a, { value: i }), (this.key = e), (this.value = t));
998
998
  }
999
999
  clone(e) {
1000
1000
  let { key: t, value: n } = this;
1001
- return m(t) && (t = t.clone(e)), m(n) && (n = n.clone(e)), new pe(t, n);
1001
+ return (m(t) && (t = t.clone(e)), m(n) && (n = n.clone(e)), new pe(t, n));
1002
1002
  }
1003
1003
  toJSON(e, t) {
1004
1004
  return he(t, t?.mapAsMap ? new Map() : {}, this);
@@ -1042,10 +1042,10 @@ var Yaml = (function (e) {
1042
1042
  g = !0;
1043
1043
  }
1044
1044
  if (n.inFlow) {
1045
- if (o || null == t) return v && s && s(), "" === E ? "?" : g ? `? ${E}` : E;
1045
+ if (o || null == t) return (v && s && s(), "" === E ? "?" : g ? `? ${E}` : E);
1046
1046
  } else if ((o && !f) || (null == t && g))
1047
- return (E = `? ${E}`), y && !v ? (E += J(E, n.indent, l(y))) : S && i && i(), E;
1048
- v && (y = null),
1047
+ return ((E = `? ${E}`), y && !v ? (E += J(E, n.indent, l(y))) : S && i && i(), E);
1048
+ (v && (y = null),
1049
1049
  g
1050
1050
  ? (y && (E += J(E, n.indent, l(y))), (E = `? ${E}\n${a}:`))
1051
1051
  : ((E = `${E}:`), y && (E += J(E, n.indent, l(y)))),
@@ -1063,7 +1063,7 @@ var Yaml = (function (e) {
1063
1063
  t.flow ||
1064
1064
  t.tag ||
1065
1065
  t.anchor ||
1066
- (n.indent = n.indent.substring(2));
1066
+ (n.indent = n.indent.substring(2)));
1067
1067
  let N = !1;
1068
1068
  const O = re(
1069
1069
  t,
@@ -1073,9 +1073,9 @@ var Yaml = (function (e) {
1073
1073
  );
1074
1074
  let A = " ";
1075
1075
  if (y || b || k)
1076
- (A = b ? "\n" : ""),
1076
+ ((A = b ? "\n" : ""),
1077
1077
  k && (A += `\n${V(l(k), n.indent)}`),
1078
- "" !== O || n.inFlow ? (A += `\n${n.indent}`) : "\n" === A && (A = "\n\n");
1078
+ "" !== O || n.inFlow ? (A += `\n${n.indent}`) : "\n" === A && (A = "\n\n"));
1079
1079
  else if (!g && p(t)) {
1080
1080
  const e = O[0],
1081
1081
  s = O.indexOf("\n"),
@@ -1085,19 +1085,19 @@ var Yaml = (function (e) {
1085
1085
  let t = !1;
1086
1086
  if (i && ("&" === e || "!" === e)) {
1087
1087
  let n = O.indexOf(" ");
1088
- "&" === e && -1 !== n && n < s && "!" === O[n + 1] && (n = O.indexOf(" ", n + 1)),
1089
- (-1 === n || s < n) && (t = !0);
1088
+ ("&" === e && -1 !== n && n < s && "!" === O[n + 1] && (n = O.indexOf(" ", n + 1)),
1089
+ (-1 === n || s < n) && (t = !0));
1090
1090
  }
1091
1091
  t || (A = `\n${n.indent}`);
1092
1092
  }
1093
1093
  } else ("" !== O && "\n" !== O[0]) || (A = "");
1094
- return (E += A + O), n.inFlow ? N && s && s() : w && !N ? (E += J(E, n.indent, l(w))) : S && i && i(), E;
1094
+ return ((E += A + O), n.inFlow ? N && s && s() : w && !N ? (E += J(E, n.indent, l(w))) : S && i && i(), E);
1095
1095
  })(this, e, t, n)
1096
1096
  : JSON.stringify(this);
1097
1097
  }
1098
1098
  }
1099
1099
  function me(e, t, n) {
1100
- return (t.inFlow ?? e.flow ? ge : ye)(e, t, n);
1100
+ return ((t.inFlow ?? e.flow) ? ge : ye)(e, t, n);
1101
1101
  }
1102
1102
  function ye(
1103
1103
  { comment: e, items: t },
@@ -1114,7 +1114,7 @@ var Yaml = (function (e) {
1114
1114
  for (let e = 0; e < t.length; ++e) {
1115
1115
  const i = t[e];
1116
1116
  let r = null;
1117
- if (m(i)) !h && i.spaceBefore && d.push(""), be(n, d, i.commentBefore, h), i.comment && (r = i.comment);
1117
+ if (m(i)) (!h && i.spaceBefore && d.push(""), be(n, d, i.commentBefore, h), i.comment && (r = i.comment));
1118
1118
  else if (f(i)) {
1119
1119
  const e = m(i.key) ? i.key : null;
1120
1120
  e && (!h && e.spaceBefore && d.push(""), be(n, d, e.commentBefore, h));
@@ -1126,7 +1126,7 @@ var Yaml = (function (e) {
1126
1126
  () => (r = null),
1127
1127
  () => (h = !0)
1128
1128
  );
1129
- r && (a += J(a, o, l(r))), h && r && (h = !1), d.push(s + a);
1129
+ (r && (a += J(a, o, l(r))), h && r && (h = !1), d.push(s + a));
1130
1130
  }
1131
1131
  let p;
1132
1132
  if (0 === d.length) p = i.start + i.end;
@@ -1137,7 +1137,7 @@ var Yaml = (function (e) {
1137
1137
  p += t ? `\n${c}${t}` : "\n";
1138
1138
  }
1139
1139
  }
1140
- return e ? ((p += "\n" + V(l(e), c)), a && a()) : h && r && r(), p;
1140
+ return (e ? ((p += "\n" + V(l(e), c)), a && a()) : h && r && r(), p);
1141
1141
  }
1142
1142
  function ge({ items: e }, t, { flowChars: n, itemIndent: s }) {
1143
1143
  const {
@@ -1154,7 +1154,7 @@ var Yaml = (function (e) {
1154
1154
  for (let n = 0; n < e.length; ++n) {
1155
1155
  const i = e[n];
1156
1156
  let o = null;
1157
- if (m(i)) i.spaceBefore && h.push(""), be(t, h, i.commentBefore, !1), i.comment && (o = i.comment);
1157
+ if (m(i)) (i.spaceBefore && h.push(""), be(t, h, i.commentBefore, !1), i.comment && (o = i.comment));
1158
1158
  else if (f(i)) {
1159
1159
  const e = m(i.key) ? i.key : null;
1160
1160
  e && (e.spaceBefore && h.push(""), be(t, h, e.commentBefore, !1), e.comment && (l = !0));
@@ -1165,11 +1165,11 @@ var Yaml = (function (e) {
1165
1165
  }
1166
1166
  o && (l = !0);
1167
1167
  let r = re(i, c, () => (o = null));
1168
- n < e.length - 1 && (r += ","),
1168
+ (n < e.length - 1 && (r += ","),
1169
1169
  o && (r += J(r, s, a(o))),
1170
1170
  !l && (h.length > u || r.includes("\n")) && (l = !0),
1171
1171
  h.push(r),
1172
- (u = h.length);
1172
+ (u = h.length));
1173
1173
  }
1174
1174
  const { start: d, end: p } = n;
1175
1175
  if (0 === h.length) return d + p;
@@ -1203,7 +1203,7 @@ var Yaml = (function (e) {
1203
1203
  return "tag:yaml.org,2002:map";
1204
1204
  }
1205
1205
  constructor(e) {
1206
- super(s, e), (this.items = []);
1206
+ (super(s, e), (this.items = []));
1207
1207
  }
1208
1208
  static from(e, t, n) {
1209
1209
  const { keepUndefined: s, replacer: i } = n,
@@ -1215,7 +1215,7 @@ var Yaml = (function (e) {
1215
1215
  };
1216
1216
  if (t instanceof Map) for (const [e, n] of t) r(e, n);
1217
1217
  else if (t && "object" == typeof t) for (const e of Object.keys(t)) r(e, t[e]);
1218
- return "function" == typeof e.sortMapEntries && o.items.sort(e.sortMapEntries), o;
1218
+ return ("function" == typeof e.sortMapEntries && o.items.sort(e.sortMapEntries), o);
1219
1219
  }
1220
1220
  add(e, t) {
1221
1221
  let n;
@@ -1281,7 +1281,7 @@ var Yaml = (function (e) {
1281
1281
  return "tag:yaml.org,2002:seq";
1282
1282
  }
1283
1283
  constructor(e) {
1284
- super(r, e), (this.items = []);
1284
+ (super(r, e), (this.items = []));
1285
1285
  }
1286
1286
  add(e) {
1287
1287
  this.items.push(e);
@@ -1344,7 +1344,8 @@ var Yaml = (function (e) {
1344
1344
  function Ee(e) {
1345
1345
  let t = h(e) ? e.value : e;
1346
1346
  return (
1347
- t && "string" == typeof t && (t = Number(t)), "number" == typeof t && Number.isInteger(t) && t >= 0 ? t : null
1347
+ t && "string" == typeof t && (t = Number(t)),
1348
+ "number" == typeof t && Number.isInteger(t) && t >= 0 ? t : null
1348
1349
  );
1349
1350
  }
1350
1351
  const Ne = {
@@ -1426,7 +1427,7 @@ var Yaml = (function (e) {
1426
1427
  resolve(e) {
1427
1428
  const t = new D(parseFloat(e)),
1428
1429
  n = e.indexOf(".");
1429
- return -1 !== n && "0" === e[e.length - 1] && (t.minFractionDigits = e.length - n - 1), t;
1430
+ return (-1 !== n && "0" === e[e.length - 1] && (t.minFractionDigits = e.length - n - 1), t);
1430
1431
  },
1431
1432
  stringify: Te,
1432
1433
  },
@@ -1523,7 +1524,7 @@ var Yaml = (function (e) {
1523
1524
  for (let e = 0; e < t.length; ++e) n[e] = t.charCodeAt(e);
1524
1525
  return n;
1525
1526
  }
1526
- return t("This environment does not support reading binary tags; either Buffer or atob is required"), e;
1527
+ return (t("This environment does not support reading binary tags; either Buffer or atob is required"), e);
1527
1528
  },
1528
1529
  stringify({ comment: e, type: t, value: n }, s, i, o) {
1529
1530
  if (!n) return "";
@@ -1582,11 +1583,11 @@ var Yaml = (function (e) {
1582
1583
  let r, a;
1583
1584
  if (("function" == typeof s && (e = s.call(t, String(o++), e)), Array.isArray(e))) {
1584
1585
  if (2 !== e.length) throw new TypeError(`Expected [key, value] tuple: ${e}`);
1585
- (r = e[0]), (a = e[1]);
1586
+ ((r = e[0]), (a = e[1]));
1586
1587
  } else if (e && e instanceof Object) {
1587
1588
  const t = Object.keys(e);
1588
1589
  if (1 !== t.length) throw new TypeError(`Expected tuple with one key, not ${t.length} keys`);
1589
- (r = t[0]), (a = e[r]);
1590
+ ((r = t[0]), (a = e[r]));
1590
1591
  } else r = e;
1591
1592
  i.items.push(de(r, a, n));
1592
1593
  }
@@ -1595,13 +1596,13 @@ var Yaml = (function (e) {
1595
1596
  const Je = { collection: "seq", default: !1, tag: "tag:yaml.org,2002:pairs", resolve: Fe, createNode: Ve };
1596
1597
  class Ye extends Se {
1597
1598
  constructor() {
1598
- super(),
1599
+ (super(),
1599
1600
  (this.add = we.prototype.add.bind(this)),
1600
1601
  (this.delete = we.prototype.delete.bind(this)),
1601
1602
  (this.get = we.prototype.get.bind(this)),
1602
1603
  (this.has = we.prototype.has.bind(this)),
1603
1604
  (this.set = we.prototype.set.bind(this)),
1604
- (this.tag = Ye.tag);
1605
+ (this.tag = Ye.tag));
1605
1606
  }
1606
1607
  toJSON(e, t) {
1607
1608
  if (!t) return super.toJSON(e);
@@ -1618,7 +1619,7 @@ var Yaml = (function (e) {
1618
1619
  static from(e, t, n) {
1619
1620
  const s = Ve(e, t, n),
1620
1621
  i = new this();
1621
- return (i.items = s.items), i;
1622
+ return ((i.items = s.items), i);
1622
1623
  }
1623
1624
  }
1624
1625
  Ye.tag = "tag:yaml.org,2002:omap";
@@ -1758,7 +1759,7 @@ var Yaml = (function (e) {
1758
1759
  };
1759
1760
  class at extends we {
1760
1761
  constructor(e) {
1761
- super(e), (this.tag = at.tag);
1762
+ (super(e), (this.tag = at.tag));
1762
1763
  }
1763
1764
  add(e) {
1764
1765
  let t;
@@ -1791,7 +1792,7 @@ var Yaml = (function (e) {
1791
1792
  const { replacer: s } = n,
1792
1793
  i = new this(e);
1793
1794
  if (t && Symbol.iterator in Object(t))
1794
- for (let e of t) "function" == typeof s && (e = s.call(t, e, e)), i.items.push(de(e, null, n));
1795
+ for (let e of t) ("function" == typeof s && (e = s.call(t, e, e)), i.items.push(de(e, null, n)));
1795
1796
  return i;
1796
1797
  }
1797
1798
  }
@@ -1873,7 +1874,7 @@ var Yaml = (function (e) {
1873
1874
  const u = t[8];
1874
1875
  if (u && "Z" !== u) {
1875
1876
  let e = lt(u, !1);
1876
- Math.abs(e) < 30 && (e *= 60), (l -= 6e4 * e);
1877
+ (Math.abs(e) < 30 && (e *= 60), (l -= 6e4 * e));
1877
1878
  }
1878
1879
  return new Date(l);
1879
1880
  },
@@ -1942,7 +1943,7 @@ var Yaml = (function (e) {
1942
1943
  .join(", ");
1943
1944
  throw new Error(`Unknown custom tag ${e}; use one of ${n}`);
1944
1945
  }
1945
- return e.includes(n) || e.push(n), e;
1946
+ return (e.includes(n) || e.push(n), e);
1946
1947
  }, [])
1947
1948
  );
1948
1949
  }
@@ -1957,7 +1958,7 @@ var Yaml = (function (e) {
1957
1958
  sortMapEntries: c,
1958
1959
  toStringDefaults: l,
1959
1960
  }) {
1960
- (this.compat = Array.isArray(e) ? bt(e, "compat") : e ? bt(null, e) : null),
1961
+ ((this.compat = Array.isArray(e) ? bt(e, "compat") : e ? bt(null, e) : null),
1961
1962
  (this.name = ("string" == typeof a && a) || "core"),
1962
1963
  (this.knownTags = i ? gt : {}),
1963
1964
  (this.tags = bt(t, this.name, n)),
@@ -1965,20 +1966,20 @@ var Yaml = (function (e) {
1965
1966
  Object.defineProperty(this, s, { value: ve }),
1966
1967
  Object.defineProperty(this, o, { value: Oe }),
1967
1968
  Object.defineProperty(this, r, { value: Ne }),
1968
- (this.sortMapEntries = "function" == typeof c ? c : !0 === c ? kt : null);
1969
+ (this.sortMapEntries = "function" == typeof c ? c : !0 === c ? kt : null));
1969
1970
  }
1970
1971
  clone() {
1971
1972
  const e = Object.create(wt.prototype, Object.getOwnPropertyDescriptors(this));
1972
- return (e.tags = this.tags.slice()), e;
1973
+ return ((e.tags = this.tags.slice()), e);
1973
1974
  }
1974
1975
  }
1975
1976
  class vt {
1976
1977
  constructor(e, t, s) {
1977
- (this.commentBefore = null),
1978
+ ((this.commentBefore = null),
1978
1979
  (this.comment = null),
1979
1980
  (this.errors = []),
1980
1981
  (this.warnings = []),
1981
- Object.defineProperty(this, a, { value: n });
1982
+ Object.defineProperty(this, a, { value: n }));
1982
1983
  let i = null;
1983
1984
  "function" == typeof t || Array.isArray(t) ? (i = t) : void 0 === s && t && ((s = t), (t = void 0));
1984
1985
  const o = Object.assign(
@@ -1996,12 +1997,12 @@ var Yaml = (function (e) {
1996
1997
  );
1997
1998
  this.options = o;
1998
1999
  let { version: r } = o;
1999
- s?._directives
2000
+ (s?._directives
2000
2001
  ? ((this.directives = s._directives.atDocument()),
2001
2002
  this.directives.yaml.explicit && (r = this.directives.yaml.version))
2002
2003
  : (this.directives = new T({ version: r })),
2003
2004
  this.setSchema(r, s),
2004
- (this.contents = void 0 === e ? null : this.createNode(e, i, s));
2005
+ (this.contents = void 0 === e ? null : this.createNode(e, i, s)));
2005
2006
  }
2006
2007
  clone() {
2007
2008
  const e = Object.create(vt.prototype, { [a]: { value: n } });
@@ -2033,11 +2034,11 @@ var Yaml = (function (e) {
2033
2034
  }
2034
2035
  createNode(e, t, n) {
2035
2036
  let s;
2036
- if ("function" == typeof t) (e = t.call({ "": e }, "", e)), (s = t);
2037
+ if ("function" == typeof t) ((e = t.call({ "": e }, "", e)), (s = t));
2037
2038
  else if (Array.isArray(t)) {
2038
2039
  const e = (e) => "number" == typeof e || e instanceof String || e instanceof Number,
2039
2040
  n = t.filter(e).map(String);
2040
- n.length > 0 && (t = t.concat(n)), (s = t);
2041
+ (n.length > 0 && (t = t.concat(n)), (s = t));
2041
2042
  } else void 0 === n && t && ((n = t), (t = void 0));
2042
2043
  const { aliasDuplicateObjects: i, anchorPrefix: o, flow: r, keepUndefined: a, onTagObj: c, tag: l } = n ?? {},
2043
2044
  {
@@ -2050,9 +2051,9 @@ var Yaml = (function (e) {
2050
2051
  let i = null;
2051
2052
  return {
2052
2053
  onAnchor: (s) => {
2053
- n.push(s), i || (i = x(e));
2054
+ (n.push(s), i || (i = x(e)));
2054
2055
  const o = $(t, i);
2055
- return i.add(o), o;
2056
+ return (i.add(o), o);
2056
2057
  },
2057
2058
  setAnchors: () => {
2058
2059
  for (const e of n) {
@@ -2076,7 +2077,7 @@ var Yaml = (function (e) {
2076
2077
  schema: this.schema,
2077
2078
  sourceObjects: d,
2078
2079
  });
2079
- return r && p(m) && (m.flow = !0), f(), m;
2080
+ return (r && p(m) && (m.flow = !0), f(), m);
2080
2081
  }
2081
2082
  createPair(e, t, n = {}) {
2082
2083
  const s = this.createNode(e, null, n),
@@ -2123,16 +2124,16 @@ var Yaml = (function (e) {
2123
2124
  let n;
2124
2125
  switch (("number" == typeof e && (e = String(e)), e)) {
2125
2126
  case "1.1":
2126
- this.directives ? (this.directives.yaml.version = "1.1") : (this.directives = new T({ version: "1.1" })),
2127
- (n = { resolveKnownTags: !1, schema: "yaml-1.1" });
2127
+ (this.directives ? (this.directives.yaml.version = "1.1") : (this.directives = new T({ version: "1.1" })),
2128
+ (n = { resolveKnownTags: !1, schema: "yaml-1.1" }));
2128
2129
  break;
2129
2130
  case "1.2":
2130
2131
  case "next":
2131
- this.directives ? (this.directives.yaml.version = e) : (this.directives = new T({ version: e })),
2132
- (n = { resolveKnownTags: !0, schema: "core" });
2132
+ (this.directives ? (this.directives.yaml.version = e) : (this.directives = new T({ version: e })),
2133
+ (n = { resolveKnownTags: !0, schema: "core" }));
2133
2134
  break;
2134
2135
  case null:
2135
- this.directives && delete this.directives, (n = null);
2136
+ (this.directives && delete this.directives, (n = null));
2136
2137
  break;
2137
2138
  default: {
2138
2139
  const t = JSON.stringify(e);
@@ -2190,12 +2191,12 @@ var Yaml = (function (e) {
2190
2191
  const t = o(e.contents.commentBefore);
2191
2192
  n.push(V(t, ""));
2192
2193
  }
2193
- (i.forceBlockIndent = !!e.comment), (a = e.contents.comment);
2194
+ ((i.forceBlockIndent = !!e.comment), (a = e.contents.comment));
2194
2195
  }
2195
2196
  const t = a ? void 0 : () => (r = !0);
2196
2197
  let c = re(e.contents, i, () => (a = null), t);
2197
- a && (c += J(c, "", o(a))),
2198
- ("|" !== c[0] && ">" !== c[0]) || "---" !== n[n.length - 1] ? n.push(c) : (n[n.length - 1] = `--- ${c}`);
2198
+ (a && (c += J(c, "", o(a))),
2199
+ ("|" !== c[0] && ">" !== c[0]) || "---" !== n[n.length - 1] ? n.push(c) : (n[n.length - 1] = `--- ${c}`));
2199
2200
  } else n.push(re(e.contents, i));
2200
2201
  if (e.directives?.docEnd)
2201
2202
  if (e.comment) {
@@ -2204,8 +2205,8 @@ var Yaml = (function (e) {
2204
2205
  } else n.push("...");
2205
2206
  else {
2206
2207
  let t = e.comment;
2207
- t && r && (t = t.replace(/^\n+/, "")),
2208
- t && ((r && !a) || "" === n[n.length - 1] || n.push(""), n.push(V(o(t), "")));
2208
+ (t && r && (t = t.replace(/^\n+/, "")),
2209
+ t && ((r && !a) || "" === n[n.length - 1] || n.push(""), n.push(V(o(t), ""))));
2209
2210
  }
2210
2211
  return n.join("\n") + "\n";
2211
2212
  })(this, e);
@@ -2217,7 +2218,7 @@ var Yaml = (function (e) {
2217
2218
  }
2218
2219
  class Et extends Error {
2219
2220
  constructor(e, t, n, s) {
2220
- super(), (this.name = e), (this.code = n), (this.message = s), (this.pos = t);
2221
+ (super(), (this.name = e), (this.code = n), (this.message = s), (this.pos = t));
2221
2222
  }
2222
2223
  }
2223
2224
  class Nt extends Et {
@@ -2239,11 +2240,11 @@ var Yaml = (function (e) {
2239
2240
  r = e.substring(t.lineStarts[s - 1], t.lineStarts[s]).replace(/[\n\r]+$/, "");
2240
2241
  if (o >= 60 && r.length > 80) {
2241
2242
  const e = Math.min(o - 39, r.length - 79);
2242
- (r = "…" + r.substring(e)), (o -= e - 1);
2243
+ ((r = "…" + r.substring(e)), (o -= e - 1));
2243
2244
  }
2244
2245
  if ((r.length > 80 && (r = r.substring(0, 79) + "…"), s > 1 && /^ *$/.test(r.substring(0, o)))) {
2245
2246
  let n = e.substring(t.lineStarts[s - 2], t.lineStarts[s - 1]);
2246
- n.length > 80 && (n = n.substring(0, 79) + "…\n"), (r = n + r);
2247
+ (n.length > 80 && (n = n.substring(0, 79) + "…\n"), (r = n + r));
2247
2248
  }
2248
2249
  if (/[^ ]/.test(r)) {
2249
2250
  let e = 1;
@@ -2285,53 +2286,53 @@ var Yaml = (function (e) {
2285
2286
  i.type)
2286
2287
  ) {
2287
2288
  case "space":
2288
- t || ("doc-start" === n && "flow-collection" === s?.type) || !i.source.includes("\t") || (m = i), (u = !0);
2289
+ (t || ("doc-start" === n && "flow-collection" === s?.type) || !i.source.includes("\t") || (m = i), (u = !0));
2289
2290
  break;
2290
2291
  case "comment": {
2291
2292
  u || o(i, "MISSING_CHAR", "Comments must be separated from other tokens by white space characters");
2292
2293
  const e = i.source.substring(1) || " ";
2293
- f ? (f += h + e) : (f = e), (h = ""), (l = !1);
2294
+ (f ? (f += h + e) : (f = e), (h = ""), (l = !1));
2294
2295
  break;
2295
2296
  }
2296
2297
  case "newline":
2297
- l ? (f ? (f += i.source) : (w && "seq-item-ind" === n) || (c = !0)) : (h += i.source),
2298
+ (l ? (f ? (f += i.source) : (w && "seq-item-ind" === n) || (c = !0)) : (h += i.source),
2298
2299
  (l = !0),
2299
2300
  (d = !0),
2300
2301
  (y || g) && (b = i),
2301
- (u = !0);
2302
+ (u = !0));
2302
2303
  break;
2303
2304
  case "anchor":
2304
- y && o(i, "MULTIPLE_ANCHORS", "A node can have at most one anchor"),
2305
+ (y && o(i, "MULTIPLE_ANCHORS", "A node can have at most one anchor"),
2305
2306
  i.source.endsWith(":") &&
2306
2307
  o(i.offset + i.source.length - 1, "BAD_ALIAS", "Anchor ending in : is ambiguous", !0),
2307
2308
  (y = i),
2308
2309
  null === v && (v = i.offset),
2309
2310
  (l = !1),
2310
2311
  (u = !1),
2311
- (p = !0);
2312
+ (p = !0));
2312
2313
  break;
2313
2314
  case "tag":
2314
- g && o(i, "MULTIPLE_TAGS", "A node can have at most one tag"),
2315
+ (g && o(i, "MULTIPLE_TAGS", "A node can have at most one tag"),
2315
2316
  (g = i),
2316
2317
  null === v && (v = i.offset),
2317
2318
  (l = !1),
2318
2319
  (u = !1),
2319
- (p = !0);
2320
+ (p = !0));
2320
2321
  break;
2321
2322
  case n:
2322
- (y || g) && o(i, "BAD_PROP_ORDER", `Anchors and tags must be after the ${i.source} indicator`),
2323
+ ((y || g) && o(i, "BAD_PROP_ORDER", `Anchors and tags must be after the ${i.source} indicator`),
2323
2324
  w && o(i, "UNEXPECTED_TOKEN", `Unexpected ${i.source} in ${t ?? "collection"}`),
2324
2325
  (w = i),
2325
2326
  (l = "seq-item-ind" === n || "explicit-key-ind" === n),
2326
- (u = !1);
2327
+ (u = !1));
2327
2328
  break;
2328
2329
  case "comma":
2329
2330
  if (t) {
2330
- k && o(i, "UNEXPECTED_TOKEN", `Unexpected , in ${t}`), (k = i), (l = !1), (u = !1);
2331
+ (k && o(i, "UNEXPECTED_TOKEN", `Unexpected , in ${t}`), (k = i), (l = !1), (u = !1));
2331
2332
  break;
2332
2333
  }
2333
2334
  default:
2334
- o(i, "UNEXPECTED_TOKEN", `Unexpected ${i.type} token`), (l = !1), (u = !1);
2335
+ (o(i, "UNEXPECTED_TOKEN", `Unexpected ${i.type} token`), (l = !1), (u = !1));
2335
2336
  }
2336
2337
  const S = e[e.length - 1],
2337
2338
  E = S ? S.offset + S.source.length : i;
@@ -2410,11 +2411,11 @@ var Yaml = (function (e) {
2410
2411
  case "comment": {
2411
2412
  n && !o && s(a, "MISSING_CHAR", "Comments must be separated from other tokens by white space characters");
2412
2413
  const t = e.substring(1) || " ";
2413
- i ? (i += r + t) : (i = t), (r = "");
2414
+ (i ? (i += r + t) : (i = t), (r = ""));
2414
2415
  break;
2415
2416
  }
2416
2417
  case "newline":
2417
- i && (r += e), (o = !0);
2418
+ (i && (r += e), (o = !0));
2418
2419
  break;
2419
2420
  default:
2420
2421
  s(a, "UNEXPECTED_TOKEN", `Unexpected ${c} at node end`);
@@ -2453,7 +2454,7 @@ var Yaml = (function (e) {
2453
2454
  : "indent" in u && u.indent !== s.indent && i(a, "BAD_INDENT", $t)),
2454
2455
  !d.anchor && !d.tag && !f)
2455
2456
  ) {
2456
- (c = d.end), d.comment && (r.comment ? (r.comment += "\n" + d.comment) : (r.comment = d.comment));
2457
+ ((c = d.end), d.comment && (r.comment ? (r.comment += "\n" + d.comment) : (r.comment = d.comment)));
2457
2458
  continue;
2458
2459
  }
2459
2460
  (d.newlineAfterProp || Tt(u)) &&
@@ -2462,9 +2463,9 @@ var Yaml = (function (e) {
2462
2463
  n.atKey = !0;
2463
2464
  const m = d.end,
2464
2465
  y = u ? e(n, u, d, i) : t(n, m, l, null, d, i);
2465
- n.schema.compat && Lt(s.indent, u, i),
2466
+ (n.schema.compat && Lt(s.indent, u, i),
2466
2467
  (n.atKey = !1),
2467
- xt(n, r.items, y) && i(m, "DUPLICATE_KEY", "Map keys must be unique");
2468
+ xt(n, r.items, y) && i(m, "DUPLICATE_KEY", "Map keys must be unique"));
2468
2469
  const g = It(f ?? [], {
2469
2470
  indicator: "map-value-ind",
2470
2471
  next: h,
@@ -2486,14 +2487,14 @@ var Yaml = (function (e) {
2486
2487
  "The : indicator must be at most 1024 chars after the start of an implicit block mapping key"
2487
2488
  ));
2488
2489
  const c = h ? e(n, h, g, i) : t(n, a, f, null, g, i);
2489
- n.schema.compat && Lt(s.indent, h, i), (a = c.range[2]);
2490
+ (n.schema.compat && Lt(s.indent, h, i), (a = c.range[2]));
2490
2491
  const l = new pe(y, c);
2491
- n.options.keepSourceTokens && (l.srcToken = o), r.items.push(l);
2492
+ (n.options.keepSourceTokens && (l.srcToken = o), r.items.push(l));
2492
2493
  } else {
2493
- p && i(y.range, "MISSING_CHAR", "Implicit map keys need to be followed by map values"),
2494
- g.comment && (y.comment ? (y.comment += "\n" + g.comment) : (y.comment = g.comment));
2494
+ (p && i(y.range, "MISSING_CHAR", "Implicit map keys need to be followed by map values"),
2495
+ g.comment && (y.comment ? (y.comment += "\n" + g.comment) : (y.comment = g.comment)));
2495
2496
  const e = new pe(y);
2496
- n.options.keepSourceTokens && (e.srcToken = o), r.items.push(e);
2497
+ (n.options.keepSourceTokens && (e.srcToken = o), r.items.push(e));
2497
2498
  }
2498
2499
  }
2499
2500
  return (
@@ -2505,7 +2506,7 @@ var Yaml = (function (e) {
2505
2506
  : "block-seq" === n.type
2506
2507
  ? (function ({ composeNode: e, composeEmptyNode: t }, n, s, i, o) {
2507
2508
  const r = new (o?.nodeClass ?? Se)(n.schema);
2508
- n.atRoot && (n.atRoot = !1), n.atKey && (n.atKey = !1);
2509
+ (n.atRoot && (n.atRoot = !1), n.atKey && (n.atKey = !1));
2509
2510
  let a = s.offset,
2510
2511
  c = null;
2511
2512
  for (const { start: o, value: l } of s.items) {
@@ -2519,7 +2520,7 @@ var Yaml = (function (e) {
2519
2520
  });
2520
2521
  if (!u.found) {
2521
2522
  if (!(u.anchor || u.tag || l)) {
2522
- (c = u.end), u.comment && (r.comment = u.comment);
2523
+ ((c = u.end), u.comment && (r.comment = u.comment));
2523
2524
  continue;
2524
2525
  }
2525
2526
  l && "block-seq" === l.type
@@ -2527,9 +2528,9 @@ var Yaml = (function (e) {
2527
2528
  : i(a, "MISSING_CHAR", "Sequence item without - indicator");
2528
2529
  }
2529
2530
  const f = l ? e(n, l, u, i) : t(n, u.end, o, null, u, i);
2530
- n.schema.compat && Lt(s.indent, l, i), (a = f.range[2]), r.items.push(f);
2531
+ (n.schema.compat && Lt(s.indent, l, i), (a = f.range[2]), r.items.push(f));
2531
2532
  }
2532
- return (r.range = [s.offset, a, c ?? a]), r;
2533
+ return ((r.range = [s.offset, a, c ?? a]), r);
2533
2534
  })(e, t, n, s, o)
2534
2535
  : (function ({ composeNode: e, composeEmptyNode: t }, n, s, i, o) {
2535
2536
  const r = "{" === s.start.source,
@@ -2537,7 +2538,7 @@ var Yaml = (function (e) {
2537
2538
  c = new (o?.nodeClass ?? (r ? we : Se))(n.schema);
2538
2539
  c.flow = !0;
2539
2540
  const l = n.atRoot;
2540
- l && (n.atRoot = !1), n.atKey && (n.atKey = !1);
2541
+ (l && (n.atRoot = !1), n.atKey && (n.atKey = !1));
2541
2542
  let u = s.offset + s.start.source.length;
2542
2543
  for (let o = 0; o < s.items.length; ++o) {
2543
2544
  const l = s.items[o],
@@ -2553,11 +2554,11 @@ var Yaml = (function (e) {
2553
2554
  });
2554
2555
  if (!y.found) {
2555
2556
  if (!(y.anchor || y.tag || p || m)) {
2556
- 0 === o && y.comma
2557
+ (0 === o && y.comma
2557
2558
  ? i(y.comma, "UNEXPECTED_TOKEN", `Unexpected , in ${a}`)
2558
2559
  : o < s.items.length - 1 && i(y.start, "UNEXPECTED_TOKEN", `Unexpected empty item in ${a}`),
2559
2560
  y.comment && (c.comment ? (c.comment += "\n" + y.comment) : (c.comment = y.comment)),
2560
- (u = y.end);
2561
+ (u = y.end));
2561
2562
  continue;
2562
2563
  }
2563
2564
  !r &&
@@ -2585,16 +2586,16 @@ var Yaml = (function (e) {
2585
2586
  }
2586
2587
  if (e) {
2587
2588
  let t = c.items[c.items.length - 1];
2588
- f(t) && (t = t.value ?? t.key),
2589
+ (f(t) && (t = t.value ?? t.key),
2589
2590
  t.comment ? (t.comment += "\n" + e) : (t.comment = e),
2590
- (y.comment = y.comment.substring(e.length + 1));
2591
+ (y.comment = y.comment.substring(e.length + 1)));
2591
2592
  }
2592
2593
  }
2593
2594
  if (r || p || y.found) {
2594
2595
  n.atKey = !0;
2595
2596
  const o = y.end,
2596
2597
  f = d ? e(n, d, y, i) : t(n, o, h, null, y, i);
2597
- Kt(d) && i(f.range, "BLOCK_IN_FLOW", _t), (n.atKey = !1);
2598
+ (Kt(d) && i(f.range, "BLOCK_IN_FLOW", _t), (n.atKey = !1));
2598
2599
  const g = It(p ?? [], {
2599
2600
  flow: a,
2600
2601
  indicator: "map-value-ind",
@@ -2637,17 +2638,17 @@ var Yaml = (function (e) {
2637
2638
  const k = new pe(f, b);
2638
2639
  if ((n.options.keepSourceTokens && (k.srcToken = l), r)) {
2639
2640
  const e = c;
2640
- xt(n, e.items, f) && i(o, "DUPLICATE_KEY", "Map keys must be unique"), e.items.push(k);
2641
+ (xt(n, e.items, f) && i(o, "DUPLICATE_KEY", "Map keys must be unique"), e.items.push(k));
2641
2642
  } else {
2642
2643
  const e = new we(n.schema);
2643
- (e.flow = !0), e.items.push(k);
2644
+ ((e.flow = !0), e.items.push(k));
2644
2645
  const t = (b ?? f).range;
2645
- (e.range = [f.range[0], t[1], t[2]]), c.items.push(e);
2646
+ ((e.range = [f.range[0], t[1], t[2]]), c.items.push(e));
2646
2647
  }
2647
2648
  u = b ? b.range[2] : g.end;
2648
2649
  } else {
2649
2650
  const s = m ? e(n, m, y, i) : t(n, y.end, p, null, y, i);
2650
- c.items.push(s), (u = s.range[2]), Kt(m) && i(s.range, "BLOCK_IN_FLOW", _t);
2651
+ (c.items.push(s), (u = s.range[2]), Kt(m) && i(s.range, "BLOCK_IN_FLOW", _t));
2651
2652
  }
2652
2653
  }
2653
2654
  const h = r ? "}" : "]",
@@ -2656,19 +2657,19 @@ var Yaml = (function (e) {
2656
2657
  if (d && d.source === h) m = d.offset + d.source.length;
2657
2658
  else {
2658
2659
  const e = a[0].toUpperCase() + a.substring(1);
2659
- i(
2660
+ (i(
2660
2661
  u,
2661
2662
  l ? "MISSING_CHAR" : "BAD_INDENT",
2662
2663
  l
2663
2664
  ? `${e} must end with a ${h}`
2664
2665
  : `${e} in block collection must be sufficiently indented and end with a ${h}`
2665
2666
  ),
2666
- d && 1 !== d.source.length && p.unshift(d);
2667
+ d && 1 !== d.source.length && p.unshift(d));
2667
2668
  }
2668
2669
  if (p.length > 0) {
2669
2670
  const e = Ct(p, m, n.options.strict, i);
2670
- e.comment && (c.comment ? (c.comment += "\n" + e.comment) : (c.comment = e.comment)),
2671
- (c.range = [s.offset, m, e.offset]);
2671
+ (e.comment && (c.comment ? (c.comment += "\n" + e.comment) : (c.comment = e.comment)),
2672
+ (c.range = [s.offset, m, e.offset]));
2672
2673
  } else c.range = [s.offset, m, m];
2673
2674
  return c;
2674
2675
  })(e, t, n, s, o),
@@ -2678,7 +2679,7 @@ var Yaml = (function (e) {
2678
2679
  function jt(e, t, n) {
2679
2680
  const s = t.offset,
2680
2681
  i = (function ({ offset: e, props: t }, n, s) {
2681
- if ("block-scalar-header" !== t[0].type) return s(t[0], "IMPOSSIBLE", "Block scalar header not found"), null;
2682
+ if ("block-scalar-header" !== t[0].type) return (s(t[0], "IMPOSSIBLE", "Block scalar header not found"), null);
2682
2683
  const { source: i } = t[0],
2683
2684
  o = i[0];
2684
2685
  let r = 0,
@@ -2707,10 +2708,10 @@ var Yaml = (function (e) {
2707
2708
  if (n && !l) {
2708
2709
  s(i, "MISSING_CHAR", "Comments must be separated from other tokens by white space characters");
2709
2710
  }
2710
- (f += i.source.length), (u = i.source.substring(1));
2711
+ ((f += i.source.length), (u = i.source.substring(1)));
2711
2712
  break;
2712
2713
  case "error":
2713
- s(i, "UNEXPECTED_TOKEN", i.message), (f += i.source.length);
2714
+ (s(i, "UNEXPECTED_TOKEN", i.message), (f += i.source.length));
2714
2715
  break;
2715
2716
  default: {
2716
2717
  s(i, "UNEXPECTED_TOKEN", `Unexpected token in block scalar header: ${i.type}`);
@@ -2742,7 +2743,7 @@ var Yaml = (function (e) {
2742
2743
  if (0 === a) {
2743
2744
  const e = "+" === i.chomp && r.length > 0 ? "\n".repeat(Math.max(1, r.length - 1)) : "";
2744
2745
  let n = s + i.length;
2745
- return t.source && (n += t.source.length), { value: e, type: o, comment: i.comment, range: [s, n, n] };
2746
+ return (t.source && (n += t.source.length), { value: e, type: o, comment: i.comment, range: [s, n, n] });
2746
2747
  }
2747
2748
  let c = t.indent + i.indent,
2748
2749
  l = t.offset + i.length,
@@ -2759,7 +2760,7 @@ var Yaml = (function (e) {
2759
2760
  }
2760
2761
  break;
2761
2762
  }
2762
- 0 === i.indent && s.length > c && (c = s.length), (l += s.length + o.length + 1);
2763
+ (0 === i.indent && s.length > c && (c = s.length), (l += s.length + o.length + 1));
2763
2764
  }
2764
2765
  for (let e = r.length - 1; e >= a; --e) r[e][0].length > c && (a = e + 1);
2765
2766
  let f = "",
@@ -2772,7 +2773,7 @@ var Yaml = (function (e) {
2772
2773
  const a = "\r" === s[s.length - 1];
2773
2774
  if ((a && (s = s.slice(0, -1)), s && t.length < c)) {
2774
2775
  const e = `Block scalar lines must not be less indented than their ${i.indent ? "explicit indentation indicator" : "first line"}`;
2775
- n(l - s.length - (a ? 2 : 1), "BAD_INDENT", e), (t = "");
2776
+ (n(l - s.length - (a ? 2 : 1), "BAD_INDENT", e), (t = ""));
2776
2777
  }
2777
2778
  o === D.BLOCK_LITERAL
2778
2779
  ? ((f += h + t.slice(c) + s), (h = "\n"))
@@ -2803,7 +2804,7 @@ var Yaml = (function (e) {
2803
2804
  const l = (e, t, i) => n(s + e, t, i);
2804
2805
  switch (i) {
2805
2806
  case "scalar":
2806
- (a = D.PLAIN),
2807
+ ((a = D.PLAIN),
2807
2808
  (c = (function (e, t) {
2808
2809
  let n = "";
2809
2810
  switch (e[0]) {
@@ -2826,17 +2827,17 @@ var Yaml = (function (e) {
2826
2827
  }
2827
2828
  n && t(0, "BAD_SCALAR_START", `Plain value cannot start with ${n}`);
2828
2829
  return Dt(e);
2829
- })(o, l));
2830
+ })(o, l)));
2830
2831
  break;
2831
2832
  case "single-quoted-scalar":
2832
- (a = D.QUOTE_SINGLE),
2833
+ ((a = D.QUOTE_SINGLE),
2833
2834
  (c = (function (e, t) {
2834
2835
  ("'" === e[e.length - 1] && 1 !== e.length) || t(e.length, "MISSING_CHAR", "Missing closing 'quote");
2835
2836
  return Dt(e.slice(1, -1)).replace(/''/g, "'");
2836
- })(o, l));
2837
+ })(o, l)));
2837
2838
  break;
2838
2839
  case "double-quoted-scalar":
2839
- (a = D.QUOTE_DOUBLE),
2840
+ ((a = D.QUOTE_DOUBLE),
2840
2841
  (c = (function (e, t) {
2841
2842
  let n = "";
2842
2843
  for (let s = 1; s < e.length - 1; ++s) {
@@ -2844,7 +2845,7 @@ var Yaml = (function (e) {
2844
2845
  if ("\r" !== i || "\n" !== e[s + 1])
2845
2846
  if ("\n" === i) {
2846
2847
  const { fold: t, offset: i } = qt(e, s);
2847
- (n += t), (s = i);
2848
+ ((n += t), (s = i));
2848
2849
  } else if ("\\" === i) {
2849
2850
  let i = e[++s];
2850
2851
  const o = Pt[i];
@@ -2854,10 +2855,10 @@ var Yaml = (function (e) {
2854
2855
  for (i = e[1 + ++s]; " " === i || "\t" === i; ) i = e[1 + ++s];
2855
2856
  else if ("x" === i || "u" === i || "U" === i) {
2856
2857
  const o = { x: 2, u: 4, U: 8 }[i];
2857
- (n += Ut(e, s + 1, o, t)), (s += o);
2858
+ ((n += Ut(e, s + 1, o, t)), (s += o));
2858
2859
  } else {
2859
2860
  const i = e.substr(s - 1, 2);
2860
- t(s - 1, "BAD_DQ_ESCAPE", `Invalid escape sequence ${i}`), (n += i);
2861
+ (t(s - 1, "BAD_DQ_ESCAPE", `Invalid escape sequence ${i}`), (n += i));
2861
2862
  }
2862
2863
  } else if (" " === i || "\t" === i) {
2863
2864
  const t = s;
@@ -2868,7 +2869,7 @@ var Yaml = (function (e) {
2868
2869
  }
2869
2870
  ('"' === e[e.length - 1] && 1 !== e.length) || t(e.length, "MISSING_CHAR", 'Missing closing "quote');
2870
2871
  return n;
2871
- })(o, l));
2872
+ })(o, l)));
2872
2873
  break;
2873
2874
  default:
2874
2875
  return (
@@ -2883,10 +2884,10 @@ var Yaml = (function (e) {
2883
2884
  function Dt(e) {
2884
2885
  let t, n;
2885
2886
  try {
2886
- (t = new RegExp("(.*?)(?<![ \t])[ \t]*\r?\n", "sy")),
2887
- (n = new RegExp("[ \t]*(.*?)(?:(?<![ \t])[ \t]*)?\r?\n", "sy"));
2887
+ ((t = new RegExp("(.*?)(?<![ \t])[ \t]*\r?\n", "sy")),
2888
+ (n = new RegExp("[ \t]*(.*?)(?:(?<![ \t])[ \t]*)?\r?\n", "sy")));
2888
2889
  } catch {
2889
- (t = /(.*?)[ \t]*\r?\n/sy), (n = /[ \t]*(.*?)[ \t]*\r?\n/sy);
2890
+ ((t = /(.*?)[ \t]*\r?\n/sy), (n = /[ \t]*(.*?)[ \t]*\r?\n/sy));
2890
2891
  }
2891
2892
  let s = t.exec(e);
2892
2893
  if (!s) return e;
@@ -2894,16 +2895,16 @@ var Yaml = (function (e) {
2894
2895
  o = " ",
2895
2896
  r = t.lastIndex;
2896
2897
  for (n.lastIndex = r; (s = n.exec(e)); )
2897
- "" === s[1] ? ("\n" === o ? (i += o) : (o = "\n")) : ((i += o + s[1]), (o = " ")), (r = n.lastIndex);
2898
+ ("" === s[1] ? ("\n" === o ? (i += o) : (o = "\n")) : ((i += o + s[1]), (o = " ")), (r = n.lastIndex));
2898
2899
  const a = /[ \t]*(.*)/sy;
2899
- return (a.lastIndex = r), (s = a.exec(e)), i + o + (s?.[1] ?? "");
2900
+ return ((a.lastIndex = r), (s = a.exec(e)), i + o + (s?.[1] ?? ""));
2900
2901
  }
2901
2902
  function qt(e, t) {
2902
2903
  let n = "",
2903
2904
  s = e[t + 1];
2904
2905
  for (; !((" " !== s && "\t" !== s && "\n" !== s && "\r" !== s) || ("\r" === s && "\n" !== e[t + 2])); )
2905
- "\n" === s && (n += "\n"), (s = e[(t += 1) + 1]);
2906
- return n || (n = " "), { fold: n, offset: t };
2906
+ ("\n" === s && (n += "\n"), (s = e[(t += 1) + 1]));
2907
+ return (n || (n = " "), { fold: n, offset: t });
2907
2908
  }
2908
2909
  const Pt = {
2909
2910
  0: "\0",
@@ -2930,7 +2931,7 @@ var Yaml = (function (e) {
2930
2931
  o = i.length === n && /^[0-9a-fA-F]+$/.test(i) ? parseInt(i, 16) : NaN;
2931
2932
  if (isNaN(o)) {
2932
2933
  const i = e.substr(t - 2, n + 2);
2933
- return s(t - 2, "BAD_DQ_ESCAPE", `Invalid escape sequence ${i}`), i;
2934
+ return (s(t - 2, "BAD_DQ_ESCAPE", `Invalid escape sequence ${i}`), i);
2934
2935
  }
2935
2936
  return String.fromCodePoint(o);
2936
2937
  }
@@ -2957,8 +2958,8 @@ var Yaml = (function (e) {
2957
2958
  }
2958
2959
  for (const e of r) if (e.test?.test(t)) return e;
2959
2960
  const a = e.knownTags[n];
2960
- if (a && !a.collection) return e.tags.push(Object.assign({}, a, { default: !1, test: void 0 })), a;
2961
- return i(s, "TAG_RESOLVE_FAILED", `Unresolved tag: ${n}`, "tag:yaml.org,2002:str" !== n), e[o];
2961
+ if (a && !a.collection) return (e.tags.push(Object.assign({}, a, { default: !1, test: void 0 })), a);
2962
+ return (i(s, "TAG_RESOLVE_FAILED", `Unresolved tag: ${n}`, "tag:yaml.org,2002:str" !== n), e[o]);
2962
2963
  })(e.schema, i, l, n, s)
2963
2964
  : "scalar" === t.type
2964
2965
  ? (function ({ atKey: e, directives: t, schema: n }, s, i, r) {
@@ -2983,7 +2984,7 @@ var Yaml = (function (e) {
2983
2984
  f = h(o) ? o : new D(o);
2984
2985
  } catch (e) {
2985
2986
  const o = e instanceof Error ? e.message : String(e);
2986
- s(n ?? t, "TAG_RESOLVE_FAILED", o), (f = new D(i));
2987
+ (s(n ?? t, "TAG_RESOLVE_FAILED", o), (f = new D(i)));
2987
2988
  }
2988
2989
  return (
2989
2990
  (f.range = c),
@@ -3007,7 +3008,7 @@ var Yaml = (function (e) {
3007
3008
  e -= n.source.length;
3008
3009
  continue;
3009
3010
  }
3010
- for (n = t[++s]; "space" === n?.type; ) (e += n.source.length), (n = t[++s]);
3011
+ for (n = t[++s]; "space" === n?.type; ) ((e += n.source.length), (n = t[++s]));
3011
3012
  break;
3012
3013
  }
3013
3014
  }
@@ -3021,32 +3022,32 @@ var Yaml = (function (e) {
3021
3022
  u = !0;
3022
3023
  switch (t.type) {
3023
3024
  case "alias":
3024
- (l = (function ({ options: e }, { offset: t, source: n, end: s }, i) {
3025
+ ((l = (function ({ options: e }, { offset: t, source: n, end: s }, i) {
3025
3026
  const o = new B(n.substring(1));
3026
3027
  "" === o.source && i(t, "BAD_ALIAS", "Alias cannot be an empty string");
3027
3028
  o.source.endsWith(":") && i(t + n.length - 1, "BAD_ALIAS", "Alias ending in : is ambiguous", !0);
3028
3029
  const r = t + n.length,
3029
3030
  a = Ct(s, r, e.strict, i);
3030
- (o.range = [t, r, a.offset]), a.comment && (o.comment = a.comment);
3031
+ ((o.range = [t, r, a.offset]), a.comment && (o.comment = a.comment));
3031
3032
  return o;
3032
3033
  })(e, t, s)),
3033
- (a || c) && s(t, "ALIAS_PROPS", "An alias node must not specify any properties");
3034
+ (a || c) && s(t, "ALIAS_PROPS", "An alias node must not specify any properties"));
3034
3035
  break;
3035
3036
  case "scalar":
3036
3037
  case "single-quoted-scalar":
3037
3038
  case "double-quoted-scalar":
3038
3039
  case "block-scalar":
3039
- (l = Rt(e, t, c, s)), a && (l.anchor = a.source.substring(1));
3040
+ ((l = Rt(e, t, c, s)), a && (l.anchor = a.source.substring(1)));
3040
3041
  break;
3041
3042
  case "block-map":
3042
3043
  case "block-seq":
3043
3044
  case "flow-collection":
3044
- (l = (function (e, t, n, s, i) {
3045
+ ((l = (function (e, t, n, s, i) {
3045
3046
  const o = s.tag,
3046
3047
  r = o ? t.directives.tagName(o.source, (e) => i(o, "TAG_RESOLVE_FAILED", e)) : null;
3047
3048
  if ("block-seq" === n.type) {
3048
3049
  const { anchor: e, newlineAfterProp: t } = s,
3049
- n = e && o ? (e.offset > o.offset ? e : o) : e ?? o;
3050
+ n = e && o ? (e.offset > o.offset ? e : o) : (e ?? o);
3050
3051
  n && (!t || t.offset < n.offset) && i(n, "MISSING_CHAR", "Missing newline after block sequence props");
3051
3052
  }
3052
3053
  const a =
@@ -3068,19 +3069,19 @@ var Yaml = (function (e) {
3068
3069
  : i(o, "TAG_RESOLVE_FAILED", `Unresolved tag: ${r}`, !0),
3069
3070
  Bt(e, t, n, i, r)
3070
3071
  );
3071
- t.schema.tags.push(Object.assign({}, s, { default: !1 })), (c = s);
3072
+ (t.schema.tags.push(Object.assign({}, s, { default: !1 })), (c = s));
3072
3073
  }
3073
3074
  const l = Bt(e, t, n, i, r, c),
3074
3075
  u = c.resolve?.(l, (e) => i(o, "TAG_RESOLVE_FAILED", e), t.options) ?? l,
3075
3076
  f = m(u) ? u : new D(u);
3076
- return (f.range = l.range), (f.tag = r), c?.format && (f.format = c.format), f;
3077
+ return ((f.range = l.range), (f.tag = r), c?.format && (f.format = c.format), f);
3077
3078
  })(Vt, e, t, n, s)),
3078
- a && (l.anchor = a.source.substring(1));
3079
+ a && (l.anchor = a.source.substring(1)));
3079
3080
  break;
3080
3081
  default:
3081
- s(t, "UNEXPECTED_TOKEN", "error" === t.type ? t.message : `Unsupported token (type: ${t.type})`),
3082
+ (s(t, "UNEXPECTED_TOKEN", "error" === t.type ? t.message : `Unsupported token (type: ${t.type})`),
3082
3083
  (l = Yt(e, t.offset, void 0, null, n, s)),
3083
- (u = !1);
3084
+ (u = !1));
3084
3085
  }
3085
3086
  if (
3086
3087
  (a && "" === l.anchor && s(a, "BAD_ALIAS", "Anchor cannot be an empty string"),
@@ -3121,20 +3122,20 @@ var Yaml = (function (e) {
3121
3122
  const o = e[i];
3122
3123
  switch (o[0]) {
3123
3124
  case "#":
3124
- (t += ("" === t ? "" : s ? "\n\n" : "\n") + (o.substring(1) || " ")), (n = !0), (s = !1);
3125
+ ((t += ("" === t ? "" : s ? "\n\n" : "\n") + (o.substring(1) || " ")), (n = !0), (s = !1));
3125
3126
  break;
3126
3127
  case "%":
3127
- "#" !== e[i + 1]?.[0] && (i += 1), (n = !1);
3128
+ ("#" !== e[i + 1]?.[0] && (i += 1), (n = !1));
3128
3129
  break;
3129
3130
  default:
3130
- n || (s = !0), (n = !1);
3131
+ (n || (s = !0), (n = !1));
3131
3132
  }
3132
3133
  }
3133
3134
  return { comment: t, afterEmptyLine: s };
3134
3135
  }
3135
3136
  class Qt {
3136
3137
  constructor(e = {}) {
3137
- (this.doc = null),
3138
+ ((this.doc = null),
3138
3139
  (this.atDirectives = !1),
3139
3140
  (this.prelude = []),
3140
3141
  (this.errors = []),
@@ -3144,7 +3145,7 @@ var Yaml = (function (e) {
3144
3145
  s ? this.warnings.push(new Ot(i, t, n)) : this.errors.push(new Nt(i, t, n));
3145
3146
  }),
3146
3147
  (this.directives = new T({ version: e.version || "1.2" })),
3147
- (this.options = e);
3148
+ (this.options = e));
3148
3149
  }
3149
3150
  decorate(e, t) {
3150
3151
  const { comment: n, afterEmptyLine: s } = Gt(this.prelude);
@@ -3162,12 +3163,12 @@ var Yaml = (function (e) {
3162
3163
  i.commentBefore = e ? `${n}\n${e}` : n;
3163
3164
  }
3164
3165
  }
3165
- t
3166
+ (t
3166
3167
  ? (Array.prototype.push.apply(e.errors, this.errors), Array.prototype.push.apply(e.warnings, this.warnings))
3167
3168
  : ((e.errors = this.errors), (e.warnings = this.warnings)),
3168
3169
  (this.prelude = []),
3169
3170
  (this.errors = []),
3170
- (this.warnings = []);
3171
+ (this.warnings = []));
3171
3172
  }
3172
3173
  streamInfo() {
3173
3174
  return {
@@ -3184,12 +3185,12 @@ var Yaml = (function (e) {
3184
3185
  *next(e) {
3185
3186
  switch (e.type) {
3186
3187
  case "directive":
3187
- this.directives.add(e.source, (t, n, s) => {
3188
+ (this.directives.add(e.source, (t, n, s) => {
3188
3189
  const i = Wt(e);
3189
- (i[0] += t), this.onError(i, "BAD_DIRECTIVE", n, s);
3190
+ ((i[0] += t), this.onError(i, "BAD_DIRECTIVE", n, s));
3190
3191
  }),
3191
3192
  this.prelude.push(e.source),
3192
- (this.atDirectives = !0);
3193
+ (this.atDirectives = !0));
3193
3194
  break;
3194
3195
  case "document": {
3195
3196
  const t = (function (e, t, { offset: n, start: s, value: i, end: o }, r) {
@@ -3204,24 +3205,24 @@ var Yaml = (function (e) {
3204
3205
  parentIndent: 0,
3205
3206
  startOnNewline: !0,
3206
3207
  });
3207
- u.found &&
3208
+ (u.found &&
3208
3209
  ((c.directives.docStart = !0),
3209
3210
  !i ||
3210
3211
  ("block-map" !== i.type && "block-seq" !== i.type) ||
3211
3212
  u.hasNewline ||
3212
3213
  r(u.end, "MISSING_CHAR", "Block collection cannot start on same line with directives-end marker")),
3213
- (c.contents = i ? Jt(l, i, u, r) : Yt(l, u.end, s, null, u, r));
3214
+ (c.contents = i ? Jt(l, i, u, r) : Yt(l, u.end, s, null, u, r)));
3214
3215
  const f = c.contents.range[2],
3215
3216
  h = Ct(o, f, !1, r);
3216
- return h.comment && (c.comment = h.comment), (c.range = [n, f, h.offset]), c;
3217
+ return (h.comment && (c.comment = h.comment), (c.range = [n, f, h.offset]), c);
3217
3218
  })(this.options, this.directives, e, this.onError);
3218
- this.atDirectives &&
3219
+ (this.atDirectives &&
3219
3220
  !t.directives.docStart &&
3220
3221
  this.onError(e, "MISSING_CHAR", "Missing directives-end/doc-start indicator line"),
3221
3222
  this.decorate(t, !1),
3222
3223
  this.doc && (yield this.doc),
3223
3224
  (this.doc = t),
3224
- (this.atDirectives = !1);
3225
+ (this.atDirectives = !1));
3225
3226
  break;
3226
3227
  }
3227
3228
  case "byte-order-mark":
@@ -3257,14 +3258,14 @@ var Yaml = (function (e) {
3257
3258
  }
3258
3259
  }
3259
3260
  *end(e = !1, t = -1) {
3260
- if (this.doc) this.decorate(this.doc, !0), yield this.doc, (this.doc = null);
3261
+ if (this.doc) (this.decorate(this.doc, !0), yield this.doc, (this.doc = null));
3261
3262
  else if (e) {
3262
3263
  const e = Object.assign({ _directives: this.directives }, this.options),
3263
3264
  n = new vt(void 0, e);
3264
- this.atDirectives && this.onError(t, "MISSING_CHAR", "Missing directives-end indicator line"),
3265
+ (this.atDirectives && this.onError(t, "MISSING_CHAR", "Missing directives-end indicator line"),
3265
3266
  (n.range = [0, t, t]),
3266
3267
  this.decorate(n, !1),
3267
- yield n;
3268
+ yield n);
3268
3269
  }
3269
3270
  }
3270
3271
  }
@@ -3277,7 +3278,7 @@ var Yaml = (function (e) {
3277
3278
  e.push(n);
3278
3279
  break;
3279
3280
  case "newline":
3280
- return e.push(n), !0;
3281
+ return (e.push(n), !0);
3281
3282
  }
3282
3283
  return !1;
3283
3284
  }
@@ -3286,20 +3287,20 @@ var Yaml = (function (e) {
3286
3287
  case "scalar":
3287
3288
  case "double-quoted-scalar":
3288
3289
  case "single-quoted-scalar":
3289
- (e.type = n), (e.source = t);
3290
+ ((e.type = n), (e.source = t));
3290
3291
  break;
3291
3292
  case "block-scalar": {
3292
3293
  const s = e.props.slice(1);
3293
3294
  let i = t.length;
3294
3295
  "block-scalar-header" === e.props[0].type && (i -= e.props[0].source.length);
3295
3296
  for (const e of s) e.offset += i;
3296
- delete e.props, Object.assign(e, { type: n, source: t, end: s });
3297
+ (delete e.props, Object.assign(e, { type: n, source: t, end: s }));
3297
3298
  break;
3298
3299
  }
3299
3300
  case "block-map":
3300
3301
  case "block-seq": {
3301
3302
  const s = { type: "newline", offset: e.offset + t.length, indent: e.indent, source: "\n" };
3302
- delete e.items, Object.assign(e, { type: n, source: t, end: [s] });
3303
+ (delete e.items, Object.assign(e, { type: n, source: t, end: [s] }));
3303
3304
  break;
3304
3305
  }
3305
3306
  default: {
@@ -3348,13 +3349,13 @@ var Yaml = (function (e) {
3348
3349
  let i = "";
3349
3350
  for (const t of e) i += t.source;
3350
3351
  if ((t && (i += zt(t)), n)) for (const e of n) i += e.source;
3351
- return s && (i += zt(s)), i;
3352
+ return (s && (i += zt(s)), i);
3352
3353
  }
3353
3354
  const en = Symbol("break visit"),
3354
3355
  tn = Symbol("skip children"),
3355
3356
  nn = Symbol("remove item");
3356
3357
  function sn(e, t) {
3357
- "type" in e && "document" === e.type && (e = { start: e.start, value: e.value }), on(Object.freeze([]), e, t);
3358
+ ("type" in e && "document" === e.type && (e = { start: e.start, value: e.value }), on(Object.freeze([]), e, t));
3358
3359
  }
3359
3360
  function on(e, t, n) {
3360
3361
  let s = n(t, e);
@@ -3375,7 +3376,7 @@ var Yaml = (function (e) {
3375
3376
  }
3376
3377
  return "function" == typeof s ? s(t, e) : s;
3377
3378
  }
3378
- (sn.BREAK = en),
3379
+ ((sn.BREAK = en),
3379
3380
  (sn.SKIP = tn),
3380
3381
  (sn.REMOVE = nn),
3381
3382
  (sn.itemAtPath = (e, t) => {
@@ -3393,7 +3394,7 @@ var Yaml = (function (e) {
3393
3394
  i = n?.[s];
3394
3395
  if (i && "items" in i) return i;
3395
3396
  throw new Error("Parent collection not found");
3396
- });
3397
+ }));
3397
3398
  const rn = "\ufeff",
3398
3399
  an = "",
3399
3400
  cn = "",
@@ -3568,7 +3569,7 @@ var Yaml = (function (e) {
3568
3569
  if ("block-scalar" === e.type) {
3569
3570
  const t = e.props[0];
3570
3571
  if ("block-scalar-header" !== t.type) throw new Error("Invalid block scalar header");
3571
- (t.source = s), (e.source = i);
3572
+ ((t.source = s), (e.source = i));
3572
3573
  } else {
3573
3574
  const { offset: t } = e,
3574
3575
  n = "indent" in e ? e.indent : -1,
@@ -3612,7 +3613,7 @@ var Yaml = (function (e) {
3612
3613
  gn = (e) => !e || yn.has(e);
3613
3614
  class bn {
3614
3615
  constructor() {
3615
- (this.atEnd = !1),
3616
+ ((this.atEnd = !1),
3616
3617
  (this.blockScalarIndent = -1),
3617
3618
  (this.blockScalarKeep = !1),
3618
3619
  (this.buffer = ""),
@@ -3622,12 +3623,12 @@ var Yaml = (function (e) {
3622
3623
  (this.indentValue = 0),
3623
3624
  (this.lineEndPos = null),
3624
3625
  (this.next = null),
3625
- (this.pos = 0);
3626
+ (this.pos = 0));
3626
3627
  }
3627
3628
  *lex(e, t = !1) {
3628
3629
  if (e) {
3629
3630
  if ("string" != typeof e) throw TypeError("source is not a string");
3630
- (this.buffer = this.buffer ? this.buffer + e : e), (this.lineEndPos = null);
3631
+ ((this.buffer = this.buffer ? this.buffer + e : e), (this.lineEndPos = null));
3631
3632
  }
3632
3633
  this.atEnd = !t;
3633
3634
  let n = this.next ?? "stream";
@@ -3676,7 +3677,11 @@ var Yaml = (function (e) {
3676
3677
  }
3677
3678
  setNext(e) {
3678
3679
  return (
3679
- (this.buffer = this.buffer.substring(this.pos)), (this.pos = 0), (this.lineEndPos = null), (this.next = e), null
3680
+ (this.buffer = this.buffer.substring(this.pos)),
3681
+ (this.pos = 0),
3682
+ (this.lineEndPos = null),
3683
+ (this.next = e),
3684
+ null
3680
3685
  );
3681
3686
  }
3682
3687
  peek(e) {
@@ -3722,13 +3727,13 @@ var Yaml = (function (e) {
3722
3727
  t -= 1;
3723
3728
  }
3724
3729
  const s = (yield* this.pushCount(t)) + (yield* this.pushSpaces(!0));
3725
- return yield* this.pushCount(e.length - s), this.pushNewline(), "stream";
3730
+ return (yield* this.pushCount(e.length - s), this.pushNewline(), "stream");
3726
3731
  }
3727
3732
  if (this.atLineEnd()) {
3728
3733
  const t = yield* this.pushSpaces(!0);
3729
- return yield* this.pushCount(e.length - t), yield* this.pushNewline(), "stream";
3734
+ return (yield* this.pushCount(e.length - t), yield* this.pushNewline(), "stream");
3730
3735
  }
3731
- return yield an, yield* this.parseLineStart();
3736
+ return (yield an, yield* this.parseLineStart());
3732
3737
  }
3733
3738
  *parseLineStart() {
3734
3739
  const e = this.charAt(0);
@@ -3738,7 +3743,10 @@ var Yaml = (function (e) {
3738
3743
  const e = this.peek(3);
3739
3744
  if (("---" === e || "..." === e) && hn(this.charAt(3)))
3740
3745
  return (
3741
- yield* this.pushCount(3), (this.indentValue = 0), (this.indentNext = 0), "---" === e ? "doc" : "stream"
3746
+ yield* this.pushCount(3),
3747
+ (this.indentValue = 0),
3748
+ (this.indentNext = 0),
3749
+ "---" === e ? "doc" : "stream"
3742
3750
  );
3743
3751
  }
3744
3752
  return (
@@ -3752,7 +3760,7 @@ var Yaml = (function (e) {
3752
3760
  if (!t && !this.atEnd) return this.setNext("block-start");
3753
3761
  if (("-" === e || "?" === e || ":" === e) && hn(t)) {
3754
3762
  const e = (yield* this.pushCount(1)) + (yield* this.pushSpaces(!0));
3755
- return (this.indentNext = this.indentValue + 1), (this.indentValue += e), yield* this.parseBlockStart();
3763
+ return ((this.indentNext = this.indentValue + 1), (this.indentValue += e), yield* this.parseBlockStart());
3756
3764
  }
3757
3765
  return "doc";
3758
3766
  }
@@ -3765,15 +3773,15 @@ var Yaml = (function (e) {
3765
3773
  case "#":
3766
3774
  yield* this.pushCount(e.length - t);
3767
3775
  case void 0:
3768
- return yield* this.pushNewline(), yield* this.parseLineStart();
3776
+ return (yield* this.pushNewline(), yield* this.parseLineStart());
3769
3777
  case "{":
3770
3778
  case "[":
3771
- return yield* this.pushCount(1), (this.flowKey = !1), (this.flowLevel = 1), "flow";
3779
+ return (yield* this.pushCount(1), (this.flowKey = !1), (this.flowLevel = 1), "flow");
3772
3780
  case "}":
3773
3781
  case "]":
3774
- return yield* this.pushCount(1), "doc";
3782
+ return (yield* this.pushCount(1), "doc");
3775
3783
  case "*":
3776
- return yield* this.pushUntil(gn), "doc";
3784
+ return (yield* this.pushUntil(gn), "doc");
3777
3785
  case '"':
3778
3786
  case "'":
3779
3787
  return yield* this.parseQuotedScalar();
@@ -3795,9 +3803,9 @@ var Yaml = (function (e) {
3795
3803
  t,
3796
3804
  n = -1;
3797
3805
  do {
3798
- (e = yield* this.pushNewline()),
3806
+ ((e = yield* this.pushNewline()),
3799
3807
  e > 0 ? ((t = yield* this.pushSpaces(!1)), (this.indentValue = n = t)) : (t = 0),
3800
- (t += yield* this.pushSpaces(!0));
3808
+ (t += yield* this.pushSpaces(!0)));
3801
3809
  } while (e + t > 0);
3802
3810
  const s = this.getLine();
3803
3811
  if (null === s) return this.setNext("flow");
@@ -3806,33 +3814,38 @@ var Yaml = (function (e) {
3806
3814
  (0 === n && (s.startsWith("---") || s.startsWith("...")) && hn(s[3]))
3807
3815
  ) {
3808
3816
  if (!(n === this.indentNext - 1 && 1 === this.flowLevel && ("]" === s[0] || "}" === s[0])))
3809
- return (this.flowLevel = 0), yield cn, yield* this.parseLineStart();
3817
+ return ((this.flowLevel = 0), yield cn, yield* this.parseLineStart());
3810
3818
  }
3811
3819
  let i = 0;
3812
- for (; "," === s[i]; ) (i += yield* this.pushCount(1)), (i += yield* this.pushSpaces(!0)), (this.flowKey = !1);
3820
+ for (; "," === s[i]; ) ((i += yield* this.pushCount(1)), (i += yield* this.pushSpaces(!0)), (this.flowKey = !1));
3813
3821
  switch (((i += yield* this.pushIndicators()), s[i])) {
3814
3822
  case void 0:
3815
3823
  return "flow";
3816
3824
  case "#":
3817
- return yield* this.pushCount(s.length - i), "flow";
3825
+ return (yield* this.pushCount(s.length - i), "flow");
3818
3826
  case "{":
3819
3827
  case "[":
3820
- return yield* this.pushCount(1), (this.flowKey = !1), (this.flowLevel += 1), "flow";
3828
+ return (yield* this.pushCount(1), (this.flowKey = !1), (this.flowLevel += 1), "flow");
3821
3829
  case "}":
3822
3830
  case "]":
3823
- return yield* this.pushCount(1), (this.flowKey = !0), (this.flowLevel -= 1), this.flowLevel ? "flow" : "doc";
3831
+ return (
3832
+ yield* this.pushCount(1),
3833
+ (this.flowKey = !0),
3834
+ (this.flowLevel -= 1),
3835
+ this.flowLevel ? "flow" : "doc"
3836
+ );
3824
3837
  case "*":
3825
- return yield* this.pushUntil(gn), "flow";
3838
+ return (yield* this.pushUntil(gn), "flow");
3826
3839
  case '"':
3827
3840
  case "'":
3828
- return (this.flowKey = !0), yield* this.parseQuotedScalar();
3841
+ return ((this.flowKey = !0), yield* this.parseQuotedScalar());
3829
3842
  case ":": {
3830
3843
  const e = this.charAt(1);
3831
3844
  if (this.flowKey || hn(e) || "," === e)
3832
- return (this.flowKey = !1), yield* this.pushCount(1), yield* this.pushSpaces(!0), "flow";
3845
+ return ((this.flowKey = !1), yield* this.pushCount(1), yield* this.pushSpaces(!0), "flow");
3833
3846
  }
3834
3847
  default:
3835
- return (this.flowKey = !1), yield* this.parsePlainScalar();
3848
+ return ((this.flowKey = !1), yield* this.parsePlainScalar());
3836
3849
  }
3837
3850
  }
3838
3851
  *parseQuotedScalar() {
@@ -3860,10 +3873,10 @@ var Yaml = (function (e) {
3860
3873
  if (!this.atEnd) return this.setNext("quoted-scalar");
3861
3874
  t = this.buffer.length;
3862
3875
  }
3863
- return yield* this.pushToIndex(t + 1, !1), this.flowLevel ? "flow" : "doc";
3876
+ return (yield* this.pushToIndex(t + 1, !1), this.flowLevel ? "flow" : "doc");
3864
3877
  }
3865
3878
  *parseBlockScalarHeader() {
3866
- (this.blockScalarIndent = -1), (this.blockScalarKeep = !1);
3879
+ ((this.blockScalarIndent = -1), (this.blockScalarKeep = !1));
3867
3880
  let e = this.pos;
3868
3881
  for (;;) {
3869
3882
  const t = this.buffer[++e];
@@ -3883,7 +3896,7 @@ var Yaml = (function (e) {
3883
3896
  n += 1;
3884
3897
  break;
3885
3898
  case "\n":
3886
- (t = s), (n = 0);
3899
+ ((t = s), (n = 0));
3887
3900
  break;
3888
3901
  case "\r": {
3889
3902
  const e = this.buffer[s + 1];
@@ -3923,7 +3936,7 @@ var Yaml = (function (e) {
3923
3936
  if (!("\n" === s && e >= this.pos && e + 1 + n > i)) break;
3924
3937
  t = e;
3925
3938
  }
3926
- return yield ln, yield* this.pushToIndex(t + 1, !0), yield* this.parseLineStart();
3939
+ return (yield ln, yield* this.pushToIndex(t + 1, !0), yield* this.parseLineStart());
3927
3940
  }
3928
3941
  *parsePlainScalar() {
3929
3942
  const e = this.flowLevel > 0;
@@ -4016,7 +4029,7 @@ var Yaml = (function (e) {
4016
4029
  t = this.buffer[++n];
4017
4030
  } while (" " === t || (e && "\t" === t));
4018
4031
  const s = n - this.pos;
4019
- return s > 0 && (yield this.buffer.substr(this.pos, s), (this.pos = n)), s;
4032
+ return (s > 0 && (yield this.buffer.substr(this.pos, s), (this.pos = n)), s);
4020
4033
  }
4021
4034
  *pushUntil(e) {
4022
4035
  let t = this.pos,
@@ -4027,7 +4040,7 @@ var Yaml = (function (e) {
4027
4040
  }
4028
4041
  class kn {
4029
4042
  constructor() {
4030
- (this.lineStarts = []),
4043
+ ((this.lineStarts = []),
4031
4044
  (this.addNewLine = (e) => this.lineStarts.push(e)),
4032
4045
  (this.linePos = (e) => {
4033
4046
  let t = 0,
@@ -4039,7 +4052,7 @@ var Yaml = (function (e) {
4039
4052
  if (this.lineStarts[t] === e) return { line: t + 1, col: 1 };
4040
4053
  if (0 === t) return { line: 0, col: e };
4041
4054
  return { line: t, col: e - this.lineStarts[t - 1] + 1 };
4042
- });
4055
+ }));
4043
4056
  }
4044
4057
  }
4045
4058
  function wn(e, t) {
@@ -4117,7 +4130,7 @@ var Yaml = (function (e) {
4117
4130
  }
4118
4131
  class An {
4119
4132
  constructor(e) {
4120
- (this.atNewLine = !0),
4133
+ ((this.atNewLine = !0),
4121
4134
  (this.atScalar = !1),
4122
4135
  (this.indent = 0),
4123
4136
  (this.offset = 0),
@@ -4126,7 +4139,7 @@ var Yaml = (function (e) {
4126
4139
  (this.source = ""),
4127
4140
  (this.type = ""),
4128
4141
  (this.lexer = new bn()),
4129
- (this.onNewLine = e);
4142
+ (this.onNewLine = e));
4130
4143
  }
4131
4144
  *parse(e, t = !1) {
4132
4145
  this.onNewLine && 0 === this.offset && this.onNewLine(0);
@@ -4135,14 +4148,14 @@ var Yaml = (function (e) {
4135
4148
  }
4136
4149
  *next(e) {
4137
4150
  if (((this.source = e), this.atScalar))
4138
- return (this.atScalar = !1), yield* this.step(), void (this.offset += e.length);
4151
+ return ((this.atScalar = !1), yield* this.step(), void (this.offset += e.length));
4139
4152
  const t = un(e);
4140
4153
  if (t)
4141
- if ("scalar" === t) (this.atNewLine = !1), (this.atScalar = !0), (this.type = "scalar");
4154
+ if ("scalar" === t) ((this.atNewLine = !1), (this.atScalar = !0), (this.type = "scalar"));
4142
4155
  else {
4143
4156
  switch (((this.type = t), yield* this.step(), t)) {
4144
4157
  case "newline":
4145
- (this.atNewLine = !0), (this.indent = 0), this.onNewLine && this.onNewLine(this.offset + e.length);
4158
+ ((this.atNewLine = !0), (this.indent = 0), this.onNewLine && this.onNewLine(this.offset + e.length));
4146
4159
  break;
4147
4160
  case "space":
4148
4161
  this.atNewLine && " " === e[0] && (this.indent += e.length);
@@ -4162,7 +4175,7 @@ var Yaml = (function (e) {
4162
4175
  }
4163
4176
  else {
4164
4177
  const t = `Not a YAML token: ${e}`;
4165
- yield* this.pop({ type: "error", offset: this.offset, message: t, source: e }), (this.offset += e.length);
4178
+ (yield* this.pop({ type: "error", offset: this.offset, message: t, source: e }), (this.offset += e.length));
4166
4179
  }
4167
4180
  }
4168
4181
  *end() {
@@ -4224,8 +4237,8 @@ var Yaml = (function (e) {
4224
4237
  break;
4225
4238
  case "block-map": {
4226
4239
  const n = e.items[e.items.length - 1];
4227
- if (n.value) return e.items.push({ start: [], key: t, sep: [] }), void (this.onKeyLine = !0);
4228
- if (!n.sep) return Object.assign(n, { key: t, sep: [] }), void (this.onKeyLine = !n.explicitKey);
4240
+ if (n.value) return (e.items.push({ start: [], key: t, sep: [] }), void (this.onKeyLine = !0));
4241
+ if (!n.sep) return (Object.assign(n, { key: t, sep: [] }), void (this.onKeyLine = !n.explicitKey));
4229
4242
  n.value = t;
4230
4243
  break;
4231
4244
  }
@@ -4243,7 +4256,7 @@ var Yaml = (function (e) {
4243
4256
  : Object.assign(n, { key: t, sep: [] }));
4244
4257
  }
4245
4258
  default:
4246
- yield* this.pop(), yield* this.pop(t);
4259
+ (yield* this.pop(), yield* this.pop(t));
4247
4260
  }
4248
4261
  if (
4249
4262
  !(
@@ -4278,7 +4291,7 @@ var Yaml = (function (e) {
4278
4291
  case "doc-mode":
4279
4292
  case "doc-start": {
4280
4293
  const e = { type: "document", offset: this.offset, start: [] };
4281
- return "doc-start" === this.type && e.start.push(this.sourceToken), void this.stack.push(e);
4294
+ return ("doc-start" === this.type && e.start.push(this.sourceToken), void this.stack.push(e));
4282
4295
  }
4283
4296
  }
4284
4297
  yield {
@@ -4316,7 +4329,7 @@ var Yaml = (function (e) {
4316
4329
  let n;
4317
4330
  e.end ? ((n = e.end), n.push(this.sourceToken), delete e.end) : (n = [this.sourceToken]);
4318
4331
  const s = { type: "block-map", offset: e.offset, indent: e.indent, items: [{ start: t, key: e, sep: n }] };
4319
- (this.onKeyLine = !0), (this.stack[this.stack.length - 1] = s);
4332
+ ((this.onKeyLine = !0), (this.stack[this.stack.length - 1] = s));
4320
4333
  } else yield* this.lineEnd(e);
4321
4334
  }
4322
4335
  *blockScalar(e) {
@@ -4328,12 +4341,12 @@ var Yaml = (function (e) {
4328
4341
  case "scalar":
4329
4342
  if (((e.source = this.source), (this.atNewLine = !0), (this.indent = 0), this.onNewLine)) {
4330
4343
  let e = this.source.indexOf("\n") + 1;
4331
- for (; 0 !== e; ) this.onNewLine(this.offset + e), (e = this.source.indexOf("\n", e) + 1);
4344
+ for (; 0 !== e; ) (this.onNewLine(this.offset + e), (e = this.source.indexOf("\n", e) + 1));
4332
4345
  }
4333
4346
  yield* this.pop();
4334
4347
  break;
4335
4348
  default:
4336
- yield* this.pop(), yield* this.step();
4349
+ (yield* this.pop(), yield* this.step());
4337
4350
  }
4338
4351
  }
4339
4352
  *blockMap(e) {
@@ -4355,7 +4368,7 @@ var Yaml = (function (e) {
4355
4368
  const n = e.items[e.items.length - 2],
4356
4369
  s = n?.value?.end;
4357
4370
  if (Array.isArray(s))
4358
- return Array.prototype.push.apply(s, t.start), s.push(this.sourceToken), void e.items.pop();
4371
+ return (Array.prototype.push.apply(s, t.start), s.push(this.sourceToken), void e.items.pop());
4359
4372
  }
4360
4373
  t.start.push(this.sourceToken);
4361
4374
  }
@@ -4421,7 +4434,7 @@ var Yaml = (function (e) {
4421
4434
  const e = Nn(t.start),
4422
4435
  n = t.key,
4423
4436
  s = t.sep;
4424
- s.push(this.sourceToken),
4437
+ (s.push(this.sourceToken),
4425
4438
  delete t.key,
4426
4439
  delete t.sep,
4427
4440
  this.stack.push({
@@ -4429,7 +4442,7 @@ var Yaml = (function (e) {
4429
4442
  offset: this.offset,
4430
4443
  indent: this.indent,
4431
4444
  items: [{ start: e, key: n, sep: s }],
4432
- });
4445
+ }));
4433
4446
  } else i.length > 0 ? (t.sep = t.sep.concat(i, this.sourceToken)) : t.sep.push(this.sourceToken);
4434
4447
  else if (wn(t.start, "newline")) Object.assign(t, { key: null, sep: [this.sourceToken] });
4435
4448
  else {
@@ -4483,7 +4496,7 @@ var Yaml = (function (e) {
4483
4496
  }
4484
4497
  }
4485
4498
  }
4486
- yield* this.pop(), yield* this.step();
4499
+ (yield* this.pop(), yield* this.step());
4487
4500
  }
4488
4501
  *blockSequence(e) {
4489
4502
  const t = e.items[e.items.length - 1];
@@ -4503,7 +4516,7 @@ var Yaml = (function (e) {
4503
4516
  const n = e.items[e.items.length - 2],
4504
4517
  s = n?.value?.end;
4505
4518
  if (Array.isArray(s))
4506
- return Array.prototype.push.apply(s, t.start), s.push(this.sourceToken), void e.items.pop();
4519
+ return (Array.prototype.push.apply(s, t.start), s.push(this.sourceToken), void e.items.pop());
4507
4520
  }
4508
4521
  t.start.push(this.sourceToken);
4509
4522
  }
@@ -4522,14 +4535,14 @@ var Yaml = (function (e) {
4522
4535
  const t = this.startBlockValue(e);
4523
4536
  if (t) return void this.stack.push(t);
4524
4537
  }
4525
- yield* this.pop(), yield* this.step();
4538
+ (yield* this.pop(), yield* this.step());
4526
4539
  }
4527
4540
  *flowCollection(e) {
4528
4541
  const t = e.items[e.items.length - 1];
4529
4542
  if ("flow-error-end" === this.type) {
4530
4543
  let e;
4531
4544
  do {
4532
- yield* this.pop(), (e = this.peek(1));
4545
+ (yield* this.pop(), (e = this.peek(1)));
4533
4546
  } while (e && "flow-collection" === e.type);
4534
4547
  } else if (0 === e.end.length) {
4535
4548
  switch (this.type) {
@@ -4576,21 +4589,21 @@ var Yaml = (function (e) {
4576
4589
  (("map-value-ind" === this.type && t.indent === e.indent) ||
4577
4590
  ("newline" === this.type && !t.items[t.items.length - 1].sep))
4578
4591
  )
4579
- yield* this.pop(), yield* this.step();
4592
+ (yield* this.pop(), yield* this.step());
4580
4593
  else if ("map-value-ind" === this.type && "flow-collection" !== t.type) {
4581
4594
  const n = Nn(En(t));
4582
4595
  On(e);
4583
4596
  const s = e.end.splice(1, e.end.length);
4584
4597
  s.push(this.sourceToken);
4585
4598
  const i = { type: "block-map", offset: e.offset, indent: e.indent, items: [{ start: n, key: e, sep: s }] };
4586
- (this.onKeyLine = !0), (this.stack[this.stack.length - 1] = i);
4599
+ ((this.onKeyLine = !0), (this.stack[this.stack.length - 1] = i));
4587
4600
  } else yield* this.lineEnd(e);
4588
4601
  }
4589
4602
  }
4590
4603
  flowScalar(e) {
4591
4604
  if (this.onNewLine) {
4592
4605
  let e = this.source.indexOf("\n") + 1;
4593
- for (; 0 !== e; ) this.onNewLine(this.offset + e), (e = this.source.indexOf("\n", e) + 1);
4606
+ for (; 0 !== e; ) (this.onNewLine(this.offset + e), (e = this.source.indexOf("\n", e) + 1));
4594
4607
  }
4595
4608
  return { type: e, offset: this.offset, indent: this.indent, source: this.source };
4596
4609
  }
@@ -4665,13 +4678,13 @@ var Yaml = (function (e) {
4665
4678
  case "flow-seq-end":
4666
4679
  case "flow-map-end":
4667
4680
  case "map-value-ind":
4668
- yield* this.pop(), yield* this.step();
4681
+ (yield* this.pop(), yield* this.step());
4669
4682
  break;
4670
4683
  case "newline":
4671
4684
  this.onKeyLine = !1;
4672
4685
  default:
4673
- e.end ? e.end.push(this.sourceToken) : (e.end = [this.sourceToken]),
4674
- "newline" === this.type && (yield* this.pop());
4686
+ (e.end ? e.end.push(this.sourceToken) : (e.end = [this.sourceToken]),
4687
+ "newline" === this.type && (yield* this.pop()));
4675
4688
  }
4676
4689
  }
4677
4690
  }
@@ -4697,7 +4710,7 @@ var Yaml = (function (e) {
4697
4710
  break;
4698
4711
  }
4699
4712
  } else r = t;
4700
- return s && n && (r.errors.forEach(At(e, n)), r.warnings.forEach(At(e, n))), r;
4713
+ return (s && n && (r.errors.forEach(At(e, n)), r.warnings.forEach(At(e, n))), r);
4701
4714
  }
4702
4715
  return (
4703
4716
  (e.Alias = B),
@@ -4739,7 +4752,7 @@ var Yaml = (function (e) {
4739
4752
  i = new An(n?.addNewLine),
4740
4753
  o = new Qt(t),
4741
4754
  r = Array.from(o.compose(i.parse(e)));
4742
- if (s && n) for (const t of r) t.errors.forEach(At(e, n)), t.warnings.forEach(At(e, n));
4755
+ if (s && n) for (const t of r) (t.errors.forEach(At(e, n)), t.warnings.forEach(At(e, n)));
4743
4756
  return r.length > 0 ? r : Object.assign([], { empty: !0 }, o.streamInfo());
4744
4757
  }),
4745
4758
  (e.parseDocument = Tn),