@uipath/aops-tool 1.198.0-preview.84 → 1.198.0-preview.86

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 (2) hide show
  1. package/dist/tool.js +1447 -1073
  2. package/package.json +2 -2
package/dist/tool.js CHANGED
@@ -16177,7 +16177,7 @@ var require_TimeoutError = __commonJS((exports) => {
16177
16177
  });
16178
16178
 
16179
16179
  // ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/operators/map.js
16180
- var require_map2 = __commonJS((exports) => {
16180
+ var require_map = __commonJS((exports) => {
16181
16181
  var __extends = exports && exports.__extends || function() {
16182
16182
  var extendStatics = function(d, b) {
16183
16183
  extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
@@ -16199,7 +16199,7 @@ var require_map2 = __commonJS((exports) => {
16199
16199
  }();
16200
16200
  Object.defineProperty(exports, "__esModule", { value: true });
16201
16201
  var Subscriber_1 = require_Subscriber();
16202
- function map(project, thisArg) {
16202
+ function map2(project, thisArg) {
16203
16203
  return function mapOperation(source) {
16204
16204
  if (typeof project !== "function") {
16205
16205
  throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");
@@ -16207,7 +16207,7 @@ var require_map2 = __commonJS((exports) => {
16207
16207
  return source.lift(new MapOperator(project, thisArg));
16208
16208
  };
16209
16209
  }
16210
- exports.map = map;
16210
+ exports.map = map2;
16211
16211
  var MapOperator = function() {
16212
16212
  function MapOperator2(project, thisArg) {
16213
16213
  this.project = project;
@@ -16247,7 +16247,7 @@ var require_bindCallback = __commonJS((exports) => {
16247
16247
  Object.defineProperty(exports, "__esModule", { value: true });
16248
16248
  var Observable_1 = require_Observable();
16249
16249
  var AsyncSubject_1 = require_AsyncSubject();
16250
- var map_1 = require_map2();
16250
+ var map_1 = require_map();
16251
16251
  var canReportError_1 = require_canReportError();
16252
16252
  var isArray_1 = require_isArray();
16253
16253
  var isScheduler_1 = require_isScheduler();
@@ -16351,7 +16351,7 @@ var require_bindNodeCallback = __commonJS((exports) => {
16351
16351
  Object.defineProperty(exports, "__esModule", { value: true });
16352
16352
  var Observable_1 = require_Observable();
16353
16353
  var AsyncSubject_1 = require_AsyncSubject();
16354
- var map_1 = require_map2();
16354
+ var map_1 = require_map();
16355
16355
  var canReportError_1 = require_canReportError();
16356
16356
  var isScheduler_1 = require_isScheduler();
16357
16357
  var isArray_1 = require_isArray();
@@ -17141,7 +17141,7 @@ var require_mergeMap = __commonJS((exports) => {
17141
17141
  };
17142
17142
  }();
17143
17143
  Object.defineProperty(exports, "__esModule", { value: true });
17144
- var map_1 = require_map2();
17144
+ var map_1 = require_map();
17145
17145
  var from_1 = require_from();
17146
17146
  var innerSubscribe_1 = require_innerSubscribe();
17147
17147
  function mergeMap(project, resultSelector, concurrent) {
@@ -17312,7 +17312,7 @@ var require_forkJoin = __commonJS((exports) => {
17312
17312
  Object.defineProperty(exports, "__esModule", { value: true });
17313
17313
  var Observable_1 = require_Observable();
17314
17314
  var isArray_1 = require_isArray();
17315
- var map_1 = require_map2();
17315
+ var map_1 = require_map();
17316
17316
  var isObject_1 = require_isObject();
17317
17317
  var from_1 = require_from();
17318
17318
  function forkJoin() {
@@ -17392,7 +17392,7 @@ var require_fromEvent = __commonJS((exports) => {
17392
17392
  var Observable_1 = require_Observable();
17393
17393
  var isArray_1 = require_isArray();
17394
17394
  var isFunction_1 = require_isFunction();
17395
- var map_1 = require_map2();
17395
+ var map_1 = require_map();
17396
17396
  var toString = function() {
17397
17397
  return Object.prototype.toString;
17398
17398
  }();
@@ -17464,7 +17464,7 @@ var require_fromEventPattern = __commonJS((exports) => {
17464
17464
  var Observable_1 = require_Observable();
17465
17465
  var isArray_1 = require_isArray();
17466
17466
  var isFunction_1 = require_isFunction();
17467
- var map_1 = require_map2();
17467
+ var map_1 = require_map();
17468
17468
  function fromEventPattern(addHandler, removeHandler, resultSelector) {
17469
17469
  if (resultSelector) {
17470
17470
  return fromEventPattern(addHandler, removeHandler).pipe(map_1.map(function(args) {
@@ -17679,13 +17679,13 @@ var require_interval = __commonJS((exports) => {
17679
17679
  });
17680
17680
 
17681
17681
  // ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/observable/merge.js
17682
- var require_merge2 = __commonJS((exports) => {
17682
+ var require_merge = __commonJS((exports) => {
17683
17683
  Object.defineProperty(exports, "__esModule", { value: true });
17684
17684
  var Observable_1 = require_Observable();
17685
17685
  var isScheduler_1 = require_isScheduler();
17686
17686
  var mergeAll_1 = require_mergeAll();
17687
17687
  var fromArray_1 = require_fromArray();
17688
- function merge() {
17688
+ function merge2() {
17689
17689
  var observables = [];
17690
17690
  for (var _i = 0;_i < arguments.length; _i++) {
17691
17691
  observables[_i] = arguments[_i];
@@ -17706,7 +17706,7 @@ var require_merge2 = __commonJS((exports) => {
17706
17706
  }
17707
17707
  return mergeAll_1.mergeAll(concurrent)(fromArray_1.fromArray(observables, scheduler));
17708
17708
  }
17709
- exports.merge = merge;
17709
+ exports.merge = merge2;
17710
17710
  });
17711
17711
 
17712
17712
  // ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/observable/never.js
@@ -17757,11 +17757,11 @@ var require_onErrorResumeNext = __commonJS((exports) => {
17757
17757
  });
17758
17758
 
17759
17759
  // ../../node_modules/@uipath/robot-client/node_modules/rxjs/internal/observable/pairs.js
17760
- var require_pairs2 = __commonJS((exports) => {
17760
+ var require_pairs = __commonJS((exports) => {
17761
17761
  Object.defineProperty(exports, "__esModule", { value: true });
17762
17762
  var Observable_1 = require_Observable();
17763
17763
  var Subscription_1 = require_Subscription();
17764
- function pairs(obj, scheduler) {
17764
+ function pairs2(obj, scheduler) {
17765
17765
  if (!scheduler) {
17766
17766
  return new Observable_1.Observable(function(subscriber) {
17767
17767
  var keys = Object.keys(obj);
@@ -17782,7 +17782,7 @@ var require_pairs2 = __commonJS((exports) => {
17782
17782
  });
17783
17783
  }
17784
17784
  }
17785
- exports.pairs = pairs;
17785
+ exports.pairs = pairs2;
17786
17786
  function dispatch(state) {
17787
17787
  var { keys, index, subscriber, subscription, obj } = state;
17788
17788
  if (!subscriber.closed) {
@@ -18441,7 +18441,7 @@ var require_rxjs = __commonJS((exports) => {
18441
18441
  exports.iif = iif_1.iif;
18442
18442
  var interval_1 = require_interval();
18443
18443
  exports.interval = interval_1.interval;
18444
- var merge_1 = require_merge2();
18444
+ var merge_1 = require_merge();
18445
18445
  exports.merge = merge_1.merge;
18446
18446
  var never_1 = require_never();
18447
18447
  exports.never = never_1.never;
@@ -18449,7 +18449,7 @@ var require_rxjs = __commonJS((exports) => {
18449
18449
  exports.of = of_1.of;
18450
18450
  var onErrorResumeNext_1 = require_onErrorResumeNext();
18451
18451
  exports.onErrorResumeNext = onErrorResumeNext_1.onErrorResumeNext;
18452
- var pairs_1 = require_pairs2();
18452
+ var pairs_1 = require_pairs();
18453
18453
  exports.pairs = pairs_1.pairs;
18454
18454
  var partition_1 = require_partition();
18455
18455
  exports.partition = partition_1.partition;
@@ -21230,7 +21230,7 @@ var init_server = __esm(() => {
21230
21230
  var package_default = {
21231
21231
  name: "@uipath/aops-tool",
21232
21232
  license: "MIT",
21233
- version: "1.198.0-preview.84",
21233
+ version: "1.198.0-preview.86",
21234
21234
  description: "Manage UiPath StudioAdmin AOps — connections, repos, projects, solutions, pipelines, executions.",
21235
21235
  private: false,
21236
21236
  repository: {
@@ -23654,31 +23654,17 @@ function search(data, expression, options) {
23654
23654
  }
23655
23655
 
23656
23656
  // ../../node_modules/js-yaml/dist/js-yaml.mjs
23657
- /*! js-yaml 4.2.0 https://github.com/nodeca/js-yaml @license MIT */
23658
- var __create2 = Object.create;
23659
- var __defProp2 = Object.defineProperty;
23660
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
23661
- var __getOwnPropNames2 = Object.getOwnPropertyNames;
23662
- var __getProtoOf2 = Object.getPrototypeOf;
23663
- var __hasOwnProp2 = Object.prototype.hasOwnProperty;
23664
- var __commonJSMin = (cb, mod2) => () => (mod2 || (cb((mod2 = { exports: {} }).exports, mod2), cb = null), mod2.exports);
23665
- var __copyProps = (to, from, except, desc) => {
23666
- if (from && typeof from === "object" || typeof from === "function")
23667
- for (var keys = __getOwnPropNames2(from), i = 0, n = keys.length, key;i < n; i++) {
23668
- key = keys[i];
23669
- if (!__hasOwnProp2.call(to, key) && key !== except)
23670
- __defProp2(to, key, {
23671
- get: ((k) => from[k]).bind(null, key),
23672
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
23673
- });
23674
- }
23675
- return to;
23676
- };
23677
- var __toESM2 = (mod2, isNodeMode, target) => (target = mod2 != null ? __create2(__getProtoOf2(mod2)) : {}, __copyProps(isNodeMode || !mod2 || !mod2.__esModule ? __defProp2(target, "default", {
23678
- value: mod2,
23679
- enumerable: true
23680
- }) : target, mod2));
23681
- var require_common = /* @__PURE__ */ __commonJSMin((exports, module) => {
23657
+ function getDefaultExportFromCjs(x) {
23658
+ return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
23659
+ }
23660
+ var jsYaml = {};
23661
+ var loader = {};
23662
+ var common = {};
23663
+ var hasRequiredCommon;
23664
+ function requireCommon() {
23665
+ if (hasRequiredCommon)
23666
+ return common;
23667
+ hasRequiredCommon = 1;
23682
23668
  function isNothing(subject) {
23683
23669
  return typeof subject === "undefined" || subject === null;
23684
23670
  }
@@ -23704,55 +23690,71 @@ var require_common = /* @__PURE__ */ __commonJSMin((exports, module) => {
23704
23690
  }
23705
23691
  function repeat(string, count) {
23706
23692
  let result = "";
23707
- for (let cycle = 0;cycle < count; cycle += 1)
23693
+ for (let cycle = 0;cycle < count; cycle += 1) {
23708
23694
  result += string;
23695
+ }
23709
23696
  return result;
23710
23697
  }
23711
23698
  function isNegativeZero(number) {
23712
23699
  return number === 0 && Number.NEGATIVE_INFINITY === 1 / number;
23713
23700
  }
23714
- module.exports.isNothing = isNothing;
23715
- module.exports.isObject = isObject2;
23716
- module.exports.toArray = toArray;
23717
- module.exports.repeat = repeat;
23718
- module.exports.isNegativeZero = isNegativeZero;
23719
- module.exports.extend = extend;
23720
- });
23721
- var require_exception = /* @__PURE__ */ __commonJSMin((exports, module) => {
23722
- function formatError(exception, compact) {
23701
+ common.isNothing = isNothing;
23702
+ common.isObject = isObject2;
23703
+ common.toArray = toArray;
23704
+ common.repeat = repeat;
23705
+ common.isNegativeZero = isNegativeZero;
23706
+ common.extend = extend;
23707
+ return common;
23708
+ }
23709
+ var exception;
23710
+ var hasRequiredException;
23711
+ function requireException() {
23712
+ if (hasRequiredException)
23713
+ return exception;
23714
+ hasRequiredException = 1;
23715
+ function formatError(exception2, compact) {
23723
23716
  let where = "";
23724
- const message = exception.reason || "(unknown reason)";
23725
- if (!exception.mark)
23717
+ const message = exception2.reason || "(unknown reason)";
23718
+ if (!exception2.mark)
23726
23719
  return message;
23727
- if (exception.mark.name)
23728
- where += 'in "' + exception.mark.name + '" ';
23729
- where += "(" + (exception.mark.line + 1) + ":" + (exception.mark.column + 1) + ")";
23730
- if (!compact && exception.mark.snippet)
23720
+ if (exception2.mark.name) {
23721
+ where += 'in "' + exception2.mark.name + '" ';
23722
+ }
23723
+ where += "(" + (exception2.mark.line + 1) + ":" + (exception2.mark.column + 1) + ")";
23724
+ if (!compact && exception2.mark.snippet) {
23731
23725
  where += `
23732
23726
 
23733
- ` + exception.mark.snippet;
23727
+ ` + exception2.mark.snippet;
23728
+ }
23734
23729
  return message + " " + where;
23735
23730
  }
23736
- function YAMLException(reason, mark) {
23731
+ function YAMLException2(reason, mark) {
23737
23732
  Error.call(this);
23738
23733
  this.name = "YAMLException";
23739
23734
  this.reason = reason;
23740
23735
  this.mark = mark;
23741
23736
  this.message = formatError(this, false);
23742
- if (Error.captureStackTrace)
23737
+ if (Error.captureStackTrace) {
23743
23738
  Error.captureStackTrace(this, this.constructor);
23744
- else
23745
- this.stack = (/* @__PURE__ */ new Error()).stack || "";
23739
+ } else {
23740
+ this.stack = new Error().stack || "";
23741
+ }
23746
23742
  }
23747
- YAMLException.prototype = Object.create(Error.prototype);
23748
- YAMLException.prototype.constructor = YAMLException;
23749
- YAMLException.prototype.toString = function toString(compact) {
23743
+ YAMLException2.prototype = Object.create(Error.prototype);
23744
+ YAMLException2.prototype.constructor = YAMLException2;
23745
+ YAMLException2.prototype.toString = function toString(compact) {
23750
23746
  return this.name + ": " + formatError(this, compact);
23751
23747
  };
23752
- module.exports = YAMLException;
23753
- });
23754
- var require_snippet = /* @__PURE__ */ __commonJSMin((exports, module) => {
23755
- var common = require_common();
23748
+ exception = YAMLException2;
23749
+ return exception;
23750
+ }
23751
+ var snippet;
23752
+ var hasRequiredSnippet;
23753
+ function requireSnippet() {
23754
+ if (hasRequiredSnippet)
23755
+ return snippet;
23756
+ hasRequiredSnippet = 1;
23757
+ const common2 = requireCommon();
23756
23758
  function getLine(buffer, lineStart, lineEnd, position, maxLineLength) {
23757
23759
  let head = "";
23758
23760
  let tail = "";
@@ -23771,7 +23773,7 @@ var require_snippet = /* @__PURE__ */ __commonJSMin((exports, module) => {
23771
23773
  };
23772
23774
  }
23773
23775
  function padStart(string, max) {
23774
- return common.repeat(" ", max - string.length) + string;
23776
+ return common2.repeat(" ", max - string.length) + string;
23775
23777
  }
23776
23778
  function makeSnippet(mark, options) {
23777
23779
  options = Object.create(options || null);
@@ -23793,8 +23795,9 @@ var require_snippet = /* @__PURE__ */ __commonJSMin((exports, module) => {
23793
23795
  while (match = re.exec(mark.buffer)) {
23794
23796
  lineEnds.push(match.index);
23795
23797
  lineStarts.push(match.index + match[0].length);
23796
- if (mark.position <= match.index && foundLineNo < 0)
23798
+ if (mark.position <= match.index && foundLineNo < 0) {
23797
23799
  foundLineNo = lineStarts.length - 2;
23800
+ }
23798
23801
  }
23799
23802
  if (foundLineNo < 0)
23800
23803
  foundLineNo = lineStarts.length - 1;
@@ -23805,28 +23808,34 @@ var require_snippet = /* @__PURE__ */ __commonJSMin((exports, module) => {
23805
23808
  if (foundLineNo - i < 0)
23806
23809
  break;
23807
23810
  const line2 = getLine(mark.buffer, lineStarts[foundLineNo - i], lineEnds[foundLineNo - i], mark.position - (lineStarts[foundLineNo] - lineStarts[foundLineNo - i]), maxLineLength);
23808
- result = common.repeat(" ", options.indent) + padStart((mark.line - i + 1).toString(), lineNoLength) + " | " + line2.str + `
23811
+ result = common2.repeat(" ", options.indent) + padStart((mark.line - i + 1).toString(), lineNoLength) + " | " + line2.str + `
23809
23812
  ` + result;
23810
23813
  }
23811
23814
  const line = getLine(mark.buffer, lineStarts[foundLineNo], lineEnds[foundLineNo], mark.position, maxLineLength);
23812
- result += common.repeat(" ", options.indent) + padStart((mark.line + 1).toString(), lineNoLength) + " | " + line.str + `
23815
+ result += common2.repeat(" ", options.indent) + padStart((mark.line + 1).toString(), lineNoLength) + " | " + line.str + `
23813
23816
  `;
23814
- result += common.repeat("-", options.indent + lineNoLength + 3 + line.pos) + `^
23817
+ result += common2.repeat("-", options.indent + lineNoLength + 3 + line.pos) + `^
23815
23818
  `;
23816
23819
  for (let i = 1;i <= options.linesAfter; i++) {
23817
23820
  if (foundLineNo + i >= lineEnds.length)
23818
23821
  break;
23819
23822
  const line2 = getLine(mark.buffer, lineStarts[foundLineNo + i], lineEnds[foundLineNo + i], mark.position - (lineStarts[foundLineNo] - lineStarts[foundLineNo + i]), maxLineLength);
23820
- result += common.repeat(" ", options.indent) + padStart((mark.line + i + 1).toString(), lineNoLength) + " | " + line2.str + `
23823
+ result += common2.repeat(" ", options.indent) + padStart((mark.line + i + 1).toString(), lineNoLength) + " | " + line2.str + `
23821
23824
  `;
23822
23825
  }
23823
23826
  return result.replace(/\n$/, "");
23824
23827
  }
23825
- module.exports = makeSnippet;
23826
- });
23827
- var require_type = /* @__PURE__ */ __commonJSMin((exports, module) => {
23828
- var YAMLException = require_exception();
23829
- var TYPE_CONSTRUCTOR_OPTIONS = [
23828
+ snippet = makeSnippet;
23829
+ return snippet;
23830
+ }
23831
+ var type;
23832
+ var hasRequiredType;
23833
+ function requireType() {
23834
+ if (hasRequiredType)
23835
+ return type;
23836
+ hasRequiredType = 1;
23837
+ const YAMLException2 = requireException();
23838
+ const TYPE_CONSTRUCTOR_OPTIONS = [
23830
23839
  "kind",
23831
23840
  "multi",
23832
23841
  "resolve",
@@ -23838,26 +23847,28 @@ var require_type = /* @__PURE__ */ __commonJSMin((exports, module) => {
23838
23847
  "defaultStyle",
23839
23848
  "styleAliases"
23840
23849
  ];
23841
- var YAML_NODE_KINDS = [
23850
+ const YAML_NODE_KINDS = [
23842
23851
  "scalar",
23843
23852
  "sequence",
23844
23853
  "mapping"
23845
23854
  ];
23846
- function compileStyleAliases(map) {
23855
+ function compileStyleAliases(map2) {
23847
23856
  const result = {};
23848
- if (map !== null)
23849
- Object.keys(map).forEach(function(style) {
23850
- map[style].forEach(function(alias) {
23857
+ if (map2 !== null) {
23858
+ Object.keys(map2).forEach(function(style) {
23859
+ map2[style].forEach(function(alias) {
23851
23860
  result[String(alias)] = style;
23852
23861
  });
23853
23862
  });
23863
+ }
23854
23864
  return result;
23855
23865
  }
23856
- function Type(tag, options) {
23866
+ function Type2(tag, options) {
23857
23867
  options = options || {};
23858
23868
  Object.keys(options).forEach(function(name) {
23859
- if (TYPE_CONSTRUCTOR_OPTIONS.indexOf(name) === -1)
23860
- throw new YAMLException('Unknown option "' + name + '" is met in definition of "' + tag + '" YAML type.');
23869
+ if (TYPE_CONSTRUCTOR_OPTIONS.indexOf(name) === -1) {
23870
+ throw new YAMLException2('Unknown option "' + name + '" is met in definition of "' + tag + '" YAML type.');
23871
+ }
23861
23872
  });
23862
23873
  this.options = options;
23863
23874
  this.tag = tag;
@@ -23875,21 +23886,29 @@ var require_type = /* @__PURE__ */ __commonJSMin((exports, module) => {
23875
23886
  this.defaultStyle = options["defaultStyle"] || null;
23876
23887
  this.multi = options["multi"] || false;
23877
23888
  this.styleAliases = compileStyleAliases(options["styleAliases"] || null);
23878
- if (YAML_NODE_KINDS.indexOf(this.kind) === -1)
23879
- throw new YAMLException('Unknown kind "' + this.kind + '" is specified for "' + tag + '" YAML type.');
23880
- }
23881
- module.exports = Type;
23882
- });
23883
- var require_schema = /* @__PURE__ */ __commonJSMin((exports, module) => {
23884
- var YAMLException = require_exception();
23885
- var Type = require_type();
23886
- function compileList(schema, name) {
23889
+ if (YAML_NODE_KINDS.indexOf(this.kind) === -1) {
23890
+ throw new YAMLException2('Unknown kind "' + this.kind + '" is specified for "' + tag + '" YAML type.');
23891
+ }
23892
+ }
23893
+ type = Type2;
23894
+ return type;
23895
+ }
23896
+ var schema;
23897
+ var hasRequiredSchema;
23898
+ function requireSchema() {
23899
+ if (hasRequiredSchema)
23900
+ return schema;
23901
+ hasRequiredSchema = 1;
23902
+ const YAMLException2 = requireException();
23903
+ const Type2 = requireType();
23904
+ function compileList(schema2, name) {
23887
23905
  const result = [];
23888
- schema[name].forEach(function(currentType) {
23906
+ schema2[name].forEach(function(currentType) {
23889
23907
  let newIndex = result.length;
23890
23908
  result.forEach(function(previousType, previousIndex) {
23891
- if (previousType.tag === currentType.tag && previousType.kind === currentType.kind && previousType.multi === currentType.multi)
23909
+ if (previousType.tag === currentType.tag && previousType.kind === currentType.kind && previousType.multi === currentType.multi) {
23892
23910
  newIndex = previousIndex;
23911
+ }
23893
23912
  });
23894
23913
  result[newIndex] = currentType;
23895
23914
  });
@@ -23908,47 +23927,54 @@ var require_schema = /* @__PURE__ */ __commonJSMin((exports, module) => {
23908
23927
  fallback: []
23909
23928
  }
23910
23929
  };
23911
- function collectType(type) {
23912
- if (type.multi) {
23913
- result.multi[type.kind].push(type);
23914
- result.multi["fallback"].push(type);
23915
- } else
23916
- result[type.kind][type.tag] = result["fallback"][type.tag] = type;
23930
+ function collectType(type2) {
23931
+ if (type2.multi) {
23932
+ result.multi[type2.kind].push(type2);
23933
+ result.multi["fallback"].push(type2);
23934
+ } else {
23935
+ result[type2.kind][type2.tag] = result["fallback"][type2.tag] = type2;
23936
+ }
23917
23937
  }
23918
- for (let index = 0, length = arguments.length;index < length; index += 1)
23938
+ for (let index = 0, length = arguments.length;index < length; index += 1) {
23919
23939
  arguments[index].forEach(collectType);
23940
+ }
23920
23941
  return result;
23921
23942
  }
23922
- function Schema(definition) {
23943
+ function Schema2(definition) {
23923
23944
  return this.extend(definition);
23924
23945
  }
23925
- Schema.prototype.extend = function extend(definition) {
23946
+ Schema2.prototype.extend = function extend(definition) {
23926
23947
  let implicit = [];
23927
23948
  let explicit = [];
23928
- if (definition instanceof Type)
23949
+ if (definition instanceof Type2) {
23929
23950
  explicit.push(definition);
23930
- else if (Array.isArray(definition))
23951
+ } else if (Array.isArray(definition)) {
23931
23952
  explicit = explicit.concat(definition);
23932
- else if (definition && (Array.isArray(definition.implicit) || Array.isArray(definition.explicit))) {
23953
+ } else if (definition && (Array.isArray(definition.implicit) || Array.isArray(definition.explicit))) {
23933
23954
  if (definition.implicit)
23934
23955
  implicit = implicit.concat(definition.implicit);
23935
23956
  if (definition.explicit)
23936
23957
  explicit = explicit.concat(definition.explicit);
23937
- } else
23938
- throw new YAMLException("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");
23939
- implicit.forEach(function(type) {
23940
- if (!(type instanceof Type))
23941
- throw new YAMLException("Specified list of YAML types (or a single Type object) contains a non-Type object.");
23942
- if (type.loadKind && type.loadKind !== "scalar")
23943
- throw new YAMLException("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");
23944
- if (type.multi)
23945
- throw new YAMLException("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.");
23958
+ } else {
23959
+ throw new YAMLException2("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");
23960
+ }
23961
+ implicit.forEach(function(type2) {
23962
+ if (!(type2 instanceof Type2)) {
23963
+ throw new YAMLException2("Specified list of YAML types (or a single Type object) contains a non-Type object.");
23964
+ }
23965
+ if (type2.loadKind && type2.loadKind !== "scalar") {
23966
+ throw new YAMLException2("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");
23967
+ }
23968
+ if (type2.multi) {
23969
+ throw new YAMLException2("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.");
23970
+ }
23946
23971
  });
23947
- explicit.forEach(function(type) {
23948
- if (!(type instanceof Type))
23949
- throw new YAMLException("Specified list of YAML types (or a single Type object) contains a non-Type object.");
23972
+ explicit.forEach(function(type2) {
23973
+ if (!(type2 instanceof Type2)) {
23974
+ throw new YAMLException2("Specified list of YAML types (or a single Type object) contains a non-Type object.");
23975
+ }
23950
23976
  });
23951
- const result = Object.create(Schema.prototype);
23977
+ const result = Object.create(Schema2.prototype);
23952
23978
  result.implicit = (this.implicit || []).concat(implicit);
23953
23979
  result.explicit = (this.explicit || []).concat(explicit);
23954
23980
  result.compiledImplicit = compileList(result, "implicit");
@@ -23956,41 +23982,77 @@ var require_schema = /* @__PURE__ */ __commonJSMin((exports, module) => {
23956
23982
  result.compiledTypeMap = compileMap(result.compiledImplicit, result.compiledExplicit);
23957
23983
  return result;
23958
23984
  };
23959
- module.exports = Schema;
23960
- });
23961
- var require_str = /* @__PURE__ */ __commonJSMin((exports, module) => {
23962
- module.exports = new (require_type())("tag:yaml.org,2002:str", {
23985
+ schema = Schema2;
23986
+ return schema;
23987
+ }
23988
+ var str;
23989
+ var hasRequiredStr;
23990
+ function requireStr() {
23991
+ if (hasRequiredStr)
23992
+ return str;
23993
+ hasRequiredStr = 1;
23994
+ const Type2 = requireType();
23995
+ str = new Type2("tag:yaml.org,2002:str", {
23963
23996
  kind: "scalar",
23964
23997
  construct: function(data) {
23965
23998
  return data !== null ? data : "";
23966
23999
  }
23967
24000
  });
23968
- });
23969
- var require_seq = /* @__PURE__ */ __commonJSMin((exports, module) => {
23970
- module.exports = new (require_type())("tag:yaml.org,2002:seq", {
24001
+ return str;
24002
+ }
24003
+ var seq;
24004
+ var hasRequiredSeq;
24005
+ function requireSeq() {
24006
+ if (hasRequiredSeq)
24007
+ return seq;
24008
+ hasRequiredSeq = 1;
24009
+ const Type2 = requireType();
24010
+ seq = new Type2("tag:yaml.org,2002:seq", {
23971
24011
  kind: "sequence",
23972
24012
  construct: function(data) {
23973
24013
  return data !== null ? data : [];
23974
24014
  }
23975
24015
  });
23976
- });
23977
- var require_map = /* @__PURE__ */ __commonJSMin((exports, module) => {
23978
- module.exports = new (require_type())("tag:yaml.org,2002:map", {
24016
+ return seq;
24017
+ }
24018
+ var map;
24019
+ var hasRequiredMap;
24020
+ function requireMap() {
24021
+ if (hasRequiredMap)
24022
+ return map;
24023
+ hasRequiredMap = 1;
24024
+ const Type2 = requireType();
24025
+ map = new Type2("tag:yaml.org,2002:map", {
23979
24026
  kind: "mapping",
23980
24027
  construct: function(data) {
23981
24028
  return data !== null ? data : {};
23982
24029
  }
23983
24030
  });
23984
- });
23985
- var require_failsafe = /* @__PURE__ */ __commonJSMin((exports, module) => {
23986
- module.exports = new (require_schema())({ explicit: [
23987
- require_str(),
23988
- require_seq(),
23989
- require_map()
23990
- ] });
23991
- });
23992
- var require_null = /* @__PURE__ */ __commonJSMin((exports, module) => {
23993
- var Type = require_type();
24031
+ return map;
24032
+ }
24033
+ var failsafe;
24034
+ var hasRequiredFailsafe;
24035
+ function requireFailsafe() {
24036
+ if (hasRequiredFailsafe)
24037
+ return failsafe;
24038
+ hasRequiredFailsafe = 1;
24039
+ const Schema2 = requireSchema();
24040
+ failsafe = new Schema2({
24041
+ explicit: [
24042
+ requireStr(),
24043
+ requireSeq(),
24044
+ requireMap()
24045
+ ]
24046
+ });
24047
+ return failsafe;
24048
+ }
24049
+ var _null;
24050
+ var hasRequired_null;
24051
+ function require_null() {
24052
+ if (hasRequired_null)
24053
+ return _null;
24054
+ hasRequired_null = 1;
24055
+ const Type2 = requireType();
23994
24056
  function resolveYamlNull(data) {
23995
24057
  if (data === null)
23996
24058
  return true;
@@ -24003,7 +24065,7 @@ var require_null = /* @__PURE__ */ __commonJSMin((exports, module) => {
24003
24065
  function isNull(object) {
24004
24066
  return object === null;
24005
24067
  }
24006
- module.exports = new Type("tag:yaml.org,2002:null", {
24068
+ _null = new Type2("tag:yaml.org,2002:null", {
24007
24069
  kind: "scalar",
24008
24070
  resolve: resolveYamlNull,
24009
24071
  construct: constructYamlNull,
@@ -24027,9 +24089,15 @@ var require_null = /* @__PURE__ */ __commonJSMin((exports, module) => {
24027
24089
  },
24028
24090
  defaultStyle: "lowercase"
24029
24091
  });
24030
- });
24031
- var require_bool = /* @__PURE__ */ __commonJSMin((exports, module) => {
24032
- var Type = require_type();
24092
+ return _null;
24093
+ }
24094
+ var bool;
24095
+ var hasRequiredBool;
24096
+ function requireBool() {
24097
+ if (hasRequiredBool)
24098
+ return bool;
24099
+ hasRequiredBool = 1;
24100
+ const Type2 = requireType();
24033
24101
  function resolveYamlBoolean(data) {
24034
24102
  if (data === null)
24035
24103
  return false;
@@ -24042,7 +24110,7 @@ var require_bool = /* @__PURE__ */ __commonJSMin((exports, module) => {
24042
24110
  function isBoolean(object) {
24043
24111
  return Object.prototype.toString.call(object) === "[object Boolean]";
24044
24112
  }
24045
- module.exports = new Type("tag:yaml.org,2002:bool", {
24113
+ bool = new Type2("tag:yaml.org,2002:bool", {
24046
24114
  kind: "scalar",
24047
24115
  resolve: resolveYamlBoolean,
24048
24116
  construct: constructYamlBoolean,
@@ -24060,10 +24128,16 @@ var require_bool = /* @__PURE__ */ __commonJSMin((exports, module) => {
24060
24128
  },
24061
24129
  defaultStyle: "lowercase"
24062
24130
  });
24063
- });
24064
- var require_int = /* @__PURE__ */ __commonJSMin((exports, module) => {
24065
- var common = require_common();
24066
- var Type = require_type();
24131
+ return bool;
24132
+ }
24133
+ var int;
24134
+ var hasRequiredInt;
24135
+ function requireInt() {
24136
+ if (hasRequiredInt)
24137
+ return int;
24138
+ hasRequiredInt = 1;
24139
+ const common2 = requireCommon();
24140
+ const Type2 = requireType();
24067
24141
  function isHexCode(c) {
24068
24142
  return c >= 48 && c <= 57 || c >= 65 && c <= 70 || c >= 97 && c <= 102;
24069
24143
  }
@@ -24082,8 +24156,9 @@ var require_int = /* @__PURE__ */ __commonJSMin((exports, module) => {
24082
24156
  if (!max)
24083
24157
  return false;
24084
24158
  let ch = data[index];
24085
- if (ch === "-" || ch === "+")
24159
+ if (ch === "-" || ch === "+") {
24086
24160
  ch = data[++index];
24161
+ }
24087
24162
  if (ch === "0") {
24088
24163
  if (index + 1 === max)
24089
24164
  return true;
@@ -24096,7 +24171,7 @@ var require_int = /* @__PURE__ */ __commonJSMin((exports, module) => {
24096
24171
  return false;
24097
24172
  hasDigits = true;
24098
24173
  }
24099
- return hasDigits && Number.isFinite(parseYamlInteger(data));
24174
+ return hasDigits && isFinite(parseYamlInteger(data));
24100
24175
  }
24101
24176
  if (ch === "x") {
24102
24177
  index++;
@@ -24105,7 +24180,7 @@ var require_int = /* @__PURE__ */ __commonJSMin((exports, module) => {
24105
24180
  return false;
24106
24181
  hasDigits = true;
24107
24182
  }
24108
- return hasDigits && Number.isFinite(parseYamlInteger(data));
24183
+ return hasDigits && isFinite(parseYamlInteger(data));
24109
24184
  }
24110
24185
  if (ch === "o") {
24111
24186
  index++;
@@ -24114,17 +24189,18 @@ var require_int = /* @__PURE__ */ __commonJSMin((exports, module) => {
24114
24189
  return false;
24115
24190
  hasDigits = true;
24116
24191
  }
24117
- return hasDigits && Number.isFinite(parseYamlInteger(data));
24192
+ return hasDigits && isFinite(parseYamlInteger(data));
24118
24193
  }
24119
24194
  }
24120
24195
  for (;index < max; index++) {
24121
- if (!isDecCode(data.charCodeAt(index)))
24196
+ if (!isDecCode(data.charCodeAt(index))) {
24122
24197
  return false;
24198
+ }
24123
24199
  hasDigits = true;
24124
24200
  }
24125
24201
  if (!hasDigits)
24126
24202
  return false;
24127
- return Number.isFinite(parseYamlInteger(data));
24203
+ return isFinite(parseYamlInteger(data));
24128
24204
  }
24129
24205
  function parseYamlInteger(data) {
24130
24206
  let value = data;
@@ -24152,9 +24228,9 @@ var require_int = /* @__PURE__ */ __commonJSMin((exports, module) => {
24152
24228
  return parseYamlInteger(data);
24153
24229
  }
24154
24230
  function isInteger(object) {
24155
- return Object.prototype.toString.call(object) === "[object Number]" && object % 1 === 0 && !common.isNegativeZero(object);
24231
+ return Object.prototype.toString.call(object) === "[object Number]" && (object % 1 === 0 && !common2.isNegativeZero(object));
24156
24232
  }
24157
- module.exports = new Type("tag:yaml.org,2002:int", {
24233
+ int = new Type2("tag:yaml.org,2002:int", {
24158
24234
  kind: "scalar",
24159
24235
  resolve: resolveYamlInteger,
24160
24236
  construct: constructYamlInteger,
@@ -24181,35 +24257,45 @@ var require_int = /* @__PURE__ */ __commonJSMin((exports, module) => {
24181
24257
  hexadecimal: [16, "hex"]
24182
24258
  }
24183
24259
  });
24184
- });
24185
- var require_float = /* @__PURE__ */ __commonJSMin((exports, module) => {
24186
- var common = require_common();
24187
- var Type = require_type();
24188
- var YAML_FLOAT_PATTERN = /* @__PURE__ */ new RegExp("^(?:[-+]?(?:[0-9]+)(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");
24189
- var YAML_FLOAT_SPECIAL_PATTERN = /* @__PURE__ */ new RegExp("^(?:[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");
24260
+ return int;
24261
+ }
24262
+ var float;
24263
+ var hasRequiredFloat;
24264
+ function requireFloat() {
24265
+ if (hasRequiredFloat)
24266
+ return float;
24267
+ hasRequiredFloat = 1;
24268
+ const common2 = requireCommon();
24269
+ const Type2 = requireType();
24270
+ const YAML_FLOAT_PATTERN = new RegExp("^(?:[-+]?(?:[0-9]+)(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");
24271
+ const YAML_FLOAT_SPECIAL_PATTERN = new RegExp("^(?:[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");
24190
24272
  function resolveYamlFloat(data) {
24191
24273
  if (data === null)
24192
24274
  return false;
24193
- if (!YAML_FLOAT_PATTERN.test(data))
24275
+ if (!YAML_FLOAT_PATTERN.test(data)) {
24194
24276
  return false;
24195
- if (Number.isFinite(parseFloat(data, 10)))
24277
+ }
24278
+ if (isFinite(parseFloat(data, 10))) {
24196
24279
  return true;
24280
+ }
24197
24281
  return YAML_FLOAT_SPECIAL_PATTERN.test(data);
24198
24282
  }
24199
24283
  function constructYamlFloat(data) {
24200
24284
  let value = data.toLowerCase();
24201
24285
  const sign = value[0] === "-" ? -1 : 1;
24202
- if ("+-".indexOf(value[0]) >= 0)
24286
+ if ("+-".indexOf(value[0]) >= 0) {
24203
24287
  value = value.slice(1);
24204
- if (value === ".inf")
24288
+ }
24289
+ if (value === ".inf") {
24205
24290
  return sign === 1 ? Number.POSITIVE_INFINITY : Number.NEGATIVE_INFINITY;
24206
- else if (value === ".nan")
24291
+ } else if (value === ".nan") {
24207
24292
  return NaN;
24293
+ }
24208
24294
  return sign * parseFloat(value, 10);
24209
24295
  }
24210
- var SCIENTIFIC_WITHOUT_DOT = /^[-+]?[0-9]+e/;
24296
+ const SCIENTIFIC_WITHOUT_DOT = /^[-+]?[0-9]+e/;
24211
24297
  function representYamlFloat(object, style) {
24212
- if (isNaN(object))
24298
+ if (isNaN(object)) {
24213
24299
  switch (style) {
24214
24300
  case "lowercase":
24215
24301
  return ".nan";
@@ -24218,7 +24304,7 @@ var require_float = /* @__PURE__ */ __commonJSMin((exports, module) => {
24218
24304
  case "camelcase":
24219
24305
  return ".NaN";
24220
24306
  }
24221
- else if (Number.POSITIVE_INFINITY === object)
24307
+ } else if (Number.POSITIVE_INFINITY === object) {
24222
24308
  switch (style) {
24223
24309
  case "lowercase":
24224
24310
  return ".inf";
@@ -24227,7 +24313,7 @@ var require_float = /* @__PURE__ */ __commonJSMin((exports, module) => {
24227
24313
  case "camelcase":
24228
24314
  return ".Inf";
24229
24315
  }
24230
- else if (Number.NEGATIVE_INFINITY === object)
24316
+ } else if (Number.NEGATIVE_INFINITY === object) {
24231
24317
  switch (style) {
24232
24318
  case "lowercase":
24233
24319
  return "-.inf";
@@ -24236,15 +24322,16 @@ var require_float = /* @__PURE__ */ __commonJSMin((exports, module) => {
24236
24322
  case "camelcase":
24237
24323
  return "-.Inf";
24238
24324
  }
24239
- else if (common.isNegativeZero(object))
24325
+ } else if (common2.isNegativeZero(object)) {
24240
24326
  return "-0.0";
24327
+ }
24241
24328
  const res = object.toString(10);
24242
24329
  return SCIENTIFIC_WITHOUT_DOT.test(res) ? res.replace("e", ".e") : res;
24243
24330
  }
24244
24331
  function isFloat(object) {
24245
- return Object.prototype.toString.call(object) === "[object Number]" && (object % 1 !== 0 || common.isNegativeZero(object));
24332
+ return Object.prototype.toString.call(object) === "[object Number]" && (object % 1 !== 0 || common2.isNegativeZero(object));
24246
24333
  }
24247
- module.exports = new Type("tag:yaml.org,2002:float", {
24334
+ float = new Type2("tag:yaml.org,2002:float", {
24248
24335
  kind: "scalar",
24249
24336
  resolve: resolveYamlFloat,
24250
24337
  construct: constructYamlFloat,
@@ -24252,22 +24339,42 @@ var require_float = /* @__PURE__ */ __commonJSMin((exports, module) => {
24252
24339
  represent: representYamlFloat,
24253
24340
  defaultStyle: "lowercase"
24254
24341
  });
24255
- });
24256
- var require_json = /* @__PURE__ */ __commonJSMin((exports, module) => {
24257
- module.exports = require_failsafe().extend({ implicit: [
24258
- require_null(),
24259
- require_bool(),
24260
- require_int(),
24261
- require_float()
24262
- ] });
24263
- });
24264
- var require_core = /* @__PURE__ */ __commonJSMin((exports, module) => {
24265
- module.exports = require_json();
24266
- });
24267
- var require_timestamp = /* @__PURE__ */ __commonJSMin((exports, module) => {
24268
- var Type = require_type();
24269
- var YAML_DATE_REGEXP = /* @__PURE__ */ new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$");
24270
- var YAML_TIMESTAMP_REGEXP = /* @__PURE__ */ new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");
24342
+ return float;
24343
+ }
24344
+ var json;
24345
+ var hasRequiredJson;
24346
+ function requireJson() {
24347
+ if (hasRequiredJson)
24348
+ return json;
24349
+ hasRequiredJson = 1;
24350
+ json = requireFailsafe().extend({
24351
+ implicit: [
24352
+ require_null(),
24353
+ requireBool(),
24354
+ requireInt(),
24355
+ requireFloat()
24356
+ ]
24357
+ });
24358
+ return json;
24359
+ }
24360
+ var core;
24361
+ var hasRequiredCore;
24362
+ function requireCore() {
24363
+ if (hasRequiredCore)
24364
+ return core;
24365
+ hasRequiredCore = 1;
24366
+ core = requireJson();
24367
+ return core;
24368
+ }
24369
+ var timestamp;
24370
+ var hasRequiredTimestamp;
24371
+ function requireTimestamp() {
24372
+ if (hasRequiredTimestamp)
24373
+ return timestamp;
24374
+ hasRequiredTimestamp = 1;
24375
+ const Type2 = requireType();
24376
+ const YAML_DATE_REGEXP = new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$");
24377
+ const YAML_TIMESTAMP_REGEXP = new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");
24271
24378
  function resolveYamlTimestamp(data) {
24272
24379
  if (data === null)
24273
24380
  return false;
@@ -24288,15 +24395,17 @@ var require_timestamp = /* @__PURE__ */ __commonJSMin((exports, module) => {
24288
24395
  const year = +match[1];
24289
24396
  const month = +match[2] - 1;
24290
24397
  const day = +match[3];
24291
- if (!match[4])
24398
+ if (!match[4]) {
24292
24399
  return new Date(Date.UTC(year, month, day));
24400
+ }
24293
24401
  const hour = +match[4];
24294
24402
  const minute = +match[5];
24295
24403
  const second = +match[6];
24296
24404
  if (match[7]) {
24297
24405
  fraction = match[7].slice(0, 3);
24298
- while (fraction.length < 3)
24406
+ while (fraction.length < 3) {
24299
24407
  fraction += "0";
24408
+ }
24300
24409
  fraction = +fraction;
24301
24410
  }
24302
24411
  if (match[9]) {
@@ -24314,36 +24423,48 @@ var require_timestamp = /* @__PURE__ */ __commonJSMin((exports, module) => {
24314
24423
  function representYamlTimestamp(object) {
24315
24424
  return object.toISOString();
24316
24425
  }
24317
- module.exports = new Type("tag:yaml.org,2002:timestamp", {
24426
+ timestamp = new Type2("tag:yaml.org,2002:timestamp", {
24318
24427
  kind: "scalar",
24319
24428
  resolve: resolveYamlTimestamp,
24320
24429
  construct: constructYamlTimestamp,
24321
24430
  instanceOf: Date,
24322
24431
  represent: representYamlTimestamp
24323
24432
  });
24324
- });
24325
- var require_merge = /* @__PURE__ */ __commonJSMin((exports, module) => {
24326
- var Type = require_type();
24433
+ return timestamp;
24434
+ }
24435
+ var merge;
24436
+ var hasRequiredMerge;
24437
+ function requireMerge() {
24438
+ if (hasRequiredMerge)
24439
+ return merge;
24440
+ hasRequiredMerge = 1;
24441
+ const Type2 = requireType();
24327
24442
  function resolveYamlMerge(data) {
24328
24443
  return data === "<<" || data === null;
24329
24444
  }
24330
- module.exports = new Type("tag:yaml.org,2002:merge", {
24445
+ merge = new Type2("tag:yaml.org,2002:merge", {
24331
24446
  kind: "scalar",
24332
24447
  resolve: resolveYamlMerge
24333
24448
  });
24334
- });
24335
- var require_binary = /* @__PURE__ */ __commonJSMin((exports, module) => {
24336
- var Type = require_type();
24337
- var BASE64_MAP = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
24449
+ return merge;
24450
+ }
24451
+ var binary;
24452
+ var hasRequiredBinary;
24453
+ function requireBinary() {
24454
+ if (hasRequiredBinary)
24455
+ return binary;
24456
+ hasRequiredBinary = 1;
24457
+ const Type2 = requireType();
24458
+ const BASE64_MAP = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
24338
24459
  \r`;
24339
24460
  function resolveYamlBinary(data) {
24340
24461
  if (data === null)
24341
24462
  return false;
24342
24463
  let bitlen = 0;
24343
24464
  const max = data.length;
24344
- const map = BASE64_MAP;
24465
+ const map2 = BASE64_MAP;
24345
24466
  for (let idx = 0;idx < max; idx++) {
24346
- const code = map.indexOf(data.charAt(idx));
24467
+ const code = map2.indexOf(data.charAt(idx));
24347
24468
  if (code > 64)
24348
24469
  continue;
24349
24470
  if (code < 0)
@@ -24355,7 +24476,7 @@ var require_binary = /* @__PURE__ */ __commonJSMin((exports, module) => {
24355
24476
  function constructYamlBinary(data) {
24356
24477
  const input = data.replace(/[\r\n=]/g, "");
24357
24478
  const max = input.length;
24358
- const map = BASE64_MAP;
24479
+ const map2 = BASE64_MAP;
24359
24480
  let bits = 0;
24360
24481
  const result = [];
24361
24482
  for (let idx = 0;idx < max; idx++) {
@@ -24364,7 +24485,7 @@ var require_binary = /* @__PURE__ */ __commonJSMin((exports, module) => {
24364
24485
  result.push(bits >> 8 & 255);
24365
24486
  result.push(bits & 255);
24366
24487
  }
24367
- bits = bits << 6 | map.indexOf(input.charAt(idx));
24488
+ bits = bits << 6 | map2.indexOf(input.charAt(idx));
24368
24489
  }
24369
24490
  const tailbits = max % 4 * 6;
24370
24491
  if (tailbits === 0) {
@@ -24374,58 +24495,65 @@ var require_binary = /* @__PURE__ */ __commonJSMin((exports, module) => {
24374
24495
  } else if (tailbits === 18) {
24375
24496
  result.push(bits >> 10 & 255);
24376
24497
  result.push(bits >> 2 & 255);
24377
- } else if (tailbits === 12)
24498
+ } else if (tailbits === 12) {
24378
24499
  result.push(bits >> 4 & 255);
24500
+ }
24379
24501
  return new Uint8Array(result);
24380
24502
  }
24381
24503
  function representYamlBinary(object) {
24382
24504
  let result = "";
24383
24505
  let bits = 0;
24384
24506
  const max = object.length;
24385
- const map = BASE64_MAP;
24507
+ const map2 = BASE64_MAP;
24386
24508
  for (let idx = 0;idx < max; idx++) {
24387
24509
  if (idx % 3 === 0 && idx) {
24388
- result += map[bits >> 18 & 63];
24389
- result += map[bits >> 12 & 63];
24390
- result += map[bits >> 6 & 63];
24391
- result += map[bits & 63];
24510
+ result += map2[bits >> 18 & 63];
24511
+ result += map2[bits >> 12 & 63];
24512
+ result += map2[bits >> 6 & 63];
24513
+ result += map2[bits & 63];
24392
24514
  }
24393
24515
  bits = (bits << 8) + object[idx];
24394
24516
  }
24395
24517
  const tail = max % 3;
24396
24518
  if (tail === 0) {
24397
- result += map[bits >> 18 & 63];
24398
- result += map[bits >> 12 & 63];
24399
- result += map[bits >> 6 & 63];
24400
- result += map[bits & 63];
24519
+ result += map2[bits >> 18 & 63];
24520
+ result += map2[bits >> 12 & 63];
24521
+ result += map2[bits >> 6 & 63];
24522
+ result += map2[bits & 63];
24401
24523
  } else if (tail === 2) {
24402
- result += map[bits >> 10 & 63];
24403
- result += map[bits >> 4 & 63];
24404
- result += map[bits << 2 & 63];
24405
- result += map[64];
24524
+ result += map2[bits >> 10 & 63];
24525
+ result += map2[bits >> 4 & 63];
24526
+ result += map2[bits << 2 & 63];
24527
+ result += map2[64];
24406
24528
  } else if (tail === 1) {
24407
- result += map[bits >> 2 & 63];
24408
- result += map[bits << 4 & 63];
24409
- result += map[64];
24410
- result += map[64];
24529
+ result += map2[bits >> 2 & 63];
24530
+ result += map2[bits << 4 & 63];
24531
+ result += map2[64];
24532
+ result += map2[64];
24411
24533
  }
24412
24534
  return result;
24413
24535
  }
24414
24536
  function isBinary(obj) {
24415
24537
  return Object.prototype.toString.call(obj) === "[object Uint8Array]";
24416
24538
  }
24417
- module.exports = new Type("tag:yaml.org,2002:binary", {
24539
+ binary = new Type2("tag:yaml.org,2002:binary", {
24418
24540
  kind: "scalar",
24419
24541
  resolve: resolveYamlBinary,
24420
24542
  construct: constructYamlBinary,
24421
24543
  predicate: isBinary,
24422
24544
  represent: representYamlBinary
24423
24545
  });
24424
- });
24425
- var require_omap = /* @__PURE__ */ __commonJSMin((exports, module) => {
24426
- var Type = require_type();
24427
- var _hasOwnProperty = Object.prototype.hasOwnProperty;
24428
- var _toString = Object.prototype.toString;
24546
+ return binary;
24547
+ }
24548
+ var omap;
24549
+ var hasRequiredOmap;
24550
+ function requireOmap() {
24551
+ if (hasRequiredOmap)
24552
+ return omap;
24553
+ hasRequiredOmap = 1;
24554
+ const Type2 = requireType();
24555
+ const _hasOwnProperty = Object.prototype.hasOwnProperty;
24556
+ const _toString = Object.prototype.toString;
24429
24557
  function resolveYamlOmap(data) {
24430
24558
  if (data === null)
24431
24559
  return true;
@@ -24437,12 +24565,14 @@ var require_omap = /* @__PURE__ */ __commonJSMin((exports, module) => {
24437
24565
  if (_toString.call(pair) !== "[object Object]")
24438
24566
  return false;
24439
24567
  let pairKey;
24440
- for (pairKey in pair)
24441
- if (_hasOwnProperty.call(pair, pairKey))
24568
+ for (pairKey in pair) {
24569
+ if (_hasOwnProperty.call(pair, pairKey)) {
24442
24570
  if (!pairHasKey)
24443
24571
  pairHasKey = true;
24444
24572
  else
24445
24573
  return false;
24574
+ }
24575
+ }
24446
24576
  if (!pairHasKey)
24447
24577
  return false;
24448
24578
  if (objectKeys.indexOf(pairKey) === -1)
@@ -24455,15 +24585,21 @@ var require_omap = /* @__PURE__ */ __commonJSMin((exports, module) => {
24455
24585
  function constructYamlOmap(data) {
24456
24586
  return data !== null ? data : [];
24457
24587
  }
24458
- module.exports = new Type("tag:yaml.org,2002:omap", {
24588
+ omap = new Type2("tag:yaml.org,2002:omap", {
24459
24589
  kind: "sequence",
24460
24590
  resolve: resolveYamlOmap,
24461
24591
  construct: constructYamlOmap
24462
24592
  });
24463
- });
24464
- var require_pairs = /* @__PURE__ */ __commonJSMin((exports, module) => {
24465
- var Type = require_type();
24466
- var _toString = Object.prototype.toString;
24593
+ return omap;
24594
+ }
24595
+ var pairs;
24596
+ var hasRequiredPairs;
24597
+ function requirePairs() {
24598
+ if (hasRequiredPairs)
24599
+ return pairs;
24600
+ hasRequiredPairs = 1;
24601
+ const Type2 = requireType();
24602
+ const _toString = Object.prototype.toString;
24467
24603
  function resolveYamlPairs(data) {
24468
24604
  if (data === null)
24469
24605
  return true;
@@ -24492,64 +24628,85 @@ var require_pairs = /* @__PURE__ */ __commonJSMin((exports, module) => {
24492
24628
  }
24493
24629
  return result;
24494
24630
  }
24495
- module.exports = new Type("tag:yaml.org,2002:pairs", {
24631
+ pairs = new Type2("tag:yaml.org,2002:pairs", {
24496
24632
  kind: "sequence",
24497
24633
  resolve: resolveYamlPairs,
24498
24634
  construct: constructYamlPairs
24499
24635
  });
24500
- });
24501
- var require_set = /* @__PURE__ */ __commonJSMin((exports, module) => {
24502
- var Type = require_type();
24503
- var _hasOwnProperty = Object.prototype.hasOwnProperty;
24636
+ return pairs;
24637
+ }
24638
+ var set;
24639
+ var hasRequiredSet;
24640
+ function requireSet() {
24641
+ if (hasRequiredSet)
24642
+ return set;
24643
+ hasRequiredSet = 1;
24644
+ const Type2 = requireType();
24645
+ const _hasOwnProperty = Object.prototype.hasOwnProperty;
24504
24646
  function resolveYamlSet(data) {
24505
24647
  if (data === null)
24506
24648
  return true;
24507
24649
  const object = data;
24508
- for (const key in object)
24650
+ for (const key in object) {
24509
24651
  if (_hasOwnProperty.call(object, key)) {
24510
24652
  if (object[key] !== null)
24511
24653
  return false;
24512
24654
  }
24655
+ }
24513
24656
  return true;
24514
24657
  }
24515
24658
  function constructYamlSet(data) {
24516
24659
  return data !== null ? data : {};
24517
24660
  }
24518
- module.exports = new Type("tag:yaml.org,2002:set", {
24661
+ set = new Type2("tag:yaml.org,2002:set", {
24519
24662
  kind: "mapping",
24520
24663
  resolve: resolveYamlSet,
24521
24664
  construct: constructYamlSet
24522
24665
  });
24523
- });
24524
- var require_default = /* @__PURE__ */ __commonJSMin((exports, module) => {
24525
- module.exports = require_core().extend({
24526
- implicit: [require_timestamp(), require_merge()],
24666
+ return set;
24667
+ }
24668
+ var _default;
24669
+ var hasRequired_default;
24670
+ function require_default() {
24671
+ if (hasRequired_default)
24672
+ return _default;
24673
+ hasRequired_default = 1;
24674
+ _default = requireCore().extend({
24675
+ implicit: [
24676
+ requireTimestamp(),
24677
+ requireMerge()
24678
+ ],
24527
24679
  explicit: [
24528
- require_binary(),
24529
- require_omap(),
24530
- require_pairs(),
24531
- require_set()
24680
+ requireBinary(),
24681
+ requireOmap(),
24682
+ requirePairs(),
24683
+ requireSet()
24532
24684
  ]
24533
24685
  });
24534
- });
24535
- var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
24536
- var common = require_common();
24537
- var YAMLException = require_exception();
24538
- var makeSnippet = require_snippet();
24539
- var DEFAULT_SCHEMA = require_default();
24540
- var _hasOwnProperty = Object.prototype.hasOwnProperty;
24541
- var CONTEXT_FLOW_IN = 1;
24542
- var CONTEXT_FLOW_OUT = 2;
24543
- var CONTEXT_BLOCK_IN = 3;
24544
- var CONTEXT_BLOCK_OUT = 4;
24545
- var CHOMPING_CLIP = 1;
24546
- var CHOMPING_STRIP = 2;
24547
- var CHOMPING_KEEP = 3;
24548
- var PATTERN_NON_PRINTABLE = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/;
24549
- var PATTERN_NON_ASCII_LINE_BREAKS = /[\x85\u2028\u2029]/;
24550
- var PATTERN_FLOW_INDICATORS = /[,\[\]{}]/;
24551
- var PATTERN_TAG_HANDLE = /^(?:!|!!|![0-9A-Za-z-]+!)$/;
24552
- var PATTERN_TAG_URI = /^(?:!|[^,\[\]{}])(?:%[0-9a-f]{2}|[0-9a-z\-#;/?:@&=+$,_.!~*'()\[\]])*$/i;
24686
+ return _default;
24687
+ }
24688
+ var hasRequiredLoader;
24689
+ function requireLoader() {
24690
+ if (hasRequiredLoader)
24691
+ return loader;
24692
+ hasRequiredLoader = 1;
24693
+ const common2 = requireCommon();
24694
+ const YAMLException2 = requireException();
24695
+ const makeSnippet = requireSnippet();
24696
+ const DEFAULT_SCHEMA2 = require_default();
24697
+ const _hasOwnProperty = Object.prototype.hasOwnProperty;
24698
+ const CONTEXT_FLOW_IN = 1;
24699
+ const CONTEXT_FLOW_OUT = 2;
24700
+ const CONTEXT_BLOCK_IN = 3;
24701
+ const CONTEXT_BLOCK_OUT = 4;
24702
+ const CHOMPING_CLIP = 1;
24703
+ const CHOMPING_STRIP = 2;
24704
+ const CHOMPING_KEEP = 3;
24705
+ const PATTERN_NON_PRINTABLE = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/;
24706
+ const PATTERN_NON_ASCII_LINE_BREAKS = /[\x85\u2028\u2029]/;
24707
+ const PATTERN_FLOW_INDICATORS = /[,\[\]{}]/;
24708
+ const PATTERN_TAG_HANDLE = /^(?:!|!!|![0-9A-Za-z-]+!)$/;
24709
+ const PATTERN_TAG_URI = /^(?:!|[^,\[\]{}])(?:%[0-9a-f]{2}|[0-9a-z\-#;/?:@&=+$,_.!~*'()\[\]])*$/i;
24553
24710
  function _class(obj) {
24554
24711
  return Object.prototype.toString.call(obj);
24555
24712
  }
@@ -24566,25 +24723,31 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
24566
24723
  return c === 44 || c === 91 || c === 93 || c === 123 || c === 125;
24567
24724
  }
24568
24725
  function fromHexCode(c) {
24569
- if (c >= 48 && c <= 57)
24726
+ if (c >= 48 && c <= 57) {
24570
24727
  return c - 48;
24728
+ }
24571
24729
  const lc = c | 32;
24572
- if (lc >= 97 && lc <= 102)
24730
+ if (lc >= 97 && lc <= 102) {
24573
24731
  return lc - 97 + 10;
24732
+ }
24574
24733
  return -1;
24575
24734
  }
24576
24735
  function escapedHexLen(c) {
24577
- if (c === 120)
24736
+ if (c === 120) {
24578
24737
  return 2;
24579
- if (c === 117)
24738
+ }
24739
+ if (c === 117) {
24580
24740
  return 4;
24581
- if (c === 85)
24741
+ }
24742
+ if (c === 85) {
24582
24743
  return 8;
24744
+ }
24583
24745
  return 0;
24584
24746
  }
24585
24747
  function fromDecimalCode(c) {
24586
- if (c >= 48 && c <= 57)
24748
+ if (c >= 48 && c <= 57) {
24587
24749
  return c - 48;
24750
+ }
24588
24751
  return -1;
24589
24752
  }
24590
24753
  function simpleEscapeSequence(c) {
@@ -24631,23 +24794,25 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
24631
24794
  }
24632
24795
  }
24633
24796
  function charFromCodepoint(c) {
24634
- if (c <= 65535)
24797
+ if (c <= 65535) {
24635
24798
  return String.fromCharCode(c);
24799
+ }
24636
24800
  return String.fromCharCode((c - 65536 >> 10) + 55296, (c - 65536 & 1023) + 56320);
24637
24801
  }
24638
24802
  function setProperty(object, key, value) {
24639
- if (key === "__proto__")
24803
+ if (key === "__proto__") {
24640
24804
  Object.defineProperty(object, key, {
24641
24805
  configurable: true,
24642
24806
  enumerable: true,
24643
24807
  writable: true,
24644
24808
  value
24645
24809
  });
24646
- else
24810
+ } else {
24647
24811
  object[key] = value;
24812
+ }
24648
24813
  }
24649
- var simpleEscapeCheck = new Array(256);
24650
- var simpleEscapeMap = new Array(256);
24814
+ const simpleEscapeCheck = new Array(256);
24815
+ const simpleEscapeMap = new Array(256);
24651
24816
  for (let i = 0;i < 256; i++) {
24652
24817
  simpleEscapeCheck[i] = simpleEscapeSequence(i) ? 1 : 0;
24653
24818
  simpleEscapeMap[i] = simpleEscapeSequence(i);
@@ -24655,13 +24820,13 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
24655
24820
  function State(input, options) {
24656
24821
  this.input = input;
24657
24822
  this.filename = options["filename"] || null;
24658
- this.schema = options["schema"] || DEFAULT_SCHEMA;
24823
+ this.schema = options["schema"] || DEFAULT_SCHEMA2;
24659
24824
  this.onWarning = options["onWarning"] || null;
24660
24825
  this.legacy = options["legacy"] || false;
24661
24826
  this.json = options["json"] || false;
24662
24827
  this.listener = options["listener"] || null;
24663
24828
  this.maxDepth = typeof options["maxDepth"] === "number" ? options["maxDepth"] : 100;
24664
- this.maxMergeSeqLength = typeof options["maxMergeSeqLength"] === "number" ? options["maxMergeSeqLength"] : 20;
24829
+ this.maxTotalMergeKeys = typeof options["maxTotalMergeKeys"] === "number" ? options["maxTotalMergeKeys"] : 1e4;
24665
24830
  this.implicitTypes = this.schema.compiledImplicit;
24666
24831
  this.typeMap = this.schema.compiledTypeMap;
24667
24832
  this.length = input.length;
@@ -24670,6 +24835,7 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
24670
24835
  this.lineStart = 0;
24671
24836
  this.lineIndent = 0;
24672
24837
  this.depth = 0;
24838
+ this.totalMergeKeys = 0;
24673
24839
  this.firstTabInLine = -1;
24674
24840
  this.documents = [];
24675
24841
  this.anchorMapTransactions = [];
@@ -24683,29 +24849,31 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
24683
24849
  column: state.position - state.lineStart
24684
24850
  };
24685
24851
  mark.snippet = makeSnippet(mark);
24686
- return new YAMLException(message, mark);
24852
+ return new YAMLException2(message, mark);
24687
24853
  }
24688
24854
  function throwError(state, message) {
24689
24855
  throw generateError(state, message);
24690
24856
  }
24691
24857
  function throwWarning(state, message) {
24692
- if (state.onWarning)
24858
+ if (state.onWarning) {
24693
24859
  state.onWarning.call(null, generateError(state, message));
24860
+ }
24694
24861
  }
24695
24862
  function storeAnchor(state, name, value) {
24696
24863
  const transactions = state.anchorMapTransactions;
24697
24864
  if (transactions.length !== 0) {
24698
24865
  const transaction = transactions[transactions.length - 1];
24699
- if (!_hasOwnProperty.call(transaction, name))
24866
+ if (!_hasOwnProperty.call(transaction, name)) {
24700
24867
  transaction[name] = {
24701
24868
  existed: _hasOwnProperty.call(state.anchorMap, name),
24702
24869
  value: state.anchorMap[name]
24703
24870
  };
24871
+ }
24704
24872
  }
24705
24873
  state.anchorMap[name] = value;
24706
24874
  }
24707
24875
  function beginAnchorTransaction(state) {
24708
- state.anchorMapTransactions.push(Object.create(null));
24876
+ state.anchorMapTransactions.push(/* @__PURE__ */ Object.create(null));
24709
24877
  }
24710
24878
  function commitAnchorTransaction(state) {
24711
24879
  const transaction = state.anchorMapTransactions.pop();
@@ -24716,8 +24884,9 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
24716
24884
  const names = Object.keys(transaction);
24717
24885
  for (let index = 0, length = names.length;index < length; index += 1) {
24718
24886
  const name = names[index];
24719
- if (!_hasOwnProperty.call(parent, name))
24887
+ if (!_hasOwnProperty.call(parent, name)) {
24720
24888
  parent[name] = transaction[name];
24889
+ }
24721
24890
  }
24722
24891
  }
24723
24892
  function rollbackAnchorTransaction(state) {
@@ -24725,10 +24894,11 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
24725
24894
  const names = Object.keys(transaction);
24726
24895
  for (let index = names.length - 1;index >= 0; index -= 1) {
24727
24896
  const entry = transaction[names[index]];
24728
- if (entry.existed)
24897
+ if (entry.existed) {
24729
24898
  state.anchorMap[names[index]] = entry.value;
24730
- else
24899
+ } else {
24731
24900
  delete state.anchorMap[names[index]];
24901
+ }
24732
24902
  }
24733
24903
  }
24734
24904
  function snapshotState(state) {
@@ -24755,36 +24925,45 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
24755
24925
  state.kind = snapshot.kind;
24756
24926
  state.result = snapshot.result;
24757
24927
  }
24758
- var directiveHandlers = {
24928
+ const directiveHandlers = {
24759
24929
  YAML: function handleYamlDirective(state, name, args) {
24760
- if (state.version !== null)
24930
+ if (state.version !== null) {
24761
24931
  throwError(state, "duplication of %YAML directive");
24762
- if (args.length !== 1)
24932
+ }
24933
+ if (args.length !== 1) {
24763
24934
  throwError(state, "YAML directive accepts exactly one argument");
24935
+ }
24764
24936
  const match = /^([0-9]+)\.([0-9]+)$/.exec(args[0]);
24765
- if (match === null)
24937
+ if (match === null) {
24766
24938
  throwError(state, "ill-formed argument of the YAML directive");
24939
+ }
24767
24940
  const major = parseInt(match[1], 10);
24768
24941
  const minor = parseInt(match[2], 10);
24769
- if (major !== 1)
24942
+ if (major !== 1) {
24770
24943
  throwError(state, "unacceptable YAML version of the document");
24944
+ }
24771
24945
  state.version = args[0];
24772
24946
  state.checkLineBreaks = minor < 2;
24773
- if (minor !== 1 && minor !== 2)
24947
+ if (minor !== 1 && minor !== 2) {
24774
24948
  throwWarning(state, "unsupported YAML version of the document");
24949
+ }
24775
24950
  },
24776
24951
  TAG: function handleTagDirective(state, name, args) {
24777
24952
  let prefix;
24778
- if (args.length !== 2)
24953
+ if (args.length !== 2) {
24779
24954
  throwError(state, "TAG directive accepts exactly two arguments");
24955
+ }
24780
24956
  const handle = args[0];
24781
24957
  prefix = args[1];
24782
- if (!PATTERN_TAG_HANDLE.test(handle))
24958
+ if (!PATTERN_TAG_HANDLE.test(handle)) {
24783
24959
  throwError(state, "ill-formed tag handle (first argument) of the TAG directive");
24784
- if (_hasOwnProperty.call(state.tagMap, handle))
24960
+ }
24961
+ if (_hasOwnProperty.call(state.tagMap, handle)) {
24785
24962
  throwError(state, 'there is a previously declared suffix for "' + handle + '" tag handle');
24786
- if (!PATTERN_TAG_URI.test(prefix))
24963
+ }
24964
+ if (!PATTERN_TAG_URI.test(prefix)) {
24787
24965
  throwError(state, "ill-formed tag prefix (second argument) of the TAG directive");
24966
+ }
24788
24967
  try {
24789
24968
  prefix = decodeURIComponent(prefix);
24790
24969
  } catch (err) {
@@ -24796,23 +24975,29 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
24796
24975
  function captureSegment(state, start, end, checkJson) {
24797
24976
  if (start < end) {
24798
24977
  const _result = state.input.slice(start, end);
24799
- if (checkJson)
24978
+ if (checkJson) {
24800
24979
  for (let _position = 0, _length = _result.length;_position < _length; _position += 1) {
24801
24980
  const _character = _result.charCodeAt(_position);
24802
- if (!(_character === 9 || _character >= 32 && _character <= 1114111))
24981
+ if (!(_character === 9 || _character >= 32 && _character <= 1114111)) {
24803
24982
  throwError(state, "expected valid JSON character");
24983
+ }
24804
24984
  }
24805
- else if (PATTERN_NON_PRINTABLE.test(_result))
24985
+ } else if (PATTERN_NON_PRINTABLE.test(_result)) {
24806
24986
  throwError(state, "the stream contains non-printable characters");
24987
+ }
24807
24988
  state.result += _result;
24808
24989
  }
24809
24990
  }
24810
24991
  function mergeMappings(state, destination, source, overridableKeys) {
24811
- if (!common.isObject(source))
24992
+ if (!common2.isObject(source)) {
24812
24993
  throwError(state, "cannot merge mappings; the provided source object is unacceptable");
24994
+ }
24813
24995
  const sourceKeys = Object.keys(source);
24814
24996
  for (let index = 0, quantity = sourceKeys.length;index < quantity; index += 1) {
24815
24997
  const key = sourceKeys[index];
24998
+ if (state.maxTotalMergeKeys !== -1 && ++state.totalMergeKeys > state.maxTotalMergeKeys) {
24999
+ throwError(state, "merge keys exceeded maxTotalMergeKeys (" + state.maxTotalMergeKeys + ")");
25000
+ }
24816
25001
  if (!_hasOwnProperty.call(destination, key)) {
24817
25002
  setProperty(destination, key, source[key]);
24818
25003
  overridableKeys[key] = true;
@@ -24823,32 +25008,30 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
24823
25008
  if (Array.isArray(keyNode)) {
24824
25009
  keyNode = Array.prototype.slice.call(keyNode);
24825
25010
  for (let index = 0, quantity = keyNode.length;index < quantity; index += 1) {
24826
- if (Array.isArray(keyNode[index]))
25011
+ if (Array.isArray(keyNode[index])) {
24827
25012
  throwError(state, "nested arrays are not supported inside keys");
24828
- if (typeof keyNode === "object" && _class(keyNode[index]) === "[object Object]")
25013
+ }
25014
+ if (typeof keyNode === "object" && _class(keyNode[index]) === "[object Object]") {
24829
25015
  keyNode[index] = "[object Object]";
25016
+ }
24830
25017
  }
24831
25018
  }
24832
- if (typeof keyNode === "object" && _class(keyNode) === "[object Object]")
25019
+ if (typeof keyNode === "object" && _class(keyNode) === "[object Object]") {
24833
25020
  keyNode = "[object Object]";
25021
+ }
24834
25022
  keyNode = String(keyNode);
24835
- if (_result === null)
25023
+ if (_result === null) {
24836
25024
  _result = {};
24837
- if (keyTag === "tag:yaml.org,2002:merge")
25025
+ }
25026
+ if (keyTag === "tag:yaml.org,2002:merge") {
24838
25027
  if (Array.isArray(valueNode)) {
24839
- if (valueNode.length > state.maxMergeSeqLength)
24840
- throwError(state, "merge sequence length exceeded maxMergeSeqLength (" + state.maxMergeSeqLength + ")");
24841
- const seen = /* @__PURE__ */ new Set;
24842
25028
  for (let index = 0, quantity = valueNode.length;index < quantity; index += 1) {
24843
- const src = valueNode[index];
24844
- if (seen.has(src))
24845
- continue;
24846
- seen.add(src);
24847
- mergeMappings(state, _result, src, overridableKeys);
25029
+ mergeMappings(state, _result, valueNode[index], overridableKeys);
24848
25030
  }
24849
- } else
25031
+ } else {
24850
25032
  mergeMappings(state, _result, valueNode, overridableKeys);
24851
- else {
25033
+ }
25034
+ } else {
24852
25035
  if (!state.json && !_hasOwnProperty.call(overridableKeys, keyNode) && _hasOwnProperty.call(_result, keyNode)) {
24853
25036
  state.line = startLine || state.line;
24854
25037
  state.lineStart = startLineStart || state.lineStart;
@@ -24862,14 +25045,16 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
24862
25045
  }
24863
25046
  function readLineBreak(state) {
24864
25047
  const ch = state.input.charCodeAt(state.position);
24865
- if (ch === 10)
25048
+ if (ch === 10) {
24866
25049
  state.position++;
24867
- else if (ch === 13) {
25050
+ } else if (ch === 13) {
24868
25051
  state.position++;
24869
- if (state.input.charCodeAt(state.position) === 10)
25052
+ if (state.input.charCodeAt(state.position) === 10) {
24870
25053
  state.position++;
24871
- } else
25054
+ }
25055
+ } else {
24872
25056
  throwError(state, "a line break is expected");
25057
+ }
24873
25058
  state.line += 1;
24874
25059
  state.lineStart = state.position;
24875
25060
  state.firstTabInLine = -1;
@@ -24879,14 +25064,16 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
24879
25064
  let ch = state.input.charCodeAt(state.position);
24880
25065
  while (ch !== 0) {
24881
25066
  while (isWhiteSpace(ch)) {
24882
- if (ch === 9 && state.firstTabInLine === -1)
25067
+ if (ch === 9 && state.firstTabInLine === -1) {
24883
25068
  state.firstTabInLine = state.position;
25069
+ }
24884
25070
  ch = state.input.charCodeAt(++state.position);
24885
25071
  }
24886
- if (allowComments && ch === 35)
24887
- do
25072
+ if (allowComments && ch === 35) {
25073
+ do {
24888
25074
  ch = state.input.charCodeAt(++state.position);
24889
- while (ch !== 10 && ch !== 13 && ch !== 0);
25075
+ } while (ch !== 10 && ch !== 13 && ch !== 0);
25076
+ }
24890
25077
  if (isEol(ch)) {
24891
25078
  readLineBreak(state);
24892
25079
  ch = state.input.charCodeAt(state.position);
@@ -24896,11 +25083,13 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
24896
25083
  state.lineIndent++;
24897
25084
  ch = state.input.charCodeAt(++state.position);
24898
25085
  }
24899
- } else
25086
+ } else {
24900
25087
  break;
25088
+ }
24901
25089
  }
24902
- if (checkIndent !== -1 && lineBreaks !== 0 && state.lineIndent < checkIndent)
25090
+ if (checkIndent !== -1 && lineBreaks !== 0 && state.lineIndent < checkIndent) {
24903
25091
  throwWarning(state, "deficient indentation");
25092
+ }
24904
25093
  return lineBreaks;
24905
25094
  }
24906
25095
  function testDocumentSeparator(state) {
@@ -24909,17 +25098,19 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
24909
25098
  if ((ch === 45 || ch === 46) && ch === state.input.charCodeAt(_position + 1) && ch === state.input.charCodeAt(_position + 2)) {
24910
25099
  _position += 3;
24911
25100
  ch = state.input.charCodeAt(_position);
24912
- if (ch === 0 || isWsOrEol(ch))
25101
+ if (ch === 0 || isWsOrEol(ch)) {
24913
25102
  return true;
25103
+ }
24914
25104
  }
24915
25105
  return false;
24916
25106
  }
24917
25107
  function writeFoldedLines(state, count) {
24918
- if (count === 1)
25108
+ if (count === 1) {
24919
25109
  state.result += " ";
24920
- else if (count > 1)
24921
- state.result += common.repeat(`
25110
+ } else if (count > 1) {
25111
+ state.result += common2.repeat(`
24922
25112
  `, count - 1);
25113
+ }
24923
25114
  }
24924
25115
  function readPlainScalar(state, nodeIndent, withinFlowCollection) {
24925
25116
  let captureStart;
@@ -24931,12 +25122,14 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
24931
25122
  const _kind = state.kind;
24932
25123
  const _result = state.result;
24933
25124
  let ch = state.input.charCodeAt(state.position);
24934
- if (isWsOrEol(ch) || isFlowIndicator(ch) || ch === 35 || ch === 38 || ch === 42 || ch === 33 || ch === 124 || ch === 62 || ch === 39 || ch === 34 || ch === 37 || ch === 64 || ch === 96)
25125
+ if (isWsOrEol(ch) || isFlowIndicator(ch) || ch === 35 || ch === 38 || ch === 42 || ch === 33 || ch === 124 || ch === 62 || ch === 39 || ch === 34 || ch === 37 || ch === 64 || ch === 96) {
24935
25126
  return false;
25127
+ }
24936
25128
  if (ch === 63 || ch === 45) {
24937
25129
  const following = state.input.charCodeAt(state.position + 1);
24938
- if (isWsOrEol(following) || withinFlowCollection && isFlowIndicator(following))
25130
+ if (isWsOrEol(following) || withinFlowCollection && isFlowIndicator(following)) {
24939
25131
  return false;
25132
+ }
24940
25133
  }
24941
25134
  state.kind = "scalar";
24942
25135
  state.result = "";
@@ -24945,14 +25138,17 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
24945
25138
  while (ch !== 0) {
24946
25139
  if (ch === 58) {
24947
25140
  const following = state.input.charCodeAt(state.position + 1);
24948
- if (isWsOrEol(following) || withinFlowCollection && isFlowIndicator(following))
25141
+ if (isWsOrEol(following) || withinFlowCollection && isFlowIndicator(following)) {
24949
25142
  break;
25143
+ }
24950
25144
  } else if (ch === 35) {
24951
- if (isWsOrEol(state.input.charCodeAt(state.position - 1)))
25145
+ const preceding = state.input.charCodeAt(state.position - 1);
25146
+ if (isWsOrEol(preceding)) {
24952
25147
  break;
24953
- } else if (state.position === state.lineStart && testDocumentSeparator(state) || withinFlowCollection && isFlowIndicator(ch))
25148
+ }
25149
+ } else if (state.position === state.lineStart && testDocumentSeparator(state) || withinFlowCollection && isFlowIndicator(ch)) {
24954
25150
  break;
24955
- else if (isEol(ch)) {
25151
+ } else if (isEol(ch)) {
24956
25152
  _line = state.line;
24957
25153
  _lineStart = state.lineStart;
24958
25154
  _lineIndent = state.lineIndent;
@@ -24975,13 +25171,15 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
24975
25171
  captureStart = captureEnd = state.position;
24976
25172
  hasPendingContent = false;
24977
25173
  }
24978
- if (!isWhiteSpace(ch))
25174
+ if (!isWhiteSpace(ch)) {
24979
25175
  captureEnd = state.position + 1;
25176
+ }
24980
25177
  ch = state.input.charCodeAt(++state.position);
24981
25178
  }
24982
25179
  captureSegment(state, captureStart, captureEnd, false);
24983
- if (state.result)
25180
+ if (state.result) {
24984
25181
  return true;
25182
+ }
24985
25183
  state.kind = _kind;
24986
25184
  state.result = _result;
24987
25185
  return false;
@@ -24990,13 +25188,14 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
24990
25188
  let captureStart;
24991
25189
  let captureEnd;
24992
25190
  let ch = state.input.charCodeAt(state.position);
24993
- if (ch !== 39)
25191
+ if (ch !== 39) {
24994
25192
  return false;
25193
+ }
24995
25194
  state.kind = "scalar";
24996
25195
  state.result = "";
24997
25196
  state.position++;
24998
25197
  captureStart = captureEnd = state.position;
24999
- while ((ch = state.input.charCodeAt(state.position)) !== 0)
25198
+ while ((ch = state.input.charCodeAt(state.position)) !== 0) {
25000
25199
  if (ch === 39) {
25001
25200
  captureSegment(state, captureStart, state.position, true);
25002
25201
  ch = state.input.charCodeAt(++state.position);
@@ -25004,19 +25203,22 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
25004
25203
  captureStart = state.position;
25005
25204
  state.position++;
25006
25205
  captureEnd = state.position;
25007
- } else
25206
+ } else {
25008
25207
  return true;
25208
+ }
25009
25209
  } else if (isEol(ch)) {
25010
25210
  captureSegment(state, captureStart, captureEnd, true);
25011
25211
  writeFoldedLines(state, skipSeparationSpace(state, false, nodeIndent));
25012
25212
  captureStart = captureEnd = state.position;
25013
- } else if (state.position === state.lineStart && testDocumentSeparator(state))
25213
+ } else if (state.position === state.lineStart && testDocumentSeparator(state)) {
25014
25214
  throwError(state, "unexpected end of the document within a single quoted scalar");
25015
- else {
25215
+ } else {
25016
25216
  state.position++;
25017
- if (!isWhiteSpace(ch))
25217
+ if (!isWhiteSpace(ch)) {
25018
25218
  captureEnd = state.position;
25219
+ }
25019
25220
  }
25221
+ }
25020
25222
  throwError(state, "unexpected end of the stream within a single quoted scalar");
25021
25223
  }
25022
25224
  function readDoubleQuotedScalar(state, nodeIndent) {
@@ -25024,13 +25226,14 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
25024
25226
  let captureEnd;
25025
25227
  let tmp;
25026
25228
  let ch = state.input.charCodeAt(state.position);
25027
- if (ch !== 34)
25229
+ if (ch !== 34) {
25028
25230
  return false;
25231
+ }
25029
25232
  state.kind = "scalar";
25030
25233
  state.result = "";
25031
25234
  state.position++;
25032
25235
  captureStart = captureEnd = state.position;
25033
- while ((ch = state.input.charCodeAt(state.position)) !== 0)
25236
+ while ((ch = state.input.charCodeAt(state.position)) !== 0) {
25034
25237
  if (ch === 34) {
25035
25238
  captureSegment(state, captureStart, state.position, true);
25036
25239
  state.position++;
@@ -25038,9 +25241,9 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
25038
25241
  } else if (ch === 92) {
25039
25242
  captureSegment(state, captureStart, state.position, true);
25040
25243
  ch = state.input.charCodeAt(++state.position);
25041
- if (isEol(ch))
25244
+ if (isEol(ch)) {
25042
25245
  skipSeparationSpace(state, false, nodeIndent);
25043
- else if (ch < 256 && simpleEscapeCheck[ch]) {
25246
+ } else if (ch < 256 && simpleEscapeCheck[ch]) {
25044
25247
  state.result += simpleEscapeMap[ch];
25045
25248
  state.position++;
25046
25249
  } else if ((tmp = escapedHexLen(ch)) > 0) {
@@ -25048,27 +25251,31 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
25048
25251
  let hexResult = 0;
25049
25252
  for (;hexLength > 0; hexLength--) {
25050
25253
  ch = state.input.charCodeAt(++state.position);
25051
- if ((tmp = fromHexCode(ch)) >= 0)
25254
+ if ((tmp = fromHexCode(ch)) >= 0) {
25052
25255
  hexResult = (hexResult << 4) + tmp;
25053
- else
25256
+ } else {
25054
25257
  throwError(state, "expected hexadecimal character");
25258
+ }
25055
25259
  }
25056
25260
  state.result += charFromCodepoint(hexResult);
25057
25261
  state.position++;
25058
- } else
25262
+ } else {
25059
25263
  throwError(state, "unknown escape sequence");
25264
+ }
25060
25265
  captureStart = captureEnd = state.position;
25061
25266
  } else if (isEol(ch)) {
25062
25267
  captureSegment(state, captureStart, captureEnd, true);
25063
25268
  writeFoldedLines(state, skipSeparationSpace(state, false, nodeIndent));
25064
25269
  captureStart = captureEnd = state.position;
25065
- } else if (state.position === state.lineStart && testDocumentSeparator(state))
25270
+ } else if (state.position === state.lineStart && testDocumentSeparator(state)) {
25066
25271
  throwError(state, "unexpected end of the document within a double quoted scalar");
25067
- else {
25272
+ } else {
25068
25273
  state.position++;
25069
- if (!isWhiteSpace(ch))
25274
+ if (!isWhiteSpace(ch)) {
25070
25275
  captureEnd = state.position;
25276
+ }
25071
25277
  }
25278
+ }
25072
25279
  throwError(state, "unexpected end of the stream within a double quoted scalar");
25073
25280
  }
25074
25281
  function readFlowCollection(state, nodeIndent) {
@@ -25083,7 +25290,7 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
25083
25290
  let isPair;
25084
25291
  let isExplicitPair;
25085
25292
  let isMapping;
25086
- const overridableKeys = Object.create(null);
25293
+ const overridableKeys = /* @__PURE__ */ Object.create(null);
25087
25294
  let keyNode;
25088
25295
  let keyTag;
25089
25296
  let valueNode;
@@ -25096,10 +25303,12 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
25096
25303
  terminator = 125;
25097
25304
  isMapping = true;
25098
25305
  _result = {};
25099
- } else
25306
+ } else {
25100
25307
  return false;
25101
- if (state.anchor !== null)
25308
+ }
25309
+ if (state.anchor !== null) {
25102
25310
  storeAnchor(state, state.anchor, _result);
25311
+ }
25103
25312
  ch = state.input.charCodeAt(++state.position);
25104
25313
  while (ch !== 0) {
25105
25314
  skipSeparationSpace(state, true, nodeIndent);
@@ -25111,14 +25320,16 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
25111
25320
  state.kind = isMapping ? "mapping" : "sequence";
25112
25321
  state.result = _result;
25113
25322
  return true;
25114
- } else if (!readNext)
25323
+ } else if (!readNext) {
25115
25324
  throwError(state, "missed comma between flow collection entries");
25116
- else if (ch === 44)
25325
+ } else if (ch === 44) {
25117
25326
  throwError(state, "expected the node content, but found ','");
25327
+ }
25118
25328
  keyTag = keyNode = valueNode = null;
25119
25329
  isPair = isExplicitPair = false;
25120
25330
  if (ch === 63) {
25121
- if (isWsOrEol(state.input.charCodeAt(state.position + 1))) {
25331
+ const following = state.input.charCodeAt(state.position + 1);
25332
+ if (isWsOrEol(following)) {
25122
25333
  isPair = isExplicitPair = true;
25123
25334
  state.position++;
25124
25335
  skipSeparationSpace(state, true, nodeIndent);
@@ -25139,19 +25350,21 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
25139
25350
  composeNode(state, nodeIndent, CONTEXT_FLOW_IN, false, true);
25140
25351
  valueNode = state.result;
25141
25352
  }
25142
- if (isMapping)
25353
+ if (isMapping) {
25143
25354
  storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valueNode, _line, _lineStart, _pos);
25144
- else if (isPair)
25355
+ } else if (isPair) {
25145
25356
  _result.push(storeMappingPair(state, null, overridableKeys, keyTag, keyNode, valueNode, _line, _lineStart, _pos));
25146
- else
25357
+ } else {
25147
25358
  _result.push(keyNode);
25359
+ }
25148
25360
  skipSeparationSpace(state, true, nodeIndent);
25149
25361
  ch = state.input.charCodeAt(state.position);
25150
25362
  if (ch === 44) {
25151
25363
  readNext = true;
25152
25364
  ch = state.input.charCodeAt(++state.position);
25153
- } else
25365
+ } else {
25154
25366
  readNext = false;
25367
+ }
25155
25368
  }
25156
25369
  throwError(state, "unexpected end of the stream within a flow collection");
25157
25370
  }
@@ -25165,40 +25378,45 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
25165
25378
  let atMoreIndented = false;
25166
25379
  let tmp;
25167
25380
  let ch = state.input.charCodeAt(state.position);
25168
- if (ch === 124)
25381
+ if (ch === 124) {
25169
25382
  folding = false;
25170
- else if (ch === 62)
25383
+ } else if (ch === 62) {
25171
25384
  folding = true;
25172
- else
25385
+ } else {
25173
25386
  return false;
25387
+ }
25174
25388
  state.kind = "scalar";
25175
25389
  state.result = "";
25176
25390
  while (ch !== 0) {
25177
25391
  ch = state.input.charCodeAt(++state.position);
25178
- if (ch === 43 || ch === 45)
25179
- if (CHOMPING_CLIP === chomping)
25392
+ if (ch === 43 || ch === 45) {
25393
+ if (CHOMPING_CLIP === chomping) {
25180
25394
  chomping = ch === 43 ? CHOMPING_KEEP : CHOMPING_STRIP;
25181
- else
25395
+ } else {
25182
25396
  throwError(state, "repeat of a chomping mode identifier");
25183
- else if ((tmp = fromDecimalCode(ch)) >= 0)
25184
- if (tmp === 0)
25397
+ }
25398
+ } else if ((tmp = fromDecimalCode(ch)) >= 0) {
25399
+ if (tmp === 0) {
25185
25400
  throwError(state, "bad explicit indentation width of a block scalar; it cannot be less than one");
25186
- else if (!detectedIndent) {
25401
+ } else if (!detectedIndent) {
25187
25402
  textIndent = nodeIndent + tmp - 1;
25188
25403
  detectedIndent = true;
25189
- } else
25404
+ } else {
25190
25405
  throwError(state, "repeat of an indentation width identifier");
25191
- else
25406
+ }
25407
+ } else {
25192
25408
  break;
25409
+ }
25193
25410
  }
25194
25411
  if (isWhiteSpace(ch)) {
25195
- do
25412
+ do {
25196
25413
  ch = state.input.charCodeAt(++state.position);
25197
- while (isWhiteSpace(ch));
25198
- if (ch === 35)
25199
- do
25414
+ } while (isWhiteSpace(ch));
25415
+ if (ch === 35) {
25416
+ do {
25200
25417
  ch = state.input.charCodeAt(++state.position);
25201
- while (!isEol(ch) && ch !== 0);
25418
+ } while (!isEol(ch) && ch !== 0);
25419
+ }
25202
25420
  }
25203
25421
  while (ch !== 0) {
25204
25422
  readLineBreak(state);
@@ -25208,49 +25426,56 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
25208
25426
  state.lineIndent++;
25209
25427
  ch = state.input.charCodeAt(++state.position);
25210
25428
  }
25211
- if (!detectedIndent && state.lineIndent > textIndent)
25429
+ if (!detectedIndent && state.lineIndent > textIndent) {
25212
25430
  textIndent = state.lineIndent;
25431
+ }
25213
25432
  if (isEol(ch)) {
25214
25433
  emptyLines++;
25215
25434
  continue;
25216
25435
  }
25217
- if (!detectedIndent && textIndent === 0)
25436
+ if (!detectedIndent && textIndent === 0) {
25218
25437
  throwError(state, "missing indentation for block scalar");
25438
+ }
25219
25439
  if (state.lineIndent < textIndent) {
25220
- if (chomping === CHOMPING_KEEP)
25221
- state.result += common.repeat(`
25440
+ if (chomping === CHOMPING_KEEP) {
25441
+ state.result += common2.repeat(`
25222
25442
  `, didReadContent ? 1 + emptyLines : emptyLines);
25223
- else if (chomping === CHOMPING_CLIP) {
25224
- if (didReadContent)
25443
+ } else if (chomping === CHOMPING_CLIP) {
25444
+ if (didReadContent) {
25225
25445
  state.result += `
25226
25446
  `;
25447
+ }
25227
25448
  }
25228
25449
  break;
25229
25450
  }
25230
- if (folding)
25451
+ if (folding) {
25231
25452
  if (isWhiteSpace(ch)) {
25232
25453
  atMoreIndented = true;
25233
- state.result += common.repeat(`
25454
+ state.result += common2.repeat(`
25234
25455
  `, didReadContent ? 1 + emptyLines : emptyLines);
25235
25456
  } else if (atMoreIndented) {
25236
25457
  atMoreIndented = false;
25237
- state.result += common.repeat(`
25458
+ state.result += common2.repeat(`
25238
25459
  `, emptyLines + 1);
25239
25460
  } else if (emptyLines === 0) {
25240
- if (didReadContent)
25461
+ if (didReadContent) {
25241
25462
  state.result += " ";
25242
- } else
25243
- state.result += common.repeat(`
25463
+ }
25464
+ } else {
25465
+ state.result += common2.repeat(`
25244
25466
  `, emptyLines);
25245
- else
25246
- state.result += common.repeat(`
25467
+ }
25468
+ } else {
25469
+ state.result += common2.repeat(`
25247
25470
  `, didReadContent ? 1 + emptyLines : emptyLines);
25471
+ }
25248
25472
  didReadContent = true;
25249
25473
  detectedIndent = true;
25250
25474
  emptyLines = 0;
25251
25475
  const captureStart = state.position;
25252
- while (!isEol(ch) && ch !== 0)
25476
+ while (!isEol(ch) && ch !== 0) {
25253
25477
  ch = state.input.charCodeAt(++state.position);
25478
+ }
25254
25479
  captureSegment(state, captureStart, state.position, false);
25255
25480
  }
25256
25481
  return true;
@@ -25262,18 +25487,22 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
25262
25487
  let detected = false;
25263
25488
  if (state.firstTabInLine !== -1)
25264
25489
  return false;
25265
- if (state.anchor !== null)
25490
+ if (state.anchor !== null) {
25266
25491
  storeAnchor(state, state.anchor, _result);
25492
+ }
25267
25493
  let ch = state.input.charCodeAt(state.position);
25268
25494
  while (ch !== 0) {
25269
25495
  if (state.firstTabInLine !== -1) {
25270
25496
  state.position = state.firstTabInLine;
25271
25497
  throwError(state, "tab characters must not be used in indentation");
25272
25498
  }
25273
- if (ch !== 45)
25499
+ if (ch !== 45) {
25274
25500
  break;
25275
- if (!isWsOrEol(state.input.charCodeAt(state.position + 1)))
25501
+ }
25502
+ const following = state.input.charCodeAt(state.position + 1);
25503
+ if (!isWsOrEol(following)) {
25276
25504
  break;
25505
+ }
25277
25506
  detected = true;
25278
25507
  state.position++;
25279
25508
  if (skipSeparationSpace(state, true, -1)) {
@@ -25288,10 +25517,11 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
25288
25517
  _result.push(state.result);
25289
25518
  skipSeparationSpace(state, true, -1);
25290
25519
  ch = state.input.charCodeAt(state.position);
25291
- if ((state.line === _line || state.lineIndent > nodeIndent) && ch !== 0)
25520
+ if ((state.line === _line || state.lineIndent > nodeIndent) && ch !== 0) {
25292
25521
  throwError(state, "bad indentation of a sequence entry");
25293
- else if (state.lineIndent < nodeIndent)
25522
+ } else if (state.lineIndent < nodeIndent) {
25294
25523
  break;
25524
+ }
25295
25525
  }
25296
25526
  if (detected) {
25297
25527
  state.tag = _tag;
@@ -25310,7 +25540,7 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
25310
25540
  const _tag = state.tag;
25311
25541
  const _anchor = state.anchor;
25312
25542
  const _result = {};
25313
- const overridableKeys = Object.create(null);
25543
+ const overridableKeys = /* @__PURE__ */ Object.create(null);
25314
25544
  let keyTag = null;
25315
25545
  let keyNode = null;
25316
25546
  let valueNode = null;
@@ -25318,8 +25548,9 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
25318
25548
  let detected = false;
25319
25549
  if (state.firstTabInLine !== -1)
25320
25550
  return false;
25321
- if (state.anchor !== null)
25551
+ if (state.anchor !== null) {
25322
25552
  storeAnchor(state, state.anchor, _result);
25553
+ }
25323
25554
  let ch = state.input.charCodeAt(state.position);
25324
25555
  while (ch !== 0) {
25325
25556
  if (!atExplicitKey && state.firstTabInLine !== -1) {
@@ -25340,24 +25571,28 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
25340
25571
  } else if (atExplicitKey) {
25341
25572
  atExplicitKey = false;
25342
25573
  allowCompact = true;
25343
- } else
25574
+ } else {
25344
25575
  throwError(state, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line");
25576
+ }
25345
25577
  state.position += 1;
25346
25578
  ch = following;
25347
25579
  } else {
25348
25580
  _keyLine = state.line;
25349
25581
  _keyLineStart = state.lineStart;
25350
25582
  _keyPos = state.position;
25351
- if (!composeNode(state, flowIndent, CONTEXT_FLOW_OUT, false, true))
25583
+ if (!composeNode(state, flowIndent, CONTEXT_FLOW_OUT, false, true)) {
25352
25584
  break;
25585
+ }
25353
25586
  if (state.line === _line) {
25354
25587
  ch = state.input.charCodeAt(state.position);
25355
- while (isWhiteSpace(ch))
25588
+ while (isWhiteSpace(ch)) {
25356
25589
  ch = state.input.charCodeAt(++state.position);
25590
+ }
25357
25591
  if (ch === 58) {
25358
25592
  ch = state.input.charCodeAt(++state.position);
25359
- if (!isWsOrEol(ch))
25593
+ if (!isWsOrEol(ch)) {
25360
25594
  throwError(state, "a whitespace character is expected after the key-value separator within a block mapping");
25595
+ }
25361
25596
  if (atExplicitKey) {
25362
25597
  storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, null, _keyLine, _keyLineStart, _keyPos);
25363
25598
  keyTag = keyNode = valueNode = null;
@@ -25367,16 +25602,16 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
25367
25602
  allowCompact = false;
25368
25603
  keyTag = state.tag;
25369
25604
  keyNode = state.result;
25370
- } else if (detected)
25605
+ } else if (detected) {
25371
25606
  throwError(state, "can not read an implicit mapping pair; a colon is missed");
25372
- else {
25607
+ } else {
25373
25608
  state.tag = _tag;
25374
25609
  state.anchor = _anchor;
25375
25610
  return true;
25376
25611
  }
25377
- } else if (detected)
25612
+ } else if (detected) {
25378
25613
  throwError(state, "can not read a block mapping entry; a multiline key may not be an implicit key");
25379
- else {
25614
+ } else {
25380
25615
  state.tag = _tag;
25381
25616
  state.anchor = _anchor;
25382
25617
  return true;
@@ -25388,11 +25623,13 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
25388
25623
  _keyLineStart = state.lineStart;
25389
25624
  _keyPos = state.position;
25390
25625
  }
25391
- if (composeNode(state, nodeIndent, CONTEXT_BLOCK_OUT, true, allowCompact))
25392
- if (atExplicitKey)
25626
+ if (composeNode(state, nodeIndent, CONTEXT_BLOCK_OUT, true, allowCompact)) {
25627
+ if (atExplicitKey) {
25393
25628
  keyNode = state.result;
25394
- else
25629
+ } else {
25395
25630
  valueNode = state.result;
25631
+ }
25632
+ }
25396
25633
  if (!atExplicitKey) {
25397
25634
  storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valueNode, _keyLine, _keyLineStart, _keyPos);
25398
25635
  keyTag = keyNode = valueNode = null;
@@ -25400,13 +25637,15 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
25400
25637
  skipSeparationSpace(state, true, -1);
25401
25638
  ch = state.input.charCodeAt(state.position);
25402
25639
  }
25403
- if ((state.line === _line || state.lineIndent > nodeIndent) && ch !== 0)
25640
+ if ((state.line === _line || state.lineIndent > nodeIndent) && ch !== 0) {
25404
25641
  throwError(state, "bad indentation of a mapping entry");
25405
- else if (state.lineIndent < nodeIndent)
25642
+ } else if (state.lineIndent < nodeIndent) {
25406
25643
  break;
25644
+ }
25407
25645
  }
25408
- if (atExplicitKey)
25646
+ if (atExplicitKey) {
25409
25647
  storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, null, _keyLine, _keyLineStart, _keyPos);
25648
+ }
25410
25649
  if (detected) {
25411
25650
  state.tag = _tag;
25412
25651
  state.anchor = _anchor;
@@ -25423,8 +25662,9 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
25423
25662
  let ch = state.input.charCodeAt(state.position);
25424
25663
  if (ch !== 33)
25425
25664
  return false;
25426
- if (state.tag !== null)
25665
+ if (state.tag !== null) {
25427
25666
  throwError(state, "duplication of a tag property");
25667
+ }
25428
25668
  ch = state.input.charCodeAt(++state.position);
25429
25669
  if (ch === 60) {
25430
25670
  isVerbatim = true;
@@ -25433,66 +25673,77 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
25433
25673
  isNamed = true;
25434
25674
  tagHandle = "!!";
25435
25675
  ch = state.input.charCodeAt(++state.position);
25436
- } else
25676
+ } else {
25437
25677
  tagHandle = "!";
25678
+ }
25438
25679
  let _position = state.position;
25439
25680
  if (isVerbatim) {
25440
- do
25681
+ do {
25441
25682
  ch = state.input.charCodeAt(++state.position);
25442
- while (ch !== 0 && ch !== 62);
25683
+ } while (ch !== 0 && ch !== 62);
25443
25684
  if (state.position < state.length) {
25444
25685
  tagName = state.input.slice(_position, state.position);
25445
25686
  ch = state.input.charCodeAt(++state.position);
25446
- } else
25687
+ } else {
25447
25688
  throwError(state, "unexpected end of the stream within a verbatim tag");
25689
+ }
25448
25690
  } else {
25449
25691
  while (ch !== 0 && !isWsOrEol(ch)) {
25450
- if (ch === 33)
25692
+ if (ch === 33) {
25451
25693
  if (!isNamed) {
25452
25694
  tagHandle = state.input.slice(_position - 1, state.position + 1);
25453
- if (!PATTERN_TAG_HANDLE.test(tagHandle))
25695
+ if (!PATTERN_TAG_HANDLE.test(tagHandle)) {
25454
25696
  throwError(state, "named tag handle cannot contain such characters");
25697
+ }
25455
25698
  isNamed = true;
25456
25699
  _position = state.position + 1;
25457
- } else
25700
+ } else {
25458
25701
  throwError(state, "tag suffix cannot contain exclamation marks");
25702
+ }
25703
+ }
25459
25704
  ch = state.input.charCodeAt(++state.position);
25460
25705
  }
25461
25706
  tagName = state.input.slice(_position, state.position);
25462
- if (PATTERN_FLOW_INDICATORS.test(tagName))
25707
+ if (PATTERN_FLOW_INDICATORS.test(tagName)) {
25463
25708
  throwError(state, "tag suffix cannot contain flow indicator characters");
25709
+ }
25464
25710
  }
25465
- if (tagName && !PATTERN_TAG_URI.test(tagName))
25711
+ if (tagName && !PATTERN_TAG_URI.test(tagName)) {
25466
25712
  throwError(state, "tag name cannot contain such characters: " + tagName);
25713
+ }
25467
25714
  try {
25468
25715
  tagName = decodeURIComponent(tagName);
25469
25716
  } catch (err) {
25470
25717
  throwError(state, "tag name is malformed: " + tagName);
25471
25718
  }
25472
- if (isVerbatim)
25719
+ if (isVerbatim) {
25473
25720
  state.tag = tagName;
25474
- else if (_hasOwnProperty.call(state.tagMap, tagHandle))
25721
+ } else if (_hasOwnProperty.call(state.tagMap, tagHandle)) {
25475
25722
  state.tag = state.tagMap[tagHandle] + tagName;
25476
- else if (tagHandle === "!")
25723
+ } else if (tagHandle === "!") {
25477
25724
  state.tag = "!" + tagName;
25478
- else if (tagHandle === "!!")
25725
+ } else if (tagHandle === "!!") {
25479
25726
  state.tag = "tag:yaml.org,2002:" + tagName;
25480
- else
25727
+ } else {
25481
25728
  throwError(state, 'undeclared tag handle "' + tagHandle + '"');
25729
+ }
25482
25730
  return true;
25483
25731
  }
25484
25732
  function readAnchorProperty(state) {
25485
25733
  let ch = state.input.charCodeAt(state.position);
25486
25734
  if (ch !== 38)
25487
25735
  return false;
25488
- if (state.anchor !== null)
25736
+ if (state.anchor !== null) {
25489
25737
  throwError(state, "duplication of an anchor property");
25738
+ }
25490
25739
  ch = state.input.charCodeAt(++state.position);
25491
25740
  const _position = state.position;
25492
- while (ch !== 0 && !isWsOrEol(ch) && !isFlowIndicator(ch))
25741
+ while (ch !== 0 && !isWsOrEol(ch) && !isFlowIndicator(ch)) {
25493
25742
  ch = state.input.charCodeAt(++state.position);
25494
- if (state.position === _position)
25743
+ }
25744
+ if (state.position === _position) {
25495
25745
  throwError(state, "name of an anchor node must contain at least one character");
25746
+ }
25496
25747
  state.anchor = state.input.slice(_position, state.position);
25497
25748
  return true;
25498
25749
  }
@@ -25502,13 +25753,16 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
25502
25753
  return false;
25503
25754
  ch = state.input.charCodeAt(++state.position);
25504
25755
  const _position = state.position;
25505
- while (ch !== 0 && !isWsOrEol(ch) && !isFlowIndicator(ch))
25756
+ while (ch !== 0 && !isWsOrEol(ch) && !isFlowIndicator(ch)) {
25506
25757
  ch = state.input.charCodeAt(++state.position);
25507
- if (state.position === _position)
25758
+ }
25759
+ if (state.position === _position) {
25508
25760
  throwError(state, "name of an alias node must contain at least one character");
25761
+ }
25509
25762
  const alias = state.input.slice(_position, state.position);
25510
- if (!_hasOwnProperty.call(state.anchorMap, alias))
25763
+ if (!_hasOwnProperty.call(state.anchorMap, alias)) {
25511
25764
  throwError(state, 'unidentified alias "' + alias + '"');
25765
+ }
25512
25766
  state.result = state.anchorMap[alias];
25513
25767
  skipSeparationSpace(state, true, -1);
25514
25768
  return true;
@@ -25536,14 +25790,16 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
25536
25790
  let atNewLine = false;
25537
25791
  let hasContent = false;
25538
25792
  let propertyStart = null;
25539
- let type;
25793
+ let type2;
25540
25794
  let flowIndent;
25541
25795
  let blockIndent;
25542
- if (state.depth >= state.maxDepth)
25796
+ if (state.depth >= state.maxDepth) {
25543
25797
  throwError(state, "nesting exceeded maxDepth (" + state.maxDepth + ")");
25798
+ }
25544
25799
  state.depth += 1;
25545
- if (state.listener !== null)
25800
+ if (state.listener !== null) {
25546
25801
  state.listener("open", state);
25802
+ }
25547
25803
  state.tag = null;
25548
25804
  state.anchor = null;
25549
25805
  state.kind = null;
@@ -25552,110 +25808,131 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
25552
25808
  if (allowToSeek) {
25553
25809
  if (skipSeparationSpace(state, true, -1)) {
25554
25810
  atNewLine = true;
25555
- if (state.lineIndent > parentIndent)
25811
+ if (state.lineIndent > parentIndent) {
25556
25812
  indentStatus = 1;
25557
- else if (state.lineIndent === parentIndent)
25813
+ } else if (state.lineIndent === parentIndent) {
25558
25814
  indentStatus = 0;
25559
- else if (state.lineIndent < parentIndent)
25815
+ } else if (state.lineIndent < parentIndent) {
25560
25816
  indentStatus = -1;
25817
+ }
25561
25818
  }
25562
25819
  }
25563
- if (indentStatus === 1)
25820
+ if (indentStatus === 1) {
25564
25821
  while (true) {
25565
25822
  const ch = state.input.charCodeAt(state.position);
25566
25823
  const propertyState = snapshotState(state);
25567
- if (atNewLine && (ch === 33 && state.tag !== null || ch === 38 && state.anchor !== null))
25824
+ if (atNewLine && (ch === 33 && state.tag !== null || ch === 38 && state.anchor !== null)) {
25568
25825
  break;
25569
- if (!readTagProperty(state) && !readAnchorProperty(state))
25826
+ }
25827
+ if (!readTagProperty(state) && !readAnchorProperty(state)) {
25570
25828
  break;
25571
- if (propertyStart === null)
25829
+ }
25830
+ if (propertyStart === null) {
25572
25831
  propertyStart = propertyState;
25832
+ }
25573
25833
  if (skipSeparationSpace(state, true, -1)) {
25574
25834
  atNewLine = true;
25575
25835
  allowBlockCollections = allowBlockStyles;
25576
- if (state.lineIndent > parentIndent)
25836
+ if (state.lineIndent > parentIndent) {
25577
25837
  indentStatus = 1;
25578
- else if (state.lineIndent === parentIndent)
25838
+ } else if (state.lineIndent === parentIndent) {
25579
25839
  indentStatus = 0;
25580
- else if (state.lineIndent < parentIndent)
25840
+ } else if (state.lineIndent < parentIndent) {
25581
25841
  indentStatus = -1;
25582
- } else
25842
+ }
25843
+ } else {
25583
25844
  allowBlockCollections = false;
25845
+ }
25584
25846
  }
25585
- if (allowBlockCollections)
25847
+ }
25848
+ if (allowBlockCollections) {
25586
25849
  allowBlockCollections = atNewLine || allowCompact;
25850
+ }
25587
25851
  if (indentStatus === 1 || CONTEXT_BLOCK_OUT === nodeContext) {
25588
- if (CONTEXT_FLOW_IN === nodeContext || CONTEXT_FLOW_OUT === nodeContext)
25852
+ if (CONTEXT_FLOW_IN === nodeContext || CONTEXT_FLOW_OUT === nodeContext) {
25589
25853
  flowIndent = parentIndent;
25590
- else
25854
+ } else {
25591
25855
  flowIndent = parentIndent + 1;
25856
+ }
25592
25857
  blockIndent = state.position - state.lineStart;
25593
- if (indentStatus === 1)
25594
- if (allowBlockCollections && (readBlockSequence(state, blockIndent) || readBlockMapping(state, blockIndent, flowIndent)) || readFlowCollection(state, flowIndent))
25858
+ if (indentStatus === 1) {
25859
+ if (allowBlockCollections && (readBlockSequence(state, blockIndent) || readBlockMapping(state, blockIndent, flowIndent)) || readFlowCollection(state, flowIndent)) {
25595
25860
  hasContent = true;
25596
- else {
25861
+ } else {
25597
25862
  const ch = state.input.charCodeAt(state.position);
25598
- if (propertyStart !== null && allowBlockStyles && !allowBlockCollections && ch !== 124 && ch !== 62 && tryReadBlockMappingFromProperty(state, propertyStart, propertyStart.position - propertyStart.lineStart, flowIndent))
25863
+ if (propertyStart !== null && allowBlockStyles && !allowBlockCollections && ch !== 124 && ch !== 62 && tryReadBlockMappingFromProperty(state, propertyStart, propertyStart.position - propertyStart.lineStart, flowIndent)) {
25599
25864
  hasContent = true;
25600
- else if (allowBlockScalars && readBlockScalar(state, flowIndent) || readSingleQuotedScalar(state, flowIndent) || readDoubleQuotedScalar(state, flowIndent))
25865
+ } else if (allowBlockScalars && readBlockScalar(state, flowIndent) || readSingleQuotedScalar(state, flowIndent) || readDoubleQuotedScalar(state, flowIndent)) {
25601
25866
  hasContent = true;
25602
- else if (readAlias(state)) {
25867
+ } else if (readAlias(state)) {
25603
25868
  hasContent = true;
25604
- if (state.tag !== null || state.anchor !== null)
25869
+ if (state.tag !== null || state.anchor !== null) {
25605
25870
  throwError(state, "alias node should not have any properties");
25871
+ }
25606
25872
  } else if (readPlainScalar(state, flowIndent, CONTEXT_FLOW_IN === nodeContext)) {
25607
25873
  hasContent = true;
25608
- if (state.tag === null)
25874
+ if (state.tag === null) {
25609
25875
  state.tag = "?";
25876
+ }
25610
25877
  }
25611
- if (state.anchor !== null)
25878
+ if (state.anchor !== null) {
25612
25879
  storeAnchor(state, state.anchor, state.result);
25880
+ }
25613
25881
  }
25614
- else if (indentStatus === 0)
25882
+ } else if (indentStatus === 0) {
25615
25883
  hasContent = allowBlockCollections && readBlockSequence(state, blockIndent);
25884
+ }
25616
25885
  }
25617
25886
  if (state.tag === null) {
25618
- if (state.anchor !== null)
25887
+ if (state.anchor !== null) {
25619
25888
  storeAnchor(state, state.anchor, state.result);
25889
+ }
25620
25890
  } else if (state.tag === "?") {
25621
- if (state.result !== null && state.kind !== "scalar")
25891
+ if (state.result !== null && state.kind !== "scalar") {
25622
25892
  throwError(state, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + state.kind + '"');
25893
+ }
25623
25894
  for (let typeIndex = 0, typeQuantity = state.implicitTypes.length;typeIndex < typeQuantity; typeIndex += 1) {
25624
- type = state.implicitTypes[typeIndex];
25625
- if (type.resolve(state.result)) {
25626
- state.result = type.construct(state.result);
25627
- state.tag = type.tag;
25628
- if (state.anchor !== null)
25895
+ type2 = state.implicitTypes[typeIndex];
25896
+ if (type2.resolve(state.result)) {
25897
+ state.result = type2.construct(state.result);
25898
+ state.tag = type2.tag;
25899
+ if (state.anchor !== null) {
25629
25900
  storeAnchor(state, state.anchor, state.result);
25901
+ }
25630
25902
  break;
25631
25903
  }
25632
25904
  }
25633
25905
  } else if (state.tag !== "!") {
25634
- if (_hasOwnProperty.call(state.typeMap[state.kind || "fallback"], state.tag))
25635
- type = state.typeMap[state.kind || "fallback"][state.tag];
25636
- else {
25637
- type = null;
25906
+ if (_hasOwnProperty.call(state.typeMap[state.kind || "fallback"], state.tag)) {
25907
+ type2 = state.typeMap[state.kind || "fallback"][state.tag];
25908
+ } else {
25909
+ type2 = null;
25638
25910
  const typeList = state.typeMap.multi[state.kind || "fallback"];
25639
- for (let typeIndex = 0, typeQuantity = typeList.length;typeIndex < typeQuantity; typeIndex += 1)
25911
+ for (let typeIndex = 0, typeQuantity = typeList.length;typeIndex < typeQuantity; typeIndex += 1) {
25640
25912
  if (state.tag.slice(0, typeList[typeIndex].tag.length) === typeList[typeIndex].tag) {
25641
- type = typeList[typeIndex];
25913
+ type2 = typeList[typeIndex];
25642
25914
  break;
25643
25915
  }
25916
+ }
25644
25917
  }
25645
- if (!type)
25918
+ if (!type2) {
25646
25919
  throwError(state, "unknown tag !<" + state.tag + ">");
25647
- if (state.result !== null && type.kind !== state.kind)
25648
- throwError(state, "unacceptable node kind for !<" + state.tag + '> tag; it should be "' + type.kind + '", not "' + state.kind + '"');
25649
- if (!type.resolve(state.result, state.tag))
25920
+ }
25921
+ if (state.result !== null && type2.kind !== state.kind) {
25922
+ throwError(state, "unacceptable node kind for !<" + state.tag + '> tag; it should be "' + type2.kind + '", not "' + state.kind + '"');
25923
+ }
25924
+ if (!type2.resolve(state.result, state.tag)) {
25650
25925
  throwError(state, "cannot resolve a node with !<" + state.tag + "> explicit tag");
25651
- else {
25652
- state.result = type.construct(state.result, state.tag);
25653
- if (state.anchor !== null)
25926
+ } else {
25927
+ state.result = type2.construct(state.result, state.tag);
25928
+ if (state.anchor !== null) {
25654
25929
  storeAnchor(state, state.anchor, state.result);
25930
+ }
25655
25931
  }
25656
25932
  }
25657
- if (state.listener !== null)
25933
+ if (state.listener !== null) {
25658
25934
  state.listener("close", state);
25935
+ }
25659
25936
  state.depth -= 1;
25660
25937
  return state.tag !== null || state.anchor !== null || hasContent;
25661
25938
  }
@@ -25665,55 +25942,63 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
25665
25942
  let ch;
25666
25943
  state.version = null;
25667
25944
  state.checkLineBreaks = state.legacy;
25668
- state.tagMap = Object.create(null);
25669
- state.anchorMap = Object.create(null);
25945
+ state.tagMap = /* @__PURE__ */ Object.create(null);
25946
+ state.anchorMap = /* @__PURE__ */ Object.create(null);
25670
25947
  while ((ch = state.input.charCodeAt(state.position)) !== 0) {
25671
25948
  skipSeparationSpace(state, true, -1);
25672
25949
  ch = state.input.charCodeAt(state.position);
25673
- if (state.lineIndent > 0 || ch !== 37)
25950
+ if (state.lineIndent > 0 || ch !== 37) {
25674
25951
  break;
25952
+ }
25675
25953
  hasDirectives = true;
25676
25954
  ch = state.input.charCodeAt(++state.position);
25677
25955
  let _position = state.position;
25678
- while (ch !== 0 && !isWsOrEol(ch))
25956
+ while (ch !== 0 && !isWsOrEol(ch)) {
25679
25957
  ch = state.input.charCodeAt(++state.position);
25958
+ }
25680
25959
  const directiveName = state.input.slice(_position, state.position);
25681
25960
  const directiveArgs = [];
25682
- if (directiveName.length < 1)
25961
+ if (directiveName.length < 1) {
25683
25962
  throwError(state, "directive name must not be less than one character in length");
25963
+ }
25684
25964
  while (ch !== 0) {
25685
- while (isWhiteSpace(ch))
25965
+ while (isWhiteSpace(ch)) {
25686
25966
  ch = state.input.charCodeAt(++state.position);
25967
+ }
25687
25968
  if (ch === 35) {
25688
- do
25969
+ do {
25689
25970
  ch = state.input.charCodeAt(++state.position);
25690
- while (ch !== 0 && !isEol(ch));
25971
+ } while (ch !== 0 && !isEol(ch));
25691
25972
  break;
25692
25973
  }
25693
25974
  if (isEol(ch))
25694
25975
  break;
25695
25976
  _position = state.position;
25696
- while (ch !== 0 && !isWsOrEol(ch))
25977
+ while (ch !== 0 && !isWsOrEol(ch)) {
25697
25978
  ch = state.input.charCodeAt(++state.position);
25979
+ }
25698
25980
  directiveArgs.push(state.input.slice(_position, state.position));
25699
25981
  }
25700
25982
  if (ch !== 0)
25701
25983
  readLineBreak(state);
25702
- if (_hasOwnProperty.call(directiveHandlers, directiveName))
25984
+ if (_hasOwnProperty.call(directiveHandlers, directiveName)) {
25703
25985
  directiveHandlers[directiveName](state, directiveName, directiveArgs);
25704
- else
25986
+ } else {
25705
25987
  throwWarning(state, 'unknown document directive "' + directiveName + '"');
25988
+ }
25706
25989
  }
25707
25990
  skipSeparationSpace(state, true, -1);
25708
25991
  if (state.lineIndent === 0 && state.input.charCodeAt(state.position) === 45 && state.input.charCodeAt(state.position + 1) === 45 && state.input.charCodeAt(state.position + 2) === 45) {
25709
25992
  state.position += 3;
25710
25993
  skipSeparationSpace(state, true, -1);
25711
- } else if (hasDirectives)
25994
+ } else if (hasDirectives) {
25712
25995
  throwError(state, "directives end mark is expected");
25996
+ }
25713
25997
  composeNode(state, state.lineIndent - 1, CONTEXT_BLOCK_OUT, false, true);
25714
25998
  skipSeparationSpace(state, true, -1);
25715
- if (state.checkLineBreaks && PATTERN_NON_ASCII_LINE_BREAKS.test(state.input.slice(documentStart, state.position)))
25999
+ if (state.checkLineBreaks && PATTERN_NON_ASCII_LINE_BREAKS.test(state.input.slice(documentStart, state.position))) {
25716
26000
  throwWarning(state, "non-ASCII line breaks are interpreted as content");
26001
+ }
25717
26002
  state.documents.push(state.result);
25718
26003
  if (state.position === state.lineStart && testDocumentSeparator(state)) {
25719
26004
  if (state.input.charCodeAt(state.position) === 46) {
@@ -25722,18 +26007,21 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
25722
26007
  }
25723
26008
  return;
25724
26009
  }
25725
- if (state.position < state.length - 1)
26010
+ if (state.position < state.length - 1) {
25726
26011
  throwError(state, "end of the stream or a document separator is expected");
26012
+ }
25727
26013
  }
25728
26014
  function loadDocuments(input, options) {
25729
26015
  input = String(input);
25730
26016
  options = options || {};
25731
26017
  if (input.length !== 0) {
25732
- if (input.charCodeAt(input.length - 1) !== 10 && input.charCodeAt(input.length - 1) !== 13)
26018
+ if (input.charCodeAt(input.length - 1) !== 10 && input.charCodeAt(input.length - 1) !== 13) {
25733
26019
  input += `
25734
26020
  `;
25735
- if (input.charCodeAt(0) === 65279)
26021
+ }
26022
+ if (input.charCodeAt(0) === 65279) {
25736
26023
  input = input.slice(1);
26024
+ }
25737
26025
  }
25738
26026
  const state = new State(input, options);
25739
26027
  const nullpos = input.indexOf("\x00");
@@ -25746,64 +26034,74 @@ var require_loader = /* @__PURE__ */ __commonJSMin((exports, module) => {
25746
26034
  state.lineIndent += 1;
25747
26035
  state.position += 1;
25748
26036
  }
25749
- while (state.position < state.length - 1)
26037
+ while (state.position < state.length - 1) {
25750
26038
  readDocument(state);
26039
+ }
25751
26040
  return state.documents;
25752
26041
  }
25753
- function loadAll(input, iterator, options) {
26042
+ function loadAll2(input, iterator, options) {
25754
26043
  if (iterator !== null && typeof iterator === "object" && typeof options === "undefined") {
25755
26044
  options = iterator;
25756
26045
  iterator = null;
25757
26046
  }
25758
26047
  const documents = loadDocuments(input, options);
25759
- if (typeof iterator !== "function")
26048
+ if (typeof iterator !== "function") {
25760
26049
  return documents;
25761
- for (let index = 0, length = documents.length;index < length; index += 1)
26050
+ }
26051
+ for (let index = 0, length = documents.length;index < length; index += 1) {
25762
26052
  iterator(documents[index]);
26053
+ }
25763
26054
  }
25764
- function load(input, options) {
26055
+ function load2(input, options) {
25765
26056
  const documents = loadDocuments(input, options);
25766
- if (documents.length === 0)
26057
+ if (documents.length === 0) {
25767
26058
  return;
25768
- else if (documents.length === 1)
26059
+ } else if (documents.length === 1) {
25769
26060
  return documents[0];
25770
- throw new YAMLException("expected a single document in the stream, but found more");
25771
- }
25772
- module.exports.loadAll = loadAll;
25773
- module.exports.load = load;
25774
- });
25775
- var require_dumper = /* @__PURE__ */ __commonJSMin((exports, module) => {
25776
- var common = require_common();
25777
- var YAMLException = require_exception();
25778
- var DEFAULT_SCHEMA = require_default();
25779
- var _toString = Object.prototype.toString;
25780
- var _hasOwnProperty = Object.prototype.hasOwnProperty;
25781
- var CHAR_BOM = 65279;
25782
- var CHAR_TAB = 9;
25783
- var CHAR_LINE_FEED = 10;
25784
- var CHAR_CARRIAGE_RETURN = 13;
25785
- var CHAR_SPACE = 32;
25786
- var CHAR_EXCLAMATION = 33;
25787
- var CHAR_DOUBLE_QUOTE = 34;
25788
- var CHAR_SHARP = 35;
25789
- var CHAR_PERCENT = 37;
25790
- var CHAR_AMPERSAND = 38;
25791
- var CHAR_SINGLE_QUOTE = 39;
25792
- var CHAR_ASTERISK = 42;
25793
- var CHAR_COMMA = 44;
25794
- var CHAR_MINUS = 45;
25795
- var CHAR_COLON = 58;
25796
- var CHAR_EQUALS = 61;
25797
- var CHAR_GREATER_THAN = 62;
25798
- var CHAR_QUESTION = 63;
25799
- var CHAR_COMMERCIAL_AT = 64;
25800
- var CHAR_LEFT_SQUARE_BRACKET = 91;
25801
- var CHAR_RIGHT_SQUARE_BRACKET = 93;
25802
- var CHAR_GRAVE_ACCENT = 96;
25803
- var CHAR_LEFT_CURLY_BRACKET = 123;
25804
- var CHAR_VERTICAL_LINE = 124;
25805
- var CHAR_RIGHT_CURLY_BRACKET = 125;
25806
- var ESCAPE_SEQUENCES = {};
26061
+ }
26062
+ throw new YAMLException2("expected a single document in the stream, but found more");
26063
+ }
26064
+ loader.loadAll = loadAll2;
26065
+ loader.load = load2;
26066
+ return loader;
26067
+ }
26068
+ var dumper = {};
26069
+ var hasRequiredDumper;
26070
+ function requireDumper() {
26071
+ if (hasRequiredDumper)
26072
+ return dumper;
26073
+ hasRequiredDumper = 1;
26074
+ const common2 = requireCommon();
26075
+ const YAMLException2 = requireException();
26076
+ const DEFAULT_SCHEMA2 = require_default();
26077
+ const _toString = Object.prototype.toString;
26078
+ const _hasOwnProperty = Object.prototype.hasOwnProperty;
26079
+ const CHAR_BOM = 65279;
26080
+ const CHAR_TAB = 9;
26081
+ const CHAR_LINE_FEED = 10;
26082
+ const CHAR_CARRIAGE_RETURN = 13;
26083
+ const CHAR_SPACE = 32;
26084
+ const CHAR_EXCLAMATION = 33;
26085
+ const CHAR_DOUBLE_QUOTE = 34;
26086
+ const CHAR_SHARP = 35;
26087
+ const CHAR_PERCENT = 37;
26088
+ const CHAR_AMPERSAND = 38;
26089
+ const CHAR_SINGLE_QUOTE = 39;
26090
+ const CHAR_ASTERISK = 42;
26091
+ const CHAR_COMMA = 44;
26092
+ const CHAR_MINUS = 45;
26093
+ const CHAR_COLON = 58;
26094
+ const CHAR_EQUALS = 61;
26095
+ const CHAR_GREATER_THAN = 62;
26096
+ const CHAR_QUESTION = 63;
26097
+ const CHAR_COMMERCIAL_AT = 64;
26098
+ const CHAR_LEFT_SQUARE_BRACKET = 91;
26099
+ const CHAR_RIGHT_SQUARE_BRACKET = 93;
26100
+ const CHAR_GRAVE_ACCENT = 96;
26101
+ const CHAR_LEFT_CURLY_BRACKET = 123;
26102
+ const CHAR_VERTICAL_LINE = 124;
26103
+ const CHAR_RIGHT_CURLY_BRACKET = 125;
26104
+ const ESCAPE_SEQUENCES = {};
25807
26105
  ESCAPE_SEQUENCES[0] = "\\0";
25808
26106
  ESCAPE_SEQUENCES[7] = "\\a";
25809
26107
  ESCAPE_SEQUENCES[8] = "\\b";
@@ -25819,7 +26117,7 @@ var require_dumper = /* @__PURE__ */ __commonJSMin((exports, module) => {
25819
26117
  ESCAPE_SEQUENCES[160] = "\\_";
25820
26118
  ESCAPE_SEQUENCES[8232] = "\\L";
25821
26119
  ESCAPE_SEQUENCES[8233] = "\\P";
25822
- var DEPRECATED_BOOLEANS_SYNTAX = [
26120
+ const DEPRECATED_BOOLEANS_SYNTAX = [
25823
26121
  "y",
25824
26122
  "Y",
25825
26123
  "yes",
@@ -25837,20 +26135,22 @@ var require_dumper = /* @__PURE__ */ __commonJSMin((exports, module) => {
25837
26135
  "Off",
25838
26136
  "OFF"
25839
26137
  ];
25840
- var DEPRECATED_BASE60_SYNTAX = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
25841
- function compileStyleMap(schema, map) {
25842
- if (map === null)
26138
+ const DEPRECATED_BASE60_SYNTAX = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
26139
+ function compileStyleMap(schema2, map2) {
26140
+ if (map2 === null)
25843
26141
  return {};
25844
26142
  const result = {};
25845
- const keys = Object.keys(map);
26143
+ const keys = Object.keys(map2);
25846
26144
  for (let index = 0, length = keys.length;index < length; index += 1) {
25847
26145
  let tag = keys[index];
25848
- let style = String(map[tag]);
25849
- if (tag.slice(0, 2) === "!!")
26146
+ let style = String(map2[tag]);
26147
+ if (tag.slice(0, 2) === "!!") {
25850
26148
  tag = "tag:yaml.org,2002:" + tag.slice(2);
25851
- const type = schema.compiledTypeMap["fallback"][tag];
25852
- if (type && _hasOwnProperty.call(type.styleAliases, style))
25853
- style = type.styleAliases[style];
26149
+ }
26150
+ const type2 = schema2.compiledTypeMap["fallback"][tag];
26151
+ if (type2 && _hasOwnProperty.call(type2.styleAliases, style)) {
26152
+ style = type2.styleAliases[style];
26153
+ }
25854
26154
  result[tag] = style;
25855
26155
  }
25856
26156
  return result;
@@ -25868,18 +26168,19 @@ var require_dumper = /* @__PURE__ */ __commonJSMin((exports, module) => {
25868
26168
  } else if (character <= 4294967295) {
25869
26169
  handle = "U";
25870
26170
  length = 8;
25871
- } else
25872
- throw new YAMLException("code point within a string may not be greater than 0xFFFFFFFF");
25873
- return "\\" + handle + common.repeat("0", length - string.length) + string;
26171
+ } else {
26172
+ throw new YAMLException2("code point within a string may not be greater than 0xFFFFFFFF");
26173
+ }
26174
+ return "\\" + handle + common2.repeat("0", length - string.length) + string;
25874
26175
  }
25875
- var QUOTING_TYPE_SINGLE = 1;
25876
- var QUOTING_TYPE_DOUBLE = 2;
26176
+ const QUOTING_TYPE_SINGLE = 1;
26177
+ const QUOTING_TYPE_DOUBLE = 2;
25877
26178
  function State(options) {
25878
- this.schema = options["schema"] || DEFAULT_SCHEMA;
26179
+ this.schema = options["schema"] || DEFAULT_SCHEMA2;
25879
26180
  this.indent = Math.max(1, options["indent"] || 2);
25880
26181
  this.noArrayIndent = options["noArrayIndent"] || false;
25881
26182
  this.skipInvalid = options["skipInvalid"] || false;
25882
- this.flowLevel = common.isNothing(options["flowLevel"]) ? -1 : options["flowLevel"];
26183
+ this.flowLevel = common2.isNothing(options["flowLevel"]) ? -1 : options["flowLevel"];
25883
26184
  this.styleMap = compileStyleMap(this.schema, options["styles"] || null);
25884
26185
  this.sortKeys = options["sortKeys"] || false;
25885
26186
  this.lineWidth = options["lineWidth"] || 80;
@@ -25897,7 +26198,7 @@ var require_dumper = /* @__PURE__ */ __commonJSMin((exports, module) => {
25897
26198
  this.usedDuplicates = null;
25898
26199
  }
25899
26200
  function indentString(string, spaces) {
25900
- const ind = common.repeat(" ", spaces);
26201
+ const ind = common2.repeat(" ", spaces);
25901
26202
  let position = 0;
25902
26203
  let result = "";
25903
26204
  const length = string.length;
@@ -25921,12 +26222,15 @@ var require_dumper = /* @__PURE__ */ __commonJSMin((exports, module) => {
25921
26222
  }
25922
26223
  function generateNextLine(state, level) {
25923
26224
  return `
25924
- ` + common.repeat(" ", state.indent * level);
26225
+ ` + common2.repeat(" ", state.indent * level);
25925
26226
  }
25926
- function testImplicitResolving(state, str) {
25927
- for (let index = 0, length = state.implicitTypes.length;index < length; index += 1)
25928
- if (state.implicitTypes[index].resolve(str))
26227
+ function testImplicitResolving(state, str2) {
26228
+ for (let index = 0, length = state.implicitTypes.length;index < length; index += 1) {
26229
+ const type2 = state.implicitTypes[index];
26230
+ if (type2.resolve(str2)) {
25929
26231
  return true;
26232
+ }
26233
+ }
25930
26234
  return false;
25931
26235
  }
25932
26236
  function isWhitespace(c) {
@@ -25954,19 +26258,21 @@ var require_dumper = /* @__PURE__ */ __commonJSMin((exports, module) => {
25954
26258
  let second;
25955
26259
  if (first >= 55296 && first <= 56319 && pos + 1 < string.length) {
25956
26260
  second = string.charCodeAt(pos + 1);
25957
- if (second >= 56320 && second <= 57343)
26261
+ if (second >= 56320 && second <= 57343) {
25958
26262
  return (first - 55296) * 1024 + second - 56320 + 65536;
26263
+ }
25959
26264
  }
25960
26265
  return first;
25961
26266
  }
25962
26267
  function needIndentIndicator(string) {
25963
- return /^\n* /.test(string);
25964
- }
25965
- var STYLE_PLAIN = 1;
25966
- var STYLE_SINGLE = 2;
25967
- var STYLE_LITERAL = 3;
25968
- var STYLE_FOLDED = 4;
25969
- var STYLE_DOUBLE = 5;
26268
+ const leadingSpaceRe = /^\n* /;
26269
+ return leadingSpaceRe.test(string);
26270
+ }
26271
+ const STYLE_PLAIN = 1;
26272
+ const STYLE_SINGLE = 2;
26273
+ const STYLE_LITERAL = 3;
26274
+ const STYLE_FOLDED = 4;
26275
+ const STYLE_DOUBLE = 5;
25970
26276
  function chooseScalarStyle(string, singleLineOnly, indentPerLevel, lineWidth, testAmbiguousType, quotingType, forceQuotes, inblock) {
25971
26277
  let i;
25972
26278
  let char = 0;
@@ -25976,15 +26282,16 @@ var require_dumper = /* @__PURE__ */ __commonJSMin((exports, module) => {
25976
26282
  const shouldTrackWidth = lineWidth !== -1;
25977
26283
  let previousLineBreak = -1;
25978
26284
  let plain = isPlainSafeFirst(codePointAt(string, 0)) && isPlainSafeLast(codePointAt(string, string.length - 1));
25979
- if (singleLineOnly || forceQuotes)
26285
+ if (singleLineOnly || forceQuotes) {
25980
26286
  for (i = 0;i < string.length; char >= 65536 ? i += 2 : i++) {
25981
26287
  char = codePointAt(string, i);
25982
- if (!isPrintable(char))
26288
+ if (!isPrintable(char)) {
25983
26289
  return STYLE_DOUBLE;
26290
+ }
25984
26291
  plain = plain && isPlainSafe(char, prevChar, inblock);
25985
26292
  prevChar = char;
25986
26293
  }
25987
- else {
26294
+ } else {
25988
26295
  for (i = 0;i < string.length; char >= 65536 ? i += 2 : i++) {
25989
26296
  char = codePointAt(string, i);
25990
26297
  if (char === CHAR_LINE_FEED) {
@@ -25993,31 +26300,37 @@ var require_dumper = /* @__PURE__ */ __commonJSMin((exports, module) => {
25993
26300
  hasFoldableLine = hasFoldableLine || i - previousLineBreak - 1 > lineWidth && string[previousLineBreak + 1] !== " ";
25994
26301
  previousLineBreak = i;
25995
26302
  }
25996
- } else if (!isPrintable(char))
26303
+ } else if (!isPrintable(char)) {
25997
26304
  return STYLE_DOUBLE;
26305
+ }
25998
26306
  plain = plain && isPlainSafe(char, prevChar, inblock);
25999
26307
  prevChar = char;
26000
26308
  }
26001
- hasFoldableLine = hasFoldableLine || shouldTrackWidth && i - previousLineBreak - 1 > lineWidth && string[previousLineBreak + 1] !== " ";
26309
+ hasFoldableLine = hasFoldableLine || shouldTrackWidth && (i - previousLineBreak - 1 > lineWidth && string[previousLineBreak + 1] !== " ");
26002
26310
  }
26003
26311
  if (!hasLineBreak && !hasFoldableLine) {
26004
- if (plain && !forceQuotes && !testAmbiguousType(string))
26312
+ if (plain && !forceQuotes && !testAmbiguousType(string)) {
26005
26313
  return STYLE_PLAIN;
26314
+ }
26006
26315
  return quotingType === QUOTING_TYPE_DOUBLE ? STYLE_DOUBLE : STYLE_SINGLE;
26007
26316
  }
26008
- if (indentPerLevel > 9 && needIndentIndicator(string))
26317
+ if (indentPerLevel > 9 && needIndentIndicator(string)) {
26009
26318
  return STYLE_DOUBLE;
26010
- if (!forceQuotes)
26319
+ }
26320
+ if (!forceQuotes) {
26011
26321
  return hasFoldableLine ? STYLE_FOLDED : STYLE_LITERAL;
26322
+ }
26012
26323
  return quotingType === QUOTING_TYPE_DOUBLE ? STYLE_DOUBLE : STYLE_SINGLE;
26013
26324
  }
26014
26325
  function writeScalar(state, string, level, iskey, inblock) {
26015
26326
  state.dump = function() {
26016
- if (string.length === 0)
26327
+ if (string.length === 0) {
26017
26328
  return state.quotingType === QUOTING_TYPE_DOUBLE ? '""' : "''";
26329
+ }
26018
26330
  if (!state.noCompatMode) {
26019
- if (DEPRECATED_BOOLEANS_SYNTAX.indexOf(string) !== -1 || DEPRECATED_BASE60_SYNTAX.test(string))
26331
+ if (DEPRECATED_BOOLEANS_SYNTAX.indexOf(string) !== -1 || DEPRECATED_BASE60_SYNTAX.test(string)) {
26020
26332
  return state.quotingType === QUOTING_TYPE_DOUBLE ? '"' + string + '"' : "'" + string + "'";
26333
+ }
26021
26334
  }
26022
26335
  const indent = state.indent * Math.max(1, level);
26023
26336
  const lineWidth = state.lineWidth === -1 ? -1 : Math.max(Math.min(state.lineWidth, 40), state.lineWidth - indent);
@@ -26035,9 +26348,9 @@ var require_dumper = /* @__PURE__ */ __commonJSMin((exports, module) => {
26035
26348
  case STYLE_FOLDED:
26036
26349
  return ">" + blockHeader(string, state.indent) + dropEndingNewline(indentString(foldString(string, lineWidth), indent));
26037
26350
  case STYLE_DOUBLE:
26038
- return '"' + escapeString(string, lineWidth) + '"';
26351
+ return '"' + escapeString(string) + '"';
26039
26352
  default:
26040
- throw new YAMLException("impossible error: invalid scalar style");
26353
+ throw new YAMLException2("impossible error: invalid scalar style");
26041
26354
  }
26042
26355
  }();
26043
26356
  }
@@ -26045,9 +26358,11 @@ var require_dumper = /* @__PURE__ */ __commonJSMin((exports, module) => {
26045
26358
  const indentIndicator = needIndentIndicator(string) ? String(indentPerLevel) : "";
26046
26359
  const clip = string[string.length - 1] === `
26047
26360
  `;
26048
- return indentIndicator + (clip && (string[string.length - 2] === `
26361
+ const keep = clip && (string[string.length - 2] === `
26049
26362
  ` || string === `
26050
- `) ? "+" : clip ? "" : "-") + `
26363
+ `);
26364
+ const chomp = keep ? "+" : clip ? "" : "-";
26365
+ return indentIndicator + chomp + `
26051
26366
  `;
26052
26367
  }
26053
26368
  function dropEndingNewline(string) {
@@ -26099,11 +26414,12 @@ var require_dumper = /* @__PURE__ */ __commonJSMin((exports, module) => {
26099
26414
  }
26100
26415
  result += `
26101
26416
  `;
26102
- if (line.length - start > width && curr > start)
26417
+ if (line.length - start > width && curr > start) {
26103
26418
  result += line.slice(start, curr) + `
26104
26419
  ` + line.slice(curr + 1);
26105
- else
26420
+ } else {
26106
26421
  result += line.slice(start);
26422
+ }
26107
26423
  return result.slice(1);
26108
26424
  }
26109
26425
  function escapeString(string) {
@@ -26116,8 +26432,9 @@ var require_dumper = /* @__PURE__ */ __commonJSMin((exports, module) => {
26116
26432
  result += string[i];
26117
26433
  if (char >= 65536)
26118
26434
  result += string[i + 1];
26119
- } else
26435
+ } else {
26120
26436
  result += escapeSeq || encodeHex(char);
26437
+ }
26121
26438
  }
26122
26439
  return result;
26123
26440
  }
@@ -26126,8 +26443,9 @@ var require_dumper = /* @__PURE__ */ __commonJSMin((exports, module) => {
26126
26443
  const _tag = state.tag;
26127
26444
  for (let index = 0, length = object.length;index < length; index += 1) {
26128
26445
  let value = object[index];
26129
- if (state.replacer)
26446
+ if (state.replacer) {
26130
26447
  value = state.replacer.call(object, String(index), value);
26448
+ }
26131
26449
  if (writeNode(state, level, value, false, false) || typeof value === "undefined" && writeNode(state, level, null, false, false)) {
26132
26450
  if (_result !== "")
26133
26451
  _result += "," + (!state.condenseFlow ? " " : "");
@@ -26142,15 +26460,18 @@ var require_dumper = /* @__PURE__ */ __commonJSMin((exports, module) => {
26142
26460
  const _tag = state.tag;
26143
26461
  for (let index = 0, length = object.length;index < length; index += 1) {
26144
26462
  let value = object[index];
26145
- if (state.replacer)
26463
+ if (state.replacer) {
26146
26464
  value = state.replacer.call(object, String(index), value);
26465
+ }
26147
26466
  if (writeNode(state, level + 1, value, true, true, false, true) || typeof value === "undefined" && writeNode(state, level + 1, null, true, true, false, true)) {
26148
- if (!compact || _result !== "")
26467
+ if (!compact || _result !== "") {
26149
26468
  _result += generateNextLine(state, level);
26150
- if (state.dump && CHAR_LINE_FEED === state.dump.charCodeAt(0))
26469
+ }
26470
+ if (state.dump && CHAR_LINE_FEED === state.dump.charCodeAt(0)) {
26151
26471
  _result += "-";
26152
- else
26472
+ } else {
26153
26473
  _result += "- ";
26474
+ }
26154
26475
  _result += state.dump;
26155
26476
  }
26156
26477
  }
@@ -26169,15 +26490,18 @@ var require_dumper = /* @__PURE__ */ __commonJSMin((exports, module) => {
26169
26490
  pairBuffer += '"';
26170
26491
  const objectKey = objectKeyList[index];
26171
26492
  let objectValue = object[objectKey];
26172
- if (state.replacer)
26493
+ if (state.replacer) {
26173
26494
  objectValue = state.replacer.call(object, objectKey, objectValue);
26174
- if (!writeNode(state, level, objectKey, false, false))
26495
+ }
26496
+ if (!writeNode(state, level, objectKey, false, false)) {
26175
26497
  continue;
26498
+ }
26176
26499
  if (state.dump.length > 1024)
26177
26500
  pairBuffer += "? ";
26178
26501
  pairBuffer += state.dump + (state.condenseFlow ? '"' : "") + ":" + (state.condenseFlow ? "" : " ");
26179
- if (!writeNode(state, level, objectValue, false, false))
26502
+ if (!writeNode(state, level, objectValue, false, false)) {
26180
26503
  continue;
26504
+ }
26181
26505
  pairBuffer += state.dump;
26182
26506
  _result += pairBuffer;
26183
26507
  }
@@ -26188,37 +26512,46 @@ var require_dumper = /* @__PURE__ */ __commonJSMin((exports, module) => {
26188
26512
  let _result = "";
26189
26513
  const _tag = state.tag;
26190
26514
  const objectKeyList = Object.keys(object);
26191
- if (state.sortKeys === true)
26515
+ if (state.sortKeys === true) {
26192
26516
  objectKeyList.sort();
26193
- else if (typeof state.sortKeys === "function")
26517
+ } else if (typeof state.sortKeys === "function") {
26194
26518
  objectKeyList.sort(state.sortKeys);
26195
- else if (state.sortKeys)
26196
- throw new YAMLException("sortKeys must be a boolean or a function");
26519
+ } else if (state.sortKeys) {
26520
+ throw new YAMLException2("sortKeys must be a boolean or a function");
26521
+ }
26197
26522
  for (let index = 0, length = objectKeyList.length;index < length; index += 1) {
26198
26523
  let pairBuffer = "";
26199
- if (!compact || _result !== "")
26524
+ if (!compact || _result !== "") {
26200
26525
  pairBuffer += generateNextLine(state, level);
26526
+ }
26201
26527
  const objectKey = objectKeyList[index];
26202
26528
  let objectValue = object[objectKey];
26203
- if (state.replacer)
26529
+ if (state.replacer) {
26204
26530
  objectValue = state.replacer.call(object, objectKey, objectValue);
26205
- if (!writeNode(state, level + 1, objectKey, true, true, true))
26531
+ }
26532
+ if (!writeNode(state, level + 1, objectKey, true, true, true)) {
26206
26533
  continue;
26534
+ }
26207
26535
  const explicitPair = state.tag !== null && state.tag !== "?" || state.dump && state.dump.length > 1024;
26208
- if (explicitPair)
26209
- if (state.dump && CHAR_LINE_FEED === state.dump.charCodeAt(0))
26536
+ if (explicitPair) {
26537
+ if (state.dump && CHAR_LINE_FEED === state.dump.charCodeAt(0)) {
26210
26538
  pairBuffer += "?";
26211
- else
26539
+ } else {
26212
26540
  pairBuffer += "? ";
26541
+ }
26542
+ }
26213
26543
  pairBuffer += state.dump;
26214
- if (explicitPair)
26544
+ if (explicitPair) {
26215
26545
  pairBuffer += generateNextLine(state, level);
26216
- if (!writeNode(state, level + 1, objectValue, true, explicitPair))
26546
+ }
26547
+ if (!writeNode(state, level + 1, objectValue, true, explicitPair)) {
26217
26548
  continue;
26218
- if (state.dump && CHAR_LINE_FEED === state.dump.charCodeAt(0))
26549
+ }
26550
+ if (state.dump && CHAR_LINE_FEED === state.dump.charCodeAt(0)) {
26219
26551
  pairBuffer += ":";
26220
- else
26552
+ } else {
26221
26553
  pairBuffer += ": ";
26554
+ }
26222
26555
  pairBuffer += state.dump;
26223
26556
  _result += pairBuffer;
26224
26557
  }
@@ -26228,24 +26561,27 @@ var require_dumper = /* @__PURE__ */ __commonJSMin((exports, module) => {
26228
26561
  function detectType(state, object, explicit) {
26229
26562
  const typeList = explicit ? state.explicitTypes : state.implicitTypes;
26230
26563
  for (let index = 0, length = typeList.length;index < length; index += 1) {
26231
- const type = typeList[index];
26232
- if ((type.instanceOf || type.predicate) && (!type.instanceOf || typeof object === "object" && object instanceof type.instanceOf) && (!type.predicate || type.predicate(object))) {
26233
- if (explicit)
26234
- if (type.multi && type.representName)
26235
- state.tag = type.representName(object);
26236
- else
26237
- state.tag = type.tag;
26238
- else
26564
+ const type2 = typeList[index];
26565
+ if ((type2.instanceOf || type2.predicate) && (!type2.instanceOf || typeof object === "object" && object instanceof type2.instanceOf) && (!type2.predicate || type2.predicate(object))) {
26566
+ if (explicit) {
26567
+ if (type2.multi && type2.representName) {
26568
+ state.tag = type2.representName(object);
26569
+ } else {
26570
+ state.tag = type2.tag;
26571
+ }
26572
+ } else {
26239
26573
  state.tag = "?";
26240
- if (type.represent) {
26241
- const style = state.styleMap[type.tag] || type.defaultStyle;
26574
+ }
26575
+ if (type2.represent) {
26576
+ const style = state.styleMap[type2.tag] || type2.defaultStyle;
26242
26577
  let _result;
26243
- if (_toString.call(type.represent) === "[object Function]")
26244
- _result = type.represent(object, style);
26245
- else if (_hasOwnProperty.call(type.represent, style))
26246
- _result = type.represent[style](object, style);
26247
- else
26248
- throw new YAMLException("!<" + type.tag + '> tag resolver accepts not "' + style + '" style');
26578
+ if (_toString.call(type2.represent) === "[object Function]") {
26579
+ _result = type2.represent(object, style);
26580
+ } else if (_hasOwnProperty.call(type2.represent, style)) {
26581
+ _result = type2.represent[style](object, style);
26582
+ } else {
26583
+ throw new YAMLException2("!<" + type2.tag + '> tag resolver accepts not "' + style + '" style');
26584
+ }
26249
26585
  state.dump = _result;
26250
26586
  }
26251
26587
  return true;
@@ -26256,67 +26592,78 @@ var require_dumper = /* @__PURE__ */ __commonJSMin((exports, module) => {
26256
26592
  function writeNode(state, level, object, block, compact, iskey, isblockseq) {
26257
26593
  state.tag = null;
26258
26594
  state.dump = object;
26259
- if (!detectType(state, object, false))
26595
+ if (!detectType(state, object, false)) {
26260
26596
  detectType(state, object, true);
26261
- const type = _toString.call(state.dump);
26597
+ }
26598
+ const type2 = _toString.call(state.dump);
26262
26599
  const inblock = block;
26263
- if (block)
26600
+ if (block) {
26264
26601
  block = state.flowLevel < 0 || state.flowLevel > level;
26265
- const objectOrArray = type === "[object Object]" || type === "[object Array]";
26602
+ }
26603
+ const objectOrArray = type2 === "[object Object]" || type2 === "[object Array]";
26266
26604
  let duplicateIndex;
26267
26605
  let duplicate;
26268
26606
  if (objectOrArray) {
26269
26607
  duplicateIndex = state.duplicates.indexOf(object);
26270
26608
  duplicate = duplicateIndex !== -1;
26271
26609
  }
26272
- if (state.tag !== null && state.tag !== "?" || duplicate || state.indent !== 2 && level > 0)
26610
+ if (state.tag !== null && state.tag !== "?" || duplicate || state.indent !== 2 && level > 0) {
26273
26611
  compact = false;
26274
- if (duplicate && state.usedDuplicates[duplicateIndex])
26612
+ }
26613
+ if (duplicate && state.usedDuplicates[duplicateIndex]) {
26275
26614
  state.dump = "*ref_" + duplicateIndex;
26276
- else {
26277
- if (objectOrArray && duplicate && !state.usedDuplicates[duplicateIndex])
26615
+ } else {
26616
+ if (objectOrArray && duplicate && !state.usedDuplicates[duplicateIndex]) {
26278
26617
  state.usedDuplicates[duplicateIndex] = true;
26279
- if (type === "[object Object]")
26618
+ }
26619
+ if (type2 === "[object Object]") {
26280
26620
  if (block && Object.keys(state.dump).length !== 0) {
26281
26621
  writeBlockMapping(state, level, state.dump, compact);
26282
- if (duplicate)
26622
+ if (duplicate) {
26283
26623
  state.dump = "&ref_" + duplicateIndex + state.dump;
26624
+ }
26284
26625
  } else {
26285
26626
  writeFlowMapping(state, level, state.dump);
26286
- if (duplicate)
26627
+ if (duplicate) {
26287
26628
  state.dump = "&ref_" + duplicateIndex + " " + state.dump;
26629
+ }
26288
26630
  }
26289
- else if (type === "[object Array]")
26631
+ } else if (type2 === "[object Array]") {
26290
26632
  if (block && state.dump.length !== 0) {
26291
- if (state.noArrayIndent && !isblockseq && level > 0)
26633
+ if (state.noArrayIndent && !isblockseq && level > 0) {
26292
26634
  writeBlockSequence(state, level - 1, state.dump, compact);
26293
- else
26635
+ } else {
26294
26636
  writeBlockSequence(state, level, state.dump, compact);
26295
- if (duplicate)
26637
+ }
26638
+ if (duplicate) {
26296
26639
  state.dump = "&ref_" + duplicateIndex + state.dump;
26640
+ }
26297
26641
  } else {
26298
26642
  writeFlowSequence(state, level, state.dump);
26299
- if (duplicate)
26643
+ if (duplicate) {
26300
26644
  state.dump = "&ref_" + duplicateIndex + " " + state.dump;
26645
+ }
26301
26646
  }
26302
- else if (type === "[object String]") {
26303
- if (state.tag !== "?")
26647
+ } else if (type2 === "[object String]") {
26648
+ if (state.tag !== "?") {
26304
26649
  writeScalar(state, state.dump, level, iskey, inblock);
26305
- } else if (type === "[object Undefined]")
26650
+ }
26651
+ } else if (type2 === "[object Undefined]") {
26306
26652
  return false;
26307
- else {
26653
+ } else {
26308
26654
  if (state.skipInvalid)
26309
26655
  return false;
26310
- throw new YAMLException("unacceptable kind of an object to dump " + type);
26656
+ throw new YAMLException2("unacceptable kind of an object to dump " + type2);
26311
26657
  }
26312
26658
  if (state.tag !== null && state.tag !== "?") {
26313
26659
  let tagStr = encodeURI(state.tag[0] === "!" ? state.tag.slice(1) : state.tag).replace(/!/g, "%21");
26314
- if (state.tag[0] === "!")
26660
+ if (state.tag[0] === "!") {
26315
26661
  tagStr = "!" + tagStr;
26316
- else if (tagStr.slice(0, 18) === "tag:yaml.org,2002:")
26662
+ } else if (tagStr.slice(0, 18) === "tag:yaml.org,2002:") {
26317
26663
  tagStr = "!!" + tagStr.slice(18);
26318
- else
26664
+ } else {
26319
26665
  tagStr = "!<" + tagStr + ">";
26666
+ }
26320
26667
  state.dump = tagStr + " " + state.dump;
26321
26668
  }
26322
26669
  }
@@ -26327,83 +26674,110 @@ var require_dumper = /* @__PURE__ */ __commonJSMin((exports, module) => {
26327
26674
  const duplicatesIndexes = [];
26328
26675
  inspectNode(object, objects, duplicatesIndexes);
26329
26676
  const length = duplicatesIndexes.length;
26330
- for (let index = 0;index < length; index += 1)
26677
+ for (let index = 0;index < length; index += 1) {
26331
26678
  state.duplicates.push(objects[duplicatesIndexes[index]]);
26679
+ }
26332
26680
  state.usedDuplicates = new Array(length);
26333
26681
  }
26334
26682
  function inspectNode(object, objects, duplicatesIndexes) {
26335
26683
  if (object !== null && typeof object === "object") {
26336
26684
  const index = objects.indexOf(object);
26337
26685
  if (index !== -1) {
26338
- if (duplicatesIndexes.indexOf(index) === -1)
26686
+ if (duplicatesIndexes.indexOf(index) === -1) {
26339
26687
  duplicatesIndexes.push(index);
26688
+ }
26340
26689
  } else {
26341
26690
  objects.push(object);
26342
- if (Array.isArray(object))
26343
- for (let i = 0, length = object.length;i < length; i += 1)
26691
+ if (Array.isArray(object)) {
26692
+ for (let i = 0, length = object.length;i < length; i += 1) {
26344
26693
  inspectNode(object[i], objects, duplicatesIndexes);
26345
- else {
26694
+ }
26695
+ } else {
26346
26696
  const objectKeyList = Object.keys(object);
26347
- for (let i = 0, length = objectKeyList.length;i < length; i += 1)
26697
+ for (let i = 0, length = objectKeyList.length;i < length; i += 1) {
26348
26698
  inspectNode(object[objectKeyList[i]], objects, duplicatesIndexes);
26699
+ }
26349
26700
  }
26350
26701
  }
26351
26702
  }
26352
26703
  }
26353
- function dump(input, options) {
26704
+ function dump2(input, options) {
26354
26705
  options = options || {};
26355
26706
  const state = new State(options);
26356
26707
  if (!state.noRefs)
26357
26708
  getDuplicateReferences(input, state);
26358
26709
  let value = input;
26359
- if (state.replacer)
26710
+ if (state.replacer) {
26360
26711
  value = state.replacer.call({ "": value }, "", value);
26712
+ }
26361
26713
  if (writeNode(state, 0, value, true, true))
26362
26714
  return state.dump + `
26363
26715
  `;
26364
26716
  return "";
26365
26717
  }
26366
- module.exports.dump = dump;
26367
- });
26368
- var import_js_yaml = /* @__PURE__ */ __toESM2((/* @__PURE__ */ __commonJSMin((exports, module) => {
26369
- var loader = require_loader();
26370
- var dumper = require_dumper();
26718
+ dumper.dump = dump2;
26719
+ return dumper;
26720
+ }
26721
+ var hasRequiredJsYaml;
26722
+ function requireJsYaml() {
26723
+ if (hasRequiredJsYaml)
26724
+ return jsYaml;
26725
+ hasRequiredJsYaml = 1;
26726
+ const loader2 = requireLoader();
26727
+ const dumper2 = requireDumper();
26371
26728
  function renamed(from, to) {
26372
26729
  return function() {
26373
26730
  throw new Error("Function yaml." + from + " is removed in js-yaml 4. Use yaml." + to + " instead, which is now safe by default.");
26374
26731
  };
26375
26732
  }
26376
- module.exports.Type = require_type();
26377
- module.exports.Schema = require_schema();
26378
- module.exports.FAILSAFE_SCHEMA = require_failsafe();
26379
- module.exports.JSON_SCHEMA = require_json();
26380
- module.exports.CORE_SCHEMA = require_core();
26381
- module.exports.DEFAULT_SCHEMA = require_default();
26382
- module.exports.load = loader.load;
26383
- module.exports.loadAll = loader.loadAll;
26384
- module.exports.dump = dumper.dump;
26385
- module.exports.YAMLException = require_exception();
26386
- module.exports.types = {
26387
- binary: require_binary(),
26388
- float: require_float(),
26389
- map: require_map(),
26733
+ jsYaml.Type = requireType();
26734
+ jsYaml.Schema = requireSchema();
26735
+ jsYaml.FAILSAFE_SCHEMA = requireFailsafe();
26736
+ jsYaml.JSON_SCHEMA = requireJson();
26737
+ jsYaml.CORE_SCHEMA = requireCore();
26738
+ jsYaml.DEFAULT_SCHEMA = require_default();
26739
+ jsYaml.load = loader2.load;
26740
+ jsYaml.loadAll = loader2.loadAll;
26741
+ jsYaml.dump = dumper2.dump;
26742
+ jsYaml.YAMLException = requireException();
26743
+ jsYaml.types = {
26744
+ binary: requireBinary(),
26745
+ float: requireFloat(),
26746
+ map: requireMap(),
26390
26747
  null: require_null(),
26391
- pairs: require_pairs(),
26392
- set: require_set(),
26393
- timestamp: require_timestamp(),
26394
- bool: require_bool(),
26395
- int: require_int(),
26396
- merge: require_merge(),
26397
- omap: require_omap(),
26398
- seq: require_seq(),
26399
- str: require_str()
26748
+ pairs: requirePairs(),
26749
+ set: requireSet(),
26750
+ timestamp: requireTimestamp(),
26751
+ bool: requireBool(),
26752
+ int: requireInt(),
26753
+ merge: requireMerge(),
26754
+ omap: requireOmap(),
26755
+ seq: requireSeq(),
26756
+ str: requireStr()
26400
26757
  };
26401
- module.exports.safeLoad = renamed("safeLoad", "load");
26402
- module.exports.safeLoadAll = renamed("safeLoadAll", "loadAll");
26403
- module.exports.safeDump = renamed("safeDump", "dump");
26404
- }))(), 1);
26405
- var { Type, Schema, FAILSAFE_SCHEMA, JSON_SCHEMA, CORE_SCHEMA, DEFAULT_SCHEMA, load, loadAll, dump, YAMLException, types, safeLoad, safeLoadAll, safeDump } = import_js_yaml.default;
26406
- var index_vite_proxy_tmp_default = import_js_yaml.default;
26758
+ jsYaml.safeLoad = renamed("safeLoad", "load");
26759
+ jsYaml.safeLoadAll = renamed("safeLoadAll", "loadAll");
26760
+ jsYaml.safeDump = renamed("safeDump", "dump");
26761
+ return jsYaml;
26762
+ }
26763
+ var jsYamlExports = requireJsYaml();
26764
+ var yaml = /* @__PURE__ */ getDefaultExportFromCjs(jsYamlExports);
26765
+ var {
26766
+ Type,
26767
+ Schema,
26768
+ FAILSAFE_SCHEMA,
26769
+ JSON_SCHEMA,
26770
+ CORE_SCHEMA,
26771
+ DEFAULT_SCHEMA,
26772
+ load,
26773
+ loadAll,
26774
+ dump,
26775
+ YAMLException,
26776
+ types,
26777
+ safeLoad,
26778
+ safeLoadAll,
26779
+ safeDump
26780
+ } = yaml;
26407
26781
 
26408
26782
  // ../common/src/logger.ts
26409
26783
  init_src();
@@ -26480,11 +26854,11 @@ class SimpleLogger {
26480
26854
  const path3 = this.logFilePath || getGlobalLogFilePath();
26481
26855
  if (!path3)
26482
26856
  return;
26483
- const timestamp = new Date().toISOString();
26857
+ const timestamp2 = new Date().toISOString();
26484
26858
  this.pendingWrites = Promise.all([
26485
26859
  this.pendingWrites,
26486
26860
  this.pendingInit
26487
- ]).then(() => getFileSystem().appendFile(path3, `${timestamp} ${formatted}`).catch(() => {}));
26861
+ ]).then(() => getFileSystem().appendFile(path3, `${timestamp2} ${formatted}`).catch(() => {}));
26488
26862
  }
26489
26863
  debug(message, ...args) {
26490
26864
  if (this.level > 0 /* DEBUG */)
@@ -26878,10 +27252,10 @@ class LoggerTelemetryProvider {
26878
27252
  success
26879
27253
  })));
26880
27254
  }
26881
- async trackDependency(name, type, duration, success, properties) {
27255
+ async trackDependency(name, type2, duration, success, properties) {
26882
27256
  logger.debug(formatMessage("Dependency", name, this.enrich({
26883
27257
  ...properties,
26884
- type,
27258
+ type: type2,
26885
27259
  duration: `${duration}ms`,
26886
27260
  success
26887
27261
  })));
@@ -27114,7 +27488,7 @@ class TelemetryService {
27114
27488
  throw error;
27115
27489
  }
27116
27490
  }
27117
- async trackDependencyOperation(name, type, fn, properties) {
27491
+ async trackDependencyOperation(name, type2, fn, properties) {
27118
27492
  const parentContext = this.getCurrentContext();
27119
27493
  if (!parentContext) {
27120
27494
  throw new Error("trackDependencyOperation must be called within a trackRequest block.");
@@ -27129,13 +27503,13 @@ class TelemetryService {
27129
27503
  const result = await this.contextStorage.run(childContext, fn);
27130
27504
  const durationMs = performance.now() - startTime;
27131
27505
  const enrichedProperties = this.enrichPropertiesWithContext(properties, childContext);
27132
- await this.telemetryProvider.trackDependency(name, type, durationMs, true, enrichedProperties);
27506
+ await this.telemetryProvider.trackDependency(name, type2, durationMs, true, enrichedProperties);
27133
27507
  return result;
27134
27508
  } catch (error) {
27135
27509
  const durationMs = performance.now() - startTime;
27136
27510
  const err = error instanceof Error ? error : new Error(String(error));
27137
27511
  const enrichedProperties = this.enrichPropertiesWithContext({ ...properties, errorMessage: err.message }, childContext);
27138
- await this.telemetryProvider.trackDependency(name, type, durationMs, false, enrichedProperties);
27512
+ await this.telemetryProvider.trackDependency(name, type2, durationMs, false, enrichedProperties);
27139
27513
  throw error;
27140
27514
  }
27141
27515
  }
@@ -27342,8 +27716,8 @@ function printOutput(data, format = "json", logFn, asciiSafe = false) {
27342
27716
  }
27343
27717
  switch (format) {
27344
27718
  case "json": {
27345
- const json = JSON.stringify(data, null, 2);
27346
- logFn(asciiSafe ? escapeNonAscii(json) : json);
27719
+ const json2 = JSON.stringify(data, null, 2);
27720
+ logFn(asciiSafe ? escapeNonAscii(json2) : json2);
27347
27721
  break;
27348
27722
  }
27349
27723
  case "yaml":
@@ -27679,8 +28053,8 @@ var OutputFormatter;
27679
28053
  const sink = getOutputSink();
27680
28054
  const normalized = toPascalCaseData(data);
27681
28055
  if (format === "json") {
27682
- const json = JSON.stringify(normalized);
27683
- const safe = needsAsciiSafeJson(sink) ? escapeNonAscii(json) : json;
28056
+ const json2 = JSON.stringify(normalized);
28057
+ const safe = needsAsciiSafeJson(sink) ? escapeNonAscii(json2) : json2;
27684
28058
  sink.writeErr(`${safe}
27685
28059
  `);
27686
28060
  } else {
@@ -27930,8 +28304,8 @@ function redactValueDetectors(value) {
27930
28304
  out = out.replace(JWT_PATTERN, () => REDACTED);
27931
28305
  out = out.replace(URL_PATTERN, (match) => {
27932
28306
  const trailing = match.match(URL_TRAILING_PUNCT)?.[0] ?? "";
27933
- const core = trailing ? match.slice(0, -trailing.length) : match;
27934
- return `${redactUrl(core)}${trailing}`;
28307
+ const core2 = trailing ? match.slice(0, -trailing.length) : match;
28308
+ return `${redactUrl(core2)}${trailing}`;
27935
28309
  });
27936
28310
  out = out.replace(USER_HOME_PATTERN, (_match, sep1, folder, sep2) => `${sep1}${folder}${sep2}<user>`);
27937
28311
  out = out.replace(EMAIL_PATTERN, (match) => `email#${shortHash(match)}`);
@@ -29029,76 +29403,76 @@ var SDK_USER_AGENT = getSdkUserAgentToken(package_default2);
29029
29403
  installSdkUserAgentHeader(BaseAPI, SDK_USER_AGENT);
29030
29404
 
29031
29405
  // ../sc-sdk/generated/src/models/TargetFramework.ts
29032
- function TargetFrameworkFromJSON(json) {
29033
- return TargetFrameworkFromJSONTyped(json, false);
29406
+ function TargetFrameworkFromJSON(json2) {
29407
+ return TargetFrameworkFromJSONTyped(json2, false);
29034
29408
  }
29035
- function TargetFrameworkFromJSONTyped(json, ignoreDiscriminator) {
29036
- return json;
29409
+ function TargetFrameworkFromJSONTyped(json2, ignoreDiscriminator) {
29410
+ return json2;
29037
29411
  }
29038
29412
 
29039
29413
  // ../sc-sdk/generated/src/models/RepositoryDto.ts
29040
- function RepositoryDtoFromJSON(json) {
29041
- return RepositoryDtoFromJSONTyped(json, false);
29414
+ function RepositoryDtoFromJSON(json2) {
29415
+ return RepositoryDtoFromJSONTyped(json2, false);
29042
29416
  }
29043
- function RepositoryDtoFromJSONTyped(json, ignoreDiscriminator) {
29044
- if (json == null) {
29045
- return json;
29417
+ function RepositoryDtoFromJSONTyped(json2, ignoreDiscriminator) {
29418
+ if (json2 == null) {
29419
+ return json2;
29046
29420
  }
29047
29421
  return {
29048
- identifier: json["identifier"] == null ? undefined : json["identifier"],
29049
- name: json["name"] == null ? undefined : json["name"],
29050
- cloneUrl: json["cloneUrl"] == null ? undefined : json["cloneUrl"],
29051
- remoteId: json["remoteId"] == null ? undefined : json["remoteId"],
29052
- commitSha: json["commitSha"] == null ? undefined : json["commitSha"],
29053
- defaultBranch: json["defaultBranch"] == null ? undefined : json["defaultBranch"],
29054
- azureProject: json["azureProject"] == null ? undefined : json["azureProject"]
29422
+ identifier: json2["identifier"] == null ? undefined : json2["identifier"],
29423
+ name: json2["name"] == null ? undefined : json2["name"],
29424
+ cloneUrl: json2["cloneUrl"] == null ? undefined : json2["cloneUrl"],
29425
+ remoteId: json2["remoteId"] == null ? undefined : json2["remoteId"],
29426
+ commitSha: json2["commitSha"] == null ? undefined : json2["commitSha"],
29427
+ defaultBranch: json2["defaultBranch"] == null ? undefined : json2["defaultBranch"],
29428
+ azureProject: json2["azureProject"] == null ? undefined : json2["azureProject"]
29055
29429
  };
29056
29430
  }
29057
29431
 
29058
29432
  // ../sc-sdk/generated/src/models/AutomationProjectDto.ts
29059
- function AutomationProjectDtoFromJSON(json) {
29060
- return AutomationProjectDtoFromJSONTyped(json, false);
29433
+ function AutomationProjectDtoFromJSON(json2) {
29434
+ return AutomationProjectDtoFromJSONTyped(json2, false);
29061
29435
  }
29062
- function AutomationProjectDtoFromJSONTyped(json, ignoreDiscriminator) {
29063
- if (json == null) {
29064
- return json;
29436
+ function AutomationProjectDtoFromJSONTyped(json2, ignoreDiscriminator) {
29437
+ if (json2 == null) {
29438
+ return json2;
29065
29439
  }
29066
29440
  return {
29067
- identifier: json["identifier"] == null ? undefined : json["identifier"],
29068
- name: json["name"] == null ? undefined : json["name"],
29069
- connectionIdentifier: json["connectionIdentifier"] == null ? undefined : json["connectionIdentifier"],
29070
- organizationIdentifier: json["organizationIdentifier"] == null ? undefined : json["organizationIdentifier"],
29071
- projectId: json["projectId"] == null ? undefined : json["projectId"],
29072
- description: json["description"] == null ? undefined : json["description"],
29073
- projectVersion: json["projectVersion"] == null ? undefined : json["projectVersion"],
29074
- path: json["path"] == null ? undefined : json["path"],
29075
- repository: json["repository"] == null ? undefined : RepositoryDtoFromJSON(json["repository"]),
29076
- lastUpdated: json["lastUpdated"] == null ? undefined : new Date(json["lastUpdated"]),
29077
- type: json["type"] == null ? undefined : json["type"],
29078
- targetFramework: json["targetFramework"] == null ? undefined : TargetFrameworkFromJSON(json["targetFramework"]),
29079
- expressionLanguage: json["expressionLanguage"] == null ? undefined : json["expressionLanguage"],
29080
- isTemplate: json["isTemplate"] == null ? undefined : json["isTemplate"],
29081
- automationHubIdeaUrl: json["automationHubIdeaUrl"] == null ? undefined : json["automationHubIdeaUrl"]
29441
+ identifier: json2["identifier"] == null ? undefined : json2["identifier"],
29442
+ name: json2["name"] == null ? undefined : json2["name"],
29443
+ connectionIdentifier: json2["connectionIdentifier"] == null ? undefined : json2["connectionIdentifier"],
29444
+ organizationIdentifier: json2["organizationIdentifier"] == null ? undefined : json2["organizationIdentifier"],
29445
+ projectId: json2["projectId"] == null ? undefined : json2["projectId"],
29446
+ description: json2["description"] == null ? undefined : json2["description"],
29447
+ projectVersion: json2["projectVersion"] == null ? undefined : json2["projectVersion"],
29448
+ path: json2["path"] == null ? undefined : json2["path"],
29449
+ repository: json2["repository"] == null ? undefined : RepositoryDtoFromJSON(json2["repository"]),
29450
+ lastUpdated: json2["lastUpdated"] == null ? undefined : new Date(json2["lastUpdated"]),
29451
+ type: json2["type"] == null ? undefined : json2["type"],
29452
+ targetFramework: json2["targetFramework"] == null ? undefined : TargetFrameworkFromJSON(json2["targetFramework"]),
29453
+ expressionLanguage: json2["expressionLanguage"] == null ? undefined : json2["expressionLanguage"],
29454
+ isTemplate: json2["isTemplate"] == null ? undefined : json2["isTemplate"],
29455
+ automationHubIdeaUrl: json2["automationHubIdeaUrl"] == null ? undefined : json2["automationHubIdeaUrl"]
29082
29456
  };
29083
29457
  }
29084
29458
 
29085
29459
  // ../sc-sdk/generated/src/models/AutomationProjectDtoPagedResult.ts
29086
- function AutomationProjectDtoPagedResultFromJSON(json) {
29087
- return AutomationProjectDtoPagedResultFromJSONTyped(json, false);
29460
+ function AutomationProjectDtoPagedResultFromJSON(json2) {
29461
+ return AutomationProjectDtoPagedResultFromJSONTyped(json2, false);
29088
29462
  }
29089
- function AutomationProjectDtoPagedResultFromJSONTyped(json, ignoreDiscriminator) {
29090
- if (json == null) {
29091
- return json;
29463
+ function AutomationProjectDtoPagedResultFromJSONTyped(json2, ignoreDiscriminator) {
29464
+ if (json2 == null) {
29465
+ return json2;
29092
29466
  }
29093
29467
  return {
29094
- totalCount: json["totalCount"] == null ? undefined : json["totalCount"],
29095
- result: json["result"] == null ? undefined : json["result"].map(AutomationProjectDtoFromJSON)
29468
+ totalCount: json2["totalCount"] == null ? undefined : json2["totalCount"],
29469
+ result: json2["result"] == null ? undefined : json2["result"].map(AutomationProjectDtoFromJSON)
29096
29470
  };
29097
29471
  }
29098
29472
 
29099
29473
  // ../sc-sdk/generated/src/models/AzureAuthorizationRequest.ts
29100
- function AzureAuthorizationRequestToJSON(json) {
29101
- return AzureAuthorizationRequestToJSONTyped(json, false);
29474
+ function AzureAuthorizationRequestToJSON(json2) {
29475
+ return AzureAuthorizationRequestToJSONTyped(json2, false);
29102
29476
  }
29103
29477
  function AzureAuthorizationRequestToJSONTyped(value, ignoreDiscriminator = false) {
29104
29478
  if (value == null) {
@@ -29110,101 +29484,101 @@ function AzureAuthorizationRequestToJSONTyped(value, ignoreDiscriminator = false
29110
29484
  }
29111
29485
 
29112
29486
  // ../sc-sdk/generated/src/models/AzureOrganizationDto.ts
29113
- function AzureOrganizationDtoFromJSON(json) {
29114
- return AzureOrganizationDtoFromJSONTyped(json, false);
29487
+ function AzureOrganizationDtoFromJSON(json2) {
29488
+ return AzureOrganizationDtoFromJSONTyped(json2, false);
29115
29489
  }
29116
- function AzureOrganizationDtoFromJSONTyped(json, ignoreDiscriminator) {
29117
- if (json == null) {
29118
- return json;
29490
+ function AzureOrganizationDtoFromJSONTyped(json2, ignoreDiscriminator) {
29491
+ if (json2 == null) {
29492
+ return json2;
29119
29493
  }
29120
29494
  return {
29121
- identifier: json["identifier"] == null ? undefined : json["identifier"],
29122
- name: json["name"] == null ? undefined : json["name"]
29495
+ identifier: json2["identifier"] == null ? undefined : json2["identifier"],
29496
+ name: json2["name"] == null ? undefined : json2["name"]
29123
29497
  };
29124
29498
  }
29125
29499
 
29126
29500
  // ../sc-sdk/generated/src/models/AzureProjectDto.ts
29127
- function AzureProjectDtoFromJSON(json) {
29128
- return AzureProjectDtoFromJSONTyped(json, false);
29501
+ function AzureProjectDtoFromJSON(json2) {
29502
+ return AzureProjectDtoFromJSONTyped(json2, false);
29129
29503
  }
29130
- function AzureProjectDtoFromJSONTyped(json, ignoreDiscriminator) {
29131
- if (json == null) {
29132
- return json;
29504
+ function AzureProjectDtoFromJSONTyped(json2, ignoreDiscriminator) {
29505
+ if (json2 == null) {
29506
+ return json2;
29133
29507
  }
29134
29508
  return {
29135
- identifier: json["identifier"] == null ? undefined : json["identifier"],
29136
- name: json["name"] == null ? undefined : json["name"]
29509
+ identifier: json2["identifier"] == null ? undefined : json2["identifier"],
29510
+ name: json2["name"] == null ? undefined : json2["name"]
29137
29511
  };
29138
29512
  }
29139
29513
 
29140
29514
  // ../sc-sdk/generated/src/models/BranchDto.ts
29141
- function BranchDtoFromJSON(json) {
29142
- return BranchDtoFromJSONTyped(json, false);
29515
+ function BranchDtoFromJSON(json2) {
29516
+ return BranchDtoFromJSONTyped(json2, false);
29143
29517
  }
29144
- function BranchDtoFromJSONTyped(json, ignoreDiscriminator) {
29145
- if (json == null) {
29146
- return json;
29518
+ function BranchDtoFromJSONTyped(json2, ignoreDiscriminator) {
29519
+ if (json2 == null) {
29520
+ return json2;
29147
29521
  }
29148
29522
  return {
29149
- name: json["name"] == null ? undefined : json["name"],
29150
- main: json["main"] == null ? undefined : json["main"]
29523
+ name: json2["name"] == null ? undefined : json2["name"],
29524
+ main: json2["main"] == null ? undefined : json2["main"]
29151
29525
  };
29152
29526
  }
29153
29527
 
29154
29528
  // ../sc-sdk/generated/src/models/FileStatusDto.ts
29155
- function FileStatusDtoFromJSON(json) {
29156
- return FileStatusDtoFromJSONTyped(json, false);
29529
+ function FileStatusDtoFromJSON(json2) {
29530
+ return FileStatusDtoFromJSONTyped(json2, false);
29157
29531
  }
29158
- function FileStatusDtoFromJSONTyped(json, ignoreDiscriminator) {
29159
- if (json == null) {
29160
- return json;
29532
+ function FileStatusDtoFromJSONTyped(json2, ignoreDiscriminator) {
29533
+ if (json2 == null) {
29534
+ return json2;
29161
29535
  }
29162
29536
  return {
29163
- status: json["status"] == null ? undefined : json["status"],
29164
- filePath: json["filePath"] == null ? undefined : json["filePath"]
29537
+ status: json2["status"] == null ? undefined : json2["status"],
29538
+ filePath: json2["filePath"] == null ? undefined : json2["filePath"]
29165
29539
  };
29166
29540
  }
29167
29541
 
29168
29542
  // ../sc-sdk/generated/src/models/CommitDto.ts
29169
- function CommitDtoFromJSON(json) {
29170
- return CommitDtoFromJSONTyped(json, false);
29543
+ function CommitDtoFromJSON(json2) {
29544
+ return CommitDtoFromJSONTyped(json2, false);
29171
29545
  }
29172
- function CommitDtoFromJSONTyped(json, ignoreDiscriminator) {
29173
- if (json == null) {
29174
- return json;
29546
+ function CommitDtoFromJSONTyped(json2, ignoreDiscriminator) {
29547
+ if (json2 == null) {
29548
+ return json2;
29175
29549
  }
29176
29550
  return {
29177
- message: json["message"] == null ? undefined : json["message"],
29178
- author: json["author"] == null ? undefined : json["author"],
29179
- date: json["date"] == null ? undefined : new Date(json["date"]),
29180
- reference: json["reference"] == null ? undefined : json["reference"],
29181
- fileStatuses: json["fileStatuses"] == null ? undefined : json["fileStatuses"].map(FileStatusDtoFromJSON),
29182
- previousCommitReference: json["previousCommitReference"] == null ? undefined : json["previousCommitReference"]
29551
+ message: json2["message"] == null ? undefined : json2["message"],
29552
+ author: json2["author"] == null ? undefined : json2["author"],
29553
+ date: json2["date"] == null ? undefined : new Date(json2["date"]),
29554
+ reference: json2["reference"] == null ? undefined : json2["reference"],
29555
+ fileStatuses: json2["fileStatuses"] == null ? undefined : json2["fileStatuses"].map(FileStatusDtoFromJSON),
29556
+ previousCommitReference: json2["previousCommitReference"] == null ? undefined : json2["previousCommitReference"]
29183
29557
  };
29184
29558
  }
29185
29559
 
29186
29560
  // ../sc-sdk/generated/src/models/CommitDtoLoadMoreResult.ts
29187
- function CommitDtoLoadMoreResultFromJSON(json) {
29188
- return CommitDtoLoadMoreResultFromJSONTyped(json, false);
29561
+ function CommitDtoLoadMoreResultFromJSON(json2) {
29562
+ return CommitDtoLoadMoreResultFromJSONTyped(json2, false);
29189
29563
  }
29190
- function CommitDtoLoadMoreResultFromJSONTyped(json, ignoreDiscriminator) {
29191
- if (json == null) {
29192
- return json;
29564
+ function CommitDtoLoadMoreResultFromJSONTyped(json2, ignoreDiscriminator) {
29565
+ if (json2 == null) {
29566
+ return json2;
29193
29567
  }
29194
29568
  return {
29195
- isLastBatch: json["isLastBatch"] == null ? undefined : json["isLastBatch"],
29196
- result: json["result"] == null ? undefined : json["result"].map(CommitDtoFromJSON),
29197
- totalCount: json["totalCount"] == null ? undefined : json["totalCount"],
29198
- pageIndex: json["pageIndex"] == null ? undefined : json["pageIndex"]
29569
+ isLastBatch: json2["isLastBatch"] == null ? undefined : json2["isLastBatch"],
29570
+ result: json2["result"] == null ? undefined : json2["result"].map(CommitDtoFromJSON),
29571
+ totalCount: json2["totalCount"] == null ? undefined : json2["totalCount"],
29572
+ pageIndex: json2["pageIndex"] == null ? undefined : json2["pageIndex"]
29199
29573
  };
29200
29574
  }
29201
29575
 
29202
29576
  // ../sc-sdk/generated/src/models/ConnectionType.ts
29203
- function ConnectionTypeFromJSON(json) {
29204
- return ConnectionTypeFromJSONTyped(json, false);
29577
+ function ConnectionTypeFromJSON(json2) {
29578
+ return ConnectionTypeFromJSONTyped(json2, false);
29205
29579
  }
29206
- function ConnectionTypeFromJSONTyped(json, ignoreDiscriminator) {
29207
- return json;
29580
+ function ConnectionTypeFromJSONTyped(json2, ignoreDiscriminator) {
29581
+ return json2;
29208
29582
  }
29209
29583
 
29210
29584
  // ../sc-sdk/generated/src/models/ConnectionSyncState.ts
@@ -29213,52 +29587,52 @@ var ConnectionSyncState = {
29213
29587
  Fail: "Fail",
29214
29588
  Broken: "Broken"
29215
29589
  };
29216
- function ConnectionSyncStateFromJSON(json) {
29217
- return ConnectionSyncStateFromJSONTyped(json, false);
29590
+ function ConnectionSyncStateFromJSON(json2) {
29591
+ return ConnectionSyncStateFromJSONTyped(json2, false);
29218
29592
  }
29219
- function ConnectionSyncStateFromJSONTyped(json, ignoreDiscriminator) {
29220
- return json;
29593
+ function ConnectionSyncStateFromJSONTyped(json2, ignoreDiscriminator) {
29594
+ return json2;
29221
29595
  }
29222
29596
 
29223
29597
  // ../sc-sdk/generated/src/models/ConnectionDto.ts
29224
- function ConnectionDtoFromJSON(json) {
29225
- return ConnectionDtoFromJSONTyped(json, false);
29598
+ function ConnectionDtoFromJSON(json2) {
29599
+ return ConnectionDtoFromJSONTyped(json2, false);
29226
29600
  }
29227
- function ConnectionDtoFromJSONTyped(json, ignoreDiscriminator) {
29228
- if (json == null) {
29229
- return json;
29601
+ function ConnectionDtoFromJSONTyped(json2, ignoreDiscriminator) {
29602
+ if (json2 == null) {
29603
+ return json2;
29230
29604
  }
29231
29605
  return {
29232
- identifier: json["identifier"] == null ? undefined : json["identifier"],
29233
- name: json["name"] == null ? undefined : json["name"],
29234
- type: json["type"] == null ? undefined : ConnectionTypeFromJSON(json["type"]),
29235
- syncState: json["syncState"] == null ? undefined : ConnectionSyncStateFromJSON(json["syncState"])
29606
+ identifier: json2["identifier"] == null ? undefined : json2["identifier"],
29607
+ name: json2["name"] == null ? undefined : json2["name"],
29608
+ type: json2["type"] == null ? undefined : ConnectionTypeFromJSON(json2["type"]),
29609
+ syncState: json2["syncState"] == null ? undefined : ConnectionSyncStateFromJSON(json2["syncState"])
29236
29610
  };
29237
29611
  }
29238
29612
 
29239
29613
  // ../sc-sdk/generated/src/models/ConnectionStateDto.ts
29240
- function ConnectionStateDtoFromJSON(json) {
29241
- return ConnectionStateDtoFromJSONTyped(json, false);
29614
+ function ConnectionStateDtoFromJSON(json2) {
29615
+ return ConnectionStateDtoFromJSONTyped(json2, false);
29242
29616
  }
29243
- function ConnectionStateDtoFromJSONTyped(json, ignoreDiscriminator) {
29244
- if (json == null) {
29245
- return json;
29617
+ function ConnectionStateDtoFromJSONTyped(json2, ignoreDiscriminator) {
29618
+ if (json2 == null) {
29619
+ return json2;
29246
29620
  }
29247
29621
  return {
29248
- identifier: json["identifier"] == null ? undefined : json["identifier"],
29249
- name: json["name"] == null ? undefined : json["name"],
29250
- type: json["type"] == null ? undefined : ConnectionTypeFromJSON(json["type"]),
29251
- syncState: json["syncState"] == null ? undefined : ConnectionSyncStateFromJSON(json["syncState"]),
29252
- lastSyncDate: json["lastSyncDate"] == null ? undefined : new Date(json["lastSyncDate"]),
29253
- syncingInProgress: json["syncingInProgress"] == null ? undefined : json["syncingInProgress"],
29254
- createdDate: json["createdDate"] == null ? undefined : new Date(json["createdDate"]),
29255
- organizations: json["organizations"] == null ? undefined : json["organizations"].map(AzureOrganizationDtoFromJSON)
29622
+ identifier: json2["identifier"] == null ? undefined : json2["identifier"],
29623
+ name: json2["name"] == null ? undefined : json2["name"],
29624
+ type: json2["type"] == null ? undefined : ConnectionTypeFromJSON(json2["type"]),
29625
+ syncState: json2["syncState"] == null ? undefined : ConnectionSyncStateFromJSON(json2["syncState"]),
29626
+ lastSyncDate: json2["lastSyncDate"] == null ? undefined : new Date(json2["lastSyncDate"]),
29627
+ syncingInProgress: json2["syncingInProgress"] == null ? undefined : json2["syncingInProgress"],
29628
+ createdDate: json2["createdDate"] == null ? undefined : new Date(json2["createdDate"]),
29629
+ organizations: json2["organizations"] == null ? undefined : json2["organizations"].map(AzureOrganizationDtoFromJSON)
29256
29630
  };
29257
29631
  }
29258
29632
 
29259
29633
  // ../sc-sdk/generated/src/models/InstallationRequest.ts
29260
- function InstallationRequestToJSON(json) {
29261
- return InstallationRequestToJSONTyped(json, false);
29634
+ function InstallationRequestToJSON(json2) {
29635
+ return InstallationRequestToJSONTyped(json2, false);
29262
29636
  }
29263
29637
  function InstallationRequestToJSONTyped(value, ignoreDiscriminator = false) {
29264
29638
  if (value == null) {
@@ -29271,89 +29645,89 @@ function InstallationRequestToJSONTyped(value, ignoreDiscriminator = false) {
29271
29645
  }
29272
29646
 
29273
29647
  // ../sc-sdk/generated/src/models/ProjectFileContent.ts
29274
- function ProjectFileContentFromJSON(json) {
29275
- return ProjectFileContentFromJSONTyped(json, false);
29648
+ function ProjectFileContentFromJSON(json2) {
29649
+ return ProjectFileContentFromJSONTyped(json2, false);
29276
29650
  }
29277
- function ProjectFileContentFromJSONTyped(json, ignoreDiscriminator) {
29278
- if (json == null) {
29279
- return json;
29651
+ function ProjectFileContentFromJSONTyped(json2, ignoreDiscriminator) {
29652
+ if (json2 == null) {
29653
+ return json2;
29280
29654
  }
29281
29655
  return {
29282
- fileContent: json["fileContent"] == null ? undefined : json["fileContent"]
29656
+ fileContent: json2["fileContent"] == null ? undefined : json2["fileContent"]
29283
29657
  };
29284
29658
  }
29285
29659
 
29286
29660
  // ../sc-sdk/generated/src/models/ProjectItemType.ts
29287
- function ProjectItemTypeFromJSON(json) {
29288
- return ProjectItemTypeFromJSONTyped(json, false);
29661
+ function ProjectItemTypeFromJSON(json2) {
29662
+ return ProjectItemTypeFromJSONTyped(json2, false);
29289
29663
  }
29290
- function ProjectItemTypeFromJSONTyped(json, ignoreDiscriminator) {
29291
- return json;
29664
+ function ProjectItemTypeFromJSONTyped(json2, ignoreDiscriminator) {
29665
+ return json2;
29292
29666
  }
29293
29667
 
29294
29668
  // ../sc-sdk/generated/src/models/ProjectItemDetailsDto.ts
29295
- function ProjectItemDetailsDtoFromJSON(json) {
29296
- return ProjectItemDetailsDtoFromJSONTyped(json, false);
29669
+ function ProjectItemDetailsDtoFromJSON(json2) {
29670
+ return ProjectItemDetailsDtoFromJSONTyped(json2, false);
29297
29671
  }
29298
- function ProjectItemDetailsDtoFromJSONTyped(json, ignoreDiscriminator) {
29299
- if (json == null) {
29300
- return json;
29672
+ function ProjectItemDetailsDtoFromJSONTyped(json2, ignoreDiscriminator) {
29673
+ if (json2 == null) {
29674
+ return json2;
29301
29675
  }
29302
29676
  return {
29303
- name: json["name"] == null ? undefined : json["name"],
29304
- path: json["path"] == null ? undefined : json["path"],
29305
- type: json["type"] == null ? undefined : ProjectItemTypeFromJSON(json["type"]),
29306
- buildableUnitType: json["buildableUnitType"] == null ? undefined : json["buildableUnitType"]
29677
+ name: json2["name"] == null ? undefined : json2["name"],
29678
+ path: json2["path"] == null ? undefined : json2["path"],
29679
+ type: json2["type"] == null ? undefined : ProjectItemTypeFromJSON(json2["type"]),
29680
+ buildableUnitType: json2["buildableUnitType"] == null ? undefined : json2["buildableUnitType"]
29307
29681
  };
29308
29682
  }
29309
29683
 
29310
29684
  // ../sc-sdk/generated/src/models/SolutionProjectDto.ts
29311
- function SolutionProjectDtoFromJSON(json) {
29312
- return SolutionProjectDtoFromJSONTyped(json, false);
29685
+ function SolutionProjectDtoFromJSON(json2) {
29686
+ return SolutionProjectDtoFromJSONTyped(json2, false);
29313
29687
  }
29314
- function SolutionProjectDtoFromJSONTyped(json, ignoreDiscriminator) {
29315
- if (json == null) {
29316
- return json;
29688
+ function SolutionProjectDtoFromJSONTyped(json2, ignoreDiscriminator) {
29689
+ if (json2 == null) {
29690
+ return json2;
29317
29691
  }
29318
29692
  return {
29319
- projectId: json["projectId"] == null ? undefined : json["projectId"],
29320
- type: json["type"] == null ? undefined : json["type"],
29321
- projectRelativePath: json["projectRelativePath"] == null ? undefined : json["projectRelativePath"]
29693
+ projectId: json2["projectId"] == null ? undefined : json2["projectId"],
29694
+ type: json2["type"] == null ? undefined : json2["type"],
29695
+ projectRelativePath: json2["projectRelativePath"] == null ? undefined : json2["projectRelativePath"]
29322
29696
  };
29323
29697
  }
29324
29698
 
29325
29699
  // ../sc-sdk/generated/src/models/SolutionDto.ts
29326
- function SolutionDtoFromJSON(json) {
29327
- return SolutionDtoFromJSONTyped(json, false);
29700
+ function SolutionDtoFromJSON(json2) {
29701
+ return SolutionDtoFromJSONTyped(json2, false);
29328
29702
  }
29329
- function SolutionDtoFromJSONTyped(json, ignoreDiscriminator) {
29330
- if (json == null) {
29331
- return json;
29703
+ function SolutionDtoFromJSONTyped(json2, ignoreDiscriminator) {
29704
+ if (json2 == null) {
29705
+ return json2;
29332
29706
  }
29333
29707
  return {
29334
- identifier: json["identifier"] == null ? undefined : json["identifier"],
29335
- connectionIdentifier: json["connectionIdentifier"] == null ? undefined : json["connectionIdentifier"],
29336
- name: json["name"] == null ? undefined : json["name"],
29337
- path: json["path"] == null ? undefined : json["path"],
29338
- version: json["version"] == null ? undefined : json["version"],
29339
- solutionId: json["solutionId"] == null ? undefined : json["solutionId"],
29340
- lastUpdated: json["lastUpdated"] == null ? undefined : new Date(json["lastUpdated"]),
29341
- repository: json["repository"] == null ? undefined : RepositoryDtoFromJSON(json["repository"]),
29342
- projects: json["projects"] == null ? undefined : json["projects"].map(SolutionProjectDtoFromJSON)
29708
+ identifier: json2["identifier"] == null ? undefined : json2["identifier"],
29709
+ connectionIdentifier: json2["connectionIdentifier"] == null ? undefined : json2["connectionIdentifier"],
29710
+ name: json2["name"] == null ? undefined : json2["name"],
29711
+ path: json2["path"] == null ? undefined : json2["path"],
29712
+ version: json2["version"] == null ? undefined : json2["version"],
29713
+ solutionId: json2["solutionId"] == null ? undefined : json2["solutionId"],
29714
+ lastUpdated: json2["lastUpdated"] == null ? undefined : new Date(json2["lastUpdated"]),
29715
+ repository: json2["repository"] == null ? undefined : RepositoryDtoFromJSON(json2["repository"]),
29716
+ projects: json2["projects"] == null ? undefined : json2["projects"].map(SolutionProjectDtoFromJSON)
29343
29717
  };
29344
29718
  }
29345
29719
 
29346
29720
  // ../sc-sdk/generated/src/models/SolutionDtoPagedResult.ts
29347
- function SolutionDtoPagedResultFromJSON(json) {
29348
- return SolutionDtoPagedResultFromJSONTyped(json, false);
29721
+ function SolutionDtoPagedResultFromJSON(json2) {
29722
+ return SolutionDtoPagedResultFromJSONTyped(json2, false);
29349
29723
  }
29350
- function SolutionDtoPagedResultFromJSONTyped(json, ignoreDiscriminator) {
29351
- if (json == null) {
29352
- return json;
29724
+ function SolutionDtoPagedResultFromJSONTyped(json2, ignoreDiscriminator) {
29725
+ if (json2 == null) {
29726
+ return json2;
29353
29727
  }
29354
29728
  return {
29355
- totalCount: json["totalCount"] == null ? undefined : json["totalCount"],
29356
- result: json["result"] == null ? undefined : json["result"].map(SolutionDtoFromJSON)
29729
+ totalCount: json2["totalCount"] == null ? undefined : json2["totalCount"],
29730
+ result: json2["result"] == null ? undefined : json2["result"].map(SolutionDtoFromJSON)
29357
29731
  };
29358
29732
  }
29359
29733
 
@@ -30836,12 +31210,12 @@ var loadEnvFileAsync = async ({ envPath }) => {
30836
31210
  var saveEnvFileAsync = async ({
30837
31211
  envPath,
30838
31212
  data,
30839
- merge = true
31213
+ merge: merge2 = true
30840
31214
  }) => {
30841
31215
  const fs7 = getFileSystem();
30842
31216
  const absolutePath = fs7.path.isAbsolute(envPath) ? envPath : fs7.path.join(fs7.env.homedir(), envPath);
30843
31217
  let existingData = {};
30844
- if (merge && await fs7.exists(absolutePath)) {
31218
+ if (merge2 && await fs7.exists(absolutePath)) {
30845
31219
  try {
30846
31220
  existingData = await loadEnvFileAsync({ envPath: absolutePath });
30847
31221
  } catch {}
@@ -31717,32 +32091,32 @@ var SDK_USER_AGENT2 = getSdkUserAgentToken(package_default3);
31717
32091
  installSdkUserAgentHeader(BaseAPI2, SDK_USER_AGENT2);
31718
32092
 
31719
32093
  // ../cicd-sdk/generated/src/models/AccessTokenDto.ts
31720
- function AccessTokenDtoFromJSON(json) {
31721
- return AccessTokenDtoFromJSONTyped(json, false);
32094
+ function AccessTokenDtoFromJSON(json2) {
32095
+ return AccessTokenDtoFromJSONTyped(json2, false);
31722
32096
  }
31723
- function AccessTokenDtoFromJSONTyped(json, ignoreDiscriminator) {
31724
- if (json == null) {
31725
- return json;
32097
+ function AccessTokenDtoFromJSONTyped(json2, ignoreDiscriminator) {
32098
+ if (json2 == null) {
32099
+ return json2;
31726
32100
  }
31727
32101
  return {
31728
- token: json["token"] == null ? undefined : json["token"]
32102
+ token: json2["token"] == null ? undefined : json2["token"]
31729
32103
  };
31730
32104
  }
31731
32105
 
31732
32106
  // ../cicd-sdk/generated/src/models/PipelineRunMode.ts
31733
- function PipelineRunModeFromJSON(json) {
31734
- return PipelineRunModeFromJSONTyped(json, false);
32107
+ function PipelineRunModeFromJSON(json2) {
32108
+ return PipelineRunModeFromJSONTyped(json2, false);
31735
32109
  }
31736
- function PipelineRunModeFromJSONTyped(json, ignoreDiscriminator) {
31737
- return json;
32110
+ function PipelineRunModeFromJSONTyped(json2, ignoreDiscriminator) {
32111
+ return json2;
31738
32112
  }
31739
32113
  function PipelineRunModeToJSON(value) {
31740
32114
  return value;
31741
32115
  }
31742
32116
 
31743
32117
  // ../cicd-sdk/generated/src/models/EditPipelineDto.ts
31744
- function EditPipelineDtoToJSON(json) {
31745
- return EditPipelineDtoToJSONTyped(json, false);
32118
+ function EditPipelineDtoToJSON(json2) {
32119
+ return EditPipelineDtoToJSONTyped(json2, false);
31746
32120
  }
31747
32121
  function EditPipelineDtoToJSONTyped(value, ignoreDiscriminator = false) {
31748
32122
  if (value == null) {
@@ -31758,76 +32132,76 @@ function EditPipelineDtoToJSONTyped(value, ignoreDiscriminator = false) {
31758
32132
  }
31759
32133
 
31760
32134
  // ../cicd-sdk/generated/src/models/JobState.ts
31761
- function JobStateFromJSON(json) {
31762
- return JobStateFromJSONTyped(json, false);
32135
+ function JobStateFromJSON(json2) {
32136
+ return JobStateFromJSONTyped(json2, false);
31763
32137
  }
31764
- function JobStateFromJSONTyped(json, ignoreDiscriminator) {
31765
- return json;
32138
+ function JobStateFromJSONTyped(json2, ignoreDiscriminator) {
32139
+ return json2;
31766
32140
  }
31767
32141
 
31768
32142
  // ../cicd-sdk/generated/src/models/Robot.ts
31769
- function RobotFromJSON(json) {
31770
- return RobotFromJSONTyped(json, false);
32143
+ function RobotFromJSON(json2) {
32144
+ return RobotFromJSONTyped(json2, false);
31771
32145
  }
31772
- function RobotFromJSONTyped(json, ignoreDiscriminator) {
31773
- if (json == null) {
31774
- return json;
32146
+ function RobotFromJSONTyped(json2, ignoreDiscriminator) {
32147
+ if (json2 == null) {
32148
+ return json2;
31775
32149
  }
31776
32150
  return {
31777
- name: json["name"] == null ? undefined : json["name"]
32151
+ name: json2["name"] == null ? undefined : json2["name"]
31778
32152
  };
31779
32153
  }
31780
32154
 
31781
32155
  // ../cicd-sdk/generated/src/models/Machine.ts
31782
- function MachineFromJSON(json) {
31783
- return MachineFromJSONTyped(json, false);
32156
+ function MachineFromJSON(json2) {
32157
+ return MachineFromJSONTyped(json2, false);
31784
32158
  }
31785
- function MachineFromJSONTyped(json, ignoreDiscriminator) {
31786
- if (json == null) {
31787
- return json;
32159
+ function MachineFromJSONTyped(json2, ignoreDiscriminator) {
32160
+ if (json2 == null) {
32161
+ return json2;
31788
32162
  }
31789
32163
  return {
31790
- name: json["name"] == null ? undefined : json["name"]
32164
+ name: json2["name"] == null ? undefined : json2["name"]
31791
32165
  };
31792
32166
  }
31793
32167
 
31794
32168
  // ../cicd-sdk/generated/src/models/Release.ts
31795
- function ReleaseFromJSON(json) {
31796
- return ReleaseFromJSONTyped(json, false);
32169
+ function ReleaseFromJSON(json2) {
32170
+ return ReleaseFromJSONTyped(json2, false);
31797
32171
  }
31798
- function ReleaseFromJSONTyped(json, ignoreDiscriminator) {
31799
- if (json == null) {
31800
- return json;
32172
+ function ReleaseFromJSONTyped(json2, ignoreDiscriminator) {
32173
+ if (json2 == null) {
32174
+ return json2;
31801
32175
  }
31802
32176
  return {
31803
- key: json["key"] == null ? undefined : json["key"],
31804
- name: json["name"] == null ? undefined : json["name"],
31805
- processKey: json["processKey"] == null ? undefined : json["processKey"],
31806
- processVersion: json["processVersion"] == null ? undefined : json["processVersion"]
32177
+ key: json2["key"] == null ? undefined : json2["key"],
32178
+ name: json2["name"] == null ? undefined : json2["name"],
32179
+ processKey: json2["processKey"] == null ? undefined : json2["processKey"],
32180
+ processVersion: json2["processVersion"] == null ? undefined : json2["processVersion"]
31807
32181
  };
31808
32182
  }
31809
32183
 
31810
32184
  // ../cicd-sdk/generated/src/models/JobDetailsDto.ts
31811
- function JobDetailsDtoFromJSON(json) {
31812
- return JobDetailsDtoFromJSONTyped(json, false);
32185
+ function JobDetailsDtoFromJSON(json2) {
32186
+ return JobDetailsDtoFromJSONTyped(json2, false);
31813
32187
  }
31814
- function JobDetailsDtoFromJSONTyped(json, ignoreDiscriminator) {
31815
- if (json == null) {
31816
- return json;
32188
+ function JobDetailsDtoFromJSONTyped(json2, ignoreDiscriminator) {
32189
+ if (json2 == null) {
32190
+ return json2;
31817
32191
  }
31818
32192
  return {
31819
- key: json["key"] == null ? undefined : json["key"],
31820
- releaseName: json["releaseName"] == null ? undefined : json["releaseName"],
31821
- state: json["state"] == null ? undefined : JobStateFromJSON(json["state"]),
31822
- startTime: json["startTime"] == null ? undefined : new Date(json["startTime"]),
31823
- endTime: json["endTime"] == null ? undefined : new Date(json["endTime"]),
31824
- orchestratorUserIdentity: json["orchestratorUserIdentity"] == null ? undefined : json["orchestratorUserIdentity"],
31825
- hostMachineName: json["hostMachineName"] == null ? undefined : json["hostMachineName"],
31826
- info: json["info"] == null ? undefined : json["info"],
31827
- release: json["release"] == null ? undefined : ReleaseFromJSON(json["release"]),
31828
- robot: json["robot"] == null ? undefined : RobotFromJSON(json["robot"]),
31829
- machine: json["machine"] == null ? undefined : MachineFromJSON(json["machine"]),
31830
- inputArguments: json["inputArguments"] == null ? undefined : json["inputArguments"]
32193
+ key: json2["key"] == null ? undefined : json2["key"],
32194
+ releaseName: json2["releaseName"] == null ? undefined : json2["releaseName"],
32195
+ state: json2["state"] == null ? undefined : JobStateFromJSON(json2["state"]),
32196
+ startTime: json2["startTime"] == null ? undefined : new Date(json2["startTime"]),
32197
+ endTime: json2["endTime"] == null ? undefined : new Date(json2["endTime"]),
32198
+ orchestratorUserIdentity: json2["orchestratorUserIdentity"] == null ? undefined : json2["orchestratorUserIdentity"],
32199
+ hostMachineName: json2["hostMachineName"] == null ? undefined : json2["hostMachineName"],
32200
+ info: json2["info"] == null ? undefined : json2["info"],
32201
+ release: json2["release"] == null ? undefined : ReleaseFromJSON(json2["release"]),
32202
+ robot: json2["robot"] == null ? undefined : RobotFromJSON(json2["robot"]),
32203
+ machine: json2["machine"] == null ? undefined : MachineFromJSON(json2["machine"]),
32204
+ inputArguments: json2["inputArguments"] == null ? undefined : json2["inputArguments"]
31831
32205
  };
31832
32206
  }
31833
32207
 
@@ -31843,42 +32217,42 @@ var PipelineExecutionState = {
31843
32217
  Suspended: "Suspended",
31844
32218
  Resumed: "Resumed"
31845
32219
  };
31846
- function PipelineExecutionStateFromJSON(json) {
31847
- return PipelineExecutionStateFromJSONTyped(json, false);
32220
+ function PipelineExecutionStateFromJSON(json2) {
32221
+ return PipelineExecutionStateFromJSONTyped(json2, false);
31848
32222
  }
31849
- function PipelineExecutionStateFromJSONTyped(json, ignoreDiscriminator) {
31850
- return json;
32223
+ function PipelineExecutionStateFromJSONTyped(json2, ignoreDiscriminator) {
32224
+ return json2;
31851
32225
  }
31852
32226
  function PipelineExecutionStateToJSON(value) {
31853
32227
  return value;
31854
32228
  }
31855
32229
 
31856
32230
  // ../cicd-sdk/generated/src/models/PipelineExecutionDto.ts
31857
- function PipelineExecutionDtoFromJSON(json) {
31858
- return PipelineExecutionDtoFromJSONTyped(json, false);
32231
+ function PipelineExecutionDtoFromJSON(json2) {
32232
+ return PipelineExecutionDtoFromJSONTyped(json2, false);
31859
32233
  }
31860
- function PipelineExecutionDtoFromJSONTyped(json, ignoreDiscriminator) {
31861
- if (json == null) {
31862
- return json;
32234
+ function PipelineExecutionDtoFromJSONTyped(json2, ignoreDiscriminator) {
32235
+ if (json2 == null) {
32236
+ return json2;
31863
32237
  }
31864
32238
  return {
31865
- identifier: json["identifier"] == null ? undefined : json["identifier"],
31866
- jobExecutionIdentifier: json["jobExecutionIdentifier"] == null ? undefined : json["jobExecutionIdentifier"],
31867
- runMode: json["runMode"] == null ? undefined : PipelineRunModeFromJSON(json["runMode"]),
31868
- commitReference: json["commitReference"] == null ? undefined : json["commitReference"],
31869
- commitMessage: json["commitMessage"] == null ? undefined : json["commitMessage"],
31870
- userIdentifier: json["userIdentifier"] == null ? undefined : json["userIdentifier"],
31871
- userFirstName: json["userFirstName"] == null ? undefined : json["userFirstName"],
31872
- userLastName: json["userLastName"] == null ? undefined : json["userLastName"],
31873
- enqueueDate: json["enqueueDate"] == null ? undefined : new Date(json["enqueueDate"]),
31874
- endDate: json["endDate"] == null ? undefined : new Date(json["endDate"]),
31875
- state: json["state"] == null ? undefined : PipelineExecutionStateFromJSON(json["state"]),
31876
- failureCode: json["failureCode"] == null ? undefined : json["failureCode"],
31877
- buildNumber: json["buildNumber"] == null ? undefined : json["buildNumber"]
32239
+ identifier: json2["identifier"] == null ? undefined : json2["identifier"],
32240
+ jobExecutionIdentifier: json2["jobExecutionIdentifier"] == null ? undefined : json2["jobExecutionIdentifier"],
32241
+ runMode: json2["runMode"] == null ? undefined : PipelineRunModeFromJSON(json2["runMode"]),
32242
+ commitReference: json2["commitReference"] == null ? undefined : json2["commitReference"],
32243
+ commitMessage: json2["commitMessage"] == null ? undefined : json2["commitMessage"],
32244
+ userIdentifier: json2["userIdentifier"] == null ? undefined : json2["userIdentifier"],
32245
+ userFirstName: json2["userFirstName"] == null ? undefined : json2["userFirstName"],
32246
+ userLastName: json2["userLastName"] == null ? undefined : json2["userLastName"],
32247
+ enqueueDate: json2["enqueueDate"] == null ? undefined : new Date(json2["enqueueDate"]),
32248
+ endDate: json2["endDate"] == null ? undefined : new Date(json2["endDate"]),
32249
+ state: json2["state"] == null ? undefined : PipelineExecutionStateFromJSON(json2["state"]),
32250
+ failureCode: json2["failureCode"] == null ? undefined : json2["failureCode"],
32251
+ buildNumber: json2["buildNumber"] == null ? undefined : json2["buildNumber"]
31878
32252
  };
31879
32253
  }
31880
- function PipelineExecutionDtoToJSON(json) {
31881
- return PipelineExecutionDtoToJSONTyped(json, false);
32254
+ function PipelineExecutionDtoToJSON(json2) {
32255
+ return PipelineExecutionDtoToJSONTyped(json2, false);
31882
32256
  }
31883
32257
  function PipelineExecutionDtoToJSONTyped(value, ignoreDiscriminator = false) {
31884
32258
  if (value == null) {
@@ -31902,33 +32276,33 @@ function PipelineExecutionDtoToJSONTyped(value, ignoreDiscriminator = false) {
31902
32276
  }
31903
32277
 
31904
32278
  // ../cicd-sdk/generated/src/models/PipelineDto.ts
31905
- function PipelineDtoFromJSON(json) {
31906
- return PipelineDtoFromJSONTyped(json, false);
32279
+ function PipelineDtoFromJSON(json2) {
32280
+ return PipelineDtoFromJSONTyped(json2, false);
31907
32281
  }
31908
- function PipelineDtoFromJSONTyped(json, ignoreDiscriminator) {
31909
- if (json == null) {
31910
- return json;
32282
+ function PipelineDtoFromJSONTyped(json2, ignoreDiscriminator) {
32283
+ if (json2 == null) {
32284
+ return json2;
31911
32285
  }
31912
32286
  return {
31913
- identifier: json["identifier"] == null ? undefined : json["identifier"],
31914
- name: json["name"] == null ? undefined : json["name"],
31915
- runMode: json["runMode"] == null ? undefined : PipelineRunModeFromJSON(json["runMode"]),
31916
- description: json["description"] == null ? undefined : json["description"],
31917
- connectionIdentifier: json["connectionIdentifier"] == null ? undefined : json["connectionIdentifier"],
31918
- repositoryId: json["repositoryId"] == null ? undefined : json["repositoryId"],
31919
- repositoryUrl: json["repositoryUrl"] == null ? undefined : json["repositoryUrl"],
31920
- repositoryName: json["repositoryName"] == null ? undefined : json["repositoryName"],
31921
- repositoryType: json["repositoryType"] == null ? undefined : json["repositoryType"],
31922
- branch: json["branch"],
31923
- projectName: json["projectName"] == null ? undefined : json["projectName"],
31924
- projectPath: json["projectPath"] == null ? undefined : json["projectPath"],
31925
- processIdentifier: json["processIdentifier"] == null ? undefined : json["processIdentifier"],
31926
- arguments: json["arguments"] == null ? undefined : json["arguments"],
31927
- latestPipelineExecution: json["latestPipelineExecution"] == null ? undefined : PipelineExecutionDtoFromJSON(json["latestPipelineExecution"])
32287
+ identifier: json2["identifier"] == null ? undefined : json2["identifier"],
32288
+ name: json2["name"] == null ? undefined : json2["name"],
32289
+ runMode: json2["runMode"] == null ? undefined : PipelineRunModeFromJSON(json2["runMode"]),
32290
+ description: json2["description"] == null ? undefined : json2["description"],
32291
+ connectionIdentifier: json2["connectionIdentifier"] == null ? undefined : json2["connectionIdentifier"],
32292
+ repositoryId: json2["repositoryId"] == null ? undefined : json2["repositoryId"],
32293
+ repositoryUrl: json2["repositoryUrl"] == null ? undefined : json2["repositoryUrl"],
32294
+ repositoryName: json2["repositoryName"] == null ? undefined : json2["repositoryName"],
32295
+ repositoryType: json2["repositoryType"] == null ? undefined : json2["repositoryType"],
32296
+ branch: json2["branch"],
32297
+ projectName: json2["projectName"] == null ? undefined : json2["projectName"],
32298
+ projectPath: json2["projectPath"] == null ? undefined : json2["projectPath"],
32299
+ processIdentifier: json2["processIdentifier"] == null ? undefined : json2["processIdentifier"],
32300
+ arguments: json2["arguments"] == null ? undefined : json2["arguments"],
32301
+ latestPipelineExecution: json2["latestPipelineExecution"] == null ? undefined : PipelineExecutionDtoFromJSON(json2["latestPipelineExecution"])
31928
32302
  };
31929
32303
  }
31930
- function PipelineDtoToJSON(json) {
31931
- return PipelineDtoToJSONTyped(json, false);
32304
+ function PipelineDtoToJSON(json2) {
32305
+ return PipelineDtoToJSONTyped(json2, false);
31932
32306
  }
31933
32307
  function PipelineDtoToJSONTyped(value, ignoreDiscriminator = false) {
31934
32308
  if (value == null) {
@@ -31954,141 +32328,141 @@ function PipelineDtoToJSONTyped(value, ignoreDiscriminator = false) {
31954
32328
  }
31955
32329
 
31956
32330
  // ../cicd-sdk/generated/src/models/PipelineDtoLoadMoreResult.ts
31957
- function PipelineDtoLoadMoreResultFromJSON(json) {
31958
- return PipelineDtoLoadMoreResultFromJSONTyped(json, false);
32331
+ function PipelineDtoLoadMoreResultFromJSON(json2) {
32332
+ return PipelineDtoLoadMoreResultFromJSONTyped(json2, false);
31959
32333
  }
31960
- function PipelineDtoLoadMoreResultFromJSONTyped(json, ignoreDiscriminator) {
31961
- if (json == null) {
31962
- return json;
32334
+ function PipelineDtoLoadMoreResultFromJSONTyped(json2, ignoreDiscriminator) {
32335
+ if (json2 == null) {
32336
+ return json2;
31963
32337
  }
31964
32338
  return {
31965
- isLastBatch: json["isLastBatch"] == null ? undefined : json["isLastBatch"],
31966
- result: json["result"] == null ? undefined : json["result"].map(PipelineDtoFromJSON),
31967
- totalCount: json["totalCount"] == null ? undefined : json["totalCount"],
31968
- pageIndex: json["pageIndex"] == null ? undefined : json["pageIndex"]
32339
+ isLastBatch: json2["isLastBatch"] == null ? undefined : json2["isLastBatch"],
32340
+ result: json2["result"] == null ? undefined : json2["result"].map(PipelineDtoFromJSON),
32341
+ totalCount: json2["totalCount"] == null ? undefined : json2["totalCount"],
32342
+ pageIndex: json2["pageIndex"] == null ? undefined : json2["pageIndex"]
31969
32343
  };
31970
32344
  }
31971
32345
 
31972
32346
  // ../cicd-sdk/generated/src/models/PipelineDtoPagedResult.ts
31973
- function PipelineDtoPagedResultFromJSON(json) {
31974
- return PipelineDtoPagedResultFromJSONTyped(json, false);
32347
+ function PipelineDtoPagedResultFromJSON(json2) {
32348
+ return PipelineDtoPagedResultFromJSONTyped(json2, false);
31975
32349
  }
31976
- function PipelineDtoPagedResultFromJSONTyped(json, ignoreDiscriminator) {
31977
- if (json == null) {
31978
- return json;
32350
+ function PipelineDtoPagedResultFromJSONTyped(json2, ignoreDiscriminator) {
32351
+ if (json2 == null) {
32352
+ return json2;
31979
32353
  }
31980
32354
  return {
31981
- totalCount: json["totalCount"] == null ? undefined : json["totalCount"],
31982
- result: json["result"] == null ? undefined : json["result"].map(PipelineDtoFromJSON)
32355
+ totalCount: json2["totalCount"] == null ? undefined : json2["totalCount"],
32356
+ result: json2["result"] == null ? undefined : json2["result"].map(PipelineDtoFromJSON)
31983
32357
  };
31984
32358
  }
31985
32359
 
31986
32360
  // ../cicd-sdk/generated/src/models/PipelineExecutionDtoLoadMoreResult.ts
31987
- function PipelineExecutionDtoLoadMoreResultFromJSON(json) {
31988
- return PipelineExecutionDtoLoadMoreResultFromJSONTyped(json, false);
32361
+ function PipelineExecutionDtoLoadMoreResultFromJSON(json2) {
32362
+ return PipelineExecutionDtoLoadMoreResultFromJSONTyped(json2, false);
31989
32363
  }
31990
- function PipelineExecutionDtoLoadMoreResultFromJSONTyped(json, ignoreDiscriminator) {
31991
- if (json == null) {
31992
- return json;
32364
+ function PipelineExecutionDtoLoadMoreResultFromJSONTyped(json2, ignoreDiscriminator) {
32365
+ if (json2 == null) {
32366
+ return json2;
31993
32367
  }
31994
32368
  return {
31995
- isLastBatch: json["isLastBatch"] == null ? undefined : json["isLastBatch"],
31996
- result: json["result"] == null ? undefined : json["result"].map(PipelineExecutionDtoFromJSON),
31997
- totalCount: json["totalCount"] == null ? undefined : json["totalCount"],
31998
- pageIndex: json["pageIndex"] == null ? undefined : json["pageIndex"]
32369
+ isLastBatch: json2["isLastBatch"] == null ? undefined : json2["isLastBatch"],
32370
+ result: json2["result"] == null ? undefined : json2["result"].map(PipelineExecutionDtoFromJSON),
32371
+ totalCount: json2["totalCount"] == null ? undefined : json2["totalCount"],
32372
+ pageIndex: json2["pageIndex"] == null ? undefined : json2["pageIndex"]
31999
32373
  };
32000
32374
  }
32001
32375
 
32002
32376
  // ../cicd-sdk/generated/src/models/PipelineExecutionDtoPagedResult.ts
32003
- function PipelineExecutionDtoPagedResultFromJSON(json) {
32004
- return PipelineExecutionDtoPagedResultFromJSONTyped(json, false);
32377
+ function PipelineExecutionDtoPagedResultFromJSON(json2) {
32378
+ return PipelineExecutionDtoPagedResultFromJSONTyped(json2, false);
32005
32379
  }
32006
- function PipelineExecutionDtoPagedResultFromJSONTyped(json, ignoreDiscriminator) {
32007
- if (json == null) {
32008
- return json;
32380
+ function PipelineExecutionDtoPagedResultFromJSONTyped(json2, ignoreDiscriminator) {
32381
+ if (json2 == null) {
32382
+ return json2;
32009
32383
  }
32010
32384
  return {
32011
- totalCount: json["totalCount"] == null ? undefined : json["totalCount"],
32012
- result: json["result"] == null ? undefined : json["result"].map(PipelineExecutionDtoFromJSON)
32385
+ totalCount: json2["totalCount"] == null ? undefined : json2["totalCount"],
32386
+ result: json2["result"] == null ? undefined : json2["result"].map(PipelineExecutionDtoFromJSON)
32013
32387
  };
32014
32388
  }
32015
32389
 
32016
32390
  // ../cicd-sdk/generated/src/models/PipelineProcessDto.ts
32017
- function PipelineProcessDtoFromJSON(json) {
32018
- return PipelineProcessDtoFromJSONTyped(json, false);
32391
+ function PipelineProcessDtoFromJSON(json2) {
32392
+ return PipelineProcessDtoFromJSONTyped(json2, false);
32019
32393
  }
32020
- function PipelineProcessDtoFromJSONTyped(json, ignoreDiscriminator) {
32021
- if (json == null) {
32022
- return json;
32394
+ function PipelineProcessDtoFromJSONTyped(json2, ignoreDiscriminator) {
32395
+ if (json2 == null) {
32396
+ return json2;
32023
32397
  }
32024
32398
  return {
32025
- identifier: json["identifier"] == null ? undefined : json["identifier"],
32026
- name: json["name"] == null ? undefined : json["name"],
32027
- description: json["description"] == null ? undefined : json["description"],
32028
- arguments: json["arguments"] == null ? undefined : json["arguments"],
32029
- inputArguments: json["inputArguments"] == null ? undefined : json["inputArguments"],
32030
- packageIdentifier: json["packageIdentifier"] == null ? undefined : json["packageIdentifier"],
32031
- packageVersion: json["packageVersion"] == null ? undefined : json["packageVersion"],
32032
- feedId: json["feedId"] == null ? undefined : json["feedId"]
32399
+ identifier: json2["identifier"] == null ? undefined : json2["identifier"],
32400
+ name: json2["name"] == null ? undefined : json2["name"],
32401
+ description: json2["description"] == null ? undefined : json2["description"],
32402
+ arguments: json2["arguments"] == null ? undefined : json2["arguments"],
32403
+ inputArguments: json2["inputArguments"] == null ? undefined : json2["inputArguments"],
32404
+ packageIdentifier: json2["packageIdentifier"] == null ? undefined : json2["packageIdentifier"],
32405
+ packageVersion: json2["packageVersion"] == null ? undefined : json2["packageVersion"],
32406
+ feedId: json2["feedId"] == null ? undefined : json2["feedId"]
32033
32407
  };
32034
32408
  }
32035
32409
 
32036
32410
  // ../cicd-sdk/generated/src/models/PipelineRepoDto.ts
32037
- function PipelineRepoDtoFromJSON(json) {
32038
- return PipelineRepoDtoFromJSONTyped(json, false);
32411
+ function PipelineRepoDtoFromJSON(json2) {
32412
+ return PipelineRepoDtoFromJSONTyped(json2, false);
32039
32413
  }
32040
- function PipelineRepoDtoFromJSONTyped(json, ignoreDiscriminator) {
32041
- if (json == null) {
32042
- return json;
32414
+ function PipelineRepoDtoFromJSONTyped(json2, ignoreDiscriminator) {
32415
+ if (json2 == null) {
32416
+ return json2;
32043
32417
  }
32044
32418
  return {
32045
- id: json["id"] == null ? undefined : json["id"],
32046
- name: json["name"] == null ? undefined : json["name"]
32419
+ id: json2["id"] == null ? undefined : json2["id"],
32420
+ name: json2["name"] == null ? undefined : json2["name"]
32047
32421
  };
32048
32422
  }
32049
32423
 
32050
32424
  // ../cicd-sdk/generated/src/models/PipelinesStateDto.ts
32051
- function PipelinesStateDtoFromJSON(json) {
32052
- return PipelinesStateDtoFromJSONTyped(json, false);
32425
+ function PipelinesStateDtoFromJSON(json2) {
32426
+ return PipelinesStateDtoFromJSONTyped(json2, false);
32053
32427
  }
32054
- function PipelinesStateDtoFromJSONTyped(json, ignoreDiscriminator) {
32055
- if (json == null) {
32056
- return json;
32428
+ function PipelinesStateDtoFromJSONTyped(json2, ignoreDiscriminator) {
32429
+ if (json2 == null) {
32430
+ return json2;
32057
32431
  }
32058
32432
  return {
32059
- pipelinesTotalCount: json["pipelinesTotalCount"] == null ? undefined : json["pipelinesTotalCount"],
32060
- validConnectionsIdentifiers: json["validConnectionsIdentifiers"] == null ? undefined : json["validConnectionsIdentifiers"],
32061
- validRepositoriesIdentifiers: json["validRepositoriesIdentifiers"] == null ? undefined : json["validRepositoriesIdentifiers"],
32062
- invalidRepositoriesIdentifiers: json["invalidRepositoriesIdentifiers"] == null ? undefined : json["invalidRepositoriesIdentifiers"]
32433
+ pipelinesTotalCount: json2["pipelinesTotalCount"] == null ? undefined : json2["pipelinesTotalCount"],
32434
+ validConnectionsIdentifiers: json2["validConnectionsIdentifiers"] == null ? undefined : json2["validConnectionsIdentifiers"],
32435
+ validRepositoriesIdentifiers: json2["validRepositoriesIdentifiers"] == null ? undefined : json2["validRepositoriesIdentifiers"],
32436
+ invalidRepositoriesIdentifiers: json2["invalidRepositoriesIdentifiers"] == null ? undefined : json2["invalidRepositoriesIdentifiers"]
32063
32437
  };
32064
32438
  }
32065
32439
 
32066
32440
  // ../cicd-sdk/generated/src/models/RobotLogDto.ts
32067
- function RobotLogDtoFromJSON(json) {
32068
- return RobotLogDtoFromJSONTyped(json, false);
32441
+ function RobotLogDtoFromJSON(json2) {
32442
+ return RobotLogDtoFromJSONTyped(json2, false);
32069
32443
  }
32070
- function RobotLogDtoFromJSONTyped(json, ignoreDiscriminator) {
32071
- if (json == null) {
32072
- return json;
32444
+ function RobotLogDtoFromJSONTyped(json2, ignoreDiscriminator) {
32445
+ if (json2 == null) {
32446
+ return json2;
32073
32447
  }
32074
32448
  return {
32075
- message: json["message"] == null ? undefined : json["message"]
32449
+ message: json2["message"] == null ? undefined : json2["message"]
32076
32450
  };
32077
32451
  }
32078
32452
 
32079
32453
  // ../cicd-sdk/generated/src/models/RobotLogDtoLoadMoreResult.ts
32080
- function RobotLogDtoLoadMoreResultFromJSON(json) {
32081
- return RobotLogDtoLoadMoreResultFromJSONTyped(json, false);
32454
+ function RobotLogDtoLoadMoreResultFromJSON(json2) {
32455
+ return RobotLogDtoLoadMoreResultFromJSONTyped(json2, false);
32082
32456
  }
32083
- function RobotLogDtoLoadMoreResultFromJSONTyped(json, ignoreDiscriminator) {
32084
- if (json == null) {
32085
- return json;
32457
+ function RobotLogDtoLoadMoreResultFromJSONTyped(json2, ignoreDiscriminator) {
32458
+ if (json2 == null) {
32459
+ return json2;
32086
32460
  }
32087
32461
  return {
32088
- isLastBatch: json["isLastBatch"] == null ? undefined : json["isLastBatch"],
32089
- result: json["result"] == null ? undefined : json["result"].map(RobotLogDtoFromJSON),
32090
- totalCount: json["totalCount"] == null ? undefined : json["totalCount"],
32091
- pageIndex: json["pageIndex"] == null ? undefined : json["pageIndex"]
32462
+ isLastBatch: json2["isLastBatch"] == null ? undefined : json2["isLastBatch"],
32463
+ result: json2["result"] == null ? undefined : json2["result"].map(RobotLogDtoFromJSON),
32464
+ totalCount: json2["totalCount"] == null ? undefined : json2["totalCount"],
32465
+ pageIndex: json2["pageIndex"] == null ? undefined : json2["pageIndex"]
32092
32466
  };
32093
32467
  }
32094
32468
 
@@ -34000,9 +34374,9 @@ init_src();
34000
34374
  var writeJsonFile = async (path3, data) => {
34001
34375
  const fs7 = getFileSystem();
34002
34376
  const absolutePath = fs7.path.resolve(path3);
34003
- const json = `${JSON.stringify(data, null, 2)}
34377
+ const json2 = `${JSON.stringify(data, null, 2)}
34004
34378
  `;
34005
- const [err] = await catchError(fs7.writeFile(absolutePath, json));
34379
+ const [err] = await catchError(fs7.writeFile(absolutePath, json2));
34006
34380
  if (err) {
34007
34381
  OutputFormatter.error({
34008
34382
  Result: RESULTS.Failure,
@@ -35440,4 +35814,4 @@ export {
35440
35814
  metadata
35441
35815
  };
35442
35816
 
35443
- //# debugId=3F95EE204AA7441064756E2164756E21
35817
+ //# debugId=431695652DA9905964756E2164756E21