@cccsaurora/clue-ui 1.2.4 → 1.2.5-patch.294

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 (39) hide show
  1. package/{ActionForm-CwsfB99X.js → ActionForm-ByhhUN_b.js} +626 -614
  2. package/{AnnotationDetails-Bw2JdtTL.js → AnnotationDetails-BCR3_UWt.js} +1 -1
  3. package/{AnnotationPreview-BO7rVnOP.js → AnnotationPreview-Di0KFNpN.js} +1 -1
  4. package/components/AnnotationDetailPopover.js +1 -1
  5. package/components/AnnotationDetails.js +2 -2
  6. package/components/AnnotationPreview.js +1 -1
  7. package/components/EnrichedCard.js +1 -1
  8. package/components/EnrichedChip.js +2 -2
  9. package/components/EnrichedTypography.js +2 -2
  10. package/components/RetryFailedEnrichments.js +1 -1
  11. package/components/SourcePicker.js +1 -1
  12. package/components/actions/ActionForm.js +1 -1
  13. package/components/actions/ExecutePopover.js +1 -1
  14. package/components/actions/ResultModal.js +1 -1
  15. package/components/enrichment/EnrichPopover.js +1 -1
  16. package/components/fetchers/Fetcher.js +1 -1
  17. package/components/group/GroupControl.js +1 -1
  18. package/components/stats/QueryStatus.js +1 -1
  19. package/hooks/ClueActionContext.d.ts +10 -2
  20. package/hooks/ClueActionContext.js +1 -1
  21. package/hooks/ClueGroupContext.js +1 -1
  22. package/hooks/CluePopupContext.js +2 -2
  23. package/hooks/ClueProvider.js +2 -2
  24. package/hooks/selectors.js +1 -1
  25. package/hooks/useActionResult.d.ts +1 -0
  26. package/hooks/useActionResult.js +1 -1
  27. package/hooks/useAnnotations.js +1 -1
  28. package/hooks/useClueActions.js +1 -1
  29. package/hooks/useErrors.js +1 -1
  30. package/hooks/useFetcherResult.d.ts +1 -0
  31. package/hooks/useFetcherResult.js +1 -1
  32. package/icons/Action.js +2 -2
  33. package/icons/Assessment.js +1 -1
  34. package/icons/Context.js +1 -1
  35. package/icons/Opinion.js +1 -1
  36. package/main.js +3 -3
  37. package/package.json +1 -1
  38. package/types/RunningActionData.d.ts +1 -0
  39. package/types/WithActionData.d.ts +1 -0
@@ -1,28 +1,28 @@
1
- import { jsx as V, jsxs as W } from "react/jsx-runtime";
1
+ import { jsx as M, jsxs as W } from "react/jsx-runtime";
2
2
  import { materialRenderers as En, materialCells as Sn } from "@jsonforms/material-renderers";
3
3
  import { JsonForms as Pn } from "@jsonforms/react";
4
- import { Modal as bs, Paper as Es, Stack as se, Typography as Pe, Divider as Dt, LinearProgress as kn, Button as st, IconButton as Nn, Box as xe, CircularProgress as Cn, Collapse as jn } from "@mui/material";
4
+ import { Modal as bs, Paper as Es, Stack as se, Typography as ke, Divider as Dt, LinearProgress as kn, Button as nt, IconButton as Nn, Box as et, CircularProgress as Cn, Collapse as jn } from "@mui/material";
5
5
  import Ss from "./components/display/icons/Iconified.js";
6
6
  import { J as Rn } from "./index-BK-zfYhR.js";
7
- import { ClueComponentContext as ut } from "./hooks/ClueComponentContext.js";
7
+ import { ClueComponentContext as ft } from "./hooks/ClueComponentContext.js";
8
8
  import { g as On } from "./_commonjsHelpers-DaMA6jEr.js";
9
9
  import { x as Tn, y as Ps, z as In } from "./index-BHAe_V9n.js";
10
10
  import { a as Ht } from "./useClueTypeConfig-Ct9Ygter.js";
11
11
  import { d as ks } from "./_baseGet-DSZygzyq.js";
12
12
  import { b as Mn } from "./_baseSlice-M5RKzt1A.js";
13
13
  import { i as Vn } from "./utils-DmwSUrum.js";
14
- import { useState as de, useRef as Fn, useMemo as ke, useEffect as Wt, memo as Ns, useCallback as Re } from "react";
15
- import { u as Ce, c as An, a as Kn } from "./index-Dj5C04IX.js";
16
- import lt from "./components/ErrorBoundary.js";
14
+ import { useState as de, useRef as Fn, useMemo as Ne, useEffect as Wt, memo as Ns, useCallback as Oe } from "react";
15
+ import { u as je, c as An, a as Kn } from "./index-Dj5C04IX.js";
16
+ import dt from "./components/ErrorBoundary.js";
17
17
  import { adaptSchema as qn } from "./components/actions/form/schemaAdapter.js";
18
18
  import { I as zn } from "./iconify-BBckr5AQ.js";
19
19
  import { C as Un } from "./ClueEnrichContext-KqRuuWNS.js";
20
20
  import { ClueFetcherContext as Ln } from "./hooks/ClueFetcherContext.js";
21
21
  import Gn from "./components/ClassificationChip.js";
22
22
  import Jn from "./components/actions/formats/index.js";
23
- import { SNACKBAR_EVENT_ID as pt } from "./data/event.js";
23
+ import { SNACKBAR_EVENT_ID as yt } from "./data/event.js";
24
24
  import { dayjs as Hn } from "./utils/time.js";
25
- import { safeDispatchEvent as yt } from "./utils/window.js";
25
+ import { safeDispatchEvent as _t } from "./utils/window.js";
26
26
  import Bn from "./hooks/useClue.js";
27
27
  import { i as Qn } from "./isNil-CjWwlQS3.js";
28
28
  function Xn(e, t, r) {
@@ -54,7 +54,7 @@ var go = $o("toUpperCase");
54
54
  function wo(e) {
55
55
  return go(ks(e).toLowerCase());
56
56
  }
57
- var tr = { exports: {} }, Vs = {}, fe = {}, Be = {}, ft = {}, K = {}, dt = {};
57
+ var tr = { exports: {} }, Vs = {}, fe = {}, Qe = {}, mt = {}, K = {}, ut = {};
58
58
  (function(e) {
59
59
  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;
60
60
  class t {
@@ -92,28 +92,28 @@ var tr = { exports: {} }, Vs = {}, fe = {}, Be = {}, ft = {}, K = {}, dt = {};
92
92
  }
93
93
  get str() {
94
94
  var $;
95
- return ($ = this._str) !== null && $ !== void 0 ? $ : this._str = this._items.reduce((P, j) => `${P}${j}`, "");
95
+ return ($ = this._str) !== null && $ !== void 0 ? $ : this._str = this._items.reduce((P, R) => `${P}${R}`, "");
96
96
  }
97
97
  get names() {
98
98
  var $;
99
- return ($ = this._names) !== null && $ !== void 0 ? $ : this._names = this._items.reduce((P, j) => (j instanceof r && (P[j.str] = (P[j.str] || 0) + 1), P), {});
99
+ return ($ = this._names) !== null && $ !== void 0 ? $ : this._names = this._items.reduce((P, R) => (R instanceof r && (P[R.str] = (P[R.str] || 0) + 1), P), {});
100
100
  }
101
101
  }
102
102
  e._Code = s, e.nil = new s("");
103
103
  function n(f, ...$) {
104
104
  const P = [f[0]];
105
- let j = 0;
106
- for (; j < $.length; )
107
- d(P, $[j]), P.push(f[++j]);
105
+ let R = 0;
106
+ for (; R < $.length; )
107
+ d(P, $[R]), P.push(f[++R]);
108
108
  return new s(P);
109
109
  }
110
110
  e._ = n;
111
111
  const a = new s("+");
112
112
  function i(f, ...$) {
113
113
  const P = [E(f[0])];
114
- let j = 0;
115
- for (; j < $.length; )
116
- P.push(a), d(P, $[j]), P.push(a, E(f[++j]));
114
+ let R = 0;
115
+ for (; R < $.length; )
116
+ P.push(a), d(P, $[R]), P.push(a, E(f[++R]));
117
117
  return u(P), new s(P);
118
118
  }
119
119
  e.str = i;
@@ -174,11 +174,11 @@ var tr = { exports: {} }, Vs = {}, fe = {}, Be = {}, ft = {}, K = {}, dt = {};
174
174
  return new s(f.toString());
175
175
  }
176
176
  e.regexpCode = h;
177
- })(dt);
177
+ })(ut);
178
178
  var rr = {};
