@gravitee/graphene-core 3.27.1 → 3.27.2

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.
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { n as e, r as t, t as n } from "./Skeleton-DYPFDpYt.js";
2
- import { A as r, C as i, D as a, E as o, M as s, N as c, O as l, P as u, S as d, T as f, _ as p, a as m, b as h, c as g, d as _, f as v, g as y, h as b, i as x, j as S, k as C, l as w, m as T, n as E, o as D, p as O, r as k, s as A, t as j, u as M, v as N, w as P, x as F, y as I } from "./SchemaBanner-BXuI4A0F.js";
2
+ import { A as r, C as i, D as a, E as o, M as s, N as c, O as l, P as u, S as d, T as f, _ as p, a as m, b as h, c as g, d as _, f as v, g as y, h as b, i as x, j as S, k as C, l as w, m as T, n as E, o as D, p as O, r as k, s as A, t as j, u as M, v as N, w as P, x as F, y as I } from "./SchemaBanner-BZoyobzE.js";
3
3
  import { $ as L, A as ee, Bt as te, D as R, Dt as ne, Gt as re, I as ie, It as z, K as ae, M as oe, O as se, On as B, Ot as ce, P as le, Qt as ue, T as de, _n as fe, _t as pe, an as me, c as he, et as ge, f as _e, hn as ve, it as ye, j as be, k as xe, kn as Se, nt as Ce, p as we, zt as Te } from "./icons-4YBZN5Ck.js";
4
4
  import { n as Ee, t as De } from "./ThemeProvider-D0l3ICGl.js";
5
5
  import * as V from "react";
@@ -29283,8 +29283,16 @@ function kJ(e) {
29283
29283
  return Object.keys(t).length > 0 ? t : void 0;
29284
29284
  }
29285
29285
  //#endregion
