@bonsae/nrg 0.13.0 → 0.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,9 @@
1
- (function(){var s=document.createElement("style");s.textContent=".nrg-toggles-grid[data-v-6a594f7a]{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px 16px}[data-v-6a594f7a] .node-red-vue-input-error-message{color:var(--red-ui-text-color-error)}[data-v-6a594f7a] .form-row input[type=text],[data-v-6a594f7a] .form-row input[type=number],[data-v-6a594f7a] .form-row input[type=password]{height:34px;padding:0 8px;box-sizing:border-box}.nrg-label[data-v-8b9bd83b]{display:inline-block;width:100%;cursor:default}.nrg-label i[data-v-8b9bd83b]{margin-right:5px}.nrg-required[data-v-8b9bd83b]{color:var(--red-ui-text-color-error);margin-left:2px}.editor-wrapper[data-v-2205b8dc]{position:relative}.expand-button[data-v-2205b8dc]{position:absolute;top:-23px;right:0;z-index:10;transition:color .3s ease;cursor:pointer}.nrg-toggle-wrapper[data-v-724dcae4]{display:inline-flex;align-items:center}.nrg-toggle[data-v-724dcae4]{position:relative;display:inline-flex!important;flex-direction:column;align-items:flex-start;cursor:pointer;gap:4px;-webkit-user-select:none;user-select:none}.nrg-toggle__input[data-v-724dcae4]{position:absolute;opacity:0;width:0;height:0}.nrg-toggle__slider[data-v-724dcae4]{position:relative;display:inline-block;width:36px;min-width:36px;height:20px;background-color:var(--red-ui-secondary-border-color, #ccc);border-radius:10px;transition:background-color .2s ease}.nrg-toggle__slider[data-v-724dcae4]:after{content:\"\";position:absolute;top:2px;left:2px;width:16px;height:16px;background-color:#fff;border-radius:50%;transition:transform .2s ease}.nrg-toggle--checked .nrg-toggle__slider[data-v-724dcae4]{background-color:var(--red-ui-text-color-link, #0070d2)}.nrg-toggle--checked .nrg-toggle__slider[data-v-724dcae4]:after{transform:translate(16px)}.nrg-toggle__label[data-v-724dcae4]{cursor:default;white-space:nowrap}.nrg-toggle__label i[data-v-724dcae4]{margin-right:2px}\n";document.head.appendChild(s);})();
2
- import { defineComponent as Pe, resolveComponent as he, openBlock as W, createElementBlock as ee, Fragment as nr, createVNode as $e, createCommentVNode as ne, createElementVNode as ce, normalizeClass as sr, renderSlot as ze, createTextVNode as Ln, toDisplayString as je, createBlock as be, withDirectives as Rs, vShow as Is, renderList as yr, createApp as js } from "/nrg/assets/vue.esm-browser.prod.js";
3
- function ks(e, t, { signal: r, edges: s } = {}) {
1
+ (function(){var s=document.createElement("style");s.textContent=".nrg-toggles-grid[data-v-5292b618]{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px 16px}[data-v-5292b618] .node-red-vue-input-error-message{color:var(--red-ui-text-color-error)}[data-v-5292b618] .form-row input[type=text],[data-v-5292b618] .form-row input[type=number],[data-v-5292b618] .form-row input[type=password]{height:34px;padding:0 8px;box-sizing:border-box}.nrg-label[data-v-864b02f2]{display:inline-block;width:100%;margin-bottom:4px;cursor:default}.nrg-label i[data-v-864b02f2]{margin-right:5px}.nrg-required[data-v-864b02f2]{color:var(--red-ui-text-color-error);margin-left:2px}.editor-wrapper[data-v-595c66de]{position:relative}.expand-button[data-v-595c66de]{position:absolute;top:-23px;right:0;z-index:10;transition:color .3s ease;cursor:pointer}.nrg-toggle-wrapper[data-v-724dcae4]{display:inline-flex;align-items:center}.nrg-toggle[data-v-724dcae4]{position:relative;display:inline-flex!important;flex-direction:column;align-items:flex-start;cursor:pointer;gap:4px;-webkit-user-select:none;user-select:none}.nrg-toggle__input[data-v-724dcae4]{position:absolute;opacity:0;width:0;height:0}.nrg-toggle__slider[data-v-724dcae4]{position:relative;display:inline-block;width:36px;min-width:36px;height:20px;background-color:var(--red-ui-secondary-border-color, #ccc);border-radius:10px;transition:background-color .2s ease}.nrg-toggle__slider[data-v-724dcae4]:after{content:\"\";position:absolute;top:2px;left:2px;width:16px;height:16px;background-color:#fff;border-radius:50%;transition:transform .2s ease}.nrg-toggle--checked .nrg-toggle__slider[data-v-724dcae4]{background-color:var(--red-ui-text-color-link, #0070d2)}.nrg-toggle--checked .nrg-toggle__slider[data-v-724dcae4]:after{transform:translate(16px)}.nrg-toggle__label[data-v-724dcae4]{cursor:default;white-space:nowrap}.nrg-toggle__label i[data-v-724dcae4]{margin-right:2px}\n";document.head.appendChild(s);})();
2
+ var Is = Object.defineProperty;
3
+ var js = (e, t, r) => t in e ? Is(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
4
+ var yr = (e, t, r) => js(e, typeof t != "symbol" ? t + "" : t, r);
5
+ import { defineComponent as Pe, resolveComponent as he, openBlock as W, createElementBlock as ee, Fragment as nr, createVNode as $e, createCommentVNode as ne, createElementVNode as ce, normalizeClass as sr, renderSlot as ze, createTextVNode as Un, toDisplayString as je, createBlock as be, withDirectives as ks, vShow as qs, renderList as gr, createApp as Ts } from "/nrg/assets/vue.esm-browser.prod.js";
6
+ function As(e, t, { signal: r, edges: s } = {}) {
4
7
  let l, o = null;
5
8
  const a = s != null && s.includes("leading"), i = s == null || s.includes("trailing"), y = () => {
6
9
  o !== null && (e.apply(l, o), l = void 0, o = null);
@@ -27,12 +30,12 @@ function ks(e, t, { signal: r, edges: s } = {}) {
27
30
  };
28
31
  return E.schedule = P, E.cancel = c, E.flush = v, r == null || r.addEventListener("abort", c, { once: !0 }), E;
29
32
  }
30
- function qs() {
33
+ function Ds() {
31
34
  }
32
- function Ts(e) {
35
+ function Ms(e) {
33
36
  return e == null || typeof e != "object" && typeof e != "function";
34
37
  }
35
- function As(e) {
38
+ function Vs(e) {
36
39
  return ArrayBuffer.isView(e) && !(e instanceof DataView);
37
40
  }
38
41
  function ar(e) {
@@ -41,12 +44,12 @@ function ar(e) {
41
44
  function or(e) {
42
45
  return e == null ? e === void 0 ? "[object Undefined]" : "[object Null]" : Object.prototype.toString.call(e);
43
46
  }
44
- const Un = "[object RegExp]", Kn = "[object String]", Hn = "[object Number]", Bn = "[object Boolean]", ir = "[object Arguments]", Gn = "[object Symbol]", Jn = "[object Date]", Wn = "[object Map]", Yn = "[object Set]", Zn = "[object Array]", Ds = "[object Function]", Qn = "[object ArrayBuffer]", Mt = "[object Object]", Ms = "[object Error]", Xn = "[object DataView]", xn = "[object Uint8Array]", es = "[object Uint8ClampedArray]", ts = "[object Uint16Array]", rs = "[object Uint32Array]", Vs = "[object BigUint64Array]", ns = "[object Int8Array]", ss = "[object Int16Array]", as = "[object Int32Array]", Cs = "[object BigInt64Array]", os = "[object Float32Array]", is = "[object Float64Array]";
47
+ const Kn = "[object RegExp]", Hn = "[object String]", Bn = "[object Number]", Gn = "[object Boolean]", ir = "[object Arguments]", Jn = "[object Symbol]", Wn = "[object Date]", Yn = "[object Map]", Zn = "[object Set]", Qn = "[object Array]", Cs = "[object Function]", Xn = "[object ArrayBuffer]", Mt = "[object Object]", zs = "[object Error]", xn = "[object DataView]", es = "[object Uint8Array]", ts = "[object Uint8ClampedArray]", rs = "[object Uint16Array]", ns = "[object Uint32Array]", Fs = "[object BigUint64Array]", ss = "[object Int8Array]", as = "[object Int16Array]", os = "[object Int32Array]", Ls = "[object BigInt64Array]", is = "[object Float32Array]", us = "[object Float64Array]";
45
48
  function Ce(e, t, r, s = /* @__PURE__ */ new Map(), l = void 0) {
46
49
  const o = l == null ? void 0 : l(e, t, r, s);
47
50
  if (o !== void 0)
48
51
  return o;
49
- if (Ts(e))
52
+ if (Ms(e))
50
53
  return e;
51
54
  if (s.has(e))
52
55
  return s.get(e);
@@ -79,7 +82,7 @@ function Ce(e, t, r, s = /* @__PURE__ */ new Map(), l = void 0) {
79
82
  }
80
83
  if (typeof Buffer < "u" && Buffer.isBuffer(e))
81
84
  return e.subarray();
82
- if (As(e)) {
85
+ if (Vs(e)) {
83
86
  const a = new (Object.getPrototypeOf(e)).constructor(e.length);
84
87
  s.set(e, a);
85
88
  for (let i = 0; i < e.length; i++)
@@ -118,7 +121,7 @@ function Ce(e, t, r, s = /* @__PURE__ */ new Map(), l = void 0) {
118
121
  const a = new String(e.valueOf());
119
122
  return s.set(e, a), Re(a, e, r, s, l), a;
120
123
  }
121
- if (typeof e == "object" && zs(e)) {
124
+ if (typeof e == "object" && Us(e)) {
122
125
  const a = Object.create(Object.getPrototypeOf(e));
123
126
  return s.set(e, a), Re(a, e, r, s, l), a;
124
127
  }
@@ -131,48 +134,48 @@ function Re(e, t, r = e, s, l) {
131
134
  (y == null || y.writable) && (e[i] = Ce(t[i], i, r, s, l));
132
135
  }
133
136
  }
134
- function zs(e) {
137
+ function Us(e) {
135
138
  switch (or(e)) {
136
139
  case ir:
137
- case Zn:
138
140
  case Qn:
139
141
  case Xn:
140
- case Bn:
141
- case Jn:
142
- case os:
142
+ case xn:
143
+ case Gn:
144
+ case Wn:
143
145
  case is:
144
- case ns:
146
+ case us:
145
147
  case ss:
146
148
  case as:
147
- case Wn:
148
- case Hn:
149
- case Mt:
150
- case Un:
149
+ case os:
151
150
  case Yn:
151
+ case Bn:
152
+ case Mt:
152
153
  case Kn:
153
- case Gn:
154
- case xn:
154
+ case Zn:
155
+ case Hn:
156
+ case Jn:
155
157
  case es:
156
158
  case ts:
157
159
  case rs:
160
+ case ns:
158
161
  return !0;
159
162
  default:
160
163
  return !1;
161
164
  }
162
165
  }
163
- function Fs(e) {
166
+ function Ks(e) {
164
167
  return Ce(e, void 0, e, /* @__PURE__ */ new Map(), void 0);
165
168
  }
166
- function gr(e) {
169
+ function vr(e) {
167
170
  if (!e || typeof e != "object")
168
171
  return !1;
169
172
  const t = Object.getPrototypeOf(e);
170
173
  return t === null || t === Object.prototype || Object.getPrototypeOf(t) === null ? Object.prototype.toString.call(e) === "[object Object]" : !1;
171
174
  }
172
- function Ls(e, t) {
175
+ function Hs(e, t) {
173
176
  return e === t || Number.isNaN(e) && Number.isNaN(t);
174
177
  }
175
- function Us(e, t, r) {
178
+ function Bs(e, t, r) {
176
179
  return Be(e, t, void 0, void 0, void 0, void 0, r);
177
180
  }
178
181
  function Be(e, t, r, s, l, o, a) {
@@ -203,19 +206,19 @@ function Ge(e, t, r, s) {
203
206
  if (l === ir && (l = Mt), o === ir && (o = Mt), l !== o)
204
207
  return !1;
205
208
  switch (l) {
206
- case Kn:
209
+ case Hn:
207
210
  return e.toString() === t.toString();
208
- case Hn: {
211
+ case Bn: {
209
212
  const y = e.valueOf(), g = t.valueOf();
210
- return Ls(y, g);
213
+ return Hs(y, g);
211
214
  }
212
- case Bn:
213
- case Jn:
214
215
  case Gn:
216
+ case Wn:
217
+ case Jn:
215
218
  return Object.is(e.valueOf(), t.valueOf());
216
- case Un:
219
+ case Kn:
217
220
  return e.source === t.source && e.flags === t.flags;
218
- case Ds:
221
+ case Cs:
219
222
  return e === t;
220
223
  }
221
224
  r = r ?? /* @__PURE__ */ new Map();
@@ -225,7 +228,7 @@ function Ge(e, t, r, s) {
225
228
  r.set(e, t), r.set(t, e);
226
229
  try {
227
230
  switch (l) {
228
- case Wn: {
231
+ case Yn: {
229
232
  if (e.size !== t.size)
230
233
  return !1;
231
234
  for (const [y, g] of e.entries())
@@ -233,7 +236,7 @@ function Ge(e, t, r, s) {
233
236
  return !1;
234
237
  return !0;
235
238
  }
236
- case Yn: {
239
+ case Zn: {
237
240
  if (e.size !== t.size)
238
241
  return !1;
239
242
  const y = Array.from(e.values()), g = Array.from(t.values());
@@ -245,18 +248,18 @@ function Ge(e, t, r, s) {
245
248
  }
246
249
  return !0;
247
250
  }
248
- case Zn:
249
- case xn:
251
+ case Qn:
250
252
  case es:
251
253
  case ts:
252
254
  case rs:
253
- case Vs:
254
255
  case ns:
256
+ case Fs:
255
257
  case ss:
256
258
  case as:
257
- case Cs:
258
259
  case os:
259
- case is: {
260
+ case Ls:
261
+ case is:
262
+ case us: {
260
263
  if (typeof Buffer < "u" && Buffer.isBuffer(e) !== Buffer.isBuffer(t) || e.length !== t.length)
261
264
  return !1;
262
265
  for (let y = 0; y < e.length; y++)
@@ -264,14 +267,14 @@ function Ge(e, t, r, s) {
264
267
  return !1;
265
268
  return !0;
266
269
  }
267
- case Qn:
268
- return e.byteLength !== t.byteLength ? !1 : Ge(new Uint8Array(e), new Uint8Array(t), r, s);
269
270
  case Xn:
271
+ return e.byteLength !== t.byteLength ? !1 : Ge(new Uint8Array(e), new Uint8Array(t), r, s);
272
+ case xn:
270
273
  return e.byteLength !== t.byteLength || e.byteOffset !== t.byteOffset ? !1 : Ge(new Uint8Array(e), new Uint8Array(t), r, s);
271
- case Ms:
274
+ case zs:
272
275
  return e.name === t.name && e.message === t.message;
273
276
  case Mt: {
274
- if (!(Ge(e.constructor, t.constructor, r, s) || gr(e) && gr(t)))
277
+ if (!(Ge(e.constructor, t.constructor, r, s) || vr(e) && vr(t)))
275
278
  return !1;
276
279
  const g = [...Object.keys(e), ...ar(e)], m = [...Object.keys(t), ...ar(t)];
277
280
  if (g.length !== m.length)
@@ -293,16 +296,16 @@ function Ge(e, t, r, s) {
293
296
  r.delete(e), r.delete(t);
294
297
  }
295
298
  }
296
- function Ks(e, t) {
297
- return Us(e, t, qs);
299
+ function Gs(e, t) {
300
+ return Bs(e, t, Ds);
298
301
  }
299
302
  function Ct(e) {
300
303
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
301
304
  }
302
- var Le = {}, vr;
303
- function Hs() {
304
- if (vr) return Le;
305
- vr = 1;
305
+ var Le = {}, _r;
306
+ function Js() {
307
+ if (_r) return Le;
308
+ _r = 1;
306
309
  var e = /~/, t = /~[01]/g;
307
310
  function r(g) {
308
311
  switch (g) {
@@ -365,11 +368,11 @@ function Hs() {
365
368
  }
366
369
  return Le.get = a, Le.set = i, Le.compile = y, Le;
367
370
  }
368
- var Bs = Hs();
369
- const us = /* @__PURE__ */ Ct(Bs);
370
- var Ze = { exports: {} }, Ht = {}, we = {}, ke = {}, Bt = {}, Gt = {}, Jt = {}, _r;
371
+ var Ws = Js();
372
+ const cs = /* @__PURE__ */ Ct(Ws);
373
+ var Ze = { exports: {} }, Ht = {}, we = {}, ke = {}, Bt = {}, Gt = {}, Jt = {}, $r;
371
374
  function Je() {
372
- return _r || (_r = 1, (function(e) {
375
+ return $r || ($r = 1, (function(e) {
373
376
  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;
374
377
  class t {
375
378
  }
@@ -490,9 +493,9 @@ function Je() {
490
493
  e.regexpCode = h;
491
494
  })(Jt)), Jt;
492
495
  }
493
- var Wt = {}, $r;
494
- function br() {
495
- return $r || ($r = 1, (function(e) {
496
+ var Wt = {}, br;
497
+ function wr() {
498
+ return br || (br = 1, (function(e) {
496
499
  Object.defineProperty(e, "__esModule", { value: !0 }), e.ValueScope = e.ValueScopeName = e.Scope = e.varKinds = e.UsedValueState = void 0;
497
500
  const t = /* @__PURE__ */ Je();
498
501
  class r extends Error {
@@ -613,11 +616,11 @@ function br() {
613
616
  e.ValueScope = i;
614
617
  })(Wt)), Wt;
615
618
  }
616
- var wr;
619
+ var Er;
617
620
  function Y() {
618
- return wr || (wr = 1, (function(e) {
621
+ return Er || (Er = 1, (function(e) {
619
622
  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;
620
- const t = /* @__PURE__ */ Je(), r = /* @__PURE__ */ br();
623
+ const t = /* @__PURE__ */ Je(), r = /* @__PURE__ */ wr();
621
624
  var s = /* @__PURE__ */ Je();
622
625
  Object.defineProperty(e, "_", { enumerable: !0, get: function() {
623
626
  return s._;
@@ -636,7 +639,7 @@ function Y() {
636
639
  } }), Object.defineProperty(e, "Name", { enumerable: !0, get: function() {
637
640
  return s.Name;
638
641
  } });
639
- var l = /* @__PURE__ */ br();
642
+ var l = /* @__PURE__ */ wr();
640
643
  Object.defineProperty(e, "Scope", { enumerable: !0, get: function() {
641
644
  return l.Scope;
642
645
  } }), Object.defineProperty(e, "ValueScope", { enumerable: !0, get: function() {
@@ -1175,10 +1178,10 @@ function Y() {
1175
1178
  }
1176
1179
  })(Gt)), Gt;
1177
1180
  }
1178
- var Z = {}, Er;
1181
+ var Z = {}, Sr;
1179
1182
  function x() {
1180
- if (Er) return Z;
1181
- Er = 1, Object.defineProperty(Z, "__esModule", { value: !0 }), Z.checkStrictMode = Z.getErrorPath = Z.Type = Z.useFunc = Z.setEvaluated = Z.evaluatedPropsToName = Z.mergeEvaluated = Z.eachItem = Z.unescapeJsonPointer = Z.escapeJsonPointer = Z.escapeFragment = Z.unescapeFragment = Z.schemaRefOrVal = Z.schemaHasRulesButRef = Z.schemaHasRules = Z.checkUnknownRules = Z.alwaysValidSchema = Z.toHash = void 0;
1183
+ if (Sr) return Z;
1184
+ Sr = 1, Object.defineProperty(Z, "__esModule", { value: !0 }), Z.checkStrictMode = Z.getErrorPath = Z.Type = Z.useFunc = Z.setEvaluated = Z.evaluatedPropsToName = Z.mergeEvaluated = Z.eachItem = Z.unescapeJsonPointer = Z.escapeJsonPointer = Z.escapeFragment = Z.unescapeFragment = Z.schemaRefOrVal = Z.schemaHasRulesButRef = Z.schemaHasRules = Z.checkUnknownRules = Z.alwaysValidSchema = Z.toHash = void 0;
1182
1185
  const e = /* @__PURE__ */ Y(), t = /* @__PURE__ */ Je();
1183
1186
  function r(d) {
1184
1187
  const _ = {};
@@ -1316,10 +1319,10 @@ function x() {
1316
1319
  }
1317
1320
  return Z.checkStrictMode = b, Z;
1318
1321
  }
1319
- var Qe = {}, Sr;
1322
+ var Qe = {}, Pr;
1320
1323
  function Ne() {
1321
- if (Sr) return Qe;
1322
- Sr = 1, Object.defineProperty(Qe, "__esModule", { value: !0 });
1324
+ if (Pr) return Qe;
1325
+ Pr = 1, Object.defineProperty(Qe, "__esModule", { value: !0 });
1323
1326
  const e = /* @__PURE__ */ Y(), t = {
1324
1327
  // validation function arguments
1325
1328
  data: new e.Name("data"),
@@ -1351,9 +1354,9 @@ function Ne() {
1351
1354
  };
1352
1355
  return Qe.default = t, Qe;
1353
1356
  }
1354
- var Pr;
1357
+ var Nr;
1355
1358
  function We() {
1356
- return Pr || (Pr = 1, (function(e) {
1359
+ return Nr || (Nr = 1, (function(e) {
1357
1360
  Object.defineProperty(e, "__esModule", { value: !0 }), e.extendErrors = e.resetErrorsCount = e.reportExtraError = e.reportError = e.keyword$DataError = e.keywordError = void 0;
1358
1361
  const t = /* @__PURE__ */ Y(), r = /* @__PURE__ */ x(), s = /* @__PURE__ */ Ne();
1359
1362
  e.keywordError = {
@@ -1427,10 +1430,10 @@ function We() {
1427
1430
  }
1428
1431
  })(Bt)), Bt;
1429
1432
  }
1430
- var Nr;
1431
- function Gs() {
1432
- if (Nr) return ke;
1433
- Nr = 1, Object.defineProperty(ke, "__esModule", { value: !0 }), ke.boolOrEmptySchema = ke.topBoolOrEmptySchema = void 0;
1433
+ var Or;
1434
+ function Ys() {
1435
+ if (Or) return ke;
1436
+ Or = 1, Object.defineProperty(ke, "__esModule", { value: !0 }), ke.boolOrEmptySchema = ke.topBoolOrEmptySchema = void 0;
1434
1437
  const e = /* @__PURE__ */ We(), t = /* @__PURE__ */ Y(), r = /* @__PURE__ */ Ne(), s = {
1435
1438
  message: "boolean schema is false"
1436
1439
  };
@@ -1459,10 +1462,10 @@ function Gs() {
1459
1462
  }
1460
1463
  return ke;
1461
1464
  }
1462
- var ue = {}, qe = {}, Or;
1463
- function cs() {
1464
- if (Or) return qe;
1465
- Or = 1, Object.defineProperty(qe, "__esModule", { value: !0 }), qe.getRules = qe.isJSONType = void 0;
1465
+ var ue = {}, qe = {}, Rr;
1466
+ function ds() {
1467
+ if (Rr) return qe;
1468
+ Rr = 1, Object.defineProperty(qe, "__esModule", { value: !0 }), qe.getRules = qe.isJSONType = void 0;
1466
1469
  const e = ["string", "number", "integer", "boolean", "null", "object", "array"], t = new Set(e);
1467
1470
  function r(l) {
1468
1471
  return typeof l == "string" && t.has(l);
@@ -1485,10 +1488,10 @@ function cs() {
1485
1488
  }
1486
1489
  return qe.getRules = s, qe;
1487
1490
  }
1488
- var Ee = {}, Rr;
1489
- function ds() {
1490
- if (Rr) return Ee;
1491
- Rr = 1, Object.defineProperty(Ee, "__esModule", { value: !0 }), Ee.shouldUseRule = Ee.shouldUseGroup = Ee.schemaHasRulesForType = void 0;
1491
+ var Ee = {}, Ir;
1492
+ function ls() {
1493
+ if (Ir) return Ee;
1494
+ Ir = 1, Object.defineProperty(Ee, "__esModule", { value: !0 }), Ee.shouldUseRule = Ee.shouldUseGroup = Ee.schemaHasRulesForType = void 0;
1492
1495
  function e({ schema: s, self: l }, o) {
1493
1496
  const a = l.RULES.types[o];
1494
1497
  return a && a !== !0 && t(s, a);
@@ -1504,11 +1507,11 @@ function ds() {
1504
1507
  }
1505
1508
  return Ee.shouldUseRule = r, Ee;
1506
1509
  }
1507
- var Ir;
1510
+ var jr;
1508
1511
  function Vt() {
1509
- if (Ir) return ue;
1510
- Ir = 1, Object.defineProperty(ue, "__esModule", { value: !0 }), ue.reportTypeError = ue.checkDataTypes = ue.checkDataType = ue.coerceAndCheckDataType = ue.getJSONTypes = ue.getSchemaTypes = ue.DataType = void 0;
1511
- const e = /* @__PURE__ */ cs(), t = /* @__PURE__ */ ds(), r = /* @__PURE__ */ We(), s = /* @__PURE__ */ Y(), l = /* @__PURE__ */ x();
1512
+ if (jr) return ue;
1513
+ jr = 1, Object.defineProperty(ue, "__esModule", { value: !0 }), ue.reportTypeError = ue.checkDataTypes = ue.checkDataType = ue.coerceAndCheckDataType = ue.getJSONTypes = ue.getSchemaTypes = ue.DataType = void 0;
1514
+ const e = /* @__PURE__ */ ds(), t = /* @__PURE__ */ ls(), r = /* @__PURE__ */ We(), s = /* @__PURE__ */ Y(), l = /* @__PURE__ */ x();
1512
1515
  var o;
1513
1516
  (function(n) {
1514
1517
  n[n.Correct = 0] = "Correct", n[n.Wrong = 1] = "Wrong";
@@ -1652,10 +1655,10 @@ function Vt() {
1652
1655
  }
1653
1656
  return ue;
1654
1657
  }
1655
- var Ue = {}, jr;
1656
- function Js() {
1657
- if (jr) return Ue;
1658
- jr = 1, Object.defineProperty(Ue, "__esModule", { value: !0 }), Ue.assignDefaults = void 0;
1658
+ var Ue = {}, kr;
1659
+ function Zs() {
1660
+ if (kr) return Ue;
1661
+ kr = 1, Object.defineProperty(Ue, "__esModule", { value: !0 }), Ue.assignDefaults = void 0;
1659
1662
  const e = /* @__PURE__ */ Y(), t = /* @__PURE__ */ x();
1660
1663
  function r(l, o) {
1661
1664
  const { properties: a, items: i } = l.schema;
@@ -1679,10 +1682,10 @@ function Js() {
1679
1682
  }
1680
1683
  return Ue;
1681
1684
  }
1682
- var ve = {}, re = {}, kr;
1685
+ var ve = {}, re = {}, qr;
1683
1686
  function _e() {
1684
- if (kr) return re;
1685
- kr = 1, Object.defineProperty(re, "__esModule", { value: !0 }), re.validateUnion = re.validateArray = re.usePattern = re.callValidateCode = re.schemaProperties = re.allSchemaProperties = re.noPropertyInData = re.propertyInData = re.isOwnProperty = re.hasPropFunc = re.reportMissingProp = re.checkMissingProp = re.checkReportMissingProp = void 0;
1687
+ if (qr) return re;
1688
+ qr = 1, Object.defineProperty(re, "__esModule", { value: !0 }), re.validateUnion = re.validateArray = re.usePattern = re.callValidateCode = re.schemaProperties = re.allSchemaProperties = re.noPropertyInData = re.propertyInData = re.isOwnProperty = re.hasPropFunc = re.reportMissingProp = re.checkMissingProp = re.checkReportMissingProp = void 0;
1686
1689
  const e = /* @__PURE__ */ Y(), t = /* @__PURE__ */ x(), r = /* @__PURE__ */ Ne(), s = /* @__PURE__ */ x();
1687
1690
  function l(n, f) {
1688
1691
  const { gen: b, data: d, it: _ } = n;
@@ -1788,10 +1791,10 @@ function _e() {
1788
1791
  }
1789
1792
  return re.validateUnion = u, re;
1790
1793
  }
1791
- var qr;
1792
- function Ws() {
1793
- if (qr) return ve;
1794
- qr = 1, Object.defineProperty(ve, "__esModule", { value: !0 }), ve.validateKeywordUsage = ve.validSchemaType = ve.funcKeywordCode = ve.macroKeywordCode = void 0;
1794
+ var Tr;
1795
+ function Qs() {
1796
+ if (Tr) return ve;
1797
+ Tr = 1, Object.defineProperty(ve, "__esModule", { value: !0 }), ve.validateKeywordUsage = ve.validSchemaType = ve.funcKeywordCode = ve.macroKeywordCode = void 0;
1795
1798
  const e = /* @__PURE__ */ Y(), t = /* @__PURE__ */ Ne(), r = /* @__PURE__ */ _e(), s = /* @__PURE__ */ We();
1796
1799
  function l(w, c) {
1797
1800
  const { gen: v, keyword: E, schema: h, parentSchema: u, it: n } = w, f = c.macro.call(n.self, h, u, n), b = g(v, E, f);
@@ -1877,10 +1880,10 @@ function Ws() {
1877
1880
  }
1878
1881
  return ve.validateKeywordUsage = P, ve;
1879
1882
  }
1880
- var Se = {}, Tr;
1881
- function Ys() {
1882
- if (Tr) return Se;
1883
- Tr = 1, Object.defineProperty(Se, "__esModule", { value: !0 }), Se.extendSubschemaMode = Se.extendSubschemaData = Se.getSubschema = void 0;
1883
+ var Se = {}, Ar;
1884
+ function Xs() {
1885
+ if (Ar) return Se;
1886
+ Ar = 1, Object.defineProperty(Se, "__esModule", { value: !0 }), Se.extendSubschemaMode = Se.extendSubschemaData = Se.getSubschema = void 0;
1884
1887
  const e = /* @__PURE__ */ Y(), t = /* @__PURE__ */ x();
1885
1888
  function r(o, { keyword: a, schemaProp: i, schema: y, schemaPath: g, errSchemaPath: m, topSchemaRef: P }) {
1886
1889
  if (a !== void 0 && y !== void 0)
@@ -1933,9 +1936,9 @@ function Ys() {
1933
1936
  }
1934
1937
  return Se.extendSubschemaMode = l, Se;
1935
1938
  }
1936
- var le = {}, Yt, Ar;
1937
- function ls() {
1938
- return Ar || (Ar = 1, Yt = function e(t, r) {
1939
+ var le = {}, Yt, Dr;
1940
+ function fs() {
1941
+ return Dr || (Dr = 1, Yt = function e(t, r) {
1939
1942
  if (t === r) return !0;
1940
1943
  if (t && r && typeof t == "object" && typeof r == "object") {
1941
1944
  if (t.constructor !== r.constructor) return !1;
@@ -1961,10 +1964,10 @@ function ls() {
1961
1964
  return t !== t && r !== r;
1962
1965
  }), Yt;
1963
1966
  }
1964
- var Zt = { exports: {} }, Dr;
1965
- function Zs() {
1966
- if (Dr) return Zt.exports;
1967
- Dr = 1;
1967
+ var Zt = { exports: {} }, Mr;
1968
+ function xs() {
1969
+ if (Mr) return Zt.exports;
1970
+ Mr = 1;
1968
1971
  var e = Zt.exports = function(s, l, o) {
1969
1972
  typeof l == "function" && (o = l, l = {}), o = l.cb || o;
1970
1973
  var a = typeof o == "function" ? o : o.pre || function() {
@@ -2036,11 +2039,11 @@ function Zs() {
2036
2039
  }
2037
2040
  return Zt.exports;
2038
2041
  }
2039
- var Mr;
2042
+ var Vr;
2040
2043
  function zt() {
2041
- if (Mr) return le;
2042
- Mr = 1, Object.defineProperty(le, "__esModule", { value: !0 }), le.getSchemaRefs = le.resolveUrl = le.normalizeId = le._getFullPath = le.getFullPath = le.inlineRef = void 0;
2043
- const e = /* @__PURE__ */ x(), t = ls(), r = Zs(), s = /* @__PURE__ */ new Set([
2044
+ if (Vr) return le;
2045
+ Vr = 1, Object.defineProperty(le, "__esModule", { value: !0 }), le.getSchemaRefs = le.resolveUrl = le.normalizeId = le._getFullPath = le.getFullPath = le.inlineRef = void 0;
2046
+ const e = /* @__PURE__ */ x(), t = fs(), r = xs(), s = /* @__PURE__ */ new Set([
2044
2047
  "type",
2045
2048
  "format",
2046
2049
  "pattern",
@@ -2145,11 +2148,11 @@ function zt() {
2145
2148
  }
2146
2149
  return le.getSchemaRefs = v, le;
2147
2150
  }
2148
- var Vr;
2151
+ var Cr;
2149
2152
  function Ye() {
2150
- if (Vr) return we;
2151
- Vr = 1, Object.defineProperty(we, "__esModule", { value: !0 }), we.getData = we.KeywordCxt = we.validateFunctionCode = void 0;
2152
- const e = /* @__PURE__ */ Gs(), t = /* @__PURE__ */ Vt(), r = /* @__PURE__ */ ds(), s = /* @__PURE__ */ Vt(), l = /* @__PURE__ */ Js(), o = /* @__PURE__ */ Ws(), a = /* @__PURE__ */ Ys(), i = /* @__PURE__ */ Y(), y = /* @__PURE__ */ Ne(), g = /* @__PURE__ */ zt(), m = /* @__PURE__ */ x(), P = /* @__PURE__ */ We();
2153
+ if (Cr) return we;
2154
+ Cr = 1, Object.defineProperty(we, "__esModule", { value: !0 }), we.getData = we.KeywordCxt = we.validateFunctionCode = void 0;
2155
+ const e = /* @__PURE__ */ Ys(), t = /* @__PURE__ */ Vt(), r = /* @__PURE__ */ ls(), s = /* @__PURE__ */ Vt(), l = /* @__PURE__ */ Zs(), o = /* @__PURE__ */ Qs(), a = /* @__PURE__ */ Xs(), i = /* @__PURE__ */ Y(), y = /* @__PURE__ */ Ne(), g = /* @__PURE__ */ zt(), m = /* @__PURE__ */ x(), P = /* @__PURE__ */ We();
2153
2156
  function w(R) {
2154
2157
  if (d(R) && (N(R), b(R))) {
2155
2158
  h(R);
@@ -2458,10 +2461,10 @@ function Ye() {
2458
2461
  }
2459
2462
  return we.getData = J, we;
2460
2463
  }
2461
- var Xe = {}, Cr;
2464
+ var Xe = {}, zr;
2462
2465
  function cr() {
2463
- if (Cr) return Xe;
2464
- Cr = 1, Object.defineProperty(Xe, "__esModule", { value: !0 });
2466
+ if (zr) return Xe;
2467
+ zr = 1, Object.defineProperty(Xe, "__esModule", { value: !0 });
2465
2468
  class e extends Error {
2466
2469
  constructor(r) {
2467
2470
  super("validation failed"), this.errors = r, this.ajv = this.validation = !0;
@@ -2469,10 +2472,10 @@ function cr() {
2469
2472
  }
2470
2473
  return Xe.default = e, Xe;
2471
2474
  }
2472
- var xe = {}, zr;
2475
+ var xe = {}, Fr;
2473
2476
  function Ft() {
2474
- if (zr) return xe;
2475
- zr = 1, Object.defineProperty(xe, "__esModule", { value: !0 });
2477
+ if (Fr) return xe;
2478
+ Fr = 1, Object.defineProperty(xe, "__esModule", { value: !0 });
2476
2479
  const e = /* @__PURE__ */ zt();
2477
2480
  class t extends Error {
2478
2481
  constructor(s, l, o, a) {
@@ -2481,10 +2484,10 @@ function Ft() {
2481
2484
  }
2482
2485
  return xe.default = t, xe;
2483
2486
  }
2484
- var me = {}, Fr;
2487
+ var me = {}, Lr;
2485
2488
  function dr() {
2486
- if (Fr) return me;
2487
- Fr = 1, Object.defineProperty(me, "__esModule", { value: !0 }), me.resolveSchema = me.getCompilingSchema = me.resolveRef = me.compileSchema = me.SchemaEnv = void 0;
2489
+ if (Lr) return me;
2490
+ Lr = 1, Object.defineProperty(me, "__esModule", { value: !0 }), me.resolveSchema = me.getCompilingSchema = me.resolveRef = me.compileSchema = me.SchemaEnv = void 0;
2488
2491
  const e = /* @__PURE__ */ Y(), t = /* @__PURE__ */ cr(), r = /* @__PURE__ */ Ne(), s = /* @__PURE__ */ zt(), l = /* @__PURE__ */ x(), o = /* @__PURE__ */ Ye();
2489
2492
  class a {
2490
2493
  constructor(u) {
@@ -2639,18 +2642,18 @@ function dr() {
2639
2642
  }
2640
2643
  return me;
2641
2644
  }
2642
- const Qs = "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#", Xs = "Meta-schema for $data reference (JSON AnySchema extension proposal)", xs = "object", ea = ["$data"], ta = { $data: { type: "string", anyOf: [{ format: "relative-json-pointer" }, { format: "json-pointer" }] } }, ra = !1, na = {
2643
- $id: Qs,
2644
- description: Xs,
2645
- type: xs,
2646
- required: ea,
2647
- properties: ta,
2648
- additionalProperties: ra
2645
+ const ea = "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#", ta = "Meta-schema for $data reference (JSON AnySchema extension proposal)", ra = "object", na = ["$data"], sa = { $data: { type: "string", anyOf: [{ format: "relative-json-pointer" }, { format: "json-pointer" }] } }, aa = !1, oa = {
2646
+ $id: ea,
2647
+ description: ta,
2648
+ type: ra,
2649
+ required: na,
2650
+ properties: sa,
2651
+ additionalProperties: aa
2649
2652
  };
2650
- var et = {}, Ke = { exports: {} }, Qt, Lr;
2651
- function fs() {
2652
- if (Lr) return Qt;
2653
- Lr = 1;
2653
+ var et = {}, Ke = { exports: {} }, Qt, Ur;
2654
+ function ps() {
2655
+ if (Ur) return Qt;
2656
+ Ur = 1;
2654
2657
  const e = RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu), t = 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);
2655
2658
  function r(w) {
2656
2659
  let c = "", v = 0, E = 0;
@@ -2812,11 +2815,11 @@ function fs() {
2812
2815
  stringArrayToHexStripped: r
2813
2816
  }, Qt;
2814
2817
  }
2815
- var Xt, Ur;
2816
- function sa() {
2817
- if (Ur) return Xt;
2818
- Ur = 1;
2819
- const { isUUID: e } = fs(), t = /([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu, r = (
2818
+ var Xt, Kr;
2819
+ function ia() {
2820
+ if (Kr) return Xt;
2821
+ Kr = 1;
2822
+ const { isUUID: e } = ps(), t = /([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu, r = (
2820
2823
  /** @type {const} */
2821
2824
  [
2822
2825
  "http",
@@ -2958,11 +2961,11 @@ function sa() {
2958
2961
  getSchemeHandler: b
2959
2962
  }, Xt;
2960
2963
  }
2961
- var Kr;
2962
- function aa() {
2963
- if (Kr) return Ke.exports;
2964
- Kr = 1;
2965
- const { normalizeIPv6: e, removeDotSegments: t, recomposeAuthority: r, normalizeComponentEncoding: s, isIPv4: l, nonSimpleDomain: o } = fs(), { SCHEMES: a, getSchemeHandler: i } = sa();
2964
+ var Hr;
2965
+ function ua() {
2966
+ if (Hr) return Ke.exports;
2967
+ Hr = 1;
2968
+ const { normalizeIPv6: e, removeDotSegments: t, recomposeAuthority: r, normalizeComponentEncoding: s, isIPv4: l, nonSimpleDomain: o } = ps(), { SCHEMES: a, getSchemeHandler: i } = ia();
2966
2969
  function y(h, u) {
2967
2970
  return typeof h == "string" ? h = /** @type {T} */
2968
2971
  w(v(h, u), u) : typeof h == "object" && (h = /** @type {T} */
@@ -3049,16 +3052,16 @@ function aa() {
3049
3052
  };
3050
3053
  return Ke.exports = E, Ke.exports.default = E, Ke.exports.fastUri = E, Ke.exports;
3051
3054
  }
3052
- var Hr;
3053
- function oa() {
3054
- if (Hr) return et;
3055
- Hr = 1, Object.defineProperty(et, "__esModule", { value: !0 });
3056
- const e = aa();
3055
+ var Br;
3056
+ function ca() {
3057
+ if (Br) return et;
3058
+ Br = 1, Object.defineProperty(et, "__esModule", { value: !0 });
3059
+ const e = ua();
3057
3060
  return e.code = 'require("ajv/dist/runtime/uri").default', et.default = e, et;
3058
3061
  }
3059
- var Br;
3060
- function ia() {
3061
- return Br || (Br = 1, (function(e) {
3062
+ var Gr;
3063
+ function da() {
3064
+ return Gr || (Gr = 1, (function(e) {
3062
3065
  Object.defineProperty(e, "__esModule", { value: !0 }), e.CodeGen = e.Name = e.nil = e.stringify = e.str = e._ = e.KeywordCxt = void 0;
3063
3066
  var t = /* @__PURE__ */ Ye();
3064
3067
  Object.defineProperty(e, "KeywordCxt", { enumerable: !0, get: function() {
@@ -3078,7 +3081,7 @@ function ia() {
3078
3081
  } }), Object.defineProperty(e, "CodeGen", { enumerable: !0, get: function() {
3079
3082
  return r.CodeGen;
3080
3083
  } });
3081
- const s = /* @__PURE__ */ cr(), l = /* @__PURE__ */ Ft(), o = /* @__PURE__ */ cs(), a = /* @__PURE__ */ dr(), i = /* @__PURE__ */ Y(), y = /* @__PURE__ */ zt(), g = /* @__PURE__ */ Vt(), m = /* @__PURE__ */ x(), P = na, w = /* @__PURE__ */ oa(), c = (V, j) => new RegExp(V, j);
3084
+ const s = /* @__PURE__ */ cr(), l = /* @__PURE__ */ Ft(), o = /* @__PURE__ */ ds(), a = /* @__PURE__ */ dr(), i = /* @__PURE__ */ Y(), y = /* @__PURE__ */ zt(), g = /* @__PURE__ */ Vt(), m = /* @__PURE__ */ x(), P = oa, w = /* @__PURE__ */ ca(), c = (V, j) => new RegExp(V, j);
3082
3085
  c.code = "new RegExp";
3083
3086
  const v = ["removeAdditional", "useDefaults", "coerceTypes"], E = /* @__PURE__ */ new Set([
3084
3087
  "validate",
@@ -3117,7 +3120,7 @@ function ia() {
3117
3120
  }, n = 200;
3118
3121
  function f(V) {
3119
3122
  var j, k, O, p, S, T, U, C, B, J, R, I, D, L, G, Q, oe, ge, fe, pe, ie, De, ye, Lt, Ut;
3120
- const Fe = V.strict, Kt = (j = V.code) === null || j === void 0 ? void 0 : j.optimize, hr = Kt === !0 || Kt === void 0 ? 1 : Kt || 0, mr = (O = (k = V.code) === null || k === void 0 ? void 0 : k.regExp) !== null && O !== void 0 ? O : c, Os = (p = V.uriResolver) !== null && p !== void 0 ? p : w.default;
3123
+ const Fe = V.strict, Kt = (j = V.code) === null || j === void 0 ? void 0 : j.optimize, hr = Kt === !0 || Kt === void 0 ? 1 : Kt || 0, mr = (O = (k = V.code) === null || k === void 0 ? void 0 : k.regExp) !== null && O !== void 0 ? O : c, Rs = (p = V.uriResolver) !== null && p !== void 0 ? p : w.default;
3121
3124
  return {
3122
3125
  strictSchema: (T = (S = V.strictSchema) !== null && S !== void 0 ? S : Fe) !== null && T !== void 0 ? T : !0,
3123
3126
  strictNumbers: (C = (U = V.strictNumbers) !== null && U !== void 0 ? U : Fe) !== null && C !== void 0 ? C : !0,
@@ -3136,7 +3139,7 @@ function ia() {
3136
3139
  validateFormats: (ye = V.validateFormats) !== null && ye !== void 0 ? ye : !0,
3137
3140
  unicodeRegExp: (Lt = V.unicodeRegExp) !== null && Lt !== void 0 ? Lt : !0,
3138
3141
  int32range: (Ut = V.int32range) !== null && Ut !== void 0 ? Ut : !0,
3139
- uriResolver: Os
3142
+ uriResolver: Rs
3140
3143
  };
3141
3144
  }
3142
3145
  class b {
@@ -3499,10 +3502,10 @@ function ia() {
3499
3502
  }
3500
3503
  })(Ht)), Ht;
3501
3504
  }
3502
- var tt = {}, rt = {}, nt = {}, Gr;
3503
- function ua() {
3504
- if (Gr) return nt;
3505
- Gr = 1, Object.defineProperty(nt, "__esModule", { value: !0 });
3505
+ var tt = {}, rt = {}, nt = {}, Jr;
3506
+ function la() {
3507
+ if (Jr) return nt;
3508
+ Jr = 1, Object.defineProperty(nt, "__esModule", { value: !0 });
3506
3509
  const e = {
3507
3510
  keyword: "id",
3508
3511
  code() {
@@ -3511,10 +3514,10 @@ function ua() {
3511
3514
  };
3512
3515
  return nt.default = e, nt;
3513
3516
  }
3514
- var Ie = {}, Jr;
3515
- function ca() {
3516
- if (Jr) return Ie;
3517
- Jr = 1, Object.defineProperty(Ie, "__esModule", { value: !0 }), Ie.callRef = Ie.getValidate = void 0;
3517
+ var Ie = {}, Wr;
3518
+ function fa() {
3519
+ if (Wr) return Ie;
3520
+ Wr = 1, Object.defineProperty(Ie, "__esModule", { value: !0 }), Ie.callRef = Ie.getValidate = void 0;
3518
3521
  const e = /* @__PURE__ */ Ft(), t = /* @__PURE__ */ _e(), r = /* @__PURE__ */ Y(), s = /* @__PURE__ */ Ne(), l = /* @__PURE__ */ dr(), o = /* @__PURE__ */ x(), a = {
3519
3522
  keyword: "$ref",
3520
3523
  schemaType: "string",
@@ -3598,11 +3601,11 @@ function ca() {
3598
3601
  }
3599
3602
  return Ie.callRef = y, Ie.default = a, Ie;
3600
3603
  }
3601
- var Wr;
3602
- function da() {
3603
- if (Wr) return rt;
3604
- Wr = 1, Object.defineProperty(rt, "__esModule", { value: !0 });
3605
- const e = /* @__PURE__ */ ua(), t = /* @__PURE__ */ ca(), r = [
3604
+ var Yr;
3605
+ function pa() {
3606
+ if (Yr) return rt;
3607
+ Yr = 1, Object.defineProperty(rt, "__esModule", { value: !0 });
3608
+ const e = /* @__PURE__ */ la(), t = /* @__PURE__ */ fa(), r = [
3606
3609
  "$schema",
3607
3610
  "$id",
3608
3611
  "$defs",
@@ -3614,10 +3617,10 @@ function da() {
3614
3617
  ];
3615
3618
  return rt.default = r, rt;
3616
3619
  }
3617
- var st = {}, at = {}, Yr;
3618
- function la() {
3619
- if (Yr) return at;
3620
- Yr = 1, Object.defineProperty(at, "__esModule", { value: !0 });
3620
+ var st = {}, at = {}, Zr;
3621
+ function ha() {
3622
+ if (Zr) return at;
3623
+ Zr = 1, Object.defineProperty(at, "__esModule", { value: !0 });
3621
3624
  const e = /* @__PURE__ */ Y(), t = e.operators, r = {
3622
3625
  maximum: { okStr: "<=", ok: t.LTE, fail: t.GT },
3623
3626
  minimum: { okStr: ">=", ok: t.GTE, fail: t.LT },
@@ -3639,10 +3642,10 @@ function la() {
3639
3642
  };
3640
3643
  return at.default = l, at;
3641
3644
  }
3642
- var ot = {}, Zr;
3643
- function fa() {
3644
- if (Zr) return ot;
3645
- Zr = 1, Object.defineProperty(ot, "__esModule", { value: !0 });
3645
+ var ot = {}, Qr;
3646
+ function ma() {
3647
+ if (Qr) return ot;
3648
+ Qr = 1, Object.defineProperty(ot, "__esModule", { value: !0 });
3646
3649
  const e = /* @__PURE__ */ Y(), r = {
3647
3650
  keyword: "multipleOf",
3648
3651
  type: "number",
@@ -3659,10 +3662,10 @@ function fa() {
3659
3662
  };
3660
3663
  return ot.default = r, ot;
3661
3664
  }
3662
- var it = {}, ut = {}, Qr;
3663
- function pa() {
3664
- if (Qr) return ut;
3665
- Qr = 1, Object.defineProperty(ut, "__esModule", { value: !0 });
3665
+ var it = {}, ut = {}, Xr;
3666
+ function ya() {
3667
+ if (Xr) return ut;
3668
+ Xr = 1, Object.defineProperty(ut, "__esModule", { value: !0 });
3666
3669
  function e(t) {
3667
3670
  const r = t.length;
3668
3671
  let s = 0, l = 0, o;
@@ -3672,11 +3675,11 @@ function pa() {
3672
3675
  }
3673
3676
  return ut.default = e, e.code = 'require("ajv/dist/runtime/ucs2length").default', ut;
3674
3677
  }
3675
- var Xr;
3676
- function ha() {
3677
- if (Xr) return it;
3678
- Xr = 1, Object.defineProperty(it, "__esModule", { value: !0 });
3679
- const e = /* @__PURE__ */ Y(), t = /* @__PURE__ */ x(), r = /* @__PURE__ */ pa(), l = {
3678
+ var xr;
3679
+ function ga() {
3680
+ if (xr) return it;
3681
+ xr = 1, Object.defineProperty(it, "__esModule", { value: !0 });
3682
+ const e = /* @__PURE__ */ Y(), t = /* @__PURE__ */ x(), r = /* @__PURE__ */ ya(), l = {
3680
3683
  keyword: ["maxLength", "minLength"],
3681
3684
  type: "string",
3682
3685
  schemaType: "number",
@@ -3695,10 +3698,10 @@ function ha() {
3695
3698
  };
3696
3699
  return it.default = l, it;
3697
3700
  }
3698
- var ct = {}, xr;
3699
- function ma() {
3700
- if (xr) return ct;
3701
- xr = 1, Object.defineProperty(ct, "__esModule", { value: !0 });
3701
+ var ct = {}, en;
3702
+ function va() {
3703
+ if (en) return ct;
3704
+ en = 1, Object.defineProperty(ct, "__esModule", { value: !0 });
3702
3705
  const e = /* @__PURE__ */ _e(), t = /* @__PURE__ */ x(), r = /* @__PURE__ */ Y(), l = {
3703
3706
  keyword: "pattern",
3704
3707
  type: "string",
@@ -3721,10 +3724,10 @@ function ma() {
3721
3724
  };
3722
3725
  return ct.default = l, ct;
3723
3726
  }
3724
- var dt = {}, en;
3725
- function ya() {
3726
- if (en) return dt;
3727
- en = 1, Object.defineProperty(dt, "__esModule", { value: !0 });
3727
+ var dt = {}, tn;
3728
+ function _a() {
3729
+ if (tn) return dt;
3730
+ tn = 1, Object.defineProperty(dt, "__esModule", { value: !0 });
3728
3731
  const e = /* @__PURE__ */ Y(), r = {
3729
3732
  keyword: ["maxProperties", "minProperties"],
3730
3733
  type: "object",
@@ -3744,10 +3747,10 @@ function ya() {
3744
3747
  };
3745
3748
  return dt.default = r, dt;
3746
3749
  }
3747
- var lt = {}, tn;
3748
- function ga() {
3749
- if (tn) return lt;
3750
- tn = 1, Object.defineProperty(lt, "__esModule", { value: !0 });
3750
+ var lt = {}, rn;
3751
+ function $a() {
3752
+ if (rn) return lt;
3753
+ rn = 1, Object.defineProperty(lt, "__esModule", { value: !0 });
3751
3754
  const e = /* @__PURE__ */ _e(), t = /* @__PURE__ */ Y(), r = /* @__PURE__ */ x(), l = {
3752
3755
  keyword: "required",
3753
3756
  type: "object",
@@ -3801,10 +3804,10 @@ function ga() {
3801
3804
  };
3802
3805
  return lt.default = l, lt;
3803
3806
  }
3804
- var ft = {}, rn;
3805
- function va() {
3806
- if (rn) return ft;
3807
- rn = 1, Object.defineProperty(ft, "__esModule", { value: !0 });
3807
+ var ft = {}, nn;
3808
+ function ba() {
3809
+ if (nn) return ft;
3810
+ nn = 1, Object.defineProperty(ft, "__esModule", { value: !0 });
3808
3811
  const e = /* @__PURE__ */ Y(), r = {
3809
3812
  keyword: ["maxItems", "minItems"],
3810
3813
  type: "array",
@@ -3824,17 +3827,17 @@ function va() {
3824
3827
  };
3825
3828
  return ft.default = r, ft;
3826
3829
  }
3827
- var pt = {}, ht = {}, nn;
3830
+ var pt = {}, ht = {}, sn;
3828
3831
  function lr() {
3829
- if (nn) return ht;
3830
- nn = 1, Object.defineProperty(ht, "__esModule", { value: !0 });
3831
- const e = ls();
3832
+ if (sn) return ht;
3833
+ sn = 1, Object.defineProperty(ht, "__esModule", { value: !0 });
3834
+ const e = fs();
3832
3835
  return e.code = 'require("ajv/dist/runtime/equal").default', ht.default = e, ht;
3833
3836
  }
3834
- var sn;
3835
- function _a() {
3836
- if (sn) return pt;
3837
- sn = 1, Object.defineProperty(pt, "__esModule", { value: !0 });
3837
+ var an;
3838
+ function wa() {
3839
+ if (an) return pt;
3840
+ an = 1, Object.defineProperty(pt, "__esModule", { value: !0 });
3838
3841
  const e = /* @__PURE__ */ Vt(), t = /* @__PURE__ */ Y(), r = /* @__PURE__ */ x(), s = /* @__PURE__ */ lr(), o = {
3839
3842
  keyword: "uniqueItems",
3840
3843
  type: "array",
@@ -3875,10 +3878,10 @@ function _a() {
3875
3878
  };
3876
3879
  return pt.default = o, pt;
3877
3880
  }
3878
- var mt = {}, an;
3879
- function $a() {
3880
- if (an) return mt;
3881
- an = 1, Object.defineProperty(mt, "__esModule", { value: !0 });
3881
+ var mt = {}, on;
3882
+ function Ea() {
3883
+ if (on) return mt;
3884
+ on = 1, Object.defineProperty(mt, "__esModule", { value: !0 });
3882
3885
  const e = /* @__PURE__ */ Y(), t = /* @__PURE__ */ x(), r = /* @__PURE__ */ lr(), l = {
3883
3886
  keyword: "const",
3884
3887
  $data: !0,
@@ -3893,10 +3896,10 @@ function $a() {
3893
3896
  };
3894
3897
  return mt.default = l, mt;
3895
3898
  }
3896
- var yt = {}, on;
3897
- function ba() {
3898
- if (on) return yt;
3899
- on = 1, Object.defineProperty(yt, "__esModule", { value: !0 });
3899
+ var yt = {}, un;
3900
+ function Sa() {
3901
+ if (un) return yt;
3902
+ un = 1, Object.defineProperty(yt, "__esModule", { value: !0 });
3900
3903
  const e = /* @__PURE__ */ Y(), t = /* @__PURE__ */ x(), r = /* @__PURE__ */ lr(), l = {
3901
3904
  keyword: "enum",
3902
3905
  schemaType: "array",
@@ -3933,11 +3936,11 @@ function ba() {
3933
3936
  };
3934
3937
  return yt.default = l, yt;
3935
3938
  }
3936
- var un;
3937
- function wa() {
3938
- if (un) return st;
3939
- un = 1, Object.defineProperty(st, "__esModule", { value: !0 });
3940
- const e = /* @__PURE__ */ la(), t = /* @__PURE__ */ fa(), r = /* @__PURE__ */ ha(), s = /* @__PURE__ */ ma(), l = /* @__PURE__ */ ya(), o = /* @__PURE__ */ ga(), a = /* @__PURE__ */ va(), i = /* @__PURE__ */ _a(), y = /* @__PURE__ */ $a(), g = /* @__PURE__ */ ba(), m = [
3939
+ var cn;
3940
+ function Pa() {
3941
+ if (cn) return st;
3942
+ cn = 1, Object.defineProperty(st, "__esModule", { value: !0 });
3943
+ const e = /* @__PURE__ */ ha(), t = /* @__PURE__ */ ma(), r = /* @__PURE__ */ ga(), s = /* @__PURE__ */ va(), l = /* @__PURE__ */ _a(), o = /* @__PURE__ */ $a(), a = /* @__PURE__ */ ba(), i = /* @__PURE__ */ wa(), y = /* @__PURE__ */ Ea(), g = /* @__PURE__ */ Sa(), m = [
3941
3944
  // number
3942
3945
  e.default,
3943
3946
  t.default,
@@ -3958,10 +3961,10 @@ function wa() {
3958
3961
  ];
3959
3962
  return st.default = m, st;
3960
3963
  }
3961
- var gt = {}, Me = {}, cn;
3962
- function ps() {
3963
- if (cn) return Me;
3964
- cn = 1, Object.defineProperty(Me, "__esModule", { value: !0 }), Me.validateAdditionalItems = void 0;
3964
+ var gt = {}, Me = {}, dn;
3965
+ function hs() {
3966
+ if (dn) return Me;
3967
+ dn = 1, Object.defineProperty(Me, "__esModule", { value: !0 }), Me.validateAdditionalItems = void 0;
3965
3968
  const e = /* @__PURE__ */ Y(), t = /* @__PURE__ */ x(), s = {
3966
3969
  keyword: "additionalItems",
3967
3970
  type: "array",
@@ -3998,10 +4001,10 @@ function ps() {
3998
4001
  }
3999
4002
  return Me.validateAdditionalItems = l, Me.default = s, Me;
4000
4003
  }
4001
- var vt = {}, Ve = {}, dn;
4002
- function hs() {
4003
- if (dn) return Ve;
4004
- dn = 1, Object.defineProperty(Ve, "__esModule", { value: !0 }), Ve.validateTuple = void 0;
4004
+ var vt = {}, Ve = {}, ln;
4005
+ function ms() {
4006
+ if (ln) return Ve;
4007
+ ln = 1, Object.defineProperty(Ve, "__esModule", { value: !0 }), Ve.validateTuple = void 0;
4005
4008
  const e = /* @__PURE__ */ Y(), t = /* @__PURE__ */ x(), r = /* @__PURE__ */ _e(), s = {
4006
4009
  keyword: "items",
4007
4010
  type: "array",
@@ -4035,11 +4038,11 @@ function hs() {
4035
4038
  }
4036
4039
  return Ve.validateTuple = l, Ve.default = s, Ve;
4037
4040
  }
4038
- var ln;
4039
- function Ea() {
4040
- if (ln) return vt;
4041
- ln = 1, Object.defineProperty(vt, "__esModule", { value: !0 });
4042
- const e = /* @__PURE__ */ hs(), t = {
4041
+ var fn;
4042
+ function Na() {
4043
+ if (fn) return vt;
4044
+ fn = 1, Object.defineProperty(vt, "__esModule", { value: !0 });
4045
+ const e = /* @__PURE__ */ ms(), t = {
4043
4046
  keyword: "prefixItems",
4044
4047
  type: "array",
4045
4048
  schemaType: ["array"],
@@ -4048,11 +4051,11 @@ function Ea() {
4048
4051
  };
4049
4052
  return vt.default = t, vt;
4050
4053
  }
4051
- var _t = {}, fn;
4052
- function Sa() {
4053
- if (fn) return _t;
4054
- fn = 1, Object.defineProperty(_t, "__esModule", { value: !0 });
4055
- const e = /* @__PURE__ */ Y(), t = /* @__PURE__ */ x(), r = /* @__PURE__ */ _e(), s = /* @__PURE__ */ ps(), o = {
4054
+ var _t = {}, pn;
4055
+ function Oa() {
4056
+ if (pn) return _t;
4057
+ pn = 1, Object.defineProperty(_t, "__esModule", { value: !0 });
4058
+ const e = /* @__PURE__ */ Y(), t = /* @__PURE__ */ x(), r = /* @__PURE__ */ _e(), s = /* @__PURE__ */ hs(), o = {
4056
4059
  keyword: "items",
4057
4060
  type: "array",
4058
4061
  schemaType: ["object", "boolean"],
@@ -4068,10 +4071,10 @@ function Sa() {
4068
4071
  };
4069
4072
  return _t.default = o, _t;
4070
4073
  }
4071
- var $t = {}, pn;
4072
- function Pa() {
4073
- if (pn) return $t;
4074
- pn = 1, Object.defineProperty($t, "__esModule", { value: !0 });
4074
+ var $t = {}, hn;
4075
+ function Ra() {
4076
+ if (hn) return $t;
4077
+ hn = 1, Object.defineProperty($t, "__esModule", { value: !0 });
4075
4078
  const e = /* @__PURE__ */ Y(), t = /* @__PURE__ */ x(), s = {
4076
4079
  keyword: "contains",
4077
4080
  type: "array",
@@ -4125,9 +4128,9 @@ function Pa() {
4125
4128
  };
4126
4129
  return $t.default = s, $t;
4127
4130
  }
4128
- var xt = {}, hn;
4129
- function Na() {
4130
- return hn || (hn = 1, (function(e) {
4131
+ var xt = {}, mn;
4132
+ function Ia() {
4133
+ return mn || (mn = 1, (function(e) {
4131
4134
  Object.defineProperty(e, "__esModule", { value: !0 }), e.validateSchemaDeps = e.validatePropertyDeps = e.error = void 0;
4132
4135
  const t = /* @__PURE__ */ Y(), r = /* @__PURE__ */ x(), s = /* @__PURE__ */ _e();
4133
4136
  e.error = {
@@ -4198,10 +4201,10 @@ function Na() {
4198
4201
  e.validateSchemaDeps = i, e.default = l;
4199
4202
  })(xt)), xt;
4200
4203
  }
4201
- var bt = {}, mn;
4202
- function Oa() {
4203
- if (mn) return bt;
4204
- mn = 1, Object.defineProperty(bt, "__esModule", { value: !0 });
4204
+ var bt = {}, yn;
4205
+ function ja() {
4206
+ if (yn) return bt;
4207
+ yn = 1, Object.defineProperty(bt, "__esModule", { value: !0 });
4205
4208
  const e = /* @__PURE__ */ Y(), t = /* @__PURE__ */ x(), s = {
4206
4209
  keyword: "propertyNames",
4207
4210
  type: "object",
@@ -4230,10 +4233,10 @@ function Oa() {
4230
4233
  };
4231
4234
  return bt.default = s, bt;
4232
4235
  }
4233
- var wt = {}, yn;
4234
- function ms() {
4235
- if (yn) return wt;
4236
- yn = 1, Object.defineProperty(wt, "__esModule", { value: !0 });
4236
+ var wt = {}, gn;
4237
+ function ys() {
4238
+ if (gn) return wt;
4239
+ gn = 1, Object.defineProperty(wt, "__esModule", { value: !0 });
4237
4240
  const e = /* @__PURE__ */ _e(), t = /* @__PURE__ */ Y(), r = /* @__PURE__ */ Ne(), s = /* @__PURE__ */ x(), o = {
4238
4241
  keyword: "additionalProperties",
4239
4242
  type: ["object"],
@@ -4301,11 +4304,11 @@ function ms() {
4301
4304
  };
4302
4305
  return wt.default = o, wt;
4303
4306
  }
4304
- var Et = {}, gn;
4305
- function Ra() {
4306
- if (gn) return Et;
4307
- gn = 1, Object.defineProperty(Et, "__esModule", { value: !0 });
4308
- const e = /* @__PURE__ */ Ye(), t = /* @__PURE__ */ _e(), r = /* @__PURE__ */ x(), s = /* @__PURE__ */ ms(), l = {
4307
+ var Et = {}, vn;
4308
+ function ka() {
4309
+ if (vn) return Et;
4310
+ vn = 1, Object.defineProperty(Et, "__esModule", { value: !0 });
4311
+ const e = /* @__PURE__ */ Ye(), t = /* @__PURE__ */ _e(), r = /* @__PURE__ */ x(), s = /* @__PURE__ */ ys(), l = {
4309
4312
  keyword: "properties",
4310
4313
  type: "object",
4311
4314
  schemaType: "object",
@@ -4336,10 +4339,10 @@ function Ra() {
4336
4339
  };
4337
4340
  return Et.default = l, Et;
4338
4341
  }
4339
- var St = {}, vn;
4340
- function Ia() {
4341
- if (vn) return St;
4342
- vn = 1, Object.defineProperty(St, "__esModule", { value: !0 });
4342
+ var St = {}, _n;
4343
+ function qa() {
4344
+ if (_n) return St;
4345
+ _n = 1, Object.defineProperty(St, "__esModule", { value: !0 });
4343
4346
  const e = /* @__PURE__ */ _e(), t = /* @__PURE__ */ Y(), r = /* @__PURE__ */ x(), s = /* @__PURE__ */ x(), l = {
4344
4347
  keyword: "patternProperties",
4345
4348
  type: "object",
@@ -4377,10 +4380,10 @@ function Ia() {
4377
4380
  };
4378
4381
  return St.default = l, St;
4379
4382
  }
4380
- var Pt = {}, _n;
4381
- function ja() {
4382
- if (_n) return Pt;
4383
- _n = 1, Object.defineProperty(Pt, "__esModule", { value: !0 });
4383
+ var Pt = {}, $n;
4384
+ function Ta() {
4385
+ if ($n) return Pt;
4386
+ $n = 1, Object.defineProperty(Pt, "__esModule", { value: !0 });
4384
4387
  const e = /* @__PURE__ */ x(), t = {
4385
4388
  keyword: "not",
4386
4389
  schemaType: ["object", "boolean"],
@@ -4403,10 +4406,10 @@ function ja() {
4403
4406
  };
4404
4407
  return Pt.default = t, Pt;
4405
4408
  }
4406
- var Nt = {}, $n;
4407
- function ka() {
4408
- if ($n) return Nt;
4409
- $n = 1, Object.defineProperty(Nt, "__esModule", { value: !0 });
4409
+ var Nt = {}, bn;
4410
+ function Aa() {
4411
+ if (bn) return Nt;
4412
+ bn = 1, Object.defineProperty(Nt, "__esModule", { value: !0 });
4410
4413
  const t = {
4411
4414
  keyword: "anyOf",
4412
4415
  schemaType: "array",
@@ -4416,10 +4419,10 @@ function ka() {
4416
4419
  };
4417
4420
  return Nt.default = t, Nt;
4418
4421
  }
4419
- var Ot = {}, bn;
4420
- function qa() {
4421
- if (bn) return Ot;
4422
- bn = 1, Object.defineProperty(Ot, "__esModule", { value: !0 });
4422
+ var Ot = {}, wn;
4423
+ function Da() {
4424
+ if (wn) return Ot;
4425
+ wn = 1, Object.defineProperty(Ot, "__esModule", { value: !0 });
4423
4426
  const e = /* @__PURE__ */ Y(), t = /* @__PURE__ */ x(), s = {
4424
4427
  keyword: "oneOf",
4425
4428
  schemaType: "array",
@@ -4452,10 +4455,10 @@ function qa() {
4452
4455
  };
4453
4456
  return Ot.default = s, Ot;
4454
4457
  }
4455
- var Rt = {}, wn;
4456
- function Ta() {
4457
- if (wn) return Rt;
4458
- wn = 1, Object.defineProperty(Rt, "__esModule", { value: !0 });
4458
+ var Rt = {}, En;
4459
+ function Ma() {
4460
+ if (En) return Rt;
4461
+ En = 1, Object.defineProperty(Rt, "__esModule", { value: !0 });
4459
4462
  const e = /* @__PURE__ */ x(), t = {
4460
4463
  keyword: "allOf",
4461
4464
  schemaType: "array",
@@ -4474,10 +4477,10 @@ function Ta() {
4474
4477
  };
4475
4478
  return Rt.default = t, Rt;
4476
4479
  }
4477
- var It = {}, En;
4478
- function Aa() {
4479
- if (En) return It;
4480
- En = 1, Object.defineProperty(It, "__esModule", { value: !0 });
4480
+ var It = {}, Sn;
4481
+ function Va() {
4482
+ if (Sn) return It;
4483
+ Sn = 1, Object.defineProperty(It, "__esModule", { value: !0 });
4481
4484
  const e = /* @__PURE__ */ Y(), t = /* @__PURE__ */ x(), s = {
4482
4485
  keyword: "if",
4483
4486
  schemaType: ["object", "boolean"],
@@ -4521,10 +4524,10 @@ function Aa() {
4521
4524
  }
4522
4525
  return It.default = s, It;
4523
4526
  }
4524
- var jt = {}, Sn;
4525
- function Da() {
4526
- if (Sn) return jt;
4527
- Sn = 1, Object.defineProperty(jt, "__esModule", { value: !0 });
4527
+ var jt = {}, Pn;
4528
+ function Ca() {
4529
+ if (Pn) return jt;
4530
+ Pn = 1, Object.defineProperty(jt, "__esModule", { value: !0 });
4528
4531
  const e = /* @__PURE__ */ x(), t = {
4529
4532
  keyword: ["then", "else"],
4530
4533
  schemaType: ["object", "boolean"],
@@ -4534,11 +4537,11 @@ function Da() {
4534
4537
  };
4535
4538
  return jt.default = t, jt;
4536
4539
  }
4537
- var Pn;
4538
- function Ma() {
4539
- if (Pn) return gt;
4540
- Pn = 1, Object.defineProperty(gt, "__esModule", { value: !0 });
4541
- const e = /* @__PURE__ */ ps(), t = /* @__PURE__ */ Ea(), r = /* @__PURE__ */ hs(), s = /* @__PURE__ */ Sa(), l = /* @__PURE__ */ Pa(), o = /* @__PURE__ */ Na(), a = /* @__PURE__ */ Oa(), i = /* @__PURE__ */ ms(), y = /* @__PURE__ */ Ra(), g = /* @__PURE__ */ Ia(), m = /* @__PURE__ */ ja(), P = /* @__PURE__ */ ka(), w = /* @__PURE__ */ qa(), c = /* @__PURE__ */ Ta(), v = /* @__PURE__ */ Aa(), E = /* @__PURE__ */ Da();
4540
+ var Nn;
4541
+ function za() {
4542
+ if (Nn) return gt;
4543
+ Nn = 1, Object.defineProperty(gt, "__esModule", { value: !0 });
4544
+ const e = /* @__PURE__ */ hs(), t = /* @__PURE__ */ Na(), r = /* @__PURE__ */ ms(), s = /* @__PURE__ */ Oa(), l = /* @__PURE__ */ Ra(), o = /* @__PURE__ */ Ia(), a = /* @__PURE__ */ ja(), i = /* @__PURE__ */ ys(), y = /* @__PURE__ */ ka(), g = /* @__PURE__ */ qa(), m = /* @__PURE__ */ Ta(), P = /* @__PURE__ */ Aa(), w = /* @__PURE__ */ Da(), c = /* @__PURE__ */ Ma(), v = /* @__PURE__ */ Va(), E = /* @__PURE__ */ Ca();
4542
4545
  function h(u = !1) {
4543
4546
  const n = [
4544
4547
  // any
@@ -4559,10 +4562,10 @@ function Ma() {
4559
4562
  }
4560
4563
  return gt.default = h, gt;
4561
4564
  }
4562
- var kt = {}, qt = {}, Nn;
4563
- function Va() {
4564
- if (Nn) return qt;
4565
- Nn = 1, Object.defineProperty(qt, "__esModule", { value: !0 });
4565
+ var kt = {}, qt = {}, On;
4566
+ function Fa() {
4567
+ if (On) return qt;
4568
+ On = 1, Object.defineProperty(qt, "__esModule", { value: !0 });
4566
4569
  const e = /* @__PURE__ */ Y(), r = {
4567
4570
  keyword: "format",
4568
4571
  type: ["number", "string"],
@@ -4628,16 +4631,16 @@ function Va() {
4628
4631
  };
4629
4632
  return qt.default = r, qt;
4630
4633
  }
4631
- var On;
4632
- function Ca() {
4633
- if (On) return kt;
4634
- On = 1, Object.defineProperty(kt, "__esModule", { value: !0 });
4635
- const t = [(/* @__PURE__ */ Va()).default];
4634
+ var Rn;
4635
+ function La() {
4636
+ if (Rn) return kt;
4637
+ Rn = 1, Object.defineProperty(kt, "__esModule", { value: !0 });
4638
+ const t = [(/* @__PURE__ */ Fa()).default];
4636
4639
  return kt.default = t, kt;
4637
4640
  }
4638
- var Te = {}, Rn;
4639
- function za() {
4640
- return Rn || (Rn = 1, Object.defineProperty(Te, "__esModule", { value: !0 }), Te.contentVocabulary = Te.metadataVocabulary = void 0, Te.metadataVocabulary = [
4641
+ var Te = {}, In;
4642
+ function Ua() {
4643
+ return In || (In = 1, Object.defineProperty(Te, "__esModule", { value: !0 }), Te.contentVocabulary = Te.metadataVocabulary = void 0, Te.metadataVocabulary = [
4641
4644
  "title",
4642
4645
  "description",
4643
4646
  "default",
@@ -4651,11 +4654,11 @@ function za() {
4651
4654
  "contentSchema"
4652
4655
  ]), Te;
4653
4656
  }
4654
- var In;
4655
- function Fa() {
4656
- if (In) return tt;
4657
- In = 1, Object.defineProperty(tt, "__esModule", { value: !0 });
4658
- const e = /* @__PURE__ */ da(), t = /* @__PURE__ */ wa(), r = /* @__PURE__ */ Ma(), s = /* @__PURE__ */ Ca(), l = /* @__PURE__ */ za(), o = [
4657
+ var jn;
4658
+ function Ka() {
4659
+ if (jn) return tt;
4660
+ jn = 1, Object.defineProperty(tt, "__esModule", { value: !0 });
4661
+ const e = /* @__PURE__ */ pa(), t = /* @__PURE__ */ Pa(), r = /* @__PURE__ */ za(), s = /* @__PURE__ */ La(), l = /* @__PURE__ */ Ua(), o = [
4659
4662
  e.default,
4660
4663
  t.default,
4661
4664
  (0, r.default)(),
@@ -4665,20 +4668,20 @@ function Fa() {
4665
4668
  ];
4666
4669
  return tt.default = o, tt;
4667
4670
  }
4668
- var Tt = {}, He = {}, jn;
4669
- function La() {
4670
- if (jn) return He;
4671
- jn = 1, Object.defineProperty(He, "__esModule", { value: !0 }), He.DiscrError = void 0;
4671
+ var Tt = {}, He = {}, kn;
4672
+ function Ha() {
4673
+ if (kn) return He;
4674
+ kn = 1, Object.defineProperty(He, "__esModule", { value: !0 }), He.DiscrError = void 0;
4672
4675
  var e;
4673
4676
  return (function(t) {
4674
4677
  t.Tag = "tag", t.Mapping = "mapping";
4675
4678
  })(e || (He.DiscrError = e = {})), He;
4676
4679
  }
4677
- var kn;
4678
- function Ua() {
4679
- if (kn) return Tt;
4680
- kn = 1, Object.defineProperty(Tt, "__esModule", { value: !0 });
4681
- const e = /* @__PURE__ */ Y(), t = /* @__PURE__ */ La(), r = /* @__PURE__ */ dr(), s = /* @__PURE__ */ Ft(), l = /* @__PURE__ */ x(), a = {
4680
+ var qn;
4681
+ function Ba() {
4682
+ if (qn) return Tt;
4683
+ qn = 1, Object.defineProperty(Tt, "__esModule", { value: !0 });
4684
+ const e = /* @__PURE__ */ Y(), t = /* @__PURE__ */ Ha(), r = /* @__PURE__ */ dr(), s = /* @__PURE__ */ Ft(), l = /* @__PURE__ */ x(), a = {
4682
4685
  keyword: "discriminator",
4683
4686
  type: "object",
4684
4687
  schemaType: "object",
@@ -4751,20 +4754,20 @@ function Ua() {
4751
4754
  };
4752
4755
  return Tt.default = a, Tt;
4753
4756
  }
4754
- const Ka = "http://json-schema.org/draft-07/schema#", Ha = "http://json-schema.org/draft-07/schema#", Ba = "Core schema meta-schema", Ga = { schemaArray: { type: "array", minItems: 1, items: { $ref: "#" } }, nonNegativeInteger: { type: "integer", minimum: 0 }, nonNegativeIntegerDefault0: { allOf: [{ $ref: "#/definitions/nonNegativeInteger" }, { default: 0 }] }, simpleTypes: { enum: ["array", "boolean", "integer", "null", "number", "object", "string"] }, stringArray: { type: "array", items: { type: "string" }, uniqueItems: !0, default: [] } }, Ja = ["object", "boolean"], Wa = { $id: { type: "string", format: "uri-reference" }, $schema: { type: "string", format: "uri" }, $ref: { type: "string", format: "uri-reference" }, $comment: { type: "string" }, title: { type: "string" }, description: { type: "string" }, default: !0, readOnly: { type: "boolean", default: !1 }, examples: { type: "array", items: !0 }, multipleOf: { type: "number", exclusiveMinimum: 0 }, maximum: { type: "number" }, exclusiveMaximum: { type: "number" }, minimum: { type: "number" }, exclusiveMinimum: { type: "number" }, maxLength: { $ref: "#/definitions/nonNegativeInteger" }, minLength: { $ref: "#/definitions/nonNegativeIntegerDefault0" }, pattern: { type: "string", format: "regex" }, additionalItems: { $ref: "#" }, items: { anyOf: [{ $ref: "#" }, { $ref: "#/definitions/schemaArray" }], default: !0 }, maxItems: { $ref: "#/definitions/nonNegativeInteger" }, minItems: { $ref: "#/definitions/nonNegativeIntegerDefault0" }, uniqueItems: { type: "boolean", default: !1 }, contains: { $ref: "#" }, maxProperties: { $ref: "#/definitions/nonNegativeInteger" }, minProperties: { $ref: "#/definitions/nonNegativeIntegerDefault0" }, required: { $ref: "#/definitions/stringArray" }, additionalProperties: { $ref: "#" }, definitions: { type: "object", additionalProperties: { $ref: "#" }, default: {} }, properties: { type: "object", additionalProperties: { $ref: "#" }, default: {} }, patternProperties: { type: "object", additionalProperties: { $ref: "#" }, propertyNames: { format: "regex" }, default: {} }, dependencies: { type: "object", additionalProperties: { anyOf: [{ $ref: "#" }, { $ref: "#/definitions/stringArray" }] } }, propertyNames: { $ref: "#" }, const: !0, enum: { type: "array", items: !0, minItems: 1, uniqueItems: !0 }, type: { anyOf: [{ $ref: "#/definitions/simpleTypes" }, { type: "array", items: { $ref: "#/definitions/simpleTypes" }, minItems: 1, uniqueItems: !0 }] }, format: { type: "string" }, contentMediaType: { type: "string" }, contentEncoding: { type: "string" }, if: { $ref: "#" }, then: { $ref: "#" }, else: { $ref: "#" }, allOf: { $ref: "#/definitions/schemaArray" }, anyOf: { $ref: "#/definitions/schemaArray" }, oneOf: { $ref: "#/definitions/schemaArray" }, not: { $ref: "#" } }, Ya = {
4755
- $schema: Ka,
4756
- $id: Ha,
4757
- title: Ba,
4758
- definitions: Ga,
4759
- type: Ja,
4760
- properties: Wa,
4757
+ const Ga = "http://json-schema.org/draft-07/schema#", Ja = "http://json-schema.org/draft-07/schema#", Wa = "Core schema meta-schema", Ya = { schemaArray: { type: "array", minItems: 1, items: { $ref: "#" } }, nonNegativeInteger: { type: "integer", minimum: 0 }, nonNegativeIntegerDefault0: { allOf: [{ $ref: "#/definitions/nonNegativeInteger" }, { default: 0 }] }, simpleTypes: { enum: ["array", "boolean", "integer", "null", "number", "object", "string"] }, stringArray: { type: "array", items: { type: "string" }, uniqueItems: !0, default: [] } }, Za = ["object", "boolean"], Qa = { $id: { type: "string", format: "uri-reference" }, $schema: { type: "string", format: "uri" }, $ref: { type: "string", format: "uri-reference" }, $comment: { type: "string" }, title: { type: "string" }, description: { type: "string" }, default: !0, readOnly: { type: "boolean", default: !1 }, examples: { type: "array", items: !0 }, multipleOf: { type: "number", exclusiveMinimum: 0 }, maximum: { type: "number" }, exclusiveMaximum: { type: "number" }, minimum: { type: "number" }, exclusiveMinimum: { type: "number" }, maxLength: { $ref: "#/definitions/nonNegativeInteger" }, minLength: { $ref: "#/definitions/nonNegativeIntegerDefault0" }, pattern: { type: "string", format: "regex" }, additionalItems: { $ref: "#" }, items: { anyOf: [{ $ref: "#" }, { $ref: "#/definitions/schemaArray" }], default: !0 }, maxItems: { $ref: "#/definitions/nonNegativeInteger" }, minItems: { $ref: "#/definitions/nonNegativeIntegerDefault0" }, uniqueItems: { type: "boolean", default: !1 }, contains: { $ref: "#" }, maxProperties: { $ref: "#/definitions/nonNegativeInteger" }, minProperties: { $ref: "#/definitions/nonNegativeIntegerDefault0" }, required: { $ref: "#/definitions/stringArray" }, additionalProperties: { $ref: "#" }, definitions: { type: "object", additionalProperties: { $ref: "#" }, default: {} }, properties: { type: "object", additionalProperties: { $ref: "#" }, default: {} }, patternProperties: { type: "object", additionalProperties: { $ref: "#" }, propertyNames: { format: "regex" }, default: {} }, dependencies: { type: "object", additionalProperties: { anyOf: [{ $ref: "#" }, { $ref: "#/definitions/stringArray" }] } }, propertyNames: { $ref: "#" }, const: !0, enum: { type: "array", items: !0, minItems: 1, uniqueItems: !0 }, type: { anyOf: [{ $ref: "#/definitions/simpleTypes" }, { type: "array", items: { $ref: "#/definitions/simpleTypes" }, minItems: 1, uniqueItems: !0 }] }, format: { type: "string" }, contentMediaType: { type: "string" }, contentEncoding: { type: "string" }, if: { $ref: "#" }, then: { $ref: "#" }, else: { $ref: "#" }, allOf: { $ref: "#/definitions/schemaArray" }, anyOf: { $ref: "#/definitions/schemaArray" }, oneOf: { $ref: "#/definitions/schemaArray" }, not: { $ref: "#" } }, Xa = {
4758
+ $schema: Ga,
4759
+ $id: Ja,
4760
+ title: Wa,
4761
+ definitions: Ya,
4762
+ type: Za,
4763
+ properties: Qa,
4761
4764
  default: !0
4762
4765
  };
4763
- var qn;
4766
+ var Tn;
4764
4767
  function fr() {
4765
- return qn || (qn = 1, (function(e, t) {
4768
+ return Tn || (Tn = 1, (function(e, t) {
4766
4769
  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;
4767
- const r = /* @__PURE__ */ ia(), s = /* @__PURE__ */ Fa(), l = /* @__PURE__ */ Ua(), o = Ya, a = ["/properties"], i = "http://json-schema.org/draft-07/schema";
4770
+ const r = /* @__PURE__ */ da(), s = /* @__PURE__ */ Ka(), l = /* @__PURE__ */ Ba(), o = Xa, a = ["/properties"], i = "http://json-schema.org/draft-07/schema";
4768
4771
  class y extends r.default {
4769
4772
  _addVocabularies() {
4770
4773
  super._addVocabularies(), s.default.forEach((v) => this.addVocabulary(v)), this.opts.discriminator && this.addKeyword(l.default);
@@ -4808,11 +4811,11 @@ function fr() {
4808
4811
  } });
4809
4812
  })(Ze, Ze.exports)), Ze.exports;
4810
4813
  }
4811
- var Za = /* @__PURE__ */ fr();
4812
- const Qa = /* @__PURE__ */ Ct(Za);
4813
- var At = { exports: {} }, er = {}, Tn;
4814
- function Xa() {
4815
- return Tn || (Tn = 1, (function(e) {
4814
+ var xa = /* @__PURE__ */ fr();
4815
+ const eo = /* @__PURE__ */ Ct(xa);
4816
+ var At = { exports: {} }, er = {}, An;
4817
+ function to() {
4818
+ return An || (An = 1, (function(e) {
4816
4819
  Object.defineProperty(e, "__esModule", { value: !0 }), e.formatNames = e.fastFormats = e.fullFormats = void 0;
4817
4820
  function t(A, F) {
4818
4821
  return { validate: A, compare: F };
@@ -4974,9 +4977,9 @@ function Xa() {
4974
4977
  }
4975
4978
  })(er)), er;
4976
4979
  }
4977
- var tr = {}, An;
4978
- function xa() {
4979
- return An || (An = 1, (function(e) {
4980
+ var tr = {}, Dn;
4981
+ function ro() {
4982
+ return Dn || (Dn = 1, (function(e) {
4980
4983
  Object.defineProperty(e, "__esModule", { value: !0 }), e.formatLimitDefinition = void 0;
4981
4984
  const t = /* @__PURE__ */ fr(), r = /* @__PURE__ */ Y(), s = r.operators, l = {
4982
4985
  formatMaximum: { okStr: "<=", ok: s.LTE, fail: s.GT },
@@ -5029,11 +5032,11 @@ function xa() {
5029
5032
  e.default = a;
5030
5033
  })(tr)), tr;
5031
5034
  }
5032
- var Dn;
5033
- function eo() {
5034
- return Dn || (Dn = 1, (function(e, t) {
5035
+ var Mn;
5036
+ function no() {
5037
+ return Mn || (Mn = 1, (function(e, t) {
5035
5038
  Object.defineProperty(t, "__esModule", { value: !0 });
5036
- const r = Xa(), s = xa(), l = /* @__PURE__ */ Y(), o = new l.Name("fullFormats"), a = new l.Name("fastFormats"), i = (g, m = { keywords: !0 }) => {
5039
+ const r = to(), s = ro(), l = /* @__PURE__ */ Y(), o = new l.Name("fullFormats"), a = new l.Name("fastFormats"), i = (g, m = { keywords: !0 }) => {
5037
5040
  if (Array.isArray(m))
5038
5041
  return y(g, m, r.fullFormats, o), g;
5039
5042
  const [P, w] = m.mode === "fast" ? [r.fastFormats, a] : [r.fullFormats, o], c = m.formats || r.formatNames;
@@ -5054,11 +5057,11 @@ function eo() {
5054
5057
  e.exports = t = i, Object.defineProperty(t, "__esModule", { value: !0 }), t.default = i;
5055
5058
  })(At, At.exports)), At.exports;
5056
5059
  }
5057
- var to = eo();
5058
- const ro = /* @__PURE__ */ Ct(to);
5059
- var Dt = { exports: {} }, Mn;
5060
- function no() {
5061
- return Mn || (Mn = 1, (function(e, t) {
5060
+ var so = no();
5061
+ const ao = /* @__PURE__ */ Ct(so);
5062
+ var Dt = { exports: {} }, Vn;
5063
+ function oo() {
5064
+ return Vn || (Vn = 1, (function(e, t) {
5062
5065
  Object.defineProperty(t, "__esModule", { value: !0 });
5063
5066
  const r = /* @__PURE__ */ fr(), s = /* @__PURE__ */ Y(), l = /* @__PURE__ */ Je(), o = /* @__PURE__ */ Ye(), a = /* @__PURE__ */ We(), i = /* @__PURE__ */ Ne(), y = "errorMessage", g = new r.Name("emUsed"), m = {
5064
5067
  required: "missingProperty",
@@ -5264,12 +5267,13 @@ function no() {
5264
5267
  t.default = E, e.exports = E, e.exports.default = E;
5265
5268
  })(Dt, Dt.exports)), Dt.exports;
5266
5269
  }
5267
- var so = no();
5268
- const ao = /* @__PURE__ */ Ct(so);
5269
- class oo {
5270
+ var io = oo();
5271
+ const uo = /* @__PURE__ */ Ct(io);
5272
+ class co {
5270
5273
  constructor(t) {
5274
+ yr(this, "ajv");
5271
5275
  const { customKeywords: r, customFormats: s, ...l } = t || {};
5272
- this.ajv = new Qa({
5276
+ this.ajv = new eo({
5273
5277
  allErrors: !0,
5274
5278
  code: {
5275
5279
  source: !1
@@ -5285,7 +5289,7 @@ class oo {
5285
5289
  validateSchema: !1,
5286
5290
  verbose: !0,
5287
5291
  ...l
5288
- }), ro(this.ajv), ao(this.ajv), this.addCustomKeywords(r || []), this.addCustomFormats(s || {});
5292
+ }), ao(this.ajv), uo(this.ajv), this.addCustomKeywords(r || []), this.addCustomFormats(s || {});
5289
5293
  }
5290
5294
  /**
5291
5295
  * Add custom keywords to the validator
@@ -5375,7 +5379,7 @@ class pr extends Error {
5375
5379
  super(t), this.errors = r, this.name = "ValidationError", Object.setPrototypeOf(this, pr.prototype);
5376
5380
  }
5377
5381
  }
5378
- const io = new oo({
5382
+ const lo = new co({
5379
5383
  customKeywords: [
5380
5384
  {
5381
5385
  keyword: "x-nrg-skip-validation",
@@ -5398,18 +5402,18 @@ const io = new oo({
5398
5402
  "topic-path": (e) => /^[a-zA-Z0-9/_-]+$/.test(e)
5399
5403
  }
5400
5404
  });
5401
- function ys(e, t) {
5402
- const r = io.validate(e, t, {
5405
+ function gs(e, t) {
5406
+ const r = lo.validate(e, t, {
5403
5407
  cacheKey: `node-schema-${e.type}`
5404
5408
  });
5405
5409
  return r.valid ? [] : r.errors ?? [];
5406
5410
  }
5407
- function uo(e, t) {
5408
- const r = ys(e, t).filter((s) => {
5411
+ function fo(e, t) {
5412
+ const r = gs(e, t).filter((s) => {
5409
5413
  var a;
5410
5414
  if (((a = s.parentSchema) == null ? void 0 : a.format) !== "password") return !0;
5411
5415
  if (!e.credentials) return !1;
5412
- const l = s.instancePath.split("/").pop(), o = us.get(e, s.instancePath);
5416
+ const l = s.instancePath.split("/").pop(), o = cs.get(e, s.instancePath);
5413
5417
  return !(e.credentials[`has_${l}`] && (!o || o === "__PWD__"));
5414
5418
  });
5415
5419
  return r.length === 0 ? !0 : r.map((s) => {
@@ -5418,10 +5422,10 @@ function uo(e, t) {
5418
5422
  return s.keyword === "required" && ((o = s.params) != null && o.missingProperty) && (l = `${l}/${s.params.missingProperty}`), `${l.slice(1) || "root"}: ${s.message ?? "invalid"}`;
5419
5423
  });
5420
5424
  }
5421
- function co(e, t) {
5422
- return ys(e, t).filter((r) => {
5425
+ function po(e, t) {
5426
+ return gs(e, t).filter((r) => {
5423
5427
  var l;
5424
- return ((l = r.parentSchema) == null ? void 0 : l.format) !== "password" ? !0 : us.get(e, r.instancePath) !== "__PWD__";
5428
+ return ((l = r.parentSchema) == null ? void 0 : l.format) !== "password" ? !0 : cs.get(e, r.instancePath) !== "__PWD__";
5425
5429
  }).reduce(
5426
5430
  (r, s) => {
5427
5431
  var a;
@@ -5433,7 +5437,7 @@ function co(e, t) {
5433
5437
  {}
5434
5438
  );
5435
5439
  }
5436
- const lo = Pe({
5440
+ const ho = Pe({
5437
5441
  name: "NodeRedVueApp",
5438
5442
  props: {
5439
5443
  node: {
@@ -5473,7 +5477,7 @@ const lo = Pe({
5473
5477
  }
5474
5478
  },
5475
5479
  created() {
5476
- this.debouncedValidate = ks(() => this.validate(), 150);
5480
+ this.debouncedValidate = As(() => this.validate(), 150);
5477
5481
  },
5478
5482
  beforeMount() {
5479
5483
  var e;
@@ -5513,7 +5517,11 @@ const lo = Pe({
5513
5517
  },
5514
5518
  methods: {
5515
5519
  validate() {
5516
- this.errors = co(this.localNode, this.schema);
5520
+ this.errors = po(this.localNode, this.schema);
5521
+ },
5522
+ resolveLabel(e, t) {
5523
+ const r = this.$i18n(e), s = `${this.localNode.type}.${e}`;
5524
+ return r && r !== s && r !== e ? r : t;
5517
5525
  },
5518
5526
  recalculateOutputs() {
5519
5527
  var r;
@@ -5526,65 +5534,65 @@ const lo = Pe({
5526
5534
  for (const [s, l] of t)
5527
5535
  r[s] = l;
5528
5536
  return r;
5529
- }, fo = {
5537
+ }, mo = {
5530
5538
  key: 0,
5531
5539
  class: "form-row nrg-toggles-grid"
5532
- }, po = { key: 0 }, ho = { key: 1 }, mo = {
5540
+ }, yo = { key: 0 }, go = { key: 1 }, vo = {
5533
5541
  key: 1,
5534
5542
  class: "form-row nrg-toggles-grid"
5535
- }, yo = { key: 0 }, go = { key: 1 }, vo = { key: 2 }, _o = { style: { width: "100%", "padding-bottom": "12px" } };
5536
- function $o(e, t, r, s, l, o) {
5543
+ }, _o = { key: 0 }, $o = { key: 1 }, bo = { key: 2 }, wo = { style: { width: "100%", "padding-bottom": "12px" } };
5544
+ function Eo(e, t, r, s, l, o) {
5537
5545
  const a = he("NodeRedToggle"), i = he("NodeRedNodeForm");
5538
5546
  return W(), ee(
5539
5547
  nr,
5540
5548
  null,
5541
5549
  [
5542
- e.features.hasInputSchema || e.features.hasOutputSchema ? (W(), ee("div", fo, [
5543
- e.features.hasInputSchema ? (W(), ee("div", po, [
5550
+ e.features.hasInputSchema || e.features.hasOutputSchema ? (W(), ee("div", mo, [
5551
+ e.features.hasInputSchema ? (W(), ee("div", yo, [
5544
5552
  $e(a, {
5545
5553
  "model-value": e.localNode.validateInput,
5546
- label: "Validate Input",
5554
+ label: e.resolveLabel("toggles.validateInput", "Validate Input"),
5547
5555
  "onUpdate:modelValue": t[0] || (t[0] = (y) => e.localNode.validateInput = y)
5548
- }, null, 8, ["model-value"])
5556
+ }, null, 8, ["model-value", "label"])
5549
5557
  ])) : ne("v-if", !0),
5550
- e.features.hasOutputSchema ? (W(), ee("div", ho, [
5558
+ e.features.hasOutputSchema ? (W(), ee("div", go, [
5551
5559
  $e(a, {
5552
5560
  "model-value": e.localNode.validateOutput,
5553
- label: "Validate Output",
5561
+ label: e.resolveLabel("toggles.validateOutput", "Validate Output"),
5554
5562
  "onUpdate:modelValue": t[1] || (t[1] = (y) => e.localNode.validateOutput = y)
5555
- }, null, 8, ["model-value"])
5563
+ }, null, 8, ["model-value", "label"])
5556
5564
  ])) : ne("v-if", !0)
5557
5565
  ])) : ne("v-if", !0),
5558
- e.hasEmitPorts ? (W(), ee("div", mo, [
5559
- e.hasEmitError ? (W(), ee("div", yo, [
5566
+ e.hasEmitPorts ? (W(), ee("div", vo, [
5567
+ e.hasEmitError ? (W(), ee("div", _o, [
5560
5568
  $e(a, {
5561
5569
  "model-value": e.localNode.emitError,
5562
- label: "Emit Error",
5570
+ label: e.resolveLabel("toggles.errorPort", "Error Port"),
5563
5571
  "onUpdate:modelValue": t[2] || (t[2] = (y) => {
5564
5572
  e.localNode.emitError = y, e.recalculateOutputs();
5565
5573
  })
5566
- }, null, 8, ["model-value"])
5574
+ }, null, 8, ["model-value", "label"])
5567
5575
  ])) : ne("v-if", !0),
5568
- e.hasEmitComplete ? (W(), ee("div", go, [
5576
+ e.hasEmitComplete ? (W(), ee("div", $o, [
5569
5577
  $e(a, {
5570
5578
  "model-value": e.localNode.emitComplete,
5571
- label: "Emit Complete",
5579
+ label: e.resolveLabel("toggles.completePort", "Complete Port"),
5572
5580
  "onUpdate:modelValue": t[3] || (t[3] = (y) => {
5573
5581
  e.localNode.emitComplete = y, e.recalculateOutputs();
5574
5582
  })
5575
- }, null, 8, ["model-value"])
5583
+ }, null, 8, ["model-value", "label"])
5576
5584
  ])) : ne("v-if", !0),
5577
- e.hasEmitStatus ? (W(), ee("div", vo, [
5585
+ e.hasEmitStatus ? (W(), ee("div", bo, [
5578
5586
  $e(a, {
5579
5587
  "model-value": e.localNode.emitStatus,
5580
- label: "Emit Status",
5588
+ label: e.resolveLabel("toggles.statusPort", "Status Port"),
5581
5589
  "onUpdate:modelValue": t[4] || (t[4] = (y) => {
5582
5590
  e.localNode.emitStatus = y, e.recalculateOutputs();
5583
5591
  })
5584
- }, null, 8, ["model-value"])
5592
+ }, null, 8, ["model-value", "label"])
5585
5593
  ])) : ne("v-if", !0)
5586
5594
  ])) : ne("v-if", !0),
5587
- ce("div", _o, [
5595
+ ce("div", wo, [
5588
5596
  $e(i, {
5589
5597
  node: e.localNode,
5590
5598
  schema: e.schema,
@@ -5597,7 +5605,7 @@ function $o(e, t, r, s, l, o) {
5597
5605
  /* STABLE_FRAGMENT */
5598
5606
  );
5599
5607
  }
5600
- const bo = /* @__PURE__ */ Oe(lo, [["render", $o], ["__scopeId", "data-v-6a594f7a"]]), wo = Pe({
5608
+ const So = /* @__PURE__ */ Oe(ho, [["render", Eo], ["__scopeId", "data-v-5292b618"]]), Po = Pe({
5601
5609
  name: "NodeRedInputLabel",
5602
5610
  props: {
5603
5611
  label: {
@@ -5618,12 +5626,12 @@ const bo = /* @__PURE__ */ Oe(lo, [["render", $o], ["__scopeId", "data-v-6a594f7
5618
5626
  return this.icon ? `fa ${this.icon.startsWith("fa-") ? this.icon : `fa-${this.icon}`}` : "";
5619
5627
  }
5620
5628
  }
5621
- }), Eo = { class: "nrg-label" }, So = {
5629
+ }), No = { class: "nrg-label" }, Oo = {
5622
5630
  key: 1,
5623
5631
  class: "nrg-required"
5624
5632
  };
5625
- function Po(e, t, r, s, l, o) {
5626
- return W(), ee("span", Eo, [
5633
+ function Ro(e, t, r, s, l, o) {
5634
+ return W(), ee("span", No, [
5627
5635
  e.icon ? (W(), ee(
5628
5636
  "i",
5629
5637
  {
@@ -5635,16 +5643,16 @@ function Po(e, t, r, s, l, o) {
5635
5643
  /* CLASS */
5636
5644
  )) : ne("v-if", !0),
5637
5645
  ze(e.$slots, "default", {}, () => [
5638
- Ln(
5646
+ Un(
5639
5647
  je(e.label),
5640
5648
  1
5641
5649
  /* TEXT */
5642
5650
  )
5643
5651
  ], !0),
5644
- e.required ? (W(), ee("span", So, "*")) : ne("v-if", !0)
5652
+ e.required ? (W(), ee("span", Oo, "*")) : ne("v-if", !0)
5645
5653
  ]);
5646
5654
  }
5647
- const Ae = /* @__PURE__ */ Oe(wo, [["render", Po], ["__scopeId", "data-v-8b9bd83b"]]), Vn = "*************", No = Pe({
5655
+ const Ae = /* @__PURE__ */ Oe(Po, [["render", Ro], ["__scopeId", "data-v-864b02f2"]]), Cn = "*************", Io = Pe({
5648
5656
  components: { NodeRedInputLabel: Ae },
5649
5657
  props: {
5650
5658
  value: {
@@ -5690,19 +5698,19 @@ const Ae = /* @__PURE__ */ Oe(wo, [["render", Po], ["__scopeId", "data-v-8b9bd83
5690
5698
  this.internalValue = e.target.value, this.$emit("update:value", this.internalValue), this.$emit("input", this.internalValue);
5691
5699
  },
5692
5700
  onFocus() {
5693
- this.type === "password" && this.internalValue === Vn && (this.internalValue = "");
5701
+ this.type === "password" && this.internalValue === Cn && (this.internalValue = "");
5694
5702
  },
5695
5703
  onBlur() {
5696
- this.type === "password" && this.value === "__PWD__" && (this.internalValue = Vn);
5704
+ this.type === "password" && this.value === "__PWD__" && (this.internalValue = Cn);
5697
5705
  }
5698
5706
  }
5699
- }), Oo = { style: { display: "flex", "flex-direction": "column", width: "100%" } }, Ro = ["type", "value", "placeholder"], Io = {
5707
+ }), jo = { style: { display: "flex", "flex-direction": "column", width: "100%" } }, ko = ["type", "value", "placeholder"], qo = {
5700
5708
  key: 0,
5701
5709
  class: "node-red-vue-input-error-message"
5702
5710
  };
5703
- function jo(e, t, r, s, l, o) {
5711
+ function To(e, t, r, s, l, o) {
5704
5712
  const a = he("NodeRedInputLabel");
5705
- return W(), ee("div", Oo, [
5713
+ return W(), ee("div", jo, [
5706
5714
  ze(e.$slots, "label", {}, () => [
5707
5715
  e.label ? (W(), be(a, {
5708
5716
  key: 0,
@@ -5720,17 +5728,17 @@ function jo(e, t, r, s, l, o) {
5720
5728
  onInput: t[0] || (t[0] = (...i) => e.onInput && e.onInput(...i)),
5721
5729
  onFocus: t[1] || (t[1] = (...i) => e.onFocus && e.onFocus(...i)),
5722
5730
  onBlur: t[2] || (t[2] = (...i) => e.onBlur && e.onBlur(...i))
5723
- }, null, 40, Ro),
5731
+ }, null, 40, ko),
5724
5732
  e.error ? (W(), ee(
5725
5733
  "div",
5726
- Io,
5734
+ qo,
5727
5735
  je(e.error),
5728
5736
  1
5729
5737
  /* TEXT */
5730
5738
  )) : ne("v-if", !0)
5731
5739
  ]);
5732
5740
  }
5733
- const gs = /* @__PURE__ */ Oe(No, [["render", jo]]), ko = [
5741
+ const vs = /* @__PURE__ */ Oe(Io, [["render", To]]), Ao = [
5734
5742
  "msg",
5735
5743
  "flow",
5736
5744
  "global",
@@ -5745,7 +5753,7 @@ const gs = /* @__PURE__ */ Oe(No, [["render", jo]]), ko = [
5745
5753
  "env",
5746
5754
  "node",
5747
5755
  "cred"
5748
- ], qo = Pe({
5756
+ ], Do = Pe({
5749
5757
  components: { NodeRedInputLabel: Ae },
5750
5758
  props: {
5751
5759
  value: {
@@ -5756,7 +5764,7 @@ const gs = /* @__PURE__ */ Oe(No, [["render", jo]]), ko = [
5756
5764
  return console.warn(
5757
5765
  "[WARN] Invalid value for 'value' property. It must be an object."
5758
5766
  ), !1;
5759
- const t = typeof (e == null ? void 0 : e.value) == "string" && typeof (e == null ? void 0 : e.type) == "string";
5767
+ const t = typeof e.value == "string" && typeof e.type == "string";
5760
5768
  return t || console.warn(
5761
5769
  "[WARN] Invalid value for 'value' property. It must be an object with 'value' and 'type' properties being strings.",
5762
5770
  e
@@ -5765,7 +5773,7 @@ const gs = /* @__PURE__ */ Oe(No, [["render", jo]]), ko = [
5765
5773
  },
5766
5774
  types: {
5767
5775
  type: Array,
5768
- default: () => ko
5776
+ default: () => Ao
5769
5777
  },
5770
5778
  label: {
5771
5779
  type: String,
@@ -5785,6 +5793,9 @@ const gs = /* @__PURE__ */ Oe(No, [["render", jo]]), ko = [
5785
5793
  }
5786
5794
  },
5787
5795
  emits: ["update:value"],
5796
+ // $input and mutationObserver are assigned directly on `this` in mounted().
5797
+ // They must NOT be in data() because Vue's reactivity proxy breaks jQuery
5798
+ // widgets. markRaw() was tested and also does not work.
5788
5799
  computed: {
5789
5800
  isProvidedValueTypeValid() {
5790
5801
  const e = this.value.type;
@@ -5822,13 +5833,13 @@ const gs = /* @__PURE__ */ Oe(No, [["render", jo]]), ko = [
5822
5833
  t.observe(e, {
5823
5834
  attributes: !0,
5824
5835
  attributeFilter: ["value"]
5825
- }), this._observer = t;
5836
+ }), this.mutationObserver = t;
5826
5837
  }), this.$input.on("change", () => {
5827
5838
  this.onChange();
5828
5839
  });
5829
5840
  },
5830
5841
  beforeUnmount() {
5831
- this._observer && (this._observer.disconnect(), this._observer = null);
5842
+ this.mutationObserver && (this.mutationObserver.disconnect(), this.mutationObserver = null);
5832
5843
  },
5833
5844
  methods: {
5834
5845
  onChange() {
@@ -5839,18 +5850,18 @@ const gs = /* @__PURE__ */ Oe(No, [["render", jo]]), ko = [
5839
5850
  });
5840
5851
  }
5841
5852
  }
5842
- }), To = { style: { display: "flex", "flex-direction": "column", width: "100%" } }, Ao = {
5853
+ }), Mo = { style: { display: "flex", "flex-direction": "column", width: "100%" } }, Vo = {
5843
5854
  ref: "typedInput",
5844
5855
  type: "text",
5845
5856
  class: "node-red-typed-input",
5846
5857
  style: { flex: "1", width: "100%" }
5847
- }, Do = {
5858
+ }, Co = {
5848
5859
  key: 0,
5849
5860
  class: "node-red-vue-input-error-message"
5850
5861
  };
5851
- function Mo(e, t, r, s, l, o) {
5862
+ function zo(e, t, r, s, l, o) {
5852
5863
  const a = he("NodeRedInputLabel");
5853
- return W(), ee("div", To, [
5864
+ return W(), ee("div", Mo, [
5854
5865
  ze(e.$slots, "label", {}, () => [
5855
5866
  e.label ? (W(), be(a, {
5856
5867
  key: 0,
@@ -5861,21 +5872,21 @@ function Mo(e, t, r, s, l, o) {
5861
5872
  ]),
5862
5873
  ce(
5863
5874
  "input",
5864
- Ao,
5875
+ Vo,
5865
5876
  null,
5866
5877
  512
5867
5878
  /* NEED_PATCH */
5868
5879
  ),
5869
5880
  e.error ? (W(), ee(
5870
5881
  "div",
5871
- Do,
5882
+ Co,
5872
5883
  je(e.error),
5873
5884
  1
5874
5885
  /* TEXT */
5875
5886
  )) : ne("v-if", !0)
5876
5887
  ]);
5877
5888
  }
5878
- const vs = /* @__PURE__ */ Oe(qo, [["render", Mo]]), Vo = Pe({
5889
+ const _s = /* @__PURE__ */ Oe(Do, [["render", zo]]), Fo = Pe({
5879
5890
  components: { NodeRedInputLabel: Ae },
5880
5891
  props: {
5881
5892
  value: {
@@ -5930,13 +5941,13 @@ const vs = /* @__PURE__ */ Oe(qo, [["render", Mo]]), Vo = Pe({
5930
5941
  this.$emit("update:value", t === "_ADD_" ? "" : t);
5931
5942
  }), e.val(this.value || "_ADD_");
5932
5943
  }
5933
- }), Co = { style: { display: "flex", "flex-direction": "column", width: "100%" } }, zo = ["id"], Fo = {
5944
+ }), Lo = { style: { display: "flex", "flex-direction": "column", width: "100%" } }, Uo = ["id"], Ko = {
5934
5945
  key: 0,
5935
5946
  class: "node-red-vue-input-error-message"
5936
5947
  };
5937
- function Lo(e, t, r, s, l, o) {
5948
+ function Ho(e, t, r, s, l, o) {
5938
5949
  const a = he("NodeRedInputLabel");
5939
- return W(), ee("div", Co, [
5950
+ return W(), ee("div", Lo, [
5940
5951
  ze(e.$slots, "label", {}, () => [
5941
5952
  e.label ? (W(), be(a, {
5942
5953
  key: 0,
@@ -5949,17 +5960,17 @@ function Lo(e, t, r, s, l, o) {
5949
5960
  id: e.inputId,
5950
5961
  type: "text",
5951
5962
  style: { width: "100%" }
5952
- }, null, 8, zo),
5963
+ }, null, 8, Uo),
5953
5964
  e.error ? (W(), ee(
5954
5965
  "div",
5955
- Fo,
5966
+ Ko,
5956
5967
  je(e.error),
5957
5968
  1
5958
5969
  /* TEXT */
5959
5970
  )) : ne("v-if", !0)
5960
5971
  ]);
5961
5972
  }
5962
- const _s = /* @__PURE__ */ Oe(Vo, [["render", Lo]]), Uo = Pe({
5973
+ const $s = /* @__PURE__ */ Oe(Fo, [["render", Ho]]), Bo = Pe({
5963
5974
  components: { NodeRedInputLabel: Ae },
5964
5975
  props: {
5965
5976
  value: {
@@ -6023,18 +6034,18 @@ const _s = /* @__PURE__ */ Oe(Vo, [["render", Lo]]), Uo = Pe({
6023
6034
  this.$emit("update:value", r);
6024
6035
  });
6025
6036
  }
6026
- }), Ko = { style: { display: "flex", "flex-direction": "column", width: "100%" } }, Ho = {
6037
+ }), Go = { style: { display: "flex", "flex-direction": "column", width: "100%" } }, Jo = {
6027
6038
  ref: "selectInput",
6028
6039
  type: "text",
6029
6040
  class: "node-input-select",
6030
6041
  style: { width: "100%" }
6031
- }, Bo = {
6042
+ }, Wo = {
6032
6043
  key: 0,
6033
6044
  class: "node-red-vue-input-error-message"
6034
6045
  };
6035
- function Go(e, t, r, s, l, o) {
6046
+ function Yo(e, t, r, s, l, o) {
6036
6047
  const a = he("NodeRedInputLabel");
6037
- return W(), ee("div", Ko, [
6048
+ return W(), ee("div", Go, [
6038
6049
  ze(e.$slots, "label", {}, () => [
6039
6050
  e.label ? (W(), be(a, {
6040
6051
  key: 0,
@@ -6045,21 +6056,21 @@ function Go(e, t, r, s, l, o) {
6045
6056
  ]),
6046
6057
  ce(
6047
6058
  "input",
6048
- Ho,
6059
+ Jo,
6049
6060
  null,
6050
6061
  512
6051
6062
  /* NEED_PATCH */
6052
6063
  ),
6053
6064
  e.error ? (W(), ee(
6054
6065
  "div",
6055
- Bo,
6066
+ Wo,
6056
6067
  je(e.error),
6057
6068
  1
6058
6069
  /* TEXT */
6059
6070
  )) : ne("v-if", !0)
6060
6071
  ]);
6061
6072
  }
6062
- const $s = /* @__PURE__ */ Oe(Uo, [["render", Go]]), Jo = Pe({
6073
+ const bs = /* @__PURE__ */ Oe(Bo, [["render", Yo]]), Zo = Pe({
6063
6074
  components: { NodeRedInputLabel: Ae },
6064
6075
  props: {
6065
6076
  value: {
@@ -6177,6 +6188,9 @@ const $s = /* @__PURE__ */ Oe(Uo, [["render", Go]]), Jo = Pe({
6177
6188
  }
6178
6189
  },
6179
6190
  emits: ["update:value"],
6191
+ // Non-reactive instance property — must NOT be in data() because Vue's
6192
+ // reactivity proxy breaks Monaco editor and jQuery widgets. markRaw() was
6193
+ // tested and also does not work. Declared here so Vue ignores it.
6180
6194
  editor: null,
6181
6195
  data() {
6182
6196
  const e = Math.random().toString(36).substring(2, 9);
@@ -6280,15 +6294,15 @@ const $s = /* @__PURE__ */ Oe(Uo, [["render", Go]]), Jo = Pe({
6280
6294
  RED.tray.show(this.expandedEditorTray);
6281
6295
  }
6282
6296
  }
6283
- }), Wo = {
6297
+ }), Qo = {
6284
6298
  ref: "container",
6285
6299
  class: "container"
6286
- }, Yo = { class: "editor-wrapper" }, Zo = ["id"];
6287
- function Qo(e, t, r, s, l, o) {
6300
+ }, Xo = { class: "editor-wrapper" }, xo = ["id"];
6301
+ function ei(e, t, r, s, l, o) {
6288
6302
  const a = he("NodeRedInputLabel");
6289
6303
  return W(), ee(
6290
6304
  "div",
6291
- Wo,
6305
+ Qo,
6292
6306
  [
6293
6307
  ze(e.$slots, "label", {}, () => [
6294
6308
  e.label ? (W(), be(a, {
@@ -6298,7 +6312,7 @@ function Qo(e, t, r, s, l, o) {
6298
6312
  required: e.required
6299
6313
  }, null, 8, ["label", "icon", "required"])) : ne("v-if", !0)
6300
6314
  ], !0),
6301
- ce("div", Yo, [
6315
+ ce("div", Xo, [
6302
6316
  ce(
6303
6317
  "button",
6304
6318
  {
@@ -6321,23 +6335,23 @@ function Qo(e, t, r, s, l, o) {
6321
6335
  ce("div", {
6322
6336
  id: e.editorId,
6323
6337
  ref: "editor"
6324
- }, null, 8, Zo)
6338
+ }, null, 8, xo)
6325
6339
  ]),
6326
- Rs(ce(
6340
+ ks(ce(
6327
6341
  "div",
6328
6342
  { class: "node-red-vue-input-error-message" },
6329
6343
  je(e.error),
6330
6344
  513
6331
6345
  /* TEXT, NEED_PATCH */
6332
6346
  ), [
6333
- [Is, e.error]
6347
+ [qs, e.error]
6334
6348
  ])
6335
6349
  ],
6336
6350
  512
6337
6351
  /* NEED_PATCH */
6338
6352
  );
6339
6353
  }
6340
- const bs = /* @__PURE__ */ Oe(Jo, [["render", Qo], ["__scopeId", "data-v-2205b8dc"]]), Xo = Pe({
6354
+ const ws = /* @__PURE__ */ Oe(Zo, [["render", ei], ["__scopeId", "data-v-595c66de"]]), ti = Pe({
6341
6355
  name: "NodeRedToggle",
6342
6356
  props: {
6343
6357
  modelValue: {
@@ -6359,12 +6373,12 @@ const bs = /* @__PURE__ */ Oe(Jo, [["render", Qo], ["__scopeId", "data-v-2205b8d
6359
6373
  return this.icon ? `fa ${this.icon.startsWith("fa-") ? this.icon : `fa-${this.icon}`}` : "";
6360
6374
  }
6361
6375
  }
6362
- }), xo = { class: "nrg-toggle-wrapper" }, ei = ["checked"], ti = {
6376
+ }), ri = { class: "nrg-toggle-wrapper" }, ni = ["checked"], si = {
6363
6377
  key: 0,
6364
6378
  class: "nrg-toggle__label"
6365
6379
  };
6366
- function ri(e, t, r, s, l, o) {
6367
- return W(), ee("div", xo, [
6380
+ function ai(e, t, r, s, l, o) {
6381
+ return W(), ee("div", ri, [
6368
6382
  ce(
6369
6383
  "label",
6370
6384
  {
@@ -6379,8 +6393,8 @@ function ri(e, t, r, s, l, o) {
6379
6393
  "update:modelValue",
6380
6394
  a.target.checked
6381
6395
  ))
6382
- }, null, 40, ei),
6383
- e.icon || e.label ? (W(), ee("span", ti, [
6396
+ }, null, 40, ni),
6397
+ e.icon || e.label ? (W(), ee("span", si, [
6384
6398
  e.icon ? (W(), ee(
6385
6399
  "i",
6386
6400
  {
@@ -6391,7 +6405,7 @@ function ri(e, t, r, s, l, o) {
6391
6405
  2
6392
6406
  /* CLASS */
6393
6407
  )) : ne("v-if", !0),
6394
- Ln(
6408
+ Un(
6395
6409
  " " + je(e.label),
6396
6410
  1
6397
6411
  /* TEXT */
@@ -6410,7 +6424,7 @@ function ri(e, t, r, s, l, o) {
6410
6424
  )
6411
6425
  ]);
6412
6426
  }
6413
- const ws = /* @__PURE__ */ Oe(Xo, [["render", ri], ["__scopeId", "data-v-724dcae4"]]), ni = /* @__PURE__ */ new Set([
6427
+ const Es = /* @__PURE__ */ Oe(ti, [["render", ai], ["__scopeId", "data-v-724dcae4"]]), oi = /* @__PURE__ */ new Set([
6414
6428
  "id",
6415
6429
  "type",
6416
6430
  "x",
@@ -6426,17 +6440,17 @@ const ws = /* @__PURE__ */ Oe(Xo, [["render", ri], ["__scopeId", "data-v-724dcae
6426
6440
  "emitError",
6427
6441
  "emitComplete",
6428
6442
  "emitStatus"
6429
- ]), Es = /* @__PURE__ */ new Set(["emitError", "emitComplete", "emitStatus"]);
6430
- function si(e) {
6443
+ ]), Ss = /* @__PURE__ */ new Set(["emitError", "emitComplete", "emitStatus"]);
6444
+ function ii(e) {
6431
6445
  return e.replace(/([A-Z])/g, " $1").replace(/^./, (t) => t.toUpperCase()).trim();
6432
6446
  }
6433
- function ai(e) {
6447
+ function ui(e) {
6434
6448
  var t, r;
6435
6449
  return e.type === "object" && !!((t = e.properties) != null && t.value) && !!((r = e.properties) != null && r.type);
6436
6450
  }
6437
- function Cn(e, t, r, s) {
6451
+ function zn(e, t, r, s) {
6438
6452
  var y;
6439
- const l = s || t.title || si(e), o = t["x-nrg-form"] ?? {}, a = o.icon || "";
6453
+ const l = s || t.title || ii(e), o = t["x-nrg-form"] ?? {}, a = o.icon || "";
6440
6454
  if (t["x-nrg-node-type"])
6441
6455
  return {
6442
6456
  key: e,
@@ -6446,7 +6460,7 @@ function Cn(e, t, r, s) {
6446
6460
  required: r,
6447
6461
  configType: t["x-nrg-node-type"]
6448
6462
  };
6449
- if (ai(t))
6463
+ if (ui(t))
6450
6464
  return {
6451
6465
  key: e,
6452
6466
  label: l,
@@ -6503,7 +6517,7 @@ function Cn(e, t, r, s) {
6503
6517
  inputType: "boolean",
6504
6518
  required: r,
6505
6519
  toggle: o.toggle,
6506
- isEmitPort: Es.has(e)
6520
+ isEmitPort: Ss.has(e)
6507
6521
  };
6508
6522
  case "number":
6509
6523
  case "integer":
@@ -6558,16 +6572,16 @@ function Cn(e, t, r, s) {
6558
6572
  };
6559
6573
  }
6560
6574
  }
6561
- const oi = Pe({
6575
+ const ci = Pe({
6562
6576
  name: "NodeRedJsonSchemaForm",
6563
6577
  components: {
6564
6578
  NodeRedInputLabel: Ae,
6565
- NodeRedToggle: ws,
6566
- NodeRedInput: gs,
6567
- NodeRedSelectInput: $s,
6568
- NodeRedTypedInput: vs,
6569
- NodeRedConfigInput: _s,
6570
- NodeRedEditorInput: bs
6579
+ NodeRedToggle: Es,
6580
+ NodeRedInput: vs,
6581
+ NodeRedSelectInput: bs,
6582
+ NodeRedTypedInput: _s,
6583
+ NodeRedConfigInput: $s,
6584
+ NodeRedEditorInput: ws
6571
6585
  },
6572
6586
  props: {
6573
6587
  node: {
@@ -6588,8 +6602,8 @@ const oi = Pe({
6588
6602
  var t;
6589
6603
  if (!((t = this.schema) != null && t.properties)) return [];
6590
6604
  const e = new Set(this.schema.required ?? []);
6591
- return Object.entries(this.schema.properties).filter(([r]) => !ni.has(r)).map(
6592
- ([r, s]) => Cn(
6605
+ return Object.entries(this.schema.properties).filter(([r]) => !oi.has(r)).map(
6606
+ ([r, s]) => zn(
6593
6607
  r,
6594
6608
  s,
6595
6609
  e.has(r),
@@ -6603,7 +6617,7 @@ const oi = Pe({
6603
6617
  if (!(e != null && e.properties)) return [];
6604
6618
  const t = new Set(e.required ?? []);
6605
6619
  return Object.entries(e.properties).map(([l, o]) => {
6606
- const a = Cn(
6620
+ const a = zn(
6607
6621
  l,
6608
6622
  o,
6609
6623
  t.has(l),
@@ -6621,7 +6635,7 @@ const oi = Pe({
6621
6635
  recalculateOutputs() {
6622
6636
  var s, l;
6623
6637
  if (!((s = this.schema) != null && s.properties) || !Object.keys(this.schema.properties).some(
6624
- (o) => Es.has(o)
6638
+ (o) => Ss.has(o)
6625
6639
  )) return;
6626
6640
  let r = ((l = this.node._def) == null ? void 0 : l.outputs) ?? 0;
6627
6641
  this.node.emitError && r++, this.node.emitComplete && r++, this.node.emitStatus && r++, this.node.outputs = r;
@@ -6632,17 +6646,17 @@ const oi = Pe({
6632
6646
  return r;
6633
6647
  }
6634
6648
  }
6635
- }), ii = { key: 1 }, ui = { key: 2 }, ci = ["checked", "onChange"], di = { key: 6 }, li = ["value", "onInput"], fi = {
6649
+ }), di = { key: 1 }, li = { key: 2 }, fi = ["checked", "onChange"], pi = { key: 6 }, hi = ["value", "onInput"], mi = {
6636
6650
  key: 0,
6637
6651
  class: "node-red-vue-input-error-message"
6638
6652
  };
6639
- function pi(e, t, r, s, l, o) {
6653
+ function yi(e, t, r, s, l, o) {
6640
6654
  const a = he("NodeRedInput"), i = he("NodeRedToggle"), y = he("NodeRedInputLabel"), g = he("NodeRedSelectInput"), m = he("NodeRedTypedInput"), P = he("NodeRedConfigInput"), w = he("NodeRedEditorInput");
6641
6655
  return W(), ee("div", null, [
6642
6656
  (W(!0), ee(
6643
6657
  nr,
6644
6658
  null,
6645
- yr(e.configFields, (c) => (W(), ee("div", {
6659
+ gr(e.configFields, (c) => (W(), ee("div", {
6646
6660
  key: c.key,
6647
6661
  class: "form-row"
6648
6662
  }, [
@@ -6655,7 +6669,7 @@ function pi(e, t, r, s, l, o) {
6655
6669
  required: c.required,
6656
6670
  error: e.errors[`node.${c.key}`],
6657
6671
  "onUpdate:value": (v) => e.node[c.key] = v
6658
- }, null, 8, ["value", "type", "label", "icon", "required", "error", "onUpdate:value"])) : c.inputType === "boolean" && c.toggle ? (W(), ee("div", ii, [
6672
+ }, null, 8, ["value", "type", "label", "icon", "required", "error", "onUpdate:value"])) : c.inputType === "boolean" && c.toggle ? (W(), ee("div", di, [
6659
6673
  $e(i, {
6660
6674
  "model-value": e.node[c.key],
6661
6675
  label: c.label,
@@ -6664,7 +6678,7 @@ function pi(e, t, r, s, l, o) {
6664
6678
  e.node[c.key] = v, c.isEmitPort && e.recalculateOutputs();
6665
6679
  }
6666
6680
  }, null, 8, ["model-value", "label", "icon", "onUpdate:modelValue"])
6667
- ])) : c.inputType === "boolean" ? (W(), ee("div", ui, [
6681
+ ])) : c.inputType === "boolean" ? (W(), ee("div", li, [
6668
6682
  $e(y, {
6669
6683
  label: c.label,
6670
6684
  icon: c.icon,
@@ -6677,7 +6691,7 @@ function pi(e, t, r, s, l, o) {
6677
6691
  onChange: (v) => {
6678
6692
  e.node[c.key] = v.target.checked, c.isEmitPort && e.recalculateOutputs();
6679
6693
  }
6680
- }, null, 40, ci)
6694
+ }, null, 40, fi)
6681
6695
  ])) : c.inputType === "select" ? (W(), be(g, {
6682
6696
  key: 3,
6683
6697
  value: e.node[c.key],
@@ -6708,7 +6722,7 @@ function pi(e, t, r, s, l, o) {
6708
6722
  required: c.required,
6709
6723
  error: e.errors[`node.${c.key}`],
6710
6724
  "onUpdate:value": (v) => e.node[c.key] = v
6711
- }, null, 8, ["value", "type", "node", "prop-name", "label", "icon", "required", "error", "onUpdate:value"])) : c.inputType === "array-text" ? (W(), ee("div", di, [
6725
+ }, null, 8, ["value", "type", "node", "prop-name", "label", "icon", "required", "error", "onUpdate:value"])) : c.inputType === "array-text" ? (W(), ee("div", pi, [
6712
6726
  $e(y, {
6713
6727
  label: c.label,
6714
6728
  icon: c.icon,
@@ -6728,10 +6742,10 @@ function pi(e, t, r, s, l, o) {
6728
6742
  style: { width: "100%", resize: "vertical", "font-family": "monospace", "font-size": "13px" },
6729
6743
  onInput: (v) => e.node[c.key] = v.target.value.split(`
6730
6744
  `).filter(Boolean)
6731
- }, null, 40, li),
6745
+ }, null, 40, hi),
6732
6746
  e.errors[`node.${c.key}`] ? (W(), ee(
6733
6747
  "span",
6734
- fi,
6748
+ mi,
6735
6749
  je(e.errors[`node.${c.key}`]),
6736
6750
  1
6737
6751
  /* TEXT */
@@ -6753,7 +6767,7 @@ function pi(e, t, r, s, l, o) {
6753
6767
  (W(!0), ee(
6754
6768
  nr,
6755
6769
  null,
6756
- yr(e.credentialFields, (c) => (W(), ee("div", {
6770
+ gr(e.credentialFields, (c) => (W(), ee("div", {
6757
6771
  key: `cred-${c.key}`,
6758
6772
  class: "form-row"
6759
6773
  }, [
@@ -6772,29 +6786,29 @@ function pi(e, t, r, s, l, o) {
6772
6786
  ))
6773
6787
  ]);
6774
6788
  }
6775
- const zn = /* @__PURE__ */ Oe(oi, [["render", pi]]);
6776
- function hi(e, t, r, s) {
6777
- const l = js(bo, {
6789
+ const Fn = /* @__PURE__ */ Oe(ci, [["render", yi]]);
6790
+ function gi(e, t, r, s) {
6791
+ const l = Ts(So, {
6778
6792
  node: e,
6779
6793
  schema: r,
6780
6794
  features: s
6781
6795
  });
6782
- return l.component("NodeRedInputLabel", Ae), l.component("NodeRedToggle", ws), l.component("NodeRedInput", gs), l.component("NodeRedTypedInput", vs), l.component("NodeRedConfigInput", _s), l.component("NodeRedSelectInput", $s), l.component("NodeRedEditorInput", bs), l.component("NodeRedJsonSchemaForm", zn), l.component("NodeRedNodeForm", (t == null ? void 0 : t.component) ?? zn), l.config.globalProperties.$i18n = (o) => e._(`${e.type}.${o}`), l;
6796
+ return l.component("NodeRedInputLabel", Ae), l.component("NodeRedToggle", Es), l.component("NodeRedInput", vs), l.component("NodeRedTypedInput", _s), l.component("NodeRedConfigInput", $s), l.component("NodeRedSelectInput", bs), l.component("NodeRedEditorInput", ws), l.component("NodeRedJsonSchemaForm", Fn), l.component("NodeRedNodeForm", (t == null ? void 0 : t.component) ?? Fn), l.config.globalProperties.$i18n = (o) => e._(`${e.type}.${o}`), l;
6783
6797
  }
6784
- function mi(e, t, r, s, l) {
6785
- $(`#${l}`).empty(), e._newState = Fs(e), e._app = hi(e._newState, t, r, s), e._app.mount(`#${l}`);
6798
+ function vi(e, t, r, s, l) {
6799
+ $(`#${l}`).empty(), e._newState = Ks(e), e._app = gi(e._newState, t, r, s), e._app.mount(`#${l}`);
6786
6800
  }
6787
6801
  function rr(e) {
6788
6802
  e._app && (e._app.unmount(), e._app = null);
6789
6803
  }
6790
- const Ss = {}, ur = {};
6791
- function vi(e) {
6792
- Object.assign(Ss, e);
6804
+ const Ps = {}, ur = {};
6805
+ function wi(e) {
6806
+ Object.assign(Ps, e);
6793
6807
  }
6794
- function _i(e) {
6808
+ function Ei(e) {
6795
6809
  Object.assign(ur, e);
6796
6810
  }
6797
- function Fn(e) {
6811
+ function Ln(e) {
6798
6812
  const t = {
6799
6813
  credentials: {}
6800
6814
  };
@@ -6805,26 +6819,26 @@ function Fn(e) {
6805
6819
  t.credentials[r] = (s = e.credentials) == null ? void 0 : s[r], e._def.credentials[r].type === "password" && (t.credentials[`has_${r}`] = ((l = e.credentials) == null ? void 0 : l[`has_${r}`]) || !1);
6806
6820
  }), t;
6807
6821
  }
6808
- function Ps(e, t) {
6822
+ function Ns(e, t) {
6809
6823
  const r = {};
6810
6824
  return (/* @__PURE__ */ new Set([...Object.keys(e), ...Object.keys(t ?? {})])).forEach((l) => {
6811
6825
  const o = e[l], a = (t ?? {})[l];
6812
6826
  if (!Array.isArray(o) && typeof o == "object" && o !== null) {
6813
- const i = Ps(o, a);
6827
+ const i = Ns(o, a);
6814
6828
  Object.keys(i).length && (r[l] = i);
6815
- } else Ks(o, a) || (r[l] = o);
6829
+ } else Gs(o, a) || (r[l] = o);
6816
6830
  }), r;
6817
6831
  }
6818
- function Ns(e, t) {
6832
+ function Os(e, t) {
6819
6833
  for (const r of Object.keys(t)) {
6820
6834
  const s = t[r];
6821
- Array.isArray(s) ? e[r] = [...s] : s !== null && typeof s == "object" ? ((!e[r] || typeof e[r] != "object" || Array.isArray(e[r])) && (e[r] = {}), Ns(e[r], s)) : e[r] = s;
6835
+ Array.isArray(s) ? e[r] = [...s] : s !== null && typeof s == "object" ? ((!e[r] || typeof e[r] != "object" || Array.isArray(e[r])) && (e[r] = {}), Os(e[r], s)) : e[r] = s;
6822
6836
  }
6823
6837
  }
6824
- function $i(e) {
6838
+ function Si(e) {
6825
6839
  return e;
6826
6840
  }
6827
- async function yi(e) {
6841
+ async function _i(e) {
6828
6842
  var r, s, l, o;
6829
6843
  const { type: t } = e;
6830
6844
  try {
@@ -6833,12 +6847,12 @@ async function yi(e) {
6833
6847
  hasInputSchema: !!m.inputSchema,
6834
6848
  hasOutputSchema: !!m.outputsSchema
6835
6849
  };
6836
- mi(this, u, v, n, c);
6850
+ vi(this, u, v, n, c);
6837
6851
  }, i = function() {
6838
6852
  var N;
6839
6853
  const u = this;
6840
6854
  rr(u);
6841
- const n = Fn(u._newState), f = Fn(u), b = Ps(f, n), d = !!((N = Object.keys(b)) != null && N.length);
6855
+ const n = Ln(u._newState), f = Ln(u), b = Ns(f, n), d = !!((N = Object.keys(b)) != null && N.length);
6842
6856
  if (!d) return !1;
6843
6857
  if (Object.keys(u._def.defaults ?? {}).forEach((q) => {
6844
6858
  var F, K;
@@ -6861,7 +6875,7 @@ async function yi(e) {
6861
6875
  z && z._def.category === "config" && z.users.findIndex(
6862
6876
  (H) => H.id === u.id
6863
6877
  ) === -1 && z.users.push(u);
6864
- }), Ns(u, n), e.category === "config") {
6878
+ }), Os(u, n), e.category === "config") {
6865
6879
  Object.keys(u._def.defaults ?? {}).forEach((q) => {
6866
6880
  if (u._def.defaults[q].type) return;
6867
6881
  const M = `node-config-input-${q}`;
@@ -6889,7 +6903,7 @@ async function yi(e) {
6889
6903
  rr(this);
6890
6904
  };
6891
6905
  const m = {
6892
- ...Ss[t] ?? {},
6906
+ ...Ps[t] ?? {},
6893
6907
  ...e
6894
6908
  }, P = m.defaults ? { ...m.defaults } : void 0, w = m.credentials ?? void 0, c = `nrg-app-${t}`;
6895
6909
  $("<script>", {
@@ -6916,7 +6930,7 @@ async function yi(e) {
6916
6930
  u && (P[u] = {
6917
6931
  ...P[u],
6918
6932
  validate: function(n, f) {
6919
- return uo(this, v);
6933
+ return fo(this, v);
6920
6934
  }
6921
6935
  });
6922
6936
  }
@@ -6984,17 +6998,17 @@ async function yi(e) {
6984
6998
  throw console.error(`Error while registering node type ${t}:`, a), a;
6985
6999
  }
6986
7000
  }
6987
- async function bi(e) {
7001
+ async function Pi(e) {
6988
7002
  try {
6989
- await Promise.all(e.map((t) => yi(t)));
7003
+ await Promise.all(e.map((t) => _i(t)));
6990
7004
  } catch (t) {
6991
7005
  throw console.error("Error registering node types:", t), t;
6992
7006
  }
6993
7007
  }
6994
7008
  export {
6995
- _i as __setForms,
6996
- vi as __setSchemas,
6997
- $i as defineNode,
6998
- yi as registerType,
6999
- bi as registerTypes
7009
+ Ei as __setForms,
7010
+ wi as __setSchemas,
7011
+ Si as defineNode,
7012
+ _i as registerType,
7013
+ Pi as registerTypes
7000
7014
  };