@cccsaurora/clue-ui 1.2.3 → 1.2.4-patch.273

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-DlOXqMUx.js → ActionForm-CwsfB99X.js} +426 -428
  2. package/{AnnotationDetails-Bk-p0F6h.js → AnnotationDetails-Bw2JdtTL.js} +1 -1
  3. package/{AnnotationPreview-jzZvkCxJ.js → AnnotationPreview-BO7rVnOP.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 +2 -2
  17. package/components/group/GroupControl.js +1 -1
  18. package/components/stats/QueryStatus.js +1 -1
  19. package/en/translation.json +1 -1
  20. package/fr/translation.json +1 -1
  21. package/hooks/ClueActionContext.js +1 -1
  22. package/hooks/ClueGroupContext.js +1 -1
  23. package/hooks/CluePopupContext.js +2 -2
  24. package/hooks/ClueProvider.js +2 -2
  25. package/hooks/selectors.js +1 -1
  26. package/hooks/useActionResult.d.ts +1 -0
  27. package/hooks/useActionResult.js +4 -2
  28. package/hooks/useAnnotations.js +1 -1
  29. package/hooks/useClueActions.js +1 -1
  30. package/hooks/useErrors.js +1 -1
  31. package/hooks/useFetcherResult.d.ts +1 -0
  32. package/hooks/useFetcherResult.js +1 -1
  33. package/icons/Action.js +2 -2
  34. package/icons/Assessment.js +1 -1
  35. package/icons/Context.js +1 -1
  36. package/icons/Opinion.js +1 -1
  37. package/main.js +3 -3
  38. package/package.json +1 -1
  39. package/types/WithActionData.d.ts +2 -1
@@ -1,18 +1,18 @@
1
1
  import { jsx as V, 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 Zt, 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 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";
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 Ct } from "./hooks/ClueComponentContext.js";
7
+ import { ClueComponentContext as ut } 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 je } from "react";
15
- import { u as Ve, c as Kn, a as An } from "./index-Dj5C04IX.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
16
  import lt 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";
@@ -20,16 +20,16 @@ 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 ht } from "./data/event.js";
23
+ import { SNACKBAR_EVENT_ID as pt } from "./data/event.js";
24
24
  import { dayjs as Hn } from "./utils/time.js";
25
- import { safeDispatchEvent as pt } from "./utils/window.js";
25
+ import { safeDispatchEvent as yt } from "./utils/window.js";
26
26
  import Bn from "./hooks/useClue.js";
27
- import { i as Dn } from "./isNil-CjWwlQS3.js";
28
- function Qn(e, t, r) {
27
+ import { i as Qn } from "./isNil-CjWwlQS3.js";
28
+ function Xn(e, t, r) {
29
29
  var s = e.length;
30
30
  return r = r === void 0 ? s : r, !t && r >= s ? e : Mn(e, t, r);
31
31
  }
32
- var Xn = "\\ud800-\\udfff", Yn = "\\u0300-\\u036f", Zn = "\\ufe20-\\ufe2f", Wn = "\\u20d0-\\u20ff", xn = Yn + Zn + Wn, eo = "\\ufe0e\\ufe0f", to = "\\u200d", ro = RegExp("[" + to + Xn + xn + eo + "]");
32
+ var Yn = "\\ud800-\\udfff", Zn = "\\u0300-\\u036f", Dn = "\\ufe20-\\ufe2f", Wn = "\\u20d0-\\u20ff", xn = Zn + Dn + Wn, eo = "\\ufe0e\\ufe0f", to = "\\u200d", ro = RegExp("[" + to + Yn + xn + eo + "]");
33
33
  function Cs(e) {
34
34
  return ro.test(e);
35
35
  }
@@ -46,7 +46,7 @@ function vo(e) {
46
46
  function $o(e) {
47
47
  return function(t) {
48
48
  t = ks(t);
49
- var r = Cs(t) ? vo(t) : void 0, s = r ? r[0] : t.charAt(0), n = r ? Qn(r, 1).join("") : t.slice(1);
49
+ var r = Cs(t) ? vo(t) : void 0, s = r ? r[0] : t.charAt(0), n = r ? Xn(r, 1).join("") : t.slice(1);
50
50
  return s[e]() + n;
51
51
  };
52
52
  }
@@ -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 = {}, ut = {}, A = {}, dt = {};
57
+ var tr = { exports: {} }, Vs = {}, fe = {}, Be = {}, ft = {}, K = {}, dt = {};
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 {
@@ -451,7 +451,7 @@ var rr = {};
451
451
  let R = w.length;
452
452
  for (; R--; ) {
453
453
  const O = w[R];
454
- O.optimizeNames(o, c) || (x(o, O.names), w.splice(R, 1));
454
+ O.optimizeNames(o, c) || (ee(o, O.names), w.splice(R, 1));
455
455
  }
456
456
  return w.length > 0 ? this : void 0;
457
457
  }
@@ -597,7 +597,7 @@ var rr = {};
597
597
  }
598
598
  }
599
599
  me.kind = "finally";
600
- class we {
600
+ class be {
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()];
@@ -807,7 +807,7 @@ var rr = {};
807
807
  c[c.length - 1] = o;
808
808
  }
809
809
  }
810
- e.CodeGen = we;
810
+ e.CodeGen = be;
811
811
  function ie(_, o) {
812
812
  for (const c in o)
813
813
  _[c] = (_[c] || 0) + (o[c] || 0);
@@ -830,7 +830,7 @@ var rr = {};
830
830
  return O instanceof t._Code && O._items.some((q) => q instanceof t.Name && o[q.str] === 1 && c[q.str] !== void 0);
831
831
  }
832
832
  }
833
- function x(_, o) {
833
+ function ee(_, o) {
834
834
  for (const c in o)
835
835
  _[c] = (_[c] || 0) - (o[c] || 0);
836
836
  }
@@ -838,14 +838,14 @@ var rr = {};
838
838
  return typeof _ == "boolean" || typeof _ == "number" || _ === null ? !_ : (0, t._)`!${S(_)}`;
839
839
  }
840
840
  e.not = Fe;