29286
- //#region src/composed/JsonSchemaForm/fields/array/buildDefaultForType.ts
29286
+ //#region src/composed/JsonSchemaForm/utils/legendVariant.ts
29287
29287
  function AJ(e) {
29288
+ return e > 1 ? { variant: "overline" } : {
29289
+ variant: "label",
29290
+ className: "font-semibold"
29291
+ };
29292
+ }
29293
+ //#endregion
29294
+ //#region src/composed/JsonSchemaForm/fields/array/buildDefaultForType.ts
29295
+ function jJ(e) {
29288
29296
  if (e.default !== void 0) return e.default;
29289
29297
  switch (e.type) {
29290
29298
  case "string": return "";
@@ -29299,7 +29307,7 @@ function AJ(e) {
29299
29307
  }
29300
29308
  //#endregion
29301
29309
  //#region src/composed/JsonSchemaForm/fields/array/use-array-field.ts
29302
- function jJ(e, t) {
29310
+ function MJ(e, t) {
29303
29311
  let n = D(), r = t ? n.basePath ? `${n.basePath}.${t}` : t : n.basePath, { fields: i, append: a, remove: o } = g({
29304
29312
  control: n.control,
29305
29313
  name: r
@@ -29321,33 +29329,34 @@ function jJ(e, t) {
29321
29329
  }
29322
29330
  //#endregion
29323
29331
  //#region src/composed/JsonSchemaForm/fields/array/ArrayField.tsx
29324
- function MJ({ node: e, name: t, depth: n }) {
29325
- let { schema: r } = e, { ctx: i, path: a, fields: o, append: s, remove: c, fieldState: l, isDisabled: u, atMin: d, atMax: f } = jJ(r, t), p = r.items, m = e.items, h = k(r, t), g = r.gioConfig?.uiBorder === "full";
29326
- function _() {
29327
- s(PJ(p), { shouldFocus: !1 });
29332
+ function NJ({ node: e, name: n, depth: r }) {
29333
+ let { schema: i } = e, { ctx: a, path: o, fields: s, append: c, remove: l, fieldState: u, isDisabled: d, atMin: f, atMax: p } = MJ(i, n), m = i.items, h = e.items, g = k(i, n), _ = i.gioConfig?.uiBorder === "full", b = AJ(r);
29334
+ function S() {
29335
+ c(FJ(m), { shouldFocus: !1 });
29328
29336
  }
29329
29337
  return /* @__PURE__ */ G(N, {
29330
- "aria-required": r.isRequired || void 0,
29331
- className: g ? "rounded-lg border border-border px-5 pt-2 pb-5" : void 0,
29338
+ "aria-required": i.isRequired || void 0,
29339
+ className: _ ? "rounded-lg border border-border px-5 pt-2 pb-5" : void 0,
29332
29340
  children: [
29333
29341
  /* @__PURE__ */ W(y, {
29334
- className: g ? "px-2 text-base font-semibold" : "text-base font-semibold",
29335
- required: r.isRequired,
29336
- children: h
29342
+ variant: b.variant,
29343
+ className: t(b.className, _ && "px-2"),
29344
+ required: i.isRequired,
29345
+ children: g
29337
29346
  }),
29338
- r.description && /* @__PURE__ */ W(v, { children: r.description }),
29339
- r.gioConfig?.banner && /* @__PURE__ */ W(j, { banner: r.gioConfig.banner }),
29347
+ i.description && /* @__PURE__ */ W(v, { children: i.description }),
29348
+ i.gioConfig?.banner && /* @__PURE__ */ W(j, { banner: i.gioConfig.banner }),
29340
29349
  /* @__PURE__ */ W("div", {
29341
29350
  className: "flex flex-col",
29342
- children: o.map((e, t) => /* @__PURE__ */ W(NJ, {
29351
+ children: s.map((e, t) => /* @__PURE__ */ W(PJ, {
29343
29352
  index: t,
29344
- path: a,
29345
- itemsNode: m,
29346
- depth: n,
29347
- disabled: u,
29348
- canRemove: !u && !d,
29349
- onRemove: () => c(t),
29350
- ctx: i
29353
+ path: o,
29354
+ itemsNode: h,
29355
+ depth: r,
29356
+ disabled: d,
29357
+ canRemove: !d && !f,
29358
+ onRemove: () => l(t),
29359
+ ctx: a
29351
29360
  }, e.id))
29352
29361
  }),
29353
29362
  /* @__PURE__ */ W("div", {
@@ -29356,17 +29365,17 @@ function MJ({ node: e, name: t, depth: n }) {
29356
29365
  type: "button",
29357
29366
  variant: "outline",
29358
29367
  size: "sm",
29359
- disabled: u || f,
29360
- onClick: _,
29368
+ disabled: d || p,
29369
+ onClick: S,
29361
29370
  children: [/* @__PURE__ */ W(re, { "aria-hidden": "true" }), "Add"]
29362
29371
  })
29363
29372
  }),
29364
- /* @__PURE__ */ W(O, { errors: x(l.error) })
29373
+ /* @__PURE__ */ W(O, { errors: x(u.error) })
29365
29374
  ]
29366
29375
  });
29367
29376
  }
29368
- function NJ({ index: e, path: t, itemsNode: n, depth: r, disabled: i, canRemove: a, onRemove: o, ctx: s }) {
29369
- let c = `${t}.${e}`;
29377
+ function PJ({ index: e, path: t, itemsNode: n, depth: r, disabled: i, canRemove: a, onRemove: o, ctx: s }) {
29378
+ let c = `${t}.${e}`, l = `${n?.schema.title?.trim() || "Item"} ${e + 1}`;
29370
29379
  return /* @__PURE__ */ G(TC, {
29371
29380
  defaultOpen: !0,
29372
29381
  className: "border-b border-border/60 last:border-b-0",
@@ -29377,18 +29386,18 @@ function NJ({ index: e, path: t, itemsNode: n, depth: r, disabled: i, canRemove:
29377
29386
  children: /* @__PURE__ */ G("button", {
29378
29387
  type: "button",
29379
29388
  className: "group/array-item-trigger flex flex-1 items-center gap-2 px-1 py-2 text-left text-sm font-medium outline-none focus-visible:ring-2 focus-visible:ring-ring/50",
29380
- "aria-label": `Toggle item ${e + 1}`,
29389
+ "aria-label": `Toggle ${l}`,
29381
29390
  children: [/* @__PURE__ */ W(se, {
29382
29391
  "aria-hidden": "true",
29383
29392
  className: "size-4 text-muted-foreground transition-transform duration-150 group-data-[state=closed]/array-item-trigger:-rotate-90"
29384
- }), /* @__PURE__ */ G("span", { children: ["Item ", e + 1] })]
29393
+ }), /* @__PURE__ */ W("span", { children: l })]
29385
29394
  })
29386
29395
  }), /* @__PURE__ */ W(Qv, {
29387
29396
  type: "button",
29388
29397
  variant: "ghost",
29389
29398
  size: "icon-xs",
29390
29399
  disabled: !a,
29391
- "aria-label": `Remove item ${e + 1}`,
29400
+ "aria-label": `Remove ${l}`,
29392
29401
  onClick: o,
29393
29402
  children: /* @__PURE__ */ W(B, { "aria-hidden": "true" })
29394
29403
  })]
@@ -29400,70 +29409,73 @@ function NJ({ index: e, path: t, itemsNode: n, depth: r, disabled: i, canRemove:
29400
29409
  basePath: c,
29401
29410
  disabled: i
29402
29411
  },
29403
- children: /* @__PURE__ */ W(mY, {
29412
+ children: /* @__PURE__ */ W(hY, {
29404
29413
  node: n,
29405
29414
  name: "",
29406
- depth: r + 1
29415
+ depth: r + 1,
29416
+ hideTitle: !0
29407
29417
  })
29408
29418
  })
29409
29419
  }) })]
29410
29420
  });
29411
29421
  }
29412
- function PJ(e) {
29422
+ function FJ(e) {
29413
29423
  let t = OJ(e);
29414
- return t === void 0 ? AJ(e) : t;
29424
+ return t === void 0 ? jJ(e) : t;
29415
29425
  }
29416
29426
  //#endregion
29417
29427
  //#region src/composed/JsonSchemaForm/fields/array/HeadersArrayField.tsx
29418
- function FJ({ node: e, name: t }) {
29419
- let { schema: n } = e, { path: r, fields: i, append: a, remove: o, fieldState: s, isDisabled: c, atMin: l, atMax: u } = jJ(n, t), d = n.items, f = d && !Array.isArray(d) ? d.properties ?? {} : {}, p = Object.keys(f), m = k(n, t);
29420
- function h() {
29428
+ function IJ({ node: e, name: t, depth: n }) {
29429
+ let { schema: r } = e, { path: i, fields: a, append: o, remove: s, fieldState: c, isDisabled: l, atMin: u, atMax: d } = MJ(r, t), f = r.items, p = f && !Array.isArray(f) ? f.properties ?? {} : {}, m = Object.keys(p), h = k(r, t);
29430
+ function g() {
29421
29431
  let e = {};
29422
- for (let t of p) e[t] = AJ(f[t]);
29423
- a(e, { shouldFocus: !1 });
29432
+ for (let t of m) e[t] = jJ(p[t]);
29433
+ o(e, { shouldFocus: !1 });
29424
29434
  }
29435
+ let _ = AJ(n);
29425
29436
  return /* @__PURE__ */ G(N, {
29426
- "aria-required": n.isRequired || void 0,
29437
+ "aria-required": r.isRequired || void 0,
29427
29438
  children: [
29428
29439
  /* @__PURE__ */ W(y, {
29429
- className: "text-base font-semibold",
29430
- required: n.isRequired,
29431
- children: m
29440
+ variant: _.variant,
29441
+ className: _.className,
29442
+ required: r.isRequired,
29443
+ children: h
29432
29444
  }),
29433
- n.description && /* @__PURE__ */ W(v, { children: n.description }),
29434
- n.gioConfig?.banner && /* @__PURE__ */ W(j, { banner: n.gioConfig.banner }),
29445
+ r.description && /* @__PURE__ */ W(v, { children: r.description }),
29446
+ r.gioConfig?.banner && /* @__PURE__ */ W(j, { banner: r.gioConfig.banner }),
29435
29447
  /* @__PURE__ */ W("div", {
29436
29448
  className: "overflow-hidden rounded-lg border",
29437
- children: /* @__PURE__ */ G(KU, { children: [/* @__PURE__ */ W(qU, { children: /* @__PURE__ */ G(XU, { children: [p.map((e) => /* @__PURE__ */ W(ZU, {
29449
+ children: /* @__PURE__ */ G(KU, { children: [/* @__PURE__ */ W(qU, { children: /* @__PURE__ */ G(XU, { children: [m.map((e) => /* @__PURE__ */ W(ZU, {
29438
29450
  scope: "col",
29439
- children: RJ(f[e], e)
29451
+ children: zJ(p[e], e)
29440
29452
  }, e)), /* @__PURE__ */ W(ZU, {
29441
29453
  "aria-hidden": "true",
29442
29454
  className: "w-px"
29443
- })] }) }), /* @__PURE__ */ W(JU, { children: i.map((e, t) => /* @__PURE__ */ W(IJ, {
29455
+ })] }) }), /* @__PURE__ */ W(JU, { children: a.map((e, t) => /* @__PURE__ */ W(LJ, {
29444
29456
  rowIndex: t,
29445
- rowPath: `${r}.${t}`,
29446
- columnKeys: p,
29447
- itemProperties: f,
29448
- disabled: c,
29449
- canRemove: !c && !l,
29450
- onRemove: () => o(t)
29457
+ rowPath: `${i}.${t}`,
29458
+ columnKeys: m,
29459
+ itemProperties: p,
29460
+ disabled: l,
29461
+ canRemove: !l && !u,
29462
+ onRemove: () => s(t)
29451
29463
  }, e.id)) })] })
29452
29464
  }),
29453
29465
  /* @__PURE__ */ W("div", { children: /* @__PURE__ */ G(Qv, {
29454
29466
  type: "button",
29455
29467
  variant: "outline",
29456
29468
  size: "sm",
29457
- disabled: c || u,
29458
- onClick: h,
29469
+ disabled: l || d,
29470
+ onClick: g,
29459
29471
  children: [/* @__PURE__ */ W(re, { "aria-hidden": "true" }), "Add"]
29460
29472
  }) }),
29461
- /* @__PURE__ */ W(O, { errors: x(s.error) })
29473
+ /* @__PURE__ */ W(O, { errors: x(c.error) })
29462
29474
  ]
29463
29475
  });
29464
29476
  }
29465
- function IJ({ rowIndex: e, rowPath: t, columnKeys: n, itemProperties: r, disabled: i, canRemove: a, onRemove: o }) {
29466
- return /* @__PURE__ */ G(XU, { children: [n.map((n) => /* @__PURE__ */ W(LJ, {
29477
+ function LJ({ rowIndex: e, rowPath: t, columnKeys: n, itemProperties: r, disabled: i, canRemove: a, onRemove: o }) {
29478
+ return /* @__PURE__ */ G(XU, { children: [n.map((n) => /* @__PURE__ */ W(RJ, {
29467
29479
  columnKey: n,
29468
29480
  cellPath: `${t}.${n}`,
29469
29481
  propSchema: r[n],
@@ -29482,7 +29494,7 @@ function IJ({ rowIndex: e, rowPath: t, columnKeys: n, itemProperties: r, disable
29482
29494
  })
29483
29495
  })] });
29484
29496
  }
29485
- function LJ({ columnKey: e, cellPath: t, propSchema: n, rowIndex: r, disabled: i }) {
29497
+ function RJ({ columnKey: e, cellPath: t, propSchema: n, rowIndex: r, disabled: i }) {
29486
29498
  let { control: a } = D(), { field: o, fieldState: s } = A({
29487
29499
  control: a,
29488
29500
  name: t
@@ -29495,16 +29507,16 @@ function LJ({ columnKey: e, cellPath: t, propSchema: n, rowIndex: r, disabled: i
29495
29507
  onBlur: l,
29496
29508
  disabled: i,
29497
29509
  "aria-invalid": s.invalid,
29498
- "aria-label": `${RJ(n, e)} for row ${r + 1}`,
29510
+ "aria-label": `${zJ(n, e)} for row ${r + 1}`,
29499
29511
  placeholder: typeof n.title == "string" ? n.title : void 0
29500
29512
  }) });
29501
29513
  }
29502
- function RJ(e, t) {
29514
+ function zJ(e, t) {
29503
29515
  return typeof e.title == "string" ? e.title : t.charAt(0).toUpperCase() + t.slice(1);
29504
29516
  }
29505
29517
  //#endregion
29506
29518
  //#region src/composed/JsonSchemaForm/fields/boolean/BooleanField.tsx
29507
- function zJ({ node: e, name: t }) {
29519
+ function BJ({ node: e, name: t }) {
29508
29520
  let { control: n, basePath: r, disabled: i } = D(), { schema: a } = e, o = t ? r ? `${r}.${t}` : t : r, { field: s, fieldState: c } = A({
29509
29521
  control: n,
29510
29522
  name: o,
@@ -29533,18 +29545,18 @@ function zJ({ node: e, name: t }) {
29533
29545
  }
29534
29546
  //#endregion
29535
29547
  //#region src/composed/JsonSchemaForm/fields/enum/enumOptions.ts
29536
- function BJ(e, t) {
29548
+ function VJ(e, t) {
29537
29549
  let n = t?.[String(e)];
29538
29550
  return n === void 0 ? e === null ? "—" : String(e) : n;
29539
29551
  }
29540
- function VJ(e, t) {
29552
+ function HJ(e, t) {
29541
29553
  return e.map((e, n) => ({
29542
29554
  raw: e,
29543
29555
  key: String(n),
29544
- label: BJ(e, t)
29556
+ label: VJ(e, t)
29545
29557
  }));
29546
29558
  }
29547
- function HJ(e) {
29559
+ function UJ(e) {
29548
29560
  return e.map((e, t) => ({
29549
29561
  raw: e.const,
29550
29562
  key: String(t),
@@ -29553,12 +29565,12 @@ function HJ(e) {
29553
29565
  }
29554
29566
  //#endregion
29555
29567
  //#region src/composed/JsonSchemaForm/fields/enum/EnumField.tsx
29556
- function UJ({ node: e, name: t }) {
29568
+ function WJ({ node: e, name: t }) {
29557
29569
  let { control: n, basePath: r, disabled: i } = D(), { schema: a } = e, o = t ? r ? `${r}.${t}` : t : r, { field: s, fieldState: c } = A({
29558
29570
  control: n,
29559
29571
  name: o,
29560
29572
  defaultValue: a.default
29561
- }), { ref: l, onBlur: u } = s, d = k(a, t), f = i || a.readOnly === !0, p = WJ(a), m = p.find((e) => Object.is(e.raw, s.value))?.key ?? "", h = (e) => p.find((t) => t.key === e)?.raw;
29573
+ }), { ref: l, onBlur: u } = s, d = k(a, t), f = i || a.readOnly === !0, p = GJ(a), m = p.find((e) => Object.is(e.raw, s.value))?.key ?? "", h = (e) => p.find((t) => t.key === e)?.raw;
29562
29574
  return /* @__PURE__ */ G(M, {
29563
29575
  "data-invalid": c.invalid,
29564
29576
  children: [
@@ -29589,18 +29601,18 @@ function UJ({ node: e, name: t }) {
29589
29601
  ]
29590
29602
  });
29591
29603
  }
29592
- function WJ(e) {
29593
- return bJ(e) ? HJ(e.oneOf ?? []) : VJ(e.enum ?? [], e.gioConfig?.enumLabelMap);
29604
+ function GJ(e) {
29605
+ return bJ(e) ? UJ(e.oneOf ?? []) : HJ(e.enum ?? [], e.gioConfig?.enumLabelMap);
29594
29606
  }
29595
29607
  //#endregion
29596
29608
  //#region src/composed/JsonSchemaForm/fields/enum/MultiSelectField.tsx
29597
- function GJ({ node: e, name: t }) {
29609
+ function KJ({ node: e, name: t }) {
29598
29610
  let { control: n, basePath: r, disabled: i } = D(), { schema: a } = e, o = t ? r ? `${r}.${t}` : t : r, { field: s, fieldState: c } = A({
29599
29611
  control: n,
29600
29612
  name: o,
29601
29613
  defaultValue: Array.isArray(a.default) ? a.default : []
29602
- }), { ref: l, onBlur: u, onChange: d, value: f } = s, p = sj(), m = k(a, t), h = i || a.readOnly === !0, g = a.items, _ = VJ(g.enum ?? [], g.gioConfig?.enumLabelMap), y = _.map((e) => e.label), S = (e) => _.find((t) => t.label === e)?.raw, C = (e) => _.find((t) => Object.is(t.raw, e))?.label, w = (Array.isArray(s.value) ? s.value : []).map((e) => C(e)).filter((e) => e !== void 0);
29603
- return KJ({
29614
+ }), { ref: l, onBlur: u, onChange: d, value: f } = s, p = sj(), m = k(a, t), h = i || a.readOnly === !0, g = a.items, _ = HJ(g.enum ?? [], g.gioConfig?.enumLabelMap), y = _.map((e) => e.label), S = (e) => _.find((t) => t.label === e)?.raw, C = (e) => _.find((t) => Object.is(t.raw, e))?.label, w = (Array.isArray(s.value) ? s.value : []).map((e) => C(e)).filter((e) => e !== void 0);
29615
+ return qJ({
29604
29616
  schema: a,
29605
29617
  options: _,
29606
29618
  value: f,
@@ -29650,19 +29662,19 @@ function GJ({ node: e, name: t }) {
29650
29662
  ]
29651
29663
  });
29652
29664
  }
29653
- function KJ({ schema: e, options: t, value: n, onReset: r }) {
29665
+ function qJ({ schema: e, options: t, value: n, onReset: r }) {
29654
29666
  Le(() => {
29655
29667
  (Array.isArray(n) ? n : []).every((e) => t.some((t) => Object.is(t.raw, e))) || r(Array.isArray(e.default) ? e.default : []);
29656
29668
  }, [e]);
29657
29669
  }
29658
29670
  //#endregion
29659
29671
  //#region src/composed/JsonSchemaForm/fields/null/NullField.tsx
29660
- function qJ() {
29672
+ function JJ() {
29661
29673
  return null;
29662
29674
  }
29663
29675
  //#endregion
29664
29676
  //#region src/composed/JsonSchemaForm/fields/number/NumberField.tsx
29665
- function JJ({ node: e, name: t }) {
29677
+ function YJ({ node: e, name: t }) {
29666
29678
  let { control: n, basePath: r, disabled: i } = D(), { schema: a } = e, o = t ? r ? `${r}.${t}` : t : r, { field: s, fieldState: c } = A({
29667
29679
  control: n,
29668
29680
  name: o
@@ -29705,7 +29717,7 @@ function JJ({ node: e, name: t }) {
29705
29717
  }
29706
29718
  //#endregion
29707
29719
  //#region src/composed/JsonSchemaForm/conditional/useDependencyBranchSync.ts
29708
- function YJ(e, t, n, r) {
29720
+ function XJ(e, t, n, r) {
29709
29721
  let i = Ve(() => t.map((e) => cJ(e.showIf, n)), [t, n]), a = Ve(() => t.map((e) => Array.from(e.properties.keys()).map((e) => n ? `${n}.${e}` : e)), [t, n]), o = Ve(() => {
29710
29722
  let e = /* @__PURE__ */ new Set();
29711
29723
  for (let t of i) for (let n of t.$eq.keys()) e.add(n);
@@ -29738,21 +29750,21 @@ function YJ(e, t, n, r) {
29738
29750
  r
29739
29751
  ]);
29740
29752
  }
29741
- function XJ({ branches: e, basePath: t }) {
29753
+ function ZJ({ branches: e, basePath: t }) {
29742
29754
  let { control: n, externalContext: r } = D();
29743
- return YJ(n, e, t, r), null;
29755
+ return XJ(n, e, t, r), null;
29744
29756
  }
29745
29757
  //#endregion
29746
29758
  //#region src/composed/JsonSchemaForm/utils/pickActiveVariant.ts
29747
- function ZJ(e, t, n, r) {
29759
+ function QJ(e, t, n, r) {
29748
29760
  if (e.length === 0) return -1;
29749
29761
  let i = n?.get(t);
29750
- return QJ(i, e) && $J(e[i], r) ? i : eY(e, r);
29762
+ return $J(i, e) && eY(e[i], r) ? i : tY(e, r);
29751
29763
  }
29752
- function QJ(e, t) {
29764
+ function $J(e, t) {
29753
29765
  return typeof e == "number" && Number.isInteger(e) && t[e] !== void 0;
29754
29766
  }
29755
- function $J(e, t) {
29767
+ function eY(e, t) {
29756
29768
  return Object.entries(e.properties ?? {}).every(([e, n]) => {
29757
29769
  if (n.const !== void 0) return t(e) === n.const;
29758
29770
  if (typeof n.pattern == "string") {
@@ -29762,18 +29774,18 @@ function $J(e, t) {
29762
29774
  return !0;
29763
29775
  });
29764
29776
  }
29765
- function eY(e, t) {
29777
+ function tY(e, t) {
29766
29778
  let n = 0, r = {
29767
29779
  viable: !1,
29768
29780
  matches: -1
29769
29781
  };
29770
29782
  return e.forEach((e, i) => {
29771
- let a = tY(e, t);
29772
- nY(a, r) > 0 && (n = i, r = a);
29783
+ let a = nY(e, t);
29784
+ rY(a, r) > 0 && (n = i, r = a);
29773
29785
  }), n;
29774
29786
  }
29775
- function tY(e, t) {
29776
- return $J(e, t) ? {
29787
+ function nY(e, t) {
29788
+ return eY(e, t) ? {
29777
29789
  viable: (e.required ?? []).every((e) => t(e) !== void 0),
29778
29790
  matches: Object.keys(e.properties ?? {}).filter((e) => t(e) !== void 0).length
29779
29791
  } : {
@@ -29781,13 +29793,13 @@ function tY(e, t) {
29781
29793
  matches: -1
29782
29794
  };
29783
29795
  }
29784
- function nY(e, t) {
29796
+ function rY(e, t) {
29785
29797
  return e.viable === t.viable ? e.matches - t.matches : e.viable ? 1 : -1;
29786
29798
  }
29787
29799
  //#endregion
29788
29800
  //#region src/composed/JsonSchemaForm/fields/oneOf/OneOfField.tsx
29789
- function rY({ node: e, depth: t }) {
29790
- let n = D(), { control: r, index: i, basePath: a } = n, { schema: o } = e, s = i.variantIndices, c = Ve(() => e.variants ?? [], [e.variants]), [l, u] = U(() => ZJ(c.map((e) => e.raw), a, s, (e) => r._getWatch(a ? `${a}.${e}` : e))), d = Ve(() => c[l]?.dependencyBranches ?? [], [c, l]);
29801
+ function iY({ node: e, depth: t }) {
29802
+ let n = D(), { control: r, index: i, basePath: a } = n, { schema: o } = e, s = i.variantIndices, c = Ve(() => e.variants ?? [], [e.variants]), [l, u] = U(() => QJ(c.map((e) => e.raw), a, s, (e) => r._getWatch(a ? `${a}.${e}` : e))), d = Ve(() => c[l]?.dependencyBranches ?? [], [c, l]);
29791
29803
  if (c.length === 0) return null;
29792
29804
  let f = c[l] ?? c[0], p = n.disabled || o.readOnly === !0, m = `${a || "root"}-variant`, h = (e) => {
29793
29805
  if (e === l) return;
@@ -29822,22 +29834,22 @@ function rY({ node: e, depth: t }) {
29822
29834
  f.raw.description && /* @__PURE__ */ W(v, { children: f.raw.description }),
29823
29835
  f.raw.gioConfig?.banner && /* @__PURE__ */ W(j, { banner: f.raw.gioConfig.banner })
29824
29836
  ] }),
29825
- f.consts.map(({ key: e, value: t }) => /* @__PURE__ */ W(iY, {
29837
+ f.consts.map(({ key: e, value: t }) => /* @__PURE__ */ W(aY, {
29826
29838
  path: a ? `${a}.${e}` : e,
29827
29839
  value: t
29828
29840
  }, e)),
29829
- Array.from(f.properties).filter(([, e]) => e.schema.const === void 0).map(([e, n]) => /* @__PURE__ */ W(mY, {
29841
+ Array.from(f.properties).filter(([, e]) => e.schema.const === void 0).map(([e, n]) => /* @__PURE__ */ W(hY, {
29830
29842
  node: n,
29831
29843
  name: e,
29832
29844
  depth: t + 1
29833
29845
  }, `${l}-${e}`)),
29834
- d.length > 0 && /* @__PURE__ */ W(XJ, {
29846
+ d.length > 0 && /* @__PURE__ */ W(ZJ, {
29835
29847
  branches: d,
29836
29848
  basePath: a
29837
29849
  }),
29838
29850
  d.map((e, n) => /* @__PURE__ */ W(aJ, {
29839
29851
  condition: cJ(e.showIf, a),
29840
- children: Array.from(e.properties).map(([e, n]) => /* @__PURE__ */ W(mY, {
29852
+ children: Array.from(e.properties).map(([e, n]) => /* @__PURE__ */ W(hY, {
29841
29853
  node: n,
29842
29854
  name: e,
29843
29855
  depth: t + 1
@@ -29845,7 +29857,7 @@ function rY({ node: e, depth: t }) {
29845
29857
  }, `${l}-var-dep-${n}`))
29846
29858
  ] });
29847
29859
  }
29848
- function iY({ path: e, value: t }) {
29860
+ function aY({ path: e, value: t }) {
29849
29861
  let { control: n } = D(), { field: r } = A({
29850
29862
  control: n,
29851
29863
  name: e
@@ -29856,53 +29868,54 @@ function iY({ path: e, value: t }) {
29856
29868
  }
29857
29869
  //#endregion
29858
29870
  //#region src/composed/JsonSchemaForm/fields/object/ObjectField.tsx
29859
- function aY({ node: e, name: t, depth: n }) {
29860
- let r = D(), { schema: i } = e, a = t ? r.basePath ? `${r.basePath}.${t}` : t : r.basePath, o = EJ(i) || DJ(i), s = Ve(() => e.dependencyBranches ?? [], [e.dependencyBranches]), c = s.length > 0, l = (e.properties || o || c) && /* @__PURE__ */ W(m.Provider, {
29871
+ function oY({ node: e, name: n, depth: r, hideTitle: i }) {
29872
+ let a = D(), { schema: o } = e, s = n ? a.basePath ? `${a.basePath}.${n}` : n : a.basePath, c = EJ(o) || DJ(o), l = Ve(() => e.dependencyBranches ?? [], [e.dependencyBranches]), u = l.length > 0, d = (e.properties || c || u) && /* @__PURE__ */ W(m.Provider, {
29861
29873
  value: {
29862
- ...r,
29863
- basePath: a
29874
+ ...a,
29875
+ basePath: s
29864
29876
  },
29865
29877
  children: /* @__PURE__ */ G(T, { children: [
29866
- e.properties && Array.from(e.properties).map(([e, t]) => /* @__PURE__ */ W(mY, {
29878
+ e.properties && Array.from(e.properties).map(([e, t]) => /* @__PURE__ */ W(hY, {
29867
29879
  node: t,
29868
29880
  name: e,
29869
- depth: n + 1
29881
+ depth: r + 1
29870
29882
  }, e)),
29871
- c && /* @__PURE__ */ W(XJ, {
29872
- branches: s,
29873
- basePath: a
29883
+ u && /* @__PURE__ */ W(ZJ, {
29884
+ branches: l,
29885
+ basePath: s
29874
29886
  }),
29875
- s.map((e, t) => /* @__PURE__ */ W(aJ, {
29876
- condition: cJ(e.showIf, a),
29877
- children: Array.from(e.properties).map(([e, t]) => /* @__PURE__ */ W(mY, {
29887
+ l.map((e, t) => /* @__PURE__ */ W(aJ, {
29888
+ condition: cJ(e.showIf, s),
29889
+ children: Array.from(e.properties).map(([e, t]) => /* @__PURE__ */ W(hY, {
29878
29890
  node: t,
29879
29891
  name: e,
29880
- depth: n + 1
29892
+ depth: r + 1
29881
29893
  }, e))
29882
29894
  }, `dep-${t}`)),
29883
- o && /* @__PURE__ */ W(rY, {
29895
+ c && /* @__PURE__ */ W(iY, {
29884
29896
  node: e,
29885
- depth: n
29897
+ depth: r
29886
29898
  })
29887
29899
  ] })
29888
- }), u = typeof i.title == "string" && i.title.length > 0 || t !== void 0 && t.length > 0, d = i.gioConfig?.uiBorder === "full";
29889
- return n === 0 || !u ? /* @__PURE__ */ W(Ke, { children: l }) : /* @__PURE__ */ G(N, {
29890
- className: d ? "rounded-lg border border-border px-5 pt-2 pb-5" : void 0,
29900
+ }), f = typeof o.title == "string" && o.title.length > 0 || n !== void 0 && n.length > 0, p = o.gioConfig?.uiBorder === "full", h = AJ(r);
29901
+ return r === 0 || !f ? /* @__PURE__ */ W(Ke, { children: d }) : /* @__PURE__ */ G(N, {
29902
+ className: p ? t("rounded-lg border border-border px-5 pb-5", i ? "pt-5" : "pt-2") : void 0,
29891
29903
  children: [
29892
- /* @__PURE__ */ W(y, {
29893
- className: d ? "px-2 text-base font-semibold" : "text-base font-semibold",
29894
- required: i.isRequired,
29895
- children: k(i, t)
29904
+ !i && /* @__PURE__ */ W(y, {
29905
+ variant: h.variant,
29906
+ className: t(h.className, p && "px-2"),
29907
+ required: o.isRequired,
29908
+ children: k(o, n)
29896
29909
  }),
29897
- i.description && /* @__PURE__ */ W(v, { children: i.description }),
29898
- i.gioConfig?.banner && /* @__PURE__ */ W(j, { banner: i.gioConfig.banner }),
29899
- l
29910
+ o.description && /* @__PURE__ */ W(v, { children: o.description }),
29911
+ o.gioConfig?.banner && /* @__PURE__ */ W(j, { banner: o.gioConfig.banner }),
29912
+ d
29900
29913
  ]
29901
29914
  });
29902
29915
  }
29903
29916
  //#endregion
29904
29917
  //#region src/composed/PasswordInput/PasswordInput.tsx
29905
- function oY({ groupClassName: e, showLabel: t = "Show password", hideLabel: n = "Hide password", hideToggle: r = !1, className: i, disabled: a, ...o }) {
29918
+ function sY({ groupClassName: e, showLabel: t = "Show password", hideLabel: n = "Hide password", hideToggle: r = !1, className: i, disabled: a, ...o }) {
29906
29919
  let [s, c] = U(!1);
29907
29920
  return /* @__PURE__ */ G(LA, {
29908
29921
  className: e,
@@ -29928,15 +29941,15 @@ function oY({ groupClassName: e, showLabel: t = "Show password", hideLabel: n =
29928
29941
  })]
29929
29942
  });
29930
29943
  }
29931
- oY.displayName = "PasswordInput";
29944
+ sY.displayName = "PasswordInput";
29932
29945
  //#endregion
29933
29946
  //#region src/composed/JsonSchemaForm/fields/string/StringField.tsx
29934
- var sY = "{#request.headers['x-custom'] == 'value'}";
29935
- function cY({ node: t, name: n }) {
29947
+ var cY = "{#request.headers['x-custom'] == 'value'}";
29948
+ function lY({ node: t, name: n }) {
29936
29949
  let { control: r, basePath: i, disabled: a } = D(), { schema: o } = t, s = n ? i ? `${i}.${n}` : n : i, { field: c, fieldState: l } = A({
29937
29950
  control: r,
29938
29951
  name: s
29939
- }), u = k(o, n), d = a || o.readOnly === !0, f = l.invalid, p = typeof c.value == "string" ? c.value : "", m = o.gioConfig?.el === !0, h = (Array.isArray(o.examples) && o.examples[0] !== void 0 && o.examples[0] !== null ? String(o.examples[0]) : void 0) ?? (o.default !== void 0 && o.default !== null ? String(o.default) : void 0) ?? (m ? sY : void 0), g = m ? "font-mono text-xs" : void 0, _ = {
29952
+ }), u = k(o, n), d = a || o.readOnly === !0, f = l.invalid, p = typeof c.value == "string" ? c.value : "", m = o.gioConfig?.el === !0, h = (Array.isArray(o.examples) && o.examples[0] !== void 0 && o.examples[0] !== null ? String(o.examples[0]) : void 0) ?? (o.default !== void 0 && o.default !== null ? String(o.default) : void 0) ?? (m ? cY : void 0), g = m ? "font-mono text-xs" : void 0, _ = {
29940
29953
  id: s,
29941
29954
  value: p,
29942
29955
  onChange: c.onChange,
@@ -29963,7 +29976,7 @@ function cY({ node: t, name: n }) {
29963
29976
  o.format === "text" ? /* @__PURE__ */ W(e, {
29964
29977
  ..._,
29965
29978
  className: g
29966
- }) : o.format === "password" ? /* @__PURE__ */ W(oY, {
29979
+ }) : o.format === "password" ? /* @__PURE__ */ W(sY, {
29967
29980
  ..._,
29968
29981
  pattern: o.pattern
29969
29982
  }) : /* @__PURE__ */ W(IA, {
@@ -29979,23 +29992,23 @@ function cY({ node: t, name: n }) {
29979
29992
  }
29980
29993
  //#endregion
29981
29994
  //#region src/composed/JsonSchemaForm/fields/resource/ResourceTypeField.tsx
29982
- function lY({ node: e, name: t }) {
29983
- let { externalContext: n } = D(), r = fY(n);
29984
- return r === null ? /* @__PURE__ */ W(cY, {
29995
+ function uY({ node: e, name: t }) {
29996
+ let { externalContext: n } = D(), r = pY(n);
29997
+ return r === null ? /* @__PURE__ */ W(lY, {
29985
29998
  node: e,
29986
29999
  name: t
29987
- }) : /* @__PURE__ */ W(uY, {
30000
+ }) : /* @__PURE__ */ W(dY, {
29988
30001
  node: e,
29989
30002
  name: t,
29990
30003
  injected: r
29991
30004
  });
29992
30005
  }
29993
- function uY({ node: e, name: t, injected: n }) {
30006
+ function dY({ node: e, name: t, injected: n }) {
29994
30007
  let { control: r, basePath: i, disabled: a } = D(), { schema: o } = e, s = t ? i ? `${i}.${t}` : t : i, { field: c, fieldState: l } = A({
29995
30008
  control: r,
29996
30009
  name: s,
29997
30010
  defaultValue: o.default
29998
- }), { ref: u, onBlur: d } = c, f = dY(o.gioConfig?.uiTypeProps?.resourceType), p = (e) => f.length === 0 || f.some((t) => e.startsWith(t)), m = n.filter((e) => p(e.type)).map((e) => e.name), h = typeof c.value == "string" ? c.value : "";
30011
+ }), { ref: u, onBlur: d } = c, f = fY(o.gioConfig?.uiTypeProps?.resourceType), p = (e) => f.length === 0 || f.some((t) => e.startsWith(t)), m = n.filter((e) => p(e.type)).map((e) => e.name), h = typeof c.value == "string" ? c.value : "";
29999
30012
  h !== "" && !m.includes(h) && m.unshift(h);
30000
30013
  let g = k(o, t), _ = a || o.readOnly === !0, y = m.length === 0 ? "No matching resources on this API" : "Select a resource…";
30001
30014
  return /* @__PURE__ */ G(M, {
@@ -30028,157 +30041,159 @@ function uY({ node: e, name: t, injected: n }) {
30028
30041
  ]
30029
30042
  });
30030
30043
  }
30031
- function dY(e) {
30044
+ function fY(e) {
30032
30045
  return typeof e == "string" ? [e] : Array.isArray(e) ? e.filter((e) => typeof e == "string") : [];
30033
30046
  }
30034
- function fY(e) {
30047
+ function pY(e) {
30035
30048
  let t = e?.resources;
30036
30049
  return Array.isArray(t) ? t.filter((e) => typeof e == "object" && !!e && typeof e.name == "string" && typeof e.type == "string") : null;
30037
30050
  }
30038
30051
  //#endregion
30039
30052
  //#region src/composed/JsonSchemaForm/SchemaField.tsx
30040
- var pY = Ne(() => import("./CodeEditorField-QyRX-Ky-.js").then((e) => ({ default: e.CodeEditorField })));
30041
- function mY({ node: e, name: t, depth: n = 0 }) {
30042
- let { basePath: r } = D(), { schema: i } = e, a = t ?? "", o = t ? r ? `${r}.${t}` : t : r, s = Ve(() => [o], [o]), c = Ve(() => e.displayIf ? cJ(e.displayIf, r) : void 0, [e.displayIf, r]), l = Ve(() => e.disableIf ? cJ(e.disableIf, r) : void 0, [e.disableIf, r]);
30043
- if (i.deprecated === !0) return null;
30044
- let u = hY(e, a, t, n);
30045
- return u === null ? null : (l && (u = /* @__PURE__ */ W(oJ, {
30053
+ var mY = Ne(() => import("./CodeEditorField-B41DsQWt.js").then((e) => ({ default: e.CodeEditorField })));
30054
+ function hY({ node: e, name: t, depth: n = 0, hideTitle: r }) {
30055
+ let { basePath: i } = D(), { schema: a } = e, o = t ?? "", s = t ? i ? `${i}.${t}` : t : i, c = Ve(() => [s], [s]), l = Ve(() => e.displayIf ? cJ(e.displayIf, i) : void 0, [e.displayIf, i]), u = Ve(() => e.disableIf ? cJ(e.disableIf, i) : void 0, [e.disableIf, i]);
30056
+ if (a.deprecated === !0) return null;
30057
+ let d = gY(e, o, t, n, r);
30058
+ return d === null ? null : (u && (d = /* @__PURE__ */ W(oJ, {
30059
+ condition: u,
30060
+ children: d
30061
+ })), l ? /* @__PURE__ */ W(aJ, {
30046
30062
  condition: l,
30047
- children: u
30048
- })), c ? /* @__PURE__ */ W(aJ, {
30049
- condition: c,
30050
- unregisterOnHide: s,
30051
- children: u
30052
- }) : u);
30063
+ unregisterOnHide: c,
30064
+ children: d
30065
+ }) : d);
30053
30066
  }
30054
- function hY(e, t, n, r) {
30055
- let { schema: i } = e, a = gY(i.type);
30056
- return Array.isArray(i.enum) && i.enum.length > 0 || bJ(i) ? /* @__PURE__ */ W(UJ, {
30067
+ function gY(e, t, n, r, i) {
30068
+ let { schema: a } = e, o = _Y(a.type);
30069
+ return Array.isArray(a.enum) && a.enum.length > 0 || bJ(a) ? /* @__PURE__ */ W(WJ, {
30057
30070
  node: e,
30058
30071
  name: t
30059
- }) : xJ(i) ? /* @__PURE__ */ W(GJ, {
30072
+ }) : xJ(a) ? /* @__PURE__ */ W(KJ, {
30060
30073
  node: e,
30061
30074
  name: t
30062
- }) : SJ(i) ? /* @__PURE__ */ W(FJ, {
30075
+ }) : SJ(a) ? /* @__PURE__ */ W(IJ, {
30063
30076
  node: e,
30064
- name: t
30065
- }) : TJ(i) ? /* @__PURE__ */ W(ke, {
30077
+ name: t,
30078
+ depth: r
30079
+ }) : TJ(a) ? /* @__PURE__ */ W(ke, {
30066
30080
  fallback: null,
30067
- children: /* @__PURE__ */ W(pY, {
30081
+ children: /* @__PURE__ */ W(mY, {
30068
30082
  node: e,
30069
30083
  name: t
30070
30084
  })
30071
- }) : a === "null" ? /* @__PURE__ */ W(qJ, {}) : a === "boolean" ? /* @__PURE__ */ W(zJ, {
30085
+ }) : o === "null" ? /* @__PURE__ */ W(JJ, {}) : o === "boolean" ? /* @__PURE__ */ W(BJ, {
30072
30086
  node: e,
30073
30087
  name: t
30074
- }) : a === "integer" || a === "number" ? /* @__PURE__ */ W(JJ, {
30088
+ }) : o === "integer" || o === "number" ? /* @__PURE__ */ W(YJ, {
30075
30089
  node: e,
30076
30090
  name: t
30077
- }) : CJ(i) ? /* @__PURE__ */ W(lY, {
30091
+ }) : CJ(a) ? /* @__PURE__ */ W(uY, {
30078
30092
  node: e,
30079
30093
  name: t
30080
- }) : a === "string" ? /* @__PURE__ */ W(cY, {
30094
+ }) : o === "string" ? /* @__PURE__ */ W(lY, {
30081
30095
  node: e,
30082
30096
  name: t
30083
- }) : i.properties || a === "object" || EJ(i) || DJ(i) ? /* @__PURE__ */ W(aY, {
30097
+ }) : a.properties || o === "object" || EJ(a) || DJ(a) ? /* @__PURE__ */ W(oY, {
30084
30098
  node: e,
30085
30099
  name: n,
30086
- depth: r
30087
- }) : a === "array" && i.items && !Array.isArray(i.items) ? /* @__PURE__ */ W(MJ, {
30100
+ depth: r,
30101
+ hideTitle: i
30102
+ }) : o === "array" && a.items && !Array.isArray(a.items) ? /* @__PURE__ */ W(NJ, {
30088
30103
  node: e,
30089
30104
  name: n,
30090
30105
  depth: r
30091
- }) : (console.warn(`[JsonSchemaForm] No renderer for schema at "${n ?? "root"}" (${_Y(i)}). Field is omitted.`), null);
30106
+ }) : (console.warn(`[JsonSchemaForm] No renderer for schema at "${n ?? "root"}" (${vY(a)}). Field is omitted.`), null);
30092
30107
  }
30093
- function gY(e) {
30108
+ function _Y(e) {
30094
30109
  return Array.isArray(e) ? e.find((e) => e !== "null") ?? e[0] : e;
30095
30110
  }
30096
- function _Y(e) {
30111
+ function vY(e) {
30097
30112
  return e.type ? Array.isArray(e.type) ? e.type.join("|") : e.type : e.oneOf ? "oneOf" : e.anyOf ? "anyOf" : e.allOf ? "allOf" : e.const === void 0 ? "unknown" : "const";
30098
30113
  }
30099
30114
  //#endregion
30100
30115
  //#region src/composed/JsonSchemaForm/schema/preprocess/liftRequired.ts
30101
- function vY(e) {
30102
- return yY(e);
30103
- }
30104
30116
  function yY(e) {
30117
+ return bY(e);
30118
+ }
30119
+ function bY(e) {
30105
30120
  let t = { ...e };
30106
30121
  if (t.properties) {
30107
30122
  let e = new Set(t.required ?? []), n = {};
30108
30123
  for (let [r, i] of Object.entries(t.properties)) {
30109
- let t = yY(i);
30124
+ let t = bY(i);
30110
30125
  e.has(r) && (t.isRequired = !0, t.type === "string" && t.minLength === void 0 && t.const === void 0 && !Array.isArray(t.enum) && !Array.isArray(t.oneOf) && !Array.isArray(t.anyOf) && (t.minLength = 1), t.type === "array" && t.minItems === void 0 && t.const === void 0 && !Array.isArray(t.enum) && (t.minItems = 1)), n[r] = t;
30111
30126
  }
30112
30127
  t.properties = n;
30113
30128
  }
30114
- return t.items &&= Array.isArray(t.items) ? t.items.map(yY) : yY(t.items), t.oneOf &&= t.oneOf.map(yY), t.anyOf &&= t.anyOf.map(yY), t.allOf &&= t.allOf.map(yY), t.dependencies &&= lJ(t.dependencies, yY), t;
30129
+ return t.items &&= Array.isArray(t.items) ? t.items.map(bY) : bY(t.items), t.oneOf &&= t.oneOf.map(bY), t.anyOf &&= t.anyOf.map(bY), t.allOf &&= t.allOf.map(bY), t.dependencies &&= lJ(t.dependencies, bY), t;
30115
30130
  }
30116
30131
  //#endregion
30117
30132
  //#region src/composed/JsonSchemaForm/schema/preprocess/relaxDeprecated.ts
30118
- function bY(e) {
30133
+ function xY(e) {
30119
30134
  if (wJ(e)) return { deprecated: !0 };
30120
30135
  let t = { ...e };
30121
30136
  if (e.properties) {
30122
30137
  let n = [];
30123
30138
  t.properties = {};
30124
- for (let [r, i] of Object.entries(e.properties)) wJ(i) && n.push(r), t.properties[r] = bY(i);
30139
+ for (let [r, i] of Object.entries(e.properties)) wJ(i) && n.push(r), t.properties[r] = xY(i);
30125
30140
  n.length > 0 && e.required && (t.required = e.required.filter((e) => !n.includes(e)));
30126
30141
  }
30127
- return e.items && !Array.isArray(e.items) && (t.items = bY(e.items)), e.oneOf && (t.oneOf = e.oneOf.filter((e) => !wJ(e)).map(bY)), e.anyOf && (t.anyOf = e.anyOf.filter((e) => !wJ(e)).map(bY)), e.dependencies && (t.dependencies = lJ(e.dependencies, bY)), t;
30142
+ return e.items && !Array.isArray(e.items) && (t.items = xY(e.items)), e.oneOf && (t.oneOf = e.oneOf.filter((e) => !wJ(e)).map(xY)), e.anyOf && (t.anyOf = e.anyOf.filter((e) => !wJ(e)).map(xY)), e.dependencies && (t.dependencies = lJ(e.dependencies, xY)), t;
30128
30143
  }
30129
30144
  //#endregion
30130
30145
  //#region src/composed/JsonSchemaForm/schema/buildIndex.ts
30131
- function xY(e, t = "") {
30132
- let n = vY(bY(uJ(_J(e)))), r = /* @__PURE__ */ new Map();
30146
+ function SY(e, t = "") {
30147
+ let n = yY(xY(uJ(_J(e)))), r = /* @__PURE__ */ new Map();
30133
30148
  return {
30134
- root: SY(n, "", !1, r, "", t),
30149
+ root: CY(n, "", !1, r, "", t),
30135
30150
  nodeByPath: r,
30136
30151
  variantIndices: /* @__PURE__ */ new Map()
30137
30152
  };
30138
30153
  }
30139
- function SY(e, t, n, r, i = "", a = "") {
30154
+ function CY(e, t, n, r, i = "", a = "") {
30140
30155
  let o = {
30141
30156
  rhfPath: t,
30142
30157
  schema: e,
30143
30158
  isRequired: n
30144
30159
  };
30145
- if (e.gioConfig?.displayIf && (o.displayIf = DY(e.gioConfig.displayIf, i, a)), e.gioConfig?.disableIf && (o.disableIf = DY(e.gioConfig.disableIf, i, a)), e.properties) {
30160
+ if (e.gioConfig?.displayIf && (o.displayIf = OY(e.gioConfig.displayIf, i, a)), e.gioConfig?.disableIf && (o.disableIf = OY(e.gioConfig.disableIf, i, a)), e.properties) {
30146
30161
  let n = new Set(e.required ?? []), i = /* @__PURE__ */ new Map();
30147
30162
  for (let [o, s] of Object.entries(e.properties)) {
30148
30163
  let e = t ? `${t}.${o}` : o;
30149
- i.set(o, SY(s, e, n.has(o), r, t, a));
30164
+ i.set(o, CY(s, e, n.has(o), r, t, a));
30150
30165
  }
30151
30166
  o.properties = i;
30152
30167
  }
30153
30168
  if (e.items && !Array.isArray(e.items)) {
30154
30169
  let n = t ? `${t}.*` : "*";
30155
- o.items = SY(e.items, n, !1, r, t, a);
30170
+ o.items = CY(e.items, n, !1, r, t, a);
30156
30171
  }
30157
30172
  let s = e.oneOf ?? e.anyOf;
30158
- if (Array.isArray(s) && s.length > 0 && (o.variants = CY(s).map((e) => wY(e, t, a))), e.dependencies) {
30159
- let n = kY(e.dependencies, t, a);
30173
+ if (Array.isArray(s) && s.length > 0 && (o.variants = wY(s).map((e) => TY(e, t, a))), e.dependencies) {
30174
+ let n = AY(e.dependencies, t, a);
30160
30175
  n.length > 0 && (o.dependencyBranches = n);
30161
30176
  }
30162
30177
  return r.set(t, o), o;
30163
30178
  }
30164
- function CY(e) {
30179
+ function wY(e) {
30165
30180
  let t = /* @__PURE__ */ new Set();
30166
30181
  return e.filter((e) => typeof e.title == "string" ? t.has(e.title) ? !1 : (t.add(e.title), !0) : !0);
30167
30182
  }
30168
- function wY(e, t, n) {
30183
+ function TY(e, t, n) {
30169
30184
  let r = new Set(e.required ?? []), i = /* @__PURE__ */ new Map(), a = [];
30170
30185
  for (let [o, s] of Object.entries(e.properties ?? {})) {
30171
- let e = TY(s);
30186
+ let e = EY(s);
30172
30187
  e && a.push({
30173
30188
  key: o,
30174
30189
  value: e.value
30175
30190
  });
30176
30191
  let c = t ? `${t}.${o}` : o;
30177
- i.set(o, EY(s, c, r.has(o), t, n));
30192
+ i.set(o, DY(s, c, r.has(o), t, n));
30178
30193
  }
30179
30194
  let o;
30180
30195
  if (e.dependencies) {
30181
- let r = kY(e.dependencies, t, n);
30196
+ let r = AY(e.dependencies, t, n);
30182
30197
  r.length > 0 && (o = r);
30183
30198
  }
30184
30199
  return {
@@ -30188,21 +30203,21 @@ function wY(e, t, n) {
30188
30203
  raw: e
30189
30204
  };
30190
30205
  }
30191
- function TY(e) {
30206
+ function EY(e) {
30192
30207
  if (e.const !== void 0) return { value: e.const };
30193
30208
  if (Array.isArray(e.enum) && e.enum.length === 1) return { value: e.enum[0] };
30194
30209
  }
30195
- function EY(e, t, n, r, i) {
30196
- return SY(e, t, n, /* @__PURE__ */ new Map(), r, i);
30210
+ function DY(e, t, n, r, i) {
30211
+ return CY(e, t, n, /* @__PURE__ */ new Map(), r, i);
30197
30212
  }
30198
- function DY(e, t, n) {
30213
+ function OY(e, t, n) {
30199
30214
  let r = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map();
30200
30215
  for (let [a, o] of Object.entries(e.$eq)) {
30201
30216
  if (a.startsWith("context.")) {
30202
30217
  i.set(a.slice(8), o);
30203
30218
  continue;
30204
30219
  }
30205
- let e = OY(a, t, n);
30220
+ let e = kY(a, t, n);
30206
30221
  if (e === null) {
30207
30222
  console.warn(`[JsonSchemaForm] gioConfig path "${a}" is unsupported (expected value.X / ./X / ../X / context.X).`);
30208
30223
  continue;
@@ -30214,7 +30229,7 @@ function DY(e, t, n) {
30214
30229
  $eqContext: i
30215
30230
  } : { $eq: r };
30216
30231
  }
30217
- function OY(e, t, n) {
30232
+ function kY(e, t, n) {
30218
30233
  let r = null;
30219
30234
  if (e.startsWith("value.")) r = e.slice(6);
30220
30235
  else if (e.startsWith("./")) {
@@ -30228,24 +30243,24 @@ function OY(e, t, n) {
30228
30243
  }
30229
30244
  return r === null ? null : n ? `${n}.${r}` : r;
30230
30245
  }
30231
- function kY(e, t, n) {
30246
+ function AY(e, t, n) {
30232
30247
  return Object.entries(e).flatMap(([e, r]) => {
30233
- let i = AY(e, r);
30248
+ let i = jY(e, r);
30234
30249
  if (!i) return [];
30235
30250
  let a = t ? `${t}.${e}` : e;
30236
- return i.map((r) => jY(r, e, a, t, n));
30251
+ return i.map((r) => MY(r, e, a, t, n));
30237
30252
  });
30238
30253
  }
30239
- function AY(e, t) {
30254
+ function jY(e, t) {
30240
30255
  let n = typeof t == "object" && t && !Array.isArray(t) ? t : null;
30241
- return n?.oneOf?.length ? n.oneOf.every((t) => t.properties?.[e] !== void 0 && TY(t.properties[e]) !== void 0) ? n.oneOf : (console.warn(`[JsonSchemaForm] dependencies."${e}".oneOf has at least one variant missing a \`const\` (or single-value \`enum\`) discriminator on "${e}". Skipping the whole dependency (no partial unfold).`), null) : (console.warn(`[JsonSchemaForm] dependencies."${e}" is not a discriminator-oneOf shape (only \`{ oneOf: [...] }\` with const discriminators is supported). Skipping.`), null);
30256
+ return n?.oneOf?.length ? n.oneOf.every((t) => t.properties?.[e] !== void 0 && EY(t.properties[e]) !== void 0) ? n.oneOf : (console.warn(`[JsonSchemaForm] dependencies."${e}".oneOf has at least one variant missing a \`const\` (or single-value \`enum\`) discriminator on "${e}". Skipping the whole dependency (no partial unfold).`), null) : (console.warn(`[JsonSchemaForm] dependencies."${e}" is not a discriminator-oneOf shape (only \`{ oneOf: [...] }\` with const discriminators is supported). Skipping.`), null);
30242
30257
  }
30243
- function jY(e, t, n, r, i) {
30244
- let a = TY(e.properties[t]).value, o = new Set((e.required ?? []).filter((e) => e !== t)), s = /* @__PURE__ */ new Map();
30258
+ function MY(e, t, n, r, i) {
30259
+ let a = EY(e.properties[t]).value, o = new Set((e.required ?? []).filter((e) => e !== t)), s = /* @__PURE__ */ new Map();
30245
30260
  for (let [n, a] of Object.entries(e.properties ?? {})) {
30246
30261
  if (n === t) continue;
30247
30262
  let e = r ? `${r}.${n}` : n;
30248
- s.set(n, EY(a, e, o.has(n), r, i));
30263
+ s.set(n, DY(a, e, o.has(n), r, i));
30249
30264
  }
30250
30265
  let c = i ? `${i}.${n}` : n;
30251
30266
  return {
@@ -30256,12 +30271,12 @@ function jY(e, t, n, r, i) {
30256
30271
  }
30257
30272
  //#endregion
30258
30273
  //#region src/composed/JsonSchemaForm/JsonSchemaForm.tsx
30259
- function MY({ schema: e, control: t, name: n = "", disabled: r = !1, context: i }) {
30274
+ function NY({ schema: e, control: t, name: n = "", disabled: r = !1, context: i }) {
30260
30275
  let a = Ve(() => {
30261
30276
  try {
30262
30277
  return {
30263
30278
  ok: !0,
30264
- value: xY(e, n)
30279
+ value: SY(e, n)
30265
30280
  };
30266
30281
  } catch (e) {
30267
30282
  return {
@@ -30290,7 +30305,7 @@ function MY({ schema: e, control: t, name: n = "", disabled: r = !1, context: i
30290
30305
  ]);
30291
30306
  return o.ok ? /* @__PURE__ */ W(m.Provider, {
30292
30307
  value: o.contextValue,
30293
- children: /* @__PURE__ */ W(mY, { node: o.contextValue.index.root })
30308
+ children: /* @__PURE__ */ W(hY, { node: o.contextValue.index.root })
30294
30309
  }) : /* @__PURE__ */ G("p", {
30295
30310
  role: "alert",
30296
30311
  className: "text-sm text-destructive",
@@ -30299,7 +30314,7 @@ function MY({ schema: e, control: t, name: n = "", disabled: r = !1, context: i
30299
30314
  }
30300
30315
  //#endregion
30301
30316
  //#region src/composed/JsonSchemaForm/form-bindings/composeResolvers.ts
30302
- function NY(...e) {
30317
+ function PY(...e) {
30303
30318
  return async (t, n, r) => {
30304
30319
  let i = await Promise.all(e.map((e) => e(t, n, r))), a = {};
30305
30320
  for (let e of i) Object.assign(a, e.errors);
@@ -30314,7 +30329,7 @@ function NY(...e) {
30314
30329
  }
30315
30330
  //#endregion
30316
30331
  //#region ../../node_modules/ajv/dist/compile/codegen/code.js
30317
- var PY = /* @__PURE__ */ K(((e) => {
30332
+ var FY = /* @__PURE__ */ K(((e) => {
30318
30333
  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;
30319
30334
  var t = class {};
30320
30335
  e._CodeOrName = t, e.IDENTIFIER = /^[a-z$_][a-z$_0-9]*$/i;
@@ -30419,9 +30434,9 @@ var PY = /* @__PURE__ */ K(((e) => {
30419
30434
  return new r(e.toString());
30420
30435
  }
30421
30436
  e.regexpCode = g;
30422
- })), FY = /* @__PURE__ */ K(((e) => {
30437
+ })), IY = /* @__PURE__ */ K(((e) => {
30423
30438
  Object.defineProperty(e, "__esModule", { value: !0 }), e.ValueScope = e.ValueScopeName = e.Scope = e.varKinds = e.UsedValueState = void 0;
30424
- var t = PY(), n = class extends Error {
30439
+ var t = FY(), n = class extends Error {
30425
30440
  constructor(e) {
30426
30441
  super(`CodeGen: "code" for ${e} not defined`), this.value = e.value;
30427
30442
  }
@@ -30530,9 +30545,9 @@ var PY = /* @__PURE__ */ K(((e) => {
30530
30545
  return c;
30531
30546
  }
30532
30547
  };
30533
- })), IY = /* @__PURE__ */ K(((e) => {
30548
+ })), LY = /* @__PURE__ */ K(((e) => {
30534
30549
  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;
30535
- var t = PY(), n = FY(), r = PY();
30550
+ var t = FY(), n = IY(), r = FY();
30536
30551
  Object.defineProperty(e, "_", {
30537
30552
  enumerable: !0,
30538
30553
  get: function() {
@@ -30574,7 +30589,7 @@ var PY = /* @__PURE__ */ K(((e) => {
30574
30589
  return r.Name;
30575
30590
  }
30576
30591
  });
30577
- var i = FY();
30592
+ var i = IY();
30578
30593
  Object.defineProperty(e, "Scope", {
30579
30594
  enumerable: !0,
30580
30595
  get: function() {
@@ -31045,9 +31060,9 @@ var PY = /* @__PURE__ */ K(((e) => {
31045
31060
  function L(e) {
31046
31061
  return e instanceof t.Name ? e : (0, t._)`(${e})`;
31047
31062
  }
31048
- })), LY = /* @__PURE__ */ K(((e) => {
31063
+ })), RY = /* @__PURE__ */ K(((e) => {
31049
31064
  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;
31050
- var t = IY(), n = PY();
31065
+ var t = LY(), n = FY();
31051
31066
  function r(e) {
31052
31067
  let t = {};
31053
31068
  for (let n of e) t[n] = !0;
@@ -31170,9 +31185,9 @@ var PY = /* @__PURE__ */ K(((e) => {
31170
31185
  }
31171
31186
  }
31172
31187
  e.checkStrictMode = x;
31173
- })), RY = /* @__PURE__ */ K(((e) => {
31188
+ })), zY = /* @__PURE__ */ K(((e) => {
31174
31189
  Object.defineProperty(e, "__esModule", { value: !0 });
31175
- var t = IY();
31190
+ var t = LY();
31176
31191
  e.default = {
31177
31192
  data: new t.Name("data"),
31178
31193
  valCxt: new t.Name("valCxt"),
@@ -31191,9 +31206,9 @@ var PY = /* @__PURE__ */ K(((e) => {
31191
31206
  jsonLen: new t.Name("jsonLen"),
31192
31207
  jsonPart: new t.Name("jsonPart")
31193
31208
  };
31194
- })), zY = /* @__PURE__ */ K(((e) => {
31209
+ })), BY = /* @__PURE__ */ K(((e) => {
31195
31210
  Object.defineProperty(e, "__esModule", { value: !0 }), e.extendErrors = e.resetErrorsCount = e.reportExtraError = e.reportError = e.keyword$DataError = e.keywordError = void 0;
31196
- var t = IY(), n = LY(), r = RY();
31211
+ var t = LY(), n = RY(), r = zY();
31197
31212
  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)` };
31198
31213
  function i(n, r = e.keywordError, i, a) {
31199
31214
  let { it: o } = n, { gen: s, compositeRule: u, allErrors: f } = o, p = d(n, r, i);
@@ -31255,9 +31270,9 @@ var PY = /* @__PURE__ */ K(((e) => {
31255
31270
  let { keyword: o, data: s, schemaValue: c, it: l } = e, { opts: d, propertyName: f, topSchemaRef: p, schemaPath: m } = l;
31256
31271
  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]);
31257
31272
  }
31258
- })), BY = /* @__PURE__ */ K(((e) => {
31273
+ })), VY = /* @__PURE__ */ K(((e) => {
31259
31274
  Object.defineProperty(e, "__esModule", { value: !0 }), e.boolOrEmptySchema = e.topBoolOrEmptySchema = void 0;
31260
- var t = zY(), n = IY(), r = RY(), i = { message: "boolean schema is false" };
31275
+ var t = BY(), n = LY(), r = zY(), i = { message: "boolean schema is false" };
31261
31276
  function a(e) {
31262
31277
  let { gen: t, schema: i, validateName: a } = e;
31263
31278
  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));
@@ -31281,7 +31296,7 @@ var PY = /* @__PURE__ */ K(((e) => {
31281
31296
  };
31282
31297
  (0, t.reportError)(o, i, void 0, n);
31283
31298
  }
31284
- })), VY = /* @__PURE__ */ K(((e) => {
31299
+ })), HY = /* @__PURE__ */ K(((e) => {
31285
31300
  Object.defineProperty(e, "__esModule", { value: !0 }), e.getRules = e.isJSONType = void 0;
31286
31301
  var t = new Set([
31287
31302
  "string",
@@ -31335,7 +31350,7 @@ var PY = /* @__PURE__ */ K(((e) => {
31335
31350
  };
31336
31351
  }
31337
31352
  e.getRules = r;
31338
- })), HY = /* @__PURE__ */ K(((e) => {
31353
+ })), UY = /* @__PURE__ */ K(((e) => {
31339
31354
  Object.defineProperty(e, "__esModule", { value: !0 }), e.shouldUseRule = e.shouldUseGroup = e.schemaHasRulesForType = void 0;
31340
31355
  function t({ schema: e, self: t }, r) {
31341
31356
  let i = t.RULES.types[r];
@@ -31350,9 +31365,9 @@ var PY = /* @__PURE__ */ K(((e) => {
31350
31365
  return e[t.keyword] !== void 0 || t.definition.implements?.some((t) => e[t] !== void 0);
31351
31366
  }
31352
31367
  e.shouldUseRule = r;
31353
- })), UY = /* @__PURE__ */ K(((e) => {
31368
+ })), WY = /* @__PURE__ */ K(((e) => {
31354
31369
  Object.defineProperty(e, "__esModule", { value: !0 }), e.reportTypeError = e.checkDataTypes = e.checkDataType = e.coerceAndCheckDataType = e.getJSONTypes = e.getSchemaTypes = e.DataType = void 0;
31355
- var t = VY(), n = HY(), r = zY(), i = IY(), a = LY(), o;
31370
+ var t = HY(), n = UY(), r = BY(), i = LY(), a = RY(), o;
31356
31371
  (function(e) {
31357
31372
  e[e.Correct = 0] = "Correct", e[e.Wrong = 1] = "Wrong";
31358
31373
  })(o || (e.DataType = o = {}));
@@ -31487,9 +31502,9 @@ var PY = /* @__PURE__ */ K(((e) => {
31487
31502
  it: e
31488
31503
  };
31489
31504
  }
31490
- })), WY = /* @__PURE__ */ K(((e) => {
31505
+ })), GY = /* @__PURE__ */ K(((e) => {
31491
31506
  Object.defineProperty(e, "__esModule", { value: !0 }), e.assignDefaults = void 0;
31492
- var t = IY(), n = LY();
31507
+ var t = LY(), n = RY();
31493
31508
  function r(e, t) {
31494
31509
  let { properties: n, items: r } = e.schema;
31495
31510
  if (t === "object" && n) for (let t in n) i(e, t, n[t].default);
@@ -31507,9 +31522,9 @@ var PY = /* @__PURE__ */ K(((e) => {
31507
31522
  let u = (0, t._)`${l} === undefined`;
31508
31523
  c.useDefaults === "empty" && (u = (0, t._)`${u} || ${l} === null || ${l} === ""`), a.if(u, (0, t._)`${l} = ${(0, t.stringify)(i)}`);
31509
31524
  }
31510
- })), GY = /* @__PURE__ */ K(((e) => {
31525
+ })), KY = /* @__PURE__ */ K(((e) => {
31511
31526
  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;
31512
- var t = IY(), n = LY(), r = RY(), i = LY();
31527
+ var t = LY(), n = RY(), r = zY(), i = RY();
31513
31528
  function a(e, n) {
31514
31529
  let { gen: r, data: i, it: a } = e;
31515
31530
  r.if(d(r, i, n, a.opts.ownProperties), () => {
@@ -31611,9 +31626,9 @@ var PY = /* @__PURE__ */ K(((e) => {
31611
31626
  })), e.result(s, () => e.reset(), () => e.error(!0));
31612
31627
  }
31613
31628
  e.validateUnion = v;
31614
- })), KY = /* @__PURE__ */ K(((e) => {
31629
+ })), qY = /* @__PURE__ */ K(((e) => {
31615
31630
  Object.defineProperty(e, "__esModule", { value: !0 }), e.validateKeywordUsage = e.validSchemaType = e.funcKeywordCode = e.macroKeywordCode = void 0;
31616
- var t = IY(), n = RY(), r = GY(), i = zY();
31631
+ var t = LY(), n = zY(), r = KY(), i = BY();
31617
31632
  function a(e, n) {
31618
31633
  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);
31619
31634
  s.opts.validateSchema !== !1 && s.self.validateSchema(c, !0);
@@ -31692,9 +31707,9 @@ var PY = /* @__PURE__ */ K(((e) => {
31692
31707
  }
31693
31708
  }
31694
31709
  e.validateKeywordUsage = f;
31695
- })), qY = /* @__PURE__ */ K(((e) => {
31710
+ })), JY = /* @__PURE__ */ K(((e) => {
31696
31711
  Object.defineProperty(e, "__esModule", { value: !0 }), e.extendSubschemaMode = e.extendSubschemaData = e.getSubschema = void 0;
31697
- var t = IY(), n = LY();
31712
+ var t = LY(), n = RY();
31698
31713
  function r(e, { keyword: r, schemaProp: i, schema: a, schemaPath: o, errSchemaPath: s, topSchemaRef: c }) {
31699
31714
  if (r !== void 0 && a !== void 0) throw Error("both \"keyword\" and \"schema\" passed, only one allowed");
31700
31715
  if (r !== void 0) {
@@ -31738,7 +31753,7 @@ var PY = /* @__PURE__ */ K(((e) => {
31738
31753
  r !== void 0 && (e.compositeRule = r), i !== void 0 && (e.createErrors = i), a !== void 0 && (e.allErrors = a), e.jtdDiscriminator = t, e.jtdMetadata = n;
31739
31754
  }
31740
31755
  e.extendSubschemaMode = a;
31741
- })), JY = /* @__PURE__ */ K(((e, t) => {
31756
+ })), YY = /* @__PURE__ */ K(((e, t) => {
31742
31757
  t.exports = function e(t, n) {
31743
31758
  if (t === n) return !0;
31744
31759
  if (t && n && typeof t == "object" && typeof n == "object") {
@@ -31762,7 +31777,7 @@ var PY = /* @__PURE__ */ K(((e) => {
31762
31777
  }
31763
31778
  return t !== t && n !== n;
31764
31779
  };
31765
- })), YY = /* @__PURE__ */ K(((e, t) => {
31780
+ })), XY = /* @__PURE__ */ K(((e, t) => {
31766
31781
  var n = t.exports = function(e, t, n) {
31767
31782
  typeof t == "function" && (n = t, t = {}), n = t.cb || n;
31768
31783
  var i = typeof n == "function" ? n : n.pre || function() {}, a = n.post || function() {};
@@ -31825,9 +31840,9 @@ var PY = /* @__PURE__ */ K(((e) => {
31825
31840
  function i(e) {
31826
31841
  return e.replace(/~/g, "~0").replace(/\//g, "~1");
31827
31842
  }
31828
- })), XY = /* @__PURE__ */ K(((e) => {
31843
+ })), ZY = /* @__PURE__ */ K(((e) => {
31829
31844
  Object.defineProperty(e, "__esModule", { value: !0 }), e.getSchemaRefs = e.resolveUrl = e.normalizeId = e._getFullPath = e.getFullPath = e.inlineRef = void 0;
31830
- var t = LY(), n = JY(), r = YY(), i = new Set([
31845
+ var t = RY(), n = YY(), r = XY(), i = new Set([
31831
31846
  "type",
31832
31847
  "format",
31833
31848
  "pattern",
@@ -31916,9 +31931,9 @@ var PY = /* @__PURE__ */ K(((e) => {
31916
31931
  }
31917
31932
  }
31918
31933
  e.getSchemaRefs = h;
31919
- })), ZY = /* @__PURE__ */ K(((e) => {
31934
+ })), QY = /* @__PURE__ */ K(((e) => {
31920
31935
  Object.defineProperty(e, "__esModule", { value: !0 }), e.getData = e.KeywordCxt = e.validateFunctionCode = void 0;
31921
- var t = BY(), n = UY(), r = HY(), i = UY(), a = WY(), o = KY(), s = qY(), c = IY(), l = RY(), u = XY(), d = LY(), f = zY();
31936
+ var t = VY(), n = WY(), r = UY(), i = WY(), a = GY(), o = qY(), s = JY(), c = LY(), l = zY(), u = ZY(), d = RY(), f = BY();
31922
31937
  function p(e) {
31923
31938
  if (S(e) && (w(e), x(e))) {
31924
31939
  _(e);
@@ -32208,23 +32223,23 @@ var PY = /* @__PURE__ */ K(((e) => {
32208
32223
  }
32209
32224
  }
32210
32225
  e.getData = se;
32211
- })), QY = /* @__PURE__ */ K(((e) => {
32226
+ })), $Y = /* @__PURE__ */ K(((e) => {
32212
32227
  Object.defineProperty(e, "__esModule", { value: !0 }), e.default = class extends Error {
32213
32228
  constructor(e) {
32214
32229
  super("validation failed"), this.errors = e, this.ajv = this.validation = !0;
32215
32230
  }
32216
32231
  };
32217
- })), $Y = /* @__PURE__ */ K(((e) => {
32232
+ })), eX = /* @__PURE__ */ K(((e) => {
32218
32233
  Object.defineProperty(e, "__esModule", { value: !0 });
32219
- var t = XY();
32234
+ var t = ZY();
32220
32235
  e.default = class extends Error {
32221
32236
  constructor(e, n, r, i) {
32222
32237
  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));
32223
32238
  }
32224
32239
  };
32225
- })), eX = /* @__PURE__ */ K(((e) => {
32240
+ })), tX = /* @__PURE__ */ K(((e) => {
32226
32241
  Object.defineProperty(e, "__esModule", { value: !0 }), e.resolveSchema = e.getCompilingSchema = e.resolveRef = e.compileSchema = e.SchemaEnv = void 0;
32227
- var t = IY(), n = QY(), r = RY(), i = XY(), a = LY(), o = ZY(), s = class {
32242
+ var t = LY(), n = $Y(), r = zY(), i = ZY(), a = RY(), o = QY(), s = class {
32228
32243
  constructor(e) {
32229
32244
  this.refs = {}, this.dynamicAnchors = {};
32230
32245
  let t;
@@ -32383,27 +32398,27 @@ var PY = /* @__PURE__ */ K(((e) => {
32383
32398
  baseId: t
32384
32399
  }), o.schema !== o.root.schema) return o;
32385
32400
  }
32386
- })), tX = /* @__PURE__ */ st({
32387
- $id: () => nX,
32401
+ })), nX = /* @__PURE__ */ st({
32402
+ $id: () => rX,
32388
32403
  additionalProperties: () => !1,
32389
- default: () => sX,
32390
- description: () => rX,
32391
- properties: () => oX,
32392
- required: () => aX,
32393
- type: () => iX
32394
- }), nX, rX, iX, aX, oX, sX, cX = ot((() => {
32395
- nX = "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#", rX = "Meta-schema for $data reference (JSON AnySchema extension proposal)", iX = "object", aX = ["$data"], oX = { $data: {
32404
+ default: () => cX,
32405
+ description: () => iX,
32406
+ properties: () => sX,
32407
+ required: () => oX,
32408
+ type: () => aX
32409
+ }), rX, iX, aX, oX, sX, cX, lX = ot((() => {
32410
+ rX = "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#", iX = "Meta-schema for $data reference (JSON AnySchema extension proposal)", aX = "object", oX = ["$data"], sX = { $data: {
32396
32411
  type: "string",
32397
32412
  anyOf: [{ format: "relative-json-pointer" }, { format: "json-pointer" }]
32398
- } }, sX = {
32399
- $id: nX,
32400
- description: rX,
32401
- type: iX,
32402
- required: aX,
32403
- properties: oX,
32413
+ } }, cX = {
32414
+ $id: rX,
32415
+ description: iX,
32416
+ type: aX,
32417
+ required: oX,
32418
+ properties: sX,
32404
32419
  additionalProperties: !1
32405
32420
  };
32406
- })), lX = /* @__PURE__ */ K(((e, t) => {
32421
+ })), uX = /* @__PURE__ */ K(((e, t) => {
32407
32422
  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);
32408
32423
  {
32409
32424
  let e = "0123456789ABCDEF";
@@ -32752,8 +32767,8 @@ var PY = /* @__PURE__ */ K(((e) => {
32752
32767
  normalizeIPv6: b,
32753
32768
  stringArrayToHexStripped: f
32754
32769
  };
32755
- })), uX = /* @__PURE__ */ K(((e, t) => {
32756
- var { isUUID: n } = lX(), r = /^([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-./:;=@]|%[\da-f]{2})+)$/iu, i = [
32770
+ })), dX = /* @__PURE__ */ K(((e, t) => {
32771
+ var { isUUID: n } = uX(), r = /^([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-./:;=@]|%[\da-f]{2})+)$/iu, i = [
32757
32772
  "http",
32758
32773
  "https",
32759
32774
  "ws",
@@ -32858,8 +32873,8 @@ var PY = /* @__PURE__ */ K(((e) => {
32858
32873
  isValidSchemeName: a,
32859
32874
  getSchemeHandler: y
32860
32875
  };
32861
- })), dX = /* @__PURE__ */ K(((e, t) => {
32862
- 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 } = lX(), { SCHEMES: m, getSchemeHandler: h } = uX(), g = /^[A-Za-z][A-Za-z0-9+.-]*$/u, _ = "URI scheme is malformed.";
32876
+ })), fX = /* @__PURE__ */ K(((e, t) => {
32877
+ 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 } = uX(), { SCHEMES: m, getSchemeHandler: h } = dX(), g = /^[A-Za-z][A-Za-z0-9+.-]*$/u, _ = "URI scheme is malformed.";
32863
32878
  function v(e) {
32864
32879
  let t = unescape(String(e));
32865
32880
  if (!g.test(t)) throw TypeError(_);
@@ -33028,20 +33043,20 @@ var PY = /* @__PURE__ */ K(((e) => {
33028
33043
  parse: N
33029
33044
  };
33030
33045
  t.exports = L, t.exports.default = L, t.exports.fastUri = L;
33031
- })), fX = /* @__PURE__ */ K(((e) => {
33046
+ })), pX = /* @__PURE__ */ K(((e) => {
33032
33047
  Object.defineProperty(e, "__esModule", { value: !0 });
33033
- var t = dX();
33048
+ var t = fX();
33034
33049
  t.code = "require(\"ajv/dist/runtime/uri\").default", e.default = t;
33035
- })), pX = /* @__PURE__ */ K(((e) => {
33050
+ })), mX = /* @__PURE__ */ K(((e) => {
33036
33051
  Object.defineProperty(e, "__esModule", { value: !0 }), e.CodeGen = e.Name = e.nil = e.stringify = e.str = e._ = e.KeywordCxt = void 0;
33037
- var t = ZY();
33052
+ var t = QY();
33038
33053
  Object.defineProperty(e, "KeywordCxt", {
33039
33054
  enumerable: !0,
33040
33055
  get: function() {
33041
33056
  return t.KeywordCxt;
33042
33057
  }
33043
33058
  });
33044
- var n = IY();
33059
+ var n = LY();
33045
33060
  Object.defineProperty(e, "_", {
33046
33061
  enumerable: !0,
33047
33062
  get: function() {
@@ -33073,7 +33088,7 @@ var PY = /* @__PURE__ */ K(((e) => {
33073
33088
  return n.CodeGen;
33074
33089
  }
33075
33090
  });
33076
- var r = QY(), i = $Y(), a = VY(), o = eX(), s = IY(), c = XY(), l = UY(), u = LY(), d = (cX(), ut(tX).default), f = fX(), p = (e, t) => new RegExp(e, t);
33091
+ var r = $Y(), i = eX(), a = HY(), o = tX(), s = LY(), c = ZY(), l = WY(), u = RY(), d = (lX(), ut(nX).default), f = pX(), p = (e, t) => new RegExp(e, t);
33077
33092
  p.code = "new RegExp";
33078
33093
  var m = [
33079
33094
  "removeAdditional",
@@ -33459,16 +33474,16 @@ var PY = /* @__PURE__ */ K(((e) => {
33459
33474
  function F(e) {
33460
33475
  return { anyOf: [e, P] };
33461
33476
  }
33462
- })), mX = /* @__PURE__ */ K(((e) => {
33477
+ })), hX = /* @__PURE__ */ K(((e) => {
33463
33478
  Object.defineProperty(e, "__esModule", { value: !0 }), e.default = {
33464
33479
  keyword: "id",
33465
33480
  code() {
33466
33481
  throw Error("NOT SUPPORTED: keyword \"id\", use \"$id\" for schema ID");
33467
33482
  }
33468
33483
  };
33469
- })), hX = /* @__PURE__ */ K(((e) => {
33484
+ })), gX = /* @__PURE__ */ K(((e) => {
33470
33485
  Object.defineProperty(e, "__esModule", { value: !0 }), e.callRef = e.getValidate = void 0;
33471
- var t = $Y(), n = GY(), r = IY(), i = RY(), a = eX(), o = LY(), s = {
33486
+ var t = eX(), n = KY(), r = LY(), i = zY(), a = tX(), o = RY(), s = {
33472
33487
  keyword: "$ref",
33473
33488
  schemaType: "string",
33474
33489
  code(e) {
@@ -33541,9 +33556,9 @@ var PY = /* @__PURE__ */ K(((e) => {
33541
33556
  }
33542
33557
  }
33543
33558
  e.callRef = l, e.default = s;
33544
- })), gX = /* @__PURE__ */ K(((e) => {
33559
+ })), _X = /* @__PURE__ */ K(((e) => {
33545
33560
  Object.defineProperty(e, "__esModule", { value: !0 });
33546
- var t = mX(), n = hX();
33561
+ var t = hX(), n = gX();
33547
33562
  e.default = [
33548
33563
  "$schema",
33549
33564
  "$id",
@@ -33554,9 +33569,9 @@ var PY = /* @__PURE__ */ K(((e) => {
33554
33569
  t.default,
33555
33570
  n.default
33556
33571
  ];
33557
- })), _X = /* @__PURE__ */ K(((e) => {
33572
+ })), vX = /* @__PURE__ */ K(((e) => {
33558
33573
  Object.defineProperty(e, "__esModule", { value: !0 });
33559
- var t = IY(), n = t.operators, r = {
33574
+ var t = LY(), n = t.operators, r = {
33560
33575
  maximum: {
33561
33576
  okStr: "<=",
33562
33577
  ok: n.LTE,
@@ -33592,9 +33607,9 @@ var PY = /* @__PURE__ */ K(((e) => {
33592
33607
  e.fail$data((0, t._)`${i} ${r[n].fail} ${a} || isNaN(${i})`);
33593
33608
  }
33594
33609
  };
33595
- })), vX = /* @__PURE__ */ K(((e) => {
33610
+ })), yX = /* @__PURE__ */ K(((e) => {
33596
33611
  Object.defineProperty(e, "__esModule", { value: !0 });
33597
- var t = IY();
33612
+ var t = LY();
33598
33613
  e.default = {
33599
33614
  keyword: "multipleOf",
33600
33615
  type: "number",
@@ -33609,7 +33624,7 @@ var PY = /* @__PURE__ */ K(((e) => {
33609
33624
  e.fail$data((0, t._)`(${i} === 0 || (${s} = ${r}/${i}, ${c}))`);
33610
33625
  }
33611
33626
  };
33612
- })), yX = /* @__PURE__ */ K(((e) => {
33627
+ })), bX = /* @__PURE__ */ K(((e) => {
33613
33628
  Object.defineProperty(e, "__esModule", { value: !0 });
33614
33629
  function t(e) {
33615
33630
  let t = e.length, n = 0, r = 0, i;
@@ -33617,9 +33632,9 @@ var PY = /* @__PURE__ */ K(((e) => {
33617
33632
  return n;
33618
33633
  }
33619
33634
  e.default = t, t.code = "require(\"ajv/dist/runtime/ucs2length\").default";
33620
- })), bX = /* @__PURE__ */ K(((e) => {
33635
+ })), xX = /* @__PURE__ */ K(((e) => {
33621
33636
  Object.defineProperty(e, "__esModule", { value: !0 });
33622
- var t = IY(), n = LY(), r = yX();
33637
+ var t = LY(), n = RY(), r = bX();
33623
33638
  e.default = {
33624
33639
  keyword: ["maxLength", "minLength"],
33625
33640
  type: "string",
@@ -33637,9 +33652,9 @@ var PY = /* @__PURE__ */ K(((e) => {
33637
33652
  e.fail$data((0, t._)`${l} ${c} ${o}`);
33638
33653
  }
33639
33654
  };
33640
- })), xX = /* @__PURE__ */ K(((e) => {
33655
+ })), SX = /* @__PURE__ */ K(((e) => {
33641
33656
  Object.defineProperty(e, "__esModule", { value: !0 });
33642
- var t = GY(), n = LY(), r = IY();
33657
+ var t = KY(), n = RY(), r = LY();
33643
33658
  e.default = {
33644
33659
  keyword: "pattern",
33645
33660
  type: "string",
@@ -33660,9 +33675,9 @@ var PY = /* @__PURE__ */ K(((e) => {
33660
33675
  }
33661
33676
  }
33662
33677
  };
33663
- })), SX = /* @__PURE__ */ K(((e) => {
33678
+ })), CX = /* @__PURE__ */ K(((e) => {
33664
33679
  Object.defineProperty(e, "__esModule", { value: !0 });
33665
- var t = IY();
33680
+ var t = LY();
33666
33681
  e.default = {
33667
33682
  keyword: ["maxProperties", "minProperties"],
33668
33683
  type: "object",
@@ -33680,9 +33695,9 @@ var PY = /* @__PURE__ */ K(((e) => {
33680
33695
  e.fail$data((0, t._)`Object.keys(${r}).length ${a} ${i}`);
33681
33696
  }
33682
33697
  };
33683
- })), CX = /* @__PURE__ */ K(((e) => {
33698
+ })), wX = /* @__PURE__ */ K(((e) => {
33684
33699
  Object.defineProperty(e, "__esModule", { value: !0 });
33685
- var t = GY(), n = IY(), r = LY();
33700
+ var t = KY(), n = LY(), r = RY();
33686
33701
  e.default = {
33687
33702
  keyword: "required",
33688
33703
  type: "object",
@@ -33728,9 +33743,9 @@ var PY = /* @__PURE__ */ K(((e) => {
33728
33743
  }
33729
33744
  }
33730
33745
  };
33731
- })), wX = /* @__PURE__ */ K(((e) => {
33746
+ })), TX = /* @__PURE__ */ K(((e) => {
33732
33747
  Object.defineProperty(e, "__esModule", { value: !0 });
33733
- var t = IY();
33748
+ var t = LY();
33734
33749
  e.default = {
33735
33750
  keyword: ["maxItems", "minItems"],
33736
33751
  type: "array",
@@ -33748,13 +33763,13 @@ var PY = /* @__PURE__ */ K(((e) => {
33748
33763
  e.fail$data((0, t._)`${r}.length ${a} ${i}`);
33749
33764
  }
33750
33765
  };
33751
- })), TX = /* @__PURE__ */ K(((e) => {
33766
+ })), EX = /* @__PURE__ */ K(((e) => {
33752
33767
  Object.defineProperty(e, "__esModule", { value: !0 });
33753
- var t = JY();
33768
+ var t = YY();
33754
33769
  t.code = "require(\"ajv/dist/runtime/equal\").default", e.default = t;
33755
- })), EX = /* @__PURE__ */ K(((e) => {
33770
+ })), DX = /* @__PURE__ */ K(((e) => {
33756
33771
  Object.defineProperty(e, "__esModule", { value: !0 });
33757
- var t = UY(), n = IY(), r = LY(), i = TX();
33772
+ var t = WY(), n = LY(), r = RY(), i = EX();
33758
33773
  e.default = {
33759
33774
  keyword: "uniqueItems",
33760
33775
  type: "array",
@@ -33795,9 +33810,9 @@ var PY = /* @__PURE__ */ K(((e) => {
33795
33810
  }
33796
33811
  }
33797
33812
  };
33798
- })), DX = /* @__PURE__ */ K(((e) => {
33813
+ })), OX = /* @__PURE__ */ K(((e) => {
33799
33814
  Object.defineProperty(e, "__esModule", { value: !0 });
33800
- var t = IY(), n = LY(), r = TX();
33815
+ var t = LY(), n = RY(), r = EX();
33801
33816
  e.default = {
33802
33817
  keyword: "const",
33803
33818
  $data: !0,
@@ -33810,9 +33825,9 @@ var PY = /* @__PURE__ */ K(((e) => {
33810
33825
  o || c && typeof c == "object" ? e.fail$data((0, t._)`!${(0, n.useFunc)(i, r.default)}(${a}, ${s})`) : e.fail((0, t._)`${c} !== ${a}`);
33811
33826
  }
33812
33827
  };
33813
- })), OX = /* @__PURE__ */ K(((e) => {
33828
+ })), kX = /* @__PURE__ */ K(((e) => {
33814
33829
  Object.defineProperty(e, "__esModule", { value: !0 });
33815
- var t = IY(), n = LY(), r = TX();
33830
+ var t = LY(), n = RY(), r = EX();
33816
33831
  e.default = {
33817
33832
  keyword: "enum",
33818
33833
  schemaType: "array",
@@ -33842,9 +33857,9 @@ var PY = /* @__PURE__ */ K(((e) => {
33842
33857
  }
33843
33858
  }
33844
33859
  };
33845
- })), kX = /* @__PURE__ */ K(((e) => {
33860
+ })), AX = /* @__PURE__ */ K(((e) => {
33846
33861
  Object.defineProperty(e, "__esModule", { value: !0 });
33847
- var t = _X(), n = vX(), r = bX(), i = xX(), a = SX(), o = CX(), s = wX(), c = EX(), l = DX(), u = OX();
33862
+ var t = vX(), n = yX(), r = xX(), i = SX(), a = CX(), o = wX(), s = TX(), c = DX(), l = OX(), u = kX();
33848
33863
  e.default = [
33849
33864
  t.default,
33850
33865
  n.default,
@@ -33865,9 +33880,9 @@ var PY = /* @__PURE__ */ K(((e) => {
33865
33880
  l.default,
33866
33881
  u.default
33867
33882
  ];
33868
- })), AX = /* @__PURE__ */ K(((e) => {
33883
+ })), jX = /* @__PURE__ */ K(((e) => {
33869
33884
  Object.defineProperty(e, "__esModule", { value: !0 }), e.validateAdditionalItems = void 0;
33870
- var t = IY(), n = LY(), r = {
33885
+ var t = LY(), n = RY(), r = {
33871
33886
  keyword: "additionalItems",
33872
33887
  type: "array",
33873
33888
  schemaType: ["boolean", "object"],
@@ -33905,9 +33920,9 @@ var PY = /* @__PURE__ */ K(((e) => {
33905
33920
  }
33906
33921
  }
33907
33922
  e.validateAdditionalItems = i, e.default = r;
33908
- })), jX = /* @__PURE__ */ K(((e) => {
33923
+ })), MX = /* @__PURE__ */ K(((e) => {
33909
33924
  Object.defineProperty(e, "__esModule", { value: !0 }), e.validateTuple = void 0;
33910
- var t = IY(), n = LY(), r = GY(), i = {
33925
+ var t = LY(), n = RY(), r = KY(), i = {
33911
33926
  keyword: "items",
33912
33927
  type: "array",
33913
33928
  schemaType: [
@@ -33942,9 +33957,9 @@ var PY = /* @__PURE__ */ K(((e) => {
33942
33957
  }
33943
33958
  }
33944
33959
  e.validateTuple = a, e.default = i;
33945
- })), MX = /* @__PURE__ */ K(((e) => {
33960
+ })), NX = /* @__PURE__ */ K(((e) => {
33946
33961
  Object.defineProperty(e, "__esModule", { value: !0 });
33947
- var t = jX();
33962
+ var t = MX();
33948
33963
  e.default = {
33949
33964
  keyword: "prefixItems",
33950
33965
  type: "array",
@@ -33952,9 +33967,9 @@ var PY = /* @__PURE__ */ K(((e) => {
33952
33967
  before: "uniqueItems",
33953
33968
  code: (e) => (0, t.validateTuple)(e, "items")
33954
33969
  };
33955
- })), NX = /* @__PURE__ */ K(((e) => {
33970
+ })), PX = /* @__PURE__ */ K(((e) => {
33956
33971
  Object.defineProperty(e, "__esModule", { value: !0 });
33957
- var t = IY(), n = LY(), r = GY(), i = AX();
33972
+ var t = LY(), n = RY(), r = KY(), i = jX();
33958
33973
  e.default = {
33959
33974
  keyword: "items",
33960
33975
  type: "array",
@@ -33969,9 +33984,9 @@ var PY = /* @__PURE__ */ K(((e) => {
33969
33984
  o.items = !0, !(0, n.alwaysValidSchema)(o, t) && (s ? (0, i.validateAdditionalItems)(e, s) : e.ok((0, r.validateArray)(e)));
33970
33985
  }
33971
33986
  };
33972
- })), PX = /* @__PURE__ */ K(((e) => {
33987
+ })), FX = /* @__PURE__ */ K(((e) => {
33973
33988
  Object.defineProperty(e, "__esModule", { value: !0 });
33974
- var t = IY(), n = LY();
33989
+ var t = LY(), n = RY();
33975
33990
  e.default = {
33976
33991
  keyword: "contains",
33977
33992
  type: "array",
@@ -34024,9 +34039,9 @@ var PY = /* @__PURE__ */ K(((e) => {
34024
34039
  }
34025
34040
  }
34026
34041
  };
34027
- })), FX = /* @__PURE__ */ K(((e) => {
34042
+ })), IX = /* @__PURE__ */ K(((e) => {
34028
34043
  Object.defineProperty(e, "__esModule", { value: !0 }), e.validateSchemaDeps = e.validatePropertyDeps = e.error = void 0;
34029
- var t = IY(), n = LY(), r = GY();
34044
+ var t = LY(), n = RY(), r = KY();
34030
34045
  e.error = {
34031
34046
  message: ({ params: { property: e, depsCount: n, deps: r } }) => {
34032
34047
  let i = n === 1 ? "property" : "properties";
@@ -34085,9 +34100,9 @@ var PY = /* @__PURE__ */ K(((e) => {
34085
34100
  }, () => i.var(c, !0)), e.ok(c));
34086
34101
  }
34087
34102
  e.validateSchemaDeps = s, e.default = i;
34088
- })), IX = /* @__PURE__ */ K(((e) => {
34103
+ })), LX = /* @__PURE__ */ K(((e) => {
34089
34104
  Object.defineProperty(e, "__esModule", { value: !0 });
34090
- var t = IY(), n = LY();
34105
+ var t = LY(), n = RY();
34091
34106
  e.default = {
34092
34107
  keyword: "propertyNames",
34093
34108
  type: "object",
@@ -34113,9 +34128,9 @@ var PY = /* @__PURE__ */ K(((e) => {
34113
34128
  }), e.ok(s);
34114
34129
  }
34115
34130
  };
34116
- })), LX = /* @__PURE__ */ K(((e) => {
34131
+ })), RX = /* @__PURE__ */ K(((e) => {
34117
34132
  Object.defineProperty(e, "__esModule", { value: !0 });
34118
- var t = GY(), n = IY(), r = RY(), i = LY();
34133
+ var t = KY(), n = LY(), r = zY(), i = RY();
34119
34134
  e.default = {
34120
34135
  keyword: "additionalProperties",
34121
34136
  type: ["object"],
@@ -34180,9 +34195,9 @@ var PY = /* @__PURE__ */ K(((e) => {
34180
34195
  }
34181
34196
  }
34182
34197
  };
34183
- })), RX = /* @__PURE__ */ K(((e) => {
34198
+ })), zX = /* @__PURE__ */ K(((e) => {
34184
34199
  Object.defineProperty(e, "__esModule", { value: !0 });
34185
- var t = ZY(), n = GY(), r = LY(), i = LX();
34200
+ var t = QY(), n = KY(), r = RY(), i = RX();
34186
34201
  e.default = {
34187
34202
  keyword: "properties",
34188
34203
  type: "object",
@@ -34209,9 +34224,9 @@ var PY = /* @__PURE__ */ K(((e) => {
34209
34224
  }
34210
34225
  }
34211
34226
  };
34212
- })), zX = /* @__PURE__ */ K(((e) => {
34227
+ })), BX = /* @__PURE__ */ K(((e) => {
34213
34228
  Object.defineProperty(e, "__esModule", { value: !0 });
34214
- var t = GY(), n = IY(), r = LY(), i = LY();
34229
+ var t = KY(), n = LY(), r = RY(), i = RY();
34215
34230
  e.default = {
34216
34231
  keyword: "patternProperties",
34217
34232
  type: "object",
@@ -34244,9 +34259,9 @@ var PY = /* @__PURE__ */ K(((e) => {
34244
34259
  }
34245
34260
  }
34246
34261
  };
34247
- })), BX = /* @__PURE__ */ K(((e) => {
34262
+ })), VX = /* @__PURE__ */ K(((e) => {
34248
34263
  Object.defineProperty(e, "__esModule", { value: !0 });
34249
- var t = LY();
34264
+ var t = RY();
34250
34265
  e.default = {
34251
34266
  keyword: "not",
34252
34267
  schemaType: ["object", "boolean"],
@@ -34267,17 +34282,17 @@ var PY = /* @__PURE__ */ K(((e) => {
34267
34282
  },
34268
34283
  error: { message: "must NOT be valid" }
34269
34284
  };
34270
- })), VX = /* @__PURE__ */ K(((e) => {
34285
+ })), HX = /* @__PURE__ */ K(((e) => {
34271
34286
  Object.defineProperty(e, "__esModule", { value: !0 }), e.default = {
34272
34287
  keyword: "anyOf",
34273
34288
  schemaType: "array",
34274
34289
  trackErrors: !0,
34275
- code: GY().validateUnion,
34290
+ code: KY().validateUnion,
34276
34291
  error: { message: "must match a schema in anyOf" }
34277
34292
  };
34278
- })), HX = /* @__PURE__ */ K(((e) => {
34293
+ })), UX = /* @__PURE__ */ K(((e) => {
34279
34294
  Object.defineProperty(e, "__esModule", { value: !0 });
34280
- var t = IY(), n = LY();
34295
+ var t = LY(), n = RY();
34281
34296
  e.default = {
34282
34297
  keyword: "oneOf",
34283
34298
  schemaType: "array",
@@ -34307,9 +34322,9 @@ var PY = /* @__PURE__ */ K(((e) => {
34307
34322
  }
34308
34323
  }
34309
34324
  };
34310
- })), UX = /* @__PURE__ */ K(((e) => {
34325
+ })), WX = /* @__PURE__ */ K(((e) => {
34311
34326
  Object.defineProperty(e, "__esModule", { value: !0 });
34312
- var t = LY();
34327
+ var t = RY();
34313
34328
  e.default = {
34314
34329
  keyword: "allOf",
34315
34330
  schemaType: "array",
@@ -34328,9 +34343,9 @@ var PY = /* @__PURE__ */ K(((e) => {
34328
34343
  });
34329
34344
  }
34330
34345
  };
34331
- })), WX = /* @__PURE__ */ K(((e) => {
34346
+ })), GX = /* @__PURE__ */ K(((e) => {
34332
34347
  Object.defineProperty(e, "__esModule", { value: !0 });
34333
- var t = IY(), n = LY(), r = {
34348
+ var t = LY(), n = RY(), r = {
34334
34349
  keyword: "if",
34335
34350
  schemaType: ["object", "boolean"],
34336
34351
  trackErrors: !0,
@@ -34371,9 +34386,9 @@ var PY = /* @__PURE__ */ K(((e) => {
34371
34386
  return r !== void 0 && !(0, n.alwaysValidSchema)(e, r);
34372
34387
  }
34373
34388
  e.default = r;
34374
- })), GX = /* @__PURE__ */ K(((e) => {
34389
+ })), KX = /* @__PURE__ */ K(((e) => {
34375
34390
  Object.defineProperty(e, "__esModule", { value: !0 });
34376
- var t = LY();
34391
+ var t = RY();
34377
34392
  e.default = {
34378
34393
  keyword: ["then", "else"],
34379
34394
  schemaType: ["object", "boolean"],
@@ -34381,9 +34396,9 @@ var PY = /* @__PURE__ */ K(((e) => {
34381
34396
  n.if === void 0 && (0, t.checkStrictMode)(r, `"${e}" without "if" is ignored`);
34382
34397
  }
34383
34398
  };
34384
- })), KX = /* @__PURE__ */ K(((e) => {
34399
+ })), qX = /* @__PURE__ */ K(((e) => {
34385
34400
  Object.defineProperty(e, "__esModule", { value: !0 });
34386
- var t = AX(), n = MX(), r = jX(), i = NX(), a = PX(), o = FX(), s = IX(), c = LX(), l = RX(), u = zX(), d = BX(), f = VX(), p = HX(), m = UX(), h = WX(), g = GX();
34401
+ var t = jX(), n = NX(), r = MX(), i = PX(), a = FX(), o = IX(), s = LX(), c = RX(), l = zX(), u = BX(), d = VX(), f = HX(), p = UX(), m = WX(), h = GX(), g = KX();
34387
34402
  function _(e = !1) {
34388
34403
  let _ = [
34389
34404
  d.default,
@@ -34401,9 +34416,9 @@ var PY = /* @__PURE__ */ K(((e) => {
34401
34416
  return e ? _.push(n.default, i.default) : _.push(t.default, r.default), _.push(a.default), _;
34402
34417
  }
34403
34418
  e.default = _;
34404
- })), qX = /* @__PURE__ */ K(((e) => {
34419
+ })), JX = /* @__PURE__ */ K(((e) => {
34405
34420
  Object.defineProperty(e, "__esModule", { value: !0 });
34406
- var t = IY();
34421
+ var t = LY();
34407
34422
  e.default = {
34408
34423
  keyword: "format",
34409
34424
  type: ["number", "string"],
@@ -34476,9 +34491,9 @@ var PY = /* @__PURE__ */ K(((e) => {
34476
34491
  }
34477
34492
  }
34478
34493
  };
34479
- })), JX = /* @__PURE__ */ K(((e) => {
34480
- Object.defineProperty(e, "__esModule", { value: !0 }), e.default = [qX().default];
34481
34494
  })), YX = /* @__PURE__ */ K(((e) => {
34495
+ Object.defineProperty(e, "__esModule", { value: !0 }), e.default = [JX().default];
34496
+ })), XX = /* @__PURE__ */ K(((e) => {
34482
34497
  Object.defineProperty(e, "__esModule", { value: !0 }), e.contentVocabulary = e.metadataVocabulary = void 0, e.metadataVocabulary = [
34483
34498
  "title",
34484
34499
  "description",
@@ -34492,9 +34507,9 @@ var PY = /* @__PURE__ */ K(((e) => {
34492
34507
  "contentEncoding",
34493
34508
  "contentSchema"
34494
34509
  ];
34495
- })), XX = /* @__PURE__ */ K(((e) => {
34510
+ })), ZX = /* @__PURE__ */ K(((e) => {
34496
34511
  Object.defineProperty(e, "__esModule", { value: !0 });
34497
- var t = gX(), n = kX(), r = KX(), i = JX(), a = YX();
34512
+ var t = _X(), n = AX(), r = qX(), i = YX(), a = XX();
34498
34513
  e.default = [
34499
34514
  t.default,
34500
34515
  n.default,
@@ -34503,15 +34518,15 @@ var PY = /* @__PURE__ */ K(((e) => {
34503
34518
  a.metadataVocabulary,
34504
34519
  a.contentVocabulary
34505
34520
  ];
34506
- })), ZX = /* @__PURE__ */ K(((e) => {
34521
+ })), QX = /* @__PURE__ */ K(((e) => {
34507
34522
  Object.defineProperty(e, "__esModule", { value: !0 }), e.DiscrError = void 0;
34508
34523
  var t;
34509
34524
  (function(e) {
34510
34525
  e.Tag = "tag", e.Mapping = "mapping";
34511
34526
  })(t || (e.DiscrError = t = {}));
34512
- })), QX = /* @__PURE__ */ K(((e) => {
34527
+ })), $X = /* @__PURE__ */ K(((e) => {
34513
34528
  Object.defineProperty(e, "__esModule", { value: !0 });
34514
- var t = IY(), n = ZX(), r = eX(), i = $Y(), a = LY();
34529
+ var t = LY(), n = QX(), r = tX(), i = eX(), a = RY();
34515
34530
  e.default = {
34516
34531
  keyword: "discriminator",
34517
34532
  type: "object",
@@ -34579,16 +34594,16 @@ var PY = /* @__PURE__ */ K(((e) => {
34579
34594
  }
34580
34595
  }
34581
34596
  };
34582
- })), $X = /* @__PURE__ */ st({
34583
- $id: () => tZ,
34584
- $schema: () => eZ,
34585
- default: () => oZ,
34586
- definitions: () => rZ,
34587
- properties: () => aZ,
34588
- title: () => nZ,
34589
- type: () => iZ
34590
- }), eZ, tZ, nZ, rZ, iZ, aZ, oZ, sZ = ot((() => {
34591
- eZ = "http://json-schema.org/draft-07/schema#", tZ = "http://json-schema.org/draft-07/schema#", nZ = "Core schema meta-schema", rZ = {
34597
+ })), eZ = /* @__PURE__ */ st({
34598
+ $id: () => nZ,
34599
+ $schema: () => tZ,
34600
+ default: () => sZ,
34601
+ definitions: () => iZ,
34602
+ properties: () => oZ,
34603
+ title: () => rZ,
34604
+ type: () => aZ
34605
+ }), tZ, nZ, rZ, iZ, aZ, oZ, sZ, cZ = ot((() => {
34606
+ tZ = "http://json-schema.org/draft-07/schema#", nZ = "http://json-schema.org/draft-07/schema#", rZ = "Core schema meta-schema", iZ = {
34592
34607
  schemaArray: {
34593
34608
  type: "array",
34594
34609
  minItems: 1,
@@ -34614,7 +34629,7 @@ var PY = /* @__PURE__ */ K(((e) => {
34614
34629
  uniqueItems: !0,
34615
34630
  default: []
34616
34631
  }
34617
- }, iZ = ["object", "boolean"], aZ = {
34632
+ }, aZ = ["object", "boolean"], oZ = {
34618
34633
  $id: {
34619
34634
  type: "string",
34620
34635
  format: "uri-reference"
@@ -34713,18 +34728,18 @@ var PY = /* @__PURE__ */ K(((e) => {
34713
34728
  anyOf: { $ref: "#/definitions/schemaArray" },
34714
34729
  oneOf: { $ref: "#/definitions/schemaArray" },
34715
34730
  not: { $ref: "#" }
34716
- }, oZ = {
34717
- $schema: eZ,
34718
- $id: tZ,
34719
- title: nZ,
34720
- definitions: rZ,
34721
- type: iZ,
34722
- properties: aZ,
34731
+ }, sZ = {
34732
+ $schema: tZ,
34733
+ $id: nZ,
34734
+ title: rZ,
34735
+ definitions: iZ,
34736
+ type: aZ,
34737
+ properties: oZ,
34723
34738
  default: !0
34724
34739
  };
34725
- })), cZ = /* @__PURE__ */ K(((e, t) => {
34740
+ })), lZ = /* @__PURE__ */ K(((e, t) => {
34726
34741
  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;
34727
- var n = pX(), r = XX(), i = QX(), a = (sZ(), ut($X).default), o = ["/properties"], s = "http://json-schema.org/draft-07/schema", c = class extends n.default {
34742
+ var n = mX(), r = ZX(), i = $X(), a = (cZ(), ut(eZ).default), o = ["/properties"], s = "http://json-schema.org/draft-07/schema", c = class extends n.default {
34728
34743
  _addVocabularies() {
34729
34744
  super._addVocabularies(), r.default.forEach((e) => this.addVocabulary(e)), this.opts.discriminator && this.addKeyword(i.default);
34730
34745
  }
@@ -34738,14 +34753,14 @@ var PY = /* @__PURE__ */ K(((e) => {
34738
34753
  }
34739
34754
  };
34740
34755
  e.Ajv = c, t.exports = e = c, t.exports.Ajv = c, Object.defineProperty(e, "__esModule", { value: !0 }), e.default = c;
34741
- var l = ZY();
34756
+ var l = QY();
34742
34757
  Object.defineProperty(e, "KeywordCxt", {
34743
34758
  enumerable: !0,
34744
34759
  get: function() {
34745
34760
  return l.KeywordCxt;
34746
34761
  }
34747
34762
  });
34748
- var u = IY();
34763
+ var u = LY();
34749
34764
  Object.defineProperty(e, "_", {
34750
34765
  enumerable: !0,
34751
34766
  get: function() {
@@ -34777,21 +34792,21 @@ var PY = /* @__PURE__ */ K(((e) => {
34777
34792
  return u.CodeGen;
34778
34793
  }
34779
34794
  });
34780
- var d = QY();
34795
+ var d = $Y();
34781
34796
  Object.defineProperty(e, "ValidationError", {
34782
34797
  enumerable: !0,
34783
34798
  get: function() {
34784
34799
  return d.default;
34785
34800
  }
34786
34801
  });
34787
- var f = $Y();
34802
+ var f = eX();
34788
34803
  Object.defineProperty(e, "MissingRefError", {
34789
34804
  enumerable: !0,
34790
34805
  get: function() {
34791
34806
  return f.default;
34792
34807
  }
34793
34808
  });
34794
- })), lZ = /* @__PURE__ */ K(((e) => {
34809
+ })), uZ = /* @__PURE__ */ K(((e) => {
34795
34810
  Object.defineProperty(e, "__esModule", { value: !0 }), e.formatNames = e.fastFormats = e.fullFormats = void 0;
34796
34811
  function t(e, t) {
34797
34812
  return {
@@ -34943,9 +34958,9 @@ var PY = /* @__PURE__ */ K(((e) => {
34943
34958
  return !1;
34944
34959
  }
34945
34960
  }
34946
- })), uZ = /* @__PURE__ */ K(((e) => {
34961
+ })), dZ = /* @__PURE__ */ K(((e) => {
34947
34962
  Object.defineProperty(e, "__esModule", { value: !0 }), e.formatLimitDefinition = void 0;
34948
- var t = cZ(), n = IY(), r = n.operators, i = {
34963
+ var t = lZ(), n = LY(), r = n.operators, i = {
34949
34964
  formatMaximum: {
34950
34965
  okStr: "<=",
34951
34966
  ok: r.LTE,
@@ -35005,9 +35020,9 @@ var PY = /* @__PURE__ */ K(((e) => {
35005
35020
  },
35006
35021
  dependencies: ["format"]
35007
35022
  }, e.default = (t) => (t.addKeyword(e.formatLimitDefinition), t);
35008
- })), dZ = /* @__PURE__ */ K(((e, t) => {
35023
+ })), fZ = /* @__PURE__ */ K(((e, t) => {
35009
35024
  Object.defineProperty(e, "__esModule", { value: !0 });
35010
- var n = lZ(), r = uZ(), i = IY(), a = new i.Name("fullFormats"), o = new i.Name("fastFormats"), s = (e, t = { keywords: !0 }) => {
35025
+ var n = uZ(), r = dZ(), i = LY(), a = new i.Name("fullFormats"), o = new i.Name("fastFormats"), s = (e, t = { keywords: !0 }) => {
35011
35026
  if (Array.isArray(t)) return c(e, t, n.fullFormats, a), e;
35012
35027
  let [i, s] = t.mode === "fast" ? [n.fastFormats, o] : [n.fullFormats, a];
35013
35028
  return c(e, t.formats || n.formatNames, i, s), t.keywords && (0, r.default)(e), e;
@@ -35023,9 +35038,9 @@ var PY = /* @__PURE__ */ K(((e) => {
35023
35038
  for (let r of t) e.addFormat(r, n[r]);
35024
35039
  }
35025
35040
  t.exports = e = s, Object.defineProperty(e, "__esModule", { value: !0 }), e.default = s;
35026
- })), fZ = /* @__PURE__ */ lt(cZ(), 1), pZ = /* @__PURE__ */ lt(dZ(), 1), mZ = {
35041
+ })), pZ = /* @__PURE__ */ lt(lZ(), 1), mZ = /* @__PURE__ */ lt(fZ(), 1), hZ = {
35027
35042
  required: () => "This field is required",
35028
- type: (e) => `Should be "${gZ(e)}".`,
35043
+ type: (e) => `Should be "${_Z(e)}".`,
35029
35044
  minLength: (e) => e.params.limit === 1 ? "This field must not be empty" : `Should NOT be shorter than ${e.params.limit} characters`,
35030
35045
  maxLength: (e) => `Should NOT be longer than ${e.params.limit} characters`,
35031
35046
  minimum: (e) => `Should be >= ${e.params.limit}`,
@@ -35041,79 +35056,79 @@ var PY = /* @__PURE__ */ K(((e) => {
35041
35056
  format: (e) => `Should be a valid ${e.params.format}`,
35042
35057
  uniqueItemProperties: (e) => `${e.params.propertyName ?? "This field"} must be unique`
35043
35058
  };
35044
- function hZ(e, t) {
35045
- let n = mZ[e.keyword];
35059
+ function gZ(e, t) {
35060
+ let n = hZ[e.keyword];
35046
35061
  return n ? n(e, t) : e.message ?? "Invalid value";
35047
35062
  }
35048
- function gZ(e) {
35063
+ function _Z(e) {
35049
35064
  let t = e.params.type;
35050
35065
  return String(Array.isArray(t) ? t[0] : t);
35051
35066
  }
35052
35067
  //#endregion
35053
35068
  //#region src/composed/JsonSchemaForm/form-bindings/resolveAt.ts
35054
- function _Z(e, t, n) {
35069
+ function vZ(e, t, n) {
35055
35070
  let r = t === "" ? [] : t.split("."), i = e.root, a = n, o = [];
35056
35071
  for (let e of r) {
35057
35072
  if (!i) return {
35058
35073
  node: void 0,
35059
35074
  value: void 0
35060
35075
  };
35061
- i = vZ(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);
35076
+ i = yZ(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);
35062
35077
  }
35063
35078
  return i ? {
35064
- node: yZ(vZ(i, a, n, r), r),
35079
+ node: bZ(yZ(i, a, n, r), r),
35065
35080
  value: a
35066
35081
  } : {
35067
35082
  node: void 0,
35068
35083
  value: a
35069
35084
  };
35070
35085
  }
35071
- function vZ(e, t, n, r) {
35072
- let i = new Map(e.properties), a = e.variants ? xZ(e.variants, t) : void 0;
35086
+ function yZ(e, t, n, r) {
35087
+ let i = new Map(e.properties), a = e.variants ? SZ(e.variants, t) : void 0;
35073
35088
  if (a) for (let [e, t] of a.properties) i.set(e, t);
35074
35089
  let o = [...e.dependencyBranches ?? [], ...a?.dependencyBranches ?? []];
35075
35090
  if (o.length > 0) {
35076
- for (let e of o) if (bZ(e.showIf.$eq, n, r)) for (let [t, n] of e.properties) i.set(t, n);
35091
+ for (let e of o) if (xZ(e.showIf.$eq, n, r)) for (let [t, n] of e.properties) i.set(t, n);
35077
35092
  }
35078
35093
  return i.size > (e.properties?.size ?? 0) ? {
35079
35094
  ...e,
35080
35095
  properties: i
35081
35096
  } : e;
35082
35097
  }
35083
- function yZ(e, t) {
35098
+ function bZ(e, t) {
35084
35099
  return e.displayIf ? {
35085
35100
  ...e,
35086
35101
  displayIf: cJ(e.displayIf, t.join("."))
35087
35102
  } : e;
35088
35103
  }
35089
- function bZ(e, t, n) {
35104
+ function xZ(e, t, n) {
35090
35105
  for (let [r, i] of e) {
35091
35106
  let e = nJ(t, sJ(r, n));
35092
35107
  if (!(Array.isArray(i) ? i : [i]).includes(e)) return !1;
35093
35108
  }
35094
35109
  return !0;
35095
35110
  }
35096
- function xZ(e, t) {
35111
+ function SZ(e, t) {
35097
35112
  if (typeof t != "object" || !t) return;
35098
35113
  let n = t;
35099
35114
  return e.find((e) => e.consts.length > 0 && e.consts.every((e) => Object.is(n[e.key], e.value)));
35100
35115
  }
35101
35116
  //#endregion
35102
35117
  //#region src/composed/JsonSchemaForm/form-bindings/jsonSchemaResolver.ts
35103
- var SZ = new fZ.default({
35118
+ var CZ = new pZ.default({
35104
35119
  strict: !1,
35105
35120
  allErrors: !0
35106
35121
  });
35107
- (0, pZ.default)(SZ);
35108
- for (let e of ["text", "gio-code-editor"]) SZ.addFormat(e, !0);
35109
- SZ.removeKeyword("id"), SZ.addKeyword({
35122
+ (0, mZ.default)(CZ);
35123
+ for (let e of ["text", "gio-code-editor"]) CZ.addFormat(e, !0);
35124
+ CZ.removeKeyword("id"), CZ.addKeyword({
35110
35125
  keyword: "id",
35111
35126
  validate: () => !0
35112
35127
  });
35113
- function CZ(e, t = {}) {
35128
+ function wZ(e, t = {}) {
35114
35129
  let n;
35115
35130
  try {
35116
- n = xY(e);
35131
+ n = SY(e);
35117
35132
  } catch (e) {
35118
35133
  let t = e instanceof Error ? e.message : "Invalid JSON Schema";
35119
35134
  return () => ({
@@ -35126,7 +35141,7 @@ function CZ(e, t = {}) {
35126
35141
  }
35127
35142
  let r = n.root.schema, i = n.variantIndices, a;
35128
35143
  try {
35129
- a = SZ.compile(r);
35144
+ a = CZ.compile(r);
35130
35145
  } catch (e) {
35131
35146
  let t = e instanceof Error ? e.message : "Invalid JSON Schema";
35132
35147
  return () => ({
@@ -35137,15 +35152,15 @@ function CZ(e, t = {}) {
35137
35152
  } }
35138
35153
  });
35139
35154
  }
35140
- SZ.removeSchema(r);
35155
+ CZ.removeSchema(r);
35141
35156
  let o = async (e, t, r) => {
35142
- let o = a(e) ? [] : a.errors ?? [], s = AZ(n.root, e, "", i), c = [...o, ...s];
35157
+ let o = a(e) ? [] : a.errors ?? [], s = jZ(n.root, e, "", i), c = [...o, ...s];
35143
35158
  return c.length === 0 ? {
35144
35159
  values: e,
35145
35160
  errors: {}
35146
35161
  } : {
35147
35162
  values: {},
35148
- errors: DZ(EZ(c.filter((t) => !wZ(t, n, e))), r.criteriaMode ?? "firstError")
35163
+ errors: OZ(DZ(c.filter((t) => !TZ(t, n, e))), r.criteriaMode ?? "firstError")
35149
35164
  };
35150
35165
  };
35151
35166
  if (!t.basePath) return o;
@@ -35161,12 +35176,12 @@ function CZ(e, t = {}) {
35161
35176
  };
35162
35177
  };
35163
35178
  }
35164
- function wZ(e, t, n) {
35165
- let { node: r, value: i } = _Z(t, (e.instancePath ? e.instancePath.slice(1).split("/").map(gJ) : []).join("."), n);
35179
+ function TZ(e, t, n) {
35180
+ let { node: r, value: i } = vZ(t, (e.instancePath ? e.instancePath.slice(1).split("/").map(gJ) : []).join("."), n);
35166
35181
  if (!r) return !1;
35167
35182
  switch (e.keyword) {
35168
35183
  case "const":
35169
- case "enum": return TZ(r.schema, i);
35184
+ case "enum": return EZ(r.schema, i);
35170
35185
  case "required": {
35171
35186
  let t = e.params.missingProperty;
35172
35187
  return typeof t == "string" && !!r.properties && !r.properties.has(t);
@@ -35174,46 +35189,46 @@ function wZ(e, t, n) {
35174
35189
  default: return !1;
35175
35190
  }
35176
35191
  }
35177
- function TZ(e, t) {
35192
+ function EZ(e, t) {
35178
35193
  return e.const === void 0 ? Array.isArray(e.enum) ? e.enum.includes(t) : !1 : Object.is(e.const, t);
35179
35194
  }
35180
- function EZ(e) {
35195
+ function DZ(e) {
35181
35196
  return e.filter((t) => {
35182
35197
  if (t.keyword !== "oneOf" && t.keyword !== "anyOf") return !0;
35183
- let n = OZ(t), r = n === "" ? "" : `${n}.`;
35198
+ let n = kZ(t), r = n === "" ? "" : `${n}.`;
35184
35199
  return !e.some((e) => {
35185
35200
  if (e === t) return !1;
35186
- let i = OZ(e);
35201
+ let i = kZ(e);
35187
35202
  return n === "" ? i !== "" : i.startsWith(r);
35188
35203
  });
35189
35204
  });
35190
35205
  }
35191
- function DZ(e, t) {
35206
+ function OZ(e, t) {
35192
35207
  let n = /* @__PURE__ */ new Map();
35193
35208
  for (let t of e) {
35194
- let e = OZ(t), r = n.get(e) ?? [];
35209
+ let e = kZ(t), r = n.get(e) ?? [];
35195
35210
  r.push(t), n.set(e, r);
35196
35211
  }
35197
35212
  let r = {};
35198
35213
  for (let [e, i] of n) {
35199
35214
  let n = {
35200
35215
  type: i[0].keyword,
35201
- message: hZ(i[0], e)
35216
+ message: gZ(i[0], e)
35202
35217
  };
35203
35218
  if (t === "all" && i.length > 0) {
35204
35219
  let t = {};
35205
- for (let n of i) t[n.keyword] = hZ(n, e);
35220
+ for (let n of i) t[n.keyword] = gZ(n, e);
35206
35221
  n.types = t;
35207
35222
  }
35208
- kZ(r, e === "" ? "root" : e, n);
35223
+ AZ(r, e === "" ? "root" : e, n);
35209
35224
  }
35210
35225
  return r;
35211
35226
  }
35212
- function OZ(e) {
35227
+ function kZ(e) {
35213
35228
  let t = e.instancePath ? e.instancePath.slice(1).split("/").map(gJ) : [];
35214
35229
  return e.keyword === "required" && typeof e.params.missingProperty == "string" && t.push(e.params.missingProperty), t.join(".");
35215
35230
  }
35216
- function kZ(e, t, n) {
35231
+ function AZ(e, t, n) {
35217
35232
  let r = t.split("."), i = e;
35218
35233
  for (let e = 0; e < r.length - 1; e++) {
35219
35234
  let t = r[e];
@@ -35221,7 +35236,7 @@ function kZ(e, t, n) {
35221
35236
  }
35222
35237
  i[r[r.length - 1]] = n;
35223
35238
  }
35224
- function AZ(e, t, n, r) {
35239
+ function jZ(e, t, n, r) {
35225
35240
  if (!e) return [];
35226
35241
  let i = [];
35227
35242
  if (e.schema.gioConfig?.uniqueItemProperties && Array.isArray(t)) for (let r of e.schema.gioConfig.uniqueItemProperties) {
@@ -35238,18 +35253,18 @@ function AZ(e, t, n, r) {
35238
35253
  }
35239
35254
  }
35240
35255
  let a = typeof t == "object" && !!t && !Array.isArray(t);
35241
- if (e.properties && a) for (let [a, o] of e.properties) i.push(...AZ(o, t[a], `${n}/${hJ(a)}`, r));
35256
+ if (e.properties && a) for (let [a, o] of e.properties) i.push(...jZ(o, t[a], `${n}/${hJ(a)}`, r));
35242
35257
  if (e.variants && e.variants.length > 0 && a) {
35243
- let a = t, o = ZJ(e.variants.map((e) => e.raw), e.rhfPath, r, (e) => a[e]), s = e.variants[o];
35244
- if (s) for (let [e, t] of s.properties) i.push(...AZ(t, a[e], `${n}/${hJ(e)}`, r));
35258
+ let a = t, o = QJ(e.variants.map((e) => e.raw), e.rhfPath, r, (e) => a[e]), s = e.variants[o];
35259
+ if (s) for (let [e, t] of s.properties) i.push(...jZ(t, a[e], `${n}/${hJ(e)}`, r));
35245
35260
  }
35246
35261
  return e.items && Array.isArray(t) && t.forEach((t, a) => {
35247
- i.push(...AZ(e.items, t, `${n}/${a}`, r));
35262
+ i.push(...jZ(e.items, t, `${n}/${a}`, r));
35248
35263
  }), i;
35249
35264
  }
35250
35265
  //#endregion
35251
35266
  //#region src/composed/LayoutSlots/LayoutSlotsContext.tsx
35252
- var jZ = {
35267
+ var MZ = {
35253
35268
  navigation: null,
35254
35269
  contextSidebar: null,
35255
35270
  breadcrumbs: [],
@@ -35260,9 +35275,9 @@ var jZ = {
35260
35275
  banner: null,
35261
35276
  bannerSticky: !1,
35262
35277
  footer: null
35263
- }, MZ = Ae(null);
35264
- function NZ({ children: e }) {
35265
- let [t, n] = U(jZ), r = Pe((e, t) => {
35278
+ }, NZ = Ae(null);
35279
+ function PZ({ children: e }) {
35280
+ let [t, n] = U(MZ), r = Pe((e, t) => {
35266
35281
  n((n) => ({
35267
35282
  ...n,
35268
35283
  [e]: t
@@ -35274,7 +35289,7 @@ function NZ({ children: e }) {
35274
35289
  }));
35275
35290
  }, []), a = Pe((e) => {
35276
35291
  n((t) => {
35277
- let n = Object.fromEntries(e.map((e) => [e, jZ[e]]));
35292
+ let n = Object.fromEntries(e.map((e) => [e, MZ[e]]));
35278
35293
  return {
35279
35294
  ...t,
35280
35295
  ...n
@@ -35291,20 +35306,20 @@ function NZ({ children: e }) {
35291
35306
  i,
35292
35307
  a
35293
35308
  ]);
35294
- return /* @__PURE__ */ W(MZ.Provider, {
35309
+ return /* @__PURE__ */ W(NZ.Provider, {
35295
35310
  value: o,
35296
35311
  children: e
35297
35312
  });
35298
35313
  }
35299
- function PZ() {
35300
- let e = Fe(MZ);
35314
+ function FZ() {
35315
+ let e = Fe(NZ);
35301
35316
  if (!e) throw Error("useLayoutSlots must be used within a LayoutSlotsProvider.");
35302
35317
  return e;
35303
35318
  }
35304
35319
  //#endregion
35305
35320
  //#region src/composed/LayoutSlots/use-layout-config.ts
35306
- function FZ(e, t = []) {
35307
- let { setSlots: n, resetSlots: r } = PZ();
35321
+ function IZ(e, t = []) {
35322
+ let { setSlots: n, resetSlots: r } = FZ();
35308
35323
  Be(() => {
35309
35324
  n(e);
35310
35325
  let t = Object.keys(e);
@@ -35319,16 +35334,16 @@ function FZ(e, t = []) {
35319
35334
  }
35320
35335
  //#endregion
35321
35336
  //#region src/composed/PageFocused/PageFocused.tsx
35322
- function IZ({ children: e, className: n }) {
35337
+ function LZ({ children: e, className: n }) {
35323
35338
  return /* @__PURE__ */ W("div", {
35324
35339
  className: t("mx-auto w-full max-w-focused", n),
35325
35340
  children: e
35326
35341
  });
35327
35342
  }
35328
- IZ.displayName = "PageFocused";
35343
+ LZ.displayName = "PageFocused";
35329
35344
  //#endregion
35330
35345
  //#region src/composed/PageHeader/PageHeader.tsx
35331
- function LZ({ title: e, description: n, actions: r, children: i, className: a }) {
35346
+ function RZ({ title: e, description: n, actions: r, children: i, className: a }) {
35332
35347
  return /* @__PURE__ */ G("header", {
35333
35348
  "data-slot": "page-header",
35334
35349
  className: t("flex flex-col gap-3", a),
@@ -35357,10 +35372,10 @@ function LZ({ title: e, description: n, actions: r, children: i, className: a })
35357
35372
  }) : null]
35358
35373
  });
35359
35374
  }
35360
- LZ.displayName = "PageHeader";
35375
+ RZ.displayName = "PageHeader";
35361
35376
  //#endregion
35362
35377
  //#region src/composed/SearchField/SearchField.tsx
35363
- function RZ({ ref: e, value: t = "", onValueChange: n, debounceMs: r = 300, className: i, disabled: a, onKeyDown: o, ...s }) {
35378
+ function zZ({ ref: e, value: t = "", onValueChange: n, debounceMs: r = 300, className: i, disabled: a, onKeyDown: o, ...s }) {
35364
35379
  let [c, l] = U(t), u = Ue(null), d = Ue(t), f = Ue(void 0), p = Ue(n);
35365
35380
  ze(e, () => u.current, []), Le(() => {
35366
35381
  p.current = n;
@@ -35418,10 +35433,10 @@ function RZ({ ref: e, value: t = "", onValueChange: n, debounceMs: r = 300, clas
35418
35433
  ]
35419
35434
  });
35420
35435
  }
35421
- RZ.displayName = "SearchField";
35436
+ zZ.displayName = "SearchField";
35422
35437
  //#endregion
35423
35438
  //#region src/composed/TopNavUser/TopNavUser.tsx
35424
- var zZ = [
35439
+ var BZ = [
35425
35440
  {
35426
35441
  value: "light",
35427
35442
  label: "Light"
@@ -35435,7 +35450,7 @@ var zZ = [
35435
35450
  label: "System"
35436
35451
  }
35437
35452
  ];
35438
- function BZ({ name: e, email: n, avatarUrl: r, initials: i, className: a, onSignOut: o }) {
35453
+ function VZ({ name: e, email: n, avatarUrl: r, initials: i, className: a, onSignOut: o }) {
35439
35454
  let s = i ?? e.slice(0, 2).toUpperCase(), { mode: c, setMode: l } = Ee();
35440
35455
  return /* @__PURE__ */ G(iL, { children: [/* @__PURE__ */ W(oL, {
35441
35456
  asChild: !0,
@@ -35464,7 +35479,7 @@ function BZ({ name: e, email: n, avatarUrl: r, initials: i, className: a, onSign
35464
35479
  /* @__PURE__ */ W(dL, {
35465
35480
  value: c,
35466
35481
  onValueChange: (e) => l(e),
35467
- children: zZ.map((e) => /* @__PURE__ */ W(fL, {
35482
+ children: BZ.map((e) => /* @__PURE__ */ W(fL, {
35468
35483
  value: e.value,
35469
35484
  children: e.label
35470
35485
  }, e.value))
@@ -35477,6 +35492,6 @@ function BZ({ name: e, email: n, avatarUrl: r, initials: i, className: a, onSign
35477
35492
  ]
35478
35493
  })] });
35479
35494
  }
35480
- BZ.displayName = "TopNavUser";
35495
+ VZ.displayName = "TopNavUser";
35481
35496
  //#endregion
35482
- export { Mv as Accordion, Fv as AccordionContent, Nv as AccordionItem, Pv as AccordionTrigger, d as Alert, i as AlertAction, P as AlertDescription, f as AlertTitle, gW as AppContextBar, EW as AppLayout, kW as AppSidebar, pW as AppSwitcher, Iv as Avatar, zv as AvatarBadge, Rv as AvatarFallback, Bv as AvatarGroup, Vv as AvatarGroupCount, Lv as AvatarImage, Uv as Badge, DK as BadgeCell, Wv as Breadcrumb, Xv as BreadcrumbEllipsis, Kv as BreadcrumbItem, qv as BreadcrumbLink, Gv as BreadcrumbList, Jv as BreadcrumbPage, Yv as BreadcrumbSeparator, Qv as Button, ey as ButtonGroup, ny as ButtonGroupSeparator, ty as ButtonGroupText, hC as Calendar, gC as CalendarDayButton, _C as Card, xC as CardAction, SC as CardContent, bC as CardDescription, CC as CardFooter, vC as CardHeader, yC as CardTitle, wC as Checkbox, TC as Collapsible, DC as CollapsibleContent, EC as CollapsibleTrigger, GA as Combobox, aj as ComboboxChip, ij as ComboboxChips, oj as ComboboxChipsInput, tj as ComboboxCollection, XA as ComboboxContent, nj as ComboboxEmpty, $A as ComboboxGroup, YA as ComboboxInput, QA as ComboboxItem, ej as ComboboxLabel, ZA as ComboboxList, rj as ComboboxSeparator, qA as ComboboxTrigger, KA as ComboboxValue, yF as Command, bF as CommandDialog, CF as CommandEmpty, wF as CommandGroup, xF as CommandInput, EF as CommandItem, SF as CommandList, TF as CommandSeparator, DF as CommandShortcut, LW as ContentHeader, OF as ContextMenu, RF as ContextMenuCheckboxItem, PF as ContextMenuContent, AF as ContextMenuGroup, FF as ContextMenuItem, BF as ContextMenuLabel, jF as ContextMenuPortal, NF as ContextMenuRadioGroup, zF as ContextMenuRadioItem, VF as ContextMenuSeparator, HF as ContextMenuShortcut, MF as ContextMenuSub, LF as ContextMenuSubContent, IF as ContextMenuSubTrigger, kF as ContextMenuTrigger, jW as ContextSidebar, MW as ContextToggleButton, kK as CopyableCell, RW as CopyableText, jZ as DEFAULT_SLOTS, vK as DataTable, yK as DataTableColumnHeader, jK as DataTableEmptyState, dK as DataTablePagination, fK as DataTableViewOptions, EK as DateCell, Bq as DatePicker, Vq as DateRangePicker, Wq as DateTimePicker, qq as DateTimeRangePicker, lF as Dialog, fF as DialogClose, mF as DialogContent, vF as DialogDescription, gF as DialogFooter, hF as DialogHeader, pF as DialogOverlay, dF as DialogPortal, _F as DialogTitle, uF as DialogTrigger, JI as Drawer, ZI as DrawerClose, $I as DrawerContent, rL as DrawerDescription, tL as DrawerFooter, eL as DrawerHeader, QI as DrawerOverlay, XI as DrawerPortal, nL as DrawerTitle, YI as DrawerTrigger, iL as DropdownMenu, uL as DropdownMenuCheckboxItem, sL as DropdownMenuContent, cL as DropdownMenuGroup, lL as DropdownMenuItem, pL as DropdownMenuLabel, aL as DropdownMenuPortal, dL as DropdownMenuRadioGroup, fL as DropdownMenuRadioItem, mL as DropdownMenuSeparator, hL as DropdownMenuShortcut, gL as DropdownMenuSub, vL as DropdownMenuSubContent, _L as DropdownMenuSubTrigger, oL as DropdownMenuTrigger, Yq as ElCheatSheetTrigger, yL as Empty, TL as EmptyContent, wL as EmptyDescription, bL as EmptyHeader, SL as EmptyMedia, CL as EmptyTitle, Xq as FacetedFilter, M as Field, _ as FieldContent, v as FieldDescription, O as FieldError, T as FieldGroup, b as FieldLabel, y as FieldLegend, p as FieldSeparator, N as FieldSet, I as FieldTitle, tJ as FileUpload, yz as FileUploadInput, eJ as FileUploadItem, bz as HoverCard, Sz as HoverCardContent, Tz as HoverCardDescription, Cz as HoverCardHeader, wz as HoverCardTitle, xz as HoverCardTrigger, IA as Input, LA as InputGroup, zA as InputGroupAddon, VA as InputGroupButton, UA as InputGroupInput, HA as InputGroupText, WA as InputGroupTextarea, kz as Item, Fz as ItemActions, Mz as ItemContent, Pz as ItemDescription, Lz as ItemFooter, Ez as ItemGroup, Iz as ItemHeader, jz as ItemMedia, Dz as ItemSeparator, Nz as ItemTitle, MY as JsonSchemaForm, Rz as Kbd, zz as KbdGroup, h as Label, NZ as LayoutSlotsProvider, Hz as Logo, OK as MonoCell, IZ as PageFocused, LZ as PageHeader, Uz as Pagination, Wz as PaginationContent, Yz as PaginationEllipsis, Gz as PaginationItem, Kz as PaginationLink, Jz as PaginationNext, qz as PaginationPrevious, oY as PasswordInput, Xz as Popover, $z as PopoverAnchor, Qz as PopoverContent, nB as PopoverDescription, eB as PopoverHeader, tB as PopoverTitle, Zz as PopoverTrigger, ft as PortalContainerProvider, rB as Progress, aB as Prose, oB as RadioGroup, sB as RadioGroupItem, rH as ResizableHandle, nH as ResizablePanel, tH as ResizablePanelGroup, iH as ScrollArea, aH as ScrollBar, RZ as SearchField, oH as Select, uH as SelectContent, sH as SelectGroup, fH as SelectItem, dH as SelectLabel, hH as SelectScrollDownButton, mH as SelectScrollUpButton, pH as SelectSeparator, lH as SelectTrigger, cH as SelectValue, mW as SelectorDropdown, hW as SelectorTriggerButton, F as Separator, gH as Sheet, vH as SheetClose, xH as SheetContent, TH as SheetDescription, CH as SheetFooter, SH as SheetHeader, wH as SheetTitle, _H as SheetTrigger, WH as Sidebar, QH as SidebarContent, XH as SidebarFooter, $H as SidebarGroup, tU as SidebarGroupAction, nU as SidebarGroupContent, eU as SidebarGroupLabel, YH as SidebarHeader, JH as SidebarInput, qH as SidebarInset, rU as SidebarMenu, sU as SidebarMenuAction, cU as SidebarMenuBadge, oU as SidebarMenuButton, iU as SidebarMenuItem, lU as SidebarMenuSkeleton, uU as SidebarMenuSub, fU as SidebarMenuSubButton, dU as SidebarMenuSubItem, wW as SidebarModeControl, SW as SidebarModeProvider, AW as SidebarNavigation, UH as SidebarProvider, KH as SidebarRail, ZH as SidebarSeparator, GH as SidebarTrigger, PW as SidebarUpgradeFooter, n as Skeleton, WU as Spinner, GU as Switch, KU as Table, JU as TableBody, $U as TableCaption, QU as TableCell, YU as TableFooter, ZU as TableHead, qU as TableHeader, XU as TableRow, eW as Tabs, iW as TabsContent, nW as TabsList, rW as TabsTrigger, e as Textarea, De as ThemeProvider, UU as Toaster, oW as Toggle, cW as ToggleGroup, lW as ToggleGroupItem, DH as Tooltip, kH as TooltipContent, EH as TooltipProvider, OH as TooltipTrigger, BZ as TopNavUser, AK as TruncatedCell, o as alertVariants, Hv as badgeVariants, zW as buildLinearBreadcrumbs, $v as buttonGroupVariants, Zv as buttonVariants, t as cn, NY as composeResolvers, OJ as extractDefaults, CZ as jsonSchemaResolver, Vz as logoVariants, tW as tabsListVariants, DU as toast, aW as toggleVariants, sj as useComboboxAnchor, mt as useDebouncedValue, FZ as useLayoutConfig, PZ as useLayoutSlots, pt as usePortalContainer, HH as useSidebar, yW as useSidebarMode, Ee as useTheme };
35497
+ export { Mv as Accordion, Fv as AccordionContent, Nv as AccordionItem, Pv as AccordionTrigger, d as Alert, i as AlertAction, P as AlertDescription, f as AlertTitle, gW as AppContextBar, EW as AppLayout, kW as AppSidebar, pW as AppSwitcher, Iv as Avatar, zv as AvatarBadge, Rv as AvatarFallback, Bv as AvatarGroup, Vv as AvatarGroupCount, Lv as AvatarImage, Uv as Badge, DK as BadgeCell, Wv as Breadcrumb, Xv as BreadcrumbEllipsis, Kv as BreadcrumbItem, qv as BreadcrumbLink, Gv as BreadcrumbList, Jv as BreadcrumbPage, Yv as BreadcrumbSeparator, Qv as Button, ey as ButtonGroup, ny as ButtonGroupSeparator, ty as ButtonGroupText, hC as Calendar, gC as CalendarDayButton, _C as Card, xC as CardAction, SC as CardContent, bC as CardDescription, CC as CardFooter, vC as CardHeader, yC as CardTitle, wC as Checkbox, TC as Collapsible, DC as CollapsibleContent, EC as CollapsibleTrigger, GA as Combobox, aj as ComboboxChip, ij as ComboboxChips, oj as ComboboxChipsInput, tj as ComboboxCollection, XA as ComboboxContent, nj as ComboboxEmpty, $A as ComboboxGroup, YA as ComboboxInput, QA as ComboboxItem, ej as ComboboxLabel, ZA as ComboboxList, rj as ComboboxSeparator, qA as ComboboxTrigger, KA as ComboboxValue, yF as Command, bF as CommandDialog, CF as CommandEmpty, wF as CommandGroup, xF as CommandInput, EF as CommandItem, SF as CommandList, TF as CommandSeparator, DF as CommandShortcut, LW as ContentHeader, OF as ContextMenu, RF as ContextMenuCheckboxItem, PF as ContextMenuContent, AF as ContextMenuGroup, FF as ContextMenuItem, BF as ContextMenuLabel, jF as ContextMenuPortal, NF as ContextMenuRadioGroup, zF as ContextMenuRadioItem, VF as ContextMenuSeparator, HF as ContextMenuShortcut, MF as ContextMenuSub, LF as ContextMenuSubContent, IF as ContextMenuSubTrigger, kF as ContextMenuTrigger, jW as ContextSidebar, MW as ContextToggleButton, kK as CopyableCell, RW as CopyableText, MZ as DEFAULT_SLOTS, vK as DataTable, yK as DataTableColumnHeader, jK as DataTableEmptyState, dK as DataTablePagination, fK as DataTableViewOptions, EK as DateCell, Bq as DatePicker, Vq as DateRangePicker, Wq as DateTimePicker, qq as DateTimeRangePicker, lF as Dialog, fF as DialogClose, mF as DialogContent, vF as DialogDescription, gF as DialogFooter, hF as DialogHeader, pF as DialogOverlay, dF as DialogPortal, _F as DialogTitle, uF as DialogTrigger, JI as Drawer, ZI as DrawerClose, $I as DrawerContent, rL as DrawerDescription, tL as DrawerFooter, eL as DrawerHeader, QI as DrawerOverlay, XI as DrawerPortal, nL as DrawerTitle, YI as DrawerTrigger, iL as DropdownMenu, uL as DropdownMenuCheckboxItem, sL as DropdownMenuContent, cL as DropdownMenuGroup, lL as DropdownMenuItem, pL as DropdownMenuLabel, aL as DropdownMenuPortal, dL as DropdownMenuRadioGroup, fL as DropdownMenuRadioItem, mL as DropdownMenuSeparator, hL as DropdownMenuShortcut, gL as DropdownMenuSub, vL as DropdownMenuSubContent, _L as DropdownMenuSubTrigger, oL as DropdownMenuTrigger, Yq as ElCheatSheetTrigger, yL as Empty, TL as EmptyContent, wL as EmptyDescription, bL as EmptyHeader, SL as EmptyMedia, CL as EmptyTitle, Xq as FacetedFilter, M as Field, _ as FieldContent, v as FieldDescription, O as FieldError, T as FieldGroup, b as FieldLabel, y as FieldLegend, p as FieldSeparator, N as FieldSet, I as FieldTitle, tJ as FileUpload, yz as FileUploadInput, eJ as FileUploadItem, bz as HoverCard, Sz as HoverCardContent, Tz as HoverCardDescription, Cz as HoverCardHeader, wz as HoverCardTitle, xz as HoverCardTrigger, IA as Input, LA as InputGroup, zA as InputGroupAddon, VA as InputGroupButton, UA as InputGroupInput, HA as InputGroupText, WA as InputGroupTextarea, kz as Item, Fz as ItemActions, Mz as ItemContent, Pz as ItemDescription, Lz as ItemFooter, Ez as ItemGroup, Iz as ItemHeader, jz as ItemMedia, Dz as ItemSeparator, Nz as ItemTitle, NY as JsonSchemaForm, Rz as Kbd, zz as KbdGroup, h as Label, PZ as LayoutSlotsProvider, Hz as Logo, OK as MonoCell, LZ as PageFocused, RZ as PageHeader, Uz as Pagination, Wz as PaginationContent, Yz as PaginationEllipsis, Gz as PaginationItem, Kz as PaginationLink, Jz as PaginationNext, qz as PaginationPrevious, sY as PasswordInput, Xz as Popover, $z as PopoverAnchor, Qz as PopoverContent, nB as PopoverDescription, eB as PopoverHeader, tB as PopoverTitle, Zz as PopoverTrigger, ft as PortalContainerProvider, rB as Progress, aB as Prose, oB as RadioGroup, sB as RadioGroupItem, rH as ResizableHandle, nH as ResizablePanel, tH as ResizablePanelGroup, iH as ScrollArea, aH as ScrollBar, zZ as SearchField, oH as Select, uH as SelectContent, sH as SelectGroup, fH as SelectItem, dH as SelectLabel, hH as SelectScrollDownButton, mH as SelectScrollUpButton, pH as SelectSeparator, lH as SelectTrigger, cH as SelectValue, mW as SelectorDropdown, hW as SelectorTriggerButton, F as Separator, gH as Sheet, vH as SheetClose, xH as SheetContent, TH as SheetDescription, CH as SheetFooter, SH as SheetHeader, wH as SheetTitle, _H as SheetTrigger, WH as Sidebar, QH as SidebarContent, XH as SidebarFooter, $H as SidebarGroup, tU as SidebarGroupAction, nU as SidebarGroupContent, eU as SidebarGroupLabel, YH as SidebarHeader, JH as SidebarInput, qH as SidebarInset, rU as SidebarMenu, sU as SidebarMenuAction, cU as SidebarMenuBadge, oU as SidebarMenuButton, iU as SidebarMenuItem, lU as SidebarMenuSkeleton, uU as SidebarMenuSub, fU as SidebarMenuSubButton, dU as SidebarMenuSubItem, wW as SidebarModeControl, SW as SidebarModeProvider, AW as SidebarNavigation, UH as SidebarProvider, KH as SidebarRail, ZH as SidebarSeparator, GH as SidebarTrigger, PW as SidebarUpgradeFooter, n as Skeleton, WU as Spinner, GU as Switch, KU as Table, JU as TableBody, $U as TableCaption, QU as TableCell, YU as TableFooter, ZU as TableHead, qU as TableHeader, XU as TableRow, eW as Tabs, iW as TabsContent, nW as TabsList, rW as TabsTrigger, e as Textarea, De as ThemeProvider, UU as Toaster, oW as Toggle, cW as ToggleGroup, lW as ToggleGroupItem, DH as Tooltip, kH as TooltipContent, EH as TooltipProvider, OH as TooltipTrigger, VZ as TopNavUser, AK as TruncatedCell, o as alertVariants, Hv as badgeVariants, zW as buildLinearBreadcrumbs, $v as buttonGroupVariants, Zv as buttonVariants, t as cn, PY as composeResolvers, OJ as extractDefaults, wZ as jsonSchemaResolver, Vz as logoVariants, tW as tabsListVariants, DU as toast, aW as toggleVariants, sj as useComboboxAnchor, mt as useDebouncedValue, IZ as useLayoutConfig, FZ as useLayoutSlots, pt as usePortalContainer, HH as useSidebar, yW as useSidebarMode, Ee as useTheme };