@gravitee/graphene-core 3.53.0-fix-found-460-validation-scope.93c7f36 → 3.53.0

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 (31) hide show
  1. package/dist/composed/JsonSchemaForm/JsonSchemaForm.d.ts +1 -21
  2. package/dist/composed/JsonSchemaForm/JsonSchemaForm.d.ts.map +1 -1
  3. package/dist/composed/JsonSchemaForm/conditional/concretizePath.d.ts +1 -1
  4. package/dist/composed/JsonSchemaForm/fields/oneOf/OneOfField.d.ts.map +1 -1
  5. package/dist/composed/JsonSchemaForm/form-bindings/extractDefaults.d.ts.map +1 -1
  6. package/dist/composed/JsonSchemaForm/form-bindings/jsonSchemaResolver.d.ts.map +1 -1
  7. package/dist/composed/JsonSchemaForm/form-bindings/pruneHiddenValues.d.ts +3 -4
  8. package/dist/composed/JsonSchemaForm/form-bindings/pruneHiddenValues.d.ts.map +1 -1
  9. package/dist/composed/JsonSchemaForm/form-bindings/resolveAt.d.ts +5 -11
  10. package/dist/composed/JsonSchemaForm/form-bindings/resolveAt.d.ts.map +1 -1
  11. package/dist/composed/JsonSchemaForm/index.d.ts +0 -2
  12. package/dist/composed/JsonSchemaForm/index.d.ts.map +1 -1
  13. package/dist/composed/JsonSchemaForm/models/JsonSchemaFormContext.d.ts +3 -7
  14. package/dist/composed/JsonSchemaForm/models/JsonSchemaFormContext.d.ts.map +1 -1
  15. package/dist/composed/JsonSchemaForm/models/jsonSchemaResolver.types.d.ts +0 -2
  16. package/dist/composed/JsonSchemaForm/models/jsonSchemaResolver.types.d.ts.map +1 -1
  17. package/dist/composed/JsonSchemaForm/schema/buildIndex.d.ts.map +1 -1
  18. package/dist/composed/JsonSchemaForm/schema/types.d.ts +5 -6
  19. package/dist/composed/JsonSchemaForm/schema/types.d.ts.map +1 -1
  20. package/dist/composed/JsonSchemaForm/schema/visibleFields.d.ts +0 -2
  21. package/dist/composed/JsonSchemaForm/schema/visibleFields.d.ts.map +1 -1
  22. package/dist/composed/JsonSchemaForm/utils/readPath.d.ts +2 -1
  23. package/dist/composed/JsonSchemaForm/utils/readPath.d.ts.map +1 -1
  24. package/dist/index.js +439 -1298
  25. package/package.json +1 -2
  26. package/dist/composed/JsonSchemaForm/fields/__test-utils__/errorVisibility.d.ts +0 -39
  27. package/dist/composed/JsonSchemaForm/fields/__test-utils__/errorVisibility.d.ts.map +0 -1
  28. package/dist/composed/JsonSchemaForm/form-bindings/hiddenFormErrors.d.ts +0 -38
  29. package/dist/composed/JsonSchemaForm/form-bindings/hiddenFormErrors.d.ts.map +0 -1
  30. package/dist/composed/JsonSchemaForm/schema/displayedErrorPaths.d.ts +0 -21
  31. package/dist/composed/JsonSchemaForm/schema/displayedErrorPaths.d.ts.map +0 -1
package/dist/index.js CHANGED
@@ -29805,9 +29805,8 @@ function xY(e) {
29805
29805
  e !== void 0 && (t[n] = e);
29806
29806
  }
29807
29807
  let n = (e.oneOf ?? e.anyOf)?.find((e) => !$J(e));
