@agent-ix/quoin 0.21.8 → 0.22.5

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 (116) hide show
  1. package/.claude-plugin/plugin.json +1 -1
  2. package/.codex-plugin/plugin.json +1 -1
  3. package/default-modules.yaml +18 -2
  4. package/dist/{advisor-COB2SuIj.js → advisor-BkgwDKvQ.js} +1 -1
  5. package/dist/auditor/audit.d.ts +23 -18
  6. package/dist/auditor/audit.d.ts.map +1 -1
  7. package/dist/auditor/index.d.ts +2 -1
  8. package/dist/auditor/index.d.ts.map +1 -1
  9. package/dist/{auditor-ww0MC62a.js → auditor-C3bSmPD_.js} +82 -65
  10. package/dist/{base-DNieRzIg.js → base-CqKNs2Kd.js} +1 -1
  11. package/dist/cli.js +1 -1
  12. package/dist/commands/advise.js +16 -15
  13. package/dist/commands/assurance.d.ts.map +1 -1
  14. package/dist/commands/assurance.js +84 -61
  15. package/dist/commands/catalog/list.js +2 -2
  16. package/dist/commands/catalog/methods.js +3 -3
  17. package/dist/commands/catalog/show.js +2 -2
  18. package/dist/commands/catalog/validate.js +2 -2
  19. package/dist/commands/completeness.js +2 -2
  20. package/dist/commands/config/doctor.d.ts.map +1 -1
  21. package/dist/commands/config/doctor.js +3 -3
  22. package/dist/commands/config/edit.d.ts.map +1 -1
  23. package/dist/commands/config/edit.js +3 -3
  24. package/dist/commands/config/get.js +1 -1
  25. package/dist/commands/config/set.js +1 -1
  26. package/dist/commands/evidence/affirm.js +6 -5
  27. package/dist/commands/evidence/audit.d.ts.map +1 -1
  28. package/dist/commands/evidence/audit.js +57 -45
  29. package/dist/commands/evidence/baseline.d.ts.map +1 -1
  30. package/dist/commands/evidence/baseline.js +52 -42
  31. package/dist/commands/evidence/gc.js +3 -2
  32. package/dist/commands/evidence/index.js +1 -1
  33. package/dist/commands/evidence/inspect-mocks.d.ts +16 -0
  34. package/dist/commands/evidence/inspect-mocks.d.ts.map +1 -0
  35. package/dist/commands/evidence/inspect-mocks.js +49 -0
  36. package/dist/commands/evidence/record.d.ts +1 -0
  37. package/dist/commands/evidence/record.d.ts.map +1 -1
  38. package/dist/commands/evidence/record.js +42 -31
  39. package/dist/commands/matrix.js +1 -1
  40. package/dist/commands/measurement/index.d.ts +7 -0
  41. package/dist/commands/measurement/index.d.ts.map +1 -0
  42. package/dist/commands/measurement/index.js +11 -0
  43. package/dist/commands/measurement/record.d.ts +10 -0
  44. package/dist/commands/measurement/record.d.ts.map +1 -0
  45. package/dist/commands/measurement/record.js +35 -0
  46. package/dist/commands/module/ensure-defaults.js +3 -3
  47. package/dist/commands/module/install.js +2 -2
  48. package/dist/commands/module/list.js +2 -2
  49. package/dist/commands/module/remove.js +2 -2
  50. package/dist/commands/report.d.ts +15 -0
  51. package/dist/commands/report.d.ts.map +1 -0
  52. package/dist/commands/report.js +70 -0
  53. package/dist/commands/review.js +1 -1
  54. package/dist/commands/to-plan.js +1 -1
  55. package/dist/commands/update.js +2 -2
  56. package/dist/commands/validate.d.ts +13 -0
  57. package/dist/commands/validate.d.ts.map +1 -0
  58. package/dist/commands/validate.js +123 -0
  59. package/dist/commands/write.js +3 -3
  60. package/dist/{completeness-F657dxMp.js → completeness-DamWradt.js} +1 -1
  61. package/dist/evidence/index.d.ts +3 -2
  62. package/dist/evidence/index.d.ts.map +1 -1
  63. package/dist/evidence/mock-inspection.d.ts +16 -0
  64. package/dist/evidence/mock-inspection.d.ts.map +1 -0
  65. package/dist/evidence/store.d.ts +11 -1
  66. package/dist/evidence/store.d.ts.map +1 -1
  67. package/dist/evidence/types.d.ts +31 -0
  68. package/dist/evidence/types.d.ts.map +1 -1
  69. package/dist/{evidence-BA5vyZJk.js → evidence-DD0CHzJ0.js} +246 -316
  70. package/dist/{flow-command-D1vJU-7a.js → flow-command-BfFNY0Rv.js} +1 -1
  71. package/dist/index.d.ts +1 -0
  72. package/dist/index.d.ts.map +1 -1
  73. package/dist/index.js +9 -8
  74. package/dist/measurement/compare.d.ts +4 -0
  75. package/dist/measurement/compare.d.ts.map +1 -0
  76. package/dist/measurement/index.d.ts +9 -0
  77. package/dist/measurement/index.d.ts.map +1 -0
  78. package/dist/measurement/plans.d.ts +4 -0
  79. package/dist/measurement/plans.d.ts.map +1 -0
  80. package/dist/measurement/portfolio.d.ts +48 -0
  81. package/dist/measurement/portfolio.d.ts.map +1 -0
  82. package/dist/measurement/profiles.d.ts +9 -0
  83. package/dist/measurement/profiles.d.ts.map +1 -0
  84. package/dist/measurement/report.d.ts +44 -0
  85. package/dist/measurement/report.d.ts.map +1 -0
  86. package/dist/measurement/store.d.ts +7 -0
  87. package/dist/measurement/store.d.ts.map +1 -0
  88. package/dist/measurement/types.d.ts +83 -0
  89. package/dist/measurement/types.d.ts.map +1 -0
  90. package/dist/measurement/validate.d.ts +9 -0
  91. package/dist/measurement/validate.d.ts.map +1 -0
  92. package/dist/measurement-CzB74Q07.js +595 -0
  93. package/dist/{modules-BWyZ7kVN.js → modules-ez9httBA.js} +2 -2
  94. package/dist/{plugins-Czi2OyDB.js → plugins-C-ta0llj.js} +1 -1
  95. package/dist/quire/contract.d.ts +11 -12
  96. package/dist/quire/contract.d.ts.map +1 -1
  97. package/dist/quire/exec.d.ts +10 -0
  98. package/dist/quire/exec.d.ts.map +1 -1
  99. package/dist/quire/index.d.ts +2 -2
  100. package/dist/quire/index.d.ts.map +1 -1
  101. package/dist/quire/types.d.ts +119 -1
  102. package/dist/quire/types.d.ts.map +1 -1
  103. package/dist/{quire-UzoK3Azf.js → quire-D8tCpgyA.js} +526 -499
  104. package/dist/schemas/coverage-v1.schema.json +919 -105
  105. package/dist/schemas/properties-v1.schema.json +25 -0
  106. package/dist/store--2sAv12X.js +219 -0
  107. package/dist/validators/gates.d.ts +18 -0
  108. package/dist/validators/gates.d.ts.map +1 -0
  109. package/dist/validators/index.d.ts +2 -0
  110. package/dist/validators/index.d.ts.map +1 -0
  111. package/dist/{version-G_RI6TD4.js → version-Dg0e6CZU.js} +1 -1
  112. package/dist/{write-BJ9rTVAS.js → write-DElwS9xc.js} +1 -1
  113. package/package.json +22 -16
  114. package/skills/assurance-status-report/SKILL.md +135 -0
  115. package/skills/assurance-status-report/references/report-contract.md +110 -0
  116. package/skills/spec-architecture-evaluation/SKILL.md +30 -0
@@ -1,49 +1,49 @@
1
1
  import { fileURLToPath as e } from "node:url";
2
- import { readFileSync as t } from "node:fs";
3
- import { dirname as n, join as r } from "node:path";
4
- import { execFileSync as i } from "node:child_process";
5
- import "node:crypto";
2
+ import { accessSync as t, constants as n, readFileSync as r, realpathSync as i } from "node:fs";
3
+ import { delimiter as a, dirname as o, isAbsolute as s, join as c } from "node:path";
4
+ import { createHash as l } from "node:crypto";
5
+ import { execFileSync as u } from "node:child_process";
6
6
  //#region \0rolldown/runtime.js
