@oomol-lab/open-flow 0.1.0-beta.10 → 0.1.0-beta.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. package/dist/browser/DesignerIcon-ckcKnxxJ.js +2267 -0
  2. package/dist/browser/createResourceDialog-2pESP2wA.js +111 -0
  3. package/dist/browser/{dist-meg_oHVR.js → dist-BZ5PTFAs.js} +335 -335
  4. package/dist/browser/dist-Bmb2mZvW.js +795 -0
  5. package/dist/browser/{dist-Cc0y2Pli.js → dist-Ce71Szg7.js} +622 -622
  6. package/dist/browser/dist-DSe6KRsr.js +1224 -0
  7. package/dist/browser/{dist-Dg_VXC8f.js → dist-DY4qlXTK.js} +134 -134
  8. package/dist/browser/{esm-yhVU_KbQ.js → esm-BPZ0P6x4.js} +59 -59
  9. package/dist/browser/flow-authoring-node.d.ts +11 -4
  10. package/dist/browser/flow-authoring.d.ts +1 -1
  11. package/dist/browser/flow-authoring.js +5032 -275
  12. package/dist/browser/flow-change-schema.d.ts +6 -0
  13. package/dist/browser/flow-change.d.ts +21 -8
  14. package/dist/browser/flow-change.js +5048 -155
  15. package/dist/browser/{flowChanges-B2ttnaj9.js → flowChanges-CHPdBmZb.js} +4433 -3786
  16. package/dist/browser/{flowRunInputEditorStore-DDidwd8h.js → flowRunInputEditorStore-NPGePkvP.js} +679 -689
  17. package/dist/browser/flowWorkspace-BLGcgnHj.js +158418 -0
  18. package/dist/browser/{getPseudoElementBounds-5LArT6Xc.js → getPseudoElementBounds-Dfqo78k7.js} +691 -687
  19. package/dist/browser/host-conformance.d.ts +7 -0
  20. package/dist/browser/host-conformance.js +33 -0
  21. package/dist/browser/{languages-DgJehE1g.js → languages-i3Xmpt6S.js} +6 -15
  22. package/dist/browser/licenses.md +82 -0
  23. package/dist/browser/{markdownContent-DUfLdnUt.js → markdownContent-BawLYUjh.js} +23 -23
  24. package/dist/browser/select-Dn3vpjGC.js +6872 -0
  25. package/dist/browser/theme.css +34 -34
  26. package/dist/browser/{typeScriptSession-_TgJ_7Oq.js → typeScriptSession-BoV-FDl3.js} +257 -257
  27. package/dist/browser/waitNotificationInputs-BFbQUOyp.js +29 -0
  28. package/dist/browser/workbench-contract.d.ts +8 -2
  29. package/dist/browser/workbench.css +1 -1
  30. package/dist/browser/workbench.js +1277 -1021
  31. package/dist/browser/workbenchSelect-DzF8oik9.js +435 -0
  32. package/dist/common/control-api-conformance.d.ts +6 -0
  33. package/dist/common/control-api-conformance.js +300 -85
  34. package/dist/common/control-api.d.ts +37 -10
  35. package/dist/common/control-api.js +5199 -437
  36. package/dist/common/control-requests.d.ts +68 -0
  37. package/dist/common/control-requests.js +4913 -0
  38. package/dist/common/engine-contract.d.ts +1 -1
  39. package/dist/common/flow-encoding.d.ts +3 -1
  40. package/dist/common/flow-encoding.js +4761 -63
  41. package/dist/common/flow-graph.d.ts +6 -0
  42. package/dist/common/flow-json.d.ts +2 -0
  43. package/dist/common/flow-modules.d.ts +20 -0
  44. package/dist/common/flow-schema.d.ts +8 -0
  45. package/dist/common/flow-semantics.d.ts +6 -5
  46. package/dist/common/flow-semantics.js +14641 -9800
  47. package/dist/common/integration-trigger.d.ts +1 -0
  48. package/dist/common/mcp-conformance.d.ts +2 -0
  49. package/dist/common/mcp.d.ts +545 -0
  50. package/dist/common/mcp.js +4964 -0
  51. package/dist/common/run-events.d.ts +2 -2
  52. package/dist/common/run-events.js +8 -15
  53. package/dist/common/runtime-contract.d.ts +9 -1
  54. package/dist/common/runtime-contract.js +137 -27
  55. package/dist/common/scheduler.d.ts +11 -33
  56. package/dist/common/scheduler.js +7241 -428
  57. package/dist/index.d.ts +5 -5
  58. package/package.json +13 -1
  59. package/dist/browser/DesignerIcon-DjgOMYI5.js +0 -2065
  60. package/dist/browser/createResourceDialog-DNBueSYZ.js +0 -505
  61. package/dist/browser/dist-BMRLCebL.js +0 -1893
  62. package/dist/browser/flowWorkspace-Dr8-Hut9.js +0 -45541
  63. package/dist/browser/icons-KIOgjHpD.js +0 -730
  64. package/dist/browser/waitNotificationInputs-BPulOxYt.js +0 -26
  65. package/dist/browser/workbenchSelect-CbXrdwxW.js +0 -1375
@@ -1,6 +1,6 @@
1
1
  import { a as e, n as t, o as n, r, t as i } from "./rolldown-runtime-CEFd7nDs.js";
2
2
  import { a, c as o, f as s, i as c, n as l, r as u, t as d, u as f } from "./dist-C46JByB-.js";
3
- import { o as p, r as m } from "./languages-DgJehE1g.js";
3
+ import { a as p, n as m } from "./languages-i3Xmpt6S.js";
4
4
  import { a as h, c as g, i as _, n as v, o as y, r as b, t as x } from "./dist-CP0883sY.js";
5
5
  //#region ../../node_modules/.bun/@wopjs+disposable@0.1.24/node_modules/@wopjs/disposable/dist/index.mjs
6
6
  var S = (e) => !!(e && e.constructor && e.call && e.apply), C = (e) => S(e) || S(e?.dispose);
@@ -17,7 +17,7 @@ function E() {
17
17
  function t() {
18
18
  e ||= (e = 1, t._disposables_ = t._disposables_?.forEach(w));
19
19
  }
20
- return t.dispose = t, t.keys = k, t.size = N, t.has = O, t.set = M, t.make = A, t.remove = j, t.flush = D, t;
20
+ return t.dispose = t, t.keys = k, t.size = ee, t.has = O, t.set = M, t.make = A, t.remove = j, t.flush = D, t;
21
21
  }