179
179
  (function(e) {
180
180
  Object.defineProperty(e, "__esModule", { value: !0 }), e.ValueScope = e.ValueScopeName = e.Scope = e.varKinds = e.UsedValueState = void 0;
181
- const t = dt;
181
+ const t = ut;
182
182
  class r extends Error {
183
183
  constructor(l) {
184
184
  super(`CodeGen: "code" for ${l} not defined`), this.value = l.value;
@@ -298,8 +298,8 @@ var rr = {};
298
298
  })(rr);
299
299
  (function(e) {
300
300
  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;
301
- const t = dt, r = rr;
302
- var s = dt;
301
+ const t = ut, r = rr;
302
+ var s = ut;
303
303
  Object.defineProperty(e, "_", { enumerable: !0, get: function() {
304
304
  return s._;
305
305
  } }), Object.defineProperty(e, "str", { enumerable: !0, get: function() {
@@ -351,12 +351,12 @@ var rr = {};
351
351
  super(), this.varKind = o, this.name = c, this.rhs = w;
352
352
  }
353
353
  render({ es5: o, _n: c }) {
354
- const w = o ? r.varKinds.var : this.varKind, R = this.rhs === void 0 ? "" : ` = ${this.rhs}`;
355
- return `${w} ${this.name}${R};` + c;
354
+ const w = o ? r.varKinds.var : this.varKind, j = this.rhs === void 0 ? "" : ` = ${this.rhs}`;
355
+ return `${w} ${this.name}${j};` + c;
356
356
  }
357
357
  optimizeNames(o, c) {
358
358
  if (o[this.name.str])
359
- return this.rhs && (this.rhs = H(this.rhs, o, c)), this;
359
+ return this.rhs && (this.rhs = B(this.rhs, o, c)), this;
360
360
  }
361
361
  get names() {
362
362
  return this.rhs instanceof t._CodeOrName ? this.rhs.names : {};
@@ -371,7 +371,7 @@ var rr = {};
371
371
  }
372
372
  optimizeNames(o, c) {
373
373
  if (!(this.lhs instanceof t.Name && !o[this.lhs.str] && !this.sideEffects))
374
- return this.rhs = H(this.rhs, o, c), this;
374
+ return this.rhs = B(this.rhs, o, c), this;
375
375
  }
376
376
  get names() {
377
377
  const o = this.lhs instanceof t.Name ? {} : { ...this.lhs.names };
@@ -379,8 +379,8 @@ var rr = {};
379
379
  }
380
380
  }
381
381
  class u extends d {
382
- constructor(o, c, w, R) {
383
- super(o, w, R), this.op = c;
382
+ constructor(o, c, w, j) {
383
+ super(o, w, j), this.op = c;
384
384
  }
385
385
  render({ _n: o }) {
386
386
  return `${this.lhs} ${this.op}= ${this.rhs};` + o;
@@ -424,7 +424,7 @@ var rr = {};
424
424
  return `${this.code}` ? this : void 0;
425
425
  }
426
426
  optimizeNames(o, c) {
427
- return this.code = H(this.code, o, c), this;
427
+ return this.code = B(this.code, o, c), this;
428
428
  }
429
429
  get names() {
430
430
  return this.code instanceof t._CodeOrName ? this.code.names : {};
@@ -448,10 +448,10 @@ var rr = {};
448
448
  }
449
449
  optimizeNames(o, c) {
450
450
  const { nodes: w } = this;
451
- let R = w.length;
452
- for (; R--; ) {
453
- const O = w[R];
454
- O.optimizeNames(o, c) || (ee(o, O.names), w.splice(R, 1));
451
+ let j = w.length;
452
+ for (; j--; ) {
453
+ const O = w[j];
454
+ O.optimizeNames(o, c) || (ee(o, O.names), w.splice(j, 1));
455
455
  }
456
456
  return w.length > 0 ? this : void 0;
457
457
  }
@@ -488,14 +488,14 @@ var rr = {};
488
488
  c = this.else = Array.isArray(w) ? new h(w) : w;
489
489
  }
490
490
  if (c)
491
- return o === !1 ? c instanceof f ? c : c.nodes : this.nodes.length ? this : new f(Fe(o), c instanceof f ? [c] : c.nodes);
491
+ return o === !1 ? c instanceof f ? c : c.nodes : this.nodes.length ? this : new f(Ae(o), c instanceof f ? [c] : c.nodes);
492
492
  if (!(o === !1 || !this.nodes.length))
493
493
  return this;
494
494
  }
495
495
  optimizeNames(o, c) {
496
496
  var w;
497
497
  if (this.else = (w = this.else) === null || w === void 0 ? void 0 : w.optimizeNames(o, c), !!(super.optimizeNames(o, c) || this.else))
498
- return this.condition = H(this.condition, o, c), this;
498
+ return this.condition = B(this.condition, o, c), this;
499
499
  }
500
500
  get names() {
501
501
  const o = super.names;
@@ -515,19 +515,19 @@ var rr = {};
515
515
  }
516
516
  optimizeNames(o, c) {
517
517
  if (super.optimizeNames(o, c))
518
- return this.iteration = H(this.iteration, o, c), this;
518
+ return this.iteration = B(this.iteration, o, c), this;
519
519
  }
520
520
  get names() {
521
521
  return ie(super.names, this.iteration.names);
522
522
  }
523
523
  }
524
- class j extends $ {
525
- constructor(o, c, w, R) {
526
- super(), this.varKind = o, this.name = c, this.from = w, this.to = R;
524
+ class R extends $ {
525
+ constructor(o, c, w, j) {
526
+ super(), this.varKind = o, this.name = c, this.from = w, this.to = j;
527
527
  }
528
528
  render(o) {
529
- const c = o.es5 ? r.varKinds.var : this.varKind, { name: w, from: R, to: O } = this;
530
- return `for(${c} ${w}=${R}; ${w}<${O}; ${w}++)` + super.render(o);
529
+ const c = o.es5 ? r.varKinds.var : this.varKind, { name: w, from: j, to: O } = this;
530
+ return `for(${c} ${w}=${j}; ${w}<${O}; ${w}++)` + super.render(o);
531
531
  }
532
532
  get names() {
533
533
  const o = z(super.names, this.from);
@@ -535,21 +535,21 @@ var rr = {};
535
535
  }
536
536
  }
537
537
  class C extends $ {
538
- constructor(o, c, w, R) {
539
- super(), this.loop = o, this.varKind = c, this.name = w, this.iterable = R;
538
+ constructor(o, c, w, j) {
539
+ super(), this.loop = o, this.varKind = c, this.name = w, this.iterable = j;
540
540
  }
541
541
  render(o) {
542
542
  return `for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})` + super.render(o);
543
543
  }
544
544
  optimizeNames(o, c) {
545
545
  if (super.optimizeNames(o, c))
546
- return this.iterable = H(this.iterable, o, c), this;
546
+ return this.iterable = B(this.iterable, o, c), this;
547
547
  }
548
548
  get names() {
549
549
  return ie(super.names, this.iterable.names);
550
550
  }
551
551
  }
552
- class U extends g {
552
+ class L extends g {
553
553
  constructor(o, c, w) {
554
554
  super(), this.name = o, this.args = c, this.async = w;
555
555
  }
@@ -557,13 +557,13 @@ var rr = {};
557
557
  return `${this.async ? "async " : ""}function ${this.name}(${this.args})` + super.render(o);
558
558
  }
559
559
  }
560
- U.kind = "func";
561
- class J extends E {
560
+ L.kind = "func";
561
+ class H extends E {
562
562
  render(o) {
563
563
  return "return " + super.render(o);
564
564
  }
565
565
  }
566
- J.kind = "return";
566
+ H.kind = "return";
567
567
  class ne extends g {
568
568
  render(o) {
569
569
  let c = "try" + super.render(o);
@@ -574,8 +574,8 @@ var rr = {};
574
574
  return super.optimizeNodes(), (o = this.catch) === null || o === void 0 || o.optimizeNodes(), (c = this.finally) === null || c === void 0 || c.optimizeNodes(), this;
575
575
  }
576
576
  optimizeNames(o, c) {
577
- var w, R;
578
- return super.optimizeNames(o, c), (w = this.catch) === null || w === void 0 || w.optimizeNames(o, c), (R = this.finally) === null || R === void 0 || R.optimizeNames(o, c), this;
577
+ var w, j;
578
+ return super.optimizeNames(o, c), (w = this.catch) === null || w === void 0 || w.optimizeNames(o, c), (j = this.finally) === null || j === void 0 || j.optimizeNames(o, c), this;
579
579
  }
580
580
  get names() {
581
581
  const o = super.names;
@@ -597,7 +597,7 @@ var rr = {};
597
597
  }
598
598
  }
599
599
  me.kind = "finally";
600
- class be {
600
+ class Ee {
601
601
  constructor(o, c = {}) {
602
602
  this._values = {}, this._blockStarts = [], this._constants = {}, this.opts = { ...c, _n: c.lines ? `
603
603
  ` : "" }, this._extScope = o, this._scope = new r.Scope({ parent: o }), this._nodes = [new v()];
@@ -629,9 +629,9 @@ var rr = {};
629
629
  scopeCode() {
630
630
  return this._extScope.scopeCode(this._values);
631
631
  }
632
- _def(o, c, w, R) {
632
+ _def(o, c, w, j) {
633
633
  const O = this._scope.toName(c);
634
- return w !== void 0 && R && (this._constants[O.str] = w), this._leafNode(new i(o, O, w)), O;
634
+ return w !== void 0 && j && (this._constants[O.str] = w), this._leafNode(new i(o, O, w)), O;
635
635
  }
636
636
  // `const` declaration (`var` in es5 mode)
637
637
  const(o, c, w) {
@@ -660,8 +660,8 @@ var rr = {};
660
660
  // returns code for object literal for the passed argument list of key-value pairs
661
661
  object(...o) {
662
662
  const c = ["{"];
663
- for (const [w, R] of o)
664
- c.length > 1 && c.push(","), c.push(w), (w !== R || this.opts.es5) && (c.push(":"), (0, t.addCodeArg)(c, R));
663
+ for (const [w, j] of o)
664
+ c.length > 1 && c.push(","), c.push(w), (w !== j || this.opts.es5) && (c.push(":"), (0, t.addCodeArg)(c, j));
665
665
  return c.push("}"), new t._Code(c);
666
666
  }
667
667
  // `if` clause (or statement if `thenBody` and, optionally, `elseBody` are passed)
@@ -694,28 +694,28 @@ var rr = {};
694
694
  return this._for(new P(o), c);
695
695
  }
696
696
  // `for` statement for a range of values
697
- forRange(o, c, w, R, O = this.opts.es5 ? r.varKinds.var : r.varKinds.let) {
698
- const q = this._scope.toName(o);
699
- return this._for(new j(O, q, c, w), () => R(q));
697
+ forRange(o, c, w, j, O = this.opts.es5 ? r.varKinds.var : r.varKinds.let) {
698
+ const U = this._scope.toName(o);
699
+ return this._for(new R(O, U, c, w), () => j(U));
700
700
  }
701
701
  // `for-of` statement (in es5 mode replace with a normal for loop)
702
- forOf(o, c, w, R = r.varKinds.const) {
702
+ forOf(o, c, w, j = r.varKinds.const) {
703
703
  const O = this._scope.toName(o);
704
704
  if (this.opts.es5) {
705
- const q = c instanceof t.Name ? c : this.var("_arr", c);
706
- return this.forRange("_i", 0, (0, t._)`${q}.length`, (I) => {
707
- this.var(O, (0, t._)`${q}[${I}]`), w(O);
705
+ const U = c instanceof t.Name ? c : this.var("_arr", c);
706
+ return this.forRange("_i", 0, (0, t._)`${U}.length`, (q) => {
707
+ this.var(O, (0, t._)`${U}[${q}]`), w(O);
708
708
  });
709
709
  }
710
- return this._for(new C("of", R, O, c), () => w(O));
710
+ return this._for(new C("of", j, O, c), () => w(O));
711
711
  }
712
712
  // `for-in` statement.
713
713
  // With option `ownProperties` replaced with a `for-of` loop for object keys
714
- forIn(o, c, w, R = this.opts.es5 ? r.varKinds.var : r.varKinds.const) {
714
+ forIn(o, c, w, j = this.opts.es5 ? r.varKinds.var : r.varKinds.const) {
715
715
  if (this.opts.ownProperties)
716
716
  return this.forOf(o, (0, t._)`Object.keys(${c})`, w);
717
717
  const O = this._scope.toName(o);
718
- return this._for(new C("in", R, O, c), () => w(O));
718
+ return this._for(new C("in", j, O, c), () => w(O));
719
719
  }
720
720
  // end `for` loop
721
721
  endFor() {
@@ -731,21 +731,21 @@ var rr = {};
731
731
  }
732
732
  // `return` statement
733
733
  return(o) {
734
- const c = new J();
734
+ const c = new H();
735
735
  if (this._blockNode(c), this.code(o), c.nodes.length !== 1)
736
736
  throw new Error('CodeGen: "return" should have one node');
737
- return this._endBlockNode(J);
737
+ return this._endBlockNode(H);
738
738
  }
739
739
  // `try` statement
740
740
  try(o, c, w) {
741
741
  if (!c && !w)
742
742
  throw new Error('CodeGen: "try" without "catch" and "finally"');
743
- const R = new ne();
744
- if (this._blockNode(R), this.code(o), c) {
743
+ const j = new ne();
744
+ if (this._blockNode(j), this.code(o), c) {
745
745
  const O = this.name("e");
746
- this._currNode = R.catch = new ae(O), c(O);
746
+ this._currNode = j.catch = new ae(O), c(O);
747
747
  }
748
- return w && (this._currNode = R.finally = new me(), this.code(w)), this._endBlockNode(ae, me);
748
+ return w && (this._currNode = j.finally = new me(), this.code(w)), this._endBlockNode(ae, me);
749
749
  }
750
750
  // `throw` statement
751
751
  throw(o) {
@@ -766,12 +766,12 @@ var rr = {};
766
766
  return this._nodes.length = c, this;
767
767
  }
768
768
  // `function` heading (or definition if funcBody is passed)
769
- func(o, c = t.nil, w, R) {
770
- return this._blockNode(new U(o, c, w)), R && this.code(R).endFunc(), this;
769
+ func(o, c = t.nil, w, j) {
770
+ return this._blockNode(new L(o, c, w)), j && this.code(j).endFunc(), this;
771
771
  }
772
772
  // end function definition
773
773
  endFunc() {
774
- return this._endBlockNode(U);
774
+ return this._endBlockNode(L);
775
775
  }
776
776
  optimize(o = 1) {
777
777
  for (; o-- > 0; )
@@ -807,7 +807,7 @@ var rr = {};
807
807
  c[c.length - 1] = o;
808
808
  }
809
809
  }
810
- e.CodeGen = be;
810
+ e.CodeGen = Ee;
811
811
  function ie(_, o) {
812
812
  for (const c in o)
813
813
  _[c] = (_[c] || 0) + (o[c] || 0);
@@ -816,36 +816,36 @@ var rr = {};
816
816
  function z(_, o) {
817
817
  return o instanceof t._CodeOrName ? ie(_, o.names) : _;
818
818
  }
819
- function H(_, o, c) {
819
+ function B(_, o, c) {
820
820
  if (_ instanceof t.Name)
821
821
  return w(_);
822
- if (!R(_))
822
+ if (!j(_))
823
823
  return _;
824
- return new t._Code(_._items.reduce((O, q) => (q instanceof t.Name && (q = w(q)), q instanceof t._Code ? O.push(...q._items) : O.push(q), O), []));
824
+ return new t._Code(_._items.reduce((O, U) => (U instanceof t.Name && (U = w(U)), U instanceof t._Code ? O.push(...U._items) : O.push(U), O), []));
825
825
  function w(O) {
826
- const q = c[O.str];
827
- return q === void 0 || o[O.str] !== 1 ? O : (delete o[O.str], q);
826
+ const U = c[O.str];
827
+ return U === void 0 || o[O.str] !== 1 ? O : (delete o[O.str], U);
828
828
  }
829
- function R(O) {
830
- return O instanceof t._Code && O._items.some((q) => q instanceof t.Name && o[q.str] === 1 && c[q.str] !== void 0);
829
+ function j(O) {
830
+ return O instanceof t._Code && O._items.some((U) => U instanceof t.Name && o[U.str] === 1 && c[U.str] !== void 0);
831
831
  }
832
832
  }
833
833
  function ee(_, o) {
834
834
  for (const c in o)
835
835
  _[c] = (_[c] || 0) - (o[c] || 0);
836
836
  }
837
- function Fe(_) {
837
+ function Ae(_) {
838
838
  return typeof _ == "boolean" || typeof _ == "number" || _ === null ? !_ : (0, t._)`!${S(_)}`;
839
839
  }
840
- e.not = Fe;
841
- const Ae = p(e.operators.AND);
842
- function _e(..._) {
843
- return _.reduce(Ae);
840
+ e.not = Ae;
841
+ const Ke = p(e.operators.AND);
842
+ function $e(..._) {
843
+ return _.reduce(Ke);
844
844
  }
845
- e.and = _e;
846
- const Ke = p(e.operators.OR);
845
+ e.and = $e;
846
+ const he = p(e.operators.OR);
847
847
  function k(..._) {
848
- return _.reduce(Ke);
848
+ return _.reduce(he);
849
849
  }
850
850
  e.or = k;
851
851
  function p(_) {
@@ -858,7 +858,7 @@ var rr = {};
858
858
  var N = {};
859
859
  Object.defineProperty(N, "__esModule", { value: !0 });
860
860
  N.checkStrictMode = N.getErrorPath = N.Type = N.useFunc = N.setEvaluated = N.evaluatedPropsToName = N.mergeEvaluated = N.eachItem = N.unescapeJsonPointer = N.escapeJsonPointer = N.escapeFragment = N.unescapeFragment = N.schemaRefOrVal = N.schemaHasRulesButRef = N.schemaHasRules = N.checkUnknownRules = N.alwaysValidSchema = N.toHash = void 0;
861
- const L = K, bo = dt;
861
+ const G = K, bo = ut;
862
862
  function Eo(e) {
863
863
  const t = {};
864
864
  for (const r of e)
@@ -902,9 +902,9 @@ function ko({ topSchemaRef: e, schemaPath: t }, r, s, n) {
902
902
  if (typeof r == "number" || typeof r == "boolean")
903
903
  return r;
904
904
  if (typeof r == "string")
905
- return (0, L._)`${r}`;
905
+ return (0, G._)`${r}`;
906
906
  }
907
- return (0, L._)`${e}${t}${(0, L.getProperty)(s)}`;
907
+ return (0, G._)`${e}${t}${(0, G.getProperty)(s)}`;
908
908
  }
909
909
  N.schemaRefOrVal = ko;
910
910
  function No(e) {
@@ -933,24 +933,24 @@ function jo(e, t) {
933
933
  N.eachItem = jo;
934
934
  function es({ mergeNames: e, mergeToName: t, mergeValues: r, resultToName: s }) {
935
935
  return (n, a, i, d) => {
936
- const u = i === void 0 ? a : i instanceof L.Name ? (a instanceof L.Name ? e(n, a, i) : t(n, a, i), i) : a instanceof L.Name ? (t(n, i, a), a) : r(a, i);
937
- return d === L.Name && !(u instanceof L.Name) ? s(n, u) : u;
936
+ const u = i === void 0 ? a : i instanceof G.Name ? (a instanceof G.Name ? e(n, a, i) : t(n, a, i), i) : a instanceof G.Name ? (t(n, i, a), a) : r(a, i);
937
+ return d === G.Name && !(u instanceof G.Name) ? s(n, u) : u;
938
938
  };
939
939
  }
940
940
  N.mergeEvaluated = {
941
941
  props: es({
942
- mergeNames: (e, t, r) => e.if((0, L._)`${r} !== true && ${t} !== undefined`, () => {
943
- e.if((0, L._)`${t} === true`, () => e.assign(r, !0), () => e.assign(r, (0, L._)`${r} || {}`).code((0, L._)`Object.assign(${r}, ${t})`));
942
+ mergeNames: (e, t, r) => e.if((0, G._)`${r} !== true && ${t} !== undefined`, () => {
943
+ e.if((0, G._)`${t} === true`, () => e.assign(r, !0), () => e.assign(r, (0, G._)`${r} || {}`).code((0, G._)`Object.assign(${r}, ${t})`));
944
944
  }),
945
- mergeToName: (e, t, r) => e.if((0, L._)`${r} !== true`, () => {
946
- t === !0 ? e.assign(r, !0) : (e.assign(r, (0, L._)`${r} || {}`), dr(e, r, t));
945
+ mergeToName: (e, t, r) => e.if((0, G._)`${r} !== true`, () => {
946
+ t === !0 ? e.assign(r, !0) : (e.assign(r, (0, G._)`${r} || {}`), dr(e, r, t));
947
947
  }),
948
948
  mergeValues: (e, t) => e === !0 ? !0 : { ...e, ...t },
949
949
  resultToName: qs
950
950
  }),
951
951
  items: es({
952
- mergeNames: (e, t, r) => e.if((0, L._)`${r} !== true && ${t} !== undefined`, () => e.assign(r, (0, L._)`${t} === true ? true : ${r} > ${t} ? ${r} : ${t}`)),
953
- mergeToName: (e, t, r) => e.if((0, L._)`${r} !== true`, () => e.assign(r, t === !0 ? !0 : (0, L._)`${r} > ${t} ? ${r} : ${t}`)),
952
+ mergeNames: (e, t, r) => e.if((0, G._)`${r} !== true && ${t} !== undefined`, () => e.assign(r, (0, G._)`${t} === true ? true : ${r} > ${t} ? ${r} : ${t}`)),
953
+ mergeToName: (e, t, r) => e.if((0, G._)`${r} !== true`, () => e.assign(r, t === !0 ? !0 : (0, G._)`${r} > ${t} ? ${r} : ${t}`)),
954
954
  mergeValues: (e, t) => e === !0 ? !0 : Math.max(e, t),
955
955
  resultToName: (e, t) => e.var("items", t)
956
956
  })
@@ -958,12 +958,12 @@ N.mergeEvaluated = {
958
958
  function qs(e, t) {
959
959
  if (t === !0)
960
960
  return e.var("props", !0);
961
- const r = e.var("props", (0, L._)`{}`);
961
+ const r = e.var("props", (0, G._)`{}`);
962
962
  return t !== void 0 && dr(e, r, t), r;
963
963
  }
964
964
  N.evaluatedPropsToName = qs;
965
965
  function dr(e, t, r) {
966
- Object.keys(r).forEach((s) => e.assign((0, L._)`${t}${(0, L.getProperty)(s)}`, !0));
966
+ Object.keys(r).forEach((s) => e.assign((0, G._)`${t}${(0, G.getProperty)(s)}`, !0));
967
967
  }
968
968
  N.setEvaluated = dr;
969
969
  const ts = {};
@@ -979,11 +979,11 @@ var sr;
979
979
  e[e.Num = 0] = "Num", e[e.Str = 1] = "Str";
980
980
  })(sr || (N.Type = sr = {}));
981
981
  function Oo(e, t, r) {
982
- if (e instanceof L.Name) {
982
+ if (e instanceof G.Name) {
983
983
  const s = t === sr.Num;
984
- return r ? s ? (0, L._)`"[" + ${e} + "]"` : (0, L._)`"['" + ${e} + "']"` : s ? (0, L._)`"/" + ${e}` : (0, L._)`"/" + ${e}.replace(/~/g, "~0").replace(/\\//g, "~1")`;
984
+ return r ? s ? (0, G._)`"[" + ${e} + "]"` : (0, G._)`"['" + ${e} + "']"` : s ? (0, G._)`"/" + ${e}` : (0, G._)`"/" + ${e}.replace(/~/g, "~0").replace(/\\//g, "~1")`;
985
985
  }
986
- return r ? (0, L.getProperty)(e).toString() : "/" + lr(e);
986
+ return r ? (0, G.getProperty)(e).toString() : "/" + lr(e);
987
987
  }
988
988
  N.getErrorPath = Oo;
989
989
  function zs(e, t, r = e.opts.strictSchema) {
@@ -994,8 +994,8 @@ function zs(e, t, r = e.opts.strictSchema) {
994
994
  }
995
995
  }
996
996
  N.checkStrictMode = zs;
997
- var ye = {};
998
- Object.defineProperty(ye, "__esModule", { value: !0 });
997
+ var ve = {};
998
+ Object.defineProperty(ve, "__esModule", { value: !0 });
999
999
  const D = K, To = {
1000
1000
  // validation function arguments
1001
1001
  data: new D.Name("data"),
@@ -1025,35 +1025,35 @@ const D = K, To = {
1025
1025
  jsonLen: new D.Name("jsonLen"),
1026
1026
  jsonPart: new D.Name("jsonPart")
1027
1027
  };
1028
- ye.default = To;
1028
+ ve.default = To;
1029
1029
  (function(e) {
1030
1030
  Object.defineProperty(e, "__esModule", { value: !0 }), e.extendErrors = e.resetErrorsCount = e.reportExtraError = e.reportError = e.keyword$DataError = e.keywordError = void 0;
1031
- const t = K, r = N, s = ye;
1031
+ const t = K, r = N, s = ve;
1032
1032
  e.keywordError = {
1033
1033
  message: ({ keyword: h }) => (0, t.str)`must pass "${h}" keyword validation`
1034
1034
  }, e.keyword$DataError = {
1035
1035
  message: ({ keyword: h, schemaType: f }) => f ? (0, t.str)`"${h}" keyword must be ${f} ($data)` : (0, t.str)`"${h}" keyword is invalid ($data)`
1036
1036
  };
1037
1037
  function n(h, f = e.keywordError, $, P) {
1038
- const { it: j } = h, { gen: C, compositeRule: U, allErrors: J } = j, ne = y(h, f, $);
1039
- P ?? (U || J) ? u(C, ne) : l(j, (0, t._)`[${ne}]`);
1038
+ const { it: R } = h, { gen: C, compositeRule: L, allErrors: H } = R, ne = y(h, f, $);
1039
+ P ?? (L || H) ? u(C, ne) : l(R, (0, t._)`[${ne}]`);
1040
1040
  }
1041
1041
  e.reportError = n;
1042
1042
  function a(h, f = e.keywordError, $) {
1043
- const { it: P } = h, { gen: j, compositeRule: C, allErrors: U } = P, J = y(h, f, $);
1044
- u(j, J), C || U || l(P, s.default.vErrors);
1043
+ const { it: P } = h, { gen: R, compositeRule: C, allErrors: L } = P, H = y(h, f, $);
1044
+ u(R, H), C || L || l(P, s.default.vErrors);
1045
1045
  }
1046
1046
  e.reportExtraError = a;
1047
1047
  function i(h, f) {
1048
1048
  h.assign(s.default.errors, f), h.if((0, t._)`${s.default.vErrors} !== null`, () => h.if(f, () => h.assign((0, t._)`${s.default.vErrors}.length`, f), () => h.assign(s.default.vErrors, null)));
1049
1049
  }
1050
1050
  e.resetErrorsCount = i;
1051
- function d({ gen: h, keyword: f, schemaValue: $, data: P, errsCount: j, it: C }) {
1052
- if (j === void 0)
1051
+ function d({ gen: h, keyword: f, schemaValue: $, data: P, errsCount: R, it: C }) {
1052
+ if (R === void 0)
1053
1053
  throw new Error("ajv implementation error");
1054
- const U = h.name("err");
1055
- h.forRange("i", j, s.default.errors, (J) => {
1056
- h.const(U, (0, t._)`${s.default.vErrors}[${J}]`), h.if((0, t._)`${U}.instancePath === undefined`, () => h.assign((0, t._)`${U}.instancePath`, (0, t.strConcat)(s.default.instancePath, C.errorPath))), h.assign((0, t._)`${U}.schemaPath`, (0, t.str)`${C.errSchemaPath}/${f}`), C.opts.verbose && (h.assign((0, t._)`${U}.schema`, $), h.assign((0, t._)`${U}.data`, P));
1054
+ const L = h.name("err");
1055
+ h.forRange("i", R, s.default.errors, (H) => {
1056
+ h.const(L, (0, t._)`${s.default.vErrors}[${H}]`), h.if((0, t._)`${L}.instancePath === undefined`, () => h.assign((0, t._)`${L}.instancePath`, (0, t.strConcat)(s.default.instancePath, C.errorPath))), h.assign((0, t._)`${L}.schemaPath`, (0, t.str)`${C.errSchemaPath}/${f}`), C.opts.verbose && (h.assign((0, t._)`${L}.schema`, $), h.assign((0, t._)`${L}.data`, P));
1057
1057
  });
1058
1058
  }
1059
1059
  e.extendErrors = d;
@@ -1062,8 +1062,8 @@ ye.default = To;
1062
1062
  h.if((0, t._)`${s.default.vErrors} === null`, () => h.assign(s.default.vErrors, (0, t._)`[${$}]`), (0, t._)`${s.default.vErrors}.push(${$})`), h.code((0, t._)`${s.default.errors}++`);
1063
1063
  }
1064
1064
  function l(h, f) {
1065
- const { gen: $, validateName: P, schemaEnv: j } = h;
1066
- j.$async ? $.throw((0, t._)`new ${h.ValidationError}(${f})`) : ($.assign((0, t._)`${P}.errors`, f), $.return(!1));
1065
+ const { gen: $, validateName: P, schemaEnv: R } = h;
1066
+ R.$async ? $.throw((0, t._)`new ${h.ValidationError}(${f})`) : ($.assign((0, t._)`${P}.errors`, f), $.return(!1));
1067
1067
  }
1068
1068
  const m = {
1069
1069
  keyword: new t.Name("keyword"),
@@ -1080,8 +1080,8 @@ ye.default = To;
1080
1080
  return P === !1 ? (0, t._)`{}` : b(h, f, $);
1081
1081
  }
1082
1082
  function b(h, f, $ = {}) {
1083
- const { gen: P, it: j } = h, C = [
1084
- E(j, $),
1083
+ const { gen: P, it: R } = h, C = [
1084
+ E(R, $),
1085
1085
  g(h, $)
1086
1086
  ];
1087
1087
  return v(h, f, C), P.object(...C);
@@ -1091,29 +1091,29 @@ ye.default = To;
1091
1091
  return [s.default.instancePath, (0, t.strConcat)(s.default.instancePath, $)];
1092
1092
  }
1093
1093
  function g({ keyword: h, it: { errSchemaPath: f } }, { schemaPath: $, parentSchema: P }) {
1094
- let j = P ? f : (0, t.str)`${f}/${h}`;
1095
- return $ && (j = (0, t.str)`${j}${(0, r.getErrorPath)($, r.Type.Str)}`), [m.schemaPath, j];
1094
+ let R = P ? f : (0, t.str)`${f}/${h}`;
1095
+ return $ && (R = (0, t.str)`${R}${(0, r.getErrorPath)($, r.Type.Str)}`), [m.schemaPath, R];
1096
1096
  }
1097
1097
  function v(h, { params: f, message: $ }, P) {
1098
- const { keyword: j, data: C, schemaValue: U, it: J } = h, { opts: ne, propertyName: ae, topSchemaRef: me, schemaPath: be } = J;
1099
- P.push([m.keyword, j], [m.params, typeof f == "function" ? f(h) : f || (0, t._)`{}`]), ne.messages && P.push([m.message, typeof $ == "function" ? $(h) : $]), ne.verbose && P.push([m.schema, U], [m.parentSchema, (0, t._)`${me}${be}`], [s.default.data, C]), ae && P.push([m.propertyName, ae]);
1098
+ const { keyword: R, data: C, schemaValue: L, it: H } = h, { opts: ne, propertyName: ae, topSchemaRef: me, schemaPath: Ee } = H;
1099
+ P.push([m.keyword, R], [m.params, typeof f == "function" ? f(h) : f || (0, t._)`{}`]), ne.messages && P.push([m.message, typeof $ == "function" ? $(h) : $]), ne.verbose && P.push([m.schema, L], [m.parentSchema, (0, t._)`${me}${Ee}`], [s.default.data, C]), ae && P.push([m.propertyName, ae]);
1100
1100
  }
1101
- })(ft);
1102
- Object.defineProperty(Be, "__esModule", { value: !0 });
1103
- Be.boolOrEmptySchema = Be.topBoolOrEmptySchema = void 0;
1104
- const Io = ft, Mo = K, Vo = ye, Fo = {
1101
+ })(mt);
1102
+ Object.defineProperty(Qe, "__esModule", { value: !0 });
1103
+ Qe.boolOrEmptySchema = Qe.topBoolOrEmptySchema = void 0;
1104
+ const Io = mt, Mo = K, Vo = ve, Fo = {
1105
1105
  message: "boolean schema is false"
1106
1106
  };
1107
1107
  function Ao(e) {
1108
1108
  const { gen: t, schema: r, validateName: s } = e;
1109
1109
  r === !1 ? Us(e, !1) : typeof r == "object" && r.$async === !0 ? t.return(Vo.default.data) : (t.assign((0, Mo._)`${s}.errors`, null), t.return(!0));
1110
1110
  }
1111
- Be.topBoolOrEmptySchema = Ao;
1111
+ Qe.topBoolOrEmptySchema = Ao;
1112
1112
  function Ko(e, t) {
1113
1113
  const { gen: r, schema: s } = e;
1114
1114
  s === !1 ? (r.var(t, !1), Us(e)) : r.var(t, !0);
1115
1115
  }
1116
- Be.boolOrEmptySchema = Ko;
1116
+ Qe.boolOrEmptySchema = Ko;
1117
1117
  function Us(e, t) {
1118
1118
  const { gen: r, data: s } = e, n = {
1119
1119
  gen: r,
@@ -1127,14 +1127,14 @@ function Us(e, t) {
1127
1127
  };
1128
1128
  (0, Io.reportError)(n, Fo, void 0, t);
1129
1129
  }
1130
- var X = {}, Me = {};
1131
- Object.defineProperty(Me, "__esModule", { value: !0 });
1132
- Me.getRules = Me.isJSONType = void 0;
1130
+ var X = {}, Ve = {};
1131
+ Object.defineProperty(Ve, "__esModule", { value: !0 });
1132
+ Ve.getRules = Ve.isJSONType = void 0;
1133
1133
  const qo = ["string", "number", "integer", "boolean", "null", "object", "array"], zo = new Set(qo);
1134
1134
  function Uo(e) {
1135
1135
  return typeof e == "string" && zo.has(e);
1136
1136
  }
1137
- Me.isJSONType = Uo;
1137
+ Ve.isJSONType = Uo;
1138
1138
  function Lo() {
1139
1139
  const e = {
1140
1140
  number: { type: "number", rules: [] },
@@ -1150,31 +1150,31 @@ function Lo() {
1150
1150
  keywords: {}
1151
1151
  };
1152
1152
  }
1153
- Me.getRules = Lo;
1154
- var ge = {};
1155
- Object.defineProperty(ge, "__esModule", { value: !0 });
1156
- ge.shouldUseRule = ge.shouldUseGroup = ge.schemaHasRulesForType = void 0;
1153
+ Ve.getRules = Lo;
1154
+ var we = {};
1155
+ Object.defineProperty(we, "__esModule", { value: !0 });
1156
+ we.shouldUseRule = we.shouldUseGroup = we.schemaHasRulesForType = void 0;
1157
1157
  function Go({ schema: e, self: t }, r) {
1158
1158
  const s = t.RULES.types[r];
1159
1159
  return s && s !== !0 && Ls(e, s);
1160
1160
  }
1161
- ge.schemaHasRulesForType = Go;
1161
+ we.schemaHasRulesForType = Go;
1162
1162
  function Ls(e, t) {
1163
1163
  return t.rules.some((r) => Gs(e, r));
1164
1164
  }
1165
- ge.shouldUseGroup = Ls;
1165
+ we.shouldUseGroup = Ls;
1166
1166
  function Gs(e, t) {
1167
1167
  var r;
1168
1168
  return e[t.keyword] !== void 0 || ((r = t.definition.implements) === null || r === void 0 ? void 0 : r.some((s) => e[s] !== void 0));
1169
1169
  }
1170
- ge.shouldUseRule = Gs;
1170
+ we.shouldUseRule = Gs;
1171
1171
  Object.defineProperty(X, "__esModule", { value: !0 });
1172
1172
  X.reportTypeError = X.checkDataTypes = X.checkDataType = X.coerceAndCheckDataType = X.getJSONTypes = X.getSchemaTypes = X.DataType = void 0;
1173
- const Jo = Me, Ho = ge, Bo = ft, F = K, Js = N;
1174
- var Je;
1173
+ const Jo = Ve, Ho = we, Bo = mt, F = K, Js = N;
1174
+ var He;
1175
1175
  (function(e) {
1176
1176
  e[e.Correct = 0] = "Correct", e[e.Wrong = 1] = "Wrong";
1177
- })(Je || (X.DataType = Je = {}));
1177
+ })(He || (X.DataType = He = {}));
1178
1178
  function Qo(e) {
1179
1179
  const t = Hs(e.type);
1180
1180
  if (t.includes("null")) {
@@ -1198,7 +1198,7 @@ X.getJSONTypes = Hs;
1198
1198
  function Xo(e, t) {
1199
1199
  const { gen: r, data: s, opts: n } = e, a = Yo(t, n.coerceTypes), i = t.length > 0 && !(a.length === 0 && t.length === 1 && (0, Ho.schemaHasRulesForType)(e, t[0]));
1200
1200
  if (i) {
1201
- const d = ur(t, s, n.strictNumbers, Je.Wrong);
1201
+ const d = ur(t, s, n.strictNumbers, He.Wrong);
1202
1202
  r.if(d, () => {
1203
1203
  a.length ? Zo(e, t, a) : fr(e);
1204
1204
  });
@@ -1246,8 +1246,8 @@ function Zo(e, t, r) {
1246
1246
  function Do({ gen: e, parentData: t, parentDataProperty: r }, s) {
1247
1247
  e.if((0, F._)`${t} !== undefined`, () => e.assign((0, F._)`${t}[${r}]`, s));
1248
1248
  }
1249
- function nr(e, t, r, s = Je.Correct) {
1250
- const n = s === Je.Correct ? F.operators.EQ : F.operators.NEQ;
1249
+ function nr(e, t, r, s = He.Correct) {
1250
+ const n = s === He.Correct ? F.operators.EQ : F.operators.NEQ;
1251
1251
  let a;
1252
1252
  switch (e) {
1253
1253
  case "null":
@@ -1267,7 +1267,7 @@ function nr(e, t, r, s = Je.Correct) {
1267
1267
  default:
1268
1268
  return (0, F._)`typeof ${t} ${n} ${e}`;
1269
1269
  }
1270
- return s === Je.Correct ? a : (0, F.not)(a);
1270
+ return s === He.Correct ? a : (0, F.not)(a);
1271
1271
  function i(d = F.nil) {
1272
1272
  return (0, F.and)((0, F._)`typeof ${t} == "number"`, d, r ? (0, F._)`isFinite(${t})` : F.nil);
1273
1273
  }
@@ -1312,10 +1312,10 @@ function xo(e) {
1312
1312
  it: e
1313
1313
  };
1314
1314
  }
1315
- var jt = {};
1316
- Object.defineProperty(jt, "__esModule", { value: !0 });
1317
- jt.assignDefaults = void 0;
1318
- const ze = K, ea = N;
1315
+ var Rt = {};
1316
+ Object.defineProperty(Rt, "__esModule", { value: !0 });
1317
+ Rt.assignDefaults = void 0;
1318
+ const Ue = K, ea = N;
1319
1319
  function ta(e, t) {
1320
1320
  const { properties: r, items: s } = e.schema;
1321
1321
  if (t === "object" && r)
@@ -1323,32 +1323,32 @@ function ta(e, t) {
1323
1323
  rs(e, n, r[n].default);
1324
1324
  else t === "array" && Array.isArray(s) && s.forEach((n, a) => rs(e, a, n.default));
1325
1325
  }
1326
- jt.assignDefaults = ta;
1326
+ Rt.assignDefaults = ta;
1327
1327
  function rs(e, t, r) {
1328
1328
  const { gen: s, compositeRule: n, data: a, opts: i } = e;
1329
1329
  if (r === void 0)
1330
1330
  return;
1331
- const d = (0, ze._)`${a}${(0, ze.getProperty)(t)}`;
1331
+ const d = (0, Ue._)`${a}${(0, Ue.getProperty)(t)}`;
1332
1332
  if (n) {
1333
1333
  (0, ea.checkStrictMode)(e, `default is ignored for: ${d}`);
1334
1334
  return;
1335
1335
  }
1336
- let u = (0, ze._)`${d} === undefined`;
1337
- i.useDefaults === "empty" && (u = (0, ze._)`${u} || ${d} === null || ${d} === ""`), s.if(u, (0, ze._)`${d} = ${(0, ze.stringify)(r)}`);
1336
+ let u = (0, Ue._)`${d} === undefined`;
1337
+ i.useDefaults === "empty" && (u = (0, Ue._)`${u} || ${d} === null || ${d} === ""`), s.if(u, (0, Ue._)`${d} = ${(0, Ue.stringify)(r)}`);
1338
1338
  }
1339
- var pe = {}, A = {};
1339
+ var _e = {}, A = {};
1340
1340
  Object.defineProperty(A, "__esModule", { value: !0 });
1341
1341
  A.validateUnion = A.validateArray = A.usePattern = A.callValidateCode = A.schemaProperties = A.allSchemaProperties = A.noPropertyInData = A.propertyInData = A.isOwnProperty = A.hasPropFunc = A.reportMissingProp = A.checkMissingProp = A.checkReportMissingProp = void 0;
1342
- const G = K, mr = N, Ee = ye, ra = N;
1342
+ const J = K, mr = N, Se = ve, ra = N;
1343
1343
  function sa(e, t) {
1344
1344
  const { gen: r, data: s, it: n } = e;
1345
1345
  r.if(pr(r, s, t, n.opts.ownProperties), () => {
1346
- e.setParams({ missingProperty: (0, G._)`${t}` }, !0), e.error();
1346
+ e.setParams({ missingProperty: (0, J._)`${t}` }, !0), e.error();
1347
1347
  });
1348
1348
  }
1349
1349
  A.checkReportMissingProp = sa;
1350
1350
  function na({ gen: e, data: t, it: { opts: r } }, s, n) {
1351
- return (0, G.or)(...s.map((a) => (0, G.and)(pr(e, t, a, r.ownProperties), (0, G._)`${n} = ${a}`)));
1351
+ return (0, J.or)(...s.map((a) => (0, J.and)(pr(e, t, a, r.ownProperties), (0, J._)`${n} = ${a}`)));
1352
1352
  }
1353
1353
  A.checkMissingProp = na;
1354
1354
  function oa(e, t) {
@@ -1359,22 +1359,22 @@ function Qs(e) {
1359
1359
  return e.scopeValue("func", {
1360
1360
  // eslint-disable-next-line @typescript-eslint/unbound-method
1361
1361
  ref: Object.prototype.hasOwnProperty,
1362
- code: (0, G._)`Object.prototype.hasOwnProperty`
1362
+ code: (0, J._)`Object.prototype.hasOwnProperty`
1363
1363
  });
1364
1364
  }
1365
1365
  A.hasPropFunc = Qs;
1366
1366
  function hr(e, t, r) {
1367
- return (0, G._)`${Qs(e)}.call(${t}, ${r})`;
1367
+ return (0, J._)`${Qs(e)}.call(${t}, ${r})`;
1368
1368
  }
1369
1369
  A.isOwnProperty = hr;
1370
1370
  function aa(e, t, r, s) {
1371
- const n = (0, G._)`${t}${(0, G.getProperty)(r)} !== undefined`;
1372
- return s ? (0, G._)`${n} && ${hr(e, t, r)}` : n;
1371
+ const n = (0, J._)`${t}${(0, J.getProperty)(r)} !== undefined`;
1372
+ return s ? (0, J._)`${n} && ${hr(e, t, r)}` : n;
1373
1373
  }
1374
1374
  A.propertyInData = aa;
1375
1375
  function pr(e, t, r, s) {
1376
- const n = (0, G._)`${t}${(0, G.getProperty)(r)} === undefined`;
1377
- return s ? (0, G.or)(n, (0, G.not)(hr(e, t, r))) : n;
1376
+ const n = (0, J._)`${t}${(0, J.getProperty)(r)} === undefined`;
1377
+ return s ? (0, J.or)(n, (0, J.not)(hr(e, t, r))) : n;
1378
1378
  }
1379
1379
  A.noPropertyInData = pr;
1380
1380
  function Xs(e) {
@@ -1386,24 +1386,24 @@ function ia(e, t) {
1386
1386
  }
1387
1387
  A.schemaProperties = ia;
1388
1388
  function ca({ schemaCode: e, data: t, it: { gen: r, topSchemaRef: s, schemaPath: n, errorPath: a }, it: i }, d, u, l) {
1389
- const m = l ? (0, G._)`${e}, ${t}, ${s}${n}` : t, y = [
1390
- [Ee.default.instancePath, (0, G.strConcat)(Ee.default.instancePath, a)],
1391
- [Ee.default.parentData, i.parentData],
1392
- [Ee.default.parentDataProperty, i.parentDataProperty],
1393
- [Ee.default.rootData, Ee.default.rootData]
1389
+ const m = l ? (0, J._)`${e}, ${t}, ${s}${n}` : t, y = [
1390
+ [Se.default.instancePath, (0, J.strConcat)(Se.default.instancePath, a)],
1391
+ [Se.default.parentData, i.parentData],
1392
+ [Se.default.parentDataProperty, i.parentDataProperty],
1393
+ [Se.default.rootData, Se.default.rootData]
1394
1394
  ];
1395
- i.opts.dynamicRef && y.push([Ee.default.dynamicAnchors, Ee.default.dynamicAnchors]);
1396
- const b = (0, G._)`${m}, ${r.object(...y)}`;
1397
- return u !== G.nil ? (0, G._)`${d}.call(${u}, ${b})` : (0, G._)`${d}(${b})`;
1395
+ i.opts.dynamicRef && y.push([Se.default.dynamicAnchors, Se.default.dynamicAnchors]);
1396
+ const b = (0, J._)`${m}, ${r.object(...y)}`;
1397
+ return u !== J.nil ? (0, J._)`${d}.call(${u}, ${b})` : (0, J._)`${d}(${b})`;
1398
1398
  }
1399
1399
  A.callValidateCode = ca;
1400
- const la = (0, G._)`new RegExp`;
1400
+ const la = (0, J._)`new RegExp`;
1401
1401
  function da({ gen: e, it: { opts: t } }, r) {
1402
1402
  const s = t.unicodeRegExp ? "u" : "", { regExp: n } = t.code, a = n(r, s);
1403
1403
  return e.scopeValue("pattern", {
1404
1404
  key: a.toString(),
1405
1405
  ref: a,
1406
- code: (0, G._)`${n.code === "new RegExp" ? la : (0, ra.useFunc)(e, n)}(${r}, ${s})`
1406
+ code: (0, J._)`${n.code === "new RegExp" ? la : (0, ra.useFunc)(e, n)}(${r}, ${s})`
1407
1407
  });
1408
1408
  }
1409
1409
  A.usePattern = da;
@@ -1415,13 +1415,13 @@ function ua(e) {
1415
1415
  }
1416
1416
  return t.var(a, !0), i(() => t.break()), a;
1417
1417
  function i(d) {
1418
- const u = t.const("len", (0, G._)`${r}.length`);
1418
+ const u = t.const("len", (0, J._)`${r}.length`);
1419
1419
  t.forRange("i", 0, u, (l) => {
1420
1420
  e.subschema({
1421
1421
  keyword: s,
1422
1422
  dataProp: l,
1423
1423
  dataPropType: mr.Type.Num
1424
- }, a), t.if((0, G.not)(a), d);
1424
+ }, a), t.if((0, J.not)(a), d);
1425
1425
  });
1426
1426
  }
1427
1427
  }
@@ -1439,13 +1439,13 @@ function fa(e) {
1439
1439
  schemaProp: l,
1440
1440
  compositeRule: !0
1441
1441
  }, d);
1442
- t.assign(i, (0, G._)`${i} || ${d}`), e.mergeValidEvaluated(m, d) || t.if((0, G.not)(i));
1442
+ t.assign(i, (0, J._)`${i} || ${d}`), e.mergeValidEvaluated(m, d) || t.if((0, J.not)(i));
1443
1443
  })), e.result(i, () => e.reset(), () => e.error(!0));
1444
1444
  }
1445
1445
  A.validateUnion = fa;
1446
- Object.defineProperty(pe, "__esModule", { value: !0 });
1447
- pe.validateKeywordUsage = pe.validSchemaType = pe.funcKeywordCode = pe.macroKeywordCode = void 0;
1448
- const x = K, Oe = ye, ma = A, ha = ft;
1446
+ Object.defineProperty(_e, "__esModule", { value: !0 });
1447
+ _e.validateKeywordUsage = _e.validSchemaType = _e.funcKeywordCode = _e.macroKeywordCode = void 0;
1448
+ const x = K, Te = ve, ma = A, ha = mt;
1449
1449
  function pa(e, t) {
1450
1450
  const { gen: r, keyword: s, schema: n, parentSchema: a, it: i } = e, d = t.macro.call(i.self, n, a, i), u = Ys(r, s, d);
1451
1451
  i.opts.validateSchema !== !1 && i.self.validateSchema(d, !0);
@@ -1458,7 +1458,7 @@ function pa(e, t) {
1458
1458
  compositeRule: !0
1459
1459
  }, l), e.pass(l, () => e.error(!0));
1460
1460
  }
1461
- pe.macroKeywordCode = pa;
1461
+ _e.macroKeywordCode = pa;
1462
1462
  function ya(e, t) {
1463
1463
  var r;
1464
1464
  const { gen: s, keyword: n, schema: a, parentSchema: i, $data: d, it: u } = e;
@@ -1482,7 +1482,7 @@ function ya(e, t) {
1482
1482
  return s.assign(f, null), v(x.nil), f;
1483
1483
  }
1484
1484
  function v(f = t.async ? (0, x._)`await ` : x.nil) {
1485
- const $ = u.opts.passContext ? Oe.default.this : Oe.default.self, P = !("compile" in t && !d || t.schema === !1);
1485
+ const $ = u.opts.passContext ? Te.default.this : Te.default.self, P = !("compile" in t && !d || t.schema === !1);
1486
1486
  s.assign(y, (0, x._)`${f}${(0, ma.callValidateCode)(e, m, $, P)}`, t.modifying);
1487
1487
  }
1488
1488
  function h(f) {
@@ -1490,7 +1490,7 @@ function ya(e, t) {
1490
1490
  s.if((0, x.not)(($ = t.valid) !== null && $ !== void 0 ? $ : y), f);
1491
1491
  }
1492
1492
  }
1493
- pe.funcKeywordCode = ya;
1493
+ _e.funcKeywordCode = ya;
1494
1494
  function ss(e) {
1495
1495
  const { gen: t, data: r, it: s } = e;
1496
1496
  t.if(s.parentData, () => t.assign(r, (0, x._)`${s.parentData}[${s.parentDataProperty}]`));
@@ -1498,7 +1498,7 @@ function ss(e) {
1498
1498
  function _a(e, t) {
1499
1499
  const { gen: r } = e;
1500
1500
  r.if((0, x._)`Array.isArray(${t})`, () => {
1501
- r.assign(Oe.default.vErrors, (0, x._)`${Oe.default.vErrors} === null ? ${t} : ${Oe.default.vErrors}.concat(${t})`).assign(Oe.default.errors, (0, x._)`${Oe.default.vErrors}.length`), (0, ha.extendErrors)(e);
1501
+ r.assign(Te.default.vErrors, (0, x._)`${Te.default.vErrors} === null ? ${t} : ${Te.default.vErrors}.concat(${t})`).assign(Te.default.errors, (0, x._)`${Te.default.vErrors}.length`), (0, ha.extendErrors)(e);
1502
1502
  }, () => e.error());
1503
1503
  }
1504
1504
  function va({ schemaEnv: e }, t) {
@@ -1513,7 +1513,7 @@ function Ys(e, t, r) {
1513
1513
  function $a(e, t, r = !1) {
1514
1514
  return !t.length || t.some((s) => s === "array" ? Array.isArray(e) : s === "object" ? e && typeof e == "object" && !Array.isArray(e) : typeof e == s || r && typeof e > "u");
1515
1515
  }
1516
- pe.validSchemaType = $a;
1516
+ _e.validSchemaType = $a;
1517
1517
  function ga({ schema: e, opts: t, self: r, errSchemaPath: s }, n, a) {
1518
1518
  if (Array.isArray(n.keyword) ? !n.keyword.includes(a) : n.keyword !== a)
1519
1519
  throw new Error("ajv implementation error");
@@ -1528,11 +1528,11 @@ function ga({ schema: e, opts: t, self: r, errSchemaPath: s }, n, a) {
1528
1528
  throw new Error(u);
1529
1529
  }
1530
1530
  }
1531
- pe.validateKeywordUsage = ga;
1532
- var Ne = {};
1533
- Object.defineProperty(Ne, "__esModule", { value: !0 });
1534
- Ne.extendSubschemaMode = Ne.extendSubschemaData = Ne.getSubschema = void 0;
1535
- const he = K, Zs = N;
1531
+ _e.validateKeywordUsage = ga;
1532
+ var Ce = {};
1533
+ Object.defineProperty(Ce, "__esModule", { value: !0 });
1534
+ Ce.extendSubschemaMode = Ce.extendSubschemaData = Ce.getSubschema = void 0;
1535
+ const ye = K, Zs = N;
1536
1536
  function wa(e, { keyword: t, schemaProp: r, schema: s, schemaPath: n, errSchemaPath: a, topSchemaRef: i }) {
1537
1537
  if (t !== void 0 && s !== void 0)
1538
1538
  throw new Error('both "keyword" and "schema" passed, only one allowed');
@@ -1540,11 +1540,11 @@ function wa(e, { keyword: t, schemaProp: r, schema: s, schemaPath: n, errSchemaP
1540
1540
  const d = e.schema[t];
1541
1541
  return r === void 0 ? {
1542
1542
  schema: d,
1543
- schemaPath: (0, he._)`${e.schemaPath}${(0, he.getProperty)(t)}`,
1543
+ schemaPath: (0, ye._)`${e.schemaPath}${(0, ye.getProperty)(t)}`,
1544
1544
  errSchemaPath: `${e.errSchemaPath}/${t}`
1545
1545
  } : {
1546
1546
  schema: d[r],
1547
- schemaPath: (0, he._)`${e.schemaPath}${(0, he.getProperty)(t)}${(0, he.getProperty)(r)}`,
1547
+ schemaPath: (0, ye._)`${e.schemaPath}${(0, ye.getProperty)(t)}${(0, ye.getProperty)(r)}`,
1548
1548
  errSchemaPath: `${e.errSchemaPath}/${t}/${(0, Zs.escapeFragment)(r)}`
1549
1549
  };
1550
1550
  }
@@ -1560,17 +1560,17 @@ function wa(e, { keyword: t, schemaProp: r, schema: s, schemaPath: n, errSchemaP
1560
1560
  }
1561
1561
  throw new Error('either "keyword" or "schema" must be passed');
1562
1562
  }
1563
- Ne.getSubschema = wa;
1563
+ Ce.getSubschema = wa;
1564
1564
  function ba(e, t, { dataProp: r, dataPropType: s, data: n, dataTypes: a, propertyName: i }) {
1565
1565
  if (n !== void 0 && r !== void 0)
1566
1566
  throw new Error('both "data" and "dataProp" passed, only one allowed');
1567
1567
  const { gen: d } = t;
1568
1568
  if (r !== void 0) {
1569
- const { errorPath: l, dataPathArr: m, opts: y } = t, b = d.let("data", (0, he._)`${t.data}${(0, he.getProperty)(r)}`, !0);
1570
- u(b), e.errorPath = (0, he.str)`${l}${(0, Zs.getErrorPath)(r, s, y.jsPropertySyntax)}`, e.parentDataProperty = (0, he._)`${r}`, e.dataPathArr = [...m, e.parentDataProperty];
1569
+ const { errorPath: l, dataPathArr: m, opts: y } = t, b = d.let("data", (0, ye._)`${t.data}${(0, ye.getProperty)(r)}`, !0);
1570
+ u(b), e.errorPath = (0, ye.str)`${l}${(0, Zs.getErrorPath)(r, s, y.jsPropertySyntax)}`, e.parentDataProperty = (0, ye._)`${r}`, e.dataPathArr = [...m, e.parentDataProperty];
1571
1571
  }
1572
1572
  if (n !== void 0) {
1573
- const l = n instanceof he.Name ? n : d.let("data", n, !0);
1573
+ const l = n instanceof ye.Name ? n : d.let("data", n, !0);
1574
1574
  u(l), i !== void 0 && (e.propertyName = i);
1575
1575
  }
1576
1576
  a && (e.dataTypes = a);
@@ -1578,11 +1578,11 @@ function ba(e, t, { dataProp: r, dataPropType: s, data: n, dataTypes: a, propert
1578
1578
  e.data = l, e.dataLevel = t.dataLevel + 1, e.dataTypes = [], t.definedProperties = /* @__PURE__ */ new Set(), e.parentData = t.data, e.dataNames = [...t.dataNames, l];
1579
1579
  }
1580
1580
  }
1581
- Ne.extendSubschemaData = ba;
1581
+ Ce.extendSubschemaData = ba;
1582
1582
  function Ea(e, { jtdDiscriminator: t, jtdMetadata: r, compositeRule: s, createErrors: n, allErrors: a }) {
1583
1583
  s !== void 0 && (e.compositeRule = s), n !== void 0 && (e.createErrors = n), a !== void 0 && (e.allErrors = a), e.jtdDiscriminator = t, e.jtdMetadata = r;
1584
1584
  }
1585
- Ne.extendSubschemaMode = Ea;
1585
+ Ce.extendSubschemaMode = Ea;
1586
1586
  var Z = {};
1587
1587
  Object.defineProperty(Z, "__esModule", { value: !0 });
1588
1588
  Z.getSchemaRefs = Z.resolveUrl = Z.normalizeId = Z._getFullPath = Z.getFullPath = Z.inlineRef = void 0;
@@ -1636,7 +1636,7 @@ function Ds(e) {
1636
1636
  return t;
1637
1637
  }
1638
1638
  function Ws(e, t = "", r) {
1639
- r !== !1 && (t = He(t));
1639
+ r !== !1 && (t = Be(t));
1640
1640
  const s = e.parse(t);
1641
1641
  return xs(e, s);
1642
1642
  }
@@ -1646,19 +1646,19 @@ function xs(e, t) {
1646
1646
  }
1647
1647
  Z._getFullPath = xs;
1648
1648
  const Ra = /#\/?$/;
1649
- function He(e) {
1649
+ function Be(e) {
1650
1650
  return e ? e.replace(Ra, "") : "";
1651
1651
  }
1652
- Z.normalizeId = He;
1652
+ Z.normalizeId = Be;
1653
1653
  function Oa(e, t, r) {
1654
- return r = He(r), e.resolve(t, r);
1654
+ return r = Be(r), e.resolve(t, r);
1655
1655
  }
1656
1656
  Z.resolveUrl = Oa;
1657
1657
  const Ta = /^[a-z_][-a-z0-9._]*$/i;
1658
1658
  function Ia(e, t) {
1659
1659
  if (typeof e == "boolean")
1660
1660
  return {};
1661
- const { schemaId: r, uriResolver: s } = this.opts, n = He(e[r] || t), a = { "": n }, i = Ws(s, n, !1), d = {}, u = /* @__PURE__ */ new Set();
1661
+ const { schemaId: r, uriResolver: s } = this.opts, n = Be(e[r] || t), a = { "": n }, i = Ws(s, n, !1), d = {}, u = /* @__PURE__ */ new Set();
1662
1662
  return ka(e, { allKeys: !0 }, (y, b, E, g) => {
1663
1663
  if (g === void 0)
1664
1664
  return;
@@ -1666,12 +1666,12 @@ function Ia(e, t) {
1666
1666
  let h = a[g];
1667
1667
  typeof y[r] == "string" && (h = f.call(this, y[r])), $.call(this, y.$anchor), $.call(this, y.$dynamicAnchor), a[b] = h;
1668
1668
  function f(P) {
1669
- const j = this.opts.uriResolver.resolve;
1670
- if (P = He(h ? j(h, P) : P), u.has(P))
1669
+ const R = this.opts.uriResolver.resolve;
1670
+ if (P = Be(h ? R(h, P) : P), u.has(P))
1671
1671
  throw m(P);
1672
1672
  u.add(P);
1673
1673
  let C = this.refs[P];
1674
- return typeof C == "string" && (C = this.refs[C]), typeof C == "object" ? l(y, C.schema, P) : P !== He(v) && (P[0] === "#" ? (l(y, d[P], P), d[P] = y) : this.refs[P] = v), P;
1674
+ return typeof C == "string" && (C = this.refs[C]), typeof C == "object" ? l(y, C.schema, P) : P !== Be(v) && (P[0] === "#" ? (l(y, d[P], P), d[P] = y) : this.refs[P] = v), P;
1675
1675
  }
1676
1676
  function $(P) {
1677
1677
  if (typeof P == "string") {
@@ -1692,7 +1692,7 @@ function Ia(e, t) {
1692
1692
  Z.getSchemaRefs = Ia;
1693
1693
  Object.defineProperty(fe, "__esModule", { value: !0 });
1694
1694
  fe.getData = fe.KeywordCxt = fe.validateFunctionCode = void 0;
1695
- const en = Be, ns = X, yr = ge, Pt = X, Ma = jt, nt = pe, Bt = Ne, T = K, M = ye, Va = Z, we = N, et = ft;
1695
+ const en = Qe, ns = X, yr = we, kt = X, Ma = Rt, ot = _e, Bt = Ce, T = K, I = ve, Va = Z, be = N, tt = mt;
1696
1696
  function Fa(e) {
1697
1697
  if (sn(e) && (nn(e), rn(e))) {
1698
1698
  qa(e);
@@ -1702,24 +1702,24 @@ function Fa(e) {
1702
1702
  }
1703
1703
  fe.validateFunctionCode = Fa;
1704
1704
  function tn({ gen: e, validateName: t, schema: r, schemaEnv: s, opts: n }, a) {
1705
- n.code.es5 ? e.func(t, (0, T._)`${M.default.data}, ${M.default.valCxt}`, s.$async, () => {
1705
+ n.code.es5 ? e.func(t, (0, T._)`${I.default.data}, ${I.default.valCxt}`, s.$async, () => {
1706
1706
  e.code((0, T._)`"use strict"; ${os(r, n)}`), Ka(e, n), e.code(a);
1707
- }) : e.func(t, (0, T._)`${M.default.data}, ${Aa(n)}`, s.$async, () => e.code(os(r, n)).code(a));
1707
+ }) : e.func(t, (0, T._)`${I.default.data}, ${Aa(n)}`, s.$async, () => e.code(os(r, n)).code(a));
1708
1708
  }
1709
1709
  function Aa(e) {
1710
- return (0, T._)`{${M.default.instancePath}="", ${M.default.parentData}, ${M.default.parentDataProperty}, ${M.default.rootData}=${M.default.data}${e.dynamicRef ? (0, T._)`, ${M.default.dynamicAnchors}={}` : T.nil}}={}`;
1710
+ return (0, T._)`{${I.default.instancePath}="", ${I.default.parentData}, ${I.default.parentDataProperty}, ${I.default.rootData}=${I.default.data}${e.dynamicRef ? (0, T._)`, ${I.default.dynamicAnchors}={}` : T.nil}}={}`;
1711
1711
  }
1712
1712
  function Ka(e, t) {
1713
- e.if(M.default.valCxt, () => {
1714
- e.var(M.default.instancePath, (0, T._)`${M.default.valCxt}.${M.default.instancePath}`), e.var(M.default.parentData, (0, T._)`${M.default.valCxt}.${M.default.parentData}`), e.var(M.default.parentDataProperty, (0, T._)`${M.default.valCxt}.${M.default.parentDataProperty}`), e.var(M.default.rootData, (0, T._)`${M.default.valCxt}.${M.default.rootData}`), t.dynamicRef && e.var(M.default.dynamicAnchors, (0, T._)`${M.default.valCxt}.${M.default.dynamicAnchors}`);
1713
+ e.if(I.default.valCxt, () => {
1714
+ e.var(I.default.instancePath, (0, T._)`${I.default.valCxt}.${I.default.instancePath}`), e.var(I.default.parentData, (0, T._)`${I.default.valCxt}.${I.default.parentData}`), e.var(I.default.parentDataProperty, (0, T._)`${I.default.valCxt}.${I.default.parentDataProperty}`), e.var(I.default.rootData, (0, T._)`${I.default.valCxt}.${I.default.rootData}`), t.dynamicRef && e.var(I.default.dynamicAnchors, (0, T._)`${I.default.valCxt}.${I.default.dynamicAnchors}`);
1715
1715
  }, () => {
1716
- e.var(M.default.instancePath, (0, T._)`""`), e.var(M.default.parentData, (0, T._)`undefined`), e.var(M.default.parentDataProperty, (0, T._)`undefined`), e.var(M.default.rootData, M.default.data), t.dynamicRef && e.var(M.default.dynamicAnchors, (0, T._)`{}`);
1716
+ e.var(I.default.instancePath, (0, T._)`""`), e.var(I.default.parentData, (0, T._)`undefined`), e.var(I.default.parentDataProperty, (0, T._)`undefined`), e.var(I.default.rootData, I.default.data), t.dynamicRef && e.var(I.default.dynamicAnchors, (0, T._)`{}`);
1717
1717
  });
1718
1718
  }
1719
1719
  function qa(e) {
1720
1720
  const { schema: t, opts: r, gen: s } = e;
1721
1721
  tn(e, () => {
1722
- r.$comment && t.$comment && an(e), Ja(e), s.let(M.default.vErrors, null), s.let(M.default.errors, 0), r.unevaluated && za(e), on(e), Qa(e);
1722
+ r.$comment && t.$comment && an(e), Ja(e), s.let(I.default.vErrors, null), s.let(I.default.errors, 0), r.unevaluated && za(e), on(e), Qa(e);
1723
1723
  });
1724
1724
  }
1725
1725
  function za(e) {
@@ -1751,11 +1751,11 @@ function sn(e) {
1751
1751
  function La(e, t) {
1752
1752
  const { schema: r, gen: s, opts: n } = e;
1753
1753
  n.$comment && r.$comment && an(e), Ha(e), Ba(e);
1754
- const a = s.const("_errs", M.default.errors);
1755
- on(e, a), s.var(t, (0, T._)`${a} === ${M.default.errors}`);
1754
+ const a = s.const("_errs", I.default.errors);
1755
+ on(e, a), s.var(t, (0, T._)`${a} === ${I.default.errors}`);
1756
1756
  }
1757
1757
  function nn(e) {
1758
- (0, we.checkUnknownRules)(e), Ga(e);
1758
+ (0, be.checkUnknownRules)(e), Ga(e);
1759
1759
  }
1760
1760
  function on(e, t) {
1761
1761
  if (e.opts.jtd)
@@ -1765,11 +1765,11 @@ function on(e, t) {
1765
1765
  }
1766
1766
  function Ga(e) {
1767
1767
  const { schema: t, errSchemaPath: r, opts: s, self: n } = e;
1768
- t.$ref && s.ignoreKeywordsWithRef && (0, we.schemaHasRulesButRef)(t, n.RULES) && n.logger.warn(`$ref: keywords ignored in schema at path "${r}"`);
1768
+ t.$ref && s.ignoreKeywordsWithRef && (0, be.schemaHasRulesButRef)(t, n.RULES) && n.logger.warn(`$ref: keywords ignored in schema at path "${r}"`);
1769
1769
  }
1770
1770
  function Ja(e) {
1771
1771
  const { schema: t, opts: r } = e;
1772
- t.default !== void 0 && r.useDefaults && r.strictSchema && (0, we.checkStrictMode)(e, "default is ignored in the schema root");
1772
+ t.default !== void 0 && r.useDefaults && r.strictSchema && (0, be.checkStrictMode)(e, "default is ignored in the schema root");
1773
1773
  }
1774
1774
  function Ha(e) {
1775
1775
  const t = e.schema[e.opts.schemaId];
@@ -1782,22 +1782,22 @@ function Ba(e) {
1782
1782
  function an({ gen: e, schemaEnv: t, schema: r, errSchemaPath: s, opts: n }) {
1783
1783
  const a = r.$comment;
1784
1784
  if (n.$comment === !0)
1785
- e.code((0, T._)`${M.default.self}.logger.log(${a})`);
1785
+ e.code((0, T._)`${I.default.self}.logger.log(${a})`);
1786
1786
  else if (typeof n.$comment == "function") {
1787
1787
  const i = (0, T.str)`${s}/$comment`, d = e.scopeValue("root", { ref: t.root });
1788
- e.code((0, T._)`${M.default.self}.opts.$comment(${a}, ${i}, ${d}.schema)`);
1788
+ e.code((0, T._)`${I.default.self}.opts.$comment(${a}, ${i}, ${d}.schema)`);
1789
1789
  }
1790
1790
  }
1791
1791
  function Qa(e) {
1792
1792
  const { gen: t, schemaEnv: r, validateName: s, ValidationError: n, opts: a } = e;
1793
- r.$async ? t.if((0, T._)`${M.default.errors} === 0`, () => t.return(M.default.data), () => t.throw((0, T._)`new ${n}(${M.default.vErrors})`)) : (t.assign((0, T._)`${s}.errors`, M.default.vErrors), a.unevaluated && Xa(e), t.return((0, T._)`${M.default.errors} === 0`));
1793
+ r.$async ? t.if((0, T._)`${I.default.errors} === 0`, () => t.return(I.default.data), () => t.throw((0, T._)`new ${n}(${I.default.vErrors})`)) : (t.assign((0, T._)`${s}.errors`, I.default.vErrors), a.unevaluated && Xa(e), t.return((0, T._)`${I.default.errors} === 0`));
1794
1794
  }
1795
1795
  function Xa({ gen: e, evaluated: t, props: r, items: s }) {
1796
1796
  r instanceof T.Name && e.assign((0, T._)`${t}.props`, r), s instanceof T.Name && e.assign((0, T._)`${t}.items`, s);
1797
1797
  }
1798
1798
  function as(e, t, r, s) {
1799
1799
  const { gen: n, schema: a, data: i, allErrors: d, opts: u, self: l } = e, { RULES: m } = l;
1800
- if (a.$ref && (u.ignoreKeywordsWithRef || !(0, we.schemaHasRulesButRef)(a, m))) {
1800
+ if (a.$ref && (u.ignoreKeywordsWithRef || !(0, be.schemaHasRulesButRef)(a, m))) {
1801
1801
  n.block(() => dn(e, "$ref", m.all.$ref.definition));
1802
1802
  return;
1803
1803
  }
@@ -1807,7 +1807,7 @@ function as(e, t, r, s) {
1807
1807
  y(m.post);
1808
1808
  });
1809
1809
  function y(b) {
1810
- (0, yr.shouldUseGroup)(a, b) && (b.type ? (n.if((0, Pt.checkDataType)(b.type, i, u.strictNumbers)), is(e, b), t.length === 1 && t[0] === b.type && r && (n.else(), (0, Pt.reportTypeError)(e)), n.endIf()) : is(e, b), d || n.if((0, T._)`${M.default.errors} === ${s || 0}`));
1810
+ (0, yr.shouldUseGroup)(a, b) && (b.type ? (n.if((0, kt.checkDataType)(b.type, i, u.strictNumbers)), is(e, b), t.length === 1 && t[0] === b.type && r && (n.else(), (0, kt.reportTypeError)(e)), n.endIf()) : is(e, b), d || n.if((0, T._)`${I.default.errors} === ${s || 0}`));
1811
1811
  }
1812
1812
  }
1813
1813
  function is(e, t) {
@@ -1858,15 +1858,15 @@ function ei(e, t) {
1858
1858
  }
1859
1859
  function _r(e, t) {
1860
1860
  const r = e.schemaEnv.baseId + e.errSchemaPath;
1861
- t += ` at "${r}" (strictTypes)`, (0, we.checkStrictMode)(e, t, e.opts.strictTypes);
1861
+ t += ` at "${r}" (strictTypes)`, (0, be.checkStrictMode)(e, t, e.opts.strictTypes);
1862
1862
  }
1863
1863
  class ln {
1864
1864
  constructor(t, r, s) {
1865
- if ((0, nt.validateKeywordUsage)(t, r, s), this.gen = t.gen, this.allErrors = t.allErrors, this.keyword = s, this.data = t.data, this.schema = t.schema[s], this.$data = r.$data && t.opts.$data && this.schema && this.schema.$data, this.schemaValue = (0, we.schemaRefOrVal)(t, this.schema, s, this.$data), this.schemaType = r.schemaType, this.parentSchema = t.schema, this.params = {}, this.it = t, this.def = r, this.$data)
1865
+ if ((0, ot.validateKeywordUsage)(t, r, s), this.gen = t.gen, this.allErrors = t.allErrors, this.keyword = s, this.data = t.data, this.schema = t.schema[s], this.$data = r.$data && t.opts.$data && this.schema && this.schema.$data, this.schemaValue = (0, be.schemaRefOrVal)(t, this.schema, s, this.$data), this.schemaType = r.schemaType, this.parentSchema = t.schema, this.params = {}, this.it = t, this.def = r, this.$data)
1866
1866
  this.schemaCode = t.gen.const("vSchema", un(this.$data, t));
1867
- else if (this.schemaCode = this.schemaValue, !(0, nt.validSchemaType)(this.schema, r.schemaType, r.allowUndefined))
1867
+ else if (this.schemaCode = this.schemaValue, !(0, ot.validSchemaType)(this.schema, r.schemaType, r.allowUndefined))
1868
1868
  throw new Error(`${s} value must be ${JSON.stringify(r.schemaType)}`);
1869
- ("code" in r ? r.trackErrors : r.errors !== !1) && (this.errsCount = t.gen.const("_errs", M.default.errors));
1869
+ ("code" in r ? r.trackErrors : r.errors !== !1) && (this.errsCount = t.gen.const("_errs", I.default.errors));
1870
1870
  }
1871
1871
  result(t, r, s) {
1872
1872
  this.failResult((0, T.not)(t), r, s);
@@ -1898,15 +1898,15 @@ class ln {
1898
1898
  this._error(t, s);
1899
1899
  }
1900
1900
  _error(t, r) {
1901
- (t ? et.reportExtraError : et.reportError)(this, this.def.error, r);
1901
+ (t ? tt.reportExtraError : tt.reportError)(this, this.def.error, r);
1902
1902
  }
1903
1903
  $dataError() {
1904
- (0, et.reportError)(this, this.def.$dataError || et.keyword$DataError);
1904
+ (0, tt.reportError)(this, this.def.$dataError || tt.keyword$DataError);
1905
1905
  }
1906
1906
  reset() {
1907
1907
  if (this.errsCount === void 0)
1908
1908
  throw new Error('add "trackErrors" to keyword definition');
1909
- (0, et.resetErrorsCount)(this.gen, this.errsCount);
1909
+ (0, tt.resetErrorsCount)(this.gen, this.errsCount);
1910
1910
  }
1911
1911
  ok(t) {
1912
1912
  this.allErrors || this.gen.if(t);
@@ -1933,7 +1933,7 @@ class ln {
1933
1933
  if (!(r instanceof T.Name))
1934
1934
  throw new Error("ajv implementation error");
1935
1935
  const u = Array.isArray(s) ? s : [s];
1936
- return (0, T._)`${(0, Pt.checkDataTypes)(u, r, a.opts.strictNumbers, Pt.DataType.Wrong)}`;
1936
+ return (0, T._)`${(0, kt.checkDataTypes)(u, r, a.opts.strictNumbers, kt.DataType.Wrong)}`;
1937
1937
  }
1938
1938
  return T.nil;
1939
1939
  }
@@ -1953,7 +1953,7 @@ class ln {
1953
1953
  }
1954
1954
  mergeEvaluated(t, r) {
1955
1955
  const { it: s, gen: n } = this;
1956
- s.opts.unevaluated && (s.props !== !0 && t.props !== void 0 && (s.props = we.mergeEvaluated.props(n, t.props, s.props, r)), s.items !== !0 && t.items !== void 0 && (s.items = we.mergeEvaluated.items(n, t.items, s.items, r)));
1956
+ s.opts.unevaluated && (s.props !== !0 && t.props !== void 0 && (s.props = be.mergeEvaluated.props(n, t.props, s.props, r)), s.items !== !0 && t.items !== void 0 && (s.items = be.mergeEvaluated.items(n, t.items, s.items, r)));
1957
1957
  }
1958
1958
  mergeValidEvaluated(t, r) {
1959
1959
  const { it: s, gen: n } = this;
@@ -1964,17 +1964,17 @@ class ln {
1964
1964
  fe.KeywordCxt = ln;
1965
1965
  function dn(e, t, r, s) {
1966
1966
  const n = new ln(e, r, t);
1967
- "code" in r ? r.code(n, s) : n.$data && r.validate ? (0, nt.funcKeywordCode)(n, r) : "macro" in r ? (0, nt.macroKeywordCode)(n, r) : (r.compile || r.validate) && (0, nt.funcKeywordCode)(n, r);
1967
+ "code" in r ? r.code(n, s) : n.$data && r.validate ? (0, ot.funcKeywordCode)(n, r) : "macro" in r ? (0, ot.macroKeywordCode)(n, r) : (r.compile || r.validate) && (0, ot.funcKeywordCode)(n, r);
1968
1968
  }
1969
1969
  const ti = /^\/(?:[^~]|~0|~1)*$/, ri = /^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;
1970
1970
  function un(e, { dataLevel: t, dataNames: r, dataPathArr: s }) {
1971
1971
  let n, a;
1972
1972
  if (e === "")
1973
- return M.default.rootData;
1973
+ return I.default.rootData;
1974
1974
  if (e[0] === "/") {
1975
1975
  if (!ti.test(e))
1976
1976
  throw new Error(`Invalid JSON-pointer: ${e}`);
1977
- n = e, a = M.default.rootData;
1977
+ n = e, a = I.default.rootData;
1978
1978
  } else {
1979
1979
  const l = ri.exec(e);
1980
1980
  if (!l)
@@ -1993,35 +1993,35 @@ function un(e, { dataLevel: t, dataNames: r, dataPathArr: s }) {
1993
1993
  let i = a;
1994
1994
  const d = n.split("/");
1995
1995
  for (const l of d)
1996
- l && (a = (0, T._)`${a}${(0, T.getProperty)((0, we.unescapeJsonPointer)(l))}`, i = (0, T._)`${i} && ${a}`);
1996
+ l && (a = (0, T._)`${a}${(0, T.getProperty)((0, be.unescapeJsonPointer)(l))}`, i = (0, T._)`${i} && ${a}`);
1997
1997
  return i;
1998
1998
  function u(l, m) {
1999
1999
  return `Cannot access ${l} ${m} levels up, current level is ${t}`;
2000
2000
  }
2001
2001
  }
2002
2002
  fe.getData = un;
2003
- var mt = {};
2004
- Object.defineProperty(mt, "__esModule", { value: !0 });
2003
+ var ht = {};
2004
+ Object.defineProperty(ht, "__esModule", { value: !0 });
2005
2005
  class si extends Error {
2006
2006
  constructor(t) {
2007
2007
  super("validation failed"), this.errors = t, this.ajv = this.validation = !0;
2008
2008
  }
2009
2009
  }
2010
- mt.default = si;
2011
- var Xe = {};
2012
- Object.defineProperty(Xe, "__esModule", { value: !0 });
2010
+ ht.default = si;
2011
+ var Ye = {};
2012
+ Object.defineProperty(Ye, "__esModule", { value: !0 });
2013
2013
  const Qt = Z;
2014
2014
  class ni extends Error {
2015
2015
  constructor(t, r, s, n) {
2016
2016
  super(n || `can't resolve reference ${s} from id ${r}`), this.missingRef = (0, Qt.resolveUrl)(t, r, s), this.missingSchema = (0, Qt.normalizeId)((0, Qt.getFullPath)(t, this.missingRef));
2017
2017
  }
2018
2018
  }
2019
- Xe.default = ni;
2019
+ Ye.default = ni;
2020
2020
  var re = {};
2021
2021
  Object.defineProperty(re, "__esModule", { value: !0 });
2022
2022
  re.resolveSchema = re.getCompilingSchema = re.resolveRef = re.compileSchema = re.SchemaEnv = void 0;
2023
- const ce = K, oi = mt, je = ye, ue = Z, cs = N, ai = fe;
2024
- class Rt {
2023
+ const ce = K, oi = ht, Re = ve, ue = Z, cs = N, ai = fe;
2024
+ class Ot {
2025
2025
  constructor(t) {
2026
2026
  var r;
2027
2027
  this.refs = {}, this.dynamicAnchors = {};
@@ -2029,7 +2029,7 @@ class Rt {
2029
2029
  typeof t.schema == "object" && (s = t.schema), this.schema = t.schema, this.schemaId = t.schemaId, this.root = t.root || this, this.baseId = (r = t.baseId) !== null && r !== void 0 ? r : (0, ue.normalizeId)(s == null ? void 0 : s[t.schemaId || "$id"]), this.schemaPath = t.schemaPath, this.localRefs = t.localRefs, this.meta = t.meta, this.$async = s == null ? void 0 : s.$async, this.refs = {};
2030
2030
  }
2031
2031
  }
2032
- re.SchemaEnv = Rt;
2032
+ re.SchemaEnv = Ot;
2033
2033
  function vr(e) {
2034
2034
  const t = fn.call(this, e);
2035
2035
  if (t)
@@ -2045,10 +2045,10 @@ function vr(e) {
2045
2045
  const l = {
2046
2046
  gen: i,
2047
2047
  allErrors: this.opts.allErrors,
2048
- data: je.default.data,
2049
- parentData: je.default.parentData,
2050
- parentDataProperty: je.default.parentDataProperty,
2051
- dataNames: [je.default.data],
2048
+ data: Re.default.data,
2049
+ parentData: Re.default.parentData,
2050
+ parentDataProperty: Re.default.parentDataProperty,
2051
+ dataNames: [Re.default.data],
2052
2052
  dataPathArr: [ce.nil],
2053
2053
  // TODO can its length be used as dataLevel if nil is removed?
2054
2054
  dataLevel: 0,
@@ -2071,8 +2071,8 @@ function vr(e) {
2071
2071
  try {
2072
2072
  this._compilations.add(e), (0, ai.validateFunctionCode)(l), i.optimize(this.opts.code.optimize);
2073
2073
  const y = i.toString();
2074
- m = `${i.scopeRefs(je.default.scope)}return ${y}`, this.opts.code.process && (m = this.opts.code.process(m, e));
2075
- const E = new Function(`${je.default.self}`, `${je.default.scope}`, m)(this, this.scope.get());
2074
+ m = `${i.scopeRefs(Re.default.scope)}return ${y}`, this.opts.code.process && (m = this.opts.code.process(m, e));
2075
+ const E = new Function(`${Re.default.self}`, `${Re.default.scope}`, m)(this, this.scope.get());
2076
2076
  if (this.scope.value(u, { ref: E }), E.errors = null, E.schema = e.schema, E.schemaEnv = e, e.$async && (E.$async = !0), this.opts.code.source === !0 && (E.source = { validateName: u, validateCode: y, scopeValues: i._values }), this.opts.unevaluated) {
2077
2077
  const { props: g, items: v } = l;
2078
2078
  E.evaluated = {
@@ -2099,7 +2099,7 @@ function ii(e, t, r) {
2099
2099
  let a = di.call(this, e, r);
2100
2100
  if (a === void 0) {
2101
2101
  const i = (s = e.localRefs) === null || s === void 0 ? void 0 : s[r], { schemaId: d } = this.opts;
2102
- i && (a = new Rt({ schema: i, schemaId: d, root: e, baseId: t }));
2102
+ i && (a = new Ot({ schema: i, schemaId: d, root: e, baseId: t }));
2103
2103
  }
2104
2104
  if (a !== void 0)
2105
2105
  return e.refs[r] = ci.call(this, a);
@@ -2121,27 +2121,27 @@ function di(e, t) {
2121
2121
  let r;
2122
2122
  for (; typeof (r = this.refs[t]) == "string"; )
2123
2123
  t = r;
2124
- return r || this.schemas[t] || Ot.call(this, e, t);
2124
+ return r || this.schemas[t] || Tt.call(this, e, t);
2125
2125
  }
2126
- function Ot(e, t) {
2126
+ function Tt(e, t) {
2127
2127
  const r = this.opts.uriResolver.parse(t), s = (0, ue._getFullPath)(this.opts.uriResolver, r);
2128
2128
  let n = (0, ue.getFullPath)(this.opts.uriResolver, e.baseId, void 0);
2129
2129
  if (Object.keys(e.schema).length > 0 && s === n)
2130
2130
  return Xt.call(this, r, e);
2131
2131
  const a = (0, ue.normalizeId)(s), i = this.refs[a] || this.schemas[a];
2132
2132
  if (typeof i == "string") {
2133
- const d = Ot.call(this, e, i);
2133
+ const d = Tt.call(this, e, i);
2134
2134
  return typeof (d == null ? void 0 : d.schema) != "object" ? void 0 : Xt.call(this, r, d);
2135
2135
  }
2136
2136
  if (typeof (i == null ? void 0 : i.schema) == "object") {
2137
2137
  if (i.validate || vr.call(this, i), a === (0, ue.normalizeId)(t)) {
2138
2138
  const { schema: d } = i, { schemaId: u } = this.opts, l = d[u];
2139
- return l && (n = (0, ue.resolveUrl)(this.opts.uriResolver, n, l)), new Rt({ schema: d, schemaId: u, root: e, baseId: n });
2139
+ return l && (n = (0, ue.resolveUrl)(this.opts.uriResolver, n, l)), new Ot({ schema: d, schemaId: u, root: e, baseId: n });
2140
2140
  }
2141
2141
  return Xt.call(this, r, i);
2142
2142
  }
2143
2143
  }
2144
- re.resolveSchema = Ot;
2144
+ re.resolveSchema = Tt;
2145
2145
  const ui = /* @__PURE__ */ new Set([
2146
2146
  "properties",
2147
2147
  "patternProperties",
@@ -2166,10 +2166,10 @@ function Xt(e, { baseId: t, schema: r, root: s }) {
2166
2166
  let a;
2167
2167
  if (typeof r != "boolean" && r.$ref && !(0, cs.schemaHasRulesButRef)(r, this.RULES)) {
2168
2168
  const d = (0, ue.resolveUrl)(this.opts.uriResolver, t, r.$ref);
2169
- a = Ot.call(this, s, d);
2169
+ a = Tt.call(this, s, d);
2170
2170
  }
2171
2171
  const { schemaId: i } = this.opts;
2172
- if (a = a || new Rt({ schema: r, schemaId: i, root: s, baseId: t }), a.schema !== a.root.schema)
2172
+ if (a = a || new Ot({ schema: r, schemaId: i, root: s, baseId: t }), a.schema !== a.root.schema)
2173
2173
  return a;
2174
2174
  }
2175
2175
  const fi = "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#", mi = "Meta-schema for $data reference (JSON AnySchema extension proposal)", hi = "object", pi = [
@@ -2219,7 +2219,7 @@ $r.default = mn;
2219
2219
  } }), Object.defineProperty(e, "CodeGen", { enumerable: !0, get: function() {
2220
2220
  return r.CodeGen;
2221
2221
  } });
2222
- const s = mt, n = Xe, a = Me, i = re, d = K, u = Z, l = X, m = N, y = vi, b = $r, E = (k, p) => new RegExp(k, p);
2222
+ const s = ht, n = Ye, a = Ve, i = re, d = K, u = Z, l = X, m = N, y = vi, b = $r, E = (k, p) => new RegExp(k, p);
2223
2223
  E.code = "new RegExp";
2224
2224
  const g = ["removeAdditional", "useDefaults", "coerceTypes"], v = /* @__PURE__ */ new Set([
2225
2225
  "validate",
@@ -2257,17 +2257,17 @@ $r.default = mn;
2257
2257
  unicode: '"minLength"/"maxLength" account for unicode characters by default.'
2258
2258
  }, $ = 200;
2259
2259
  function P(k) {
2260
- var p, S, _, o, c, w, R, O, q, I, B, ve, De, $e, qe, Mt, Vt, Ft, At, Kt, qt, zt, Ut, Lt, Gt;
2261
- const We = k.strict, Jt = (p = k.code) === null || p === void 0 ? void 0 : p.optimize, Wr = Jt === !0 || Jt === void 0 ? 1 : Jt || 0, xr = (_ = (S = k.code) === null || S === void 0 ? void 0 : S.regExp) !== null && _ !== void 0 ? _ : E, bn = (o = k.uriResolver) !== null && o !== void 0 ? o : b.default;
2260
+ var p, S, _, o, c, w, j, O, U, q, V, pe, qe, We, ge, ze, Vt, Ft, At, Kt, qt, zt, Ut, Lt, Gt;
2261
+ const xe = k.strict, Jt = (p = k.code) === null || p === void 0 ? void 0 : p.optimize, Wr = Jt === !0 || Jt === void 0 ? 1 : Jt || 0, xr = (_ = (S = k.code) === null || S === void 0 ? void 0 : S.regExp) !== null && _ !== void 0 ? _ : E, bn = (o = k.uriResolver) !== null && o !== void 0 ? o : b.default;
2262
2262
  return {
2263
- strictSchema: (w = (c = k.strictSchema) !== null && c !== void 0 ? c : We) !== null && w !== void 0 ? w : !0,
2264
- strictNumbers: (O = (R = k.strictNumbers) !== null && R !== void 0 ? R : We) !== null && O !== void 0 ? O : !0,
2265
- strictTypes: (I = (q = k.strictTypes) !== null && q !== void 0 ? q : We) !== null && I !== void 0 ? I : "log",
2266
- strictTuples: (ve = (B = k.strictTuples) !== null && B !== void 0 ? B : We) !== null && ve !== void 0 ? ve : "log",
2267
- strictRequired: ($e = (De = k.strictRequired) !== null && De !== void 0 ? De : We) !== null && $e !== void 0 ? $e : !1,
2263
+ strictSchema: (w = (c = k.strictSchema) !== null && c !== void 0 ? c : xe) !== null && w !== void 0 ? w : !0,
2264
+ strictNumbers: (O = (j = k.strictNumbers) !== null && j !== void 0 ? j : xe) !== null && O !== void 0 ? O : !0,
2265
+ strictTypes: (q = (U = k.strictTypes) !== null && U !== void 0 ? U : xe) !== null && q !== void 0 ? q : "log",
2266
+ strictTuples: (pe = (V = k.strictTuples) !== null && V !== void 0 ? V : xe) !== null && pe !== void 0 ? pe : "log",
2267
+ strictRequired: (We = (qe = k.strictRequired) !== null && qe !== void 0 ? qe : xe) !== null && We !== void 0 ? We : !1,
2268
2268
  code: k.code ? { ...k.code, optimize: Wr, regExp: xr } : { optimize: Wr, regExp: xr },
2269
- loopRequired: (qe = k.loopRequired) !== null && qe !== void 0 ? qe : $,
2270
- loopEnum: (Mt = k.loopEnum) !== null && Mt !== void 0 ? Mt : $,
2269
+ loopRequired: (ge = k.loopRequired) !== null && ge !== void 0 ? ge : $,
2270
+ loopEnum: (ze = k.loopEnum) !== null && ze !== void 0 ? ze : $,
2271
2271
  meta: (Vt = k.meta) !== null && Vt !== void 0 ? Vt : !0,
2272
2272
  messages: (Ft = k.messages) !== null && Ft !== void 0 ? Ft : !0,
2273
2273
  inlineRefs: (At = k.inlineRefs) !== null && At !== void 0 ? At : !0,
@@ -2280,13 +2280,13 @@ $r.default = mn;
2280
2280
  uriResolver: bn
2281
2281
  };
2282
2282
  }
2283
- class j {
2283
+ class R {
2284
2284
  constructor(p = {}) {
2285
2285
  this.schemas = {}, this.refs = {}, this.formats = {}, this._compilations = /* @__PURE__ */ new Set(), this._loading = {}, this._cache = /* @__PURE__ */ new Map(), p = this.opts = { ...p, ...P(p) };
2286
2286
  const { es5: S, lines: _ } = this.opts.code;
2287
2287
  this.scope = new d.ValueScope({ scope: {}, prefixes: v, es5: S, lines: _ }), this.logger = ie(p.logger);
2288
2288
  const o = p.validateFormats;
2289
- p.validateFormats = !1, this.RULES = (0, a.getRules)(), C.call(this, h, p, "NOT SUPPORTED"), C.call(this, f, p, "DEPRECATED", "warn"), this._metaOpts = me.call(this), p.formats && ne.call(this), this._addVocabularies(), this._addDefaultMetaSchema(), p.keywords && ae.call(this, p.keywords), typeof p.meta == "object" && this.addMetaSchema(p.meta), J.call(this), p.validateFormats = o;
2289
+ p.validateFormats = !1, this.RULES = (0, a.getRules)(), C.call(this, h, p, "NOT SUPPORTED"), C.call(this, f, p, "DEPRECATED", "warn"), this._metaOpts = me.call(this), p.formats && ne.call(this), this._addVocabularies(), this._addDefaultMetaSchema(), p.keywords && ae.call(this, p.keywords), typeof p.meta == "object" && this.addMetaSchema(p.meta), H.call(this), p.validateFormats = o;
2290
2290
  }
2291
2291
  _addVocabularies() {
2292
2292
  this.addKeyword("$async");
@@ -2319,39 +2319,39 @@ $r.default = mn;
2319
2319
  throw new Error("options.loadSchema should be a function");
2320
2320
  const { loadSchema: _ } = this.opts;
2321
2321
  return o.call(this, p, S);
2322
- async function o(I, B) {
2323
- await c.call(this, I.$schema);
2324
- const ve = this._addSchema(I, B);
2325
- return ve.validate || w.call(this, ve);
2322
+ async function o(q, V) {
2323
+ await c.call(this, q.$schema);
2324
+ const pe = this._addSchema(q, V);
2325
+ return pe.validate || w.call(this, pe);
2326
2326
  }
2327
- async function c(I) {
2328
- I && !this.getSchema(I) && await o.call(this, { $ref: I }, !0);
2327
+ async function c(q) {
2328
+ q && !this.getSchema(q) && await o.call(this, { $ref: q }, !0);
2329
2329
  }
2330
- async function w(I) {
2330
+ async function w(q) {
2331
2331
  try {
2332
- return this._compileSchemaEnv(I);
2333
- } catch (B) {
2334
- if (!(B instanceof n.default))
2335
- throw B;
2336
- return R.call(this, B), await O.call(this, B.missingSchema), w.call(this, I);
2332
+ return this._compileSchemaEnv(q);
2333
+ } catch (V) {
2334
+ if (!(V instanceof n.default))
2335
+ throw V;
2336
+ return j.call(this, V), await O.call(this, V.missingSchema), w.call(this, q);
2337
2337
  }
2338
2338
  }
2339
- function R({ missingSchema: I, missingRef: B }) {
2340
- if (this.refs[I])
2341
- throw new Error(`AnySchema ${I} is loaded but ${B} cannot be resolved`);
2339
+ function j({ missingSchema: q, missingRef: V }) {
2340
+ if (this.refs[q])
2341
+ throw new Error(`AnySchema ${q} is loaded but ${V} cannot be resolved`);
2342
2342
  }
2343
- async function O(I) {
2344
- const B = await q.call(this, I);
2345
- this.refs[I] || await c.call(this, B.$schema), this.refs[I] || this.addSchema(B, I, S);
2343
+ async function O(q) {
2344
+ const V = await U.call(this, q);
2345
+ this.refs[q] || await c.call(this, V.$schema), this.refs[q] || this.addSchema(V, q, S);
2346
2346
  }
2347
- async function q(I) {
2348
- const B = this._loading[I];
2349
- if (B)
2350
- return B;
2347
+ async function U(q) {
2348
+ const V = this._loading[q];
2349
+ if (V)
2350
+ return V;
2351
2351
  try {
2352
- return await (this._loading[I] = _(I));
2352
+ return await (this._loading[q] = _(q));
2353
2353
  } finally {
2354
- delete this._loading[I];
2354
+ delete this._loading[q];
2355
2355
  }
2356
2356
  }
2357
2357
  }
@@ -2398,7 +2398,7 @@ $r.default = mn;
2398
2398
  // (`key` that was passed to `addSchema` or full schema reference - `schema.$id` or resolved id)
2399
2399
  getSchema(p) {
2400
2400
  let S;
2401
- for (; typeof (S = U.call(this, p)) == "string"; )
2401
+ for (; typeof (S = L.call(this, p)) == "string"; )
2402
2402
  p = S;
2403
2403
  if (S === void 0) {
2404
2404
  const { schemaId: _ } = this.opts, o = new i.SchemaEnv({ schema: {}, schemaId: _ });
@@ -2419,7 +2419,7 @@ $r.default = mn;
2419
2419
  case "undefined":
2420
2420
  return this._removeAllSchemas(this.schemas), this._removeAllSchemas(this.refs), this._cache.clear(), this;
2421
2421
  case "string": {
2422
- const S = U.call(this, p);
2422
+ const S = L.call(this, p);
2423
2423
  return typeof S == "object" && this._cache.delete(S.schema), delete this.schemas[p], delete this.refs[p], this;
2424
2424
  }
2425
2425
  case "object": {
@@ -2447,9 +2447,9 @@ $r.default = mn;
2447
2447
  throw new Error("addKeywords: keyword must be string or non-empty array");
2448
2448
  } else
2449
2449
  throw new Error("invalid addKeywords parameters");
2450
- if (H.call(this, _, S), !S)
2450
+ if (B.call(this, _, S), !S)
2451
2451
  return (0, m.eachItem)(_, (c) => ee.call(this, c)), this;
2452
- Ae.call(this, S);
2452
+ Ke.call(this, S);
2453
2453
  const o = {
2454
2454
  ...S,
2455
2455
  type: (0, l.getJSONTypes)(S.type),
@@ -2484,14 +2484,14 @@ $r.default = mn;
2484
2484
  for (const o of S) {
2485
2485
  const c = o.split("/").slice(1);
2486
2486
  let w = p;
2487
- for (const R of c)
2488
- w = w[R];
2489
- for (const R in _) {
2490
- const O = _[R];
2487
+ for (const j of c)
2488
+ w = w[j];
2489
+ for (const j in _) {
2490
+ const O = _[j];
2491
2491
  if (typeof O != "object")
2492
2492
  continue;
2493
- const { $data: q } = O.definition, I = w[R];
2494
- q && I && (w[R] = Ke(I));
2493
+ const { $data: U } = O.definition, q = w[j];
2494
+ U && q && (w[j] = he(q));
2495
2495
  }
2496
2496
  }
2497
2497
  return p;
@@ -2504,9 +2504,9 @@ $r.default = mn;
2504
2504
  }
2505
2505
  _addSchema(p, S, _, o = this.opts.validateSchema, c = this.opts.addUsedSchema) {
2506
2506
  let w;
2507
- const { schemaId: R } = this.opts;
2507
+ const { schemaId: j } = this.opts;
2508
2508
  if (typeof p == "object")
2509
- w = p[R];
2509
+ w = p[j];
2510
2510
  else {
2511
2511
  if (this.opts.jtd)
2512
2512
  throw new Error("schema must be object");
@@ -2517,8 +2517,8 @@ $r.default = mn;
2517
2517
  if (O !== void 0)
2518
2518
  return O;
2519
2519
  _ = (0, u.normalizeId)(w || _);
2520
- const q = u.getSchemaRefs.call(this, p, _);
2521
- return O = new i.SchemaEnv({ schema: p, schemaId: R, meta: S, baseId: _, localRefs: q }), this._cache.set(O.schema, O), c && !_.startsWith("#") && (_ && this._checkUnique(_), this.refs[_] = O), o && this.validateSchema(p, !0), O;
2520
+ const U = u.getSchemaRefs.call(this, p, _);
2521
+ return O = new i.SchemaEnv({ schema: p, schemaId: j, meta: S, baseId: _, localRefs: U }), this._cache.set(O.schema, O), c && !_.startsWith("#") && (_ && this._checkUnique(_), this.refs[_] = O), o && this.validateSchema(p, !0), O;
2522
2522
  }
2523
2523
  _checkUnique(p) {
2524
2524
  if (this.schemas[p] || this.refs[p])
@@ -2539,17 +2539,17 @@ $r.default = mn;
2539
2539
  }
2540
2540
  }
2541
2541
  }
2542
- j.ValidationError = s.default, j.MissingRefError = n.default, e.default = j;
2542
+ R.ValidationError = s.default, R.MissingRefError = n.default, e.default = R;
2543
2543
  function C(k, p, S, _ = "error") {
2544
2544
  for (const o in k) {
2545
2545
  const c = o;
2546
2546
  c in p && this.logger[_](`${S}: option ${o}. ${k[c]}`);
2547
2547
  }
2548
2548
  }
2549
- function U(k) {
2549
+ function L(k) {
2550
2550
  return k = (0, u.normalizeId)(k), this.schemas[k] || this.refs[k];
2551
2551
  }
2552
- function J() {
2552
+ function H() {
2553
2553
  const k = this.opts.schemas;
2554
2554
  if (k)
2555
2555
  if (Array.isArray(k))
@@ -2581,13 +2581,13 @@ $r.default = mn;
2581
2581
  delete k[p];
2582
2582
  return k;
2583
2583
  }
2584
- const be = { log() {
2584
+ const Ee = { log() {
2585
2585
  }, warn() {
2586
2586
  }, error() {
2587
2587
  } };
2588
2588
  function ie(k) {
2589
2589
  if (k === !1)
2590
- return be;
2590
+ return Ee;
2591
2591
  if (k === void 0)
2592
2592
  return console;
2593
2593
  if (k.log && k.warn && k.error)
@@ -2595,7 +2595,7 @@ $r.default = mn;
2595
2595
  throw new Error("logger must implement log, warn and error methods");
2596
2596
  }
2597
2597
  const z = /^[a-z_$][a-z0-9_$:-]*$/i;
2598
- function H(k, p) {
2598
+ function B(k, p) {
2599
2599
  const { RULES: S } = this;
2600
2600
  if ((0, m.eachItem)(k, (_) => {
2601
2601
  if (S.keywords[_])
@@ -2614,7 +2614,7 @@ $r.default = mn;
2614
2614
  let w = o ? c.post : c.rules.find(({ type: O }) => O === S);
2615
2615
  if (w || (w = { type: S, rules: [] }, c.rules.push(w)), c.keywords[k] = !0, !p)
2616
2616
  return;
2617
- const R = {
2617
+ const j = {
2618
2618
  keyword: k,
2619
2619
  definition: {
2620
2620
  ...p,
@@ -2622,21 +2622,21 @@ $r.default = mn;
2622
2622
  schemaType: (0, l.getJSONTypes)(p.schemaType)
2623
2623
  }
2624
2624
  };
2625
- p.before ? Fe.call(this, w, R, p.before) : w.rules.push(R), c.all[k] = R, (_ = p.implements) === null || _ === void 0 || _.forEach((O) => this.addKeyword(O));
2625
+ p.before ? Ae.call(this, w, j, p.before) : w.rules.push(j), c.all[k] = j, (_ = p.implements) === null || _ === void 0 || _.forEach((O) => this.addKeyword(O));
2626
2626
  }
2627
- function Fe(k, p, S) {
2627
+ function Ae(k, p, S) {
2628
2628
  const _ = k.rules.findIndex((o) => o.keyword === S);
2629
2629
  _ >= 0 ? k.rules.splice(_, 0, p) : (k.rules.push(p), this.logger.warn(`rule ${S} is not defined`));
2630
2630
  }
2631
- function Ae(k) {
2631
+ function Ke(k) {
2632
2632
  let { metaSchema: p } = k;
2633
- p !== void 0 && (k.$data && this.opts.$data && (p = Ke(p)), k.validateSchema = this.compile(p, !0));
2633
+ p !== void 0 && (k.$data && this.opts.$data && (p = he(p)), k.validateSchema = this.compile(p, !0));
2634
2634
  }
2635
- const _e = {
2635
+ const $e = {
2636
2636
  $ref: "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"
2637
2637
  };
2638
- function Ke(k) {
2639
- return { anyOf: [k, _e] };
2638
+ function he(k) {
2639
+ return { anyOf: [k, $e] };
2640
2640
  }
2641
2641
  })(Vs);
2642
2642
  var gr = {}, wr = {}, br = {};
@@ -2648,10 +2648,10 @@ const $i = {
2648
2648
  }
2649
2649
  };
2650
2650
  br.default = $i;
2651
- var Ve = {};
2652
- Object.defineProperty(Ve, "__esModule", { value: !0 });
2653
- Ve.callRef = Ve.getValidate = void 0;
2654
- const gi = Xe, ls = A, te = K, Ue = ye, ds = re, _t = N, wi = {
2651
+ var Fe = {};
2652
+ Object.defineProperty(Fe, "__esModule", { value: !0 });
2653
+ Fe.callRef = Fe.getValidate = void 0;
2654
+ const gi = Ye, ls = A, te = K, Le = ve, ds = re, vt = N, wi = {
2655
2655
  keyword: "$ref",
2656
2656
  schemaType: "string",
2657
2657
  code(e) {
@@ -2666,13 +2666,13 @@ const gi = Xe, ls = A, te = K, Ue = ye, ds = re, _t = N, wi = {
2666
2666
  return E(m);
2667
2667
  function y() {
2668
2668
  if (a === l)
2669
- return bt(e, i, a, a.$async);
2669
+ return Et(e, i, a, a.$async);
2670
2670
  const g = t.scopeValue("root", { ref: l });
2671
- return bt(e, (0, te._)`${g}.validate`, l, l.$async);
2671
+ return Et(e, (0, te._)`${g}.validate`, l, l.$async);
2672
2672
  }
2673
2673
  function b(g) {
2674
2674
  const v = hn(e, g);
2675
- bt(e, v, g, g.$async);
2675
+ Et(e, v, g, g.$async);
2676
2676
  }
2677
2677
  function E(g) {
2678
2678
  const v = t.scopeValue("schema", d.code.source === !0 ? { ref: g, code: (0, te.stringify)(g) } : { ref: g }), h = t.name("valid"), f = e.subschema({
@@ -2690,9 +2690,9 @@ function hn(e, t) {
2690
2690
  const { gen: r } = e;
2691
2691
  return t.validate ? r.scopeValue("validate", { ref: t.validate }) : (0, te._)`${r.scopeValue("wrapper", { ref: t })}.validate`;
2692
2692
  }
2693
- Ve.getValidate = hn;
2694
- function bt(e, t, r, s) {
2695
- const { gen: n, it: a } = e, { allErrors: i, schemaEnv: d, opts: u } = a, l = u.passContext ? Ue.default.this : te.nil;
2693
+ Fe.getValidate = hn;
2694
+ function Et(e, t, r, s) {
2695
+ const { gen: n, it: a } = e, { allErrors: i, schemaEnv: d, opts: u } = a, l = u.passContext ? Le.default.this : te.nil;
2696
2696
  s ? m() : y();
2697
2697
  function m() {
2698
2698
  if (!d.$async)
@@ -2709,7 +2709,7 @@ function bt(e, t, r, s) {
2709
2709
  }
2710
2710
  function b(g) {
2711
2711
  const v = (0, te._)`${g}.errors`;
2712
- n.assign(Ue.default.vErrors, (0, te._)`${Ue.default.vErrors} === null ? ${v} : ${Ue.default.vErrors}.concat(${v})`), n.assign(Ue.default.errors, (0, te._)`${Ue.default.vErrors}.length`);
2712
+ n.assign(Le.default.vErrors, (0, te._)`${Le.default.vErrors} === null ? ${v} : ${Le.default.vErrors}.concat(${v})`), n.assign(Le.default.errors, (0, te._)`${Le.default.vErrors}.length`);
2713
2713
  }
2714
2714
  function E(g) {
2715
2715
  var v;
@@ -2718,24 +2718,24 @@ function bt(e, t, r, s) {
2718
2718
  const h = (v = r == null ? void 0 : r.validate) === null || v === void 0 ? void 0 : v.evaluated;
2719
2719
  if (a.props !== !0)
2720
2720
  if (h && !h.dynamicProps)
2721
- h.props !== void 0 && (a.props = _t.mergeEvaluated.props(n, h.props, a.props));
2721
+ h.props !== void 0 && (a.props = vt.mergeEvaluated.props(n, h.props, a.props));
2722
2722
  else {
2723
2723
  const f = n.var("props", (0, te._)`${g}.evaluated.props`);
2724
- a.props = _t.mergeEvaluated.props(n, f, a.props, te.Name);
2724
+ a.props = vt.mergeEvaluated.props(n, f, a.props, te.Name);
2725
2725
  }
2726
2726
  if (a.items !== !0)
2727
2727
  if (h && !h.dynamicItems)
2728
- h.items !== void 0 && (a.items = _t.mergeEvaluated.items(n, h.items, a.items));
2728
+ h.items !== void 0 && (a.items = vt.mergeEvaluated.items(n, h.items, a.items));
2729
2729
  else {
2730
2730
  const f = n.var("items", (0, te._)`${g}.evaluated.items`);
2731
- a.items = _t.mergeEvaluated.items(n, f, a.items, te.Name);
2731
+ a.items = vt.mergeEvaluated.items(n, f, a.items, te.Name);
2732
2732
  }
2733
2733
  }
2734
2734
  }
2735
- Ve.callRef = bt;
2736
- Ve.default = wi;
2735
+ Fe.callRef = Et;
2736
+ Fe.default = wi;
2737
2737
  Object.defineProperty(wr, "__esModule", { value: !0 });
2738
- const bi = br, Ei = Ve, Si = [
2738
+ const bi = br, Ei = Fe, Si = [
2739
2739
  "$schema",
2740
2740
  "$id",
2741
2741
  "$defs",
@@ -2748,31 +2748,31 @@ const bi = br, Ei = Ve, Si = [
2748
2748
  wr.default = Si;
2749
2749
  var Er = {}, Sr = {};
2750
2750
  Object.defineProperty(Sr, "__esModule", { value: !0 });
2751
- const kt = K, Se = kt.operators, Nt = {
2752
- maximum: { okStr: "<=", ok: Se.LTE, fail: Se.GT },
2753
- minimum: { okStr: ">=", ok: Se.GTE, fail: Se.LT },
2754
- exclusiveMaximum: { okStr: "<", ok: Se.LT, fail: Se.GTE },
2755
- exclusiveMinimum: { okStr: ">", ok: Se.GT, fail: Se.LTE }
2751
+ const Nt = K, Pe = Nt.operators, Ct = {
2752
+ maximum: { okStr: "<=", ok: Pe.LTE, fail: Pe.GT },
2753
+ minimum: { okStr: ">=", ok: Pe.GTE, fail: Pe.LT },
2754
+ exclusiveMaximum: { okStr: "<", ok: Pe.LT, fail: Pe.GTE },
2755
+ exclusiveMinimum: { okStr: ">", ok: Pe.GT, fail: Pe.LTE }
2756
2756
  }, Pi = {
2757
- message: ({ keyword: e, schemaCode: t }) => (0, kt.str)`must be ${Nt[e].okStr} ${t}`,
2758
- params: ({ keyword: e, schemaCode: t }) => (0, kt._)`{comparison: ${Nt[e].okStr}, limit: ${t}}`
2757
+ message: ({ keyword: e, schemaCode: t }) => (0, Nt.str)`must be ${Ct[e].okStr} ${t}`,
2758
+ params: ({ keyword: e, schemaCode: t }) => (0, Nt._)`{comparison: ${Ct[e].okStr}, limit: ${t}}`
2759
2759
  }, ki = {
2760
- keyword: Object.keys(Nt),
2760
+ keyword: Object.keys(Ct),
2761
2761
  type: "number",
2762
2762
  schemaType: "number",
2763
2763
  $data: !0,
2764
2764
  error: Pi,
2765
2765
  code(e) {
2766
2766
  const { keyword: t, data: r, schemaCode: s } = e;
2767
- e.fail$data((0, kt._)`${r} ${Nt[t].fail} ${s} || isNaN(${r})`);
2767
+ e.fail$data((0, Nt._)`${r} ${Ct[t].fail} ${s} || isNaN(${r})`);
2768
2768
  }
2769
2769
  };
2770
2770
  Sr.default = ki;
2771
2771
  var Pr = {};
2772
2772
  Object.defineProperty(Pr, "__esModule", { value: !0 });
2773
- const ot = K, Ni = {
2774
- message: ({ schemaCode: e }) => (0, ot.str)`must be multiple of ${e}`,
2775
- params: ({ schemaCode: e }) => (0, ot._)`{multipleOf: ${e}}`
2773
+ const at = K, Ni = {
2774
+ message: ({ schemaCode: e }) => (0, at.str)`must be multiple of ${e}`,
2775
+ params: ({ schemaCode: e }) => (0, at._)`{multipleOf: ${e}}`
2776
2776
  }, Ci = {
2777
2777
  keyword: "multipleOf",
2778
2778
  type: "number",
@@ -2780,8 +2780,8 @@ const ot = K, Ni = {
2780
2780
  $data: !0,
2781
2781
  error: Ni,
2782
2782
  code(e) {
2783
- const { gen: t, data: r, schemaCode: s, it: n } = e, a = n.opts.multipleOfPrecision, i = t.let("res"), d = a ? (0, ot._)`Math.abs(Math.round(${i}) - ${i}) > 1e-${a}` : (0, ot._)`${i} !== parseInt(${i})`;
2784
- e.fail$data((0, ot._)`(${s} === 0 || (${i} = ${r}/${s}, ${d}))`);
2783
+ const { gen: t, data: r, schemaCode: s, it: n } = e, a = n.opts.multipleOfPrecision, i = t.let("res"), d = a ? (0, at._)`Math.abs(Math.round(${i}) - ${i}) > 1e-${a}` : (0, at._)`${i} !== parseInt(${i})`;
2784
+ e.fail$data((0, at._)`(${s} === 0 || (${i} = ${r}/${s}, ${d}))`);
2785
2785
  }
2786
2786
  };
2787
2787
  Pr.default = Ci;
@@ -2797,12 +2797,12 @@ function pn(e) {
2797
2797
  Nr.default = pn;
2798
2798
  pn.code = 'require("ajv/dist/runtime/ucs2length").default';
2799
2799
  Object.defineProperty(kr, "__esModule", { value: !0 });
2800
- const Te = K, ji = N, Ri = Nr, Oi = {
2800
+ const Ie = K, ji = N, Ri = Nr, Oi = {
2801
2801
  message({ keyword: e, schemaCode: t }) {
2802
2802
  const r = e === "maxLength" ? "more" : "fewer";
2803
- return (0, Te.str)`must NOT have ${r} than ${t} characters`;
2803
+ return (0, Ie.str)`must NOT have ${r} than ${t} characters`;
2804
2804
  },
2805
- params: ({ schemaCode: e }) => (0, Te._)`{limit: ${e}}`
2805
+ params: ({ schemaCode: e }) => (0, Ie._)`{limit: ${e}}`
2806
2806
  }, Ti = {
2807
2807
  keyword: ["maxLength", "minLength"],
2808
2808
  type: "string",
@@ -2810,16 +2810,16 @@ const Te = K, ji = N, Ri = Nr, Oi = {
2810
2810
  $data: !0,
2811
2811
  error: Oi,
2812
2812
  code(e) {
2813
- const { keyword: t, data: r, schemaCode: s, it: n } = e, a = t === "maxLength" ? Te.operators.GT : Te.operators.LT, i = n.opts.unicode === !1 ? (0, Te._)`${r}.length` : (0, Te._)`${(0, ji.useFunc)(e.gen, Ri.default)}(${r})`;
2814
- e.fail$data((0, Te._)`${i} ${a} ${s}`);
2813
+ const { keyword: t, data: r, schemaCode: s, it: n } = e, a = t === "maxLength" ? Ie.operators.GT : Ie.operators.LT, i = n.opts.unicode === !1 ? (0, Ie._)`${r}.length` : (0, Ie._)`${(0, ji.useFunc)(e.gen, Ri.default)}(${r})`;
2814
+ e.fail$data((0, Ie._)`${i} ${a} ${s}`);
2815
2815
  }
2816
2816
  };
2817
2817
  kr.default = Ti;
2818
2818
  var Cr = {};
2819
2819
  Object.defineProperty(Cr, "__esModule", { value: !0 });
2820
- const Ii = A, Mi = N, Ge = K, Vi = {
2821
- message: ({ schemaCode: e }) => (0, Ge.str)`must match pattern "${e}"`,
2822
- params: ({ schemaCode: e }) => (0, Ge._)`{pattern: ${e}}`
2820
+ const Ii = A, Mi = N, Je = K, Vi = {
2821
+ message: ({ schemaCode: e }) => (0, Je.str)`must match pattern "${e}"`,
2822
+ params: ({ schemaCode: e }) => (0, Je._)`{pattern: ${e}}`
2823
2823
  }, Fi = {
2824
2824
  keyword: "pattern",
2825
2825
  type: "string",
@@ -2829,23 +2829,23 @@ const Ii = A, Mi = N, Ge = K, Vi = {
2829
2829
  code(e) {
2830
2830
  const { gen: t, data: r, $data: s, schema: n, schemaCode: a, it: i } = e, d = i.opts.unicodeRegExp ? "u" : "";
2831
2831
  if (s) {
2832
- const { regExp: u } = i.opts.code, l = u.code === "new RegExp" ? (0, Ge._)`new RegExp` : (0, Mi.useFunc)(t, u), m = t.let("valid");
2833
- t.try(() => t.assign(m, (0, Ge._)`${l}(${a}, ${d}).test(${r})`), () => t.assign(m, !1)), e.fail$data((0, Ge._)`!${m}`);
2832
+ const { regExp: u } = i.opts.code, l = u.code === "new RegExp" ? (0, Je._)`new RegExp` : (0, Mi.useFunc)(t, u), m = t.let("valid");
2833
+ t.try(() => t.assign(m, (0, Je._)`${l}(${a}, ${d}).test(${r})`), () => t.assign(m, !1)), e.fail$data((0, Je._)`!${m}`);
2834
2834
  } else {
2835
2835
  const u = (0, Ii.usePattern)(e, n);
2836
- e.fail$data((0, Ge._)`!${u}.test(${r})`);
2836
+ e.fail$data((0, Je._)`!${u}.test(${r})`);
2837
2837
  }
2838
2838
  }
2839
2839
  };
2840
2840
  Cr.default = Fi;
2841
2841
  var jr = {};
2842
2842
  Object.defineProperty(jr, "__esModule", { value: !0 });
2843
- const at = K, Ai = {
2843
+ const it = K, Ai = {
2844
2844
  message({ keyword: e, schemaCode: t }) {
2845
2845
  const r = e === "maxProperties" ? "more" : "fewer";
2846
- return (0, at.str)`must NOT have ${r} than ${t} properties`;
2846
+ return (0, it.str)`must NOT have ${r} than ${t} properties`;
2847
2847
  },
2848
- params: ({ schemaCode: e }) => (0, at._)`{limit: ${e}}`
2848
+ params: ({ schemaCode: e }) => (0, it._)`{limit: ${e}}`
2849
2849
  }, Ki = {
2850
2850
  keyword: ["maxProperties", "minProperties"],
2851
2851
  type: "object",
@@ -2853,16 +2853,16 @@ const at = K, Ai = {
2853
2853
  $data: !0,
2854
2854
  error: Ai,
2855
2855
  code(e) {
2856
- const { keyword: t, data: r, schemaCode: s } = e, n = t === "maxProperties" ? at.operators.GT : at.operators.LT;
2857
- e.fail$data((0, at._)`Object.keys(${r}).length ${n} ${s}`);
2856
+ const { keyword: t, data: r, schemaCode: s } = e, n = t === "maxProperties" ? it.operators.GT : it.operators.LT;
2857
+ e.fail$data((0, it._)`Object.keys(${r}).length ${n} ${s}`);
2858
2858
  }
2859
2859
  };
2860
2860
  jr.default = Ki;
2861
2861
  var Rr = {};
2862
2862
  Object.defineProperty(Rr, "__esModule", { value: !0 });
2863
- const tt = A, it = K, qi = N, zi = {
2864
- message: ({ params: { missingProperty: e } }) => (0, it.str)`must have required property '${e}'`,
2865
- params: ({ params: { missingProperty: e } }) => (0, it._)`{missingProperty: ${e}}`
2863
+ const rt = A, ct = K, qi = N, zi = {
2864
+ message: ({ params: { missingProperty: e } }) => (0, ct.str)`must have required property '${e}'`,
2865
+ params: ({ params: { missingProperty: e } }) => (0, ct._)`{missingProperty: ${e}}`
2866
2866
  }, Ui = {
2867
2867
  keyword: "required",
2868
2868
  type: "object",
@@ -2884,10 +2884,10 @@ const tt = A, it = K, qi = N, zi = {
2884
2884
  }
2885
2885
  function l() {
2886
2886
  if (u || a)
2887
- e.block$data(it.nil, y);
2887
+ e.block$data(ct.nil, y);
2888
2888
  else
2889
2889
  for (const E of r)
2890
- (0, tt.checkReportMissingProp)(e, E);
2890
+ (0, rt.checkReportMissingProp)(e, E);
2891
2891
  }
2892
2892
  function m() {
2893
2893
  const E = t.let("missing");
@@ -2895,31 +2895,31 @@ const tt = A, it = K, qi = N, zi = {
2895
2895
  const g = t.let("valid", !0);
2896
2896
  e.block$data(g, () => b(E, g)), e.ok(g);
2897
2897
  } else
2898
- t.if((0, tt.checkMissingProp)(e, r, E)), (0, tt.reportMissingProp)(e, E), t.else();
2898
+ t.if((0, rt.checkMissingProp)(e, r, E)), (0, rt.reportMissingProp)(e, E), t.else();
2899
2899
  }
2900
2900
  function y() {
2901
2901
  t.forOf("prop", s, (E) => {
2902
- e.setParams({ missingProperty: E }), t.if((0, tt.noPropertyInData)(t, n, E, d.ownProperties), () => e.error());
2902
+ e.setParams({ missingProperty: E }), t.if((0, rt.noPropertyInData)(t, n, E, d.ownProperties), () => e.error());
2903
2903
  });
2904
2904
  }
2905
2905
  function b(E, g) {
2906
2906
  e.setParams({ missingProperty: E }), t.forOf(E, s, () => {
2907
- t.assign(g, (0, tt.propertyInData)(t, n, E, d.ownProperties)), t.if((0, it.not)(g), () => {
2907
+ t.assign(g, (0, rt.propertyInData)(t, n, E, d.ownProperties)), t.if((0, ct.not)(g), () => {
2908
2908
  e.error(), t.break();
2909
2909
  });
2910
- }, it.nil);
2910
+ }, ct.nil);
2911
2911
  }
2912
2912
  }
2913
2913
  };
2914
2914
  Rr.default = Ui;
2915
2915
  var Or = {};
2916
2916
  Object.defineProperty(Or, "__esModule", { value: !0 });
2917
- const ct = K, Li = {
2917
+ const lt = K, Li = {
2918
2918
  message({ keyword: e, schemaCode: t }) {
2919
2919
  const r = e === "maxItems" ? "more" : "fewer";
2920
- return (0, ct.str)`must NOT have ${r} than ${t} items`;
2920
+ return (0, lt.str)`must NOT have ${r} than ${t} items`;
2921
2921
  },
2922
- params: ({ schemaCode: e }) => (0, ct._)`{limit: ${e}}`
2922
+ params: ({ schemaCode: e }) => (0, lt._)`{limit: ${e}}`
2923
2923
  }, Gi = {
2924
2924
  keyword: ["maxItems", "minItems"],
2925
2925
  type: "array",
@@ -2927,18 +2927,18 @@ const ct = K, Li = {
2927
2927
  $data: !0,
2928
2928
  error: Li,
2929
2929
  code(e) {
2930
- const { keyword: t, data: r, schemaCode: s } = e, n = t === "maxItems" ? ct.operators.GT : ct.operators.LT;
2931
- e.fail$data((0, ct._)`${r}.length ${n} ${s}`);
2930
+ const { keyword: t, data: r, schemaCode: s } = e, n = t === "maxItems" ? lt.operators.GT : lt.operators.LT;
2931
+ e.fail$data((0, lt._)`${r}.length ${n} ${s}`);
2932
2932
  }
2933
2933
  };
2934
2934
  Or.default = Gi;
2935
- var Tr = {}, ht = {};
2936
- Object.defineProperty(ht, "__esModule", { value: !0 });
2935
+ var Tr = {}, pt = {};
2936
+ Object.defineProperty(pt, "__esModule", { value: !0 });
2937
2937
  const yn = Ps;
2938
2938
  yn.code = 'require("ajv/dist/runtime/equal").default';
2939
- ht.default = yn;
2939
+ pt.default = yn;
2940
2940
  Object.defineProperty(Tr, "__esModule", { value: !0 });
2941
- const Yt = X, Y = K, Ji = N, Hi = ht, Bi = {
2941
+ const Yt = X, Y = K, Ji = N, Hi = pt, Bi = {
2942
2942
  message: ({ params: { i: e, j: t } }) => (0, Y.str)`must NOT have duplicate items (items ## ${t} and ${e} are identical)`,
2943
2943
  params: ({ params: { i: e, j: t } }) => (0, Y._)`{i: ${e}, j: ${t}}`
2944
2944
  }, Qi = {
@@ -2979,7 +2979,7 @@ const Yt = X, Y = K, Ji = N, Hi = ht, Bi = {
2979
2979
  Tr.default = Qi;
2980
2980
  var Ir = {};
2981
2981
  Object.defineProperty(Ir, "__esModule", { value: !0 });
2982
- const ar = K, Xi = N, Yi = ht, Zi = {
2982
+ const ar = K, Xi = N, Yi = pt, Zi = {
2983
2983
  message: "must be equal to constant",
2984
2984
  params: ({ schemaCode: e }) => (0, ar._)`{allowedValue: ${e}}`
2985
2985
  }, Di = {
@@ -2994,9 +2994,9 @@ const ar = K, Xi = N, Yi = ht, Zi = {
2994
2994
  Ir.default = Di;
2995
2995
  var Mr = {};
2996
2996
  Object.defineProperty(Mr, "__esModule", { value: !0 });
2997
- const rt = K, Wi = N, xi = ht, ec = {
2997
+ const st = K, Wi = N, xi = pt, ec = {
2998
2998
  message: "must be equal to one of the allowed values",
2999
- params: ({ schemaCode: e }) => (0, rt._)`{allowedValues: ${e}}`
2999
+ params: ({ schemaCode: e }) => (0, st._)`{allowedValues: ${e}}`
3000
3000
  }, tc = {
3001
3001
  keyword: "enum",
3002
3002
  schemaType: "array",
@@ -3016,15 +3016,15 @@ const rt = K, Wi = N, xi = ht, ec = {
3016
3016
  if (!Array.isArray(n))
3017
3017
  throw new Error("ajv implementation error");
3018
3018
  const E = t.const("vSchema", a);
3019
- m = (0, rt.or)(...n.map((g, v) => b(E, v)));
3019
+ m = (0, st.or)(...n.map((g, v) => b(E, v)));
3020
3020
  }
3021
3021
  e.pass(m);
3022
3022
  function y() {
3023
- t.assign(m, !1), t.forOf("v", a, (E) => t.if((0, rt._)`${l()}(${r}, ${E})`, () => t.assign(m, !0).break()));
3023
+ t.assign(m, !1), t.forOf("v", a, (E) => t.if((0, st._)`${l()}(${r}, ${E})`, () => t.assign(m, !0).break()));
3024
3024
  }
3025
3025
  function b(E, g) {
3026
3026
  const v = n[g];
3027
- return typeof v == "object" && v !== null ? (0, rt._)`${l()}(${r}, ${E}[${g}])` : (0, rt._)`${r} === ${v}`;
3027
+ return typeof v == "object" && v !== null ? (0, st._)`${l()}(${r}, ${E}[${g}])` : (0, st._)`${r} === ${v}`;
3028
3028
  }
3029
3029
  }
3030
3030
  };
@@ -3050,12 +3050,12 @@ const rc = Sr, sc = Pr, nc = kr, oc = Cr, ac = jr, ic = Rr, cc = Or, lc = Tr, dc
3050
3050
  uc.default
3051
3051
  ];
3052
3052
  Er.default = fc;
3053
- var Vr = {}, Ye = {};
3054
- Object.defineProperty(Ye, "__esModule", { value: !0 });
3055
- Ye.validateAdditionalItems = void 0;
3056
- const Ie = K, ir = N, mc = {
3057
- message: ({ params: { len: e } }) => (0, Ie.str)`must NOT have more than ${e} items`,
3058
- params: ({ params: { len: e } }) => (0, Ie._)`{limit: ${e}}`
3053
+ var Vr = {}, Ze = {};
3054
+ Object.defineProperty(Ze, "__esModule", { value: !0 });
3055
+ Ze.validateAdditionalItems = void 0;
3056
+ const Me = K, ir = N, mc = {
3057
+ message: ({ params: { len: e } }) => (0, Me.str)`must NOT have more than ${e} items`,
3058
+ params: ({ params: { len: e } }) => (0, Me._)`{limit: ${e}}`
3059
3059
  }, hc = {
3060
3060
  keyword: "additionalItems",
3061
3061
  type: "array",
@@ -3074,25 +3074,25 @@ const Ie = K, ir = N, mc = {
3074
3074
  function _n(e, t) {
3075
3075
  const { gen: r, schema: s, data: n, keyword: a, it: i } = e;
3076
3076
  i.items = !0;
3077
- const d = r.const("len", (0, Ie._)`${n}.length`);
3077
+ const d = r.const("len", (0, Me._)`${n}.length`);
3078
3078
  if (s === !1)
3079
- e.setParams({ len: t.length }), e.pass((0, Ie._)`${d} <= ${t.length}`);
3079
+ e.setParams({ len: t.length }), e.pass((0, Me._)`${d} <= ${t.length}`);
3080
3080
  else if (typeof s == "object" && !(0, ir.alwaysValidSchema)(i, s)) {
3081
- const l = r.var("valid", (0, Ie._)`${d} <= ${t.length}`);
3082
- r.if((0, Ie.not)(l), () => u(l)), e.ok(l);
3081
+ const l = r.var("valid", (0, Me._)`${d} <= ${t.length}`);
3082
+ r.if((0, Me.not)(l), () => u(l)), e.ok(l);
3083
3083
  }
3084
3084
  function u(l) {
3085
3085
  r.forRange("i", t.length, d, (m) => {
3086
- e.subschema({ keyword: a, dataProp: m, dataPropType: ir.Type.Num }, l), i.allErrors || r.if((0, Ie.not)(l), () => r.break());
3086
+ e.subschema({ keyword: a, dataProp: m, dataPropType: ir.Type.Num }, l), i.allErrors || r.if((0, Me.not)(l), () => r.break());
3087
3087
  });
3088
3088
  }
3089
3089
  }
3090
- Ye.validateAdditionalItems = _n;
3091
- Ye.default = hc;
3092
- var Fr = {}, Ze = {};
3093
- Object.defineProperty(Ze, "__esModule", { value: !0 });
3094
- Ze.validateTuple = void 0;
3095
- const us = K, Et = N, pc = A, yc = {
3090
+ Ze.validateAdditionalItems = _n;
3091
+ Ze.default = hc;
3092
+ var Fr = {}, De = {};
3093
+ Object.defineProperty(De, "__esModule", { value: !0 });
3094
+ De.validateTuple = void 0;
3095
+ const us = K, St = N, pc = A, yc = {
3096
3096
  keyword: "items",
3097
3097
  type: "array",
3098
3098
  schemaType: ["object", "array", "boolean"],
@@ -3101,15 +3101,15 @@ const us = K, Et = N, pc = A, yc = {
3101
3101
  const { schema: t, it: r } = e;
3102
3102
  if (Array.isArray(t))
3103
3103
  return vn(e, "additionalItems", t);
3104
- r.items = !0, !(0, Et.alwaysValidSchema)(r, t) && e.ok((0, pc.validateArray)(e));
3104
+ r.items = !0, !(0, St.alwaysValidSchema)(r, t) && e.ok((0, pc.validateArray)(e));
3105
3105
  }
3106
3106
  };
3107
3107
  function vn(e, t, r = e.schema) {
3108
3108
  const { gen: s, parentSchema: n, data: a, keyword: i, it: d } = e;
3109
- m(n), d.opts.unevaluated && r.length && d.items !== !0 && (d.items = Et.mergeEvaluated.items(s, r.length, d.items));
3109
+ m(n), d.opts.unevaluated && r.length && d.items !== !0 && (d.items = St.mergeEvaluated.items(s, r.length, d.items));
3110
3110
  const u = s.name("valid"), l = s.const("len", (0, us._)`${a}.length`);
3111
3111
  r.forEach((y, b) => {
3112
- (0, Et.alwaysValidSchema)(d, y) || (s.if((0, us._)`${l} > ${b}`, () => e.subschema({
3112
+ (0, St.alwaysValidSchema)(d, y) || (s.if((0, us._)`${l} > ${b}`, () => e.subschema({
3113
3113
  keyword: i,
3114
3114
  schemaProp: b,
3115
3115
  dataProp: b
@@ -3119,14 +3119,14 @@ function vn(e, t, r = e.schema) {
3119
3119
  const { opts: b, errSchemaPath: E } = d, g = r.length, v = g === y.minItems && (g === y.maxItems || y[t] === !1);
3120
3120
  if (b.strictTuples && !v) {
3121
3121
  const h = `"${i}" is ${g}-tuple, but minItems or maxItems/${t} are not specified or different at path "${E}"`;
3122
- (0, Et.checkStrictMode)(d, h, b.strictTuples);
3122
+ (0, St.checkStrictMode)(d, h, b.strictTuples);
3123
3123
  }
3124
3124
  }
3125
3125
  }
3126
- Ze.validateTuple = vn;
3127
- Ze.default = yc;
3126
+ De.validateTuple = vn;
3127
+ De.default = yc;
3128
3128
  Object.defineProperty(Fr, "__esModule", { value: !0 });
3129
- const _c = Ze, vc = {
3129
+ const _c = De, vc = {
3130
3130
  keyword: "prefixItems",
3131
3131
  type: "array",
3132
3132
  schemaType: ["array"],
@@ -3136,7 +3136,7 @@ const _c = Ze, vc = {
3136
3136
  Fr.default = vc;
3137
3137
  var Ar = {};
3138
3138
  Object.defineProperty(Ar, "__esModule", { value: !0 });
3139
- const fs = K, $c = N, gc = A, wc = Ye, bc = {
3139
+ const fs = K, $c = N, gc = A, wc = Ze, bc = {
3140
3140
  message: ({ params: { len: e } }) => (0, fs.str)`must NOT have more than ${e} items`,
3141
3141
  params: ({ params: { len: e } }) => (0, fs._)`{limit: ${e}}`
3142
3142
  }, Ec = {
@@ -3153,7 +3153,7 @@ const fs = K, $c = N, gc = A, wc = Ye, bc = {
3153
3153
  Ar.default = Ec;
3154
3154
  var Kr = {};
3155
3155
  Object.defineProperty(Kr, "__esModule", { value: !0 });
3156
- const oe = K, vt = N, Sc = {
3156
+ const oe = K, $t = N, Sc = {
3157
3157
  message: ({ params: { min: e, max: t } }) => t === void 0 ? (0, oe.str)`must contain at least ${e} valid item(s)` : (0, oe.str)`must contain at least ${e} and no more than ${t} valid item(s)`,
3158
3158
  params: ({ params: { min: e, max: t } }) => t === void 0 ? (0, oe._)`{minContains: ${e}}` : (0, oe._)`{minContains: ${e}, maxContains: ${t}}`
3159
3159
  }, Pc = {
@@ -3170,14 +3170,14 @@ const oe = K, vt = N, Sc = {
3170
3170
  a.opts.next ? (i = u === void 0 ? 1 : u, d = l) : i = 1;
3171
3171
  const m = t.const("len", (0, oe._)`${n}.length`);
3172
3172
  if (e.setParams({ min: i, max: d }), d === void 0 && i === 0) {
3173
- (0, vt.checkStrictMode)(a, '"minContains" == 0 without "maxContains": "contains" keyword ignored');
3173
+ (0, $t.checkStrictMode)(a, '"minContains" == 0 without "maxContains": "contains" keyword ignored');
3174
3174
  return;
3175
3175
  }
3176
3176
  if (d !== void 0 && i > d) {
3177
- (0, vt.checkStrictMode)(a, '"minContains" > "maxContains" is always invalid'), e.fail();
3177
+ (0, $t.checkStrictMode)(a, '"minContains" > "maxContains" is always invalid'), e.fail();
3178
3178
  return;
3179
3179
  }
3180
- if ((0, vt.alwaysValidSchema)(a, r)) {
3180
+ if ((0, $t.alwaysValidSchema)(a, r)) {
3181
3181
  let v = (0, oe._)`${m} >= ${i}`;
3182
3182
  d !== void 0 && (v = (0, oe._)`${v} && ${m} <= ${d}`), e.pass(v);
3183
3183
  return;
@@ -3194,7 +3194,7 @@ const oe = K, vt = N, Sc = {
3194
3194
  e.subschema({
3195
3195
  keyword: "contains",
3196
3196
  dataProp: f,
3197
- dataPropType: vt.Type.Num,
3197
+ dataPropType: $t.Type.Num,
3198
3198
  compositeRule: !0
3199
3199
  }, v), h();
3200
3200
  });
@@ -3305,9 +3305,9 @@ const gn = K, kc = N, Nc = {
3305
3305
  }
3306
3306
  };
3307
3307
  qr.default = Cc;
3308
- var Tt = {};
3309
- Object.defineProperty(Tt, "__esModule", { value: !0 });
3310
- const $t = A, le = K, jc = ye, gt = N, Rc = {
3308
+ var It = {};
3309
+ Object.defineProperty(It, "__esModule", { value: !0 });
3310
+ const gt = A, le = K, jc = ve, wt = N, Rc = {
3311
3311
  message: "must NOT have additional properties",
3312
3312
  params: ({ params: e }) => (0, le._)`{additionalProperty: ${e.additionalProperty}}`
3313
3313
  }, Oc = {
@@ -3322,9 +3322,9 @@ const $t = A, le = K, jc = ye, gt = N, Rc = {
3322
3322
  if (!a)
3323
3323
  throw new Error("ajv implementation error");
3324
3324
  const { allErrors: d, opts: u } = i;
3325
- if (i.props = !0, u.removeAdditional !== "all" && (0, gt.alwaysValidSchema)(i, r))
3325
+ if (i.props = !0, u.removeAdditional !== "all" && (0, wt.alwaysValidSchema)(i, r))
3326
3326
  return;
3327
- const l = (0, $t.allSchemaProperties)(s.properties), m = (0, $t.allSchemaProperties)(s.patternProperties);
3327
+ const l = (0, gt.allSchemaProperties)(s.properties), m = (0, gt.allSchemaProperties)(s.patternProperties);
3328
3328
  y(), e.ok((0, le._)`${a} === ${jc.default.errors}`);
3329
3329
  function y() {
3330
3330
  t.forIn("key", n, (h) => {
@@ -3334,10 +3334,10 @@ const $t = A, le = K, jc = ye, gt = N, Rc = {
3334
3334
  function b(h) {
3335
3335
  let f;
3336
3336
  if (l.length > 8) {
3337
- const $ = (0, gt.schemaRefOrVal)(i, s.properties, "properties");
3338
- f = (0, $t.isOwnProperty)(t, $, h);
3337
+ const $ = (0, wt.schemaRefOrVal)(i, s.properties, "properties");
3338
+ f = (0, gt.isOwnProperty)(t, $, h);
3339
3339
  } else l.length ? f = (0, le.or)(...l.map(($) => (0, le._)`${h} === ${$}`)) : f = le.nil;
3340
- return m.length && (f = (0, le.or)(f, ...m.map(($) => (0, le._)`${(0, $t.usePattern)(e, $)}.test(${h})`))), (0, le.not)(f);
3340
+ return m.length && (f = (0, le.or)(f, ...m.map(($) => (0, le._)`${(0, gt.usePattern)(e, $)}.test(${h})`))), (0, le.not)(f);
3341
3341
  }
3342
3342
  function E(h) {
3343
3343
  t.code((0, le._)`delete ${n}[${h}]`);
@@ -3351,7 +3351,7 @@ const $t = A, le = K, jc = ye, gt = N, Rc = {
3351
3351
  e.setParams({ additionalProperty: h }), e.error(), d || t.break();
3352
3352
  return;
3353
3353
  }
3354
- if (typeof r == "object" && !(0, gt.alwaysValidSchema)(i, r)) {
3354
+ if (typeof r == "object" && !(0, wt.alwaysValidSchema)(i, r)) {
3355
3355
  const f = t.name("valid");
3356
3356
  u.removeAdditional === "failing" ? (v(h, f, !1), t.if((0, le.not)(f), () => {
3357
3357
  e.reset(), E(h);
@@ -3362,7 +3362,7 @@ const $t = A, le = K, jc = ye, gt = N, Rc = {
3362
3362
  const P = {
3363
3363
  keyword: "additionalProperties",
3364
3364
  dataProp: h,
3365
- dataPropType: gt.Type.Str
3365
+ dataPropType: wt.Type.Str
3366
3366
  };
3367
3367
  $ === !1 && Object.assign(P, {
3368
3368
  compositeRule: !0,
@@ -3372,10 +3372,10 @@ const $t = A, le = K, jc = ye, gt = N, Rc = {
3372
3372
  }
3373
3373
  }
3374
3374
  };
3375
- Tt.default = Oc;
3375
+ It.default = Oc;
3376
3376
  var zr = {};
3377
3377
  Object.defineProperty(zr, "__esModule", { value: !0 });
3378
- const Tc = fe, ms = A, Zt = N, hs = Tt, Ic = {
3378
+ const Tc = fe, ms = A, Zt = N, hs = It, Ic = {
3379
3379
  keyword: "properties",
3380
3380
  type: "object",
3381
3381
  schemaType: "object",
@@ -3407,7 +3407,7 @@ const Tc = fe, ms = A, Zt = N, hs = Tt, Ic = {
3407
3407
  zr.default = Ic;
3408
3408
  var Ur = {};
3409
3409
  Object.defineProperty(Ur, "__esModule", { value: !0 });
3410
- const ps = A, wt = K, ys = N, _s = N, Mc = {
3410
+ const ps = A, bt = K, ys = N, _s = N, Mc = {
3411
3411
  keyword: "patternProperties",
3412
3412
  type: "object",
3413
3413
  schemaType: "object",
@@ -3416,7 +3416,7 @@ const ps = A, wt = K, ys = N, _s = N, Mc = {
3416
3416
  if (d.length === 0 || u.length === d.length && (!a.opts.unevaluated || a.props === !0))
3417
3417
  return;
3418
3418
  const l = i.strictSchema && !i.allowMatchingProperties && n.properties, m = t.name("valid");
3419
- a.props !== !0 && !(a.props instanceof wt.Name) && (a.props = (0, _s.evaluatedPropsToName)(t, a.props));
3419
+ a.props !== !0 && !(a.props instanceof bt.Name) && (a.props = (0, _s.evaluatedPropsToName)(t, a.props));
3420
3420
  const { props: y } = a;
3421
3421
  b();
3422
3422
  function b() {
@@ -3429,14 +3429,14 @@ const ps = A, wt = K, ys = N, _s = N, Mc = {
3429
3429
  }
3430
3430
  function g(v) {
3431
3431
  t.forIn("key", s, (h) => {
3432
- t.if((0, wt._)`${(0, ps.usePattern)(e, v)}.test(${h})`, () => {
3432
+ t.if((0, bt._)`${(0, ps.usePattern)(e, v)}.test(${h})`, () => {
3433
3433
  const f = u.includes(v);
3434
3434
  f || e.subschema({
3435
3435
  keyword: "patternProperties",
3436
3436
  schemaProp: v,
3437
3437
  dataProp: h,
3438
3438
  dataPropType: _s.Type.Str
3439
- }, m), a.opts.unevaluated && y !== !0 ? t.assign((0, wt._)`${y}[${h}]`, !0) : !f && !a.allErrors && t.if((0, wt.not)(m), () => t.break());
3439
+ }, m), a.opts.unevaluated && y !== !0 ? t.assign((0, bt._)`${y}[${h}]`, !0) : !f && !a.allErrors && t.if((0, bt.not)(m), () => t.break());
3440
3440
  });
3441
3441
  });
3442
3442
  }
@@ -3478,9 +3478,9 @@ const Ac = A, Kc = {
3478
3478
  Gr.default = Kc;
3479
3479
  var Jr = {};
3480
3480
  Object.defineProperty(Jr, "__esModule", { value: !0 });
3481
- const St = K, qc = N, zc = {
3481
+ const Pt = K, qc = N, zc = {
3482
3482
  message: "must match exactly one schema in oneOf",
3483
- params: ({ params: e }) => (0, St._)`{passingSchemas: ${e.passing}}`
3483
+ params: ({ params: e }) => (0, Pt._)`{passingSchemas: ${e.passing}}`
3484
3484
  }, Uc = {
3485
3485
  keyword: "oneOf",
3486
3486
  schemaType: "array",
@@ -3501,8 +3501,8 @@ const St = K, qc = N, zc = {
3501
3501
  keyword: "oneOf",
3502
3502
  schemaProp: y,
3503
3503
  compositeRule: !0
3504
- }, u), y > 0 && t.if((0, St._)`${u} && ${i}`).assign(i, !1).assign(d, (0, St._)`[${d}, ${y}]`).else(), t.if(u, () => {
3505
- t.assign(i, !0), t.assign(d, y), b && e.mergeEvaluated(b, St.Name);
3504
+ }, u), y > 0 && t.if((0, Pt._)`${u} && ${i}`).assign(i, !1).assign(d, (0, Pt._)`[${d}, ${y}]`).else(), t.if(u, () => {
3505
+ t.assign(i, !0), t.assign(d, y), b && e.mergeEvaluated(b, Pt.Name);
3506
3506
  });
3507
3507
  });
3508
3508
  }
@@ -3530,9 +3530,9 @@ const Lc = N, Gc = {
3530
3530
  Hr.default = Gc;
3531
3531
  var Br = {};
3532
3532
  Object.defineProperty(Br, "__esModule", { value: !0 });
3533
- const Ct = K, wn = N, Jc = {
3534
- message: ({ params: e }) => (0, Ct.str)`must match "${e.ifClause}" schema`,
3535
- params: ({ params: e }) => (0, Ct._)`{failingKeyword: ${e.ifClause}}`
3533
+ const jt = K, wn = N, Jc = {
3534
+ message: ({ params: e }) => (0, jt.str)`must match "${e.ifClause}" schema`,
3535
+ params: ({ params: e }) => (0, jt._)`{failingKeyword: ${e.ifClause}}`
3536
3536
  }, Hc = {
3537
3537
  keyword: "if",
3538
3538
  schemaType: ["object", "boolean"],
@@ -3548,7 +3548,7 @@ const Ct = K, wn = N, Jc = {
3548
3548
  if (u(), e.reset(), n && a) {
3549
3549
  const m = t.let("ifClause");
3550
3550
  e.setParams({ ifClause: m }), t.if(d, l("then", m), l("else", m));
3551
- } else n ? t.if(d, l("then")) : t.if((0, Ct.not)(d), l("else"));
3551
+ } else n ? t.if(d, l("then")) : t.if((0, jt.not)(d), l("else"));
3552
3552
  e.pass(i, () => e.error(!0));
3553
3553
  function u() {
3554
3554
  const m = e.subschema({
@@ -3562,7 +3562,7 @@ const Ct = K, wn = N, Jc = {
3562
3562
  function l(m, y) {
3563
3563
  return () => {
3564
3564
  const b = e.subschema({ keyword: m }, d);
3565
- t.assign(i, d), e.mergeValidEvaluated(b, i), y ? t.assign(y, (0, Ct._)`${m}`) : e.setParams({ ifClause: m });
3565
+ t.assign(i, d), e.mergeValidEvaluated(b, i), y ? t.assign(y, (0, jt._)`${m}`) : e.setParams({ ifClause: m });
3566
3566
  };
3567
3567
  }
3568
3568
  }
@@ -3583,7 +3583,7 @@ const Bc = N, Qc = {
3583
3583
  };
3584
3584
  Qr.default = Qc;
3585
3585
  Object.defineProperty(Vr, "__esModule", { value: !0 });
3586
- const Xc = Ye, Yc = Fr, Zc = Ze, Dc = Ar, Wc = Kr, xc = $n, el = qr, tl = Tt, rl = zr, sl = Ur, nl = Lr, ol = Gr, al = Jr, il = Hr, cl = Br, ll = Qr;
3586
+ const Xc = Ze, Yc = Fr, Zc = De, Dc = Ar, Wc = Kr, xc = $n, el = qr, tl = It, rl = zr, sl = Ur, nl = Lr, ol = Gr, al = Jr, il = Hr, cl = Br, ll = Qr;
3587
3587
  function dl(e = !1) {
3588
3588
  const t = [
3589
3589
  // any
@@ -3629,7 +3629,7 @@ const Q = K, ul = {
3629
3629
  return u.strictSchema === !1 ? Q.nil : (0, Q._)`${i} && !${f}`;
3630
3630
  }
3631
3631
  function P() {
3632
- const j = m.$async ? (0, Q._)`(${v}.async ? await ${f}(${s}) : ${f}(${s}))` : (0, Q._)`${f}(${s})`, C = (0, Q._)`(typeof ${f} == "function" ? ${j} : ${f}.test(${s}))`;
3632
+ const R = m.$async ? (0, Q._)`(${v}.async ? await ${f}(${s}) : ${f}(${s}))` : (0, Q._)`${f}(${s})`, C = (0, Q._)`(typeof ${f} == "function" ? ${R} : ${f}.test(${s}))`;
3633
3633
  return (0, Q._)`${f} && ${f} !== true && ${h} === ${t} && !${C}`;
3634
3634
  }
3635
3635
  }
@@ -3642,7 +3642,7 @@ const Q = K, ul = {
3642
3642
  if (g === !0)
3643
3643
  return;
3644
3644
  const [v, h, f] = P(g);
3645
- v === t && e.pass(j());
3645
+ v === t && e.pass(R());
3646
3646
  function $() {
3647
3647
  if (u.strictSchema === !1) {
3648
3648
  y.logger.warn(C());
@@ -3654,10 +3654,10 @@ const Q = K, ul = {
3654
3654
  }
3655
3655
  }
3656
3656
  function P(C) {
3657
- const U = C instanceof RegExp ? (0, Q.regexpCode)(C) : u.code.formats ? (0, Q._)`${u.code.formats}${(0, Q.getProperty)(a)}` : void 0, J = r.scopeValue("formats", { key: a, ref: C, code: U });
3658
- return typeof C == "object" && !(C instanceof RegExp) ? [C.type || "string", C.validate, (0, Q._)`${J}.validate`] : ["string", C, J];
3657
+ const L = C instanceof RegExp ? (0, Q.regexpCode)(C) : u.code.formats ? (0, Q._)`${u.code.formats}${(0, Q.getProperty)(a)}` : void 0, H = r.scopeValue("formats", { key: a, ref: C, code: L });
3658
+ return typeof C == "object" && !(C instanceof RegExp) ? [C.type || "string", C.validate, (0, Q._)`${H}.validate`] : ["string", C, H];
3659
3659
  }
3660
- function j() {
3660
+ function R() {
3661
3661
  if (typeof g == "object" && !(g instanceof RegExp) && g.async) {
3662
3662
  if (!m.$async)
3663
3663
  throw new Error("async format in sync schema");
@@ -3672,10 +3672,10 @@ Yr.default = fl;
3672
3672
  Object.defineProperty(Xr, "__esModule", { value: !0 });
3673
3673
  const ml = Yr, hl = [ml.default];
3674
3674
  Xr.default = hl;
3675
- var Qe = {};
3676
- Object.defineProperty(Qe, "__esModule", { value: !0 });
3677
- Qe.contentVocabulary = Qe.metadataVocabulary = void 0;
3678
- Qe.metadataVocabulary = [
3675
+ var Xe = {};
3676
+ Object.defineProperty(Xe, "__esModule", { value: !0 });
3677
+ Xe.contentVocabulary = Xe.metadataVocabulary = void 0;
3678
+ Xe.metadataVocabulary = [
3679
3679
  "title",
3680
3680
  "description",
3681
3681
  "default",
@@ -3684,13 +3684,13 @@ Qe.metadataVocabulary = [
3684
3684
  "writeOnly",
3685
3685
  "examples"
3686
3686
  ];
3687
- Qe.contentVocabulary = [
3687
+ Xe.contentVocabulary = [
3688
3688
  "contentMediaType",
3689
3689
  "contentEncoding",
3690
3690
  "contentSchema"
3691
3691
  ];
3692
3692
  Object.defineProperty(gr, "__esModule", { value: !0 });
3693
- const pl = wr, yl = Er, _l = Vr, vl = Xr, $s = Qe, $l = [
3693
+ const pl = wr, yl = Er, _l = Vr, vl = Xr, $s = Xe, $l = [
3694
3694
  pl.default,
3695
3695
  yl.default,
3696
3696
  (0, _l.default)(),
@@ -3699,17 +3699,17 @@ const pl = wr, yl = Er, _l = Vr, vl = Xr, $s = Qe, $l = [
3699
3699
  $s.contentVocabulary
3700
3700
  ];
3701
3701
  gr.default = $l;
3702
- var Zr = {}, It = {};
3703
- Object.defineProperty(It, "__esModule", { value: !0 });
3704
- It.DiscrError = void 0;
3702
+ var Zr = {}, Mt = {};
3703
+ Object.defineProperty(Mt, "__esModule", { value: !0 });
3704
+ Mt.DiscrError = void 0;
3705
3705
  var gs;
3706
3706
  (function(e) {
3707
3707
  e.Tag = "tag", e.Mapping = "mapping";
3708
- })(gs || (It.DiscrError = gs = {}));
3708
+ })(gs || (Mt.DiscrError = gs = {}));
3709
3709
  Object.defineProperty(Zr, "__esModule", { value: !0 });
3710
- const Le = K, cr = It, ws = re, gl = Xe, wl = N, bl = {
3710
+ const Ge = K, cr = Mt, ws = re, gl = Ye, wl = N, bl = {
3711
3711
  message: ({ params: { discrError: e, tagName: t } }) => e === cr.DiscrError.Tag ? `tag "${t}" must be string` : `value of tag "${t}" must be in oneOf`,
3712
- params: ({ params: { discrError: e, tag: t, tagName: r } }) => (0, Le._)`{error: ${e}, tag: ${r}, tagValue: ${t}}`
3712
+ params: ({ params: { discrError: e, tag: t, tagName: r } }) => (0, Ge._)`{error: ${e}, tag: ${r}, tagValue: ${t}}`
3713
3713
  }, El = {
3714
3714
  keyword: "discriminator",
3715
3715
  type: "object",
@@ -3726,54 +3726,54 @@ const Le = K, cr = It, ws = re, gl = Xe, wl = N, bl = {
3726
3726
  throw new Error("discriminator: mapping is not supported");
3727
3727
  if (!i)
3728
3728
  throw new Error("discriminator: requires oneOf keyword");
3729
- const u = t.let("valid", !1), l = t.const("tag", (0, Le._)`${r}${(0, Le.getProperty)(d)}`);
3730
- t.if((0, Le._)`typeof ${l} == "string"`, () => m(), () => e.error(!1, { discrError: cr.DiscrError.Tag, tag: l, tagName: d })), e.ok(u);
3729
+ const u = t.let("valid", !1), l = t.const("tag", (0, Ge._)`${r}${(0, Ge.getProperty)(d)}`);
3730
+ t.if((0, Ge._)`typeof ${l} == "string"`, () => m(), () => e.error(!1, { discrError: cr.DiscrError.Tag, tag: l, tagName: d })), e.ok(u);
3731
3731
  function m() {
3732
3732
  const E = b();
3733
3733
  t.if(!1);
3734
3734
  for (const g in E)
3735
- t.elseIf((0, Le._)`${l} === ${g}`), t.assign(u, y(E[g]));
3735
+ t.elseIf((0, Ge._)`${l} === ${g}`), t.assign(u, y(E[g]));
3736
3736
  t.else(), e.error(!1, { discrError: cr.DiscrError.Mapping, tag: l, tagName: d }), t.endIf();
3737
3737
  }
3738
3738
  function y(E) {
3739
3739
  const g = t.name("valid"), v = e.subschema({ keyword: "oneOf", schemaProp: E }, g);
3740
- return e.mergeEvaluated(v, Le.Name), g;
3740
+ return e.mergeEvaluated(v, Ge.Name), g;
3741
3741
  }
3742
3742
  function b() {
3743
3743
  var E;
3744
3744
  const g = {}, v = f(n);
3745
3745
  let h = !0;
3746
- for (let j = 0; j < i.length; j++) {
3747
- let C = i[j];
3746
+ for (let R = 0; R < i.length; R++) {
3747
+ let C = i[R];
3748
3748
  if (C != null && C.$ref && !(0, wl.schemaHasRulesButRef)(C, a.self.RULES)) {
3749
- const J = C.$ref;
3750
- if (C = ws.resolveRef.call(a.self, a.schemaEnv.root, a.baseId, J), C instanceof ws.SchemaEnv && (C = C.schema), C === void 0)
3751
- throw new gl.default(a.opts.uriResolver, a.baseId, J);
3749
+ const H = C.$ref;
3750
+ if (C = ws.resolveRef.call(a.self, a.schemaEnv.root, a.baseId, H), C instanceof ws.SchemaEnv && (C = C.schema), C === void 0)
3751
+ throw new gl.default(a.opts.uriResolver, a.baseId, H);
3752
3752
  }
3753
- const U = (E = C == null ? void 0 : C.properties) === null || E === void 0 ? void 0 : E[d];
3754
- if (typeof U != "object")
3753
+ const L = (E = C == null ? void 0 : C.properties) === null || E === void 0 ? void 0 : E[d];
3754
+ if (typeof L != "object")
3755
3755
  throw new Error(`discriminator: oneOf subschemas (or referenced schemas) must have "properties/${d}"`);
3756
- h = h && (v || f(C)), $(U, j);
3756
+ h = h && (v || f(C)), $(L, R);
3757
3757
  }
3758
3758
  if (!h)
3759
3759
  throw new Error(`discriminator: "${d}" must be required`);
3760
3760
  return g;
3761
- function f({ required: j }) {
3762
- return Array.isArray(j) && j.includes(d);
3761
+ function f({ required: R }) {
3762
+ return Array.isArray(R) && R.includes(d);
3763
3763
  }
3764
- function $(j, C) {
3765
- if (j.const)
3766
- P(j.const, C);
3767
- else if (j.enum)
3768
- for (const U of j.enum)
3769
- P(U, C);
3764
+ function $(R, C) {
3765
+ if (R.const)
3766
+ P(R.const, C);
3767
+ else if (R.enum)
3768
+ for (const L of R.enum)
3769
+ P(L, C);
3770
3770
  else
3771
3771
  throw new Error(`discriminator: "properties/${d}" must have "const" or "enum"`);
3772
3772
  }
3773
- function P(j, C) {
3774
- if (typeof j != "string" || j in g)
3773
+ function P(R, C) {
3774
+ if (typeof R != "string" || R in g)
3775
3775
  throw new Error(`discriminator: "${d}" values must be unique strings`);
3776
- g[j] = C;
3776
+ g[R] = C;
3777
3777
  }
3778
3778
  }
3779
3779
  }
@@ -4056,58 +4056,58 @@ const Sl = "http://json-schema.org/draft-07/schema#", Pl = "http://json-schema.o
4056
4056
  } }), Object.defineProperty(t, "CodeGen", { enumerable: !0, get: function() {
4057
4057
  return m.CodeGen;
4058
4058
  } });
4059
- var y = mt;
4059
+ var y = ht;
4060
4060
  Object.defineProperty(t, "ValidationError", { enumerable: !0, get: function() {
4061
4061
  return y.default;
4062
4062
  } });
4063
- var b = Xe;
4063
+ var b = Ye;
4064
4064
  Object.defineProperty(t, "MissingRefError", { enumerable: !0, get: function() {
4065
4065
  return b.default;
4066
4066
  } });
4067
4067
  })(tr, tr.exports);
4068
4068
  var Ol = tr.exports;
4069
- const Tl = /* @__PURE__ */ On(Ol), pd = (e) => Ce(Ln, e), Il = (e) => Ce(Dr, e), yd = (e) => Ce(Un, e), _d = (e) => Ce(ut, e), Ml = (e, t = 2e3) => {
4070
- const [r, s] = de(e), n = Fn(null), { t: a } = Ce(ut, (l) => l.i18next), i = Il((l) => l.getActionStatus), d = ke(() => e == null ? void 0 : e.task_id, [e == null ? void 0 : e.task_id]), u = ke(() => e == null ? void 0 : e.actionId, [e == null ? void 0 : e.actionId]);
4069
+ const Tl = /* @__PURE__ */ On(Ol), pd = (e) => je(Ln, e), Il = (e) => je(Dr, e), yd = (e) => je(Un, e), _d = (e) => je(ft, e), Ml = (e, t = 2e3) => {
4070
+ const [r, s] = de(e), n = Fn(null), { t: a } = je(ft, (l) => l.i18next), i = Il((l) => l.getActionStatus), d = Ne(() => e == null ? void 0 : e.task_id, [e == null ? void 0 : e.task_id]), u = Ne(() => e == null ? void 0 : e.actionId, [e == null ? void 0 : e.actionId]);
4071
4071
  return Wt(() => {
4072
4072
  if ((e == null ? void 0 : e.outcome) !== "pending" || !d)
4073
4073
  return;
4074
4074
  let l = !1;
4075
4075
  const m = async () => {
4076
- var E;
4076
+ var E, g;
4077
4077
  const y = await i(u, d);
4078
4078
  if (l)
4079
4079
  return;
4080
4080
  let b;
4081
- y ? y.outcome === "success" || y.outcome === "failure" ? b = { ...y, done: !0 } : b = y : b = { outcome: "failure", summary: a("error.unexpected"), done: !0 }, s(b), b.done ? (E = e == null ? void 0 : e.onComplete) == null || E.call(e, { ...e, ...b }) : n.current = setTimeout(m, t);
4081
+ y ? y.outcome === "success" || y.outcome === "failure" ? b = { ...y, done: !0 } : b = y : b = { outcome: "failure", summary: a("error.unexpected"), done: !0 }, s(b), (E = e == null ? void 0 : e.onUpdate) == null || E.call(e, { ...e, ...b }), b.done ? (g = e == null ? void 0 : e.onComplete) == null || g.call(e, { ...e, ...b }) : n.current = setTimeout(m, t);
4082
4082
  };
4083
4083
  return m(), () => {
4084
4084
  l = !0, n.current && clearTimeout(n.current);
4085
4085
  };
4086
4086
  }, [u, i, t, e, e == null ? void 0 : e.outcome, a, d]), Wt(() => {
4087
4087
  s(e);
4088
- }, [e]), ke(
4088
+ }, [e]), Ne(
4089
4089
  () => e || r ? { ...e, ...r } : void 0,
4090
4090
  [e, r]
4091
4091
  );
4092
4092
  }, Vl = ({ result: e, onClose: t, show: r = !1 }) => {
4093
4093
  var i, d;
4094
- const { t: s } = Ce(ut, (u) => u.i18next), n = Ml(e), a = ke(
4094
+ const { t: s } = je(ft, (u) => u.i18next), n = Ml(e), a = Ne(
4095
4095
  () => (n == null ? void 0 : n.outcome) === "success" || (n == null ? void 0 : n.outcome) === "failure" || (n == null ? void 0 : n.done),
4096
4096
  [n == null ? void 0 : n.done, n == null ? void 0 : n.outcome]
4097
4097
  );
4098
- return n ? /* @__PURE__ */ V(bs, { open: r, sx: { display: "flex", alignItems: "center", justifyContent: "center" }, onClose: t, children: /* @__PURE__ */ V(Es, { sx: { maxHeight: "80%", maxWidth: "80%", height: "100%", p: 2, minWidth: "750px" }, children: /* @__PURE__ */ V(lt, { children: /* @__PURE__ */ W(se, { spacing: 1, height: "100%", children: [
4098
+ return n ? /* @__PURE__ */ M(bs, { open: r, sx: { display: "flex", alignItems: "center", justifyContent: "center" }, onClose: t, children: /* @__PURE__ */ M(Es, { sx: { maxHeight: "80%", maxWidth: "80%", height: "100%", p: 2, minWidth: "750px" }, children: /* @__PURE__ */ M(dt, { children: /* @__PURE__ */ W(se, { spacing: 1, height: "100%", children: [
4099
4099
  /* @__PURE__ */ W(se, { direction: "row", spacing: 1, alignItems: "center", children: [
4100
- n.action.action_icon && /* @__PURE__ */ V(zn, { height: "1.5rem", icon: n.action.action_icon }),
4101
- /* @__PURE__ */ V(Pe, { variant: "h5", children: n.action.name }),
4102
- n.action.supported_types && /* @__PURE__ */ V(Pe, { variant: "caption", color: "text.secondary", children: n.action.supported_types.map((u) => u.toUpperCase()).join(", ") }),
4103
- /* @__PURE__ */ V("div", { style: { flex: 1 } }),
4104
- /* @__PURE__ */ V(Gn, { size: "small", classification: n.action.classification })
4100
+ n.action.action_icon && /* @__PURE__ */ M(zn, { height: "1.5rem", icon: n.action.action_icon }),
4101
+ /* @__PURE__ */ M(ke, { variant: "h5", children: n.action.name }),
4102
+ n.action.supported_types && /* @__PURE__ */ M(ke, { variant: "caption", color: "text.secondary", children: n.action.supported_types.map((u) => u.toUpperCase()).join(", ") }),
4103
+ /* @__PURE__ */ M("div", { style: { flex: 1 } }),
4104
+ /* @__PURE__ */ M(Gn, { size: "small", classification: n.action.classification })
4105
4105
  ] }),
4106
- /* @__PURE__ */ V(Pe, { variant: "body1", children: n.action.summary }),
4107
- /* @__PURE__ */ V(Dt, { flexItem: !0 }),
4108
- a ? /* @__PURE__ */ V(lt, { children: /* @__PURE__ */ V(Jn, { result: n }) }) : /* @__PURE__ */ W(se, { flex: 1, sx: { pt: 2, alignItems: "center" }, spacing: 1, children: [
4109
- n.summary && /* @__PURE__ */ V(Pe, { variant: "caption", children: n.summary }),
4110
- /* @__PURE__ */ V(
4106
+ /* @__PURE__ */ M(ke, { variant: "body1", children: n.action.summary }),
4107
+ /* @__PURE__ */ M(Dt, { flexItem: !0 }),
4108
+ a ? /* @__PURE__ */ M(dt, { children: /* @__PURE__ */ M(Jn, { result: n }) }) : /* @__PURE__ */ W(se, { flex: 1, sx: { pt: 2, alignItems: "center" }, spacing: 1, children: [
4109
+ n.summary && /* @__PURE__ */ M(ke, { variant: "caption", children: n.summary }),
4110
+ /* @__PURE__ */ M(
4111
4111
  kn,
4112
4112
  {
4113
4113
  variant: (i = n.output) != null && i.progress ? "determinate" : "indeterminate",
@@ -4116,11 +4116,11 @@ const Tl = /* @__PURE__ */ On(Ol), pd = (e) => Ce(Ln, e), Il = (e) => Ce(Dr, e),
4116
4116
  }
4117
4117
  )
4118
4118
  ] }),
4119
- /* @__PURE__ */ V("div", { style: { flex: 1 } }),
4119
+ /* @__PURE__ */ M("div", { style: { flex: 1 } }),
4120
4120
  /* @__PURE__ */ W(se, { direction: "row", spacing: 1, children: [
4121
- /* @__PURE__ */ V("div", { style: { flex: 1 } }),
4122
- n.link && /* @__PURE__ */ V(st, { variant: "outlined", component: "a", target: "_blank", href: n.link, children: s("details.open") }),
4123
- /* @__PURE__ */ V(st, { variant: "outlined", color: "error", onClick: t, children: s("close") })
4121
+ /* @__PURE__ */ M("div", { style: { flex: 1 } }),
4122
+ n.link && /* @__PURE__ */ M(nt, { variant: "outlined", component: "a", target: "_blank", href: n.link, children: s("details.open") }),
4123
+ /* @__PURE__ */ M(nt, { variant: "outlined", color: "error", onClick: t, children: s("close") })
4124
4124
  ] })
4125
4125
  ] }) }) }) }) : null;
4126
4126
  }, Fl = Ns(Vl), Al = new Tl({ removeAdditional: !0, coerceTypes: !0, strict: !1 }), Dr = An(null), vd = ({
@@ -4131,52 +4131,63 @@ const Tl = /* @__PURE__ */ On(Ol), pd = (e) => Ce(Ln, e), Il = (e) => Ce(Dr, e),
4131
4131
  getToken: n,
4132
4132
  onNetworkCall: a
4133
4133
  }) => {
4134
- const { t: i, i18n: d } = Ce(ut, (z) => z.i18next), { ready: u } = Bn(), [l, m] = de(null), [y, b] = de({}), [E, g] = de(!1), [v, h] = de(null), [f, $] = de(!1), [P, j] = de({}), C = ke(() => {
4135
- const z = {}, H = n == null ? void 0 : n();
4136
- return H && (z.Authorization = `Bearer ${H}`), a ? a({ baseURL: e, headers: z }) : { baseURL: e, headers: z };
4137
- }, [e, n, a]), U = Re(async () => {
4134
+ const { t: i, i18n: d } = je(ft, (z) => z.i18next), { ready: u } = Bn(), [l, m] = de(null), [y, b] = de({}), [E, g] = de(!1), [v, h] = de(null), [f, $] = de(!1), [P, R] = de({}), C = Ne(() => {
4135
+ const z = {}, B = n == null ? void 0 : n();
4136
+ return B && (z.Authorization = `Bearer ${B}`), a ? a({ baseURL: e, headers: z }) : { baseURL: e, headers: z };
4137
+ }, [e, n, a]), L = Oe(async () => {
4138
4138
  if (!u)
4139
4139
  return;
4140
4140
  const z = await Ht.actions.get(C);
4141
- return z && j(z), z;
4141
+ return z && R(z), z;
4142
4142
  }, [u, C]);
4143
4143
  Wt(() => {
4144
- U();
4144
+ L();
4145
4145
  }, [e, u]);
4146
- const J = Re(
4147
- (z, H, ee) => JSON.stringify({ type: z, value: H, classification: ee ?? r }),
4146
+ const H = Oe(
4147
+ (z, B, ee) => JSON.stringify({ type: z, value: B, classification: ee ?? r }),
4148
4148
  [r]
4149
- ), ne = Re(
4150
- async (z, H, ee, Fe) => {
4151
- const { forceMenu: Ae, onComplete: _e, onCancel: Ke, skipMenu: k, skipResultModal: p, timeout: S, includeContext: _, extraContext: o } = {
4149
+ ), ne = Oe(
4150
+ async (z, B, ee, Ae) => {
4151
+ const {
4152
+ forceMenu: Ke,
4153
+ onComplete: $e,
4154
+ onUpdate: he,
4155
+ onCancel: k,
4156
+ skipMenu: p,
4157
+ skipResultModal: S,
4158
+ timeout: _,
4159
+ includeContext: o,
4160
+ extraContext: c
4161
+ } = {
4152
4162
  forceMenu: !1,
4153
4163
  skipResultModal: !1,
4154
4164
  skipMenu: !1,
4155
4165
  onComplete: null,
4166
+ onUpdate: null,
4156
4167
  onCancel: null,
4157
4168
  timeout: null,
4158
4169
  includeContext: s ?? !1,
4159
4170
  extraContext: null,
4160
- ...Fe
4171
+ ...Ae
4161
4172
  };
4162
4173
  if (!Object.keys(P).includes(z))
4163
4174
  throw new Error("Invalid action id");
4164
- const c = H.map(
4165
- (I) => I.type === "telemetry" ? { ...I, value: JSON.stringify(I.value) } : I
4166
- ), w = P[z], R = Al.compile(w.params), O = { selectors: c, ...ee };
4175
+ const w = B.map(
4176
+ (V) => V.type === "telemetry" ? { ...V, value: JSON.stringify(V.value) } : V
4177
+ ), j = P[z], O = Al.compile(j.params), U = { selectors: w, ...ee };
4167
4178
  let q = null;
4168
- if (_ && (q = {
4179
+ if (o && (q = {
4169
4180
  timestamp: Hn().toISOString(),
4170
4181
  url: window.location,
4171
4182
  language: (d == null ? void 0 : d.language) ?? "en"
4172
- }), Qn(o) || (q = {
4183
+ }), Qn(c) || (q = {
4173
4184
  ...q ?? {},
4174
- ...o
4175
- }), $(!0), !R(O) || Ae) {
4176
- if (k && !Ae)
4177
- throw console.error(`Form is not valid (${R.errors.length} errors)`), new Error("Form is not completed");
4178
- (l == null ? void 0 : l.id) === z && (console.error(`Form is not valid (${R.errors.length} errors)`), yt(
4179
- new CustomEvent(pt, {
4185
+ ...c
4186
+ }), $(!0), !O(U) || Ke) {
4187
+ if (p && !Ke)
4188
+ throw console.error(`Form is not valid (${O.errors.length} errors)`), new Error("Form is not completed");
4189
+ (l == null ? void 0 : l.id) === z && (console.error(`Form is not valid (${O.errors.length} errors)`), _t(
4190
+ new CustomEvent(yt, {
4180
4191
  detail: {
4181
4192
  message: i("action.error.validation"),
4182
4193
  level: "error"
@@ -4184,47 +4195,48 @@ const Tl = /* @__PURE__ */ On(Ol), pd = (e) => Ce(Ln, e), Il = (e) => Ce(Dr, e),
4184
4195
  })
4185
4196
  )), m({
4186
4197
  id: z,
4187
- action: w,
4188
- selectors: H,
4189
- params: O ?? {},
4190
- skipResultModal: p,
4198
+ action: j,
4199
+ selectors: B,
4200
+ params: U ?? {},
4201
+ skipResultModal: S,
4191
4202
  context: q,
4192
- onComplete: _e,
4193
- onCancel: Ke,
4194
- timeout: S
4203
+ onComplete: $e,
4204
+ onUpdate: he,
4205
+ onCancel: k,
4206
+ timeout: _
4195
4207
  });
4196
4208
  return;
4197
4209
  }
4198
4210
  try {
4199
- const I = await Ht.actions.post(
4211
+ const V = await Ht.actions.post(
4200
4212
  z,
4201
- c,
4202
- O ?? {},
4213
+ w,
4214
+ U ?? {},
4203
4215
  q,
4204
- { timeout: S },
4216
+ { timeout: _ },
4205
4217
  C
4206
- ), B = { ...I, actionId: z, action: w, params: O };
4207
- I.outcome !== "pending" && (_e == null || _e(B)), b((ve) => {
4208
- const De = H.map(($e) => J($e.type, $e.value, $e.classification));
4218
+ ), pe = { ...V, actionId: z, action: j, params: U };
4219
+ he == null || he(pe), V.outcome !== "pending" && ($e == null || $e(pe)), b((qe) => {
4220
+ const We = B.map((ge) => H(ge.type, ge.value, ge.classification));
4209
4221
  return {
4210
- ...ve,
4211
- ...De.reduce(
4212
- ($e, qe) => ({
4213
- ...$e,
4214
- [qe]: [...ve[qe] ?? [], B]
4222
+ ...qe,
4223
+ ...We.reduce(
4224
+ (ge, ze) => ({
4225
+ ...ge,
4226
+ [ze]: [...qe[ze] ?? [], pe]
4215
4227
  }),
4216
4228
  {}
4217
4229
  )
4218
4230
  };
4219
- }), yt(
4220
- new CustomEvent(pt, {
4231
+ }), _t(
4232
+ new CustomEvent(yt, {
4221
4233
  detail: {
4222
4234
  message: /* @__PURE__ */ W(se, { direction: "row", alignItems: "center", spacing: 0.5, width: "100%", children: [
4223
- /* @__PURE__ */ V(Pe, { children: I.summary }),
4224
- I.link && /* @__PURE__ */ V(Nn, { component: "a", href: I.link, size: "small", target: "_blank", children: /* @__PURE__ */ V(Ss, { icon: "ic:baseline-open-in-new", fontSize: "small" }) })
4235
+ /* @__PURE__ */ M(ke, { children: V.summary }),
4236
+ V.link && /* @__PURE__ */ M(Nn, { component: "a", href: V.link, size: "small", target: "_blank", children: /* @__PURE__ */ M(Ss, { icon: "ic:baseline-open-in-new", fontSize: "small" }) })
4225
4237
  ] }),
4226
- timeout: I.link ? null : 5e3,
4227
- level: I.outcome === "success" ? "success" : I.outcome === "pending" ? "info" : "error",
4238
+ timeout: V.link ? null : 5e3,
4239
+ level: V.outcome === "success" ? "success" : V.outcome === "pending" ? "info" : "error",
4228
4240
  options: {
4229
4241
  style: {
4230
4242
  minWidth: 0
@@ -4237,12 +4249,12 @@ const Tl = /* @__PURE__ */ On(Ol), pd = (e) => Ce(Ln, e), Il = (e) => Ce(Dr, e),
4237
4249
  }
4238
4250
  }
4239
4251
  })
4240
- ), I.outcome === "success" && m(null), I.outcome === "pending" && (h({ ...I, actionId: z, action: w, onComplete: _e }), p || g(!0), m(null)), I.format && (h({ ...I, actionId: z, action: w }), I.format !== "pivot" && !p ? g(!0) : window.open(I.output, "_blank", "noreferrer"));
4241
- } catch (I) {
4242
- yt(
4243
- new CustomEvent(pt, {
4252
+ ), V.outcome === "success" && m(null), V.outcome === "pending" && (h({ ...V, actionId: z, action: j, onComplete: $e, onUpdate: he }), S || g(!0), m(null)), V.format && (h({ ...V, actionId: z, action: j }), V.format !== "pivot" && !S ? g(!0) : window.open(V.output, "_blank", "noreferrer"));
4253
+ } catch (V) {
4254
+ _t(
4255
+ new CustomEvent(yt, {
4244
4256
  detail: {
4245
- message: I.toString(),
4257
+ message: V.toString(),
4246
4258
  level: "error"
4247
4259
  }
4248
4260
  })
@@ -4251,14 +4263,14 @@ const Tl = /* @__PURE__ */ On(Ol), pd = (e) => Ce(Ln, e), Il = (e) => Ce(Dr, e),
4251
4263
  $(!1);
4252
4264
  }
4253
4265
  },
4254
- [P, s, J, d == null ? void 0 : d.language, C, l == null ? void 0 : l.id, i]
4255
- ), ae = Re(
4256
- async (z, H) => {
4266
+ [P, s, H, d == null ? void 0 : d.language, C, l == null ? void 0 : l.id, i]
4267
+ ), ae = Oe(
4268
+ async (z, B) => {
4257
4269
  try {
4258
- return await Ht.actions.status.get(z, H, {}, C);
4270
+ return await Ht.actions.status.get(z, B, {}, C);
4259
4271
  } catch (ee) {
4260
- yt(
4261
- new CustomEvent(pt, {
4272
+ _t(
4273
+ new CustomEvent(yt, {
4262
4274
  detail: {
4263
4275
  message: ee.toString(),
4264
4276
  level: "error"
@@ -4268,29 +4280,29 @@ const Tl = /* @__PURE__ */ On(Ol), pd = (e) => Ce(Ln, e), Il = (e) => Ce(Dr, e),
4268
4280
  }
4269
4281
  },
4270
4282
  [C]
4271
- ), me = Re(() => {
4283
+ ), me = Oe(() => {
4272
4284
  var z;
4273
4285
  (z = l == null ? void 0 : l.onCancel) == null || z.call(l), m(null), $(!1);
4274
- }, [l]), be = Re(
4275
- (z, H, ee) => y[J(z, H, ee)] ?? [],
4276
- [y, J]
4277
- ), ie = ke(
4286
+ }, [l]), Ee = Oe(
4287
+ (z, B, ee) => y[H(z, B, ee)] ?? [],
4288
+ [y, H]
4289
+ ), ie = Ne(
4278
4290
  () => ({
4279
4291
  availableActions: P,
4280
4292
  executeAction: ne,
4281
4293
  cancelAction: me,
4282
4294
  getActionStatus: ae,
4283
- getActionResults: be,
4295
+ getActionResults: Ee,
4284
4296
  loading: f,
4285
- refreshActions: U
4297
+ refreshActions: L
4286
4298
  }),
4287
- [P, me, ne, be, ae, f, U]
4299
+ [P, me, ne, Ee, ae, f, L]
4288
4300
  );
4289
4301
  return /* @__PURE__ */ W(Dr.Provider, { value: ie, children: [
4290
4302
  t,
4291
- /* @__PURE__ */ W(lt, { children: [
4292
- l && /* @__PURE__ */ V(Ul, { runningActionData: l }),
4293
- /* @__PURE__ */ V(
4303
+ /* @__PURE__ */ W(dt, { children: [
4304
+ l && /* @__PURE__ */ M(Ul, { runningActionData: l }),
4305
+ /* @__PURE__ */ M(
4294
4306
  Fl,
4295
4307
  {
4296
4308
  show: E && !!v,
@@ -4302,12 +4314,12 @@ const Tl = /* @__PURE__ */ On(Ol), pd = (e) => Ce(Ln, e), Il = (e) => Ce(Dr, e),
4302
4314
  ] });
4303
4315
  }, Kl = () => Kn(Dr), ql = En.map((e) => ({
4304
4316
  ...e,
4305
- renderer: ({ ...t }) => /* @__PURE__ */ V(lt, { children: /* @__PURE__ */ V(e.renderer, { ...t }) })
4317
+ renderer: ({ ...t }) => /* @__PURE__ */ M(dt, { children: /* @__PURE__ */ M(e.renderer, { ...t }) })
4306
4318
  })), zl = ({ runningActionData: e }) => {
4307
- const { executeAction: t, cancelAction: r } = Kl(), { t: s } = Ce(ut, (v) => v.i18next), [n, a] = de(!1), [i, d] = de(null), [u, l] = de(e == null ? void 0 : e.params), [m, y] = de(!1), b = ke(
4319
+ const { executeAction: t, cancelAction: r } = Kl(), { t: s } = je(ft, (v) => v.i18next), [n, a] = de(!1), [i, d] = de(null), [u, l] = de(e == null ? void 0 : e.params), [m, y] = de(!1), b = Ne(
4308
4320
  () => e != null && e.action ? { ...qn(e.action.params), ...e.action.extra_schema ?? {} } : null,
4309
4321
  [e == null ? void 0 : e.action]
4310
- ), E = ke(
4322
+ ), E = Ne(
4311
4323
  () => ({
4312
4324
  type: "VerticalLayout",
4313
4325
  elements: Object.entries((b == null ? void 0 : b.properties) ?? {}).sort(([v, h], [f, $]) => h.order || $.order ? h.order - $.order : +(b == null ? void 0 : b.required.includes(v)) - +(b == null ? void 0 : b.required.includes(f))).map(([v, h]) => {
@@ -4325,7 +4337,7 @@ const Tl = /* @__PURE__ */ On(Ol), pd = (e) => Ce(Ln, e), Il = (e) => Ce(Dr, e),
4325
4337
  })
4326
4338
  }),
4327
4339
  [b == null ? void 0 : b.properties, b == null ? void 0 : b.required]
4328
- ), g = Re(async () => {
4340
+ ), g = Oe(async () => {
4329
4341
  try {
4330
4342
  a(!0);
4331
4343
  const v = {};
@@ -4346,7 +4358,7 @@ const Tl = /* @__PURE__ */ On(Ol), pd = (e) => Ce(Ln, e), Il = (e) => Ce(Dr, e),
4346
4358
  ]);
4347
4359
  if (e != null && e.action)
4348
4360
  try {
4349
- return /* @__PURE__ */ V(bs, { open: !0, sx: { display: "flex", alignItems: "center", justifyContent: "center" }, onClose: r, children: /* @__PURE__ */ V(
4361
+ return /* @__PURE__ */ M(bs, { open: !0, sx: { display: "flex", alignItems: "center", justifyContent: "center" }, onClose: r, children: /* @__PURE__ */ M(
4350
4362
  Es,
4351
4363
  {
4352
4364
  sx: { maxHeight: "80%", maxWidth: "80%", height: "100%", px: 2, pt: 2, minWidth: "750px", overflow: "auto" },
@@ -4364,39 +4376,39 @@ const Tl = /* @__PURE__ */ On(Ol), pd = (e) => Ce(Ln, e), Il = (e) => Ce(Dr, e),
4364
4376
  children: [
4365
4377
  /* @__PURE__ */ W(se, { direction: "row", spacing: 1, children: [
4366
4378
  /* @__PURE__ */ W(se, { direction: "column", spacing: 1, children: [
4367
- /* @__PURE__ */ W(Pe, { variant: "h5", children: [
4379
+ /* @__PURE__ */ W(ke, { variant: "h5", children: [
4368
4380
  s("actions.executing"),
4369
4381
  " ",
4370
4382
  e == null ? void 0 : e.action.id.replace(/_/g, " ").split(" ").map(wo).join(" ")
4371
4383
  ] }),
4372
- (e == null ? void 0 : e.action.summary) && /* @__PURE__ */ V(Pe, { variant: "body1", color: "text.secondary", sx: { pb: 1.5 }, children: e == null ? void 0 : e.action.summary })
4384
+ (e == null ? void 0 : e.action.summary) && /* @__PURE__ */ M(ke, { variant: "body1", color: "text.secondary", sx: { pb: 1.5 }, children: e == null ? void 0 : e.action.summary })
4373
4385
  ] }),
4374
- /* @__PURE__ */ V(xe, { flex: 1 }),
4375
- /* @__PURE__ */ V(xe, { alignContent: "end", children: /* @__PURE__ */ V(
4376
- st,
4386
+ /* @__PURE__ */ M(et, { flex: 1 }),
4387
+ /* @__PURE__ */ M(et, { alignContent: "end", children: /* @__PURE__ */ M(
4388
+ nt,
4377
4389
  {
4378
4390
  variant: "outlined",
4379
4391
  onClick: () => y((v) => !v),
4380
- startIcon: /* @__PURE__ */ V(
4381
- xe,
4392
+ startIcon: /* @__PURE__ */ M(
4393
+ et,
4382
4394
  {
4383
4395
  component: "span",
4384
4396
  sx: (v) => ({
4385
4397
  transition: v.transitions.create("transform"),
4386
4398
  transform: m ? "rotate(180deg)" : "rotate(0deg)"
4387
4399
  }),
4388
- children: /* @__PURE__ */ V(Ss, { icon: "ic:baseline-keyboard-double-arrow-right" })
4400
+ children: /* @__PURE__ */ M(Ss, { icon: "ic:baseline-keyboard-double-arrow-right" })
4389
4401
  }
4390
4402
  ),
4391
4403
  children: s(m ? "actions.json.hide" : "actions.json.show")
4392
4404
  }
4393
4405
  ) })
4394
4406
  ] }),
4395
- /* @__PURE__ */ V(Dt, { orientation: "horizontal", variant: "middle" }),
4396
- /* @__PURE__ */ V(xe, { pt: 1.5 }),
4407
+ /* @__PURE__ */ M(Dt, { orientation: "horizontal", variant: "middle" }),
4408
+ /* @__PURE__ */ M(et, { pt: 1.5 }),
4397
4409
  /* @__PURE__ */ W(se, { flexGrow: 1, direction: "row", spacing: 1, children: [
4398
4410
  /* @__PURE__ */ W(se, { direction: "column", flexGrow: 1, children: [
4399
- /* @__PURE__ */ V(lt, { children: /* @__PURE__ */ V(
4411
+ /* @__PURE__ */ M(dt, { children: /* @__PURE__ */ M(
4400
4412
  Pn,
4401
4413
  {
4402
4414
  schema: b,
@@ -4411,26 +4423,26 @@ const Tl = /* @__PURE__ */ On(Ol), pd = (e) => Ce(Ln, e), Il = (e) => Ce(Dr, e),
4411
4423
  }
4412
4424
  ) }),
4413
4425
  /* @__PURE__ */ W(se, { direction: "row", spacing: 1, pb: 1, children: [
4414
- /* @__PURE__ */ V("div", { style: { flex: 1 } }),
4415
- /* @__PURE__ */ V(st, { color: "error", variant: "outlined", onClick: r, children: s("cancel") }),
4416
- /* @__PURE__ */ V(
4417
- st,
4426
+ /* @__PURE__ */ M("div", { style: { flex: 1 } }),
4427
+ /* @__PURE__ */ M(nt, { color: "error", variant: "outlined", onClick: r, children: s("cancel") }),
4428
+ /* @__PURE__ */ M(
4429
+ nt,
4418
4430
  {
4419
4431
  color: "success",
4420
4432
  variant: "outlined",
4421
4433
  disabled: n || (i == null ? void 0 : i.length) > 0,
4422
4434
  onClick: g,
4423
- endIcon: n && /* @__PURE__ */ V(Cn, { color: "inherit", size: 18 }),
4435
+ endIcon: n && /* @__PURE__ */ M(Cn, { color: "inherit", size: 18 }),
4424
4436
  children: s("actions.execute")
4425
4437
  }
4426
4438
  )
4427
4439
  ] })
4428
4440
  ] }),
4429
- /* @__PURE__ */ V(jn, { orientation: "horizontal", in: m, unmountOnExit: !0, mountOnEnter: !0, children: /* @__PURE__ */ W(se, { direction: "row", height: "100%", spacing: 1, children: [
4430
- /* @__PURE__ */ V(Dt, { orientation: "vertical" }),
4441
+ /* @__PURE__ */ M(jn, { orientation: "horizontal", in: m, unmountOnExit: !0, mountOnEnter: !0, children: /* @__PURE__ */ W(se, { direction: "row", height: "100%", spacing: 1, children: [
4442
+ /* @__PURE__ */ M(Dt, { orientation: "vertical" }),
4431
4443
  /* @__PURE__ */ W(se, { children: [
4432
- /* @__PURE__ */ V(Pe, { variant: "h5", children: s("action.data") }),
4433
- /* @__PURE__ */ V(xe, { width: 600, height: "100%", children: /* @__PURE__ */ V(Rn, { data: u, slotProps: { stack: { height: "100%" }, json: { name: !1 } } }) })
4444
+ /* @__PURE__ */ M(ke, { variant: "h5", children: s("action.data") }),
4445
+ /* @__PURE__ */ M(et, { width: 600, height: "100%", children: /* @__PURE__ */ M(Rn, { data: u, slotProps: { stack: { height: "100%" }, json: { name: !1 } } }) })
4434
4446
  ] })
4435
4447
  ] }) })
4436
4448
  ] })