841
- const Ke = p(e.operators.AND);
842
- function be(..._) {
843
- return _.reduce(Ke);
841
+ const Ae = p(e.operators.AND);
842
+ function _e(..._) {
843
+ return _.reduce(Ae);
844
844
  }
845
- e.and = be;
846
- const Ae = p(e.operators.OR);
845
+ e.and = _e;
846
+ const Ke = p(e.operators.OR);
847
847
  function k(..._) {
848
- return _.reduce(Ae);
848
+ return _.reduce(Ke);
849
849
  }
850
850
  e.or = k;
851
851
  function p(_) {
@@ -854,11 +854,11 @@ var rr = {};
854
854
  function S(_) {
855
855
  return _ instanceof t.Name ? _ : (0, t._)`(${_})`;
856
856
  }
857
- })(A);
857
+ })(K);
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 = A, bo = dt;
861
+ const L = K, bo = dt;
862
862
  function Eo(e) {
863
863
  const t = {};
864
864
  for (const r of e)
@@ -867,7 +867,7 @@ function Eo(e) {
867
867
  }
868
868
  N.toHash = Eo;
869
869
  function So(e, t) {
870
- return typeof t == "boolean" ? t : Object.keys(t).length === 0 ? !0 : (Fs(e, t), !Ks(t, e.self.RULES.all));
870
+ return typeof t == "boolean" ? t : Object.keys(t).length === 0 ? !0 : (Fs(e, t), !As(t, e.self.RULES.all));
871
871
  }
872
872
  N.alwaysValidSchema = So;
873
873
  function Fs(e, t = e.schema) {
@@ -879,7 +879,7 @@ function Fs(e, t = e.schema) {
879
879
  n[a] || zs(e, `unknown keyword: "${a}"`);
880
880
  }
881
881
  N.checkUnknownRules = Fs;
882
- function Ks(e, t) {
882
+ function As(e, t) {
883
883
  if (typeof e == "boolean")
884
884
  return !e;
885
885
  for (const r in e)
@@ -887,7 +887,7 @@ function Ks(e, t) {
887
887
  return !0;
888
888
  return !1;
889
889
  }
890
- N.schemaHasRules = Ks;
890
+ N.schemaHasRules = As;
891
891
  function Po(e, t) {
892
892
  if (typeof e == "boolean")
893
893
  return !e;
@@ -908,7 +908,7 @@ function ko({ topSchemaRef: e, schemaPath: t }, r, s, n) {
908
908
  }
909
909
  N.schemaRefOrVal = ko;
910
910
  function No(e) {
911
- return As(decodeURIComponent(e));
911
+ return Ks(decodeURIComponent(e));
912
912
  }
913
913
  N.unescapeFragment = No;
914
914
  function Co(e) {
@@ -919,10 +919,10 @@ function lr(e) {
919
919
  return typeof e == "number" ? `${e}` : e.replace(/~/g, "~0").replace(/\//g, "~1");
920
920
  }
921
921
  N.escapeJsonPointer = lr;
922
- function As(e) {
922
+ function Ks(e) {
923
923
  return e.replace(/~1/g, "/").replace(/~0/g, "~");
924
924
  }
925
- N.unescapeJsonPointer = As;
925
+ N.unescapeJsonPointer = Ks;
926
926
  function jo(e, t) {
927
927
  if (Array.isArray(e))
928
928
  for (const r of e)
@@ -996,39 +996,39 @@ function zs(e, t, r = e.opts.strictSchema) {
996
996
  N.checkStrictMode = zs;
997
997
  var ye = {};
998
998
  Object.defineProperty(ye, "__esModule", { value: !0 });
999
- const Z = A, To = {
999
+ const D = K, To = {
1000
1000
  // validation function arguments
1001
- data: new Z.Name("data"),
1001
+ data: new D.Name("data"),
1002
1002
  // data passed to validation function
1003
1003
  // args passed from referencing schema
1004
- valCxt: new Z.Name("valCxt"),
1004
+ valCxt: new D.Name("valCxt"),
1005
1005
  // validation/data context - should not be used directly, it is destructured to the names below
1006
- instancePath: new Z.Name("instancePath"),
1007
- parentData: new Z.Name("parentData"),
1008
- parentDataProperty: new Z.Name("parentDataProperty"),
1009
- rootData: new Z.Name("rootData"),
1006
+ instancePath: new D.Name("instancePath"),
1007
+ parentData: new D.Name("parentData"),
1008
+ parentDataProperty: new D.Name("parentDataProperty"),
1009
+ rootData: new D.Name("rootData"),
1010
1010
  // root data - same as the data passed to the first/top validation function
1011
- dynamicAnchors: new Z.Name("dynamicAnchors"),
1011
+ dynamicAnchors: new D.Name("dynamicAnchors"),
1012
1012
  // used to support recursiveRef and dynamicRef
1013
1013
  // function scoped variables
1014
- vErrors: new Z.Name("vErrors"),
1014
+ vErrors: new D.Name("vErrors"),
1015
1015
  // null or array of validation errors
1016
- errors: new Z.Name("errors"),
1016
+ errors: new D.Name("errors"),
1017
1017
  // counter of validation errors
1018
- this: new Z.Name("this"),
1018
+ this: new D.Name("this"),
1019
1019
  // "globals"
1020
- self: new Z.Name("self"),
1021
- scope: new Z.Name("scope"),
1020
+ self: new D.Name("self"),
1021
+ scope: new D.Name("scope"),
1022
1022
  // JTD serialize/parse name for JSON string and position
1023
- json: new Z.Name("json"),
1024
- jsonPos: new Z.Name("jsonPos"),
1025
- jsonLen: new Z.Name("jsonLen"),
1026
- jsonPart: new Z.Name("jsonPart")
1023
+ json: new D.Name("json"),
1024
+ jsonPos: new D.Name("jsonPos"),
1025
+ jsonLen: new D.Name("jsonLen"),
1026
+ jsonPart: new D.Name("jsonPart")
1027
1027
  };
1028
1028
  ye.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 = A, r = N, s = ye;
1031
+ const t = K, r = N, s = ye;
1032
1032
  e.keywordError = {
1033
1033
  message: ({ keyword: h }) => (0, t.str)`must pass "${h}" keyword validation`
1034
1034
  }, e.keyword$DataError = {
@@ -1095,25 +1095,25 @@ ye.default = To;
1095
1095
  return $ && (j = (0, t.str)`${j}${(0, r.getErrorPath)($, r.Type.Str)}`), [m.schemaPath, j];
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: we } = 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}${we}`], [s.default.data, C]), ae && P.push([m.propertyName, ae]);
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]);
1100
1100
  }
1101
- })(ut);
1101
+ })(ft);
1102
1102
  Object.defineProperty(Be, "__esModule", { value: !0 });
1103
1103
  Be.boolOrEmptySchema = Be.topBoolOrEmptySchema = void 0;
1104
- const Io = ut, Mo = A, Vo = ye, Fo = {
1104
+ const Io = ft, Mo = K, Vo = ye, Fo = {
1105
1105
  message: "boolean schema is false"
1106
1106
  };
1107
- function Ko(e) {
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 = Ko;
1112
- function Ao(e, t) {
1111
+ Be.topBoolOrEmptySchema = Ao;
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 = Ao;
1116
+ Be.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 Q = {}, Ie = {};
1131
- Object.defineProperty(Ie, "__esModule", { value: !0 });
1132
- Ie.getRules = Ie.isJSONType = void 0;
1130
+ var X = {}, Me = {};
1131
+ Object.defineProperty(Me, "__esModule", { value: !0 });
1132
+ Me.getRules = Me.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
- Ie.isJSONType = Uo;
1137
+ Me.isJSONType = Uo;
1138
1138
  function Lo() {
1139
1139
  const e = {
1140
1140
  number: { type: "number", rules: [] },
@@ -1150,32 +1150,32 @@ function Lo() {
1150
1150
  keywords: {}
1151
1151
  };
1152
1152
  }
1153
- Ie.getRules = Lo;
1154
- var $e = {};
1155
- Object.defineProperty($e, "__esModule", { value: !0 });
1156
- $e.shouldUseRule = $e.shouldUseGroup = $e.schemaHasRulesForType = void 0;
1153
+ Me.getRules = Lo;
1154
+ var ge = {};
1155
+ Object.defineProperty(ge, "__esModule", { value: !0 });
1156
+ ge.shouldUseRule = ge.shouldUseGroup = ge.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
- $e.schemaHasRulesForType = Go;
1161
+ ge.schemaHasRulesForType = Go;
1162
1162
  function Ls(e, t) {
1163
1163
  return t.rules.some((r) => Gs(e, r));
1164
1164
  }
1165
- $e.shouldUseGroup = Ls;
1165
+ ge.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
- $e.shouldUseRule = Gs;
1171
- Object.defineProperty(Q, "__esModule", { value: !0 });
1172
- Q.reportTypeError = Q.checkDataTypes = Q.checkDataType = Q.coerceAndCheckDataType = Q.getJSONTypes = Q.getSchemaTypes = Q.DataType = void 0;
1173
- const Jo = Ie, Ho = $e, Bo = ut, F = A, Js = N;
1170
+ ge.shouldUseRule = Gs;
1171
+ Object.defineProperty(X, "__esModule", { value: !0 });
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
1174
  var Je;
1175
1175
  (function(e) {
1176
1176
  e[e.Correct = 0] = "Correct", e[e.Wrong = 1] = "Wrong";
1177
- })(Je || (Q.DataType = Je = {}));
1178
- function Do(e) {
1177
+ })(Je || (X.DataType = Je = {}));
1178
+ function Qo(e) {
1179
1179
  const t = Hs(e.type);
1180
1180
  if (t.includes("null")) {
1181
1181
  if (e.nullable === !1)
@@ -1187,36 +1187,36 @@ function Do(e) {
1187
1187
  }
1188
1188
  return t;
1189
1189
  }
1190
- Q.getSchemaTypes = Do;
1190
+ X.getSchemaTypes = Qo;
1191
1191
  function Hs(e) {
1192
1192
  const t = Array.isArray(e) ? e : e ? [e] : [];
1193
1193
  if (t.every(Jo.isJSONType))
1194
1194
  return t;
1195
1195
  throw new Error("type must be JSONType or JSONType[]: " + t.join(","));
1196
1196
  }
1197
- Q.getJSONTypes = Hs;
1198
- function Qo(e, t) {
1199
- const { gen: r, data: s, opts: n } = e, a = Xo(t, n.coerceTypes), i = t.length > 0 && !(a.length === 0 && t.length === 1 && (0, Ho.schemaHasRulesForType)(e, t[0]));
1197
+ X.getJSONTypes = Hs;
1198
+ function Xo(e, t) {
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
1201
  const d = ur(t, s, n.strictNumbers, Je.Wrong);
1202
1202
  r.if(d, () => {
1203
- a.length ? Yo(e, t, a) : fr(e);
1203
+ a.length ? Zo(e, t, a) : fr(e);
1204
1204
  });
1205
1205
  }
1206
1206
  return i;
1207
1207
  }
1208
- Q.coerceAndCheckDataType = Qo;
1208
+ X.coerceAndCheckDataType = Xo;
1209
1209
  const Bs = /* @__PURE__ */ new Set(["string", "number", "integer", "boolean", "null"]);
1210
- function Xo(e, t) {
1210
+ function Yo(e, t) {
1211
1211
  return t ? e.filter((r) => Bs.has(r) || t === "array" && r === "array") : [];
1212
1212
  }
1213
- function Yo(e, t, r) {
1213
+ function Zo(e, t, r) {
1214
1214
  const { gen: s, data: n, opts: a } = e, i = s.let("dataType", (0, F._)`typeof ${n}`), d = s.let("coerced", (0, F._)`undefined`);
1215
1215
  a.coerceTypes === "array" && s.if((0, F._)`${i} == 'object' && Array.isArray(${n}) && ${n}.length == 1`, () => s.assign(n, (0, F._)`${n}[0]`).assign(i, (0, F._)`typeof ${n}`).if(ur(t, n, a.strictNumbers), () => s.assign(d, n))), s.if((0, F._)`${d} !== undefined`);
1216
1216
  for (const l of r)
1217
1217
  (Bs.has(l) || l === "array" && a.coerceTypes === "array") && u(l);
1218
1218
  s.else(), fr(e), s.endIf(), s.if((0, F._)`${d} !== undefined`, () => {
1219
- s.assign(n, d), Zo(e, d);
1219
+ s.assign(n, d), Do(e, d);
1220
1220
  });
1221
1221
  function u(l) {
1222
1222
  switch (l) {
@@ -1243,7 +1243,7 @@ function Yo(e, t, r) {
1243
1243
  }
1244
1244
  }
1245
1245
  }
1246
- function Zo({ gen: e, parentData: t, parentDataProperty: r }, s) {
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
1249
  function nr(e, t, r, s = Je.Correct) {
@@ -1272,7 +1272,7 @@ function nr(e, t, r, s = Je.Correct) {
1272
1272
  return (0, F.and)((0, F._)`typeof ${t} == "number"`, d, r ? (0, F._)`isFinite(${t})` : F.nil);
1273
1273
  }
1274
1274
  }
1275
- Q.checkDataType = nr;
1275
+ X.checkDataType = nr;
1276
1276
  function ur(e, t, r, s) {
1277
1277
  if (e.length === 1)
1278
1278
  return nr(e[0], t, r, s);
@@ -1288,7 +1288,7 @@ function ur(e, t, r, s) {
1288
1288
  n = (0, F.and)(n, nr(i, t, r, s));
1289
1289
  return n;
1290
1290
  }
1291
- Q.checkDataTypes = ur;
1291
+ X.checkDataTypes = ur;
1292
1292
  const Wo = {
1293
1293
  message: ({ schema: e }) => `must be ${e}`,
1294
1294
  params: ({ schema: e, schemaValue: t }) => typeof e == "string" ? (0, F._)`{type: ${e}}` : (0, F._)`{type: ${t}}`
@@ -1297,7 +1297,7 @@ function fr(e) {
1297
1297
  const t = xo(e);
1298
1298
  (0, Bo.reportError)(t, Wo);
1299
1299
  }
1300
- Q.reportTypeError = fr;
1300
+ X.reportTypeError = fr;
1301
1301
  function xo(e) {
1302
1302
  const { gen: t, data: r, schema: s } = e, n = (0, Js.schemaRefOrVal)(e, s, "type");
1303
1303
  return {
@@ -1315,7 +1315,7 @@ function xo(e) {
1315
1315
  var jt = {};
1316
1316
  Object.defineProperty(jt, "__esModule", { value: !0 });
1317
1317
  jt.assignDefaults = void 0;
1318
- const ze = A, ea = N;
1318
+ const ze = K, ea = N;
1319
1319
  function ta(e, t) {
1320
1320
  const { properties: r, items: s } = e.schema;
1321
1321
  if (t === "object" && r)
@@ -1336,55 +1336,55 @@ function rs(e, t, r) {
1336
1336
  let u = (0, ze._)`${d} === undefined`;
1337
1337
  i.useDefaults === "empty" && (u = (0, ze._)`${u} || ${d} === null || ${d} === ""`), s.if(u, (0, ze._)`${d} = ${(0, ze.stringify)(r)}`);
1338
1338
  }
1339
- var pe = {}, K = {};
1340
- Object.defineProperty(K, "__esModule", { value: !0 });
1341
- K.validateUnion = K.validateArray = K.usePattern = K.callValidateCode = K.schemaProperties = K.allSchemaProperties = K.noPropertyInData = K.propertyInData = K.isOwnProperty = K.hasPropFunc = K.reportMissingProp = K.checkMissingProp = K.checkReportMissingProp = void 0;
1342
- const G = A, mr = N, Ee = ye, ra = N;
1339
+ var pe = {}, A = {};
1340
+ Object.defineProperty(A, "__esModule", { value: !0 });
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;
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
1346
  e.setParams({ missingProperty: (0, G._)`${t}` }, !0), e.error();
1347
1347
  });
1348
1348
  }
1349
- K.checkReportMissingProp = sa;
1349
+ A.checkReportMissingProp = sa;
1350
1350
  function na({ gen: e, data: t, it: { opts: r } }, s, n) {
1351
1351
  return (0, G.or)(...s.map((a) => (0, G.and)(pr(e, t, a, r.ownProperties), (0, G._)`${n} = ${a}`)));
1352
1352
  }
1353
- K.checkMissingProp = na;
1353
+ A.checkMissingProp = na;
1354
1354
  function oa(e, t) {
1355
1355
  e.setParams({ missingProperty: t }, !0), e.error();
1356
1356
  }
1357
- K.reportMissingProp = oa;
1358
- function Ds(e) {
1357
+ A.reportMissingProp = oa;
1358
+ 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
1362
  code: (0, G._)`Object.prototype.hasOwnProperty`
1363
1363
  });
1364
1364
  }
1365
- K.hasPropFunc = Ds;
1365
+ A.hasPropFunc = Qs;
1366
1366
  function hr(e, t, r) {
1367
- return (0, G._)`${Ds(e)}.call(${t}, ${r})`;
1367
+ return (0, G._)`${Qs(e)}.call(${t}, ${r})`;
1368
1368
  }
1369
- K.isOwnProperty = hr;
1369
+ A.isOwnProperty = hr;
1370
1370
  function aa(e, t, r, s) {
1371
1371
  const n = (0, G._)`${t}${(0, G.getProperty)(r)} !== undefined`;
1372
1372
  return s ? (0, G._)`${n} && ${hr(e, t, r)}` : n;
1373
1373
  }
1374
- K.propertyInData = aa;
1374
+ A.propertyInData = aa;
1375
1375
  function pr(e, t, r, s) {
1376
1376
  const n = (0, G._)`${t}${(0, G.getProperty)(r)} === undefined`;
1377
1377
  return s ? (0, G.or)(n, (0, G.not)(hr(e, t, r))) : n;
1378
1378
  }
1379
- K.noPropertyInData = pr;
1380
- function Qs(e) {
1379
+ A.noPropertyInData = pr;
1380
+ function Xs(e) {
1381
1381
  return e ? Object.keys(e).filter((t) => t !== "__proto__") : [];
1382
1382
  }
1383
- K.allSchemaProperties = Qs;
1383
+ A.allSchemaProperties = Xs;
1384
1384
  function ia(e, t) {
1385
- return Qs(t).filter((r) => !(0, mr.alwaysValidSchema)(e, t[r]));
1385
+ return Xs(t).filter((r) => !(0, mr.alwaysValidSchema)(e, t[r]));
1386
1386
  }
1387
- K.schemaProperties = ia;
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
1389
  const m = l ? (0, G._)`${e}, ${t}, ${s}${n}` : t, y = [
1390
1390
  [Ee.default.instancePath, (0, G.strConcat)(Ee.default.instancePath, a)],
@@ -1396,7 +1396,7 @@ function ca({ schemaCode: e, data: t, it: { gen: r, topSchemaRef: s, schemaPath:
1396
1396
  const b = (0, G._)`${m}, ${r.object(...y)}`;
1397
1397
  return u !== G.nil ? (0, G._)`${d}.call(${u}, ${b})` : (0, G._)`${d}(${b})`;
1398
1398
  }
1399
- K.callValidateCode = ca;
1399
+ A.callValidateCode = ca;
1400
1400
  const la = (0, G._)`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);
@@ -1406,7 +1406,7 @@ function da({ gen: e, it: { opts: t } }, r) {
1406
1406
  code: (0, G._)`${n.code === "new RegExp" ? la : (0, ra.useFunc)(e, n)}(${r}, ${s})`
1407
1407
  });
1408
1408
  }
1409
- K.usePattern = da;
1409
+ A.usePattern = da;
1410
1410
  function ua(e) {
1411
1411
  const { gen: t, data: r, keyword: s, it: n } = e, a = t.name("valid");
1412
1412
  if (n.allErrors) {
@@ -1425,7 +1425,7 @@ function ua(e) {
1425
1425
  });
1426
1426
  }
1427
1427
  }
1428
- K.validateArray = ua;
1428
+ A.validateArray = ua;
1429
1429
  function fa(e) {
1430
1430
  const { gen: t, schema: r, keyword: s, it: n } = e;
1431
1431
  if (!Array.isArray(r))
@@ -1442,17 +1442,17 @@ function fa(e) {
1442
1442
  t.assign(i, (0, G._)`${i} || ${d}`), e.mergeValidEvaluated(m, d) || t.if((0, G.not)(i));
1443
1443
  })), e.result(i, () => e.reset(), () => e.error(!0));
1444
1444
  }
1445
- K.validateUnion = fa;
1445
+ A.validateUnion = fa;
1446
1446
  Object.defineProperty(pe, "__esModule", { value: !0 });
1447
1447
  pe.validateKeywordUsage = pe.validSchemaType = pe.funcKeywordCode = pe.macroKeywordCode = void 0;
1448
- const ee = A, Re = ye, ma = K, ha = ut;
1448
+ const x = K, Oe = ye, ma = A, ha = ft;
1449
1449
  function pa(e, t) {
1450
- const { gen: r, keyword: s, schema: n, parentSchema: a, it: i } = e, d = t.macro.call(i.self, n, a, i), u = Xs(r, s, d);
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);
1452
1452
  const l = r.name("valid");
1453
1453
  e.subschema({
1454
1454
  schema: d,
1455
- schemaPath: ee.nil,
1455
+ schemaPath: x.nil,
1456
1456
  errSchemaPath: `${i.errSchemaPath}/${s}`,
1457
1457
  topSchemaRef: u,
1458
1458
  compositeRule: !0
@@ -1463,7 +1463,7 @@ function ya(e, t) {
1463
1463
  var r;
1464
1464
  const { gen: s, keyword: n, schema: a, parentSchema: i, $data: d, it: u } = e;
1465
1465
  va(u, t);
1466
- const l = !d && t.compile ? t.compile.call(u.self, a, i, u) : t.validate, m = Xs(s, n, l), y = s.let("valid");
1466
+ const l = !d && t.compile ? t.compile.call(u.self, a, i, u) : t.validate, m = Ys(s, n, l), y = s.let("valid");
1467
1467
  e.block$data(y, b), e.ok((r = t.valid) !== null && r !== void 0 ? r : y);
1468
1468
  function b() {
1469
1469
  if (t.errors === !1)
@@ -1475,40 +1475,40 @@ function ya(e, t) {
1475
1475
  }
1476
1476
  function E() {
1477
1477
  const f = s.let("ruleErrs", null);
1478
- return s.try(() => v((0, ee._)`await `), ($) => s.assign(y, !1).if((0, ee._)`${$} instanceof ${u.ValidationError}`, () => s.assign(f, (0, ee._)`${$}.errors`), () => s.throw($))), f;
1478
+ return s.try(() => v((0, x._)`await `), ($) => s.assign(y, !1).if((0, x._)`${$} instanceof ${u.ValidationError}`, () => s.assign(f, (0, x._)`${$}.errors`), () => s.throw($))), f;
1479
1479
  }
1480
1480
  function g() {
1481
- const f = (0, ee._)`${m}.errors`;
1482
- return s.assign(f, null), v(ee.nil), f;
1481
+ const f = (0, x._)`${m}.errors`;
1482
+ return s.assign(f, null), v(x.nil), f;
1483
1483
  }
1484
- function v(f = t.async ? (0, ee._)`await ` : ee.nil) {
1485
- const $ = u.opts.passContext ? Re.default.this : Re.default.self, P = !("compile" in t && !d || t.schema === !1);
1486
- s.assign(y, (0, ee._)`${f}${(0, ma.callValidateCode)(e, m, $, P)}`, t.modifying);
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);
1486
+ s.assign(y, (0, x._)`${f}${(0, ma.callValidateCode)(e, m, $, P)}`, t.modifying);
1487
1487
  }
1488
1488
  function h(f) {
1489
1489
  var $;
1490
- s.if((0, ee.not)(($ = t.valid) !== null && $ !== void 0 ? $ : y), f);
1490
+ s.if((0, x.not)(($ = t.valid) !== null && $ !== void 0 ? $ : y), f);
1491
1491
  }
1492
1492
  }
1493
1493
  pe.funcKeywordCode = ya;
1494
1494
  function ss(e) {
1495
1495
  const { gen: t, data: r, it: s } = e;
1496
- t.if(s.parentData, () => t.assign(r, (0, ee._)`${s.parentData}[${s.parentDataProperty}]`));
1496
+ t.if(s.parentData, () => t.assign(r, (0, x._)`${s.parentData}[${s.parentDataProperty}]`));
1497
1497
  }
1498
1498
  function _a(e, t) {
1499
1499
  const { gen: r } = e;
1500
- r.if((0, ee._)`Array.isArray(${t})`, () => {
1501
- r.assign(Re.default.vErrors, (0, ee._)`${Re.default.vErrors} === null ? ${t} : ${Re.default.vErrors}.concat(${t})`).assign(Re.default.errors, (0, ee._)`${Re.default.vErrors}.length`), (0, ha.extendErrors)(e);
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);
1502
1502
  }, () => e.error());
1503
1503
  }
1504
1504
  function va({ schemaEnv: e }, t) {
1505
1505
  if (t.async && !e.$async)
1506
1506
  throw new Error("async keyword in sync schema");
1507
1507
  }
1508
- function Xs(e, t, r) {
1508
+ function Ys(e, t, r) {
1509
1509
  if (r === void 0)
1510
1510
  throw new Error(`keyword "${t}" failed to compile`);
1511
- return e.scopeValue("keyword", typeof r == "function" ? { ref: r } : { ref: r, code: (0, ee.stringify)(r) });
1511
+ return e.scopeValue("keyword", typeof r == "function" ? { ref: r } : { ref: r, code: (0, x.stringify)(r) });
1512
1512
  }
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");
@@ -1532,7 +1532,7 @@ pe.validateKeywordUsage = ga;
1532
1532
  var Ne = {};
1533
1533
  Object.defineProperty(Ne, "__esModule", { value: !0 });
1534
1534
  Ne.extendSubschemaMode = Ne.extendSubschemaData = Ne.getSubschema = void 0;
1535
- const he = A, Ys = N;
1535
+ const he = 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');
@@ -1545,7 +1545,7 @@ function wa(e, { keyword: t, schemaProp: r, schema: s, schemaPath: n, errSchemaP
1545
1545
  } : {
1546
1546
  schema: d[r],
1547
1547
  schemaPath: (0, he._)`${e.schemaPath}${(0, he.getProperty)(t)}${(0, he.getProperty)(r)}`,
1548
- errSchemaPath: `${e.errSchemaPath}/${t}/${(0, Ys.escapeFragment)(r)}`
1548
+ errSchemaPath: `${e.errSchemaPath}/${t}/${(0, Zs.escapeFragment)(r)}`
1549
1549
  };
1550
1550
  }
1551
1551
  if (s !== void 0) {
@@ -1567,7 +1567,7 @@ function ba(e, t, { dataProp: r, dataPropType: s, data: n, dataTypes: a, propert
1567
1567
  const { gen: d } = t;
1568
1568
  if (r !== void 0) {
1569
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, Ys.getErrorPath)(r, s, y.jsPropertySyntax)}`, e.parentDataProperty = (0, he._)`${r}`, e.dataPathArr = [...m, e.parentDataProperty];
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];
1571
1571
  }
1572
1572
  if (n !== void 0) {
1573
1573
  const l = n instanceof he.Name ? n : d.let("data", n, !0);
@@ -1583,9 +1583,9 @@ function Ea(e, { jtdDiscriminator: t, jtdMetadata: r, compositeRule: s, createEr
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
1585
  Ne.extendSubschemaMode = Ea;
1586
- var Y = {};
1587
- Object.defineProperty(Y, "__esModule", { value: !0 });
1588
- Y.getSchemaRefs = Y.resolveUrl = Y.normalizeId = Y._getFullPath = Y.getFullPath = Y.inlineRef = void 0;
1586
+ var Z = {};
1587
+ Object.defineProperty(Z, "__esModule", { value: !0 });
1588
+ Z.getSchemaRefs = Z.resolveUrl = Z.normalizeId = Z._getFullPath = Z.getFullPath = Z.inlineRef = void 0;
1589
1589
  const Sa = N, Pa = Ps, ka = Tn, Na = /* @__PURE__ */ new Set([
1590
1590
  "type",
1591
1591
  "format",
@@ -1605,9 +1605,9 @@ const Sa = N, Pa = Ps, ka = Tn, Na = /* @__PURE__ */ new Set([
1605
1605
  "const"
1606
1606
  ]);
1607
1607
  function Ca(e, t = !0) {
1608
- return typeof e == "boolean" ? !0 : t === !0 ? !or(e) : t ? Zs(e) <= t : !1;
1608
+ return typeof e == "boolean" ? !0 : t === !0 ? !or(e) : t ? Ds(e) <= t : !1;
1609
1609
  }
1610
- Y.inlineRef = Ca;
1610
+ Z.inlineRef = Ca;
1611
1611
  const ja = /* @__PURE__ */ new Set([
1612
1612
  "$ref",
1613
1613
  "$recursiveRef",
@@ -1625,12 +1625,12 @@ function or(e) {
1625
1625
  }
1626
1626
  return !1;
1627
1627
  }
1628
- function Zs(e) {
1628
+ function Ds(e) {
1629
1629
  let t = 0;
1630
1630
  for (const r in e) {
1631
1631
  if (r === "$ref")
1632
1632
  return 1 / 0;
1633
- if (t++, !Na.has(r) && (typeof e[r] == "object" && (0, Sa.eachItem)(e[r], (s) => t += Zs(s)), t === 1 / 0))
1633
+ if (t++, !Na.has(r) && (typeof e[r] == "object" && (0, Sa.eachItem)(e[r], (s) => t += Ds(s)), t === 1 / 0))
1634
1634
  return 1 / 0;
1635
1635
  }
1636
1636
  return t;
@@ -1640,20 +1640,20 @@ function Ws(e, t = "", r) {
1640
1640
  const s = e.parse(t);
1641
1641
  return xs(e, s);
1642
1642
  }
1643
- Y.getFullPath = Ws;
1643
+ Z.getFullPath = Ws;
1644
1644
  function xs(e, t) {
1645
1645
  return e.serialize(t).split("#")[0] + "#";
1646
1646
  }
1647
- Y._getFullPath = xs;
1647
+ Z._getFullPath = xs;
1648
1648
  const Ra = /#\/?$/;
1649
1649
  function He(e) {
1650
1650
  return e ? e.replace(Ra, "") : "";
1651
1651
  }
1652
- Y.normalizeId = He;
1652
+ Z.normalizeId = He;
1653
1653
  function Oa(e, t, r) {
1654
1654
  return r = He(r), e.resolve(t, r);
1655
1655
  }
1656
- Y.resolveUrl = Oa;
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")
@@ -1689,10 +1689,10 @@ function Ia(e, t) {
1689
1689
  return new Error(`reference "${y}" resolves to more than one schema`);
1690
1690
  }
1691
1691
  }
1692
- Y.getSchemaRefs = Ia;
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 = Q, yr = $e, St = Q, Ma = jt, nt = pe, Bt = Ne, T = A, M = ye, Va = Y, ge = N, et = ut;
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;
1696
1696
  function Fa(e) {
1697
1697
  if (sn(e) && (nn(e), rn(e))) {
1698
1698
  qa(e);
@@ -1703,13 +1703,13 @@ function Fa(e) {
1703
1703
  fe.validateFunctionCode = Fa;
1704
1704
  function tn({ gen: e, validateName: t, schema: r, schemaEnv: s, opts: n }, a) {
1705
1705
  n.code.es5 ? e.func(t, (0, T._)`${M.default.data}, ${M.default.valCxt}`, s.$async, () => {
1706
- e.code((0, T._)`"use strict"; ${os(r, n)}`), Aa(e, n), e.code(a);
1707
- }) : e.func(t, (0, T._)`${M.default.data}, ${Ka(n)}`, s.$async, () => e.code(os(r, n)).code(a));
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));
1708
1708
  }
1709
- function Ka(e) {
1709
+ function Aa(e) {
1710
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}}={}`;
1711
1711
  }
1712
- function Aa(e, t) {
1712
+ function Ka(e, t) {
1713
1713
  e.if(M.default.valCxt, () => {
1714
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}`);
1715
1715
  }, () => {
@@ -1719,7 +1719,7 @@ function Aa(e, t) {
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), Da(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);
1723
1723
  });
1724
1724
  }
1725
1725
  function za(e) {
@@ -1755,7 +1755,7 @@ function La(e, t) {
1755
1755
  on(e, a), s.var(t, (0, T._)`${a} === ${M.default.errors}`);
1756
1756
  }
1757
1757
  function nn(e) {
1758
- (0, ge.checkUnknownRules)(e), Ga(e);
1758
+ (0, we.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, ge.schemaHasRulesButRef)(t, n.RULES) && n.logger.warn(`$ref: keywords ignored in schema at path "${r}"`);
1768
+ t.$ref && s.ignoreKeywordsWithRef && (0, we.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, ge.checkStrictMode)(e, "default is ignored in the schema root");
1772
+ t.default !== void 0 && r.useDefaults && r.strictSchema && (0, we.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];
@@ -1788,26 +1788,26 @@ function an({ gen: e, schemaEnv: t, schema: r, errSchemaPath: s, opts: n }) {
1788
1788
  e.code((0, T._)`${M.default.self}.opts.$comment(${a}, ${i}, ${d}.schema)`);
1789
1789
  }
1790
1790
  }
1791
- function Da(e) {
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 && Qa(e), t.return((0, T._)`${M.default.errors} === 0`));
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`));
1794
1794
  }
1795
- function Qa({ gen: e, evaluated: t, props: r, items: s }) {
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, ge.schemaHasRulesButRef)(a, m))) {
1800
+ if (a.$ref && (u.ignoreKeywordsWithRef || !(0, we.schemaHasRulesButRef)(a, m))) {
1801
1801
  n.block(() => dn(e, "$ref", m.all.$ref.definition));
1802
1802
  return;
1803
1803
  }
1804
- u.jtd || Xa(e, t), n.block(() => {
1804
+ u.jtd || Ya(e, t), n.block(() => {
1805
1805
  for (const b of m.rules)
1806
1806
  y(b);
1807
1807
  y(m.post);
1808
1808
  });
1809
1809
  function y(b) {
1810
- (0, yr.shouldUseGroup)(a, b) && (b.type ? (n.if((0, St.checkDataType)(b.type, i, u.strictNumbers)), is(e, b), t.length === 1 && t[0] === b.type && r && (n.else(), (0, St.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, 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}`));
1811
1811
  }
1812
1812
  }
1813
1813
  function is(e, t) {
@@ -1817,10 +1817,10 @@ function is(e, t) {
1817
1817
  (0, yr.shouldUseRule)(s, a) && dn(e, a.keyword, a.definition, t.type);
1818
1818
  });
1819
1819
  }
1820
- function Xa(e, t) {
1821
- e.schemaEnv.meta || !e.opts.strictTypes || (Ya(e, t), e.opts.allowUnionTypes || Za(e, t), Wa(e, e.dataTypes));
1822
- }
1823
1820
  function Ya(e, t) {
1821
+ e.schemaEnv.meta || !e.opts.strictTypes || (Za(e, t), e.opts.allowUnionTypes || Da(e, t), Wa(e, e.dataTypes));
1822
+ }
1823
+ function Za(e, t) {
1824
1824
  if (t.length) {
1825
1825
  if (!e.dataTypes.length) {
1826
1826
  e.dataTypes = t;
@@ -1831,7 +1831,7 @@ function Ya(e, t) {
1831
1831
  }), ei(e, t);
1832
1832
  }
1833
1833
  }
1834
- function Za(e, t) {
1834
+ function Da(e, t) {
1835
1835
  t.length > 1 && !(t.length === 2 && t.includes("null")) && _r(e, "use allowUnionTypes to allow union type keyword");
1836
1836
  }
1837
1837
  function Wa(e, t) {
@@ -1858,11 +1858,11 @@ 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, ge.checkStrictMode)(e, t, e.opts.strictTypes);
1861
+ t += ` at "${r}" (strictTypes)`, (0, we.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, ge.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, 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)
1866
1866
  this.schemaCode = t.gen.const("vSchema", un(this.$data, t));
1867
1867
  else if (this.schemaCode = this.schemaValue, !(0, nt.validSchemaType)(this.schema, r.schemaType, r.allowUndefined))
1868
1868
  throw new Error(`${s} value must be ${JSON.stringify(r.schemaType)}`);
@@ -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, St.checkDataTypes)(u, r, a.opts.strictNumbers, St.DataType.Wrong)}`;
1936
+ return (0, T._)`${(0, Pt.checkDataTypes)(u, r, a.opts.strictNumbers, Pt.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 = ge.mergeEvaluated.props(n, t.props, s.props, r)), s.items !== !0 && t.items !== void 0 && (s.items = ge.mergeEvaluated.items(n, t.items, s.items, r)));
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)));
1957
1957
  }
1958
1958
  mergeValidEvaluated(t, r) {
1959
1959
  const { it: s, gen: n } = this;
@@ -1993,34 +1993,34 @@ 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, ge.unescapeJsonPointer)(l))}`, i = (0, T._)`${i} && ${a}`);
1996
+ l && (a = (0, T._)`${a}${(0, T.getProperty)((0, we.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 ft = {};
2004
- Object.defineProperty(ft, "__esModule", { value: !0 });
2003
+ var mt = {};
2004
+ Object.defineProperty(mt, "__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
- ft.default = si;
2011
- var Qe = {};
2012
- Object.defineProperty(Qe, "__esModule", { value: !0 });
2013
- const Dt = Y;
2010
+ mt.default = si;
2011
+ var Xe = {};
2012
+ Object.defineProperty(Xe, "__esModule", { value: !0 });
2013
+ const Qt = Z;
2014
2014
  class ni extends Error {
2015
2015
  constructor(t, r, s, n) {
2016
- super(n || `can't resolve reference ${s} from id ${r}`), this.missingRef = (0, Dt.resolveUrl)(t, r, s), this.missingSchema = (0, Dt.normalizeId)((0, Dt.getFullPath)(t, this.missingRef));
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
- Qe.default = ni;
2019
+ Xe.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 = A, oi = ft, Ce = ye, ue = Y, cs = N, ai = fe;
2023
+ const ce = K, oi = mt, je = ye, ue = Z, cs = N, ai = fe;
2024
2024
  class Rt {
2025
2025
  constructor(t) {
2026
2026
  var r;
@@ -2045,10 +2045,10 @@ function vr(e) {
2045
2045
  const l = {
2046
2046
  gen: i,
2047
2047
  allErrors: this.opts.allErrors,
2048
- data: Ce.default.data,
2049
- parentData: Ce.default.parentData,
2050
- parentDataProperty: Ce.default.parentDataProperty,
2051
- dataNames: [Ce.default.data],
2048
+ data: je.default.data,
2049
+ parentData: je.default.parentData,
2050
+ parentDataProperty: je.default.parentDataProperty,
2051
+ dataNames: [je.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(Ce.default.scope)}return ${y}`, this.opts.code.process && (m = this.opts.code.process(m, e));
2075
- const E = new Function(`${Ce.default.self}`, `${Ce.default.scope}`, m)(this, this.scope.get());
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());
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 = {
@@ -2127,18 +2127,18 @@ function Ot(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
- return Qt.call(this, r, e);
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
2133
  const d = Ot.call(this, e, i);
2134
- return typeof (d == null ? void 0 : d.schema) != "object" ? void 0 : Qt.call(this, r, d);
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
2139
  return l && (n = (0, ue.resolveUrl)(this.opts.uriResolver, n, l)), new Rt({ schema: d, schemaId: u, root: e, baseId: n });
2140
2140
  }
2141
- return Qt.call(this, r, i);
2141
+ return Xt.call(this, r, i);
2142
2142
  }
2143
2143
  }
2144
2144
  re.resolveSchema = Ot;
@@ -2149,7 +2149,7 @@ const ui = /* @__PURE__ */ new Set([
2149
2149
  "dependencies",
2150
2150
  "definitions"
2151
2151
  ]);
2152
- function Qt(e, { baseId: t, schema: r, root: s }) {
2152
+ function Xt(e, { baseId: t, schema: r, root: s }) {
2153
2153
  var n;
2154
2154
  if (((n = e.fragment) === null || n === void 0 ? void 0 : n[0]) !== "/")
2155
2155
  return;
@@ -2205,7 +2205,7 @@ $r.default = mn;
2205
2205
  Object.defineProperty(e, "KeywordCxt", { enumerable: !0, get: function() {
2206
2206
  return t.KeywordCxt;
2207
2207
  } });
2208
- var r = A;
2208
+ var r = K;
2209
2209
  Object.defineProperty(e, "_", { enumerable: !0, get: function() {
2210
2210
  return r._;
2211
2211
  } }), Object.defineProperty(e, "str", { enumerable: !0, get: function() {
@@ -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 = ft, n = Qe, a = Ie, i = re, d = A, u = Y, l = Q, m = N, y = vi, b = $r, E = (k, p) => new RegExp(k, p);
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);
2223
2223
  E.code = "new RegExp";
2224
2224
  const g = ["removeAdditional", "useDefaults", "coerceTypes"], v = /* @__PURE__ */ new Set([
2225
2225
  "validate",
@@ -2257,21 +2257,21 @@ $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, _e, Ze, ve, qe, Mt, Vt, Ft, Kt, At, qt, zt, Ut, Lt, Gt;
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
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;
2262
2262
  return {
2263
2263
  strictSchema: (w = (c = k.strictSchema) !== null && c !== void 0 ? c : We) !== null && w !== void 0 ? w : !0,
2264
2264
  strictNumbers: (O = (R = k.strictNumbers) !== null && R !== void 0 ? R : We) !== null && O !== void 0 ? O : !0,
2265
2265
  strictTypes: (I = (q = k.strictTypes) !== null && q !== void 0 ? q : We) !== null && I !== void 0 ? I : "log",
2266
- strictTuples: (_e = (B = k.strictTuples) !== null && B !== void 0 ? B : We) !== null && _e !== void 0 ? _e : "log",
2267
- strictRequired: (ve = (Ze = k.strictRequired) !== null && Ze !== void 0 ? Ze : We) !== null && ve !== void 0 ? ve : !1,
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,
2268
2268
  code: k.code ? { ...k.code, optimize: Wr, regExp: xr } : { optimize: Wr, regExp: xr },
2269
2269
  loopRequired: (qe = k.loopRequired) !== null && qe !== void 0 ? qe : $,
2270
2270
  loopEnum: (Mt = k.loopEnum) !== null && Mt !== void 0 ? Mt : $,
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
- inlineRefs: (Kt = k.inlineRefs) !== null && Kt !== void 0 ? Kt : !0,
2274
- schemaId: (At = k.schemaId) !== null && At !== void 0 ? At : "$id",
2273
+ inlineRefs: (At = k.inlineRefs) !== null && At !== void 0 ? At : !0,
2274
+ schemaId: (Kt = k.schemaId) !== null && Kt !== void 0 ? Kt : "$id",
2275
2275
  addUsedSchema: (qt = k.addUsedSchema) !== null && qt !== void 0 ? qt : !0,
2276
2276
  validateSchema: (zt = k.validateSchema) !== null && zt !== void 0 ? zt : !0,
2277
2277
  validateFormats: (Ut = k.validateFormats) !== null && Ut !== void 0 ? Ut : !0,
@@ -2321,8 +2321,8 @@ $r.default = mn;
2321
2321
  return o.call(this, p, S);
2322
2322
  async function o(I, B) {
2323
2323
  await c.call(this, I.$schema);
2324
- const _e = this._addSchema(I, B);
2325
- return _e.validate || w.call(this, _e);
2324
+ const ve = this._addSchema(I, B);
2325
+ return ve.validate || w.call(this, ve);
2326
2326
  }
2327
2327
  async function c(I) {
2328
2328
  I && !this.getSchema(I) && await o.call(this, { $ref: I }, !0);
@@ -2448,14 +2448,14 @@ $r.default = mn;
2448
2448
  } else
2449
2449
  throw new Error("invalid addKeywords parameters");
2450
2450
  if (H.call(this, _, S), !S)
2451
- return (0, m.eachItem)(_, (c) => x.call(this, c)), this;
2452
- Ke.call(this, S);
2451
+ return (0, m.eachItem)(_, (c) => ee.call(this, c)), this;
2452
+ Ae.call(this, S);
2453
2453
  const o = {
2454
2454
  ...S,
2455
2455
  type: (0, l.getJSONTypes)(S.type),
2456
2456
  schemaType: (0, l.getJSONTypes)(S.schemaType)
2457
2457
  };
2458
- return (0, m.eachItem)(_, o.type.length === 0 ? (c) => x.call(this, c, o) : (c) => o.type.forEach((w) => x.call(this, c, o, w))), this;
2458
+ return (0, m.eachItem)(_, o.type.length === 0 ? (c) => ee.call(this, c, o) : (c) => o.type.forEach((w) => ee.call(this, c, o, w))), this;
2459
2459
  }
2460
2460
  getKeyword(p) {
2461
2461
  const S = this.RULES.all[p];
@@ -2491,7 +2491,7 @@ $r.default = mn;
2491
2491
  if (typeof O != "object")
2492
2492
  continue;
2493
2493
  const { $data: q } = O.definition, I = w[R];
2494
- q && I && (w[R] = Ae(I));
2494
+ q && I && (w[R] = Ke(I));
2495
2495
  }
2496
2496
  }
2497
2497
  return p;
@@ -2581,13 +2581,13 @@ $r.default = mn;
2581
2581
  delete k[p];
2582
2582
  return k;
2583
2583
  }
2584
- const we = { log() {
2584
+ const be = { log() {
2585
2585
  }, warn() {
2586
2586
  }, error() {
2587
2587
  } };
2588
2588
  function ie(k) {
2589
2589
  if (k === !1)
2590
- return we;
2590
+ return be;
2591
2591
  if (k === void 0)
2592
2592
  return console;
2593
2593
  if (k.log && k.warn && k.error)
@@ -2605,7 +2605,7 @@ $r.default = mn;
2605
2605
  }), !!p && p.$data && !("code" in p || "validate" in p))
2606
2606
  throw new Error('$data keyword must have "code" or "validate" function');
2607
2607
  }
2608
- function x(k, p, S) {
2608
+ function ee(k, p, S) {
2609
2609
  var _;
2610
2610
  const o = p == null ? void 0 : p.post;
2611
2611
  if (S && o)
@@ -2628,15 +2628,15 @@ $r.default = mn;
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 Ke(k) {
2631
+ function Ae(k) {
2632
2632
  let { metaSchema: p } = k;
2633
- p !== void 0 && (k.$data && this.opts.$data && (p = Ae(p)), k.validateSchema = this.compile(p, !0));
2633
+ p !== void 0 && (k.$data && this.opts.$data && (p = Ke(p)), k.validateSchema = this.compile(p, !0));
2634
2634
  }
2635
- const be = {
2635
+ const _e = {
2636
2636
  $ref: "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"
2637
2637
  };
2638
- function Ae(k) {
2639
- return { anyOf: [k, be] };
2638
+ function Ke(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 Me = {};
2652
- Object.defineProperty(Me, "__esModule", { value: !0 });
2653
- Me.callRef = Me.getValidate = void 0;
2654
- const gi = Qe, ls = K, te = A, Ue = ye, ds = re, yt = N, wi = {
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 = {
2655
2655
  keyword: "$ref",
2656
2656
  schemaType: "string",
2657
2657
  code(e) {
@@ -2666,13 +2666,13 @@ const gi = Qe, ls = K, te = A, Ue = ye, ds = re, yt = N, wi = {
2666
2666
  return E(m);
2667
2667
  function y() {
2668
2668
  if (a === l)
2669
- return wt(e, i, a, a.$async);
2669
+ return bt(e, i, a, a.$async);
2670
2670
  const g = t.scopeValue("root", { ref: l });
2671
- return wt(e, (0, te._)`${g}.validate`, l, l.$async);
2671
+ return bt(e, (0, te._)`${g}.validate`, l, l.$async);
2672
2672
  }
2673
2673
  function b(g) {
2674
2674
  const v = hn(e, g);
2675
- wt(e, v, g, g.$async);
2675
+ bt(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,8 +2690,8 @@ 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
- Me.getValidate = hn;
2694
- function wt(e, t, r, s) {
2693
+ Ve.getValidate = hn;
2694
+ function bt(e, t, r, s) {
2695
2695
  const { gen: n, it: a } = e, { allErrors: i, schemaEnv: d, opts: u } = a, l = u.passContext ? Ue.default.this : te.nil;
2696
2696
  s ? m() : y();
2697
2697
  function m() {
@@ -2718,24 +2718,24 @@ function wt(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 = yt.mergeEvaluated.props(n, h.props, a.props));
2721
+ h.props !== void 0 && (a.props = _t.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 = yt.mergeEvaluated.props(n, f, a.props, te.Name);
2724
+ a.props = _t.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 = yt.mergeEvaluated.items(n, h.items, a.items));
2728
+ h.items !== void 0 && (a.items = _t.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 = yt.mergeEvaluated.items(n, f, a.items, te.Name);
2731
+ a.items = _t.mergeEvaluated.items(n, f, a.items, te.Name);
2732
2732
  }
2733
2733
  }
2734
2734
  }
2735
- Me.callRef = wt;
2736
- Me.default = wi;
2735
+ Ve.callRef = bt;
2736
+ Ve.default = wi;
2737
2737
  Object.defineProperty(wr, "__esModule", { value: !0 });
2738
- const bi = br, Ei = Me, Si = [
2738
+ const bi = br, Ei = Ve, Si = [
2739
2739
  "$schema",
2740
2740
  "$id",
2741
2741
  "$defs",
@@ -2748,29 +2748,29 @@ const bi = br, Ei = Me, Si = [
2748
2748
  wr.default = Si;
2749
2749
  var Er = {}, Sr = {};
2750
2750
  Object.defineProperty(Sr, "__esModule", { value: !0 });
2751
- const Pt = A, Se = Pt.operators, kt = {
2751
+ const kt = K, Se = kt.operators, Nt = {
2752
2752
  maximum: { okStr: "<=", ok: Se.LTE, fail: Se.GT },
2753
2753
  minimum: { okStr: ">=", ok: Se.GTE, fail: Se.LT },
2754
2754
  exclusiveMaximum: { okStr: "<", ok: Se.LT, fail: Se.GTE },
2755
2755
  exclusiveMinimum: { okStr: ">", ok: Se.GT, fail: Se.LTE }
2756
2756
  }, Pi = {
2757
- message: ({ keyword: e, schemaCode: t }) => (0, Pt.str)`must be ${kt[e].okStr} ${t}`,
2758
- params: ({ keyword: e, schemaCode: t }) => (0, Pt._)`{comparison: ${kt[e].okStr}, limit: ${t}}`
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}}`
2759
2759
  }, ki = {
2760
- keyword: Object.keys(kt),
2760
+ keyword: Object.keys(Nt),
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, Pt._)`${r} ${kt[t].fail} ${s} || isNaN(${r})`);
2767
+ e.fail$data((0, kt._)`${r} ${Nt[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 = A, Ni = {
2773
+ const ot = K, Ni = {
2774
2774
  message: ({ schemaCode: e }) => (0, ot.str)`must be multiple of ${e}`,
2775
2775
  params: ({ schemaCode: e }) => (0, ot._)`{multipleOf: ${e}}`
2776
2776
  }, 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 Oe = A, ji = N, Ri = Nr, Oi = {
2800
+ const Te = K, ji = N, Ri = Nr, Oi = {
2801
2801
  message({ keyword: e, schemaCode: t }) {
2802
2802
  const r = e === "maxLength" ? "more" : "fewer";
2803
- return (0, Oe.str)`must NOT have ${r} than ${t} characters`;
2803
+ return (0, Te.str)`must NOT have ${r} than ${t} characters`;
2804
2804
  },
2805
- params: ({ schemaCode: e }) => (0, Oe._)`{limit: ${e}}`
2805
+ params: ({ schemaCode: e }) => (0, Te._)`{limit: ${e}}`
2806
2806
  }, Ti = {
2807
2807
  keyword: ["maxLength", "minLength"],
2808
2808
  type: "string",
@@ -2810,14 +2810,14 @@ const Oe = A, 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" ? Oe.operators.GT : Oe.operators.LT, i = n.opts.unicode === !1 ? (0, Oe._)`${r}.length` : (0, Oe._)`${(0, ji.useFunc)(e.gen, Ri.default)}(${r})`;
2814
- e.fail$data((0, Oe._)`${i} ${a} ${s}`);
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}`);
2815
2815
  }
2816
2816
  };
2817
2817
  kr.default = Ti;
2818
2818
  var Cr = {};
2819
2819
  Object.defineProperty(Cr, "__esModule", { value: !0 });
2820
- const Ii = K, Mi = N, Ge = A, Vi = {
2820
+ const Ii = A, Mi = N, Ge = K, Vi = {
2821
2821
  message: ({ schemaCode: e }) => (0, Ge.str)`must match pattern "${e}"`,
2822
2822
  params: ({ schemaCode: e }) => (0, Ge._)`{pattern: ${e}}`
2823
2823
  }, Fi = {
@@ -2840,27 +2840,27 @@ const Ii = K, Mi = N, Ge = A, Vi = {
2840
2840
  Cr.default = Fi;
2841
2841
  var jr = {};
2842
2842
  Object.defineProperty(jr, "__esModule", { value: !0 });
2843
- const at = A, Ki = {
2843
+ const at = K, Ai = {
2844
2844
  message({ keyword: e, schemaCode: t }) {
2845
2845
  const r = e === "maxProperties" ? "more" : "fewer";
2846
2846
  return (0, at.str)`must NOT have ${r} than ${t} properties`;
2847
2847
  },
2848
2848
  params: ({ schemaCode: e }) => (0, at._)`{limit: ${e}}`
2849
- }, Ai = {
2849
+ }, Ki = {
2850
2850
  keyword: ["maxProperties", "minProperties"],
2851
2851
  type: "object",
2852
2852
  schemaType: "number",
2853
2853
  $data: !0,
2854
- error: Ki,
2854
+ error: Ai,
2855
2855
  code(e) {
2856
2856
  const { keyword: t, data: r, schemaCode: s } = e, n = t === "maxProperties" ? at.operators.GT : at.operators.LT;
2857
2857
  e.fail$data((0, at._)`Object.keys(${r}).length ${n} ${s}`);
2858
2858
  }
2859
2859
  };
2860
- jr.default = Ai;
2860
+ jr.default = Ki;
2861
2861
  var Rr = {};
2862
2862
  Object.defineProperty(Rr, "__esModule", { value: !0 });
2863
- const tt = K, it = A, qi = N, zi = {
2863
+ const tt = A, it = K, qi = N, zi = {
2864
2864
  message: ({ params: { missingProperty: e } }) => (0, it.str)`must have required property '${e}'`,
2865
2865
  params: ({ params: { missingProperty: e } }) => (0, it._)`{missingProperty: ${e}}`
2866
2866
  }, Ui = {
@@ -2914,7 +2914,7 @@ const tt = K, it = A, qi = N, zi = {
2914
2914
  Rr.default = Ui;
2915
2915
  var Or = {};
2916
2916
  Object.defineProperty(Or, "__esModule", { value: !0 });
2917
- const ct = A, Li = {
2917
+ const ct = K, Li = {
2918
2918
  message({ keyword: e, schemaCode: t }) {
2919
2919
  const r = e === "maxItems" ? "more" : "fewer";
2920
2920
  return (0, ct.str)`must NOT have ${r} than ${t} items`;
@@ -2932,16 +2932,16 @@ const ct = A, Li = {
2932
2932
  }
2933
2933
  };
2934
2934
  Or.default = Gi;
2935
- var Tr = {}, mt = {};
2936
- Object.defineProperty(mt, "__esModule", { value: !0 });
2935
+ var Tr = {}, ht = {};
2936
+ Object.defineProperty(ht, "__esModule", { value: !0 });
2937
2937
  const yn = Ps;
2938
2938
  yn.code = 'require("ajv/dist/runtime/equal").default';
2939
- mt.default = yn;
2939
+ ht.default = yn;
2940
2940
  Object.defineProperty(Tr, "__esModule", { value: !0 });
2941
- const Xt = Q, X = A, Ji = N, Hi = mt, Bi = {
2942
- message: ({ params: { i: e, j: t } }) => (0, X.str)`must NOT have duplicate items (items ## ${t} and ${e} are identical)`,
2943
- params: ({ params: { i: e, j: t } }) => (0, X._)`{i: ${e}, j: ${t}}`
2944
- }, Di = {
2941
+ const Yt = X, Y = K, Ji = N, Hi = ht, Bi = {
2942
+ message: ({ params: { i: e, j: t } }) => (0, Y.str)`must NOT have duplicate items (items ## ${t} and ${e} are identical)`,
2943
+ params: ({ params: { i: e, j: t } }) => (0, Y._)`{i: ${e}, j: ${t}}`
2944
+ }, Qi = {
2945
2945
  keyword: "uniqueItems",
2946
2946
  type: "array",
2947
2947
  schemaType: "boolean",
@@ -2951,50 +2951,50 @@ const Xt = Q, X = A, Ji = N, Hi = mt, Bi = {
2951
2951
  const { gen: t, data: r, $data: s, schema: n, parentSchema: a, schemaCode: i, it: d } = e;
2952
2952
  if (!s && !n)
2953
2953
  return;
2954
- const u = t.let("valid"), l = a.items ? (0, Xt.getSchemaTypes)(a.items) : [];
2955
- e.block$data(u, m, (0, X._)`${i} === false`), e.ok(u);
2954
+ const u = t.let("valid"), l = a.items ? (0, Yt.getSchemaTypes)(a.items) : [];
2955
+ e.block$data(u, m, (0, Y._)`${i} === false`), e.ok(u);
2956
2956
  function m() {
2957
- const g = t.let("i", (0, X._)`${r}.length`), v = t.let("j");
2958
- e.setParams({ i: g, j: v }), t.assign(u, !0), t.if((0, X._)`${g} > 1`, () => (y() ? b : E)(g, v));
2957
+ const g = t.let("i", (0, Y._)`${r}.length`), v = t.let("j");
2958
+ e.setParams({ i: g, j: v }), t.assign(u, !0), t.if((0, Y._)`${g} > 1`, () => (y() ? b : E)(g, v));
2959
2959
  }
2960
2960
  function y() {
2961
2961
  return l.length > 0 && !l.some((g) => g === "object" || g === "array");
2962
2962
  }
2963
2963
  function b(g, v) {
2964
- const h = t.name("item"), f = (0, Xt.checkDataTypes)(l, h, d.opts.strictNumbers, Xt.DataType.Wrong), $ = t.const("indices", (0, X._)`{}`);
2965
- t.for((0, X._)`;${g}--;`, () => {
2966
- t.let(h, (0, X._)`${r}[${g}]`), t.if(f, (0, X._)`continue`), l.length > 1 && t.if((0, X._)`typeof ${h} == "string"`, (0, X._)`${h} += "_"`), t.if((0, X._)`typeof ${$}[${h}] == "number"`, () => {
2967
- t.assign(v, (0, X._)`${$}[${h}]`), e.error(), t.assign(u, !1).break();
2968
- }).code((0, X._)`${$}[${h}] = ${g}`);
2964
+ const h = t.name("item"), f = (0, Yt.checkDataTypes)(l, h, d.opts.strictNumbers, Yt.DataType.Wrong), $ = t.const("indices", (0, Y._)`{}`);
2965
+ t.for((0, Y._)`;${g}--;`, () => {
2966
+ t.let(h, (0, Y._)`${r}[${g}]`), t.if(f, (0, Y._)`continue`), l.length > 1 && t.if((0, Y._)`typeof ${h} == "string"`, (0, Y._)`${h} += "_"`), t.if((0, Y._)`typeof ${$}[${h}] == "number"`, () => {
2967
+ t.assign(v, (0, Y._)`${$}[${h}]`), e.error(), t.assign(u, !1).break();
2968
+ }).code((0, Y._)`${$}[${h}] = ${g}`);
2969
2969
  });
2970
2970
  }
2971
2971
  function E(g, v) {
2972
2972
  const h = (0, Ji.useFunc)(t, Hi.default), f = t.name("outer");
2973
- t.label(f).for((0, X._)`;${g}--;`, () => t.for((0, X._)`${v} = ${g}; ${v}--;`, () => t.if((0, X._)`${h}(${r}[${g}], ${r}[${v}])`, () => {
2973
+ t.label(f).for((0, Y._)`;${g}--;`, () => t.for((0, Y._)`${v} = ${g}; ${v}--;`, () => t.if((0, Y._)`${h}(${r}[${g}], ${r}[${v}])`, () => {
2974
2974
  e.error(), t.assign(u, !1).break(f);
2975
2975
  })));
2976
2976
  }
2977
2977
  }
2978
2978
  };
2979
- Tr.default = Di;
2979
+ Tr.default = Qi;
2980
2980
  var Ir = {};
2981
2981
  Object.defineProperty(Ir, "__esModule", { value: !0 });
2982
- const ar = A, Qi = N, Xi = mt, Yi = {
2982
+ const ar = K, Xi = N, Yi = ht, Zi = {
2983
2983
  message: "must be equal to constant",
2984
2984
  params: ({ schemaCode: e }) => (0, ar._)`{allowedValue: ${e}}`
2985
- }, Zi = {
2985
+ }, Di = {
2986
2986
  keyword: "const",
2987
2987
  $data: !0,
2988
- error: Yi,
2988
+ error: Zi,
2989
2989
  code(e) {
2990
2990
  const { gen: t, data: r, $data: s, schemaCode: n, schema: a } = e;
2991
- s || a && typeof a == "object" ? e.fail$data((0, ar._)`!${(0, Qi.useFunc)(t, Xi.default)}(${r}, ${n})`) : e.fail((0, ar._)`${a} !== ${r}`);
2991
+ s || a && typeof a == "object" ? e.fail$data((0, ar._)`!${(0, Xi.useFunc)(t, Yi.default)}(${r}, ${n})`) : e.fail((0, ar._)`${a} !== ${r}`);
2992
2992
  }
2993
2993
  };
2994
- Ir.default = Zi;
2994
+ Ir.default = Di;
2995
2995
  var Mr = {};
2996
2996
  Object.defineProperty(Mr, "__esModule", { value: !0 });
2997
- const rt = A, Wi = N, xi = mt, ec = {
2997
+ const rt = K, Wi = N, xi = ht, ec = {
2998
2998
  message: "must be equal to one of the allowed values",
2999
2999
  params: ({ schemaCode: e }) => (0, rt._)`{allowedValues: ${e}}`
3000
3000
  }, tc = {
@@ -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 = {}, Xe = {};
3054
- Object.defineProperty(Xe, "__esModule", { value: !0 });
3055
- Xe.validateAdditionalItems = void 0;
3056
- const Te = A, ir = N, mc = {
3057
- message: ({ params: { len: e } }) => (0, Te.str)`must NOT have more than ${e} items`,
3058
- params: ({ params: { len: e } }) => (0, Te._)`{limit: ${e}}`
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}}`
3059
3059
  }, hc = {
3060
3060
  keyword: "additionalItems",
3061
3061
  type: "array",
@@ -3074,25 +3074,25 @@ const Te = A, 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, Te._)`${n}.length`);
3077
+ const d = r.const("len", (0, Ie._)`${n}.length`);
3078
3078
  if (s === !1)
3079
- e.setParams({ len: t.length }), e.pass((0, Te._)`${d} <= ${t.length}`);
3079
+ e.setParams({ len: t.length }), e.pass((0, Ie._)`${d} <= ${t.length}`);
3080
3080
  else if (typeof s == "object" && !(0, ir.alwaysValidSchema)(i, s)) {
3081
- const l = r.var("valid", (0, Te._)`${d} <= ${t.length}`);
3082
- r.if((0, Te.not)(l), () => u(l)), e.ok(l);
3081
+ const l = r.var("valid", (0, Ie._)`${d} <= ${t.length}`);
3082
+ r.if((0, Ie.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, Te.not)(l), () => r.break());
3086
+ e.subschema({ keyword: a, dataProp: m, dataPropType: ir.Type.Num }, l), i.allErrors || r.if((0, Ie.not)(l), () => r.break());
3087
3087
  });
3088
3088
  }
3089
3089
  }
3090
- Xe.validateAdditionalItems = _n;
3091
- Xe.default = hc;
3092
- var Fr = {}, Ye = {};
3093
- Object.defineProperty(Ye, "__esModule", { value: !0 });
3094
- Ye.validateTuple = void 0;
3095
- const us = A, bt = N, pc = K, yc = {
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 = {
3096
3096
  keyword: "items",
3097
3097
  type: "array",
3098
3098
  schemaType: ["object", "array", "boolean"],
@@ -3101,15 +3101,15 @@ const us = A, bt = N, pc = K, 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, bt.alwaysValidSchema)(r, t) && e.ok((0, pc.validateArray)(e));
3104
+ r.items = !0, !(0, Et.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 = bt.mergeEvaluated.items(s, r.length, d.items));
3109
+ m(n), d.opts.unevaluated && r.length && d.items !== !0 && (d.items = Et.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, bt.alwaysValidSchema)(d, y) || (s.if((0, us._)`${l} > ${b}`, () => e.subschema({
3112
+ (0, Et.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, bt.checkStrictMode)(d, h, b.strictTuples);
3122
+ (0, Et.checkStrictMode)(d, h, b.strictTuples);
3123
3123
  }
3124
3124
  }
3125
3125
  }
3126
- Ye.validateTuple = vn;
3127
- Ye.default = yc;
3126
+ Ze.validateTuple = vn;
3127
+ Ze.default = yc;
3128
3128
  Object.defineProperty(Fr, "__esModule", { value: !0 });
3129
- const _c = Ye, vc = {
3129
+ const _c = Ze, vc = {
3130
3130
  keyword: "prefixItems",
3131
3131
  type: "array",
3132
3132
  schemaType: ["array"],
@@ -3134,9 +3134,9 @@ const _c = Ye, vc = {
3134
3134
  code: (e) => (0, _c.validateTuple)(e, "items")
3135
3135
  };
3136
3136
  Fr.default = vc;
3137
- var Kr = {};
3138
- Object.defineProperty(Kr, "__esModule", { value: !0 });
3139
- const fs = A, $c = N, gc = K, wc = Xe, bc = {
3137
+ var Ar = {};
3138
+ Object.defineProperty(Ar, "__esModule", { value: !0 });
3139
+ const fs = K, $c = N, gc = A, wc = Ye, 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 = {
@@ -3150,10 +3150,10 @@ const fs = A, $c = N, gc = K, wc = Xe, bc = {
3150
3150
  s.items = !0, !(0, $c.alwaysValidSchema)(s, t) && (n ? (0, wc.validateAdditionalItems)(e, n) : e.ok((0, gc.validateArray)(e)));
3151
3151
  }
3152
3152
  };
3153
- Kr.default = Ec;
3154
- var Ar = {};
3155
- Object.defineProperty(Ar, "__esModule", { value: !0 });
3156
- const oe = A, _t = N, Sc = {
3153
+ Ar.default = Ec;
3154
+ var Kr = {};
3155
+ Object.defineProperty(Kr, "__esModule", { value: !0 });
3156
+ const oe = K, vt = 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 = A, _t = 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, _t.checkStrictMode)(a, '"minContains" == 0 without "maxContains": "contains" keyword ignored');
3173
+ (0, vt.checkStrictMode)(a, '"minContains" == 0 without "maxContains": "contains" keyword ignored');
3174
3174
  return;
3175
3175
  }
3176
3176
  if (d !== void 0 && i > d) {
3177
- (0, _t.checkStrictMode)(a, '"minContains" > "maxContains" is always invalid'), e.fail();
3177
+ (0, vt.checkStrictMode)(a, '"minContains" > "maxContains" is always invalid'), e.fail();
3178
3178
  return;
3179
3179
  }
3180
- if ((0, _t.alwaysValidSchema)(a, r)) {
3180
+ if ((0, vt.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 = A, _t = N, Sc = {
3194
3194
  e.subschema({
3195
3195
  keyword: "contains",
3196
3196
  dataProp: f,
3197
- dataPropType: _t.Type.Num,
3197
+ dataPropType: vt.Type.Num,
3198
3198
  compositeRule: !0
3199
3199
  }, v), h();
3200
3200
  });
@@ -3204,11 +3204,11 @@ const oe = A, _t = N, Sc = {
3204
3204
  }
3205
3205
  }
3206
3206
  };
3207
- Ar.default = Pc;
3207
+ Kr.default = Pc;
3208
3208
  var $n = {};
3209
3209
  (function(e) {
3210
3210
  Object.defineProperty(e, "__esModule", { value: !0 }), e.validateSchemaDeps = e.validatePropertyDeps = e.error = void 0;
3211
- const t = A, r = N, s = K;
3211
+ const t = K, r = N, s = A;
3212
3212
  e.error = {
3213
3213
  message: ({ params: { property: u, depsCount: l, deps: m } }) => {
3214
3214
  const y = l === 1 ? "property" : "properties";
@@ -3278,7 +3278,7 @@ var $n = {};
3278
3278
  })($n);
3279
3279
  var qr = {};
3280
3280
  Object.defineProperty(qr, "__esModule", { value: !0 });
3281
- const gn = A, kc = N, Nc = {
3281
+ const gn = K, kc = N, Nc = {
3282
3282
  message: "property name must be valid",
3283
3283
  params: ({ params: e }) => (0, gn._)`{propertyName: ${e.propertyName}}`
3284
3284
  }, Cc = {
@@ -3307,7 +3307,7 @@ const gn = A, kc = N, Nc = {
3307
3307
  qr.default = Cc;
3308
3308
  var Tt = {};
3309
3309
  Object.defineProperty(Tt, "__esModule", { value: !0 });
3310
- const vt = K, le = A, jc = ye, $t = N, Rc = {
3310
+ const $t = A, le = K, jc = ye, gt = 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 vt = K, le = A, jc = ye, $t = 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, $t.alwaysValidSchema)(i, r))
3325
+ if (i.props = !0, u.removeAdditional !== "all" && (0, gt.alwaysValidSchema)(i, r))
3326
3326
  return;
3327
- const l = (0, vt.allSchemaProperties)(s.properties), m = (0, vt.allSchemaProperties)(s.patternProperties);
3327
+ const l = (0, $t.allSchemaProperties)(s.properties), m = (0, $t.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 vt = K, le = A, jc = ye, $t = N, Rc = {
3334
3334
  function b(h) {
3335
3335
  let f;
3336
3336
  if (l.length > 8) {
3337
- const $ = (0, $t.schemaRefOrVal)(i, s.properties, "properties");
3338
- f = (0, vt.isOwnProperty)(t, $, h);
3337
+ const $ = (0, gt.schemaRefOrVal)(i, s.properties, "properties");
3338
+ f = (0, $t.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, vt.usePattern)(e, $)}.test(${h})`))), (0, le.not)(f);
3340
+ return m.length && (f = (0, le.or)(f, ...m.map(($) => (0, le._)`${(0, $t.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 vt = K, le = A, jc = ye, $t = N, Rc = {
3351
3351
  e.setParams({ additionalProperty: h }), e.error(), d || t.break();
3352
3352
  return;
3353
3353
  }
3354
- if (typeof r == "object" && !(0, $t.alwaysValidSchema)(i, r)) {
3354
+ if (typeof r == "object" && !(0, gt.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 vt = K, le = A, jc = ye, $t = N, Rc = {
3362
3362
  const P = {
3363
3363
  keyword: "additionalProperties",
3364
3364
  dataProp: h,
3365
- dataPropType: $t.Type.Str
3365
+ dataPropType: gt.Type.Str
3366
3366
  };
3367
3367
  $ === !1 && Object.assign(P, {
3368
3368
  compositeRule: !0,
@@ -3375,7 +3375,7 @@ const vt = K, le = A, jc = ye, $t = N, Rc = {
3375
3375
  Tt.default = Oc;
3376
3376
  var zr = {};
3377
3377
  Object.defineProperty(zr, "__esModule", { value: !0 });
3378
- const Tc = fe, ms = K, Yt = N, hs = Tt, Ic = {
3378
+ const Tc = fe, ms = A, Zt = N, hs = Tt, Ic = {
3379
3379
  keyword: "properties",
3380
3380
  type: "object",
3381
3381
  schemaType: "object",
@@ -3385,8 +3385,8 @@ const Tc = fe, ms = K, Yt = N, hs = Tt, Ic = {
3385
3385
  const i = (0, ms.allSchemaProperties)(r);
3386
3386
  for (const y of i)
3387
3387
  a.definedProperties.add(y);
3388
- a.opts.unevaluated && i.length && a.props !== !0 && (a.props = Yt.mergeEvaluated.props(t, (0, Yt.toHash)(i), a.props));
3389
- const d = i.filter((y) => !(0, Yt.alwaysValidSchema)(a, r[y]));
3388
+ a.opts.unevaluated && i.length && a.props !== !0 && (a.props = Zt.mergeEvaluated.props(t, (0, Zt.toHash)(i), a.props));
3389
+ const d = i.filter((y) => !(0, Zt.alwaysValidSchema)(a, r[y]));
3390
3390
  if (d.length === 0)
3391
3391
  return;
3392
3392
  const u = t.name("valid");
@@ -3407,7 +3407,7 @@ const Tc = fe, ms = K, Yt = N, hs = Tt, Ic = {
3407
3407
  zr.default = Ic;
3408
3408
  var Ur = {};
3409
3409
  Object.defineProperty(Ur, "__esModule", { value: !0 });
3410
- const ps = K, gt = A, ys = N, _s = N, Mc = {
3410
+ const ps = A, wt = K, ys = N, _s = N, Mc = {
3411
3411
  keyword: "patternProperties",
3412
3412
  type: "object",
3413
3413
  schemaType: "object",
@@ -3416,7 +3416,7 @@ const ps = K, gt = A, 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 gt.Name) && (a.props = (0, _s.evaluatedPropsToName)(t, a.props));
3419
+ a.props !== !0 && !(a.props instanceof wt.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 = K, gt = A, ys = N, _s = N, Mc = {
3429
3429
  }
3430
3430
  function g(v) {
3431
3431
  t.forIn("key", s, (h) => {
3432
- t.if((0, gt._)`${(0, ps.usePattern)(e, v)}.test(${h})`, () => {
3432
+ t.if((0, wt._)`${(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, gt._)`${y}[${h}]`, !0) : !f && !a.allErrors && t.if((0, gt.not)(m), () => t.break());
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());
3440
3440
  });
3441
3441
  });
3442
3442
  }
@@ -3468,19 +3468,19 @@ const Vc = N, Fc = {
3468
3468
  Lr.default = Fc;
3469
3469
  var Gr = {};
3470
3470
  Object.defineProperty(Gr, "__esModule", { value: !0 });
3471
- const Kc = K, Ac = {
3471
+ const Ac = A, Kc = {
3472
3472
  keyword: "anyOf",
3473
3473
  schemaType: "array",
3474
3474
  trackErrors: !0,
3475
- code: Kc.validateUnion,
3475
+ code: Ac.validateUnion,
3476
3476
  error: { message: "must match a schema in anyOf" }
3477
3477
  };
3478
- Gr.default = Ac;
3478
+ Gr.default = Kc;
3479
3479
  var Jr = {};
3480
3480
  Object.defineProperty(Jr, "__esModule", { value: !0 });
3481
- const Et = A, qc = N, zc = {
3481
+ const St = K, qc = N, zc = {
3482
3482
  message: "must match exactly one schema in oneOf",
3483
- params: ({ params: e }) => (0, Et._)`{passingSchemas: ${e.passing}}`
3483
+ params: ({ params: e }) => (0, St._)`{passingSchemas: ${e.passing}}`
3484
3484
  }, Uc = {
3485
3485
  keyword: "oneOf",
3486
3486
  schemaType: "array",
@@ -3501,8 +3501,8 @@ const Et = A, qc = N, zc = {
3501
3501
  keyword: "oneOf",
3502
3502
  schemaProp: y,
3503
3503
  compositeRule: !0
3504
- }, u), y > 0 && t.if((0, Et._)`${u} && ${i}`).assign(i, !1).assign(d, (0, Et._)`[${d}, ${y}]`).else(), t.if(u, () => {
3505
- t.assign(i, !0), t.assign(d, y), b && e.mergeEvaluated(b, Et.Name);
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);
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 Nt = A, wn = N, Jc = {
3534
- message: ({ params: e }) => (0, Nt.str)`must match "${e.ifClause}" schema`,
3535
- params: ({ params: e }) => (0, Nt._)`{failingKeyword: ${e.ifClause}}`
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}}`
3536
3536
  }, Hc = {
3537
3537
  keyword: "if",
3538
3538
  schemaType: ["object", "boolean"],
@@ -3548,7 +3548,7 @@ const Nt = A, 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, Nt.not)(d), l("else"));
3551
+ } else n ? t.if(d, l("then")) : t.if((0, Ct.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 Nt = A, 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, Nt._)`${m}`) : e.setParams({ ifClause: m });
3565
+ t.assign(i, d), e.mergeValidEvaluated(b, i), y ? t.assign(y, (0, Ct._)`${m}`) : e.setParams({ ifClause: m });
3566
3566
  };
3567
3567
  }
3568
3568
  }
@@ -3572,18 +3572,18 @@ function vs(e, t) {
3572
3572
  return r !== void 0 && !(0, wn.alwaysValidSchema)(e, r);
3573
3573
  }
3574
3574
  Br.default = Hc;
3575
- var Dr = {};
3576
- Object.defineProperty(Dr, "__esModule", { value: !0 });
3577
- const Bc = N, Dc = {
3575
+ var Qr = {};
3576
+ Object.defineProperty(Qr, "__esModule", { value: !0 });
3577
+ const Bc = N, Qc = {
3578
3578
  keyword: ["then", "else"],
3579
3579
  schemaType: ["object", "boolean"],
3580
3580
  code({ keyword: e, parentSchema: t, it: r }) {
3581
3581
  t.if === void 0 && (0, Bc.checkStrictMode)(r, `"${e}" without "if" is ignored`);
3582
3582
  }
3583
3583
  };
3584
- Dr.default = Dc;
3584
+ Qr.default = Qc;
3585
3585
  Object.defineProperty(Vr, "__esModule", { value: !0 });
3586
- const Qc = Xe, Xc = Fr, Yc = Ye, Zc = Kr, Wc = Ar, xc = $n, el = qr, tl = Tt, rl = zr, sl = Ur, nl = Lr, ol = Gr, al = Jr, il = Hr, cl = Br, ll = Dr;
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;
3587
3587
  function dl(e = !1) {
3588
3588
  const t = [
3589
3589
  // any
@@ -3600,14 +3600,14 @@ function dl(e = !1) {
3600
3600
  rl.default,
3601
3601
  sl.default
3602
3602
  ];
3603
- return e ? t.push(Xc.default, Zc.default) : t.push(Qc.default, Yc.default), t.push(Wc.default), t;
3603
+ return e ? t.push(Yc.default, Dc.default) : t.push(Xc.default, Zc.default), t.push(Wc.default), t;
3604
3604
  }
3605
3605
  Vr.default = dl;
3606
- var Qr = {}, Xr = {};
3607
- Object.defineProperty(Xr, "__esModule", { value: !0 });
3608
- const D = A, ul = {
3609
- message: ({ schemaCode: e }) => (0, D.str)`must match format "${e}"`,
3610
- params: ({ schemaCode: e }) => (0, D._)`{format: ${e}}`
3606
+ var Xr = {}, Yr = {};
3607
+ Object.defineProperty(Yr, "__esModule", { value: !0 });
3608
+ const Q = K, ul = {
3609
+ message: ({ schemaCode: e }) => (0, Q.str)`must match format "${e}"`,
3610
+ params: ({ schemaCode: e }) => (0, Q._)`{format: ${e}}`
3611
3611
  }, fl = {
3612
3612
  keyword: "format",
3613
3613
  type: ["number", "string"],
@@ -3623,14 +3623,14 @@ const D = A, ul = {
3623
3623
  const g = r.scopeValue("formats", {
3624
3624
  ref: y.formats,
3625
3625
  code: u.code.formats
3626
- }), v = r.const("fDef", (0, D._)`${g}[${i}]`), h = r.let("fType"), f = r.let("format");
3627
- r.if((0, D._)`typeof ${v} == "object" && !(${v} instanceof RegExp)`, () => r.assign(h, (0, D._)`${v}.type || "string"`).assign(f, (0, D._)`${v}.validate`), () => r.assign(h, (0, D._)`"string"`).assign(f, v)), e.fail$data((0, D.or)($(), P()));
3626
+ }), v = r.const("fDef", (0, Q._)`${g}[${i}]`), h = r.let("fType"), f = r.let("format");
3627
+ r.if((0, Q._)`typeof ${v} == "object" && !(${v} instanceof RegExp)`, () => r.assign(h, (0, Q._)`${v}.type || "string"`).assign(f, (0, Q._)`${v}.validate`), () => r.assign(h, (0, Q._)`"string"`).assign(f, v)), e.fail$data((0, Q.or)($(), P()));
3628
3628
  function $() {
3629
- return u.strictSchema === !1 ? D.nil : (0, D._)`${i} && !${f}`;
3629
+ return u.strictSchema === !1 ? Q.nil : (0, Q._)`${i} && !${f}`;
3630
3630
  }
3631
3631
  function P() {
3632
- const j = m.$async ? (0, D._)`(${v}.async ? await ${f}(${s}) : ${f}(${s}))` : (0, D._)`${f}(${s})`, C = (0, D._)`(typeof ${f} == "function" ? ${j} : ${f}.test(${s}))`;
3633
- return (0, D._)`${f} && ${f} !== true && ${h} === ${t} && !${C}`;
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}))`;
3633
+ return (0, Q._)`${f} && ${f} !== true && ${h} === ${t} && !${C}`;
3634
3634
  }
3635
3635
  }
3636
3636
  function E() {
@@ -3654,28 +3654,28 @@ const D = A, ul = {
3654
3654
  }
3655
3655
  }
3656
3656
  function P(C) {
3657
- const U = C instanceof RegExp ? (0, D.regexpCode)(C) : u.code.formats ? (0, D._)`${u.code.formats}${(0, D.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, D._)`${J}.validate`] : ["string", C, J];
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];
3659
3659
  }
3660
3660
  function j() {
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");
3664
- return (0, D._)`await ${f}(${s})`;
3664
+ return (0, Q._)`await ${f}(${s})`;
3665
3665
  }
3666
- return typeof h == "function" ? (0, D._)`${f}(${s})` : (0, D._)`${f}.test(${s})`;
3666
+ return typeof h == "function" ? (0, Q._)`${f}(${s})` : (0, Q._)`${f}.test(${s})`;
3667
3667
  }
3668
3668
  }
3669
3669
  }
3670
3670
  };
3671
- Xr.default = fl;
3672
- Object.defineProperty(Qr, "__esModule", { value: !0 });
3673
- const ml = Xr, hl = [ml.default];
3674
- Qr.default = hl;
3675
- var De = {};
3676
- Object.defineProperty(De, "__esModule", { value: !0 });
3677
- De.contentVocabulary = De.metadataVocabulary = void 0;
3678
- De.metadataVocabulary = [
3671
+ Yr.default = fl;
3672
+ Object.defineProperty(Xr, "__esModule", { value: !0 });
3673
+ const ml = Yr, hl = [ml.default];
3674
+ Xr.default = hl;
3675
+ var Qe = {};
3676
+ Object.defineProperty(Qe, "__esModule", { value: !0 });
3677
+ Qe.contentVocabulary = Qe.metadataVocabulary = void 0;
3678
+ Qe.metadataVocabulary = [
3679
3679
  "title",
3680
3680
  "description",
3681
3681
  "default",
@@ -3684,13 +3684,13 @@ De.metadataVocabulary = [
3684
3684
  "writeOnly",
3685
3685
  "examples"
3686
3686
  ];
3687
- De.contentVocabulary = [
3687
+ Qe.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 = Qr, $s = De, $l = [
3693
+ const pl = wr, yl = Er, _l = Vr, vl = Xr, $s = Qe, $l = [
3694
3694
  pl.default,
3695
3695
  yl.default,
3696
3696
  (0, _l.default)(),
@@ -3699,15 +3699,15 @@ const pl = wr, yl = Er, _l = Vr, vl = Qr, $s = De, $l = [
3699
3699
  $s.contentVocabulary
3700
3700
  ];
3701
3701
  gr.default = $l;
3702
- var Yr = {}, It = {};
3702
+ var Zr = {}, It = {};
3703
3703
  Object.defineProperty(It, "__esModule", { value: !0 });
3704
3704
  It.DiscrError = void 0;
3705
3705
  var gs;
3706
3706
  (function(e) {
3707
3707
  e.Tag = "tag", e.Mapping = "mapping";
3708
3708
  })(gs || (It.DiscrError = gs = {}));
3709
- Object.defineProperty(Yr, "__esModule", { value: !0 });
3710
- const Le = A, cr = It, ws = re, gl = Qe, wl = N, bl = {
3709
+ Object.defineProperty(Zr, "__esModule", { value: !0 });
3710
+ const Le = K, cr = It, ws = re, gl = Xe, 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
3712
  params: ({ params: { discrError: e, tag: t, tagName: r } }) => (0, Le._)`{error: ${e}, tag: ${r}, tagValue: ${t}}`
3713
3713
  }, El = {
@@ -3778,7 +3778,7 @@ const Le = A, cr = It, ws = re, gl = Qe, wl = N, bl = {
3778
3778
  }
3779
3779
  }
3780
3780
  };
3781
- Yr.default = El;
3781
+ Zr.default = El;
3782
3782
  const Sl = "http://json-schema.org/draft-07/schema#", Pl = "http://json-schema.org/draft-07/schema#", kl = "Core schema meta-schema", Nl = {
3783
3783
  schemaArray: {
3784
3784
  type: "array",
@@ -4022,7 +4022,7 @@ const Sl = "http://json-schema.org/draft-07/schema#", Pl = "http://json-schema.o
4022
4022
  };
4023
4023
  (function(e, t) {
4024
4024
  Object.defineProperty(t, "__esModule", { value: !0 }), t.MissingRefError = t.ValidationError = t.CodeGen = t.Name = t.nil = t.stringify = t.str = t._ = t.KeywordCxt = t.Ajv = void 0;
4025
- const r = Vs, s = gr, n = Yr, a = Rl, i = ["/properties"], d = "http://json-schema.org/draft-07/schema";
4025
+ const r = Vs, s = gr, n = Zr, a = Rl, i = ["/properties"], d = "http://json-schema.org/draft-07/schema";
4026
4026
  class u extends r.default {
4027
4027
  _addVocabularies() {
4028
4028
  super._addVocabularies(), s.default.forEach((g) => this.addVocabulary(g)), this.opts.discriminator && this.addKeyword(n.default);
@@ -4042,7 +4042,7 @@ const Sl = "http://json-schema.org/draft-07/schema#", Pl = "http://json-schema.o
4042
4042
  Object.defineProperty(t, "KeywordCxt", { enumerable: !0, get: function() {
4043
4043
  return l.KeywordCxt;
4044
4044
  } });
4045
- var m = A;
4045
+ var m = K;
4046
4046
  Object.defineProperty(t, "_", { enumerable: !0, get: function() {
4047
4047
  return m._;
4048
4048
  } }), Object.defineProperty(t, "str", { enumerable: !0, get: function() {
@@ -4056,36 +4056,34 @@ 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 = ft;
4059
+ var y = mt;
4060
4060
  Object.defineProperty(t, "ValidationError", { enumerable: !0, get: function() {
4061
4061
  return y.default;
4062
4062
  } });
4063
- var b = Qe;
4063
+ var b = Xe;
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) => Ve(Ln, e), Il = (e) => Ve(Zr, e), yd = (e) => Ve(Un, e), _d = (e) => Ve(Ct, e), Ml = (e, t = 2e3) => {
4070
- const [r, s] = de(e), n = Fn(null), a = Il((u) => u.getActionStatus), i = ke(() => e == null ? void 0 : e.task_id, [e == null ? void 0 : e.task_id]), d = ke(() => e == null ? void 0 : e.actionId, [e == null ? void 0 : e.actionId]);
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]);
4071
4071
  return Wt(() => {
4072
- if ((e == null ? void 0 : e.outcome) !== "pending" || !i) return;
4073
- let u = !1;
4074
- const l = async () => {
4075
- const m = await a(d, i);
4076
- if (!m)
4077
- s({ outcome: "failure", done: !0 });
4078
- else if (m.outcome === "success" || m.outcome === "failure")
4079
- s({ ...m, done: !0 });
4080
- else {
4081
- if (u) return;
4082
- s({ ...m }), n.current = setTimeout(l, t);
4083
- }
4072
+ if ((e == null ? void 0 : e.outcome) !== "pending" || !d)
4073
+ return;
4074
+ let l = !1;
4075
+ const m = async () => {
4076
+ var E;
4077
+ const y = await i(u, d);
4078
+ if (l)
4079
+ return;
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);
4084
4082
  };
4085
- return l(), () => {
4086
- u = !0, n.current && clearTimeout(n.current);
4083
+ return m(), () => {
4084
+ l = !0, n.current && clearTimeout(n.current);
4087
4085
  };
4088
- }, [d, a, t, e == null ? void 0 : e.outcome, i]), Wt(() => {
4086
+ }, [u, i, t, e, e == null ? void 0 : e.outcome, a, d]), Wt(() => {
4089
4087
  s(e);
4090
4088
  }, [e]), ke(
4091
4089
  () => e || r ? { ...e, ...r } : void 0,
@@ -4093,7 +4091,7 @@ const Tl = /* @__PURE__ */ On(Ol), pd = (e) => Ve(Ln, e), Il = (e) => Ve(Zr, e),
4093
4091
  );
4094
4092
  }, Vl = ({ result: e, onClose: t, show: r = !1 }) => {
4095
4093
  var i, d;
4096
- const { t: s } = Ve(Ct, (u) => u.i18next), n = Ml(e), a = ke(
4094
+ const { t: s } = Ce(ut, (u) => u.i18next), n = Ml(e), a = ke(
4097
4095
  () => (n == null ? void 0 : n.outcome) === "success" || (n == null ? void 0 : n.outcome) === "failure" || (n == null ? void 0 : n.done),
4098
4096
  [n == null ? void 0 : n.done, n == null ? void 0 : n.outcome]
4099
4097
  );
@@ -4106,7 +4104,7 @@ const Tl = /* @__PURE__ */ On(Ol), pd = (e) => Ve(Ln, e), Il = (e) => Ve(Zr, e),
4106
4104
  /* @__PURE__ */ V(Gn, { size: "small", classification: n.action.classification })
4107
4105
  ] }),
4108
4106
  /* @__PURE__ */ V(Pe, { variant: "body1", children: n.action.summary }),
4109
- /* @__PURE__ */ V(Zt, { flexItem: !0 }),
4107
+ /* @__PURE__ */ V(Dt, { flexItem: !0 }),
4110
4108
  a ? /* @__PURE__ */ V(lt, { children: /* @__PURE__ */ V(Jn, { result: n }) }) : /* @__PURE__ */ W(se, { flex: 1, sx: { pt: 2, alignItems: "center" }, spacing: 1, children: [
4111
4109
  n.summary && /* @__PURE__ */ V(Pe, { variant: "caption", children: n.summary }),
4112
4110
  /* @__PURE__ */ V(
@@ -4125,7 +4123,7 @@ const Tl = /* @__PURE__ */ On(Ol), pd = (e) => Ve(Ln, e), Il = (e) => Ve(Zr, e),
4125
4123
  /* @__PURE__ */ V(st, { variant: "outlined", color: "error", onClick: t, children: s("close") })
4126
4124
  ] })
4127
4125
  ] }) }) }) }) : null;
4128
- }, Fl = Ns(Vl), Kl = new Tl({ removeAdditional: !0, coerceTypes: !0, strict: !1 }), Zr = Kn(null), vd = ({
4126
+ }, Fl = Ns(Vl), Al = new Tl({ removeAdditional: !0, coerceTypes: !0, strict: !1 }), Dr = An(null), vd = ({
4129
4127
  baseURL: e,
4130
4128
  children: t,
4131
4129
  classification: r,
@@ -4133,10 +4131,10 @@ const Tl = /* @__PURE__ */ On(Ol), pd = (e) => Ve(Ln, e), Il = (e) => Ve(Zr, e),
4133
4131
  getToken: n,
4134
4132
  onNetworkCall: a
4135
4133
  }) => {
4136
- const { t: i, i18n: d } = Ve(Ct, (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(() => {
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(() => {
4137
4135
  const z = {}, H = n == null ? void 0 : n();
4138
4136
  return H && (z.Authorization = `Bearer ${H}`), a ? a({ baseURL: e, headers: z }) : { baseURL: e, headers: z };
4139
- }, [e, n, a]), U = je(async () => {
4137
+ }, [e, n, a]), U = Re(async () => {
4140
4138
  if (!u)
4141
4139
  return;
4142
4140
  const z = await Ht.actions.get(C);
@@ -4145,15 +4143,15 @@ const Tl = /* @__PURE__ */ On(Ol), pd = (e) => Ve(Ln, e), Il = (e) => Ve(Zr, e),
4145
4143
  Wt(() => {
4146
4144
  U();
4147
4145
  }, [e, u]);
4148
- const J = je(
4149
- (z, H, x) => JSON.stringify({ type: z, value: H, classification: x ?? r }),
4146
+ const J = Re(
4147
+ (z, H, ee) => JSON.stringify({ type: z, value: H, classification: ee ?? r }),
4150
4148
  [r]
4151
- ), ne = je(
4152
- async (z, H, x, Fe) => {
4153
- const { forceMenu: Ke, onComplete: be, onCancel: Ae, skipMenu: k, skipResultModal: p, timeout: S, includeContext: _, extraContext: o } = {
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 } = {
4154
4152
  forceMenu: !1,
4155
- skipMenu: !1,
4156
4153
  skipResultModal: !1,
4154
+ skipMenu: !1,
4157
4155
  onComplete: null,
4158
4156
  onCancel: null,
4159
4157
  timeout: null,
@@ -4165,20 +4163,20 @@ const Tl = /* @__PURE__ */ On(Ol), pd = (e) => Ve(Ln, e), Il = (e) => Ve(Zr, e),
4165
4163
  throw new Error("Invalid action id");
4166
4164
  const c = H.map(
4167
4165
  (I) => I.type === "telemetry" ? { ...I, value: JSON.stringify(I.value) } : I
4168
- ), w = P[z], R = Kl.compile(w.params), O = { selectors: c, ...x };
4166
+ ), w = P[z], R = Al.compile(w.params), O = { selectors: c, ...ee };
4169
4167
  let q = null;
4170
4168
  if (_ && (q = {
4171
4169
  timestamp: Hn().toISOString(),
4172
4170
  url: window.location,
4173
4171
  language: (d == null ? void 0 : d.language) ?? "en"
4174
- }), Dn(o) || (q = {
4172
+ }), Qn(o) || (q = {
4175
4173
  ...q ?? {},
4176
4174
  ...o
4177
- }), $(!0), !R(O) || Ke) {
4178
- if (k && !Ke)
4175
+ }), $(!0), !R(O) || Ae) {
4176
+ if (k && !Ae)
4179
4177
  throw console.error(`Form is not valid (${R.errors.length} errors)`), new Error("Form is not completed");
4180
- (l == null ? void 0 : l.id) === z && (console.error(`Form is not valid (${R.errors.length} errors)`), pt(
4181
- new CustomEvent(ht, {
4178
+ (l == null ? void 0 : l.id) === z && (console.error(`Form is not valid (${R.errors.length} errors)`), yt(
4179
+ new CustomEvent(pt, {
4182
4180
  detail: {
4183
4181
  message: i("action.error.validation"),
4184
4182
  level: "error"
@@ -4191,8 +4189,8 @@ const Tl = /* @__PURE__ */ On(Ol), pd = (e) => Ve(Ln, e), Il = (e) => Ve(Zr, e),
4191
4189
  params: O ?? {},
4192
4190
  skipResultModal: p,
4193
4191
  context: q,
4194
- onComplete: be,
4195
- onCancel: Ae,
4192
+ onComplete: _e,
4193
+ onCancel: Ke,
4196
4194
  timeout: S
4197
4195
  });
4198
4196
  return;
@@ -4206,20 +4204,20 @@ const Tl = /* @__PURE__ */ On(Ol), pd = (e) => Ve(Ln, e), Il = (e) => Ve(Zr, e),
4206
4204
  { timeout: S },
4207
4205
  C
4208
4206
  ), B = { ...I, actionId: z, action: w, params: O };
4209
- be == null || be(B), b((_e) => {
4210
- const Ze = H.map((ve) => J(ve.type, ve.value, ve.classification));
4207
+ I.outcome !== "pending" && (_e == null || _e(B)), b((ve) => {
4208
+ const De = H.map(($e) => J($e.type, $e.value, $e.classification));
4211
4209
  return {
4212
- ..._e,
4213
- ...Ze.reduce(
4214
- (ve, qe) => ({
4215
- ...ve,
4216
- [qe]: [..._e[qe] ?? [], B]
4210
+ ...ve,
4211
+ ...De.reduce(
4212
+ ($e, qe) => ({
4213
+ ...$e,
4214
+ [qe]: [...ve[qe] ?? [], B]
4217
4215
  }),
4218
4216
  {}
4219
4217
  )
4220
4218
  };
4221
- }), pt(
4222
- new CustomEvent(ht, {
4219
+ }), yt(
4220
+ new CustomEvent(pt, {
4223
4221
  detail: {
4224
4222
  message: /* @__PURE__ */ W(se, { direction: "row", alignItems: "center", spacing: 0.5, width: "100%", children: [
4225
4223
  /* @__PURE__ */ V(Pe, { children: I.summary }),
@@ -4239,10 +4237,10 @@ const Tl = /* @__PURE__ */ On(Ol), pd = (e) => Ve(Ln, e), Il = (e) => Ve(Zr, e),
4239
4237
  }
4240
4238
  }
4241
4239
  })
4242
- ), I.outcome === "success" && m(null), I.outcome === "pending" && (h({ ...I, actionId: z, action: w }), 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"));
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"));
4243
4241
  } catch (I) {
4244
- pt(
4245
- new CustomEvent(ht, {
4242
+ yt(
4243
+ new CustomEvent(pt, {
4246
4244
  detail: {
4247
4245
  message: I.toString(),
4248
4246
  level: "error"
@@ -4254,15 +4252,15 @@ const Tl = /* @__PURE__ */ On(Ol), pd = (e) => Ve(Ln, e), Il = (e) => Ve(Zr, e),
4254
4252
  }
4255
4253
  },
4256
4254
  [P, s, J, d == null ? void 0 : d.language, C, l == null ? void 0 : l.id, i]
4257
- ), ae = je(
4255
+ ), ae = Re(
4258
4256
  async (z, H) => {
4259
4257
  try {
4260
4258
  return await Ht.actions.status.get(z, H, {}, C);
4261
- } catch (x) {
4262
- pt(
4263
- new CustomEvent(ht, {
4259
+ } catch (ee) {
4260
+ yt(
4261
+ new CustomEvent(pt, {
4264
4262
  detail: {
4265
- message: x.toString(),
4263
+ message: ee.toString(),
4266
4264
  level: "error"
4267
4265
  }
4268
4266
  })
@@ -4270,11 +4268,11 @@ const Tl = /* @__PURE__ */ On(Ol), pd = (e) => Ve(Ln, e), Il = (e) => Ve(Zr, e),
4270
4268
  }
4271
4269
  },
4272
4270
  [C]
4273
- ), me = je(() => {
4271
+ ), me = Re(() => {
4274
4272
  var z;
4275
4273
  (z = l == null ? void 0 : l.onCancel) == null || z.call(l), m(null), $(!1);
4276
- }, [l == null ? void 0 : l.onCancel]), we = je(
4277
- (z, H, x) => y[J(z, H, x)] ?? [],
4274
+ }, [l]), be = Re(
4275
+ (z, H, ee) => y[J(z, H, ee)] ?? [],
4278
4276
  [y, J]
4279
4277
  ), ie = ke(
4280
4278
  () => ({
@@ -4282,13 +4280,13 @@ const Tl = /* @__PURE__ */ On(Ol), pd = (e) => Ve(Ln, e), Il = (e) => Ve(Zr, e),
4282
4280
  executeAction: ne,
4283
4281
  cancelAction: me,
4284
4282
  getActionStatus: ae,
4285
- getActionResults: we,
4283
+ getActionResults: be,
4286
4284
  loading: f,
4287
4285
  refreshActions: U
4288
4286
  }),
4289
- [P, me, ne, we, ae, f, U]
4287
+ [P, me, ne, be, ae, f, U]
4290
4288
  );
4291
- return /* @__PURE__ */ W(Zr.Provider, { value: ie, children: [
4289
+ return /* @__PURE__ */ W(Dr.Provider, { value: ie, children: [
4292
4290
  t,
4293
4291
  /* @__PURE__ */ W(lt, { children: [
4294
4292
  l && /* @__PURE__ */ V(Ul, { runningActionData: l }),
@@ -4302,11 +4300,11 @@ const Tl = /* @__PURE__ */ On(Ol), pd = (e) => Ve(Ln, e), Il = (e) => Ve(Zr, e),
4302
4300
  )
4303
4301
  ] })
4304
4302
  ] });
4305
- }, Al = () => An(Zr), ql = En.map((e) => ({
4303
+ }, Kl = () => Kn(Dr), ql = En.map((e) => ({
4306
4304
  ...e,
4307
4305
  renderer: ({ ...t }) => /* @__PURE__ */ V(lt, { children: /* @__PURE__ */ V(e.renderer, { ...t }) })
4308
4306
  })), zl = ({ runningActionData: e }) => {
4309
- const { executeAction: t, cancelAction: r } = Al(), { t: s } = Ve(Ct, (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(
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(
4310
4308
  () => e != null && e.action ? { ...qn(e.action.params), ...e.action.extra_schema ?? {} } : null,
4311
4309
  [e == null ? void 0 : e.action]
4312
4310
  ), E = ke(
@@ -4327,7 +4325,7 @@ const Tl = /* @__PURE__ */ On(Ol), pd = (e) => Ve(Ln, e), Il = (e) => Ve(Zr, e),
4327
4325
  })
4328
4326
  }),
4329
4327
  [b == null ? void 0 : b.properties, b == null ? void 0 : b.required]
4330
- ), g = je(async () => {
4328
+ ), g = Re(async () => {
4331
4329
  try {
4332
4330
  a(!0);
4333
4331
  const v = {};
@@ -4394,7 +4392,7 @@ const Tl = /* @__PURE__ */ On(Ol), pd = (e) => Ve(Ln, e), Il = (e) => Ve(Zr, e),
4394
4392
  }
4395
4393
  ) })
4396
4394
  ] }),
4397
- /* @__PURE__ */ V(Zt, { orientation: "horizontal", variant: "middle" }),
4395
+ /* @__PURE__ */ V(Dt, { orientation: "horizontal", variant: "middle" }),
4398
4396
  /* @__PURE__ */ V(xe, { pt: 1.5 }),
4399
4397
  /* @__PURE__ */ W(se, { flexGrow: 1, direction: "row", spacing: 1, children: [
4400
4398
  /* @__PURE__ */ W(se, { direction: "column", flexGrow: 1, children: [
@@ -4429,7 +4427,7 @@ const Tl = /* @__PURE__ */ On(Ol), pd = (e) => Ve(Ln, e), Il = (e) => Ve(Zr, e),
4429
4427
  ] })
4430
4428
  ] }),
4431
4429
  /* @__PURE__ */ V(jn, { orientation: "horizontal", in: m, unmountOnExit: !0, mountOnEnter: !0, children: /* @__PURE__ */ W(se, { direction: "row", height: "100%", spacing: 1, children: [
4432
- /* @__PURE__ */ V(Zt, { orientation: "vertical" }),
4430
+ /* @__PURE__ */ V(Dt, { orientation: "vertical" }),
4433
4431
  /* @__PURE__ */ W(se, { children: [
4434
4432
  /* @__PURE__ */ V(Pe, { variant: "h5", children: s("action.data") }),
4435
4433
  /* @__PURE__ */ V(xe, { width: 600, height: "100%", children: /* @__PURE__ */ V(Rn, { data: u, slotProps: { stack: { height: "100%" }, json: { name: !1 } } }) })
@@ -4455,6 +4453,6 @@ export {
4455
4453
  _d as d,
4456
4454
  wo as e,
4457
4455
  Ml as f,
4458
- Zr as g,
4459
- Al as u
4456
+ Dr as g,
4457
+ Kl as u
4460
4458
  };