@nsshunt/stsfhirclient 1.1.20 → 1.1.22

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.
@@ -1799,7 +1799,7 @@ function createPacketDecoderStream(maxPayload, binaryType) {
1799
1799
  }
1800
1800
  });
1801
1801
  }
1802
- const protocol$1 = 4;
1802
+ const protocol = 4;
1803
1803
  const nextTick = (() => {
1804
1804
  const isPromiseAvailable = typeof Promise === "function" && typeof Promise.resolve === "function";
1805
1805
  if (isPromiseAvailable) {
@@ -2003,7 +2003,7 @@ class Transport extends componentEmitter.Emitter {
2003
2003
  return hostname.indexOf(":") === -1 ? hostname : "[" + hostname + "]";
2004
2004
  }
2005
2005
  _port() {
2006
- if (this.opts.port && (this.opts.secure && Number(this.opts.port !== 443) || !this.opts.secure && Number(this.opts.port) !== 80)) {
2006
+ if (this.opts.port && (this.opts.secure && Number(this.opts.port) !== 443 || !this.opts.secure && Number(this.opts.port) !== 80)) {
2007
2007
  return ":" + this.opts.port;
2008
2008
  } else {
2009
2009
  return "";
@@ -2707,7 +2707,7 @@ class SocketWithoutUpgrade extends componentEmitter.Emitter {
2707
2707
  */
2708
2708
  createTransport(name) {
2709
2709
  const query = Object.assign({}, this.opts.query);
2710
- query.EIO = protocol$1;
2710
+ query.EIO = protocol;
2711
2711
  query.transport = name;
2712
2712
  if (this.id)
2713
2713
  query.sid = this.id;
@@ -3036,7 +3036,7 @@ class SocketWithoutUpgrade extends componentEmitter.Emitter {
3036
3036
  }
3037
3037
  }
3038
3038
  }
3039
- SocketWithoutUpgrade.protocol = protocol$1;
3039
+ SocketWithoutUpgrade.protocol = protocol;
3040
3040
  class SocketWithUpgrade extends SocketWithoutUpgrade {
3041
3041
  constructor() {
3042
3042
  super(...arguments);
@@ -3302,14 +3302,18 @@ function _reconstructPacket(data, buffers) {
3302
3302
  }
3303
3303
  const RESERVED_EVENTS$1 = [
3304
3304
  "connect",
3305
+ // used on the client side
3305
3306
  "connect_error",
3307
+ // used on the client side
3306
3308
  "disconnect",
3309
+ // used on both sides
3307
3310
  "disconnecting",
3311
+ // used on the server side
3308
3312
  "newListener",
3313
+ // used by the Node.js EventEmitter
3309
3314
  "removeListener"
3310
3315
  // used by the Node.js EventEmitter
3311
3316
  ];
3312
- const protocol = 5;
3313
3317
  var PacketType;
3314
3318
  (function(PacketType2) {
3315
3319
  PacketType2[PacketType2["CONNECT"] = 0] = "CONNECT";
@@ -3380,9 +3384,6 @@ class Encoder {
3380
3384
  return buffers;
3381
3385
  }
3382
3386
  }
3383
- function isObject(value2) {
3384
- return Object.prototype.toString.call(value2) === "[object Object]";
3385
- }
3386
3387
  class Decoder extends componentEmitter.Emitter {
3387
3388
  /**
3388
3389
  * Decoder constructor
@@ -3554,14 +3555,16 @@ class BinaryReconstructor {
3554
3555
  this.buffers = [];
3555
3556
  }
3556
3557
  }
3558
+ function isObject(value2) {
3559
+ return Object.prototype.toString.call(value2) === "[object Object]";
3560
+ }
3557
3561
  const parser = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3558
3562
  __proto__: null,
3559
3563
  Decoder,
3560
3564
  Encoder,
3561
3565
  get PacketType() {
3562
3566
  return PacketType;
3563
- },
3564
- protocol
3567
+ }
3565
3568
  }, Symbol.toStringTag, { value: "Module" }));
3566
3569
  function on(obj, ev, fn) {
3567
3570
  obj.on(ev, fn);
@@ -8527,17 +8530,17 @@ var hasRequiredCode$1;
8527
8530
  function requireCode$1() {
8528
8531
  if (hasRequiredCode$1) return code$1;
8529
8532
  hasRequiredCode$1 = 1;
8530
- (function(exports2) {
8531
- Object.defineProperty(exports2, "__esModule", { value: true });
8532
- exports2.regexpCode = exports2.getEsmExportName = exports2.getProperty = exports2.safeStringify = exports2.stringify = exports2.strConcat = exports2.addCodeArg = exports2.str = exports2._ = exports2.nil = exports2._Code = exports2.Name = exports2.IDENTIFIER = exports2._CodeOrName = void 0;
8533
+ (function(exports$1) {
8534
+ Object.defineProperty(exports$1, "__esModule", { value: true });
8535
+ exports$1.regexpCode = exports$1.getEsmExportName = exports$1.getProperty = exports$1.safeStringify = exports$1.stringify = exports$1.strConcat = exports$1.addCodeArg = exports$1.str = exports$1._ = exports$1.nil = exports$1._Code = exports$1.Name = exports$1.IDENTIFIER = exports$1._CodeOrName = void 0;
8533
8536
  class _CodeOrName {
8534
8537
  }
8535
- exports2._CodeOrName = _CodeOrName;
8536
- exports2.IDENTIFIER = /^[a-z$_][a-z$_0-9]*$/i;
8538
+ exports$1._CodeOrName = _CodeOrName;
8539
+ exports$1.IDENTIFIER = /^[a-z$_][a-z$_0-9]*$/i;
8537
8540
  class Name extends _CodeOrName {
8538
8541
  constructor(s) {
8539
8542
  super();
8540
- if (!exports2.IDENTIFIER.test(s))
8543
+ if (!exports$1.IDENTIFIER.test(s))
8541
8544
  throw new Error("CodeGen: name must be a valid identifier");
8542
8545
  this.str = s;
8543
8546
  }
@@ -8551,7 +8554,7 @@ function requireCode$1() {
8551
8554
  return { [this.str]: 1 };
8552
8555
  }
8553
8556
  }
8554
- exports2.Name = Name;
8557
+ exports$1.Name = Name;
8555
8558
  class _Code extends _CodeOrName {
8556
8559
  constructor(code2) {
8557
8560
  super();
@@ -8579,8 +8582,8 @@ function requireCode$1() {
8579
8582
  }, {});
8580
8583
  }
8581
8584
  }
8582
- exports2._Code = _Code;
8583
- exports2.nil = new _Code("");
8585
+ exports$1._Code = _Code;
8586
+ exports$1.nil = new _Code("");
8584
8587
  function _(strs, ...args) {
8585
8588
  const code2 = [strs[0]];
8586
8589
  let i = 0;
@@ -8590,7 +8593,7 @@ function requireCode$1() {
8590
8593
  }
8591
8594
  return new _Code(code2);
8592
8595
  }
8593
- exports2._ = _;
8596
+ exports$1._ = _;
8594
8597
  const plus = new _Code("+");
8595
8598
  function str(strs, ...args) {
8596
8599
  const expr = [safeStringify(strs[0])];
@@ -8603,7 +8606,7 @@ function requireCode$1() {
8603
8606
  optimize(expr);
8604
8607
  return new _Code(expr);
8605
8608
  }
8606
- exports2.str = str;
8609
+ exports$1.str = str;
8607
8610
  function addCodeArg(code2, arg) {
8608
8611
  if (arg instanceof _Code)
8609
8612
  code2.push(...arg._items);
@@ -8612,7 +8615,7 @@ function requireCode$1() {
8612
8615
  else
8613
8616
  code2.push(interpolate(arg));
8614
8617
  }
8615
- exports2.addCodeArg = addCodeArg;
8618
+ exports$1.addCodeArg = addCodeArg;
8616
8619
  function optimize(expr) {
8617
8620
  let i = 1;
8618
8621
  while (i < expr.length - 1) {
@@ -8648,33 +8651,33 @@ function requireCode$1() {
8648
8651
  function strConcat(c1, c2) {
8649
8652
  return c2.emptyStr() ? c1 : c1.emptyStr() ? c2 : str`${c1}${c2}`;
8650
8653
  }
8651
- exports2.strConcat = strConcat;
8654
+ exports$1.strConcat = strConcat;
8652
8655
  function interpolate(x) {
8653
8656
  return typeof x == "number" || typeof x == "boolean" || x === null ? x : safeStringify(Array.isArray(x) ? x.join(",") : x);
8654
8657
  }
8655
8658
  function stringify(x) {
8656
8659
  return new _Code(safeStringify(x));
8657
8660
  }
8658
- exports2.stringify = stringify;
8661
+ exports$1.stringify = stringify;
8659
8662
  function safeStringify(x) {
8660
8663
  return JSON.stringify(x).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029");
8661
8664
  }
8662
- exports2.safeStringify = safeStringify;
8665
+ exports$1.safeStringify = safeStringify;
8663
8666
  function getProperty(key) {
8664
- return typeof key == "string" && exports2.IDENTIFIER.test(key) ? new _Code(`.${key}`) : _`[${key}]`;
8667
+ return typeof key == "string" && exports$1.IDENTIFIER.test(key) ? new _Code(`.${key}`) : _`[${key}]`;
8665
8668
  }
8666
- exports2.getProperty = getProperty;
8669
+ exports$1.getProperty = getProperty;
8667
8670
  function getEsmExportName(key) {
8668
- if (typeof key == "string" && exports2.IDENTIFIER.test(key)) {
8671
+ if (typeof key == "string" && exports$1.IDENTIFIER.test(key)) {
8669
8672
  return new _Code(`${key}`);
8670
8673
  }
8671
8674
  throw new Error(`CodeGen: invalid export name: ${key}, use explicit $id name mapping`);
8672
8675
  }
8673
- exports2.getEsmExportName = getEsmExportName;
8676
+ exports$1.getEsmExportName = getEsmExportName;
8674
8677
  function regexpCode(rx) {
8675
8678
  return new _Code(rx.toString());
8676
8679
  }
8677
- exports2.regexpCode = regexpCode;
8680
+ exports$1.regexpCode = regexpCode;
8678
8681
  })(code$1);
8679
8682
  return code$1;
8680
8683
  }
@@ -8683,9 +8686,9 @@ var hasRequiredScope;
8683
8686
  function requireScope() {
8684
8687
  if (hasRequiredScope) return scope;
8685
8688
  hasRequiredScope = 1;
8686
- (function(exports2) {
8687
- Object.defineProperty(exports2, "__esModule", { value: true });
8688
- exports2.ValueScope = exports2.ValueScopeName = exports2.Scope = exports2.varKinds = exports2.UsedValueState = void 0;
8689
+ (function(exports$1) {
8690
+ Object.defineProperty(exports$1, "__esModule", { value: true });
8691
+ exports$1.ValueScope = exports$1.ValueScopeName = exports$1.Scope = exports$1.varKinds = exports$1.UsedValueState = void 0;
8689
8692
  const code_1 = requireCode$1();
8690
8693
  class ValueError extends Error {
8691
8694
  constructor(name) {
@@ -8697,8 +8700,8 @@ function requireScope() {
8697
8700
  (function(UsedValueState2) {
8698
8701
  UsedValueState2[UsedValueState2["Started"] = 0] = "Started";
8699
8702
  UsedValueState2[UsedValueState2["Completed"] = 1] = "Completed";
8700
- })(UsedValueState || (exports2.UsedValueState = UsedValueState = {}));
8701
- exports2.varKinds = {
8703
+ })(UsedValueState || (exports$1.UsedValueState = UsedValueState = {}));
8704
+ exports$1.varKinds = {
8702
8705
  const: new code_1.Name("const"),
8703
8706
  let: new code_1.Name("let"),
8704
8707
  var: new code_1.Name("var")
@@ -8727,7 +8730,7 @@ function requireScope() {
8727
8730
  return this._names[prefix] = { prefix, index: 0 };
8728
8731
  }
8729
8732
  }
8730
- exports2.Scope = Scope;
8733
+ exports$1.Scope = Scope;
8731
8734
  class ValueScopeName extends code_1.Name {
8732
8735
  constructor(prefix, nameStr) {
8733
8736
  super(nameStr);
@@ -8738,7 +8741,7 @@ function requireScope() {
8738
8741
  this.scopePath = (0, code_1._)`.${new code_1.Name(property)}[${itemIndex}]`;
8739
8742
  }
8740
8743
  }
8741
- exports2.ValueScopeName = ValueScopeName;
8744
+ exports$1.ValueScopeName = ValueScopeName;
8742
8745
  const line = (0, code_1._)`\n`;
8743
8746
  class ValueScope extends Scope {
8744
8747
  constructor(opts) {
@@ -8808,7 +8811,7 @@ function requireScope() {
8808
8811
  nameSet.set(name, UsedValueState.Started);
8809
8812
  let c = valueCode(name);
8810
8813
  if (c) {
8811
- const def = this.opts.es5 ? exports2.varKinds.var : exports2.varKinds.const;
8814
+ const def = this.opts.es5 ? exports$1.varKinds.var : exports$1.varKinds.const;
8812
8815
  code2 = (0, code_1._)`${code2}${def} ${name} = ${c};${this.opts._n}`;
8813
8816
  } else if (c = getCode === null || getCode === void 0 ? void 0 : getCode(name)) {
8814
8817
  code2 = (0, code_1._)`${code2}${c}${this.opts._n}`;
@@ -8821,7 +8824,7 @@ function requireScope() {
8821
8824
  return code2;
8822
8825
  }
8823
8826
  }
8824
- exports2.ValueScope = ValueScope;
8827
+ exports$1.ValueScope = ValueScope;
8825
8828
  })(scope);
8826
8829
  return scope;
8827
8830
  }
@@ -8829,50 +8832,50 @@ var hasRequiredCodegen;
8829
8832
  function requireCodegen() {
8830
8833
  if (hasRequiredCodegen) return codegen;
8831
8834
  hasRequiredCodegen = 1;
8832
- (function(exports2) {
8833
- Object.defineProperty(exports2, "__esModule", { value: true });
8834
- exports2.or = exports2.and = exports2.not = exports2.CodeGen = exports2.operators = exports2.varKinds = exports2.ValueScopeName = exports2.ValueScope = exports2.Scope = exports2.Name = exports2.regexpCode = exports2.stringify = exports2.getProperty = exports2.nil = exports2.strConcat = exports2.str = exports2._ = void 0;
8835
+ (function(exports$1) {
8836
+ Object.defineProperty(exports$1, "__esModule", { value: true });
8837
+ exports$1.or = exports$1.and = exports$1.not = exports$1.CodeGen = exports$1.operators = exports$1.varKinds = exports$1.ValueScopeName = exports$1.ValueScope = exports$1.Scope = exports$1.Name = exports$1.regexpCode = exports$1.stringify = exports$1.getProperty = exports$1.nil = exports$1.strConcat = exports$1.str = exports$1._ = void 0;
8835
8838
  const code_1 = requireCode$1();
8836
8839
  const scope_1 = requireScope();
8837
8840
  var code_2 = requireCode$1();
8838
- Object.defineProperty(exports2, "_", { enumerable: true, get: function() {
8841
+ Object.defineProperty(exports$1, "_", { enumerable: true, get: function() {
8839
8842
  return code_2._;
8840
8843
  } });
8841
- Object.defineProperty(exports2, "str", { enumerable: true, get: function() {
8844
+ Object.defineProperty(exports$1, "str", { enumerable: true, get: function() {
8842
8845
  return code_2.str;
8843
8846
  } });
8844
- Object.defineProperty(exports2, "strConcat", { enumerable: true, get: function() {
8847
+ Object.defineProperty(exports$1, "strConcat", { enumerable: true, get: function() {
8845
8848
  return code_2.strConcat;
8846
8849
  } });
8847
- Object.defineProperty(exports2, "nil", { enumerable: true, get: function() {
8850
+ Object.defineProperty(exports$1, "nil", { enumerable: true, get: function() {
8848
8851
  return code_2.nil;
8849
8852
  } });
8850
- Object.defineProperty(exports2, "getProperty", { enumerable: true, get: function() {
8853
+ Object.defineProperty(exports$1, "getProperty", { enumerable: true, get: function() {
8851
8854
  return code_2.getProperty;
8852
8855
  } });
8853
- Object.defineProperty(exports2, "stringify", { enumerable: true, get: function() {
8856
+ Object.defineProperty(exports$1, "stringify", { enumerable: true, get: function() {
8854
8857
  return code_2.stringify;
8855
8858
  } });
8856
- Object.defineProperty(exports2, "regexpCode", { enumerable: true, get: function() {
8859
+ Object.defineProperty(exports$1, "regexpCode", { enumerable: true, get: function() {
8857
8860
  return code_2.regexpCode;
8858
8861
  } });
8859
- Object.defineProperty(exports2, "Name", { enumerable: true, get: function() {
8862
+ Object.defineProperty(exports$1, "Name", { enumerable: true, get: function() {
8860
8863
  return code_2.Name;
8861
8864
  } });
8862
8865
  var scope_2 = requireScope();
8863
- Object.defineProperty(exports2, "Scope", { enumerable: true, get: function() {
8866
+ Object.defineProperty(exports$1, "Scope", { enumerable: true, get: function() {
8864
8867
  return scope_2.Scope;
8865
8868
  } });
8866
- Object.defineProperty(exports2, "ValueScope", { enumerable: true, get: function() {
8869
+ Object.defineProperty(exports$1, "ValueScope", { enumerable: true, get: function() {
8867
8870
  return scope_2.ValueScope;
8868
8871
  } });
8869
- Object.defineProperty(exports2, "ValueScopeName", { enumerable: true, get: function() {
8872
+ Object.defineProperty(exports$1, "ValueScopeName", { enumerable: true, get: function() {
8870
8873
  return scope_2.ValueScopeName;
8871
8874
  } });
8872
- Object.defineProperty(exports2, "varKinds", { enumerable: true, get: function() {
8875
+ Object.defineProperty(exports$1, "varKinds", { enumerable: true, get: function() {
8873
8876
  return scope_2.varKinds;
8874
8877
  } });
8875
- exports2.operators = {
8878
+ exports$1.operators = {
8876
8879
  GT: new code_1._Code(">"),
8877
8880
  GTE: new code_1._Code(">="),
8878
8881
  LT: new code_1._Code("<"),
@@ -9285,7 +9288,7 @@ function requireCodegen() {
9285
9288
  }
9286
9289
  // `+=` code
9287
9290
  add(lhs, rhs) {
9288
- return this._leafNode(new AssignOp(lhs, exports2.operators.ADD, rhs));
9291
+ return this._leafNode(new AssignOp(lhs, exports$1.operators.ADD, rhs));
9289
9292
  }
9290
9293
  // appends passed SafeExpr to code or executes Block
9291
9294
  code(c) {
@@ -9485,7 +9488,7 @@ function requireCodegen() {
9485
9488
  ns[ns.length - 1] = node;
9486
9489
  }
9487
9490
  }
9488
- exports2.CodeGen = CodeGen;
9491
+ exports$1.CodeGen = CodeGen;
9489
9492
  function addNames(names2, from) {
9490
9493
  for (const n in from)
9491
9494
  names2[n] = (names2[n] || 0) + (from[n] || 0);
@@ -9526,17 +9529,17 @@ function requireCodegen() {
9526
9529
  function not2(x) {
9527
9530
  return typeof x == "boolean" || typeof x == "number" || x === null ? !x : (0, code_1._)`!${par(x)}`;
9528
9531
  }
9529
- exports2.not = not2;
9530
- const andCode = mappend(exports2.operators.AND);
9532
+ exports$1.not = not2;
9533
+ const andCode = mappend(exports$1.operators.AND);
9531
9534
  function and(...args) {
9532
9535
  return args.reduce(andCode);
9533
9536
  }
9534
- exports2.and = and;
9535
- const orCode = mappend(exports2.operators.OR);
9537
+ exports$1.and = and;
9538
+ const orCode = mappend(exports$1.operators.OR);
9536
9539
  function or(...args) {
9537
9540
  return args.reduce(orCode);
9538
9541
  }
9539
- exports2.or = or;
9542
+ exports$1.or = or;
9540
9543
  function mappend(op) {
9541
9544
  return (x, y) => x === code_1.nil ? y : y === code_1.nil ? x : (0, code_1._)`${par(x)} ${op} ${par(y)}`;
9542
9545
  }
@@ -9756,19 +9759,19 @@ var hasRequiredErrors;
9756
9759
  function requireErrors() {
9757
9760
  if (hasRequiredErrors) return errors;
9758
9761
  hasRequiredErrors = 1;
9759
- (function(exports2) {
9760
- Object.defineProperty(exports2, "__esModule", { value: true });
9761
- exports2.extendErrors = exports2.resetErrorsCount = exports2.reportExtraError = exports2.reportError = exports2.keyword$DataError = exports2.keywordError = void 0;
9762
+ (function(exports$1) {
9763
+ Object.defineProperty(exports$1, "__esModule", { value: true });
9764
+ exports$1.extendErrors = exports$1.resetErrorsCount = exports$1.reportExtraError = exports$1.reportError = exports$1.keyword$DataError = exports$1.keywordError = void 0;
9762
9765
  const codegen_1 = requireCodegen();
9763
9766
  const util_1 = requireUtil();
9764
9767
  const names_1 = requireNames();
9765
- exports2.keywordError = {
9768
+ exports$1.keywordError = {
9766
9769
  message: ({ keyword: keyword2 }) => (0, codegen_1.str)`must pass "${keyword2}" keyword validation`
9767
9770
  };
9768
- exports2.keyword$DataError = {
9771
+ exports$1.keyword$DataError = {
9769
9772
  message: ({ keyword: keyword2, schemaType }) => schemaType ? (0, codegen_1.str)`"${keyword2}" keyword must be ${schemaType} ($data)` : (0, codegen_1.str)`"${keyword2}" keyword is invalid ($data)`
9770
9773
  };
9771
- function reportError(cxt, error = exports2.keywordError, errorPaths, overrideAllErrors) {
9774
+ function reportError(cxt, error = exports$1.keywordError, errorPaths, overrideAllErrors) {
9772
9775
  const { it } = cxt;
9773
9776
  const { gen, compositeRule, allErrors } = it;
9774
9777
  const errObj = errorObjectCode(cxt, error, errorPaths);
@@ -9778,8 +9781,8 @@ function requireErrors() {
9778
9781
  returnErrors(it, (0, codegen_1._)`[${errObj}]`);
9779
9782
  }
9780
9783
  }
9781
- exports2.reportError = reportError;
9782
- function reportExtraError(cxt, error = exports2.keywordError, errorPaths) {
9784
+ exports$1.reportError = reportError;
9785
+ function reportExtraError(cxt, error = exports$1.keywordError, errorPaths) {
9783
9786
  const { it } = cxt;
9784
9787
  const { gen, compositeRule, allErrors } = it;
9785
9788
  const errObj = errorObjectCode(cxt, error, errorPaths);
@@ -9788,12 +9791,12 @@ function requireErrors() {
9788
9791
  returnErrors(it, names_1.default.vErrors);
9789
9792
  }
9790
9793
  }
9791
- exports2.reportExtraError = reportExtraError;
9794
+ exports$1.reportExtraError = reportExtraError;
9792
9795
  function resetErrorsCount(gen, errsCount) {
9793
9796
  gen.assign(names_1.default.errors, errsCount);
9794
9797
  gen.if((0, codegen_1._)`${names_1.default.vErrors} !== null`, () => gen.if(errsCount, () => gen.assign((0, codegen_1._)`${names_1.default.vErrors}.length`, errsCount), () => gen.assign(names_1.default.vErrors, null)));
9795
9798
  }
9796
- exports2.resetErrorsCount = resetErrorsCount;
9799
+ exports$1.resetErrorsCount = resetErrorsCount;
9797
9800
  function extendErrors({ gen, keyword: keyword2, schemaValue, data, errsCount, it }) {
9798
9801
  if (errsCount === void 0)
9799
9802
  throw new Error("ajv implementation error");
@@ -9808,7 +9811,7 @@ function requireErrors() {
9808
9811
  }
9809
9812
  });
9810
9813
  }
9811
- exports2.extendErrors = extendErrors;
9814
+ exports$1.extendErrors = extendErrors;
9812
9815
  function addError(gen, errObj) {
9813
9816
  const err = gen.const("err", errObj);
9814
9817
  gen.if((0, codegen_1._)`${names_1.default.vErrors} === null`, () => gen.assign(names_1.default.vErrors, (0, codegen_1._)`[${err}]`), (0, codegen_1._)`${names_1.default.vErrors}.push(${err})`);
@@ -12327,30 +12330,30 @@ var hasRequiredCore$1;
12327
12330
  function requireCore$1() {
12328
12331
  if (hasRequiredCore$1) return core$1;
12329
12332
  hasRequiredCore$1 = 1;
12330
- (function(exports2) {
12331
- Object.defineProperty(exports2, "__esModule", { value: true });
12332
- exports2.CodeGen = exports2.Name = exports2.nil = exports2.stringify = exports2.str = exports2._ = exports2.KeywordCxt = void 0;
12333
+ (function(exports$1) {
12334
+ Object.defineProperty(exports$1, "__esModule", { value: true });
12335
+ exports$1.CodeGen = exports$1.Name = exports$1.nil = exports$1.stringify = exports$1.str = exports$1._ = exports$1.KeywordCxt = void 0;
12333
12336
  var validate_1 = requireValidate();
12334
- Object.defineProperty(exports2, "KeywordCxt", { enumerable: true, get: function() {
12337
+ Object.defineProperty(exports$1, "KeywordCxt", { enumerable: true, get: function() {
12335
12338
  return validate_1.KeywordCxt;
12336
12339
  } });
12337
12340
  var codegen_1 = requireCodegen();
12338
- Object.defineProperty(exports2, "_", { enumerable: true, get: function() {
12341
+ Object.defineProperty(exports$1, "_", { enumerable: true, get: function() {
12339
12342
  return codegen_1._;
12340
12343
  } });
12341
- Object.defineProperty(exports2, "str", { enumerable: true, get: function() {
12344
+ Object.defineProperty(exports$1, "str", { enumerable: true, get: function() {
12342
12345
  return codegen_1.str;
12343
12346
  } });
12344
- Object.defineProperty(exports2, "stringify", { enumerable: true, get: function() {
12347
+ Object.defineProperty(exports$1, "stringify", { enumerable: true, get: function() {
12345
12348
  return codegen_1.stringify;
12346
12349
  } });
12347
- Object.defineProperty(exports2, "nil", { enumerable: true, get: function() {
12350
+ Object.defineProperty(exports$1, "nil", { enumerable: true, get: function() {
12348
12351
  return codegen_1.nil;
12349
12352
  } });
12350
- Object.defineProperty(exports2, "Name", { enumerable: true, get: function() {
12353
+ Object.defineProperty(exports$1, "Name", { enumerable: true, get: function() {
12351
12354
  return codegen_1.Name;
12352
12355
  } });
12353
- Object.defineProperty(exports2, "CodeGen", { enumerable: true, get: function() {
12356
+ Object.defineProperty(exports$1, "CodeGen", { enumerable: true, get: function() {
12354
12357
  return codegen_1.CodeGen;
12355
12358
  } });
12356
12359
  const validation_error_1 = requireValidation_error();
@@ -12804,7 +12807,7 @@ function requireCore$1() {
12804
12807
  }
12805
12808
  Ajv2.ValidationError = validation_error_1.default;
12806
12809
  Ajv2.MissingRefError = ref_error_1.default;
12807
- exports2.default = Ajv2;
12810
+ exports$1.default = Ajv2;
12808
12811
  function checkOptions(checkOpts, options, msg, log = "error") {
12809
12812
  for (const key in checkOpts) {
12810
12813
  const opt = key;
@@ -13836,13 +13839,13 @@ var hasRequiredDependencies;
13836
13839
  function requireDependencies() {
13837
13840
  if (hasRequiredDependencies) return dependencies;
13838
13841
  hasRequiredDependencies = 1;
13839
- (function(exports2) {
13840
- Object.defineProperty(exports2, "__esModule", { value: true });
13841
- exports2.validateSchemaDeps = exports2.validatePropertyDeps = exports2.error = void 0;
13842
+ (function(exports$1) {
13843
+ Object.defineProperty(exports$1, "__esModule", { value: true });
13844
+ exports$1.validateSchemaDeps = exports$1.validatePropertyDeps = exports$1.error = void 0;
13842
13845
  const codegen_1 = requireCodegen();
13843
13846
  const util_1 = requireUtil();
13844
13847
  const code_1 = requireCode();
13845
- exports2.error = {
13848
+ exports$1.error = {
13846
13849
  message: ({ params: { property, depsCount, deps } }) => {
13847
13850
  const property_ies = depsCount === 1 ? "property" : "properties";
13848
13851
  return (0, codegen_1.str)`must have ${property_ies} ${deps} when property ${property} is present`;
@@ -13857,7 +13860,7 @@ function requireDependencies() {
13857
13860
  keyword: "dependencies",
13858
13861
  type: "object",
13859
13862
  schemaType: "object",
13860
- error: exports2.error,
13863
+ error: exports$1.error,
13861
13864
  code(cxt) {
13862
13865
  const [propDeps, schDeps] = splitDependencies(cxt);
13863
13866
  validatePropertyDeps(cxt, propDeps);
@@ -13903,7 +13906,7 @@ function requireDependencies() {
13903
13906
  }
13904
13907
  }
13905
13908
  }
13906
- exports2.validatePropertyDeps = validatePropertyDeps;
13909
+ exports$1.validatePropertyDeps = validatePropertyDeps;
13907
13910
  function validateSchemaDeps(cxt, schemaDeps = cxt.schema) {
13908
13911
  const { gen, data, keyword: keyword2, it } = cxt;
13909
13912
  const valid = gen.name("valid");
@@ -13922,8 +13925,8 @@ function requireDependencies() {
13922
13925
  cxt.ok(valid);
13923
13926
  }
13924
13927
  }
13925
- exports2.validateSchemaDeps = validateSchemaDeps;
13926
- exports2.default = def;
13928
+ exports$1.validateSchemaDeps = validateSchemaDeps;
13929
+ exports$1.default = def;
13927
13930
  })(dependencies);
13928
13931
  return dependencies;
13929
13932
  }
@@ -14758,9 +14761,9 @@ var hasRequiredAjv;
14758
14761
  function requireAjv() {
14759
14762
  if (hasRequiredAjv) return ajv.exports;
14760
14763
  hasRequiredAjv = 1;
14761
- (function(module2, exports2) {
14762
- Object.defineProperty(exports2, "__esModule", { value: true });
14763
- exports2.MissingRefError = exports2.ValidationError = exports2.CodeGen = exports2.Name = exports2.nil = exports2.stringify = exports2.str = exports2._ = exports2.KeywordCxt = exports2.Ajv = void 0;
14764
+ (function(module2, exports$1) {
14765
+ Object.defineProperty(exports$1, "__esModule", { value: true });
14766
+ exports$1.MissingRefError = exports$1.ValidationError = exports$1.CodeGen = exports$1.Name = exports$1.nil = exports$1.stringify = exports$1.str = exports$1._ = exports$1.KeywordCxt = exports$1.Ajv = void 0;
14764
14767
  const core_1 = requireCore$1();
14765
14768
  const draft7_1 = requireDraft7();
14766
14769
  const discriminator_1 = requireDiscriminator();
@@ -14786,40 +14789,40 @@ function requireAjv() {
14786
14789
  return this.opts.defaultMeta = super.defaultMeta() || (this.getSchema(META_SCHEMA_ID) ? META_SCHEMA_ID : void 0);
14787
14790
  }
14788
14791
  }
14789
- exports2.Ajv = Ajv2;
14790
- module2.exports = exports2 = Ajv2;
14792
+ exports$1.Ajv = Ajv2;
14793
+ module2.exports = exports$1 = Ajv2;
14791
14794
  module2.exports.Ajv = Ajv2;
14792
- Object.defineProperty(exports2, "__esModule", { value: true });
14793
- exports2.default = Ajv2;
14795
+ Object.defineProperty(exports$1, "__esModule", { value: true });
14796
+ exports$1.default = Ajv2;
14794
14797
  var validate_1 = requireValidate();
14795
- Object.defineProperty(exports2, "KeywordCxt", { enumerable: true, get: function() {
14798
+ Object.defineProperty(exports$1, "KeywordCxt", { enumerable: true, get: function() {
14796
14799
  return validate_1.KeywordCxt;
14797
14800
  } });
14798
14801
  var codegen_1 = requireCodegen();
14799
- Object.defineProperty(exports2, "_", { enumerable: true, get: function() {
14802
+ Object.defineProperty(exports$1, "_", { enumerable: true, get: function() {
14800
14803
  return codegen_1._;
14801
14804
  } });
14802
- Object.defineProperty(exports2, "str", { enumerable: true, get: function() {
14805
+ Object.defineProperty(exports$1, "str", { enumerable: true, get: function() {
14803
14806
  return codegen_1.str;
14804
14807
  } });
14805
- Object.defineProperty(exports2, "stringify", { enumerable: true, get: function() {
14808
+ Object.defineProperty(exports$1, "stringify", { enumerable: true, get: function() {
14806
14809
  return codegen_1.stringify;
14807
14810
  } });
14808
- Object.defineProperty(exports2, "nil", { enumerable: true, get: function() {
14811
+ Object.defineProperty(exports$1, "nil", { enumerable: true, get: function() {
14809
14812
  return codegen_1.nil;
14810
14813
  } });
14811
- Object.defineProperty(exports2, "Name", { enumerable: true, get: function() {
14814
+ Object.defineProperty(exports$1, "Name", { enumerable: true, get: function() {
14812
14815
  return codegen_1.Name;
14813
14816
  } });
14814
- Object.defineProperty(exports2, "CodeGen", { enumerable: true, get: function() {
14817
+ Object.defineProperty(exports$1, "CodeGen", { enumerable: true, get: function() {
14815
14818
  return codegen_1.CodeGen;
14816
14819
  } });
14817
14820
  var validation_error_1 = requireValidation_error();
14818
- Object.defineProperty(exports2, "ValidationError", { enumerable: true, get: function() {
14821
+ Object.defineProperty(exports$1, "ValidationError", { enumerable: true, get: function() {
14819
14822
  return validation_error_1.default;
14820
14823
  } });
14821
14824
  var ref_error_1 = requireRef_error();
14822
- Object.defineProperty(exports2, "MissingRefError", { enumerable: true, get: function() {
14825
+ Object.defineProperty(exports$1, "MissingRefError", { enumerable: true, get: function() {
14823
14826
  return ref_error_1.default;
14824
14827
  } });
14825
14828
  })(ajv, ajv.exports);