22
22
  function D(e) {
23
23
  w(e == null ? this : this.remove(e));
@@ -39,93 +39,93 @@ function j(e) {
39
39
  function M(e, t) {
40
40
  return this.flush(e), T(t) && t.abortable(() => this.remove(e)), (this._disposables_ ??= /* @__PURE__ */ new Map()).set(e, t), t;
41
41
  }
42
- function N() {
42
+ function ee() {
43
43
  return this._disposables_?.size || 0;
44
44
  }
45
- function P(e) {
45
+ function N(e) {
46
46
  function t() {
47
47
  let { current: e } = t;
48
48
  e && (t.current = null, w(e));
49
49
  }
50
- return t.current = e, t.dispose = t, t.is = ee, t.set = ne, t.make = F, t.remove = te, t.flush = t, t;
50
+ return t.current = e, t.dispose = t, t.is = te, t.set = re, t.make = P, t.remove = ne, t.flush = t, t;
51
51
  }
52
- function ee(e) {
52
+ function te(e) {
53
53
  return Object.is(this.current, e);
54
54
  }
55
- function F(e) {
55
+ function P(e) {
56
56
  let t = e();
57
57
  if (t) return this.set(t);
58
58
  }
59
- function te() {
59
+ function ne() {
60
60
  let e = !!this.current;
61
61
  return this.current = null, e;
62
62
  }
63
- function ne(e) {
63
+ function re(e) {
64
64
  return (!e || !this.is(e)) && (this.flush(), this.current = e, T(e) && e.abortable(() => {
65
65
  this.is(e) && this.remove();
66
66
  })), e;
67
67
  }
68
- function I(e) {
68
+ function F(e) {
69
69
  let t;
70
70
  function n() {
71
71
  t ||= (t = 1, n._disposables_ = n._disposables_?.forEach(w));
72
72
  }
73
- return n.dispose = n, n.size = le, n.has = oe, n.add = ie, n.make = se, n.remove = ce, n.flush = ae, e && n.add(e), n;
74
- }
75
- function re(e) {
76
- this._disposables_?.has(e) || ((this._disposables_ ??= /* @__PURE__ */ new Set()).add(e), T(e) && e.abortable(ce.bind(this, e)));
73
+ return n.dispose = n, n.size = ue, n.has = se, n.add = ae, n.make = ce, n.remove = le, n.flush = oe, e && n.add(e), n;
77
74
  }
78
75
  function ie(e) {
79
- return Array.isArray(e) ? e.forEach(re, this) : re.call(this, e), e;
76
+ this._disposables_?.has(e) || ((this._disposables_ ??= /* @__PURE__ */ new Set()).add(e), T(e) && e.abortable(le.bind(this, e)));
80
77
  }
81
78
  function ae(e) {
82
- w(e ? this.remove(e) && e : this);
79
+ return Array.isArray(e) ? e.forEach(ie, this) : ie.call(this, e), e;
83
80
  }
84
81
  function oe(e) {
85
- return !!this._disposables_?.has(e);
82
+ w(e ? this.remove(e) && e : this);
86
83
  }
87
84
  function se(e) {
85
+ return !!this._disposables_?.has(e);
86
+ }
87
+ function ce(e) {
88
88
  let t = e();
89
89
  return t && this.add(t);
90
90
  }
91
- function ce(e) {
91
+ function le(e) {
92
92
  return !!this._disposables_?.delete(e);
93
93
  }
94
- function le() {
94
+ function ue() {
95
95
  return this._disposables_?.size || 0;
96
96
  }
97
97
  //#endregion
98
98
  //#region ../../node_modules/.bun/@wopjs+event@0.1.5/node_modules/@wopjs/event/dist/index.mjs
99
- var ue = /* @__PURE__ */ Symbol.for("send"), de = (e, t) => {
99
+ var de = /* @__PURE__ */ Symbol.for("send"), fe = (e, t) => {
100
100
  try {
101
101
  e(t);
102
102
  } catch (e) {
103
103
  console.error(e);
104
104
  }
105
105
  };
106
- function fe(e) {
107
- if (process.env.NODE_ENV !== "production" && this.a && (console.error(/* @__PURE__ */ Error("[@wopjs/event:dev] Cannot send. Already disposed.")), console.error(this.a)), this._m) for (let t of this._l) de(t, e);
108
- else this._l && de(this._l, e);
106
+ function pe(e) {
107
+ if (process.env.NODE_ENV !== "production" && this.a && (console.error(/* @__PURE__ */ Error("[@wopjs/event:dev] Cannot send. Already disposed.")), console.error(this.a)), this._m) for (let t of this._l) fe(t, e);
108
+ else this._l && fe(this._l, e);
109
109
  }
110
- function pe() {
110
+ function me() {
111
111
  return this._l ? this._m ? this._l.size : 1 : 0;
112
112
  }
113
- function me(e) {
113
+ function he(e) {
114
114
  return this._l ? this._m ? this._l.add(e) : (this._l = /* @__PURE__ */ new Set([this._l, e]), this._m = !0) : this._l = e, () => this.off(e);
115
115
  }
116
- function he(e) {
116
+ function ge(e) {
117
117
  let t = !1;
118
118
  return e ? this._m ? t = this._l.delete(e) : (t = this._l === e) && (this._l = null) : (t = this.size() > 0) && (this._l = null, this._m = !1), t;
119
119
  }
120
- function ge() {
120
+ function _e() {
121
121
  process.env.NODE_ENV !== "production" && (this.a = /* @__PURE__ */ Error("[@wopjs/event:dev] Disposed at:")), this.off();
122
122
  }
123
- var _e = () => {
123
+ var ve = () => {
124
124
  function e(t) {
125
125
  return e.on(t);
126
126
  }
127
- return e.size = pe, e.on = me, e.off = he, e.dispose = ge, e[ue] = fe, e;
128
- }, ve = (e, t) => e?.[ue]?.(t), ye = /* @__PURE__ */ Symbol.for("$NONE$ "), be = /* @__PURE__ */ Symbol.for("$TSUR_SPECIES$ "), xe = 1, Se = 2, L = class e {
127
+ return e.size = me, e.on = he, e.off = ge, e.dispose = _e, e[de] = pe, e;
128
+ }, ye = (e, t) => e?.[de]?.(t), be = /* @__PURE__ */ Symbol.for("$NONE$ "), xe = /* @__PURE__ */ Symbol.for("$TSUR_SPECIES$ "), Se = 1, Ce = 2, I = class e {
129
129
  static Ok(t) {
130
130
  return Object.freeze(new e(t, !0));
131
131
  }
@@ -150,12 +150,12 @@ var _e = () => {
150
150
  }
151
151
  }
152
152
  static isResult(e) {
153
- return !!e && e[be] === Se;
153
+ return !!e && e[xe] === Ce;
154
154
  }
155
155
  static isSame(t, n) {
156
156
  return e.isResult(t) && e.isResult(n) ? Object.is(t._value, n._value) : !1;
157
157
  }
158
- [be] = Se;
158
+ [xe] = Ce;
159
159
  _value;
160
160
  _ok;
161
161
  constructor(e, t) {
@@ -201,13 +201,13 @@ var _e = () => {
201
201
  return this._ok ? this : e.Err(t.call(n, this._value));
202
202
  }
203
203
  transpose() {
204
- return this._ok ? Te.isOption(this._value) ? this._value.map(e.Ok) : Te.Some(this) : Te.None;
204
+ return this._ok ? L.isOption(this._value) ? this._value.map(e.Ok) : L.Some(this) : L.None;
205
205
  }
206
206
  ok() {
207
- return this._ok ? Te.Some(this._value) : Te.None;
207
+ return this._ok ? L.Some(this._value) : L.None;
208
208
  }
209
209
  err() {
210
- return this._ok ? Te.None : Te.Some(this._value);
210
+ return this._ok ? L.None : L.Some(this._value);
211
211
  }
212
212
  unwrap(e = "called `Result.unwrap()` on an `Err`") {
213
213
  if (this._ok) return this._value;
@@ -235,16 +235,16 @@ var _e = () => {
235
235
  toString() {
236
236
  return `${this._ok ? "Ok" : "Err"}(${this._value})`;
237
237
  }
238
- }, Ce = L.Ok, we = L.Err, Te = class e {
238
+ }, we = I.Ok, Te = I.Err, L = class e {
239
239
  static Some(t) {
240
240
  return Object.freeze(new e(t));
241
241
  }
242
- static None = /* @__PURE__ */ e.Some(ye);
242
+ static None = /* @__PURE__ */ e.Some(be);
243
243
  static from(t, n, r) {
244
244
  return (n ? n.call(r, t) : t) ? e.Some(t) : e.None;
245
245
  }
246
246
  static isOption(e) {
247
- return !!e && e[be] === xe;
247
+ return !!e && e[xe] === Se;
248
248
  }
249
249
  static isSame(t, n) {
250
250
  return e.isOption(t) && e.isOption(n) ? Object.is(t._value, n._value) : !1;
@@ -252,7 +252,7 @@ var _e = () => {
252
252
  static unwrapOr(t) {
253
253
  return e.isOption(t) ? t.unwrapOr() : t;
254
254
  }
255
- [be] = xe;
255
+ [xe] = Se;
256
256
  _value;
257
257
  constructor(e) {
258
258
  this._value = e;
@@ -261,10 +261,10 @@ var _e = () => {
261
261
  this.isSome() && (yield this._value);
262
262
  }
263
263
  isSome() {
264
- return this._value !== ye;
264
+ return this._value !== be;
265
265
  }
266
266
  isNone() {
267
- return this._value === ye;
267
+ return this._value === be;
268
268
  }
269
269
  isSomeAnd(e, t) {
270
270
  return this.isSome() && e.call(t, this._value);
@@ -306,13 +306,13 @@ var _e = () => {
306
306
  return this.isSome() ? e.Some(t.call(n, this._value)) : e.None;
307
307
  }
308
308
  transpose() {
309
- return this.isSome() ? L.isResult(this._value) ? this._value.map(e.Some) : L.Ok(this) : L.Ok(e.None);
309
+ return this.isSome() ? I.isResult(this._value) ? this._value.map(e.Some) : I.Ok(this) : I.Ok(e.None);
310
310
  }
311
311
  okOr(e) {
312
- return this.isSome() ? L.Ok(this._value) : L.Err(e);
312
+ return this.isSome() ? I.Ok(this._value) : I.Err(e);
313
313
  }
314
314
  okOrElse(e, t) {
315
- return this.isSome() ? L.Ok(this._value) : L.Err(e.call(t));
315
+ return this.isSome() ? I.Ok(this._value) : I.Err(e.call(t));
316
316
  }
317
317
  unwrap(e = "called `Option.unwrap()` on a `None` value") {
318
318
  if (this.isSome()) return this._value;
@@ -332,39 +332,39 @@ var _e = () => {
332
332
  }
333
333
  };
334
334
  Array.isArray;
335
- var Ee = (e) => !!e && e.constructor === Object, De = (e) => {
335
+ var Ee = (e) => {
336
336
  try {
337
337
  return Number(e) === e;
338
338
  } catch {
339
339
  return !1;
340
340
  }
341
- }, Oe = (e) => Object.prototype.toString.call(e) === "[object Date]", ke = (e, t) => {
341
+ }, De = (e) => Object.prototype.toString.call(e) === "[object Date]", Oe = (e, t) => {
342
342
  if (Object.is(e, t)) return !0;
343
343
  if (e instanceof Date && t instanceof Date) return e.getTime() === t.getTime();
344
344
  if (e instanceof RegExp && t instanceof RegExp) return e.toString() === t.toString();
345
345
  if (typeof e != "object" || !e || typeof t != "object" || !t) return !1;
346
346
  let n = Reflect.ownKeys(e), r = Reflect.ownKeys(t);
347
347
  if (n.length !== r.length) return !1;
348
- for (let r = 0; r < n.length; r++) if (!Reflect.has(t, n[r]) || !ke(e[n[r]], t[n[r]])) return !1;
348
+ for (let r = 0; r < n.length; r++) if (!Reflect.has(t, n[r]) || !Oe(e[n[r]], t[n[r]])) return !1;
349
349
  return !0;
350
- }, Ae = (e) => e === "__proto__", je = (e, t, n) => t + e * (n - t), Me = (e) => e;
351
- function Ne(e, t) {
350
+ }, ke = (e) => e === "__proto__", Ae = (e, t, n) => t + e * (n - t), je = (e) => e;
351
+ function Me(e, t) {
352
352
  let n = e.findIndex(t);
353
353
  return n >= 0 ? n : e.length;
354
354
  }
355
- var R = /*#__PURE__*/ Object.freeze({ equal: ke }), Pe = {
355
+ var R = /*#__PURE__*/ Object.freeze({ equal: Oe }), Ne = {
356
356
  true: "True",
357
357
  false: "False"
358
358
  };
359
- function Fe() {}
360
- var Ie = 2147483647;
361
- function Le(e, t, n) {
359
+ function Pe() {}
360
+ var Fe = 2147483647;
361
+ function Ie(e, t, n) {
362
362
  return e < t ? t : e > n ? n : e;
363
363
  }
364
- function Re(e) {
364
+ function Le(e) {
365
365
  return typeof e == "function";
366
366
  }
367
- function ze(e) {
367
+ function Re(e) {
368
368
  return e == null ? [] : Array.isArray(e) ? e : [e];
369
369
  }
370
370
  function z(e) {
@@ -373,49 +373,49 @@ function z(e) {
373
373
  function B(e) {
374
374
  return e.some(y) ? e : void 0;
375
375
  }
376
- function Be(e) {
376
+ function ze(e) {
377
377
  return e?.[e.length - 1];
378
378
  }
379
- function Ve(e) {
379
+ function Be(e) {
380
380
  return e.filter((e) => e != null);
381
381
  }
382
- var He = Symbol("Negative");
383
- function Ue(e, t, n) {
382
+ var Ve = Symbol("Negative");
383
+ function He(e, t, n) {
384
384
  let r = [];
385
385
  for (let i = 0; i < e.length; i++) {
386
386
  let a = t.call(n, e[i], i);
387
- a !== He && r.push(a);
387
+ a !== Ve && r.push(a);
388
388
  }
389
389
  return r;
390
390
  }
391
- function We(e) {
391
+ function Ue(e) {
392
392
  return _(e) ? e : {};
393
393
  }
394
394
  function V(e) {
395
395
  if (_(e)) return e;
396
396
  }
397
- function Ge(e) {
397
+ function We(e) {
398
398
  if (_(e)) {
399
399
  for (let t of Object.values(e)) if (b(t)) return e;
400
400
  }
401
401
  }
402
- function Ke(e, t) {
402
+ function Ge(e, t) {
403
403
  if (_(e)) {
404
404
  let n = !1, r = {};
405
405
  for (let [i, a] of Object.entries(e)) t(a) && (n = !0, r[i] = a);
406
406
  if (n) return r;
407
407
  }
408
408
  }
409
- function qe(e) {
409
+ function Ke(e) {
410
410
  return e === !0;
411
411
  }
412
- function Je(e) {
412
+ function qe(e) {
413
413
  return e === !0 || void 0;
414
414
  }
415
- function Ye(e) {
416
- return Ke(e, qe);
415
+ function Je(e) {
416
+ return Ge(e, Ke);
417
417
  }
418
- function Xe(e) {
418
+ function Ye(e) {
419
419
  if (h(e)) return e;
420
420
  if (e == null) return "";
421
421
  try {
@@ -428,7 +428,7 @@ function Xe(e) {
428
428
  }
429
429
  }
430
430
  }
431
- function Ze(e) {
431
+ function Xe(e) {
432
432
  if (e === void 0) return "undefined";
433
433
  try {
434
434
  return JSON.stringify(e);
@@ -443,26 +443,26 @@ function Ze(e) {
443
443
  function H(e) {
444
444
  return h(e) ? e : void 0;
445
445
  }
446
- function Qe(e) {
446
+ function Ze(e) {
447
447
  return e && h(e) ? e : void 0;
448
448
  }
449
- function $e(e, t) {
449
+ function Qe(e, t) {
450
450
  let n = Number(e);
451
451
  return Number.isFinite(n) ? t ? Math.floor(n) : n : 0;
452
452
  }
453
453
  function U(e) {
454
- return De(e) ? e : void 0;
454
+ return Ee(e) ? e : void 0;
455
455
  }
456
- function et(e) {
457
- return De(e) && e > 0;
456
+ function $e(e) {
457
+ return Ee(e) && e > 0;
458
458
  }
459
- function tt(e) {
459
+ function et(e) {
460
460
  return v(e) ? e : !1;
461
461
  }
462
- function nt(e) {
462
+ function tt(e) {
463
463
  return v(e) ? e : void 0;
464
464
  }
465
- function rt(e, t) {
465
+ function W(e, t) {
466
466
  let n = 0;
467
467
  for (let r of t) if (r.startsWith(e)) {
468
468
  if (r === e) {
@@ -474,7 +474,7 @@ function rt(e, t) {
474
474
  }
475
475
  return n === 0 ? e : `${e}${n + 1}`;
476
476
  }
477
- function it(e, t, n = Object.is) {
477
+ function nt(e, t, n = Object.is) {
478
478
  return (r) => {
479
479
  n(e.value?.[t], r) || e.set({
480
480
  ...e.value,
@@ -482,7 +482,7 @@ function it(e, t, n = Object.is) {
482
482
  });
483
483
  };
484
484
  }
485
- function W(e, t, n = Object.is) {
485
+ function G(e, t, n = Object.is) {
486
486
  return (r) => {
487
487
  e.value && !n(e.value[t], r) && e.set({
488
488
  ...e.value,
@@ -490,64 +490,64 @@ function W(e, t, n = Object.is) {
490
490
  });
491
491
  };
492
492
  }
493
- function at(e, t, n) {
493
+ function rt(e, t, n) {
494
494
  for (let n = 0; n < t.length; n++) e = e ? e[t[n]] : void 0;
495
495
  return e === void 0 ? n : e;
496
496
  }
497
- function ot(e) {
497
+ function it(e) {
498
498
  try {
499
- return Ce(JSON.parse(e));
499
+ return we(JSON.parse(e));
500
500
  } catch (e) {
501
- return we(e + "");
501
+ return Te(e + "");
502
502
  }
503
503
  }
504
- function st(e) {
504
+ function at(e) {
505
505
  try {
506
506
  return JSON.stringify(e, null, 2);
507
507
  } catch (e) {
508
508
  return console.warn(e), "{}";
509
509
  }
510
510
  }
511
- function ct(e) {
511
+ function ot(e) {
512
512
  return !!e && (e.startsWith("self::") || e.startsWith("./") || e.startsWith("../"));
513
513
  }
514
- function lt(e) {
514
+ function st(e) {
515
515
  return e ? () => e.set(!e.value) : void 0;
516
516
  }
517
- function ut(e) {
517
+ function ct(e) {
518
518
  return !!e && e.startsWith("%") && e.endsWith("%") && e.length > 2;
519
519
  }
520
- function dt(e) {
521
- return ut(e) ? e.slice(1, -1) : void 0;
520
+ function lt(e) {
521
+ return ct(e) ? e.slice(1, -1) : void 0;
522
522
  }
523
- function ft(e) {
524
- return ut(e) ? void 0 : e;
523
+ function ut(e) {
524
+ return ct(e) ? void 0 : e;
525
525
  }
526
- var pt = 64;
527
- function mt(e, t) {
528
- let n = e?.toLowerCase().replace(/[^a-z0-9_]+/g, "-").replace(/^-+/, "").slice(0, pt).replace(/-+$/, "");
529
- if (n && !Ae(n)) {
526
+ var dt = 64;
527
+ function ft(e, t) {
528
+ let n = e?.toLowerCase().replace(/[^a-z0-9_]+/g, "-").replace(/^-+/, "").slice(0, dt).replace(/-+$/, "");
529
+ if (n && !ke(n)) {
530
530
  let e = n, r = 1;
531
531
  for (; t[e] != null;) e = `${n}${r++}`;
532
532
  return e;
533
533
  }
534
534
  for (let e = 1;; e++) if (n = `key${e}`, t[n] == null) return n;
535
535
  }
536
- function ht(e, t) {
537
- Ae(e) && (e = "_" + e);
536
+ function pt(e, t) {
537
+ ke(e) && (e = "_" + e);
538
538
  let n = e, r = 1;
539
539
  for (; t[n] != null;) n = `${e}${r++}`;
540
540
  return n;
541
541
  }
542
- function gt(e) {
542
+ function mt(e) {
543
543
  return /^[\x09\x0A\x0D\x20-\x7E]+$/.test(e);
544
544
  }
545
- function _t(e, t) {
545
+ function ht(e, t) {
546
546
  return Object.hasOwn(e, t) ? e[t] : void 0;
547
547
  }
548
548
  //#endregion
549
549
  //#region ../../node_modules/.bun/dayjs@1.11.23/node_modules/dayjs/dayjs.min.js
550
- var vt = /* @__PURE__ */ i(((e, t) => {
550
+ var gt = /* @__PURE__ */ i(((e, t) => {
551
551
  (function(n, r) {
552
552
  typeof e == "object" && t !== void 0 ? t.exports = r() : typeof define == "function" && define.amd ? define(r) : (n = typeof globalThis < "u" ? globalThis : n || self).dayjs = r();
553
553
  })(e, (function() {
@@ -841,7 +841,7 @@ var vt = /* @__PURE__ */ i(((e, t) => {
841
841
  return w(1e3 * e);
842
842
  }, w.en = b[y], w.Ls = b, w.p = {}, w;
843
843
  }));
844
- })), yt = /* @__PURE__ */ i(((e, t) => {
844
+ })), _t = /* @__PURE__ */ i(((e, t) => {
845
845
  (function(n, r) {
846
846
  typeof e == "object" && t !== void 0 ? t.exports = r() : typeof define == "function" && define.amd ? define(r) : (n = typeof globalThis < "u" ? globalThis : n || self).dayjs_plugin_customParseFormat = r();
847
847
  })(e, (function() {
@@ -997,7 +997,7 @@ var vt = /* @__PURE__ */ i(((e, t) => {
997
997
  };
998
998
  };
999
999
  }));
1000
- })), bt = /* @__PURE__ */ i(((e, t) => {
1000
+ })), vt = /* @__PURE__ */ i(((e, t) => {
1001
1001
  (function(n, r) {
1002
1002
  typeof e == "object" && t !== void 0 ? t.exports = r() : typeof define == "function" && define.amd ? define(r) : (n = typeof globalThis < "u" ? globalThis : n || self).dayjs_plugin_localeData = r();
1003
1003
  })(e, (function() {
@@ -1091,7 +1091,7 @@ var vt = /* @__PURE__ */ i(((e, t) => {
1091
1091
  };
1092
1092
  };
1093
1093
  }));
1094
- })), xt = /* @__PURE__ */ i(((e, t) => {
1094
+ })), yt = /* @__PURE__ */ i(((e, t) => {
1095
1095
  (function(n, r) {
1096
1096
  typeof e == "object" && t !== void 0 ? t.exports = r() : typeof define == "function" && define.amd ? define(r) : (n = typeof globalThis < "u" ? globalThis : n || self).dayjs_plugin_weekday = r();
1097
1097
  })(e, (function() {
@@ -1102,56 +1102,56 @@ var vt = /* @__PURE__ */ i(((e, t) => {
1102
1102
  };
1103
1103
  };
1104
1104
  }));
1105
- })), St = /* @__PURE__ */ n(vt(), 1), Ct = /* @__PURE__ */ n(yt(), 1), wt = /* @__PURE__ */ n(bt(), 1), Tt = /* @__PURE__ */ n(xt(), 1);
1106
- St.default.extend(Tt.default), St.default.extend(wt.default), St.default.extend(Ct.default);
1107
- var Et = [
1105
+ })), bt = /* @__PURE__ */ n(gt(), 1), xt = /* @__PURE__ */ n(_t(), 1), St = /* @__PURE__ */ n(vt(), 1), Ct = /* @__PURE__ */ n(yt(), 1);
1106
+ bt.default.extend(Ct.default), bt.default.extend(St.default), bt.default.extend(xt.default);
1107
+ var wt = [
1108
1108
  "date",
1109
1109
  "time",
1110
1110
  "date-time"
1111
1111
  ];
1112
- function Dt(e) {
1113
- return Et.includes(e);
1112
+ function Tt(e) {
1113
+ return wt.includes(e);
1114
1114
  }
1115
- function Ot(e) {
1116
- let t = (0, St.default)(e);
1115
+ function Et(e) {
1116
+ let t = (0, bt.default)(e);
1117
1117
  return t.isValid() ? t.toDate() : /* @__PURE__ */ new Date();
1118
1118
  }
1119
- function kt(e) {
1120
- return Et.includes(e) ? e : At;
1119
+ function Dt(e) {
1120
+ return wt.includes(e) ? e : Ot;
1121
1121
  }
1122
- var At = "date-time", jt = /*#__PURE__*/ Et.map((e) => ({ value: e }));
1123
- function Mt(e) {
1124
- return jt.find((t) => t.value === e);
1122
+ var Ot = "date-time", kt = /*#__PURE__*/ wt.map((e) => ({ value: e }));
1123
+ function At(e) {
1124
+ return kt.find((t) => t.value === e);
1125
1125
  }
1126
- function Nt(e, t = At) {
1127
- return (0, St.default)(e).format(Pt(t));
1126
+ function jt(e, t = Ot) {
1127
+ return (0, bt.default)(e).format(Mt(t));
1128
1128
  }
1129
- function Pt(e) {
1129
+ function Mt(e) {
1130
1130
  switch (e) {
1131
1131
  case "date": return "YYYY-MM-DD";
1132
1132
  case "time": return "HH:mm:ssZ";
1133
1133
  case "date-time": return "YYYY-MM-DDTHH:mm:ssZ";
1134
1134
  }
1135
1135
  }
1136
- var Ft = [
1136
+ var Nt = [
1137
1137
  "RGB",
1138
1138
  "HSV",
1139
1139
  "HEX",
1140
1140
  "HEX8"
1141
1141
  ];
1142
- function It(e) {
1143
- return Ft.includes(e);
1142
+ function Pt(e) {
1143
+ return Nt.includes(e);
1144
1144
  }
1145
- function Lt(e) {
1146
- return It(e) ? e : "HEX";
1145
+ function Ft(e) {
1146
+ return Pt(e) ? e : "HEX";
1147
1147
  }
1148
- var Rt = /*#__PURE__*/ Ft.map((e) => ({ value: e }));
1149
- function zt(e) {
1150
- return Rt.find((t) => t.value === e);
1148
+ var It = /*#__PURE__*/ Nt.map((e) => ({ value: e }));
1149
+ function Lt(e) {
1150
+ return It.find((t) => t.value === e);
1151
1151
  }
1152
1152
  //#endregion
1153
1153
  //#region src/designer/browser/jsonSchema/preset.ts
1154
- var G = {
1154
+ var K = {
1155
1155
  string: {
1156
1156
  icon: "i-carbon:quotes",
1157
1157
  value: "string",
@@ -1242,7 +1242,7 @@ var G = {
1242
1242
  value: "null",
1243
1243
  label: "Null"
1244
1244
  }
1245
- }, Bt = (e) => Object.hasOwn(G, e), Vt = {
1245
+ }, Rt = (e) => Object.hasOwn(K, e), zt = {
1246
1246
  close: "i-codicon:close",
1247
1247
  gotoFile: "i-codicon:go-to-file",
1248
1248
  objectAdd: "i-carbon:add-alt",
@@ -1250,47 +1250,47 @@ var G = {
1250
1250
  package: "i-codicon:package",
1251
1251
  settings: "i-codicon:gear",
1252
1252
  tool: "i-codicon:symbol-property"
1253
- }, Ht = (e) => Bt(e) ? G[e].icon : Vt[e], Ut = (e) => Ht(J(e)), Wt = (e, t) => {
1254
- let n = G[t];
1253
+ }, Bt = (e) => Rt(e) ? K[e].icon : zt[e], Vt = (e) => Bt(Y(e)), Ht = (e, t) => {
1254
+ let n = K[t];
1255
1255
  return {
1256
1256
  ...n,
1257
1257
  label: e(`preset.${n.value}`)
1258
1258
  };
1259
- }, Gt = (e, t) => Ue([
1260
- G.string,
1261
- G.number,
1262
- G.boolean,
1263
- G.integer,
1264
- G.color,
1265
- G.text,
1266
- G.object,
1267
- G.array,
1259
+ }, Ut = (e, t) => He([
1260
+ K.string,
1261
+ K.number,
1262
+ K.boolean,
1263
+ K.integer,
1264
+ K.color,
1265
+ K.text,
1266
+ K.object,
1267
+ K.array,
1268
1268
  {
1269
1269
  icon: "i-carbon:checkbox-checked",
1270
1270
  label: "Select",
1271
1271
  value: "select",
1272
- options: [G.select, G.multiSelect]
1272
+ options: [K.select, K.multiSelect]
1273
1273
  },
1274
- G.date,
1275
- G.any,
1276
- G.binary,
1277
- G.null,
1274
+ K.date,
1275
+ K.any,
1276
+ K.binary,
1277
+ K.null,
1278
1278
  {
1279
1279
  icon: "i-carbon:branch",
1280
1280
  label: "Applicators",
1281
1281
  value: "applicators",
1282
1282
  options: [
1283
- G.anyOf,
1284
- G.allOf,
1285
- G.oneOf
1283
+ K.anyOf,
1284
+ K.allOf,
1285
+ K.oneOf
1286
1286
  ]
1287
1287
  }
1288
1288
  ], (n) => {
1289
- if (Kt(n)) {
1290
- let r = Ue(n.options, (n) => t(n.value) ? {
1289
+ if (Wt(n)) {
1290
+ let r = He(n.options, (n) => t(n.value) ? {
1291
1291
  ...n,
1292
1292
  label: e(`preset.${n.value}`)
1293
- } : He);
1293
+ } : Ve);
1294
1294
  if (r.length > 0) return {
1295
1295
  ...n,
1296
1296
  label: e(`preset.${n.label}`),
@@ -1300,9 +1300,9 @@ var G = {
1300
1300
  ...n,
1301
1301
  label: e(`preset.${n.value}`)
1302
1302
  };
1303
- return He;
1304
- }), Kt = (e) => "options" in e, qt = "ui:widget", K = "ui:options", Jt = { binary: "oomol/bin" }, Yt = {
1305
- binary: { contentMediaType: Jt.binary },
1303
+ return Ve;
1304
+ }), Wt = (e) => "options" in e, Gt = "ui:widget", q = "ui:options", Kt = { binary: "oomol/bin" }, qt = {
1305
+ binary: { contentMediaType: Kt.binary },
1306
1306
  literal: {},
1307
1307
  any: {},
1308
1308
  null: { type: "null" },
@@ -1316,16 +1316,16 @@ var G = {
1316
1316
  },
1317
1317
  color: {
1318
1318
  type: "string",
1319
- [qt]: "color",
1320
- [K]: { colorType: "HEX" }
1319
+ [Gt]: "color",
1320
+ [q]: { colorType: "HEX" }
1321
1321
  },
1322
1322
  text: {
1323
1323
  type: "string",
1324
- [qt]: "text"
1324
+ [Gt]: "text"
1325
1325
  },
1326
1326
  select: {
1327
1327
  enum: [],
1328
- [K]: {
1328
+ [q]: {
1329
1329
  labels: [],
1330
1330
  types: void 0
1331
1331
  }
@@ -1334,7 +1334,7 @@ var G = {
1334
1334
  type: "array",
1335
1335
  uniqueItems: !0,
1336
1336
  items: { enum: [] },
1337
- [K]: {
1337
+ [q]: {
1338
1338
  labels: [],
1339
1339
  types: void 0
1340
1340
  }
@@ -1347,22 +1347,22 @@ var G = {
1347
1347
  },
1348
1348
  anyOf: {
1349
1349
  anyOf: [],
1350
- [K]: { labels: [] }
1350
+ [q]: { labels: [] }
1351
1351
  },
1352
1352
  oneOf: {
1353
1353
  oneOf: [],
1354
- [K]: { labels: [] }
1354
+ [q]: { labels: [] }
1355
1355
  },
1356
1356
  allOf: {
1357
1357
  allOf: [],
1358
- [K]: { labels: [] }
1358
+ [q]: { labels: [] }
1359
1359
  }
1360
1360
  };
1361
- function Xt(e, t) {
1362
- let n = structuredClone(Yt[e]);
1363
- return t && sn(n, t), n;
1361
+ function Jt(e, t) {
1362
+ let n = structuredClone(qt[e]);
1363
+ return t && an(n, t), n;
1364
1364
  }
1365
- function q(e) {
1365
+ function J(e) {
1366
1366
  if (e && e.length > 0) {
1367
1367
  let t;
1368
1368
  for (let n of e) {
@@ -1370,11 +1370,11 @@ function q(e) {
1370
1370
  let e = n.json_schema;
1371
1371
  e && (t = e);
1372
1372
  }
1373
- return t || Xt("any");
1373
+ return t || Jt("any");
1374
1374
  }
1375
- return Xt("any");
1375
+ return Jt("any");
1376
1376
  }
1377
- var Zt = {
1377
+ var Yt = {
1378
1378
  null: null,
1379
1379
  boolean: !1,
1380
1380
  integer: 0,
@@ -1382,11 +1382,11 @@ var Zt = {
1382
1382
  string: "",
1383
1383
  color: "#7d7fe9",
1384
1384
  select: (e) => {
1385
- let t = ze(e?.enum)?.[0];
1385
+ let t = Re(e?.enum)?.[0];
1386
1386
  return t === void 0 ? null : t;
1387
1387
  },
1388
1388
  multiSelect: [],
1389
- date: (e) => Nt(/* @__PURE__ */ new Date(), kt(e?.format)),
1389
+ date: (e) => jt(/* @__PURE__ */ new Date(), Dt(e?.format)),
1390
1390
  text: "",
1391
1391
  any: void 0,
1392
1392
  object: {},
@@ -1397,17 +1397,17 @@ var Zt = {
1397
1397
  binary: void 0,
1398
1398
  literal: (e) => e?.const
1399
1399
  };
1400
- function Qt(e, t) {
1401
- let n = Zt[e];
1402
- return Re(n) ? n(t) : n;
1400
+ function Xt(e, t) {
1401
+ let n = Yt[e];
1402
+ return Le(n) ? n(t) : n;
1403
1403
  }
1404
- function J(e) {
1404
+ function Y(e) {
1405
1405
  let t = e;
1406
1406
  if (!t) return "any";
1407
1407
  switch (t.contentMediaType) {
1408
- case Yt.binary.contentMediaType: return "binary";
1408
+ case qt.binary.contentMediaType: return "binary";
1409
1409
  }
1410
- if (t["ui:widget"] && Bt(t["ui:widget"])) return t[qt];
1410
+ if (t["ui:widget"] && Rt(t["ui:widget"])) return t[Gt];
1411
1411
  if (t.anyOf) return "anyOf";
1412
1412
  if (t.oneOf) return "oneOf";
1413
1413
  if (t.allOf) return "any";
@@ -1420,20 +1420,20 @@ function J(e) {
1420
1420
  case "number":
1421
1421
  case "object": return t.type;
1422
1422
  case "array": return t.uniqueItems ? "multiSelect" : "array";
1423
- case "string": return Dt(t.format) ? "date" : "string";
1423
+ case "string": return Tt(t.format) ? "date" : "string";
1424
1424
  default: return "any";
1425
1425
  }
1426
1426
  }
1427
- function $t(e) {
1427
+ function Zt(e) {
1428
1428
  return e == "any";
1429
1429
  }
1430
- function en(e) {
1430
+ function Qt(e) {
1431
1431
  return e == "any" || e == "anyOf" || e == "oneOf" || e == "allOf";
1432
1432
  }
1433
- function tn(e) {
1434
- return !en(e) && e !== "binary";
1433
+ function $t(e) {
1434
+ return !Qt(e) && e !== "binary";
1435
1435
  }
1436
- function nn(e) {
1436
+ function en(e) {
1437
1437
  switch (e) {
1438
1438
  case "string":
1439
1439
  case "text":
@@ -1448,12 +1448,12 @@ function nn(e) {
1448
1448
  case "array": return "array";
1449
1449
  }
1450
1450
  }
1451
- function rn(e) {
1451
+ function tn(e) {
1452
1452
  if (e === null) return "null";
1453
1453
  let t = typeof e;
1454
1454
  return t === "object" && Array.isArray(e) ? "array" : t;
1455
1455
  }
1456
- function an(e) {
1456
+ function nn(e) {
1457
1457
  switch (e) {
1458
1458
  case "string":
1459
1459
  case "number":
@@ -1464,8 +1464,8 @@ function an(e) {
1464
1464
  default: return "any";
1465
1465
  }
1466
1466
  }
1467
- function on(e) {
1468
- let t = J(e);
1467
+ function rn(e) {
1468
+ let t = Y(e);
1469
1469
  if (t === "anyOf" || t === "oneOf" || t === "allOf") return (e[t]?.length ?? 0) || 1;
1470
1470
  if (t === "string") return 4;
1471
1471
  if (t === "array") return 3;
@@ -1485,63 +1485,63 @@ function on(e) {
1485
1485
  }
1486
1486
  return 0;
1487
1487
  }
1488
- function sn(e, t) {
1489
- let n = cn(t);
1490
- n && dn(e, n);
1488
+ function an(e, t) {
1489
+ let n = on(t);
1490
+ n && ln(e, n);
1491
1491
  }
1492
- function cn(e) {
1493
- switch (J(e)) {
1494
- case "select": return ln(e.enum, e[K]?.labels);
1495
- case "multiSelect": return ln(V(e.items)?.enum, e[K]?.labels);
1492
+ function on(e) {
1493
+ switch (Y(e)) {
1494
+ case "select": return sn(e.enum, e[q]?.labels);
1495
+ case "multiSelect": return sn(V(e.items)?.enum, e[q]?.labels);
1496
1496
  }
1497
1497
  }
1498
- function ln(e, t) {
1499
- if (un(e) && e.length > 0) return {
1498
+ function sn(e, t) {
1499
+ if (cn(e) && e.length > 0) return {
1500
1500
  enum: e,
1501
- labels: un(t) ? t : void 0
1501
+ labels: cn(t) ? t : void 0
1502
1502
  };
1503
1503
  }
1504
- function un(e) {
1504
+ function cn(e) {
1505
1505
  return x(e);
1506
1506
  }
1507
- function dn(e, t) {
1508
- switch (J(e)) {
1507
+ function ln(e, t) {
1508
+ switch (Y(e)) {
1509
1509
  case "select":
1510
- e.enum = t.enum, e[K] = {
1511
- ...V(e[K]),
1510
+ e.enum = t.enum, e[q] = {
1511
+ ...V(e[q]),
1512
1512
  labels: t.labels ?? []
1513
1513
  };
1514
1514
  break;
1515
1515
  case "multiSelect": e.items = {
1516
1516
  ...V(e.items),
1517
1517
  enum: t.enum
1518
- }, e[K] = {
1519
- ...V(e[K]),
1518
+ }, e[q] = {
1519
+ ...V(e[q]),
1520
1520
  labels: t.labels ?? []
1521
1521
  };
1522
1522
  }
1523
1523
  }
1524
1524
  //#endregion
1525
1525
  //#region src/base/common/type.ts
1526
- function fn(e) {
1526
+ function un(e) {
1527
1527
  return _(e);
1528
1528
  }
1529
1529
  //#endregion
1530
1530
  //#region src/designer/browser/llm/widget.ts
1531
- function pn(e) {
1532
- if (!fn(e)) return;
1531
+ function dn(e) {
1532
+ if (!un(e)) return;
1533
1533
  let t = e["ui:widget"];
1534
1534
  if (t == "llm/messages") return "llm/messages";
1535
1535
  if (t == "llm/model") return "llm/model";
1536
1536
  }
1537
- function mn(e) {
1538
- if (!fn(e)) return;
1537
+ function fn(e) {
1538
+ if (!un(e)) return;
1539
1539
  let t = e["ui:options"];
1540
- if (fn(t)) return typeof t.title == "string" && t.title.length > 0 ? t.title : void 0;
1540
+ if (un(t)) return typeof t.title == "string" && t.title.length > 0 ? t.title : void 0;
1541
1541
  }
1542
1542
  //#endregion
1543
1543
  //#region src/localization/common/localization.ts
1544
- function hn(e, t) {
1544
+ function pn(e, t) {
1545
1545
  let n = [];
1546
1546
  for (let r of p(t)) {
1547
1547
  let t = e[r];
@@ -1551,23 +1551,23 @@ function hn(e, t) {
1551
1551
  }
1552
1552
  //#endregion
1553
1553
  //#region src/designer/browser/stores/designer/l10n.ts
1554
- function gn(e) {
1554
+ function mn(e) {
1555
1555
  return e === "en" ? "zh-CN" : "en";
1556
1556
  }
1557
- function _n(e, t, n) {
1558
- return n && gt(n) ? e.en : hn(e, t)[0] ?? e.en;
1557
+ function hn(e, t, n) {
1558
+ return n && mt(n) ? e.en : pn(e, t)[0] ?? e.en;
1559
1559
  }
1560
- function vn(e, t, n, r, i) {
1560
+ function gn(e, t, n, r, i) {
1561
1561
  let a = n(t);
1562
- for (let t of hn(e, a)) {
1563
- let e = _t(n(t), r);
1562
+ for (let t of pn(e, a)) {
1563
+ let e = ht(n(t), r);
1564
1564
  if (e) return e;
1565
1565
  }
1566
1566
  return i ?? r;
1567
1567
  }
1568
1568
  //#endregion
1569
1569
  //#region ../../node_modules/.bun/@wopjs+weak-cache@0.1.5/node_modules/@wopjs/weak-cache/dist/index.mjs
1570
- var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "object" && typeof e != "function" ? e : (yn.has(e) ? yn : yn.set(e, Symbol())).get(e), xn = class {
1570
+ var _n = /* @__PURE__ */ new WeakMap(), vn = (e) => e === null || typeof e != "object" && typeof e != "function" ? e : (_n.has(e) ? _n : _n.set(e, Symbol())).get(e), yn = class {
1571
1571
  get size() {
1572
1572
  return this._r.size;
1573
1573
  }
@@ -1587,7 +1587,7 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
1587
1587
  this._r.clear();
1588
1588
  }
1589
1589
  delete(e) {
1590
- let t = bn(e), n = this._r.get(t);
1590
+ let t = vn(e), n = this._r.get(t);
1591
1591
  return n ? (this._g.unregister(n), this._r.delete(t)) : !1;
1592
1592
  }
1593
1593
  dispose() {
@@ -1598,13 +1598,13 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
1598
1598
  return n || this.set(e, n = t()), n;
1599
1599
  }
1600
1600
  get(e) {
1601
- return this._r.get(bn(e))?.deref();
1601
+ return this._r.get(vn(e))?.deref();
1602
1602
  }
1603
1603
  has(e) {
1604
1604
  return this.get(e) !== void 0;
1605
1605
  }
1606
1606
  set(e, t) {
1607
- let n = bn(e), r = new WeakRef(t);
1607
+ let n = vn(e), r = new WeakRef(t);
1608
1608
  return this._r.set(n, r), this._g.register(t, n, r), Object.is(n, e) || this._g.register(e, n, r), this;
1609
1609
  }
1610
1610
  *values() {
@@ -1613,10 +1613,10 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
1613
1613
  t && (yield t);
1614
1614
  }
1615
1615
  }
1616
- }, Sn = /* @__PURE__ */ new WeakMap(), Cn = new xn(), wn = class e {
1616
+ }, bn = /* @__PURE__ */ new WeakMap(), xn = new yn(), Sn = class e {
1617
1617
  static get(t) {
1618
- let n = Array.isArray(t) ? Sn.get(t) ?? Sn.set(t, Xe(t) || "[]").get(t) : t == null ? "[]" : Xe([t]);
1619
- return Cn.get(n) || Cn.set(n, new e(n, t)).get(n);
1618
+ let n = Array.isArray(t) ? bn.get(t) ?? bn.set(t, Ye(t) || "[]").get(t) : t == null ? "[]" : Ye([t]);
1619
+ return xn.get(n) || xn.set(n, new e(n, t)).get(n);
1620
1620
  }
1621
1621
  static fromKey(t) {
1622
1622
  return e.get(JSON.parse(t));
@@ -1650,7 +1650,7 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
1650
1650
  toJSON() {
1651
1651
  return this.path;
1652
1652
  }
1653
- }, Tn = /* @__PURE__ */ i(((e) => {
1653
+ }, Cn = /* @__PURE__ */ i(((e) => {
1654
1654
  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;
1655
1655
  var t = class {};
1656
1656
  e._CodeOrName = t, e.IDENTIFIER = /^[a-z$_][a-z$_0-9]*$/i;
@@ -1755,9 +1755,9 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
1755
1755
  return new r(e.toString());
1756
1756
  }
1757
1757
  e.regexpCode = g;
1758
- })), En = /* @__PURE__ */ i(((e) => {
1758
+ })), wn = /* @__PURE__ */ i(((e) => {
1759
1759
  Object.defineProperty(e, "__esModule", { value: !0 }), e.ValueScope = e.ValueScopeName = e.Scope = e.varKinds = e.UsedValueState = void 0;
1760
- var t = Tn(), n = class extends Error {
1760
+ var t = Cn(), n = class extends Error {
1761
1761
  constructor(e) {
1762
1762
  super(`CodeGen: "code" for ${e} not defined`), this.value = e.value;
1763
1763
  }
@@ -1866,9 +1866,9 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
1866
1866
  return c;
1867
1867
  }
1868
1868
  };
1869
- })), Y = /* @__PURE__ */ i(((e) => {
1869
+ })), X = /* @__PURE__ */ i(((e) => {
1870
1870
  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;
1871
- var t = Tn(), n = En(), r = Tn();
1871
+ var t = Cn(), n = wn(), r = Cn();
1872
1872
  Object.defineProperty(e, "_", {
1873
1873
  enumerable: !0,
1874
1874
  get: function() {
@@ -1910,7 +1910,7 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
1910
1910
  return r.Name;
1911
1911
  }
1912
1912
  });
1913
- var i = En();
1913
+ var i = wn();
1914
1914
  Object.defineProperty(e, "Scope", {
1915
1915
  enumerable: !0,
1916
1916
  get: function() {
@@ -2362,28 +2362,28 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
2362
2362
  for (let n in t) e[n] = (e[n] || 0) - (t[n] || 0);
2363
2363
  }
2364
2364
  function j(e) {
2365
- return typeof e == "boolean" || typeof e == "number" || e === null ? !e : (0, t._)`!${te(e)}`;
2365
+ return typeof e == "boolean" || typeof e == "number" || e === null ? !e : (0, t._)`!${ne(e)}`;
2366
2366
  }
2367
2367
  e.not = j;
2368
- var M = F(e.operators.AND);
2369
- function N(...e) {
2368
+ var M = P(e.operators.AND);
2369
+ function ee(...e) {
2370
2370
  return e.reduce(M);
2371
2371
  }
2372
- e.and = N;
2373
- var P = F(e.operators.OR);
2374
- function ee(...e) {
2375
- return e.reduce(P);
2372
+ e.and = ee;
2373
+ var N = P(e.operators.OR);
2374
+ function te(...e) {
2375
+ return e.reduce(N);
2376
2376
  }
2377
- e.or = ee;
2378
- function F(e) {
2379
- return (n, r) => n === t.nil ? r : r === t.nil ? n : (0, t._)`${te(n)} ${e} ${te(r)}`;
2377
+ e.or = te;
2378
+ function P(e) {
2379
+ return (n, r) => n === t.nil ? r : r === t.nil ? n : (0, t._)`${ne(n)} ${e} ${ne(r)}`;
2380
2380
  }
2381
- function te(e) {
2381
+ function ne(e) {
2382
2382
  return e instanceof t.Name ? e : (0, t._)`(${e})`;
2383
2383
  }
2384
- })), X = /* @__PURE__ */ i(((e) => {
2384
+ })), Z = /* @__PURE__ */ i(((e) => {
2385
2385
  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;
2386
- var t = Y(), n = Tn();
2386
+ var t = X(), n = Cn();
2387
2387
  function r(e) {
2388
2388
  let t = {};
2389
2389
  for (let n of e) t[n] = !0;
@@ -2506,9 +2506,9 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
2506
2506
  }
2507
2507
  }
2508
2508
  e.checkStrictMode = x;
2509
- })), Z = /* @__PURE__ */ i(((e) => {
2509
+ })), Tn = /* @__PURE__ */ i(((e) => {
2510
2510
  Object.defineProperty(e, "__esModule", { value: !0 });
2511
- var t = Y();
2511
+ var t = X();
2512
2512
  e.default = {
2513
2513
  data: new t.Name("data"),
2514
2514
  valCxt: new t.Name("valCxt"),
@@ -2527,9 +2527,9 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
2527
2527
  jsonLen: new t.Name("jsonLen"),
2528
2528
  jsonPart: new t.Name("jsonPart")
2529
2529
  };
2530
- })), Dn = /* @__PURE__ */ i(((e) => {
2530
+ })), En = /* @__PURE__ */ i(((e) => {
2531
2531
  Object.defineProperty(e, "__esModule", { value: !0 }), e.extendErrors = e.resetErrorsCount = e.reportExtraError = e.reportError = e.keyword$DataError = e.keywordError = void 0;
2532
- var t = Y(), n = X(), r = Z();
2532
+ var t = X(), n = Z(), r = Tn();
2533
2533
  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)` };
2534
2534
  function i(n, r = e.keywordError, i, a) {
2535
2535
  let { it: o } = n, { gen: s, compositeRule: u, allErrors: f } = o, p = d(n, r, i);
@@ -2591,9 +2591,9 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
2591
2591
  let { keyword: o, data: s, schemaValue: c, it: l } = e, { opts: d, propertyName: f, topSchemaRef: p, schemaPath: m } = l;
2592
2592
  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]);
2593
2593
  }
2594
- })), On = /* @__PURE__ */ i(((e) => {
2594
+ })), Dn = /* @__PURE__ */ i(((e) => {
2595
2595
  Object.defineProperty(e, "__esModule", { value: !0 }), e.boolOrEmptySchema = e.topBoolOrEmptySchema = void 0;
2596
- var t = Dn(), n = Y(), r = Z(), i = { message: "boolean schema is false" };
2596
+ var t = En(), n = X(), r = Tn(), i = { message: "boolean schema is false" };
2597
2597
  function a(e) {
2598
2598
  let { gen: t, schema: i, validateName: a } = e;
2599
2599
  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));
@@ -2617,7 +2617,7 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
2617
2617
  };
2618
2618
  (0, t.reportError)(o, i, void 0, n);
2619
2619
  }
2620
- })), kn = /* @__PURE__ */ i(((e) => {
2620
+ })), On = /* @__PURE__ */ i(((e) => {
2621
2621
  Object.defineProperty(e, "__esModule", { value: !0 }), e.getRules = e.isJSONType = void 0;
2622
2622
  var t = /* @__PURE__ */ new Set([
2623
2623
  "string",
@@ -2671,7 +2671,7 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
2671
2671
  };
2672
2672
  }
2673
2673
  e.getRules = r;
2674
- })), An = /* @__PURE__ */ i(((e) => {
2674
+ })), kn = /* @__PURE__ */ i(((e) => {
2675
2675
  Object.defineProperty(e, "__esModule", { value: !0 }), e.shouldUseRule = e.shouldUseGroup = e.schemaHasRulesForType = void 0;
2676
2676
  function t({ schema: e, self: t }, r) {
2677
2677
  let i = t.RULES.types[r];
@@ -2686,9 +2686,9 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
2686
2686
  return e[t.keyword] !== void 0 || t.definition.implements?.some((t) => e[t] !== void 0);
2687
2687
  }
2688
2688
  e.shouldUseRule = r;
2689
- })), jn = /* @__PURE__ */ i(((e) => {
2689
+ })), An = /* @__PURE__ */ i(((e) => {
2690
2690
  Object.defineProperty(e, "__esModule", { value: !0 }), e.reportTypeError = e.checkDataTypes = e.checkDataType = e.coerceAndCheckDataType = e.getJSONTypes = e.getSchemaTypes = e.DataType = void 0;
2691
- var t = kn(), n = An(), r = Dn(), i = Y(), a = X(), o;
2691
+ var t = On(), n = kn(), r = En(), i = X(), a = Z(), o;
2692
2692
  (function(e) {
2693
2693
  e[e.Correct = 0] = "Correct", e[e.Wrong = 1] = "Wrong";
2694
2694
  })(o || (e.DataType = o = {}));
@@ -2823,9 +2823,9 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
2823
2823
  it: e
2824
2824
  };
2825
2825
  }
2826
- })), Mn = /* @__PURE__ */ i(((e) => {
2826
+ })), jn = /* @__PURE__ */ i(((e) => {
2827
2827
  Object.defineProperty(e, "__esModule", { value: !0 }), e.assignDefaults = void 0;
2828
- var t = Y(), n = X();
2828
+ var t = X(), n = Z();
2829
2829
  function r(e, t) {
2830
2830
  let { properties: n, items: r } = e.schema;
2831
2831
  if (t === "object" && n) for (let t in n) i(e, t, n[t].default);
@@ -2845,7 +2845,7 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
2845
2845
  }
2846
2846
  })), Q = /* @__PURE__ */ i(((e) => {
2847
2847
  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;
2848
- var t = Y(), n = X(), r = Z(), i = X();
2848
+ var t = X(), n = Z(), r = Tn(), i = Z();
2849
2849
  function a(e, n) {
2850
2850
  let { gen: r, data: i, it: a } = e;
2851
2851
  r.if(d(r, i, n, a.opts.ownProperties), () => {
@@ -2947,9 +2947,9 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
2947
2947
  })), e.result(s, () => e.reset(), () => e.error(!0));
2948
2948
  }
2949
2949
  e.validateUnion = v;
2950
- })), Nn = /* @__PURE__ */ i(((e) => {
2950
+ })), Mn = /* @__PURE__ */ i(((e) => {
2951
2951
  Object.defineProperty(e, "__esModule", { value: !0 }), e.validateKeywordUsage = e.validSchemaType = e.funcKeywordCode = e.macroKeywordCode = void 0;
2952
- var t = Y(), n = Z(), r = Q(), i = Dn();
2952
+ var t = X(), n = Tn(), r = Q(), i = En();
2953
2953
  function a(e, n) {
2954
2954
  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);
2955
2955
  s.opts.validateSchema !== !1 && s.self.validateSchema(c, !0);
@@ -3028,9 +3028,9 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
3028
3028
  }
3029
3029
  }
3030
3030
  e.validateKeywordUsage = f;
3031
- })), Pn = /* @__PURE__ */ i(((e) => {
3031
+ })), Nn = /* @__PURE__ */ i(((e) => {
3032
3032
  Object.defineProperty(e, "__esModule", { value: !0 }), e.extendSubschemaMode = e.extendSubschemaData = e.getSubschema = void 0;
3033
- var t = Y(), n = X();
3033
+ var t = X(), n = Z();
3034
3034
  function r(e, { keyword: r, schemaProp: i, schema: a, schemaPath: o, errSchemaPath: s, topSchemaRef: c }) {
3035
3035
  if (r !== void 0 && a !== void 0) throw Error("both \"keyword\" and \"schema\" passed, only one allowed");
3036
3036
  if (r !== void 0) {
@@ -3074,7 +3074,7 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
3074
3074
  r !== void 0 && (e.compositeRule = r), i !== void 0 && (e.createErrors = i), a !== void 0 && (e.allErrors = a), e.jtdDiscriminator = t, e.jtdMetadata = n;
3075
3075
  }
3076
3076
  e.extendSubschemaMode = a;
3077
- })), Fn = /* @__PURE__ */ i(((e, t) => {
3077
+ })), Pn = /* @__PURE__ */ i(((e, t) => {
3078
3078
  t.exports = function e(t, n) {
3079
3079
  if (t === n) return !0;
3080
3080
  if (t && n && typeof t == "object" && typeof n == "object") {
@@ -3098,7 +3098,7 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
3098
3098
  }
3099
3099
  return t !== t && n !== n;
3100
3100
  };
3101
- })), In = /* @__PURE__ */ i(((e, t) => {
3101
+ })), Fn = /* @__PURE__ */ i(((e, t) => {
3102
3102
  var n = t.exports = function(e, t, n) {
3103
3103
  typeof t == "function" && (n = t, t = {}), n = t.cb || n;
3104
3104
  var i = typeof n == "function" ? n : n.pre || function() {}, a = n.post || function() {};
@@ -3161,9 +3161,9 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
3161
3161
  function i(e) {
3162
3162
  return e.replace(/~/g, "~0").replace(/\//g, "~1");
3163
3163
  }
3164
- })), Ln = /* @__PURE__ */ i(((e) => {
3164
+ })), In = /* @__PURE__ */ i(((e) => {
3165
3165
  Object.defineProperty(e, "__esModule", { value: !0 }), e.getSchemaRefs = e.resolveUrl = e.normalizeId = e._getFullPath = e.getFullPath = e.inlineRef = void 0;
3166
- var t = X(), n = Fn(), r = In(), i = /* @__PURE__ */ new Set([
3166
+ var t = Z(), n = Pn(), r = Fn(), i = /* @__PURE__ */ new Set([
3167
3167
  "type",
3168
3168
  "format",
3169
3169
  "pattern",
@@ -3252,9 +3252,9 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
3252
3252
  }
3253
3253
  }
3254
3254
  e.getSchemaRefs = h;
3255
- })), Rn = /* @__PURE__ */ i(((e) => {
3255
+ })), Ln = /* @__PURE__ */ i(((e) => {
3256
3256
  Object.defineProperty(e, "__esModule", { value: !0 }), e.getData = e.KeywordCxt = e.validateFunctionCode = void 0;
3257
- var t = On(), n = jn(), r = An(), i = jn(), a = Mn(), o = Nn(), s = Pn(), c = Y(), l = Z(), u = Ln(), d = X(), f = Dn();
3257
+ var t = Dn(), n = An(), r = kn(), i = An(), a = jn(), o = Mn(), s = Nn(), c = X(), l = Tn(), u = In(), d = Z(), f = En();
3258
3258
  function p(e) {
3259
3259
  if (S(e) && (w(e), x(e))) {
3260
3260
  _(e);
@@ -3317,9 +3317,9 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
3317
3317
  (0, d.checkUnknownRules)(e), E(e);
3318
3318
  }
3319
3319
  function T(e, t) {
3320
- if (e.opts.jtd) return N(e, [], !1, t);
3320
+ if (e.opts.jtd) return ee(e, [], !1, t);
3321
3321
  let r = (0, n.getSchemaTypes)(e.schema);
3322
- N(e, r, !(0, n.coerceAndCheckDataType)(e, r), t);
3322
+ ee(e, r, !(0, n.coerceAndCheckDataType)(e, r), t);
3323
3323
  }
3324
3324
  function E(e) {
3325
3325
  let { schema: t, errSchemaPath: n, opts: r, self: i } = e;
@@ -3351,71 +3351,71 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
3351
3351
  function M({ gen: e, evaluated: t, props: n, items: r }) {
3352
3352
  n instanceof c.Name && e.assign((0, c._)`${t}.props`, n), r instanceof c.Name && e.assign((0, c._)`${t}.items`, r);
3353
3353
  }
3354
- function N(e, t, n, a) {
3354
+ function ee(e, t, n, a) {
3355
3355
  let { gen: o, schema: s, data: u, allErrors: f, opts: p, self: m } = e, { RULES: h } = m;
3356
3356
  if (s.$ref && (p.ignoreKeywordsWithRef || !(0, d.schemaHasRulesButRef)(s, h))) {
3357
- o.block(() => se(e, "$ref", h.all.$ref.definition));
3357
+ o.block(() => ce(e, "$ref", h.all.$ref.definition));
3358
3358
  return;
3359
3359
  }
3360
- p.jtd || ee(e, t), o.block(() => {
3360
+ p.jtd || te(e, t), o.block(() => {
3361
3361
  for (let e of h.rules) g(e);
3362
3362
  g(h.post);
3363
3363
  });
3364
3364
  function g(d) {
3365
- (0, r.shouldUseGroup)(s, d) && (d.type ? (o.if((0, i.checkDataType)(d.type, u, p.strictNumbers)), P(e, d), t.length === 1 && t[0] === d.type && n && (o.else(), (0, i.reportTypeError)(e)), o.endIf()) : P(e, d), f || o.if((0, c._)`${l.default.errors} === ${a || 0}`));
3365
+ (0, r.shouldUseGroup)(s, d) && (d.type ? (o.if((0, i.checkDataType)(d.type, u, p.strictNumbers)), N(e, d), t.length === 1 && t[0] === d.type && n && (o.else(), (0, i.reportTypeError)(e)), o.endIf()) : N(e, d), f || o.if((0, c._)`${l.default.errors} === ${a || 0}`));
3366
3366
  }
3367
3367
  }
3368
- function P(e, t) {
3368
+ function N(e, t) {
3369
3369
  let { gen: n, schema: i, opts: { useDefaults: o } } = e;
3370
3370
  o && (0, a.assignDefaults)(e, t.type), n.block(() => {
3371
- for (let n of t.rules) (0, r.shouldUseRule)(i, n) && se(e, n.keyword, n.definition, t.type);
3371
+ for (let n of t.rules) (0, r.shouldUseRule)(i, n) && ce(e, n.keyword, n.definition, t.type);
3372
3372
  });
3373
3373
  }
3374
- function ee(e, t) {
3375
- e.schemaEnv.meta || !e.opts.strictTypes || (F(e, t), e.opts.allowUnionTypes || te(e, t), ne(e, e.dataTypes));
3374
+ function te(e, t) {
3375
+ e.schemaEnv.meta || !e.opts.strictTypes || (P(e, t), e.opts.allowUnionTypes || ne(e, t), re(e, e.dataTypes));
3376
3376
  }
3377
- function F(e, t) {
3377
+ function P(e, t) {
3378
3378
  if (t.length) {
3379
3379
  if (!e.dataTypes.length) {
3380
3380
  e.dataTypes = t;
3381
3381
  return;
3382
3382
  }
3383
3383
  t.forEach((t) => {
3384
- re(e.dataTypes, t) || ae(e, `type "${t}" not allowed by context "${e.dataTypes.join(",")}"`);
3385
- }), ie(e, t);
3384
+ ie(e.dataTypes, t) || oe(e, `type "${t}" not allowed by context "${e.dataTypes.join(",")}"`);
3385
+ }), ae(e, t);
3386
3386
  }
3387
3387
  }
3388
- function te(e, t) {
3389
- t.length > 1 && !(t.length === 2 && t.includes("null")) && ae(e, "use allowUnionTypes to allow union type keyword");
3390
- }
3391
3388
  function ne(e, t) {
3389
+ t.length > 1 && !(t.length === 2 && t.includes("null")) && oe(e, "use allowUnionTypes to allow union type keyword");
3390
+ }
3391
+ function re(e, t) {
3392
3392
  let n = e.self.RULES.all;
3393
3393
  for (let i in n) {
3394
3394
  let a = n[i];
3395
3395
  if (typeof a == "object" && (0, r.shouldUseRule)(e.schema, a)) {
3396
3396
  let { type: n } = a.definition;
3397
- n.length && !n.some((e) => I(t, e)) && ae(e, `missing type "${n.join(",")}" for keyword "${i}"`);
3397
+ n.length && !n.some((e) => F(t, e)) && oe(e, `missing type "${n.join(",")}" for keyword "${i}"`);
3398
3398
  }
3399
3399
  }
3400
3400
  }
3401
- function I(e, t) {
3401
+ function F(e, t) {
3402
3402
  return e.includes(t) || t === "number" && e.includes("integer");
3403
3403
  }
3404
- function re(e, t) {
3404
+ function ie(e, t) {
3405
3405
  return e.includes(t) || t === "integer" && e.includes("number");
3406
3406
  }
3407
- function ie(e, t) {
3407
+ function ae(e, t) {
3408
3408
  let n = [];
3409
- for (let r of e.dataTypes) re(t, r) ? n.push(r) : t.includes("integer") && r === "number" && n.push("integer");
3409
+ for (let r of e.dataTypes) ie(t, r) ? n.push(r) : t.includes("integer") && r === "number" && n.push("integer");
3410
3410
  e.dataTypes = n;
3411
3411
  }
3412
- function ae(e, t) {
3412
+ function oe(e, t) {
3413
3413
  let n = e.schemaEnv.baseId + e.errSchemaPath;
3414
3414
  t += ` at "${n}" (strictTypes)`, (0, d.checkStrictMode)(e, t, e.opts.strictTypes);
3415
3415
  }
3416
- var oe = class {
3416
+ var se = class {
3417
3417
  constructor(e, t, n) {
3418
- if ((0, o.validateKeywordUsage)(e, t, n), this.gen = e.gen, this.allErrors = e.allErrors, this.keyword = n, this.data = e.data, this.schema = e.schema[n], this.$data = t.$data && e.opts.$data && this.schema && this.schema.$data, this.schemaValue = (0, d.schemaRefOrVal)(e, this.schema, n, this.$data), this.schemaType = t.schemaType, this.parentSchema = e.schema, this.params = {}, this.it = e, this.def = t, this.$data) this.schemaCode = e.gen.const("vSchema", ue(this.$data, e));
3418
+ if ((0, o.validateKeywordUsage)(e, t, n), this.gen = e.gen, this.allErrors = e.allErrors, this.keyword = n, this.data = e.data, this.schema = e.schema[n], this.$data = t.$data && e.opts.$data && this.schema && this.schema.$data, this.schemaValue = (0, d.schemaRefOrVal)(e, this.schema, n, this.$data), this.schemaType = t.schemaType, this.parentSchema = e.schema, this.params = {}, this.it = e, this.def = t, this.$data) this.schemaCode = e.gen.const("vSchema", de(this.$data, e));
3419
3419
  else if (this.schemaCode = this.schemaValue, !(0, o.validSchemaType)(this.schema, t.schemaType, t.allowUndefined)) throw Error(`${n} value must be ${JSON.stringify(t.schemaType)}`);
3420
3420
  ("code" in t ? t.trackErrors : t.errors !== !1) && (this.errsCount = e.gen.const("_errs", l.default.errors));
3421
3421
  }
@@ -3513,20 +3513,20 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
3513
3513
  if (n.opts.unevaluated && (n.props !== !0 || n.items !== !0)) return r.if(t, () => this.mergeEvaluated(e, c.Name)), !0;
3514
3514
  }
3515
3515
  };
3516
- e.KeywordCxt = oe;
3517
- function se(e, t, n, r) {
3518
- let i = new oe(e, n, t);
3516
+ e.KeywordCxt = se;
3517
+ function ce(e, t, n, r) {
3518
+ let i = new se(e, n, t);
3519
3519
  "code" in n ? n.code(i, r) : i.$data && n.validate ? (0, o.funcKeywordCode)(i, n) : "macro" in n ? (0, o.macroKeywordCode)(i, n) : (n.compile || n.validate) && (0, o.funcKeywordCode)(i, n);
3520
3520
  }
3521
- var ce = /^\/(?:[^~]|~0|~1)*$/, le = /^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;
3522
- function ue(e, { dataLevel: t, dataNames: n, dataPathArr: r }) {
3521
+ var le = /^\/(?:[^~]|~0|~1)*$/, ue = /^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;
3522
+ function de(e, { dataLevel: t, dataNames: n, dataPathArr: r }) {
3523
3523
  let i, a;
3524
3524
  if (e === "") return l.default.rootData;
3525
3525
  if (e[0] === "/") {
3526
- if (!ce.test(e)) throw Error(`Invalid JSON-pointer: ${e}`);
3526
+ if (!le.test(e)) throw Error(`Invalid JSON-pointer: ${e}`);
3527
3527
  i = e, a = l.default.rootData;
3528
3528
  } else {
3529
- let o = le.exec(e);
3529
+ let o = ue.exec(e);
3530
3530
  if (!o) throw Error(`Invalid JSON-pointer: ${e}`);
3531
3531
  let s = +o[1];
3532
3532
  if (i = o[2], i === "#") {
@@ -3543,24 +3543,24 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
3543
3543
  return `Cannot access ${e} ${n} levels up, current level is ${t}`;
3544
3544
  }
3545
3545
  }
3546
- e.getData = ue;
3547
- })), zn = /* @__PURE__ */ i(((e) => {
3546
+ e.getData = de;
3547
+ })), Rn = /* @__PURE__ */ i(((e) => {
3548
3548
  Object.defineProperty(e, "__esModule", { value: !0 }), e.default = class extends Error {
3549
3549
  constructor(e) {
3550
3550
  super("validation failed"), this.errors = e, this.ajv = this.validation = !0;
3551
3551
  }
3552
3552
  };
3553
- })), Bn = /* @__PURE__ */ i(((e) => {
3553
+ })), zn = /* @__PURE__ */ i(((e) => {
3554
3554
  Object.defineProperty(e, "__esModule", { value: !0 });
3555
- var t = Ln();
3555
+ var t = In();
3556
3556
  e.default = class extends Error {
3557
3557
  constructor(e, n, r, i) {
3558
3558
  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));
3559
3559
  }
3560
3560
  };
3561
- })), Vn = /* @__PURE__ */ i(((e) => {
3561
+ })), Bn = /* @__PURE__ */ i(((e) => {
3562
3562
  Object.defineProperty(e, "__esModule", { value: !0 }), e.resolveSchema = e.getCompilingSchema = e.resolveRef = e.compileSchema = e.SchemaEnv = void 0;
3563
- var t = Y(), n = zn(), r = Z(), i = Ln(), a = X(), o = Rn(), s = class {
3563
+ var t = X(), n = Rn(), r = Tn(), i = In(), a = Z(), o = Ln(), s = class {
3564
3564
  constructor(e) {
3565
3565
  this.refs = {}, this.dynamicAnchors = {};
3566
3566
  let t;
@@ -3719,27 +3719,27 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
3719
3719
  baseId: t
3720
3720
  }), o.schema !== o.root.schema) return o;
3721
3721
  }
3722
- })), Hn = /* @__PURE__ */ r({
3723
- $id: () => Un,
3722
+ })), Vn = /* @__PURE__ */ r({
3723
+ $id: () => Hn,
3724
3724
  additionalProperties: () => !1,
3725
- default: () => Jn,
3726
- description: () => Wn,
3727
- properties: () => qn,
3728
- required: () => Kn,
3729
- type: () => Gn
3730
- }), Un, Wn, Gn, Kn, qn, Jn, Yn = t((() => {
3731
- Un = "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#", Wn = "Meta-schema for $data reference (JSON AnySchema extension proposal)", Gn = "object", Kn = ["$data"], qn = { $data: {
3725
+ default: () => qn,
3726
+ description: () => Un,
3727
+ properties: () => Kn,
3728
+ required: () => Gn,
3729
+ type: () => Wn
3730
+ }), Hn, Un, Wn, Gn, Kn, qn, Jn = t((() => {
3731
+ Hn = "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#", Un = "Meta-schema for $data reference (JSON AnySchema extension proposal)", Wn = "object", Gn = ["$data"], Kn = { $data: {
3732
3732
  type: "string",
3733
3733
  anyOf: [{ format: "relative-json-pointer" }, { format: "json-pointer" }]
3734
- } }, Jn = {
3735
- $id: Un,
3736
- description: Wn,
3737
- type: Gn,
3738
- required: Kn,
3739
- properties: qn,
3734
+ } }, qn = {
3735
+ $id: Hn,
3736
+ description: Un,
3737
+ type: Wn,
3738
+ required: Gn,
3739
+ properties: Kn,
3740
3740
  additionalProperties: !1
3741
3741
  };
3742
- })), Xn = /* @__PURE__ */ i(((e, t) => {
3742
+ })), Yn = /* @__PURE__ */ i(((e, t) => {
3743
3743
  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(/^[\da-f]{2}$/iu), a = RegExp.prototype.test.bind(/^[\da-z\-._~]$/iu), o = RegExp.prototype.test.bind(/^[A-Za-z0-9\-._~!$&'()*+,;=:@/]$/u), s = RegExp.prototype.test.bind(/^[A-Za-z0-9\-._~!$&'()*+,;=:@/?]$/u), c = RegExp.prototype.test.bind(/^[A-Za-z0-9\-._~!$&'()*+,;=:]$/u), l = Array(256);
3744
3744
  {
3745
3745
  let e = "0123456789ABCDEF";
@@ -3946,7 +3946,7 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
3946
3946
  if (o(r)) t += r;
3947
3947
  else {
3948
3948
  let i = e.charCodeAt(n);
3949
- if (i < 128) t += N(i) ? r : l[i];
3949
+ if (i < 128) t += ee(i) ? r : l[i];
3950
3950
  else if (i < 55296 || i > 57343) t += u(i);
3951
3951
  else if (i <= 56319 && n + 1 < e.length) {
3952
3952
  let r = e.charCodeAt(n + 1);
@@ -4013,10 +4013,10 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
4013
4013
  function M(e) {
4014
4014
  return k(e, s);
4015
4015
  }
4016
- function N(e) {
4016
+ function ee(e) {
4017
4017
  return e >= 48 && e <= 57 || e >= 65 && e <= 90 || e >= 97 && e <= 122 || e === 42 || e === 43 || e === 45 || e === 46 || e === 47 || e === 64 || e === 95;
4018
4018
  }
4019
- function P(e) {
4019
+ function N(e) {
4020
4020
  let t = "";
4021
4021
  for (let n = 0; n < e.length; n++) {
4022
4022
  let r = e[n];
@@ -4031,7 +4031,7 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
4031
4031
  if (s(r)) t += r;
4032
4032
  else {
4033
4033
  let i = e.charCodeAt(n);
4034
- if (i < 128) t += N(i) ? r : l[i];
4034
+ if (i < 128) t += ee(i) ? r : l[i];
4035
4035
  else if (i < 55296 || i > 57343) t += u(i);
4036
4036
  else if (i <= 56319 && n + 1 < e.length) {
4037
4037
  let r = e.charCodeAt(n + 1);
@@ -4041,7 +4041,7 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
4041
4041
  }
4042
4042
  return t;
4043
4043
  }
4044
- function ee(e) {
4044
+ function te(e) {
4045
4045
  let t = "";
4046
4046
  for (let n = 0; n < e.length; n++) {
4047
4047
  if (e[n] === "%" && n + 2 < e.length) {
@@ -4055,7 +4055,7 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
4055
4055
  }
4056
4056
  return t;
4057
4057
  }
4058
- function F(e) {
4058
+ function P(e) {
4059
4059
  let t = [];
4060
4060
  if (e.userinfo !== void 0 && (t.push(A(e.userinfo)), t.push("@")), e.host !== void 0) {
4061
4061
  let n = e.host;
@@ -4069,24 +4069,24 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
4069
4069
  }
4070
4070
  t.exports = {
4071
4071
  nonSimpleDomain: h,
4072
- recomposeAuthority: F,
4072
+ recomposeAuthority: P,
4073
4073
  reescapeHostDelimiters: T,
4074
4074
  normalizePercentEncoding: E,
4075
4075
  normalizePathEncoding: D,
4076
4076
  serializePathEncoding: O,
4077
- normalizeQueryFragmentEncoding: P,
4077
+ normalizeQueryFragmentEncoding: N,
4078
4078
  encodeUserinfo: A,
4079
4079
  encodeQuery: j,
4080
4080
  encodeFragment: M,
4081
- escapePreservingEscapes: ee,
4081
+ escapePreservingEscapes: te,
4082
4082
  removeDotSegments: x,
4083
4083
  isIPv4: r,
4084
4084
  isUUID: n,
4085
4085
  normalizeIPv6: y,
4086
4086
  stringArrayToHexStripped: d
4087
4087
  };
4088
- })), Zn = /* @__PURE__ */ i(((e, t) => {
4089
- var { isUUID: n } = Xn(), r = /^([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-./:;=@]|%[\da-f]{2})+)$/iu, i = [
4088
+ })), Xn = /* @__PURE__ */ i(((e, t) => {
4089
+ var { isUUID: n } = Yn(), r = /^([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-./:;=@]|%[\da-f]{2})+)$/iu, i = [
4090
4090
  "http",
4091
4091
  "https",
4092
4092
  "ws",
@@ -4191,15 +4191,15 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
4191
4191
  isValidSchemeName: a,
4192
4192
  getSchemeHandler: y
4193
4193
  };
4194
- })), Qn = /* @__PURE__ */ i(((e, t) => {
4195
- 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 } = Xn(), { SCHEMES: m, getSchemeHandler: h } = Zn(), g = /^[A-Za-z][A-Za-z0-9+.-]*$/u, _ = "URI scheme is malformed.";
4194
+ })), Zn = /* @__PURE__ */ i(((e, t) => {
4195
+ 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 } = Yn(), { SCHEMES: m, getSchemeHandler: h } = Xn(), g = /^[A-Za-z][A-Za-z0-9+.-]*$/u, _ = "URI scheme is malformed.";
4196
4196
  function v(e) {
4197
4197
  let t = unescape(String(e));
4198
4198
  if (!g.test(t)) throw TypeError(_);
4199
4199
  return t;
4200
4200
  }
4201
4201
  function y(e, t) {
4202
- return typeof e == "string" ? e = N(e, t) : typeof e == "object" && (e = M(C(e, t), t)), e;
4202
+ return typeof e == "string" ? e = ee(e, t) : typeof e == "object" && (e = M(C(e, t), t)), e;
4203
4203
  }
4204
4204
  function b(e, t, r) {
4205
4205
  let i = r ? Object.assign({ scheme: "null" }, r) : { scheme: "null" }, { parsed: a, malformedAuthorityOrPort: o, malformedPercentEncoding: s, malformedSchemeSpecific: c, malformedHost: l, malformedScheme: u } = j(e, i), { parsed: d, malformedAuthorityOrPort: p, malformedPercentEncoding: m, malformedSchemeSpecific: g, malformedHost: _, malformedScheme: v } = j(t, i);
@@ -4215,7 +4215,7 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
4215
4215
  return i || (e = M(C(e, n), n), t = M(C(t, n), n)), n ||= {}, !n.tolerant && t.scheme ? (a.scheme = t.scheme, a.userinfo = t.userinfo, a.host = t.host, a.port = t.port, a.path = r(t.path || ""), a.query = t.query) : (t.userinfo !== void 0 || t.host !== void 0 || t.port !== void 0 ? (a.userinfo = t.userinfo, a.host = t.host, a.port = t.port, a.path = r(t.path || ""), a.query = t.query) : (t.path ? (t.path[0] === "/" ? a.path = r(t.path) : (a.path = (e.userinfo !== void 0 || e.host !== void 0 || e.port !== void 0) && !e.path ? "/" + t.path : e.path ? e.path.slice(0, e.path.lastIndexOf("/") + 1) + t.path : t.path, a.path = r(a.path)), a.query = t.query) : (a.path = e.path, a.query = t.query === void 0 ? e.query : t.query), a.userinfo = e.userinfo, a.host = e.host, a.port = e.port), a.scheme = e.scheme), a.fragment = t.fragment, a;
4216
4216
  }
4217
4217
  function S(e, t, n) {
4218
- let r = ee(e, n), i = ee(t, n);
4218
+ let r = te(e, n), i = te(t, n);
4219
4219
  return r !== void 0 && i !== void 0 && r === i;
4220
4220
  }
4221
4221
  function C(e, t) {
@@ -4321,10 +4321,10 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
4321
4321
  function M(e, t) {
4322
4322
  return j(e, t).parsed;
4323
4323
  }
4324
- function N(e, t) {
4325
- return P(e, t).normalized;
4324
+ function ee(e, t) {
4325
+ return N(e, t).normalized;
4326
4326
  }
4327
- function P(e, t) {
4327
+ function N(e, t) {
4328
4328
  let { parsed: n, malformedAuthorityOrPort: r, malformedPercentEncoding: i, malformedSchemeSpecific: a, malformedHost: o, malformedScheme: s } = j(e, t);
4329
4329
  return {
4330
4330
  normalized: r || i || a || o || s ? e : C(n, t),
@@ -4335,7 +4335,7 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
4335
4335
  malformedScheme: s
4336
4336
  };
4337
4337
  }
4338
- function ee(e, t) {
4338
+ function te(e, t) {
4339
4339
  if (typeof e != "string" && typeof e != "object") return;
4340
4340
  let n;
4341
4341
  try {
@@ -4343,10 +4343,10 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
4343
4343
  } catch {
4344
4344
  return;
4345
4345
  }
4346
- let { normalized: r, malformedAuthorityOrPort: i, malformedPercentEncoding: a, malformedSchemeSpecific: o, malformedHost: s, malformedScheme: c } = P(n, t);
4346
+ let { normalized: r, malformedAuthorityOrPort: i, malformedPercentEncoding: a, malformedSchemeSpecific: o, malformedHost: s, malformedScheme: c } = N(n, t);
4347
4347
  return i || a || o || s || c ? void 0 : r;
4348
4348
  }
4349
- var F = {
4349
+ var P = {
4350
4350
  SCHEMES: m,
4351
4351
  normalize: y,
4352
4352
  resolve: b,
@@ -4355,21 +4355,21 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
4355
4355
  serialize: C,
4356
4356
  parse: M
4357
4357
  };
4358
- t.exports = F, t.exports.default = F, t.exports.fastUri = F;
4359
- })), $n = /* @__PURE__ */ i(((e) => {
4358
+ t.exports = P, t.exports.default = P, t.exports.fastUri = P;
4359
+ })), Qn = /* @__PURE__ */ i(((e) => {
4360
4360
  Object.defineProperty(e, "__esModule", { value: !0 });
4361
- var t = Qn();
4361
+ var t = Zn();
4362
4362
  t.code = "require(\"ajv/dist/runtime/uri\").default", e.default = t;
4363
- })), er = /* @__PURE__ */ i(((t) => {
4363
+ })), $n = /* @__PURE__ */ i(((t) => {
4364
4364
  Object.defineProperty(t, "__esModule", { value: !0 }), t.CodeGen = t.Name = t.nil = t.stringify = t.str = t._ = t.KeywordCxt = void 0;
4365
- var n = Rn();
4365
+ var n = Ln();
4366
4366
  Object.defineProperty(t, "KeywordCxt", {
4367
4367
  enumerable: !0,
4368
4368
  get: function() {
4369
4369
  return n.KeywordCxt;
4370
4370
  }
4371
4371
  });
4372
- var r = Y();
4372
+ var r = X();
4373
4373
  Object.defineProperty(t, "_", {
4374
4374
  enumerable: !0,
4375
4375
  get: function() {
@@ -4401,7 +4401,7 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
4401
4401
  return r.CodeGen;
4402
4402
  }
4403
4403
  });
4404
- var i = zn(), a = Bn(), o = kn(), s = Vn(), c = Y(), l = Ln(), u = jn(), d = X(), f = (Yn(), e(Hn).default), p = $n(), m = (e, t) => new RegExp(e, t);
4404
+ var i = Rn(), a = zn(), o = On(), s = Bn(), c = X(), l = In(), u = An(), d = Z(), f = (Jn(), e(Vn).default), p = Qn(), m = (e, t) => new RegExp(e, t);
4405
4405
  m.code = "new RegExp";
4406
4406
  var h = [
4407
4407
  "removeAdditional",
@@ -4617,7 +4617,7 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
4617
4617
  if (t = e, n = t.keyword, Array.isArray(n) && !n.length) throw Error("addKeywords: keyword must be string or non-empty array");
4618
4618
  } else throw Error("invalid addKeywords parameters");
4619
4619
  if (j.call(this, n, t), !t) return (0, d.eachItem)(n, (e) => M.call(this, e)), this;
4620
- P.call(this, t);
4620
+ N.call(this, t);
4621
4621
  let r = {
4622
4622
  ...t,
4623
4623
  type: (0, u.getJSONTypes)(t.type),
@@ -4654,7 +4654,7 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
4654
4654
  let t = n[e];
4655
4655
  if (typeof t != "object") continue;
4656
4656
  let { $data: r } = t.definition, a = i[e];
4657
- r && a && (i[e] = F(a));
4657
+ r && a && (i[e] = P(a));
4658
4658
  }
4659
4659
  }
4660
4660
  return e;
@@ -4775,30 +4775,30 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
4775
4775
  schemaType: (0, u.getJSONTypes)(t.schemaType)
4776
4776
  }
4777
4777
  };
4778
- t.before ? N.call(this, o, s, t.before) : o.rules.push(s), a.all[e] = s, (r = t.implements) == null || r.forEach((e) => this.addKeyword(e));
4778
+ t.before ? ee.call(this, o, s, t.before) : o.rules.push(s), a.all[e] = s, (r = t.implements) == null || r.forEach((e) => this.addKeyword(e));
4779
4779
  }
4780
- function N(e, t, n) {
4780
+ function ee(e, t, n) {
4781
4781
  let r = e.rules.findIndex((e) => e.keyword === n);
4782
4782
  r >= 0 ? e.rules.splice(r, 0, t) : (e.rules.push(t), this.logger.warn(`rule ${n} is not defined`));
4783
4783
  }
4784
- function P(e) {
4784
+ function N(e) {
4785
4785
  let { metaSchema: t } = e;
4786
- t !== void 0 && (e.$data && this.opts.$data && (t = F(t)), e.validateSchema = this.compile(t, !0));
4786
+ t !== void 0 && (e.$data && this.opts.$data && (t = P(t)), e.validateSchema = this.compile(t, !0));
4787
4787
  }
4788
- var ee = { $ref: "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#" };
4789
- function F(e) {
4790
- return { anyOf: [e, ee] };
4788
+ var te = { $ref: "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#" };
4789
+ function P(e) {
4790
+ return { anyOf: [e, te] };
4791
4791
  }
4792
- })), tr = /* @__PURE__ */ i(((e) => {
4792
+ })), er = /* @__PURE__ */ i(((e) => {
4793
4793
  Object.defineProperty(e, "__esModule", { value: !0 }), e.default = {
4794
4794
  keyword: "id",
4795
4795
  code() {
4796
4796
  throw Error("NOT SUPPORTED: keyword \"id\", use \"$id\" for schema ID");
4797
4797
  }
4798
4798
  };
4799
- })), nr = /* @__PURE__ */ i(((e) => {
4799
+ })), tr = /* @__PURE__ */ i(((e) => {
4800
4800
  Object.defineProperty(e, "__esModule", { value: !0 }), e.callRef = e.getValidate = void 0;
4801
- var t = Bn(), n = Q(), r = Y(), i = Z(), a = Vn(), o = X(), s = {
4801
+ var t = zn(), n = Q(), r = X(), i = Tn(), a = Bn(), o = Z(), s = {
4802
4802
  keyword: "$ref",
4803
4803
  schemaType: "string",
4804
4804
  code(e) {
@@ -4875,9 +4875,9 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
4875
4875
  }
4876
4876
  }
4877
4877
  e.callRef = l, e.default = s;
4878
- })), rr = /* @__PURE__ */ i(((e) => {
4878
+ })), nr = /* @__PURE__ */ i(((e) => {
4879
4879
  Object.defineProperty(e, "__esModule", { value: !0 });
4880
- var t = tr(), n = nr();
4880
+ var t = er(), n = tr();
4881
4881
  e.default = [
4882
4882
  "$schema",
4883
4883
  "$id",
@@ -4888,9 +4888,9 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
4888
4888
  t.default,
4889
4889
  n.default
4890
4890
  ];
4891
- })), ir = /* @__PURE__ */ i(((e) => {
4891
+ })), rr = /* @__PURE__ */ i(((e) => {
4892
4892
  Object.defineProperty(e, "__esModule", { value: !0 });
4893
- var t = Y(), n = t.operators, r = {
4893
+ var t = X(), n = t.operators, r = {
4894
4894
  maximum: {
4895
4895
  okStr: "<=",
4896
4896
  ok: n.LTE,
@@ -4926,9 +4926,9 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
4926
4926
  e.fail$data((0, t._)`${i} ${r[n].fail} ${a} || isNaN(${i})`);
4927
4927
  }
4928
4928
  };
4929
- })), ar = /* @__PURE__ */ i(((e) => {
4929
+ })), ir = /* @__PURE__ */ i(((e) => {
4930
4930
  Object.defineProperty(e, "__esModule", { value: !0 });
4931
- var t = Y();
4931
+ var t = X();
4932
4932
  e.default = {
4933
4933
  keyword: "multipleOf",
4934
4934
  type: "number",
@@ -4943,7 +4943,7 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
4943
4943
  e.fail$data((0, t._)`(${i} === 0 || (${s} = ${r}/${i}, ${c}))`);
4944
4944
  }
4945
4945
  };
4946
- })), or = /* @__PURE__ */ i(((e) => {
4946
+ })), ar = /* @__PURE__ */ i(((e) => {
4947
4947
  Object.defineProperty(e, "__esModule", { value: !0 });
4948
4948
  function t(e) {
4949
4949
  let t = e.length, n = 0, r = 0, i;
@@ -4951,9 +4951,9 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
4951
4951
  return n;
4952
4952
  }
4953
4953
  e.default = t, t.code = "require(\"ajv/dist/runtime/ucs2length\").default";
4954
- })), sr = /* @__PURE__ */ i(((e) => {
4954
+ })), or = /* @__PURE__ */ i(((e) => {
4955
4955
  Object.defineProperty(e, "__esModule", { value: !0 });
4956
- var t = Y(), n = X(), r = or();
4956
+ var t = X(), n = Z(), r = ar();
4957
4957
  e.default = {
4958
4958
  keyword: ["maxLength", "minLength"],
4959
4959
  type: "string",
@@ -4971,9 +4971,9 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
4971
4971
  e.fail$data((0, t._)`${l} ${c} ${o}`);
4972
4972
  }
4973
4973
  };
4974
- })), cr = /* @__PURE__ */ i(((e) => {
4974
+ })), sr = /* @__PURE__ */ i(((e) => {
4975
4975
  Object.defineProperty(e, "__esModule", { value: !0 });
4976
- var t = Q(), n = X(), r = Y();
4976
+ var t = Q(), n = Z(), r = X();
4977
4977
  e.default = {
4978
4978
  keyword: "pattern",
4979
4979
  type: "string",
@@ -4994,9 +4994,9 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
4994
4994
  }
4995
4995
  }
4996
4996
  };
4997
- })), lr = /* @__PURE__ */ i(((e) => {
4997
+ })), cr = /* @__PURE__ */ i(((e) => {
4998
4998
  Object.defineProperty(e, "__esModule", { value: !0 });
4999
- var t = Y();
4999
+ var t = X();
5000
5000
  e.default = {
5001
5001
  keyword: ["maxProperties", "minProperties"],
5002
5002
  type: "object",
@@ -5014,9 +5014,9 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
5014
5014
  e.fail$data((0, t._)`Object.keys(${r}).length ${a} ${i}`);
5015
5015
  }
5016
5016
  };
5017
- })), ur = /* @__PURE__ */ i(((e) => {
5017
+ })), lr = /* @__PURE__ */ i(((e) => {
5018
5018
  Object.defineProperty(e, "__esModule", { value: !0 });
5019
- var t = Q(), n = Y(), r = X();
5019
+ var t = Q(), n = X(), r = Z();
5020
5020
  e.default = {
5021
5021
  keyword: "required",
5022
5022
  type: "object",
@@ -5062,9 +5062,9 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
5062
5062
  }
5063
5063
  }
5064
5064
  };
5065
- })), dr = /* @__PURE__ */ i(((e) => {
5065
+ })), ur = /* @__PURE__ */ i(((e) => {
5066
5066
  Object.defineProperty(e, "__esModule", { value: !0 });
5067
- var t = Y();
5067
+ var t = X();
5068
5068
  e.default = {
5069
5069
  keyword: ["maxItems", "minItems"],
5070
5070
  type: "array",
@@ -5082,13 +5082,13 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
5082
5082
  e.fail$data((0, t._)`${r}.length ${a} ${i}`);
5083
5083
  }
5084
5084
  };
5085
- })), fr = /* @__PURE__ */ i(((e) => {
5085
+ })), dr = /* @__PURE__ */ i(((e) => {
5086
5086
  Object.defineProperty(e, "__esModule", { value: !0 });
5087
- var t = Fn();
5087
+ var t = Pn();
5088
5088
  t.code = "require(\"ajv/dist/runtime/equal\").default", e.default = t;
5089
- })), pr = /* @__PURE__ */ i(((e) => {
5089
+ })), fr = /* @__PURE__ */ i(((e) => {
5090
5090
  Object.defineProperty(e, "__esModule", { value: !0 });
5091
- var t = jn(), n = Y(), r = X(), i = fr();
5091
+ var t = An(), n = X(), r = Z(), i = dr();
5092
5092
  e.default = {
5093
5093
  keyword: "uniqueItems",
5094
5094
  type: "array",
@@ -5129,9 +5129,9 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
5129
5129
  }
5130
5130
  }
5131
5131
  };
5132
- })), mr = /* @__PURE__ */ i(((e) => {
5132
+ })), pr = /* @__PURE__ */ i(((e) => {
5133
5133
  Object.defineProperty(e, "__esModule", { value: !0 });
5134
- var t = Y(), n = X(), r = fr();
5134
+ var t = X(), n = Z(), r = dr();
5135
5135
  e.default = {
5136
5136
  keyword: "const",
5137
5137
  $data: !0,
@@ -5144,9 +5144,9 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
5144
5144
  o || c && typeof c == "object" ? e.fail$data((0, t._)`!${(0, n.useFunc)(i, r.default)}(${a}, ${s})`) : e.fail((0, t._)`${c} !== ${a}`);
5145
5145
  }
5146
5146
  };
5147
- })), hr = /* @__PURE__ */ i(((e) => {
5147
+ })), mr = /* @__PURE__ */ i(((e) => {
5148
5148
  Object.defineProperty(e, "__esModule", { value: !0 });
5149
- var t = Y(), n = X(), r = fr();
5149
+ var t = X(), n = Z(), r = dr();
5150
5150
  e.default = {
5151
5151
  keyword: "enum",
5152
5152
  schemaType: "array",
@@ -5176,9 +5176,9 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
5176
5176
  }
5177
5177
  }
5178
5178
  };
5179
- })), gr = /* @__PURE__ */ i(((e) => {
5179
+ })), hr = /* @__PURE__ */ i(((e) => {
5180
5180
  Object.defineProperty(e, "__esModule", { value: !0 });
5181
- var t = ir(), n = ar(), r = sr(), i = cr(), a = lr(), o = ur(), s = dr(), c = pr(), l = mr(), u = hr();
5181
+ var t = rr(), n = ir(), r = or(), i = sr(), a = cr(), o = lr(), s = ur(), c = fr(), l = pr(), u = mr();
5182
5182
  e.default = [
5183
5183
  t.default,
5184
5184
  n.default,
@@ -5199,9 +5199,9 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
5199
5199
  l.default,
5200
5200
  u.default
5201
5201
  ];
5202
- })), _r = /* @__PURE__ */ i(((e) => {
5202
+ })), gr = /* @__PURE__ */ i(((e) => {
5203
5203
  Object.defineProperty(e, "__esModule", { value: !0 }), e.validateAdditionalItems = void 0;
5204
- var t = Y(), n = X(), r = {
5204
+ var t = X(), n = Z(), r = {
5205
5205
  keyword: "additionalItems",
5206
5206
  type: "array",
5207
5207
  schemaType: ["boolean", "object"],
@@ -5239,9 +5239,9 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
5239
5239
  }
5240
5240
  }
5241
5241
  e.validateAdditionalItems = i, e.default = r;
5242
- })), vr = /* @__PURE__ */ i(((e) => {
5242
+ })), _r = /* @__PURE__ */ i(((e) => {
5243
5243
  Object.defineProperty(e, "__esModule", { value: !0 }), e.validateTuple = void 0;
5244
- var t = Y(), n = X(), r = Q(), i = {
5244
+ var t = X(), n = Z(), r = Q(), i = {
5245
5245
  keyword: "items",
5246
5246
  type: "array",
5247
5247
  schemaType: [
@@ -5276,9 +5276,9 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
5276
5276
  }
5277
5277
  }
5278
5278
  e.validateTuple = a, e.default = i;
5279
- })), yr = /* @__PURE__ */ i(((e) => {
5279
+ })), vr = /* @__PURE__ */ i(((e) => {
5280
5280
  Object.defineProperty(e, "__esModule", { value: !0 });
5281
- var t = vr();
5281
+ var t = _r();
5282
5282
  e.default = {
5283
5283
  keyword: "prefixItems",
5284
5284
  type: "array",
@@ -5286,9 +5286,9 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
5286
5286
  before: "uniqueItems",
5287
5287
  code: (e) => (0, t.validateTuple)(e, "items")
5288
5288
  };
5289
- })), br = /* @__PURE__ */ i(((e) => {
5289
+ })), yr = /* @__PURE__ */ i(((e) => {
5290
5290
  Object.defineProperty(e, "__esModule", { value: !0 });
5291
- var t = Y(), n = X(), r = Q(), i = _r();
5291
+ var t = X(), n = Z(), r = Q(), i = gr();
5292
5292
  e.default = {
5293
5293
  keyword: "items",
5294
5294
  type: "array",
@@ -5303,9 +5303,9 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
5303
5303
  o.items = !0, !(0, n.alwaysValidSchema)(o, t) && (s ? (0, i.validateAdditionalItems)(e, s) : e.ok((0, r.validateArray)(e)));
5304
5304
  }
5305
5305
  };
5306
- })), xr = /* @__PURE__ */ i(((e) => {
5306
+ })), br = /* @__PURE__ */ i(((e) => {
5307
5307
  Object.defineProperty(e, "__esModule", { value: !0 });
5308
- var t = Y(), n = X();
5308
+ var t = X(), n = Z();
5309
5309
  e.default = {
5310
5310
  keyword: "contains",
5311
5311
  type: "array",
@@ -5358,9 +5358,9 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
5358
5358
  }
5359
5359
  }
5360
5360
  };
5361
- })), Sr = /* @__PURE__ */ i(((e) => {
5361
+ })), xr = /* @__PURE__ */ i(((e) => {
5362
5362
  Object.defineProperty(e, "__esModule", { value: !0 }), e.validateSchemaDeps = e.validatePropertyDeps = e.error = void 0;
5363
- var t = Y(), n = X(), r = Q();
5363
+ var t = X(), n = Z(), r = Q();
5364
5364
  e.error = {
5365
5365
  message: ({ params: { property: e, depsCount: n, deps: r } }) => {
5366
5366
  let i = n === 1 ? "property" : "properties";
@@ -5419,9 +5419,9 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
5419
5419
  }, () => i.var(c, !0)), e.ok(c));
5420
5420
  }
5421
5421
  e.validateSchemaDeps = s, e.default = i;
5422
- })), Cr = /* @__PURE__ */ i(((e) => {
5422
+ })), Sr = /* @__PURE__ */ i(((e) => {
5423
5423
  Object.defineProperty(e, "__esModule", { value: !0 });
5424
- var t = Y(), n = X();
5424
+ var t = X(), n = Z();
5425
5425
  e.default = {
5426
5426
  keyword: "propertyNames",
5427
5427
  type: "object",
@@ -5447,9 +5447,9 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
5447
5447
  }), e.ok(s);
5448
5448
  }
5449
5449
  };
5450
- })), wr = /* @__PURE__ */ i(((e) => {
5450
+ })), Cr = /* @__PURE__ */ i(((e) => {
5451
5451
  Object.defineProperty(e, "__esModule", { value: !0 });
5452
- var t = Q(), n = Y(), r = Z(), i = X();
5452
+ var t = Q(), n = X(), r = Tn(), i = Z();
5453
5453
  e.default = {
5454
5454
  keyword: "additionalProperties",
5455
5455
  type: ["object"],
@@ -5514,9 +5514,9 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
5514
5514
  }
5515
5515
  }
5516
5516
  };
5517
- })), Tr = /* @__PURE__ */ i(((e) => {
5517
+ })), wr = /* @__PURE__ */ i(((e) => {
5518
5518
  Object.defineProperty(e, "__esModule", { value: !0 });
5519
- var t = Rn(), n = Q(), r = X(), i = wr();
5519
+ var t = Ln(), n = Q(), r = Z(), i = Cr();
5520
5520
  e.default = {
5521
5521
  keyword: "properties",
5522
5522
  type: "object",
@@ -5543,9 +5543,9 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
5543
5543
  }
5544
5544
  }
5545
5545
  };
5546
- })), Er = /* @__PURE__ */ i(((e) => {
5546
+ })), Tr = /* @__PURE__ */ i(((e) => {
5547
5547
  Object.defineProperty(e, "__esModule", { value: !0 });
5548
- var t = Q(), n = Y(), r = X(), i = X();
5548
+ var t = Q(), n = X(), r = Z(), i = Z();
5549
5549
  e.default = {
5550
5550
  keyword: "patternProperties",
5551
5551
  type: "object",
@@ -5578,9 +5578,9 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
5578
5578
  }
5579
5579
  }
5580
5580
  };
5581
- })), Dr = /* @__PURE__ */ i(((e) => {
5581
+ })), Er = /* @__PURE__ */ i(((e) => {
5582
5582
  Object.defineProperty(e, "__esModule", { value: !0 });
5583
- var t = X();
5583
+ var t = Z();
5584
5584
  e.default = {
5585
5585
  keyword: "not",
5586
5586
  schemaType: ["object", "boolean"],
@@ -5601,7 +5601,7 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
5601
5601
  },
5602
5602
  error: { message: "must NOT be valid" }
5603
5603
  };
5604
- })), Or = /* @__PURE__ */ i(((e) => {
5604
+ })), Dr = /* @__PURE__ */ i(((e) => {
5605
5605
  Object.defineProperty(e, "__esModule", { value: !0 }), e.default = {
5606
5606
  keyword: "anyOf",
5607
5607
  schemaType: "array",
@@ -5609,9 +5609,9 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
5609
5609
  code: Q().validateUnion,
5610
5610
  error: { message: "must match a schema in anyOf" }
5611
5611
  };
5612
- })), kr = /* @__PURE__ */ i(((e) => {
5612
+ })), Or = /* @__PURE__ */ i(((e) => {
5613
5613
  Object.defineProperty(e, "__esModule", { value: !0 });
5614
- var t = Y(), n = X();
5614
+ var t = X(), n = Z();
5615
5615
  e.default = {
5616
5616
  keyword: "oneOf",
5617
5617
  schemaType: "array",
@@ -5641,9 +5641,9 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
5641
5641
  }
5642
5642
  }
5643
5643
  };
5644
- })), Ar = /* @__PURE__ */ i(((e) => {
5644
+ })), kr = /* @__PURE__ */ i(((e) => {
5645
5645
  Object.defineProperty(e, "__esModule", { value: !0 });
5646
- var t = X();
5646
+ var t = Z();
5647
5647
  e.default = {
5648
5648
  keyword: "allOf",
5649
5649
  schemaType: "array",
@@ -5662,9 +5662,9 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
5662
5662
  });
5663
5663
  }
5664
5664
  };
5665
- })), jr = /* @__PURE__ */ i(((e) => {
5665
+ })), Ar = /* @__PURE__ */ i(((e) => {
5666
5666
  Object.defineProperty(e, "__esModule", { value: !0 });
5667
- var t = Y(), n = X(), r = {
5667
+ var t = X(), n = Z(), r = {
5668
5668
  keyword: "if",
5669
5669
  schemaType: ["object", "boolean"],
5670
5670
  trackErrors: !0,
@@ -5705,9 +5705,9 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
5705
5705
  return r !== void 0 && !(0, n.alwaysValidSchema)(e, r);
5706
5706
  }
5707
5707
  e.default = r;
5708
- })), Mr = /* @__PURE__ */ i(((e) => {
5708
+ })), jr = /* @__PURE__ */ i(((e) => {
5709
5709
  Object.defineProperty(e, "__esModule", { value: !0 });
5710
- var t = X();
5710
+ var t = Z();
5711
5711
  e.default = {
5712
5712
  keyword: ["then", "else"],
5713
5713
  schemaType: ["object", "boolean"],
@@ -5715,9 +5715,9 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
5715
5715
  n.if === void 0 && (0, t.checkStrictMode)(r, `"${e}" without "if" is ignored`);
5716
5716
  }
5717
5717
  };
5718
- })), Nr = /* @__PURE__ */ i(((e) => {
5718
+ })), Mr = /* @__PURE__ */ i(((e) => {
5719
5719
  Object.defineProperty(e, "__esModule", { value: !0 });
5720
- var t = _r(), n = yr(), r = vr(), i = br(), a = xr(), o = Sr(), s = Cr(), c = wr(), l = Tr(), u = Er(), d = Dr(), f = Or(), p = kr(), m = Ar(), h = jr(), g = Mr();
5720
+ var t = gr(), n = vr(), r = _r(), i = yr(), a = br(), o = xr(), s = Sr(), c = Cr(), l = wr(), u = Tr(), d = Er(), f = Dr(), p = Or(), m = kr(), h = Ar(), g = jr();
5721
5721
  function _(e = !1) {
5722
5722
  let _ = [
5723
5723
  d.default,
@@ -5735,9 +5735,9 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
5735
5735
  return e ? _.push(n.default, i.default) : _.push(t.default, r.default), _.push(a.default), _;
5736
5736
  }
5737
5737
  e.default = _;
5738
- })), Pr = /* @__PURE__ */ i(((e) => {
5738
+ })), Nr = /* @__PURE__ */ i(((e) => {
5739
5739
  Object.defineProperty(e, "__esModule", { value: !0 });
5740
- var t = Y();
5740
+ var t = X();
5741
5741
  e.default = {
5742
5742
  keyword: "format",
5743
5743
  type: ["number", "string"],
@@ -5810,9 +5810,9 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
5810
5810
  }
5811
5811
  }
5812
5812
  };
5813
+ })), Pr = /* @__PURE__ */ i(((e) => {
5814
+ Object.defineProperty(e, "__esModule", { value: !0 }), e.default = [Nr().default];
5813
5815
  })), Fr = /* @__PURE__ */ i(((e) => {
5814
- Object.defineProperty(e, "__esModule", { value: !0 }), e.default = [Pr().default];
5815
- })), Ir = /* @__PURE__ */ i(((e) => {
5816
5816
  Object.defineProperty(e, "__esModule", { value: !0 }), e.contentVocabulary = e.metadataVocabulary = void 0, e.metadataVocabulary = [
5817
5817
  "title",
5818
5818
  "description",
@@ -5826,9 +5826,9 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
5826
5826
  "contentEncoding",
5827
5827
  "contentSchema"
5828
5828
  ];
5829
- })), Lr = /* @__PURE__ */ i(((e) => {
5829
+ })), Ir = /* @__PURE__ */ i(((e) => {
5830
5830
  Object.defineProperty(e, "__esModule", { value: !0 });
5831
- var t = rr(), n = gr(), r = Nr(), i = Fr(), a = Ir();
5831
+ var t = nr(), n = hr(), r = Mr(), i = Pr(), a = Fr();
5832
5832
  e.default = [
5833
5833
  t.default,
5834
5834
  n.default,
@@ -5837,15 +5837,15 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
5837
5837
  a.metadataVocabulary,
5838
5838
  a.contentVocabulary
5839
5839
  ];
5840
- })), Rr = /* @__PURE__ */ i(((e) => {
5840
+ })), Lr = /* @__PURE__ */ i(((e) => {
5841
5841
  Object.defineProperty(e, "__esModule", { value: !0 }), e.DiscrError = void 0;
5842
5842
  var t;
5843
5843
  (function(e) {
5844
5844
  e.Tag = "tag", e.Mapping = "mapping";
5845
5845
  })(t || (e.DiscrError = t = {}));
5846
- })), zr = /* @__PURE__ */ i(((e) => {
5846
+ })), Rr = /* @__PURE__ */ i(((e) => {
5847
5847
  Object.defineProperty(e, "__esModule", { value: !0 });
5848
- var t = Y(), n = Rr(), r = Vn(), i = Bn(), a = X();
5848
+ var t = X(), n = Lr(), r = Bn(), i = zn(), a = Z();
5849
5849
  e.default = {
5850
5850
  keyword: "discriminator",
5851
5851
  type: "object",
@@ -5913,16 +5913,16 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
5913
5913
  }
5914
5914
  }
5915
5915
  };
5916
- })), Br = /* @__PURE__ */ r({
5917
- $id: () => Hr,
5918
- $schema: () => Vr,
5919
- default: () => qr,
5920
- definitions: () => Wr,
5921
- properties: () => Kr,
5922
- title: () => Ur,
5923
- type: () => Gr
5924
- }), Vr, Hr, Ur, Wr, Gr, Kr, qr, Jr = t((() => {
5925
- Vr = "http://json-schema.org/draft-07/schema#", Hr = "http://json-schema.org/draft-07/schema#", Ur = "Core schema meta-schema", Wr = {
5916
+ })), zr = /* @__PURE__ */ r({
5917
+ $id: () => Vr,
5918
+ $schema: () => Br,
5919
+ default: () => Kr,
5920
+ definitions: () => Ur,
5921
+ properties: () => Gr,
5922
+ title: () => Hr,
5923
+ type: () => Wr
5924
+ }), Br, Vr, Hr, Ur, Wr, Gr, Kr, qr = t((() => {
5925
+ Br = "http://json-schema.org/draft-07/schema#", Vr = "http://json-schema.org/draft-07/schema#", Hr = "Core schema meta-schema", Ur = {
5926
5926
  schemaArray: {
5927
5927
  type: "array",
5928
5928
  minItems: 1,
@@ -5948,7 +5948,7 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
5948
5948
  uniqueItems: !0,
5949
5949
  default: []
5950
5950
  }
5951
- }, Gr = ["object", "boolean"], Kr = {
5951
+ }, Wr = ["object", "boolean"], Gr = {
5952
5952
  $id: {
5953
5953
  type: "string",
5954
5954
  format: "uri-reference"
@@ -6047,18 +6047,18 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
6047
6047
  anyOf: { $ref: "#/definitions/schemaArray" },
6048
6048
  oneOf: { $ref: "#/definitions/schemaArray" },
6049
6049
  not: { $ref: "#" }
6050
- }, qr = {
6051
- $schema: Vr,
6052
- $id: Hr,
6053
- title: Ur,
6054
- definitions: Wr,
6055
- type: Gr,
6056
- properties: Kr,
6050
+ }, Kr = {
6051
+ $schema: Br,
6052
+ $id: Vr,
6053
+ title: Hr,
6054
+ definitions: Ur,
6055
+ type: Wr,
6056
+ properties: Gr,
6057
6057
  default: !0
6058
6058
  };
6059
- })), Yr = /* @__PURE__ */ i(((t, n) => {
6059
+ })), Jr = /* @__PURE__ */ i(((t, n) => {
6060
6060
  Object.defineProperty(t, "__esModule", { value: !0 }), t.MissingRefError = t.ValidationError = t.CodeGen = t.Name = t.nil = t.stringify = t.str = t._ = t.KeywordCxt = t.Ajv = void 0;
6061
- var r = er(), i = Lr(), a = zr(), o = (Jr(), e(Br).default), s = ["/properties"], c = "http://json-schema.org/draft-07/schema", l = class extends r.default {
6061
+ var r = $n(), i = Ir(), a = Rr(), o = (qr(), e(zr).default), s = ["/properties"], c = "http://json-schema.org/draft-07/schema", l = class extends r.default {
6062
6062
  _addVocabularies() {
6063
6063
  super._addVocabularies(), i.default.forEach((e) => this.addVocabulary(e)), this.opts.discriminator && this.addKeyword(a.default);
6064
6064
  }
@@ -6072,14 +6072,14 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
6072
6072
  }
6073
6073
  };
6074
6074
  t.Ajv = l, n.exports = t = l, n.exports.Ajv = l, Object.defineProperty(t, "__esModule", { value: !0 }), t.default = l;
6075
- var u = Rn();
6075
+ var u = Ln();
6076
6076
  Object.defineProperty(t, "KeywordCxt", {
6077
6077
  enumerable: !0,
6078
6078
  get: function() {
6079
6079
  return u.KeywordCxt;
6080
6080
  }
6081
6081
  });
6082
- var d = Y();
6082
+ var d = X();
6083
6083
  Object.defineProperty(t, "_", {
6084
6084
  enumerable: !0,
6085
6085
  get: function() {
@@ -6111,21 +6111,21 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
6111
6111
  return d.CodeGen;
6112
6112
  }
6113
6113
  });
6114
- var f = zn();
6114
+ var f = Rn();
6115
6115
  Object.defineProperty(t, "ValidationError", {
6116
6116
  enumerable: !0,
6117
6117
  get: function() {
6118
6118
  return f.default;
6119
6119
  }
6120
6120
  });
6121
- var p = Bn();
6121
+ var p = zn();
6122
6122
  Object.defineProperty(t, "MissingRefError", {
6123
6123
  enumerable: !0,
6124
6124
  get: function() {
6125
6125
  return p.default;
6126
6126
  }
6127
6127
  });
6128
- })), Xr = /* @__PURE__ */ i(((e) => {
6128
+ })), Yr = /* @__PURE__ */ i(((e) => {
6129
6129
  Object.defineProperty(e, "__esModule", { value: !0 }), e.formatNames = e.fastFormats = e.fullFormats = void 0;
6130
6130
  function t(e, t) {
6131
6131
  return {
@@ -6277,9 +6277,9 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
6277
6277
  return !1;
6278
6278
  }
6279
6279
  }
6280
- })), Zr = /* @__PURE__ */ i(((e) => {
6280
+ })), Xr = /* @__PURE__ */ i(((e) => {
6281
6281
  Object.defineProperty(e, "__esModule", { value: !0 }), e.formatLimitDefinition = void 0;
6282
- var t = Yr(), n = Y(), r = n.operators, i = {
6282
+ var t = Jr(), n = X(), r = n.operators, i = {
6283
6283
  formatMaximum: {
6284
6284
  okStr: "<=",
6285
6285
  ok: r.LTE,
@@ -6339,9 +6339,9 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
6339
6339
  },
6340
6340
  dependencies: ["format"]
6341
6341
  }, e.default = (t) => (t.addKeyword(e.formatLimitDefinition), t);
6342
- })), Qr = /* @__PURE__ */ i(((e, t) => {
6342
+ })), Zr = /* @__PURE__ */ i(((e, t) => {
6343
6343
  Object.defineProperty(e, "__esModule", { value: !0 });
6344
- var n = Xr(), r = Zr(), i = Y(), a = new i.Name("fullFormats"), o = new i.Name("fastFormats"), s = (e, t = { keywords: !0 }) => {
6344
+ var n = Yr(), r = Xr(), i = X(), a = new i.Name("fullFormats"), o = new i.Name("fastFormats"), s = (e, t = { keywords: !0 }) => {
6345
6345
  if (Array.isArray(t)) return c(e, t, n.fullFormats, a), e;
6346
6346
  let [i, s] = t.mode === "fast" ? [n.fastFormats, o] : [n.fullFormats, a];
6347
6347
  return c(e, t.formats || n.formatNames, i, s), t.keywords && (0, r.default)(e), e;
@@ -6357,7 +6357,7 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
6357
6357
  for (let r of t) e.addFormat(r, n[r]);
6358
6358
  }
6359
6359
  t.exports = e = s, Object.defineProperty(e, "__esModule", { value: !0 }), e.default = s;
6360
- })), $r = /* @__PURE__ */ i(((e, t) => {
6360
+ })), Qr = /* @__PURE__ */ i(((e, t) => {
6361
6361
  t.exports = function(e) {
6362
6362
  if (e && e.length) for (let r of e) {
6363
6363
  let e;
@@ -6503,7 +6503,7 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
6503
6503
  r.message = e;
6504
6504
  }
6505
6505
  };
6506
- })), ei = /* @__PURE__ */ i(((e, t) => {
6506
+ })), $r = /* @__PURE__ */ i(((e, t) => {
6507
6507
  t.exports = function(e) {
6508
6508
  if (e && e.length) for (let r of e) {
6509
6509
  let e;
@@ -6649,7 +6649,7 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
6649
6649
  r.message = e;
6650
6650
  }
6651
6651
  };
6652
- })), ti = /* @__PURE__ */ i(((e, t) => {
6652
+ })), ei = /* @__PURE__ */ i(((e, t) => {
6653
6653
  t.exports = function(e) {
6654
6654
  if (e && e.length) for (let r of e) {
6655
6655
  let e;
@@ -6795,7 +6795,7 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
6795
6795
  r.message = e;
6796
6796
  }
6797
6797
  };
6798
- })), ni = /* @__PURE__ */ i(((e, t) => {
6798
+ })), ti = /* @__PURE__ */ i(((e, t) => {
6799
6799
  t.exports = function(e) {
6800
6800
  if (e && e.length) for (let r of e) {
6801
6801
  let e;
@@ -6941,7 +6941,7 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
6941
6941
  r.message = e;
6942
6942
  }
6943
6943
  };
6944
- })), ri = /* @__PURE__ */ i(((e, t) => {
6944
+ })), ni = /* @__PURE__ */ i(((e, t) => {
6945
6945
  t.exports = function(e) {
6946
6946
  if (e && e.length) for (let r of e) {
6947
6947
  let e;
@@ -7087,7 +7087,7 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
7087
7087
  r.message = e;
7088
7088
  }
7089
7089
  };
7090
- })), ii = /* @__PURE__ */ i(((e, t) => {
7090
+ })), ri = /* @__PURE__ */ i(((e, t) => {
7091
7091
  t.exports = function(e) {
7092
7092
  if (e && e.length) for (let r of e) {
7093
7093
  let e;
@@ -7233,7 +7233,7 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
7233
7233
  r.message = e;
7234
7234
  }
7235
7235
  };
7236
- })), ai = /* @__PURE__ */ i(((e, t) => {
7236
+ })), ii = /* @__PURE__ */ i(((e, t) => {
7237
7237
  t.exports = function(e) {
7238
7238
  if (e && e.length) for (let r of e) {
7239
7239
  let e;
@@ -7379,57 +7379,57 @@ var yn = /* @__PURE__ */ new WeakMap(), bn = (e) => e === null || typeof e != "o
7379
7379
  r.message = e;
7380
7380
  }
7381
7381
  };
7382
- })), oi = /* @__PURE__ */ n(Yr(), 1), si = /* @__PURE__ */ n(Qr(), 1), ci = /* @__PURE__ */ n($r(), 1), li = /* @__PURE__ */ n(ei(), 1), ui = /* @__PURE__ */ n(ti(), 1), di = /* @__PURE__ */ n(ni(), 1), fi = /* @__PURE__ */ n(ri(), 1), pi = /* @__PURE__ */ n(ii(), 1), mi = /* @__PURE__ */ n(ai(), 1), hi = {
7383
- en: ci.default,
7384
- "zh-CN": mi.default,
7385
- "zh-TW": pi.default,
7386
- ja: ui.default,
7387
- ko: di.default,
7388
- ru: fi.default,
7389
- fr: li.default
7382
+ })), ai = /* @__PURE__ */ n(Jr(), 1), oi = /* @__PURE__ */ n(Zr(), 1), si = /* @__PURE__ */ n(Qr(), 1), ci = /* @__PURE__ */ n($r(), 1), li = /* @__PURE__ */ n(ei(), 1), ui = /* @__PURE__ */ n(ti(), 1), di = /* @__PURE__ */ n(ni(), 1), fi = /* @__PURE__ */ n(ri(), 1), pi = /* @__PURE__ */ n(ii(), 1), mi = {
7383
+ en: si.default,
7384
+ "zh-CN": pi.default,
7385
+ "zh-TW": fi.default,
7386
+ ja: li.default,
7387
+ ko: ui.default,
7388
+ ru: di.default,
7389
+ fr: ci.default
7390
7390
  };
7391
- function gi(e) {
7392
- return hi[m([e])];
7391
+ function hi(e) {
7392
+ return mi[m([e])];
7393
7393
  }
7394
- function _i(e, t) {
7395
- gi(e)(t);
7394
+ function gi(e, t) {
7395
+ hi(e)(t);
7396
7396
  }
7397
7397
  //#endregion
7398
7398
  //#region src/designer/browser/validate/validator.ts
7399
- function vi(e) {
7400
- let t = new oi.default({
7399
+ function _i(e) {
7400
+ let t = new ai.default({
7401
7401
  allErrors: !0,
7402
7402
  verbose: !0,
7403
7403
  strict: !1,
7404
7404
  addUsedSchema: !1,
7405
7405
  ...e
7406
7406
  });
7407
- return (0, si.default)(t), t;
7407
+ return (0, oi.default)(t), t;
7408
7408
  }
7409
- var yi = /*#__PURE__*/ vi();
7410
- function bi(e) {
7409
+ var vi = /*#__PURE__*/ _i();
7410
+ function yi(e) {
7411
7411
  if (!e) return [void 0, void 0];
7412
7412
  try {
7413
- return [yi.compile(e), void 0];
7413
+ return [vi.compile(e), void 0];
7414
7414
  } catch (e) {
7415
7415
  return [void 0, e];
7416
7416
  }
7417
7417
  }
7418
- function xi(e, t, n) {
7419
- return !e || e(t) ? [] : (_i(n, e.errors), e.errors);
7418
+ function bi(e, t, n) {
7419
+ return !e || e(t) ? [] : (gi(n, e.errors), e.errors);
7420
7420
  }
7421
7421
  //#endregion
7422
7422
  //#region src/designer/browser/stores/schemaEditor/simpleWidget.store.ts
7423
- var Si = class {
7423
+ var xi = class {
7424
7424
  constructor(e, t, n) {
7425
- this.path = e, this.schema$ = t, this.context = n, this.dispose = I(), this.widgetType$ = this.dispose.add(a(this.schema$, J));
7425
+ this.path = e, this.schema$ = t, this.context = n, this.dispose = F(), this.widgetType$ = this.dispose.add(a(this.schema$, Y));
7426
7426
  }
7427
7427
  get expanded$() {
7428
7428
  return this.expandedCache$ ??= this.dispose.add(this.context.deriveExpanded$(this.path));
7429
7429
  }
7430
7430
  configureNumber() {
7431
- this.numberConfigurationSlot ||= this.dispose.add(P());
7432
- let e = I(), t = e.add(this.deriveUiOptions$("step", U)), n = e.add(this.deriveSchema$("minimum", U)), r = e.add(this.deriveSchema$("maximum", U)), i = e.add(this.deriveSchema$("exclusiveMinimum", U)), a = e.add(this.deriveSchema$("exclusiveMaximum", U));
7431
+ this.numberConfigurationSlot ||= this.dispose.add(N());
7432
+ let e = F(), t = e.add(this.deriveUiOptions$("step", U)), n = e.add(this.deriveSchema$("minimum", U)), r = e.add(this.deriveSchema$("maximum", U)), i = e.add(this.deriveSchema$("exclusiveMinimum", U)), a = e.add(this.deriveSchema$("exclusiveMaximum", U));
7433
7433
  return this.numberConfigurationSlot.set(e), {
7434
7434
  step$: t,
7435
7435
  minimum$: n,
@@ -7439,14 +7439,14 @@ var Si = class {
7439
7439
  };
7440
7440
  }
7441
7441
  configureColor() {
7442
- return this.colorConfigurationSlot ||= this.dispose.add(P()), { colorType$: this.colorConfigurationSlot.set(this.deriveUiOptions$("colorType", (e) => It(e) ? e : void 0)) };
7442
+ return this.colorConfigurationSlot ||= this.dispose.add(N()), { colorType$: this.colorConfigurationSlot.set(this.deriveUiOptions$("colorType", (e) => Pt(e) ? e : void 0)) };
7443
7443
  }
7444
7444
  configureDate() {
7445
- return this.dateConfigurationSlot ||= this.dispose.add(P()), { format$: this.dateConfigurationSlot.set(this.deriveSchema$("format", (e) => Dt(e) ? e : void 0)) };
7445
+ return this.dateConfigurationSlot ||= this.dispose.add(N()), { format$: this.dateConfigurationSlot.set(this.deriveSchema$("format", (e) => Tt(e) ? e : void 0)) };
7446
7446
  }
7447
7447
  configureString() {
7448
- this.stringConfigurationSlot ||= this.dispose.add(P());
7449
- let e = I(), t = e.add(this.deriveSchema$("format", H)), n = e.add(this.deriveSchema$("pattern", H)), r = e.add(this.deriveSchema$("minLength", U)), i = e.add(this.deriveSchema$("maxLength", U));
7448
+ this.stringConfigurationSlot ||= this.dispose.add(N());
7449
+ let e = F(), t = e.add(this.deriveSchema$("format", H)), n = e.add(this.deriveSchema$("pattern", H)), r = e.add(this.deriveSchema$("minLength", U)), i = e.add(this.deriveSchema$("maxLength", U));
7450
7450
  return this.stringConfigurationSlot.set(e), {
7451
7451
  format$: t,
7452
7452
  pattern$: n,
@@ -7455,15 +7455,15 @@ var Si = class {
7455
7455
  };
7456
7456
  }
7457
7457
  configureArray() {
7458
- this.arrayConfigurationSlot ||= this.dispose.add(P());
7459
- let e = I(), t = e.add(this.deriveSchema$("minItems", U)), n = e.add(this.deriveSchema$("maxItems", U));
7458
+ this.arrayConfigurationSlot ||= this.dispose.add(N());
7459
+ let e = F(), t = e.add(this.deriveSchema$("minItems", U)), n = e.add(this.deriveSchema$("maxItems", U));
7460
7460
  return this.arrayConfigurationSlot.set(e), {
7461
7461
  minItems$: t,
7462
7462
  maxItems$: n
7463
7463
  };
7464
7464
  }
7465
7465
  configureObject() {
7466
- return this.objectConfigurationSlot ||= this.dispose.add(P()), { additionalProperties$: this.objectConfigurationSlot.set(this.deriveSchema$("additionalProperties", nt)) };
7466
+ return this.objectConfigurationSlot ||= this.dispose.add(N()), { additionalProperties$: this.objectConfigurationSlot.set(this.deriveSchema$("additionalProperties", tt)) };
7467
7467
  }
7468
7468
  isSelect() {
7469
7469
  return !1;
@@ -7481,11 +7481,11 @@ var Si = class {
7481
7481
  return !1;
7482
7482
  }
7483
7483
  deriveSchema$(e, t, n) {
7484
- return l(a(this.schema$, (n) => t(V(n)?.[e]), n), W(this.schema$, e));
7484
+ return l(a(this.schema$, (n) => t(V(n)?.[e]), n), G(this.schema$, e));
7485
7485
  }
7486
7486
  deriveUiOptions$(e, t, n) {
7487
- return l(a(this.schema$, (n) => t(V(V(n)?.[K])?.[e]), n), (t) => {
7488
- let n = V(this.schema$.value), r = V(n?.[K]);
7487
+ return l(a(this.schema$, (n) => t(V(V(n)?.[q])?.[e]), n), (t) => {
7488
+ let n = V(this.schema$.value), r = V(n?.[q]);
7489
7489
  if (Object.is(t, r?.[e])) return;
7490
7490
  let i = {
7491
7491
  ...r,
@@ -7493,11 +7493,11 @@ var Si = class {
7493
7493
  };
7494
7494
  f(this.schema$, n && {
7495
7495
  ...n,
7496
- "ui:options": Ge(i)
7496
+ "ui:options": We(i)
7497
7497
  });
7498
7498
  });
7499
7499
  }
7500
- }, Ci = class extends Si {
7500
+ }, Si = class extends xi {
7501
7501
  constructor(e, t, n) {
7502
7502
  super(e, t, n), this.conditions$ = this.dispose.add(this.deriveConditions$());
7503
7503
  }
@@ -7505,27 +7505,27 @@ var Si = class {
7505
7505
  return !0;
7506
7506
  }
7507
7507
  addCondition(e) {
7508
- let t = { ...V(this.schema$.value) }, n = J(t), r = z(t[n])?.slice() ?? [], i = { ...V(t[K]) }, a = z(i.labels)?.slice() ?? [];
7508
+ let t = { ...V(this.schema$.value) }, n = Y(t), r = z(t[n])?.slice() ?? [], i = { ...V(t[q]) }, a = z(i.labels)?.slice() ?? [];
7509
7509
  for (; a.length < r.length;) a.push("");
7510
- a.splice(e + 1, 0, ""), i.labels = B(a), r.splice(e + 1, 0, q()), t[n] = r, t[K] = i, this.schema$.set(t);
7510
+ a.splice(e + 1, 0, ""), i.labels = B(a), r.splice(e + 1, 0, J()), t[n] = r, t[q] = i, this.schema$.set(t);
7511
7511
  }
7512
7512
  removeCondition(e) {
7513
- let t = { ...V(this.schema$.value) }, n = J(t), r = z(t[n])?.slice() ?? [], i = { ...V(t[K]) }, a = z(i.labels)?.slice() ?? [];
7513
+ let t = { ...V(this.schema$.value) }, n = Y(t), r = z(t[n])?.slice() ?? [], i = { ...V(t[q]) }, a = z(i.labels)?.slice() ?? [];
7514
7514
  for (; a.length < r.length;) a.push("");
7515
- a.splice(e, 1), i.labels = B(a), r.splice(e, 1), t[n] = r, t[K] = i, this.schema$.set(t);
7515
+ a.splice(e, 1), i.labels = B(a), r.splice(e, 1), t[n] = r, t[q] = i, this.schema$.set(t);
7516
7516
  }
7517
7517
  deriveConditions$() {
7518
7518
  let e = [];
7519
7519
  return a(this.schema$, (t) => {
7520
- let n = z(V(t)?.[J(t)])?.length ?? 0, r = e.slice(0, n);
7521
- for (let e = r.length; e < n; e++) r[e] = new wi(e, this, this.context);
7520
+ let n = z(V(t)?.[Y(t)])?.length ?? 0, r = e.slice(0, n);
7521
+ for (let e = r.length; e < n; e++) r[e] = new Ci(e, this, this.context);
7522
7522
  for (let t = r.length; t < e.length; t++) e[t]?.dispose();
7523
7523
  return e = r, r;
7524
7524
  });
7525
7525
  }
7526
7526
  deriveConditionSchema$(e, t = "anyOf") {
7527
- return l(a(this.schema$, (t) => z(V(t)?.[J(t)])?.[e]), (n) => {
7528
- let r = V(this.schema$.value), i = J(r);
7527
+ return l(a(this.schema$, (t) => z(V(t)?.[Y(t)])?.[e]), (n) => {
7528
+ let r = V(this.schema$.value), i = Y(r);
7529
7529
  i !== "allOf" && i !== "anyOf" && i !== "oneOf" && (i = t);
7530
7530
  let a = z(r?.[i]);
7531
7531
  if (!Object.is(a?.[e], n)) {
@@ -7538,13 +7538,13 @@ var Si = class {
7538
7538
  });
7539
7539
  }
7540
7540
  deriveLabel$(e) {
7541
- return l(a(this.schema$, (t) => H(z(V(V(t)?.[K])?.labels)?.[e])), (t) => {
7542
- let n = V(this.schema$.value), r = V(n?.[K]), i = z(r?.labels);
7541
+ return l(a(this.schema$, (t) => H(z(V(V(t)?.[q])?.labels)?.[e])), (t) => {
7542
+ let n = V(this.schema$.value), r = V(n?.[q]), i = z(r?.labels);
7543
7543
  if (!Object.is(i?.[e], t)) {
7544
7544
  let a = i?.slice() ?? [];
7545
7545
  a[e] = t, this.schema$.set({
7546
7546
  ...n,
7547
- [K]: {
7547
+ [q]: {
7548
7548
  ...r,
7549
7549
  labels: B(a)
7550
7550
  }
@@ -7552,18 +7552,18 @@ var Si = class {
7552
7552
  }
7553
7553
  });
7554
7554
  }
7555
- }, wi = class {
7555
+ }, Ci = class {
7556
7556
  constructor(e, t, n) {
7557
- this.dispose = I(), this.index = e, this.path = t.path.append(e), this.context = n, this.label$ = this.dispose.add(t.deriveLabel$(e)), this.schema$ = this.dispose.add(t.deriveConditionSchema$(e)), this.widget$ = this.dispose.add(Pi(this.path, this.schema$, n));
7557
+ this.dispose = F(), this.index = e, this.path = t.path.append(e), this.context = n, this.label$ = this.dispose.add(t.deriveLabel$(e)), this.schema$ = this.dispose.add(t.deriveConditionSchema$(e)), this.widget$ = this.dispose.add(Ni(this.path, this.schema$, n));
7558
7558
  }
7559
- }, Ti = class extends Si {
7559
+ }, wi = class extends xi {
7560
7560
  constructor(e, t, n) {
7561
- super(e, t, n), this.itemsSchema$ = this.dispose.add(this.deriveSchema$("items", (e) => e, R)), this.itemsWidget$ = this.dispose.add(Pi(this.path.append("items"), this.itemsSchema$, n));
7561
+ super(e, t, n), this.itemsSchema$ = this.dispose.add(this.deriveSchema$("items", (e) => e, R)), this.itemsWidget$ = this.dispose.add(Ni(this.path.append("items"), this.itemsSchema$, n));
7562
7562
  }
7563
7563
  isArray() {
7564
7564
  return !0;
7565
7565
  }
7566
- }, Ei = /*#__PURE__*/ new Set([
7566
+ }, Ti = /*#__PURE__*/ new Set([
7567
7567
  "string",
7568
7568
  "integer",
7569
7569
  "number",
@@ -7574,7 +7574,7 @@ var Si = class {
7574
7574
  "array",
7575
7575
  "object",
7576
7576
  "anyOf"
7577
- ]), Di = (e) => [
7577
+ ]), Ei = (e) => [
7578
7578
  {
7579
7579
  label: e("schemaEditor.stringFormat.email"),
7580
7580
  value: "email"
@@ -7588,13 +7588,13 @@ var Si = class {
7588
7588
  value: ""
7589
7589
  }
7590
7590
  ];
7591
- function Oi(e, t) {
7591
+ function Di(e, t) {
7592
7592
  let n = e || "";
7593
- return Di(t).find((e) => e.value === n);
7593
+ return Ei(t).find((e) => e.value === n);
7594
7594
  }
7595
7595
  //#endregion
7596
7596
  //#region src/designer/browser/stores/schemaEditor/selectWidget.store.ts
7597
- var ki = class extends Si {
7597
+ var Oi = class extends xi {
7598
7598
  constructor(e, t, n) {
7599
7599
  super(e, t, n), this.items$ = this.dispose.add(this.deriveItems()), this.dispose.add(() => {
7600
7600
  for (let e of this.items$.value) e.dispose();
@@ -7604,20 +7604,20 @@ var ki = class extends Si {
7604
7604
  return !0;
7605
7605
  }
7606
7606
  addItem(e) {
7607
- let t = { ...V(this.schema$.value) }, n = z(t.enum)?.slice() ?? [], r = { ...V(t[K]) }, i = z(r.labels)?.slice() ?? [];
7607
+ let t = { ...V(this.schema$.value) }, n = z(t.enum)?.slice() ?? [], r = { ...V(t[q]) }, i = z(r.labels)?.slice() ?? [];
7608
7608
  for (; i.length < n.length;) i.push("");
7609
- i.splice(e + 1, 0, ""), r.labels = B(i), n.splice(e + 1, 0, ""), t.enum = n, t[K] = r, this.schema$.set(t);
7609
+ i.splice(e + 1, 0, ""), r.labels = B(i), n.splice(e + 1, 0, ""), t.enum = n, t[q] = r, this.schema$.set(t);
7610
7610
  }
7611
7611
  removeItem(e) {
7612
- let t = { ...V(this.schema$.value) }, n = z(t.enum)?.slice() ?? [], r = { ...V(t[K]) }, i = z(r.labels)?.slice() ?? [];
7612
+ let t = { ...V(this.schema$.value) }, n = z(t.enum)?.slice() ?? [], r = { ...V(t[q]) }, i = z(r.labels)?.slice() ?? [];
7613
7613
  for (; i.length < n.length;) i.push("");
7614
- i.splice(e, 1), r.labels = B(i), n.splice(e, 1), t.enum = n, t[K] = r, this.schema$.set(t);
7614
+ i.splice(e, 1), r.labels = B(i), n.splice(e, 1), t.enum = n, t[q] = r, this.schema$.set(t);
7615
7615
  }
7616
7616
  deriveItems() {
7617
7617
  let e = [];
7618
7618
  return a(this.schema$, (t) => {
7619
7619
  let n = z(V(t)?.enum)?.length ?? 0, r = e.slice(0, n);
7620
- for (let e = r.length; e < n; e++) r[e] = new Ai(e, this, this.context);
7620
+ for (let e = r.length; e < n; e++) r[e] = new ki(e, this, this.context);
7621
7621
  for (let t = r.length; t < e.length; t++) e[t]?.dispose();
7622
7622
  return e = r, r;
7623
7623
  });
@@ -7635,13 +7635,13 @@ var ki = class extends Si {
7635
7635
  });
7636
7636
  }
7637
7637
  deriveLabel$(e) {
7638
- return l(a(this.schema$, (t) => H(z(V(V(t)?.[K])?.labels)?.[e])), (t) => {
7639
- let n = V(this.schema$.value), r = V(n?.[K]), i = z(r?.labels);
7638
+ return l(a(this.schema$, (t) => H(z(V(V(t)?.[q])?.labels)?.[e])), (t) => {
7639
+ let n = V(this.schema$.value), r = V(n?.[q]), i = z(r?.labels);
7640
7640
  if (!Object.is(i?.[e], t)) {
7641
7641
  let a = i?.slice() ?? [];
7642
7642
  a[e] = t, this.schema$.set({
7643
7643
  ...n,
7644
- [K]: {
7644
+ [q]: {
7645
7645
  ...r,
7646
7646
  labels: B(a)
7647
7647
  }
@@ -7649,11 +7649,11 @@ var ki = class extends Si {
7649
7649
  }
7650
7650
  });
7651
7651
  }
7652
- }, Ai = class {
7652
+ }, ki = class {
7653
7653
  constructor(e, t, n) {
7654
- this.index = e, this.selectStore = t, this.context = n, this.dispose = I(), this.value$ = this.dispose.add(this.selectStore.deriveValue$(e)), this.label$ = this.dispose.add(this.selectStore.deriveLabel$(e));
7654
+ this.index = e, this.selectStore = t, this.context = n, this.dispose = F(), this.value$ = this.dispose.add(this.selectStore.deriveValue$(e)), this.label$ = this.dispose.add(this.selectStore.deriveLabel$(e));
7655
7655
  }
7656
- }, ji = class extends Si {
7656
+ }, Ai = class extends xi {
7657
7657
  constructor(e, t, n) {
7658
7658
  super(e, t, n), this.items$ = this.dispose.add(this.deriveItems()), this.dispose.add(() => {
7659
7659
  for (let e of this.items$.value) e.dispose();
@@ -7663,20 +7663,20 @@ var ki = class extends Si {
7663
7663
  return !0;
7664
7664
  }
7665
7665
  addItem(e) {
7666
- let t = { ...V(this.schema$.value) }, n = { ...V(t.items) }, r = z(n.enum)?.slice() ?? [], i = { ...V(t[K]) }, a = z(i.labels)?.slice() ?? [];
7666
+ let t = { ...V(this.schema$.value) }, n = { ...V(t.items) }, r = z(n.enum)?.slice() ?? [], i = { ...V(t[q]) }, a = z(i.labels)?.slice() ?? [];
7667
7667
  for (; a.length < r.length;) a.push("");
7668
- a.splice(e + 1, 0, ""), i.labels = B(a), r.splice(e + 1, 0, ""), n.enum = r, t.items = n, t[K] = i, this.schema$.set(t);
7668
+ a.splice(e + 1, 0, ""), i.labels = B(a), r.splice(e + 1, 0, ""), n.enum = r, t.items = n, t[q] = i, this.schema$.set(t);
7669
7669
  }
7670
7670
  removeItem(e) {
7671
- let t = { ...V(this.schema$.value) }, n = { ...V(t.items) }, r = z(n.enum)?.slice() ?? [], i = { ...V(t[K]) }, a = z(i.labels)?.slice() ?? [];
7671
+ let t = { ...V(this.schema$.value) }, n = { ...V(t.items) }, r = z(n.enum)?.slice() ?? [], i = { ...V(t[q]) }, a = z(i.labels)?.slice() ?? [];
7672
7672
  for (; a.length < r.length;) a.push("");
7673
- a.splice(e, 1), i.labels = B(a), r.splice(e, 1), n.enum = r, t.items = n, t[K] = i, this.schema$.set(t);
7673
+ a.splice(e, 1), i.labels = B(a), r.splice(e, 1), n.enum = r, t.items = n, t[q] = i, this.schema$.set(t);
7674
7674
  }
7675
7675
  deriveItems() {
7676
7676
  let e = [];
7677
7677
  return a(this.schema$, (t) => {
7678
7678
  let n = V(t)?.items, r = z(V(n)?.enum)?.length ?? 0, i = e.slice(0, r);
7679
- for (let e = i.length; e < r; e++) i[e] = new Ai(e, this, this.context);
7679
+ for (let e = i.length; e < r; e++) i[e] = new ki(e, this, this.context);
7680
7680
  for (let t = i.length; t < e.length; t++) e[t].dispose();
7681
7681
  return e = i, i;
7682
7682
  });
@@ -7700,13 +7700,13 @@ var ki = class extends Si {
7700
7700
  });
7701
7701
  }
7702
7702
  deriveLabel$(e) {
7703
- return l(a(this.schema$, (t) => H(z(V(V(t)?.[K])?.labels)?.[e])), (t) => {
7704
- let n = V(this.schema$.value), r = V(n?.[K]), i = z(r?.labels);
7703
+ return l(a(this.schema$, (t) => H(z(V(V(t)?.[q])?.labels)?.[e])), (t) => {
7704
+ let n = V(this.schema$.value), r = V(n?.[q]), i = z(r?.labels);
7705
7705
  if (!Object.is(i?.[e], t)) {
7706
7706
  let a = i?.slice() ?? [];
7707
7707
  a[e] = t, this.schema$.set({
7708
7708
  ...n,
7709
- [K]: {
7709
+ [q]: {
7710
7710
  ...r,
7711
7711
  labels: B(a)
7712
7712
  }
@@ -7714,7 +7714,7 @@ var ki = class extends Si {
7714
7714
  }
7715
7715
  });
7716
7716
  }
7717
- }, Mi = class extends Si {
7717
+ }, ji = class extends xi {
7718
7718
  constructor(e, t, n) {
7719
7719
  super(e, t, n), this.fields$ = this.dispose.add(this.deriveFields$());
7720
7720
  }
@@ -7728,14 +7728,14 @@ var ki = class extends Si {
7728
7728
  }
7729
7729
  let t = V(this.schema$.value), n = V(t?.properties);
7730
7730
  if (n) {
7731
- let r = Object.entries(n), i = (e ? r.findIndex(([t]) => t === e) : -1) + 1, a = rt("field", r.map(([e]) => e)), o = i > 0 ? r[i - 1][1] : null;
7732
- r.splice(i, 0, [a, o || q()]), this.schema$.set({
7731
+ let r = Object.entries(n), i = (e ? r.findIndex(([t]) => t === e) : -1) + 1, a = W("field", r.map(([e]) => e)), o = i > 0 ? r[i - 1][1] : null;
7732
+ r.splice(i, 0, [a, o || J()]), this.schema$.set({
7733
7733
  ...t,
7734
7734
  properties: Object.fromEntries(r)
7735
7735
  });
7736
7736
  } else this.schema$.set({
7737
7737
  ...t,
7738
- properties: { field: q() }
7738
+ properties: { field: J() }
7739
7739
  });
7740
7740
  }
7741
7741
  renameField(e, t) {
@@ -7764,14 +7764,14 @@ var ki = class extends Si {
7764
7764
  let r = V(n?.properties);
7765
7765
  if (e === r) return t;
7766
7766
  e = r;
7767
- let i = r ? Object.keys(r).map((e) => t.find((t) => t.name === e) || new Ni(e, this, this.context)) : [];
7767
+ let i = r ? Object.keys(r).map((e) => t.find((t) => t.name === e) || new Mi(e, this, this.context)) : [];
7768
7768
  for (let e of t) r?.[e.name] || e.dispose();
7769
7769
  return t = i, i;
7770
7770
  }, { equal: d });
7771
7771
  }
7772
- }, Ni = class {
7772
+ }, Mi = class {
7773
7773
  constructor(e, t, n) {
7774
- this.dispose = I(), this.name = e, this.context = n, this.path = t.path.append(e), this.schema$ = this.dispose.add(l(a(t.schema$, (t) => t?.properties?.[e]), (n) => {
7774
+ this.dispose = F(), this.name = e, this.context = n, this.path = t.path.append(e), this.schema$ = this.dispose.add(l(a(t.schema$, (t) => t?.properties?.[e]), (n) => {
7775
7775
  let r = V(t.schema$.value);
7776
7776
  t.schema$.set({
7777
7777
  ...r,
@@ -7780,19 +7780,19 @@ var ki = class extends Si {
7780
7780
  [e]: n
7781
7781
  }
7782
7782
  });
7783
- })), this.widget$ = this.dispose.add(Pi(this.path, this.schema$, n));
7783
+ })), this.widget$ = this.dispose.add(Ni(this.path, this.schema$, n));
7784
7784
  }
7785
- }, Pi = (e, t, n) => {
7786
- let r = P(), i = a(t, J), o = a(i, (i) => {
7785
+ }, Ni = (e, t, n) => {
7786
+ let r = N(), i = a(t, Y), o = a(i, (i) => {
7787
7787
  let a;
7788
- return a = i === "select" ? new ki(e, t, n) : i === "multiSelect" ? new ji(e, t, n) : i === "array" ? new Ti(e, t, n) : i === "object" ? new Mi(e, t, n) : i === "anyOf" ? new Ci(e, t, n) : new Si(e, t, n), r.set(a);
7788
+ return a = i === "select" ? new Oi(e, t, n) : i === "multiSelect" ? new Ai(e, t, n) : i === "array" ? new wi(e, t, n) : i === "object" ? new ji(e, t, n) : i === "anyOf" ? new Si(e, t, n) : new xi(e, t, n), r.set(a);
7789
7789
  }), s = o.dispose, c = i.reaction((t) => {
7790
- Ei.has(t) && n.expand(e);
7790
+ Ti.has(t) && n.expand(e);
7791
7791
  });
7792
7792
  return o.dispose = () => {
7793
7793
  c(), s.call(o), r.dispose();
7794
7794
  }, o;
7795
- }, Fi = class {
7795
+ }, Pi = class {
7796
7796
  constructor(e, t, n, r) {
7797
7797
  this.schema$ = t, this.expanded$ = n, this.createSchemaEditor = r, this.role = e.role, this.inout = e.inout, this.enableAny = e.enableAny ?? !0, this.restrict$ = e.restrict$;
7798
7798
  }
@@ -7821,21 +7821,21 @@ var ki = class extends Si {
7821
7821
  get canEditValue() {
7822
7822
  return this.role === "author" || this.role === "user";
7823
7823
  }
7824
- }, Ii = class {
7824
+ }, Fi = class {
7825
7825
  constructor(e, t, n, r, i, a) {
7826
- this.dispose = I(), this.path = wn.get(), this.name = e, this.description$ = t, this.displayDescription$ = n, this.context = a, this.schema$ = a.schema$, this.nullable$ = r, this.kind$ = i, this.widget$ = this.dispose.add(Pi(this.path, this.schema$, a));
7826
+ this.dispose = F(), this.path = Sn.get(), this.name = e, this.description$ = t, this.displayDescription$ = n, this.context = a, this.schema$ = a.schema$, this.nullable$ = r, this.kind$ = i, this.widget$ = this.dispose.add(Ni(this.path, this.schema$, a));
7827
7827
  }
7828
- }, Li = "primitive";
7829
- function Ri(e) {
7830
- return H(e?.contentMediaType) === Jt.binary ? "bin" : Li;
7828
+ }, Ii = "primitive";
7829
+ function Li(e) {
7830
+ return H(e?.contentMediaType) === Kt.binary ? "bin" : Ii;
7831
7831
  }
7832
7832
  //#endregion
7833
7833
  //#region src/designer/browser/stores/nodeHandle/simpleWidget.store.ts
7834
- var zi = class {
7834
+ var Ri = class {
7835
7835
  constructor(e, t, n, r, i) {
7836
- if (this.path = e, this.schema$ = t, this.context = n, this.value$ = r, this.overrideSchema$ = i, this.dispose = I(), this.description$ = this.dispose.add(this.deriveDescription$(this.schema$)), this.descCollapsed$ = this.dispose.add(s(!this.description$.value)), this.schemaWidgetType$ = this.dispose.add(a(this.schema$, J)), this.overrideWidgetType$ = this.dispose.add(a(this.overrideSchema$, (e) => J(e?.schema))), this.widgetType$ = this.dispose.add(u([this.schemaWidgetType$, this.overrideWidgetType$], ([e, t]) => $t(e) ? t : e)), this.hasSubpanel$ = this.dispose.add(c((e) => {
7836
+ if (this.path = e, this.schema$ = t, this.context = n, this.value$ = r, this.overrideSchema$ = i, this.dispose = F(), this.description$ = this.dispose.add(this.deriveDescription$(this.schema$)), this.descCollapsed$ = this.dispose.add(s(!this.description$.value)), this.schemaWidgetType$ = this.dispose.add(a(this.schema$, Y)), this.overrideWidgetType$ = this.dispose.add(a(this.overrideSchema$, (e) => Y(e?.schema))), this.widgetType$ = this.dispose.add(u([this.schemaWidgetType$, this.overrideWidgetType$], ([e, t]) => Zt(e) ? t : e)), this.hasSubpanel$ = this.dispose.add(c((e) => {
7837
7837
  let t = this.context.restrict$ != null && e(this.context.restrict$) != null;
7838
- return Bi(this.context, e(this.widgetType$), e(this.schema$), t);
7838
+ return zi(this.context, e(this.widgetType$), e(this.schema$), t);
7839
7839
  })), r) {
7840
7840
  let e = {};
7841
7841
  this.dispose.add([r.subscribe((t) => {
@@ -7869,8 +7869,8 @@ var zi = class {
7869
7869
  });
7870
7870
  }
7871
7871
  };
7872
- function Bi(e, t, n, r) {
7873
- let i = V(n), a = J(i);
7872
+ function zi(e, t, n, r) {
7873
+ let i = V(n), a = Y(i);
7874
7874
  if (t == "object") {
7875
7875
  if (!r && e.canEditSchema || a == "any") return !0;
7876
7876
  let t = V(i?.properties), n = t != null && Object.keys(t).length > 0;
@@ -7880,14 +7880,14 @@ function Bi(e, t, n, r) {
7880
7880
  }
7881
7881
  //#endregion
7882
7882
  //#region src/designer/browser/stores/nodeHandle/anyOfWidget.store.ts
7883
- var Vi = class extends zi {
7883
+ var Bi = class extends Ri {
7884
7884
  constructor(e, t, n, r, i) {
7885
- super(e, t, n, r, i), this.selected$ = this.dispose.add(l(a(this.overrideSchema$, (e) => U(V(V(e)?.[K])?.selected)), (e) => {
7885
+ super(e, t, n, r, i), this.selected$ = this.dispose.add(l(a(this.overrideSchema$, (e) => U(V(V(e)?.[q])?.selected)), (e) => {
7886
7886
  e ? f(this.overrideSchema$, {
7887
7887
  ...V(this.overrideSchema$.value),
7888
7888
  path: this.path,
7889
- [K]: {
7890
- ...V(V(this.overrideSchema$.value)?.[K]),
7889
+ [q]: {
7890
+ ...V(V(this.overrideSchema$.value)?.[q]),
7891
7891
  selected: e
7892
7892
  }
7893
7893
  }) : f(this.overrideSchema$, void 0);
@@ -7902,9 +7902,9 @@ var Vi = class extends zi {
7902
7902
  [this.schemaWidgetType$.value]: t.toSpliced(this.selected$.value || 0, 1, e)
7903
7903
  });
7904
7904
  }));
7905
- let o = this.dispose.add(P()), s;
7905
+ let o = this.dispose.add(N()), s;
7906
7906
  if (this.condition$ = this.dispose.add(u([this.selected$, this.selectedSchema$], ([e = 0, t]) => {
7907
- if (t) return s?.selected === e ? s : (s = new Hi(e, this.selectedSchema$, this, this.context), o.set(s));
7907
+ if (t) return s?.selected === e ? s : (s = new Vi(e, this.selectedSchema$, this, this.context), o.set(s));
7908
7908
  })), r) {
7909
7909
  let e = {};
7910
7910
  this.dispose.add([r.subscribe((t) => {
@@ -7917,13 +7917,13 @@ var Vi = class extends zi {
7917
7917
  isAnyOf() {
7918
7918
  return !0;
7919
7919
  }
7920
- }, Hi = class {
7920
+ }, Vi = class {
7921
7921
  constructor(e, t, n, r) {
7922
- this.dispose = I(), this.selected = e, this.schema$ = t, this.context = r, this.value$ = n.value$, this.overrideSchema$ = n.overrideSchema$, this.widget$ = this.dispose.add(qi(n.path, this.schema$, r, this.value$, this.overrideSchema$));
7922
+ this.dispose = F(), this.selected = e, this.schema$ = t, this.context = r, this.value$ = n.value$, this.overrideSchema$ = n.overrideSchema$, this.widget$ = this.dispose.add(Ki(n.path, this.schema$, r, this.value$, this.overrideSchema$));
7923
7923
  }
7924
- }, Ui = class extends zi {
7924
+ }, Hi = class extends Ri {
7925
7925
  constructor(e, t, n, r, i) {
7926
- super(e, t, n, r, i), this.itemsSchema$ = this.dispose.add(l(a(t, (e) => V(e)?.items), W(t, "items"))), this.itemsWidgetType$ = this.dispose.add(a(this.itemsSchema$, (e) => J(e))), r && (this.items$ = this.dispose.add(this.deriveItems(r)), this.dispose.add(() => {
7926
+ super(e, t, n, r, i), this.itemsSchema$ = this.dispose.add(l(a(t, (e) => V(e)?.items), G(t, "items"))), this.itemsWidgetType$ = this.dispose.add(a(this.itemsSchema$, (e) => Y(e))), r && (this.items$ = this.dispose.add(this.deriveItems(r)), this.dispose.add(() => {
7927
7927
  for (let e of this.items$.value) e.dispose();
7928
7928
  }));
7929
7929
  }
@@ -7932,7 +7932,7 @@ var Vi = class extends zi {
7932
7932
  }
7933
7933
  addItem(e) {
7934
7934
  if (this.value$) {
7935
- let t = z(this.value$.value), n = Qt(J(this.itemsSchema$.value));
7935
+ let t = z(this.value$.value), n = Xt(Y(this.itemsSchema$.value));
7936
7936
  if (t) {
7937
7937
  this.context.duplicateSchemaOverrideItem(this.path.append(e));
7938
7938
  let r = t.toSpliced(e + 1, 0, n);
@@ -7950,14 +7950,14 @@ var Vi = class extends zi {
7950
7950
  let t = [];
7951
7951
  return a(e, (e) => {
7952
7952
  let n = Array.isArray(e) ? e.length : 0, r = t.slice(0, n);
7953
- for (let e = r.length; e < n; e++) r[e] = new Wi(e, this, this.context);
7953
+ for (let e = r.length; e < n; e++) r[e] = new Ui(e, this, this.context);
7954
7954
  for (let e = r.length; e < t.length; e++) t[e]?.dispose();
7955
7955
  return t = r, r;
7956
7956
  });
7957
7957
  }
7958
- }, Wi = class {
7958
+ }, Ui = class {
7959
7959
  constructor(e, t, n) {
7960
- this.dispose = I(), this.index = e, this.context = n, this.path = t.path.append(e);
7960
+ this.dispose = F(), this.index = e, this.context = n, this.path = t.path.append(e);
7961
7961
  let r = t.value$;
7962
7962
  r && (this.value$ = this.dispose.add(l(a(r, (t) => z(t)?.[e]), (t) => {
7963
7963
  let n = z(r.value);
@@ -7965,13 +7965,13 @@ var Vi = class extends zi {
7965
7965
  let i = n?.slice() ?? [];
7966
7966
  i[e] = t, r.set(i);
7967
7967
  }
7968
- }))), this.schema$ = t.itemsSchema$, this.overrideSchema$ = this.dispose.add(this.context.deriveSchemaOverrideItem$(this.path)), this.widget$ = this.dispose.add(qi(this.path, this.schema$, n, this.value$, this.overrideSchema$));
7968
+ }))), this.schema$ = t.itemsSchema$, this.overrideSchema$ = this.dispose.add(this.context.deriveSchemaOverrideItem$(this.path)), this.widget$ = this.dispose.add(Ki(this.path, this.schema$, n, this.value$, this.overrideSchema$));
7969
7969
  }
7970
- }, Gi = class extends zi {
7970
+ }, Wi = class extends Ri {
7971
7971
  constructor(e, t, n, r, i) {
7972
7972
  super(e, t, n, r, i), this.allowsUntypedFields$ = this.dispose.add(a(this.schema$, (e) => {
7973
7973
  let t = V(e);
7974
- return J(e) == "object" && t?.additionalProperties !== !1;
7974
+ return Y(e) == "object" && t?.additionalProperties !== !1;
7975
7975
  })), this.fixedFields$ = this.dispose.add(this.deriveFixedFields$()), this.overrideFields$ = this.dispose.add(this.deriveOverrideFields$()), this.untypedFields$ = r == null ? void 0 : this.dispose.add(this.deriveUntypedFields$(r)), this.fieldNames$ = this.dispose.add(this.untypedFields$ ? u([
7976
7976
  this.fixedFields$,
7977
7977
  this.overrideFields$,
@@ -7994,11 +7994,11 @@ var Vi = class extends zi {
7994
7994
  console.error(/* @__PURE__ */ Error("User can't add fixed field"));
7995
7995
  return;
7996
7996
  }
7997
- let t = V(this.schema$.value), n = V(t?.properties), r = rt("field", this.fieldNames$.value);
7997
+ let t = V(this.schema$.value), n = V(t?.properties), r = W("field", this.fieldNames$.value);
7998
7998
  if (n) {
7999
7999
  let i = Object.keys(n), a = {}, o;
8000
8000
  for (let t = 0; t < e; t++) o = a[i[t]] = n[i[t]];
8001
- a[r] = o || q();
8001
+ a[r] = o || J();
8002
8002
  for (let t = e; t < i.length; t++) a[i[t]] = n[i[t]];
8003
8003
  this.schema$.set({
8004
8004
  ...t,
@@ -8006,7 +8006,7 @@ var Vi = class extends zi {
8006
8006
  });
8007
8007
  } else this.schema$.set({
8008
8008
  ...t,
8009
- properties: { [r]: q() }
8009
+ properties: { [r]: J() }
8010
8010
  });
8011
8011
  if (this.value$) {
8012
8012
  let e = V(this.value$.value);
@@ -8017,10 +8017,10 @@ var Vi = class extends zi {
8017
8017
  }
8018
8018
  }
8019
8019
  addOverrideField(e) {
8020
- let t = e > 0 ? this.overrideFields$.value[e - 1] : null, n = rt("field", this.fieldNames$.value);
8020
+ let t = e > 0 ? this.overrideFields$.value[e - 1] : null, n = W("field", this.fieldNames$.value);
8021
8021
  if (this.context.addSchemaOverrideItem({
8022
8022
  path: this.path.append(n),
8023
- schema: t?.schema$.value || q()
8023
+ schema: t?.schema$.value || J()
8024
8024
  }, e), this.value$) {
8025
8025
  let e = V(this.value$.value);
8026
8026
  e ? this.value$.set({
@@ -8031,7 +8031,7 @@ var Vi = class extends zi {
8031
8031
  }
8032
8032
  addUntypedField() {
8033
8033
  if (this.value$ == null) return;
8034
- let e = V(this.value$.value) ?? {}, t = rt("field", this.fieldNames$.value);
8034
+ let e = V(this.value$.value) ?? {}, t = W("field", this.fieldNames$.value);
8035
8035
  this.value$.set({
8036
8036
  ...e,
8037
8037
  [t]: void 0
@@ -8100,7 +8100,7 @@ var Vi = class extends zi {
8100
8100
  let r = V(n?.properties);
8101
8101
  if (e === r) return t;
8102
8102
  e = r;
8103
- let i = r ? Object.keys(r).map((e) => t.find((t) => t.name === e) || new Ki(e, this, this.context)) : [];
8103
+ let i = r ? Object.keys(r).map((e) => t.find((t) => t.name === e) || new Gi(e, this, this.context)) : [];
8104
8104
  for (let e of t) r?.[e.name] || e.dispose();
8105
8105
  return t = i, i;
8106
8106
  }, { equal: d });
@@ -8113,7 +8113,7 @@ var Vi = class extends zi {
8113
8113
  let i = V(V(n)?.properties);
8114
8114
  for (let n of t) if (this.path.matchChild(n.path)) {
8115
8115
  let t = n.path.last();
8116
- h(t) && !i?.[t] && r.push(e?.find((e) => e.name === t) ?? new Ki(t, this, this.context, "override"));
8116
+ h(t) && !i?.[t] && r.push(e?.find((e) => e.name === t) ?? new Gi(t, this, this.context, "override"));
8117
8117
  }
8118
8118
  }
8119
8119
  if (e) for (let t of e) r.some((e) => e.name === t.name) || t.dispose();
@@ -8133,14 +8133,14 @@ var Vi = class extends zi {
8133
8133
  let t = e.path.last();
8134
8134
  h(t) && o.add(t);
8135
8135
  }
8136
- let s = i?.additionalProperties === !1 ? void 0 : V(e), c = s == null ? [] : Object.keys(s).filter((e) => a?.[e] == null && !o.has(e)).map((e) => t.find((t) => t.name === e) ?? new Ki(e, this, this.context, "untyped"));
8136
+ let s = i?.additionalProperties === !1 ? void 0 : V(e), c = s == null ? [] : Object.keys(s).filter((e) => a?.[e] == null && !o.has(e)).map((e) => t.find((t) => t.name === e) ?? new Gi(e, this, this.context, "untyped"));
8137
8137
  for (let e of t) c.some((t) => t.name === e.name) || e.dispose();
8138
8138
  return t = c, c;
8139
8139
  }, { equal: d });
8140
8140
  }
8141
- }, Ki = class {
8141
+ }, Gi = class {
8142
8142
  constructor(e, t, n, r = "fixed") {
8143
- this.dispose = I(), this.name = e, this.context = n, this.path = t.path.append(e), t.value$ && (this.value$ = this.dispose.add(l(a(t.value$, (t) => V(t)?.[e]), (n) => t.setField(e, n)))), this.schema$ = this.dispose.add(l(a(t.schema$, (t) => {
8143
+ this.dispose = F(), this.name = e, this.context = n, this.path = t.path.append(e), t.value$ && (this.value$ = this.dispose.add(l(a(t.value$, (t) => V(t)?.[e]), (n) => t.setField(e, n)))), this.schema$ = this.dispose.add(l(a(t.schema$, (t) => {
8144
8144
  let n = t;
8145
8145
  return r === "untyped" ? n?.additionalProperties === !0 ? void 0 : n?.additionalProperties : n?.properties?.[e];
8146
8146
  }), (n) => {
@@ -8153,7 +8153,7 @@ var Vi = class extends zi {
8153
8153
  [e]: n
8154
8154
  }
8155
8155
  });
8156
- })), this.overrideSchema$ = this.dispose.add(n.deriveSchemaOverrideItem$(this.path)), this.widget$ = this.dispose.add(qi(this.path, this.schema$, n, this.value$, this.overrideSchema$));
8156
+ })), this.overrideSchema$ = this.dispose.add(n.deriveSchemaOverrideItem$(this.path)), this.widget$ = this.dispose.add(Ki(this.path, this.schema$, n, this.value$, this.overrideSchema$));
8157
8157
  }
8158
8158
  setSchema(e, t) {
8159
8159
  if (e === "fixed") this.schema$.set(t);
@@ -8167,13 +8167,13 @@ var Vi = class extends zi {
8167
8167
  }
8168
8168
  V(t)?.type === "null" && this.value$?.set(null);
8169
8169
  }
8170
- }, qi = (e, t, n, r, i) => {
8171
- let o = P(), s = u([t, i], ([e, t]) => {
8172
- let n = J(e), r = J(t?.schema);
8170
+ }, Ki = (e, t, n, r, i) => {
8171
+ let o = N(), s = u([t, i], ([e, t]) => {
8172
+ let n = Y(e), r = Y(t?.schema);
8173
8173
  return n === "any" ? r : n;
8174
8174
  }), c = a(s, (a) => {
8175
8175
  let s;
8176
- return s = a === "anyOf" ? new Vi(e, t, n, r, i) : a === "object" ? new Gi(e, t, n, r, i) : a === "array" ? new Ui(e, t, n, r, i) : new zi(e, t, n, r, i), o.set(s);
8176
+ return s = a === "anyOf" ? new Bi(e, t, n, r, i) : a === "object" ? new Wi(e, t, n, r, i) : a === "array" ? new Hi(e, t, n, r, i) : new Ri(e, t, n, r, i), o.set(s);
8177
8177
  }), l = c.dispose;
8178
8178
  return c.dispose = () => {
8179
8179
  l.call(c), s.dispose(), o.dispose();
@@ -8183,20 +8183,20 @@ var Vi = class extends zi {
8183
8183
  return t instanceof e;
8184
8184
  }
8185
8185
  constructor(e, t, n, r, i, o, d, f, p, m) {
8186
- if (this.dispose = I(), this.name = e, this.context = p, this.path = wn.get(), this.value$ = m, this.schema$ = p.schema$, this.restrict$ = p.restrict$, this.restrict$ && this.dispose.add(this.restrict$), this.schemaKind$ = i, this.description$ = t, this.displayDescription$ = n, this.reference$ = o, this.nullable$ = d, this.showSettings$ = f, this.restrict$) {
8186
+ if (this.dispose = F(), this.name = e, this.context = p, this.path = Sn.get(), this.value$ = m, this.schema$ = p.schema$, this.restrict$ = p.restrict$, this.restrict$ && this.dispose.add(this.restrict$), this.schemaKind$ = i, this.description$ = t, this.displayDescription$ = n, this.reference$ = o, this.nullable$ = d, this.showSettings$ = f, this.restrict$) {
8187
8187
  let e = this.schema$;
8188
8188
  this.schema$ = this.dispose.add(l(u([e, this.restrict$], ([e, t]) => t ? t.json_schema : e), (t) => this.restrict$?.value || e.set(t)));
8189
8189
  let t = this.nullable$;
8190
- this.nullable$ = this.dispose.add(l(u([t, this.restrict$], ([e, t]) => t ? tt(t.nullable) : e), (e) => this.restrict$?.value || t.set(e)));
8190
+ this.nullable$ = this.dispose.add(l(u([t, this.restrict$], ([e, t]) => t ? et(t.nullable) : e), (e) => this.restrict$?.value || t.set(e)));
8191
8191
  let n = this.schemaKind$;
8192
8192
  this.schemaKind$ = this.dispose.add(l(u([n, this.restrict$], ([e, t]) => t ? t.kind : e), (e) => this.restrict$?.value || n.set(e)));
8193
8193
  }
8194
- if (this.error$ = this.dispose.add(s()), this.kind$ = this.dispose.add(a(this.schema$, Ri)), this.lang$ = r, this.overrideSchema$ = this.dispose.add(this.context.deriveSchemaOverrideItem$(this.path)), this.widget$ = this.dispose.add(qi(this.path, this.schema$, p, this.value$, this.overrideSchema$)), this.dispose.add(this.context.onRequestOpenSchemaEditor(() => this.showSettings$.set(!this.showSettings$.value))), this.value$) {
8194
+ if (this.error$ = this.dispose.add(s()), this.kind$ = this.dispose.add(a(this.schema$, Li)), this.lang$ = r, this.overrideSchema$ = this.dispose.add(this.context.deriveSchemaOverrideItem$(this.path)), this.widget$ = this.dispose.add(Ki(this.path, this.schema$, p, this.value$, this.overrideSchema$)), this.dispose.add(this.context.onRequestOpenSchemaEditor(() => this.showSettings$.set(!this.showSettings$.value))), this.value$) {
8195
8195
  let e;
8196
8196
  this.dispose.add(this.schema$.subscribe((t) => {
8197
8197
  e != null && cancelIdleCallback(e), e = requestIdleCallback(() => {
8198
8198
  e = void 0;
8199
- let [n, r] = bi(t);
8199
+ let [n, r] = yi(t);
8200
8200
  this.error$.set(r && {
8201
8201
  type: "validationError",
8202
8202
  message: r + ""
@@ -8204,18 +8204,18 @@ var Vi = class extends zi {
8204
8204
  });
8205
8205
  })), this.dispose.add(() => {
8206
8206
  e != null && cancelIdleCallback(e);
8207
- }), this.dispose.add(this.value$.subscribe(() => this.validate(!0))), this.dispose.add(this.nullable$.subscribe(() => this.validate(!1))), this.dispose.add(c((e) => !!(en(J(e(this.schema$))) && en(J(e(this.overrideSchema$)?.schema)) && rn(e(this.value$)) === "array")).subscribe((e) => {
8207
+ }), this.dispose.add(this.value$.subscribe(() => this.validate(!0))), this.dispose.add(this.nullable$.subscribe(() => this.validate(!1))), this.dispose.add(c((e) => !!(Qt(Y(e(this.schema$))) && Qt(Y(e(this.overrideSchema$)?.schema)) && tn(e(this.value$)) === "array")).subscribe((e) => {
8208
8208
  e && this.overrideSchema$.set({
8209
8209
  ...this.overrideSchema$.value,
8210
8210
  path: this.path,
8211
- schema: Xt("array")
8211
+ schema: Jt("array")
8212
8212
  });
8213
8213
  }));
8214
8214
  }
8215
8215
  }
8216
8216
  get schemaRowStore() {
8217
8217
  if (this.schemaRowStoreCache) return this.schemaRowStoreCache;
8218
- let e = new Fi(this.context, this.schema$, s(on(this.schema$.value) <= 3 ? { "[]": !0 } : void 0), this.context.createSchemaEditor), t = new Ii(this.name, this.description$, this.displayDescription$, this.nullable$, this.schemaKind$, e);
8218
+ let e = new Pi(this.context, this.schema$, s(rn(this.schema$.value) <= 3 ? { "[]": !0 } : void 0), this.context.createSchemaEditor), t = new Fi(this.name, this.description$, this.displayDescription$, this.nullable$, this.schemaKind$, e);
8219
8219
  return this.schemaRowStoreCache = this.dispose.add(t);
8220
8220
  }
8221
8221
  validate(e) {
@@ -8229,7 +8229,7 @@ var Vi = class extends zi {
8229
8229
  this.error$.set(void 0);
8230
8230
  return;
8231
8231
  }
8232
- let t = J(this.schema$.value), n = nn(t), r = rn(e);
8232
+ let t = Y(this.schema$.value), n = en(t), r = tn(e);
8233
8233
  if (n ? n !== r : e === void 0) {
8234
8234
  this.error$.set({ type: "typeError" });
8235
8235
  return;
@@ -8241,16 +8241,16 @@ var Vi = class extends zi {
8241
8241
  });
8242
8242
  return;
8243
8243
  }
8244
- let i = xi(this.validateFn, this.value$.value, this.lang$.value);
8244
+ let i = bi(this.validateFn, this.value$.value, this.lang$.value);
8245
8245
  i && i.length > 0 ? this.error$.set({
8246
8246
  type: "validationError",
8247
- message: yi.errorsText(i)
8247
+ message: vi.errorsText(i)
8248
8248
  }) : this.error$.set(void 0);
8249
8249
  }
8250
8250
  }
8251
- }, Ji = class {
8251
+ }, qi = class {
8252
8252
  constructor(e, t, n, r, i, o, s) {
8253
- this.schema$ = t, this.schemaOverrides$ = n, this.defaultValue$ = r, this.collapsed$ = i, this.height$ = o, this.createSchemaEditor = s, this.onRequestOpenSchemaEditor = /*#__PURE__*/ _e(), this.role = e.role, this.inout = e.inout, this.handlePosition = e.handlePosition, this.enableAny = e.enableAny ?? !0, this.additional = e.additional ?? !1, this.enableSchemaDesc = this.additional && this.inout === "out", this.userLocales = e.userLocales, this.restrict$ = e.restrict && a(e.restrict, (e) => V(e));
8253
+ this.schema$ = t, this.schemaOverrides$ = n, this.defaultValue$ = r, this.collapsed$ = i, this.height$ = o, this.createSchemaEditor = s, this.onRequestOpenSchemaEditor = /*#__PURE__*/ ve(), this.role = e.role, this.inout = e.inout, this.handlePosition = e.handlePosition, this.enableAny = e.enableAny ?? !0, this.additional = e.additional ?? !1, this.enableSchemaDesc = this.additional && this.inout === "out", this.userLocales = e.userLocales, this.restrict$ = e.restrict && a(e.restrict, (e) => V(e));
8254
8254
  }
8255
8255
  get canEditSchema() {
8256
8256
  return this.role === "author";
@@ -8262,7 +8262,7 @@ var Vi = class extends zi {
8262
8262
  return !0;
8263
8263
  }
8264
8264
  requestOpenSchemaEditor() {
8265
- ve(this.onRequestOpenSchemaEditor);
8265
+ ye(this.onRequestOpenSchemaEditor);
8266
8266
  }
8267
8267
  coalesceSchemaOverrideItems(e) {
8268
8268
  let t = this.schemaOverrides$.value;
@@ -8276,7 +8276,7 @@ var Vi = class extends zi {
8276
8276
  if (t) {
8277
8277
  let n = {};
8278
8278
  for (let r in t) {
8279
- let i = wn.fromKey(r);
8279
+ let i = Sn.fromKey(r);
8280
8280
  i.equals(e) || i.isInside(e) || (n[r] = t[r]);
8281
8281
  }
8282
8282
  Object.keys(n).length < Object.keys(t).length && this.collapsed$.set(n);
@@ -8292,7 +8292,7 @@ var Vi = class extends zi {
8292
8292
  return;
8293
8293
  }
8294
8294
  let n = this.schemaOverrides$.value, r = -1;
8295
- if (De(t)) {
8295
+ if (Ee(t)) {
8296
8296
  let i = 0;
8297
8297
  for (let a = 0; a < n.length; a++) if (n[a].path.length === e.path.length && (i++, i >= t)) {
8298
8298
  r = t === 0 ? a : a + 1;
@@ -8362,38 +8362,38 @@ var Vi = class extends zi {
8362
8362
  });
8363
8363
  }
8364
8364
  deriveCollapsed$(e) {
8365
- return l(a(this.collapsed$, (t) => t?.[e.key] ?? !1), it(this.collapsed$, e.key));
8365
+ return l(a(this.collapsed$, (t) => t?.[e.key] ?? !1), nt(this.collapsed$, e.key));
8366
8366
  }
8367
8367
  deriveHeight$(e) {
8368
- return l(a(this.height$, (t) => t?.[e.key]), it(this.height$, e.key));
8368
+ return l(a(this.height$, (t) => t?.[e.key]), nt(this.height$, e.key));
8369
8369
  }
8370
8370
  };
8371
8371
  //#endregion
8372
8372
  //#region src/designer/browser/stores/node/constants.ts
8373
- function Yi(e, t) {
8373
+ function Ji(e, t) {
8374
8374
  return e.handle == null ? t.handle == null && e.group === t.group : e.handle === t.handle;
8375
8375
  }
8376
- function Xi(e) {
8376
+ function Yi(e) {
8377
8377
  return e.handle != null;
8378
8378
  }
8379
- function Zi(e) {
8379
+ function Xi(e) {
8380
8380
  return e.handle == null;
8381
8381
  }
8382
- var Qi = /* @__PURE__ */ function(e) {
8382
+ var Zi = /* @__PURE__ */ function(e) {
8383
8383
  return e.ErrorNode = "error_node", e.InputNode = "input_node", e.OutputNode = "output_node", e.TaskNode = "task_node", e.SubflowNode = "subflow_node", e.ValueNode = "value_node", e.ConditionNode = "condition_node", e.CommentNode = "comment_node", e.TriggerNode = "trigger_node", e;
8384
- }({}), $i = (e) => e == "task_node" || e == "value_node" || e == "subflow_node" || e == "condition_node" || e == "trigger_node" || e == "error_node", ea = (e) => e == "input_node" || e == "output_node", ta = /* @__PURE__ */ function(e) {
8384
+ }({}), Qi = (e) => e == "task_node" || e == "value_node" || e == "subflow_node" || e == "condition_node" || e == "trigger_node" || e == "error_node", $i = (e) => e == "input_node" || e == "output_node", ea = /* @__PURE__ */ function(e) {
8385
8385
  return e.Idle = "idle", e.Waiting = "waiting", e.Running = "running", e.Success = "success", e.Error = "error", e;
8386
- }({}), na = "oo-designer-fitting-view", ra = "input", ia = "output";
8386
+ }({}), ta = "oo-designer-fitting-view", na = "input", ra = "output";
8387
8387
  //#endregion
8388
8388
  //#region src/designer/browser/stores/node/nodeSection/cloneLocales.ts
8389
- function aa(e, t, n) {
8389
+ function ia(e, t, n) {
8390
8390
  if (!e) return e;
8391
- let r = dt(e);
8391
+ let r = lt(e);
8392
8392
  if (!r || t && n && t === n) return e;
8393
8393
  if (!t || !n) return;
8394
8394
  let i = t.en.value, a = t["zh-CN"].value;
8395
8395
  if (!i[r] && !a[r]) return;
8396
- let o = ht(ht(r, n.en.value), n["zh-CN"].value);
8396
+ let o = pt(pt(r, n.en.value), n["zh-CN"].value);
8397
8397
  if (i[r]) {
8398
8398
  let e = n.en;
8399
8399
  e.set({
@@ -8412,20 +8412,10 @@ function aa(e, t, n) {
8412
8412
  }
8413
8413
  //#endregion
8414
8414
  //#region src/designer/browser/stores/node/nodeSection/constants.ts
8415
- var oa = "inputs", sa = "outputs", ca = "value", la = "preview", ua = "scriptlet", da = "subflowInput", fa = "subflowOutput", pa = "conditions", ma = "trigger", ha = [da, fa], ga = [oa, fa], _a = [
8416
- sa,
8417
- ca,
8418
- da,
8419
- pa
8420
- ], va = [
8421
- sa,
8422
- ca,
8423
- da,
8424
- pa
8425
- ], ya = [oa, fa];
8415
+ var aa = "inputs", oa = "outputs", sa = "value", ca = "preview", la = "scriptlet", ua = "subflowInput", da = "subflowOutput", fa = "conditions", pa = "trigger";
8426
8416
  //#endregion
8427
8417
  //#region src/designer/browser/stores/node/nodeSection/parse.ts
8428
- function ba(e) {
8418
+ function ma(e) {
8429
8419
  if (_(e)) {
8430
8420
  for (let t of Object.values(e)) if (b(t)) {
8431
8421
  if (!_(t)) return;
@@ -8434,7 +8424,7 @@ function ba(e) {
8434
8424
  return e;
8435
8425
  }
8436
8426
  }
8437
- function xa(e) {
8427
+ function ha(e) {
8438
8428
  if (_(e)) {
8439
8429
  for (let t of Object.values(e)) if (b(t)) {
8440
8430
  if (!_(t)) return;
@@ -8443,29 +8433,29 @@ function xa(e) {
8443
8433
  return e;
8444
8434
  }
8445
8435
  }
8446
- function Sa(e) {
8436
+ function ga(e) {
8447
8437
  return e ? !!(e.from_flow && e.from_flow.length > 0 || e.from_node && e.from_node.length > 0) : !1;
8448
8438
  }
8449
8439
  //#endregion
8450
8440
  //#region src/designer/browser/stores/node/nodeSection/inputSection.store.ts
8451
- var Ca = class {
8441
+ var _a = class {
8452
8442
  static {
8453
- this.TYPE = oa;
8443
+ this.TYPE = aa;
8454
8444
  }
8455
8445
  static is(e) {
8456
- return e.type === oa;
8446
+ return e.type === aa;
8457
8447
  }
8458
8448
  constructor(e) {
8459
- this.type = oa, this.dispose = I(), this.onDidHandleIndexChange = this.dispose.add(_e()), this.onDidHandleRename = this.dispose.add(_e()), this.onDidHandleDelete = this.dispose.add(_e()), this.role = e.role, this.userLocales = e.userLocales;
8460
- let t = this.dispose.add(s(ba(e.initialUIState?.collapsed))), n = this.dispose.add(s(xa(e.initialUIState?.height))), r = this.dispose.add(s(Ye(e.initialUIState?.groupCollapsed)));
8449
+ this.type = aa, this.dispose = F(), this.onDidHandleIndexChange = this.dispose.add(ve()), this.onDidHandleRename = this.dispose.add(ve()), this.onDidHandleDelete = this.dispose.add(ve()), this.role = e.role, this.userLocales = e.userLocales;
8450
+ let t = this.dispose.add(s(ma(e.initialUIState?.collapsed))), n = this.dispose.add(s(ha(e.initialUIState?.height))), r = this.dispose.add(s(Je(e.initialUIState?.groupCollapsed)));
8461
8451
  this.uiState$ = this.dispose.add(u([
8462
8452
  t,
8463
8453
  n,
8464
8454
  r
8465
- ], ([e, t, n]) => Ge({
8466
- collapsed: Ge(e),
8467
- height: Ge(t),
8468
- groupCollapsed: Ye(n)
8455
+ ], ([e, t, n]) => We({
8456
+ collapsed: We(e),
8457
+ height: We(t),
8458
+ groupCollapsed: Je(n)
8469
8459
  }))), this.$$ = {
8470
8460
  collapsed: t,
8471
8461
  height: n,
@@ -8475,7 +8465,7 @@ var Ca = class {
8475
8465
  additionalInputDefs: e.additionalInputDefs && this.dispose.add(e.additionalInputDefs.ref(!0)),
8476
8466
  showSettings: this.dispose.add(e.showSettings.ref(!0))
8477
8467
  };
8478
- let i = this.dispose.add(this.deriveConnectedHandles$(this.$$.handleInputsFrom)), a = this.dispose.add(this.deriveHandles$(t, n, e, i)), l = this.dispose.add(c((e) => e(a).filter((t) => !$.is(t) || pn(e(t.schema$)) == null), { equal: d })), f = this.dispose.add(c((e) => e(a).filter((t) => $.is(t) && pn(e(t.schema$)) != null), { equal: d }));
8468
+ let i = this.dispose.add(this.deriveConnectedHandles$(this.$$.handleInputsFrom)), a = this.dispose.add(this.deriveHandles$(t, n, e, i)), l = this.dispose.add(c((e) => e(a).filter((t) => !$.is(t) || dn(e(t.schema$)) == null), { equal: d })), f = this.dispose.add(c((e) => e(a).filter((t) => $.is(t) && dn(e(t.schema$)) != null), { equal: d }));
8479
8469
  this.$ = {
8480
8470
  collapsed: t,
8481
8471
  height: n,
@@ -8494,19 +8484,19 @@ var Ca = class {
8494
8484
  }
8495
8485
  setupHandleIndexChangeEvent() {
8496
8486
  let e = this.dispose.add(c((e) => {
8497
- let t = e(this.$.inputHandleDefs)?.map((e) => Zi(e) ? `g:${e.group}` : `h:${e.handle}`), n = e(this.$.additionalInputDefs)?.map((e) => `h:${e.handle}`);
8487
+ let t = e(this.$.inputHandleDefs)?.map((e) => Xi(e) ? `g:${e.group}` : `h:${e.handle}`), n = e(this.$.additionalInputDefs)?.map((e) => `h:${e.handle}`);
8498
8488
  return (t && n ? [...t, ...n] : t || n) ?? [];
8499
8489
  }, { equal: d }));
8500
- this.dispose.add(e.reaction(ve.bind(null, this.onDidHandleIndexChange)));
8490
+ this.dispose.add(e.reaction(ye.bind(null, this.onDidHandleIndexChange)));
8501
8491
  }
8502
8492
  findGroupForWriting(e) {
8503
8493
  let t = this.getInputHandleDefs$(), n = t?.value;
8504
- return n ? [n.findIndex((t) => Zi(t) && t.group === e), t] : [-1, t];
8494
+ return n ? [n.findIndex((t) => Xi(t) && t.group === e), t] : [-1, t];
8505
8495
  }
8506
8496
  addGroup(e) {
8507
8497
  let [t, n] = this.findHandleForWriting(e), r = n?.value;
8508
8498
  if (r && t >= 0) {
8509
- let e = r.slice(), i = e.splice(t, 1), a = rt("Group", this.$.allGroupNames.value).trim();
8499
+ let e = r.slice(), i = e.splice(t, 1), a = W("Group", this.$.allGroupNames.value).trim();
8510
8500
  e.splice(999, 0, { group: a }, ...i), n.set(e);
8511
8501
  }
8512
8502
  }
@@ -8569,20 +8559,20 @@ var Ca = class {
8569
8559
  return this.getInputHandleDefs$() != null;
8570
8560
  }
8571
8561
  getInputHandleDefs$() {
8572
- return Je(this.role === "author") && this.$$.inputHandleDefs;
8562
+ return qe(this.role === "author") && this.$$.inputHandleDefs;
8573
8563
  }
8574
8564
  getAdditionalInputDefs$() {
8575
8565
  return this.$.additionalInputs?.value ? this.$$.additionalInputDefs : void 0;
8576
8566
  }
8577
8567
  findHandleForWriting(e) {
8578
8568
  let t = typeof e == "string" ? { handle: e } : e, n, r = this.getInputHandleDefs$();
8579
- if (n = r?.value?.findIndex((e) => Yi(e, t)), n != null && n >= 0) return [
8569
+ if (n = r?.value?.findIndex((e) => Ji(e, t)), n != null && n >= 0) return [
8580
8570
  n,
8581
8571
  r,
8582
8572
  !1
8583
8573
  ];
8584
8574
  let i = this.getAdditionalInputDefs$();
8585
- return n = i?.value?.findIndex((e) => Yi(e, t)), n != null && n >= 0 ? [
8575
+ return n = i?.value?.findIndex((e) => Ji(e, t)), n != null && n >= 0 ? [
8586
8576
  n,
8587
8577
  i,
8588
8578
  !0
@@ -8600,10 +8590,10 @@ var Ca = class {
8600
8590
  let t = e ? this.getAdditionalInputDefs$() : this.getInputHandleDefs$() || this.getAdditionalInputDefs$();
8601
8591
  if (t) {
8602
8592
  let e = this.$.allHandleNames.value, n = t.value, r = {
8603
- handle: rt("input", e),
8604
- json_schema: q(n)
8593
+ handle: W("input", e),
8594
+ json_schema: J(n)
8605
8595
  };
8606
- t.set(n ? n.toSpliced(Ne(n, Zi), 0, r) : [r]);
8596
+ t.set(n ? n.toSpliced(Me(n, Xi), 0, r) : [r]);
8607
8597
  }
8608
8598
  }
8609
8599
  renameHandle(e, t) {
@@ -8625,7 +8615,7 @@ var Ca = class {
8625
8615
  }), r.set(i.toSpliced(n, 1, {
8626
8616
  ...i[n],
8627
8617
  handle: t
8628
- })), ve(this.onDidHandleRename, [e, t]);
8618
+ })), ye(this.onDidHandleRename, [e, t]);
8629
8619
  }
8630
8620
  return !0;
8631
8621
  }
@@ -8637,15 +8627,15 @@ var Ca = class {
8637
8627
  let t = i.findIndex((t) => t.handle === e);
8638
8628
  t >= 0 && this.$$.handleInputsFrom.set(i.toSpliced(t, 1));
8639
8629
  }
8640
- this.$$.showSettings.set(void 0), n.set(r.toSpliced(t, 1)), ve(this.onDidHandleDelete, e);
8630
+ this.$$.showSettings.set(void 0), n.set(r.toSpliced(t, 1)), ye(this.onDidHandleDelete, e);
8641
8631
  }
8642
8632
  }
8643
8633
  moveHandle(e, t) {
8644
8634
  let [n, r] = this.findHandleForWriting(e), i = r?.value;
8645
8635
  if (i && n >= 0) {
8646
8636
  let e = i[n];
8647
- if (Xi(e) && pn(e.json_schema) != null) {
8648
- let n = i.filter((e) => !Xi(e) || pn(e.json_schema) == null), a = i.filter((e) => Xi(e) && pn(e.json_schema) != null), o = a.findIndex((t) => t.handle == e.handle);
8637
+ if (Yi(e) && dn(e.json_schema) != null) {
8638
+ let n = i.filter((e) => !Yi(e) || dn(e.json_schema) == null), a = i.filter((e) => Yi(e) && dn(e.json_schema) != null), o = a.findIndex((t) => t.handle == e.handle);
8649
8639
  if (o >= 0) {
8650
8640
  let e = a.splice(o, 1);
8651
8641
  a.splice(t, 0, ...e), r.set(n.concat(a));
@@ -8663,7 +8653,7 @@ var Ca = class {
8663
8653
  if (r >= 0) {
8664
8654
  let e = {
8665
8655
  ...n[r],
8666
- description: ft(t.description),
8656
+ description: ut(t.description),
8667
8657
  json_schema: t.json_schema,
8668
8658
  kind: t.kind,
8669
8659
  nullable: t.nullable
@@ -8679,11 +8669,11 @@ var Ca = class {
8679
8669
  let r = this.getInputHandleDefs$() || this.getAdditionalInputDefs$();
8680
8670
  if (r) {
8681
8671
  let i = this.$.allHandleNames.value, a = {
8682
- handle: i.includes(t.name) ? rt("input", i) : t.name,
8672
+ handle: i.includes(t.name) ? W("input", i) : t.name,
8683
8673
  json_schema: t.schema$?.value,
8684
8674
  kind: t.schemaKind$?.value,
8685
8675
  nullable: t.nullable$?.value,
8686
- description: aa(t.description$.value, t.context.userLocales, this.userLocales),
8676
+ description: ia(t.description$.value, t.context.userLocales, this.userLocales),
8687
8677
  value: t.value$?.value
8688
8678
  };
8689
8679
  if (b(a.value) && this.$$.handleInputsFrom) {
@@ -8698,14 +8688,14 @@ var Ca = class {
8698
8688
  }
8699
8689
  let o = r.value;
8700
8690
  if (o) {
8701
- let t = e ? o.findIndex((t) => Yi(t, e)) : -1;
8691
+ let t = e ? o.findIndex((t) => Ji(t, e)) : -1;
8702
8692
  t >= 0 ? r.set(o.toSpliced(t + 1, 0, a)) : r.set(n ? [a, ...o] : [...o, a]);
8703
8693
  } else r.set([a]);
8704
8694
  return a.handle;
8705
8695
  }
8706
8696
  }
8707
8697
  deriveHandleIndices$(e) {
8708
- if (e) return a(e, (e) => e && Ue(e, (e) => Zi(e) ? { group: e.group } : { handle: e.handle }), R);
8698
+ if (e) return a(e, (e) => e && He(e, (e) => Xi(e) ? { group: e.group } : { handle: e.handle }), R);
8709
8699
  }
8710
8700
  deriveHandles$(e, t, n, r) {
8711
8701
  let i = this.deriveHandleIndices$(n.inputHandleDefs), o = n.boundHandles, s, f = c((u) => {
@@ -8721,7 +8711,7 @@ var Ca = class {
8721
8711
  d.push(f);
8722
8712
  continue;
8723
8713
  }
8724
- let p = o ? c((e) => e(r).has(u) || e(o).has(u)) : a(r, (e) => e.has(u)), { schema$: m, defaultValue$: h, description$: g, displayDescription$: _, kind$: v, nullable$: y, showSettings$: b, schemaOverrides$: x, value$: S } = this.deriveHandleRowVals$(n, n.inputHandleDefs, u, p), C = l(a(e, (e) => e?.[u], R), it(e, u)), w = l(a(t, (e) => e?.[u], R), it(t, u)), T = new Ji({
8714
+ let p = o ? c((e) => e(r).has(u) || e(o).has(u)) : a(r, (e) => e.has(u)), { schema$: m, defaultValue$: h, description$: g, displayDescription$: _, kind$: v, nullable$: y, showSettings$: b, schemaOverrides$: x, value$: S } = this.deriveHandleRowVals$(n, n.inputHandleDefs, u, p), C = l(a(e, (e) => e?.[u], R), nt(e, u)), w = l(a(t, (e) => e?.[u], R), nt(t, u)), T = new qi({
8725
8715
  role: n.role,
8726
8716
  inout: "in",
8727
8717
  userLocales: n.userLocales
@@ -8752,7 +8742,7 @@ var Ca = class {
8752
8742
  s.push(u);
8753
8743
  continue;
8754
8744
  }
8755
- let d = n.role === "user" ? "author" : n.role, f = o ? c((e) => e(r).has(i) || e(o).has(i)) : a(r, (e) => e.has(i)), { schema$: p, defaultValue$: h, description$: g, displayDescription$: _, kind$: v, nullable$: y, showSettings$: b, schemaOverrides$: x, value$: S } = this.deriveHandleRowVals$(n, n.additionalInputDefs, i, f), C = l(a(e, (e) => e?.[i], R), it(e, i)), w = l(a(t, (e) => e?.[i], R), it(t, i)), T = new Ji({
8745
+ let d = n.role === "user" ? "author" : n.role, f = o ? c((e) => e(r).has(i) || e(o).has(i)) : a(r, (e) => e.has(i)), { schema$: p, defaultValue$: h, description$: g, displayDescription$: _, kind$: v, nullable$: y, showSettings$: b, schemaOverrides$: x, value$: S } = this.deriveHandleRowVals$(n, n.additionalInputDefs, i, f), C = l(a(e, (e) => e?.[i], R), nt(e, i)), w = l(a(t, (e) => e?.[i], R), nt(t, i)), T = new qi({
8756
8746
  role: d,
8757
8747
  inout: "in",
8758
8748
  additional: !0,
@@ -8786,14 +8776,14 @@ var Ca = class {
8786
8776
  r[n >= 0 ? n : t.length] = e, i.set(r);
8787
8777
  } else i.set([e]);
8788
8778
  }
8789
- }), f = l(a(d, (e) => e?.description), W(d, "description")), p = c((e) => {
8790
- let t = e(f), i = dt(t);
8791
- return i != null && r ? vn(r, n, e, i, t) : t;
8792
- }), m = l(a(d, (e) => e?.json_schema, R), W(d, "json_schema")), h = l(a(d, (e) => tt(e?.nullable)), W(d, "nullable")), g = l(a(d, (e) => e?.kind), W(d, "kind")), _ = a(d, (e) => e?.value), v = l(a(e, (e) => e?.scope === "input" && e.handle === s), (t) => e.set(t ? {
8779
+ }), f = l(a(d, (e) => e?.description), G(d, "description")), p = c((e) => {
8780
+ let t = e(f), i = lt(t);
8781
+ return i != null && r ? gn(r, n, e, i, t) : t;
8782
+ }), m = l(a(d, (e) => e?.json_schema, R), G(d, "json_schema")), h = l(a(d, (e) => et(e?.nullable)), G(d, "nullable")), g = l(a(d, (e) => e?.kind), G(d, "kind")), _ = a(d, (e) => e?.value), v = l(a(e, (e) => e?.scope === "input" && e.handle === s), (t) => e.set(t ? {
8793
8783
  scope: "input",
8794
8784
  handle: s
8795
8785
  } : void 0)), y;
8796
- y = t ? l(a(t, (e) => e?.find((e) => e.handle === s)?.schema_overrides?.map((e) => Object.assign({}, e, { path: wn.get(e.path) })), R), (e) => {
8786
+ y = t ? l(a(t, (e) => e?.find((e) => e.handle === s)?.schema_overrides?.map((e) => Object.assign({}, e, { path: Sn.get(e.path) })), R), (e) => {
8797
8787
  let n = e?.map((e) => ({
8798
8788
  ...e,
8799
8789
  path: e.path.toJSON()
@@ -8811,7 +8801,7 @@ var Ca = class {
8811
8801
  }]);
8812
8802
  }) : l(a(d, (e) => e?.schema_overrides?.map((e) => ({
8813
8803
  ...e,
8814
- path: wn.get(e.path)
8804
+ path: Sn.get(e.path)
8815
8805
  }))), (e) => {
8816
8806
  if (d.value) {
8817
8807
  let t = e?.map((e) => ({
@@ -8842,7 +8832,7 @@ var Ca = class {
8842
8832
  handle: s,
8843
8833
  value: e
8844
8834
  }]);
8845
- }) : l(a(d, (e) => e?.value, R), W(d, "value")), {
8835
+ }) : l(a(d, (e) => e?.value, R), G(d, "value")), {
8846
8836
  schema$: m,
8847
8837
  defaultValue$: _,
8848
8838
  description$: f,
@@ -8856,15 +8846,15 @@ var Ca = class {
8856
8846
  }
8857
8847
  deriveAllHandleNames$(e) {
8858
8848
  return c((t) => {
8859
- let n = t(e.inputHandleDefs)?.filter(Xi).map((e) => e.handle), r = t(e.additionalInputDefs)?.map((e) => e.handle);
8849
+ let n = t(e.inputHandleDefs)?.filter(Yi).map((e) => e.handle), r = t(e.additionalInputDefs)?.map((e) => e.handle);
8860
8850
  return (n || []).concat(r || []);
8861
8851
  }, { equal: d });
8862
8852
  }
8863
8853
  deriveAllGroupNames$(e) {
8864
- return a(e.inputHandleDefs, (e) => e?.filter(Zi).map((e) => e.group) || [], { equal: d });
8854
+ return a(e.inputHandleDefs, (e) => e?.filter(Xi).map((e) => e.group) || [], { equal: d });
8865
8855
  }
8866
8856
  deriveConnectedHandles$(e) {
8867
- return e ? a(e, (e) => !e || e.length === 0 ? wa : e.reduce((e, t) => (Sa(t) && e.add(t.handle), e), /* @__PURE__ */ new Set())) : s(wa);
8857
+ return e ? a(e, (e) => !e || e.length === 0 ? va : e.reduce((e, t) => (ga(t) && e.add(t.handle), e), /* @__PURE__ */ new Set())) : s(va);
8868
8858
  }
8869
8859
  deriveIsEmpty$(e) {
8870
8860
  return c((t) => {
@@ -8875,12 +8865,12 @@ var Ca = class {
8875
8865
  return !t(e.inputHandleDefs)?.length && !r;
8876
8866
  });
8877
8867
  }
8878
- }, wa = /*#__PURE__*/ new Set(), Ta = class {
8868
+ }, va = /*#__PURE__*/ new Set(), ya = class {
8879
8869
  #e;
8880
8870
  constructor(e, t) {
8881
8871
  this.#e = s(void 0), this.inputValues$ = this.#e;
8882
8872
  let n = s(void 0);
8883
- this.section = new Ca({
8873
+ this.section = new _a({
8884
8874
  createSchemaEditor: () => void 0,
8885
8875
  handleInputsFrom: this.#e,
8886
8876
  inputHandleDefs: e,
@@ -8922,21 +8912,21 @@ var Ca = class {
8922
8912
  }
8923
8913
  return this.#e.set(r.length == 0 ? void 0 : r), !0;
8924
8914
  }
8925
- }, Ea = /* @__PURE__ */ r({
8926
- FlowRunInputEditorStore: () => Oa,
8927
- flowRunInputEditorState: () => ka
8928
- }), Da = /* @__PURE__ */ new WeakMap(), Oa = class {
8915
+ }, ba = /* @__PURE__ */ r({
8916
+ FlowRunInputEditorStore: () => Sa,
8917
+ flowRunInputEditorState: () => Ca
8918
+ }), xa = /* @__PURE__ */ new WeakMap(), Sa = class {
8929
8919
  constructor(e, t) {
8930
8920
  let n = s(e.map((e) => ({
8931
8921
  ...e.description == null ? {} : { description: e.description },
8932
8922
  handle: e.handle,
8933
8923
  json_schema: e.jsonSchema,
8934
8924
  nullable: e.nullable
8935
- }))), r = new Ta(n, t);
8925
+ }))), r = new ya(n, t);
8936
8926
  this.valid$ = c((t) => {
8937
8927
  let n = new Set((t(r.inputValues$) ?? []).flatMap((e) => e.value === void 0 ? [] : [e.handle]));
8938
8928
  return e.every((e) => n.has(e.handle)) && !t(r.section.hasError$);
8939
- }), Da.set(this, {
8929
+ }), xa.set(this, {
8940
8930
  definitions: e,
8941
8931
  definitions$: n,
8942
8932
  inputs: r,
@@ -8945,20 +8935,20 @@ var Ca = class {
8945
8935
  });
8946
8936
  }
8947
8937
  dispose() {
8948
- let e = ka(this);
8938
+ let e = Ca(this);
8949
8939
  this.valid$.dispose(), e.inputs.dispose(), e.definitions$.dispose(), e.panelWidth$.dispose();
8950
8940
  }
8951
8941
  values() {
8952
- return ka(this).inputs.values();
8942
+ return Ca(this).inputs.values();
8953
8943
  }
8954
8944
  replaceValues(e) {
8955
- return ka(this).inputs.replaceValues(e);
8945
+ return Ca(this).inputs.replaceValues(e);
8956
8946
  }
8957
8947
  };
8958
- function ka(e) {
8959
- let t = Da.get(e);
8948
+ function Ca(e) {
8949
+ let t = xa.get(e);
8960
8950
  if (t == null) throw Error("Flow Run input editor store is unavailable.");
8961
8951
  return t;
8962
8952
  }
8963
8953
  //#endregion
8964
- export { q as $, Qe as $t, $i as A, Ve as At, Di as B, Ze as Bt, na as C, Ne as Ct, ia as D, Xe as Dt, Qi as E, We as Et, Li as F, ht as Ft, gn as G, Be as Gt, _i as H, Re as Ht, Ri as I, mt as It, pn as J, it as Jt, _n as K, je as Kt, Ii as L, _t as Lt, Yi as M, R as Mt, Ji as N, Ue as Nt, Zi as O, tt as Ot, $ as P, H as Pt, Xt as Q, Ge as Qt, Fi as R, Me as Rt, aa as S, He as St, ta as T, $e as Tt, Yr as U, et as Ut, Ei as V, Ae as Vt, wn as W, ct as Wt, fn as X, z as Xt, mn as Y, st as Yt, nn as Z, nt as Zt, ua as _, E as _n, jt as _t, Sa as a, dt as an, tn as at, ma as b, Mt as bt, pa as c, ot as cn, Wt as ct, va as d, ke as dn, K as dt, ft as en, Qt as et, sa as f, De as fn, Gt as ft, ya as g, ve as gn, Rt as gt, _a as h, _e as hn, kt as ht, Ca as i, Je as in, an as it, ea as j, at as jt, Xi as k, Le as kt, oa as l, W as ln, on as lt, ha as m, Te as mn, Ot as mt, ka as n, V as nn, Ut as nt, ba as o, lt as on, en as ot, la as p, Ee as pn, Lt as pt, vn as q, Fe as qt, Ea as r, Ye as rn, rn as rt, xa as s, Pe as sn, Bt as st, Oa as t, U as tn, Ht as tt, ga as u, Oe as un, J as ut, da as v, I as vn, Nt as vt, ra as w, ze as wt, ca as x, Ie as xt, fa as y, w as yn, zt as yt, Oi as z, rt as zt };
8954
+ export { nn as $, qe as $t, Ii as A, pt as At, mn as B, ze as Bt, Xi as C, et as Ct, Ji as D, R as Dt, $i as E, rt as Et, Ei as F, Xe as Ft, un as G, z as Gt, gn as H, Pe as Ht, Ti as I, ke as It, J, Ze as Jt, en as K, tt as Kt, gi as L, Le as Lt, Fi as M, ht as Mt, Pi as N, je as Nt, qi as O, He as Ot, Di as P, W as Pt, tn as Q, Je as Qt, Jr as R, $e as Rt, ra as S, Ye as St, Qi as T, Be as Tt, dn as U, nt as Ut, hn as V, Ae as Vt, fn as W, at as Wt, Bt as X, U as Xt, Xt as Y, ut as Yt, Vt as Z, V as Zt, ia as _, Ve as _t, ga as a, De as an, Y as at, ea as b, Qe as bt, fa as c, L as cn, Ft as ct, ca as d, E as dn, It as dt, lt as en, $t as et, la as f, F as fn, kt as ft, sa as g, Fe as gt, pa as h, At as ht, _a as i, G as in, rn as it, Li as j, ft as jt, $ as k, H as kt, aa as l, ve as ln, Et as lt, da as m, Lt as mt, Ca as n, Ne as nn, Rt as nt, ma as o, Oe as on, q as ot, ua as p, w as pn, jt as pt, Jt as q, We as qt, ba as r, it as rn, Ht as rt, ha as s, Ee as sn, Ut as st, Sa as t, st as tn, Qt as tt, oa as u, ye as un, Dt as ut, ta as v, Me as vt, Yi as w, Ie as wt, Zi as x, Ue as xt, na as y, Re as yt, Sn as z, ot as zt };