7
- var a = Object.defineProperty, o = Object.getOwnPropertyDescriptor, s = Object.getOwnPropertyNames, c = Object.prototype.hasOwnProperty, l = (e, t, n) => () => {
7
+ var d = Object.defineProperty, f = Object.getOwnPropertyDescriptor, p = Object.getOwnPropertyNames, m = Object.prototype.hasOwnProperty, h = (e, t, n) => () => {
8
8
  if (n) throw n[0];
9
9
  try {
10
10
  return e && (t = e(e = 0)), t;
11
11
  } catch (e) {
12
12
  throw n = [e], e;
13
13
  }
14
- }, u = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), d = (e, t) => {
14
+ }, g = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), _ = (e, t) => {
15
15
  let n = {};
16
- for (var r in e) a(n, r, {
16
+ for (var r in e) d(n, r, {
17
17
  get: e[r],
18
18
  enumerable: !0
19
19
  });
20
- return t || a(n, Symbol.toStringTag, { value: "Module" }), n;
21
- }, f = (e, t, n, r) => {
22
- if (t && typeof t == "object" || typeof t == "function") for (var i = s(t), l = 0, u = i.length, d; l < u; l++) d = i[l], !c.call(e, d) && d !== n && a(e, d, {
23
- get: ((e) => t[e]).bind(null, d),
24
- enumerable: !(r = o(t, d)) || r.enumerable
20
+ return t || d(n, Symbol.toStringTag, { value: "Module" }), n;
21
+ }, v = (e, t, n, r) => {
22
+ if (t && typeof t == "object" || typeof t == "function") for (var i = p(t), a = 0, o = i.length, s; a < o; a++) s = i[a], !m.call(e, s) && s !== n && d(e, s, {
23
+ get: ((e) => t[e]).bind(null, s),
24
+ enumerable: !(r = f(t, s)) || r.enumerable
25
25
  });
26
26
  return e;
27
- }, p = (e) => c.call(e, "module.exports") ? e["module.exports"] : f(a({}, "__esModule", { value: !0 }), e), m = {
28
- sourceTag: "v0.42.0",
27
+ }, y = (e) => m.call(e, "module.exports") ? e["module.exports"] : v(d({}, "__esModule", { value: !0 }), e), b = {
28
+ sourceRevision: "ca7362d4dacecb96f01d74d1d971327118c25917",
29
29
  contractVersion: "v1",
30
30
  minimumCli: "0.21.0",
31
31
  hashes: {
32
- "coverage-v1.schema.json": "2b7a8f6d786cadf637df6461c89c92c350096cf263c1f3c5d6b3b24a490bc590",
33
- "properties-v1.schema.json": "d81f1ec85abdecd1f1664ded15e081f9aecb6c0f054d6b332b71e904cf826292"
32
+ "coverage-v1.schema.json": "f0cdbb9457ca7ca76b642c11fd5b6f41273909c894458c31f58c9c50fdbcdb38",
33
+ "properties-v1.schema.json": "cc687773c35b3e71e82fc336e887ecc688a28b03e970e349b2921b8624e4d11c"
34
34
  }
35
- }, h = n(e(import.meta.url));
36
- function g(e) {
37
- return r(h, "schemas", e);
35
+ }, x = o(e(import.meta.url));
36
+ function S(e) {
37
+ return c(x, "schemas", e);
38
38
  }
39
- function _(e) {
40
- return JSON.parse(t(g(e), "utf8"));
39
+ function C(e) {
40
+ return JSON.parse(r(S(e), "utf8"));
41
41
  }
42
- function v(e) {
42
+ function w(e) {
43
43
  let t = /(\d+)\.(\d+)\.(\d+)/.exec(e);
44
44
  return t ? t[0] : null;
45
45
  }
46
- function y(e, t) {
46
+ function T(e, t) {
47
47
  let n = e.split(".").map((e) => Number.parseInt(e, 10)), r = t.split(".").map((e) => Number.parseInt(e, 10));
48
48
  for (let e = 0; e < 3; e += 1) {
49
49
  let t = (n[e] ?? 0) - (r[e] ?? 0);
@@ -51,14 +51,14 @@ function y(e, t) {
51
51
  }
52
52
  return 0;
53
53
  }
54
- function b(e) {
55
- let t = e ? v(e) : null, n = m.minimumCli;
54
+ function E(e) {
55
+ let t = e ? w(e) : null, n = b.minimumCli;
56
56
  return t === null ? {
57
57
  kind: "version-premise",
58
58
  found: null,
59
59
  required: n,
60
60
  message: `could not determine the quire CLI version (expected >= ${n}). Install or update quire-cli: the JSON contract quoin reads is only emitted from ${n} onward.`
61
- } : y(t, n) < 0 ? {
61
+ } : T(t, n) < 0 ? {
62
62
  kind: "version-premise",
63
63
  found: t,
64
64
  required: n,
@@ -67,7 +67,7 @@ function b(e) {
67
67
  }
68
68
  //#endregion
69
69
  //#region node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/codegen/code.js
70
- var x = /* @__PURE__ */ u(((e) => {
70
+ var D = /* @__PURE__ */ g(((e) => {
71
71
  Object.defineProperty(e, "__esModule", { value: !0 }), e.regexpCode = e.getEsmExportName = e.getProperty = e.safeStringify = e.stringify = e.strConcat = e.addCodeArg = e.str = e._ = e.nil = e._Code = e.Name = e.IDENTIFIER = e._CodeOrName = void 0;
72
72
  var t = class {};
73
73
  e._CodeOrName = t, e.IDENTIFIER = /^[a-z$_][a-z$_0-9]*$/i;
@@ -172,9 +172,9 @@ var x = /* @__PURE__ */ u(((e) => {
172
172
  return new r(e.toString());
173
173
  }
174
174
  e.regexpCode = g;
175
- })), S = /* @__PURE__ */ u(((e) => {
175
+ })), O = /* @__PURE__ */ g(((e) => {
176
176
  Object.defineProperty(e, "__esModule", { value: !0 }), e.ValueScope = e.ValueScopeName = e.Scope = e.varKinds = e.UsedValueState = void 0;
177
- var t = x(), n = class extends Error {
177
+ var t = D(), n = class extends Error {
178
178
  constructor(e) {
179
179
  super(`CodeGen: "code" for ${e} not defined`), this.value = e.value;
180
180
  }
@@ -283,9 +283,9 @@ var x = /* @__PURE__ */ u(((e) => {
283
283
  return c;
284
284
  }
285
285
  };
286
- })), C = /* @__PURE__ */ u(((e) => {
286
+ })), k = /* @__PURE__ */ g(((e) => {
287
287
  Object.defineProperty(e, "__esModule", { value: !0 }), e.or = e.and = e.not = e.CodeGen = e.operators = e.varKinds = e.ValueScopeName = e.ValueScope = e.Scope = e.Name = e.regexpCode = e.stringify = e.getProperty = e.nil = e.strConcat = e.str = e._ = void 0;
288
- var t = x(), n = S(), r = x();
288
+ var t = D(), n = O(), r = D();
289
289
  Object.defineProperty(e, "_", {
290
290
  enumerable: !0,
291
291
  get: function() {
@@ -327,7 +327,7 @@ var x = /* @__PURE__ */ u(((e) => {
327
327
  return r.Name;
328
328
  }
329
329
  });
330
- var i = S();
330
+ var i = O();
331
331
  Object.defineProperty(e, "Scope", {
332
332
  enumerable: !0,
333
333
  get: function() {
@@ -528,7 +528,7 @@ var x = /* @__PURE__ */ u(((e) => {
528
528
  get names() {
529
529
  return A(A(super.names, this.from), this.to);
530
530
  }
531
- }, C = class extends v {
531
+ }, x = class extends v {
532
532
  constructor(e, t, n, r) {
533
533
  super(), this.loop = e, this.varKind = t, this.name = n, this.iterable = r;
534
534
  }
@@ -541,7 +541,7 @@ var x = /* @__PURE__ */ u(((e) => {
541
541
  get names() {
542
542
  return k(super.names, this.iterable.names);
543
543
  }
544
- }, w = class extends m {
544
+ }, S = class extends m {
545
545
  constructor(e, t, n) {
546
546
  super(), this.name = e, this.args = t, this.async = n;
547
547
  }
@@ -549,14 +549,14 @@ var x = /* @__PURE__ */ u(((e) => {
549
549
  return `${this.async ? "async " : ""}function ${this.name}(${this.args})` + super.render(e);
550
550
  }
551
551
  };
552
- w.kind = "func";
553
- var T = class extends p {
552
+ S.kind = "func";
553
+ var C = class extends p {
554
554
  render(e) {
555
555
  return "return " + super.render(e);
556
556
  }
557
557
  };
558
- T.kind = "return";
559
- var E = class extends m {
558
+ C.kind = "return";
559
+ var w = class extends m {
560
560
  render(e) {
561
561
  let t = "try" + super.render(e);
562
562
  return this.catch && (t += this.catch.render(e)), this.finally && (t += this.finally.render(e)), t;
@@ -573,7 +573,7 @@ var x = /* @__PURE__ */ u(((e) => {
573
573
  let e = super.names;
574
574
  return this.catch && k(e, this.catch.names), this.finally && k(e, this.finally.names), e;
575
575
  }
576
- }, D = class extends m {
576
+ }, T = class extends m {
577
577
  constructor(e) {
578
578
  super(), this.error = e;
579
579
  }
@@ -581,13 +581,13 @@ var x = /* @__PURE__ */ u(((e) => {
581
581
  return `catch(${this.error})` + super.render(e);
582
582
  }
583
583
  };
584
- D.kind = "catch";
585
- var O = class extends m {
584
+ T.kind = "catch";
585
+ var E = class extends m {
586
586
  render(e) {
587
587
  return "finally" + super.render(e);
588
588
  }
589
589
  };
590
- O.kind = "finally", e.CodeGen = class {
590
+ E.kind = "finally", e.CodeGen = class {
591
591
  constructor(e, t = {}) {
592
592
  this._values = {}, this._blockStarts = [], this._constants = {}, this.opts = {
593
593
  ...t,
@@ -676,12 +676,12 @@ var x = /* @__PURE__ */ u(((e) => {
676
676
  this.var(o, (0, t._)`${e}[${n}]`), i(o);
677
677
  });
678
678
  }
679
- return this._for(new C("of", a, o, r), () => i(o));
679
+ return this._for(new x("of", a, o, r), () => i(o));
680
680
  }
681
681
  forIn(e, r, i, a = this.opts.es5 ? n.varKinds.var : n.varKinds.const) {
682
682
  if (this.opts.ownProperties) return this.forOf(e, (0, t._)`Object.keys(${r})`, i);
683
683
  let o = this._scope.toName(e);
684
- return this._for(new C("in", a, o, r), () => i(o));
684
+ return this._for(new x("in", a, o, r), () => i(o));
685
685
  }
686
686
  endFor() {
687
687
  return this._endBlockNode(v);
@@ -693,18 +693,18 @@ var x = /* @__PURE__ */ u(((e) => {
693
693
  return this._leafNode(new u(e));
694
694
  }
695
695
  return(e) {
696
- let t = new T();
696
+ let t = new C();
697
697
  if (this._blockNode(t), this.code(e), t.nodes.length !== 1) throw Error("CodeGen: \"return\" should have one node");
698
- return this._endBlockNode(T);
698
+ return this._endBlockNode(C);
699
699
  }
700
700
  try(e, t, n) {
701
701
  if (!t && !n) throw Error("CodeGen: \"try\" without \"catch\" and \"finally\"");
702
- let r = new E();
702
+ let r = new w();
703
703
  if (this._blockNode(r), this.code(e), t) {
704
704
  let e = this.name("e");
705
- this._currNode = r.catch = new D(e), t(e);
705
+ this._currNode = r.catch = new T(e), t(e);
706
706
  }
707
- return n && (this._currNode = r.finally = new O(), this.code(n)), this._endBlockNode(D, O);
707
+ return n && (this._currNode = r.finally = new E(), this.code(n)), this._endBlockNode(T, E);
708
708
  }
709
709
  throw(e) {
710
710
  return this._leafNode(new d(e));
@@ -720,10 +720,10 @@ var x = /* @__PURE__ */ u(((e) => {
720
720
  return this._nodes.length = t, this;
721
721
  }
722
722
  func(e, n = t.nil, r, i) {
723
- return this._blockNode(new w(e, n, r)), i && this.code(i).endFunc(), this;
723
+ return this._blockNode(new S(e, n, r)), i && this.code(i).endFunc(), this;
724
724
  }
725
725
  endFunc() {
726
- return this._endBlockNode(w);
726
+ return this._endBlockNode(S);
727
727
  }
728
728
  optimize(e = 1) {
729
729
  for (; e-- > 0;) this._root.optimizeNodes(), this._root.optimizeNames(this._root.names, this._constants);
@@ -779,28 +779,28 @@ var x = /* @__PURE__ */ u(((e) => {
779
779
  for (let n in t) e[n] = (e[n] || 0) - (t[n] || 0);
780
780
  }
781
781
  function N(e) {
782
- return typeof e == "boolean" || typeof e == "number" || e === null ? !e : (0, t._)`!${z(e)}`;
782
+ return typeof e == "boolean" || typeof e == "number" || e === null ? !e : (0, t._)`!${R(e)}`;
783
783
  }
784
784
  e.not = N;
785
- var P = R(e.operators.AND);
785
+ var P = L(e.operators.AND);
786
786
  function F(...e) {
787
787
  return e.reduce(P);
788
788
  }
789
789
  e.and = F;
790
- var I = R(e.operators.OR);
791
- function L(...e) {
790
+ var I = L(e.operators.OR);
791
+ function ee(...e) {
792
792
  return e.reduce(I);
793
793
  }
794
- e.or = L;
795
- function R(e) {
796
- return (n, r) => n === t.nil ? r : r === t.nil ? n : (0, t._)`${z(n)} ${e} ${z(r)}`;
794
+ e.or = ee;
795
+ function L(e) {
796
+ return (n, r) => n === t.nil ? r : r === t.nil ? n : (0, t._)`${R(n)} ${e} ${R(r)}`;
797
797
  }
798
- function z(e) {
798
+ function R(e) {
799
799
  return e instanceof t.Name ? e : (0, t._)`(${e})`;
800
800
  }
801
- })), w = /* @__PURE__ */ u(((e) => {
801
+ })), A = /* @__PURE__ */ g(((e) => {
802
802
  Object.defineProperty(e, "__esModule", { value: !0 }), e.checkStrictMode = e.getErrorPath = e.Type = e.useFunc = e.setEvaluated = e.evaluatedPropsToName = e.mergeEvaluated = e.eachItem = e.unescapeJsonPointer = e.escapeJsonPointer = e.escapeFragment = e.unescapeFragment = e.schemaRefOrVal = e.schemaHasRulesButRef = e.schemaHasRules = e.checkUnknownRules = e.alwaysValidSchema = e.toHash = void 0;
803
- var t = C(), n = x();
803
+ var t = k(), n = D();
804
804
  function r(e) {
805
805
  let t = {};
806
806
  for (let n of e) t[n] = !0;
@@ -815,7 +815,7 @@ var x = /* @__PURE__ */ u(((e) => {
815
815
  let { opts: n, self: r } = e;
816
816
  if (!n.strictSchema || typeof t == "boolean") return;
817
817
  let i = r.RULES.keywords;
818
- for (let n in t) i[n] || S(e, `unknown keyword: "${n}"`);
818
+ for (let n in t) i[n] || x(e, `unknown keyword: "${n}"`);
819
819
  }
820
820
  e.checkUnknownRules = a;
821
821
  function o(e, t) {
@@ -916,16 +916,16 @@ var x = /* @__PURE__ */ u(((e) => {
916
916
  return r ? (0, t.getProperty)(e).toString() : "/" + d(e);
917
917
  }
918
918
  e.getErrorPath = b;
919
- function S(e, t, n = e.opts.strictSchema) {
919
+ function x(e, t, n = e.opts.strictSchema) {
920
920
  if (n) {
921
921
  if (t = `strict mode: ${t}`, n === !0) throw Error(t);
922
922
  e.self.logger.warn(t);
923
923
  }
924
924
  }
925
- e.checkStrictMode = S;
926
- })), T = /* @__PURE__ */ u(((e) => {
925
+ e.checkStrictMode = x;
926
+ })), j = /* @__PURE__ */ g(((e) => {
927
927
  Object.defineProperty(e, "__esModule", { value: !0 });
928
- var t = C();
928
+ var t = k();
929
929
  e.default = {
930
930
  data: new t.Name("data"),
931
931
  valCxt: new t.Name("valCxt"),
@@ -944,9 +944,9 @@ var x = /* @__PURE__ */ u(((e) => {
944
944
  jsonLen: new t.Name("jsonLen"),
945
945
  jsonPart: new t.Name("jsonPart")
946
946
  };
947
- })), E = /* @__PURE__ */ u(((e) => {
947
+ })), M = /* @__PURE__ */ g(((e) => {
948
948
  Object.defineProperty(e, "__esModule", { value: !0 }), e.extendErrors = e.resetErrorsCount = e.reportExtraError = e.reportError = e.keyword$DataError = e.keywordError = void 0;
949
- var t = C(), n = w(), r = T();
949
+ var t = k(), n = A(), r = j();
950
950
  e.keywordError = { message: ({ keyword: e }) => (0, t.str)`must pass "${e}" keyword validation` }, e.keyword$DataError = { message: ({ keyword: e, schemaType: n }) => n ? (0, t.str)`"${e}" keyword must be ${n} ($data)` : (0, t.str)`"${e}" keyword is invalid ($data)` };
951
951
  function i(n, r = e.keywordError, i, a) {
952
952
  let { it: o } = n, { gen: s, compositeRule: u, allErrors: f } = o, p = d(n, r, i);
@@ -1008,9 +1008,9 @@ var x = /* @__PURE__ */ u(((e) => {
1008
1008
  let { keyword: o, data: s, schemaValue: c, it: l } = e, { opts: d, propertyName: f, topSchemaRef: p, schemaPath: m } = l;
1009
1009
  a.push([u.keyword, o], [u.params, typeof n == "function" ? n(e) : n || (0, t._)`{}`]), d.messages && a.push([u.message, typeof i == "function" ? i(e) : i]), d.verbose && a.push([u.schema, c], [u.parentSchema, (0, t._)`${p}${m}`], [r.default.data, s]), f && a.push([u.propertyName, f]);
1010
1010
  }
1011
- })), D = /* @__PURE__ */ u(((e) => {
1011
+ })), N = /* @__PURE__ */ g(((e) => {
1012
1012
  Object.defineProperty(e, "__esModule", { value: !0 }), e.boolOrEmptySchema = e.topBoolOrEmptySchema = void 0;
1013
- var t = E(), n = C(), r = T(), i = { message: "boolean schema is false" };
1013
+ var t = M(), n = k(), r = j(), i = { message: "boolean schema is false" };
1014
1014
  function a(e) {
1015
1015
  let { gen: t, schema: i, validateName: a } = e;
1016
1016
  i === !1 ? s(e, !1) : typeof i == "object" && i.$async === !0 ? t.return(r.default.data) : (t.assign((0, n._)`${a}.errors`, null), t.return(!0));
@@ -1034,7 +1034,7 @@ var x = /* @__PURE__ */ u(((e) => {
1034
1034
  };
1035
1035
  (0, t.reportError)(o, i, void 0, n);
1036
1036
  }
1037
- })), O = /* @__PURE__ */ u(((e) => {
1037
+ })), P = /* @__PURE__ */ g(((e) => {
1038
1038
  Object.defineProperty(e, "__esModule", { value: !0 }), e.getRules = e.isJSONType = void 0;
1039
1039
  var t = /* @__PURE__ */ new Set([
1040
1040
  "string",
@@ -1088,7 +1088,7 @@ var x = /* @__PURE__ */ u(((e) => {
1088
1088
  };
1089
1089
  }
1090
1090
  e.getRules = r;
1091
- })), k = /* @__PURE__ */ u(((e) => {
1091
+ })), F = /* @__PURE__ */ g(((e) => {
1092
1092
  Object.defineProperty(e, "__esModule", { value: !0 }), e.shouldUseRule = e.shouldUseGroup = e.schemaHasRulesForType = void 0;
1093
1093
  function t({ schema: e, self: t }, r) {
1094
1094
  let i = t.RULES.types[r];
@@ -1103,9 +1103,9 @@ var x = /* @__PURE__ */ u(((e) => {
1103
1103
  return e[t.keyword] !== void 0 || t.definition.implements?.some((t) => e[t] !== void 0);
1104
1104
  }
1105
1105
  e.shouldUseRule = r;
1106
- })), A = /* @__PURE__ */ u(((e) => {
1106
+ })), I = /* @__PURE__ */ g(((e) => {
1107
1107
  Object.defineProperty(e, "__esModule", { value: !0 }), e.reportTypeError = e.checkDataTypes = e.checkDataType = e.coerceAndCheckDataType = e.getJSONTypes = e.getSchemaTypes = e.DataType = void 0;
1108
- var t = O(), n = k(), r = E(), i = C(), a = w(), o;
1108
+ var t = P(), n = F(), r = M(), i = k(), a = A(), o;
1109
1109
  (function(e) {
1110
1110
  e[e.Correct = 0] = "Correct", e[e.Wrong = 1] = "Wrong";
1111
1111
  })(o || (e.DataType = o = {}));
@@ -1240,9 +1240,9 @@ var x = /* @__PURE__ */ u(((e) => {
1240
1240
  it: e
1241
1241
  };
1242
1242
  }
1243
- })), j = /* @__PURE__ */ u(((e) => {
1243
+ })), ee = /* @__PURE__ */ g(((e) => {
1244
1244
  Object.defineProperty(e, "__esModule", { value: !0 }), e.assignDefaults = void 0;
1245
- var t = C(), n = w();
1245
+ var t = k(), n = A();
1246
1246
  function r(e, t) {
1247
1247
  let { properties: n, items: r } = e.schema;
1248
1248
  if (t === "object" && n) for (let t in n) i(e, t, n[t].default);
@@ -1260,9 +1260,9 @@ var x = /* @__PURE__ */ u(((e) => {
1260
1260
  let u = (0, t._)`${l} === undefined`;
1261
1261
  c.useDefaults === "empty" && (u = (0, t._)`${u} || ${l} === null || ${l} === ""`), a.if(u, (0, t._)`${l} = ${(0, t.stringify)(i)}`);
1262
1262
  }
1263
- })), M = /* @__PURE__ */ u(((e) => {
1263
+ })), L = /* @__PURE__ */ g(((e) => {
1264
1264
  Object.defineProperty(e, "__esModule", { value: !0 }), e.validateUnion = e.validateArray = e.usePattern = e.callValidateCode = e.schemaProperties = e.allSchemaProperties = e.noPropertyInData = e.propertyInData = e.isOwnProperty = e.hasPropFunc = e.reportMissingProp = e.checkMissingProp = e.checkReportMissingProp = void 0;
1265
- var t = C(), n = w(), r = T(), i = w();
1265
+ var t = k(), n = A(), r = j(), i = A();
1266
1266
  function a(e, n) {
1267
1267
  let { gen: r, data: i, it: a } = e;
1268
1268
  r.if(d(r, i, n, a.opts.ownProperties), () => {
@@ -1364,9 +1364,9 @@ var x = /* @__PURE__ */ u(((e) => {
1364
1364
  })), e.result(s, () => e.reset(), () => e.error(!0));
1365
1365
  }
1366
1366
  e.validateUnion = v;
1367
- })), N = /* @__PURE__ */ u(((e) => {
1367
+ })), R = /* @__PURE__ */ g(((e) => {
1368
1368
  Object.defineProperty(e, "__esModule", { value: !0 }), e.validateKeywordUsage = e.validSchemaType = e.funcKeywordCode = e.macroKeywordCode = void 0;
1369
- var t = C(), n = T(), r = M(), i = E();
1369
+ var t = k(), n = j(), r = L(), i = M();
1370
1370
  function a(e, n) {
1371
1371
  let { gen: r, keyword: i, schema: a, parentSchema: o, it: s } = e, c = n.macro.call(s.self, a, o, s), l = u(r, i, c);
1372
1372
  s.opts.validateSchema !== !1 && s.self.validateSchema(c, !0);
@@ -1445,9 +1445,9 @@ var x = /* @__PURE__ */ u(((e) => {
1445
1445
  }
1446
1446
  }
1447
1447
  e.validateKeywordUsage = f;
1448
- })), P = /* @__PURE__ */ u(((e) => {
1448
+ })), z = /* @__PURE__ */ g(((e) => {
1449
1449
  Object.defineProperty(e, "__esModule", { value: !0 }), e.extendSubschemaMode = e.extendSubschemaData = e.getSubschema = void 0;
1450
- var t = C(), n = w();
1450
+ var t = k(), n = A();
1451
1451
  function r(e, { keyword: r, schemaProp: i, schema: a, schemaPath: o, errSchemaPath: s, topSchemaRef: c }) {
1452
1452
  if (r !== void 0 && a !== void 0) throw Error("both \"keyword\" and \"schema\" passed, only one allowed");
1453
1453
  if (r !== void 0) {
@@ -1491,7 +1491,7 @@ var x = /* @__PURE__ */ u(((e) => {
1491
1491
  r !== void 0 && (e.compositeRule = r), i !== void 0 && (e.createErrors = i), a !== void 0 && (e.allErrors = a), e.jtdDiscriminator = t, e.jtdMetadata = n;
1492
1492
  }
1493
1493
  e.extendSubschemaMode = a;
1494
- })), F = /* @__PURE__ */ u(((e, t) => {
1494
+ })), te = /* @__PURE__ */ g(((e, t) => {
1495
1495
  t.exports = function e(t, n) {
1496
1496
  if (t === n) return !0;
1497
1497
  if (t && n && typeof t == "object" && typeof n == "object") {
@@ -1515,7 +1515,7 @@ var x = /* @__PURE__ */ u(((e) => {
1515
1515
  }
1516
1516
  return t !== t && n !== n;
1517
1517
  };
1518
- })), I = /* @__PURE__ */ u(((e, t) => {
1518
+ })), ne = /* @__PURE__ */ g(((e, t) => {
1519
1519
  var n = t.exports = function(e, t, n) {
1520
1520
  typeof t == "function" && (n = t, t = {}), n = t.cb || n;
1521
1521
  var i = typeof n == "function" ? n : n.pre || function() {}, a = n.post || function() {};
@@ -1578,9 +1578,9 @@ var x = /* @__PURE__ */ u(((e) => {
1578
1578
  function i(e) {
1579
1579
  return e.replace(/~/g, "~0").replace(/\//g, "~1");
1580
1580
  }
1581
- })), L = /* @__PURE__ */ u(((e) => {
1581
+ })), B = /* @__PURE__ */ g(((e) => {
1582
1582
  Object.defineProperty(e, "__esModule", { value: !0 }), e.getSchemaRefs = e.resolveUrl = e.normalizeId = e._getFullPath = e.getFullPath = e.inlineRef = void 0;
1583
- var t = w(), n = F(), r = I(), i = /* @__PURE__ */ new Set([
1583
+ var t = A(), n = te(), r = ne(), i = /* @__PURE__ */ new Set([
1584
1584
  "type",
1585
1585
  "format",
1586
1586
  "pattern",
@@ -1669,11 +1669,11 @@ var x = /* @__PURE__ */ u(((e) => {
1669
1669
  }
1670
1670
  }
1671
1671
  e.getSchemaRefs = h;
1672
- })), R = /* @__PURE__ */ u(((e) => {
1672
+ })), V = /* @__PURE__ */ g(((e) => {
1673
1673
  Object.defineProperty(e, "__esModule", { value: !0 }), e.getData = e.KeywordCxt = e.validateFunctionCode = void 0;
1674
- var t = D(), n = A(), r = k(), i = A(), a = j(), o = N(), s = P(), c = C(), l = T(), u = L(), d = w(), f = E();
1674
+ var t = N(), n = I(), r = F(), i = I(), a = ee(), o = R(), s = z(), c = k(), l = j(), u = B(), d = A(), f = M();
1675
1675
  function p(e) {
1676
- if (S(e) && (M(e), x(e))) {
1676
+ if (S(e) && (w(e), x(e))) {
1677
1677
  _(e);
1678
1678
  return;
1679
1679
  }
@@ -1698,7 +1698,7 @@ var x = /* @__PURE__ */ u(((e) => {
1698
1698
  function _(e) {
1699
1699
  let { schema: t, opts: n, gen: r } = e;
1700
1700
  m(e, () => {
1701
- n.$comment && t.$comment && V(e), R(e), r.let(l.default.vErrors, null), r.let(l.default.errors, 0), n.unevaluated && v(e), F(e), ee(e);
1701
+ n.$comment && t.$comment && L(e), D(e), r.let(l.default.vErrors, null), r.let(l.default.errors, 0), n.unevaluated && v(e), T(e), te(e);
1702
1702
  });
1703
1703
  }
1704
1704
  function v(e) {
@@ -1710,8 +1710,8 @@ var x = /* @__PURE__ */ u(((e) => {
1710
1710
  return n && (t.code.source || t.code.process) ? (0, c._)`/*# sourceURL=${n} */` : c.nil;
1711
1711
  }
1712
1712
  function b(e, n) {
1713
- if (S(e) && (M(e), x(e))) {
1714
- O(e, n);
1713
+ if (S(e) && (w(e), x(e))) {
1714
+ C(e, n);
1715
1715
  return;
1716
1716
  }
1717
1717
  (0, t.boolOrEmptySchema)(e, n);
@@ -1724,36 +1724,36 @@ var x = /* @__PURE__ */ u(((e) => {
1724
1724
  function S(e) {
1725
1725
  return typeof e.schema != "boolean";
1726
1726
  }
1727
- function O(e, t) {
1727
+ function C(e, t) {
1728
1728
  let { schema: n, gen: r, opts: i } = e;
1729
- i.$comment && n.$comment && V(e), z(e), B(e);
1729
+ i.$comment && n.$comment && L(e), O(e), P(e);
1730
1730
  let a = r.const("_errs", l.default.errors);
1731
- F(e, a), r.var(t, (0, c._)`${a} === ${l.default.errors}`);
1731
+ T(e, a), r.var(t, (0, c._)`${a} === ${l.default.errors}`);
1732
1732
  }
1733
- function M(e) {
1734
- (0, d.checkUnknownRules)(e), I(e);
1733
+ function w(e) {
1734
+ (0, d.checkUnknownRules)(e), E(e);
1735
1735
  }
1736
- function F(e, t) {
1737
- if (e.opts.jtd) return U(e, [], !1, t);
1736
+ function T(e, t) {
1737
+ if (e.opts.jtd) return V(e, [], !1, t);
1738
1738
  let r = (0, n.getSchemaTypes)(e.schema);
1739
- U(e, r, !(0, n.coerceAndCheckDataType)(e, r), t);
1739
+ V(e, r, !(0, n.coerceAndCheckDataType)(e, r), t);
1740
1740
  }
1741
- function I(e) {
1741
+ function E(e) {
1742
1742
  let { schema: t, errSchemaPath: n, opts: r, self: i } = e;
1743
1743
  t.$ref && r.ignoreKeywordsWithRef && (0, d.schemaHasRulesButRef)(t, i.RULES) && i.logger.warn(`$ref: keywords ignored in schema at path "${n}"`);
1744
1744
  }
1745
- function R(e) {
1745
+ function D(e) {
1746
1746
  let { schema: t, opts: n } = e;
1747
1747
  t.default !== void 0 && n.useDefaults && n.strictSchema && (0, d.checkStrictMode)(e, "default is ignored in the schema root");
1748
1748
  }
1749
- function z(e) {
1749
+ function O(e) {
1750
1750
  let t = e.schema[e.opts.schemaId];
1751
1751
  t && (e.baseId = (0, u.resolveUrl)(e.opts.uriResolver, e.baseId, t));
1752
1752
  }
1753
- function B(e) {
1753
+ function P(e) {
1754
1754
  if (e.schema.$async && !e.schemaEnv.$async) throw Error("async schema in sync schema");
1755
1755
  }
1756
- function V({ gen: e, schemaEnv: t, schema: n, errSchemaPath: r, opts: i }) {
1756
+ function L({ gen: e, schemaEnv: t, schema: n, errSchemaPath: r, opts: i }) {
1757
1757
  let a = n.$comment;
1758
1758
  if (i.$comment === !0) e.code((0, c._)`${l.default.self}.logger.log(${a})`);
1759
1759
  else if (typeof i.$comment == "function") {
@@ -1761,76 +1761,76 @@ var x = /* @__PURE__ */ u(((e) => {
1761
1761
  e.code((0, c._)`${l.default.self}.opts.$comment(${a}, ${n}, ${i}.schema)`);
1762
1762
  }
1763
1763
  }
1764
- function ee(e) {
1764
+ function te(e) {
1765
1765
  let { gen: t, schemaEnv: n, validateName: r, ValidationError: i, opts: a } = e;
1766
- n.$async ? t.if((0, c._)`${l.default.errors} === 0`, () => t.return(l.default.data), () => t.throw((0, c._)`new ${i}(${l.default.vErrors})`)) : (t.assign((0, c._)`${r}.errors`, l.default.vErrors), a.unevaluated && H(e), t.return((0, c._)`${l.default.errors} === 0`));
1766
+ n.$async ? t.if((0, c._)`${l.default.errors} === 0`, () => t.return(l.default.data), () => t.throw((0, c._)`new ${i}(${l.default.vErrors})`)) : (t.assign((0, c._)`${r}.errors`, l.default.vErrors), a.unevaluated && ne(e), t.return((0, c._)`${l.default.errors} === 0`));
1767
1767
  }
1768
- function H({ gen: e, evaluated: t, props: n, items: r }) {
1768
+ function ne({ gen: e, evaluated: t, props: n, items: r }) {
1769
1769
  n instanceof c.Name && e.assign((0, c._)`${t}.props`, n), r instanceof c.Name && e.assign((0, c._)`${t}.items`, r);
1770
1770
  }
1771
- function U(e, t, n, a) {
1771
+ function V(e, t, n, a) {
1772
1772
  let { gen: o, schema: s, data: u, allErrors: f, opts: p, self: m } = e, { RULES: h } = m;
1773
1773
  if (s.$ref && (p.ignoreKeywordsWithRef || !(0, d.schemaHasRulesButRef)(s, h))) {
1774
- o.block(() => X(e, "$ref", h.all.$ref.definition));
1774
+ o.block(() => Z(e, "$ref", h.all.$ref.definition));
1775
1775
  return;
1776
1776
  }
1777
- p.jtd || G(e, t), o.block(() => {
1777
+ p.jtd || U(e, t), o.block(() => {
1778
1778
  for (let e of h.rules) g(e);
1779
1779
  g(h.post);
1780
1780
  });
1781
1781
  function g(d) {
1782
- (0, r.shouldUseGroup)(s, d) && (d.type ? (o.if((0, i.checkDataType)(d.type, u, p.strictNumbers)), W(e, d), t.length === 1 && t[0] === d.type && n && (o.else(), (0, i.reportTypeError)(e)), o.endIf()) : W(e, d), f || o.if((0, c._)`${l.default.errors} === ${a || 0}`));
1782
+ (0, r.shouldUseGroup)(s, d) && (d.type ? (o.if((0, i.checkDataType)(d.type, u, p.strictNumbers)), H(e, d), t.length === 1 && t[0] === d.type && n && (o.else(), (0, i.reportTypeError)(e)), o.endIf()) : H(e, d), f || o.if((0, c._)`${l.default.errors} === ${a || 0}`));
1783
1783
  }
1784
1784
  }
1785
- function W(e, t) {
1785
+ function H(e, t) {
1786
1786
  let { gen: n, schema: i, opts: { useDefaults: o } } = e;
1787
1787
  o && (0, a.assignDefaults)(e, t.type), n.block(() => {
1788
- for (let n of t.rules) (0, r.shouldUseRule)(i, n) && X(e, n.keyword, n.definition, t.type);
1788
+ for (let n of t.rules) (0, r.shouldUseRule)(i, n) && Z(e, n.keyword, n.definition, t.type);
1789
1789
  });
1790
1790
  }
1791
- function G(e, t) {
1792
- e.schemaEnv.meta || !e.opts.strictTypes || (K(e, t), e.opts.allowUnionTypes || te(e, t), ne(e, e.dataTypes));
1791
+ function U(e, t) {
1792
+ e.schemaEnv.meta || !e.opts.strictTypes || (W(e, t), e.opts.allowUnionTypes || re(e, t), G(e, e.dataTypes));
1793
1793
  }
1794
- function K(e, t) {
1794
+ function W(e, t) {
1795
1795
  if (t.length) {
1796
1796
  if (!e.dataTypes.length) {
1797
1797
  e.dataTypes = t;
1798
1798
  return;
1799
1799
  }
1800
1800
  t.forEach((t) => {
1801
- q(e.dataTypes, t) || J(e, `type "${t}" not allowed by context "${e.dataTypes.join(",")}"`);
1802
- }), ie(e, t);
1801
+ q(e.dataTypes, t) || Y(e, `type "${t}" not allowed by context "${e.dataTypes.join(",")}"`);
1802
+ }), J(e, t);
1803
1803
  }
1804
1804
  }
1805
- function te(e, t) {
1806
- t.length > 1 && !(t.length === 2 && t.includes("null")) && J(e, "use allowUnionTypes to allow union type keyword");
1805
+ function re(e, t) {
1806
+ t.length > 1 && !(t.length === 2 && t.includes("null")) && Y(e, "use allowUnionTypes to allow union type keyword");
1807
1807
  }
1808
- function ne(e, t) {
1808
+ function G(e, t) {
1809
1809
  let n = e.self.RULES.all;
1810
1810
  for (let i in n) {
1811
1811
  let a = n[i];
1812
1812
  if (typeof a == "object" && (0, r.shouldUseRule)(e.schema, a)) {
1813
1813
  let { type: n } = a.definition;
1814
- n.length && !n.some((e) => re(t, e)) && J(e, `missing type "${n.join(",")}" for keyword "${i}"`);
1814
+ n.length && !n.some((e) => K(t, e)) && Y(e, `missing type "${n.join(",")}" for keyword "${i}"`);
1815
1815
  }
1816
1816
  }
1817
1817
  }
1818
- function re(e, t) {
1818
+ function K(e, t) {
1819
1819
  return e.includes(t) || t === "number" && e.includes("integer");
1820
1820
  }
1821
1821
  function q(e, t) {
1822
1822
  return e.includes(t) || t === "integer" && e.includes("number");
1823
1823
  }
1824
- function ie(e, t) {
1824
+ function J(e, t) {
1825
1825
  let n = [];
1826
1826
  for (let r of e.dataTypes) q(t, r) ? n.push(r) : t.includes("integer") && r === "number" && n.push("integer");
1827
1827
  e.dataTypes = n;
1828
1828
  }
1829
- function J(e, t) {
1829
+ function Y(e, t) {
1830
1830
  let n = e.schemaEnv.baseId + e.errSchemaPath;
1831
1831
  t += ` at "${n}" (strictTypes)`, (0, d.checkStrictMode)(e, t, e.opts.strictTypes);
1832
1832
  }
1833
- var Y = class {
1833
+ var X = class {
1834
1834
  constructor(e, t, n) {
1835
1835
  if ((0, o.validateKeywordUsage)(e, t, n), this.gen = e.gen, this.allErrors = e.allErrors, this.keyword = n, this.data = e.data, this.schema = e.schema[n], this.$data = t.$data && e.opts.$data && this.schema && this.schema.$data, this.schemaValue = (0, d.schemaRefOrVal)(e, this.schema, n, this.$data), this.schemaType = t.schemaType, this.parentSchema = e.schema, this.params = {}, this.it = e, this.def = t, this.$data) this.schemaCode = e.gen.const("vSchema", oe(this.$data, e));
1836
1836
  else if (this.schemaCode = this.schemaValue, !(0, o.validSchemaType)(this.schema, t.schemaType, t.allowUndefined)) throw Error(`${n} value must be ${JSON.stringify(t.schemaType)}`);
@@ -1930,17 +1930,17 @@ var x = /* @__PURE__ */ u(((e) => {
1930
1930
  if (n.opts.unevaluated && (n.props !== !0 || n.items !== !0)) return r.if(t, () => this.mergeEvaluated(e, c.Name)), !0;
1931
1931
  }
1932
1932
  };
1933
- e.KeywordCxt = Y;
1934
- function X(e, t, n, r) {
1935
- let i = new Y(e, n, t);
1933
+ e.KeywordCxt = X;
1934
+ function Z(e, t, n, r) {
1935
+ let i = new X(e, n, t);
1936
1936
  "code" in n ? n.code(i, r) : i.$data && n.validate ? (0, o.funcKeywordCode)(i, n) : "macro" in n ? (0, o.macroKeywordCode)(i, n) : (n.compile || n.validate) && (0, o.funcKeywordCode)(i, n);
1937
1937
  }
1938
- var Z = /^\/(?:[^~]|~0|~1)*$/, ae = /^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;
1938
+ var ie = /^\/(?:[^~]|~0|~1)*$/, ae = /^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;
1939
1939
  function oe(e, { dataLevel: t, dataNames: n, dataPathArr: r }) {
1940
1940
  let i, a;
1941
1941
  if (e === "") return l.default.rootData;
1942
1942
  if (e[0] === "/") {
1943
- if (!Z.test(e)) throw Error(`Invalid JSON-pointer: ${e}`);
1943
+ if (!ie.test(e)) throw Error(`Invalid JSON-pointer: ${e}`);
1944
1944
  i = e, a = l.default.rootData;
1945
1945
  } else {
1946
1946
  let o = ae.exec(e);
@@ -1961,23 +1961,23 @@ var x = /* @__PURE__ */ u(((e) => {
1961
1961
  }
1962
1962
  }
1963
1963
  e.getData = oe;
1964
- })), z = /* @__PURE__ */ u(((e) => {
1964
+ })), H = /* @__PURE__ */ g(((e) => {
1965
1965
  Object.defineProperty(e, "__esModule", { value: !0 }), e.default = class extends Error {
1966
1966
  constructor(e) {
1967
1967
  super("validation failed"), this.errors = e, this.ajv = this.validation = !0;
1968
1968
  }
1969
1969
  };
1970
- })), B = /* @__PURE__ */ u(((e) => {
1970
+ })), U = /* @__PURE__ */ g(((e) => {
1971
1971
  Object.defineProperty(e, "__esModule", { value: !0 });
1972
- var t = L();
1972
+ var t = B();
1973
1973
  e.default = class extends Error {
1974
1974
  constructor(e, n, r, i) {
1975
1975
  super(i || `can't resolve reference ${r} from id ${n}`), this.missingRef = (0, t.resolveUrl)(e, n, r), this.missingSchema = (0, t.normalizeId)((0, t.getFullPath)(e, this.missingRef));
1976
1976
  }
1977
1977
  };
1978
- })), V = /* @__PURE__ */ u(((e) => {
1978
+ })), W = /* @__PURE__ */ g(((e) => {
1979
1979
  Object.defineProperty(e, "__esModule", { value: !0 }), e.resolveSchema = e.getCompilingSchema = e.resolveRef = e.compileSchema = e.SchemaEnv = void 0;
1980
- var t = C(), n = z(), r = T(), i = L(), a = w(), o = R(), s = class {
1980
+ var t = k(), n = H(), r = j(), i = B(), a = A(), o = V(), s = class {
1981
1981
  constructor(e) {
1982
1982
  this.refs = {}, this.dynamicAnchors = {};
1983
1983
  let t;
@@ -2136,27 +2136,27 @@ var x = /* @__PURE__ */ u(((e) => {
2136
2136
  baseId: t
2137
2137
  }), o.schema !== o.root.schema) return o;
2138
2138
  }
2139
- })), ee = /* @__PURE__ */ d({
2140
- $id: () => H,
2139
+ })), re = /* @__PURE__ */ _({
2140
+ $id: () => G,
2141
2141
  additionalProperties: () => !1,
2142
- default: () => te,
2143
- description: () => U,
2144
- properties: () => K,
2145
- required: () => G,
2146
- type: () => W
2147
- }), H, U, W, G, K, te, ne = l((() => {
2148
- H = "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#", U = "Meta-schema for $data reference (JSON AnySchema extension proposal)", W = "object", G = ["$data"], K = { $data: {
2142
+ default: () => X,
2143
+ description: () => K,
2144
+ properties: () => Y,
2145
+ required: () => J,
2146
+ type: () => q
2147
+ }), G, K, q, J, Y, X, Z = h((() => {
2148
+ G = "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#", K = "Meta-schema for $data reference (JSON AnySchema extension proposal)", q = "object", J = ["$data"], Y = { $data: {
2149
2149
  type: "string",
2150
2150
  anyOf: [{ format: "relative-json-pointer" }, { format: "json-pointer" }]
2151
- } }, te = {
2152
- $id: H,
2153
- description: U,
2154
- type: W,
2155
- required: G,
2156
- properties: K,
2151
+ } }, X = {
2152
+ $id: G,
2153
+ description: K,
2154
+ type: q,
2155
+ required: J,
2156
+ properties: Y,
2157
2157
  additionalProperties: !1
2158
2158
  };
2159
- })), re = /* @__PURE__ */ u(((e, t) => {
2159
+ })), ie = /* @__PURE__ */ g(((e, t) => {
2160
2160
  var n = RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu), r = RegExp.prototype.test.bind(/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u), i = RegExp.prototype.test.bind(/^[\da-f]{2}$/iu), a = RegExp.prototype.test.bind(/^[\da-z\-._~]$/iu), o = RegExp.prototype.test.bind(/^[\da-z\-._~!$&'()*+,;=:@/]$/iu);
2161
2161
  function s(e) {
2162
2162
  let t = "", n = 0, r = 0;
@@ -2373,8 +2373,8 @@ var x = /* @__PURE__ */ u(((e) => {
2373
2373
  normalizeIPv6: f,
2374
2374
  stringArrayToHexStripped: s
2375
2375
  };
2376
- })), q = /* @__PURE__ */ u(((e, t) => {
2377
- var { isUUID: n } = re(), r = /([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu, i = [
2376
+ })), ae = /* @__PURE__ */ g(((e, t) => {
2377
+ var { isUUID: n } = ie(), r = /([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu, i = [
2378
2378
  "http",
2379
2379
  "https",
2380
2380
  "ws",
@@ -2479,8 +2479,8 @@ var x = /* @__PURE__ */ u(((e) => {
2479
2479
  isValidSchemeName: a,
2480
2480
  getSchemeHandler: y
2481
2481
  };
2482
- })), ie = /* @__PURE__ */ u(((e, t) => {
2483
- var { normalizeIPv6: n, removeDotSegments: r, recomposeAuthority: i, normalizePercentEncoding: a, normalizePathEncoding: o, escapePreservingEscapes: s, reescapeHostDelimiters: c, isIPv4: l, nonSimpleDomain: u } = re(), { SCHEMES: d, getSchemeHandler: f } = q();
2482
+ })), oe = /* @__PURE__ */ g(((e, t) => {
2483
+ var { normalizeIPv6: n, removeDotSegments: r, recomposeAuthority: i, normalizePercentEncoding: a, normalizePathEncoding: o, escapePreservingEscapes: s, reescapeHostDelimiters: c, isIPv4: l, nonSimpleDomain: u } = ie(), { SCHEMES: d, getSchemeHandler: f } = ae();
2484
2484
  function p(e, t) {
2485
2485
  return typeof e == "string" ? e = w(e, t) : typeof e == "object" && (e = C(_(e, t), t)), e;
2486
2486
  }
@@ -2603,20 +2603,20 @@ var x = /* @__PURE__ */ u(((e) => {
2603
2603
  parse: C
2604
2604
  };
2605
2605
  t.exports = D, t.exports.default = D, t.exports.fastUri = D;
2606
- })), J = /* @__PURE__ */ u(((e) => {
2606
+ })), se = /* @__PURE__ */ g(((e) => {
2607
2607
  Object.defineProperty(e, "__esModule", { value: !0 });
2608
- var t = ie();
2608
+ var t = oe();
2609
2609
  t.code = "require(\"ajv/dist/runtime/uri\").default", e.default = t;
2610
- })), Y = /* @__PURE__ */ u(((e) => {
2610
+ })), ce = /* @__PURE__ */ g(((e) => {
2611
2611
  Object.defineProperty(e, "__esModule", { value: !0 }), e.CodeGen = e.Name = e.nil = e.stringify = e.str = e._ = e.KeywordCxt = void 0;
2612
- var t = R();
2612
+ var t = V();
2613
2613
  Object.defineProperty(e, "KeywordCxt", {
2614
2614
  enumerable: !0,
2615
2615
  get: function() {
2616
2616
  return t.KeywordCxt;
2617
2617
  }
2618
2618
  });
2619
- var n = C();
2619
+ var n = k();
2620
2620
  Object.defineProperty(e, "_", {
2621
2621
  enumerable: !0,
2622
2622
  get: function() {
@@ -2648,13 +2648,13 @@ var x = /* @__PURE__ */ u(((e) => {
2648
2648
  return n.CodeGen;
2649
2649
  }
2650
2650
  });
2651
- var r = z(), i = B(), a = O(), o = V(), s = C(), c = L(), l = A(), u = w(), d = (ne(), p(ee).default), f = J(), m = (e, t) => new RegExp(e, t);
2652
- m.code = "new RegExp";
2653
- var h = [
2651
+ var r = H(), i = U(), a = P(), o = W(), s = k(), c = B(), l = I(), u = A(), d = (Z(), y(re).default), f = se(), p = (e, t) => new RegExp(e, t);
2652
+ p.code = "new RegExp";
2653
+ var m = [
2654
2654
  "removeAdditional",
2655
2655
  "useDefaults",
2656
2656
  "coerceTypes"
2657
- ], g = /* @__PURE__ */ new Set([
2657
+ ], h = /* @__PURE__ */ new Set([
2658
2658
  "validate",
2659
2659
  "serialize",
2660
2660
  "parse",
@@ -2668,7 +2668,7 @@ var x = /* @__PURE__ */ u(((e) => {
2668
2668
  "func",
2669
2669
  "obj",
2670
2670
  "Error"
2671
- ]), _ = {
2671
+ ]), g = {
2672
2672
  errorDataPath: "",
2673
2673
  format: "`validateFormats: false` can be used instead.",
2674
2674
  nullable: "\"nullable\" keyword is supported by default.",
@@ -2684,13 +2684,13 @@ var x = /* @__PURE__ */ u(((e) => {
2684
2684
  cache: "Map is used as cache, schema object as key.",
2685
2685
  serialize: "Map is used as cache, schema object as key.",
2686
2686
  ajvErrors: "It is default now."
2687
- }, v = {
2687
+ }, _ = {
2688
2688
  ignoreKeywordsWithRef: "",
2689
2689
  jsPropertySyntax: "",
2690
2690
  unicode: "\"minLength\"/\"maxLength\" account for unicode characters by default."
2691
- }, y = 200;
2691
+ }, v = 200;
2692
2692
  function b(e) {
2693
- let t = e.strict, n = e.code?.optimize, r = n === !0 || n === void 0 ? 1 : n || 0, i = e.code?.regExp ?? m, a = e.uriResolver ?? f.default;
2693
+ let t = e.strict, n = e.code?.optimize, r = n === !0 || n === void 0 ? 1 : n || 0, i = e.code?.regExp ?? p, a = e.uriResolver ?? f.default;
2694
2694
  return {
2695
2695
  strictSchema: e.strictSchema ?? t ?? !0,
2696
2696
  strictNumbers: e.strictNumbers ?? t ?? !0,
@@ -2705,8 +2705,8 @@ var x = /* @__PURE__ */ u(((e) => {
2705
2705
  optimize: r,
2706
2706
  regExp: i
2707
2707
  },
2708
- loopRequired: e.loopRequired ?? y,
2709
- loopEnum: e.loopEnum ?? y,
2708
+ loopRequired: e.loopRequired ?? v,
2709
+ loopEnum: e.loopEnum ?? v,
2710
2710
  meta: e.meta ?? !0,
2711
2711
  messages: e.messages ?? !0,
2712
2712
  inlineRefs: e.inlineRefs ?? !0,
@@ -2728,12 +2728,12 @@ var x = /* @__PURE__ */ u(((e) => {
2728
2728
  let { es5: t, lines: n } = this.opts.code;
2729
2729
  this.scope = new s.ValueScope({
2730
2730
  scope: {},
2731
- prefixes: g,
2731
+ prefixes: h,
2732
2732
  es5: t,
2733
2733
  lines: n
2734
- }), this.logger = N(e.logger);
2734
+ }), this.logger = j(e.logger);
2735
2735
  let r = e.validateFormats;
2736
- e.validateFormats = !1, this.RULES = (0, a.getRules)(), S.call(this, _, e, "NOT SUPPORTED"), S.call(this, v, e, "DEPRECATED", "warn"), this._metaOpts = j.call(this), e.formats && D.call(this), this._addVocabularies(), this._addDefaultMetaSchema(), e.keywords && k.call(this, e.keywords), typeof e.meta == "object" && this.addMetaSchema(e.meta), E.call(this), e.validateFormats = r;
2736
+ e.validateFormats = !1, this.RULES = (0, a.getRules)(), S.call(this, g, e, "NOT SUPPORTED"), S.call(this, _, e, "DEPRECATED", "warn"), this._metaOpts = D.call(this), e.formats && T.call(this), this._addVocabularies(), this._addDefaultMetaSchema(), e.keywords && E.call(this, e.keywords), typeof e.meta == "object" && this.addMetaSchema(e.meta), w.call(this), e.validateFormats = r;
2737
2737
  }
2738
2738
  _addVocabularies() {
2739
2739
  this.addKeyword("$async");
@@ -2825,7 +2825,7 @@ var x = /* @__PURE__ */ u(((e) => {
2825
2825
  }
2826
2826
  getSchema(e) {
2827
2827
  let t;
2828
- for (; typeof (t = T.call(this, e)) == "string";) e = t;
2828
+ for (; typeof (t = C.call(this, e)) == "string";) e = t;
2829
2829
  if (t === void 0) {
2830
2830
  let { schemaId: n } = this.opts, r = new o.SchemaEnv({
2831
2831
  schema: {},
@@ -2841,7 +2841,7 @@ var x = /* @__PURE__ */ u(((e) => {
2841
2841
  switch (typeof e) {
2842
2842
  case "undefined": return this._removeAllSchemas(this.schemas), this._removeAllSchemas(this.refs), this._cache.clear(), this;
2843
2843
  case "string": {
2844
- let t = T.call(this, e);
2844
+ let t = C.call(this, e);
2845
2845
  return typeof t == "object" && this._cache.delete(t.schema), delete this.schemas[e], delete this.refs[e], this;
2846
2846
  }
2847
2847
  case "object": {
@@ -2863,14 +2863,14 @@ var x = /* @__PURE__ */ u(((e) => {
2863
2863
  else if (typeof e == "object" && t === void 0) {
2864
2864
  if (t = e, n = t.keyword, Array.isArray(n) && !n.length) throw Error("addKeywords: keyword must be string or non-empty array");
2865
2865
  } else throw Error("invalid addKeywords parameters");
2866
- if (F.call(this, n, t), !t) return (0, u.eachItem)(n, (e) => I.call(this, e)), this;
2867
- U.call(this, t);
2866
+ if (N.call(this, n, t), !t) return (0, u.eachItem)(n, (e) => F.call(this, e)), this;
2867
+ L.call(this, t);
2868
2868
  let r = {
2869
2869
  ...t,
2870
2870
  type: (0, l.getJSONTypes)(t.type),
2871
2871
  schemaType: (0, l.getJSONTypes)(t.schemaType)
2872
2872
  };
2873
- return (0, u.eachItem)(n, r.type.length === 0 ? (e) => I.call(this, e, r) : (e) => r.type.forEach((t) => I.call(this, e, r, t))), this;
2873
+ return (0, u.eachItem)(n, r.type.length === 0 ? (e) => F.call(this, e, r) : (e) => r.type.forEach((t) => F.call(this, e, r, t))), this;
2874
2874
  }
2875
2875
  getKeyword(e) {
2876
2876
  let t = this.RULES.all[e];
@@ -2901,7 +2901,7 @@ var x = /* @__PURE__ */ u(((e) => {
2901
2901
  let t = n[e];
2902
2902
  if (typeof t != "object") continue;
2903
2903
  let { $data: r } = t.definition, a = i[e];
2904
- r && a && (i[e] = G(a));
2904
+ r && a && (i[e] = z(a));
2905
2905
  }
2906
2906
  }
2907
2907
  return e;
@@ -2954,21 +2954,21 @@ var x = /* @__PURE__ */ u(((e) => {
2954
2954
  a in t && this.logger[r](`${n}: option ${i}. ${e[a]}`);
2955
2955
  }
2956
2956
  }
2957
- function T(e) {
2957
+ function C(e) {
2958
2958
  return e = (0, c.normalizeId)(e), this.schemas[e] || this.refs[e];
2959
2959
  }
2960
- function E() {
2960
+ function w() {
2961
2961
  let e = this.opts.schemas;
2962
2962
  if (e) if (Array.isArray(e)) this.addSchema(e);
2963
2963
  else for (let t in e) this.addSchema(e[t], t);
2964
2964
  }
2965
- function D() {
2965
+ function T() {
2966
2966
  for (let e in this.opts.formats) {
2967
2967
  let t = this.opts.formats[e];
2968
2968
  t && this.addFormat(e, t);
2969
2969
  }
2970
2970
  }
2971
- function k(e) {
2971
+ function E(e) {
2972
2972
  if (Array.isArray(e)) {
2973
2973
  this.addVocabulary(e);
2974
2974
  return;
@@ -2979,31 +2979,31 @@ var x = /* @__PURE__ */ u(((e) => {
2979
2979
  n.keyword ||= t, this.addKeyword(n);
2980
2980
  }
2981
2981
  }
2982
- function j() {
2982
+ function D() {
2983
2983
  let e = { ...this.opts };
2984
- for (let t of h) delete e[t];
2984
+ for (let t of m) delete e[t];
2985
2985
  return e;
2986
2986
  }
2987
- var M = {
2987
+ var O = {
2988
2988
  log() {},
2989
2989
  warn() {},
2990
2990
  error() {}
2991
2991
  };
2992
- function N(e) {
2993
- if (e === !1) return M;
2992
+ function j(e) {
2993
+ if (e === !1) return O;
2994
2994
  if (e === void 0) return console;
2995
2995
  if (e.log && e.warn && e.error) return e;
2996
2996
  throw Error("logger must implement log, warn and error methods");
2997
2997
  }
2998
- var P = /^[a-z_$][a-z0-9_$:-]*$/i;
2999
- function F(e, t) {
2998
+ var M = /^[a-z_$][a-z0-9_$:-]*$/i;
2999
+ function N(e, t) {
3000
3000
  let { RULES: n } = this;
3001
3001
  if ((0, u.eachItem)(e, (e) => {
3002
3002
  if (n.keywords[e]) throw Error(`Keyword ${e} is already defined`);
3003
- if (!P.test(e)) throw Error(`Keyword ${e} has invalid name`);
3003
+ if (!M.test(e)) throw Error(`Keyword ${e} has invalid name`);
3004
3004
  }), t && t.$data && !("code" in t || "validate" in t)) throw Error("$data keyword must have \"code\" or \"validate\" function");
3005
3005
  }
3006
- function I(e, t, n) {
3006
+ function F(e, t, n) {
3007
3007
  var r;
3008
3008
  let i = t?.post;
3009
3009
  if (n && i) throw Error("keyword with \"post\" flag cannot have \"type\"");
@@ -3020,30 +3020,30 @@ var x = /* @__PURE__ */ u(((e) => {
3020
3020
  schemaType: (0, l.getJSONTypes)(t.schemaType)
3021
3021
  }
3022
3022
  };
3023
- t.before ? H.call(this, o, s, t.before) : o.rules.push(s), a.all[e] = s, (r = t.implements) == null || r.forEach((e) => this.addKeyword(e));
3023
+ t.before ? ee.call(this, o, s, t.before) : o.rules.push(s), a.all[e] = s, (r = t.implements) == null || r.forEach((e) => this.addKeyword(e));
3024
3024
  }
3025
- function H(e, t, n) {
3025
+ function ee(e, t, n) {
3026
3026
  let r = e.rules.findIndex((e) => e.keyword === n);
3027
3027
  r >= 0 ? e.rules.splice(r, 0, t) : (e.rules.push(t), this.logger.warn(`rule ${n} is not defined`));
3028
3028
  }
3029
- function U(e) {
3029
+ function L(e) {
3030
3030
  let { metaSchema: t } = e;
3031
- t !== void 0 && (e.$data && this.opts.$data && (t = G(t)), e.validateSchema = this.compile(t, !0));
3031
+ t !== void 0 && (e.$data && this.opts.$data && (t = z(t)), e.validateSchema = this.compile(t, !0));
3032
3032
  }
3033
- var W = { $ref: "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#" };
3034
- function G(e) {
3035
- return { anyOf: [e, W] };
3033
+ var R = { $ref: "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#" };
3034
+ function z(e) {
3035
+ return { anyOf: [e, R] };
3036
3036
  }
3037
- })), X = /* @__PURE__ */ u(((e) => {
3037
+ })), le = /* @__PURE__ */ g(((e) => {
3038
3038
  Object.defineProperty(e, "__esModule", { value: !0 }), e.default = {
3039
3039
  keyword: "id",
3040
3040
  code() {
3041
3041
  throw Error("NOT SUPPORTED: keyword \"id\", use \"$id\" for schema ID");
3042
3042
  }
3043
3043
  };
3044
- })), Z = /* @__PURE__ */ u(((e) => {
3044
+ })), ue = /* @__PURE__ */ g(((e) => {
3045
3045
  Object.defineProperty(e, "__esModule", { value: !0 }), e.callRef = e.getValidate = void 0;
3046
- var t = B(), n = M(), r = C(), i = T(), a = V(), o = w(), s = {
3046
+ var t = U(), n = L(), r = k(), i = j(), a = W(), o = A(), s = {
3047
3047
  keyword: "$ref",
3048
3048
  schemaType: "string",
3049
3049
  code(e) {
@@ -3116,9 +3116,9 @@ var x = /* @__PURE__ */ u(((e) => {
3116
3116
  }
3117
3117
  }
3118
3118
  e.callRef = l, e.default = s;
3119
- })), ae = /* @__PURE__ */ u(((e) => {
3119
+ })), de = /* @__PURE__ */ g(((e) => {
3120
3120
  Object.defineProperty(e, "__esModule", { value: !0 });
3121
- var t = X(), n = Z();
3121
+ var t = le(), n = ue();
3122
3122
  e.default = [
3123
3123
  "$schema",
3124
3124
  "$id",
@@ -3129,9 +3129,9 @@ var x = /* @__PURE__ */ u(((e) => {
3129
3129
  t.default,
3130
3130
  n.default
3131
3131
  ];
3132
- })), oe = /* @__PURE__ */ u(((e) => {
3132
+ })), fe = /* @__PURE__ */ g(((e) => {
3133
3133
  Object.defineProperty(e, "__esModule", { value: !0 });
3134
- var t = C(), n = t.operators, r = {
3134
+ var t = k(), n = t.operators, r = {
3135
3135
  maximum: {
3136
3136
  okStr: "<=",
3137
3137
  ok: n.LTE,
@@ -3167,9 +3167,9 @@ var x = /* @__PURE__ */ u(((e) => {
3167
3167
  e.fail$data((0, t._)`${i} ${r[n].fail} ${a} || isNaN(${i})`);
3168
3168
  }
3169
3169
  };
3170
- })), se = /* @__PURE__ */ u(((e) => {
3170
+ })), pe = /* @__PURE__ */ g(((e) => {
3171
3171
  Object.defineProperty(e, "__esModule", { value: !0 });
3172
- var t = C();
3172
+ var t = k();
3173
3173
  e.default = {
3174
3174
  keyword: "multipleOf",
3175
3175
  type: "number",
@@ -3184,7 +3184,7 @@ var x = /* @__PURE__ */ u(((e) => {
3184
3184
  e.fail$data((0, t._)`(${i} === 0 || (${s} = ${r}/${i}, ${c}))`);
3185
3185
  }
3186
3186
  };
3187
- })), ce = /* @__PURE__ */ u(((e) => {
3187
+ })), me = /* @__PURE__ */ g(((e) => {
3188
3188
  Object.defineProperty(e, "__esModule", { value: !0 });
3189
3189
  function t(e) {
3190
3190
  let t = e.length, n = 0, r = 0, i;
@@ -3192,9 +3192,9 @@ var x = /* @__PURE__ */ u(((e) => {
3192
3192
  return n;
3193
3193
  }
3194
3194
  e.default = t, t.code = "require(\"ajv/dist/runtime/ucs2length\").default";
3195
- })), le = /* @__PURE__ */ u(((e) => {
3195
+ })), he = /* @__PURE__ */ g(((e) => {
3196
3196
  Object.defineProperty(e, "__esModule", { value: !0 });
3197
- var t = C(), n = w(), r = ce();
3197
+ var t = k(), n = A(), r = me();
3198
3198
  e.default = {
3199
3199
  keyword: ["maxLength", "minLength"],
3200
3200
  type: "string",
@@ -3212,9 +3212,9 @@ var x = /* @__PURE__ */ u(((e) => {
3212
3212
  e.fail$data((0, t._)`${l} ${c} ${o}`);
3213
3213
  }
3214
3214
  };
3215
- })), ue = /* @__PURE__ */ u(((e) => {
3215
+ })), ge = /* @__PURE__ */ g(((e) => {
3216
3216
  Object.defineProperty(e, "__esModule", { value: !0 });
3217
- var t = M(), n = w(), r = C();
3217
+ var t = L(), n = A(), r = k();
3218
3218
  e.default = {
3219
3219
  keyword: "pattern",
3220
3220
  type: "string",
@@ -3235,9 +3235,9 @@ var x = /* @__PURE__ */ u(((e) => {
3235
3235
  }
3236
3236
  }
3237
3237
  };
3238
- })), de = /* @__PURE__ */ u(((e) => {
3238
+ })), _e = /* @__PURE__ */ g(((e) => {
3239
3239
  Object.defineProperty(e, "__esModule", { value: !0 });
3240
- var t = C();
3240
+ var t = k();
3241
3241
  e.default = {
3242
3242
  keyword: ["maxProperties", "minProperties"],
3243
3243
  type: "object",
@@ -3255,9 +3255,9 @@ var x = /* @__PURE__ */ u(((e) => {
3255
3255
  e.fail$data((0, t._)`Object.keys(${r}).length ${a} ${i}`);
3256
3256
  }
3257
3257
  };
3258
- })), fe = /* @__PURE__ */ u(((e) => {
3258
+ })), ve = /* @__PURE__ */ g(((e) => {
3259
3259
  Object.defineProperty(e, "__esModule", { value: !0 });
3260
- var t = M(), n = C(), r = w();
3260
+ var t = L(), n = k(), r = A();
3261
3261
  e.default = {
3262
3262
  keyword: "required",
3263
3263
  type: "object",
@@ -3303,9 +3303,9 @@ var x = /* @__PURE__ */ u(((e) => {
3303
3303
  }
3304
3304
  }
3305
3305
  };
3306
- })), pe = /* @__PURE__ */ u(((e) => {
3306
+ })), ye = /* @__PURE__ */ g(((e) => {
3307
3307
  Object.defineProperty(e, "__esModule", { value: !0 });
3308
- var t = C();
3308
+ var t = k();
3309
3309
  e.default = {
3310
3310
  keyword: ["maxItems", "minItems"],
3311
3311
  type: "array",
@@ -3323,13 +3323,13 @@ var x = /* @__PURE__ */ u(((e) => {
3323
3323
  e.fail$data((0, t._)`${r}.length ${a} ${i}`);
3324
3324
  }
3325
3325
  };
3326
- })), me = /* @__PURE__ */ u(((e) => {
3326
+ })), be = /* @__PURE__ */ g(((e) => {
3327
3327
  Object.defineProperty(e, "__esModule", { value: !0 });
3328
- var t = F();
3328
+ var t = te();
3329
3329
  t.code = "require(\"ajv/dist/runtime/equal\").default", e.default = t;
3330
- })), he = /* @__PURE__ */ u(((e) => {
3330
+ })), xe = /* @__PURE__ */ g(((e) => {
3331
3331
  Object.defineProperty(e, "__esModule", { value: !0 });
3332
- var t = A(), n = C(), r = w(), i = me();
3332
+ var t = I(), n = k(), r = A(), i = be();
3333
3333
  e.default = {
3334
3334
  keyword: "uniqueItems",
3335
3335
  type: "array",
@@ -3370,9 +3370,9 @@ var x = /* @__PURE__ */ u(((e) => {
3370
3370
  }
3371
3371
  }
3372
3372
  };
3373
- })), ge = /* @__PURE__ */ u(((e) => {
3373
+ })), Se = /* @__PURE__ */ g(((e) => {
3374
3374
  Object.defineProperty(e, "__esModule", { value: !0 });
3375
- var t = C(), n = w(), r = me();
3375
+ var t = k(), n = A(), r = be();
3376
3376
  e.default = {
3377
3377
  keyword: "const",
3378
3378
  $data: !0,
@@ -3385,9 +3385,9 @@ var x = /* @__PURE__ */ u(((e) => {
3385
3385
  o || c && typeof c == "object" ? e.fail$data((0, t._)`!${(0, n.useFunc)(i, r.default)}(${a}, ${s})`) : e.fail((0, t._)`${c} !== ${a}`);
3386
3386
  }
3387
3387
  };
3388
- })), _e = /* @__PURE__ */ u(((e) => {
3388
+ })), Ce = /* @__PURE__ */ g(((e) => {
3389
3389
  Object.defineProperty(e, "__esModule", { value: !0 });
3390
- var t = C(), n = w(), r = me();
3390
+ var t = k(), n = A(), r = be();
3391
3391
  e.default = {
3392
3392
  keyword: "enum",
3393
3393
  schemaType: "array",
@@ -3417,9 +3417,9 @@ var x = /* @__PURE__ */ u(((e) => {
3417
3417
  }
3418
3418
  }
3419
3419
  };
3420
- })), ve = /* @__PURE__ */ u(((e) => {
3420
+ })), we = /* @__PURE__ */ g(((e) => {
3421
3421
  Object.defineProperty(e, "__esModule", { value: !0 });
3422
- var t = oe(), n = se(), r = le(), i = ue(), a = de(), o = fe(), s = pe(), c = he(), l = ge(), u = _e();
3422
+ var t = fe(), n = pe(), r = he(), i = ge(), a = _e(), o = ve(), s = ye(), c = xe(), l = Se(), u = Ce();
3423
3423
  e.default = [
3424
3424
  t.default,
3425
3425
  n.default,
@@ -3440,9 +3440,9 @@ var x = /* @__PURE__ */ u(((e) => {
3440
3440
  l.default,
3441
3441
  u.default
3442
3442
  ];
3443
- })), ye = /* @__PURE__ */ u(((e) => {
3443
+ })), Te = /* @__PURE__ */ g(((e) => {
3444
3444
  Object.defineProperty(e, "__esModule", { value: !0 }), e.validateAdditionalItems = void 0;
3445
- var t = C(), n = w(), r = {
3445
+ var t = k(), n = A(), r = {
3446
3446
  keyword: "additionalItems",
3447
3447
  type: "array",
3448
3448
  schemaType: ["boolean", "object"],
@@ -3480,9 +3480,9 @@ var x = /* @__PURE__ */ u(((e) => {
3480
3480
  }
3481
3481
  }
3482
3482
  e.validateAdditionalItems = i, e.default = r;
3483
- })), be = /* @__PURE__ */ u(((e) => {
3483
+ })), Ee = /* @__PURE__ */ g(((e) => {
3484
3484
  Object.defineProperty(e, "__esModule", { value: !0 }), e.validateTuple = void 0;
3485
- var t = C(), n = w(), r = M(), i = {
3485
+ var t = k(), n = A(), r = L(), i = {
3486
3486
  keyword: "items",
3487
3487
  type: "array",
3488
3488
  schemaType: [
@@ -3517,9 +3517,9 @@ var x = /* @__PURE__ */ u(((e) => {
3517
3517
  }
3518
3518
  }
3519
3519
  e.validateTuple = a, e.default = i;
3520
- })), xe = /* @__PURE__ */ u(((e) => {
3520
+ })), De = /* @__PURE__ */ g(((e) => {
3521
3521
  Object.defineProperty(e, "__esModule", { value: !0 });
3522
- var t = be();
3522
+ var t = Ee();
3523
3523
  e.default = {
3524
3524
  keyword: "prefixItems",
3525
3525
  type: "array",
@@ -3527,9 +3527,9 @@ var x = /* @__PURE__ */ u(((e) => {
3527
3527
  before: "uniqueItems",
3528
3528
  code: (e) => (0, t.validateTuple)(e, "items")
3529
3529
  };
3530
- })), Se = /* @__PURE__ */ u(((e) => {
3530
+ })), Oe = /* @__PURE__ */ g(((e) => {
3531
3531
  Object.defineProperty(e, "__esModule", { value: !0 });
3532
- var t = C(), n = w(), r = M(), i = ye();
3532
+ var t = k(), n = A(), r = L(), i = Te();
3533
3533
  e.default = {
3534
3534
  keyword: "items",
3535
3535
  type: "array",
@@ -3544,9 +3544,9 @@ var x = /* @__PURE__ */ u(((e) => {
3544
3544
  o.items = !0, !(0, n.alwaysValidSchema)(o, t) && (s ? (0, i.validateAdditionalItems)(e, s) : e.ok((0, r.validateArray)(e)));
3545
3545
  }
3546
3546
  };
3547
- })), Ce = /* @__PURE__ */ u(((e) => {
3547
+ })), ke = /* @__PURE__ */ g(((e) => {
3548
3548
  Object.defineProperty(e, "__esModule", { value: !0 });
3549
- var t = C(), n = w();
3549
+ var t = k(), n = A();
3550
3550
  e.default = {
3551
3551
  keyword: "contains",
3552
3552
  type: "array",
@@ -3599,9 +3599,9 @@ var x = /* @__PURE__ */ u(((e) => {
3599
3599
  }
3600
3600
  }
3601
3601
  };
3602
- })), we = /* @__PURE__ */ u(((e) => {
3602
+ })), Ae = /* @__PURE__ */ g(((e) => {
3603
3603
  Object.defineProperty(e, "__esModule", { value: !0 }), e.validateSchemaDeps = e.validatePropertyDeps = e.error = void 0;
3604
- var t = C(), n = w(), r = M();
3604
+ var t = k(), n = A(), r = L();
3605
3605
  e.error = {
3606
3606
  message: ({ params: { property: e, depsCount: n, deps: r } }) => {
3607
3607
  let i = n === 1 ? "property" : "properties";
@@ -3660,9 +3660,9 @@ var x = /* @__PURE__ */ u(((e) => {
3660
3660
  }, () => i.var(c, !0)), e.ok(c));
3661
3661
  }
3662
3662
  e.validateSchemaDeps = s, e.default = i;
3663
- })), Te = /* @__PURE__ */ u(((e) => {
3663
+ })), je = /* @__PURE__ */ g(((e) => {
3664
3664
  Object.defineProperty(e, "__esModule", { value: !0 });
3665
- var t = C(), n = w();
3665
+ var t = k(), n = A();
3666
3666
  e.default = {
3667
3667
  keyword: "propertyNames",
3668
3668
  type: "object",
@@ -3688,9 +3688,9 @@ var x = /* @__PURE__ */ u(((e) => {
3688
3688
  }), e.ok(s);
3689
3689
  }
3690
3690
  };
3691
- })), Ee = /* @__PURE__ */ u(((e) => {
3691
+ })), Me = /* @__PURE__ */ g(((e) => {
3692
3692
  Object.defineProperty(e, "__esModule", { value: !0 });
3693
- var t = M(), n = C(), r = T(), i = w();
3693
+ var t = L(), n = k(), r = j(), i = A();
3694
3694
  e.default = {
3695
3695
  keyword: "additionalProperties",
3696
3696
  type: ["object"],
@@ -3755,9 +3755,9 @@ var x = /* @__PURE__ */ u(((e) => {
3755
3755
  }
3756
3756
  }
3757
3757
  };
3758
- })), De = /* @__PURE__ */ u(((e) => {
3758
+ })), Ne = /* @__PURE__ */ g(((e) => {
3759
3759
  Object.defineProperty(e, "__esModule", { value: !0 });
3760
- var t = R(), n = M(), r = w(), i = Ee();
3760
+ var t = V(), n = L(), r = A(), i = Me();
3761
3761
  e.default = {
3762
3762
  keyword: "properties",
3763
3763
  type: "object",
@@ -3784,9 +3784,9 @@ var x = /* @__PURE__ */ u(((e) => {
3784
3784
  }
3785
3785
  }
3786
3786
  };
3787
- })), Oe = /* @__PURE__ */ u(((e) => {
3787
+ })), Pe = /* @__PURE__ */ g(((e) => {
3788
3788
  Object.defineProperty(e, "__esModule", { value: !0 });
3789
- var t = M(), n = C(), r = w(), i = w();
3789
+ var t = L(), n = k(), r = A(), i = A();
3790
3790
  e.default = {
3791
3791
  keyword: "patternProperties",
3792
3792
  type: "object",
@@ -3819,9 +3819,9 @@ var x = /* @__PURE__ */ u(((e) => {
3819
3819
  }
3820
3820
  }
3821
3821
  };
3822
- })), ke = /* @__PURE__ */ u(((e) => {
3822
+ })), Fe = /* @__PURE__ */ g(((e) => {
3823
3823
  Object.defineProperty(e, "__esModule", { value: !0 });
3824
- var t = w();
3824
+ var t = A();
3825
3825
  e.default = {
3826
3826
  keyword: "not",
3827
3827
  schemaType: ["object", "boolean"],
@@ -3842,17 +3842,17 @@ var x = /* @__PURE__ */ u(((e) => {
3842
3842
  },
3843
3843
  error: { message: "must NOT be valid" }
3844
3844
  };
3845
- })), Ae = /* @__PURE__ */ u(((e) => {
3845
+ })), Ie = /* @__PURE__ */ g(((e) => {
3846
3846
  Object.defineProperty(e, "__esModule", { value: !0 }), e.default = {
3847
3847
  keyword: "anyOf",
3848
3848
  schemaType: "array",
3849
3849
  trackErrors: !0,
3850
- code: M().validateUnion,
3850
+ code: L().validateUnion,
3851
3851
  error: { message: "must match a schema in anyOf" }
3852
3852
  };
3853
- })), je = /* @__PURE__ */ u(((e) => {
3853
+ })), Le = /* @__PURE__ */ g(((e) => {
3854
3854
  Object.defineProperty(e, "__esModule", { value: !0 });
3855
- var t = C(), n = w();
3855
+ var t = k(), n = A();
3856
3856
  e.default = {
3857
3857
  keyword: "oneOf",
3858
3858
  schemaType: "array",
@@ -3882,9 +3882,9 @@ var x = /* @__PURE__ */ u(((e) => {
3882
3882
  }
3883
3883
  }
3884
3884
  };
3885
- })), Me = /* @__PURE__ */ u(((e) => {
3885
+ })), Re = /* @__PURE__ */ g(((e) => {
3886
3886
  Object.defineProperty(e, "__esModule", { value: !0 });
3887
- var t = w();
3887
+ var t = A();
3888
3888
  e.default = {
3889
3889
  keyword: "allOf",
3890
3890
  schemaType: "array",
@@ -3903,9 +3903,9 @@ var x = /* @__PURE__ */ u(((e) => {
3903
3903
  });
3904
3904
  }
3905
3905
  };
3906
- })), Ne = /* @__PURE__ */ u(((e) => {
3906
+ })), ze = /* @__PURE__ */ g(((e) => {
3907
3907
  Object.defineProperty(e, "__esModule", { value: !0 });
3908
- var t = C(), n = w(), r = {
3908
+ var t = k(), n = A(), r = {
3909
3909
  keyword: "if",
3910
3910
  schemaType: ["object", "boolean"],
3911
3911
  trackErrors: !0,
@@ -3946,9 +3946,9 @@ var x = /* @__PURE__ */ u(((e) => {
3946
3946
  return r !== void 0 && !(0, n.alwaysValidSchema)(e, r);
3947
3947
  }
3948
3948
  e.default = r;
3949
- })), Pe = /* @__PURE__ */ u(((e) => {
3949
+ })), Be = /* @__PURE__ */ g(((e) => {
3950
3950
  Object.defineProperty(e, "__esModule", { value: !0 });
3951
- var t = w();
3951
+ var t = A();
3952
3952
  e.default = {
3953
3953
  keyword: ["then", "else"],
3954
3954
  schemaType: ["object", "boolean"],
@@ -3956,9 +3956,9 @@ var x = /* @__PURE__ */ u(((e) => {
3956
3956
  n.if === void 0 && (0, t.checkStrictMode)(r, `"${e}" without "if" is ignored`);
3957
3957
  }
3958
3958
  };
3959
- })), Fe = /* @__PURE__ */ u(((e) => {
3959
+ })), Ve = /* @__PURE__ */ g(((e) => {
3960
3960
  Object.defineProperty(e, "__esModule", { value: !0 });
3961
- var t = ye(), n = xe(), r = be(), i = Se(), a = Ce(), o = we(), s = Te(), c = Ee(), l = De(), u = Oe(), d = ke(), f = Ae(), p = je(), m = Me(), h = Ne(), g = Pe();
3961
+ var t = Te(), n = De(), r = Ee(), i = Oe(), a = ke(), o = Ae(), s = je(), c = Me(), l = Ne(), u = Pe(), d = Fe(), f = Ie(), p = Le(), m = Re(), h = ze(), g = Be();
3962
3962
  function _(e = !1) {
3963
3963
  let _ = [
3964
3964
  d.default,
@@ -3976,9 +3976,9 @@ var x = /* @__PURE__ */ u(((e) => {
3976
3976
  return e ? _.push(n.default, i.default) : _.push(t.default, r.default), _.push(a.default), _;
3977
3977
  }
3978
3978
  e.default = _;
3979
- })), Ie = /* @__PURE__ */ u(((e) => {
3979
+ })), He = /* @__PURE__ */ g(((e) => {
3980
3980
  Object.defineProperty(e, "__esModule", { value: !0 }), e.dynamicAnchor = void 0;
3981
- var t = C(), n = T(), r = V(), i = Z(), a = {
3981
+ var t = k(), n = j(), r = W(), i = ue(), a = {
3982
3982
  keyword: "$dynamicAnchor",
3983
3983
  schemaType: "string",
3984
3984
  code: (e) => o(e, e.schema)
@@ -4002,9 +4002,9 @@ var x = /* @__PURE__ */ u(((e) => {
4002
4002
  return r.compileSchema.call(a, d), (0, i.getValidate)(e, d);
4003
4003
  }
4004
4004
  e.default = a;
4005
- })), Le = /* @__PURE__ */ u(((e) => {
4005
+ })), Ue = /* @__PURE__ */ g(((e) => {
4006
4006
  Object.defineProperty(e, "__esModule", { value: !0 }), e.dynamicRef = void 0;
4007
- var t = C(), n = T(), r = Z(), i = {
4007
+ var t = k(), n = j(), r = ue(), i = {
4008
4008
  keyword: "$dynamicRef",
4009
4009
  schemaType: "string",
4010
4010
  code: (e) => a(e, e.schema)
@@ -4031,9 +4031,9 @@ var x = /* @__PURE__ */ u(((e) => {
4031
4031
  }
4032
4032
  }
4033
4033
  e.dynamicRef = a, e.default = i;
4034
- })), Re = /* @__PURE__ */ u(((e) => {
4034
+ })), We = /* @__PURE__ */ g(((e) => {
4035
4035
  Object.defineProperty(e, "__esModule", { value: !0 });
4036
- var t = Ie(), n = w();
4036
+ var t = He(), n = A();
4037
4037
  e.default = {
4038
4038
  keyword: "$recursiveAnchor",
4039
4039
  schemaType: "boolean",
@@ -4041,26 +4041,26 @@ var x = /* @__PURE__ */ u(((e) => {
4041
4041
  e.schema ? (0, t.dynamicAnchor)(e, "") : (0, n.checkStrictMode)(e.it, "$recursiveAnchor: false is ignored");
4042
4042
  }
4043
4043
  };
4044
- })), ze = /* @__PURE__ */ u(((e) => {
4044
+ })), Ge = /* @__PURE__ */ g(((e) => {
4045
4045
  Object.defineProperty(e, "__esModule", { value: !0 });
4046
- var t = Le();
4046
+ var t = Ue();
4047
4047
  e.default = {
4048
4048
  keyword: "$recursiveRef",
4049
4049
  schemaType: "string",
4050
4050
  code: (e) => (0, t.dynamicRef)(e, e.schema)
4051
4051
  };
4052
- })), Be = /* @__PURE__ */ u(((e) => {
4052
+ })), Ke = /* @__PURE__ */ g(((e) => {
4053
4053
  Object.defineProperty(e, "__esModule", { value: !0 });
4054
- var t = Ie(), n = Le(), r = Re(), i = ze();
4054
+ var t = He(), n = Ue(), r = We(), i = Ge();
4055
4055
  e.default = [
4056
4056
  t.default,
4057
4057
  n.default,
4058
4058
  r.default,
4059
4059
  i.default
4060
4060
  ];
4061
- })), Ve = /* @__PURE__ */ u(((e) => {
4061
+ })), qe = /* @__PURE__ */ g(((e) => {
4062
4062
  Object.defineProperty(e, "__esModule", { value: !0 });
4063
- var t = we();
4063
+ var t = Ae();
4064
4064
  e.default = {
4065
4065
  keyword: "dependentRequired",
4066
4066
  type: "object",
@@ -4068,18 +4068,18 @@ var x = /* @__PURE__ */ u(((e) => {
4068
4068
  error: t.error,
4069
4069
  code: (e) => (0, t.validatePropertyDeps)(e)
4070
4070
  };
4071
- })), He = /* @__PURE__ */ u(((e) => {
4071
+ })), Je = /* @__PURE__ */ g(((e) => {
4072
4072
  Object.defineProperty(e, "__esModule", { value: !0 });
4073
- var t = we();
4073
+ var t = Ae();
4074
4074
  e.default = {
4075
4075
  keyword: "dependentSchemas",
4076
4076
  type: "object",
4077
4077
  schemaType: "object",
4078
4078
  code: (e) => (0, t.validateSchemaDeps)(e)
4079
4079
  };
4080
- })), Ue = /* @__PURE__ */ u(((e) => {
4080
+ })), Ye = /* @__PURE__ */ g(((e) => {
4081
4081
  Object.defineProperty(e, "__esModule", { value: !0 });
4082
- var t = w();
4082
+ var t = A();
4083
4083
  e.default = {
4084
4084
  keyword: ["maxContains", "minContains"],
4085
4085
  type: "array",
@@ -4088,17 +4088,17 @@ var x = /* @__PURE__ */ u(((e) => {
4088
4088
  n.contains === void 0 && (0, t.checkStrictMode)(r, `"${e}" without "contains" is ignored`);
4089
4089
  }
4090
4090
  };
4091
- })), We = /* @__PURE__ */ u(((e) => {
4091
+ })), Xe = /* @__PURE__ */ g(((e) => {
4092
4092
  Object.defineProperty(e, "__esModule", { value: !0 });
4093
- var t = Ve(), n = He(), r = Ue();
4093
+ var t = qe(), n = Je(), r = Ye();
4094
4094
  e.default = [
4095
4095
  t.default,
4096
4096
  n.default,
4097
4097
  r.default
4098
4098
  ];
4099
- })), Ge = /* @__PURE__ */ u(((e) => {
4099
+ })), Ze = /* @__PURE__ */ g(((e) => {
4100
4100
  Object.defineProperty(e, "__esModule", { value: !0 });
4101
- var t = C(), n = w(), r = T();
4101
+ var t = k(), n = A(), r = j();
4102
4102
  e.default = {
4103
4103
  keyword: "unevaluatedProperties",
4104
4104
  type: "object",
@@ -4138,9 +4138,9 @@ var x = /* @__PURE__ */ u(((e) => {
4138
4138
  }
4139
4139
  }
4140
4140
  };
4141
- })), Ke = /* @__PURE__ */ u(((e) => {
4141
+ })), Qe = /* @__PURE__ */ g(((e) => {
4142
4142
  Object.defineProperty(e, "__esModule", { value: !0 });
4143
- var t = C(), n = w();
4143
+ var t = k(), n = A();
4144
4144
  e.default = {
4145
4145
  keyword: "unevaluatedItems",
4146
4146
  type: "array",
@@ -4170,13 +4170,13 @@ var x = /* @__PURE__ */ u(((e) => {
4170
4170
  }
4171
4171
  }
4172
4172
  };
4173
- })), qe = /* @__PURE__ */ u(((e) => {
4173
+ })), $e = /* @__PURE__ */ g(((e) => {
4174
4174
  Object.defineProperty(e, "__esModule", { value: !0 });
4175
- var t = Ge(), n = Ke();
4175
+ var t = Ze(), n = Qe();
4176
4176
  e.default = [t.default, n.default];
4177
- })), Je = /* @__PURE__ */ u(((e) => {
4177
+ })), et = /* @__PURE__ */ g(((e) => {
4178
4178
  Object.defineProperty(e, "__esModule", { value: !0 });
4179
- var t = C();
4179
+ var t = k();
4180
4180
  e.default = {
4181
4181
  keyword: "format",
4182
4182
  type: ["number", "string"],
@@ -4249,9 +4249,9 @@ var x = /* @__PURE__ */ u(((e) => {
4249
4249
  }
4250
4250
  }
4251
4251
  };
4252
- })), Ye = /* @__PURE__ */ u(((e) => {
4253
- Object.defineProperty(e, "__esModule", { value: !0 }), e.default = [Je().default];
4254
- })), Xe = /* @__PURE__ */ u(((e) => {
4252
+ })), tt = /* @__PURE__ */ g(((e) => {
4253
+ Object.defineProperty(e, "__esModule", { value: !0 }), e.default = [et().default];
4254
+ })), nt = /* @__PURE__ */ g(((e) => {
4255
4255
  Object.defineProperty(e, "__esModule", { value: !0 }), e.contentVocabulary = e.metadataVocabulary = void 0, e.metadataVocabulary = [
4256
4256
  "title",
4257
4257
  "description",
@@ -4265,9 +4265,9 @@ var x = /* @__PURE__ */ u(((e) => {
4265
4265
  "contentEncoding",
4266
4266
  "contentSchema"
4267
4267
  ];
4268
- })), Ze = /* @__PURE__ */ u(((e) => {
4268
+ })), rt = /* @__PURE__ */ g(((e) => {
4269
4269
  Object.defineProperty(e, "__esModule", { value: !0 });
4270
- var t = ae(), n = ve(), r = Fe(), i = Be(), a = We(), o = qe(), s = Ye(), c = Xe();
4270
+ var t = de(), n = we(), r = Ve(), i = Ke(), a = Xe(), o = $e(), s = tt(), c = nt();
4271
4271
  e.default = [
4272
4272
  i.default,
4273
4273
  t.default,
@@ -4279,15 +4279,15 @@ var x = /* @__PURE__ */ u(((e) => {
4279
4279
  a.default,
4280
4280
  o.default
4281
4281
  ];
4282
- })), Qe = /* @__PURE__ */ u(((e) => {
4282
+ })), it = /* @__PURE__ */ g(((e) => {
4283
4283
  Object.defineProperty(e, "__esModule", { value: !0 }), e.DiscrError = void 0;
4284
4284
  var t;
4285
4285
  (function(e) {
4286
4286
  e.Tag = "tag", e.Mapping = "mapping";
4287
4287
  })(t || (e.DiscrError = t = {}));
4288
- })), $e = /* @__PURE__ */ u(((e) => {
4288
+ })), at = /* @__PURE__ */ g(((e) => {
4289
4289
  Object.defineProperty(e, "__esModule", { value: !0 });
4290
- var t = C(), n = Qe(), r = V(), i = B(), a = w();
4290
+ var t = k(), n = it(), r = W(), i = U(), a = A();
4291
4291
  e.default = {
4292
4292
  keyword: "discriminator",
4293
4293
  type: "object",
@@ -4355,19 +4355,19 @@ var x = /* @__PURE__ */ u(((e) => {
4355
4355
  }
4356
4356
  }
4357
4357
  };
4358
- })), et = /* @__PURE__ */ d({
4359
- $comment: () => ct,
4360
- $dynamicAnchor: () => it,
4361
- $id: () => nt,
4362
- $schema: () => tt,
4363
- $vocabulary: () => rt,
4364
- allOf: () => ot,
4365
- default: () => ut,
4366
- properties: () => lt,
4367
- title: () => at,
4368
- type: () => st
4369
- }), tt, nt, rt, it, at, ot, st, ct, lt, ut, dt = l((() => {
4370
- tt = "https://json-schema.org/draft/2020-12/schema", nt = "https://json-schema.org/draft/2020-12/schema", rt = {
4358
+ })), ot = /* @__PURE__ */ _({
4359
+ $comment: () => mt,
4360
+ $dynamicAnchor: () => ut,
4361
+ $id: () => ct,
4362
+ $schema: () => st,
4363
+ $vocabulary: () => lt,
4364
+ allOf: () => ft,
4365
+ default: () => gt,
4366
+ properties: () => ht,
4367
+ title: () => dt,
4368
+ type: () => pt
4369
+ }), st, ct, lt, ut, dt, ft, pt, mt, ht, gt, _t = h((() => {
4370
+ st = "https://json-schema.org/draft/2020-12/schema", ct = "https://json-schema.org/draft/2020-12/schema", lt = {
4371
4371
  "https://json-schema.org/draft/2020-12/vocab/core": !0,
4372
4372
  "https://json-schema.org/draft/2020-12/vocab/applicator": !0,
4373
4373
  "https://json-schema.org/draft/2020-12/vocab/unevaluated": !0,
@@ -4375,7 +4375,7 @@ var x = /* @__PURE__ */ u(((e) => {
4375
4375
  "https://json-schema.org/draft/2020-12/vocab/meta-data": !0,
4376
4376
  "https://json-schema.org/draft/2020-12/vocab/format-annotation": !0,
4377
4377
  "https://json-schema.org/draft/2020-12/vocab/content": !0
4378
- }, it = "meta", at = "Core and Validation specifications meta-schema", ot = [
4378
+ }, ut = "meta", dt = "Core and Validation specifications meta-schema", ft = [
4379
4379
  { $ref: "meta/core" },
4380
4380
  { $ref: "meta/applicator" },
4381
4381
  { $ref: "meta/unevaluated" },
@@ -4383,7 +4383,7 @@ var x = /* @__PURE__ */ u(((e) => {
4383
4383
  { $ref: "meta/meta-data" },
4384
4384
  { $ref: "meta/format-annotation" },
4385
4385
  { $ref: "meta/content" }
4386
- ], st = ["object", "boolean"], ct = "This meta-schema also defines keywords that have appeared in previous drafts in order to prevent incompatible extensions as they remain in common use.", lt = {
4386
+ ], pt = ["object", "boolean"], mt = "This meta-schema also defines keywords that have appeared in previous drafts in order to prevent incompatible extensions as they remain in common use.", ht = {
4387
4387
  definitions: {
4388
4388
  $comment: "\"definitions\" has been replaced by \"$defs\".",
4389
4389
  type: "object",
@@ -4408,29 +4408,29 @@ var x = /* @__PURE__ */ u(((e) => {
4408
4408
  $ref: "meta/core#/$defs/uriReferenceString",
4409
4409
  deprecated: !0
4410
4410
  }
4411
- }, ut = {
4412
- $schema: tt,
4413
- $id: nt,
4414
- $vocabulary: rt,
4415
- $dynamicAnchor: it,
4416
- title: at,
4417
- allOf: ot,
4418
- type: st,
4419
- $comment: ct,
4420
- properties: lt
4411
+ }, gt = {
4412
+ $schema: st,
4413
+ $id: ct,
4414
+ $vocabulary: lt,
4415
+ $dynamicAnchor: ut,
4416
+ title: dt,
4417
+ allOf: ft,
4418
+ type: pt,
4419
+ $comment: mt,
4420
+ properties: ht
4421
4421
  };
4422
- })), ft = /* @__PURE__ */ d({
4423
- $defs: () => bt,
4424
- $dynamicAnchor: () => gt,
4425
- $id: () => mt,
4426
- $schema: () => pt,
4427
- $vocabulary: () => ht,
4428
- default: () => xt,
4429
- properties: () => yt,
4430
- title: () => _t,
4431
- type: () => vt
4432
- }), pt, mt, ht, gt, _t, vt, yt, bt, xt, St = l((() => {
4433
- pt = "https://json-schema.org/draft/2020-12/schema", mt = "https://json-schema.org/draft/2020-12/meta/applicator", ht = { "https://json-schema.org/draft/2020-12/vocab/applicator": !0 }, gt = "meta", _t = "Applicator vocabulary meta-schema", vt = ["object", "boolean"], yt = {
4422
+ })), vt = /* @__PURE__ */ _({
4423
+ $defs: () => Et,
4424
+ $dynamicAnchor: () => St,
4425
+ $id: () => bt,
4426
+ $schema: () => yt,
4427
+ $vocabulary: () => xt,
4428
+ default: () => Dt,
4429
+ properties: () => Tt,
4430
+ title: () => Ct,
4431
+ type: () => wt
4432
+ }), yt, bt, xt, St, Ct, wt, Tt, Et, Dt, Ot = h((() => {
4433
+ yt = "https://json-schema.org/draft/2020-12/schema", bt = "https://json-schema.org/draft/2020-12/meta/applicator", xt = { "https://json-schema.org/draft/2020-12/vocab/applicator": !0 }, St = "meta", Ct = "Applicator vocabulary meta-schema", wt = ["object", "boolean"], Tt = {
4434
4434
  prefixItems: { $ref: "#/$defs/schemaArray" },
4435
4435
  items: { $dynamicRef: "#meta" },
4436
4436
  contains: { $dynamicRef: "#meta" },
@@ -4459,77 +4459,77 @@ var x = /* @__PURE__ */ u(((e) => {
4459
4459
  anyOf: { $ref: "#/$defs/schemaArray" },
4460
4460
  oneOf: { $ref: "#/$defs/schemaArray" },
4461
4461
  not: { $dynamicRef: "#meta" }
4462
- }, bt = { schemaArray: {
4462
+ }, Et = { schemaArray: {
4463
4463
  type: "array",
4464
4464
  minItems: 1,
4465
4465
  items: { $dynamicRef: "#meta" }
4466
- } }, xt = {
4467
- $schema: pt,
4468
- $id: mt,
4469
- $vocabulary: ht,
4470
- $dynamicAnchor: gt,
4471
- title: _t,
4472
- type: vt,
4473
- properties: yt,
4474
- $defs: bt
4466
+ } }, Dt = {
4467
+ $schema: yt,
4468
+ $id: bt,
4469
+ $vocabulary: xt,
4470
+ $dynamicAnchor: St,
4471
+ title: Ct,
4472
+ type: wt,
4473
+ properties: Tt,
4474
+ $defs: Et
4475
4475
  };
4476
- })), Ct = /* @__PURE__ */ d({
4477
- $dynamicAnchor: () => Dt,
4478
- $id: () => Tt,
4479
- $schema: () => wt,
4480
- $vocabulary: () => Et,
4481
- default: () => jt,
4482
- properties: () => At,
4483
- title: () => Ot,
4484
- type: () => kt
4485
- }), wt, Tt, Et, Dt, Ot, kt, At, jt, Mt = l((() => {
4486
- wt = "https://json-schema.org/draft/2020-12/schema", Tt = "https://json-schema.org/draft/2020-12/meta/unevaluated", Et = { "https://json-schema.org/draft/2020-12/vocab/unevaluated": !0 }, Dt = "meta", Ot = "Unevaluated applicator vocabulary meta-schema", kt = ["object", "boolean"], At = {
4476
+ })), kt = /* @__PURE__ */ _({
4477
+ $dynamicAnchor: () => Nt,
4478
+ $id: () => jt,
4479
+ $schema: () => At,
4480
+ $vocabulary: () => Mt,
4481
+ default: () => Lt,
4482
+ properties: () => It,
4483
+ title: () => Pt,
4484
+ type: () => Ft
4485
+ }), At, jt, Mt, Nt, Pt, Ft, It, Lt, Rt = h((() => {
4486
+ At = "https://json-schema.org/draft/2020-12/schema", jt = "https://json-schema.org/draft/2020-12/meta/unevaluated", Mt = { "https://json-schema.org/draft/2020-12/vocab/unevaluated": !0 }, Nt = "meta", Pt = "Unevaluated applicator vocabulary meta-schema", Ft = ["object", "boolean"], It = {
4487
4487
  unevaluatedItems: { $dynamicRef: "#meta" },
4488
4488
  unevaluatedProperties: { $dynamicRef: "#meta" }
4489
- }, jt = {
4490
- $schema: wt,
4491
- $id: Tt,
4492
- $vocabulary: Et,
4493
- $dynamicAnchor: Dt,
4494
- title: Ot,
4495
- type: kt,
4496
- properties: At
4489
+ }, Lt = {
4490
+ $schema: At,
4491
+ $id: jt,
4492
+ $vocabulary: Mt,
4493
+ $dynamicAnchor: Nt,
4494
+ title: Pt,
4495
+ type: Ft,
4496
+ properties: It
4497
4497
  };
4498
- })), Nt = /* @__PURE__ */ d({
4499
- $dynamicAnchor: () => Lt,
4500
- $id: () => Ft,
4501
- $schema: () => Pt,
4502
- $vocabulary: () => It,
4503
- default: () => Vt,
4504
- properties: () => Bt,
4505
- title: () => Rt,
4506
- type: () => zt
4507
- }), Pt, Ft, It, Lt, Rt, zt, Bt, Vt, Ht = l((() => {
4508
- Pt = "https://json-schema.org/draft/2020-12/schema", Ft = "https://json-schema.org/draft/2020-12/meta/content", It = { "https://json-schema.org/draft/2020-12/vocab/content": !0 }, Lt = "meta", Rt = "Content vocabulary meta-schema", zt = ["object", "boolean"], Bt = {
4498
+ })), zt = /* @__PURE__ */ _({
4499
+ $dynamicAnchor: () => Ut,
4500
+ $id: () => Vt,
4501
+ $schema: () => Bt,
4502
+ $vocabulary: () => Ht,
4503
+ default: () => qt,
4504
+ properties: () => Kt,
4505
+ title: () => Wt,
4506
+ type: () => Gt
4507
+ }), Bt, Vt, Ht, Ut, Wt, Gt, Kt, qt, Jt = h((() => {
4508
+ Bt = "https://json-schema.org/draft/2020-12/schema", Vt = "https://json-schema.org/draft/2020-12/meta/content", Ht = { "https://json-schema.org/draft/2020-12/vocab/content": !0 }, Ut = "meta", Wt = "Content vocabulary meta-schema", Gt = ["object", "boolean"], Kt = {
4509
4509
  contentEncoding: { type: "string" },
4510
4510
  contentMediaType: { type: "string" },
4511
4511
  contentSchema: { $dynamicRef: "#meta" }
4512
- }, Vt = {
4513
- $schema: Pt,
4514
- $id: Ft,
4515
- $vocabulary: It,
4516
- $dynamicAnchor: Lt,
4517
- title: Rt,
4518
- type: zt,
4519
- properties: Bt
4512
+ }, qt = {
4513
+ $schema: Bt,
4514
+ $id: Vt,
4515
+ $vocabulary: Ht,
4516
+ $dynamicAnchor: Ut,
4517
+ title: Wt,
4518
+ type: Gt,
4519
+ properties: Kt
4520
4520
  };
4521
- })), Ut = /* @__PURE__ */ d({
4522
- $defs: () => Zt,
4523
- $dynamicAnchor: () => qt,
4524
- $id: () => Gt,
4525
- $schema: () => Wt,
4526
- $vocabulary: () => Kt,
4527
- default: () => Qt,
4528
- properties: () => Xt,
4529
- title: () => Jt,
4530
- type: () => Yt
4531
- }), Wt, Gt, Kt, qt, Jt, Yt, Xt, Zt, Qt, $t = l((() => {
4532
- Wt = "https://json-schema.org/draft/2020-12/schema", Gt = "https://json-schema.org/draft/2020-12/meta/core", Kt = { "https://json-schema.org/draft/2020-12/vocab/core": !0 }, qt = "meta", Jt = "Core vocabulary meta-schema", Yt = ["object", "boolean"], Xt = {
4521
+ })), Yt = /* @__PURE__ */ _({
4522
+ $defs: () => rn,
4523
+ $dynamicAnchor: () => $t,
4524
+ $id: () => Zt,
4525
+ $schema: () => Xt,
4526
+ $vocabulary: () => Qt,
4527
+ default: () => an,
4528
+ properties: () => nn,
4529
+ title: () => en,
4530
+ type: () => tn
4531
+ }), Xt, Zt, Qt, $t, en, tn, nn, rn, an, on = h((() => {
4532
+ Xt = "https://json-schema.org/draft/2020-12/schema", Zt = "https://json-schema.org/draft/2020-12/meta/core", Qt = { "https://json-schema.org/draft/2020-12/vocab/core": !0 }, $t = "meta", en = "Core vocabulary meta-schema", tn = ["object", "boolean"], nn = {
4533
4533
  $id: {
4534
4534
  $ref: "#/$defs/uriReferenceString",
4535
4535
  $comment: "Non-empty fragments not allowed.",
@@ -4550,7 +4550,7 @@ var x = /* @__PURE__ */ u(((e) => {
4550
4550
  type: "object",
4551
4551
  additionalProperties: { $dynamicRef: "#meta" }
4552
4552
  }
4553
- }, Zt = {
4553
+ }, rn = {
4554
4554
  anchorString: {
4555
4555
  type: "string",
4556
4556
  pattern: "^[A-Za-z_][-A-Za-z0-9._]*$"
@@ -4563,46 +4563,46 @@ var x = /* @__PURE__ */ u(((e) => {
4563
4563
  type: "string",
4564
4564
  format: "uri-reference"
4565
4565
  }
4566
- }, Qt = {
4567
- $schema: Wt,
4568
- $id: Gt,
4569
- $vocabulary: Kt,
4570
- $dynamicAnchor: qt,
4571
- title: Jt,
4572
- type: Yt,
4573
- properties: Xt,
4574
- $defs: Zt
4566
+ }, an = {
4567
+ $schema: Xt,
4568
+ $id: Zt,
4569
+ $vocabulary: Qt,
4570
+ $dynamicAnchor: $t,
4571
+ title: en,
4572
+ type: tn,
4573
+ properties: nn,
4574
+ $defs: rn
4575
4575
  };
4576
- })), en = /* @__PURE__ */ d({
4577
- $dynamicAnchor: () => an,
4578
- $id: () => nn,
4579
- $schema: () => tn,
4580
- $vocabulary: () => rn,
4581
- default: () => ln,
4582
- properties: () => cn,
4583
- title: () => on,
4584
- type: () => sn
4585
- }), tn, nn, rn, an, on, sn, cn, ln, un = l((() => {
4586
- tn = "https://json-schema.org/draft/2020-12/schema", nn = "https://json-schema.org/draft/2020-12/meta/format-annotation", rn = { "https://json-schema.org/draft/2020-12/vocab/format-annotation": !0 }, an = "meta", on = "Format vocabulary meta-schema for annotation results", sn = ["object", "boolean"], cn = { format: { type: "string" } }, ln = {
4587
- $schema: tn,
4588
- $id: nn,
4589
- $vocabulary: rn,
4590
- $dynamicAnchor: an,
4591
- title: on,
4592
- type: sn,
4593
- properties: cn
4576
+ })), sn = /* @__PURE__ */ _({
4577
+ $dynamicAnchor: () => dn,
4578
+ $id: () => ln,
4579
+ $schema: () => cn,
4580
+ $vocabulary: () => un,
4581
+ default: () => hn,
4582
+ properties: () => mn,
4583
+ title: () => fn,
4584
+ type: () => pn
4585
+ }), cn, ln, un, dn, fn, pn, mn, hn, gn = h((() => {
4586
+ cn = "https://json-schema.org/draft/2020-12/schema", ln = "https://json-schema.org/draft/2020-12/meta/format-annotation", un = { "https://json-schema.org/draft/2020-12/vocab/format-annotation": !0 }, dn = "meta", fn = "Format vocabulary meta-schema for annotation results", pn = ["object", "boolean"], mn = { format: { type: "string" } }, hn = {
4587
+ $schema: cn,
4588
+ $id: ln,
4589
+ $vocabulary: un,
4590
+ $dynamicAnchor: dn,
4591
+ title: fn,
4592
+ type: pn,
4593
+ properties: mn
4594
4594
  };
4595
- })), dn = /* @__PURE__ */ d({
4596
- $dynamicAnchor: () => hn,
4597
- $id: () => pn,
4598
- $schema: () => fn,
4599
- $vocabulary: () => mn,
4600
- default: () => vn,
4601
- properties: () => _n,
4602
- title: () => Q,
4603
- type: () => gn
4604
- }), fn, pn, mn, hn, Q, gn, _n, vn, yn = l((() => {
4605
- fn = "https://json-schema.org/draft/2020-12/schema", pn = "https://json-schema.org/draft/2020-12/meta/meta-data", mn = { "https://json-schema.org/draft/2020-12/vocab/meta-data": !0 }, hn = "meta", Q = "Meta-data vocabulary meta-schema", gn = ["object", "boolean"], _n = {
4595
+ })), _n = /* @__PURE__ */ _({
4596
+ $dynamicAnchor: () => xn,
4597
+ $id: () => yn,
4598
+ $schema: () => vn,
4599
+ $vocabulary: () => bn,
4600
+ default: () => wn,
4601
+ properties: () => Cn,
4602
+ title: () => Sn,
4603
+ type: () => Q
4604
+ }), vn, yn, bn, xn, Sn, Q, Cn, wn, Tn = h((() => {
4605
+ vn = "https://json-schema.org/draft/2020-12/schema", yn = "https://json-schema.org/draft/2020-12/meta/meta-data", bn = { "https://json-schema.org/draft/2020-12/vocab/meta-data": !0 }, xn = "meta", Sn = "Meta-data vocabulary meta-schema", Q = ["object", "boolean"], Cn = {
4606
4606
  title: { type: "string" },
4607
4607
  description: { type: "string" },
4608
4608
  default: !0,
@@ -4622,27 +4622,27 @@ var x = /* @__PURE__ */ u(((e) => {
4622
4622
  type: "array",
4623
4623
  items: !0
4624
4624
  }
4625
- }, vn = {
4626
- $schema: fn,
4627
- $id: pn,
4628
- $vocabulary: mn,
4629
- $dynamicAnchor: hn,
4630
- title: Q,
4631
- type: gn,
4632
- properties: _n
4625
+ }, wn = {
4626
+ $schema: vn,
4627
+ $id: yn,
4628
+ $vocabulary: bn,
4629
+ $dynamicAnchor: xn,
4630
+ title: Sn,
4631
+ type: Q,
4632
+ properties: Cn
4633
4633
  };
4634
- })), bn = /* @__PURE__ */ d({
4635
- $defs: () => On,
4636
- $dynamicAnchor: () => wn,
4637
- $id: () => Sn,
4638
- $schema: () => xn,
4639
- $vocabulary: () => Cn,
4640
- default: () => kn,
4641
- properties: () => Dn,
4642
- title: () => Tn,
4643
- type: () => En
4644
- }), xn, Sn, Cn, wn, Tn, En, Dn, On, kn, An = l((() => {
4645
- xn = "https://json-schema.org/draft/2020-12/schema", Sn = "https://json-schema.org/draft/2020-12/meta/validation", Cn = { "https://json-schema.org/draft/2020-12/vocab/validation": !0 }, wn = "meta", Tn = "Validation vocabulary meta-schema", En = ["object", "boolean"], Dn = {
4634
+ })), En = /* @__PURE__ */ _({
4635
+ $defs: () => Pn,
4636
+ $dynamicAnchor: () => An,
4637
+ $id: () => On,
4638
+ $schema: () => Dn,
4639
+ $vocabulary: () => kn,
4640
+ default: () => Fn,
4641
+ properties: () => Nn,
4642
+ title: () => jn,
4643
+ type: () => Mn
4644
+ }), Dn, On, kn, An, jn, Mn, Nn, Pn, Fn, In = h((() => {
4645
+ Dn = "https://json-schema.org/draft/2020-12/schema", On = "https://json-schema.org/draft/2020-12/meta/validation", kn = { "https://json-schema.org/draft/2020-12/vocab/validation": !0 }, An = "meta", jn = "Validation vocabulary meta-schema", Mn = ["object", "boolean"], Nn = {
4646
4646
  type: { anyOf: [{ $ref: "#/$defs/simpleTypes" }, {
4647
4647
  type: "array",
4648
4648
  items: { $ref: "#/$defs/simpleTypes" },
@@ -4686,7 +4686,7 @@ var x = /* @__PURE__ */ u(((e) => {
4686
4686
  type: "object",
4687
4687
  additionalProperties: { $ref: "#/$defs/stringArray" }
4688
4688
  }
4689
- }, On = {
4689
+ }, Pn = {
4690
4690
  nonNegativeInteger: {
4691
4691
  type: "integer",
4692
4692
  minimum: 0
@@ -4710,19 +4710,19 @@ var x = /* @__PURE__ */ u(((e) => {
4710
4710
  uniqueItems: !0,
4711
4711
  default: []
4712
4712
  }
4713
- }, kn = {
4714
- $schema: xn,
4715
- $id: Sn,
4716
- $vocabulary: Cn,
4717
- $dynamicAnchor: wn,
4718
- title: Tn,
4719
- type: En,
4720
- properties: Dn,
4721
- $defs: On
4713
+ }, Fn = {
4714
+ $schema: Dn,
4715
+ $id: On,
4716
+ $vocabulary: kn,
4717
+ $dynamicAnchor: An,
4718
+ title: jn,
4719
+ type: Mn,
4720
+ properties: Nn,
4721
+ $defs: Pn
4722
4722
  };
4723
- })), jn = /* @__PURE__ */ u(((e) => {
4723
+ })), Ln = /* @__PURE__ */ g(((e) => {
4724
4724
  Object.defineProperty(e, "__esModule", { value: !0 });
4725
- var t = (dt(), p(et).default), n = (St(), p(ft).default), r = (Mt(), p(Ct).default), i = (Ht(), p(Nt).default), a = ($t(), p(Ut).default), o = (un(), p(en).default), s = (yn(), p(dn).default), c = (An(), p(bn).default), l = ["/properties"];
4725
+ var t = (_t(), y(ot).default), n = (Ot(), y(vt).default), r = (Rt(), y(kt).default), i = (Jt(), y(zt).default), a = (on(), y(Yt).default), o = (gn(), y(sn).default), s = (Tn(), y(_n).default), c = (In(), y(En).default), l = ["/properties"];
4726
4726
  function u(e) {
4727
4727
  return [
4728
4728
  t,
@@ -4739,9 +4739,9 @@ var x = /* @__PURE__ */ u(((e) => {
4739
4739
  }
4740
4740
  }
4741
4741
  e.default = u;
4742
- })), Mn = (/* @__PURE__ */ u(((e, t) => {
4742
+ })), Rn = (/* @__PURE__ */ g(((e, t) => {
4743
4743
  Object.defineProperty(e, "__esModule", { value: !0 }), e.MissingRefError = e.ValidationError = e.CodeGen = e.Name = e.nil = e.stringify = e.str = e._ = e.KeywordCxt = e.Ajv2020 = void 0;
4744
- var n = Y(), r = Ze(), i = $e(), a = jn(), o = "https://json-schema.org/draft/2020-12/schema", s = class extends n.default {
4744
+ var n = ce(), r = rt(), i = at(), a = Ln(), o = "https://json-schema.org/draft/2020-12/schema", s = class extends n.default {
4745
4745
  constructor(e = {}) {
4746
4746
  super({
4747
4747
  ...e,
@@ -4763,14 +4763,14 @@ var x = /* @__PURE__ */ u(((e) => {
4763
4763
  }
4764
4764
  };
4765
4765
  e.Ajv2020 = s, t.exports = e = s, t.exports.Ajv2020 = s, Object.defineProperty(e, "__esModule", { value: !0 }), e.default = s;
4766
- var c = R();
4766
+ var c = V();
4767
4767
  Object.defineProperty(e, "KeywordCxt", {
4768
4768
  enumerable: !0,
4769
4769
  get: function() {
4770
4770
  return c.KeywordCxt;
4771
4771
  }
4772
4772
  });
4773
- var l = C();
4773
+ var l = k();
4774
4774
  Object.defineProperty(e, "_", {
4775
4775
  enumerable: !0,
4776
4776
  get: function() {
@@ -4802,40 +4802,40 @@ var x = /* @__PURE__ */ u(((e) => {
4802
4802
  return l.CodeGen;
4803
4803
  }
4804
4804
  });
4805
- var u = z();
4805
+ var u = H();
4806
4806
  Object.defineProperty(e, "ValidationError", {
4807
4807
  enumerable: !0,
4808
4808
  get: function() {
4809
4809
  return u.default;
4810
4810
  }
4811
4811
  });
4812
- var d = B();
4812
+ var d = U();
4813
4813
  Object.defineProperty(e, "MissingRefError", {
4814
4814
  enumerable: !0,
4815
4815
  get: function() {
4816
4816
  return d.default;
4817
4817
  }
4818
4818
  });
4819
- })))(), Nn = /* @__PURE__ */ new Map();
4820
- function Pn(e) {
4821
- let t = Nn.get(e);
4819
+ })))(), zn = /* @__PURE__ */ new Map();
4820
+ function Bn(e) {
4821
+ let t = zn.get(e);
4822
4822
  if (t) return t;
4823
- let n = new Mn.Ajv2020({
4823
+ let n = new Rn.Ajv2020({
4824
4824
  allErrors: !0,
4825
4825
  strict: !1
4826
- }).compile(_(e));
4827
- return Nn.set(e, n), n;
4826
+ }).compile(C(e));
4827
+ return zn.set(e, n), n;
4828
4828
  }
4829
- function Fn(e) {
4829
+ function Vn(e) {
4830
4830
  return (e ?? []).map((e) => `${e.instancePath === "" ? "<root>" : e.instancePath}: ${e.message ?? "invalid"}`);
4831
4831
  }
4832
- function In(e, t) {
4833
- let n = Pn(e);
4832
+ function Hn(e, t) {
4833
+ let n = Bn(e);
4834
4834
  if (n(t)) return {
4835
4835
  ok: !0,
4836
4836
  value: t
4837
4837
  };
4838
- let r = Fn(n.errors);
4838
+ let r = Vn(n.errors);
4839
4839
  return {
4840
4840
  ok: !1,
4841
4841
  error: {
@@ -4846,19 +4846,19 @@ function In(e, t) {
4846
4846
  }
4847
4847
  };
4848
4848
  }
4849
- function Ln(e) {
4850
- return In("coverage-v1.schema.json", e);
4849
+ function Un(e) {
4850
+ return Hn("coverage-v1.schema.json", e);
4851
4851
  }
4852
- function Rn(e) {
4853
- return In("properties-v1.schema.json", e);
4852
+ function Wn(e) {
4853
+ return Hn("properties-v1.schema.json", e);
4854
4854
  }
4855
- function zn(e) {
4856
- return Vn(e, "coverage-v1.schema.json", Ln);
4855
+ function Gn(e) {
4856
+ return qn(e, "coverage-v1.schema.json", Un);
4857
4857
  }
4858
- function Bn(e) {
4859
- return Vn(e, "properties-v1.schema.json", Rn);
4858
+ function Kn(e) {
4859
+ return qn(e, "properties-v1.schema.json", Wn);
4860
4860
  }
4861
- function Vn(e, t, n) {
4861
+ function qn(e, t, n) {
4862
4862
  let r;
4863
4863
  try {
4864
4864
  r = JSON.parse(e);
@@ -4878,9 +4878,36 @@ function Vn(e, t, n) {
4878
4878
  //#endregion
4879
4879
  //#region src/quire/exec.ts
4880
4880
  var $ = 67108864;
4881
- function Hn(e) {
4881
+ function Jn() {
4882
+ let e = process.env.QUOIN_QUIRE, t = e ? Yn(e) : Xn("quire"), n = process.env.QUOIN_EXPECTED_QUIRE_SHA256;
4883
+ if (n) {
4884
+ if (!/^sha256:[0-9a-f]{64}$/.test(n)) throw Error("QUOIN_EXPECTED_QUIRE_SHA256 must be a full lowercase sha256 digest");
4885
+ let e = `sha256:${l("sha256").update(r(t)).digest("hex")}`;
4886
+ if (e !== n) throw Error(`quire executable digest mismatch: expected ${n}, observed ${e} at ${t}`);
4887
+ }
4888
+ return t;
4889
+ }
4890
+ function Yn(e) {
4891
+ if (!s(e)) throw Error(`QUOIN_QUIRE must be an absolute path, got ${e}`);
4882
4892
  try {
4883
- return i("quire", e, {
4893
+ return t(e, n.X_OK), i(e);
4894
+ } catch {
4895
+ throw Error(`QUOIN_QUIRE is not an executable file: ${e}`);
4896
+ }
4897
+ }
4898
+ function Xn(e) {
4899
+ let r = process.platform === "win32" ? (process.env.PATHEXT ?? ".EXE;.CMD;.BAT").split(";") : [""];
4900
+ for (let o of (process.env.PATH ?? "").split(a)) if (o) for (let a of r) {
4901
+ let r = c(o, `${e}${a}`);
4902
+ try {
4903
+ return t(r, n.X_OK), i(r);
4904
+ } catch {}
4905
+ }
4906
+ throw Object.assign(/* @__PURE__ */ Error(`${e} is not executable on PATH`), { code: "ENOENT" });
4907
+ }
4908
+ function Zn(e) {
4909
+ try {
4910
+ return u(Jn(), e, {
4884
4911
  encoding: "utf8",
4885
4912
  stdio: [
4886
4913
  "ignore",
@@ -4896,10 +4923,10 @@ function Hn(e) {
4896
4923
  throw Error(`quire ${e.join(" ")} exited ${n.status}` + (r ? `:\n${r}` : " with no diagnostic on stderr."));
4897
4924
  }
4898
4925
  }
4899
- function Un(e) {
4926
+ function Qn(e) {
4900
4927
  try {
4901
4928
  return {
4902
- stdout: i("quire", e, {
4929
+ stdout: u(Jn(), e, {
4903
4930
  encoding: "utf8",
4904
4931
  stdio: [
4905
4932
  "ignore",
@@ -4920,9 +4947,9 @@ function Un(e) {
4920
4947
  };
4921
4948
  }
4922
4949
  }
4923
- function Wn() {
4950
+ function $n() {
4924
4951
  try {
4925
- return i("quire", ["--version"], {
4952
+ return u(Jn(), ["--version"], {
4926
4953
  encoding: "utf8",
4927
4954
  maxBuffer: $
4928
4955
  });
@@ -4931,4 +4958,4 @@ function Wn() {
4931
4958
  }
4932
4959
  }
4933
4960
  //#endregion
4934
- export { Bn as a, zn as i, Hn as n, b as o, Un as r, Wn as t };
4961
+ export { Kn as a, Gn as i, Zn as n, E as o, Qn as r, $n as t };