@gravitee/graphene-core 3.44.0 → 3.44.1

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
@@ -29760,7 +29760,7 @@ function _Y({ index: e, path: n, itemsNode: r, itemTitle: i, depth: a, inline: o
29760
29760
  basePath: f,
29761
29761
  disabled: c
29762
29762
  },
29763
- children: /* @__PURE__ */ W(eX, {
29763
+ children: /* @__PURE__ */ W(tX, {
29764
29764
  node: r,
29765
29765
  name: "",
29766
29766
  depth: a + 1,
@@ -30005,19 +30005,40 @@ function TY({ node: e, name: t, hiddenTitle: n }) {
30005
30005
  });
30006
30006
  }
30007
30007
  //#endregion
30008
+ //#region src/composed/JsonSchemaForm/fields/const/ConstField.tsx
30009
+ function EY({ node: e, name: t }) {
30010
+ let { control: n, basePath: r, testIdPrefix: a } = b(), { schema: o } = e, s = t ? r ? `${r}.${t}` : t : r, { field: c, fieldState: l } = I({
30011
+ control: n,
30012
+ name: s
30013
+ }), { value: u, onChange: d } = c, f = o.const;
30014
+ return He(() => {
30015
+ u === void 0 && d(structuredClone(f));
30016
+ }, [
30017
+ u,
30018
+ d,
30019
+ f
30020
+ ]), l.error ? /* @__PURE__ */ G(k, {
30021
+ "data-invalid": !0,
30022
+ children: [/* @__PURE__ */ W(i, { children: T(o, t) }), /* @__PURE__ */ W(_, {
30023
+ errors: j(l.error),
30024
+ "data-testid": A(a, s, "error")
30025
+ })]
30026
+ }) : null;
30027
+ }
30028
+ //#endregion
30008
30029
  //#region src/composed/JsonSchemaForm/fields/enum/enumOptions.ts
30009
- function EY(e, t) {
30030
+ function DY(e, t) {
30010
30031
  let n = t?.[String(e)];
30011
30032
  return n === void 0 ? e === null ? "—" : String(e) : n;
30012
30033
  }
30013
- function DY(e, t) {
30034
+ function OY(e, t) {
30014
30035
  return e.map((e, n) => ({
30015
30036
  raw: e,
30016
30037
  key: String(n),
30017
- label: EY(e, t)
30038
+ label: DY(e, t)
30018
30039
  }));
30019
30040
  }
30020
- function OY(e) {
30041
+ function kY(e) {
30021
30042
  return e.map((e, t) => ({
30022
30043
  raw: e.const,
30023
30044
  key: String(t),
@@ -30026,12 +30047,12 @@ function OY(e) {
30026
30047
  }
30027
30048
  //#endregion
30028
30049
  //#region src/composed/JsonSchemaForm/fields/enum/EnumField.tsx
30029
- function kY({ node: e, name: t, hiddenTitle: n }) {
30050
+ function AY({ node: e, name: t, hiddenTitle: n }) {
30030
30051
  let { control: r, basePath: i, disabled: a, testIdPrefix: o } = b(), { schema: s } = e, c = t ? i ? `${i}.${t}` : t : i, { field: l, fieldState: u } = I({
30031
30052
  control: r,
30032
30053
  name: c,
30033
30054
  defaultValue: s.default
30034
- }), { ref: d, onBlur: f } = l, p = n ?? T(s, t), m = a || s.readOnly === !0, h = AY(s), g = h.find((e) => Object.is(e.raw, l.value))?.key ?? "", v = (e) => h.find((t) => t.key === e)?.raw;
30055
+ }), { ref: d, onBlur: f } = l, p = n ?? T(s, t), m = a || s.readOnly === !0, h = jY(s), g = h.find((e) => Object.is(e.raw, l.value))?.key ?? "", v = (e) => h.find((t) => t.key === e)?.raw;
30035
30056
  return /* @__PURE__ */ G(k, {
30036
30057
  "data-invalid": u.invalid,
30037
30058
  children: [
@@ -30068,18 +30089,18 @@ function kY({ node: e, name: t, hiddenTitle: n }) {
30068
30089
  ]
30069
30090
  });
30070
30091
  }
30071
- function AY(e) {
30072
- return YJ(e) ? OY(e.oneOf ?? []) : DY(e.enum ?? [], e.gioConfig?.enumLabelMap);
30092
+ function jY(e) {
30093
+ return YJ(e) ? kY(e.oneOf ?? []) : OY(e.enum ?? [], e.gioConfig?.enumLabelMap);
30073
30094
  }
30074
30095
  //#endregion
30075
30096
  //#region src/composed/JsonSchemaForm/fields/enum/MultiSelectField.tsx
30076
- function jY({ node: e, name: t }) {
30097
+ function MY({ node: e, name: t }) {
30077
30098
  let { control: n, basePath: r, disabled: i, testIdPrefix: a } = b(), { schema: o } = e, s = t ? r ? `${r}.${t}` : t : r, { field: c, fieldState: l } = I({
30078
30099
  control: n,
30079
30100
  name: s,
30080
30101
  defaultValue: Array.isArray(o.default) ? o.default : []
30081
- }), { ref: u, onBlur: d, onChange: f, value: p } = c, m = Cj(), h = T(o, t), g = i || o.readOnly === !0, v = o.items, y = DY(v.enum ?? [], v.gioConfig?.enumLabelMap), x = y.map((e) => e.label), S = (e) => y.find((t) => t.label === e)?.raw, w = (e) => String(S(e)), E = (e) => y.find((t) => Object.is(t.raw, e))?.label, D = (Array.isArray(c.value) ? c.value : []).map((e) => E(e)).filter((e) => e !== void 0);
30082
- return MY({
30102
+ }), { ref: u, onBlur: d, onChange: f, value: p } = c, m = Cj(), h = T(o, t), g = i || o.readOnly === !0, v = o.items, y = OY(v.enum ?? [], v.gioConfig?.enumLabelMap), x = y.map((e) => e.label), S = (e) => y.find((t) => t.label === e)?.raw, w = (e) => String(S(e)), E = (e) => y.find((t) => Object.is(t.raw, e))?.label, D = (Array.isArray(c.value) ? c.value : []).map((e) => E(e)).filter((e) => e !== void 0);
30103
+ return NY({
30083
30104
  schema: o,
30084
30105
  options: y,
30085
30106
  value: p,
@@ -30135,19 +30156,19 @@ function jY({ node: e, name: t }) {
30135
30156
  ]
30136
30157
  });
30137
30158
  }
30138
- function MY({ schema: e, options: t, value: n, onReset: r }) {
30159
+ function NY({ schema: e, options: t, value: n, onReset: r }) {
30139
30160
  He(() => {
30140
30161
  (Array.isArray(n) ? n : []).every((e) => t.some((t) => Object.is(t.raw, e))) || r(Array.isArray(e.default) ? e.default : []);
30141
30162
  }, [e]);
30142
30163
  }
30143
30164
  //#endregion
30144
30165
  //#region src/composed/JsonSchemaForm/fields/null/NullField.tsx
30145
- function NY() {
30166
+ function PY() {
30146
30167
  return null;
30147
30168
  }
30148
30169
  //#endregion
30149
30170
  //#region src/composed/JsonSchemaForm/fields/number/NumberField.tsx
30150
- function PY({ node: e, name: t, hiddenTitle: n }) {
30171
+ function FY({ node: e, name: t, hiddenTitle: n }) {
30151
30172
  let { control: r, basePath: i, disabled: a, testIdPrefix: o } = b(), { schema: s } = e, c = t ? i ? `${i}.${t}` : t : i, { field: l, fieldState: u } = I({
30152
30173
  control: r,
30153
30174
  name: c
@@ -30195,7 +30216,7 @@ function PY({ node: e, name: t, hiddenTitle: n }) {
30195
30216
  }
30196
30217
  //#endregion
30197
30218
  //#region src/composed/JsonSchemaForm/conditional/useDependencyBranchSync.ts
30198
- function FY(e, t, n, r) {
30219
+ function IY(e, t, n, r) {
30199
30220
  let i = Ke(() => t.map((e) => LJ(e.showIf, n)), [t, n]), a = Ke(() => t.map((e) => Array.from(e.properties.keys()).map((e) => n ? `${n}.${e}` : e)), [t, n]), o = Ke(() => {
30200
30221
  let e = /* @__PURE__ */ new Set();
30201
30222
  for (let t of i) for (let n of t.$eq.keys()) e.add(n);
@@ -30228,21 +30249,21 @@ function FY(e, t, n, r) {
30228
30249
  r
30229
30250
  ]);
30230
30251
  }
30231
- function IY({ branches: e, basePath: t }) {
30252
+ function LY({ branches: e, basePath: t }) {
30232
30253
  let { control: n, externalContext: r } = b();
30233
- return FY(n, e, t, r), null;
30254
+ return IY(n, e, t, r), null;
30234
30255
  }
30235
30256
  //#endregion
30236
30257
  //#region src/composed/JsonSchemaForm/utils/pickActiveVariant.ts
30237
- function LY(e, t, n, r) {
30258
+ function RY(e, t, n, r) {
30238
30259
  if (e.length === 0) return -1;
30239
30260
  let i = n?.get(t);
30240
- return RY(i, e) && zY(e[i], r) ? i : BY(e, r);
30261
+ return zY(i, e) && BY(e[i], r) ? i : VY(e, r);
30241
30262
  }
30242
- function RY(e, t) {
30263
+ function zY(e, t) {
30243
30264
  return typeof e == "number" && Number.isInteger(e) && t[e] !== void 0;
30244
30265
  }
30245
- function zY(e, t) {
30266
+ function BY(e, t) {
30246
30267
  return Object.entries(e.properties ?? {}).every(([e, n]) => {
30247
30268
  if (n.const !== void 0) return t(e) === n.const;
30248
30269
  if (typeof n.pattern == "string") {
@@ -30252,18 +30273,18 @@ function zY(e, t) {
30252
30273
  return !0;
30253
30274
  });
30254
30275
  }
30255
- function BY(e, t) {
30276
+ function VY(e, t) {
30256
30277
  let n = 0, r = {
30257
30278
  viable: !1,
30258
30279
  matches: -1
30259
30280
  };
30260
30281
  return e.forEach((e, i) => {
30261
- let a = VY(e, t);
30262
- HY(a, r) > 0 && (n = i, r = a);
30282
+ let a = HY(e, t);
30283
+ UY(a, r) > 0 && (n = i, r = a);
30263
30284
  }), n;
30264
30285
  }
30265
- function VY(e, t) {
30266
- return zY(e, t) ? {
30286
+ function HY(e, t) {
30287
+ return BY(e, t) ? {
30267
30288
  viable: (e.required ?? []).every((e) => t(e) !== void 0),
30268
30289
  matches: Object.keys(e.properties ?? {}).filter((e) => t(e) !== void 0).length
30269
30290
  } : {
@@ -30271,13 +30292,13 @@ function VY(e, t) {
30271
30292
  matches: -1
30272
30293
  };
30273
30294
  }
30274
- function HY(e, t) {
30295
+ function UY(e, t) {
30275
30296
  return e.viable === t.viable ? e.matches - t.matches : e.viable ? 1 : -1;
30276
30297
  }
30277
30298
  //#endregion
30278
30299
  //#region src/composed/JsonSchemaForm/fields/oneOf/OneOfField.tsx
30279
- function UY({ node: e, depth: t }) {
30280
- let n = b(), { control: r, index: i, basePath: a, testIdPrefix: o } = n, { schema: s } = e, c = i.variantIndices, l = Ke(() => e.variants ?? [], [e.variants]), [u, d] = Ye(() => LY(l.map((e) => e.raw), a, c, (e) => r._getWatch(a ? `${a}.${e}` : e))), f = Ke(() => l[u]?.dependencyBranches ?? [], [l, u]);
30300
+ function WY({ node: e, depth: t }) {
30301
+ let n = b(), { control: r, index: i, basePath: a, testIdPrefix: o } = n, { schema: s } = e, c = i.variantIndices, l = Ke(() => e.variants ?? [], [e.variants]), [u, d] = Ye(() => RY(l.map((e) => e.raw), a, c, (e) => r._getWatch(a ? `${a}.${e}` : e))), f = Ke(() => l[u]?.dependencyBranches ?? [], [l, u]);
30281
30302
  if (l.length === 0) return null;
30282
30303
  let p = l[u] ?? l[0], m = n.disabled || s.readOnly === !0, h = `${a || "root"}-variant`, g = (e) => {
30283
30304
  if (e === u) return;
@@ -30314,22 +30335,22 @@ function UY({ node: e, depth: t }) {
30314
30335
  p.raw.description && /* @__PURE__ */ W(C, { children: p.raw.description }),
30315
30336
  p.raw.gioConfig?.banner && /* @__PURE__ */ W(F, { banner: p.raw.gioConfig.banner })
30316
30337
  ] }),
30317
- p.consts.map(({ key: e, value: t }) => /* @__PURE__ */ W(WY, {
30338
+ p.consts.map(({ key: e, value: t }) => /* @__PURE__ */ W(GY, {
30318
30339
  path: a ? `${a}.${e}` : e,
30319
30340
  value: t
30320
30341
  }, e)),
30321
- Array.from(p.properties).filter(([, e]) => e.schema.const === void 0).map(([e, n]) => /* @__PURE__ */ W(eX, {
30342
+ Array.from(p.properties).filter(([, e]) => e.schema.const === void 0).map(([e, n]) => /* @__PURE__ */ W(tX, {
30322
30343
  node: n,
30323
30344
  name: e,
30324
30345
  depth: t + 1
30325
30346
  }, `${u}-${e}`)),
30326
- f.length > 0 && /* @__PURE__ */ W(IY, {
30347
+ f.length > 0 && /* @__PURE__ */ W(LY, {
30327
30348
  branches: f,
30328
30349
  basePath: a
30329
30350
  }),
30330
30351
  f.map((e, n) => /* @__PURE__ */ W(PJ, {
30331
30352
  condition: LJ(e.showIf, a),
30332
- children: Array.from(e.properties).map(([e, n]) => /* @__PURE__ */ W(eX, {
30353
+ children: Array.from(e.properties).map(([e, n]) => /* @__PURE__ */ W(tX, {
30333
30354
  node: n,
30334
30355
  name: e,
30335
30356
  depth: t + 1
@@ -30337,7 +30358,7 @@ function UY({ node: e, depth: t }) {
30337
30358
  }, `${u}-var-dep-${n}`))
30338
30359
  ] });
30339
30360
  }
30340
- function WY({ path: e, value: t }) {
30361
+ function GY({ path: e, value: t }) {
30341
30362
  let { control: n } = b(), { field: r } = I({
30342
30363
  control: n,
30343
30364
  name: e
@@ -30348,31 +30369,31 @@ function WY({ path: e, value: t }) {
30348
30369
  }
30349
30370
  //#endregion
30350
30371
  //#region src/composed/JsonSchemaForm/fields/object/ObjectField.tsx
30351
- function GY({ node: e, name: n, depth: r, hiddenTitle: i }) {
30372
+ function KY({ node: e, name: n, depth: r, hiddenTitle: i }) {
30352
30373
  let a = b(), { schema: o } = e, s = n ? a.basePath ? `${a.basePath}.${n}` : n : a.basePath, c = tY(o) || nY(o), l = Ke(() => e.dependencyBranches ?? [], [e.dependencyBranches]), u = l.length > 0, d = (e.properties || c || u) && /* @__PURE__ */ W(P.Provider, {
30353
30374
  value: {
30354
30375
  ...a,
30355
30376
  basePath: s
30356
30377
  },
30357
30378
  children: /* @__PURE__ */ G(L, { children: [
30358
- e.properties && Array.from(e.properties).map(([e, t]) => /* @__PURE__ */ W(eX, {
30379
+ e.properties && Array.from(e.properties).map(([e, t]) => /* @__PURE__ */ W(tX, {
30359
30380
  node: t,
30360
30381
  name: e,
30361
30382
  depth: r + 1
30362
30383
  }, e)),
30363
- u && /* @__PURE__ */ W(IY, {
30384
+ u && /* @__PURE__ */ W(LY, {
30364
30385
  branches: l,
30365
30386
  basePath: s
30366
30387
  }),
30367
30388
  l.map((e, t) => /* @__PURE__ */ W(PJ, {
30368
30389
  condition: LJ(e.showIf, s),
30369
- children: Array.from(e.properties).map(([e, t]) => /* @__PURE__ */ W(eX, {
30390
+ children: Array.from(e.properties).map(([e, t]) => /* @__PURE__ */ W(tX, {
30370
30391
  node: t,
30371
30392
  name: e,
30372
30393
  depth: r + 1
30373
30394
  }, e))
30374
30395
  }, `dep-${t}`)),
30375
- c && /* @__PURE__ */ W(UY, {
30396
+ c && /* @__PURE__ */ W(WY, {
30376
30397
  node: e,
30377
30398
  depth: r
30378
30399
  })
@@ -30396,7 +30417,7 @@ function GY({ node: e, name: n, depth: r, hiddenTitle: i }) {
30396
30417
  }
30397
30418
  //#endregion
30398
30419
  //#region src/composed/PasswordInput/PasswordInput.tsx
30399
- function KY({ groupClassName: e, showLabel: t = "Show password", hideLabel: n = "Hide password", hideToggle: r = !1, className: i, disabled: a, "data-testid": o, ...s }) {
30420
+ function qY({ groupClassName: e, showLabel: t = "Show password", hideLabel: n = "Hide password", hideToggle: r = !1, className: i, disabled: a, "data-testid": o, ...s }) {
30400
30421
  let [c, l] = Ye(!1);
30401
30422
  return /* @__PURE__ */ G($A, {
30402
30423
  className: e,
@@ -30424,15 +30445,15 @@ function KY({ groupClassName: e, showLabel: t = "Show password", hideLabel: n =
30424
30445
  })]
30425
30446
  });
30426
30447
  }
30427
- KY.displayName = "PasswordInput";
30448
+ qY.displayName = "PasswordInput";
30428
30449
  //#endregion
30429
30450
  //#region src/composed/JsonSchemaForm/fields/string/StringField.tsx
30430
- var qY = "{#request.headers['x-custom'] == 'value'}";
30431
- function JY({ node: n, name: r, hiddenTitle: i }) {
30451
+ var JY = "{#request.headers['x-custom'] == 'value'}";
30452
+ function YY({ node: n, name: r, hiddenTitle: i }) {
30432
30453
  let { control: a, basePath: o, disabled: s, testIdPrefix: c } = b(), { schema: l } = n, u = r ? o ? `${o}.${r}` : r : o, { field: d, fieldState: f } = I({
30433
30454
  control: a,
30434
30455
  name: u
30435
- }), p = i ?? T(l, r), m = s || l.readOnly === !0, h = f.invalid, g = typeof d.value == "string" ? d.value : "", v = l.gioConfig?.el === !0, y = (Array.isArray(l.examples) && l.examples[0] !== void 0 && l.examples[0] !== null ? String(l.examples[0]) : void 0) ?? (l.default !== void 0 && l.default !== null ? String(l.default) : void 0) ?? (v ? qY : void 0), x = v ? "font-mono text-xs" : void 0, S = {
30456
+ }), p = i ?? T(l, r), m = s || l.readOnly === !0, h = f.invalid, g = typeof d.value == "string" ? d.value : "", v = l.gioConfig?.el === !0, y = (Array.isArray(l.examples) && l.examples[0] !== void 0 && l.examples[0] !== null ? String(l.examples[0]) : void 0) ?? (l.default !== void 0 && l.default !== null ? String(l.default) : void 0) ?? (v ? JY : void 0), x = v ? "font-mono text-xs" : void 0, S = {
30436
30457
  id: u,
30437
30458
  value: g,
30438
30459
  onChange: d.onChange,
@@ -30461,7 +30482,7 @@ function JY({ node: n, name: r, hiddenTitle: i }) {
30461
30482
  l.format === "text" ? /* @__PURE__ */ W(e, {
30462
30483
  ...S,
30463
30484
  className: x
30464
- }) : l.format === "password" ? /* @__PURE__ */ W(KY, {
30485
+ }) : l.format === "password" ? /* @__PURE__ */ W(qY, {
30465
30486
  ...S,
30466
30487
  pattern: l.pattern
30467
30488
  }) : /* @__PURE__ */ W(QA, {
@@ -30480,23 +30501,23 @@ function JY({ node: n, name: r, hiddenTitle: i }) {
30480
30501
  }
30481
30502
  //#endregion
30482
30503
  //#region src/composed/JsonSchemaForm/fields/resource/ResourceTypeField.tsx
30483
- function YY({ node: e, name: t }) {
30484
- let { externalContext: n } = b(), r = QY(n);
30485
- return r === null ? /* @__PURE__ */ W(JY, {
30504
+ function XY({ node: e, name: t }) {
30505
+ let { externalContext: n } = b(), r = $Y(n);
30506
+ return r === null ? /* @__PURE__ */ W(YY, {
30486
30507
  node: e,
30487
30508
  name: t
30488
- }) : /* @__PURE__ */ W(XY, {
30509
+ }) : /* @__PURE__ */ W(ZY, {
30489
30510
  node: e,
30490
30511
  name: t,
30491
30512
  injected: r
30492
30513
  });
30493
30514
  }
30494
- function XY({ node: e, name: t, injected: n }) {
30515
+ function ZY({ node: e, name: t, injected: n }) {
30495
30516
  let { control: r, basePath: i, disabled: a, testIdPrefix: o } = b(), { schema: s } = e, c = t ? i ? `${i}.${t}` : t : i, { field: l, fieldState: u } = I({
30496
30517
  control: r,
30497
30518
  name: c,
30498
30519
  defaultValue: s.default
30499
- }), { ref: d, onBlur: f } = l, p = ZY(s.gioConfig?.uiTypeProps?.resourceType), m = (e) => p.length === 0 || p.some((t) => e.startsWith(t)), h = n.filter((e) => m(e.type)).map((e) => e.name), g = typeof l.value == "string" ? l.value : "";
30520
+ }), { ref: d, onBlur: f } = l, p = QY(s.gioConfig?.uiTypeProps?.resourceType), m = (e) => p.length === 0 || p.some((t) => e.startsWith(t)), h = n.filter((e) => m(e.type)).map((e) => e.name), g = typeof l.value == "string" ? l.value : "";
30500
30521
  g !== "" && !h.includes(g) && h.unshift(g);
30501
30522
  let v = T(s, t), y = a || s.readOnly === !0, x = h.length === 0 ? "No matching resources on this API" : "Select a resource…";
30502
30523
  return /* @__PURE__ */ G(k, {
@@ -30534,20 +30555,20 @@ function XY({ node: e, name: t, injected: n }) {
30534
30555
  ]
30535
30556
  });
30536
30557
  }
30537
- function ZY(e) {
30558
+ function QY(e) {
30538
30559
  return typeof e == "string" ? [e] : Array.isArray(e) ? e.filter((e) => typeof e == "string") : [];
30539
30560
  }
30540
- function QY(e) {
30561
+ function $Y(e) {
30541
30562
  let t = e?.resources;
30542
30563
  return Array.isArray(t) ? t.filter((e) => typeof e == "object" && !!e && typeof e.name == "string" && typeof e.type == "string") : null;
30543
30564
  }
30544
30565
  //#endregion
30545
30566
  //#region src/composed/JsonSchemaForm/SchemaField.tsx
30546
- var $Y = Re(() => import("./CodeEditorField-DiY1yxIw.js").then((e) => ({ default: e.CodeEditorField })));
30547
- function eX({ node: e, name: t, depth: n = 0, hiddenTitle: r }) {
30567
+ var eX = Re(() => import("./CodeEditorField-DiY1yxIw.js").then((e) => ({ default: e.CodeEditorField })));
30568
+ function tX({ node: e, name: t, depth: n = 0, hiddenTitle: r }) {
30548
30569
  let { basePath: i } = b(), { schema: a } = e, o = t ?? "", s = t ? i ? `${i}.${t}` : t : i, c = Ke(() => [s], [s]), l = Ke(() => e.displayIf ? LJ(e.displayIf, i) : void 0, [e.displayIf, i]), u = Ke(() => e.disableIf ? LJ(e.disableIf, i) : void 0, [e.disableIf, i]);
30549
30570
  if (a.deprecated === !0) return null;
30550
- let d = tX(e, o, t, n, r);
30571
+ let d = nX(e, o, t, n, r);
30551
30572
  return d === null ? null : (u && (d = /* @__PURE__ */ W(FJ, {
30552
30573
  condition: u,
30553
30574
  children: d
@@ -30557,13 +30578,16 @@ function eX({ node: e, name: t, depth: n = 0, hiddenTitle: r }) {
30557
30578
  children: d
30558
30579
  }) : d);
30559
30580
  }
30560
- function tX(e, t, n, r, i) {
30561
- let { schema: a } = e, o = nX(a.type);
30562
- return Array.isArray(a.enum) && a.enum.length > 0 || YJ(a) ? /* @__PURE__ */ W(kY, {
30581
+ function nX(e, t, n, r, i) {
30582
+ let { schema: a } = e, o = rX(a.type);
30583
+ return a.const !== void 0 && a.type === void 0 && a.enum === void 0 ? /* @__PURE__ */ W(EY, {
30584
+ node: e,
30585
+ name: t
30586
+ }) : Array.isArray(a.enum) && a.enum.length > 0 || YJ(a) ? /* @__PURE__ */ W(AY, {
30563
30587
  node: e,
30564
30588
  name: t,
30565
30589
  hiddenTitle: i
30566
- }) : XJ(a) ? /* @__PURE__ */ W(jY, {
30590
+ }) : XJ(a) ? /* @__PURE__ */ W(MY, {
30567
30591
  node: e,
30568
30592
  name: t
30569
30593
  }) : ZJ(a) ? /* @__PURE__ */ W(xY, {
@@ -30572,26 +30596,26 @@ function tX(e, t, n, r, i) {
30572
30596
  depth: r
30573
30597
  }) : eY(a) ? /* @__PURE__ */ W(Pe, {
30574
30598
  fallback: null,
30575
- children: /* @__PURE__ */ W($Y, {
30599
+ children: /* @__PURE__ */ W(eX, {
30576
30600
  node: e,
30577
30601
  name: t
30578
30602
  })
30579
- }) : o === "null" ? /* @__PURE__ */ W(NY, {}) : o === "boolean" ? /* @__PURE__ */ W(TY, {
30603
+ }) : o === "null" ? /* @__PURE__ */ W(PY, {}) : o === "boolean" ? /* @__PURE__ */ W(TY, {
30580
30604
  node: e,
30581
30605
  name: t,
30582
30606
  hiddenTitle: i
30583
- }) : o === "integer" || o === "number" ? /* @__PURE__ */ W(PY, {
30607
+ }) : o === "integer" || o === "number" ? /* @__PURE__ */ W(FY, {
30584
30608
  node: e,
30585
30609
  name: t,
30586
30610
  hiddenTitle: i
30587
- }) : QJ(a) ? /* @__PURE__ */ W(YY, {
30611
+ }) : QJ(a) ? /* @__PURE__ */ W(XY, {
30588
30612
  node: e,
30589
30613
  name: t
30590
- }) : o === "string" ? /* @__PURE__ */ W(JY, {
30614
+ }) : o === "string" ? /* @__PURE__ */ W(YY, {
30591
30615
  node: e,
30592
30616
  name: t,
30593
30617
  hiddenTitle: i
30594
- }) : a.properties || o === "object" || tY(a) || nY(a) ? /* @__PURE__ */ W(GY, {
30618
+ }) : a.properties || o === "object" || tY(a) || nY(a) ? /* @__PURE__ */ W(KY, {
30595
30619
  node: e,
30596
30620
  name: n,
30597
30621
  depth: r,
@@ -30600,97 +30624,97 @@ function tX(e, t, n, r, i) {
30600
30624
  node: e,
30601
30625
  name: n,
30602
30626
  depth: r
30603
- }) : (console.warn(`[JsonSchemaForm] No renderer for schema at "${n ?? "root"}" (${rX(a)}). Field is omitted.`), null);
30627
+ }) : (console.warn(`[JsonSchemaForm] No renderer for schema at "${n ?? "root"}" (${iX(a)}). Field is omitted.`), null);
30604
30628
  }
30605
- function nX(e) {
30629
+ function rX(e) {
30606
30630
  return Array.isArray(e) ? e.find((e) => e !== "null") ?? e[0] : e;
30607
30631
  }
30608
- function rX(e) {
30609
- 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";
30632
+ function iX(e) {
30633
+ return e.type ? Array.isArray(e.type) ? e.type.join("|") : e.type : e.oneOf ? "oneOf" : e.anyOf ? "anyOf" : e.allOf ? "allOf" : "unknown";
30610
30634
  }
30611
30635
  //#endregion
30612
30636
  //#region src/composed/JsonSchemaForm/schema/preprocess/liftRequired.ts
30613
- function iX(e) {
30614
- return aX(e);
30615
- }
30616
30637
  function aX(e) {
30638
+ return oX(e);
30639
+ }
30640
+ function oX(e) {
30617
30641
  let t = { ...e };
30618
30642
  if (t.properties) {
30619
30643
  let e = new Set(t.required ?? []), n = {};
30620
30644
  for (let [r, i] of Object.entries(t.properties)) {
30621
- let t = aX(i);
30645
+ let t = oX(i);
30622
30646
  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;
30623
30647
  }
30624
30648
  t.properties = n;
30625
30649
  }
30626
- return t.items &&= Array.isArray(t.items) ? t.items.map(aX) : aX(t.items), t.oneOf &&= t.oneOf.map(aX), t.anyOf &&= t.anyOf.map(aX), t.allOf &&= t.allOf.map(aX), t.dependencies &&= RJ(t.dependencies, aX), t;
30650
+ return t.items &&= Array.isArray(t.items) ? t.items.map(oX) : oX(t.items), t.oneOf &&= t.oneOf.map(oX), t.anyOf &&= t.anyOf.map(oX), t.allOf &&= t.allOf.map(oX), t.dependencies &&= RJ(t.dependencies, oX), t;
30627
30651
  }
30628
30652
  //#endregion
30629
30653
  //#region src/composed/JsonSchemaForm/schema/preprocess/relaxDeprecated.ts
30630
- function oX(e) {
30654
+ function sX(e) {
30631
30655
  if ($J(e)) return { deprecated: !0 };
30632
30656
  let t = { ...e };
30633
30657
  if (e.properties) {
30634
30658
  let n = [];
30635
30659
  t.properties = {};
30636
- for (let [r, i] of Object.entries(e.properties)) $J(i) && n.push(r), t.properties[r] = oX(i);
30660
+ for (let [r, i] of Object.entries(e.properties)) $J(i) && n.push(r), t.properties[r] = sX(i);
30637
30661
  n.length > 0 && e.required && (t.required = e.required.filter((e) => !n.includes(e)));
30638
30662
  }
30639
- return e.items && !Array.isArray(e.items) && (t.items = oX(e.items)), e.oneOf && (t.oneOf = e.oneOf.filter((e) => !$J(e)).map(oX)), e.anyOf && (t.anyOf = e.anyOf.filter((e) => !$J(e)).map(oX)), e.dependencies && (t.dependencies = RJ(e.dependencies, oX)), t;
30663
+ return e.items && !Array.isArray(e.items) && (t.items = sX(e.items)), e.oneOf && (t.oneOf = e.oneOf.filter((e) => !$J(e)).map(sX)), e.anyOf && (t.anyOf = e.anyOf.filter((e) => !$J(e)).map(sX)), e.dependencies && (t.dependencies = RJ(e.dependencies, sX)), t;
30640
30664
  }
30641
30665
  //#endregion
30642
30666
  //#region src/composed/JsonSchemaForm/schema/buildIndex.ts
30643
- function sX(e, t = "") {
30644
- let n = iX(oX(zJ(KJ(e)))), r = /* @__PURE__ */ new Map();
30667
+ function cX(e, t = "") {
30668
+ let n = aX(sX(zJ(KJ(e)))), r = /* @__PURE__ */ new Map();
30645
30669
  return {
30646
- root: cX(n, "", !1, r, "", t),
30670
+ root: lX(n, "", !1, r, "", t),
30647
30671
  nodeByPath: r,
30648
30672
  variantIndices: /* @__PURE__ */ new Map()
30649
30673
  };
30650
30674
  }
30651
- function cX(e, t, n, r, i = "", a = "") {
30675
+ function lX(e, t, n, r, i = "", a = "") {
30652
30676
  let o = {
30653
30677
  rhfPath: t,
30654
30678
  schema: e,
30655
30679
  isRequired: n
30656
30680
  };
30657
- if (e.gioConfig?.displayIf && (o.displayIf = pX(e.gioConfig.displayIf, i, a)), e.gioConfig?.disableIf && (o.disableIf = pX(e.gioConfig.disableIf, i, a)), e.properties) {
30681
+ if (e.gioConfig?.displayIf && (o.displayIf = mX(e.gioConfig.displayIf, i, a)), e.gioConfig?.disableIf && (o.disableIf = mX(e.gioConfig.disableIf, i, a)), e.properties) {
30658
30682
  let n = new Set(e.required ?? []), i = /* @__PURE__ */ new Map();
30659
30683
  for (let [o, s] of Object.entries(e.properties)) {
30660
30684
  let e = t ? `${t}.${o}` : o;
30661
- i.set(o, cX(s, e, n.has(o), r, t, a));
30685
+ i.set(o, lX(s, e, n.has(o), r, t, a));
30662
30686
  }
30663
30687
  o.properties = i;
30664
30688
  }
30665
30689
  if (e.items && !Array.isArray(e.items)) {
30666
30690
  let n = t ? `${t}.*` : "*";
30667
- o.items = cX(e.items, n, !1, r, t, a);
30691
+ o.items = lX(e.items, n, !1, r, t, a);
30668
30692
  }
30669
30693
  let s = e.oneOf ?? e.anyOf;
30670
- if (Array.isArray(s) && s.length > 0 && (o.variants = lX(s).map((e) => uX(e, t, a))), e.dependencies) {
30671
- let n = hX(e.dependencies, t, a);
30694
+ if (Array.isArray(s) && s.length > 0 && (o.variants = uX(s).map((e) => dX(e, t, a))), e.dependencies) {
30695
+ let n = gX(e.dependencies, t, a);
30672
30696
  n.length > 0 && (o.dependencyBranches = n);
30673
30697
  }
30674
30698
  return r.set(t, o), o;
30675
30699
  }
30676
- function lX(e) {
30700
+ function uX(e) {
30677
30701
  let t = /* @__PURE__ */ new Set();
30678
30702
  return e.filter((e) => typeof e.title == "string" ? t.has(e.title) ? !1 : (t.add(e.title), !0) : !0);
30679
30703
  }
30680
- function uX(e, t, n) {
30704
+ function dX(e, t, n) {
30681
30705
  let r = new Set(e.required ?? []), i = /* @__PURE__ */ new Map(), a = [];
30682
30706
  for (let [o, s] of Object.entries(e.properties ?? {})) {
30683
- let e = dX(s);
30707
+ let e = fX(s);
30684
30708
  e && a.push({
30685
30709
  key: o,
30686
30710
  value: e.value
30687
30711
  });
30688
30712
  let c = t ? `${t}.${o}` : o;
30689
- i.set(o, fX(s, c, r.has(o), t, n));
30713
+ i.set(o, pX(s, c, r.has(o), t, n));
30690
30714
  }
30691
30715
  let o;
30692
30716
  if (e.dependencies) {
30693
- let r = hX(e.dependencies, t, n);
30717
+ let r = gX(e.dependencies, t, n);
30694
30718
  r.length > 0 && (o = r);
30695
30719
  }
30696
30720
  return {
@@ -30700,21 +30724,21 @@ function uX(e, t, n) {
30700
30724
  raw: e
30701
30725
  };
30702
30726
  }
30703
- function dX(e) {
30727
+ function fX(e) {
30704
30728
  if (e.const !== void 0) return { value: e.const };
30705
30729
  if (Array.isArray(e.enum) && e.enum.length === 1) return { value: e.enum[0] };
30706
30730
  }
30707
- function fX(e, t, n, r, i) {
30708
- return cX(e, t, n, /* @__PURE__ */ new Map(), r, i);
30731
+ function pX(e, t, n, r, i) {
30732
+ return lX(e, t, n, /* @__PURE__ */ new Map(), r, i);
30709
30733
  }
30710
- function pX(e, t, n) {
30734
+ function mX(e, t, n) {
30711
30735
  let r = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map();
30712
30736
  for (let [a, o] of Object.entries(e.$eq)) {
30713
30737
  if (a.startsWith("context.")) {
30714
30738
  i.set(a.slice(8), o);
30715
30739
  continue;
30716
30740
  }
30717
- let e = mX(a, t, n);
30741
+ let e = hX(a, t, n);
30718
30742
  if (e === null) {
30719
30743
  console.warn(`[JsonSchemaForm] gioConfig path "${a}" is unsupported (expected value.X / ./X / ../X / context.X).`);
30720
30744
  continue;
@@ -30726,7 +30750,7 @@ function pX(e, t, n) {
30726
30750
  $eqContext: i
30727
30751
  } : { $eq: r };
30728
30752
  }
30729
- function mX(e, t, n) {
30753
+ function hX(e, t, n) {
30730
30754
  let r = null;
30731
30755
  if (e.startsWith("value.")) r = e.slice(6);
30732
30756
  else if (e.startsWith("./")) {
@@ -30740,24 +30764,24 @@ function mX(e, t, n) {
30740
30764
  }
30741
30765
  return r === null ? null : n ? `${n}.${r}` : r;
30742
30766
  }
30743
- function hX(e, t, n) {
30767
+ function gX(e, t, n) {
30744
30768
  return Object.entries(e).flatMap(([e, r]) => {
30745
- let i = gX(e, r);
30769
+ let i = _X(e, r);
30746
30770
  if (!i) return [];
30747
30771
  let a = t ? `${t}.${e}` : e;
30748
- return i.map((r) => _X(r, e, a, t, n));
30772
+ return i.map((r) => vX(r, e, a, t, n));
30749
30773
  });
30750
30774
  }
30751
- function gX(e, t) {
30775
+ function _X(e, t) {
30752
30776
  let n = typeof t == "object" && t && !Array.isArray(t) ? t : null;
30753
- return n?.oneOf?.length ? n.oneOf.every((t) => t.properties?.[e] !== void 0 && dX(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);
30777
+ return n?.oneOf?.length ? n.oneOf.every((t) => t.properties?.[e] !== void 0 && fX(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);
30754
30778
  }
30755
- function _X(e, t, n, r, i) {
30756
- let a = dX(e.properties[t]).value, o = new Set((e.required ?? []).filter((e) => e !== t)), s = /* @__PURE__ */ new Map();
30779
+ function vX(e, t, n, r, i) {
30780
+ let a = fX(e.properties[t]).value, o = new Set((e.required ?? []).filter((e) => e !== t)), s = /* @__PURE__ */ new Map();
30757
30781
  for (let [n, a] of Object.entries(e.properties ?? {})) {
30758
30782
  if (n === t) continue;
30759
30783
  let e = r ? `${r}.${n}` : n;
30760
- s.set(n, fX(a, e, o.has(n), r, i));
30784
+ s.set(n, pX(a, e, o.has(n), r, i));
30761
30785
  }
30762
30786
  let c = i ? `${i}.${n}` : n;
30763
30787
  return {
@@ -30768,12 +30792,12 @@ function _X(e, t, n, r, i) {
30768
30792
  }
30769
30793
  //#endregion
30770
30794
  //#region src/composed/JsonSchemaForm/JsonSchemaForm.tsx
30771
- function vX({ schema: e, control: t, name: n = "", disabled: r = !1, context: i, "data-testid": a }) {
30795
+ function yX({ schema: e, control: t, name: n = "", disabled: r = !1, context: i, "data-testid": a }) {
30772
30796
  let o = Ke(() => {
30773
30797
  try {
30774
30798
  return {
30775
30799
  ok: !0,
30776
- value: sX(e, n)
30800
+ value: cX(e, n)
30777
30801
  };
30778
30802
  } catch (e) {
30779
30803
  return {
@@ -30804,7 +30828,7 @@ function vX({ schema: e, control: t, name: n = "", disabled: r = !1, context: i,
30804
30828
  ]);
30805
30829
  return s.ok ? /* @__PURE__ */ W(P.Provider, {
30806
30830
  value: s.contextValue,
30807
- children: /* @__PURE__ */ W(eX, { node: s.contextValue.index.root })
30831
+ children: /* @__PURE__ */ W(tX, { node: s.contextValue.index.root })
30808
30832
  }) : /* @__PURE__ */ G("p", {
30809
30833
  role: "alert",
30810
30834
  className: "text-sm text-destructive",
@@ -30814,7 +30838,7 @@ function vX({ schema: e, control: t, name: n = "", disabled: r = !1, context: i,
30814
30838
  }
30815
30839
  //#endregion
30816
30840
  //#region src/composed/JsonSchemaForm/form-bindings/composeResolvers.ts
30817
- function yX(...e) {
30841
+ function bX(...e) {
30818
30842
  return async (t, n, r) => {
30819
30843
  let i = await Promise.all(e.map((e) => e(t, n, r))), a = {};
30820
30844
  for (let e of i) Object.assign(a, e.errors);
@@ -30829,7 +30853,7 @@ function yX(...e) {
30829
30853
  }
30830
30854
  //#endregion
30831
30855
  //#region ../../node_modules/ajv/dist/compile/codegen/code.js
30832
- var bX = /* @__PURE__ */ K(((e) => {
30856
+ var xX = /* @__PURE__ */ K(((e) => {
30833
30857
  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;
30834
30858
  var t = class {};
30835
30859
  e._CodeOrName = t, e.IDENTIFIER = /^[a-z$_][a-z$_0-9]*$/i;
@@ -30934,9 +30958,9 @@ var bX = /* @__PURE__ */ K(((e) => {
30934
30958
  return new r(e.toString());
30935
30959
  }
30936
30960
  e.regexpCode = g;
30937
- })), xX = /* @__PURE__ */ K(((e) => {
30961
+ })), SX = /* @__PURE__ */ K(((e) => {
30938
30962
  Object.defineProperty(e, "__esModule", { value: !0 }), e.ValueScope = e.ValueScopeName = e.Scope = e.varKinds = e.UsedValueState = void 0;
30939
- var t = bX(), n = class extends Error {
30963
+ var t = xX(), n = class extends Error {
30940
30964
  constructor(e) {
30941
30965
  super(`CodeGen: "code" for ${e} not defined`), this.value = e.value;
30942
30966
  }
@@ -31045,9 +31069,9 @@ var bX = /* @__PURE__ */ K(((e) => {
31045
31069
  return c;
31046
31070
  }
31047
31071
  };
31048
- })), SX = /* @__PURE__ */ K(((e) => {
31072
+ })), CX = /* @__PURE__ */ K(((e) => {
31049
31073
  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;
31050
- var t = bX(), n = xX(), r = bX();
31074
+ var t = xX(), n = SX(), r = xX();
31051
31075
  Object.defineProperty(e, "_", {
31052
31076
  enumerable: !0,
31053
31077
  get: function() {
@@ -31089,7 +31113,7 @@ var bX = /* @__PURE__ */ K(((e) => {
31089
31113
  return r.Name;
31090
31114
  }
31091
31115
  });
31092
- var i = xX();
31116
+ var i = SX();
31093
31117
  Object.defineProperty(e, "Scope", {
31094
31118
  enumerable: !0,
31095
31119
  get: function() {
@@ -31560,9 +31584,9 @@ var bX = /* @__PURE__ */ K(((e) => {
31560
31584
  function L(e) {
31561
31585
  return e instanceof t.Name ? e : (0, t._)`(${e})`;
31562
31586
  }
31563
- })), CX = /* @__PURE__ */ K(((e) => {
31587
+ })), wX = /* @__PURE__ */ K(((e) => {
31564
31588
  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;
31565
- var t = SX(), n = bX();
31589
+ var t = CX(), n = xX();
31566
31590
  function r(e) {
31567
31591
  let t = {};
31568
31592
  for (let n of e) t[n] = !0;
@@ -31685,9 +31709,9 @@ var bX = /* @__PURE__ */ K(((e) => {
31685
31709
  }
31686
31710
  }
31687
31711
  e.checkStrictMode = x;
31688
- })), wX = /* @__PURE__ */ K(((e) => {
31712
+ })), TX = /* @__PURE__ */ K(((e) => {
31689
31713
  Object.defineProperty(e, "__esModule", { value: !0 });
31690
- var t = SX();
31714
+ var t = CX();
31691
31715
  e.default = {
31692
31716
  data: new t.Name("data"),
31693
31717
  valCxt: new t.Name("valCxt"),
@@ -31706,9 +31730,9 @@ var bX = /* @__PURE__ */ K(((e) => {
31706
31730
  jsonLen: new t.Name("jsonLen"),
31707
31731
  jsonPart: new t.Name("jsonPart")
31708
31732
  };
31709
- })), TX = /* @__PURE__ */ K(((e) => {
31733
+ })), EX = /* @__PURE__ */ K(((e) => {
31710
31734
  Object.defineProperty(e, "__esModule", { value: !0 }), e.extendErrors = e.resetErrorsCount = e.reportExtraError = e.reportError = e.keyword$DataError = e.keywordError = void 0;
31711
- var t = SX(), n = CX(), r = wX();
31735
+ var t = CX(), n = wX(), r = TX();
31712
31736
  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)` };
31713
31737
  function i(n, r = e.keywordError, i, a) {
31714
31738
  let { it: o } = n, { gen: s, compositeRule: u, allErrors: f } = o, p = d(n, r, i);
@@ -31770,9 +31794,9 @@ var bX = /* @__PURE__ */ K(((e) => {
31770
31794
  let { keyword: o, data: s, schemaValue: c, it: l } = e, { opts: d, propertyName: f, topSchemaRef: p, schemaPath: m } = l;
31771
31795
  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]);
31772
31796
  }
31773
- })), EX = /* @__PURE__ */ K(((e) => {
31797
+ })), DX = /* @__PURE__ */ K(((e) => {
31774
31798
  Object.defineProperty(e, "__esModule", { value: !0 }), e.boolOrEmptySchema = e.topBoolOrEmptySchema = void 0;
31775
- var t = TX(), n = SX(), r = wX(), i = { message: "boolean schema is false" };
31799
+ var t = EX(), n = CX(), r = TX(), i = { message: "boolean schema is false" };
31776
31800
  function a(e) {
31777
31801
  let { gen: t, schema: i, validateName: a } = e;
31778
31802
  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));
@@ -31796,7 +31820,7 @@ var bX = /* @__PURE__ */ K(((e) => {
31796
31820
  };
31797
31821
  (0, t.reportError)(o, i, void 0, n);
31798
31822
  }
31799
- })), DX = /* @__PURE__ */ K(((e) => {
31823
+ })), OX = /* @__PURE__ */ K(((e) => {
31800
31824
  Object.defineProperty(e, "__esModule", { value: !0 }), e.getRules = e.isJSONType = void 0;
31801
31825
  var t = new Set([
31802
31826
  "string",
@@ -31850,7 +31874,7 @@ var bX = /* @__PURE__ */ K(((e) => {
31850
31874
  };
31851
31875
  }
31852
31876
  e.getRules = r;
31853
- })), OX = /* @__PURE__ */ K(((e) => {
31877
+ })), kX = /* @__PURE__ */ K(((e) => {
31854
31878
  Object.defineProperty(e, "__esModule", { value: !0 }), e.shouldUseRule = e.shouldUseGroup = e.schemaHasRulesForType = void 0;
31855
31879
  function t({ schema: e, self: t }, r) {
31856
31880
  let i = t.RULES.types[r];
@@ -31865,9 +31889,9 @@ var bX = /* @__PURE__ */ K(((e) => {
31865
31889
  return e[t.keyword] !== void 0 || t.definition.implements?.some((t) => e[t] !== void 0);
31866
31890
  }
31867
31891
  e.shouldUseRule = r;
31868
- })), kX = /* @__PURE__ */ K(((e) => {
31892
+ })), AX = /* @__PURE__ */ K(((e) => {
31869
31893
  Object.defineProperty(e, "__esModule", { value: !0 }), e.reportTypeError = e.checkDataTypes = e.checkDataType = e.coerceAndCheckDataType = e.getJSONTypes = e.getSchemaTypes = e.DataType = void 0;
31870
- var t = DX(), n = OX(), r = TX(), i = SX(), a = CX(), o;
31894
+ var t = OX(), n = kX(), r = EX(), i = CX(), a = wX(), o;
31871
31895
  (function(e) {
31872
31896
  e[e.Correct = 0] = "Correct", e[e.Wrong = 1] = "Wrong";
31873
31897
  })(o || (e.DataType = o = {}));
@@ -32002,9 +32026,9 @@ var bX = /* @__PURE__ */ K(((e) => {
32002
32026
  it: e
32003
32027
  };
32004
32028
  }
32005
- })), AX = /* @__PURE__ */ K(((e) => {
32029
+ })), jX = /* @__PURE__ */ K(((e) => {
32006
32030
  Object.defineProperty(e, "__esModule", { value: !0 }), e.assignDefaults = void 0;
32007
- var t = SX(), n = CX();
32031
+ var t = CX(), n = wX();
32008
32032
  function r(e, t) {
32009
32033
  let { properties: n, items: r } = e.schema;
32010
32034
  if (t === "object" && n) for (let t in n) i(e, t, n[t].default);
@@ -32022,9 +32046,9 @@ var bX = /* @__PURE__ */ K(((e) => {
32022
32046
  let u = (0, t._)`${l} === undefined`;
32023
32047
  c.useDefaults === "empty" && (u = (0, t._)`${u} || ${l} === null || ${l} === ""`), a.if(u, (0, t._)`${l} = ${(0, t.stringify)(i)}`);
32024
32048
  }
32025
- })), jX = /* @__PURE__ */ K(((e) => {
32049
+ })), MX = /* @__PURE__ */ K(((e) => {
32026
32050
  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;
32027
- var t = SX(), n = CX(), r = wX(), i = CX();
32051
+ var t = CX(), n = wX(), r = TX(), i = wX();
32028
32052
  function a(e, n) {
32029
32053
  let { gen: r, data: i, it: a } = e;
32030
32054
  r.if(d(r, i, n, a.opts.ownProperties), () => {
@@ -32126,9 +32150,9 @@ var bX = /* @__PURE__ */ K(((e) => {
32126
32150
  })), e.result(s, () => e.reset(), () => e.error(!0));
32127
32151
  }
32128
32152
  e.validateUnion = v;
32129
- })), MX = /* @__PURE__ */ K(((e) => {
32153
+ })), NX = /* @__PURE__ */ K(((e) => {
32130
32154
  Object.defineProperty(e, "__esModule", { value: !0 }), e.validateKeywordUsage = e.validSchemaType = e.funcKeywordCode = e.macroKeywordCode = void 0;
32131
- var t = SX(), n = wX(), r = jX(), i = TX();
32155
+ var t = CX(), n = TX(), r = MX(), i = EX();
32132
32156
  function a(e, n) {
32133
32157
  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);
32134
32158
  s.opts.validateSchema !== !1 && s.self.validateSchema(c, !0);
@@ -32207,9 +32231,9 @@ var bX = /* @__PURE__ */ K(((e) => {
32207
32231
  }
32208
32232
  }
32209
32233
  e.validateKeywordUsage = f;
32210
- })), NX = /* @__PURE__ */ K(((e) => {
32234
+ })), PX = /* @__PURE__ */ K(((e) => {
32211
32235
  Object.defineProperty(e, "__esModule", { value: !0 }), e.extendSubschemaMode = e.extendSubschemaData = e.getSubschema = void 0;
32212
- var t = SX(), n = CX();
32236
+ var t = CX(), n = wX();
32213
32237
  function r(e, { keyword: r, schemaProp: i, schema: a, schemaPath: o, errSchemaPath: s, topSchemaRef: c }) {
32214
32238
  if (r !== void 0 && a !== void 0) throw Error("both \"keyword\" and \"schema\" passed, only one allowed");
32215
32239
  if (r !== void 0) {
@@ -32253,7 +32277,7 @@ var bX = /* @__PURE__ */ K(((e) => {
32253
32277
  r !== void 0 && (e.compositeRule = r), i !== void 0 && (e.createErrors = i), a !== void 0 && (e.allErrors = a), e.jtdDiscriminator = t, e.jtdMetadata = n;
32254
32278
  }
32255
32279
  e.extendSubschemaMode = a;
32256
- })), PX = /* @__PURE__ */ K(((e, t) => {
32280
+ })), FX = /* @__PURE__ */ K(((e, t) => {
32257
32281
  t.exports = function e(t, n) {
32258
32282
  if (t === n) return !0;
32259
32283
  if (t && n && typeof t == "object" && typeof n == "object") {
@@ -32277,7 +32301,7 @@ var bX = /* @__PURE__ */ K(((e) => {
32277
32301
  }
32278
32302
  return t !== t && n !== n;
32279
32303
  };
32280
- })), FX = /* @__PURE__ */ K(((e, t) => {
32304
+ })), IX = /* @__PURE__ */ K(((e, t) => {
32281
32305
  var n = t.exports = function(e, t, n) {
32282
32306
  typeof t == "function" && (n = t, t = {}), n = t.cb || n;
32283
32307
  var i = typeof n == "function" ? n : n.pre || function() {}, a = n.post || function() {};
@@ -32340,9 +32364,9 @@ var bX = /* @__PURE__ */ K(((e) => {
32340
32364
  function i(e) {
32341
32365
  return e.replace(/~/g, "~0").replace(/\//g, "~1");
32342
32366
  }
32343
- })), IX = /* @__PURE__ */ K(((e) => {
32367
+ })), LX = /* @__PURE__ */ K(((e) => {
32344
32368
  Object.defineProperty(e, "__esModule", { value: !0 }), e.getSchemaRefs = e.resolveUrl = e.normalizeId = e._getFullPath = e.getFullPath = e.inlineRef = void 0;
32345
- var t = CX(), n = PX(), r = FX(), i = new Set([
32369
+ var t = wX(), n = FX(), r = IX(), i = new Set([
32346
32370
  "type",
32347
32371
  "format",
32348
32372
  "pattern",
@@ -32431,9 +32455,9 @@ var bX = /* @__PURE__ */ K(((e) => {
32431
32455
  }
32432
32456
  }
32433
32457
  e.getSchemaRefs = h;
32434
- })), LX = /* @__PURE__ */ K(((e) => {
32458
+ })), RX = /* @__PURE__ */ K(((e) => {
32435
32459
  Object.defineProperty(e, "__esModule", { value: !0 }), e.getData = e.KeywordCxt = e.validateFunctionCode = void 0;
32436
- var t = EX(), n = kX(), r = OX(), i = kX(), a = AX(), o = MX(), s = NX(), c = SX(), l = wX(), u = IX(), d = CX(), f = TX();
32460
+ var t = DX(), n = AX(), r = kX(), i = AX(), a = jX(), o = NX(), s = PX(), c = CX(), l = TX(), u = LX(), d = wX(), f = EX();
32437
32461
  function p(e) {
32438
32462
  if (S(e) && (w(e), x(e))) {
32439
32463
  _(e);
@@ -32723,23 +32747,23 @@ var bX = /* @__PURE__ */ K(((e) => {
32723
32747
  }
32724
32748
  }
32725
32749
  e.getData = se;
32726
- })), RX = /* @__PURE__ */ K(((e) => {
32750
+ })), zX = /* @__PURE__ */ K(((e) => {
32727
32751
  Object.defineProperty(e, "__esModule", { value: !0 }), e.default = class extends Error {
32728
32752
  constructor(e) {
32729
32753
  super("validation failed"), this.errors = e, this.ajv = this.validation = !0;
32730
32754
  }
32731
32755
  };
32732
- })), zX = /* @__PURE__ */ K(((e) => {
32756
+ })), BX = /* @__PURE__ */ K(((e) => {
32733
32757
  Object.defineProperty(e, "__esModule", { value: !0 });
32734
- var t = IX();
32758
+ var t = LX();
32735
32759
  e.default = class extends Error {
32736
32760
  constructor(e, n, r, i) {
32737
32761
  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));
32738
32762
  }
32739
32763
  };
32740
- })), BX = /* @__PURE__ */ K(((e) => {
32764
+ })), VX = /* @__PURE__ */ K(((e) => {
32741
32765
  Object.defineProperty(e, "__esModule", { value: !0 }), e.resolveSchema = e.getCompilingSchema = e.resolveRef = e.compileSchema = e.SchemaEnv = void 0;
32742
- var t = SX(), n = RX(), r = wX(), i = IX(), a = CX(), o = LX(), s = class {
32766
+ var t = CX(), n = zX(), r = TX(), i = LX(), a = wX(), o = RX(), s = class {
32743
32767
  constructor(e) {
32744
32768
  this.refs = {}, this.dynamicAnchors = {};
32745
32769
  let t;
@@ -32898,27 +32922,27 @@ var bX = /* @__PURE__ */ K(((e) => {
32898
32922
  baseId: t
32899
32923
  }), o.schema !== o.root.schema) return o;
32900
32924
  }
32901
- })), VX = /* @__PURE__ */ pt({
32902
- $id: () => HX,
32925
+ })), HX = /* @__PURE__ */ pt({
32926
+ $id: () => UX,
32903
32927
  additionalProperties: () => !1,
32904
- default: () => qX,
32905
- description: () => UX,
32906
- properties: () => KX,
32907
- required: () => GX,
32908
- type: () => WX
32909
- }), HX, UX, WX, GX, KX, qX, JX = ft((() => {
32910
- HX = "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#", UX = "Meta-schema for $data reference (JSON AnySchema extension proposal)", WX = "object", GX = ["$data"], KX = { $data: {
32928
+ default: () => JX,
32929
+ description: () => WX,
32930
+ properties: () => qX,
32931
+ required: () => KX,
32932
+ type: () => GX
32933
+ }), UX, WX, GX, KX, qX, JX, YX = ft((() => {
32934
+ UX = "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#", WX = "Meta-schema for $data reference (JSON AnySchema extension proposal)", GX = "object", KX = ["$data"], qX = { $data: {
32911
32935
  type: "string",
32912
32936
  anyOf: [{ format: "relative-json-pointer" }, { format: "json-pointer" }]
32913
- } }, qX = {
32914
- $id: HX,
32915
- description: UX,
32916
- type: WX,
32917
- required: GX,
32918
- properties: KX,
32937
+ } }, JX = {
32938
+ $id: UX,
32939
+ description: WX,
32940
+ type: GX,
32941
+ required: KX,
32942
+ properties: qX,
32919
32943
  additionalProperties: !1
32920
32944
  };
32921
- })), YX = /* @__PURE__ */ K(((e, t) => {
32945
+ })), XX = /* @__PURE__ */ K(((e, t) => {
32922
32946
  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);
32923
32947
  {
32924
32948
  let e = "0123456789ABCDEF";
@@ -33267,8 +33291,8 @@ var bX = /* @__PURE__ */ K(((e) => {
33267
33291
  normalizeIPv6: b,
33268
33292
  stringArrayToHexStripped: f
33269
33293
  };
33270
- })), XX = /* @__PURE__ */ K(((e, t) => {
33271
- var { isUUID: n } = YX(), r = /^([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-./:;=@]|%[\da-f]{2})+)$/iu, i = [
33294
+ })), ZX = /* @__PURE__ */ K(((e, t) => {
33295
+ var { isUUID: n } = XX(), r = /^([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-./:;=@]|%[\da-f]{2})+)$/iu, i = [
33272
33296
  "http",
33273
33297
  "https",
33274
33298
  "ws",
@@ -33373,8 +33397,8 @@ var bX = /* @__PURE__ */ K(((e) => {
33373
33397
  isValidSchemeName: a,
33374
33398
  getSchemeHandler: y
33375
33399
  };
33376
- })), ZX = /* @__PURE__ */ K(((e, t) => {
33377
- 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 } = YX(), { SCHEMES: m, getSchemeHandler: h } = XX(), g = /^[A-Za-z][A-Za-z0-9+.-]*$/u, _ = "URI scheme is malformed.";
33400
+ })), QX = /* @__PURE__ */ K(((e, t) => {
33401
+ 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 } = XX(), { SCHEMES: m, getSchemeHandler: h } = ZX(), g = /^[A-Za-z][A-Za-z0-9+.-]*$/u, _ = "URI scheme is malformed.";
33378
33402
  function v(e) {
33379
33403
  let t = unescape(String(e));
33380
33404
  if (!g.test(t)) throw TypeError(_);
@@ -33543,20 +33567,20 @@ var bX = /* @__PURE__ */ K(((e) => {
33543
33567
  parse: N
33544
33568
  };
33545
33569
  t.exports = L, t.exports.default = L, t.exports.fastUri = L;
33546
- })), QX = /* @__PURE__ */ K(((e) => {
33570
+ })), $X = /* @__PURE__ */ K(((e) => {
33547
33571
  Object.defineProperty(e, "__esModule", { value: !0 });
33548
- var t = ZX();
33572
+ var t = QX();
33549
33573
  t.code = "require(\"ajv/dist/runtime/uri\").default", e.default = t;
33550
- })), $X = /* @__PURE__ */ K(((e) => {
33574
+ })), eZ = /* @__PURE__ */ K(((e) => {
33551
33575
  Object.defineProperty(e, "__esModule", { value: !0 }), e.CodeGen = e.Name = e.nil = e.stringify = e.str = e._ = e.KeywordCxt = void 0;
33552
- var t = LX();
33576
+ var t = RX();
33553
33577
  Object.defineProperty(e, "KeywordCxt", {
33554
33578
  enumerable: !0,
33555
33579
  get: function() {
33556
33580
  return t.KeywordCxt;
33557
33581
  }
33558
33582
  });
33559
- var n = SX();
33583
+ var n = CX();
33560
33584
  Object.defineProperty(e, "_", {
33561
33585
  enumerable: !0,
33562
33586
  get: function() {
@@ -33588,7 +33612,7 @@ var bX = /* @__PURE__ */ K(((e) => {
33588
33612
  return n.CodeGen;
33589
33613
  }
33590
33614
  });
33591
- var r = RX(), i = zX(), a = DX(), o = BX(), s = SX(), c = IX(), l = kX(), u = CX(), d = (JX(), gt(VX).default), f = QX(), p = (e, t) => new RegExp(e, t);
33615
+ var r = zX(), i = BX(), a = OX(), o = VX(), s = CX(), c = LX(), l = AX(), u = wX(), d = (YX(), gt(HX).default), f = $X(), p = (e, t) => new RegExp(e, t);
33592
33616
  p.code = "new RegExp";
33593
33617
  var m = [
33594
33618
  "removeAdditional",
@@ -33974,16 +33998,16 @@ var bX = /* @__PURE__ */ K(((e) => {
33974
33998
  function F(e) {
33975
33999
  return { anyOf: [e, P] };
33976
34000
  }
33977
- })), eZ = /* @__PURE__ */ K(((e) => {
34001
+ })), tZ = /* @__PURE__ */ K(((e) => {
33978
34002
  Object.defineProperty(e, "__esModule", { value: !0 }), e.default = {
33979
34003
  keyword: "id",
33980
34004
  code() {
33981
34005
  throw Error("NOT SUPPORTED: keyword \"id\", use \"$id\" for schema ID");
33982
34006
  }
33983
34007
  };
33984
- })), tZ = /* @__PURE__ */ K(((e) => {
34008
+ })), nZ = /* @__PURE__ */ K(((e) => {
33985
34009
  Object.defineProperty(e, "__esModule", { value: !0 }), e.callRef = e.getValidate = void 0;
33986
- var t = zX(), n = jX(), r = SX(), i = wX(), a = BX(), o = CX(), s = {
34010
+ var t = BX(), n = MX(), r = CX(), i = TX(), a = VX(), o = wX(), s = {
33987
34011
  keyword: "$ref",
33988
34012
  schemaType: "string",
33989
34013
  code(e) {
@@ -34056,9 +34080,9 @@ var bX = /* @__PURE__ */ K(((e) => {
34056
34080
  }
34057
34081
  }
34058
34082
  e.callRef = l, e.default = s;
34059
- })), nZ = /* @__PURE__ */ K(((e) => {
34083
+ })), rZ = /* @__PURE__ */ K(((e) => {
34060
34084
  Object.defineProperty(e, "__esModule", { value: !0 });
34061
- var t = eZ(), n = tZ();
34085
+ var t = tZ(), n = nZ();
34062
34086
  e.default = [
34063
34087
  "$schema",
34064
34088
  "$id",
@@ -34069,9 +34093,9 @@ var bX = /* @__PURE__ */ K(((e) => {
34069
34093
  t.default,
34070
34094
  n.default
34071
34095
  ];
34072
- })), rZ = /* @__PURE__ */ K(((e) => {
34096
+ })), iZ = /* @__PURE__ */ K(((e) => {
34073
34097
  Object.defineProperty(e, "__esModule", { value: !0 });
34074
- var t = SX(), n = t.operators, r = {
34098
+ var t = CX(), n = t.operators, r = {
34075
34099
  maximum: {
34076
34100
  okStr: "<=",
34077
34101
  ok: n.LTE,
@@ -34107,9 +34131,9 @@ var bX = /* @__PURE__ */ K(((e) => {
34107
34131
  e.fail$data((0, t._)`${i} ${r[n].fail} ${a} || isNaN(${i})`);
34108
34132
  }
34109
34133
  };
34110
- })), iZ = /* @__PURE__ */ K(((e) => {
34134
+ })), aZ = /* @__PURE__ */ K(((e) => {
34111
34135
  Object.defineProperty(e, "__esModule", { value: !0 });
34112
- var t = SX();
34136
+ var t = CX();
34113
34137
  e.default = {
34114
34138
  keyword: "multipleOf",
34115
34139
  type: "number",
@@ -34124,7 +34148,7 @@ var bX = /* @__PURE__ */ K(((e) => {
34124
34148
  e.fail$data((0, t._)`(${i} === 0 || (${s} = ${r}/${i}, ${c}))`);
34125
34149
  }
34126
34150
  };
34127
- })), aZ = /* @__PURE__ */ K(((e) => {
34151
+ })), oZ = /* @__PURE__ */ K(((e) => {
34128
34152
  Object.defineProperty(e, "__esModule", { value: !0 });
34129
34153
  function t(e) {
34130
34154
  let t = e.length, n = 0, r = 0, i;
@@ -34132,9 +34156,9 @@ var bX = /* @__PURE__ */ K(((e) => {
34132
34156
  return n;
34133
34157
  }
34134
34158
  e.default = t, t.code = "require(\"ajv/dist/runtime/ucs2length\").default";
34135
- })), oZ = /* @__PURE__ */ K(((e) => {
34159
+ })), sZ = /* @__PURE__ */ K(((e) => {
34136
34160
  Object.defineProperty(e, "__esModule", { value: !0 });
34137
- var t = SX(), n = CX(), r = aZ();
34161
+ var t = CX(), n = wX(), r = oZ();
34138
34162
  e.default = {
34139
34163
  keyword: ["maxLength", "minLength"],
34140
34164
  type: "string",
@@ -34152,9 +34176,9 @@ var bX = /* @__PURE__ */ K(((e) => {
34152
34176
  e.fail$data((0, t._)`${l} ${c} ${o}`);
34153
34177
  }
34154
34178
  };
34155
- })), sZ = /* @__PURE__ */ K(((e) => {
34179
+ })), cZ = /* @__PURE__ */ K(((e) => {
34156
34180
  Object.defineProperty(e, "__esModule", { value: !0 });
34157
- var t = jX(), n = CX(), r = SX();
34181
+ var t = MX(), n = wX(), r = CX();
34158
34182
  e.default = {
34159
34183
  keyword: "pattern",
34160
34184
  type: "string",
@@ -34175,9 +34199,9 @@ var bX = /* @__PURE__ */ K(((e) => {
34175
34199
  }
34176
34200
  }
34177
34201
  };
34178
- })), cZ = /* @__PURE__ */ K(((e) => {
34202
+ })), lZ = /* @__PURE__ */ K(((e) => {
34179
34203
  Object.defineProperty(e, "__esModule", { value: !0 });
34180
- var t = SX();
34204
+ var t = CX();
34181
34205
  e.default = {
34182
34206
  keyword: ["maxProperties", "minProperties"],
34183
34207
  type: "object",
@@ -34195,9 +34219,9 @@ var bX = /* @__PURE__ */ K(((e) => {
34195
34219
  e.fail$data((0, t._)`Object.keys(${r}).length ${a} ${i}`);
34196
34220
  }
34197
34221
  };
34198
- })), lZ = /* @__PURE__ */ K(((e) => {
34222
+ })), uZ = /* @__PURE__ */ K(((e) => {
34199
34223
  Object.defineProperty(e, "__esModule", { value: !0 });
34200
- var t = jX(), n = SX(), r = CX();
34224
+ var t = MX(), n = CX(), r = wX();
34201
34225
  e.default = {
34202
34226
  keyword: "required",
34203
34227
  type: "object",
@@ -34243,9 +34267,9 @@ var bX = /* @__PURE__ */ K(((e) => {
34243
34267
  }
34244
34268
  }
34245
34269
  };
34246
- })), uZ = /* @__PURE__ */ K(((e) => {
34270
+ })), dZ = /* @__PURE__ */ K(((e) => {
34247
34271
  Object.defineProperty(e, "__esModule", { value: !0 });
34248
- var t = SX();
34272
+ var t = CX();
34249
34273
  e.default = {
34250
34274
  keyword: ["maxItems", "minItems"],
34251
34275
  type: "array",
@@ -34263,13 +34287,13 @@ var bX = /* @__PURE__ */ K(((e) => {
34263
34287
  e.fail$data((0, t._)`${r}.length ${a} ${i}`);
34264
34288
  }
34265
34289
  };
34266
- })), dZ = /* @__PURE__ */ K(((e) => {
34290
+ })), fZ = /* @__PURE__ */ K(((e) => {
34267
34291
  Object.defineProperty(e, "__esModule", { value: !0 });
34268
- var t = PX();
34292
+ var t = FX();
34269
34293
  t.code = "require(\"ajv/dist/runtime/equal\").default", e.default = t;
34270
- })), fZ = /* @__PURE__ */ K(((e) => {
34294
+ })), pZ = /* @__PURE__ */ K(((e) => {
34271
34295
  Object.defineProperty(e, "__esModule", { value: !0 });
34272
- var t = kX(), n = SX(), r = CX(), i = dZ();
34296
+ var t = AX(), n = CX(), r = wX(), i = fZ();
34273
34297
  e.default = {
34274
34298
  keyword: "uniqueItems",
34275
34299
  type: "array",
@@ -34310,9 +34334,9 @@ var bX = /* @__PURE__ */ K(((e) => {
34310
34334
  }
34311
34335
  }
34312
34336
  };
34313
- })), pZ = /* @__PURE__ */ K(((e) => {
34337
+ })), mZ = /* @__PURE__ */ K(((e) => {
34314
34338
  Object.defineProperty(e, "__esModule", { value: !0 });
34315
- var t = SX(), n = CX(), r = dZ();
34339
+ var t = CX(), n = wX(), r = fZ();
34316
34340
  e.default = {
34317
34341
  keyword: "const",
34318
34342
  $data: !0,
@@ -34325,9 +34349,9 @@ var bX = /* @__PURE__ */ K(((e) => {
34325
34349
  o || c && typeof c == "object" ? e.fail$data((0, t._)`!${(0, n.useFunc)(i, r.default)}(${a}, ${s})`) : e.fail((0, t._)`${c} !== ${a}`);
34326
34350
  }
34327
34351
  };
34328
- })), mZ = /* @__PURE__ */ K(((e) => {
34352
+ })), hZ = /* @__PURE__ */ K(((e) => {
34329
34353
  Object.defineProperty(e, "__esModule", { value: !0 });
34330
- var t = SX(), n = CX(), r = dZ();
34354
+ var t = CX(), n = wX(), r = fZ();
34331
34355
  e.default = {
34332
34356
  keyword: "enum",
34333
34357
  schemaType: "array",
@@ -34357,9 +34381,9 @@ var bX = /* @__PURE__ */ K(((e) => {
34357
34381
  }
34358
34382
  }
34359
34383
  };
34360
- })), hZ = /* @__PURE__ */ K(((e) => {
34384
+ })), gZ = /* @__PURE__ */ K(((e) => {
34361
34385
  Object.defineProperty(e, "__esModule", { value: !0 });
34362
- var t = rZ(), n = iZ(), r = oZ(), i = sZ(), a = cZ(), o = lZ(), s = uZ(), c = fZ(), l = pZ(), u = mZ();
34386
+ var t = iZ(), n = aZ(), r = sZ(), i = cZ(), a = lZ(), o = uZ(), s = dZ(), c = pZ(), l = mZ(), u = hZ();
34363
34387
  e.default = [
34364
34388
  t.default,
34365
34389
  n.default,
@@ -34380,9 +34404,9 @@ var bX = /* @__PURE__ */ K(((e) => {
34380
34404
  l.default,
34381
34405
  u.default
34382
34406
  ];
34383
- })), gZ = /* @__PURE__ */ K(((e) => {
34407
+ })), _Z = /* @__PURE__ */ K(((e) => {
34384
34408
  Object.defineProperty(e, "__esModule", { value: !0 }), e.validateAdditionalItems = void 0;
34385
- var t = SX(), n = CX(), r = {
34409
+ var t = CX(), n = wX(), r = {
34386
34410
  keyword: "additionalItems",
34387
34411
  type: "array",
34388
34412
  schemaType: ["boolean", "object"],
@@ -34420,9 +34444,9 @@ var bX = /* @__PURE__ */ K(((e) => {
34420
34444
  }
34421
34445
  }
34422
34446
  e.validateAdditionalItems = i, e.default = r;
34423
- })), _Z = /* @__PURE__ */ K(((e) => {
34447
+ })), vZ = /* @__PURE__ */ K(((e) => {
34424
34448
  Object.defineProperty(e, "__esModule", { value: !0 }), e.validateTuple = void 0;
34425
- var t = SX(), n = CX(), r = jX(), i = {
34449
+ var t = CX(), n = wX(), r = MX(), i = {
34426
34450
  keyword: "items",
34427
34451
  type: "array",
34428
34452
  schemaType: [
@@ -34457,9 +34481,9 @@ var bX = /* @__PURE__ */ K(((e) => {
34457
34481
  }
34458
34482
  }
34459
34483
  e.validateTuple = a, e.default = i;
34460
- })), vZ = /* @__PURE__ */ K(((e) => {
34484
+ })), yZ = /* @__PURE__ */ K(((e) => {
34461
34485
  Object.defineProperty(e, "__esModule", { value: !0 });
34462
- var t = _Z();
34486
+ var t = vZ();
34463
34487
  e.default = {
34464
34488
  keyword: "prefixItems",
34465
34489
  type: "array",
@@ -34467,9 +34491,9 @@ var bX = /* @__PURE__ */ K(((e) => {
34467
34491
  before: "uniqueItems",
34468
34492
  code: (e) => (0, t.validateTuple)(e, "items")
34469
34493
  };
34470
- })), yZ = /* @__PURE__ */ K(((e) => {
34494
+ })), bZ = /* @__PURE__ */ K(((e) => {
34471
34495
  Object.defineProperty(e, "__esModule", { value: !0 });
34472
- var t = SX(), n = CX(), r = jX(), i = gZ();
34496
+ var t = CX(), n = wX(), r = MX(), i = _Z();
34473
34497
  e.default = {
34474
34498
  keyword: "items",
34475
34499
  type: "array",
@@ -34484,9 +34508,9 @@ var bX = /* @__PURE__ */ K(((e) => {
34484
34508
  o.items = !0, !(0, n.alwaysValidSchema)(o, t) && (s ? (0, i.validateAdditionalItems)(e, s) : e.ok((0, r.validateArray)(e)));
34485
34509
  }
34486
34510
  };
34487
- })), bZ = /* @__PURE__ */ K(((e) => {
34511
+ })), xZ = /* @__PURE__ */ K(((e) => {
34488
34512
  Object.defineProperty(e, "__esModule", { value: !0 });
34489
- var t = SX(), n = CX();
34513
+ var t = CX(), n = wX();
34490
34514
  e.default = {
34491
34515
  keyword: "contains",
34492
34516
  type: "array",
@@ -34539,9 +34563,9 @@ var bX = /* @__PURE__ */ K(((e) => {
34539
34563
  }
34540
34564
  }
34541
34565
  };
34542
- })), xZ = /* @__PURE__ */ K(((e) => {
34566
+ })), SZ = /* @__PURE__ */ K(((e) => {
34543
34567
  Object.defineProperty(e, "__esModule", { value: !0 }), e.validateSchemaDeps = e.validatePropertyDeps = e.error = void 0;
34544
- var t = SX(), n = CX(), r = jX();
34568
+ var t = CX(), n = wX(), r = MX();
34545
34569
  e.error = {
34546
34570
  message: ({ params: { property: e, depsCount: n, deps: r } }) => {
34547
34571
  let i = n === 1 ? "property" : "properties";
@@ -34600,9 +34624,9 @@ var bX = /* @__PURE__ */ K(((e) => {
34600
34624
  }, () => i.var(c, !0)), e.ok(c));
34601
34625
  }
34602
34626
  e.validateSchemaDeps = s, e.default = i;
34603
- })), SZ = /* @__PURE__ */ K(((e) => {
34627
+ })), CZ = /* @__PURE__ */ K(((e) => {
34604
34628
  Object.defineProperty(e, "__esModule", { value: !0 });
34605
- var t = SX(), n = CX();
34629
+ var t = CX(), n = wX();
34606
34630
  e.default = {
34607
34631
  keyword: "propertyNames",
34608
34632
  type: "object",
@@ -34628,9 +34652,9 @@ var bX = /* @__PURE__ */ K(((e) => {
34628
34652
  }), e.ok(s);
34629
34653
  }
34630
34654
  };
34631
- })), CZ = /* @__PURE__ */ K(((e) => {
34655
+ })), wZ = /* @__PURE__ */ K(((e) => {
34632
34656
  Object.defineProperty(e, "__esModule", { value: !0 });
34633
- var t = jX(), n = SX(), r = wX(), i = CX();
34657
+ var t = MX(), n = CX(), r = TX(), i = wX();
34634
34658
  e.default = {
34635
34659
  keyword: "additionalProperties",
34636
34660
  type: ["object"],
@@ -34695,9 +34719,9 @@ var bX = /* @__PURE__ */ K(((e) => {
34695
34719
  }
34696
34720
  }
34697
34721
  };
34698
- })), wZ = /* @__PURE__ */ K(((e) => {
34722
+ })), TZ = /* @__PURE__ */ K(((e) => {
34699
34723
  Object.defineProperty(e, "__esModule", { value: !0 });
34700
- var t = LX(), n = jX(), r = CX(), i = CZ();
34724
+ var t = RX(), n = MX(), r = wX(), i = wZ();
34701
34725
  e.default = {
34702
34726
  keyword: "properties",
34703
34727
  type: "object",
@@ -34724,9 +34748,9 @@ var bX = /* @__PURE__ */ K(((e) => {
34724
34748
  }
34725
34749
  }
34726
34750
  };
34727
- })), TZ = /* @__PURE__ */ K(((e) => {
34751
+ })), EZ = /* @__PURE__ */ K(((e) => {
34728
34752
  Object.defineProperty(e, "__esModule", { value: !0 });
34729
- var t = jX(), n = SX(), r = CX(), i = CX();
34753
+ var t = MX(), n = CX(), r = wX(), i = wX();
34730
34754
  e.default = {
34731
34755
  keyword: "patternProperties",
34732
34756
  type: "object",
@@ -34759,9 +34783,9 @@ var bX = /* @__PURE__ */ K(((e) => {
34759
34783
  }
34760
34784
  }
34761
34785
  };
34762
- })), EZ = /* @__PURE__ */ K(((e) => {
34786
+ })), DZ = /* @__PURE__ */ K(((e) => {
34763
34787
  Object.defineProperty(e, "__esModule", { value: !0 });
34764
- var t = CX();
34788
+ var t = wX();
34765
34789
  e.default = {
34766
34790
  keyword: "not",
34767
34791
  schemaType: ["object", "boolean"],
@@ -34782,17 +34806,17 @@ var bX = /* @__PURE__ */ K(((e) => {
34782
34806
  },
34783
34807
  error: { message: "must NOT be valid" }
34784
34808
  };
34785
- })), DZ = /* @__PURE__ */ K(((e) => {
34809
+ })), OZ = /* @__PURE__ */ K(((e) => {
34786
34810
  Object.defineProperty(e, "__esModule", { value: !0 }), e.default = {
34787
34811
  keyword: "anyOf",
34788
34812
  schemaType: "array",
34789
34813
  trackErrors: !0,
34790
- code: jX().validateUnion,
34814
+ code: MX().validateUnion,
34791
34815
  error: { message: "must match a schema in anyOf" }
34792
34816
  };
34793
- })), OZ = /* @__PURE__ */ K(((e) => {
34817
+ })), kZ = /* @__PURE__ */ K(((e) => {
34794
34818
  Object.defineProperty(e, "__esModule", { value: !0 });
34795
- var t = SX(), n = CX();
34819
+ var t = CX(), n = wX();
34796
34820
  e.default = {
34797
34821
  keyword: "oneOf",
34798
34822
  schemaType: "array",
@@ -34822,9 +34846,9 @@ var bX = /* @__PURE__ */ K(((e) => {
34822
34846
  }
34823
34847
  }
34824
34848
  };
34825
- })), kZ = /* @__PURE__ */ K(((e) => {
34849
+ })), AZ = /* @__PURE__ */ K(((e) => {
34826
34850
  Object.defineProperty(e, "__esModule", { value: !0 });
34827
- var t = CX();
34851
+ var t = wX();
34828
34852
  e.default = {
34829
34853
  keyword: "allOf",
34830
34854
  schemaType: "array",
@@ -34843,9 +34867,9 @@ var bX = /* @__PURE__ */ K(((e) => {
34843
34867
  });
34844
34868
  }
34845
34869
  };
34846
- })), AZ = /* @__PURE__ */ K(((e) => {
34870
+ })), jZ = /* @__PURE__ */ K(((e) => {
34847
34871
  Object.defineProperty(e, "__esModule", { value: !0 });
34848
- var t = SX(), n = CX(), r = {
34872
+ var t = CX(), n = wX(), r = {
34849
34873
  keyword: "if",
34850
34874
  schemaType: ["object", "boolean"],
34851
34875
  trackErrors: !0,
@@ -34886,9 +34910,9 @@ var bX = /* @__PURE__ */ K(((e) => {
34886
34910
  return r !== void 0 && !(0, n.alwaysValidSchema)(e, r);
34887
34911
  }
34888
34912
  e.default = r;
34889
- })), jZ = /* @__PURE__ */ K(((e) => {
34913
+ })), MZ = /* @__PURE__ */ K(((e) => {
34890
34914
  Object.defineProperty(e, "__esModule", { value: !0 });
34891
- var t = CX();
34915
+ var t = wX();
34892
34916
  e.default = {
34893
34917
  keyword: ["then", "else"],
34894
34918
  schemaType: ["object", "boolean"],
@@ -34896,9 +34920,9 @@ var bX = /* @__PURE__ */ K(((e) => {
34896
34920
  n.if === void 0 && (0, t.checkStrictMode)(r, `"${e}" without "if" is ignored`);
34897
34921
  }
34898
34922
  };
34899
- })), MZ = /* @__PURE__ */ K(((e) => {
34923
+ })), NZ = /* @__PURE__ */ K(((e) => {
34900
34924
  Object.defineProperty(e, "__esModule", { value: !0 });
34901
- var t = gZ(), n = vZ(), r = _Z(), i = yZ(), a = bZ(), o = xZ(), s = SZ(), c = CZ(), l = wZ(), u = TZ(), d = EZ(), f = DZ(), p = OZ(), m = kZ(), h = AZ(), g = jZ();
34925
+ var t = _Z(), n = yZ(), r = vZ(), i = bZ(), a = xZ(), o = SZ(), s = CZ(), c = wZ(), l = TZ(), u = EZ(), d = DZ(), f = OZ(), p = kZ(), m = AZ(), h = jZ(), g = MZ();
34902
34926
  function _(e = !1) {
34903
34927
  let _ = [
34904
34928
  d.default,
@@ -34916,9 +34940,9 @@ var bX = /* @__PURE__ */ K(((e) => {
34916
34940
  return e ? _.push(n.default, i.default) : _.push(t.default, r.default), _.push(a.default), _;
34917
34941
  }
34918
34942
  e.default = _;
34919
- })), NZ = /* @__PURE__ */ K(((e) => {
34943
+ })), PZ = /* @__PURE__ */ K(((e) => {
34920
34944
  Object.defineProperty(e, "__esModule", { value: !0 });
34921
- var t = SX();
34945
+ var t = CX();
34922
34946
  e.default = {
34923
34947
  keyword: "format",
34924
34948
  type: ["number", "string"],
@@ -34991,9 +35015,9 @@ var bX = /* @__PURE__ */ K(((e) => {
34991
35015
  }
34992
35016
  }
34993
35017
  };
34994
- })), PZ = /* @__PURE__ */ K(((e) => {
34995
- Object.defineProperty(e, "__esModule", { value: !0 }), e.default = [NZ().default];
34996
35018
  })), FZ = /* @__PURE__ */ K(((e) => {
35019
+ Object.defineProperty(e, "__esModule", { value: !0 }), e.default = [PZ().default];
35020
+ })), IZ = /* @__PURE__ */ K(((e) => {
34997
35021
  Object.defineProperty(e, "__esModule", { value: !0 }), e.contentVocabulary = e.metadataVocabulary = void 0, e.metadataVocabulary = [
34998
35022
  "title",
34999
35023
  "description",
@@ -35007,9 +35031,9 @@ var bX = /* @__PURE__ */ K(((e) => {
35007
35031
  "contentEncoding",
35008
35032
  "contentSchema"
35009
35033
  ];
35010
- })), IZ = /* @__PURE__ */ K(((e) => {
35034
+ })), LZ = /* @__PURE__ */ K(((e) => {
35011
35035
  Object.defineProperty(e, "__esModule", { value: !0 });
35012
- var t = nZ(), n = hZ(), r = MZ(), i = PZ(), a = FZ();
35036
+ var t = rZ(), n = gZ(), r = NZ(), i = FZ(), a = IZ();
35013
35037
  e.default = [
35014
35038
  t.default,
35015
35039
  n.default,
@@ -35018,15 +35042,15 @@ var bX = /* @__PURE__ */ K(((e) => {
35018
35042
  a.metadataVocabulary,
35019
35043
  a.contentVocabulary
35020
35044
  ];
35021
- })), LZ = /* @__PURE__ */ K(((e) => {
35045
+ })), RZ = /* @__PURE__ */ K(((e) => {
35022
35046
  Object.defineProperty(e, "__esModule", { value: !0 }), e.DiscrError = void 0;
35023
35047
  var t;
35024
35048
  (function(e) {
35025
35049
  e.Tag = "tag", e.Mapping = "mapping";
35026
35050
  })(t || (e.DiscrError = t = {}));
35027
- })), RZ = /* @__PURE__ */ K(((e) => {
35051
+ })), zZ = /* @__PURE__ */ K(((e) => {
35028
35052
  Object.defineProperty(e, "__esModule", { value: !0 });
35029
- var t = SX(), n = LZ(), r = BX(), i = zX(), a = CX();
35053
+ var t = CX(), n = RZ(), r = VX(), i = BX(), a = wX();
35030
35054
  e.default = {
35031
35055
  keyword: "discriminator",
35032
35056
  type: "object",
@@ -35094,16 +35118,16 @@ var bX = /* @__PURE__ */ K(((e) => {
35094
35118
  }
35095
35119
  }
35096
35120
  };
35097
- })), zZ = /* @__PURE__ */ pt({
35098
- $id: () => VZ,
35099
- $schema: () => BZ,
35100
- default: () => KZ,
35101
- definitions: () => UZ,
35102
- properties: () => GZ,
35103
- title: () => HZ,
35104
- type: () => WZ
35105
- }), BZ, VZ, HZ, UZ, WZ, GZ, KZ, qZ = ft((() => {
35106
- BZ = "http://json-schema.org/draft-07/schema#", VZ = "http://json-schema.org/draft-07/schema#", HZ = "Core schema meta-schema", UZ = {
35121
+ })), BZ = /* @__PURE__ */ pt({
35122
+ $id: () => HZ,
35123
+ $schema: () => VZ,
35124
+ default: () => qZ,
35125
+ definitions: () => WZ,
35126
+ properties: () => KZ,
35127
+ title: () => UZ,
35128
+ type: () => GZ
35129
+ }), VZ, HZ, UZ, WZ, GZ, KZ, qZ, JZ = ft((() => {
35130
+ VZ = "http://json-schema.org/draft-07/schema#", HZ = "http://json-schema.org/draft-07/schema#", UZ = "Core schema meta-schema", WZ = {
35107
35131
  schemaArray: {
35108
35132
  type: "array",
35109
35133
  minItems: 1,
@@ -35129,7 +35153,7 @@ var bX = /* @__PURE__ */ K(((e) => {
35129
35153
  uniqueItems: !0,
35130
35154
  default: []
35131
35155
  }
35132
- }, WZ = ["object", "boolean"], GZ = {
35156
+ }, GZ = ["object", "boolean"], KZ = {
35133
35157
  $id: {
35134
35158
  type: "string",
35135
35159
  format: "uri-reference"
@@ -35228,18 +35252,18 @@ var bX = /* @__PURE__ */ K(((e) => {
35228
35252
  anyOf: { $ref: "#/definitions/schemaArray" },
35229
35253
  oneOf: { $ref: "#/definitions/schemaArray" },
35230
35254
  not: { $ref: "#" }
35231
- }, KZ = {
35232
- $schema: BZ,
35233
- $id: VZ,
35234
- title: HZ,
35235
- definitions: UZ,
35236
- type: WZ,
35237
- properties: GZ,
35255
+ }, qZ = {
35256
+ $schema: VZ,
35257
+ $id: HZ,
35258
+ title: UZ,
35259
+ definitions: WZ,
35260
+ type: GZ,
35261
+ properties: KZ,
35238
35262
  default: !0
35239
35263
  };
35240
- })), JZ = /* @__PURE__ */ K(((e, t) => {
35264
+ })), YZ = /* @__PURE__ */ K(((e, t) => {
35241
35265
  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;
35242
- var n = $X(), r = IZ(), i = RZ(), a = (qZ(), gt(zZ).default), o = ["/properties"], s = "http://json-schema.org/draft-07/schema", c = class extends n.default {
35266
+ var n = eZ(), r = LZ(), i = zZ(), a = (JZ(), gt(BZ).default), o = ["/properties"], s = "http://json-schema.org/draft-07/schema", c = class extends n.default {
35243
35267
  _addVocabularies() {
35244
35268
  super._addVocabularies(), r.default.forEach((e) => this.addVocabulary(e)), this.opts.discriminator && this.addKeyword(i.default);
35245
35269
  }
@@ -35253,14 +35277,14 @@ var bX = /* @__PURE__ */ K(((e) => {
35253
35277
  }
35254
35278
  };
35255
35279
  e.Ajv = c, t.exports = e = c, t.exports.Ajv = c, Object.defineProperty(e, "__esModule", { value: !0 }), e.default = c;
35256
- var l = LX();
35280
+ var l = RX();
35257
35281
  Object.defineProperty(e, "KeywordCxt", {
35258
35282
  enumerable: !0,
35259
35283
  get: function() {
35260
35284
  return l.KeywordCxt;
35261
35285
  }
35262
35286
  });
35263
- var u = SX();
35287
+ var u = CX();
35264
35288
  Object.defineProperty(e, "_", {
35265
35289
  enumerable: !0,
35266
35290
  get: function() {
@@ -35292,21 +35316,21 @@ var bX = /* @__PURE__ */ K(((e) => {
35292
35316
  return u.CodeGen;
35293
35317
  }
35294
35318
  });
35295
- var d = RX();
35319
+ var d = zX();
35296
35320
  Object.defineProperty(e, "ValidationError", {
35297
35321
  enumerable: !0,
35298
35322
  get: function() {
35299
35323
  return d.default;
35300
35324
  }
35301
35325
  });
35302
- var f = zX();
35326
+ var f = BX();
35303
35327
  Object.defineProperty(e, "MissingRefError", {
35304
35328
  enumerable: !0,
35305
35329
  get: function() {
35306
35330
  return f.default;
35307
35331
  }
35308
35332
  });
35309
- })), YZ = /* @__PURE__ */ K(((e) => {
35333
+ })), XZ = /* @__PURE__ */ K(((e) => {
35310
35334
  Object.defineProperty(e, "__esModule", { value: !0 }), e.formatNames = e.fastFormats = e.fullFormats = void 0;
35311
35335
  function t(e, t) {
35312
35336
  return {
@@ -35458,9 +35482,9 @@ var bX = /* @__PURE__ */ K(((e) => {
35458
35482
  return !1;
35459
35483
  }
35460
35484
  }
35461
- })), XZ = /* @__PURE__ */ K(((e) => {
35485
+ })), ZZ = /* @__PURE__ */ K(((e) => {
35462
35486
  Object.defineProperty(e, "__esModule", { value: !0 }), e.formatLimitDefinition = void 0;
35463
- var t = JZ(), n = SX(), r = n.operators, i = {
35487
+ var t = YZ(), n = CX(), r = n.operators, i = {
35464
35488
  formatMaximum: {
35465
35489
  okStr: "<=",
35466
35490
  ok: r.LTE,
@@ -35520,9 +35544,9 @@ var bX = /* @__PURE__ */ K(((e) => {
35520
35544
  },
35521
35545
  dependencies: ["format"]
35522
35546
  }, e.default = (t) => (t.addKeyword(e.formatLimitDefinition), t);
35523
- })), ZZ = /* @__PURE__ */ K(((e, t) => {
35547
+ })), QZ = /* @__PURE__ */ K(((e, t) => {
35524
35548
  Object.defineProperty(e, "__esModule", { value: !0 });
35525
- var n = YZ(), r = XZ(), i = SX(), a = new i.Name("fullFormats"), o = new i.Name("fastFormats"), s = (e, t = { keywords: !0 }) => {
35549
+ var n = XZ(), r = ZZ(), i = CX(), a = new i.Name("fullFormats"), o = new i.Name("fastFormats"), s = (e, t = { keywords: !0 }) => {
35526
35550
  if (Array.isArray(t)) return c(e, t, n.fullFormats, a), e;
35527
35551
  let [i, s] = t.mode === "fast" ? [n.fastFormats, o] : [n.fullFormats, a];
35528
35552
  return c(e, t.formats || n.formatNames, i, s), t.keywords && (0, r.default)(e), e;
@@ -35538,9 +35562,9 @@ var bX = /* @__PURE__ */ K(((e) => {
35538
35562
  for (let r of t) e.addFormat(r, n[r]);
35539
35563
  }
35540
35564
  t.exports = e = s, Object.defineProperty(e, "__esModule", { value: !0 }), e.default = s;
35541
- })), QZ = /* @__PURE__ */ ht(JZ(), 1), $Z = /* @__PURE__ */ ht(ZZ(), 1), eQ = {
35565
+ })), $Z = /* @__PURE__ */ ht(YZ(), 1), eQ = /* @__PURE__ */ ht(QZ(), 1), tQ = {
35542
35566
  required: () => "This field is required",
35543
- type: (e) => `Should be "${nQ(e)}".`,
35567
+ type: (e) => `Should be "${rQ(e)}".`,
35544
35568
  minLength: (e) => e.params.limit === 1 ? "This field must not be empty" : `Should NOT be shorter than ${e.params.limit} characters`,
35545
35569
  maxLength: (e) => `Should NOT be longer than ${e.params.limit} characters`,
35546
35570
  minimum: (e) => `Should be >= ${e.params.limit}`,
@@ -35556,79 +35580,79 @@ var bX = /* @__PURE__ */ K(((e) => {
35556
35580
  format: (e) => `Should be a valid ${e.params.format}`,
35557
35581
  uniqueItemProperties: (e) => `${e.params.propertyName ?? "This field"} must be unique`
35558
35582
  };
35559
- function tQ(e, t) {
35560
- let n = eQ[e.keyword];
35583
+ function nQ(e, t) {
35584
+ let n = tQ[e.keyword];
35561
35585
  return n ? n(e, t) : e.message ?? "Invalid value";
35562
35586
  }
35563
- function nQ(e) {
35587
+ function rQ(e) {
35564
35588
  let t = e.params.type;
35565
35589
  return String(Array.isArray(t) ? t[0] : t);
35566
35590
  }
35567
35591
  //#endregion
35568
35592
  //#region src/composed/JsonSchemaForm/form-bindings/resolveAt.ts
35569
- function rQ(e, t, n) {
35593
+ function iQ(e, t, n) {
35570
35594
  let r = t === "" ? [] : t.split("."), i = e.root, a = n, o = [];
35571
35595
  for (let e of r) {
35572
35596
  if (!i) return {
35573
35597
  node: void 0,
35574
35598
  value: void 0
35575
35599
  };
35576
- i = iQ(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);
35600
+ i = aQ(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);
35577
35601
  }
35578
35602
  return i ? {
35579
- node: aQ(iQ(i, a, n, r), r),
35603
+ node: oQ(aQ(i, a, n, r), r),
35580
35604
  value: a
35581
35605
  } : {
35582
35606
  node: void 0,
35583
35607
  value: a
35584
35608
  };
35585
35609
  }
35586
- function iQ(e, t, n, r) {
35587
- let i = new Map(e.properties), a = e.variants ? sQ(e.variants, t) : void 0;
35610
+ function aQ(e, t, n, r) {
35611
+ let i = new Map(e.properties), a = e.variants ? cQ(e.variants, t) : void 0;
35588
35612
  if (a) for (let [e, t] of a.properties) i.set(e, t);
35589
35613
  let o = [...e.dependencyBranches ?? [], ...a?.dependencyBranches ?? []];
35590
35614
  if (o.length > 0) {
35591
- for (let e of o) if (oQ(e.showIf.$eq, n, r)) for (let [t, n] of e.properties) i.set(t, n);
35615
+ for (let e of o) if (sQ(e.showIf.$eq, n, r)) for (let [t, n] of e.properties) i.set(t, n);
35592
35616
  }
35593
35617
  return i.size > (e.properties?.size ?? 0) ? {
35594
35618
  ...e,
35595
35619
  properties: i
35596
35620
  } : e;
35597
35621
  }
35598
- function aQ(e, t) {
35622
+ function oQ(e, t) {
35599
35623
  return e.displayIf ? {
35600
35624
  ...e,
35601
35625
  displayIf: LJ(e.displayIf, t.join("."))
35602
35626
  } : e;
35603
35627
  }
35604
- function oQ(e, t, n) {
35628
+ function sQ(e, t, n) {
35605
35629
  for (let [r, i] of e) {
35606
35630
  let e = jJ(t, IJ(r, n));
35607
35631
  if (!(Array.isArray(i) ? i : [i]).includes(e)) return !1;
35608
35632
  }
35609
35633
  return !0;
35610
35634
  }
35611
- function sQ(e, t) {
35635
+ function cQ(e, t) {
35612
35636
  if (typeof t != "object" || !t) return;
35613
35637
  let n = t;
35614
35638
  return e.find((e) => e.consts.length > 0 && e.consts.every((e) => Object.is(n[e.key], e.value)));
35615
35639
  }
35616
35640
  //#endregion
35617
35641
  //#region src/composed/JsonSchemaForm/form-bindings/jsonSchemaResolver.ts
35618
- var cQ = new QZ.default({
35642
+ var lQ = new $Z.default({
35619
35643
  strict: !1,
35620
35644
  allErrors: !0
35621
35645
  });
35622
- (0, $Z.default)(cQ);
35623
- for (let e of ["text", "gio-code-editor"]) cQ.addFormat(e, !0);
35624
- cQ.removeKeyword("id"), cQ.addKeyword({
35646
+ (0, eQ.default)(lQ);
35647
+ for (let e of ["text", "gio-code-editor"]) lQ.addFormat(e, !0);
35648
+ lQ.removeKeyword("id"), lQ.addKeyword({
35625
35649
  keyword: "id",
35626
35650
  validate: () => !0
35627
35651
  });
35628
- function lQ(e, t = {}) {
35652
+ function uQ(e, t = {}) {
35629
35653
  let n;
35630
35654
  try {
35631
- n = sX(e);
35655
+ n = cX(e);
35632
35656
  } catch (e) {
35633
35657
  let t = e instanceof Error ? e.message : "Invalid JSON Schema";
35634
35658
  return () => ({
@@ -35641,7 +35665,7 @@ function lQ(e, t = {}) {
35641
35665
  }
35642
35666
  let r = n.root.schema, i = n.variantIndices, a;
35643
35667
  try {
35644
- a = cQ.compile(r);
35668
+ a = lQ.compile(r);
35645
35669
  } catch (e) {
35646
35670
  let t = e instanceof Error ? e.message : "Invalid JSON Schema";
35647
35671
  return () => ({
@@ -35652,15 +35676,15 @@ function lQ(e, t = {}) {
35652
35676
  } }
35653
35677
  });
35654
35678
  }
35655
- cQ.removeSchema(r);
35679
+ lQ.removeSchema(r);
35656
35680
  let o = async (e, t, r) => {
35657
- let o = a(e) ? [] : a.errors ?? [], s = gQ(n.root, e, "", i), c = [...o, ...s];
35681
+ let o = a(e) ? [] : a.errors ?? [], s = _Q(n.root, e, "", i), c = [...o, ...s];
35658
35682
  return c.length === 0 ? {
35659
35683
  values: e,
35660
35684
  errors: {}
35661
35685
  } : {
35662
35686
  values: {},
35663
- errors: pQ(fQ(c.filter((t) => !uQ(t, n, e))), r.criteriaMode ?? "firstError")
35687
+ errors: mQ(pQ(c.filter((t) => !dQ(t, n, e))), r.criteriaMode ?? "firstError")
35664
35688
  };
35665
35689
  };
35666
35690
  if (!t.basePath) return o;
@@ -35676,12 +35700,12 @@ function lQ(e, t = {}) {
35676
35700
  };
35677
35701
  };
35678
35702
  }
35679
- function uQ(e, t, n) {
35680
- let { node: r, value: i } = rQ(t, (e.instancePath ? e.instancePath.slice(1).split("/").map(GJ) : []).join("."), n);
35703
+ function dQ(e, t, n) {
35704
+ let { node: r, value: i } = iQ(t, (e.instancePath ? e.instancePath.slice(1).split("/").map(GJ) : []).join("."), n);
35681
35705
  if (!r) return !1;
35682
35706
  switch (e.keyword) {
35683
35707
  case "const":
35684
- case "enum": return dQ(r.schema, i);
35708
+ case "enum": return fQ(r.schema, i);
35685
35709
  case "required": {
35686
35710
  let t = e.params.missingProperty;
35687
35711
  return typeof t == "string" && !!r.properties && !r.properties.has(t);
@@ -35689,46 +35713,46 @@ function uQ(e, t, n) {
35689
35713
  default: return !1;
35690
35714
  }
35691
35715
  }
35692
- function dQ(e, t) {
35716
+ function fQ(e, t) {
35693
35717
  return e.const === void 0 ? Array.isArray(e.enum) ? e.enum.includes(t) : !1 : Object.is(e.const, t);
35694
35718
  }
35695
- function fQ(e) {
35719
+ function pQ(e) {
35696
35720
  return e.filter((t) => {
35697
35721
  if (t.keyword !== "oneOf" && t.keyword !== "anyOf") return !0;
35698
- let n = mQ(t), r = n === "" ? "" : `${n}.`;
35722
+ let n = hQ(t), r = n === "" ? "" : `${n}.`;
35699
35723
  return !e.some((e) => {
35700
35724
  if (e === t) return !1;
35701
- let i = mQ(e);
35725
+ let i = hQ(e);
35702
35726
  return n === "" ? i !== "" : i.startsWith(r);
35703
35727
  });
35704
35728
  });
35705
35729
  }
35706
- function pQ(e, t) {
35730
+ function mQ(e, t) {
35707
35731
  let n = /* @__PURE__ */ new Map();
35708
35732
  for (let t of e) {
35709
- let e = mQ(t), r = n.get(e) ?? [];
35733
+ let e = hQ(t), r = n.get(e) ?? [];
35710
35734
  r.push(t), n.set(e, r);
35711
35735
  }
35712
35736
  let r = {};
35713
35737
  for (let [e, i] of n) {
35714
35738
  let n = {
35715
35739
  type: i[0].keyword,
35716
- message: tQ(i[0], e)
35740
+ message: nQ(i[0], e)
35717
35741
  };
35718
35742
  if (t === "all" && i.length > 0) {
35719
35743
  let t = {};
35720
- for (let n of i) t[n.keyword] = tQ(n, e);
35744
+ for (let n of i) t[n.keyword] = nQ(n, e);
35721
35745
  n.types = t;
35722
35746
  }
35723
- hQ(r, e === "" ? "root" : e, n);
35747
+ gQ(r, e === "" ? "root" : e, n);
35724
35748
  }
35725
35749
  return r;
35726
35750
  }
35727
- function mQ(e) {
35751
+ function hQ(e) {
35728
35752
  let t = e.instancePath ? e.instancePath.slice(1).split("/").map(GJ) : [];
35729
35753
  return e.keyword === "required" && typeof e.params.missingProperty == "string" && t.push(e.params.missingProperty), t.join(".");
35730
35754
  }
35731
- function hQ(e, t, n) {
35755
+ function gQ(e, t, n) {
35732
35756
  let r = t.split("."), i = e;
35733
35757
  for (let e = 0; e < r.length - 1; e++) {
35734
35758
  let t = r[e];
@@ -35736,7 +35760,7 @@ function hQ(e, t, n) {
35736
35760
  }
35737
35761
  i[r[r.length - 1]] = n;
35738
35762
  }
35739
- function gQ(e, t, n, r) {
35763
+ function _Q(e, t, n, r) {
35740
35764
  if (!e) return [];
35741
35765
  let i = [];
35742
35766
  if (e.schema.gioConfig?.uniqueItemProperties && Array.isArray(t)) for (let r of e.schema.gioConfig.uniqueItemProperties) {
@@ -35753,80 +35777,80 @@ function gQ(e, t, n, r) {
35753
35777
  }
35754
35778
  }
35755
35779
  let a = typeof t == "object" && !!t && !Array.isArray(t);
35756
- if (e.properties && a) for (let [a, o] of e.properties) i.push(...gQ(o, t[a], `${n}/${WJ(a)}`, r));
35780
+ if (e.properties && a) for (let [a, o] of e.properties) i.push(..._Q(o, t[a], `${n}/${WJ(a)}`, r));
35757
35781
  if (e.variants && e.variants.length > 0 && a) {
35758
- let a = t, o = LY(e.variants.map((e) => e.raw), e.rhfPath, r, (e) => a[e]), s = e.variants[o];
35759
- if (s) for (let [e, t] of s.properties) i.push(...gQ(t, a[e], `${n}/${WJ(e)}`, r));
35782
+ let a = t, o = RY(e.variants.map((e) => e.raw), e.rhfPath, r, (e) => a[e]), s = e.variants[o];
35783
+ if (s) for (let [e, t] of s.properties) i.push(..._Q(t, a[e], `${n}/${WJ(e)}`, r));
35760
35784
  }
35761
35785
  return e.items && Array.isArray(t) && t.forEach((t, a) => {
35762
- i.push(...gQ(e.items, t, `${n}/${a}`, r));
35786
+ i.push(..._Q(e.items, t, `${n}/${a}`, r));
35763
35787
  }), i;
35764
35788
  }
35765
35789
  //#endregion
35766
35790
  //#region src/composed/JsonSchemaForm/form-bindings/pruneHiddenValues.ts
35767
- var _Q = /* @__PURE__ */ new WeakMap();
35768
- function vQ(e) {
35769
- let t = _Q.get(e);
35791
+ var vQ = /* @__PURE__ */ new WeakMap();
35792
+ function yQ(e) {
35793
+ let t = vQ.get(e);
35770
35794
  if (t === void 0) {
35771
35795
  try {
35772
- t = sX(e).root;
35796
+ t = cX(e).root;
35773
35797
  } catch {
35774
35798
  t = null;
35775
35799
  }
35776
- _Q.set(e, t);
35800
+ vQ.set(e, t);
35777
35801
  }
35778
35802
  return t;
35779
35803
  }
35780
- function yQ(e, t, n) {
35781
- let r = vQ(e);
35804
+ function bQ(e, t, n) {
35805
+ let r = yQ(e);
35782
35806
  if (!r) return t;
35783
35807
  let i = structuredClone(t);
35784
- for (; bQ(r, i, "", i, n););
35808
+ for (; xQ(r, i, "", i, n););
35785
35809
  return i;
35786
35810
  }
35787
- function bQ(e, t, n, r, i) {
35811
+ function xQ(e, t, n, r, i) {
35788
35812
  if (Array.isArray(t)) {
35789
35813
  let { items: a } = e;
35790
35814
  if (!a) return !1;
35791
35815
  let o = !1;
35792
35816
  return t.forEach((e, t) => {
35793
- bQ(a, e, CQ(n, String(t)), r, i) && (o = !0);
35817
+ xQ(a, e, wQ(n, String(t)), r, i) && (o = !0);
35794
35818
  }), o;
35795
35819
  }
35796
35820
  if (typeof t != "object" || !t) return !1;
35797
- let a = t, { rendered: o, unregistered: s } = xQ(e, a, n, r, i), c = !1;
35821
+ let a = t, { rendered: o, unregistered: s } = SQ(e, a, n, r, i), c = !1;
35798
35822
  for (let e of s) e in a && (delete a[e], c = !0);
35799
35823
  for (let [e, t] of o) {
35800
35824
  if (!(e in a)) continue;
35801
- let o = CQ(n, e);
35802
- t.displayIf && !SQ(t.displayIf, o, r, i) ? (delete a[e], c = !0) : bQ(t, a[e], o, r, i) && (c = !0);
35825
+ let o = wQ(n, e);
35826
+ t.displayIf && !CQ(t.displayIf, o, r, i) ? (delete a[e], c = !0) : xQ(t, a[e], o, r, i) && (c = !0);
35803
35827
  }
35804
35828
  return c;
35805
35829
  }
35806
- function xQ(e, t, n, r, i) {
35830
+ function SQ(e, t, n, r, i) {
35807
35831
  let a = [...e.properties ?? []], o = [...e.dependencyBranches ?? []];
35808
35832
  if (e.variants && e.variants.length > 0) {
35809
- let n = LY(e.variants.map((e) => e.raw), e.rhfPath, void 0, (e) => t[e]), r = e.variants[n];
35833
+ let n = RY(e.variants.map((e) => e.raw), e.rhfPath, void 0, (e) => t[e]), r = e.variants[n];
35810
35834
  r && (a.push(...r.properties), o.push(...r.dependencyBranches ?? []));
35811
35835
  }
35812
35836
  let s = [];
35813
- for (let e of o) SQ(e.showIf, n, r, i) ? a.push(...e.properties) : s.push(...e.properties.keys());
35837
+ for (let e of o) CQ(e.showIf, n, r, i) ? a.push(...e.properties) : s.push(...e.properties.keys());
35814
35838
  let c = new Set(a.map(([e]) => e));
35815
35839
  return {
35816
35840
  rendered: a,
35817
35841
  unregistered: s.filter((e) => !c.has(e))
35818
35842
  };
35819
35843
  }
35820
- function SQ(e, t, n, r) {
35844
+ function CQ(e, t, n, r) {
35821
35845
  let i = LJ(e, t);
35822
35846
  return MJ(i, new Map([...i.$eq.keys()].map((e) => [e, jJ(n, e)])), r);
35823
35847
  }
35824
- function CQ(e, t) {
35848
+ function wQ(e, t) {
35825
35849
  return e ? `${e}.${t}` : t;
35826
35850
  }
35827
35851
  //#endregion
35828
35852
  //#region src/composed/LayoutSlots/LayoutSlotsContext.tsx
35829
- var wQ = {
35853
+ var TQ = {
35830
35854
  navigation: null,
35831
35855
  contextSidebar: null,
35832
35856
  breadcrumbs: [],
@@ -35837,9 +35861,9 @@ var wQ = {
35837
35861
  banner: null,
35838
35862
  bannerSticky: !1,
35839
35863
  footer: null
35840
- }, TQ = Fe(null);
35841
- function EQ({ children: e }) {
35842
- let [t, n] = Ye(wQ), r = ze((e, t) => {
35864
+ }, EQ = Fe(null);
35865
+ function DQ({ children: e }) {
35866
+ let [t, n] = Ye(TQ), r = ze((e, t) => {
35843
35867
  n((n) => ({
35844
35868
  ...n,
35845
35869
  [e]: t
@@ -35851,7 +35875,7 @@ function EQ({ children: e }) {
35851
35875
  }));
35852
35876
  }, []), a = ze((e) => {
35853
35877
  n((t) => {
35854
- let n = Object.fromEntries(e.map((e) => [e, wQ[e]]));
35878
+ let n = Object.fromEntries(e.map((e) => [e, TQ[e]]));
35855
35879
  return {
35856
35880
  ...t,
35857
35881
  ...n
@@ -35868,20 +35892,20 @@ function EQ({ children: e }) {
35868
35892
  i,
35869
35893
  a
35870
35894
  ]);
35871
- return /* @__PURE__ */ W(TQ.Provider, {
35895
+ return /* @__PURE__ */ W(EQ.Provider, {
35872
35896
  value: o,
35873
35897
  children: e
35874
35898
  });
35875
35899
  }
35876
- function DQ() {
35877
- let e = Be(TQ);
35900
+ function OQ() {
35901
+ let e = Be(EQ);
35878
35902
  if (!e) throw Error("useLayoutSlots must be used within a LayoutSlotsProvider.");
35879
35903
  return e;
35880
35904
  }
35881
35905
  //#endregion
35882
35906
  //#region src/composed/LayoutSlots/use-layout-config.ts
35883
- function OQ(e, t = []) {
35884
- let { setSlots: n, resetSlots: r } = DQ();
35907
+ function kQ(e, t = []) {
35908
+ let { setSlots: n, resetSlots: r } = OQ();
35885
35909
  Ge(() => {
35886
35910
  n(e);
35887
35911
  let t = Object.keys(e);
@@ -35896,7 +35920,7 @@ function OQ(e, t = []) {
35896
35920
  }
35897
35921
  //#endregion
35898
35922
  //#region src/composed/PageFocused/PageFocused.tsx
35899
- function kQ({ children: e, className: n, "data-testid": r }) {
35923
+ function AQ({ children: e, className: n, "data-testid": r }) {
35900
35924
  return /* @__PURE__ */ W("div", {
35901
35925
  "data-slot": "page-focused",
35902
35926
  "data-testid": r,
@@ -35904,10 +35928,10 @@ function kQ({ children: e, className: n, "data-testid": r }) {
35904
35928
  children: e
35905
35929
  });
35906
35930
  }
35907
- kQ.displayName = "PageFocused";
35931
+ AQ.displayName = "PageFocused";
35908
35932
  //#endregion
35909
35933
  //#region src/composed/PageHeader/PageHeader.tsx
35910
- function AQ({ title: e, description: n, actions: r, children: i, className: a, "data-testid": o }) {
35934
+ function jQ({ title: e, description: n, actions: r, children: i, className: a, "data-testid": o }) {
35911
35935
  return /* @__PURE__ */ G("header", {
35912
35936
  "data-slot": "page-header",
35913
35937
  "data-testid": o,
@@ -35939,10 +35963,10 @@ function AQ({ title: e, description: n, actions: r, children: i, className: a, "
35939
35963
  }) : null]
35940
35964
  });
35941
35965
  }
35942
- AQ.displayName = "PageHeader";
35966
+ jQ.displayName = "PageHeader";
35943
35967
  //#endregion
35944
35968
  //#region src/composed/SearchField/SearchField.tsx
35945
- function jQ({ ref: e, value: t = "", onValueChange: n, debounceMs: r = 300, className: i, disabled: a, onKeyDown: o, "data-testid": s, ...c }) {
35969
+ function MQ({ ref: e, value: t = "", onValueChange: n, debounceMs: r = 300, className: i, disabled: a, onKeyDown: o, "data-testid": s, ...c }) {
35946
35970
  let [l, u] = Ye(t), d = Je(null), f = Je(t), p = Je(void 0), m = Je(n);
35947
35971
  We(e, () => d.current, []), He(() => {
35948
35972
  m.current = n;
@@ -36002,10 +36026,10 @@ function jQ({ ref: e, value: t = "", onValueChange: n, debounceMs: r = 300, clas
36002
36026
  ]
36003
36027
  });
36004
36028
  }
36005
- jQ.displayName = "SearchField";
36029
+ MQ.displayName = "SearchField";
36006
36030
  //#endregion
36007
36031
  //#region src/composed/TopNavUser/TopNavUser.tsx
36008
- var MQ = [
36032
+ var NQ = [
36009
36033
  {
36010
36034
  value: "light",
36011
36035
  label: "Light"
@@ -36019,7 +36043,7 @@ var MQ = [
36019
36043
  label: "System"
36020
36044
  }
36021
36045
  ];
36022
- function NQ({ name: e, email: n, avatarUrl: r, initials: i, className: a, onSignOut: o }) {
36046
+ function PQ({ name: e, email: n, avatarUrl: r, initials: i, className: a, onSignOut: o }) {
36023
36047
  let s = i ?? e.slice(0, 2).toUpperCase(), { mode: c, setMode: l } = je();
36024
36048
  return /* @__PURE__ */ G(bL, { children: [/* @__PURE__ */ W(SL, {
36025
36049
  asChild: !0,
@@ -36048,7 +36072,7 @@ function NQ({ name: e, email: n, avatarUrl: r, initials: i, className: a, onSign
36048
36072
  /* @__PURE__ */ W(DL, {
36049
36073
  value: c,
36050
36074
  onValueChange: (e) => l(e),
36051
- children: MQ.map((e) => /* @__PURE__ */ W(OL, {
36075
+ children: NQ.map((e) => /* @__PURE__ */ W(OL, {
36052
36076
  value: e.value,
36053
36077
  children: e.label
36054
36078
  }, e.value))
@@ -36061,6 +36085,6 @@ function NQ({ name: e, email: n, avatarUrl: r, initials: i, className: a, onSign
36061
36085
  ]
36062
36086
  })] });
36063
36087
  }
36064
- NQ.displayName = "TopNavUser";
36088
+ PQ.displayName = "TopNavUser";
36065
36089
  //#endregion
36066
- export { Rv as Accordion, Vv as AccordionContent, zv as AccordionItem, Bv as AccordionTrigger, o as Alert, a as AlertAction, f as AlertDescription, D as AlertTitle, IW as AppContextBar, KW as AppLayout, YW as AppSidebar, NW as AppSwitcher, Hv as Avatar, Gv as AvatarBadge, Wv as AvatarFallback, Kv as AvatarGroup, qv as AvatarGroupCount, Uv as AvatarImage, Yv as Badge, nq as BadgeCell, Xv as Breadcrumb, ny as BreadcrumbEllipsis, Qv as BreadcrumbItem, $v as BreadcrumbLink, Zv as BreadcrumbList, ey as BreadcrumbPage, ty as BreadcrumbSeparator, iy as Button, oy as ButtonGroup, cy as ButtonGroupSeparator, sy as ButtonGroupText, TC as Calendar, MC as CalendarDayButton, NC as Card, LC as CardAction, RC as CardContent, IC as CardDescription, zC as CardFooter, PC as CardHeader, FC as CardTitle, BC as Checkbox, VC as Collapsible, UC as CollapsibleContent, HC as CollapsibleTrigger, sj as Combobox, xj as ComboboxChip, bj as ComboboxChips, Sj as ComboboxChipsInput, _j as ComboboxCollection, fj as ComboboxContent, vj as ComboboxEmpty, hj as ComboboxGroup, dj as ComboboxInput, mj as ComboboxItem, gj as ComboboxLabel, pj as ComboboxList, yj as ComboboxSeparator, lj as ComboboxTrigger, cj as ComboboxValue, FF as Command, IF as CommandDialog, zF as CommandEmpty, BF as CommandGroup, LF as CommandInput, HF as CommandItem, RF as CommandList, VF as CommandSeparator, UF as CommandShortcut, rG as ContentHeader, WF as ContextMenu, eI as ContextMenuCheckboxItem, XF as ContextMenuContent, KF as ContextMenuGroup, ZF as ContextMenuItem, nI as ContextMenuLabel, qF as ContextMenuPortal, YF as ContextMenuRadioGroup, tI as ContextMenuRadioItem, rI as ContextMenuSeparator, iI as ContextMenuShortcut, JF as ContextMenuSub, $F as ContextMenuSubContent, QF as ContextMenuSubTrigger, GF as ContextMenuTrigger, ZW as ContextSidebar, QW as ContextToggleButton, iq as CopyableCell, iG as CopyableText, wQ as DEFAULT_SLOTS, qK as DataTable, JK as DataTableColumnHeader, oq as DataTableEmptyState, jK as DataTablePagination, VK as DataTableViewOptions, tq as DateCell, hJ as DatePicker, gJ as DateRangePicker, yJ as DateTimePicker, SJ as DateTimeRangePicker, TF as Dialog, OF as DialogClose, AF as DialogContent, PF as DialogDescription, MF as DialogFooter, jF as DialogHeader, kF as DialogOverlay, DF as DialogPortal, NF as DialogTitle, EF as DialogTrigger, uL as Drawer, pL as DrawerClose, hL as DrawerContent, yL as DrawerDescription, _L as DrawerFooter, gL as DrawerHeader, mL as DrawerOverlay, fL as DrawerPortal, vL as DrawerTitle, dL as DrawerTrigger, bL as DropdownMenu, EL as DropdownMenuCheckboxItem, CL as DropdownMenuContent, wL as DropdownMenuGroup, TL as DropdownMenuItem, kL as DropdownMenuLabel, xL as DropdownMenuPortal, DL as DropdownMenuRadioGroup, OL as DropdownMenuRadioItem, AL as DropdownMenuSeparator, jL as DropdownMenuShortcut, ML as DropdownMenuSub, PL as DropdownMenuSubContent, NL as DropdownMenuSubTrigger, SL as DropdownMenuTrigger, wJ as ElCheatSheetTrigger, FL as Empty, VL as EmptyContent, BL as EmptyDescription, IL as EmptyHeader, RL as EmptyMedia, zL as EmptyTitle, TJ as FacetedFilter, k as Field, w as FieldContent, C as FieldDescription, _ as FieldError, L as FieldGroup, R as FieldLabel, y as FieldLegend, te as FieldSeparator, h as FieldSet, i as FieldTitle, AJ as FileUpload, Fz as FileUploadInput, kJ as FileUploadItem, Iz as HoverCard, Rz as HoverCardContent, Vz as HoverCardDescription, zz as HoverCardHeader, Bz as HoverCardTitle, Lz as HoverCardTrigger, QA as Input, $A as InputGroup, tj as InputGroupAddon, rj as InputGroupButton, aj as InputGroupInput, ij as InputGroupText, oj as InputGroupTextarea, Gz as Item, Zz as ItemActions, Jz as ItemContent, Xz as ItemDescription, $z as ItemFooter, Hz as ItemGroup, Qz as ItemHeader, qz as ItemMedia, Uz as ItemSeparator, Yz as ItemTitle, vX as JsonSchemaForm, eB as Kbd, tB as KbdGroup, ee as Label, EQ as LayoutSlotsProvider, iB as Logo, rq as MonoCell, kQ as PageFocused, AQ as PageHeader, aB as Pagination, oB as PaginationContent, dB as PaginationEllipsis, sB as PaginationItem, cB as PaginationLink, uB as PaginationNext, lB as PaginationPrevious, KY as PasswordInput, fB as Popover, hB as PopoverAnchor, mB as PopoverContent, vB as PopoverDescription, gB as PopoverHeader, _B as PopoverTitle, pB as PopoverTrigger, vt as PortalContainerProvider, yB as Progress, xB as Prose, SB as RadioGroup, CB as RadioGroupItem, xH as ResizableHandle, bH as ResizablePanel, yH as ResizablePanelGroup, SH as ScrollArea, CH as ScrollBar, jQ as SearchField, wH as Select, OH as SelectContent, TH as SelectGroup, AH as SelectItem, kH as SelectLabel, NH as SelectScrollDownButton, MH as SelectScrollUpButton, jH as SelectSeparator, DH as SelectTrigger, EH as SelectValue, PW as SelectorDropdown, FW as SelectorTriggerButton, g as Separator, PH as Sheet, IH as SheetClose, zH as SheetContent, UH as SheetDescription, VH as SheetFooter, BH as SheetHeader, HH as SheetTitle, FH as SheetTrigger, cU as Sidebar, gU as SidebarContent, mU as SidebarFooter, _U as SidebarGroup, yU as SidebarGroupAction, bU as SidebarGroupContent, vU as SidebarGroupLabel, pU as SidebarHeader, fU as SidebarInput, dU as SidebarInset, xU as SidebarMenu, TU as SidebarMenuAction, EU as SidebarMenuBadge, wU as SidebarMenuButton, SU as SidebarMenuItem, DU as SidebarMenuSkeleton, OU as SidebarMenuSub, AU as SidebarMenuSubButton, kU as SidebarMenuSubItem, WW as SidebarModeControl, HW as SidebarModeProvider, XW as SidebarNavigation, sU as SidebarProvider, uU as SidebarRail, hU as SidebarSeparator, lU as SidebarTrigger, eG as SidebarUpgradeFooter, n as Skeleton, uW as Spinner, dW as Switch, fW as Table, mW as TableBody, yW as TableCaption, vW as TableCell, hW as TableFooter, _W as TableHead, pW as TableHeader, gW as TableRow, bW as Tabs, wW as TabsContent, SW as TabsList, CW as TabsTrigger, e as Textarea, Me as ThemeProvider, lW as Toaster, EW as Toggle, OW as ToggleGroup, kW as ToggleGroupItem, GH as Tooltip, qH as TooltipContent, WH as TooltipProvider, KH as TooltipTrigger, NQ as TopNavUser, aq as TruncatedCell, r as alertVariants, Jv as badgeVariants, aG as buildLinearBreadcrumbs, ay as buttonGroupVariants, ry as buttonVariants, t as cn, yX as composeResolvers, rY as extractDefaults, lQ as jsonSchemaResolver, rB as logoVariants, yQ as pruneHiddenValues, xW as tabsListVariants, qU as toast, TW as toggleVariants, Cj as useComboboxAnchor, bt as useDebouncedValue, OQ as useLayoutConfig, DQ as useLayoutSlots, yt as usePortalContainer, oU as useSidebar, zW as useSidebarMode, je as useTheme };
36090
+ export { Rv as Accordion, Vv as AccordionContent, zv as AccordionItem, Bv as AccordionTrigger, o as Alert, a as AlertAction, f as AlertDescription, D as AlertTitle, IW as AppContextBar, KW as AppLayout, YW as AppSidebar, NW as AppSwitcher, Hv as Avatar, Gv as AvatarBadge, Wv as AvatarFallback, Kv as AvatarGroup, qv as AvatarGroupCount, Uv as AvatarImage, Yv as Badge, nq as BadgeCell, Xv as Breadcrumb, ny as BreadcrumbEllipsis, Qv as BreadcrumbItem, $v as BreadcrumbLink, Zv as BreadcrumbList, ey as BreadcrumbPage, ty as BreadcrumbSeparator, iy as Button, oy as ButtonGroup, cy as ButtonGroupSeparator, sy as ButtonGroupText, TC as Calendar, MC as CalendarDayButton, NC as Card, LC as CardAction, RC as CardContent, IC as CardDescription, zC as CardFooter, PC as CardHeader, FC as CardTitle, BC as Checkbox, VC as Collapsible, UC as CollapsibleContent, HC as CollapsibleTrigger, sj as Combobox, xj as ComboboxChip, bj as ComboboxChips, Sj as ComboboxChipsInput, _j as ComboboxCollection, fj as ComboboxContent, vj as ComboboxEmpty, hj as ComboboxGroup, dj as ComboboxInput, mj as ComboboxItem, gj as ComboboxLabel, pj as ComboboxList, yj as ComboboxSeparator, lj as ComboboxTrigger, cj as ComboboxValue, FF as Command, IF as CommandDialog, zF as CommandEmpty, BF as CommandGroup, LF as CommandInput, HF as CommandItem, RF as CommandList, VF as CommandSeparator, UF as CommandShortcut, rG as ContentHeader, WF as ContextMenu, eI as ContextMenuCheckboxItem, XF as ContextMenuContent, KF as ContextMenuGroup, ZF as ContextMenuItem, nI as ContextMenuLabel, qF as ContextMenuPortal, YF as ContextMenuRadioGroup, tI as ContextMenuRadioItem, rI as ContextMenuSeparator, iI as ContextMenuShortcut, JF as ContextMenuSub, $F as ContextMenuSubContent, QF as ContextMenuSubTrigger, GF as ContextMenuTrigger, ZW as ContextSidebar, QW as ContextToggleButton, iq as CopyableCell, iG as CopyableText, TQ as DEFAULT_SLOTS, qK as DataTable, JK as DataTableColumnHeader, oq as DataTableEmptyState, jK as DataTablePagination, VK as DataTableViewOptions, tq as DateCell, hJ as DatePicker, gJ as DateRangePicker, yJ as DateTimePicker, SJ as DateTimeRangePicker, TF as Dialog, OF as DialogClose, AF as DialogContent, PF as DialogDescription, MF as DialogFooter, jF as DialogHeader, kF as DialogOverlay, DF as DialogPortal, NF as DialogTitle, EF as DialogTrigger, uL as Drawer, pL as DrawerClose, hL as DrawerContent, yL as DrawerDescription, _L as DrawerFooter, gL as DrawerHeader, mL as DrawerOverlay, fL as DrawerPortal, vL as DrawerTitle, dL as DrawerTrigger, bL as DropdownMenu, EL as DropdownMenuCheckboxItem, CL as DropdownMenuContent, wL as DropdownMenuGroup, TL as DropdownMenuItem, kL as DropdownMenuLabel, xL as DropdownMenuPortal, DL as DropdownMenuRadioGroup, OL as DropdownMenuRadioItem, AL as DropdownMenuSeparator, jL as DropdownMenuShortcut, ML as DropdownMenuSub, PL as DropdownMenuSubContent, NL as DropdownMenuSubTrigger, SL as DropdownMenuTrigger, wJ as ElCheatSheetTrigger, FL as Empty, VL as EmptyContent, BL as EmptyDescription, IL as EmptyHeader, RL as EmptyMedia, zL as EmptyTitle, TJ as FacetedFilter, k as Field, w as FieldContent, C as FieldDescription, _ as FieldError, L as FieldGroup, R as FieldLabel, y as FieldLegend, te as FieldSeparator, h as FieldSet, i as FieldTitle, AJ as FileUpload, Fz as FileUploadInput, kJ as FileUploadItem, Iz as HoverCard, Rz as HoverCardContent, Vz as HoverCardDescription, zz as HoverCardHeader, Bz as HoverCardTitle, Lz as HoverCardTrigger, QA as Input, $A as InputGroup, tj as InputGroupAddon, rj as InputGroupButton, aj as InputGroupInput, ij as InputGroupText, oj as InputGroupTextarea, Gz as Item, Zz as ItemActions, Jz as ItemContent, Xz as ItemDescription, $z as ItemFooter, Hz as ItemGroup, Qz as ItemHeader, qz as ItemMedia, Uz as ItemSeparator, Yz as ItemTitle, yX as JsonSchemaForm, eB as Kbd, tB as KbdGroup, ee as Label, DQ as LayoutSlotsProvider, iB as Logo, rq as MonoCell, AQ as PageFocused, jQ as PageHeader, aB as Pagination, oB as PaginationContent, dB as PaginationEllipsis, sB as PaginationItem, cB as PaginationLink, uB as PaginationNext, lB as PaginationPrevious, qY as PasswordInput, fB as Popover, hB as PopoverAnchor, mB as PopoverContent, vB as PopoverDescription, gB as PopoverHeader, _B as PopoverTitle, pB as PopoverTrigger, vt as PortalContainerProvider, yB as Progress, xB as Prose, SB as RadioGroup, CB as RadioGroupItem, xH as ResizableHandle, bH as ResizablePanel, yH as ResizablePanelGroup, SH as ScrollArea, CH as ScrollBar, MQ as SearchField, wH as Select, OH as SelectContent, TH as SelectGroup, AH as SelectItem, kH as SelectLabel, NH as SelectScrollDownButton, MH as SelectScrollUpButton, jH as SelectSeparator, DH as SelectTrigger, EH as SelectValue, PW as SelectorDropdown, FW as SelectorTriggerButton, g as Separator, PH as Sheet, IH as SheetClose, zH as SheetContent, UH as SheetDescription, VH as SheetFooter, BH as SheetHeader, HH as SheetTitle, FH as SheetTrigger, cU as Sidebar, gU as SidebarContent, mU as SidebarFooter, _U as SidebarGroup, yU as SidebarGroupAction, bU as SidebarGroupContent, vU as SidebarGroupLabel, pU as SidebarHeader, fU as SidebarInput, dU as SidebarInset, xU as SidebarMenu, TU as SidebarMenuAction, EU as SidebarMenuBadge, wU as SidebarMenuButton, SU as SidebarMenuItem, DU as SidebarMenuSkeleton, OU as SidebarMenuSub, AU as SidebarMenuSubButton, kU as SidebarMenuSubItem, WW as SidebarModeControl, HW as SidebarModeProvider, XW as SidebarNavigation, sU as SidebarProvider, uU as SidebarRail, hU as SidebarSeparator, lU as SidebarTrigger, eG as SidebarUpgradeFooter, n as Skeleton, uW as Spinner, dW as Switch, fW as Table, mW as TableBody, yW as TableCaption, vW as TableCell, hW as TableFooter, _W as TableHead, pW as TableHeader, gW as TableRow, bW as Tabs, wW as TabsContent, SW as TabsList, CW as TabsTrigger, e as Textarea, Me as ThemeProvider, lW as Toaster, EW as Toggle, OW as ToggleGroup, kW as ToggleGroupItem, GH as Tooltip, qH as TooltipContent, WH as TooltipProvider, KH as TooltipTrigger, PQ as TopNavUser, aq as TruncatedCell, r as alertVariants, Jv as badgeVariants, aG as buildLinearBreadcrumbs, ay as buttonGroupVariants, ry as buttonVariants, t as cn, bX as composeResolvers, rY as extractDefaults, uQ as jsonSchemaResolver, rB as logoVariants, bQ as pruneHiddenValues, xW as tabsListVariants, qU as toast, TW as toggleVariants, Cj as useComboboxAnchor, bt as useDebouncedValue, kQ as useLayoutConfig, OQ as useLayoutSlots, yt as usePortalContainer, oU as useSidebar, zW as useSidebarMode, je as useTheme };