29808
- if (n?.properties) for (let [e, r] of Object.entries(n.properties)) {
29809
- let n = pY(r);
29810
- if (n) t[e] = structuredClone(n.value);
29808
+ if (n?.properties) {
29809
+ for (let [e, r] of Object.entries(n.properties)) if (r.const !== void 0) t[e] = r.const;
29811
29810
  else if (!(e in t)) {
29812
29811
  let n = xY(r);
29813
29812
  n !== void 0 && (t[e] = n);
@@ -30039,7 +30038,7 @@ function FY({ index: e, path: n, itemsNode: r, itemTitle: i, depth: a, inline: o
30039
30038
  basePath: f,
30040
30039
  disabled: c
30041
30040
  },
30042
- children: /* @__PURE__ */ U(TX, {
30041
+ children: /* @__PURE__ */ U(SX, {
30043
30042
  node: r,
30044
30043
  name: "",
30045
30044
  depth: a + 1,
@@ -30583,112 +30582,85 @@ function cX(e, t) {
30583
30582
  //#endregion
30584
30583
  //#region src/composed/JsonSchemaForm/fields/oneOf/OneOfField.tsx
30585
30584
  function lX({ node: e, depth: t }) {
30586
- let n = b(), { control: r, index: i, basePath: a, testIdPrefix: o, onVariantChange: s } = n, { schema: c } = e, l = i.variantIndices, u = qe(() => e.variants ?? [], [e.variants]), d = dX(a, n.name), [f, p] = Xe(() => nX(u.map((e) => e.raw), d, l, (e) => r._getWatch(a ? `${a}.${e}` : e))), [m, h] = Xe(!1), g = pX(a ? O(r._defaultValues, a) : r._defaultValues), _ = (u[f] ?? u[0])?.consts ?? [], v = _.map(({ key: e }) => a ? `${a}.${e}` : e), y = M({
30587
- control: r,
30588
- name: v.length > 0 ? v : [uX]
30589
- }), x = _.every(({ value: e }, t) => JSON.stringify(y[t]) === JSON.stringify(e)), S = qe(() => u[f]?.dependencyBranches ?? [], [u, f]), w = Ye(!1);
30590
- if (Ue(() => {
30591
- w.current && (w.current = !1, s?.(d, f));
30592
- }, [
30593
- s,
30594
- d,
30595
- f
30596
- ]), u.length === 0) return null;
30597
- let T = u[f] ?? u[0], E = n.disabled || c.readOnly === !0, D = `${a || "root"}-variant`, j = (e) => {
30598
- if (e === f) {
30599
- l.set(d, e), h(!0);
30600
- return;
30601
- }
30602
- let t = u[f];
30585
+ let n = b(), { control: r, index: i, basePath: a, testIdPrefix: o } = n, { schema: s } = e, c = i.variantIndices, l = qe(() => e.variants ?? [], [e.variants]), [u, d] = Xe(() => nX(l.map((e) => e.raw), a, c, (e) => r._getWatch(a ? `${a}.${e}` : e))), f = qe(() => l[u]?.dependencyBranches ?? [], [l, u]);
30586
+ if (l.length === 0) return null;
30587
+ let p = l[u] ?? l[0], m = n.disabled || s.readOnly === !0, h = `${a || "root"}-variant`, g = (e) => {
30588
+ if (e === u) return;
30589
+ let t = l[u];
30603
30590
  if (t) {
30604
30591
  for (let e of t.properties.keys()) r.unregister(a ? `${a}.${e}` : e);
30605
30592
  for (let e of t.dependencyBranches ?? []) for (let t of e.properties.keys()) r.unregister(a ? `${a}.${t}` : t);
30606
30593
  }
30607
- l.set(d, e), w.current = !0, h(!0), p(e);
30608
- }, N = t === 0 ? c.title || "Variant" : null;
30594
+ c.set(a, e), d(e);
30595
+ }, _ = t === 0 ? s.title || "Variant" : null;
30609
30596
  return /* @__PURE__ */ W($e, { children: [
30610
30597
  /* @__PURE__ */ W(k, { children: [
30611
- N !== null && /* @__PURE__ */ U(R, {
30612
- htmlFor: D,
30613
- children: N
30598
+ _ !== null && /* @__PURE__ */ U(R, {
30599
+ htmlFor: h,
30600
+ children: _
30614
30601
  }),
30615
30602
  /* @__PURE__ */ W(wH, {
30616
- value: x ? String(f) : "",
30617
- onValueChange: (e) => j(Number(e)),
30618
- disabled: E,
30603
+ value: String(u),
30604
+ onValueChange: (e) => g(Number(e)),
30605
+ disabled: m,
30619
30606
  children: [/* @__PURE__ */ U(DH, {
30620
- id: D,
30621
- "aria-label": N === null ? "Variant" : void 0,
30607
+ id: h,
30608
+ "aria-label": _ === null ? "Variant" : void 0,
30622
30609
  "data-testid": A(o, a, "variant"),
30623
30610
  children: /* @__PURE__ */ U(EH, { placeholder: "Select a variant…" })
30624
- }), /* @__PURE__ */ U(OH, { children: u.map((e, t) => /* @__PURE__ */ U(AH, {
30611
+ }), /* @__PURE__ */ U(OH, { children: l.map((e, t) => /* @__PURE__ */ U(AH, {
30625
30612
  value: String(t),
30626
30613
  "data-testid": A(o, a, `variant-option-${t}`),
30627
30614
  children: e.raw.title ?? `Variant ${t + 1}`
30628
30615
  }, t)) })]
30629
30616
  }),
30630
- t === 0 && c.description && /* @__PURE__ */ U(C, { children: c.description }),
30631
- c.gioConfig?.banner && /* @__PURE__ */ U(F, { banner: c.gioConfig.banner }),
30632
- T.raw.description && /* @__PURE__ */ U(C, { children: T.raw.description }),
30633
- T.raw.gioConfig?.banner && /* @__PURE__ */ U(F, { banner: T.raw.gioConfig.banner })
30617
+ t === 0 && s.description && /* @__PURE__ */ U(C, { children: s.description }),
30618
+ s.gioConfig?.banner && /* @__PURE__ */ U(F, { banner: s.gioConfig.banner }),
30619
+ p.raw.description && /* @__PURE__ */ U(C, { children: p.raw.description }),
30620
+ p.raw.gioConfig?.banner && /* @__PURE__ */ U(F, { banner: p.raw.gioConfig.banner })
30634
30621
  ] }),
30635
- T.consts.map(({ key: e, value: t }) => /* @__PURE__ */ U(fX, {
30622
+ p.consts.map(({ key: e, value: t }) => /* @__PURE__ */ U(uX, {
30636
30623
  path: a ? `${a}.${e}` : e,
30637
- value: t,
30638
- fill: g,
30639
- picked: m
30624
+ value: t
30640
30625
  }, e)),
30641
- Array.from(T.properties).filter(([, e]) => e.schema.const === void 0).map(([e, n]) => /* @__PURE__ */ U(TX, {
30626
+ Array.from(p.properties).filter(([, e]) => e.schema.const === void 0).map(([e, n]) => /* @__PURE__ */ U(SX, {
30642
30627
  node: n,
30643
30628
  name: e,
30644
30629
  depth: t + 1
30645
- }, `${f}-${e}`)),
30646
- S.length > 0 && /* @__PURE__ */ U(tX, {
30647
- branches: S,
30630
+ }, `${u}-${e}`)),
30631
+ f.length > 0 && /* @__PURE__ */ U(tX, {
30632
+ branches: f,
30648
30633
  basePath: a
30649
30634
  }),
30650
- S.map((e, n) => /* @__PURE__ */ U(IJ, {
30635
+ f.map((e, n) => /* @__PURE__ */ U(IJ, {
30651
30636
  condition: BJ(e.showIf, a),
30652
- children: Array.from(e.properties).map(([e, n]) => /* @__PURE__ */ U(TX, {
30637
+ children: Array.from(e.properties).map(([e, n]) => /* @__PURE__ */ U(SX, {
30653
30638
  node: n,
30654
30639
  name: e,
30655
30640
  depth: t + 1
30656
30641
  }, e))
30657
- }, `${f}-var-dep-${n}`))
30642
+ }, `${u}-var-dep-${n}`))
30658
30643
  ] });
30659
30644
  }
30660
- var uX = "__no-discriminator__";
30661
- function dX(e, t) {
30662
- return t ? e === t ? "" : e.startsWith(`${t}.`) ? e.slice(t.length + 1) : e : e;
30663
- }
30664
- function fX({ path: e, value: t, fill: n, picked: r }) {
30665
- let { control: i } = b(), { field: a } = I({
30666
- control: i,
30645
+ function uX({ path: e, value: t }) {
30646
+ let { control: n } = b(), { field: r } = I({
30647
+ control: n,
30667
30648
  name: e
30668
- }), { onChange: o, value: s } = a;
30649
+ }), { onChange: i } = r;
30669
30650
  return Ue(() => {
30670
- (r ? JSON.stringify(s) !== JSON.stringify(t) : n && s === void 0) && o(structuredClone(t));
30671
- }, [
30672
- n,
30673
- r,
30674
- s,
30675
- o,
30676
- t
30677
- ]), null;
30678
- }
30679
- function pX(e) {
30680
- return e == null ? !0 : typeof e != "object" || Array.isArray(e) ? !1 : Object.values(e).every((e) => e === void 0);
30651
+ i(t);
30652
+ }, [i, t]), null;
30681
30653
  }
30682
30654
  //#endregion
30683
30655
  //#region src/composed/JsonSchemaForm/fields/object/ObjectField.tsx
30684
- function mX({ node: e, name: n, depth: r, hiddenTitle: i }) {
30656
+ function dX({ node: e, name: n, depth: r, hiddenTitle: i }) {
30685
30657
  let a = b(), { schema: o } = e, s = n ? a.basePath ? `${a.basePath}.${n}` : n : a.basePath, c = tY(o) || nY(o), l = qe(() => e.dependencyBranches ?? [], [e.dependencyBranches]), u = l.length > 0, d = (e.properties || c || u) && /* @__PURE__ */ U(P.Provider, {
30686
30658
  value: {
30687
30659
  ...a,
30688
30660
  basePath: s
30689
30661
  },
30690
30662
  children: /* @__PURE__ */ W(L, { children: [
30691
- e.properties && Array.from(e.properties).map(([e, t]) => /* @__PURE__ */ U(TX, {
30663
+ e.properties && Array.from(e.properties).map(([e, t]) => /* @__PURE__ */ U(SX, {
30692
30664
  node: t,
30693
30665
  name: e,
30694
30666
  depth: r + 1
@@ -30699,7 +30671,7 @@ function mX({ node: e, name: n, depth: r, hiddenTitle: i }) {
30699
30671
  }),
30700
30672
  l.map((e, t) => /* @__PURE__ */ U(IJ, {
30701
30673
  condition: BJ(e.showIf, s),
30702
- children: Array.from(e.properties).map(([e, t]) => /* @__PURE__ */ U(TX, {
30674
+ children: Array.from(e.properties).map(([e, t]) => /* @__PURE__ */ U(SX, {
30703
30675
  node: t,
30704
30676
  name: e,
30705
30677
  depth: r + 1
@@ -30729,7 +30701,7 @@ function mX({ node: e, name: n, depth: r, hiddenTitle: i }) {
30729
30701
  }
30730
30702
  //#endregion
30731
30703
  //#region src/composed/PasswordInput/PasswordInput.tsx
30732
- function hX({ groupClassName: e, showLabel: t = "Show password", hideLabel: n = "Hide password", hideToggle: r = !1, className: i, disabled: a, "data-testid": o, ...s }) {
30704
+ function fX({ groupClassName: e, showLabel: t = "Show password", hideLabel: n = "Hide password", hideToggle: r = !1, className: i, disabled: a, "data-testid": o, ...s }) {
30733
30705
  let [c, l] = Xe(!1);
30734
30706
  return /* @__PURE__ */ W($A, {
30735
30707
  className: e,
@@ -30757,15 +30729,15 @@ function hX({ groupClassName: e, showLabel: t = "Show password", hideLabel: n =
30757
30729
  })]
30758
30730
  });
30759
30731
  }
30760
- hX.displayName = "PasswordInput";
30732
+ fX.displayName = "PasswordInput";
30761
30733
  //#endregion
30762
30734
  //#region src/composed/JsonSchemaForm/fields/string/StringField.tsx
30763
- var gX = "{#request.headers['x-custom'] == 'value'}";
30764
- function _X({ node: n, name: r, hiddenTitle: i }) {
30735
+ var pX = "{#request.headers['x-custom'] == 'value'}";
30736
+ function mX({ node: n, name: r, hiddenTitle: i }) {
30765
30737
  let { control: a, basePath: o, disabled: s, testIdPrefix: c } = b(), { schema: l } = n, u = r ? o ? `${o}.${r}` : r : o, { field: d, fieldState: f } = I({
30766
30738
  control: a,
30767
30739
  name: u
30768
- }), p = i ?? T(l, r), m = s || l.readOnly === !0, h = f.invalid, g = typeof d.value == "string" ? d.value : "", v = l.gioConfig?.el === !0, y = (Array.isArray(l.examples) && l.examples[0] !== void 0 && l.examples[0] !== null ? String(l.examples[0]) : void 0) ?? (l.default !== void 0 && l.default !== null ? String(l.default) : void 0) ?? (v ? gX : void 0), x = v ? "font-mono text-xs" : void 0, S = {
30740
+ }), p = i ?? T(l, r), m = s || l.readOnly === !0, h = f.invalid, g = typeof d.value == "string" ? d.value : "", v = l.gioConfig?.el === !0, y = (Array.isArray(l.examples) && l.examples[0] !== void 0 && l.examples[0] !== null ? String(l.examples[0]) : void 0) ?? (l.default !== void 0 && l.default !== null ? String(l.default) : void 0) ?? (v ? pX : void 0), x = v ? "font-mono text-xs" : void 0, S = {
30769
30741
  id: u,
30770
30742
  value: g,
30771
30743
  onChange: d.onChange,
@@ -30794,7 +30766,7 @@ function _X({ node: n, name: r, hiddenTitle: i }) {
30794
30766
  l.format === "text" ? /* @__PURE__ */ U(e, {
30795
30767
  ...S,
30796
30768
  className: x
30797
- }) : l.format === "password" ? /* @__PURE__ */ U(hX, {
30769
+ }) : l.format === "password" ? /* @__PURE__ */ U(fX, {
30798
30770
  ...S,
30799
30771
  pattern: l.pattern
30800
30772
  }) : /* @__PURE__ */ U(QA, {
@@ -30813,23 +30785,23 @@ function _X({ node: n, name: r, hiddenTitle: i }) {
30813
30785
  }
30814
30786
  //#endregion
30815
30787
  //#region src/composed/JsonSchemaForm/fields/resource/ResourceTypeField.tsx
30816
- function vX({ node: e, name: t }) {
30817
- let { externalContext: n } = b(), r = xX(n);
30818
- return r === null ? /* @__PURE__ */ U(_X, {
30788
+ function hX({ node: e, name: t }) {
30789
+ let { externalContext: n } = b(), r = vX(n);
30790
+ return r === null ? /* @__PURE__ */ U(mX, {
30819
30791
  node: e,
30820
30792
  name: t
30821
- }) : /* @__PURE__ */ U(yX, {
30793
+ }) : /* @__PURE__ */ U(gX, {
30822
30794
  node: e,
30823
30795
  name: t,
30824
30796
  injected: r
30825
30797
  });
30826
30798
  }
30827
- function yX({ node: e, name: t, injected: n }) {
30799
+ function gX({ node: e, name: t, injected: n }) {
30828
30800
  let { control: r, basePath: i, disabled: a, testIdPrefix: o } = b(), { schema: s } = e, c = t ? i ? `${i}.${t}` : t : i, { field: l, fieldState: u } = I({
30829
30801
  control: r,
30830
30802
  name: c,
30831
30803
  defaultValue: s.default
30832
- }), { ref: d, onBlur: f } = l, p = bX(s.gioConfig?.uiTypeProps?.resourceType), m = (e) => p.length === 0 || p.some((t) => e.startsWith(t)), h = n.filter((e) => m(e.type)).map((e) => e.name), g = typeof l.value == "string" ? l.value : "";
30804
+ }), { ref: d, onBlur: f } = l, p = _X(s.gioConfig?.uiTypeProps?.resourceType), m = (e) => p.length === 0 || p.some((t) => e.startsWith(t)), h = n.filter((e) => m(e.type)).map((e) => e.name), g = typeof l.value == "string" ? l.value : "";
30833
30805
  g !== "" && !h.includes(g) && h.unshift(g);
30834
30806
  let v = T(s, t), y = a || s.readOnly === !0, x = h.length === 0 ? "No matching resources on this API" : "Select a resource…";
30835
30807
  return /* @__PURE__ */ W(k, {
@@ -30867,17 +30839,17 @@ function yX({ node: e, name: t, injected: n }) {
30867
30839
  ]
30868
30840
  });
30869
30841
  }
30870
- function bX(e) {
30842
+ function _X(e) {
30871
30843
  return typeof e == "string" ? [e] : Array.isArray(e) ? e.filter((e) => typeof e == "string") : [];
30872
30844
  }
30873
- function xX(e) {
30845
+ function vX(e) {
30874
30846
  let t = e?.resources;
30875
30847
  return Array.isArray(t) ? t.filter((e) => typeof e == "object" && !!e && typeof e.name == "string" && typeof e.type == "string") : null;
30876
30848
  }
30877
30849
  //#endregion
30878
30850
  //#region src/composed/JsonSchemaForm/utils/fieldKind.ts
30879
- function SX(e) {
30880
- let t = CX(e.type);
30851
+ function yX(e) {
30852
+ let t = bX(e.type);
30881
30853
  if (e.const !== void 0 && e.type === void 0 && e.enum === void 0) return "const";
30882
30854
  if (Array.isArray(e.enum) && e.enum.length > 0 || YJ(e)) return "enum";
30883
30855
  if (XJ(e)) return "multiSelect";
@@ -30891,19 +30863,19 @@ function SX(e) {
30891
30863
  if (e.properties || t === "object" || tY(e) || nY(e)) return "object";
30892
30864
  if (t === "array" && e.items && !Array.isArray(e.items)) return "array";
30893
30865
  }
30894
- function CX(e) {
30866
+ function bX(e) {
30895
30867
  return Array.isArray(e) ? e.find((e) => e !== "null") ?? e[0] : e;
30896
30868
  }
30897
30869
  //#endregion
30898
30870
  //#region src/composed/JsonSchemaForm/SchemaField.tsx
30899
- var wX = ze(() => import("./CodeEditorField-DJcqc1vU.js").then((e) => ({ default: e.CodeEditorField })));
30900
- function TX({ node: e, name: t, depth: n = 0, hiddenTitle: r }) {
30871
+ var xX = ze(() => import("./CodeEditorField-DJcqc1vU.js").then((e) => ({ default: e.CodeEditorField })));
30872
+ function SX({ node: e, name: t, depth: n = 0, hiddenTitle: r }) {
30901
30873
  let { basePath: i } = b(), { schema: a } = e, o = t ?? "", s = t ? i ? `${i}.${t}` : t : i, c = qe(() => [s], [s]), l = qe(() => Object.prototype.hasOwnProperty.call(a, "default") ? {
30902
30874
  path: s,
30903
30875
  value: a.default
30904
30876
  } : void 0, [a, s]), u = qe(() => e.displayIf ? BJ(e.displayIf, i) : void 0, [e.displayIf, i]), d = qe(() => e.disableIf ? BJ(e.disableIf, i) : void 0, [e.disableIf, i]);
30905
30877
  if (a.deprecated === !0) return null;
30906
- let f = EX(e, o, t, n, r);
30878
+ let f = CX(e, o, t, n, r);
30907
30879
  return f === null ? null : (d && (f = /* @__PURE__ */ U(RJ, {
30908
30880
  condition: d,
30909
30881
  children: f
@@ -30914,8 +30886,8 @@ function TX({ node: e, name: t, depth: n = 0, hiddenTitle: r }) {
30914
30886
  children: f
30915
30887
  }) : f);
30916
30888
  }
30917
- function EX(e, t, n, r, i) {
30918
- let { schema: a } = e, o = SX(a);
30889
+ function CX(e, t, n, r, i) {
30890
+ let { schema: a } = e, o = yX(a);
30919
30891
  switch (o) {
30920
30892
  case "const": return /* @__PURE__ */ U(WY, {
30921
30893
  node: e,
@@ -30937,7 +30909,7 @@ function EX(e, t, n, r, i) {
30937
30909
  });
30938
30910
  case "codeEditor": return /* @__PURE__ */ U(Fe, {
30939
30911
  fallback: null,
30940
- children: /* @__PURE__ */ U(wX, {
30912
+ children: /* @__PURE__ */ U(xX, {
30941
30913
  node: e,
30942
30914
  name: t
30943
30915
  })
@@ -30953,16 +30925,16 @@ function EX(e, t, n, r, i) {
30953
30925
  name: t,
30954
30926
  hiddenTitle: i
30955
30927
  });
30956
- case "resourceType": return /* @__PURE__ */ U(vX, {
30928
+ case "resourceType": return /* @__PURE__ */ U(hX, {
30957
30929
  node: e,
30958
30930
  name: t
30959
30931
  });
30960
- case "string": return /* @__PURE__ */ U(_X, {
30932
+ case "string": return /* @__PURE__ */ U(mX, {
30961
30933
  node: e,
30962
30934
  name: t,
30963
30935
  hiddenTitle: i
30964
30936
  });
30965
- case "object": return /* @__PURE__ */ U(mX, {
30937
+ case "object": return /* @__PURE__ */ U(dX, {
30966
30938
  node: e,
30967
30939
  name: n,
30968
30940
  depth: r,
@@ -30973,25 +30945,21 @@ function EX(e, t, n, r, i) {
30973
30945
  name: n,
30974
30946
  depth: r
30975
30947
  });
30976
- case void 0: return console.warn(`[JsonSchemaForm] No renderer for schema at "${n ?? "root"}" (${DX(a)}). Field is omitted.`), null;
30948
+ case void 0: return console.warn(`[JsonSchemaForm] No renderer for schema at "${n ?? "root"}" (${wX(a)}). Field is omitted.`), null;
30977
30949
  default: return o;
30978
30950
  }
30979
30951
  }
30980
- function DX(e) {
30952
+ function wX(e) {
30981
30953
  return e.type ? Array.isArray(e.type) ? e.type.join("|") : e.type : e.oneOf ? "oneOf" : e.anyOf ? "anyOf" : e.allOf ? "allOf" : "unknown";
30982
30954
  }
30983
30955
  //#endregion
30984
30956
  //#region src/composed/JsonSchemaForm/JsonSchemaForm.tsx
30985
- function OX({ schema: e, control: t, name: n = "", disabled: r = !1, context: i, "data-testid": a, variantPicks: o, onVariantChange: s }) {
30986
- let c = qe(() => {
30957
+ function TX({ schema: e, control: t, name: n = "", disabled: r = !1, context: i, "data-testid": a }) {
30958
+ let o = qe(() => {
30987
30959
  try {
30988
- let t = lY(e, n);
30989
30960
  return {
30990
30961
  ok: !0,
30991
- value: o ? {
30992
- ...t,
30993
- variantIndices: o
30994
- } : t
30962
+ value: lY(e, n)
30995
30963
  };
30996
30964
  } catch (e) {
30997
30965
  return {
@@ -30999,72 +30967,64 @@ function OX({ schema: e, control: t, name: n = "", disabled: r = !1, context: i,
30999
30967
  error: e instanceof Error ? e.message : "Unknown schema error"
31000
30968
  };
31001
30969
  }
31002
- }, [
31003
- e,
31004
- n,
31005
- o
31006
- ]), l = qe(() => c.ok ? {
30970
+ }, [e, n]), s = qe(() => o.ok ? {
31007
30971
  ok: !0,
31008
30972
  contextValue: {
31009
30973
  control: t,
31010
30974
  basePath: n,
31011
30975
  disabled: r,
31012
30976
  externalContext: i,
31013
- name: n,
31014
- onVariantChange: s,
31015
- index: c.value,
30977
+ index: o.value,
31016
30978
  testIdPrefix: a
31017
30979
  }
31018
30980
  } : {
31019
30981
  ok: !1,
31020
- error: c.error
30982
+ error: o.error
31021
30983
  }, [
31022
- c,
30984
+ o,
31023
30985
  t,
31024
30986
  n,
31025
30987
  r,
31026
30988
  i,
31027
- a,
31028
- s
30989
+ a
31029
30990
  ]);
31030
- return l.ok ? /* @__PURE__ */ U(P.Provider, {
31031
- value: l.contextValue,
31032
- children: /* @__PURE__ */ U(TX, { node: l.contextValue.index.root })
30991
+ return s.ok ? /* @__PURE__ */ U(P.Provider, {
30992
+ value: s.contextValue,
30993
+ children: /* @__PURE__ */ U(SX, { node: s.contextValue.index.root })
31033
30994
  }) : /* @__PURE__ */ W("p", {
31034
30995
  role: "alert",
31035
30996
  className: "text-sm text-destructive",
31036
30997
  "data-testid": A(a, "schema-error"),
31037
- children: ["Schema error: ", l.error]
30998
+ children: ["Schema error: ", s.error]
31038
30999
  });
31039
31000
  }
31040
31001
  //#endregion
31041
31002
  //#region src/composed/JsonSchemaForm/schema/visibleFields.ts
31042
- var kX = [];
31043
- function AX(e, t, n, r) {
31044
- let i = [...e.properties ?? []], a = [...e.dependencyBranches ?? []], o = jX(e, t, n, r), s = o === void 0 ? void 0 : e.variants?.[o];
31003
+ var EX = [];
31004
+ function DX(e, t, n, r) {
31005
+ let i = [...e.properties ?? []], a = [...e.dependencyBranches ?? []], o = OX(e, t, n, r), s = o === void 0 ? void 0 : e.variants?.[o];
31045
31006
  s && (i.push(...s.properties), a.push(...s.dependencyBranches ?? []));
31046
31007
  let c = [];
31047
- for (let e of a) NX(e.showIf, n, r) ? i.push(...e.properties) : c.push(...e.properties.keys());
31008
+ for (let e of a) AX(e.showIf, n, r) ? i.push(...e.properties) : c.push(...e.properties.keys());
31048
31009
  let l = new Set(i.map(([e]) => e)), u = new Set(c.filter((e) => !l.has(e))), d = i.map(([e, t]) => ({
31049
31010
  key: e,
31050
31011
  node: t,
31051
- path: FX(n, e)
31052
- })), f = /* @__PURE__ */ new Set();
31053
- for (let e of d) e.node.displayIf && !NX(e.node.displayIf, e.path, r) && (u.add(e.key), f.add(e.key));
31012
+ path: MX(n, e)
31013
+ }));
31014
+ for (let e of d) e.node.displayIf && !AX(e.node.displayIf, e.path, r) && u.add(e.key);
31054
31015
  return {
31055
31016
  visible: d.filter((e) => !u.has(e.key)),
31056
31017
  hiddenKeys: [...u],
31057
- hiddenByDisplayIf: [...f],
31058
- inactiveVariantKeys: MX(e, o, new Set([...l, ...c])),
31018
+ inactiveVariantKeys: kX(e, o, new Set([...l, ...c])),
31059
31019
  consts: s?.consts ?? [],
31060
31020
  activeVariantIndex: s ? o : void 0
31061
31021
  };
31062
31022
  }
31063
- function jX(e, t, n, r) {
31023
+ function OX(e, t, n, r) {
31064
31024
  if (!(!e.variants || e.variants.length === 0)) return nX(e.variants.map((e) => e.raw), n, r.variantPicks, (e) => t[e]);
31065
31025
  }
31066
- function MX(e, t, n) {
31067
- if (!e.variants || e.variants.length < 2) return kX;
31026
+ function kX(e, t, n) {
31027
+ if (!e.variants || e.variants.length < 2) return EX;
31068
31028
  let r = /* @__PURE__ */ new Set();
31069
31029
  return e.variants.forEach((e, i) => {
31070
31030
  if (i === t) return;
@@ -31072,11 +31032,11 @@ function MX(e, t, n) {
31072
31032
  for (let e of a) n.has(e) || r.add(e);
31073
31033
  }), [...r];
31074
31034
  }
31075
- function NX(e, t, n) {
31035
+ function AX(e, t, n) {
31076
31036
  let r = BJ(e, t);
31077
31037
  return PJ(r, new Map([...r.$eq.keys()].map((e) => [e, NJ(n.root, e)])), n.context);
31078
31038
  }
31079
- function PX(e, t) {
31039
+ function jX(e, t) {
31080
31040
  let n = e.variants ?? [], r = [...e.dependencyBranches ?? [], ...n.flatMap((e) => e.dependencyBranches ?? [])];
31081
31041
  return [
31082
31042
  e.properties?.get(t),
@@ -31084,86 +31044,86 @@ function PX(e, t) {
31084
31044
  ...r.map((e) => e.properties.get(t))
31085
31045
  ].some((e) => e?.schema.deprecated === !0);
31086
31046
  }
31087
- function FX(e, t) {
31047
+ function MX(e, t) {
31088
31048
  return e ? `${e}.${t}` : t;
31089
31049
  }
31090
31050
  //#endregion
31091
31051
  //#region src/composed/JsonSchemaForm/form-bindings/indexSchemaRoot.ts
31092
- var IX = /* @__PURE__ */ new WeakMap();
31093
- function LX(e) {
31094
- let t = IX.get(e);
31052
+ var NX = /* @__PURE__ */ new WeakMap();
31053
+ function PX(e) {
31054
+ let t = NX.get(e);
31095
31055
  if (t === void 0) {
31096
31056
  try {
31097
31057
  t = lY(e).root;
31098
31058
  } catch {
31099
31059
  t = null;
31100
31060
  }
31101
- IX.set(e, t);
31061
+ NX.set(e, t);
31102
31062
  }
31103
31063
  return t;
31104
31064
  }
31105
31065
  //#endregion
31106
31066
  //#region src/composed/JsonSchemaForm/form-bindings/applyVisibleDefaults.ts
31107
- var RX = 20, zX = /* @__PURE__ */ new WeakMap(), BX = /* @__PURE__ */ new WeakSet();
31108
- function VX(e, t, n) {
31109
- let r = LX(e);
31067
+ var FX = 20, IX = /* @__PURE__ */ new WeakMap(), LX = /* @__PURE__ */ new WeakSet();
31068
+ function RX(e, t, n) {
31069
+ let r = PX(e);
31110
31070
  if (!r) return t ?? {};
31111
31071
  let i = structuredClone(t ?? {}), a = t ?? {}, o = {
31112
31072
  root: i,
31113
31073
  context: n
31114
31074
  };
31115
- for (let e = 0; e < RX; e++) if (!UX(r, i, "", o, "fill", a) && !UX(r, i, "", {
31075
+ for (let e = 0; e < FX; e++) if (!BX(r, i, "", o, "fill", a) && !BX(r, i, "", {
31116
31076
  root: structuredClone(i),
31117
31077
  context: n
31118
31078
  }, "remove", a)) return i;
31119
- return BX.has(e) || (BX.add(e), console.warn(`[JsonSchemaForm] applyVisibleDefaults did not settle after ${RX} passes: conditions of this schema feed each other in a loop. Returning the last result.`)), i;
31079
+ return LX.has(e) || (LX.add(e), console.warn(`[JsonSchemaForm] applyVisibleDefaults did not settle after ${FX} passes: conditions of this schema feed each other in a loop. Returning the last result.`)), i;
31120
31080
  }
31121
- function HX(e, t, n, r, i, a) {
31081
+ function zX(e, t, n, r, i, a) {
31122
31082
  if (Array.isArray(t)) {
31123
31083
  let { items: o } = e;
31124
31084
  if (!o) return !1;
31125
31085
  let s = !1;
31126
31086
  return t.forEach((e, c) => {
31127
- let l = iZ(n, String(c));
31128
- if (i === "fill" && e === null && SX(o.schema) === "object") {
31129
- KX(o, l, r, null, (e) => {
31087
+ let l = tZ(n, String(c));
31088
+ if (i === "fill" && e === null && yX(o.schema) === "object") {
31089
+ UX(o, l, r, null, (e) => {
31130
31090
  t[c] = e;
31131
31091
  }) && (s = !0);
31132
31092
  return;
31133
31093
  }
31134
- HX(o, e, l, r, i, $X(a, c)) && (s = !0);
31094
+ zX(o, e, l, r, i, XX(a, c)) && (s = !0);
31135
31095
  }), s;
31136
31096
  }
31137
- return typeof t != "object" || !t ? !1 : UX(e, t, n, r, i, a);
31097
+ return typeof t != "object" || !t ? !1 : BX(e, t, n, r, i, a);
31138
31098
  }
31139
- function UX(e, t, n, r, i, a) {
31140
- let o = AX(e, t, n, r), s = i === "remove", c = !1;
31141
- for (let n of s ? o.hiddenKeys : []) !(n in t) || PX(e, n) || (delete t[n], c = !0);
31142
- let l = XX(e, o.activeVariantIndex), u = l?.raw.required ?? [], d = l !== void 0 && eZ(e, l, a), f = l !== void 0 && !d ? QX(e) : ZX;
31143
- for (let n of s && d ? o.inactiveVariantKeys : []) !(n in t) || u.includes(n) || PX(e, n) || (delete t[n], c = !0);
31144
- let p = tZ(e, d ? o.activeVariantIndex : void 0), m = s && p ? nZ(e) : null;
31099
+ function BX(e, t, n, r, i, a) {
31100
+ let o = DX(e, t, n, r), s = i === "remove", c = !1;
31101
+ for (let n of s ? o.hiddenKeys : []) !(n in t) || jX(e, n) || (delete t[n], c = !0);
31102
+ let l = qX(e, o.activeVariantIndex), u = l?.raw.required ?? [], d = l !== void 0 && ZX(e, l, a), f = l !== void 0 && !d ? YX(e) : JX;
31103
+ for (let n of s && d ? o.inactiveVariantKeys : []) !(n in t) || u.includes(n) || jX(e, n) || (delete t[n], c = !0);
31104
+ let p = QX(e, d ? o.activeVariantIndex : void 0), m = s && p ? $X(e) : null;
31145
31105
  for (let e of m ? Object.keys(t) : []) m?.keys.has(e) || m?.patterns.some((t) => t.test(e)) || (delete t[e], c = !0);
31146
31106
  for (let { key: e, value: n } of s || !d ? [] : o.consts) t[e] === void 0 && (t[e] = n, c = !0);
31147
31107
  let h = /* @__PURE__ */ new Set();
31148
31108
  for (let e of o.visible) {
31149
31109
  if (h.has(e.key) || (h.add(e.key), e.node.schema.deprecated === !0)) continue;
31150
31110
  if (!s && t[e.key] === void 0 && !f.has(e.key)) {
31151
- let n = SX(e.node.schema), i = YX(e.node.schema), a = i === void 0 ? WX(n, e.node.schema) : i;
31111
+ let n = yX(e.node.schema), i = KX(e.node.schema), a = i === void 0 ? VX(n, e.node.schema) : i;
31152
31112
  if (a !== void 0) t[e.key] = a, c = !0;
31153
31113
  else if (n === "object") {
31154
- KX(e.node, e.path, r, void 0, qX(t, e.key)) && (c = !0);
31114
+ UX(e.node, e.path, r, void 0, WX(t, e.key)) && (c = !0);
31155
31115
  continue;
31156
31116
  }
31157
- } else if (!s && t[e.key] === null && SX(e.node.schema) === "object") {
31158
- KX(e.node, e.path, r, null, qX(t, e.key)) && (c = !0);
31117
+ } else if (!s && t[e.key] === null && yX(e.node.schema) === "object") {
31118
+ UX(e.node, e.path, r, null, WX(t, e.key)) && (c = !0);
31159
31119
  continue;
31160
- } else !s && t[e.key] === null && GX(SX(e.node.schema)) && (t[e.key] = [], c = !0);
31161
- let n = $X(a, e.key);
31162
- HX(e.node, t[e.key], e.path, r, i, n) && (c = !0);
31120
+ } else !s && t[e.key] === null && HX(yX(e.node.schema)) && (t[e.key] = [], c = !0);
31121
+ let n = XX(a, e.key);
31122
+ zX(e.node, t[e.key], e.path, r, i, n) && (c = !0);
31163
31123
  }
31164
31124
  return c;
31165
31125
  }
31166
- function WX(e, t) {
31126
+ function VX(e, t) {
31167
31127
  switch (e) {
31168
31128
  case "const": return structuredClone(t.const);
31169
31129
  case "boolean": return !1;
@@ -31173,39 +31133,39 @@ function WX(e, t) {
31173
31133
  default: return;
31174
31134
  }
31175
31135
  }
31176
- function GX(e) {
31136
+ function HX(e) {
31177
31137
  return e === "array" || e === "headersArray";
31178
31138
  }
31179
- function KX(e, t, n, r, i) {
31139
+ function UX(e, t, n, r, i) {
31180
31140
  let a = {};
31181
- return i(a), UX(e, a, t, n, "fill", void 0), Object.keys(a).length > 0 || JX(e, a, t, n) ? !0 : (i(r), !1);
31141
+ return i(a), BX(e, a, t, n, "fill", void 0), Object.keys(a).length > 0 || GX(e, a, t, n) ? !0 : (i(r), !1);
31182
31142
  }
31183
- function qX(e, t) {
31143
+ function WX(e, t) {
31184
31144
  return (n) => {
31185
31145
  n === void 0 ? delete e[t] : e[t] = n;
31186
31146
  };
31187
31147
  }
31188
- function JX(e, t, n, r) {
31189
- return AX(e, t, n, r).visible.some((e) => {
31148
+ function GX(e, t, n, r) {
31149
+ return DX(e, t, n, r).visible.some((e) => {
31190
31150
  if (e.node.schema.deprecated === !0) return !1;
31191
- let t = SX(e.node.schema);
31151
+ let t = yX(e.node.schema);
31192
31152
  return t !== void 0 && t !== "null" && t !== "object";
31193
31153
  });
31194
31154
  }
31195
- function YX(e) {
31155
+ function KX(e) {
31196
31156
  if (Object.prototype.hasOwnProperty.call(e, "default")) return structuredClone(e.default);
31197
31157
  }
31198
- function XX(e, t) {
31158
+ function qX(e, t) {
31199
31159
  return t === void 0 ? void 0 : e.variants?.[t];
31200
31160
  }
31201
- var ZX = /* @__PURE__ */ new Set();
31202
- function QX(e) {
31161
+ var JX = /* @__PURE__ */ new Set();
31162
+ function YX(e) {
31203
31163
  return new Set((e.variants ?? []).flatMap((e) => e.consts.map(({ key: e }) => e)));
31204
31164
  }
31205
- function $X(e, t) {
31165
+ function XX(e, t) {
31206
31166
  if (!(typeof e != "object" || !e)) return Object.prototype.hasOwnProperty.call(e, t) ? e[t] : void 0;
31207
31167
  }
31208
- function eZ(e, t, n) {
31168
+ function ZX(e, t, n) {
31209
31169
  if (typeof n != "object" || !n || Object.keys(n).length === 0) return !0;
31210
31170
  let r = n, i = (e) => {
31211
31171
  let t = e.consts.filter(({ key: e }) => r[e] !== void 0);
@@ -31213,21 +31173,21 @@ function eZ(e, t, n) {
31213
31173
  };
31214
31174
  return i(t) && (e.variants ?? []).every((e) => e === t || !i(e));
31215
31175
  }
31216
- function tZ(e, t) {
31176
+ function QX(e, t) {
31217
31177
  return e.schema.additionalProperties === !1 ? !0 : (t === void 0 ? void 0 : e.variants?.[t])?.raw.additionalProperties === !1;
31218
31178
  }
31219
- function nZ(e) {
31220
- let t = zX.get(e);
31179
+ function $X(e) {
31180
+ let t = IX.get(e);
31221
31181
  if (t === void 0) {
31222
31182
  let n = /* @__PURE__ */ new Set(), r = [];
31223
- t = rZ(e.schema, n, r) ? {
31183
+ t = eZ(e.schema, n, r) ? {
31224
31184
  keys: n,
31225
31185
  patterns: r
31226
- } : null, zX.set(e, t);
31186
+ } : null, IX.set(e, t);
31227
31187
  }
31228
31188
  return t;
31229
31189
  }
31230
- function rZ(e, t, n) {
31190
+ function eZ(e, t, n) {
31231
31191
  if (e.$ref !== void 0 || e.allOf || e.if !== void 0 || e.then !== void 0 || e.else !== void 0) return !1;
31232
31192
  for (let n of Object.keys(e.properties ?? {})) t.add(n);
31233
31193
  for (let t of Object.keys(e.patternProperties ?? {})) try {
@@ -31237,14 +31197,14 @@ function rZ(e, t, n) {
31237
31197
  }
31238
31198
  let r = [...e.oneOf ?? [], ...e.anyOf ?? []];
31239
31199
  for (let [n, i] of Object.entries(e.dependencies ?? {})) t.add(n), Array.isArray(i) ? i.forEach((e) => t.add(e)) : typeof i == "object" && r.push(i);
31240
- return r.every((e) => rZ(e, t, n));
31200
+ return r.every((e) => eZ(e, t, n));
31241
31201
  }
31242
- function iZ(e, t) {
31202
+ function tZ(e, t) {
31243
31203
  return e ? `${e}.${t}` : t;
31244
31204
  }
31245
31205
  //#endregion
31246
31206
  //#region src/composed/JsonSchemaForm/form-bindings/composeResolvers.ts
31247
- function aZ(...e) {
31207
+ function nZ(...e) {
31248
31208
  return async (t, n, r) => {
31249
31209
  let i = await Promise.all(e.map((e) => e(t, n, r))), a = {};
31250
31210
  for (let e of i) Object.assign(a, e.errors);
@@ -31259,7 +31219,7 @@ function aZ(...e) {
31259
31219
  }
31260
31220
  //#endregion
31261
31221
  //#region ../../node_modules/ajv/dist/compile/codegen/code.js
31262
- var oZ = /* @__PURE__ */ G(((e) => {
31222
+ var rZ = /* @__PURE__ */ G(((e) => {
31263
31223
  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;
31264
31224
  var t = class {};
31265
31225
  e._CodeOrName = t, e.IDENTIFIER = /^[a-z$_][a-z$_0-9]*$/i;
@@ -31364,9 +31324,9 @@ var oZ = /* @__PURE__ */ G(((e) => {
31364
31324
  return new r(e.toString());
31365
31325
  }
31366
31326
  e.regexpCode = g;
31367
- })), sZ = /* @__PURE__ */ G(((e) => {
31327
+ })), iZ = /* @__PURE__ */ G(((e) => {
31368
31328
  Object.defineProperty(e, "__esModule", { value: !0 }), e.ValueScope = e.ValueScopeName = e.Scope = e.varKinds = e.UsedValueState = void 0;
31369
- var t = oZ(), n = class extends Error {
31329
+ var t = rZ(), n = class extends Error {
31370
31330
  constructor(e) {
31371
31331
  super(`CodeGen: "code" for ${e} not defined`), this.value = e.value;
31372
31332
  }
@@ -31475,9 +31435,9 @@ var oZ = /* @__PURE__ */ G(((e) => {
31475
31435
  return c;
31476
31436
  }
31477
31437
  };
31478
- })), cZ = /* @__PURE__ */ G(((e) => {
31438
+ })), aZ = /* @__PURE__ */ G(((e) => {
31479
31439
  Object.defineProperty(e, "__esModule", { value: !0 }), e.or = e.and = e.not = e.CodeGen = e.operators = e.varKinds = e.ValueScopeName = e.ValueScope = e.Scope = e.Name = e.regexpCode = e.stringify = e.getProperty = e.nil = e.strConcat = e.str = e._ = void 0;
31480
- var t = oZ(), n = sZ(), r = oZ();
31440
+ var t = rZ(), n = iZ(), r = rZ();
31481
31441
  Object.defineProperty(e, "_", {
31482
31442
  enumerable: !0,
31483
31443
  get: function() {
@@ -31519,7 +31479,7 @@ var oZ = /* @__PURE__ */ G(((e) => {
31519
31479
  return r.Name;
31520
31480
  }
31521
31481
  });
31522
- var i = sZ();
31482
+ var i = iZ();
31523
31483
  Object.defineProperty(e, "Scope", {
31524
31484
  enumerable: !0,
31525
31485
  get: function() {
@@ -31990,9 +31950,9 @@ var oZ = /* @__PURE__ */ G(((e) => {
31990
31950
  function L(e) {
31991
31951
  return e instanceof t.Name ? e : (0, t._)`(${e})`;
31992
31952
  }
31993
- })), lZ = /* @__PURE__ */ G(((e) => {
31953
+ })), oZ = /* @__PURE__ */ G(((e) => {
31994
31954
  Object.defineProperty(e, "__esModule", { value: !0 }), e.checkStrictMode = e.getErrorPath = e.Type = e.useFunc = e.setEvaluated = e.evaluatedPropsToName = e.mergeEvaluated = e.eachItem = e.unescapeJsonPointer = e.escapeJsonPointer = e.escapeFragment = e.unescapeFragment = e.schemaRefOrVal = e.schemaHasRulesButRef = e.schemaHasRules = e.checkUnknownRules = e.alwaysValidSchema = e.toHash = void 0;
31995
- var t = cZ(), n = oZ();
31955
+ var t = aZ(), n = rZ();
31996
31956
  function r(e) {
31997
31957
  let t = {};
31998
31958
  for (let n of e) t[n] = !0;
@@ -32115,9 +32075,9 @@ var oZ = /* @__PURE__ */ G(((e) => {
32115
32075
  }
32116
32076
  }
32117
32077
  e.checkStrictMode = x;
32118
- })), uZ = /* @__PURE__ */ G(((e) => {
32078
+ })), sZ = /* @__PURE__ */ G(((e) => {
32119
32079
  Object.defineProperty(e, "__esModule", { value: !0 });
32120
- var t = cZ();
32080
+ var t = aZ();
32121
32081
  e.default = {
32122
32082
  data: new t.Name("data"),
32123
32083
  valCxt: new t.Name("valCxt"),
@@ -32136,9 +32096,9 @@ var oZ = /* @__PURE__ */ G(((e) => {
32136
32096
  jsonLen: new t.Name("jsonLen"),
32137
32097
  jsonPart: new t.Name("jsonPart")
32138
32098
  };
32139
- })), dZ = /* @__PURE__ */ G(((e) => {
32099
+ })), cZ = /* @__PURE__ */ G(((e) => {
32140
32100
  Object.defineProperty(e, "__esModule", { value: !0 }), e.extendErrors = e.resetErrorsCount = e.reportExtraError = e.reportError = e.keyword$DataError = e.keywordError = void 0;
32141
- var t = cZ(), n = lZ(), r = uZ();
32101
+ var t = aZ(), n = oZ(), r = sZ();
32142
32102
  e.keywordError = { message: ({ keyword: e }) => (0, t.str)`must pass "${e}" keyword validation` }, e.keyword$DataError = { message: ({ keyword: e, schemaType: n }) => n ? (0, t.str)`"${e}" keyword must be ${n} ($data)` : (0, t.str)`"${e}" keyword is invalid ($data)` };
32143
32103
  function i(n, r = e.keywordError, i, a) {
32144
32104
  let { it: o } = n, { gen: s, compositeRule: u, allErrors: f } = o, p = d(n, r, i);
@@ -32200,9 +32160,9 @@ var oZ = /* @__PURE__ */ G(((e) => {
32200
32160
  let { keyword: o, data: s, schemaValue: c, it: l } = e, { opts: d, propertyName: f, topSchemaRef: p, schemaPath: m } = l;
32201
32161
  a.push([u.keyword, o], [u.params, typeof n == "function" ? n(e) : n || (0, t._)`{}`]), d.messages && a.push([u.message, typeof i == "function" ? i(e) : i]), d.verbose && a.push([u.schema, c], [u.parentSchema, (0, t._)`${p}${m}`], [r.default.data, s]), f && a.push([u.propertyName, f]);
32202
32162
  }
32203
- })), fZ = /* @__PURE__ */ G(((e) => {
32163
+ })), lZ = /* @__PURE__ */ G(((e) => {
32204
32164
  Object.defineProperty(e, "__esModule", { value: !0 }), e.boolOrEmptySchema = e.topBoolOrEmptySchema = void 0;
32205
- var t = dZ(), n = cZ(), r = uZ(), i = { message: "boolean schema is false" };
32165
+ var t = cZ(), n = aZ(), r = sZ(), i = { message: "boolean schema is false" };
32206
32166
  function a(e) {
32207
32167
  let { gen: t, schema: i, validateName: a } = e;
32208
32168
  i === !1 ? s(e, !1) : typeof i == "object" && i.$async === !0 ? t.return(r.default.data) : (t.assign((0, n._)`${a}.errors`, null), t.return(!0));
@@ -32226,7 +32186,7 @@ var oZ = /* @__PURE__ */ G(((e) => {
32226
32186
  };
32227
32187
  (0, t.reportError)(o, i, void 0, n);
32228
32188
  }
32229
- })), pZ = /* @__PURE__ */ G(((e) => {
32189
+ })), uZ = /* @__PURE__ */ G(((e) => {
32230
32190
  Object.defineProperty(e, "__esModule", { value: !0 }), e.getRules = e.isJSONType = void 0;
32231
32191
  var t = new Set([
32232
32192
  "string",
@@ -32280,7 +32240,7 @@ var oZ = /* @__PURE__ */ G(((e) => {
32280
32240
  };
32281
32241
  }
32282
32242
  e.getRules = r;
32283
- })), mZ = /* @__PURE__ */ G(((e) => {
32243
+ })), dZ = /* @__PURE__ */ G(((e) => {
32284
32244
  Object.defineProperty(e, "__esModule", { value: !0 }), e.shouldUseRule = e.shouldUseGroup = e.schemaHasRulesForType = void 0;
32285
32245
  function t({ schema: e, self: t }, r) {
32286
32246
  let i = t.RULES.types[r];
@@ -32295,9 +32255,9 @@ var oZ = /* @__PURE__ */ G(((e) => {
32295
32255
  return e[t.keyword] !== void 0 || t.definition.implements?.some((t) => e[t] !== void 0);
32296
32256
  }
32297
32257
  e.shouldUseRule = r;
32298
- })), hZ = /* @__PURE__ */ G(((e) => {
32258
+ })), fZ = /* @__PURE__ */ G(((e) => {
32299
32259
  Object.defineProperty(e, "__esModule", { value: !0 }), e.reportTypeError = e.checkDataTypes = e.checkDataType = e.coerceAndCheckDataType = e.getJSONTypes = e.getSchemaTypes = e.DataType = void 0;
32300
- var t = pZ(), n = mZ(), r = dZ(), i = cZ(), a = lZ(), o;
32260
+ var t = uZ(), n = dZ(), r = cZ(), i = aZ(), a = oZ(), o;
32301
32261
  (function(e) {
32302
32262
  e[e.Correct = 0] = "Correct", e[e.Wrong = 1] = "Wrong";
32303
32263
  })(o || (e.DataType = o = {}));
@@ -32432,9 +32392,9 @@ var oZ = /* @__PURE__ */ G(((e) => {
32432
32392
  it: e
32433
32393
  };
32434
32394
  }
32435
- })), gZ = /* @__PURE__ */ G(((e) => {
32395
+ })), pZ = /* @__PURE__ */ G(((e) => {
32436
32396
  Object.defineProperty(e, "__esModule", { value: !0 }), e.assignDefaults = void 0;
32437
- var t = cZ(), n = lZ();
32397
+ var t = aZ(), n = oZ();
32438
32398
  function r(e, t) {
32439
32399
  let { properties: n, items: r } = e.schema;
32440
32400
  if (t === "object" && n) for (let t in n) i(e, t, n[t].default);
@@ -32452,9 +32412,9 @@ var oZ = /* @__PURE__ */ G(((e) => {
32452
32412
  let u = (0, t._)`${l} === undefined`;
32453
32413
  c.useDefaults === "empty" && (u = (0, t._)`${u} || ${l} === null || ${l} === ""`), a.if(u, (0, t._)`${l} = ${(0, t.stringify)(i)}`);
32454
32414
  }
32455
- })), _Z = /* @__PURE__ */ G(((e) => {
32415
+ })), mZ = /* @__PURE__ */ G(((e) => {
32456
32416
  Object.defineProperty(e, "__esModule", { value: !0 }), e.validateUnion = e.validateArray = e.usePattern = e.callValidateCode = e.schemaProperties = e.allSchemaProperties = e.noPropertyInData = e.propertyInData = e.isOwnProperty = e.hasPropFunc = e.reportMissingProp = e.checkMissingProp = e.checkReportMissingProp = void 0;
32457
- var t = cZ(), n = lZ(), r = uZ(), i = lZ();
32417
+ var t = aZ(), n = oZ(), r = sZ(), i = oZ();
32458
32418
  function a(e, n) {
32459
32419
  let { gen: r, data: i, it: a } = e;
32460
32420
  r.if(d(r, i, n, a.opts.ownProperties), () => {
@@ -32556,9 +32516,9 @@ var oZ = /* @__PURE__ */ G(((e) => {
32556
32516
  })), e.result(s, () => e.reset(), () => e.error(!0));
32557
32517
  }
32558
32518
  e.validateUnion = v;
32559
- })), vZ = /* @__PURE__ */ G(((e) => {
32519
+ })), hZ = /* @__PURE__ */ G(((e) => {
32560
32520
  Object.defineProperty(e, "__esModule", { value: !0 }), e.validateKeywordUsage = e.validSchemaType = e.funcKeywordCode = e.macroKeywordCode = void 0;
32561
- var t = cZ(), n = uZ(), r = _Z(), i = dZ();
32521
+ var t = aZ(), n = sZ(), r = mZ(), i = cZ();
32562
32522
  function a(e, n) {
32563
32523
  let { gen: r, keyword: i, schema: a, parentSchema: o, it: s } = e, c = n.macro.call(s.self, a, o, s), l = u(r, i, c);
32564
32524
  s.opts.validateSchema !== !1 && s.self.validateSchema(c, !0);
@@ -32637,9 +32597,9 @@ var oZ = /* @__PURE__ */ G(((e) => {
32637
32597
  }
32638
32598
  }
32639
32599
  e.validateKeywordUsage = f;
32640
- })), yZ = /* @__PURE__ */ G(((e) => {
32600
+ })), gZ = /* @__PURE__ */ G(((e) => {
32641
32601
  Object.defineProperty(e, "__esModule", { value: !0 }), e.extendSubschemaMode = e.extendSubschemaData = e.getSubschema = void 0;
32642
- var t = cZ(), n = lZ();
32602
+ var t = aZ(), n = oZ();
32643
32603
  function r(e, { keyword: r, schemaProp: i, schema: a, schemaPath: o, errSchemaPath: s, topSchemaRef: c }) {
32644
32604
  if (r !== void 0 && a !== void 0) throw Error("both \"keyword\" and \"schema\" passed, only one allowed");
32645
32605
  if (r !== void 0) {
@@ -32683,7 +32643,7 @@ var oZ = /* @__PURE__ */ G(((e) => {
32683
32643
  r !== void 0 && (e.compositeRule = r), i !== void 0 && (e.createErrors = i), a !== void 0 && (e.allErrors = a), e.jtdDiscriminator = t, e.jtdMetadata = n;
32684
32644
  }
32685
32645
  e.extendSubschemaMode = a;
32686
- })), bZ = /* @__PURE__ */ G(((e, t) => {
32646
+ })), _Z = /* @__PURE__ */ G(((e, t) => {
32687
32647
  t.exports = function e(t, n) {
32688
32648
  if (t === n) return !0;
32689
32649
  if (t && n && typeof t == "object" && typeof n == "object") {
@@ -32707,7 +32667,7 @@ var oZ = /* @__PURE__ */ G(((e) => {
32707
32667
  }
32708
32668
  return t !== t && n !== n;
32709
32669
  };
32710
- })), xZ = /* @__PURE__ */ G(((e, t) => {
32670
+ })), vZ = /* @__PURE__ */ G(((e, t) => {
32711
32671
  var n = t.exports = function(e, t, n) {
32712
32672
  typeof t == "function" && (n = t, t = {}), n = t.cb || n;
32713
32673
  var i = typeof n == "function" ? n : n.pre || function() {}, a = n.post || function() {};
@@ -32770,9 +32730,9 @@ var oZ = /* @__PURE__ */ G(((e) => {
32770
32730
  function i(e) {
32771
32731
  return e.replace(/~/g, "~0").replace(/\//g, "~1");
32772
32732
  }
32773
- })), SZ = /* @__PURE__ */ G(((e) => {
32733
+ })), yZ = /* @__PURE__ */ G(((e) => {
32774
32734
  Object.defineProperty(e, "__esModule", { value: !0 }), e.getSchemaRefs = e.resolveUrl = e.normalizeId = e._getFullPath = e.getFullPath = e.inlineRef = void 0;
32775
- var t = lZ(), n = bZ(), r = xZ(), i = new Set([
32735
+ var t = oZ(), n = _Z(), r = vZ(), i = new Set([
32776
32736
  "type",
32777
32737
  "format",
32778
32738
  "pattern",
@@ -32861,9 +32821,9 @@ var oZ = /* @__PURE__ */ G(((e) => {
32861
32821
  }
32862
32822
  }
32863
32823
  e.getSchemaRefs = h;
32864
- })), CZ = /* @__PURE__ */ G(((e) => {
32824
+ })), bZ = /* @__PURE__ */ G(((e) => {
32865
32825
  Object.defineProperty(e, "__esModule", { value: !0 }), e.getData = e.KeywordCxt = e.validateFunctionCode = void 0;
32866
- var t = fZ(), n = hZ(), r = mZ(), i = hZ(), a = gZ(), o = vZ(), s = yZ(), c = cZ(), l = uZ(), u = SZ(), d = lZ(), f = dZ();
32826
+ var t = lZ(), n = fZ(), r = dZ(), i = fZ(), a = pZ(), o = hZ(), s = gZ(), c = aZ(), l = sZ(), u = yZ(), d = oZ(), f = cZ();
32867
32827
  function p(e) {
32868
32828
  if (S(e) && (w(e), x(e))) {
32869
32829
  _(e);
@@ -33153,23 +33113,23 @@ var oZ = /* @__PURE__ */ G(((e) => {
33153
33113
  }
33154
33114
  }
33155
33115
  e.getData = se;
33156
- })), wZ = /* @__PURE__ */ G(((e) => {
33116
+ })), xZ = /* @__PURE__ */ G(((e) => {
33157
33117
  Object.defineProperty(e, "__esModule", { value: !0 }), e.default = class extends Error {
33158
33118
  constructor(e) {
33159
33119
  super("validation failed"), this.errors = e, this.ajv = this.validation = !0;
33160
33120
  }
33161
33121
  };
33162
- })), TZ = /* @__PURE__ */ G(((e) => {
33122
+ })), SZ = /* @__PURE__ */ G(((e) => {
33163
33123
  Object.defineProperty(e, "__esModule", { value: !0 });
33164
- var t = SZ();
33124
+ var t = yZ();
33165
33125
  e.default = class extends Error {
33166
33126
  constructor(e, n, r, i) {
33167
33127
  super(i || `can't resolve reference ${r} from id ${n}`), this.missingRef = (0, t.resolveUrl)(e, n, r), this.missingSchema = (0, t.normalizeId)((0, t.getFullPath)(e, this.missingRef));
33168
33128
  }
33169
33129
  };
33170
- })), EZ = /* @__PURE__ */ G(((e) => {
33130
+ })), CZ = /* @__PURE__ */ G(((e) => {
33171
33131
  Object.defineProperty(e, "__esModule", { value: !0 }), e.resolveSchema = e.getCompilingSchema = e.resolveRef = e.compileSchema = e.SchemaEnv = void 0;
33172
- var t = cZ(), n = wZ(), r = uZ(), i = SZ(), a = lZ(), o = CZ(), s = class {
33132
+ var t = aZ(), n = xZ(), r = sZ(), i = yZ(), a = oZ(), o = bZ(), s = class {
33173
33133
  constructor(e) {
33174
33134
  this.refs = {}, this.dynamicAnchors = {};
33175
33135
  let t;
@@ -33328,27 +33288,27 @@ var oZ = /* @__PURE__ */ G(((e) => {
33328
33288
  baseId: t
33329
33289
  }), o.schema !== o.root.schema) return o;
33330
33290
  }
33331
- })), DZ = /* @__PURE__ */ mt({
33332
- $id: () => OZ,
33291
+ })), wZ = /* @__PURE__ */ mt({
33292
+ $id: () => TZ,
33333
33293
  additionalProperties: () => !1,
33334
- default: () => NZ,
33335
- description: () => kZ,
33336
- properties: () => MZ,
33337
- required: () => jZ,
33338
- type: () => AZ
33339
- }), OZ, kZ, AZ, jZ, MZ, NZ, PZ = pt((() => {
33340
- OZ = "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#", kZ = "Meta-schema for $data reference (JSON AnySchema extension proposal)", AZ = "object", jZ = ["$data"], MZ = { $data: {
33294
+ default: () => AZ,
33295
+ description: () => EZ,
33296
+ properties: () => kZ,
33297
+ required: () => OZ,
33298
+ type: () => DZ
33299
+ }), TZ, EZ, DZ, OZ, kZ, AZ, jZ = pt((() => {
33300
+ TZ = "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#", EZ = "Meta-schema for $data reference (JSON AnySchema extension proposal)", DZ = "object", OZ = ["$data"], kZ = { $data: {
33341
33301
  type: "string",
33342
33302
  anyOf: [{ format: "relative-json-pointer" }, { format: "json-pointer" }]
33343
- } }, NZ = {
33344
- $id: OZ,
33345
- description: kZ,
33346
- type: AZ,
33347
- required: jZ,
33348
- properties: MZ,
33303
+ } }, AZ = {
33304
+ $id: TZ,
33305
+ description: EZ,
33306
+ type: DZ,
33307
+ required: OZ,
33308
+ properties: kZ,
33349
33309
  additionalProperties: !1
33350
33310
  };
33351
- })), FZ = /* @__PURE__ */ G(((e, t) => {
33311
+ })), MZ = /* @__PURE__ */ G(((e, t) => {
33352
33312
  var n = RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu), r = RegExp.prototype.test.bind(/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u), i = RegExp.prototype.test.bind(/^\d*$/u), a = RegExp.prototype.test.bind(/^[\da-f]{2}$/iu), o = RegExp.prototype.test.bind(/^[\da-z\-._~]$/iu), s = RegExp.prototype.test.bind(/^[A-Za-z0-9\-._~!$&'()*+,;=:@/]$/u), c = RegExp.prototype.test.bind(/^[A-Za-z0-9\-._~!$&'()*+,;=:@/?]$/u), l = RegExp.prototype.test.bind(/^[A-Za-z0-9\-._~!$&'()*+,;=:]$/u), u = Array(256);
33353
33313
  {
33354
33314
  let e = "0123456789ABCDEF";
@@ -33697,8 +33657,8 @@ var oZ = /* @__PURE__ */ G(((e) => {
33697
33657
  normalizeIPv6: b,
33698
33658
  stringArrayToHexStripped: f
33699
33659
  };
33700
- })), IZ = /* @__PURE__ */ G(((e, t) => {
33701
- var { isUUID: n } = FZ(), r = /^([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-./:;=@]|%[\da-f]{2})+)$/iu, i = [
33660
+ })), NZ = /* @__PURE__ */ G(((e, t) => {
33661
+ var { isUUID: n } = MZ(), r = /^([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-./:;=@]|%[\da-f]{2})+)$/iu, i = [
33702
33662
  "http",
33703
33663
  "https",
33704
33664
  "ws",
@@ -33803,8 +33763,8 @@ var oZ = /* @__PURE__ */ G(((e) => {
33803
33763
  isValidSchemeName: a,
33804
33764
  getSchemeHandler: y
33805
33765
  };
33806
- })), LZ = /* @__PURE__ */ G(((e, t) => {
33807
- var { normalizeIPv6: n, removeDotSegments: r, recomposeAuthority: i, normalizePercentEncoding: a, normalizePathEncoding: o, serializePathEncoding: s, normalizeQueryFragmentEncoding: c, encodeQuery: l, encodeFragment: u, reescapeHostDelimiters: d, isIPv4: f, nonSimpleDomain: p } = FZ(), { SCHEMES: m, getSchemeHandler: h } = IZ(), g = /^[A-Za-z][A-Za-z0-9+.-]*$/u, _ = "URI scheme is malformed.";
33766
+ })), PZ = /* @__PURE__ */ G(((e, t) => {
33767
+ var { normalizeIPv6: n, removeDotSegments: r, recomposeAuthority: i, normalizePercentEncoding: a, normalizePathEncoding: o, serializePathEncoding: s, normalizeQueryFragmentEncoding: c, encodeQuery: l, encodeFragment: u, reescapeHostDelimiters: d, isIPv4: f, nonSimpleDomain: p } = MZ(), { SCHEMES: m, getSchemeHandler: h } = NZ(), g = /^[A-Za-z][A-Za-z0-9+.-]*$/u, _ = "URI scheme is malformed.";
33808
33768
  function v(e) {
33809
33769
  let t = unescape(String(e));
33810
33770
  if (!g.test(t)) throw TypeError(_);
@@ -33973,20 +33933,20 @@ var oZ = /* @__PURE__ */ G(((e) => {
33973
33933
  parse: N
33974
33934
  };
33975
33935
  t.exports = L, t.exports.default = L, t.exports.fastUri = L;
33976
- })), RZ = /* @__PURE__ */ G(((e) => {
33936
+ })), FZ = /* @__PURE__ */ G(((e) => {
33977
33937
  Object.defineProperty(e, "__esModule", { value: !0 });
33978
- var t = LZ();
33938
+ var t = PZ();
33979
33939
  t.code = "require(\"ajv/dist/runtime/uri\").default", e.default = t;
33980
- })), zZ = /* @__PURE__ */ G(((e) => {
33940
+ })), IZ = /* @__PURE__ */ G(((e) => {
33981
33941
  Object.defineProperty(e, "__esModule", { value: !0 }), e.CodeGen = e.Name = e.nil = e.stringify = e.str = e._ = e.KeywordCxt = void 0;
33982
- var t = CZ();
33942
+ var t = bZ();
33983
33943
  Object.defineProperty(e, "KeywordCxt", {
33984
33944
  enumerable: !0,
33985
33945
  get: function() {
33986
33946
  return t.KeywordCxt;
33987
33947
  }
33988
33948
  });
33989
- var n = cZ();
33949
+ var n = aZ();
33990
33950
  Object.defineProperty(e, "_", {
33991
33951
  enumerable: !0,
33992
33952
  get: function() {
@@ -34018,7 +33978,7 @@ var oZ = /* @__PURE__ */ G(((e) => {
34018
33978
  return n.CodeGen;
34019
33979
  }
34020
33980
  });
34021
- var r = wZ(), i = TZ(), a = pZ(), o = EZ(), s = cZ(), c = SZ(), l = hZ(), u = lZ(), d = (PZ(), _t(DZ).default), f = RZ(), p = (e, t) => new RegExp(e, t);
33981
+ var r = xZ(), i = SZ(), a = uZ(), o = CZ(), s = aZ(), c = yZ(), l = fZ(), u = oZ(), d = (jZ(), _t(wZ).default), f = FZ(), p = (e, t) => new RegExp(e, t);
34022
33982
  p.code = "new RegExp";
34023
33983
  var m = [
34024
33984
  "removeAdditional",
@@ -34404,16 +34364,16 @@ var oZ = /* @__PURE__ */ G(((e) => {
34404
34364
  function F(e) {
34405
34365
  return { anyOf: [e, P] };
34406
34366
  }
34407
- })), BZ = /* @__PURE__ */ G(((e) => {
34367
+ })), LZ = /* @__PURE__ */ G(((e) => {
34408
34368
  Object.defineProperty(e, "__esModule", { value: !0 }), e.default = {
34409
34369
  keyword: "id",
34410
34370
  code() {
34411
34371
  throw Error("NOT SUPPORTED: keyword \"id\", use \"$id\" for schema ID");
34412
34372
  }
34413
34373
  };
34414
- })), VZ = /* @__PURE__ */ G(((e) => {
34374
+ })), RZ = /* @__PURE__ */ G(((e) => {
34415
34375
  Object.defineProperty(e, "__esModule", { value: !0 }), e.callRef = e.getValidate = void 0;
34416
- var t = TZ(), n = _Z(), r = cZ(), i = uZ(), a = EZ(), o = lZ(), s = {
34376
+ var t = SZ(), n = mZ(), r = aZ(), i = sZ(), a = CZ(), o = oZ(), s = {
34417
34377
  keyword: "$ref",
34418
34378
  schemaType: "string",
34419
34379
  code(e) {
@@ -34486,9 +34446,9 @@ var oZ = /* @__PURE__ */ G(((e) => {
34486
34446
  }
34487
34447
  }
34488
34448
  e.callRef = l, e.default = s;
34489
- })), HZ = /* @__PURE__ */ G(((e) => {
34449
+ })), zZ = /* @__PURE__ */ G(((e) => {
34490
34450
  Object.defineProperty(e, "__esModule", { value: !0 });
34491
- var t = BZ(), n = VZ();
34451
+ var t = LZ(), n = RZ();
34492
34452
  e.default = [
34493
34453
  "$schema",
34494
34454
  "$id",
@@ -34499,9 +34459,9 @@ var oZ = /* @__PURE__ */ G(((e) => {
34499
34459
  t.default,
34500
34460
  n.default
34501
34461
  ];
34502
- })), UZ = /* @__PURE__ */ G(((e) => {
34462
+ })), BZ = /* @__PURE__ */ G(((e) => {
34503
34463
  Object.defineProperty(e, "__esModule", { value: !0 });
34504
- var t = cZ(), n = t.operators, r = {
34464
+ var t = aZ(), n = t.operators, r = {
34505
34465
  maximum: {
34506
34466
  okStr: "<=",
34507
34467
  ok: n.LTE,
@@ -34537,9 +34497,9 @@ var oZ = /* @__PURE__ */ G(((e) => {
34537
34497
  e.fail$data((0, t._)`${i} ${r[n].fail} ${a} || isNaN(${i})`);
34538
34498
  }
34539
34499
  };
34540
- })), WZ = /* @__PURE__ */ G(((e) => {
34500
+ })), VZ = /* @__PURE__ */ G(((e) => {
34541
34501
  Object.defineProperty(e, "__esModule", { value: !0 });
34542
- var t = cZ();
34502
+ var t = aZ();
34543
34503
  e.default = {
34544
34504
  keyword: "multipleOf",
34545
34505
  type: "number",
@@ -34554,7 +34514,7 @@ var oZ = /* @__PURE__ */ G(((e) => {
34554
34514
  e.fail$data((0, t._)`(${i} === 0 || (${s} = ${r}/${i}, ${c}))`);
34555
34515
  }
34556
34516
  };
34557
- })), GZ = /* @__PURE__ */ G(((e) => {
34517
+ })), HZ = /* @__PURE__ */ G(((e) => {
34558
34518
  Object.defineProperty(e, "__esModule", { value: !0 });
34559
34519
  function t(e) {
34560
34520
  let t = e.length, n = 0, r = 0, i;
@@ -34562,9 +34522,9 @@ var oZ = /* @__PURE__ */ G(((e) => {
34562
34522
  return n;
34563
34523
  }
34564
34524
  e.default = t, t.code = "require(\"ajv/dist/runtime/ucs2length\").default";
34565
- })), KZ = /* @__PURE__ */ G(((e) => {
34525
+ })), UZ = /* @__PURE__ */ G(((e) => {
34566
34526
  Object.defineProperty(e, "__esModule", { value: !0 });
34567
- var t = cZ(), n = lZ(), r = GZ();
34527
+ var t = aZ(), n = oZ(), r = HZ();
34568
34528
  e.default = {
34569
34529
  keyword: ["maxLength", "minLength"],
34570
34530
  type: "string",
@@ -34582,9 +34542,9 @@ var oZ = /* @__PURE__ */ G(((e) => {
34582
34542
  e.fail$data((0, t._)`${l} ${c} ${o}`);
34583
34543
  }
34584
34544
  };
34585
- })), qZ = /* @__PURE__ */ G(((e) => {
34545
+ })), WZ = /* @__PURE__ */ G(((e) => {
34586
34546
  Object.defineProperty(e, "__esModule", { value: !0 });
34587
- var t = _Z(), n = lZ(), r = cZ();
34547
+ var t = mZ(), n = oZ(), r = aZ();
34588
34548
  e.default = {
34589
34549
  keyword: "pattern",
34590
34550
  type: "string",
@@ -34605,9 +34565,9 @@ var oZ = /* @__PURE__ */ G(((e) => {
34605
34565
  }
34606
34566
  }
34607
34567
  };
34608
- })), JZ = /* @__PURE__ */ G(((e) => {
34568
+ })), GZ = /* @__PURE__ */ G(((e) => {
34609
34569
  Object.defineProperty(e, "__esModule", { value: !0 });
34610
- var t = cZ();
34570
+ var t = aZ();
34611
34571
  e.default = {
34612
34572
  keyword: ["maxProperties", "minProperties"],
34613
34573
  type: "object",
@@ -34625,9 +34585,9 @@ var oZ = /* @__PURE__ */ G(((e) => {
34625
34585
  e.fail$data((0, t._)`Object.keys(${r}).length ${a} ${i}`);
34626
34586
  }
34627
34587
  };
34628
- })), YZ = /* @__PURE__ */ G(((e) => {
34588
+ })), KZ = /* @__PURE__ */ G(((e) => {
34629
34589
  Object.defineProperty(e, "__esModule", { value: !0 });
34630
- var t = _Z(), n = cZ(), r = lZ();
34590
+ var t = mZ(), n = aZ(), r = oZ();
34631
34591
  e.default = {
34632
34592
  keyword: "required",
34633
34593
  type: "object",
@@ -34673,9 +34633,9 @@ var oZ = /* @__PURE__ */ G(((e) => {
34673
34633
  }
34674
34634
  }
34675
34635
  };
34676
- })), XZ = /* @__PURE__ */ G(((e) => {
34636
+ })), qZ = /* @__PURE__ */ G(((e) => {
34677
34637
  Object.defineProperty(e, "__esModule", { value: !0 });
34678
- var t = cZ();
34638
+ var t = aZ();
34679
34639
  e.default = {
34680
34640
  keyword: ["maxItems", "minItems"],
34681
34641
  type: "array",
@@ -34693,13 +34653,13 @@ var oZ = /* @__PURE__ */ G(((e) => {
34693
34653
  e.fail$data((0, t._)`${r}.length ${a} ${i}`);
34694
34654
  }
34695
34655
  };
34696
- })), ZZ = /* @__PURE__ */ G(((e) => {
34656
+ })), JZ = /* @__PURE__ */ G(((e) => {
34697
34657
  Object.defineProperty(e, "__esModule", { value: !0 });
34698
- var t = bZ();
34658
+ var t = _Z();
34699
34659
  t.code = "require(\"ajv/dist/runtime/equal\").default", e.default = t;
34700
- })), QZ = /* @__PURE__ */ G(((e) => {
34660
+ })), YZ = /* @__PURE__ */ G(((e) => {
34701
34661
  Object.defineProperty(e, "__esModule", { value: !0 });
34702
- var t = hZ(), n = cZ(), r = lZ(), i = ZZ();
34662
+ var t = fZ(), n = aZ(), r = oZ(), i = JZ();
34703
34663
  e.default = {
34704
34664
  keyword: "uniqueItems",
34705
34665
  type: "array",
@@ -34740,9 +34700,9 @@ var oZ = /* @__PURE__ */ G(((e) => {
34740
34700
  }
34741
34701
  }
34742
34702
  };
34743
- })), $Z = /* @__PURE__ */ G(((e) => {
34703
+ })), XZ = /* @__PURE__ */ G(((e) => {
34744
34704
  Object.defineProperty(e, "__esModule", { value: !0 });
34745
- var t = cZ(), n = lZ(), r = ZZ();
34705
+ var t = aZ(), n = oZ(), r = JZ();
34746
34706
  e.default = {
34747
34707
  keyword: "const",
34748
34708
  $data: !0,
@@ -34755,9 +34715,9 @@ var oZ = /* @__PURE__ */ G(((e) => {
34755
34715
  o || c && typeof c == "object" ? e.fail$data((0, t._)`!${(0, n.useFunc)(i, r.default)}(${a}, ${s})`) : e.fail((0, t._)`${c} !== ${a}`);
34756
34716
  }
34757
34717
  };
34758
- })), eQ = /* @__PURE__ */ G(((e) => {
34718
+ })), ZZ = /* @__PURE__ */ G(((e) => {
34759
34719
  Object.defineProperty(e, "__esModule", { value: !0 });
34760
- var t = cZ(), n = lZ(), r = ZZ();
34720
+ var t = aZ(), n = oZ(), r = JZ();
34761
34721
  e.default = {
34762
34722
  keyword: "enum",
34763
34723
  schemaType: "array",
@@ -34787,9 +34747,9 @@ var oZ = /* @__PURE__ */ G(((e) => {
34787
34747
  }
34788
34748
  }
34789
34749
  };
34790
- })), tQ = /* @__PURE__ */ G(((e) => {
34750
+ })), QZ = /* @__PURE__ */ G(((e) => {
34791
34751
  Object.defineProperty(e, "__esModule", { value: !0 });
34792
- var t = UZ(), n = WZ(), r = KZ(), i = qZ(), a = JZ(), o = YZ(), s = XZ(), c = QZ(), l = $Z(), u = eQ();
34752
+ var t = BZ(), n = VZ(), r = UZ(), i = WZ(), a = GZ(), o = KZ(), s = qZ(), c = YZ(), l = XZ(), u = ZZ();
34793
34753
  e.default = [
34794
34754
  t.default,
34795
34755
  n.default,
@@ -34810,9 +34770,9 @@ var oZ = /* @__PURE__ */ G(((e) => {
34810
34770
  l.default,
34811
34771
  u.default
34812
34772
  ];
34813
- })), nQ = /* @__PURE__ */ G(((e) => {
34773
+ })), $Z = /* @__PURE__ */ G(((e) => {
34814
34774
  Object.defineProperty(e, "__esModule", { value: !0 }), e.validateAdditionalItems = void 0;
34815
- var t = cZ(), n = lZ(), r = {
34775
+ var t = aZ(), n = oZ(), r = {
34816
34776
  keyword: "additionalItems",
34817
34777
  type: "array",
34818
34778
  schemaType: ["boolean", "object"],
@@ -34850,9 +34810,9 @@ var oZ = /* @__PURE__ */ G(((e) => {
34850
34810
  }
34851
34811
  }
34852
34812
  e.validateAdditionalItems = i, e.default = r;
34853
- })), rQ = /* @__PURE__ */ G(((e) => {
34813
+ })), eQ = /* @__PURE__ */ G(((e) => {
34854
34814
  Object.defineProperty(e, "__esModule", { value: !0 }), e.validateTuple = void 0;
34855
- var t = cZ(), n = lZ(), r = _Z(), i = {
34815
+ var t = aZ(), n = oZ(), r = mZ(), i = {
34856
34816
  keyword: "items",
34857
34817
  type: "array",
34858
34818
  schemaType: [
@@ -34887,9 +34847,9 @@ var oZ = /* @__PURE__ */ G(((e) => {
34887
34847
  }
34888
34848
  }
34889
34849
  e.validateTuple = a, e.default = i;
34890
- })), iQ = /* @__PURE__ */ G(((e) => {
34850
+ })), tQ = /* @__PURE__ */ G(((e) => {
34891
34851
  Object.defineProperty(e, "__esModule", { value: !0 });
34892
- var t = rQ();
34852
+ var t = eQ();
34893
34853
  e.default = {
34894
34854
  keyword: "prefixItems",
34895
34855
  type: "array",
@@ -34897,9 +34857,9 @@ var oZ = /* @__PURE__ */ G(((e) => {
34897
34857
  before: "uniqueItems",
34898
34858
  code: (e) => (0, t.validateTuple)(e, "items")
34899
34859
  };
34900
- })), aQ = /* @__PURE__ */ G(((e) => {
34860
+ })), nQ = /* @__PURE__ */ G(((e) => {
34901
34861
  Object.defineProperty(e, "__esModule", { value: !0 });
34902
- var t = cZ(), n = lZ(), r = _Z(), i = nQ();
34862
+ var t = aZ(), n = oZ(), r = mZ(), i = $Z();
34903
34863
  e.default = {
34904
34864
  keyword: "items",
34905
34865
  type: "array",
@@ -34914,9 +34874,9 @@ var oZ = /* @__PURE__ */ G(((e) => {
34914
34874
  o.items = !0, !(0, n.alwaysValidSchema)(o, t) && (s ? (0, i.validateAdditionalItems)(e, s) : e.ok((0, r.validateArray)(e)));
34915
34875
  }
34916
34876
  };
34917
- })), oQ = /* @__PURE__ */ G(((e) => {
34877
+ })), rQ = /* @__PURE__ */ G(((e) => {
34918
34878
  Object.defineProperty(e, "__esModule", { value: !0 });
34919
- var t = cZ(), n = lZ();
34879
+ var t = aZ(), n = oZ();
34920
34880
  e.default = {
34921
34881
  keyword: "contains",
34922
34882
  type: "array",
@@ -34969,9 +34929,9 @@ var oZ = /* @__PURE__ */ G(((e) => {
34969
34929
  }
34970
34930
  }
34971
34931
  };
34972
- })), sQ = /* @__PURE__ */ G(((e) => {
34932
+ })), iQ = /* @__PURE__ */ G(((e) => {
34973
34933
  Object.defineProperty(e, "__esModule", { value: !0 }), e.validateSchemaDeps = e.validatePropertyDeps = e.error = void 0;
34974
- var t = cZ(), n = lZ(), r = _Z();
34934
+ var t = aZ(), n = oZ(), r = mZ();
34975
34935
  e.error = {
34976
34936
  message: ({ params: { property: e, depsCount: n, deps: r } }) => {
34977
34937
  let i = n === 1 ? "property" : "properties";
@@ -35030,9 +34990,9 @@ var oZ = /* @__PURE__ */ G(((e) => {
35030
34990
  }, () => i.var(c, !0)), e.ok(c));
35031
34991
  }
35032
34992
  e.validateSchemaDeps = s, e.default = i;
35033
- })), cQ = /* @__PURE__ */ G(((e) => {
34993
+ })), aQ = /* @__PURE__ */ G(((e) => {
35034
34994
  Object.defineProperty(e, "__esModule", { value: !0 });
35035
- var t = cZ(), n = lZ();
34995
+ var t = aZ(), n = oZ();
35036
34996
  e.default = {
35037
34997
  keyword: "propertyNames",
35038
34998
  type: "object",
@@ -35058,9 +35018,9 @@ var oZ = /* @__PURE__ */ G(((e) => {
35058
35018
  }), e.ok(s);
35059
35019
  }
35060
35020
  };
35061
- })), lQ = /* @__PURE__ */ G(((e) => {
35021
+ })), oQ = /* @__PURE__ */ G(((e) => {
35062
35022
  Object.defineProperty(e, "__esModule", { value: !0 });
35063
- var t = _Z(), n = cZ(), r = uZ(), i = lZ();
35023
+ var t = mZ(), n = aZ(), r = sZ(), i = oZ();
35064
35024
  e.default = {
35065
35025
  keyword: "additionalProperties",
35066
35026
  type: ["object"],
@@ -35125,9 +35085,9 @@ var oZ = /* @__PURE__ */ G(((e) => {
35125
35085
  }
35126
35086
  }
35127
35087
  };
35128
- })), uQ = /* @__PURE__ */ G(((e) => {
35088
+ })), sQ = /* @__PURE__ */ G(((e) => {
35129
35089
  Object.defineProperty(e, "__esModule", { value: !0 });
35130
- var t = CZ(), n = _Z(), r = lZ(), i = lQ();
35090
+ var t = bZ(), n = mZ(), r = oZ(), i = oQ();
35131
35091
  e.default = {
35132
35092
  keyword: "properties",
35133
35093
  type: "object",
@@ -35154,9 +35114,9 @@ var oZ = /* @__PURE__ */ G(((e) => {
35154
35114
  }
35155
35115
  }
35156
35116
  };
35157
- })), dQ = /* @__PURE__ */ G(((e) => {
35117
+ })), cQ = /* @__PURE__ */ G(((e) => {
35158
35118
  Object.defineProperty(e, "__esModule", { value: !0 });
35159
- var t = _Z(), n = cZ(), r = lZ(), i = lZ();
35119
+ var t = mZ(), n = aZ(), r = oZ(), i = oZ();
35160
35120
  e.default = {
35161
35121
  keyword: "patternProperties",
35162
35122
  type: "object",
@@ -35189,9 +35149,9 @@ var oZ = /* @__PURE__ */ G(((e) => {
35189
35149
  }
35190
35150
  }
35191
35151
  };
35192
- })), fQ = /* @__PURE__ */ G(((e) => {
35152
+ })), lQ = /* @__PURE__ */ G(((e) => {
35193
35153
  Object.defineProperty(e, "__esModule", { value: !0 });
35194
- var t = lZ();
35154
+ var t = oZ();
35195
35155
  e.default = {
35196
35156
  keyword: "not",
35197
35157
  schemaType: ["object", "boolean"],
@@ -35212,17 +35172,17 @@ var oZ = /* @__PURE__ */ G(((e) => {
35212
35172
  },
35213
35173
  error: { message: "must NOT be valid" }
35214
35174
  };
35215
- })), pQ = /* @__PURE__ */ G(((e) => {
35175
+ })), uQ = /* @__PURE__ */ G(((e) => {
35216
35176
  Object.defineProperty(e, "__esModule", { value: !0 }), e.default = {
35217
35177
  keyword: "anyOf",
35218
35178
  schemaType: "array",
35219
35179
  trackErrors: !0,
35220
- code: _Z().validateUnion,
35180
+ code: mZ().validateUnion,
35221
35181
  error: { message: "must match a schema in anyOf" }
35222
35182
  };
35223
- })), mQ = /* @__PURE__ */ G(((e) => {
35183
+ })), dQ = /* @__PURE__ */ G(((e) => {
35224
35184
  Object.defineProperty(e, "__esModule", { value: !0 });
35225
- var t = cZ(), n = lZ();
35185
+ var t = aZ(), n = oZ();
35226
35186
  e.default = {
35227
35187
  keyword: "oneOf",
35228
35188
  schemaType: "array",
@@ -35252,9 +35212,9 @@ var oZ = /* @__PURE__ */ G(((e) => {
35252
35212
  }
35253
35213
  }
35254
35214
  };
35255
- })), hQ = /* @__PURE__ */ G(((e) => {
35215
+ })), fQ = /* @__PURE__ */ G(((e) => {
35256
35216
  Object.defineProperty(e, "__esModule", { value: !0 });
35257
- var t = lZ();
35217
+ var t = oZ();
35258
35218
  e.default = {
35259
35219
  keyword: "allOf",
35260
35220
  schemaType: "array",
@@ -35273,9 +35233,9 @@ var oZ = /* @__PURE__ */ G(((e) => {
35273
35233
  });
35274
35234
  }
35275
35235
  };
35276
- })), gQ = /* @__PURE__ */ G(((e) => {
35236
+ })), pQ = /* @__PURE__ */ G(((e) => {
35277
35237
  Object.defineProperty(e, "__esModule", { value: !0 });
35278
- var t = cZ(), n = lZ(), r = {
35238
+ var t = aZ(), n = oZ(), r = {
35279
35239
  keyword: "if",
35280
35240
  schemaType: ["object", "boolean"],
35281
35241
  trackErrors: !0,
@@ -35316,9 +35276,9 @@ var oZ = /* @__PURE__ */ G(((e) => {
35316
35276
  return r !== void 0 && !(0, n.alwaysValidSchema)(e, r);
35317
35277
  }
35318
35278
  e.default = r;
35319
- })), _Q = /* @__PURE__ */ G(((e) => {
35279
+ })), mQ = /* @__PURE__ */ G(((e) => {
35320
35280
  Object.defineProperty(e, "__esModule", { value: !0 });
35321
- var t = lZ();
35281
+ var t = oZ();
35322
35282
  e.default = {
35323
35283
  keyword: ["then", "else"],
35324
35284
  schemaType: ["object", "boolean"],
@@ -35326,9 +35286,9 @@ var oZ = /* @__PURE__ */ G(((e) => {
35326
35286
  n.if === void 0 && (0, t.checkStrictMode)(r, `"${e}" without "if" is ignored`);
35327
35287
  }
35328
35288
  };
35329
- })), vQ = /* @__PURE__ */ G(((e) => {
35289
+ })), hQ = /* @__PURE__ */ G(((e) => {
35330
35290
  Object.defineProperty(e, "__esModule", { value: !0 });
35331
- var t = nQ(), n = iQ(), r = rQ(), i = aQ(), a = oQ(), o = sQ(), s = cQ(), c = lQ(), l = uQ(), u = dQ(), d = fQ(), f = pQ(), p = mQ(), m = hQ(), h = gQ(), g = _Q();
35291
+ var t = $Z(), n = tQ(), r = eQ(), i = nQ(), a = rQ(), o = iQ(), s = aQ(), c = oQ(), l = sQ(), u = cQ(), d = lQ(), f = uQ(), p = dQ(), m = fQ(), h = pQ(), g = mQ();
35332
35292
  function _(e = !1) {
35333
35293
  let _ = [
35334
35294
  d.default,
@@ -35346,9 +35306,9 @@ var oZ = /* @__PURE__ */ G(((e) => {
35346
35306
  return e ? _.push(n.default, i.default) : _.push(t.default, r.default), _.push(a.default), _;
35347
35307
  }
35348
35308
  e.default = _;
35349
- })), yQ = /* @__PURE__ */ G(((e) => {
35309
+ })), gQ = /* @__PURE__ */ G(((e) => {
35350
35310
  Object.defineProperty(e, "__esModule", { value: !0 });
35351
- var t = cZ();
35311
+ var t = aZ();
35352
35312
  e.default = {
35353
35313
  keyword: "format",
35354
35314
  type: ["number", "string"],
@@ -35421,9 +35381,9 @@ var oZ = /* @__PURE__ */ G(((e) => {
35421
35381
  }
35422
35382
  }
35423
35383
  };
35424
- })), bQ = /* @__PURE__ */ G(((e) => {
35425
- Object.defineProperty(e, "__esModule", { value: !0 }), e.default = [yQ().default];
35426
- })), xQ = /* @__PURE__ */ G(((e) => {
35384
+ })), _Q = /* @__PURE__ */ G(((e) => {
35385
+ Object.defineProperty(e, "__esModule", { value: !0 }), e.default = [gQ().default];
35386
+ })), vQ = /* @__PURE__ */ G(((e) => {
35427
35387
  Object.defineProperty(e, "__esModule", { value: !0 }), e.contentVocabulary = e.metadataVocabulary = void 0, e.metadataVocabulary = [
35428
35388
  "title",
35429
35389
  "description",
@@ -35437,9 +35397,9 @@ var oZ = /* @__PURE__ */ G(((e) => {
35437
35397
  "contentEncoding",
35438
35398
  "contentSchema"
35439
35399
  ];
35440
- })), SQ = /* @__PURE__ */ G(((e) => {
35400
+ })), yQ = /* @__PURE__ */ G(((e) => {
35441
35401
  Object.defineProperty(e, "__esModule", { value: !0 });
35442
- var t = HZ(), n = tQ(), r = vQ(), i = bQ(), a = xQ();
35402
+ var t = zZ(), n = QZ(), r = hQ(), i = _Q(), a = vQ();
35443
35403
  e.default = [
35444
35404
  t.default,
35445
35405
  n.default,
@@ -35448,15 +35408,15 @@ var oZ = /* @__PURE__ */ G(((e) => {
35448
35408
  a.metadataVocabulary,
35449
35409
  a.contentVocabulary
35450
35410
  ];
35451
- })), CQ = /* @__PURE__ */ G(((e) => {
35411
+ })), bQ = /* @__PURE__ */ G(((e) => {
35452
35412
  Object.defineProperty(e, "__esModule", { value: !0 }), e.DiscrError = void 0;
35453
35413
  var t;
35454
35414
  (function(e) {
35455
35415
  e.Tag = "tag", e.Mapping = "mapping";
35456
35416
  })(t || (e.DiscrError = t = {}));
35457
- })), wQ = /* @__PURE__ */ G(((e) => {
35417
+ })), xQ = /* @__PURE__ */ G(((e) => {
35458
35418
  Object.defineProperty(e, "__esModule", { value: !0 });
35459
- var t = cZ(), n = CQ(), r = EZ(), i = TZ(), a = lZ();
35419
+ var t = aZ(), n = bQ(), r = CZ(), i = SZ(), a = oZ();
35460
35420
  e.default = {
35461
35421
  keyword: "discriminator",
35462
35422
  type: "object",
@@ -35524,16 +35484,16 @@ var oZ = /* @__PURE__ */ G(((e) => {
35524
35484
  }
35525
35485
  }
35526
35486
  };
35527
- })), TQ = /* @__PURE__ */ mt({
35528
- $id: () => DQ,
35529
- $schema: () => EQ,
35530
- default: () => MQ,
35531
- definitions: () => kQ,
35532
- properties: () => jQ,
35533
- title: () => OQ,
35534
- type: () => AQ
35535
- }), EQ, DQ, OQ, kQ, AQ, jQ, MQ, NQ = pt((() => {
35536
- EQ = "http://json-schema.org/draft-07/schema#", DQ = "http://json-schema.org/draft-07/schema#", OQ = "Core schema meta-schema", kQ = {
35487
+ })), SQ = /* @__PURE__ */ mt({
35488
+ $id: () => wQ,
35489
+ $schema: () => CQ,
35490
+ default: () => kQ,
35491
+ definitions: () => EQ,
35492
+ properties: () => OQ,
35493
+ title: () => TQ,
35494
+ type: () => DQ
35495
+ }), CQ, wQ, TQ, EQ, DQ, OQ, kQ, AQ = pt((() => {
35496
+ CQ = "http://json-schema.org/draft-07/schema#", wQ = "http://json-schema.org/draft-07/schema#", TQ = "Core schema meta-schema", EQ = {
35537
35497
  schemaArray: {
35538
35498
  type: "array",
35539
35499
  minItems: 1,
@@ -35559,7 +35519,7 @@ var oZ = /* @__PURE__ */ G(((e) => {
35559
35519
  uniqueItems: !0,
35560
35520
  default: []
35561
35521
  }
35562
- }, AQ = ["object", "boolean"], jQ = {
35522
+ }, DQ = ["object", "boolean"], OQ = {
35563
35523
  $id: {
35564
35524
  type: "string",
35565
35525
  format: "uri-reference"
@@ -35658,18 +35618,18 @@ var oZ = /* @__PURE__ */ G(((e) => {
35658
35618
  anyOf: { $ref: "#/definitions/schemaArray" },
35659
35619
  oneOf: { $ref: "#/definitions/schemaArray" },
35660
35620
  not: { $ref: "#" }
35661
- }, MQ = {
35662
- $schema: EQ,
35663
- $id: DQ,
35664
- title: OQ,
35665
- definitions: kQ,
35666
- type: AQ,
35667
- properties: jQ,
35621
+ }, kQ = {
35622
+ $schema: CQ,
35623
+ $id: wQ,
35624
+ title: TQ,
35625
+ definitions: EQ,
35626
+ type: DQ,
35627
+ properties: OQ,
35668
35628
  default: !0
35669
35629
  };
35670
- })), PQ = /* @__PURE__ */ G(((e, t) => {
35630
+ })), jQ = /* @__PURE__ */ G(((e, t) => {
35671
35631
  Object.defineProperty(e, "__esModule", { value: !0 }), e.MissingRefError = e.ValidationError = e.CodeGen = e.Name = e.nil = e.stringify = e.str = e._ = e.KeywordCxt = e.Ajv = void 0;
35672
- var n = zZ(), r = SQ(), i = wQ(), a = (NQ(), _t(TQ).default), o = ["/properties"], s = "http://json-schema.org/draft-07/schema", c = class extends n.default {
35632
+ var n = IZ(), r = yQ(), i = xQ(), a = (AQ(), _t(SQ).default), o = ["/properties"], s = "http://json-schema.org/draft-07/schema", c = class extends n.default {
35673
35633
  _addVocabularies() {
35674
35634
  super._addVocabularies(), r.default.forEach((e) => this.addVocabulary(e)), this.opts.discriminator && this.addKeyword(i.default);
35675
35635
  }
@@ -35683,14 +35643,14 @@ var oZ = /* @__PURE__ */ G(((e) => {
35683
35643
  }
35684
35644
  };
35685
35645
  e.Ajv = c, t.exports = e = c, t.exports.Ajv = c, Object.defineProperty(e, "__esModule", { value: !0 }), e.default = c;
35686
- var l = CZ();
35646
+ var l = bZ();
35687
35647
  Object.defineProperty(e, "KeywordCxt", {
35688
35648
  enumerable: !0,
35689
35649
  get: function() {
35690
35650
  return l.KeywordCxt;
35691
35651
  }
35692
35652
  });
35693
- var u = cZ();
35653
+ var u = aZ();
35694
35654
  Object.defineProperty(e, "_", {
35695
35655
  enumerable: !0,
35696
35656
  get: function() {
@@ -35722,646 +35682,21 @@ var oZ = /* @__PURE__ */ G(((e) => {
35722
35682
  return u.CodeGen;
35723
35683
  }
35724
35684
  });
35725
- var d = wZ();
35685
+ var d = xZ();
35726
35686
  Object.defineProperty(e, "ValidationError", {
35727
35687
  enumerable: !0,
35728
35688
  get: function() {
35729
35689
  return d.default;
35730
35690
  }
35731
35691
  });
35732
- var f = TZ();
35692
+ var f = SZ();
35733
35693
  Object.defineProperty(e, "MissingRefError", {
35734
35694
  enumerable: !0,
35735
35695
  get: function() {
35736
35696
  return f.default;
35737
35697
  }
35738
35698
  });
35739
- })), FQ = /* @__PURE__ */ G(((e) => {
35740
- Object.defineProperty(e, "__esModule", { value: !0 }), e.dynamicAnchor = void 0;
35741
- var t = cZ(), n = uZ(), r = EZ(), i = VZ(), a = {
35742
- keyword: "$dynamicAnchor",
35743
- schemaType: "string",
35744
- code: (e) => o(e, e.schema)
35745
- };
35746
- function o(e, r) {
35747
- let { gen: i, it: a } = e;
35748
- a.schemaEnv.root.dynamicAnchors[r] = !0;
35749
- let o = (0, t._)`${n.default.dynamicAnchors}${(0, t.getProperty)(r)}`, c = a.errSchemaPath === "#" ? a.validateName : s(e);
35750
- i.if((0, t._)`!${o}`, () => i.assign(o, c));
35751
- }
35752
- e.dynamicAnchor = o;
35753
- function s(e) {
35754
- let { schemaEnv: t, schema: n, self: a } = e.it, { root: o, baseId: s, localRefs: c, meta: l } = t.root, { schemaId: u } = a.opts, d = new r.SchemaEnv({
35755
- schema: n,
35756
- schemaId: u,
35757
- root: o,
35758
- baseId: s,
35759
- localRefs: c,
35760
- meta: l
35761
- });
35762
- return r.compileSchema.call(a, d), (0, i.getValidate)(e, d);
35763
- }
35764
- e.default = a;
35765
- })), IQ = /* @__PURE__ */ G(((e) => {
35766
- Object.defineProperty(e, "__esModule", { value: !0 }), e.dynamicRef = void 0;
35767
- var t = cZ(), n = uZ(), r = VZ(), i = {
35768
- keyword: "$dynamicRef",
35769
- schemaType: "string",
35770
- code: (e) => a(e, e.schema)
35771
- };
35772
- function a(e, i) {
35773
- let { gen: a, keyword: o, it: s } = e;
35774
- if (i[0] !== "#") throw Error(`"${o}" only supports hash fragment reference`);
35775
- let c = i.slice(1);
35776
- if (s.allErrors) l();
35777
- else {
35778
- let t = a.let("valid", !1);
35779
- l(t), e.ok(t);
35780
- }
35781
- function l(e) {
35782
- if (s.schemaEnv.root.dynamicAnchors[c]) {
35783
- let r = a.let("_v", (0, t._)`${n.default.dynamicAnchors}${(0, t.getProperty)(c)}`);
35784
- a.if(r, u(r, e), u(s.validateName, e));
35785
- } else u(s.validateName, e)();
35786
- }
35787
- function u(t, n) {
35788
- return n ? () => a.block(() => {
35789
- (0, r.callRef)(e, t), a.let(n, !0);
35790
- }) : () => (0, r.callRef)(e, t);
35791
- }
35792
- }
35793
- e.dynamicRef = a, e.default = i;
35794
- })), LQ = /* @__PURE__ */ G(((e) => {
35795
- Object.defineProperty(e, "__esModule", { value: !0 });
35796
- var t = FQ(), n = lZ();
35797
- e.default = {
35798
- keyword: "$recursiveAnchor",
35799
- schemaType: "boolean",
35800
- code(e) {
35801
- e.schema ? (0, t.dynamicAnchor)(e, "") : (0, n.checkStrictMode)(e.it, "$recursiveAnchor: false is ignored");
35802
- }
35803
- };
35804
- })), RQ = /* @__PURE__ */ G(((e) => {
35805
- Object.defineProperty(e, "__esModule", { value: !0 });
35806
- var t = IQ();
35807
- e.default = {
35808
- keyword: "$recursiveRef",
35809
- schemaType: "string",
35810
- code: (e) => (0, t.dynamicRef)(e, e.schema)
35811
- };
35812
- })), zQ = /* @__PURE__ */ G(((e) => {
35813
- Object.defineProperty(e, "__esModule", { value: !0 });
35814
- var t = FQ(), n = IQ(), r = LQ(), i = RQ();
35815
- e.default = [
35816
- t.default,
35817
- n.default,
35818
- r.default,
35819
- i.default
35820
- ];
35821
- })), BQ = /* @__PURE__ */ G(((e) => {
35822
- Object.defineProperty(e, "__esModule", { value: !0 });
35823
- var t = sQ();
35824
- e.default = {
35825
- keyword: "dependentRequired",
35826
- type: "object",
35827
- schemaType: "object",
35828
- error: t.error,
35829
- code: (e) => (0, t.validatePropertyDeps)(e)
35830
- };
35831
- })), VQ = /* @__PURE__ */ G(((e) => {
35832
- Object.defineProperty(e, "__esModule", { value: !0 });
35833
- var t = sQ();
35834
- e.default = {
35835
- keyword: "dependentSchemas",
35836
- type: "object",
35837
- schemaType: "object",
35838
- code: (e) => (0, t.validateSchemaDeps)(e)
35839
- };
35840
- })), HQ = /* @__PURE__ */ G(((e) => {
35841
- Object.defineProperty(e, "__esModule", { value: !0 });
35842
- var t = lZ();
35843
- e.default = {
35844
- keyword: ["maxContains", "minContains"],
35845
- type: "array",
35846
- schemaType: "number",
35847
- code({ keyword: e, parentSchema: n, it: r }) {
35848
- n.contains === void 0 && (0, t.checkStrictMode)(r, `"${e}" without "contains" is ignored`);
35849
- }
35850
- };
35851
- })), UQ = /* @__PURE__ */ G(((e) => {
35852
- Object.defineProperty(e, "__esModule", { value: !0 });
35853
- var t = BQ(), n = VQ(), r = HQ();
35854
- e.default = [
35855
- t.default,
35856
- n.default,
35857
- r.default
35858
- ];
35859
- })), WQ = /* @__PURE__ */ G(((e) => {
35860
- Object.defineProperty(e, "__esModule", { value: !0 });
35861
- var t = cZ(), n = lZ(), r = uZ();
35862
- e.default = {
35863
- keyword: "unevaluatedProperties",
35864
- type: "object",
35865
- schemaType: ["boolean", "object"],
35866
- trackErrors: !0,
35867
- error: {
35868
- message: "must NOT have unevaluated properties",
35869
- params: ({ params: e }) => (0, t._)`{unevaluatedProperty: ${e.unevaluatedProperty}}`
35870
- },
35871
- code(e) {
35872
- let { gen: i, schema: a, data: o, errsCount: s, it: c } = e;
35873
- /* istanbul ignore if */
35874
- if (!s) throw Error("ajv implementation error");
35875
- let { allErrors: l, props: u } = c;
35876
- u instanceof t.Name ? i.if((0, t._)`${u} !== true`, () => i.forIn("key", o, (e) => i.if(f(u, e), () => d(e)))) : u !== !0 && i.forIn("key", o, (e) => u === void 0 ? d(e) : i.if(p(u, e), () => d(e))), c.props = !0, e.ok((0, t._)`${s} === ${r.default.errors}`);
35877
- function d(r) {
35878
- if (a === !1) {
35879
- e.setParams({ unevaluatedProperty: r }), e.error(), l || i.break();
35880
- return;
35881
- }
35882
- if (!(0, n.alwaysValidSchema)(c, a)) {
35883
- let a = i.name("valid");
35884
- e.subschema({
35885
- keyword: "unevaluatedProperties",
35886
- dataProp: r,
35887
- dataPropType: n.Type.Str
35888
- }, a), l || i.if((0, t.not)(a), () => i.break());
35889
- }
35890
- }
35891
- function f(e, n) {
35892
- return (0, t._)`!${e} || !${e}[${n}]`;
35893
- }
35894
- function p(e, n) {
35895
- let r = [];
35896
- for (let i in e) e[i] === !0 && r.push((0, t._)`${n} !== ${i}`);
35897
- return (0, t.and)(...r);
35898
- }
35899
- }
35900
- };
35901
- })), GQ = /* @__PURE__ */ G(((e) => {
35902
- Object.defineProperty(e, "__esModule", { value: !0 });
35903
- var t = cZ(), n = lZ();
35904
- e.default = {
35905
- keyword: "unevaluatedItems",
35906
- type: "array",
35907
- schemaType: ["boolean", "object"],
35908
- error: {
35909
- message: ({ params: { len: e } }) => (0, t.str)`must NOT have more than ${e} items`,
35910
- params: ({ params: { len: e } }) => (0, t._)`{limit: ${e}}`
35911
- },
35912
- code(e) {
35913
- let { gen: r, schema: i, data: a, it: o } = e, s = o.items || 0;
35914
- if (s === !0) return;
35915
- let c = r.const("len", (0, t._)`${a}.length`);
35916
- if (i === !1) e.setParams({ len: s }), e.fail((0, t._)`${c} > ${s}`);
35917
- else if (typeof i == "object" && !(0, n.alwaysValidSchema)(o, i)) {
35918
- let n = r.var("valid", (0, t._)`${c} <= ${s}`);
35919
- r.if((0, t.not)(n), () => l(n, s)), e.ok(n);
35920
- }
35921
- o.items = !0;
35922
- function l(i, a) {
35923
- r.forRange("i", a, c, (a) => {
35924
- e.subschema({
35925
- keyword: "unevaluatedItems",
35926
- dataProp: a,
35927
- dataPropType: n.Type.Num
35928
- }, i), o.allErrors || r.if((0, t.not)(i), () => r.break());
35929
- });
35930
- }
35931
- }
35932
- };
35933
- })), KQ = /* @__PURE__ */ G(((e) => {
35934
- Object.defineProperty(e, "__esModule", { value: !0 });
35935
- var t = WQ(), n = GQ();
35936
- e.default = [t.default, n.default];
35937
- })), qQ = /* @__PURE__ */ mt({
35938
- $id: () => YQ,
35939
- $recursiveAnchor: () => !0,
35940
- $schema: () => JQ,
35941
- $vocabulary: () => XQ,
35942
- allOf: () => QQ,
35943
- default: () => t$,
35944
- properties: () => e$,
35945
- title: () => ZQ,
35946
- type: () => $Q
35947
- }), JQ, YQ, XQ, ZQ, QQ, $Q, e$, t$, n$ = pt((() => {
35948
- JQ = "https://json-schema.org/draft/2019-09/schema", YQ = "https://json-schema.org/draft/2019-09/schema", XQ = {
35949
- "https://json-schema.org/draft/2019-09/vocab/core": !0,
35950
- "https://json-schema.org/draft/2019-09/vocab/applicator": !0,
35951
- "https://json-schema.org/draft/2019-09/vocab/validation": !0,
35952
- "https://json-schema.org/draft/2019-09/vocab/meta-data": !0,
35953
- "https://json-schema.org/draft/2019-09/vocab/format": !1,
35954
- "https://json-schema.org/draft/2019-09/vocab/content": !0
35955
- }, ZQ = "Core and Validation specifications meta-schema", QQ = [
35956
- { $ref: "meta/core" },
35957
- { $ref: "meta/applicator" },
35958
- { $ref: "meta/validation" },
35959
- { $ref: "meta/meta-data" },
35960
- { $ref: "meta/format" },
35961
- { $ref: "meta/content" }
35962
- ], $Q = ["object", "boolean"], e$ = {
35963
- definitions: {
35964
- $comment: "While no longer an official keyword as it is replaced by $defs, this keyword is retained in the meta-schema to prevent incompatible extensions as it remains in common use.",
35965
- type: "object",
35966
- additionalProperties: { $recursiveRef: "#" },
35967
- default: {}
35968
- },
35969
- dependencies: {
35970
- $comment: "\"dependencies\" is no longer a keyword, but schema authors should avoid redefining it to facilitate a smooth transition to \"dependentSchemas\" and \"dependentRequired\"",
35971
- type: "object",
35972
- additionalProperties: { anyOf: [{ $recursiveRef: "#" }, { $ref: "meta/validation#/$defs/stringArray" }] }
35973
- }
35974
- }, t$ = {
35975
- $schema: JQ,
35976
- $id: YQ,
35977
- $vocabulary: XQ,
35978
- $recursiveAnchor: !0,
35979
- title: ZQ,
35980
- allOf: QQ,
35981
- type: $Q,
35982
- properties: e$
35983
- };
35984
- })), r$ = /* @__PURE__ */ mt({
35985
- $defs: () => u$,
35986
- $id: () => a$,
35987
- $recursiveAnchor: () => !0,
35988
- $schema: () => i$,
35989
- $vocabulary: () => o$,
35990
- default: () => d$,
35991
- properties: () => l$,
35992
- title: () => s$,
35993
- type: () => c$
35994
- }), i$, a$, o$, s$, c$, l$, u$, d$, f$ = pt((() => {
35995
- i$ = "https://json-schema.org/draft/2019-09/schema", a$ = "https://json-schema.org/draft/2019-09/meta/applicator", o$ = { "https://json-schema.org/draft/2019-09/vocab/applicator": !0 }, s$ = "Applicator vocabulary meta-schema", c$ = ["object", "boolean"], l$ = {
35996
- additionalItems: { $recursiveRef: "#" },
35997
- unevaluatedItems: { $recursiveRef: "#" },
35998
- items: { anyOf: [{ $recursiveRef: "#" }, { $ref: "#/$defs/schemaArray" }] },
35999
- contains: { $recursiveRef: "#" },
36000
- additionalProperties: { $recursiveRef: "#" },
36001
- unevaluatedProperties: { $recursiveRef: "#" },
36002
- properties: {
36003
- type: "object",
36004
- additionalProperties: { $recursiveRef: "#" },
36005
- default: {}
36006
- },
36007
- patternProperties: {
36008
- type: "object",
36009
- additionalProperties: { $recursiveRef: "#" },
36010
- propertyNames: { format: "regex" },
36011
- default: {}
36012
- },
36013
- dependentSchemas: {
36014
- type: "object",
36015
- additionalProperties: { $recursiveRef: "#" }
36016
- },
36017
- propertyNames: { $recursiveRef: "#" },
36018
- if: { $recursiveRef: "#" },
36019
- then: { $recursiveRef: "#" },
36020
- else: { $recursiveRef: "#" },
36021
- allOf: { $ref: "#/$defs/schemaArray" },
36022
- anyOf: { $ref: "#/$defs/schemaArray" },
36023
- oneOf: { $ref: "#/$defs/schemaArray" },
36024
- not: { $recursiveRef: "#" }
36025
- }, u$ = { schemaArray: {
36026
- type: "array",
36027
- minItems: 1,
36028
- items: { $recursiveRef: "#" }
36029
- } }, d$ = {
36030
- $schema: i$,
36031
- $id: a$,
36032
- $vocabulary: o$,
36033
- $recursiveAnchor: !0,
36034
- title: s$,
36035
- type: c$,
36036
- properties: l$,
36037
- $defs: u$
36038
- };
36039
- })), p$ = /* @__PURE__ */ mt({
36040
- $id: () => h$,
36041
- $recursiveAnchor: () => !0,
36042
- $schema: () => m$,
36043
- $vocabulary: () => g$,
36044
- default: () => b$,
36045
- properties: () => y$,
36046
- title: () => _$,
36047
- type: () => v$
36048
- }), m$, h$, g$, _$, v$, y$, b$, x$ = pt((() => {
36049
- m$ = "https://json-schema.org/draft/2019-09/schema", h$ = "https://json-schema.org/draft/2019-09/meta/content", g$ = { "https://json-schema.org/draft/2019-09/vocab/content": !0 }, _$ = "Content vocabulary meta-schema", v$ = ["object", "boolean"], y$ = {
36050
- contentMediaType: { type: "string" },
36051
- contentEncoding: { type: "string" },
36052
- contentSchema: { $recursiveRef: "#" }
36053
- }, b$ = {
36054
- $schema: m$,
36055
- $id: h$,
36056
- $vocabulary: g$,
36057
- $recursiveAnchor: !0,
36058
- title: _$,
36059
- type: v$,
36060
- properties: y$
36061
- };
36062
- })), S$ = /* @__PURE__ */ mt({
36063
- $id: () => w$,
36064
- $recursiveAnchor: () => !0,
36065
- $schema: () => C$,
36066
- $vocabulary: () => T$,
36067
- default: () => k$,
36068
- properties: () => O$,
36069
- title: () => E$,
36070
- type: () => D$
36071
- }), C$, w$, T$, E$, D$, O$, k$, A$ = pt((() => {
36072
- C$ = "https://json-schema.org/draft/2019-09/schema", w$ = "https://json-schema.org/draft/2019-09/meta/core", T$ = { "https://json-schema.org/draft/2019-09/vocab/core": !0 }, E$ = "Core vocabulary meta-schema", D$ = ["object", "boolean"], O$ = {
36073
- $id: {
36074
- type: "string",
36075
- format: "uri-reference",
36076
- $comment: "Non-empty fragments not allowed.",
36077
- pattern: "^[^#]*#?$"
36078
- },
36079
- $schema: {
36080
- type: "string",
36081
- format: "uri"
36082
- },
36083
- $anchor: {
36084
- type: "string",
36085
- pattern: "^[A-Za-z][-A-Za-z0-9.:_]*$"
36086
- },
36087
- $ref: {
36088
- type: "string",
36089
- format: "uri-reference"
36090
- },
36091
- $recursiveRef: {
36092
- type: "string",
36093
- format: "uri-reference"
36094
- },
36095
- $recursiveAnchor: {
36096
- type: "boolean",
36097
- default: !1
36098
- },
36099
- $vocabulary: {
36100
- type: "object",
36101
- propertyNames: {
36102
- type: "string",
36103
- format: "uri"
36104
- },
36105
- additionalProperties: { type: "boolean" }
36106
- },
36107
- $comment: { type: "string" },
36108
- $defs: {
36109
- type: "object",
36110
- additionalProperties: { $recursiveRef: "#" },
36111
- default: {}
36112
- }
36113
- }, k$ = {
36114
- $schema: C$,
36115
- $id: w$,
36116
- $vocabulary: T$,
36117
- $recursiveAnchor: !0,
36118
- title: E$,
36119
- type: D$,
36120
- properties: O$
36121
- };
36122
- })), j$ = /* @__PURE__ */ mt({
36123
- $id: () => N$,
36124
- $recursiveAnchor: () => !0,
36125
- $schema: () => M$,
36126
- $vocabulary: () => P$,
36127
- default: () => R$,
36128
- properties: () => L$,
36129
- title: () => F$,
36130
- type: () => I$
36131
- }), M$, N$, P$, F$, I$, L$, R$, z$ = pt((() => {
36132
- M$ = "https://json-schema.org/draft/2019-09/schema", N$ = "https://json-schema.org/draft/2019-09/meta/format", P$ = { "https://json-schema.org/draft/2019-09/vocab/format": !0 }, F$ = "Format vocabulary meta-schema", I$ = ["object", "boolean"], L$ = { format: { type: "string" } }, R$ = {
36133
- $schema: M$,
36134
- $id: N$,
36135
- $vocabulary: P$,
36136
- $recursiveAnchor: !0,
36137
- title: F$,
36138
- type: I$,
36139
- properties: L$
36140
- };
36141
- })), B$ = /* @__PURE__ */ mt({
36142
- $id: () => H$,
36143
- $recursiveAnchor: () => !0,
36144
- $schema: () => V$,
36145
- $vocabulary: () => U$,
36146
- default: () => q$,
36147
- properties: () => K$,
36148
- title: () => W$,
36149
- type: () => G$
36150
- }), V$, H$, U$, W$, G$, K$, q$, J$ = pt((() => {
36151
- V$ = "https://json-schema.org/draft/2019-09/schema", H$ = "https://json-schema.org/draft/2019-09/meta/meta-data", U$ = { "https://json-schema.org/draft/2019-09/vocab/meta-data": !0 }, W$ = "Meta-data vocabulary meta-schema", G$ = ["object", "boolean"], K$ = {
36152
- title: { type: "string" },
36153
- description: { type: "string" },
36154
- default: !0,
36155
- deprecated: {
36156
- type: "boolean",
36157
- default: !1
36158
- },
36159
- readOnly: {
36160
- type: "boolean",
36161
- default: !1
36162
- },
36163
- writeOnly: {
36164
- type: "boolean",
36165
- default: !1
36166
- },
36167
- examples: {
36168
- type: "array",
36169
- items: !0
36170
- }
36171
- }, q$ = {
36172
- $schema: V$,
36173
- $id: H$,
36174
- $vocabulary: U$,
36175
- $recursiveAnchor: !0,
36176
- title: W$,
36177
- type: G$,
36178
- properties: K$
36179
- };
36180
- })), Y$ = /* @__PURE__ */ mt({
36181
- $defs: () => n1,
36182
- $id: () => Z$,
36183
- $recursiveAnchor: () => !0,
36184
- $schema: () => X$,
36185
- $vocabulary: () => Q$,
36186
- default: () => r1,
36187
- properties: () => t1,
36188
- title: () => $$,
36189
- type: () => e1
36190
- }), X$, Z$, Q$, $$, e1, t1, n1, r1, i1 = pt((() => {
36191
- X$ = "https://json-schema.org/draft/2019-09/schema", Z$ = "https://json-schema.org/draft/2019-09/meta/validation", Q$ = { "https://json-schema.org/draft/2019-09/vocab/validation": !0 }, $$ = "Validation vocabulary meta-schema", e1 = ["object", "boolean"], t1 = {
36192
- multipleOf: {
36193
- type: "number",
36194
- exclusiveMinimum: 0
36195
- },
36196
- maximum: { type: "number" },
36197
- exclusiveMaximum: { type: "number" },
36198
- minimum: { type: "number" },
36199
- exclusiveMinimum: { type: "number" },
36200
- maxLength: { $ref: "#/$defs/nonNegativeInteger" },
36201
- minLength: { $ref: "#/$defs/nonNegativeIntegerDefault0" },
36202
- pattern: {
36203
- type: "string",
36204
- format: "regex"
36205
- },
36206
- maxItems: { $ref: "#/$defs/nonNegativeInteger" },
36207
- minItems: { $ref: "#/$defs/nonNegativeIntegerDefault0" },
36208
- uniqueItems: {
36209
- type: "boolean",
36210
- default: !1
36211
- },
36212
- maxContains: { $ref: "#/$defs/nonNegativeInteger" },
36213
- minContains: {
36214
- $ref: "#/$defs/nonNegativeInteger",
36215
- default: 1
36216
- },
36217
- maxProperties: { $ref: "#/$defs/nonNegativeInteger" },
36218
- minProperties: { $ref: "#/$defs/nonNegativeIntegerDefault0" },
36219
- required: { $ref: "#/$defs/stringArray" },
36220
- dependentRequired: {
36221
- type: "object",
36222
- additionalProperties: { $ref: "#/$defs/stringArray" }
36223
- },
36224
- const: !0,
36225
- enum: {
36226
- type: "array",
36227
- items: !0
36228
- },
36229
- type: { anyOf: [{ $ref: "#/$defs/simpleTypes" }, {
36230
- type: "array",
36231
- items: { $ref: "#/$defs/simpleTypes" },
36232
- minItems: 1,
36233
- uniqueItems: !0
36234
- }] }
36235
- }, n1 = {
36236
- nonNegativeInteger: {
36237
- type: "integer",
36238
- minimum: 0
36239
- },
36240
- nonNegativeIntegerDefault0: {
36241
- $ref: "#/$defs/nonNegativeInteger",
36242
- default: 0
36243
- },
36244
- simpleTypes: { enum: [
36245
- "array",
36246
- "boolean",
36247
- "integer",
36248
- "null",
36249
- "number",
36250
- "object",
36251
- "string"
36252
- ] },
36253
- stringArray: {
36254
- type: "array",
36255
- items: { type: "string" },
36256
- uniqueItems: !0,
36257
- default: []
36258
- }
36259
- }, r1 = {
36260
- $schema: X$,
36261
- $id: Z$,
36262
- $vocabulary: Q$,
36263
- $recursiveAnchor: !0,
36264
- title: $$,
36265
- type: e1,
36266
- properties: t1,
36267
- $defs: n1
36268
- };
36269
- })), a1 = /* @__PURE__ */ G(((e) => {
36270
- Object.defineProperty(e, "__esModule", { value: !0 });
36271
- var t = (n$(), _t(qQ).default), n = (f$(), _t(r$).default), r = (x$(), _t(p$).default), i = (A$(), _t(S$).default), a = (z$(), _t(j$).default), o = (J$(), _t(B$).default), s = (i1(), _t(Y$).default), c = ["/properties"];
36272
- function l(e) {
36273
- return [
36274
- t,
36275
- n,
36276
- r,
36277
- i,
36278
- l(this, a),
36279
- o,
36280
- l(this, s)
36281
- ].forEach((e) => this.addMetaSchema(e, void 0, !1)), this;
36282
- function l(t, n) {
36283
- return e ? t.$dataMetaSchema(n, c) : n;
36284
- }
36285
- }
36286
- e.default = l;
36287
- })), o1 = /* @__PURE__ */ G(((e, t) => {
36288
- Object.defineProperty(e, "__esModule", { value: !0 }), e.MissingRefError = e.ValidationError = e.CodeGen = e.Name = e.nil = e.stringify = e.str = e._ = e.KeywordCxt = e.Ajv2019 = void 0;
36289
- var n = zZ(), r = SQ(), i = zQ(), a = UQ(), o = KQ(), s = wQ(), c = a1(), l = "https://json-schema.org/draft/2019-09/schema", u = class extends n.default {
36290
- constructor(e = {}) {
36291
- super({
36292
- ...e,
36293
- dynamicRef: !0,
36294
- next: !0,
36295
- unevaluated: !0
36296
- });
36297
- }
36298
- _addVocabularies() {
36299
- super._addVocabularies(), this.addVocabulary(i.default), r.default.forEach((e) => this.addVocabulary(e)), this.addVocabulary(a.default), this.addVocabulary(o.default), this.opts.discriminator && this.addKeyword(s.default);
36300
- }
36301
- _addDefaultMetaSchema() {
36302
- super._addDefaultMetaSchema();
36303
- let { $data: e, meta: t } = this.opts;
36304
- t && (c.default.call(this, e), this.refs["http://json-schema.org/schema"] = l);
36305
- }
36306
- defaultMeta() {
36307
- return this.opts.defaultMeta = super.defaultMeta() || (this.getSchema(l) ? l : void 0);
36308
- }
36309
- };
36310
- e.Ajv2019 = u, t.exports = e = u, t.exports.Ajv2019 = u, Object.defineProperty(e, "__esModule", { value: !0 }), e.default = u;
36311
- var d = CZ();
36312
- Object.defineProperty(e, "KeywordCxt", {
36313
- enumerable: !0,
36314
- get: function() {
36315
- return d.KeywordCxt;
36316
- }
36317
- });
36318
- var f = cZ();
36319
- Object.defineProperty(e, "_", {
36320
- enumerable: !0,
36321
- get: function() {
36322
- return f._;
36323
- }
36324
- }), Object.defineProperty(e, "str", {
36325
- enumerable: !0,
36326
- get: function() {
36327
- return f.str;
36328
- }
36329
- }), Object.defineProperty(e, "stringify", {
36330
- enumerable: !0,
36331
- get: function() {
36332
- return f.stringify;
36333
- }
36334
- }), Object.defineProperty(e, "nil", {
36335
- enumerable: !0,
36336
- get: function() {
36337
- return f.nil;
36338
- }
36339
- }), Object.defineProperty(e, "Name", {
36340
- enumerable: !0,
36341
- get: function() {
36342
- return f.Name;
36343
- }
36344
- }), Object.defineProperty(e, "CodeGen", {
36345
- enumerable: !0,
36346
- get: function() {
36347
- return f.CodeGen;
36348
- }
36349
- });
36350
- var p = wZ();
36351
- Object.defineProperty(e, "ValidationError", {
36352
- enumerable: !0,
36353
- get: function() {
36354
- return p.default;
36355
- }
36356
- });
36357
- var m = TZ();
36358
- Object.defineProperty(e, "MissingRefError", {
36359
- enumerable: !0,
36360
- get: function() {
36361
- return m.default;
36362
- }
36363
- });
36364
- })), s1 = /* @__PURE__ */ G(((e) => {
35699
+ })), MQ = /* @__PURE__ */ G(((e) => {
36365
35700
  Object.defineProperty(e, "__esModule", { value: !0 }), e.formatNames = e.fastFormats = e.fullFormats = void 0;
36366
35701
  function t(e, t) {
36367
35702
  return {
@@ -36513,9 +35848,9 @@ var oZ = /* @__PURE__ */ G(((e) => {
36513
35848
  return !1;
36514
35849
  }
36515
35850
  }
36516
- })), c1 = /* @__PURE__ */ G(((e) => {
35851
+ })), NQ = /* @__PURE__ */ G(((e) => {
36517
35852
  Object.defineProperty(e, "__esModule", { value: !0 }), e.formatLimitDefinition = void 0;
36518
- var t = PQ(), n = cZ(), r = n.operators, i = {
35853
+ var t = jQ(), n = aZ(), r = n.operators, i = {
36519
35854
  formatMaximum: {
36520
35855
  okStr: "<=",
36521
35856
  ok: r.LTE,
@@ -36575,9 +35910,9 @@ var oZ = /* @__PURE__ */ G(((e) => {
36575
35910
  },
36576
35911
  dependencies: ["format"]
36577
35912
  }, e.default = (t) => (t.addKeyword(e.formatLimitDefinition), t);
36578
- })), l1 = /* @__PURE__ */ G(((e, t) => {
35913
+ })), PQ = /* @__PURE__ */ G(((e, t) => {
36579
35914
  Object.defineProperty(e, "__esModule", { value: !0 });
36580
- var n = s1(), r = c1(), i = cZ(), a = new i.Name("fullFormats"), o = new i.Name("fastFormats"), s = (e, t = { keywords: !0 }) => {
35915
+ var n = MQ(), r = NQ(), i = aZ(), a = new i.Name("fullFormats"), o = new i.Name("fastFormats"), s = (e, t = { keywords: !0 }) => {
36581
35916
  if (Array.isArray(t)) return c(e, t, n.fullFormats, a), e;
36582
35917
  let [i, s] = t.mode === "fast" ? [n.fastFormats, o] : [n.fullFormats, a];
36583
35918
  return c(e, t.formats || n.formatNames, i, s), t.keywords && (0, r.default)(e), e;
@@ -36593,9 +35928,9 @@ var oZ = /* @__PURE__ */ G(((e) => {
36593
35928
  for (let r of t) e.addFormat(r, n[r]);
36594
35929
  }
36595
35930
  t.exports = e = s, Object.defineProperty(e, "__esModule", { value: !0 }), e.default = s;
36596
- })), u1 = /* @__PURE__ */ gt(PQ(), 1), d1 = /* @__PURE__ */ gt(o1(), 1), f1 = /* @__PURE__ */ gt(l1(), 1), p1 = {
35931
+ })), FQ = /* @__PURE__ */ gt(jQ(), 1), IQ = /* @__PURE__ */ gt(PQ(), 1), LQ = {
36597
35932
  required: () => "This field is required",
36598
- type: (e) => `Should be "${h1(e)}".`,
35933
+ type: (e) => `Should be "${zQ(e)}".`,
36599
35934
  minLength: (e) => e.params.limit === 1 ? "This field must not be empty" : `Should NOT be shorter than ${e.params.limit} characters`,
36600
35935
  maxLength: (e) => `Should NOT be longer than ${e.params.limit} characters`,
36601
35936
  minimum: (e) => `Should be >= ${e.params.limit}`,
@@ -36611,83 +35946,76 @@ var oZ = /* @__PURE__ */ G(((e) => {
36611
35946
  format: (e) => `Should be a valid ${e.params.format}`,
36612
35947
  uniqueItemProperties: (e) => `${e.params.propertyName ?? "This field"} must be unique`
36613
35948
  };
36614
- function m1(e, t) {
36615
- let n = p1[e.keyword];
35949
+ function RQ(e, t) {
35950
+ let n = LQ[e.keyword];
36616
35951
  return n ? n(e, t) : e.message ?? "Invalid value";
36617
35952
  }
36618
- function h1(e) {
35953
+ function zQ(e) {
36619
35954
  let t = e.params.type;
36620
35955
  return String(Array.isArray(t) ? t[0] : t);
36621
35956
  }
36622
35957
  //#endregion
36623
35958
  //#region src/composed/JsonSchemaForm/form-bindings/resolveAt.ts
36624
- var g1 = /* @__PURE__ */ new Set();
36625
- function _1(e, t, n, r = {}) {
36626
- let i = t === "" ? [] : t.split("."), a = {
36627
- ...r,
36628
- root: n
36629
- }, o = e.root, s = n, c = [];
36630
- for (let e of i) {
36631
- if (!o) return {
35959
+ function BQ(e, t, n) {
35960
+ let r = t === "" ? [] : t.split("."), i = e.root, a = n, o = [];
35961
+ for (let e of r) {
35962
+ if (!i) return {
36632
35963
  node: void 0,
36633
35964
  value: void 0
36634
35965
  };
36635
- let t = o, { node: n } = v1(t, s, c, a);
36636
- /^\d+$/.test(e) ? (o = n.items, s = Array.isArray(s) ? s[Number(e)] : void 0) : (o = n.properties?.get(e) ?? t.properties?.get(e), s = s && typeof s == "object" ? s[e] : void 0), c.push(e);
35966
+ i = VQ(i, a, n, o), /^\d+$/.test(e) ? (i = i.items, a = Array.isArray(a) ? a[Number(e)] : void 0) : (i = i.properties?.get(e), a = a && typeof a == "object" ? a[e] : void 0), o.push(e);
36637
35967
  }
36638
- if (!o) return {
35968
+ return i ? {
35969
+ node: HQ(VQ(i, a, n, r), r),
35970
+ value: a
35971
+ } : {
36639
35972
  node: void 0,
36640
- value: s
36641
- };
36642
- let { node: l, hiddenByDisplayIf: u } = v1(o, s, i, a);
36643
- return {
36644
- node: y1(l, i),
36645
- value: s,
36646
- hiddenByDisplayIf: u
35973
+ value: a
36647
35974
  };
36648
35975
  }
36649
- function v1(e, t, n, r) {
36650
- if (!e.properties && !e.variants?.length && !e.dependencyBranches?.length) return {
36651
- node: e,
36652
- hiddenByDisplayIf: g1
36653
- };
36654
- let i = AX(e, typeof t == "object" && t && !Array.isArray(t) ? t : {}, n.join("."), r);
36655
- return {
36656
- node: {
36657
- ...e,
36658
- properties: new Map(i.visible.map((e) => [e.key, e.node]))
36659
- },
36660
- hiddenByDisplayIf: new Set(i.hiddenByDisplayIf)
36661
- };
35976
+ function VQ(e, t, n, r) {
35977
+ let i = new Map(e.properties), a = e.variants ? WQ(e.variants, t) : void 0;
35978
+ if (a) for (let [e, t] of a.properties) i.set(e, t);
35979
+ let o = [...e.dependencyBranches ?? [], ...a?.dependencyBranches ?? []];
35980
+ if (o.length > 0) {
35981
+ for (let e of o) if (UQ(e.showIf.$eq, n, r)) for (let [t, n] of e.properties) i.set(t, n);
35982
+ }
35983
+ return i.size > (e.properties?.size ?? 0) ? {
35984
+ ...e,
35985
+ properties: i
35986
+ } : e;
36662
35987
  }
36663
- function y1(e, t) {
35988
+ function HQ(e, t) {
36664
35989
  return e.displayIf ? {
36665
35990
  ...e,
36666
35991
  displayIf: BJ(e.displayIf, t.join("."))
36667
35992
  } : e;
36668
35993
  }
35994
+ function UQ(e, t, n) {
35995
+ for (let [r, i] of e) {
35996
+ let e = NJ(t, zJ(r, n));
35997
+ if (!(Array.isArray(i) ? i : [i]).includes(e)) return !1;
35998
+ }
35999
+ return !0;
36000
+ }
36001
+ function WQ(e, t) {
36002
+ if (typeof t != "object" || !t) return;
36003
+ let n = t;
36004
+ return e.find((e) => e.consts.length > 0 && e.consts.every((e) => Object.is(n[e.key], e.value)));
36005
+ }
36669
36006
  //#endregion
36670
36007
  //#region src/composed/JsonSchemaForm/form-bindings/jsonSchemaResolver.ts
36671
- var b1 = w1(new u1.default({
36672
- strict: !1,
36673
- allErrors: !0
36674
- })), x1 = w1(new d1.default({
36008
+ var GQ = new FQ.default({
36675
36009
  strict: !1,
36676
36010
  allErrors: !0
36677
- })), S1 = /^https?:\/\/json-schema\.org\/draft\/2019-09\/schema#?$/;
36678
- function C1(e) {
36679
- let t = e.$schema;
36680
- return typeof t == "string" && S1.test(t) ? x1 : b1;
36681
- }
36682
- function w1(e) {
36683
- (0, f1.default)(e);
36684
- for (let t of ["text", "gio-code-editor"]) e.addFormat(t, !0);
36685
- return e.removeKeyword("id"), e.addKeyword({
36686
- keyword: "id",
36687
- validate: () => !0
36688
- }), e;
36689
- }
36690
- function T1(e, t = {}) {
36011
+ });
36012
+ (0, IQ.default)(GQ);
36013
+ for (let e of ["text", "gio-code-editor"]) GQ.addFormat(e, !0);
36014
+ GQ.removeKeyword("id"), GQ.addKeyword({
36015
+ keyword: "id",
36016
+ validate: () => !0
36017
+ });
36018
+ function KQ(e, t = {}) {
36691
36019
  let n;
36692
36020
  try {
36693
36021
  n = lY(e);
@@ -36701,9 +36029,9 @@ function T1(e, t = {}) {
36701
36029
  } }
36702
36030
  });
36703
36031
  }
36704
- let r = n.root.schema, { variantPicks: i } = t, a = C1(r), o;
36032
+ let r = n.root.schema, i = n.variantIndices, a;
36705
36033
  try {
36706
- o = a.compile(r);
36034
+ a = GQ.compile(r);
36707
36035
  } catch (e) {
36708
36036
  let t = e instanceof Error ? e.message : "Invalid JSON Schema";
36709
36037
  return () => ({
@@ -36714,171 +36042,83 @@ function T1(e, t = {}) {
36714
36042
  } }
36715
36043
  });
36716
36044
  }
36717
- a.removeSchema(r);
36718
- let s = async (e, r, a) => {
36719
- let s = o(e) ? [] : o.errors ?? [], c = B1(n.root, e, "", "", {
36720
- root: e,
36721
- context: t.context,
36722
- variantPicks: i
36723
- }), l = [...s, ...c];
36724
- if (l.length === 0) return {
36045
+ GQ.removeSchema(r);
36046
+ let o = async (e, t, r) => {
36047
+ let o = a(e) ? [] : a.errors ?? [], s = $Q(n.root, e, "", i), c = [...o, ...s];
36048
+ return c.length === 0 ? {
36725
36049
  values: e,
36726
36050
  errors: {}
36727
- };
36728
- let u = {
36729
- context: t.context,
36730
- variantPicks: i
36731
- };
36732
- return {
36051
+ } : {
36733
36052
  values: {},
36734
- errors: L1(I1(l.filter((t) => !E1(t, n, e, u))), a.criteriaMode ?? "firstError")
36053
+ errors: XQ(YQ(c.filter((t) => !qQ(t, n, e))), r.criteriaMode ?? "firstError")
36735
36054
  };
36736
36055
  };
36737
- if (!t.basePath) return s;
36738
- let { basePath: c } = t;
36056
+ if (!t.basePath) return o;
36057
+ let { basePath: s } = t;
36739
36058
  return async (e, t, n) => {
36740
- let r = await s(e[c] ?? {}, t, n);
36059
+ let r = await o(e[s] ?? {}, t, n);
36741
36060
  return Object.keys(r.errors).length === 0 ? {
36742
36061
  values: e,
36743
36062
  errors: {}
36744
36063
  } : {
36745
36064
  values: {},
36746
- errors: { [c]: r.errors }
36065
+ errors: { [s]: r.errors }
36747
36066
  };
36748
36067
  };
36749
36068
  }
36750
- function E1(e, t, n, r) {
36751
- let { node: i, value: a, hiddenByDisplayIf: o } = _1(t, (e.instancePath ? e.instancePath.slice(1).split("/").map(aY) : []).join("."), n, r);
36752
- if (!i) return !1;
36069
+ function qQ(e, t, n) {
36070
+ let { node: r, value: i } = BQ(t, (e.instancePath ? e.instancePath.slice(1).split("/").map(aY) : []).join("."), n);
36071
+ if (!r) return !1;
36753
36072
  switch (e.keyword) {
36754
36073
  case "const":
36755
- case "enum": return F1(i.schema, a);
36074
+ case "enum": return JQ(r.schema, i);
36756
36075
  case "required": {
36757
- if (D1(e, t, n, r.variantPicks)) return !0;
36758
- let a = e.params.missingProperty;
36759
- return typeof a != "string" || !i.properties || i.properties.has(a) ? !1 : O1(i.schema, a) ? o?.has(a) === !0 || P1(e.schemaPath) : !0;
36076
+ let t = e.params.missingProperty;
36077
+ return typeof t == "string" && !!r.properties && !r.properties.has(t);
36760
36078
  }
36761
36079
  default: return !1;
36762
36080
  }
36763
36081
  }
36764
- function D1(e, t, n, r) {
36765
- let i = e.schemaPath.replace(/^#\/?/, "").split("/").map(aY);
36766
- i.pop();
36767
- let a = e.instancePath ? e.instancePath.slice(1).split("/").map(aY) : [], o = t.root, s, c = n, l = 0;
36768
- for (let e = 0; e < i.length && o; e++) {
36769
- let t = i[e];
36770
- if (t === "properties") {
36771
- let t = i[++e];
36772
- if (a[l] !== t) return !1;
36773
- o = s ? s.properties.get(t) : o.properties?.get(t), s = void 0, c = k1(c) ? c[t] : void 0, l++;
36774
- } else if (t === "items" && !s && !/^\d+$/.test(i[e + 1] ?? "")) {
36775
- let e = a[l];
36776
- if (e === void 0 || !/^\d+$/.test(e)) return !1;
36777
- o = o.items, c = Array.isArray(c) ? c[Number(e)] : void 0, l++;
36778
- } else if ((t === "oneOf" || t === "anyOf") && !s) {
36779
- let n = o.schema[t]?.[Number(i[++e])], u = o.variants ?? [], d = u.findIndex((e) => e.raw === n);
36780
- if (d < 0) return !1;
36781
- let f = k1(c) ? c : {}, p = a.slice(0, l).join(".");
36782
- if (nX(u.map((e) => e.raw), p, r, (e) => f[e]) !== d) return !0;
36783
- s = u[d];
36784
- } else return !1;
36785
- }
36786
- return !1;
36787
- }
36788
- function O1(e, t) {
36789
- if (e.$ref !== void 0 || e.properties && Object.prototype.hasOwnProperty.call(e.properties, t)) return !0;
36790
- for (let n of Object.keys(e.patternProperties ?? {})) try {
36791
- if (new RegExp(n).test(t)) return !0;
36792
- } catch {
36793
- return !0;
36794
- }
36795
- let n = [
36796
- ...e.oneOf ?? [],
36797
- ...e.anyOf ?? [],
36798
- ...e.allOf ?? [],
36799
- ...[
36800
- e.if,
36801
- e.then,
36802
- e.else
36803
- ].filter((e) => typeof e == "object" && !!e)
36804
- ];
36805
- for (let t of Object.values(e.dependencies ?? {})) !Array.isArray(t) && typeof t == "object" && n.push(t);
36806
- return n.some((e) => O1(e, t));
36807
- }
36808
- function k1(e) {
36809
- return typeof e == "object" && !!e && !Array.isArray(e);
36810
- }
36811
- var A1 = new Set([
36812
- "properties",
36813
- "patternProperties",
36814
- "dependencies",
36815
- "definitions",
36816
- "$defs"
36817
- ]), j1 = new Set([
36818
- "oneOf",
36819
- "anyOf",
36820
- "allOf"
36821
- ]), M1 = new Set([
36822
- "properties",
36823
- "patternProperties",
36824
- "additionalProperties",
36825
- "items",
36826
- "additionalItems"
36827
- ]), N1 = new Set([
36828
- "oneOf",
36829
- "anyOf",
36830
- "dependencies"
36831
- ]);
36832
- function P1(e) {
36833
- let t = e.replace(/^#\/?/, "").split("/").map(aY);
36834
- t.pop();
36835
- let n = [];
36836
- for (let e = 0; e < t.length; e++) {
36837
- let r = t[e];
36838
- M1.has(r) ? n = [] : n.push(r), (A1.has(r) || j1.has(r) || r === "items" && /^\d+$/.test(t[e + 1] ?? "")) && e++;
36839
- }
36840
- return n.some((e) => N1.has(e));
36841
- }
36842
- function F1(e, t) {
36082
+ function JQ(e, t) {
36843
36083
  return e.const === void 0 ? Array.isArray(e.enum) ? e.enum.includes(t) : !1 : Object.is(e.const, t);
36844
36084
  }
36845
- function I1(e) {
36085
+ function YQ(e) {
36846
36086
  return e.filter((t) => {
36847
36087
  if (t.keyword !== "oneOf" && t.keyword !== "anyOf") return !0;
36848
- let n = R1(t), r = n === "" ? "" : `${n}.`;
36088
+ let n = ZQ(t), r = n === "" ? "" : `${n}.`;
36849
36089
  return !e.some((e) => {
36850
36090
  if (e === t) return !1;
36851
- let i = R1(e);
36091
+ let i = ZQ(e);
36852
36092
  return n === "" ? i !== "" : i.startsWith(r);
36853
36093
  });
36854
36094
  });
36855
36095
  }
36856
- function L1(e, t) {
36096
+ function XQ(e, t) {
36857
36097
  let n = /* @__PURE__ */ new Map();
36858
36098
  for (let t of e) {
36859
- let e = R1(t), r = n.get(e) ?? [];
36099
+ let e = ZQ(t), r = n.get(e) ?? [];
36860
36100
  r.push(t), n.set(e, r);
36861
36101
  }
36862
36102
  let r = {};
36863
36103
  for (let [e, i] of n) {
36864
36104
  let n = {
36865
36105
  type: i[0].keyword,
36866
- message: m1(i[0], e)
36106
+ message: RQ(i[0], e)
36867
36107
  };
36868
36108
  if (t === "all" && i.length > 0) {
36869
36109
  let t = {};
36870
- for (let n of i) t[n.keyword] = m1(n, e);
36110
+ for (let n of i) t[n.keyword] = RQ(n, e);
36871
36111
  n.types = t;
36872
36112
  }
36873
- z1(r, e === "" ? "root" : e, n);
36113
+ QQ(r, e === "" ? "root" : e, n);
36874
36114
  }
36875
36115
  return r;
36876
36116
  }
36877
- function R1(e) {
36117
+ function ZQ(e) {
36878
36118
  let t = e.instancePath ? e.instancePath.slice(1).split("/").map(aY) : [];
36879
36119
  return e.keyword === "required" && typeof e.params.missingProperty == "string" && t.push(e.params.missingProperty), t.join(".");
36880
36120
  }
36881
- function z1(e, t, n) {
36121
+ function QQ(e, t, n) {
36882
36122
  let r = t.split("."), i = e;
36883
36123
  for (let e = 0; e < r.length - 1; e++) {
36884
36124
  let t = r[e];
@@ -36886,161 +36126,62 @@ function z1(e, t, n) {
36886
36126
  }
36887
36127
  i[r[r.length - 1]] = n;
36888
36128
  }
36889
- function B1(e, t, n, r, i) {
36129
+ function $Q(e, t, n, r) {
36890
36130
  if (!e) return [];
36891
- let a = [];
36892
- if (e.schema.gioConfig?.uniqueItemProperties && Array.isArray(t)) for (let n of e.schema.gioConfig.uniqueItemProperties) {
36893
- let e = t.map((e) => typeof e == "object" && e ? e[n] : void 0).filter((e) => e != null);
36131
+ let i = [];
36132
+ if (e.schema.gioConfig?.uniqueItemProperties && Array.isArray(t)) for (let r of e.schema.gioConfig.uniqueItemProperties) {
36133
+ let e = t.map((e) => typeof e == "object" && e ? e[r] : void 0).filter((e) => e != null);
36894
36134
  if (new Set(e).size !== e.length) {
36895
- a.push({
36135
+ i.push({
36896
36136
  keyword: "uniqueItemProperties",
36897
- instancePath: r,
36137
+ instancePath: n,
36898
36138
  schemaPath: "",
36899
- params: { propertyName: n },
36139
+ params: { propertyName: r },
36900
36140
  message: "must be unique"
36901
36141
  });
36902
36142
  break;
36903
36143
  }
36904
36144
  }
36905
- if (typeof t == "object" && t && !Array.isArray(t)) {
36906
- let o = t;
36907
- for (let t of AX(e, o, n, i).visible) a.push(...B1(t.node, o[t.key], t.path, `${r}/${iY(t.key)}`, i));
36145
+ let a = typeof t == "object" && !!t && !Array.isArray(t);
36146
+ if (e.properties && a) for (let [a, o] of e.properties) i.push(...$Q(o, t[a], `${n}/${iY(a)}`, r));
36147
+ if (e.variants && e.variants.length > 0 && a) {
36148
+ let a = t, o = nX(e.variants.map((e) => e.raw), e.rhfPath, r, (e) => a[e]), s = e.variants[o];
36149
+ if (s) for (let [e, t] of s.properties) i.push(...$Q(t, a[e], `${n}/${iY(e)}`, r));
36908
36150
  }
36909
- return e.items && Array.isArray(t) && t.forEach((t, o) => {
36910
- let s = n ? `${n}.${o}` : String(o);
36911
- a.push(...B1(e.items, t, s, `${r}/${o}`, i));
36912
- }), a;
36913
- }
36914
- //#endregion
36915
- //#region src/composed/JsonSchemaForm/schema/displayedErrorPaths.ts
36916
- function V1(e, t, n, r) {
36917
- let i = /* @__PURE__ */ new Set(), a = LX(e);
36918
- return a && H1(a, t, "", {
36919
- root: t,
36920
- context: n,
36921
- variantPicks: r
36922
- }, i), i;
36923
- }
36924
- function H1(e, t, n, r, i) {
36925
- if (e.schema.deprecated !== !0) switch (SX(e.schema)) {
36926
- case "object": {
36927
- let a = U1(t) ? t : {}, o = AX(e, a, n, r), s = o.activeVariantIndex === void 0 ? void 0 : e.variants?.[o.activeVariantIndex];
36928
- for (let e of o.visible) e.node.schema.const !== void 0 && s?.properties.get(e.key) === e.node || H1(e.node, a[e.key], e.path, r, i);
36929
- return;
36930
- }
36931
- case "array":
36932
- if (n && i.add(n), e.items && Array.isArray(t)) {
36933
- let { items: a } = e;
36934
- t.forEach((e, t) => H1(a, e, n ? `${n}.${t}` : String(t), r, i));
36935
- }
36936
- return;
36937
- case "null":
36938
- case void 0: return;
36939
- default: n && i.add(n);
36940
- }
36941
- }
36942
- function U1(e) {
36943
- return typeof e == "object" && !!e && !Array.isArray(e);
36944
- }
36945
- //#endregion
36946
- //#region src/composed/JsonSchemaForm/form-bindings/hiddenFormErrors.ts
36947
- var W1 = new Set([
36948
- "type",
36949
- "message",
36950
- "types",
36951
- "ref"
36952
- ]);
36953
- function G1(e, t, n, r, i) {
36954
- let a = LX(e), o = {
36955
- root: t,
36956
- context: r,
36957
- variantPicks: i
36958
- }, s = K1(n, (e) => !!a && Y1(a, t, e ? `${e}.root` : "root", o) !== void 0);
36959
- if (s.length === 0) return [];
36960
- let c = V1(e, t, r, i);
36961
- return s.filter((e) => !c.has(e.path)).map((e) => ({
36962
- ...e,
36963
- labels: a ? J1(a, t, e.path, o) : Q1(e.path)
36964
- }));
36965
- }
36966
- function K1(e, t = () => !1, n = "") {
36967
- if (typeof e != "object" || !e) return [];
36968
- let r = e, i = [], a = typeof r.type == "string";
36969
- a && i.push({
36970
- path: n,
36971
- messages: q1(r)
36972
- });
36973
- for (let [e, o] of Object.entries(r)) {
36974
- if (a && W1.has(e)) continue;
36975
- let r = e === "root" && !t(n) ? n : n ? `${n}.${e}` : e;
36976
- i.push(...K1(o, t, r));
36977
- }
36978
- return i;
36979
- }
36980
- function q1(e) {
36981
- let t = e.types;
36982
- if (typeof t == "object" && t) {
36983
- let e = Object.values(t).flat().filter((e) => typeof e == "string");
36984
- if (e.length > 0) return [...new Set(e)];
36985
- }
36986
- return [typeof e.message == "string" && e.message ? e.message : "Invalid value"];
36987
- }
36988
- function J1(e, t, n, r) {
36989
- return X1(e, t, n, r).map(({ segment: e, parent: t, node: n }) => t?.items && n === t.items ? `${kY(n.schema)} ${Number(e) + 1}` : n ? T(n.schema, e) : e);
36990
- }
36991
- function Y1(e, t, n, r) {
36992
- return X1(e, t, n, r).at(-1)?.node;
36993
- }
36994
- function X1(e, t, n, r) {
36995
- let i = [], a = e, o = t, s = "";
36996
- for (let e of Q1(n)) {
36997
- let t = a;
36998
- a = t?.items && /^\d+$/.test(e) ? t.items : t ? Z1(t, o, s, e, r) : void 0, i.push({
36999
- segment: e,
37000
- parent: t,
37001
- node: a
37002
- }), o = typeof o == "object" && o ? o[e] : void 0, s = s ? `${s}.${e}` : e;
37003
- }
37004
- return i;
37005
- }
37006
- function Z1(e, t, n, r, i) {
37007
- let a = AX(e, typeof t == "object" && t && !Array.isArray(t) ? t : {}, n, i).visible.find((e) => e.key === r);
37008
- return a ? a.node : e.properties?.get(r) ?? e.variants?.map((e) => e.properties.get(r)).find((e) => e !== void 0) ?? e.dependencyBranches?.map((e) => e.properties.get(r)).find((e) => e !== void 0);
37009
- }
37010
- function Q1(e) {
37011
- return e ? e.split(".") : [];
36151
+ return e.items && Array.isArray(t) && t.forEach((t, a) => {
36152
+ i.push(...$Q(e.items, t, `${n}/${a}`, r));
36153
+ }), i;
37012
36154
  }
37013
36155
  //#endregion
37014
36156
  //#region src/composed/JsonSchemaForm/form-bindings/pruneHiddenValues.ts
37015
- function $1(e, t, n, r) {
37016
- let i = LX(e);
37017
- if (!i) return t;
37018
- let a = structuredClone(t), o = {
37019
- root: a,
37020
- context: n,
37021
- variantPicks: r
37022
- };
37023
- for (; e0(i, a, "", o););
37024
- return a;
36157
+ function e$(e, t, n) {
36158
+ let r = PX(e);
36159
+ if (!r) return t;
36160
+ let i = structuredClone(t), a = {
36161
+ root: i,
36162
+ context: n
36163
+ };
36164
+ for (; t$(r, i, "", a););
36165
+ return i;
37025
36166
  }
37026
- function e0(e, t, n, r) {
36167
+ function t$(e, t, n, r) {
37027
36168
  if (Array.isArray(t)) {
37028
36169
  let { items: i } = e;
37029
36170
  if (!i) return !1;
37030
36171
  let a = !1;
37031
36172
  return t.forEach((e, t) => {
37032
- e0(i, e, n ? `${n}.${t}` : String(t), r) && (a = !0);
36173
+ t$(i, e, n ? `${n}.${t}` : String(t), r) && (a = !0);
37033
36174
  }), a;
37034
36175
  }
37035
36176
  if (typeof t != "object" || !t) return !1;
37036
- let i = t, { visible: a, hiddenKeys: o } = AX(e, i, n, r), s = !1;
37037
- for (let t of o) !(t in i) || PX(e, t) || (delete i[t], s = !0);
37038
- for (let e of a) e.key in i && e0(e.node, i[e.key], e.path, r) && (s = !0);
36177
+ let i = t, { visible: a, hiddenKeys: o } = DX(e, i, n, r), s = !1;
36178
+ for (let t of o) !(t in i) || jX(e, t) || (delete i[t], s = !0);
36179
+ for (let e of a) e.key in i && t$(e.node, i[e.key], e.path, r) && (s = !0);
37039
36180
  return s;
37040
36181
  }
37041
36182
  //#endregion
37042
36183
  //#region src/composed/LayoutSlots/LayoutSlotsContext.tsx
37043
- var t0 = {
36184
+ var n$ = {
37044
36185
  navigation: null,
37045
36186
  contextSidebar: null,
37046
36187
  breadcrumbs: [],
@@ -37051,9 +36192,9 @@ var t0 = {
37051
36192
  banner: null,
37052
36193
  bannerSticky: !1,
37053
36194
  footer: null
37054
- }, n0 = Ie(null);
37055
- function r0({ children: e }) {
37056
- let [t, n] = Xe(t0), r = Be((e, t) => {
36195
+ }, r$ = Ie(null);
36196
+ function i$({ children: e }) {
36197
+ let [t, n] = Xe(n$), r = Be((e, t) => {
37057
36198
  n((n) => ({
37058
36199
  ...n,
37059
36200
  [e]: t
@@ -37065,7 +36206,7 @@ function r0({ children: e }) {
37065
36206
  }));
37066
36207
  }, []), a = Be((e) => {
37067
36208
  n((t) => {
37068
- let n = Object.fromEntries(e.map((e) => [e, t0[e]]));
36209
+ let n = Object.fromEntries(e.map((e) => [e, n$[e]]));
37069
36210
  return {
37070
36211
  ...t,
37071
36212
  ...n
@@ -37082,20 +36223,20 @@ function r0({ children: e }) {
37082
36223
  i,
37083
36224
  a
37084
36225
  ]);
37085
- return /* @__PURE__ */ U(n0.Provider, {
36226
+ return /* @__PURE__ */ U(r$.Provider, {
37086
36227
  value: o,
37087
36228
  children: e
37088
36229
  });
37089
36230
  }
37090
- function i0() {
37091
- let e = Ve(n0);
36231
+ function a$() {
36232
+ let e = Ve(r$);
37092
36233
  if (!e) throw Error("useLayoutSlots must be used within a LayoutSlotsProvider.");
37093
36234
  return e;
37094
36235
  }
37095
36236
  //#endregion
37096
36237
  //#region src/composed/LayoutSlots/use-layout-config.ts
37097
- function a0(e, t = []) {
37098
- let { setSlots: n, resetSlots: r } = i0();
36238
+ function o$(e, t = []) {
36239
+ let { setSlots: n, resetSlots: r } = a$();
37099
36240
  Ke(() => {
37100
36241
  n(e);
37101
36242
  let t = Object.keys(e);
@@ -37110,7 +36251,7 @@ function a0(e, t = []) {
37110
36251
  }
37111
36252
  //#endregion
37112
36253
  //#region src/composed/PageFocused/PageFocused.tsx
37113
- function o0({ children: e, className: n, "data-testid": r }) {
36254
+ function s$({ children: e, className: n, "data-testid": r }) {
37114
36255
  return /* @__PURE__ */ U("div", {
37115
36256
  "data-slot": "page-focused",
37116
36257
  "data-testid": r,
@@ -37118,10 +36259,10 @@ function o0({ children: e, className: n, "data-testid": r }) {
37118
36259
  children: e
37119
36260
  });
37120
36261
  }
37121
- o0.displayName = "PageFocused";
36262
+ s$.displayName = "PageFocused";
37122
36263
  //#endregion
37123
36264
  //#region src/composed/PageHeader/PageHeader.tsx
37124
- function s0({ title: e, description: n, actions: r, children: i, className: a, "data-testid": o }) {
36265
+ function c$({ title: e, description: n, actions: r, children: i, className: a, "data-testid": o }) {
37125
36266
  return /* @__PURE__ */ W("header", {
37126
36267
  "data-slot": "page-header",
37127
36268
  "data-testid": o,
@@ -37153,10 +36294,10 @@ function s0({ title: e, description: n, actions: r, children: i, className: a, "
37153
36294
  }) : null]
37154
36295
  });
37155
36296
  }
37156
- s0.displayName = "PageHeader";
36297
+ c$.displayName = "PageHeader";
37157
36298
  //#endregion
37158
36299
  //#region src/composed/SearchField/SearchField.tsx
37159
- function c0({ ref: e, value: t = "", onValueChange: n, debounceMs: r = 300, className: i, disabled: a, onKeyDown: o, "data-testid": s, ...c }) {
36300
+ function l$({ ref: e, value: t = "", onValueChange: n, debounceMs: r = 300, className: i, disabled: a, onKeyDown: o, "data-testid": s, ...c }) {
37160
36301
  let [l, u] = Xe(t), d = Ye(null), f = Ye(t), p = Ye(void 0), m = Ye(n);
37161
36302
  Ge(e, () => d.current, []), Ue(() => {
37162
36303
  m.current = n;
@@ -37216,10 +36357,10 @@ function c0({ ref: e, value: t = "", onValueChange: n, debounceMs: r = 300, clas
37216
36357
  ]
37217
36358
  });
37218
36359
  }
37219
- c0.displayName = "SearchField";
36360
+ l$.displayName = "SearchField";
37220
36361
  //#endregion
37221
36362
  //#region src/composed/TopNavUser/TopNavUser.tsx
37222
- var l0 = [
36363
+ var u$ = [
37223
36364
  {
37224
36365
  value: "light",
37225
36366
  label: "Light"
@@ -37233,7 +36374,7 @@ var l0 = [
37233
36374
  label: "System"
37234
36375
  }
37235
36376
  ];
37236
- function u0({ name: e, email: n, avatarUrl: r, initials: i, className: a, onSignOut: o }) {
36377
+ function d$({ name: e, email: n, avatarUrl: r, initials: i, className: a, onSignOut: o }) {
37237
36378
  let s = i ?? e.slice(0, 2).toUpperCase(), { mode: c, setMode: l } = Me();
37238
36379
  return /* @__PURE__ */ W(bL, { children: [/* @__PURE__ */ U(SL, {
37239
36380
  asChild: !0,
@@ -37262,7 +36403,7 @@ function u0({ name: e, email: n, avatarUrl: r, initials: i, className: a, onSign
37262
36403
  /* @__PURE__ */ U(DL, {
37263
36404
  value: c,
37264
36405
  onValueChange: (e) => l(e),
37265
- children: l0.map((e) => /* @__PURE__ */ U(OL, {
36406
+ children: u$.map((e) => /* @__PURE__ */ U(OL, {
37266
36407
  value: e.value,
37267
36408
  children: e.label
37268
36409
  }, e.value))
@@ -37275,6 +36416,6 @@ function u0({ name: e, email: n, avatarUrl: r, initials: i, className: a, onSign
37275
36416
  ]
37276
36417
  })] });
37277
36418
  }
37278
- u0.displayName = "TopNavUser";
36419
+ d$.displayName = "TopNavUser";
37279
36420
  //#endregion
37280
- export { zv as Accordion, Hv as AccordionContent, Bv as AccordionItem, Vv as AccordionTrigger, o as Alert, a as AlertAction, f as AlertDescription, D as AlertTitle, IW as AppContextBar, KW as AppLayout, YW as AppSidebar, NW as AppSwitcher, Uv as Avatar, Kv as AvatarBadge, Gv as AvatarFallback, qv as AvatarGroup, Jv as AvatarGroupCount, Wv as AvatarImage, Xv as Badge, iq as BadgeCell, Zv as Breadcrumb, ry as BreadcrumbEllipsis, $v as BreadcrumbItem, ey as BreadcrumbLink, Qv as BreadcrumbList, ty as BreadcrumbPage, ny as BreadcrumbSeparator, ay as Button, sy as ButtonGroup, ly as ButtonGroupSeparator, cy as ButtonGroupText, TC as Calendar, MC as CalendarDayButton, NC as Card, LC as CardAction, RC as CardContent, IC as CardDescription, zC as CardFooter, PC as CardHeader, FC as CardTitle, BC as Checkbox, VC as Collapsible, UC as CollapsibleContent, HC as CollapsibleTrigger, sj as Combobox, xj as ComboboxChip, bj as ComboboxChips, Sj as ComboboxChipsInput, _j as ComboboxCollection, fj as ComboboxContent, vj as ComboboxEmpty, hj as ComboboxGroup, dj as ComboboxInput, mj as ComboboxItem, gj as ComboboxLabel, pj as ComboboxList, yj as ComboboxSeparator, lj as ComboboxTrigger, cj as ComboboxValue, FF as Command, IF as CommandDialog, zF as CommandEmpty, BF as CommandGroup, LF as CommandInput, HF as CommandItem, RF as CommandList, VF as CommandSeparator, UF as CommandShortcut, rG as ContentHeader, WF as ContextMenu, eI as ContextMenuCheckboxItem, XF as ContextMenuContent, KF as ContextMenuGroup, ZF as ContextMenuItem, nI as ContextMenuLabel, qF as ContextMenuPortal, YF as ContextMenuRadioGroup, tI as ContextMenuRadioItem, rI as ContextMenuSeparator, iI as ContextMenuShortcut, JF as ContextMenuSub, $F as ContextMenuSubContent, QF as ContextMenuSubTrigger, GF as ContextMenuTrigger, ZW as ContextSidebar, QW as ContextToggleButton, oq as CopyableCell, iG as CopyableText, t0 as DEFAULT_SLOTS, JK as DataTable, YK as DataTableColumnHeader, cq as DataTableEmptyState, jK as DataTablePagination, HK as DataTableViewOptions, rq as DateCell, _J as DatePicker, vJ as DateRangePicker, xJ as DateTimePicker, wJ as DateTimeRangePicker, TF as Dialog, OF as DialogClose, AF as DialogContent, PF as DialogDescription, MF as DialogFooter, jF as DialogHeader, kF as DialogOverlay, DF as DialogPortal, NF as DialogTitle, EF as DialogTrigger, uL as Drawer, pL as DrawerClose, hL as DrawerContent, yL as DrawerDescription, _L as DrawerFooter, gL as DrawerHeader, mL as DrawerOverlay, fL as DrawerPortal, vL as DrawerTitle, dL as DrawerTrigger, bL as DropdownMenu, EL as DropdownMenuCheckboxItem, CL as DropdownMenuContent, wL as DropdownMenuGroup, TL as DropdownMenuItem, kL as DropdownMenuLabel, xL as DropdownMenuPortal, DL as DropdownMenuRadioGroup, OL as DropdownMenuRadioItem, AL as DropdownMenuSeparator, jL as DropdownMenuShortcut, ML as DropdownMenuSub, PL as DropdownMenuSubContent, NL as DropdownMenuSubTrigger, SL as DropdownMenuTrigger, EJ as ElCheatSheetTrigger, FL as Empty, VL as EmptyContent, BL as EmptyDescription, IL as EmptyHeader, RL as EmptyMedia, zL as EmptyTitle, DJ as FacetedFilter, k as Field, w as FieldContent, C as FieldDescription, _ as FieldError, L as FieldGroup, R as FieldLabel, y as FieldLegend, te as FieldSeparator, h as FieldSet, i as FieldTitle, MJ as FileUpload, Fz as FileUploadInput, jJ as FileUploadItem, Iz as HoverCard, Rz as HoverCardContent, Vz as HoverCardDescription, zz as HoverCardHeader, Bz as HoverCardTitle, Lz as HoverCardTrigger, QA as Input, $A as InputGroup, tj as InputGroupAddon, rj as InputGroupButton, aj as InputGroupInput, ij as InputGroupText, oj as InputGroupTextarea, Gz as Item, Zz as ItemActions, Jz as ItemContent, Xz as ItemDescription, $z as ItemFooter, Hz as ItemGroup, Qz as ItemHeader, qz as ItemMedia, Uz as ItemSeparator, Yz as ItemTitle, OX as JsonSchemaForm, eB as Kbd, tB as KbdGroup, ee as Label, r0 as LayoutSlotsProvider, iB as Logo, aq as MonoCell, o0 as PageFocused, s0 as PageHeader, aB as Pagination, oB as PaginationContent, dB as PaginationEllipsis, sB as PaginationItem, cB as PaginationLink, uB as PaginationNext, lB as PaginationPrevious, hX as PasswordInput, fB as Popover, hB as PopoverAnchor, mB as PopoverContent, vB as PopoverDescription, gB as PopoverHeader, _B as PopoverTitle, pB as PopoverTrigger, yt as PortalContainerProvider, yB as Progress, xB as Prose, SB as RadioGroup, CB as RadioGroupItem, xH as ResizableHandle, bH as ResizablePanel, yH as ResizablePanelGroup, SH as ScrollArea, CH as ScrollBar, c0 as SearchField, wH as Select, OH as SelectContent, TH as SelectGroup, AH as SelectItem, kH as SelectLabel, NH as SelectScrollDownButton, MH as SelectScrollUpButton, jH as SelectSeparator, DH as SelectTrigger, EH as SelectValue, PW as SelectorDropdown, FW as SelectorTriggerButton, g as Separator, PH as Sheet, IH as SheetClose, zH as SheetContent, UH as SheetDescription, VH as SheetFooter, BH as SheetHeader, HH as SheetTitle, FH as SheetTrigger, cU as Sidebar, gU as SidebarContent, mU as SidebarFooter, _U as SidebarGroup, yU as SidebarGroupAction, bU as SidebarGroupContent, vU as SidebarGroupLabel, pU as SidebarHeader, fU as SidebarInput, dU as SidebarInset, xU as SidebarMenu, TU as SidebarMenuAction, EU as SidebarMenuBadge, wU as SidebarMenuButton, SU as SidebarMenuItem, DU as SidebarMenuSkeleton, OU as SidebarMenuSub, AU as SidebarMenuSubButton, kU as SidebarMenuSubItem, WW as SidebarModeControl, HW as SidebarModeProvider, XW as SidebarNavigation, sU as SidebarProvider, uU as SidebarRail, hU as SidebarSeparator, lU as SidebarTrigger, eG as SidebarUpgradeFooter, n as Skeleton, uW as Spinner, dW as Switch, fW as Table, mW as TableBody, yW as TableCaption, vW as TableCell, hW as TableFooter, _W as TableHead, pW as TableHeader, gW as TableRow, bW as Tabs, wW as TabsContent, SW as TabsList, CW as TabsTrigger, e as Textarea, Ne as ThemeProvider, lW as Toaster, EW as Toggle, OW as ToggleGroup, kW as ToggleGroupItem, GH as Tooltip, qH as TooltipContent, WH as TooltipProvider, KH as TooltipTrigger, u0 as TopNavUser, sq as TruncatedCell, r as alertVariants, VX as applyVisibleDefaults, Yv as badgeVariants, aG as buildLinearBreadcrumbs, oy as buttonGroupVariants, iy as buttonVariants, t as cn, aZ as composeResolvers, bY as extractDefaults, G1 as hiddenFormErrors, T1 as jsonSchemaResolver, rB as logoVariants, $1 as pruneHiddenValues, xW as tabsListVariants, qU as toast, TW as toggleVariants, Cj as useComboboxAnchor, xt as useDebouncedValue, a0 as useLayoutConfig, i0 as useLayoutSlots, bt as usePortalContainer, oU as useSidebar, zW as useSidebarMode, Me as useTheme };
36421
+ export { zv as Accordion, Hv as AccordionContent, Bv as AccordionItem, Vv as AccordionTrigger, o as Alert, a as AlertAction, f as AlertDescription, D as AlertTitle, IW as AppContextBar, KW as AppLayout, YW as AppSidebar, NW as AppSwitcher, Uv as Avatar, Kv as AvatarBadge, Gv as AvatarFallback, qv as AvatarGroup, Jv as AvatarGroupCount, Wv as AvatarImage, Xv as Badge, iq as BadgeCell, Zv as Breadcrumb, ry as BreadcrumbEllipsis, $v as BreadcrumbItem, ey as BreadcrumbLink, Qv as BreadcrumbList, ty as BreadcrumbPage, ny as BreadcrumbSeparator, ay as Button, sy as ButtonGroup, ly as ButtonGroupSeparator, cy as ButtonGroupText, TC as Calendar, MC as CalendarDayButton, NC as Card, LC as CardAction, RC as CardContent, IC as CardDescription, zC as CardFooter, PC as CardHeader, FC as CardTitle, BC as Checkbox, VC as Collapsible, UC as CollapsibleContent, HC as CollapsibleTrigger, sj as Combobox, xj as ComboboxChip, bj as ComboboxChips, Sj as ComboboxChipsInput, _j as ComboboxCollection, fj as ComboboxContent, vj as ComboboxEmpty, hj as ComboboxGroup, dj as ComboboxInput, mj as ComboboxItem, gj as ComboboxLabel, pj as ComboboxList, yj as ComboboxSeparator, lj as ComboboxTrigger, cj as ComboboxValue, FF as Command, IF as CommandDialog, zF as CommandEmpty, BF as CommandGroup, LF as CommandInput, HF as CommandItem, RF as CommandList, VF as CommandSeparator, UF as CommandShortcut, rG as ContentHeader, WF as ContextMenu, eI as ContextMenuCheckboxItem, XF as ContextMenuContent, KF as ContextMenuGroup, ZF as ContextMenuItem, nI as ContextMenuLabel, qF as ContextMenuPortal, YF as ContextMenuRadioGroup, tI as ContextMenuRadioItem, rI as ContextMenuSeparator, iI as ContextMenuShortcut, JF as ContextMenuSub, $F as ContextMenuSubContent, QF as ContextMenuSubTrigger, GF as ContextMenuTrigger, ZW as ContextSidebar, QW as ContextToggleButton, oq as CopyableCell, iG as CopyableText, n$ as DEFAULT_SLOTS, JK as DataTable, YK as DataTableColumnHeader, cq as DataTableEmptyState, jK as DataTablePagination, HK as DataTableViewOptions, rq as DateCell, _J as DatePicker, vJ as DateRangePicker, xJ as DateTimePicker, wJ as DateTimeRangePicker, TF as Dialog, OF as DialogClose, AF as DialogContent, PF as DialogDescription, MF as DialogFooter, jF as DialogHeader, kF as DialogOverlay, DF as DialogPortal, NF as DialogTitle, EF as DialogTrigger, uL as Drawer, pL as DrawerClose, hL as DrawerContent, yL as DrawerDescription, _L as DrawerFooter, gL as DrawerHeader, mL as DrawerOverlay, fL as DrawerPortal, vL as DrawerTitle, dL as DrawerTrigger, bL as DropdownMenu, EL as DropdownMenuCheckboxItem, CL as DropdownMenuContent, wL as DropdownMenuGroup, TL as DropdownMenuItem, kL as DropdownMenuLabel, xL as DropdownMenuPortal, DL as DropdownMenuRadioGroup, OL as DropdownMenuRadioItem, AL as DropdownMenuSeparator, jL as DropdownMenuShortcut, ML as DropdownMenuSub, PL as DropdownMenuSubContent, NL as DropdownMenuSubTrigger, SL as DropdownMenuTrigger, EJ as ElCheatSheetTrigger, FL as Empty, VL as EmptyContent, BL as EmptyDescription, IL as EmptyHeader, RL as EmptyMedia, zL as EmptyTitle, DJ as FacetedFilter, k as Field, w as FieldContent, C as FieldDescription, _ as FieldError, L as FieldGroup, R as FieldLabel, y as FieldLegend, te as FieldSeparator, h as FieldSet, i as FieldTitle, MJ as FileUpload, Fz as FileUploadInput, jJ as FileUploadItem, Iz as HoverCard, Rz as HoverCardContent, Vz as HoverCardDescription, zz as HoverCardHeader, Bz as HoverCardTitle, Lz as HoverCardTrigger, QA as Input, $A as InputGroup, tj as InputGroupAddon, rj as InputGroupButton, aj as InputGroupInput, ij as InputGroupText, oj as InputGroupTextarea, Gz as Item, Zz as ItemActions, Jz as ItemContent, Xz as ItemDescription, $z as ItemFooter, Hz as ItemGroup, Qz as ItemHeader, qz as ItemMedia, Uz as ItemSeparator, Yz as ItemTitle, TX as JsonSchemaForm, eB as Kbd, tB as KbdGroup, ee as Label, i$ as LayoutSlotsProvider, iB as Logo, aq as MonoCell, s$ as PageFocused, c$ as PageHeader, aB as Pagination, oB as PaginationContent, dB as PaginationEllipsis, sB as PaginationItem, cB as PaginationLink, uB as PaginationNext, lB as PaginationPrevious, fX as PasswordInput, fB as Popover, hB as PopoverAnchor, mB as PopoverContent, vB as PopoverDescription, gB as PopoverHeader, _B as PopoverTitle, pB as PopoverTrigger, yt as PortalContainerProvider, yB as Progress, xB as Prose, SB as RadioGroup, CB as RadioGroupItem, xH as ResizableHandle, bH as ResizablePanel, yH as ResizablePanelGroup, SH as ScrollArea, CH as ScrollBar, l$ as SearchField, wH as Select, OH as SelectContent, TH as SelectGroup, AH as SelectItem, kH as SelectLabel, NH as SelectScrollDownButton, MH as SelectScrollUpButton, jH as SelectSeparator, DH as SelectTrigger, EH as SelectValue, PW as SelectorDropdown, FW as SelectorTriggerButton, g as Separator, PH as Sheet, IH as SheetClose, zH as SheetContent, UH as SheetDescription, VH as SheetFooter, BH as SheetHeader, HH as SheetTitle, FH as SheetTrigger, cU as Sidebar, gU as SidebarContent, mU as SidebarFooter, _U as SidebarGroup, yU as SidebarGroupAction, bU as SidebarGroupContent, vU as SidebarGroupLabel, pU as SidebarHeader, fU as SidebarInput, dU as SidebarInset, xU as SidebarMenu, TU as SidebarMenuAction, EU as SidebarMenuBadge, wU as SidebarMenuButton, SU as SidebarMenuItem, DU as SidebarMenuSkeleton, OU as SidebarMenuSub, AU as SidebarMenuSubButton, kU as SidebarMenuSubItem, WW as SidebarModeControl, HW as SidebarModeProvider, XW as SidebarNavigation, sU as SidebarProvider, uU as SidebarRail, hU as SidebarSeparator, lU as SidebarTrigger, eG as SidebarUpgradeFooter, n as Skeleton, uW as Spinner, dW as Switch, fW as Table, mW as TableBody, yW as TableCaption, vW as TableCell, hW as TableFooter, _W as TableHead, pW as TableHeader, gW as TableRow, bW as Tabs, wW as TabsContent, SW as TabsList, CW as TabsTrigger, e as Textarea, Ne as ThemeProvider, lW as Toaster, EW as Toggle, OW as ToggleGroup, kW as ToggleGroupItem, GH as Tooltip, qH as TooltipContent, WH as TooltipProvider, KH as TooltipTrigger, d$ as TopNavUser, sq as TruncatedCell, r as alertVariants, RX as applyVisibleDefaults, Yv as badgeVariants, aG as buildLinearBreadcrumbs, oy as buttonGroupVariants, iy as buttonVariants, t as cn, nZ as composeResolvers, bY as extractDefaults, KQ as jsonSchemaResolver, rB as logoVariants, e$ as pruneHiddenValues, xW as tabsListVariants, qU as toast, TW as toggleVariants, Cj as useComboboxAnchor, xt as useDebouncedValue, o$ as useLayoutConfig, a$ as useLayoutSlots, bt as usePortalContainer, oU as useSidebar, zW as useSidebarMode, Me as useTheme };