@kong-ui-public/forms 4.23.13 → 4.23.15-pr.3108.b1dce7f1d.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.
package/dist/forms.es.js CHANGED
@@ -1,9 +1,9 @@
1
- import { openBlock as c, createElementBlock as b, createElementVNode as h, toDisplayString as V, normalizeClass as ee, createVNode as C, defineComponent as fe, provide as Yt, resolveComponent as j, withCtx as A, renderSlot as Ce, unref as R, createTextVNode as ce, useModel as Ko, createBlock as $, createSlots as ei, mergeModels as Ui, inject as zt, ref as ne, onMounted as ti, watch as Wt, resolveDynamicComponent as me, Fragment as Y, renderList as oe, computed as q, toRefs as ft, onBeforeMount as ni, mergeProps as Xe, Transition as xo, createCommentVNode as B, resolveDirective as Oa, withDirectives as Ee, vModelText as Kt, vModelCheckbox as qo, vModelSelect as Bo, vModelDynamic as Ra, isRef as It, toRef as ka, vModelRadio as zo, vShow as Ho, normalizeProps as Go, guardReactiveProps as Yo, useSlots as pn, nextTick as Ni } from "vue";
1
+ import { openBlock as c, createElementBlock as b, createElementVNode as h, toDisplayString as V, normalizeClass as ee, createVNode as C, defineComponent as fe, provide as Xt, resolveComponent as j, withCtx as A, renderSlot as Ce, unref as R, createTextVNode as ce, useModel as Ko, createBlock as $, createSlots as ti, mergeModels as Ni, inject as Yt, ref as ne, onMounted as ni, watch as Jt, resolveDynamicComponent as me, Fragment as Y, renderList as oe, computed as q, toRefs as pt, onBeforeMount as ii, mergeProps as Xe, Transition as xo, createCommentVNode as B, resolveDirective as Ra, withDirectives as Ee, vModelText as Bt, vModelCheckbox as qo, vModelSelect as Bo, vModelDynamic as ka, isRef as Ct, toRef as Fa, vModelRadio as zo, vShow as Ho, normalizeProps as Go, guardReactiveProps as Yo, useSlots as pn, nextTick as Li } from "vue";
2
2
  import { createI18n as ke } from "@kong-ui-public/i18n";
3
- import { TrashIcon as Ct, SearchIcon as Wo, AddIcon as ii, RemoveIcon as Zo } from "@kong/icons";
3
+ import { TrashIcon as Ot, SearchIcon as Wo, AddIcon as ai, RemoveIcon as Zo } from "@kong/icons";
4
4
  import { isAxiosError as Xo } from "axios";
5
5
  import { useStringHelpers as Jo, useErrors as Qo, useDebouncedFilter as er, useAxios as tr } from "@kong-ui-public/entities-shared";
6
- function Fa(e, t) {
6
+ function Ua(e, t) {
7
7
  for (var n = -1, i = e == null ? 0 : e.length; ++n < i && t(e[n], n, e) !== !1; )
8
8
  ;
9
9
  return e;
@@ -24,90 +24,90 @@ function ar(e, t) {
24
24
  i[n] = t(n);
25
25
  return i;
26
26
  }
27
- var Ua = typeof global == "object" && global && global.Object === Object && global, or = typeof self == "object" && self && self.Object === Object && self, Pe = Ua || or || Function("return this")(), it = Pe.Symbol, Na = Object.prototype, rr = Na.hasOwnProperty, sr = Na.toString, Nt = it ? it.toStringTag : void 0;
27
+ var Na = typeof global == "object" && global && global.Object === Object && global, or = typeof self == "object" && self && self.Object === Object && self, Pe = Na || or || Function("return this")(), at = Pe.Symbol, La = Object.prototype, rr = La.hasOwnProperty, sr = La.toString, Dt = at ? at.toStringTag : void 0;
28
28
  function lr(e) {
29
- var t = rr.call(e, Nt), n = e[Nt];
29
+ var t = rr.call(e, Dt), n = e[Dt];
30
30
  try {
31
- e[Nt] = void 0;
31
+ e[Dt] = void 0;
32
32
  var i = !0;
33
33
  } catch {
34
34
  }
35
35
  var a = sr.call(e);
36
- return i && (t ? e[Nt] = n : delete e[Nt]), a;
36
+ return i && (t ? e[Dt] = n : delete e[Dt]), a;
37
37
  }
38
38
  var dr = Object.prototype, ur = dr.toString;
39
39
  function cr(e) {
40
40
  return ur.call(e);
41
41
  }
42
- var mr = "[object Null]", fr = "[object Undefined]", Li = it ? it.toStringTag : void 0;
43
- function at(e) {
44
- return e == null ? e === void 0 ? fr : mr : Li && Li in Object(e) ? lr(e) : cr(e);
45
- }
42
+ var mr = "[object Null]", fr = "[object Undefined]", Di = at ? at.toStringTag : void 0;
46
43
  function ot(e) {
44
+ return e == null ? e === void 0 ? fr : mr : Di && Di in Object(e) ? lr(e) : cr(e);
45
+ }
46
+ function rt(e) {
47
47
  return e != null && typeof e == "object";
48
48
  }
49
49
  var hr = "[object Arguments]";
50
- function Di(e) {
51
- return ot(e) && at(e) == hr;
50
+ function Pi(e) {
51
+ return rt(e) && ot(e) == hr;
52
52
  }
53
- var La = Object.prototype, pr = La.hasOwnProperty, gr = La.propertyIsEnumerable, yr = Di(/* @__PURE__ */ function() {
53
+ var Da = Object.prototype, pr = Da.hasOwnProperty, gr = Da.propertyIsEnumerable, yr = Pi(/* @__PURE__ */ function() {
54
54
  return arguments;
55
- }()) ? Di : function(e) {
56
- return ot(e) && pr.call(e, "callee") && !gr.call(e, "callee");
57
- }, rt = Array.isArray;
55
+ }()) ? Pi : function(e) {
56
+ return rt(e) && pr.call(e, "callee") && !gr.call(e, "callee");
57
+ }, st = Array.isArray;
58
58
  function vr() {
59
59
  return !1;
60
60
  }
61
- var Da = typeof exports == "object" && exports && !exports.nodeType && exports, Pi = Da && typeof module == "object" && module && !module.nodeType && module, br = Pi && Pi.exports === Da, $i = br ? Pe.Buffer : void 0, _r = $i ? $i.isBuffer : void 0, Pa = _r || vr, Tr = 9007199254740991, Sr = /^(?:0|[1-9]\d*)$/;
62
- function $a(e, t) {
61
+ var Pa = typeof exports == "object" && exports && !exports.nodeType && exports, $i = Pa && typeof module == "object" && module && !module.nodeType && module, br = $i && $i.exports === Pa, Vi = br ? Pe.Buffer : void 0, _r = Vi ? Vi.isBuffer : void 0, $a = _r || vr, Tr = 9007199254740991, Sr = /^(?:0|[1-9]\d*)$/;
62
+ function Va(e, t) {
63
63
  var n = typeof e;
64
64
  return t = t ?? Tr, !!t && (n == "number" || n != "symbol" && Sr.test(e)) && e > -1 && e % 1 == 0 && e < t;
65
65
  }
66
66
  var Er = 9007199254740991;
67
- function Va(e) {
67
+ function ja(e) {
68
68
  return typeof e == "number" && e > -1 && e % 1 == 0 && e <= Er;
69
69
  }
70
70
  var wr = "[object Arguments]", Mr = "[object Array]", Ar = "[object Boolean]", Ir = "[object Date]", Cr = "[object Error]", Or = "[object Function]", Rr = "[object Map]", kr = "[object Number]", Fr = "[object Object]", Ur = "[object RegExp]", Nr = "[object Set]", Lr = "[object String]", Dr = "[object WeakMap]", Pr = "[object ArrayBuffer]", $r = "[object DataView]", Vr = "[object Float32Array]", jr = "[object Float64Array]", Kr = "[object Int8Array]", xr = "[object Int16Array]", qr = "[object Int32Array]", Br = "[object Uint8Array]", zr = "[object Uint8ClampedArray]", Hr = "[object Uint16Array]", Gr = "[object Uint32Array]", Q = {};
71
71
  Q[Vr] = Q[jr] = Q[Kr] = Q[xr] = Q[qr] = Q[Br] = Q[zr] = Q[Hr] = Q[Gr] = !0;
72
72
  Q[wr] = Q[Mr] = Q[Pr] = Q[Ar] = Q[$r] = Q[Ir] = Q[Cr] = Q[Or] = Q[Rr] = Q[kr] = Q[Fr] = Q[Ur] = Q[Nr] = Q[Lr] = Q[Dr] = !1;
73
73
  function Yr(e) {
74
- return ot(e) && Va(e.length) && !!Q[at(e)];
74
+ return rt(e) && ja(e.length) && !!Q[ot(e)];
75
75
  }
76
- function ai(e) {
76
+ function oi(e) {
77
77
  return function(t) {
78
78
  return e(t);
79
79
  };
80
80
  }
81
- var ja = typeof exports == "object" && exports && !exports.nodeType && exports, xt = ja && typeof module == "object" && module && !module.nodeType && module, Wr = xt && xt.exports === ja, Dn = Wr && Ua.process, Mt = function() {
81
+ var Ka = typeof exports == "object" && exports && !exports.nodeType && exports, zt = Ka && typeof module == "object" && module && !module.nodeType && module, Wr = zt && zt.exports === Ka, Pn = Wr && Na.process, At = function() {
82
82
  try {
83
- var e = xt && xt.require && xt.require("util").types;
84
- return e || Dn && Dn.binding && Dn.binding("util");
83
+ var e = zt && zt.require && zt.require("util").types;
84
+ return e || Pn && Pn.binding && Pn.binding("util");
85
85
  } catch {
86
86
  }
87
- }(), Vi = Mt && Mt.isTypedArray, Zr = Vi ? ai(Vi) : Yr, Xr = Object.prototype, Jr = Xr.hasOwnProperty;
88
- function Ka(e, t) {
89
- var n = rt(e), i = !n && yr(e), a = !n && !i && Pa(e), o = !n && !i && !a && Zr(e), r = n || i || a || o, s = r ? ar(e.length, String) : [], d = s.length;
87
+ }(), ji = At && At.isTypedArray, Zr = ji ? oi(ji) : Yr, Xr = Object.prototype, Jr = Xr.hasOwnProperty;
88
+ function xa(e, t) {
89
+ var n = st(e), i = !n && yr(e), a = !n && !i && $a(e), o = !n && !i && !a && Zr(e), r = n || i || a || o, s = r ? ar(e.length, String) : [], d = s.length;
90
90
  for (var u in e)
91
91
  (t || Jr.call(e, u)) && !(r && // Safari 9 has enumerable `arguments.length` in strict mode.
92
92
  (u == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
93
93
  a && (u == "offset" || u == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
94
94
  o && (u == "buffer" || u == "byteLength" || u == "byteOffset") || // Skip index properties.
95
- $a(u, d))) && s.push(u);
95
+ Va(u, d))) && s.push(u);
96
96
  return s;
97
97
  }
98
98
  var Qr = Object.prototype;
99
- function oi(e) {
99
+ function ri(e) {
100
100
  var t = e && e.constructor, n = typeof t == "function" && t.prototype || Qr;
101
101
  return e === n;
102
102
  }
103
- function xa(e, t) {
103
+ function qa(e, t) {
104
104
  return function(n) {
105
105
  return e(t(n));
106
106
  };
107
107
  }
108
- var es = xa(Object.keys, Object), ts = Object.prototype, ns = ts.hasOwnProperty;
108
+ var es = qa(Object.keys, Object), ts = Object.prototype, ns = ts.hasOwnProperty;
109
109
  function is(e) {
110
- if (!oi(e))
110
+ if (!ri(e))
111
111
  return es(e);
112
112
  var t = [];
113
113
  for (var n in Object(e))
@@ -122,14 +122,14 @@ var as = "[object AsyncFunction]", os = "[object Function]", rs = "[object Gener
122
122
  function X(e) {
123
123
  if (!Re(e))
124
124
  return !1;
125
- var t = at(e);
125
+ var t = ot(e);
126
126
  return t == os || t == rs || t == as || t == ss;
127
127
  }
128
128
  function gn(e) {
129
- return e != null && Va(e.length) && !X(e);
129
+ return e != null && ja(e.length) && !X(e);
130
130
  }
131
131
  function yn(e) {
132
- return gn(e) ? Ka(e) : is(e);
132
+ return gn(e) ? xa(e) : is(e);
133
133
  }
134
134
  function ls(e, t) {
135
135
  return e && ir(e, t, yn);
@@ -146,36 +146,36 @@ function ds(e, t) {
146
146
  };
147
147
  }
148
148
  var us = ds(ls);
149
- function ri(e) {
149
+ function si(e) {
150
150
  return e;
151
151
  }
152
152
  function cs(e) {
153
- return typeof e == "function" ? e : ri;
153
+ return typeof e == "function" ? e : si;
154
154
  }
155
155
  function Se(e, t) {
156
- var n = rt(e) ? Fa : us;
156
+ var n = st(e) ? Ua : us;
157
157
  return n(e, cs(t));
158
158
  }
159
159
  var ms = "[object Symbol]";
160
160
  function vn(e) {
161
- return typeof e == "symbol" || ot(e) && at(e) == ms;
161
+ return typeof e == "symbol" || rt(e) && ot(e) == ms;
162
162
  }
163
163
  var fs = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, hs = /^\w*$/;
164
164
  function ps(e, t) {
165
- if (rt(e))
165
+ if (st(e))
166
166
  return !1;
167
167
  var n = typeof e;
168
168
  return n == "number" || n == "symbol" || n == "boolean" || e == null || vn(e) ? !0 : hs.test(e) || !fs.test(e) || t != null && e in Object(t);
169
169
  }
170
- var Pn = Pe["__core-js_shared__"], ji = function() {
171
- var e = /[^.]+$/.exec(Pn && Pn.keys && Pn.keys.IE_PROTO || "");
170
+ var $n = Pe["__core-js_shared__"], Ki = function() {
171
+ var e = /[^.]+$/.exec($n && $n.keys && $n.keys.IE_PROTO || "");
172
172
  return e ? "Symbol(src)_1." + e : "";
173
173
  }();
174
174
  function gs(e) {
175
- return !!ji && ji in e;
175
+ return !!Ki && Ki in e;
176
176
  }
177
177
  var ys = Function.prototype, vs = ys.toString;
178
- function ht(e) {
178
+ function gt(e) {
179
179
  if (e != null) {
180
180
  try {
181
181
  return vs.call(e);
@@ -195,18 +195,18 @@ function As(e) {
195
195
  if (!Re(e) || gs(e))
196
196
  return !1;
197
197
  var t = X(e) ? Ms : _s;
198
- return t.test(ht(e));
198
+ return t.test(gt(e));
199
199
  }
200
200
  function Is(e, t) {
201
201
  return e == null ? void 0 : e[t];
202
202
  }
203
- function pt(e, t) {
203
+ function yt(e, t) {
204
204
  var n = Is(e, t);
205
205
  return As(n) ? n : void 0;
206
206
  }
207
- var Ht = pt(Object, "create");
207
+ var Wt = yt(Object, "create");
208
208
  function Cs() {
209
- this.__data__ = Ht ? Ht(null) : {}, this.size = 0;
209
+ this.__data__ = Wt ? Wt(null) : {}, this.size = 0;
210
210
  }
211
211
  function Os(e) {
212
212
  var t = this.has(e) && delete this.__data__[e];
@@ -215,7 +215,7 @@ function Os(e) {
215
215
  var Rs = "__lodash_hash_undefined__", ks = Object.prototype, Fs = ks.hasOwnProperty;
216
216
  function Us(e) {
217
217
  var t = this.__data__;
218
- if (Ht) {
218
+ if (Wt) {
219
219
  var n = t[e];
220
220
  return n === Rs ? void 0 : n;
221
221
  }
@@ -224,25 +224,25 @@ function Us(e) {
224
224
  var Ns = Object.prototype, Ls = Ns.hasOwnProperty;
225
225
  function Ds(e) {
226
226
  var t = this.__data__;
227
- return Ht ? t[e] !== void 0 : Ls.call(t, e);
227
+ return Wt ? t[e] !== void 0 : Ls.call(t, e);
228
228
  }
229
229
  var Ps = "__lodash_hash_undefined__";
230
230
  function $s(e, t) {
231
231
  var n = this.__data__;
232
- return this.size += this.has(e) ? 0 : 1, n[e] = Ht && t === void 0 ? Ps : t, this;
232
+ return this.size += this.has(e) ? 0 : 1, n[e] = Wt && t === void 0 ? Ps : t, this;
233
233
  }
234
- function dt(e) {
234
+ function ct(e) {
235
235
  var t = -1, n = e == null ? 0 : e.length;
236
236
  for (this.clear(); ++t < n; ) {
237
237
  var i = e[t];
238
238
  this.set(i[0], i[1]);
239
239
  }
240
240
  }
241
- dt.prototype.clear = Cs;
242
- dt.prototype.delete = Os;
243
- dt.prototype.get = Us;
244
- dt.prototype.has = Ds;
245
- dt.prototype.set = $s;
241
+ ct.prototype.clear = Cs;
242
+ ct.prototype.delete = Os;
243
+ ct.prototype.get = Us;
244
+ ct.prototype.has = Ds;
245
+ ct.prototype.set = $s;
246
246
  function Vs() {
247
247
  this.__data__ = [], this.size = 0;
248
248
  }
@@ -286,12 +286,12 @@ Je.prototype.delete = xs;
286
286
  Je.prototype.get = qs;
287
287
  Je.prototype.has = Bs;
288
288
  Je.prototype.set = zs;
289
- var Gt = pt(Pe, "Map");
289
+ var Zt = yt(Pe, "Map");
290
290
  function Hs() {
291
291
  this.size = 0, this.__data__ = {
292
- hash: new dt(),
293
- map: new (Gt || Je)(),
294
- string: new dt()
292
+ hash: new ct(),
293
+ map: new (Zt || Je)(),
294
+ string: new ct()
295
295
  };
296
296
  }
297
297
  function Gs(e) {
@@ -329,7 +329,7 @@ Qe.prototype.get = Ws;
329
329
  Qe.prototype.has = Zs;
330
330
  Qe.prototype.set = Xs;
331
331
  var Js = "Expected a function";
332
- function si(e, t) {
332
+ function li(e, t) {
333
333
  if (typeof e != "function" || t != null && typeof t != "function")
334
334
  throw new TypeError(Js);
335
335
  var n = function() {
@@ -339,12 +339,12 @@ function si(e, t) {
339
339
  var r = e.apply(this, i);
340
340
  return n.cache = o.set(a, r) || o, r;
341
341
  };
342
- return n.cache = new (si.Cache || Qe)(), n;
342
+ return n.cache = new (li.Cache || Qe)(), n;
343
343
  }
344
- si.Cache = Qe;
344
+ li.Cache = Qe;
345
345
  var Qs = 500;
346
346
  function el(e) {
347
- var t = si(e, function(i) {
347
+ var t = li(e, function(i) {
348
348
  return n.size === Qs && n.clear(), i;
349
349
  }), n = t.cache;
350
350
  return t;
@@ -360,22 +360,22 @@ function al(e, t) {
360
360
  a[n] = t(e[n], n, e);
361
361
  return a;
362
362
  }
363
- var Ki = it ? it.prototype : void 0, xi = Ki ? Ki.toString : void 0;
364
- function qa(e) {
363
+ var xi = at ? at.prototype : void 0, qi = xi ? xi.toString : void 0;
364
+ function Ba(e) {
365
365
  if (typeof e == "string")
366
366
  return e;
367
- if (rt(e))
368
- return al(e, qa) + "";
367
+ if (st(e))
368
+ return al(e, Ba) + "";
369
369
  if (vn(e))
370
- return xi ? xi.call(e) : "";
370
+ return qi ? qi.call(e) : "";
371
371
  var t = e + "";
372
372
  return t == "0" && 1 / e == -1 / 0 ? "-0" : t;
373
373
  }
374
- function Ba(e) {
375
- return e == null ? "" : qa(e);
374
+ function za(e) {
375
+ return e == null ? "" : Ba(e);
376
376
  }
377
377
  function ol(e, t) {
378
- return rt(e) ? e : ps(e, t) ? [e] : il(Ba(e));
378
+ return st(e) ? e : ps(e, t) ? [e] : il(za(e));
379
379
  }
380
380
  function rl(e) {
381
381
  if (typeof e == "string" || vn(e))
@@ -396,16 +396,16 @@ function Z(e, t, n) {
396
396
  function de(e) {
397
397
  return e == null;
398
398
  }
399
- const Ne = "kong-ui-forms-api", ll = "kong-ui-forms-config", dl = "redis-partial-list-fetcher-key", Ap = "redis-partial-info", Ot = "autofill", Le = "autofillSlot", qe = {
399
+ const Ne = "kong-ui-forms-api", ll = "kong-ui-forms-config", dl = "redis-partial-list-fetcher-key", Ap = "redis-partial-info", Rt = "autofill", Le = "autofillSlot", ze = {
400
400
  CREATE_NOT_FROM_ENTITY: "CREATE_NOT_FROM_ENTITY",
401
401
  CREATE_FROM_ENTITY: "CREATE_FROM_ENTITY",
402
402
  UPDATE_ENTITY: "UPDATE_ENTITY",
403
403
  SET_REFERRAL_VALUE: "SET_REFERRAL_VALUE"
404
404
  }, ul = "—";
405
- /*! @license DOMPurify 3.3.2 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.3.2/LICENSE */
405
+ /*! @license DOMPurify 3.4.0 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.0/LICENSE */
406
406
  const {
407
- entries: za,
408
- setPrototypeOf: qi,
407
+ entries: Ha,
408
+ setPrototypeOf: Bi,
409
409
  isFrozen: cl,
410
410
  getPrototypeOf: ml,
411
411
  getOwnPropertyDescriptor: fl
@@ -413,10 +413,10 @@ const {
413
413
  let {
414
414
  freeze: we,
415
415
  seal: De,
416
- create: ln
416
+ create: qt
417
417
  } = Object, {
418
- apply: Gn,
419
- construct: Yn
418
+ apply: Yn,
419
+ construct: Wn
420
420
  } = typeof Reflect < "u" && Reflect;
421
421
  we || (we = function(t) {
422
422
  return t;
@@ -424,35 +424,35 @@ we || (we = function(t) {
424
424
  De || (De = function(t) {
425
425
  return t;
426
426
  });
427
- Gn || (Gn = function(t, n) {
427
+ Yn || (Yn = function(t, n) {
428
428
  for (var i = arguments.length, a = new Array(i > 2 ? i - 2 : 0), o = 2; o < i; o++)
429
429
  a[o - 2] = arguments[o];
430
430
  return t.apply(n, a);
431
431
  });
432
- Yn || (Yn = function(t) {
432
+ Wn || (Wn = function(t) {
433
433
  for (var n = arguments.length, i = new Array(n > 1 ? n - 1 : 0), a = 1; a < n; a++)
434
434
  i[a - 1] = arguments[a];
435
435
  return new t(...i);
436
436
  });
437
- const rn = Me(Array.prototype.forEach), hl = Me(Array.prototype.lastIndexOf), Bi = Me(Array.prototype.pop), Lt = Me(Array.prototype.push), pl = Me(Array.prototype.splice), dn = Me(String.prototype.toLowerCase), $n = Me(String.prototype.toString), Vn = Me(String.prototype.match), Dt = Me(String.prototype.replace), gl = Me(String.prototype.indexOf), yl = Me(String.prototype.trim), Oe = Me(Object.prototype.hasOwnProperty), Te = Me(RegExp.prototype.test), Pt = vl(TypeError);
437
+ const Pt = Me(Array.prototype.forEach), hl = Me(Array.prototype.lastIndexOf), zi = Me(Array.prototype.pop), $t = Me(Array.prototype.push), pl = Me(Array.prototype.splice), dn = Me(String.prototype.toLowerCase), Vn = Me(String.prototype.toString), jn = Me(String.prototype.match), St = Me(String.prototype.replace), gl = Me(String.prototype.indexOf), yl = Me(String.prototype.trim), Ve = Me(Object.prototype.hasOwnProperty), Te = Me(RegExp.prototype.test), Vt = vl(TypeError);
438
438
  function Me(e) {
439
439
  return function(t) {
440
440
  t instanceof RegExp && (t.lastIndex = 0);
441
441
  for (var n = arguments.length, i = new Array(n > 1 ? n - 1 : 0), a = 1; a < n; a++)
442
442
  i[a - 1] = arguments[a];
443
- return Gn(e, t, i);
443
+ return Yn(e, t, i);
444
444
  };
445
445
  }
446
446
  function vl(e) {
447
447
  return function() {
448
448
  for (var t = arguments.length, n = new Array(t), i = 0; i < t; i++)
449
449
  n[i] = arguments[i];
450
- return Yn(e, n);
450
+ return Wn(e, n);
451
451
  };
452
452
  }
453
453
  function z(e, t) {
454
454
  let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : dn;
455
- qi && qi(e, null);
455
+ Bi && Bi(e, null);
456
456
  let i = t.length;
457
457
  for (; i--; ) {
458
458
  let a = t[i];
@@ -466,16 +466,16 @@ function z(e, t) {
466
466
  }
467
467
  function bl(e) {
468
468
  for (let t = 0; t < e.length; t++)
469
- Oe(e, t) || (e[t] = null);
469
+ Ve(e, t) || (e[t] = null);
470
470
  return e;
471
471
  }
472
- function xe(e) {
473
- const t = ln(null);
474
- for (const [n, i] of za(e))
475
- Oe(e, n) && (Array.isArray(i) ? t[n] = bl(i) : i && typeof i == "object" && i.constructor === Object ? t[n] = xe(i) : t[n] = i);
472
+ function Be(e) {
473
+ const t = qt(null);
474
+ for (const [n, i] of Ha(e))
475
+ Ve(e, n) && (Array.isArray(i) ? t[n] = bl(i) : i && typeof i == "object" && i.constructor === Object ? t[n] = Be(i) : t[n] = i);
476
476
  return t;
477
477
  }
478
- function $t(e, t) {
478
+ function jt(e, t) {
479
479
  for (; e !== null; ) {
480
480
  const i = fl(e, t);
481
481
  if (i) {
@@ -491,27 +491,27 @@ function $t(e, t) {
491
491
  }
492
492
  return n;
493
493
  }
494
- const zi = we(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "search", "section", "select", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), jn = we(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "enterkeyhint", "exportparts", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "inputmode", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "part", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), Kn = we(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), _l = we(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), xn = we(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), Tl = we(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Hi = we(["#text"]), Gi = we(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "exportparts", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inert", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "part", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "slot", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), qn = we(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "mask-type", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), Yi = we(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), sn = we(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Sl = De(/\{\{[\w\W]*|[\w\W]*\}\}/gm), El = De(/<%[\w\W]*|[\w\W]*%>/gm), wl = De(/\$\{[\w\W]*/gm), Ml = De(/^data-[\-\w.\u00B7-\uFFFF]+$/), Al = De(/^aria-[\-\w]+$/), Ha = De(
494
+ const Hi = we(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "search", "section", "select", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), Kn = we(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "enterkeyhint", "exportparts", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "inputmode", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "part", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), xn = we(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), _l = we(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), qn = we(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), Tl = we(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Gi = we(["#text"]), Yi = we(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "exportparts", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inert", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "part", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "slot", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), Bn = we(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "mask-type", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), Wi = we(["accent", "accentunder", "align", "bevelled", "close", "columnalign", "columnlines", "columnspacing", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lquote", "lspace", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), ln = we(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Sl = De(/\{\{[\w\W]*|[\w\W]*\}\}/gm), El = De(/<%[\w\W]*|[\w\W]*%>/gm), wl = De(/\$\{[\w\W]*/gm), Ml = De(/^data-[\-\w.\u00B7-\uFFFF]+$/), Al = De(/^aria-[\-\w]+$/), Ga = De(
495
495
  /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
496
496
  // eslint-disable-line no-useless-escape
497
497
  ), Il = De(/^(?:\w+script|data):/i), Cl = De(
498
498
  /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
499
499
  // eslint-disable-line no-control-regex
500
- ), Ga = De(/^html$/i), Ol = De(/^[a-z][.\w]*(-[.\w]+)+$/i);
501
- var Wi = /* @__PURE__ */ Object.freeze({
500
+ ), Ya = De(/^html$/i), Ol = De(/^[a-z][.\w]*(-[.\w]+)+$/i);
501
+ var Zi = /* @__PURE__ */ Object.freeze({
502
502
  __proto__: null,
503
503
  ARIA_ATTR: Al,
504
504
  ATTR_WHITESPACE: Cl,
505
505
  CUSTOM_ELEMENT: Ol,
506
506
  DATA_ATTR: Ml,
507
- DOCTYPE_NAME: Ga,
507
+ DOCTYPE_NAME: Ya,
508
508
  ERB_EXPR: El,
509
- IS_ALLOWED_URI: Ha,
509
+ IS_ALLOWED_URI: Ga,
510
510
  IS_SCRIPT_OR_DATA: Il,
511
511
  MUSTACHE_EXPR: Sl,
512
512
  TMPLIT_EXPR: wl
513
513
  });
514
- const Vt = {
514
+ const Kt = {
515
515
  element: 1,
516
516
  text: 3,
517
517
  // Deprecated
@@ -539,7 +539,7 @@ const Vt = {
539
539
  } catch {
540
540
  return console.warn("TrustedTypes policy " + o + " could not be created."), null;
541
541
  }
542
- }, Zi = function() {
542
+ }, Xi = function() {
543
543
  return {
544
544
  afterSanitizeAttributes: [],
545
545
  afterSanitizeElements: [],
@@ -552,10 +552,10 @@ const Vt = {
552
552
  uponSanitizeShadowNode: []
553
553
  };
554
554
  };
555
- function Ya() {
555
+ function Wa() {
556
556
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Rl();
557
- const t = (K) => Ya(K);
558
- if (t.version = "3.3.2", t.removed = [], !e || !e.document || e.document.nodeType !== Vt.document || !e.Element)
557
+ const t = (K) => Wa(K);
558
+ if (t.version = "3.4.0", t.removed = [], !e || !e.document || e.document.nodeType !== Kt.document || !e.Element)
559
559
  return t.isSupported = !1, t;
560
560
  let {
561
561
  document: n
@@ -570,7 +570,7 @@ function Ya() {
570
570
  HTMLFormElement: f,
571
571
  DOMParser: p,
572
572
  trustedTypes: T
573
- } = e, k = d.prototype, v = $t(k, "cloneNode"), N = $t(k, "remove"), U = $t(k, "nextSibling"), H = $t(k, "childNodes"), D = $t(k, "parentNode");
573
+ } = e, k = d.prototype, v = jt(k, "cloneNode"), N = jt(k, "remove"), U = jt(k, "nextSibling"), H = jt(k, "childNodes"), P = jt(k, "parentNode");
574
574
  if (typeof r == "function") {
575
575
  const K = n.createElement("template");
576
576
  K.content && K.content.ownerDocument && (n = K.content.ownerDocument);
@@ -584,25 +584,25 @@ function Ya() {
584
584
  } = n, {
585
585
  importNode: m
586
586
  } = i;
587
- let g = Zi();
588
- t.isSupported = typeof za == "function" && typeof D == "function" && E && E.createHTMLDocument !== void 0;
587
+ let g = Xi();
588
+ t.isSupported = typeof Ha == "function" && typeof P == "function" && E && E.createHTMLDocument !== void 0;
589
589
  const {
590
590
  MUSTACHE_EXPR: w,
591
591
  ERB_EXPR: L,
592
592
  TMPLIT_EXPR: G,
593
593
  DATA_ATTR: ye,
594
- ARIA_ATTR: Be,
594
+ ARIA_ATTR: He,
595
595
  IS_SCRIPT_OR_DATA: he,
596
- ATTR_WHITESPACE: ze,
596
+ ATTR_WHITESPACE: Ge,
597
597
  CUSTOM_ELEMENT: wn
598
- } = Wi;
598
+ } = Zi;
599
599
  let {
600
- IS_ALLOWED_URI: Zt
601
- } = Wi, x = null;
602
- const ie = z({}, [...zi, ...jn, ...Kn, ...xn, ...Hi]);
600
+ IS_ALLOWED_URI: Qt
601
+ } = Zi, x = null;
602
+ const ie = z({}, [...Hi, ...Kn, ...xn, ...qn, ...Gi]);
603
603
  let re = null;
604
- const mi = z({}, [...Gi, ...qn, ...Yi, ...sn]);
605
- let se = Object.seal(ln(null, {
604
+ const fi = z({}, [...Yi, ...Bn, ...Wi, ...ln]);
605
+ let se = Object.seal(qt(null, {
606
606
  tagNameCheck: {
607
607
  writable: !0,
608
608
  configurable: !1,
@@ -621,8 +621,8 @@ function Ya() {
621
621
  enumerable: !0,
622
622
  value: !1
623
623
  }
624
- })), kt = null, Xt = null;
625
- const et = Object.seal(ln(null, {
624
+ })), Ft = null, en = null;
625
+ const et = Object.seal(qt(null, {
626
626
  tagCheck: {
627
627
  writable: !0,
628
628
  configurable: !1,
@@ -636,70 +636,70 @@ function Ya() {
636
636
  value: null
637
637
  }
638
638
  }));
639
- let fi = !0, Mn = !0, hi = !1, pi = !0, gt = !1, Jt = !0, st = !1, An = !1, In = !1, yt = !1, Qt = !1, en = !1, gi = !0, yi = !1;
640
- const Uo = "user-content-";
641
- let Cn = !0, Ft = !1, vt = {}, je = null;
639
+ let hi = !0, Mn = !0, pi = !1, gi = !0, lt = !1, Ut = !0, dt = !1, An = !1, In = !1, vt = !1, tn = !1, nn = !1, yi = !0, vi = !1;
640
+ const No = "user-content-";
641
+ let Cn = !0, Nt = !1, bt = {}, xe = null;
642
642
  const On = z({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
643
- let vi = null;
644
- const bi = z({}, ["audio", "video", "img", "source", "image", "track"]);
643
+ let bi = null;
644
+ const _i = z({}, ["audio", "video", "img", "source", "image", "track"]);
645
645
  let Rn = null;
646
- const _i = z({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), tn = "http://www.w3.org/1998/Math/MathML", nn = "http://www.w3.org/2000/svg", He = "http://www.w3.org/1999/xhtml";
647
- let bt = He, kn = !1, Fn = null;
648
- const No = z({}, [tn, nn, He], $n);
649
- let an = z({}, ["mi", "mo", "mn", "ms", "mtext"]), on = z({}, ["annotation-xml"]);
650
- const Lo = z({}, ["title", "style", "font", "a", "script"]);
651
- let Ut = null;
652
- const Do = ["application/xhtml+xml", "text/html"], Po = "text/html";
653
- let ge = null, _t = null;
654
- const $o = n.createElement("form"), Ti = function(l) {
646
+ const Ti = z({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), an = "http://www.w3.org/1998/Math/MathML", on = "http://www.w3.org/2000/svg", qe = "http://www.w3.org/1999/xhtml";
647
+ let _t = qe, kn = !1, Fn = null;
648
+ const Lo = z({}, [an, on, qe], Vn);
649
+ let rn = z({}, ["mi", "mo", "mn", "ms", "mtext"]), sn = z({}, ["annotation-xml"]);
650
+ const Do = z({}, ["title", "style", "font", "a", "script"]);
651
+ let Lt = null;
652
+ const Po = ["application/xhtml+xml", "text/html"], $o = "text/html";
653
+ let ge = null, Tt = null;
654
+ const Vo = n.createElement("form"), Si = function(l) {
655
655
  return l instanceof RegExp || l instanceof Function;
656
656
  }, Un = function() {
657
657
  let l = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
658
- if (!(_t && _t === l)) {
659
- if ((!l || typeof l != "object") && (l = {}), l = xe(l), Ut = // eslint-disable-next-line unicorn/prefer-includes
660
- Do.indexOf(l.PARSER_MEDIA_TYPE) === -1 ? Po : l.PARSER_MEDIA_TYPE, ge = Ut === "application/xhtml+xml" ? $n : dn, x = Oe(l, "ALLOWED_TAGS") ? z({}, l.ALLOWED_TAGS, ge) : ie, re = Oe(l, "ALLOWED_ATTR") ? z({}, l.ALLOWED_ATTR, ge) : mi, Fn = Oe(l, "ALLOWED_NAMESPACES") ? z({}, l.ALLOWED_NAMESPACES, $n) : No, Rn = Oe(l, "ADD_URI_SAFE_ATTR") ? z(xe(_i), l.ADD_URI_SAFE_ATTR, ge) : _i, vi = Oe(l, "ADD_DATA_URI_TAGS") ? z(xe(bi), l.ADD_DATA_URI_TAGS, ge) : bi, je = Oe(l, "FORBID_CONTENTS") ? z({}, l.FORBID_CONTENTS, ge) : On, kt = Oe(l, "FORBID_TAGS") ? z({}, l.FORBID_TAGS, ge) : xe({}), Xt = Oe(l, "FORBID_ATTR") ? z({}, l.FORBID_ATTR, ge) : xe({}), vt = Oe(l, "USE_PROFILES") ? l.USE_PROFILES : !1, fi = l.ALLOW_ARIA_ATTR !== !1, Mn = l.ALLOW_DATA_ATTR !== !1, hi = l.ALLOW_UNKNOWN_PROTOCOLS || !1, pi = l.ALLOW_SELF_CLOSE_IN_ATTR !== !1, gt = l.SAFE_FOR_TEMPLATES || !1, Jt = l.SAFE_FOR_XML !== !1, st = l.WHOLE_DOCUMENT || !1, yt = l.RETURN_DOM || !1, Qt = l.RETURN_DOM_FRAGMENT || !1, en = l.RETURN_TRUSTED_TYPE || !1, In = l.FORCE_BODY || !1, gi = l.SANITIZE_DOM !== !1, yi = l.SANITIZE_NAMED_PROPS || !1, Cn = l.KEEP_CONTENT !== !1, Ft = l.IN_PLACE || !1, Zt = l.ALLOWED_URI_REGEXP || Ha, bt = l.NAMESPACE || He, an = l.MATHML_TEXT_INTEGRATION_POINTS || an, on = l.HTML_INTEGRATION_POINTS || on, se = l.CUSTOM_ELEMENT_HANDLING || {}, l.CUSTOM_ELEMENT_HANDLING && Ti(l.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (se.tagNameCheck = l.CUSTOM_ELEMENT_HANDLING.tagNameCheck), l.CUSTOM_ELEMENT_HANDLING && Ti(l.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (se.attributeNameCheck = l.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), l.CUSTOM_ELEMENT_HANDLING && typeof l.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (se.allowCustomizedBuiltInElements = l.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), gt && (Mn = !1), Qt && (yt = !0), vt && (x = z({}, Hi), re = ln(null), vt.html === !0 && (z(x, zi), z(re, Gi)), vt.svg === !0 && (z(x, jn), z(re, qn), z(re, sn)), vt.svgFilters === !0 && (z(x, Kn), z(re, qn), z(re, sn)), vt.mathMl === !0 && (z(x, xn), z(re, Yi), z(re, sn))), Oe(l, "ADD_TAGS") || (et.tagCheck = null), Oe(l, "ADD_ATTR") || (et.attributeCheck = null), l.ADD_TAGS && (typeof l.ADD_TAGS == "function" ? et.tagCheck = l.ADD_TAGS : (x === ie && (x = xe(x)), z(x, l.ADD_TAGS, ge))), l.ADD_ATTR && (typeof l.ADD_ATTR == "function" ? et.attributeCheck = l.ADD_ATTR : (re === mi && (re = xe(re)), z(re, l.ADD_ATTR, ge))), l.ADD_URI_SAFE_ATTR && z(Rn, l.ADD_URI_SAFE_ATTR, ge), l.FORBID_CONTENTS && (je === On && (je = xe(je)), z(je, l.FORBID_CONTENTS, ge)), l.ADD_FORBID_CONTENTS && (je === On && (je = xe(je)), z(je, l.ADD_FORBID_CONTENTS, ge)), Cn && (x["#text"] = !0), st && z(x, ["html", "head", "body"]), x.table && (z(x, ["tbody"]), delete kt.tbody), l.TRUSTED_TYPES_POLICY) {
658
+ if (!(Tt && Tt === l)) {
659
+ if ((!l || typeof l != "object") && (l = {}), l = Be(l), Lt = // eslint-disable-next-line unicorn/prefer-includes
660
+ Po.indexOf(l.PARSER_MEDIA_TYPE) === -1 ? $o : l.PARSER_MEDIA_TYPE, ge = Lt === "application/xhtml+xml" ? Vn : dn, x = Ve(l, "ALLOWED_TAGS") ? z({}, l.ALLOWED_TAGS, ge) : ie, re = Ve(l, "ALLOWED_ATTR") ? z({}, l.ALLOWED_ATTR, ge) : fi, Fn = Ve(l, "ALLOWED_NAMESPACES") ? z({}, l.ALLOWED_NAMESPACES, Vn) : Lo, Rn = Ve(l, "ADD_URI_SAFE_ATTR") ? z(Be(Ti), l.ADD_URI_SAFE_ATTR, ge) : Ti, bi = Ve(l, "ADD_DATA_URI_TAGS") ? z(Be(_i), l.ADD_DATA_URI_TAGS, ge) : _i, xe = Ve(l, "FORBID_CONTENTS") ? z({}, l.FORBID_CONTENTS, ge) : On, Ft = Ve(l, "FORBID_TAGS") ? z({}, l.FORBID_TAGS, ge) : Be({}), en = Ve(l, "FORBID_ATTR") ? z({}, l.FORBID_ATTR, ge) : Be({}), bt = Ve(l, "USE_PROFILES") ? l.USE_PROFILES : !1, hi = l.ALLOW_ARIA_ATTR !== !1, Mn = l.ALLOW_DATA_ATTR !== !1, pi = l.ALLOW_UNKNOWN_PROTOCOLS || !1, gi = l.ALLOW_SELF_CLOSE_IN_ATTR !== !1, lt = l.SAFE_FOR_TEMPLATES || !1, Ut = l.SAFE_FOR_XML !== !1, dt = l.WHOLE_DOCUMENT || !1, vt = l.RETURN_DOM || !1, tn = l.RETURN_DOM_FRAGMENT || !1, nn = l.RETURN_TRUSTED_TYPE || !1, In = l.FORCE_BODY || !1, yi = l.SANITIZE_DOM !== !1, vi = l.SANITIZE_NAMED_PROPS || !1, Cn = l.KEEP_CONTENT !== !1, Nt = l.IN_PLACE || !1, Qt = l.ALLOWED_URI_REGEXP || Ga, _t = l.NAMESPACE || qe, rn = l.MATHML_TEXT_INTEGRATION_POINTS || rn, sn = l.HTML_INTEGRATION_POINTS || sn, se = l.CUSTOM_ELEMENT_HANDLING || qt(null), l.CUSTOM_ELEMENT_HANDLING && Si(l.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (se.tagNameCheck = l.CUSTOM_ELEMENT_HANDLING.tagNameCheck), l.CUSTOM_ELEMENT_HANDLING && Si(l.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (se.attributeNameCheck = l.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), l.CUSTOM_ELEMENT_HANDLING && typeof l.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (se.allowCustomizedBuiltInElements = l.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), lt && (Mn = !1), tn && (vt = !0), bt && (x = z({}, Gi), re = qt(null), bt.html === !0 && (z(x, Hi), z(re, Yi)), bt.svg === !0 && (z(x, Kn), z(re, Bn), z(re, ln)), bt.svgFilters === !0 && (z(x, xn), z(re, Bn), z(re, ln)), bt.mathMl === !0 && (z(x, qn), z(re, Wi), z(re, ln))), et.tagCheck = null, et.attributeCheck = null, l.ADD_TAGS && (typeof l.ADD_TAGS == "function" ? et.tagCheck = l.ADD_TAGS : (x === ie && (x = Be(x)), z(x, l.ADD_TAGS, ge))), l.ADD_ATTR && (typeof l.ADD_ATTR == "function" ? et.attributeCheck = l.ADD_ATTR : (re === fi && (re = Be(re)), z(re, l.ADD_ATTR, ge))), l.ADD_URI_SAFE_ATTR && z(Rn, l.ADD_URI_SAFE_ATTR, ge), l.FORBID_CONTENTS && (xe === On && (xe = Be(xe)), z(xe, l.FORBID_CONTENTS, ge)), l.ADD_FORBID_CONTENTS && (xe === On && (xe = Be(xe)), z(xe, l.ADD_FORBID_CONTENTS, ge)), Cn && (x["#text"] = !0), dt && z(x, ["html", "head", "body"]), x.table && (z(x, ["tbody"]), delete Ft.tbody), l.TRUSTED_TYPES_POLICY) {
661
661
  if (typeof l.TRUSTED_TYPES_POLICY.createHTML != "function")
662
- throw Pt('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
662
+ throw Vt('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
663
663
  if (typeof l.TRUSTED_TYPES_POLICY.createScriptURL != "function")
664
- throw Pt('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
664
+ throw Vt('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
665
665
  M = l.TRUSTED_TYPES_POLICY, O = M.createHTML("");
666
666
  } else
667
667
  M === void 0 && (M = kl(T, a)), M !== null && typeof O == "string" && (O = M.createHTML(""));
668
- we && we(l), _t = l;
668
+ we && we(l), Tt = l;
669
669
  }
670
- }, Si = z({}, [...jn, ...Kn, ..._l]), Ei = z({}, [...xn, ...Tl]), Vo = function(l) {
671
- let S = D(l);
670
+ }, Ei = z({}, [...Kn, ...xn, ..._l]), wi = z({}, [...qn, ...Tl]), jo = function(l) {
671
+ let S = P(l);
672
672
  (!S || !S.tagName) && (S = {
673
- namespaceURI: bt,
673
+ namespaceURI: _t,
674
674
  tagName: "template"
675
675
  });
676
- const P = dn(l.tagName), te = dn(S.tagName);
677
- return Fn[l.namespaceURI] ? l.namespaceURI === nn ? S.namespaceURI === He ? P === "svg" : S.namespaceURI === tn ? P === "svg" && (te === "annotation-xml" || an[te]) : !!Si[P] : l.namespaceURI === tn ? S.namespaceURI === He ? P === "math" : S.namespaceURI === nn ? P === "math" && on[te] : !!Ei[P] : l.namespaceURI === He ? S.namespaceURI === nn && !on[te] || S.namespaceURI === tn && !an[te] ? !1 : !Ei[P] && (Lo[P] || !Si[P]) : !!(Ut === "application/xhtml+xml" && Fn[l.namespaceURI]) : !1;
678
- }, Ke = function(l) {
679
- Lt(t.removed, {
676
+ const D = dn(l.tagName), te = dn(S.tagName);
677
+ return Fn[l.namespaceURI] ? l.namespaceURI === on ? S.namespaceURI === qe ? D === "svg" : S.namespaceURI === an ? D === "svg" && (te === "annotation-xml" || rn[te]) : !!Ei[D] : l.namespaceURI === an ? S.namespaceURI === qe ? D === "math" : S.namespaceURI === on ? D === "math" && sn[te] : !!wi[D] : l.namespaceURI === qe ? S.namespaceURI === on && !sn[te] || S.namespaceURI === an && !rn[te] ? !1 : !wi[D] && (Do[D] || !Ei[D]) : !!(Lt === "application/xhtml+xml" && Fn[l.namespaceURI]) : !1;
678
+ }, $e = function(l) {
679
+ $t(t.removed, {
680
680
  element: l
681
681
  });
682
682
  try {
683
- D(l).removeChild(l);
683
+ P(l).removeChild(l);
684
684
  } catch {
685
685
  N(l);
686
686
  }
687
- }, lt = function(l, S) {
687
+ }, ut = function(l, S) {
688
688
  try {
689
- Lt(t.removed, {
689
+ $t(t.removed, {
690
690
  attribute: S.getAttributeNode(l),
691
691
  from: S
692
692
  });
693
693
  } catch {
694
- Lt(t.removed, {
694
+ $t(t.removed, {
695
695
  attribute: null,
696
696
  from: S
697
697
  });
698
698
  }
699
699
  if (S.removeAttribute(l), l === "is")
700
- if (yt || Qt)
700
+ if (vt || tn)
701
701
  try {
702
- Ke(S);
702
+ $e(S);
703
703
  } catch {
704
704
  }
705
705
  else
@@ -707,31 +707,31 @@ function Ya() {
707
707
  S.setAttribute(l, "");
708
708
  } catch {
709
709
  }
710
- }, wi = function(l) {
711
- let S = null, P = null;
710
+ }, Mi = function(l) {
711
+ let S = null, D = null;
712
712
  if (In)
713
713
  l = "<remove></remove>" + l;
714
714
  else {
715
- const pe = Vn(l, /^[\r\n\t ]+/);
716
- P = pe && pe[0];
715
+ const pe = jn(l, /^[\r\n\t ]+/);
716
+ D = pe && pe[0];
717
717
  }
718
- Ut === "application/xhtml+xml" && bt === He && (l = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + l + "</body></html>");
718
+ Lt === "application/xhtml+xml" && _t === qe && (l = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + l + "</body></html>");
719
719
  const te = M ? M.createHTML(l) : l;
720
- if (bt === He)
720
+ if (_t === qe)
721
721
  try {
722
- S = new p().parseFromString(te, Ut);
722
+ S = new p().parseFromString(te, Lt);
723
723
  } catch {
724
724
  }
725
725
  if (!S || !S.documentElement) {
726
- S = E.createDocument(bt, "template", null);
726
+ S = E.createDocument(_t, "template", null);
727
727
  try {
728
728
  S.documentElement.innerHTML = kn ? O : te;
729
729
  } catch {
730
730
  }
731
731
  }
732
732
  const _e = S.body || S.documentElement;
733
- return l && P && _e.insertBefore(n.createTextNode(P), _e.childNodes[0] || null), bt === He ? F.call(S, st ? "html" : "body")[0] : st ? S.documentElement : _e;
734
- }, Mi = function(l) {
733
+ return l && D && _e.insertBefore(n.createTextNode(D), _e.childNodes[0] || null), _t === qe ? F.call(S, dt ? "html" : "body")[0] : dt ? S.documentElement : _e;
734
+ }, Ai = function(l) {
735
735
  return _.call(
736
736
  l.ownerDocument || l,
737
737
  l,
@@ -741,64 +741,64 @@ function Ya() {
741
741
  );
742
742
  }, Nn = function(l) {
743
743
  return l instanceof f && (typeof l.nodeName != "string" || typeof l.textContent != "string" || typeof l.removeChild != "function" || !(l.attributes instanceof y) || typeof l.removeAttribute != "function" || typeof l.setAttribute != "function" || typeof l.namespaceURI != "string" || typeof l.insertBefore != "function" || typeof l.hasChildNodes != "function");
744
- }, Ai = function(l) {
744
+ }, Ln = function(l) {
745
745
  return typeof s == "function" && l instanceof s;
746
746
  };
747
- function Ge(K, l, S) {
748
- rn(K, (P) => {
749
- P.call(t, l, S, _t);
747
+ function Ye(K, l, S) {
748
+ Pt(K, (D) => {
749
+ D.call(t, l, S, Tt);
750
750
  });
751
751
  }
752
752
  const Ii = function(l) {
753
753
  let S = null;
754
- if (Ge(g.beforeSanitizeElements, l, null), Nn(l))
755
- return Ke(l), !0;
756
- const P = ge(l.nodeName);
757
- if (Ge(g.uponSanitizeElement, l, {
758
- tagName: P,
754
+ if (Ye(g.beforeSanitizeElements, l, null), Nn(l))
755
+ return $e(l), !0;
756
+ const D = ge(l.nodeName);
757
+ if (Ye(g.uponSanitizeElement, l, {
758
+ tagName: D,
759
759
  allowedTags: x
760
- }), Jt && l.hasChildNodes() && !Ai(l.firstElementChild) && Te(/<[/\w!]/g, l.innerHTML) && Te(/<[/\w!]/g, l.textContent) || l.nodeType === Vt.progressingInstruction || Jt && l.nodeType === Vt.comment && Te(/<[/\w]/g, l.data))
761
- return Ke(l), !0;
762
- if (!(et.tagCheck instanceof Function && et.tagCheck(P)) && (!x[P] || kt[P])) {
763
- if (!kt[P] && Oi(P) && (se.tagNameCheck instanceof RegExp && Te(se.tagNameCheck, P) || se.tagNameCheck instanceof Function && se.tagNameCheck(P)))
760
+ }), Ut && l.hasChildNodes() && !Ln(l.firstElementChild) && Te(/<[/\w!]/g, l.innerHTML) && Te(/<[/\w!]/g, l.textContent) || Ut && l.namespaceURI === qe && D === "style" && Ln(l.firstElementChild) || l.nodeType === Kt.progressingInstruction || Ut && l.nodeType === Kt.comment && Te(/<[/\w]/g, l.data))
761
+ return $e(l), !0;
762
+ if (Ft[D] || !(et.tagCheck instanceof Function && et.tagCheck(D)) && !x[D]) {
763
+ if (!Ft[D] && Oi(D) && (se.tagNameCheck instanceof RegExp && Te(se.tagNameCheck, D) || se.tagNameCheck instanceof Function && se.tagNameCheck(D)))
764
764
  return !1;
765
- if (Cn && !je[P]) {
766
- const te = D(l) || l.parentNode, _e = H(l) || l.childNodes;
765
+ if (Cn && !xe[D]) {
766
+ const te = P(l) || l.parentNode, _e = H(l) || l.childNodes;
767
767
  if (_e && te) {
768
768
  const pe = _e.length;
769
769
  for (let Ae = pe - 1; Ae >= 0; --Ae) {
770
- const Ye = v(_e[Ae], !0);
771
- Ye.__removalCount = (l.__removalCount || 0) + 1, te.insertBefore(Ye, U(l));
770
+ const Oe = v(_e[Ae], !0);
771
+ Oe.__removalCount = (l.__removalCount || 0) + 1, te.insertBefore(Oe, U(l));
772
772
  }
773
773
  }
774
774
  }
775
- return Ke(l), !0;
775
+ return $e(l), !0;
776
776
  }
777
- return l instanceof d && !Vo(l) || (P === "noscript" || P === "noembed" || P === "noframes") && Te(/<\/no(script|embed|frames)/i, l.innerHTML) ? (Ke(l), !0) : (gt && l.nodeType === Vt.text && (S = l.textContent, rn([w, L, G], (te) => {
778
- S = Dt(S, te, " ");
779
- }), l.textContent !== S && (Lt(t.removed, {
777
+ return l instanceof d && !jo(l) || (D === "noscript" || D === "noembed" || D === "noframes") && Te(/<\/no(script|embed|frames)/i, l.innerHTML) ? ($e(l), !0) : (lt && l.nodeType === Kt.text && (S = l.textContent, Pt([w, L, G], (te) => {
778
+ S = St(S, te, " ");
779
+ }), l.textContent !== S && ($t(t.removed, {
780
780
  element: l.cloneNode()
781
- }), l.textContent = S)), Ge(g.afterSanitizeElements, l, null), !1);
782
- }, Ci = function(l, S, P) {
783
- if (Xt[S] || gi && (S === "id" || S === "name") && (P in n || P in $o))
781
+ }), l.textContent = S)), Ye(g.afterSanitizeElements, l, null), !1);
782
+ }, Ci = function(l, S, D) {
783
+ if (en[S] || yi && (S === "id" || S === "name") && (D in n || D in Vo))
784
784
  return !1;
785
- if (!(Mn && !Xt[S] && Te(ye, S))) {
786
- if (!(fi && Te(Be, S))) {
785
+ if (!(Mn && !en[S] && Te(ye, S))) {
786
+ if (!(hi && Te(He, S))) {
787
787
  if (!(et.attributeCheck instanceof Function && et.attributeCheck(S, l))) {
788
- if (!re[S] || Xt[S]) {
788
+ if (!re[S] || en[S]) {
789
789
  if (
790
790
  // First condition does a very basic check if a) it's basically a valid custom element tagname AND
791
791
  // b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
792
792
  // and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
793
793
  !(Oi(l) && (se.tagNameCheck instanceof RegExp && Te(se.tagNameCheck, l) || se.tagNameCheck instanceof Function && se.tagNameCheck(l)) && (se.attributeNameCheck instanceof RegExp && Te(se.attributeNameCheck, S) || se.attributeNameCheck instanceof Function && se.attributeNameCheck(S, l)) || // Alternative, second condition checks if it's an `is`-attribute, AND
794
794
  // the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
795
- S === "is" && se.allowCustomizedBuiltInElements && (se.tagNameCheck instanceof RegExp && Te(se.tagNameCheck, P) || se.tagNameCheck instanceof Function && se.tagNameCheck(P)))
795
+ S === "is" && se.allowCustomizedBuiltInElements && (se.tagNameCheck instanceof RegExp && Te(se.tagNameCheck, D) || se.tagNameCheck instanceof Function && se.tagNameCheck(D)))
796
796
  ) return !1;
797
797
  } else if (!Rn[S]) {
798
- if (!Te(Zt, Dt(P, ze, ""))) {
799
- if (!((S === "src" || S === "xlink:href" || S === "href") && l !== "script" && gl(P, "data:") === 0 && vi[l])) {
800
- if (!(hi && !Te(he, Dt(P, ze, "")))) {
801
- if (P)
798
+ if (!Te(Qt, St(D, Ge, ""))) {
799
+ if (!((S === "src" || S === "xlink:href" || S === "href") && l !== "script" && gl(D, "data:") === 0 && bi[l])) {
800
+ if (!(pi && !Te(he, St(D, Ge, "")))) {
801
+ if (D)
802
802
  return !1;
803
803
  }
804
804
  }
@@ -809,15 +809,15 @@ function Ya() {
809
809
  }
810
810
  return !0;
811
811
  }, Oi = function(l) {
812
- return l !== "annotation-xml" && Vn(l, wn);
812
+ return l !== "annotation-xml" && jn(l, wn);
813
813
  }, Ri = function(l) {
814
- Ge(g.beforeSanitizeAttributes, l, null);
814
+ Ye(g.beforeSanitizeAttributes, l, null);
815
815
  const {
816
816
  attributes: S
817
817
  } = l;
818
818
  if (!S || Nn(l))
819
819
  return;
820
- const P = {
820
+ const D = {
821
821
  attrName: "",
822
822
  attrValue: "",
823
823
  keepAttr: !0,
@@ -829,37 +829,37 @@ function Ya() {
829
829
  const _e = S[te], {
830
830
  name: pe,
831
831
  namespaceURI: Ae,
832
- value: Ye
833
- } = _e, Tt = ge(pe), Ln = Ye;
834
- let ve = pe === "value" ? Ln : yl(Ln);
835
- if (P.attrName = Tt, P.attrValue = ve, P.keepAttr = !0, P.forceKeepAttr = void 0, Ge(g.uponSanitizeAttribute, l, P), ve = P.attrValue, yi && (Tt === "id" || Tt === "name") && (lt(pe, l), ve = Uo + ve), Jt && Te(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, ve)) {
836
- lt(pe, l);
832
+ value: Oe
833
+ } = _e, tt = ge(pe), Dn = Oe;
834
+ let ve = pe === "value" ? Dn : yl(Dn);
835
+ if (D.attrName = tt, D.attrValue = ve, D.keepAttr = !0, D.forceKeepAttr = void 0, Ye(g.uponSanitizeAttribute, l, D), ve = D.attrValue, vi && (tt === "id" || tt === "name") && (ut(pe, l), ve = No + ve), Ut && Te(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, ve)) {
836
+ ut(pe, l);
837
837
  continue;
838
838
  }
839
- if (Tt === "attributename" && Vn(ve, "href")) {
840
- lt(pe, l);
839
+ if (tt === "attributename" && jn(ve, "href")) {
840
+ ut(pe, l);
841
841
  continue;
842
842
  }
843
- if (P.forceKeepAttr)
843
+ if (D.forceKeepAttr)
844
844
  continue;
845
- if (!P.keepAttr) {
846
- lt(pe, l);
845
+ if (!D.keepAttr) {
846
+ ut(pe, l);
847
847
  continue;
848
848
  }
849
- if (!pi && Te(/\/>/i, ve)) {
850
- lt(pe, l);
849
+ if (!gi && Te(/\/>/i, ve)) {
850
+ ut(pe, l);
851
851
  continue;
852
852
  }
853
- gt && rn([w, L, G], (Fi) => {
854
- ve = Dt(ve, Fi, " ");
853
+ lt && Pt([w, L, G], (Ui) => {
854
+ ve = St(ve, Ui, " ");
855
855
  });
856
- const ki = ge(l.nodeName);
857
- if (!Ci(ki, Tt, ve)) {
858
- lt(pe, l);
856
+ const Fi = ge(l.nodeName);
857
+ if (!Ci(Fi, tt, ve)) {
858
+ ut(pe, l);
859
859
  continue;
860
860
  }
861
861
  if (M && typeof T == "object" && typeof T.getAttributeType == "function" && !Ae)
862
- switch (T.getAttributeType(ki, Tt)) {
862
+ switch (T.getAttributeType(Fi, tt)) {
863
863
  case "TrustedHTML": {
864
864
  ve = M.createHTML(ve);
865
865
  break;
@@ -869,89 +869,96 @@ function Ya() {
869
869
  break;
870
870
  }
871
871
  }
872
- if (ve !== Ln)
872
+ if (ve !== Dn)
873
873
  try {
874
- Ae ? l.setAttributeNS(Ae, pe, ve) : l.setAttribute(pe, ve), Nn(l) ? Ke(l) : Bi(t.removed);
874
+ Ae ? l.setAttributeNS(Ae, pe, ve) : l.setAttribute(pe, ve), Nn(l) ? $e(l) : zi(t.removed);
875
875
  } catch {
876
- lt(pe, l);
876
+ ut(pe, l);
877
877
  }
878
878
  }
879
- Ge(g.afterSanitizeAttributes, l, null);
880
- }, jo = function K(l) {
879
+ Ye(g.afterSanitizeAttributes, l, null);
880
+ }, ki = function(l) {
881
881
  let S = null;
882
- const P = Mi(l);
883
- for (Ge(g.beforeSanitizeShadowDOM, l, null); S = P.nextNode(); )
884
- Ge(g.uponSanitizeShadowNode, S, null), Ii(S), Ri(S), S.content instanceof o && K(S.content);
885
- Ge(g.afterSanitizeShadowDOM, l, null);
882
+ const D = Ai(l);
883
+ for (Ye(g.beforeSanitizeShadowDOM, l, null); S = D.nextNode(); )
884
+ Ye(g.uponSanitizeShadowNode, S, null), Ii(S), Ri(S), S.content instanceof o && ki(S.content);
885
+ Ye(g.afterSanitizeShadowDOM, l, null);
886
886
  };
887
887
  return t.sanitize = function(K) {
888
- let l = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, S = null, P = null, te = null, _e = null;
889
- if (kn = !K, kn && (K = "<!-->"), typeof K != "string" && !Ai(K))
888
+ let l = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, S = null, D = null, te = null, _e = null;
889
+ if (kn = !K, kn && (K = "<!-->"), typeof K != "string" && !Ln(K))
890
890
  if (typeof K.toString == "function") {
891
891
  if (K = K.toString(), typeof K != "string")
892
- throw Pt("dirty is not a string, aborting");
892
+ throw Vt("dirty is not a string, aborting");
893
893
  } else
894
- throw Pt("toString is not a function");
894
+ throw Vt("toString is not a function");
895
895
  if (!t.isSupported)
896
896
  return K;
897
- if (An || Un(l), t.removed = [], typeof K == "string" && (Ft = !1), Ft) {
897
+ if (An || Un(l), t.removed = [], typeof K == "string" && (Nt = !1), Nt) {
898
898
  if (K.nodeName) {
899
- const Ye = ge(K.nodeName);
900
- if (!x[Ye] || kt[Ye])
901
- throw Pt("root node is forbidden and cannot be sanitized in-place");
899
+ const Oe = ge(K.nodeName);
900
+ if (!x[Oe] || Ft[Oe])
901
+ throw Vt("root node is forbidden and cannot be sanitized in-place");
902
902
  }
903
903
  } else if (K instanceof s)
904
- S = wi("<!---->"), P = S.ownerDocument.importNode(K, !0), P.nodeType === Vt.element && P.nodeName === "BODY" || P.nodeName === "HTML" ? S = P : S.appendChild(P);
904
+ S = Mi("<!---->"), D = S.ownerDocument.importNode(K, !0), D.nodeType === Kt.element && D.nodeName === "BODY" || D.nodeName === "HTML" ? S = D : S.appendChild(D);
905
905
  else {
906
- if (!yt && !gt && !st && // eslint-disable-next-line unicorn/prefer-includes
906
+ if (!vt && !lt && !dt && // eslint-disable-next-line unicorn/prefer-includes
907
907
  K.indexOf("<") === -1)
908
- return M && en ? M.createHTML(K) : K;
909
- if (S = wi(K), !S)
910
- return yt ? null : en ? O : "";
908
+ return M && nn ? M.createHTML(K) : K;
909
+ if (S = Mi(K), !S)
910
+ return vt ? null : nn ? O : "";
911
911
  }
912
- S && In && Ke(S.firstChild);
913
- const pe = Mi(Ft ? K : S);
912
+ S && In && $e(S.firstChild);
913
+ const pe = Ai(Nt ? K : S);
914
914
  for (; te = pe.nextNode(); )
915
- Ii(te), Ri(te), te.content instanceof o && jo(te.content);
916
- if (Ft)
915
+ Ii(te), Ri(te), te.content instanceof o && ki(te.content);
916
+ if (Nt)
917
917
  return K;
918
- if (yt) {
919
- if (Qt)
918
+ if (vt) {
919
+ if (lt) {
920
+ S.normalize();
921
+ let Oe = S.innerHTML;
922
+ Pt([w, L, G], (tt) => {
923
+ Oe = St(Oe, tt, " ");
924
+ }), S.innerHTML = Oe;
925
+ }
926
+ if (tn)
920
927
  for (_e = I.call(S.ownerDocument); S.firstChild; )
921
928
  _e.appendChild(S.firstChild);
922
929
  else
923
930
  _e = S;
924
931
  return (re.shadowroot || re.shadowrootmode) && (_e = m.call(i, _e, !0)), _e;
925
932
  }
926
- let Ae = st ? S.outerHTML : S.innerHTML;
927
- return st && x["!doctype"] && S.ownerDocument && S.ownerDocument.doctype && S.ownerDocument.doctype.name && Te(Ga, S.ownerDocument.doctype.name) && (Ae = "<!DOCTYPE " + S.ownerDocument.doctype.name + `>
928
- ` + Ae), gt && rn([w, L, G], (Ye) => {
929
- Ae = Dt(Ae, Ye, " ");
930
- }), M && en ? M.createHTML(Ae) : Ae;
933
+ let Ae = dt ? S.outerHTML : S.innerHTML;
934
+ return dt && x["!doctype"] && S.ownerDocument && S.ownerDocument.doctype && S.ownerDocument.doctype.name && Te(Ya, S.ownerDocument.doctype.name) && (Ae = "<!DOCTYPE " + S.ownerDocument.doctype.name + `>
935
+ ` + Ae), lt && Pt([w, L, G], (Oe) => {
936
+ Ae = St(Ae, Oe, " ");
937
+ }), M && nn ? M.createHTML(Ae) : Ae;
931
938
  }, t.setConfig = function() {
932
939
  let K = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
933
940
  Un(K), An = !0;
934
941
  }, t.clearConfig = function() {
935
- _t = null, An = !1;
942
+ Tt = null, An = !1;
936
943
  }, t.isValidAttribute = function(K, l, S) {
937
- _t || Un({});
938
- const P = ge(K), te = ge(l);
939
- return Ci(P, te, S);
944
+ Tt || Un({});
945
+ const D = ge(K), te = ge(l);
946
+ return Ci(D, te, S);
940
947
  }, t.addHook = function(K, l) {
941
- typeof l == "function" && Lt(g[K], l);
948
+ typeof l == "function" && $t(g[K], l);
942
949
  }, t.removeHook = function(K, l) {
943
950
  if (l !== void 0) {
944
951
  const S = hl(g[K], l);
945
952
  return S === -1 ? void 0 : pl(g[K], S, 1)[0];
946
953
  }
947
- return Bi(g[K]);
954
+ return zi(g[K]);
948
955
  }, t.removeHooks = function(K) {
949
956
  g[K] = [];
950
957
  }, t.removeAllHooks = function() {
951
- g = Zi();
958
+ g = Xi();
952
959
  }, t;
953
960
  }
954
- var Fl = Ya();
961
+ var Fl = Wa();
955
962
  function Ul() {
956
963
  this.__data__ = new Je(), this.size = 0;
957
964
  }
@@ -970,29 +977,29 @@ function $l(e, t) {
970
977
  var n = this.__data__;
971
978
  if (n instanceof Je) {
972
979
  var i = n.__data__;
973
- if (!Gt || i.length < Pl - 1)
980
+ if (!Zt || i.length < Pl - 1)
974
981
  return i.push([e, t]), this.size = ++n.size, this;
975
982
  n = this.__data__ = new Qe(i);
976
983
  }
977
984
  return n.set(e, t), this.size = n.size, this;
978
985
  }
979
- function Rt(e) {
986
+ function kt(e) {
980
987
  var t = this.__data__ = new Je(e);
981
988
  this.size = t.size;
982
989
  }
983
- Rt.prototype.clear = Ul;
984
- Rt.prototype.delete = Nl;
985
- Rt.prototype.get = Ll;
986
- Rt.prototype.has = Dl;
987
- Rt.prototype.set = $l;
990
+ kt.prototype.clear = Ul;
991
+ kt.prototype.delete = Nl;
992
+ kt.prototype.get = Ll;
993
+ kt.prototype.has = Dl;
994
+ kt.prototype.set = $l;
988
995
  var un = function() {
989
996
  try {
990
- var e = pt(Object, "defineProperty");
997
+ var e = yt(Object, "defineProperty");
991
998
  return e({}, "", {}), e;
992
999
  } catch {
993
1000
  }
994
1001
  }();
995
- function Wa(e, t, n) {
1002
+ function Za(e, t, n) {
996
1003
  t == "__proto__" && un ? un(e, t, {
997
1004
  configurable: !0,
998
1005
  enumerable: !0,
@@ -1001,16 +1008,16 @@ function Wa(e, t, n) {
1001
1008
  }) : e[t] = n;
1002
1009
  }
1003
1010
  var Vl = Object.prototype, jl = Vl.hasOwnProperty;
1004
- function Za(e, t, n) {
1011
+ function Xa(e, t, n) {
1005
1012
  var i = e[t];
1006
- (!(jl.call(e, t) && bn(i, n)) || n === void 0 && !(t in e)) && Wa(e, t, n);
1013
+ (!(jl.call(e, t) && bn(i, n)) || n === void 0 && !(t in e)) && Za(e, t, n);
1007
1014
  }
1008
1015
  function Sn(e, t, n, i) {
1009
1016
  var a = !n;
1010
1017
  n || (n = {});
1011
1018
  for (var o = -1, r = t.length; ++o < r; ) {
1012
1019
  var s = t[o], d = void 0;
1013
- d === void 0 && (d = e[s]), a ? Wa(n, s, d) : Za(n, s, d);
1020
+ d === void 0 && (d = e[s]), a ? Za(n, s, d) : Xa(n, s, d);
1014
1021
  }
1015
1022
  return n;
1016
1023
  }
@@ -1028,22 +1035,22 @@ var ql = Object.prototype, Bl = ql.hasOwnProperty;
1028
1035
  function zl(e) {
1029
1036
  if (!Re(e))
1030
1037
  return xl(e);
1031
- var t = oi(e), n = [];
1038
+ var t = ri(e), n = [];
1032
1039
  for (var i in e)
1033
1040
  i == "constructor" && (t || !Bl.call(e, i)) || n.push(i);
1034
1041
  return n;
1035
1042
  }
1036
1043
  function En(e) {
1037
- return gn(e) ? Ka(e, !0) : zl(e);
1044
+ return gn(e) ? xa(e, !0) : zl(e);
1038
1045
  }
1039
1046
  function Hl(e, t) {
1040
1047
  return e && Sn(t, En(t), e);
1041
1048
  }
1042
- var Xa = typeof exports == "object" && exports && !exports.nodeType && exports, Xi = Xa && typeof module == "object" && module && !module.nodeType && module, Gl = Xi && Xi.exports === Xa, Ji = Gl ? Pe.Buffer : void 0, Qi = Ji ? Ji.allocUnsafe : void 0;
1049
+ var Ja = typeof exports == "object" && exports && !exports.nodeType && exports, Ji = Ja && typeof module == "object" && module && !module.nodeType && module, Gl = Ji && Ji.exports === Ja, Qi = Gl ? Pe.Buffer : void 0, ea = Qi ? Qi.allocUnsafe : void 0;
1043
1050
  function Yl(e, t) {
1044
1051
  if (t)
1045
1052
  return e.slice();
1046
- var n = e.length, i = Qi ? Qi(n) : new e.constructor(n);
1053
+ var n = e.length, i = ea ? ea(n) : new e.constructor(n);
1047
1054
  return e.copy(i), i;
1048
1055
  }
1049
1056
  function Wl(e, t) {
@@ -1059,55 +1066,55 @@ function Zl(e, t) {
1059
1066
  }
1060
1067
  return o;
1061
1068
  }
1062
- function Ja() {
1069
+ function Qa() {
1063
1070
  return [];
1064
1071
  }
1065
- var Xl = Object.prototype, Jl = Xl.propertyIsEnumerable, ea = Object.getOwnPropertySymbols, li = ea ? function(e) {
1066
- return e == null ? [] : (e = Object(e), Zl(ea(e), function(t) {
1072
+ var Xl = Object.prototype, Jl = Xl.propertyIsEnumerable, ta = Object.getOwnPropertySymbols, di = ta ? function(e) {
1073
+ return e == null ? [] : (e = Object(e), Zl(ta(e), function(t) {
1067
1074
  return Jl.call(e, t);
1068
1075
  }));
1069
- } : Ja;
1076
+ } : Qa;
1070
1077
  function Ql(e, t) {
1071
- return Sn(e, li(e), t);
1078
+ return Sn(e, di(e), t);
1072
1079
  }
1073
- function Qa(e, t) {
1080
+ function eo(e, t) {
1074
1081
  for (var n = -1, i = t.length, a = e.length; ++n < i; )
1075
1082
  e[a + n] = t[n];
1076
1083
  return e;
1077
1084
  }
1078
- var eo = xa(Object.getPrototypeOf, Object), ed = Object.getOwnPropertySymbols, to = ed ? function(e) {
1085
+ var to = qa(Object.getPrototypeOf, Object), ed = Object.getOwnPropertySymbols, no = ed ? function(e) {
1079
1086
  for (var t = []; e; )
1080
- Qa(t, li(e)), e = eo(e);
1087
+ eo(t, di(e)), e = to(e);
1081
1088
  return t;
1082
- } : Ja;
1089
+ } : Qa;
1083
1090
  function td(e, t) {
1084
- return Sn(e, to(e), t);
1091
+ return Sn(e, no(e), t);
1085
1092
  }
1086
- function no(e, t, n) {
1093
+ function io(e, t, n) {
1087
1094
  var i = t(e);
1088
- return rt(e) ? i : Qa(i, n(e));
1095
+ return st(e) ? i : eo(i, n(e));
1089
1096
  }
1090
1097
  function nd(e) {
1091
- return no(e, yn, li);
1098
+ return io(e, yn, di);
1092
1099
  }
1093
1100
  function id(e) {
1094
- return no(e, En, to);
1101
+ return io(e, En, no);
1095
1102
  }
1096
- var Wn = pt(Pe, "DataView"), Zn = pt(Pe, "Promise"), Et = pt(Pe, "Set"), Xn = pt(Pe, "WeakMap"), ta = "[object Map]", ad = "[object Object]", na = "[object Promise]", ia = "[object Set]", aa = "[object WeakMap]", oa = "[object DataView]", od = ht(Wn), rd = ht(Gt), sd = ht(Zn), ld = ht(Et), dd = ht(Xn), We = at;
1097
- (Wn && We(new Wn(new ArrayBuffer(1))) != oa || Gt && We(new Gt()) != ta || Zn && We(Zn.resolve()) != na || Et && We(new Et()) != ia || Xn && We(new Xn()) != aa) && (We = function(e) {
1098
- var t = at(e), n = t == ad ? e.constructor : void 0, i = n ? ht(n) : "";
1103
+ var Zn = yt(Pe, "DataView"), Xn = yt(Pe, "Promise"), wt = yt(Pe, "Set"), Jn = yt(Pe, "WeakMap"), na = "[object Map]", ad = "[object Object]", ia = "[object Promise]", aa = "[object Set]", oa = "[object WeakMap]", ra = "[object DataView]", od = gt(Zn), rd = gt(Zt), sd = gt(Xn), ld = gt(wt), dd = gt(Jn), We = ot;
1104
+ (Zn && We(new Zn(new ArrayBuffer(1))) != ra || Zt && We(new Zt()) != na || Xn && We(Xn.resolve()) != ia || wt && We(new wt()) != aa || Jn && We(new Jn()) != oa) && (We = function(e) {
1105
+ var t = ot(e), n = t == ad ? e.constructor : void 0, i = n ? gt(n) : "";
1099
1106
  if (i)
1100
1107
  switch (i) {
1101
1108
  case od:
1102
- return oa;
1109
+ return ra;
1103
1110
  case rd:
1104
- return ta;
1105
- case sd:
1106
1111
  return na;
1107
- case ld:
1112
+ case sd:
1108
1113
  return ia;
1109
- case dd:
1114
+ case ld:
1110
1115
  return aa;
1116
+ case dd:
1117
+ return oa;
1111
1118
  }
1112
1119
  return t;
1113
1120
  });
@@ -1116,13 +1123,13 @@ function md(e) {
1116
1123
  var t = e.length, n = new e.constructor(t);
1117
1124
  return t && typeof e[0] == "string" && cd.call(e, "index") && (n.index = e.index, n.input = e.input), n;
1118
1125
  }
1119
- var ra = Pe.Uint8Array;
1120
- function di(e) {
1126
+ var sa = Pe.Uint8Array;
1127
+ function ui(e) {
1121
1128
  var t = new e.constructor(e.byteLength);
1122
- return new ra(t).set(new ra(e)), t;
1129
+ return new sa(t).set(new sa(e)), t;
1123
1130
  }
1124
1131
  function fd(e, t) {
1125
- var n = t ? di(e.buffer) : e.buffer;
1132
+ var n = t ? ui(e.buffer) : e.buffer;
1126
1133
  return new e.constructor(n, e.byteOffset, e.byteLength);
1127
1134
  }
1128
1135
  var hd = /\w*$/;
@@ -1130,12 +1137,12 @@ function pd(e) {
1130
1137
  var t = new e.constructor(e.source, hd.exec(e));
1131
1138
  return t.lastIndex = e.lastIndex, t;
1132
1139
  }
1133
- var sa = it ? it.prototype : void 0, la = sa ? sa.valueOf : void 0;
1140
+ var la = at ? at.prototype : void 0, da = la ? la.valueOf : void 0;
1134
1141
  function gd(e) {
1135
- return la ? Object(la.call(e)) : {};
1142
+ return da ? Object(da.call(e)) : {};
1136
1143
  }
1137
1144
  function yd(e, t) {
1138
- var n = t ? di(e.buffer) : e.buffer;
1145
+ var n = t ? ui(e.buffer) : e.buffer;
1139
1146
  return new e.constructor(n, e.byteOffset, e.length);
1140
1147
  }
1141
1148
  var vd = "[object Boolean]", bd = "[object Date]", _d = "[object Map]", Td = "[object Number]", Sd = "[object RegExp]", Ed = "[object Set]", wd = "[object String]", Md = "[object Symbol]", Ad = "[object ArrayBuffer]", Id = "[object DataView]", Cd = "[object Float32Array]", Od = "[object Float64Array]", Rd = "[object Int8Array]", kd = "[object Int16Array]", Fd = "[object Int32Array]", Ud = "[object Uint8Array]", Nd = "[object Uint8ClampedArray]", Ld = "[object Uint16Array]", Dd = "[object Uint32Array]";
@@ -1143,7 +1150,7 @@ function Pd(e, t, n) {
1143
1150
  var i = e.constructor;
1144
1151
  switch (t) {
1145
1152
  case Ad:
1146
- return di(e);
1153
+ return ui(e);
1147
1154
  case vd:
1148
1155
  case bd:
1149
1156
  return new i(+e);
@@ -1172,48 +1179,48 @@ function Pd(e, t, n) {
1172
1179
  return gd(e);
1173
1180
  }
1174
1181
  }
1175
- var da = Object.create, $d = /* @__PURE__ */ function() {
1182
+ var ua = Object.create, $d = /* @__PURE__ */ function() {
1176
1183
  function e() {
1177
1184
  }
1178
1185
  return function(t) {
1179
1186
  if (!Re(t))
1180
1187
  return {};
1181
- if (da)
1182
- return da(t);
1188
+ if (ua)
1189
+ return ua(t);
1183
1190
  e.prototype = t;
1184
1191
  var n = new e();
1185
1192
  return e.prototype = void 0, n;
1186
1193
  };
1187
1194
  }();
1188
1195
  function Vd(e) {
1189
- return typeof e.constructor == "function" && !oi(e) ? $d(eo(e)) : {};
1196
+ return typeof e.constructor == "function" && !ri(e) ? $d(to(e)) : {};
1190
1197
  }
1191
1198
  var jd = "[object Map]";
1192
1199
  function Kd(e) {
1193
- return ot(e) && We(e) == jd;
1200
+ return rt(e) && We(e) == jd;
1194
1201
  }
1195
- var ua = Mt && Mt.isMap, xd = ua ? ai(ua) : Kd, qd = "[object Set]";
1202
+ var ca = At && At.isMap, xd = ca ? oi(ca) : Kd, qd = "[object Set]";
1196
1203
  function Bd(e) {
1197
- return ot(e) && We(e) == qd;
1204
+ return rt(e) && We(e) == qd;
1198
1205
  }
1199
- var ca = Mt && Mt.isSet, zd = ca ? ai(ca) : Bd, Hd = 1, Gd = 2, Yd = 4, io = "[object Arguments]", Wd = "[object Array]", Zd = "[object Boolean]", Xd = "[object Date]", Jd = "[object Error]", ao = "[object Function]", Qd = "[object GeneratorFunction]", eu = "[object Map]", tu = "[object Number]", oo = "[object Object]", nu = "[object RegExp]", iu = "[object Set]", au = "[object String]", ou = "[object Symbol]", ru = "[object WeakMap]", su = "[object ArrayBuffer]", lu = "[object DataView]", du = "[object Float32Array]", uu = "[object Float64Array]", cu = "[object Int8Array]", mu = "[object Int16Array]", fu = "[object Int32Array]", hu = "[object Uint8Array]", pu = "[object Uint8ClampedArray]", gu = "[object Uint16Array]", yu = "[object Uint32Array]", J = {};
1200
- J[io] = J[Wd] = J[su] = J[lu] = J[Zd] = J[Xd] = J[du] = J[uu] = J[cu] = J[mu] = J[fu] = J[eu] = J[tu] = J[oo] = J[nu] = J[iu] = J[au] = J[ou] = J[hu] = J[pu] = J[gu] = J[yu] = !0;
1201
- J[Jd] = J[ao] = J[ru] = !1;
1202
- function qt(e, t, n, i, a, o) {
1206
+ var ma = At && At.isSet, zd = ma ? oi(ma) : Bd, Hd = 1, Gd = 2, Yd = 4, ao = "[object Arguments]", Wd = "[object Array]", Zd = "[object Boolean]", Xd = "[object Date]", Jd = "[object Error]", oo = "[object Function]", Qd = "[object GeneratorFunction]", eu = "[object Map]", tu = "[object Number]", ro = "[object Object]", nu = "[object RegExp]", iu = "[object Set]", au = "[object String]", ou = "[object Symbol]", ru = "[object WeakMap]", su = "[object ArrayBuffer]", lu = "[object DataView]", du = "[object Float32Array]", uu = "[object Float64Array]", cu = "[object Int8Array]", mu = "[object Int16Array]", fu = "[object Int32Array]", hu = "[object Uint8Array]", pu = "[object Uint8ClampedArray]", gu = "[object Uint16Array]", yu = "[object Uint32Array]", J = {};
1207
+ J[ao] = J[Wd] = J[su] = J[lu] = J[Zd] = J[Xd] = J[du] = J[uu] = J[cu] = J[mu] = J[fu] = J[eu] = J[tu] = J[ro] = J[nu] = J[iu] = J[au] = J[ou] = J[hu] = J[pu] = J[gu] = J[yu] = !0;
1208
+ J[Jd] = J[oo] = J[ru] = !1;
1209
+ function Ht(e, t, n, i, a, o) {
1203
1210
  var r, s = t & Hd, d = t & Gd, u = t & Yd;
1204
1211
  if (r !== void 0)
1205
1212
  return r;
1206
1213
  if (!Re(e))
1207
1214
  return e;
1208
- var y = rt(e);
1215
+ var y = st(e);
1209
1216
  if (y) {
1210
1217
  if (r = md(e), !s)
1211
1218
  return Wl(e, r);
1212
1219
  } else {
1213
- var f = We(e), p = f == ao || f == Qd;
1214
- if (Pa(e))
1220
+ var f = We(e), p = f == oo || f == Qd;
1221
+ if ($a(e))
1215
1222
  return Yl(e, s);
1216
- if (f == oo || f == io || p && !a) {
1223
+ if (f == ro || f == ao || p && !a) {
1217
1224
  if (r = d || p ? {} : Vd(e), !s)
1218
1225
  return d ? td(e, Hl(r, e)) : Ql(e, Kl(r, e));
1219
1226
  } else {
@@ -1222,30 +1229,30 @@ function qt(e, t, n, i, a, o) {
1222
1229
  r = Pd(e, f, s);
1223
1230
  }
1224
1231
  }
1225
- o || (o = new Rt());
1232
+ o || (o = new kt());
1226
1233
  var T = o.get(e);
1227
1234
  if (T)
1228
1235
  return T;
1229
1236
  o.set(e, r), zd(e) ? e.forEach(function(N) {
1230
- r.add(qt(N, t, n, N, e, o));
1237
+ r.add(Ht(N, t, n, N, e, o));
1231
1238
  }) : xd(e) && e.forEach(function(N, U) {
1232
- r.set(U, qt(N, t, n, U, e, o));
1239
+ r.set(U, Ht(N, t, n, U, e, o));
1233
1240
  });
1234
1241
  var k = u ? d ? id : nd : d ? En : yn, v = y ? void 0 : k(e);
1235
- return Fa(v || e, function(N, U) {
1236
- v && (U = N, N = e[U]), Za(r, U, qt(N, t, n, U, e, o));
1242
+ return Ua(v || e, function(N, U) {
1243
+ v && (U = N, N = e[U]), Xa(r, U, Ht(N, t, n, U, e, o));
1237
1244
  }), r;
1238
1245
  }
1239
1246
  var vu = 1, bu = 4;
1240
1247
  function Ze(e) {
1241
- return qt(e, vu | bu);
1248
+ return Ht(e, vu | bu);
1242
1249
  }
1243
- const ui = (e, t = "") => typeof e.id < "u" ? t + e.id + "" : t + (e.inputName || e.label || e.model || "").toString().trim().toLowerCase().replace(/ |_/g, "-").replace(/-{2,}/g, "-").replace(/^-+|-+$/g, "").replace(/([^a-zA-Z0-9-]+)/g, ""), ma = (e = "") => e.toString().trim().replace(/ /g, "-").replace(/-{2,}/g, "-").replace(/^-+|-+$/g, "").replace(/([^a-zA-Z0-9-_/./:]+)/g, "");
1250
+ const ci = (e, t = "") => typeof e.id < "u" ? t + e.id + "" : t + (e.inputName || e.label || e.model || "").toString().trim().toLowerCase().replace(/ |_/g, "-").replace(/-{2,}/g, "-").replace(/^-+|-+$/g, "").replace(/([^a-zA-Z0-9-]+)/g, ""), fa = (e = "") => e.toString().trim().replace(/ /g, "-").replace(/-{2,}/g, "-").replace(/^-+|-+$/g, "").replace(/([^a-zA-Z0-9-_/./:]+)/g, "");
1244
1251
  var _u = "[object String]";
1245
- function ut(e) {
1246
- return typeof e == "string" || !rt(e) && ot(e) && at(e) == _u;
1252
+ function mt(e) {
1253
+ return typeof e == "string" || !st(e) && rt(e) && ot(e) == _u;
1247
1254
  }
1248
- const ro = {
1255
+ const so = {
1249
1256
  methods: {
1250
1257
  // Get style classes of field
1251
1258
  getFieldRowClasses(e) {
@@ -1257,7 +1264,7 @@ const ro = {
1257
1264
  featured: this.fieldFeatured(e),
1258
1265
  required: this.fieldRequired(e)
1259
1266
  };
1260
- return Array.isArray(e.styleClasses) ? Se(e.styleClasses, (i) => n[i] = !0) : ut(e.styleClasses) && (n[e.styleClasses] = !0), de(e.type) || (n["field-" + e.type] = !0), n;
1267
+ return Array.isArray(e.styleClasses) ? Se(e.styleClasses, (i) => n[i] = !0) : mt(e.styleClasses) && (n[e.styleClasses] = !0), de(e.type) || (n["field-" + e.type] = !0), n;
1261
1268
  },
1262
1269
  fieldErrors(e) {
1263
1270
  return this.errors.filter((n) => n.field.fieldName === e.fieldName).map((n) => n.error);
@@ -1280,7 +1287,7 @@ const ro = {
1280
1287
  }
1281
1288
  }
1282
1289
  };
1283
- var Bn = function() {
1290
+ var zn = function() {
1284
1291
  return Pe.Date.now();
1285
1292
  }, Tu = /\s/;
1286
1293
  function Su(e) {
@@ -1292,12 +1299,12 @@ var Eu = /^\s+/;
1292
1299
  function wu(e) {
1293
1300
  return e && e.slice(0, Su(e) + 1).replace(Eu, "");
1294
1301
  }
1295
- var fa = NaN, Mu = /^[-+]0x[0-9a-f]+$/i, Au = /^0b[01]+$/i, Iu = /^0o[0-7]+$/i, Cu = parseInt;
1296
- function Jn(e) {
1302
+ var ha = NaN, Mu = /^[-+]0x[0-9a-f]+$/i, Au = /^0b[01]+$/i, Iu = /^0o[0-7]+$/i, Cu = parseInt;
1303
+ function Qn(e) {
1297
1304
  if (typeof e == "number")
1298
1305
  return e;
1299
1306
  if (vn(e))
1300
- return fa;
1307
+ return ha;
1301
1308
  if (Re(e)) {
1302
1309
  var t = typeof e.valueOf == "function" ? e.valueOf() : e;
1303
1310
  e = Re(t) ? t + "" : t;
@@ -1306,14 +1313,14 @@ function Jn(e) {
1306
1313
  return e === 0 ? e : +e;
1307
1314
  e = wu(e);
1308
1315
  var n = Au.test(e);
1309
- return n || Iu.test(e) ? Cu(e.slice(2), n ? 2 : 8) : Mu.test(e) ? fa : +e;
1316
+ return n || Iu.test(e) ? Cu(e.slice(2), n ? 2 : 8) : Mu.test(e) ? ha : +e;
1310
1317
  }
1311
1318
  var Ou = "Expected a function", Ru = Math.max, ku = Math.min;
1312
- function At(e, t, n) {
1319
+ function It(e, t, n) {
1313
1320
  var i, a, o, r, s, d, u = 0, y = !1, f = !1, p = !0;
1314
1321
  if (typeof e != "function")
1315
1322
  throw new TypeError(Ou);
1316
- t = Jn(t) || 0, Re(n) && (y = !!n.leading, f = "maxWait" in n, o = f ? Ru(Jn(n.maxWait) || 0, t) : o, p = "trailing" in n ? !!n.trailing : p);
1323
+ t = Qn(t) || 0, Re(n) && (y = !!n.leading, f = "maxWait" in n, o = f ? Ru(Qn(n.maxWait) || 0, t) : o, p = "trailing" in n ? !!n.trailing : p);
1317
1324
  function T(E) {
1318
1325
  var _ = i, I = a;
1319
1326
  return i = a = void 0, u = E, r = e.apply(I, _), r;
@@ -1330,7 +1337,7 @@ function At(e, t, n) {
1330
1337
  return d === void 0 || _ >= t || _ < 0 || f && I >= o;
1331
1338
  }
1332
1339
  function U() {
1333
- var E = Bn();
1340
+ var E = zn();
1334
1341
  if (N(E))
1335
1342
  return H(E);
1336
1343
  s = setTimeout(U, v(E));
@@ -1338,14 +1345,14 @@ function At(e, t, n) {
1338
1345
  function H(E) {
1339
1346
  return s = void 0, p && i ? T(E) : (i = a = void 0, r);
1340
1347
  }
1341
- function D() {
1348
+ function P() {
1342
1349
  s !== void 0 && clearTimeout(s), u = 0, i = d = a = s = void 0;
1343
1350
  }
1344
1351
  function M() {
1345
- return s === void 0 ? r : H(Bn());
1352
+ return s === void 0 ? r : H(zn());
1346
1353
  }
1347
1354
  function O() {
1348
- var E = Bn(), _ = N(E);
1355
+ var E = zn(), _ = N(E);
1349
1356
  if (i = arguments, a = this, d = E, _) {
1350
1357
  if (s === void 0)
1351
1358
  return k(d);
@@ -1354,7 +1361,7 @@ function At(e, t, n) {
1354
1361
  }
1355
1362
  return s === void 0 && (s = setTimeout(U, t)), r;
1356
1363
  }
1357
- return O.cancel = D, O.flush = M, O;
1364
+ return O.cancel = P, O.flush = M, O;
1358
1365
  }
1359
1366
  var Fu = "__lodash_hash_undefined__";
1360
1367
  function Uu(e) {
@@ -1397,21 +1404,21 @@ function ju(e, t) {
1397
1404
  }
1398
1405
  function Ku() {
1399
1406
  }
1400
- function so(e) {
1407
+ function lo(e) {
1401
1408
  var t = -1, n = Array(e.size);
1402
1409
  return e.forEach(function(i) {
1403
1410
  n[++t] = i;
1404
1411
  }), n;
1405
1412
  }
1406
- var xu = 1 / 0, qu = Et && 1 / so(new Et([, -0]))[1] == xu ? function(e) {
1407
- return new Et(e);
1413
+ var xu = 1 / 0, qu = wt && 1 / lo(new wt([, -0]))[1] == xu ? function(e) {
1414
+ return new wt(e);
1408
1415
  } : Ku, Bu = 200;
1409
1416
  function zu(e, t, n) {
1410
1417
  var i = -1, a = Vu, o = e.length, r = !0, s = [], d = s;
1411
1418
  if (o >= Bu) {
1412
1419
  var u = qu(e);
1413
1420
  if (u)
1414
- return so(u);
1421
+ return lo(u);
1415
1422
  r = !1, a = ju, d = new cn();
1416
1423
  } else
1417
1424
  d = s;
@@ -1427,21 +1434,21 @@ function zu(e, t, n) {
1427
1434
  }
1428
1435
  return s;
1429
1436
  }
1430
- function lo(e) {
1437
+ function uo(e) {
1431
1438
  return e && e.length ? zu(e) : [];
1432
1439
  }
1433
1440
  var Hu = 0;
1434
- function uo(e) {
1441
+ function co(e) {
1435
1442
  var t = ++Hu;
1436
- return Ba(e) + t;
1443
+ return za(e) + t;
1437
1444
  }
1438
- var co = /d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g, nt = "\\d\\d?", tt = "\\d\\d", Gu = "\\d{3}", Yu = "\\d{4}", Bt = "[^\\s]+", mo = /\[([^]*?)\]/gm;
1439
- function fo(e, t) {
1445
+ var mo = /d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g, it = "\\d\\d?", nt = "\\d\\d", Gu = "\\d{3}", Yu = "\\d{4}", Gt = "[^\\s]+", fo = /\[([^]*?)\]/gm;
1446
+ function ho(e, t) {
1440
1447
  for (var n = [], i = 0, a = e.length; i < a; i++)
1441
1448
  n.push(e[i].substr(0, t));
1442
1449
  return n;
1443
1450
  }
1444
- var ha = function(e) {
1451
+ var pa = function(e) {
1445
1452
  return function(t, n) {
1446
1453
  var i = n[e].map(function(o) {
1447
1454
  return o.toLowerCase();
@@ -1449,7 +1456,7 @@ var ha = function(e) {
1449
1456
  return a > -1 ? a : null;
1450
1457
  };
1451
1458
  };
1452
- function ct(e) {
1459
+ function ft(e) {
1453
1460
  for (var t = [], n = 1; n < arguments.length; n++)
1454
1461
  t[n - 1] = arguments[n];
1455
1462
  for (var i = 0, a = t; i < a.length; i++) {
@@ -1459,7 +1466,7 @@ function ct(e) {
1459
1466
  }
1460
1467
  return e;
1461
1468
  }
1462
- var ho = [
1469
+ var po = [
1463
1470
  "Sunday",
1464
1471
  "Monday",
1465
1472
  "Tuesday",
@@ -1467,7 +1474,7 @@ var ho = [
1467
1474
  "Thursday",
1468
1475
  "Friday",
1469
1476
  "Saturday"
1470
- ], po = [
1477
+ ], go = [
1471
1478
  "January",
1472
1479
  "February",
1473
1480
  "March",
@@ -1480,18 +1487,18 @@ var ho = [
1480
1487
  "October",
1481
1488
  "November",
1482
1489
  "December"
1483
- ], Wu = fo(po, 3), Zu = fo(ho, 3), go = {
1490
+ ], Wu = ho(go, 3), Zu = ho(po, 3), yo = {
1484
1491
  dayNamesShort: Zu,
1485
- dayNames: ho,
1492
+ dayNames: po,
1486
1493
  monthNamesShort: Wu,
1487
- monthNames: po,
1494
+ monthNames: go,
1488
1495
  amPm: ["am", "pm"],
1489
1496
  DoFn: function(e) {
1490
1497
  return e + ["th", "st", "nd", "rd"][e % 10 > 3 ? 0 : (e - e % 10 !== 10 ? 1 : 0) * e % 10];
1491
1498
  }
1492
- }, mn = ct({}, go), Xu = function(e) {
1493
- return mn = ct(mn, e);
1494
- }, pa = function(e) {
1499
+ }, mn = ft({}, yo), Xu = function(e) {
1500
+ return mn = ft(mn, e);
1501
+ }, ga = function(e) {
1495
1502
  return e.replace(/[|\\{()[^$+*?.-]/g, "\\$&");
1496
1503
  }, Ie = function(e, t) {
1497
1504
  for (t === void 0 && (t = 2), e = String(e); e.length < t; )
@@ -1584,16 +1591,16 @@ var ho = [
1584
1591
  var t = e.getTimezoneOffset();
1585
1592
  return (t > 0 ? "-" : "+") + Ie(Math.floor(Math.abs(t) / 60), 2) + ":" + Ie(Math.abs(t) % 60, 2);
1586
1593
  }
1587
- }, ga = function(e) {
1594
+ }, ya = function(e) {
1588
1595
  return +e - 1;
1589
- }, ya = [null, nt], va = [null, Bt], ba = [
1596
+ }, va = [null, it], ba = [null, Gt], _a = [
1590
1597
  "isPm",
1591
- Bt,
1598
+ Gt,
1592
1599
  function(e, t) {
1593
1600
  var n = e.toLowerCase();
1594
1601
  return n === t.amPm[0] ? 0 : n === t.amPm[1] ? 1 : null;
1595
1602
  }
1596
- ], _a = [
1603
+ ], Ta = [
1597
1604
  "timezoneOffset",
1598
1605
  "[^\\s]*?[\\+\\-]\\d\\d:?\\d\\d|[^\\s]*?Z?",
1599
1606
  function(e) {
@@ -1605,47 +1612,47 @@ var ho = [
1605
1612
  return 0;
1606
1613
  }
1607
1614
  ], Qu = {
1608
- D: ["day", nt],
1609
- DD: ["day", tt],
1610
- Do: ["day", nt + Bt, function(e) {
1615
+ D: ["day", it],
1616
+ DD: ["day", nt],
1617
+ Do: ["day", it + Gt, function(e) {
1611
1618
  return parseInt(e, 10);
1612
1619
  }],
1613
- M: ["month", nt, ga],
1614
- MM: ["month", tt, ga],
1620
+ M: ["month", it, ya],
1621
+ MM: ["month", nt, ya],
1615
1622
  YY: [
1616
1623
  "year",
1617
- tt,
1624
+ nt,
1618
1625
  function(e) {
1619
1626
  var t = /* @__PURE__ */ new Date(), n = +("" + t.getFullYear()).substr(0, 2);
1620
1627
  return +("" + (+e > 68 ? n - 1 : n) + e);
1621
1628
  }
1622
1629
  ],
1623
- h: ["hour", nt, void 0, "isPm"],
1624
- hh: ["hour", tt, void 0, "isPm"],
1625
- H: ["hour", nt],
1626
- HH: ["hour", tt],
1627
- m: ["minute", nt],
1628
- mm: ["minute", tt],
1629
- s: ["second", nt],
1630
- ss: ["second", tt],
1630
+ h: ["hour", it, void 0, "isPm"],
1631
+ hh: ["hour", nt, void 0, "isPm"],
1632
+ H: ["hour", it],
1633
+ HH: ["hour", nt],
1634
+ m: ["minute", it],
1635
+ mm: ["minute", nt],
1636
+ s: ["second", it],
1637
+ ss: ["second", nt],
1631
1638
  YYYY: ["year", Yu],
1632
1639
  S: ["millisecond", "\\d", function(e) {
1633
1640
  return +e * 100;
1634
1641
  }],
1635
- SS: ["millisecond", tt, function(e) {
1642
+ SS: ["millisecond", nt, function(e) {
1636
1643
  return +e * 10;
1637
1644
  }],
1638
1645
  SSS: ["millisecond", Gu],
1639
- d: ya,
1640
- dd: ya,
1641
- ddd: va,
1642
- dddd: va,
1643
- MMM: ["month", Bt, ha("monthNamesShort")],
1644
- MMMM: ["month", Bt, ha("monthNames")],
1645
- a: ba,
1646
- A: ba,
1647
- ZZ: _a,
1648
- Z: _a
1646
+ d: va,
1647
+ dd: va,
1648
+ ddd: ba,
1649
+ dddd: ba,
1650
+ MMM: ["month", Gt, pa("monthNamesShort")],
1651
+ MMMM: ["month", Gt, pa("monthNames")],
1652
+ a: _a,
1653
+ A: _a,
1654
+ ZZ: Ta,
1655
+ Z: Ta
1649
1656
  }, fn = {
1650
1657
  default: "ddd MMM DD YYYY HH:mm:ss",
1651
1658
  shortDate: "M/D/YY",
@@ -1658,17 +1665,17 @@ var ho = [
1658
1665
  mediumTime: "HH:mm:ss",
1659
1666
  longTime: "HH:mm:ss.SSS"
1660
1667
  }, ec = function(e) {
1661
- return ct(fn, e);
1668
+ return ft(fn, e);
1662
1669
  }, tc = function(e, t, n) {
1663
1670
  if (t === void 0 && (t = fn.default), n === void 0 && (n = {}), typeof e == "number" && (e = new Date(e)), Object.prototype.toString.call(e) !== "[object Date]" || isNaN(e.getTime()))
1664
1671
  throw new Error("Invalid Date pass to format");
1665
1672
  t = fn[t] || t;
1666
1673
  var i = [];
1667
- t = t.replace(mo, function(o, r) {
1674
+ t = t.replace(fo, function(o, r) {
1668
1675
  return i.push(r), "@@@";
1669
1676
  });
1670
- var a = ct(ct({}, mn), n);
1671
- return t = t.replace(co, function(o) {
1677
+ var a = ft(ft({}, mn), n);
1678
+ return t = t.replace(mo, function(o) {
1672
1679
  return Ju[o](e, a);
1673
1680
  }), t.replace(/@@@/g, function() {
1674
1681
  return i.shift();
@@ -1689,10 +1696,10 @@ function nc(e, t, n) {
1689
1696
  millisecond: 0,
1690
1697
  isPm: null,
1691
1698
  timezoneOffset: null
1692
- }, o = [], r = [], s = t.replace(mo, function(M, O) {
1693
- return r.push(pa(O)), "@@@";
1699
+ }, o = [], r = [], s = t.replace(fo, function(M, O) {
1700
+ return r.push(ga(O)), "@@@";
1694
1701
  }), d = {}, u = {};
1695
- s = pa(s).replace(co, function(M) {
1702
+ s = ga(s).replace(mo, function(M) {
1696
1703
  var O = Qu[M], E = O[0], _ = O[1], I = O[3];
1697
1704
  if (d[E])
1698
1705
  throw new Error("Invalid format. " + E + " specified twice in format");
@@ -1706,7 +1713,7 @@ function nc(e, t, n) {
1706
1713
  var y = e.match(new RegExp(s, "i"));
1707
1714
  if (!y)
1708
1715
  return null;
1709
- for (var f = ct(ct({}, mn), n), p = 1; p < y.length; p++) {
1716
+ for (var f = ft(ft({}, mn), n), p = 1; p < y.length; p++) {
1710
1717
  var T = o[p - 1], k = T[0], v = T[2], N = v ? v(y[p], f) : +y[p];
1711
1718
  if (N == null)
1712
1719
  return null;
@@ -1722,17 +1729,17 @@ function nc(e, t, n) {
1722
1729
  ["hour", "getHours"],
1723
1730
  ["minute", "getMinutes"],
1724
1731
  ["second", "getSeconds"]
1725
- ], p = 0, D = H.length; p < D; p++)
1732
+ ], p = 0, P = H.length; p < P; p++)
1726
1733
  if (d[H[p][0]] && a[H[p][0]] !== U[H[p][1]]())
1727
1734
  return null;
1728
1735
  } else if (U = new Date(Date.UTC(a.year, a.month, a.day, a.hour, a.minute - a.timezoneOffset, a.second, a.millisecond)), a.month > 11 || a.month < 0 || a.day > 31 || a.day < 1 || a.hour > 23 || a.hour < 0 || a.minute > 59 || a.minute < 0 || a.second > 59 || a.second < 0)
1729
1736
  return null;
1730
1737
  return U;
1731
1738
  }
1732
- var St = {
1739
+ var Et = {
1733
1740
  format: tc,
1734
1741
  parse: nc,
1735
- defaultI18n: go,
1742
+ defaultI18n: yo,
1736
1743
  setGlobalDateI18n: Xu,
1737
1744
  setGlobalDateMasks: ec
1738
1745
  };
@@ -1749,10 +1756,10 @@ function ic(e, t, n) {
1749
1756
  }
1750
1757
  return e.apply(t, n);
1751
1758
  }
1752
- var Ta = Math.max;
1759
+ var Sa = Math.max;
1753
1760
  function ac(e, t, n) {
1754
- return t = Ta(t === void 0 ? e.length - 1 : t, 0), function() {
1755
- for (var i = arguments, a = -1, o = Ta(i.length - t, 0), r = Array(o); ++a < o; )
1761
+ return t = Sa(t === void 0 ? e.length - 1 : t, 0), function() {
1762
+ for (var i = arguments, a = -1, o = Sa(i.length - t, 0), r = Array(o); ++a < o; )
1756
1763
  r[a] = i[t + a];
1757
1764
  a = -1;
1758
1765
  for (var s = Array(t + 1); ++a < t; )
@@ -1772,7 +1779,7 @@ var rc = un ? function(e, t) {
1772
1779
  value: oc(t),
1773
1780
  writable: !0
1774
1781
  });
1775
- } : ri, sc = 800, lc = 16, dc = Date.now;
1782
+ } : si, sc = 800, lc = 16, dc = Date.now;
1776
1783
  function uc(e) {
1777
1784
  var t = 0, n = 0;
1778
1785
  return function() {
@@ -1787,32 +1794,32 @@ function uc(e) {
1787
1794
  }
1788
1795
  var cc = uc(rc);
1789
1796
  function mc(e, t) {
1790
- return cc(ac(e, t, ri), e + "");
1797
+ return cc(ac(e, t, si), e + "");
1791
1798
  }
1792
1799
  function fc(e, t, n) {
1793
1800
  if (!Re(n))
1794
1801
  return !1;
1795
1802
  var i = typeof t;
1796
- return (i == "number" ? gn(n) && $a(t, n.length) : i == "string" && t in n) ? bn(n[t], e) : !1;
1803
+ return (i == "number" ? gn(n) && Va(t, n.length) : i == "string" && t in n) ? bn(n[t], e) : !1;
1797
1804
  }
1798
- var yo = Object.prototype, hc = yo.hasOwnProperty, pc = mc(function(e, t) {
1805
+ var vo = Object.prototype, hc = vo.hasOwnProperty, pc = mc(function(e, t) {
1799
1806
  e = Object(e);
1800
1807
  var n = -1, i = t.length, a = i > 2 ? t[2] : void 0;
1801
1808
  for (a && fc(t[0], t[1], a) && (i = 1); ++n < i; )
1802
1809
  for (var o = t[n], r = En(o), s = -1, d = r.length; ++s < d; ) {
1803
1810
  var u = r[s], y = e[u];
1804
- (y === void 0 || bn(y, yo[u]) && !hc.call(e, u)) && (e[u] = o[u]);
1811
+ (y === void 0 || bn(y, vo[u]) && !hc.call(e, u)) && (e[u] = o[u]);
1805
1812
  }
1806
1813
  return e;
1807
1814
  }), gc = Pe.isFinite;
1808
- function vo(e) {
1815
+ function bo(e) {
1809
1816
  return typeof e == "number" && gc(e);
1810
1817
  }
1811
- var Sa = 1 / 0, yc = 17976931348623157e292;
1818
+ var Ea = 1 / 0, yc = 17976931348623157e292;
1812
1819
  function vc(e) {
1813
1820
  if (!e)
1814
1821
  return e === 0 ? e : 0;
1815
- if (e = Jn(e), e === Sa || e === -Sa) {
1822
+ if (e = Qn(e), e === Ea || e === -Ea) {
1816
1823
  var t = e < 0 ? -1 : 1;
1817
1824
  return t * yc;
1818
1825
  }
@@ -1826,8 +1833,8 @@ function _c(e) {
1826
1833
  return typeof e == "number" && e == bc(e);
1827
1834
  }
1828
1835
  var Tc = "[object Number]";
1829
- function ci(e) {
1830
- return typeof e == "number" || ot(e) && at(e) == Tc;
1836
+ function mi(e) {
1837
+ return typeof e == "number" || rt(e) && ot(e) == Tc;
1831
1838
  }
1832
1839
  const Sc = {
1833
1840
  packageName: "forms",
@@ -2064,23 +2071,23 @@ const Sc = {
2064
2071
  for (let n = 0; n < t.length; n++)
2065
2072
  e = e.replace("{" + (n - 1) + "}", String(t[n] || ""));
2066
2073
  return e;
2067
- }, Ue = (e, t, n = be) => de(e) || e === "" ? t ? [ae(n.fieldIsRequired)] : [] : null, mt = {
2074
+ }, Ue = (e, t, n = be) => de(e) || e === "" ? t ? [ae(n.fieldIsRequired)] : [] : null, ht = {
2068
2075
  required: (e, t, n, i = be) => Ue(e, t.required, i) || [],
2069
2076
  number: (e, t, n, i = be) => {
2070
2077
  let a = Ue(e, t.required, i);
2071
- return a != null || (a = [], vo(e) ? (!de(t.min) && e < t.min, (i = be) && a.push(ae(i.numberTooSmall, t.min)), !de(t.max) && e > t.max, (i = be) && a.push(ae(i.numberTooBig, t.max))) : a.push(ae(i.invalidNumber))), a;
2078
+ return a != null || (a = [], bo(e) ? (!de(t.min) && e < t.min, (i = be) && a.push(ae(i.numberTooSmall, t.min)), !de(t.max) && e > t.max, (i = be) && a.push(ae(i.numberTooBig, t.max))) : a.push(ae(i.invalidNumber))), a;
2072
2079
  },
2073
2080
  integer: (e, t, n, i = be) => {
2074
2081
  let a = Ue(e, t.required, i);
2075
- return a != null || (a = [], a.concat(mt.number(e, t, n, i)), _c(e) || a.push(ae(i.invalidInteger))), a;
2082
+ return a != null || (a = [], a.concat(ht.number(e, t, n, i)), _c(e) || a.push(ae(i.invalidInteger))), a;
2076
2083
  },
2077
2084
  double: (e, t, n, i = be) => {
2078
2085
  const a = Ue(e, t.required, i);
2079
- return a ?? (!ci(e) || isNaN(e) ? [ae(i.invalidNumber)] : []);
2086
+ return a ?? (!mi(e) || isNaN(e) ? [ae(i.invalidNumber)] : []);
2080
2087
  },
2081
2088
  string: (e, t, n, i = be) => {
2082
2089
  let a = Ue(e, t.required, i);
2083
- return a != null || (a = [], ut(e) ? (!de(t.min) && e.length < t.min && a.push(ae(i.textTooSmall, e.length, t.min)), !de(t.max) && e.length > t.max && a.push(ae(i.textTooBig, e.length, t.max))) : a.push(ae(i.thisNotText))), a;
2090
+ return a != null || (a = [], mt(e) ? (!de(t.min) && e.length < t.min && a.push(ae(i.textTooSmall, e.length, t.min)), !de(t.max) && e.length > t.max && a.push(ae(i.textTooBig, e.length, t.max))) : a.push(ae(i.thisNotText))), a;
2084
2091
  },
2085
2092
  array: (e, t, n, i = be) => {
2086
2093
  if (t.required) {
@@ -2106,11 +2113,11 @@ const Sc = {
2106
2113
  return [ae(i.invalidDate)];
2107
2114
  if (!de(t.min)) {
2108
2115
  const r = new Date(t.min);
2109
- o.valueOf() < r.valueOf() && a.push(ae(i.dateIsEarly, St.format(o), St.format(r)));
2116
+ o.valueOf() < r.valueOf() && a.push(ae(i.dateIsEarly, Et.format(o), Et.format(r)));
2110
2117
  }
2111
2118
  if (!de(t.max)) {
2112
2119
  const r = new Date(t.max);
2113
- o.valueOf() > r.valueOf() && a.push(ae(i.dateIsLate, St.format(o), St.format(r)));
2120
+ o.valueOf() > r.valueOf() && a.push(ae(i.dateIsLate, Et.format(o), Et.format(r)));
2114
2121
  }
2115
2122
  return a;
2116
2123
  },
@@ -2146,21 +2153,21 @@ const Sc = {
2146
2153
  return a ?? (/^[a-zA-Z0-9]*$/.test(e) ? [] : [ae(i.invalidTextContainSpec)]);
2147
2154
  }
2148
2155
  };
2149
- Object.keys(mt).forEach((e) => {
2150
- const t = mt[e];
2156
+ Object.keys(ht).forEach((e) => {
2157
+ const t = ht[e];
2151
2158
  X(t) && (t.locale = (n) => (i, a, o) => t(i, a, o, pc(n, be)));
2152
2159
  });
2153
- function Ea(e) {
2154
- return ut(e) ? mt[e] != null ? mt[e] : (console.warn(`'${e}' is not a validator function!`), null) : e;
2160
+ function wa(e) {
2161
+ return mt(e) ? ht[e] != null ? ht[e] : (console.warn(`'${e}' is not a validator function!`), null) : e;
2155
2162
  }
2156
- function zn(e, t, n) {
2163
+ function Hn(e, t, n) {
2157
2164
  let i = Z(n.context, "schema.attributes", {});
2158
2165
  const a = t.value || "input";
2159
- ut(a) && (i = Z(i, a) || i), Se(i, (o, r) => {
2166
+ mt(a) && (i = Z(i, a) || i), Se(i, (o, r) => {
2160
2167
  e.setAttribute(r, o);
2161
2168
  });
2162
2169
  }
2163
- const $e = {
2170
+ const je = {
2164
2171
  name: "abstractField",
2165
2172
  props: ["vfg", "model", "schema", "formOptions", "disabled"],
2166
2173
  emits: ["validated", "modelUpdated"],
@@ -2173,9 +2180,9 @@ const $e = {
2173
2180
  },
2174
2181
  directives: {
2175
2182
  attributes: {
2176
- beforeMount: zn,
2177
- updated: zn,
2178
- componentUpdated: zn
2183
+ beforeMount: Hn,
2184
+ updated: Hn,
2185
+ componentUpdated: Hn
2179
2186
  }
2180
2187
  },
2181
2188
  computed: {
@@ -2199,8 +2206,8 @@ const $e = {
2199
2206
  if (this.schema.validator && this.schema.readonly !== !0 && this.disabled !== !0) {
2200
2207
  const a = [];
2201
2208
  Array.isArray(this.schema.validator) ? Se(this.schema.validator, (o) => {
2202
- a.push(Ea(o).bind(this));
2203
- }) : a.push(Ea(this.schema.validator).bind(this)), Se(a, (o) => {
2209
+ a.push(wa(o).bind(this));
2210
+ }) : a.push(wa(this.schema.validator).bind(this)), Se(a, (o) => {
2204
2211
  if (t)
2205
2212
  n.push(o(this.value, this.schema, this.model));
2206
2213
  else {
@@ -2215,8 +2222,8 @@ const $e = {
2215
2222
  }
2216
2223
  const i = (a) => {
2217
2224
  let o = [];
2218
- Se(lo(a), (s) => {
2219
- Array.isArray(s) && s.length > 0 ? o = o.concat(s) : ut(s) && o.push(s);
2225
+ Se(uo(a), (s) => {
2226
+ Array.isArray(s) && s.length > 0 ? o = o.concat(s) : mt(s) && o.push(s);
2220
2227
  }), X(this.schema.onValidated) && this.schema.onValidated.call(this, this.model, o, this.schema);
2221
2228
  const r = o.length === 0;
2222
2229
  return e || this.$emit("validated", r, o, this), this.errors = o, o;
@@ -2224,7 +2231,7 @@ const $e = {
2224
2231
  return t ? Promise.all(n).then(i) : i(n);
2225
2232
  },
2226
2233
  debouncedValidate() {
2227
- X(this.debouncedValidateFunc) || (this.debouncedValidateFunc = At(
2234
+ X(this.debouncedValidateFunc) || (this.debouncedValidateFunc = It(
2228
2235
  this.validate.bind(this),
2229
2236
  Z(this.schema, "validateDebounceTime", Z(this.formOptions, "validateDebounceTime", 500))
2230
2237
  )), this.debouncedValidateFunc();
@@ -2256,7 +2263,7 @@ const $e = {
2256
2263
  },
2257
2264
  getFieldID(e, t = !1) {
2258
2265
  const n = Z(this.formOptions, "fieldIdPrefix", "");
2259
- return ui(e, n) + (t ? "-" + uo() : "");
2266
+ return ci(e, n) + (t ? "-" + co() : "");
2260
2267
  },
2261
2268
  getLabelId(e) {
2262
2269
  return `${this.getFieldID(e)}-label`;
@@ -2273,7 +2280,7 @@ const $e = {
2273
2280
  }
2274
2281
  }, Ip = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2275
2282
  __proto__: null,
2276
- default: $e
2283
+ default: je
2277
2284
  }, Symbol.toStringTag, { value: "Module" })), W = (e, t) => {
2278
2285
  const n = e.__vccOpts || e;
2279
2286
  for (const [i, a] of t)
@@ -2283,7 +2290,7 @@ const $e = {
2283
2290
  class: "advanced-field-dropdown-wrapper",
2284
2291
  "data-testid": "advanced-field-dropdown-wrapper"
2285
2292
  }, Oc = { class: "material-icons" }, Rc = {
2286
- mixins: [$e],
2293
+ mixins: [je],
2287
2294
  emits: ["model-updated"],
2288
2295
  expose: ["validate", "clearValidationErrors", "schema"],
2289
2296
  data() {
@@ -2352,7 +2359,7 @@ const $e = {
2352
2359
  },
2353
2360
  emits: ["remove-item"],
2354
2361
  setup(e) {
2355
- return Yt("vfg-array-item-index", e.index), (n, i) => {
2362
+ return Xt("vfg-array-item-index", e.index), (n, i) => {
2356
2363
  const a = j("KCard"), o = j("KButton");
2357
2364
  return c(), b("div", Uc, [
2358
2365
  C(a, { class: "card" }, {
@@ -2367,14 +2374,14 @@ const $e = {
2367
2374
  onClick: i[0] || (i[0] = (r) => n.$emit("remove-item"))
2368
2375
  }, {
2369
2376
  default: A(() => [
2370
- C(R(Ct))
2377
+ C(R(Ot))
2371
2378
  ]),
2372
2379
  _: 1
2373
2380
  })
2374
2381
  ]);
2375
2382
  };
2376
2383
  }
2377
- }), bo = /* @__PURE__ */ W(Nc, [["__scopeId", "data-v-a8366ec5"]]), Lc = { class: "array-item-wrapper" }, Dc = { class: "array-item" }, Pc = { class: "array-item-after" }, $c = /* @__PURE__ */ fe({
2384
+ }), _o = /* @__PURE__ */ W(Nc, [["__scopeId", "data-v-a8366ec5"]]), Lc = { class: "array-item-wrapper" }, Dc = { class: "array-item" }, Pc = { class: "array-item-after" }, $c = /* @__PURE__ */ fe({
2378
2385
  __name: "FieldArrayItem",
2379
2386
  props: {
2380
2387
  model: {
@@ -2395,7 +2402,7 @@ const $e = {
2395
2402
  onClick: n[0] || (n[0] = (a) => t.$emit("remove-item"))
2396
2403
  }, {
2397
2404
  default: A(() => [
2398
- C(R(Ct))
2405
+ C(R(Ot))
2399
2406
  ]),
2400
2407
  _: 1
2401
2408
  })
@@ -2406,7 +2413,7 @@ const $e = {
2406
2413
  ]);
2407
2414
  };
2408
2415
  }
2409
- }), _o = /* @__PURE__ */ W($c, [["__scopeId", "data-v-e6b6837c"]]), Vc = { class: "multi-item-wrapper" }, jc = /* @__PURE__ */ fe({
2416
+ }), To = /* @__PURE__ */ W($c, [["__scopeId", "data-v-e6b6837c"]]), Vc = { class: "multi-item-wrapper" }, jc = /* @__PURE__ */ fe({
2410
2417
  __name: "FieldArrayMultiItem",
2411
2418
  emits: ["remove-item"],
2412
2419
  setup(e) {
@@ -2428,14 +2435,14 @@ const $e = {
2428
2435
  ]);
2429
2436
  };
2430
2437
  }
2431
- }), To = /* @__PURE__ */ W(jc, [["__scopeId", "data-v-b4fcf731"]]);
2438
+ }), So = /* @__PURE__ */ W(jc, [["__scopeId", "data-v-b4fcf731"]]);
2432
2439
  var Kc = 4;
2433
- function wa(e) {
2434
- return qt(e, Kc);
2440
+ function Ma(e) {
2441
+ return Ht(e, Kc);
2435
2442
  }
2436
2443
  const xc = "#6c7489", qc = "12px", Bc = "20px", zc = ["data-testid", "data-testlabel"], Hc = { class: "item-label" }, Gc = { class: "autosuggest__results_message" }, Yc = /* @__PURE__ */ fe({
2437
2444
  __name: "AutoSuggest",
2438
- props: /* @__PURE__ */ Ui({
2445
+ props: /* @__PURE__ */ Ni({
2439
2446
  placeholder: { default: "" },
2440
2447
  suggestions: {},
2441
2448
  disabled: { type: Boolean, default: !1 },
@@ -2447,7 +2454,7 @@ const xc = "#6c7489", qc = "12px", Bc = "20px", zc = ["data-testid", "data-testl
2447
2454
  id: { required: !0 },
2448
2455
  idModifiers: {}
2449
2456
  }),
2450
- emits: /* @__PURE__ */ Ui(["change", "query-change"], ["update:id"]),
2457
+ emits: /* @__PURE__ */ Ni(["change", "query-change"], ["update:id"]),
2451
2458
  setup(e) {
2452
2459
  const { t } = ke("en-us", Fe), n = Ko(e, "id");
2453
2460
  return (i, a) => {
@@ -2469,7 +2476,7 @@ const xc = "#6c7489", qc = "12px", Bc = "20px", zc = ["data-testid", "data-testl
2469
2476
  width: "100%",
2470
2477
  onChange: a[1] || (a[1] = (r) => i.$emit("change", r)),
2471
2478
  onQueryChange: a[2] || (a[2] = (r) => i.$emit("query-change", r))
2472
- }, ei({
2479
+ }, ti({
2473
2480
  "item-template": A(({ item: r }) => [
2474
2481
  Ce(i.$slots, "item", { item: r }, () => [
2475
2482
  h("span", {
@@ -2501,7 +2508,7 @@ const xc = "#6c7489", qc = "12px", Bc = "20px", zc = ["data-testid", "data-testl
2501
2508
  ]), 1032, ["id", "modelValue", "disabled", "error", "help", "items", "loading", "placeholder"]);
2502
2509
  };
2503
2510
  }
2504
- }), Wc = /* @__PURE__ */ W(Yc, [["__scopeId", "data-v-1e9151dd"]]), Zc = "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}", Qn = (e) => e ? e.length === 36 && new RegExp(`^${Zc}$`).test(e) : !1, Xc = { class: "selected-entity-item" }, Jc = { class: "selected-entity-label" }, Qc = { class: "entity-suggestion-item" }, em = { class: "entity-label" }, tm = { class: "entity-id" }, nm = 500, im = 50, am = 1e3, om = /* @__PURE__ */ fe({
2511
+ }), Wc = /* @__PURE__ */ W(Yc, [["__scopeId", "data-v-1e9151dd"]]), Zc = "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}", ei = (e) => e ? e.length === 36 && new RegExp(`^${Zc}$`).test(e) : !1, Xc = { class: "selected-entity-item" }, Jc = { class: "selected-entity-label" }, Qc = { class: "entity-suggestion-item" }, em = { class: "entity-label" }, tm = { class: "entity-id" }, nm = 500, im = 50, am = 1e3, om = /* @__PURE__ */ fe({
2505
2512
  __name: "FieldScopedEntitySelect",
2506
2513
  props: {
2507
2514
  transformItem: { type: Function },
@@ -2520,7 +2527,7 @@ const xc = "#6c7489", qc = "12px", Bc = "20px", zc = ["data-testid", "data-testl
2520
2527
  },
2521
2528
  emits: ["change"],
2522
2529
  setup(e) {
2523
- const t = zt(Ne, void 0), n = async (m, g) => {
2530
+ const t = Yt(Ne, void 0), n = async (m, g) => {
2524
2531
  if (!t)
2525
2532
  return console.warn("[@kong-ui-public/forms] No API service provided"), [];
2526
2533
  const { data: w } = await t.getAllV2(e.entity, { name: m, size: am }, g);
@@ -2560,7 +2567,7 @@ const xc = "#6c7489", qc = "12px", Bc = "20px", zc = ["data-testid", "data-testl
2560
2567
  clearTimeout(v), s.value = !1;
2561
2568
  }
2562
2569
  }
2563
- }, U = At((m) => {
2570
+ }, U = It((m) => {
2564
2571
  if (m = m || "", u.value = m, !m.trim() && !d.value) {
2565
2572
  y.value = _(p.value);
2566
2573
  return;
@@ -2572,25 +2579,25 @@ const xc = "#6c7489", qc = "12px", Bc = "20px", zc = ["data-testid", "data-testl
2572
2579
  return;
2573
2580
  }
2574
2581
  O(m, g);
2575
- }, nm, { leading: !0 }), H = async (m, g) => await n(m, g), D = async () => {
2582
+ }, nm, { leading: !0 }), H = async (m, g) => await n(m, g), P = async () => {
2576
2583
  const { data: { data: m, next: g, offset: w } } = await i(im);
2577
2584
  return (!g || !w) && (d.value = !0), f.value = m, p.value = m.map((L) => ({
2578
2585
  ...o(L),
2579
2586
  group: T("fields.auto_suggest.recently_created", { entity: e.entity })
2580
2587
  })), m;
2581
2588
  }, M = async (m) => [await a(m)], O = (m, g) => {
2582
- Qn(m) && e.allowUuidSearch ? N(async () => await M(m)) : N(async () => await H(m, g.signal), g.signal);
2589
+ ei(m) && e.allowUuidSearch ? N(async () => await M(m)) : N(async () => await H(m, g.signal), g.signal);
2583
2590
  }, E = (m) => {
2584
2591
  let g = [];
2585
2592
  g = _(p.value), m != null && m.trim() ? y.value = g.filter((w) => e.fields.some((L) => (w[L] || "").includes(m))) : y.value = g;
2586
2593
  }, _ = (m) => e.selectedItem ? m.some((g) => g.value === e.selectedItem.value) ? m : [e.selectedItem, ...m] : m, I = (m) => {
2587
2594
  y.value = p.value.filter((g) => g.id === m);
2588
2595
  }, F = (m) => {
2589
- Qn(m) && e.allowUuidSearch ? I(m) : E(m);
2596
+ ei(m) && e.allowUuidSearch ? I(m) : E(m);
2590
2597
  };
2591
- return ti(async () => {
2592
- await N(D);
2593
- const m = Wt(() => e.selectedItem, (g) => {
2598
+ return ni(async () => {
2599
+ await N(P);
2600
+ const m = Jt(() => e.selectedItem, (g) => {
2594
2601
  g && (y.value = _(p.value)), m();
2595
2602
  });
2596
2603
  y.value = _(p.value);
@@ -2634,14 +2641,14 @@ const xc = "#6c7489", qc = "12px", Bc = "20px", zc = ["data-testid", "data-testl
2634
2641
  }, 8, ["id", "disabled", "dom-id", "empty-message", "error", "loading", "placeholder", "readonly", "suggestions", "onQueryChange"]));
2635
2642
  }
2636
2643
  }), rm = /* @__PURE__ */ W(om, [["__scopeId", "data-v-28628e7b"]]);
2637
- function So(e, t, n) {
2638
- return n ? qe.SET_REFERRAL_VALUE : e && !t || !e && t ? qe.UPDATE_ENTITY : e && t ? qe.CREATE_FROM_ENTITY : qe.CREATE_NOT_FROM_ENTITY;
2644
+ function Eo(e, t, n) {
2645
+ return n ? ze.SET_REFERRAL_VALUE : e && !t || !e && t ? ze.UPDATE_ENTITY : e && t ? ze.CREATE_FROM_ENTITY : ze.CREATE_NOT_FROM_ENTITY;
2639
2646
  }
2640
2647
  const sm = {
2641
2648
  components: {
2642
2649
  FieldScopedEntitySelect: rm
2643
2650
  },
2644
- mixins: [$e],
2651
+ mixins: [je],
2645
2652
  inject: [Ne],
2646
2653
  emits: ["model-updated"],
2647
2654
  setup() {
@@ -2659,7 +2666,7 @@ const sm = {
2659
2666
  },
2660
2667
  computed: {
2661
2668
  fieldState() {
2662
- return So(this.model[this.schema.model], this.associatedEntity || this.entityId, this.bypassSearch);
2669
+ return Eo(this.model[this.schema.model], this.associatedEntity || this.entityId, this.bypassSearch);
2663
2670
  },
2664
2671
  associatedEntity() {
2665
2672
  return this.$route && this.$route.params[this.entity];
@@ -2691,17 +2698,17 @@ const sm = {
2691
2698
  this.error = null;
2692
2699
  try {
2693
2700
  switch (this.fieldState) {
2694
- case qe.UPDATE_ENTITY:
2701
+ case ze.UPDATE_ENTITY:
2695
2702
  if (!this[Ne]) {
2696
2703
  console.warn("[@kong-ui-public/forms] No API service provided");
2697
2704
  break;
2698
2705
  }
2699
2706
  this.loading = !0, t = await this.getOne(this.model[this.schema.model]), e = this.getItem(this.schema.entityDataKey ? t[this.schema.entityDataKey] : t), this.idValue = e.id;
2700
2707
  break;
2701
- case qe.CREATE_FROM_ENTITY:
2708
+ case ze.CREATE_FROM_ENTITY:
2702
2709
  this.idValue = this.associatedEntity.id;
2703
2710
  break;
2704
- case qe.SET_REFERRAL_VALUE:
2711
+ case ze.SET_REFERRAL_VALUE:
2705
2712
  this.idValue = this.value;
2706
2713
  }
2707
2714
  e && (this.initialItem = this.transformItem(e), this.selectedItem = this.initialItem);
@@ -2775,8 +2782,8 @@ function lm(e, t, n, i, a, o) {
2775
2782
  _: 1
2776
2783
  }, 8, ["text"]);
2777
2784
  }
2778
- const Eo = /* @__PURE__ */ W(sm, [["render", lm], ["__scopeId", "data-v-9ab50e80"]]), Hn = 50, dm = {
2779
- mixins: [$e],
2785
+ const wo = /* @__PURE__ */ W(sm, [["render", lm], ["__scopeId", "data-v-9ab50e80"]]), Gn = 50, dm = {
2786
+ mixins: [je],
2780
2787
  inject: [Ne],
2781
2788
  emits: ["model-updated"],
2782
2789
  setup() {
@@ -2797,7 +2804,7 @@ const Eo = /* @__PURE__ */ W(sm, [["render", lm], ["__scopeId", "data-v-9ab50e80
2797
2804
  },
2798
2805
  computed: {
2799
2806
  fieldState() {
2800
- return So(this.model[this.schema.model], this.associatedEntity || this.entityId, this.bypassSearch);
2807
+ return Eo(this.model[this.schema.model], this.associatedEntity || this.entityId, this.bypassSearch);
2801
2808
  },
2802
2809
  associatedEntity() {
2803
2810
  return this.$route && this.$route.params[this.entity];
@@ -2816,17 +2823,17 @@ const Eo = /* @__PURE__ */ W(sm, [["render", lm], ["__scopeId", "data-v-9ab50e80
2816
2823
  await this.$nextTick();
2817
2824
  let e, t;
2818
2825
  switch (this.fieldState) {
2819
- case qe.UPDATE_ENTITY:
2826
+ case ze.UPDATE_ENTITY:
2820
2827
  if (!this[Ne]) {
2821
2828
  console.warn("[@kong-ui-public/forms] No API service provided");
2822
2829
  break;
2823
2830
  }
2824
2831
  t = (await this[Ne].getOne(this.entity, this.model[this.schema.model])).data, e = this.getItem(this.schema.entityDataKey ? t[this.schema.entityDataKey] : t), this.idValue = e.id;
2825
2832
  break;
2826
- case qe.CREATE_FROM_ENTITY:
2833
+ case ze.CREATE_FROM_ENTITY:
2827
2834
  this.idValue = this.associatedEntity.id;
2828
2835
  break;
2829
- case qe.SET_REFERRAL_VALUE:
2836
+ case ze.SET_REFERRAL_VALUE:
2830
2837
  this.idValue = this.value;
2831
2838
  }
2832
2839
  try {
@@ -2837,7 +2844,7 @@ const Eo = /* @__PURE__ */ W(sm, [["render", lm], ["__scopeId", "data-v-9ab50e80
2837
2844
  },
2838
2845
  methods: {
2839
2846
  onQueryChange(e) {
2840
- e.trim().length === 0 && (this.items = [], this.message = "Type something to search"), typeof this.performSearch != "function" && (this.performSearch = At(
2847
+ e.trim().length === 0 && (this.items = [], this.message = "Type something to search"), typeof this.performSearch != "function" && (this.performSearch = It(
2841
2848
  this.search,
2842
2849
  500
2843
2850
  )), this.performSearch(e);
@@ -2847,7 +2854,7 @@ const Eo = /* @__PURE__ */ W(sm, [["render", lm], ["__scopeId", "data-v-9ab50e80
2847
2854
  return;
2848
2855
  this.loading = !0;
2849
2856
  const t = [], n = [], i = this.getInputFields(), a = /* @__PURE__ */ new Set();
2850
- Qn(e) && i.includes("id") ? n.push((async () => {
2857
+ ei(e) && i.includes("id") ? n.push((async () => {
2851
2858
  const o = await this.fetchExact(e);
2852
2859
  t.push({ ...o, label: this.getSuggestionLabel(o), value: o.id });
2853
2860
  })()) : n.push(...i.filter((o) => o !== "id").map(async (o) => {
@@ -2864,15 +2871,15 @@ const Eo = /* @__PURE__ */ W(sm, [["render", lm], ["__scopeId", "data-v-9ab50e80
2864
2871
  let n = null;
2865
2872
  if (!this[Ne])
2866
2873
  return console.warn("[@kong-ui-public/forms] No API service provided"), [];
2867
- for (; t.length < Hn; ) {
2874
+ for (; t.length < Gn; ) {
2868
2875
  const i = await this[Ne].getAll(this.entity, {
2869
- size: Hn,
2876
+ size: Gn,
2870
2877
  offset: n,
2871
2878
  ...e
2872
2879
  });
2873
2880
  if (t.push(...i.data.data), n = i.data.offset, !n) break;
2874
2881
  }
2875
- return t.slice(0, Hn);
2882
+ return t.slice(0, Gn);
2876
2883
  },
2877
2884
  async fetchSuggestions(e, t) {
2878
2885
  return this.fetchUntilLimit({ [t]: e });
@@ -2948,9 +2955,9 @@ function fm(e, t, n, i, a, o) {
2948
2955
  _: 1
2949
2956
  }, 8, ["text"]);
2950
2957
  }
2951
- const wo = /* @__PURE__ */ W(dm, [["render", fm], ["__scopeId", "data-v-433129a3"]]);
2958
+ const Mo = /* @__PURE__ */ W(dm, [["render", fm], ["__scopeId", "data-v-433129a3"]]);
2952
2959
  function hm(e) {
2953
- const t = ne([]), n = ne(null), i = (v) => ut(v) ? mt[v] != null ? mt[v] : (console.warn(`'${v}' is not a validator function!`), null) : v, a = q({
2960
+ const t = ne([]), n = ne(null), i = (v) => mt(v) ? ht[v] != null ? ht[v] : (console.warn(`'${v}' is not a validator function!`), null) : v, a = q({
2954
2961
  get() {
2955
2962
  var N, U;
2956
2963
  let v;
@@ -2961,12 +2968,12 @@ function hm(e) {
2961
2968
  v = k(v), X(v) ? v(v, N) : s(v, N);
2962
2969
  }
2963
2970
  }), o = (v) => {
2964
- var D;
2971
+ var P;
2965
2972
  d();
2966
2973
  const N = Z(e.formOptions, "validateAsync", !1);
2967
2974
  let U = [];
2968
2975
  if (e.schema.readonly !== !0 && e.disabled !== !0) {
2969
- const M = [], O = (D = e.schema) == null ? void 0 : D.validator;
2976
+ const M = [], O = (P = e.schema) == null ? void 0 : P.validator;
2970
2977
  O && (Array.isArray(O) ? Se(O, (E) => {
2971
2978
  M.push(i(E));
2972
2979
  }) : M.push(i(O))), X(e.externalValidator) && M.push(e.externalValidator), Se(M, (E) => {
@@ -2986,8 +2993,8 @@ function hm(e) {
2986
2993
  const H = (M) => {
2987
2994
  var E, _;
2988
2995
  let O = [];
2989
- if (Se(lo(M), (I) => {
2990
- Array.isArray(I) && I.length > 0 ? O = O.concat(I) : ut(I) && O.push(I);
2996
+ if (Se(uo(M), (I) => {
2997
+ Array.isArray(I) && I.length > 0 ? O = O.concat(I) : mt(I) && O.push(I);
2991
2998
  }), X((E = e.schema) == null ? void 0 : E.onValidated) && e.schema.onValidated((_ = e.model) == null ? void 0 : _.value, O, e.schema), !v) {
2992
2999
  const I = O.length === 0;
2993
3000
  e.emitValidated && e.emitValidated({ isValid: I, errors: O, field: e.schema });
@@ -2996,35 +3003,35 @@ function hm(e) {
2996
3003
  };
2997
3004
  return N ? Promise.all(U).then(H) : H(U);
2998
3005
  }, r = () => {
2999
- X(n.value) ? n.value() : n.value = At(
3006
+ X(n.value) ? n.value() : n.value = It(
3000
3007
  o,
3001
3008
  Z(e.schema, "validateDebounceTime", Z(e.formOptions, "validateDebounceTime", 500))
3002
3009
  );
3003
3010
  }, s = (v, N) => {
3004
- var H, D, M;
3011
+ var H, P, M;
3005
3012
  let U = !1;
3006
- X(e.schema.set) ? (e.schema.set((H = e.model) == null ? void 0 : H.value, v), U = !0) : e.schema.model && (u(e.schema.model, v), U = !0), U && (e.emitModelUpdated && ((D = e.model) != null && D.value) && e.emitModelUpdated({ value: v, model: e.schema.model }), X(e.schema.onChanged) && e.schema.onChanged((M = e.model) == null ? void 0 : M.value, v, N, e.schema), Z(e.formOptions, "validateAfterChanged", !1) === !0 && (Z(e.schema, "validateDebounceTime", Z(e.formOptions, "validateDebounceTime", 0)) > 0 ? r() : o()));
3013
+ X(e.schema.set) ? (e.schema.set((H = e.model) == null ? void 0 : H.value, v), U = !0) : e.schema.model && (u(e.schema.model, v), U = !0), U && (e.emitModelUpdated && ((P = e.model) != null && P.value) && e.emitModelUpdated({ value: v, model: e.schema.model }), X(e.schema.onChanged) && e.schema.onChanged((M = e.model) == null ? void 0 : M.value, v, N, e.schema), Z(e.formOptions, "validateAfterChanged", !1) === !0 && (Z(e.schema, "validateDebounceTime", Z(e.formOptions, "validateDebounceTime", 0)) > 0 ? r() : o()));
3007
3014
  }, d = () => {
3008
3015
  t.value.splice(0);
3009
3016
  }, u = (v, N) => {
3010
3017
  var E;
3011
3018
  let U = v.replace(/\[(\w+)\]/g, ".$1");
3012
3019
  U = U.replace(/^\./, "");
3013
- let H = ((E = e.model) == null ? void 0 : E.value) || {}, D = 0;
3020
+ let H = ((E = e.model) == null ? void 0 : E.value) || {}, P = 0;
3014
3021
  const M = U.split("."), O = M.length;
3015
- for (; D < O; ) {
3016
- const _ = M[D];
3017
- if (D < O - 1)
3022
+ for (; P < O; ) {
3023
+ const _ = M[P];
3024
+ if (P < O - 1)
3018
3025
  H[_] !== void 0 || (H[_] = {}), H = H[_];
3019
3026
  else {
3020
3027
  H[_] = N;
3021
3028
  return;
3022
3029
  }
3023
- ++D;
3030
+ ++P;
3024
3031
  }
3025
3032
  }, y = (v, N = !1) => {
3026
3033
  const U = Z(e.formOptions, "fieldIdPrefix", "");
3027
- return ui(v, U) + (N ? "-" + uo() : "");
3034
+ return ci(v, U) + (N ? "-" + co() : "");
3028
3035
  }, f = (v) => `${y(v)}-label`, p = () => Z(e.schema, "fieldClasses", []), T = (v) => e.formatValueToField && typeof e.formatValueToField == "function" ? e.formatValueToField(v) : v, k = (v) => e.formatValueToModel && typeof e.formatValueToModel == "function" ? e.formatValueToModel(v) : v;
3029
3036
  return {
3030
3037
  value: a,
@@ -3071,7 +3078,7 @@ function gm(e, t) {
3071
3078
  };
3072
3079
  });
3073
3080
  }
3074
- const Ve = {
3081
+ const Ke = {
3075
3082
  useAbstractFields: hm,
3076
3083
  useRedisPartial: pm,
3077
3084
  useRedisNonStandardFields: gm
@@ -3115,12 +3122,12 @@ const Ve = {
3115
3122
  },
3116
3123
  emits: ["modelUpdated"],
3117
3124
  setup(e, { expose: t, emit: n }) {
3118
- const i = e, a = n, o = ft(i), r = zt(Le, void 0), { updateModelValue: s, getFieldID: d, clearValidationErrors: u, value: y } = Ve.useAbstractFields({
3125
+ const i = e, a = n, o = pt(i), r = Yt(Le, void 0), { updateModelValue: s, getFieldID: d, clearValidationErrors: u, value: y } = Ke.useAbstractFields({
3119
3126
  model: o.model,
3120
3127
  schema: i.schema,
3121
3128
  formOptions: i.formOptions,
3122
- emitModelUpdated: (D) => {
3123
- a("modelUpdated", D.value, D.model);
3129
+ emitModelUpdated: (P) => {
3130
+ a("modelUpdated", P.value, P.model);
3124
3131
  }
3125
3132
  });
3126
3133
  t({
@@ -3128,50 +3135,50 @@ const Ve = {
3128
3135
  });
3129
3136
  const f = q(() => {
3130
3137
  var M, O;
3131
- const D = (M = i.schema) == null ? void 0 : M.inputType.toLowerCase();
3132
- if (D === "number" && ((O = i.schema) == null ? void 0 : O.referenceable) === !0)
3138
+ const P = (M = i.schema) == null ? void 0 : M.inputType.toLowerCase();
3139
+ if (P === "number" && ((O = i.schema) == null ? void 0 : O.referenceable) === !0)
3133
3140
  return "text";
3134
- switch (D) {
3141
+ switch (P) {
3135
3142
  case "string":
3136
3143
  return "text";
3137
3144
  case "datetime":
3138
3145
  return "datetime-local";
3139
3146
  default:
3140
- return D || "text";
3147
+ return P || "text";
3141
3148
  }
3142
3149
  }), p = {
3143
3150
  date: "YYYY-MM-DD",
3144
3151
  datetime: "YYYY-MM-DD HH:mm:ss",
3145
3152
  "datetime-local": "YYYY-MM-DDTHH:mm:ss"
3146
- }, T = (D, M) => {
3153
+ }, T = (P, M) => {
3147
3154
  var I, F;
3148
- let O = D;
3149
- const E = p[f.value] || "", _ = St.parse(D, E);
3150
- _ && ((I = i.schema) != null && I.format ? O = St.format(_, (F = i.schema) == null ? void 0 : F.format) : O = _.valueOf()), s(O, M);
3151
- }, k = (D, M) => {
3152
- ci(D) || (D = NaN), s(D, M);
3153
- }, v = (D) => {
3154
- let M = D;
3155
+ let O = P;
3156
+ const E = p[f.value] || "", _ = Et.parse(P, E);
3157
+ _ && ((I = i.schema) != null && I.format ? O = Et.format(_, (F = i.schema) == null ? void 0 : F.format) : O = _.valueOf()), s(O, M);
3158
+ }, k = (P, M) => {
3159
+ mi(P) || (P = NaN), s(P, M);
3160
+ }, v = (P) => {
3161
+ let M = P;
3155
3162
  switch (i.schema.inputType) {
3156
3163
  case "number":
3157
3164
  case "range":
3158
- vo(parseFloat(D)) && (M = parseFloat(D));
3165
+ bo(parseFloat(P)) && (M = parseFloat(P));
3159
3166
  break;
3160
3167
  }
3161
- y.value = M, s(M, D);
3162
- }, N = (D) => {
3163
- y.value = D, s(D, D);
3168
+ y.value = M, s(M, P);
3169
+ }, N = (P) => {
3170
+ y.value = P, s(P, P);
3164
3171
  }, U = ne(null), H = () => {
3165
- var D;
3166
- X(U.value) && ((D = U.value) == null || D.flush());
3172
+ var P;
3173
+ X(U.value) && ((P = U.value) == null || P.flush());
3167
3174
  };
3168
- return ti(() => {
3175
+ return ni(() => {
3169
3176
  switch (f.value) {
3170
3177
  case "number":
3171
3178
  case "range":
3172
- U.value = At(
3173
- (D, M) => {
3174
- k(D, M);
3179
+ U.value = It(
3180
+ (P, M) => {
3181
+ k(P, M);
3175
3182
  },
3176
3183
  parseInt(Z(i.schema, "debounceFormatTimeout", 1e3)),
3177
3184
  {
@@ -3183,9 +3190,9 @@ const Ve = {
3183
3190
  case "date":
3184
3191
  case "datetime":
3185
3192
  case "datetime-local":
3186
- U.value = At(
3187
- (D, M) => {
3188
- T(D, M);
3193
+ U.value = It(
3194
+ (P, M) => {
3195
+ T(P, M);
3189
3196
  },
3190
3197
  parseInt(Z(i.schema, "debounceFormatTimeout", 1e3)),
3191
3198
  {
@@ -3195,12 +3202,12 @@ const Ve = {
3195
3202
  );
3196
3203
  break;
3197
3204
  }
3198
- }), ni(() => {
3205
+ }), ii(() => {
3199
3206
  f.value === "checkbox" ? console.warn("The use of 'checkbox' inputType with 'input' type fields is deprecated. Use 'checkbox' type instead.") : f.value === "radio" ? console.warn("The use of 'radio' inputType with 'input' type fields is deprecated. Use 'radio' type instead.") : f.value === "file" && console.warn("The 'file' type in input field is deprecated. Use 'file' field instead.");
3200
- }), (D, M) => {
3207
+ }), (P, M) => {
3201
3208
  const O = j("KInput");
3202
3209
  return c(), b("div", ym, [
3203
- C(O, Xe(D.$attrs, {
3210
+ C(O, Xe(P.$attrs, {
3204
3211
  id: R(d)(e.schema),
3205
3212
  autocomplete: e.schema.autocomplete,
3206
3213
  class: e.schema.fieldClasses,
@@ -3230,10 +3237,10 @@ const Ve = {
3230
3237
  ]);
3231
3238
  };
3232
3239
  }
3233
- }), Mo = /* @__PURE__ */ W(vm, [["__scopeId", "data-v-c9bb165e"]]), bm = {
3240
+ }), Ao = /* @__PURE__ */ W(vm, [["__scopeId", "data-v-c9bb165e"]]), bm = {
3234
3241
  name: "FieldMetric",
3235
- components: { AddIcon: ii, TrashIcon: Ct },
3236
- mixins: [$e],
3242
+ components: { AddIcon: ai, TrashIcon: Ot },
3243
+ mixins: [je],
3237
3244
  emits: ["remove-item"],
3238
3245
  data() {
3239
3246
  return {
@@ -3276,8 +3283,8 @@ function Tm(e, t, n, i, a, o) {
3276
3283
  })
3277
3284
  ], 2);
3278
3285
  }
3279
- const Ao = /* @__PURE__ */ W(bm, [["render", Tm]]), Sm = { class: "field-object-container" }, Em = { key: 1 }, wm = ["id"], Mm = { key: 0 }, Am = ["onUpdate:modelValue"], Im = { key: 1 }, Cm = ["onUpdate:modelValue"], Om = { key: 2 }, Rm = ["onUpdate:modelValue"], km = ["onClick"], Fm = {
3280
- mixins: [$e],
3286
+ const Io = /* @__PURE__ */ W(bm, [["render", Tm]]), Sm = { class: "field-object-container" }, Em = { key: 1 }, wm = ["id"], Mm = { key: 0 }, Am = ["onUpdate:modelValue"], Im = { key: 1 }, Cm = ["onUpdate:modelValue"], Om = { key: 2 }, Rm = ["onUpdate:modelValue"], km = ["onClick"], Fm = {
3287
+ mixins: [je],
3281
3288
  emits: ["modelUpdated"],
3282
3289
  expose: ["validate", "clearValidationErrors", "schema"],
3283
3290
  data() {
@@ -3318,7 +3325,7 @@ const Ao = /* @__PURE__ */ W(bm, [["render", Tm]]), Sm = { class: "field-object-
3318
3325
  __name: "FieldObject",
3319
3326
  setup(e) {
3320
3327
  return (t, n) => {
3321
- const i = Oa("attributes");
3328
+ const i = Ra("attributes");
3322
3329
  return Ee((c(), b("div", Sm, [
3323
3330
  t.schema.schema ? (c(), $(ue, {
3324
3331
  key: 0,
@@ -3338,7 +3345,7 @@ const Ao = /* @__PURE__ */ W(bm, [["render", Tm]]), Sm = { class: "field-object-
3338
3345
  "onUpdate:modelValue": (r) => t.value[o] = r,
3339
3346
  type: "text"
3340
3347
  }, null, 8, Am), [
3341
- [Kt, t.value[o]]
3348
+ [Bt, t.value[o]]
3342
3349
  ])
3343
3350
  ])) : B("", !0),
3344
3351
  t.keyTypes[o] === "boolean" ? (c(), b("td", Im, [
@@ -3354,7 +3361,7 @@ const Ao = /* @__PURE__ */ W(bm, [["render", Tm]]), Sm = { class: "field-object-
3354
3361
  "onUpdate:modelValue": (r) => t.value[o] = r,
3355
3362
  type: "number"
3356
3363
  }, null, 8, Rm), [
3357
- [Kt, t.value[o]]
3364
+ [Bt, t.value[o]]
3358
3365
  ])
3359
3366
  ])) : B("", !0),
3360
3367
  h("td", null, [
@@ -3379,7 +3386,7 @@ const Ao = /* @__PURE__ */ W(bm, [["render", Tm]]), Sm = { class: "field-object-
3379
3386
  "onUpdate:modelValue": n[1] || (n[1] = (a) => t.newKeyName = a),
3380
3387
  type: "text"
3381
3388
  }, null, 512), [
3382
- [Kt, t.newKeyName]
3389
+ [Bt, t.newKeyName]
3383
3390
  ]),
3384
3391
  h("input", {
3385
3392
  type: "button",
@@ -3392,14 +3399,14 @@ const Ao = /* @__PURE__ */ W(bm, [["render", Tm]]), Sm = { class: "field-object-
3392
3399
  ]);
3393
3400
  };
3394
3401
  }
3395
- }), Io = /* @__PURE__ */ W(Um, [["__scopeId", "data-v-6eddb0ed"]]), Nm = ["id"], Lm = ["data-testid"], Dm = { class: "item-wrapper" }, Pm = { class: "index-wrapper" }, $m = { key: 0 }, Vm = { key: 1 }, jm = ["onUpdate:modelValue", "placeholder", "type", "onInput"], Km = {
3402
+ }), Co = /* @__PURE__ */ W(Um, [["__scopeId", "data-v-6eddb0ed"]]), Nm = ["id"], Lm = ["data-testid"], Dm = { class: "item-wrapper" }, Pm = { class: "index-wrapper" }, $m = { key: 0 }, Vm = { key: 1 }, jm = ["onUpdate:modelValue", "placeholder", "type", "onInput"], Km = {
3396
3403
  key: 0,
3397
3404
  class: "hint"
3398
3405
  }, xm = { class: "input-item" }, qm = ["placeholder"], Bm = {
3399
3406
  key: 0,
3400
3407
  class: "hint"
3401
3408
  }, zm = {
3402
- mixins: [$e],
3409
+ mixins: [je],
3403
3410
  inject: {
3404
3411
  autofillSlot: {
3405
3412
  from: Le,
@@ -3523,7 +3530,7 @@ const Ao = /* @__PURE__ */ W(bm, [["render", Tm]]), Sm = { class: "field-object-
3523
3530
  onClick: (r) => t.removeElement(o)
3524
3531
  }, {
3525
3532
  default: A(() => [
3526
- C(R(Ct))
3533
+ C(R(Ot))
3527
3534
  ]),
3528
3535
  _: 1
3529
3536
  }, 8, ["onClick"])
@@ -3545,7 +3552,7 @@ const Ao = /* @__PURE__ */ W(bm, [["render", Tm]]), Sm = { class: "field-object-
3545
3552
  type: t.valueInputType,
3546
3553
  onInput: (r) => t.updateModel(t.value[o], t.model[t.schema.model])
3547
3554
  }, null, 40, jm), [
3548
- [Ra, t.value[o]]
3555
+ [ka, t.value[o]]
3549
3556
  ]),
3550
3557
  t.schema.fields && t.schema.fields[0].schema.hint ? (c(), b("p", Km, V(t.schema.fields[0].schema.hint), 1)) : B("", !0),
3551
3558
  (c(), $(me(t.autofillSlot), {
@@ -3569,7 +3576,7 @@ const Ao = /* @__PURE__ */ W(bm, [["render", Tm]]), Sm = { class: "field-object-
3569
3576
  placeholder: t.schema.placeholder,
3570
3577
  type: "text"
3571
3578
  }, null, 8, qm), [
3572
- [Kt, t.newKeyName]
3579
+ [Bt, t.newKeyName]
3573
3580
  ]),
3574
3581
  C(i, {
3575
3582
  appearance: "tertiary",
@@ -3588,7 +3595,7 @@ const Ao = /* @__PURE__ */ W(bm, [["render", Tm]]), Sm = { class: "field-object-
3588
3595
  ], 10, Nm);
3589
3596
  };
3590
3597
  }
3591
- }), Co = /* @__PURE__ */ W(Hm, [["__scopeId", "data-v-0faeec4d"]]), Gm = { class: "radio-selection-group" }, Ym = /* @__PURE__ */ fe({
3598
+ }), Oo = /* @__PURE__ */ W(Hm, [["__scopeId", "data-v-0faeec4d"]]), Gm = { class: "radio-selection-group" }, Ym = /* @__PURE__ */ fe({
3592
3599
  __name: "FieldRadio",
3593
3600
  props: {
3594
3601
  disabled: {
@@ -3628,7 +3635,7 @@ const Ao = /* @__PURE__ */ W(bm, [["render", Tm]]), Sm = { class: "field-object-
3628
3635
  },
3629
3636
  emits: ["modelUpdated"],
3630
3637
  setup(e, { expose: t, emit: n }) {
3631
- const i = e, a = n, o = ft(i), { updateModelValue: r, value: s, clearValidationErrors: d } = Ve.useAbstractFields({
3638
+ const i = e, a = n, o = pt(i), { updateModelValue: r, value: s, clearValidationErrors: d } = Ke.useAbstractFields({
3632
3639
  model: o.model,
3633
3640
  schema: i.schema,
3634
3641
  formOptions: i.formOptions,
@@ -3650,7 +3657,7 @@ const Ao = /* @__PURE__ */ W(bm, [["render", Tm]]), Sm = { class: "field-object-
3650
3657
  id: e.schema.name + "-" + k,
3651
3658
  key: T.value,
3652
3659
  modelValue: R(s),
3653
- "onUpdate:modelValue": f[0] || (f[0] = (v) => It(s) ? s.value = v : null),
3660
+ "onUpdate:modelValue": f[0] || (f[0] = (v) => Ct(s) ? s.value = v : null),
3654
3661
  label: T.name,
3655
3662
  "label-attributes": { info: e.schema.help },
3656
3663
  name: e.schema.name,
@@ -3661,7 +3668,7 @@ const Ao = /* @__PURE__ */ W(bm, [["render", Tm]]), Sm = { class: "field-object-
3661
3668
  ]);
3662
3669
  };
3663
3670
  }
3664
- }), Oo = /* @__PURE__ */ W(Ym, [["__scopeId", "data-v-a070103e"]]), Ro = /* @__PURE__ */ fe({
3671
+ }), Ro = /* @__PURE__ */ W(Ym, [["__scopeId", "data-v-a070103e"]]), ko = /* @__PURE__ */ fe({
3665
3672
  __name: "FieldSelect",
3666
3673
  props: {
3667
3674
  disabled: {
@@ -3701,7 +3708,7 @@ const Ao = /* @__PURE__ */ W(bm, [["render", Tm]]), Sm = { class: "field-object-
3701
3708
  },
3702
3709
  emits: ["modelUpdated"],
3703
3710
  setup(e, { expose: t, emit: n }) {
3704
- const i = e, a = n, o = q(() => i.schema.selectOptions || {}), r = (v) => de(v) ? null : v, s = ft(i), { getFieldID: d, clearValidationErrors: u, value: y } = Ve.useAbstractFields({
3711
+ const i = e, a = n, o = q(() => i.schema.selectOptions || {}), r = (v) => de(v) ? null : v, s = pt(i), { getFieldID: d, clearValidationErrors: u, value: y } = Ke.useAbstractFields({
3705
3712
  model: s.model,
3706
3713
  schema: i.schema,
3707
3714
  formOptions: i.formOptions,
@@ -3750,7 +3757,7 @@ const Ao = /* @__PURE__ */ W(bm, [["render", Tm]]), Sm = { class: "field-object-
3750
3757
  return c(), $(U, {
3751
3758
  id: R(d)(e.schema),
3752
3759
  modelValue: R(y),
3753
- "onUpdate:modelValue": N[0] || (N[0] = (H) => It(y) ? y.value = H : null),
3760
+ "onUpdate:modelValue": N[0] || (N[0] = (H) => Ct(y) ? y.value = H : null),
3754
3761
  class: ee(e.schema.fieldClasses),
3755
3762
  clearable: !e.schema.required,
3756
3763
  disabled: e.disabled || void 0,
@@ -3773,8 +3780,8 @@ const Ao = /* @__PURE__ */ W(bm, [["render", Tm]]), Sm = { class: "field-object-
3773
3780
  },
3774
3781
  emits: ["modelUpdated"],
3775
3782
  setup(e, { expose: t, emit: n }) {
3776
- const i = n, { updateModelValue: a, getFieldID: o, getLabelId: r, clearValidationErrors: s, value: d } = Ve.useAbstractFields({
3777
- model: ka(() => e.model),
3783
+ const i = n, { updateModelValue: a, getFieldID: o, getLabelId: r, clearValidationErrors: s, value: d } = Ke.useAbstractFields({
3784
+ model: Fa(() => e.model),
3778
3785
  schema: e.schema,
3779
3786
  formOptions: e.formOptions,
3780
3787
  emitModelUpdated: (T) => {
@@ -3796,7 +3803,7 @@ const Ao = /* @__PURE__ */ W(bm, [["render", Tm]]), Sm = { class: "field-object-
3796
3803
  const k = f(T);
3797
3804
  a(k, d.value);
3798
3805
  }
3799
- return Wt(d, (T) => {
3806
+ return Jt(d, (T) => {
3800
3807
  const k = T ? y(T) : "";
3801
3808
  y(f(u.value)) !== k && (u.value = k);
3802
3809
  }, { immediate: !0 }), (T, k) => {
@@ -3815,24 +3822,24 @@ const Ao = /* @__PURE__ */ W(bm, [["render", Tm]]), Sm = { class: "field-object-
3815
3822
  ]);
3816
3823
  };
3817
3824
  }
3818
- }), ko = /* @__PURE__ */ W(Zm, [["__scopeId", "data-v-cf2eff67"]]), Xm = {
3825
+ }), Fo = /* @__PURE__ */ W(Zm, [["__scopeId", "data-v-cf2eff67"]]), Xm = {
3819
3826
  name: "FieldArray",
3820
3827
  components: {
3821
- FieldArrayItem: _o,
3822
- FieldArrayMultiItem: To,
3823
- FieldSelect: Ro,
3824
- FieldMetric: Ao,
3825
- FieldObject: Io,
3826
- FieldObjectAdvanced: Co,
3827
- FieldAutoSuggest: Eo,
3828
- FieldAutoSuggestLegacy: wo,
3829
- FieldRadio: Oo,
3830
- FieldArrayCardContainer: bo,
3831
- FieldInput: Mo,
3832
- FieldStringArray: ko,
3833
- TrashIcon: Ct
3828
+ FieldArrayItem: To,
3829
+ FieldArrayMultiItem: So,
3830
+ FieldSelect: ko,
3831
+ FieldMetric: Io,
3832
+ FieldObject: Co,
3833
+ FieldObjectAdvanced: Oo,
3834
+ FieldAutoSuggest: wo,
3835
+ FieldAutoSuggestLegacy: Mo,
3836
+ FieldRadio: Ro,
3837
+ FieldArrayCardContainer: _o,
3838
+ FieldInput: Ao,
3839
+ FieldStringArray: Fo,
3840
+ TrashIcon: Ot
3834
3841
  },
3835
- mixins: [$e],
3842
+ mixins: [je],
3836
3843
  inject: {
3837
3844
  autofillSlot: {
3838
3845
  from: Le,
@@ -3880,7 +3887,7 @@ const Ao = /* @__PURE__ */ W(bm, [["render", Tm]]), Sm = { class: "field-object-
3880
3887
  handleInput(e, t) {
3881
3888
  var i, a;
3882
3889
  let n = e;
3883
- ((a = (i = this.schema) == null ? void 0 : i.inputAttributes) == null ? void 0 : a.type) === "number" && ci(parseFloat(e)) && (n = parseFloat(e)), this.value = this.value.map((o, r) => r === t ? n : o);
3890
+ ((a = (i = this.schema) == null ? void 0 : i.inputAttributes) == null ? void 0 : a.type) === "number" && mi(parseFloat(e)) && (n = parseFloat(e)), this.value = this.value.map((o, r) => r === t ? n : o);
3884
3891
  },
3885
3892
  isStringArrayItems() {
3886
3893
  var t, n;
@@ -4010,7 +4017,7 @@ function af(e, t, n, i, a, o) {
4010
4017
  }, { ref_for: !0 }, e.schema.inputAttributes, {
4011
4018
  type: ((T = e.schema.inputAttributes) == null ? void 0 : T.type) || "text"
4012
4019
  }), null, 16, tf)), [
4013
- [Ra, e.value[p]]
4020
+ [ka, e.value[p]]
4014
4021
  ])
4015
4022
  ];
4016
4023
  }),
@@ -4021,7 +4028,7 @@ function af(e, t, n, i, a, o) {
4021
4028
  "aria-labelledby": e.getLabelId(e.schema),
4022
4029
  type: "text"
4023
4030
  }), null, 16, nf), [
4024
- [Kt, e.value[p]]
4031
+ [Bt, e.value[p]]
4025
4032
  ]),
4026
4033
  (c(), $(me(o.autofillSlot), {
4027
4034
  schema: e.schema,
@@ -4084,7 +4091,7 @@ const of = /* @__PURE__ */ W(Xm, [["render", af], ["__scopeId", "data-v-7633b3a8
4084
4091
  },
4085
4092
  emits: ["modelUpdated"],
4086
4093
  setup(e, { expose: t, emit: n }) {
4087
- const i = e, a = n, o = ft(i), { getFieldID: r, value: s, clearValidationErrors: d } = Ve.useAbstractFields({
4094
+ const i = e, a = n, o = pt(i), { getFieldID: r, value: s, clearValidationErrors: d } = Ke.useAbstractFields({
4088
4095
  model: o.model,
4089
4096
  schema: i.schema,
4090
4097
  formOptions: i.formOptions,
@@ -4100,7 +4107,7 @@ const of = /* @__PURE__ */ W(Xm, [["render", af], ["__scopeId", "data-v-7633b3a8
4100
4107
  C(f, Xe(u.$attrs, {
4101
4108
  id: R(r)(e.schema),
4102
4109
  modelValue: R(s),
4103
- "onUpdate:modelValue": y[0] || (y[0] = (p) => It(s) ? s.value = p : null),
4110
+ "onUpdate:modelValue": y[0] || (y[0] = (p) => Ct(s) ? s.value = p : null),
4104
4111
  autocomplete: e.schema.autocomplete,
4105
4112
  class: e.schema.fieldClasses,
4106
4113
  disabled: e.disabled || void 0,
@@ -4115,7 +4122,7 @@ const of = /* @__PURE__ */ W(Xm, [["render", af], ["__scopeId", "data-v-7633b3a8
4115
4122
  }
4116
4123
  }), lf = /* @__PURE__ */ W(sf, [["__scopeId", "data-v-6811d435"]]), df = { class: "wrapper" }, uf = ["disabled"], cf = ["id", "checked", "disabled", "onChange", "name"], mf = ["disabled"], ff = { class: "info" }, hf = { class: "dropList" }, pf = ["id", "checked", "disabled", "onChange", "name"];
4117
4124
  function gf(e, t, n, i, a, o) {
4118
- const r = Oa("attributes");
4125
+ const r = Ra("attributes");
4119
4126
  return Ee((c(), b("div", df, [
4120
4127
  e.schema.listBox ? (c(), b("div", {
4121
4128
  key: 0,
@@ -4177,7 +4184,7 @@ function gf(e, t, n, i, a, o) {
4177
4184
  ]);
4178
4185
  }
4179
4186
  const yf = {
4180
- mixins: [$e],
4187
+ mixins: [je],
4181
4188
  data() {
4182
4189
  return {
4183
4190
  comboExpanded: !1
@@ -4194,7 +4201,7 @@ const yf = {
4194
4201
  },
4195
4202
  methods: {
4196
4203
  getInputName(e) {
4197
- return this.schema && this.schema.inputName && this.schema.inputName.length > 0 ? ma(this.schema.inputName + "_" + this.getItemValue(e)) : ma(this.getItemValue(e));
4204
+ return this.schema && this.schema.inputName && this.schema.inputName.length > 0 ? fa(this.schema.inputName + "_" + this.getItemValue(e)) : fa(this.getItemValue(e));
4198
4205
  },
4199
4206
  getItemValue(e) {
4200
4207
  if (Re(e)) {
@@ -4221,10 +4228,10 @@ const yf = {
4221
4228
  },
4222
4229
  onChanged(e, t) {
4223
4230
  if ((de(this.value) || !Array.isArray(this.value)) && (this.value = []), e.target.checked) {
4224
- const n = wa(this.value);
4231
+ const n = Ma(this.value);
4225
4232
  n.push(this.getItemValue(t)), this.value = n;
4226
4233
  } else {
4227
- const n = wa(this.value);
4234
+ const n = Ma(this.value);
4228
4235
  n.splice(this.value.indexOf(this.getItemValue(t)), 1), this.value = n;
4229
4236
  }
4230
4237
  },
@@ -4234,8 +4241,8 @@ const yf = {
4234
4241
  }
4235
4242
  }, vf = /* @__PURE__ */ W(yf, [["render", gf]]), bf = {
4236
4243
  name: "FieldKeyValuePairs",
4237
- components: { TrashIcon: Ct },
4238
- mixins: [$e],
4244
+ components: { TrashIcon: Ot },
4245
+ mixins: [je],
4239
4246
  inject: {
4240
4247
  autofillSlot: {
4241
4248
  from: Le,
@@ -4382,7 +4389,7 @@ const Af = /* @__PURE__ */ W(bf, [["render", Mf], ["__scopeId", "data-v-be99d00c
4382
4389
  }
4383
4390
  },
4384
4391
  setup(e) {
4385
- const t = e, n = ft(t), { getFieldID: i, value: a } = Ve.useAbstractFields({
4392
+ const t = e, n = pt(t), { getFieldID: i, value: a } = Ke.useAbstractFields({
4386
4393
  model: n.model,
4387
4394
  schema: t.schema,
4388
4395
  formOptions: t.formOptions
@@ -4443,7 +4450,7 @@ const Af = /* @__PURE__ */ W(bf, [["render", Mf], ["__scopeId", "data-v-be99d00c
4443
4450
  },
4444
4451
  emits: ["modelUpdated"],
4445
4452
  setup(e, { expose: t, emit: n }) {
4446
- const i = e, a = n, o = ka(i, "model"), { getLabelId: r, getFieldID: s, clearValidationErrors: d, value: u } = Ve.useAbstractFields({
4453
+ const i = e, a = n, o = Fa(i, "model"), { getLabelId: r, getFieldID: s, clearValidationErrors: d, value: u } = Ke.useAbstractFields({
4447
4454
  model: o,
4448
4455
  schema: i.schema,
4449
4456
  formOptions: i.formOptions,
@@ -4463,7 +4470,7 @@ const Af = /* @__PURE__ */ W(bf, [["render", Mf], ["__scopeId", "data-v-be99d00c
4463
4470
  return c(), $(T, {
4464
4471
  id: R(s)(e.schema),
4465
4472
  modelValue: R(u),
4466
- "onUpdate:modelValue": p[0] || (p[0] = (k) => It(u) ? u.value = k : null),
4473
+ "onUpdate:modelValue": p[0] || (p[0] = (k) => Ct(u) ? u.value = k : null),
4467
4474
  "aria-labelledby": R(r)(e.schema),
4468
4475
  class: ee(e.schema.fieldClasses),
4469
4476
  "data-testid": "field-multiselect",
@@ -4482,7 +4489,7 @@ const Af = /* @__PURE__ */ W(bf, [["render", Mf], ["__scopeId", "data-v-be99d00c
4482
4489
  key: 0,
4483
4490
  class: "option-field"
4484
4491
  }, Df = { class: "option-field-container" }, Pf = {
4485
- mixins: [$e],
4492
+ mixins: [je],
4486
4493
  emits: ["model-updated"],
4487
4494
  expose: ["validate", "clearValidationErrors", "schema"],
4488
4495
  data() {
@@ -4622,7 +4629,7 @@ const Af = /* @__PURE__ */ W(bf, [["render", Mf], ["__scopeId", "data-v-be99d00c
4622
4629
  },
4623
4630
  emits: ["modelUpdated"],
4624
4631
  setup(e, { expose: t, emit: n }) {
4625
- const i = e, a = n, { t: o } = ke("en-us", Fe), r = (p) => p != null && i.schema.valueOn ? p === i.schema.valueOn : p, s = (p) => p != null && i.schema.valueOn ? p ? i.schema.valueOn : i.schema.valueOff : p, d = ft(i), { getFieldID: u, value: y, clearValidationErrors: f } = Ve.useAbstractFields({
4632
+ const i = e, a = n, { t: o } = ke("en-us", Fe), r = (p) => p != null && i.schema.valueOn ? p === i.schema.valueOn : p, s = (p) => p != null && i.schema.valueOn ? p ? i.schema.valueOn : i.schema.valueOff : p, d = pt(i), { getFieldID: u, value: y, clearValidationErrors: f } = Ke.useAbstractFields({
4626
4633
  model: d.model,
4627
4634
  schema: i.schema,
4628
4635
  formOptions: i.formOptions,
@@ -4640,7 +4647,7 @@ const Af = /* @__PURE__ */ W(bf, [["render", Mf], ["__scopeId", "data-v-be99d00c
4640
4647
  C(k, {
4641
4648
  id: R(u)(e.schema),
4642
4649
  modelValue: R(y),
4643
- "onUpdate:modelValue": T[0] || (T[0] = (v) => It(y) ? y.value = v : null),
4650
+ "onUpdate:modelValue": T[0] || (T[0] = (v) => Ct(y) ? y.value = v : null),
4644
4651
  autocomplete: e.schema.autocomplete,
4645
4652
  class: ee(e.schema.fieldClasses),
4646
4653
  disabled: e.disabled || void 0,
@@ -4692,7 +4699,7 @@ const Af = /* @__PURE__ */ W(bf, [["render", Mf], ["__scopeId", "data-v-be99d00c
4692
4699
  },
4693
4700
  emits: ["modelUpdated"],
4694
4701
  setup(e, { expose: t, emit: n }) {
4695
- const i = e, a = n, o = ft(i), r = zt(Le, void 0), { updateModelValue: s, getFieldID: d, clearValidationErrors: u, value: y } = Ve.useAbstractFields({
4702
+ const i = e, a = n, o = pt(i), r = Yt(Le, void 0), { updateModelValue: s, getFieldID: d, clearValidationErrors: u, value: y } = Ke.useAbstractFields({
4696
4703
  model: o.model,
4697
4704
  schema: i.schema,
4698
4705
  formOptions: i.formOptions,
@@ -4712,7 +4719,7 @@ const Af = /* @__PURE__ */ W(bf, [["render", Mf], ["__scopeId", "data-v-be99d00c
4712
4719
  C(k, Xe(p.$attrs, {
4713
4720
  id: R(d)(e.schema),
4714
4721
  modelValue: R(y),
4715
- "onUpdate:modelValue": T[0] || (T[0] = (v) => It(y) ? y.value = v : null),
4722
+ "onUpdate:modelValue": T[0] || (T[0] = (v) => Ct(y) ? y.value = v : null),
4716
4723
  autosize: "",
4717
4724
  "character-limit": e.schema.max ?? !1,
4718
4725
  class: e.schema.fieldClasses,
@@ -4738,30 +4745,30 @@ const Af = /* @__PURE__ */ W(bf, [["render", Mf], ["__scopeId", "data-v-be99d00c
4738
4745
  __proto__: null,
4739
4746
  FieldAdvanced: Fc,
4740
4747
  FieldArray: of,
4741
- FieldArrayCardContainer: bo,
4742
- FieldArrayItem: _o,
4743
- FieldArrayMultiItem: To,
4744
- FieldAutoSuggest: Eo,
4745
- FieldAutoSuggestLegacy: wo,
4748
+ FieldArrayCardContainer: _o,
4749
+ FieldArrayItem: To,
4750
+ FieldArrayMultiItem: So,
4751
+ FieldAutoSuggest: wo,
4752
+ FieldAutoSuggestLegacy: Mo,
4746
4753
  FieldCheckbox: lf,
4747
4754
  FieldChecklist: vf,
4748
- FieldInput: Mo,
4755
+ FieldInput: Ao,
4749
4756
  FieldKeyValuePairs: Af,
4750
4757
  FieldLabel: Cf,
4751
- FieldMetric: Ao,
4758
+ FieldMetric: Io,
4752
4759
  FieldMultiselect: Of,
4753
- FieldObject: Io,
4754
- FieldObjectAdvanced: Co,
4755
- FieldRadio: Oo,
4756
- FieldSelect: Ro,
4760
+ FieldObject: Co,
4761
+ FieldObjectAdvanced: Oo,
4762
+ FieldRadio: Ro,
4763
+ FieldSelect: ko,
4757
4764
  FieldSelectionGroup: Vf,
4758
- FieldStringArray: ko,
4765
+ FieldStringArray: Fo,
4759
4766
  FieldSwitch: Kf,
4760
4767
  FieldTextArea: Bf
4761
4768
  }, Symbol.toStringTag, { value: "Module" })), Hf = {
4762
4769
  name: "FormGroup",
4763
4770
  components: zf,
4764
- mixins: [ro],
4771
+ mixins: [so],
4765
4772
  inject: {
4766
4773
  "vfg-array-item-index": {
4767
4774
  default: void 0
@@ -4836,7 +4843,7 @@ const Af = /* @__PURE__ */ W(bf, [["render", Mf], ["__scopeId", "data-v-be99d00c
4836
4843
  },
4837
4844
  getFieldID(e) {
4838
4845
  const t = Z(this.options, "fieldIdPrefix", "");
4839
- return ui(e, t);
4846
+ return ci(e, t);
4840
4847
  },
4841
4848
  getTooltipId(e) {
4842
4849
  return `${this.getFieldID(e)}-tooltip`;
@@ -4914,7 +4921,7 @@ function th(e, t, n, i, a, o) {
4914
4921
  placement: "top",
4915
4922
  tooltipId: o.getTooltipId(n.field)
4916
4923
  } : void 0
4917
- }, ei({
4924
+ }, ti({
4918
4925
  default: A(() => [
4919
4926
  h("div", Yf, [
4920
4927
  h("span", null, V(o.formattedLabel(n.field.label)), 1)
@@ -4971,7 +4978,7 @@ function th(e, t, n, i, a, o) {
4971
4978
  ])) : B("", !0)
4972
4979
  ], 2);
4973
4980
  }
4974
- const Fo = /* @__PURE__ */ W(Hf, [["render", th], ["__scopeId", "data-v-87df5b50"]]);
4981
+ const Uo = /* @__PURE__ */ W(Hf, [["render", th], ["__scopeId", "data-v-87df5b50"]]);
4975
4982
  var hn = /* @__PURE__ */ ((e) => (e.REDIS_CE = "redis-ce", e.REDIS_EE = "redis-ee", e))(hn || {});
4976
4983
  const nh = (e) => {
4977
4984
  var t, n;
@@ -4979,13 +4986,13 @@ const nh = (e) => {
4979
4986
  }, ih = {
4980
4987
  [hn.REDIS_CE]: "open source",
4981
4988
  [hn.REDIS_EE]: "enterprise"
4982
- }, Ma = (e) => ih[e] ?? "", wt = {
4989
+ }, Aa = (e) => ih[e] ?? "", Mt = {
4983
4990
  KONNECT_MANAGED: "konnect-managed",
4984
4991
  SELF_MANAGED: "self-managed"
4985
4992
  }, ah = "managed_cache.v0";
4986
4993
  function oh(e) {
4987
4994
  const n = (Array.isArray(e.tags) ? e.tags : []).filter((i) => typeof i == "string").map((i) => i.toLowerCase());
4988
- return n.includes(wt.KONNECT_MANAGED) || n.includes(ah) ? wt.KONNECT_MANAGED : wt.SELF_MANAGED;
4995
+ return n.includes(Mt.KONNECT_MANAGED) || n.includes(ah) ? Mt.KONNECT_MANAGED : Mt.SELF_MANAGED;
4989
4996
  }
4990
4997
  const rh = { class: "partial-config-card" }, sh = { class: "config-card-row-label" }, lh = { class: "label-text" }, dh = ["data-testid"], uh = ["data-testid"], ch = { key: 1 }, mh = ["data-testid"], fh = ["data-testid"], hh = /* @__PURE__ */ fe({
4991
4998
  __name: "RedisConfigCard",
@@ -5032,7 +5039,7 @@ const rh = { class: "partial-config-card" }, sh = { class: "config-card-row-labe
5032
5039
  order: ((N = i[f]) == null ? void 0 : N.order) ?? 100
5033
5040
  // attrs: value.attrs,
5034
5041
  };
5035
- }).sort((f, p) => f.order - p.order).filter((f) => f.type !== "hidden")), u = Ve.useRedisNonStandardFields(a.configFields, a.pluginRedisFields), y = q(() => d.value.concat(u));
5042
+ }).sort((f, p) => f.order - p.order).filter((f) => f.type !== "hidden")), u = Ke.useRedisNonStandardFields(a.configFields, a.pluginRedisFields), y = q(() => d.value.concat(u));
5036
5043
  return (f, p) => {
5037
5044
  const T = j("KCopy");
5038
5045
  return c(), b("div", rh, [
@@ -5114,7 +5121,7 @@ const rh = { class: "partial-config-card" }, sh = { class: "config-card-row-labe
5114
5121
  },
5115
5122
  emits: ["showNewPartialModal"],
5116
5123
  setup(e) {
5117
- const { t } = ke("en-us", Fe), n = zt(dl), i = {
5124
+ const { t } = ke("en-us", Fe), n = Yt(dl), i = {
5118
5125
  konnect: {
5119
5126
  getOne: "/v2/control-planes/{controlPlaneId}/core-entities/partials/{id}",
5120
5127
  getAll: "/v2/control-planes/{controlPlaneId}/core-entities/partials"
@@ -5123,7 +5130,7 @@ const rh = { class: "partial-config-card" }, sh = { class: "config-card-row-labe
5123
5130
  getOne: "/{workspace}/partials/{id}",
5124
5131
  getAll: "/{workspace}/partials"
5125
5132
  }
5126
- }, a = e, o = ne(null), { getMessageFromError: r } = Qo(), s = zt(ll), {
5133
+ }, a = e, o = ne(null), { getMessageFromError: r } = Qo(), s = Yt(ll), {
5127
5134
  debouncedQueryChange: d,
5128
5135
  loading: u,
5129
5136
  error: y,
@@ -5133,21 +5140,21 @@ const rh = { class: "partial-config-card" }, sh = { class: "config-card-row-labe
5133
5140
  fetchedItemsKey: "data",
5134
5141
  searchKeys: ["id", "name"]
5135
5142
  }), T = q(() => y.value ? r(y.value) : ""), k = q(
5136
- () => a.isCustomPlugin ? t("redis.custom_plugin.tooltip") : t("redis.shared_configuration.tooltip", { type: Ma(a.redisType) })
5143
+ () => a.isCustomPlugin ? t("redis.custom_plugin.tooltip") : t("redis.shared_configuration.tooltip", { type: Aa(a.redisType) })
5137
5144
  ), v = q(
5138
5145
  () => a.isKonnectManagedRedisEnabled ? t("redis.managed_ui.shared_configuration.title") : t("redis.shared_configuration.title")
5139
5146
  ), N = q(
5140
5147
  () => a.isKonnectManagedRedisEnabled ? t("redis.managed_ui.shared_configuration.selector.placeholder") : t("redis.shared_configuration.selector.placeholder")
5141
5148
  ), U = q(
5142
- () => a.isKonnectManagedRedisEnabled ? t("redis.managed_ui.shared_configuration.create_new_configuration") : t("redis.shared_configuration.create_new_configuration", { type: Ma(a.redisType) })
5149
+ () => a.isKonnectManagedRedisEnabled ? t("redis.managed_ui.shared_configuration.create_new_configuration") : t("redis.shared_configuration.create_new_configuration", { type: Aa(a.redisType) })
5143
5150
  ), H = q(
5144
5151
  () => T.value || t("redis.shared_configuration.error")
5145
- ), D = (I) => {
5152
+ ), P = (I) => {
5146
5153
  let F = `${s.apiBaseUrl}${i[s.app].getOne}`;
5147
5154
  return s.app === "konnect" ? F = F.replace(/{controlPlaneId}/gi, (s == null ? void 0 : s.controlPlaneId) || "") : s.app === "kongManager" && (F = F.replace(/\/{workspace}/gi, s != null && s.workspace ? `/${s.workspace}` : "")), F = F.replace(/{id}/gi, String(I)), F;
5148
5155
  }, M = q(() => {
5149
5156
  const I = (p.value || []).map((F) => {
5150
- const m = F, g = a.isKonnectManagedRedisEnabled ? oh(m) : void 0, w = g === wt.KONNECT_MANAGED;
5157
+ const m = F, g = a.isKonnectManagedRedisEnabled ? oh(m) : void 0, w = g === Mt.KONNECT_MANAGED;
5151
5158
  return {
5152
5159
  ...a.isKonnectManagedRedisEnabled && g ? { source: g } : {},
5153
5160
  // only attach `source` in managed mode
@@ -5163,7 +5170,7 @@ const rh = { class: "partial-config-card" }, sh = { class: "config-card-row-labe
5163
5170
  const I = M.value;
5164
5171
  if (!a.isKonnectManagedRedisEnabled)
5165
5172
  return I;
5166
- const F = I.filter((w) => w.source === wt.KONNECT_MANAGED), m = I.filter((w) => w.source === wt.SELF_MANAGED), g = [];
5173
+ const F = I.filter((w) => w.source === Mt.KONNECT_MANAGED), m = I.filter((w) => w.source === Mt.SELF_MANAGED), g = [];
5167
5174
  return F.length > 0 && g.push({
5168
5175
  label: t("redis.managed_ui.groups.konnect_managed"),
5169
5176
  items: F
@@ -5175,7 +5182,7 @@ const rh = { class: "partial-config-card" }, sh = { class: "config-card-row-labe
5175
5182
  if (I) {
5176
5183
  a.updateRedisModel(I);
5177
5184
  try {
5178
- const F = await E.get(D(I));
5185
+ const F = await E.get(P(I));
5179
5186
  if (F.data.config) {
5180
5187
  const m = Object.assign(F.data, F.data.config);
5181
5188
  delete m.config, o.value = m;
@@ -5185,9 +5192,9 @@ const rh = { class: "partial-config-card" }, sh = { class: "config-card-row-labe
5185
5192
  }
5186
5193
  }
5187
5194
  };
5188
- return Wt(() => n == null ? void 0 : n.value, async (I) => {
5195
+ return Jt(() => n == null ? void 0 : n.value, async (I) => {
5189
5196
  I && await f();
5190
- }), ni(() => {
5197
+ }), ii(() => {
5191
5198
  f(), a.defaultRedisConfigItem && _(a.defaultRedisConfigItem);
5192
5199
  }), (I, F) => {
5193
5200
  const m = j("KLabel"), g = j("KBadge"), w = j("KSelect");
@@ -5248,7 +5255,7 @@ const rh = { class: "partial-config-card" }, sh = { class: "config-card-row-labe
5248
5255
  "data-testid": "new-redis-config-area",
5249
5256
  onClick: F[0] || (F[0] = (L) => I.$emit("showNewPartialModal"))
5250
5257
  }, [
5251
- C(R(ii), { size: R(qc) }, null, 8, ["size"]),
5258
+ C(R(ai), { size: R(qc) }, null, 8, ["size"]),
5252
5259
  h("span", null, V(U.value), 1)
5253
5260
  ])
5254
5261
  ]),
@@ -5264,7 +5271,7 @@ const rh = { class: "partial-config-card" }, sh = { class: "config-card-row-labe
5264
5271
  ], 64);
5265
5272
  };
5266
5273
  }
5267
- }), Aa = /* @__PURE__ */ W(Eh, [["__scopeId", "data-v-03885614"]]), wh = { key: 0 }, Mh = {
5274
+ }), Ia = /* @__PURE__ */ W(Eh, [["__scopeId", "data-v-03885614"]]), wh = { key: 0 }, Mh = {
5268
5275
  class: "redis-config-radio-group",
5269
5276
  "data-testid": "redis-config-radio-group"
5270
5277
  }, Ah = {
@@ -5342,12 +5349,12 @@ const rh = { class: "partial-config-card" }, sh = { class: "config-card-row-labe
5342
5349
  T.value = { ...T.value, [O]: M }, i("modelUpdated", M, O);
5343
5350
  }, H = () => {
5344
5351
  i("refreshModel");
5345
- }, D = (M, O, E) => {
5352
+ }, P = (M, O, E) => {
5346
5353
  i("validated", M, O, E);
5347
5354
  };
5348
- return Wt(() => f.value, (M) => {
5355
+ return Jt(() => f.value, (M) => {
5349
5356
  M ? k.value && i("partialToggled", "redis", { partials: k.value }) : i("partialToggled", "partials", T.value);
5350
- }), ni(() => {
5357
+ }), ii(() => {
5351
5358
  var M, O, E;
5352
5359
  if (n.model && (T.value = n.field.fields.reduce((_, I) => (Object.keys(n.model).includes(I.model) && (_[I.model] = n.model[I.model]), _), {})), (E = (O = (M = n == null ? void 0 : n.model) == null ? void 0 : M.partials) == null ? void 0 : O[0]) != null && E.id) {
5353
5360
  const _ = n.model.partials[0].id;
@@ -5361,7 +5368,7 @@ const rh = { class: "partial-config-card" }, sh = { class: "config-card-row-labe
5361
5368
  "data-testid": "custom-plugin-redis-config-note",
5362
5369
  message: R(a)("redis.custom_plugin.alert")
5363
5370
  }, null, 8, ["message"]),
5364
- C(Aa, {
5371
+ C(Ia, {
5365
5372
  "default-redis-config-item": p.value,
5366
5373
  "is-custom-plugin": "",
5367
5374
  "is-konnect-managed-redis-enabled": e.isKonnectManagedRedisEnabled,
@@ -5412,7 +5419,7 @@ const rh = { class: "partial-config-card" }, sh = { class: "config-card-row-labe
5412
5419
  }, null, 8, ["modelValue", "description", "label"])
5413
5420
  ]),
5414
5421
  f.value ? (c(), b("div", Ah, [
5415
- C(Aa, {
5422
+ C(Ia, {
5416
5423
  "default-redis-config-item": p.value,
5417
5424
  "is-konnect-managed-redis-enabled": e.isKonnectManagedRedisEnabled,
5418
5425
  "plugin-redis-fields": e.field.fields,
@@ -5427,7 +5434,7 @@ const rh = { class: "partial-config-card" }, sh = { class: "config-card-row-labe
5427
5434
  (c(!0), b(Y, null, oe(e.field.fields, (m) => (c(), b(Y, {
5428
5435
  key: m.model
5429
5436
  }, [
5430
- v(m) ? (c(), $(Fo, {
5437
+ v(m) ? (c(), $(Uo, {
5431
5438
  key: 0,
5432
5439
  ref_for: !0,
5433
5440
  ref: "children",
@@ -5438,7 +5445,7 @@ const rh = { class: "partial-config-card" }, sh = { class: "config-card-row-labe
5438
5445
  vfg: e.vfg,
5439
5446
  onModelUpdated: U,
5440
5447
  onRefreshModel: H,
5441
- onValidated: D
5448
+ onValidated: P
5442
5449
  }, null, 8, ["errors", "field", "model", "options", "vfg"])) : B("", !0)
5443
5450
  ], 64))), 128))
5444
5451
  ]),
@@ -5453,8 +5460,8 @@ const rh = { class: "partial-config-card" }, sh = { class: "config-card-row-labe
5453
5460
  }
5454
5461
  }), Rh = /* @__PURE__ */ W(Oh, [["__scopeId", "data-v-58023d89"]]), kh = {
5455
5462
  name: "VueFormGenerator",
5456
- components: { formGroup: Fo, formRedis: Rh },
5457
- mixins: [ro],
5463
+ components: { formGroup: Uo, formRedis: Rh },
5464
+ mixins: [so],
5458
5465
  inject: {
5459
5466
  // Inject AUTOFILL_SLOT for provide()
5460
5467
  autofillSlot: {
@@ -5467,7 +5474,7 @@ const rh = { class: "partial-config-card" }, sh = { class: "config-card-row-labe
5467
5474
  return {
5468
5475
  // Provide AUTOFILL_SLOT only if it is not already provided
5469
5476
  ...!this.autofillSlot && {
5470
- [Le]: (e = this.$slots) == null ? void 0 : e[Ot]
5477
+ [Le]: (e = this.$slots) == null ? void 0 : e[Rt]
5471
5478
  }
5472
5479
  };
5473
5480
  },
@@ -5671,7 +5678,7 @@ function Nh(e, t, n, i, a, o) {
5671
5678
  class: "root-level-collapse",
5672
5679
  "model-value": !1,
5673
5680
  title: u.collapsible.title
5674
- }, ei({
5681
+ }, ti({
5675
5682
  default: A(() => {
5676
5683
  var f, p, T, k;
5677
5684
  return [
@@ -5791,17 +5798,17 @@ function Nh(e, t, n, i, a, o) {
5791
5798
  ], 64))), 128))
5792
5799
  ])) : B("", !0);
5793
5800
  }
5794
- const ue = /* @__PURE__ */ W(kh, [["render", Nh]]), jt = {
5801
+ const ue = /* @__PURE__ */ W(kh, [["render", Nh]]), xt = {
5795
5802
  openIdConnectDocs: "https://developer.konghq.com/plugins/openid-connect/",
5796
5803
  openIdConnectJWKDocs: "https://developer.konghq.com/plugins/openid-connect/reference/#schema--config-client-jwk",
5797
5804
  openIdConnectClusterNodesDocs: "https://developer.konghq.com/plugins/openid-connect/reference/#schema--config-redis-cluster-nodes",
5798
5805
  openIdConfigurationDocs: "https://developer.konghq.com/plugins/openid-connect/reference/",
5799
5806
  openIdAuthorizationDocs: "https://developer.konghq.com/plugins/openid-connect/#authorization"
5800
- }, Ia = /* @__PURE__ */ new Set([
5807
+ }, Ca = /* @__PURE__ */ new Set([
5801
5808
  "config-client_id",
5802
5809
  "config-client_secret",
5803
5810
  "config-issuer"
5804
- ]), Ca = /* @__PURE__ */ new Set([
5811
+ ]), Oa = /* @__PURE__ */ new Set([
5805
5812
  "config-scopes_claim",
5806
5813
  "config-scopes_required",
5807
5814
  "config-audience_claim",
@@ -5817,7 +5824,7 @@ const ue = /* @__PURE__ */ W(kh, [["render", Nh]]), jt = {
5817
5824
  provide() {
5818
5825
  var e;
5819
5826
  return {
5820
- [Le]: (e = this.$slots) == null ? void 0 : e[Ot]
5827
+ [Le]: (e = this.$slots) == null ? void 0 : e[Rt]
5821
5828
  };
5822
5829
  },
5823
5830
  props: {
@@ -5868,11 +5875,11 @@ const ue = /* @__PURE__ */ W(kh, [["render", Nh]]), jt = {
5868
5875
  globalFields: null,
5869
5876
  commonFieldsSchema: null,
5870
5877
  authFieldsSchema: null,
5871
- openIdConnectLink: jt.openIdConnectDocs,
5872
- openIdConnectJWKLink: jt.openIdConnectJWKDocs,
5873
- openIdConnectClusterNodesLink: jt.openIdConnectClusterNodesDocs,
5874
- openIdConfigurationDocs: jt.openIdConfigurationDocs,
5875
- openIdAuthorizationDocs: jt.openIdAuthorizationDocs,
5878
+ openIdConnectLink: xt.openIdConnectDocs,
5879
+ openIdConnectJWKLink: xt.openIdConnectJWKDocs,
5880
+ openIdConnectClusterNodesLink: xt.openIdConnectClusterNodesDocs,
5881
+ openIdConfigurationDocs: xt.openIdConfigurationDocs,
5882
+ openIdAuthorizationDocs: xt.openIdAuthorizationDocs,
5876
5883
  advancedFieldsSchema: {
5877
5884
  fields: []
5878
5885
  },
@@ -5917,14 +5924,14 @@ const ue = /* @__PURE__ */ W(kh, [["render", Nh]]), jt = {
5917
5924
  };
5918
5925
  const t = this.formSchema.fields.reduce((o, r) => (o[r.model] = r, o), {});
5919
5926
  this.commonFieldsSchema = {
5920
- fields: Array.from(Ia).reduce((o, r) => (t[r] && o.push(t[r]), o), [])
5921
- }, this.authFieldsSchema = {
5922
5927
  fields: Array.from(Ca).reduce((o, r) => (t[r] && o.push(t[r]), o), [])
5928
+ }, this.authFieldsSchema = {
5929
+ fields: Array.from(Oa).reduce((o, r) => (t[r] && o.push(t[r]), o), [])
5923
5930
  };
5924
- const { redis: n, redisModels: i } = Ve.useRedisPartial(this.formSchema);
5931
+ const { redis: n, redisModels: i } = Ke.useRedisPartial(this.formSchema);
5925
5932
  this.advancedFieldsSchema = {
5926
5933
  fields: this.formSchema.fields.filter(
5927
- (o) => o.model.startsWith("config") && o.model !== "config-auth_methods" && !Ia.has(o.model) && !Ca.has(o.model) && (!this.enableRedisPartial || !i.includes(o.model)) || o.model === "tags"
5934
+ (o) => o.model.startsWith("config") && o.model !== "config-auth_methods" && !Ca.has(o.model) && !Oa.has(o.model) && (!this.enableRedisPartial || !i.includes(o.model)) || o.model === "tags"
5928
5935
  ).reduce((o, r) => {
5929
5936
  var s, d, u, y;
5930
5937
  switch (r.model) {
@@ -6168,7 +6175,7 @@ const Bh = /* @__PURE__ */ W(Lh, [["render", qh], ["__scopeId", "data-v-681792ad
6168
6175
  },
6169
6176
  setup(e) {
6170
6177
  var r;
6171
- Yt(Le, (r = pn()) == null ? void 0 : r[Ot]);
6178
+ Xt(Le, (r = pn()) == null ? void 0 : r[Rt]);
6172
6179
  const { t, te: n } = ke("en-us", Fe), i = e, a = q(() => i.formModel.id && i.isEditing || !i.isEditing), o = q(() => {
6173
6180
  const s = i.formSchema;
6174
6181
  return s.fields.map((d) => {
@@ -6211,7 +6218,7 @@ const Bh = /* @__PURE__ */ W(Lh, [["render", qh], ["__scopeId", "data-v-681792ad
6211
6218
  },
6212
6219
  setup(e) {
6213
6220
  var r;
6214
- Yt(Le, (r = pn()) == null ? void 0 : r[Ot]);
6221
+ Xt(Le, (r = pn()) == null ? void 0 : r[Rt]);
6215
6222
  const { t, te: n } = ke("en-us", Fe), i = e, a = q(() => i.formModel.id && i.isEditing || !i.isEditing), o = q(() => {
6216
6223
  const s = i.formSchema;
6217
6224
  return s.fields.map((d) => {
@@ -6342,7 +6349,7 @@ const Bh = /* @__PURE__ */ W(Lh, [["render", qh], ["__scopeId", "data-v-681792ad
6342
6349
  },
6343
6350
  setup(e) {
6344
6351
  var O;
6345
- Yt(Le, (O = pn()) == null ? void 0 : O[Ot]);
6352
+ Xt(Le, (O = pn()) == null ? void 0 : O[Rt]);
6346
6353
  const t = e, n = ne("zeroSsl"), i = ne("shm"), a = q(() => {
6347
6354
  var _;
6348
6355
  const E = {};
@@ -6420,10 +6427,10 @@ const Bh = /* @__PURE__ */ W(Lh, [["render", qh], ["__scopeId", "data-v-681792ad
6420
6427
  value: "other"
6421
6428
  }
6422
6429
  ];
6423
- ti(() => {
6430
+ ni(() => {
6424
6431
  n.value === "zeroSsl" && (t.formModel["config-api_uri"] = "https://acme.zerossl.com/v2/DV90");
6425
6432
  });
6426
- const D = (E) => {
6433
+ const P = (E) => {
6427
6434
  n.value = E.value, (E.value === "zeroSsl" || E.value === "other") && (E.value === "zeroSsl" ? t.formModel["config-api_uri"] = "https://acme.zerossl.com/v2/DV90" : t.formModel["config-api_uri"] = "https://acme.example.com/", t.formModel["config-tos_accepted"] = !1), E.value === "letsEncrypt" && (t.formModel["config-api_uri"] = "https://acme-v02.api.letsencrypt.org/directory", t.formModel["config-eab_hmac_key"] = "", t.formModel["config-eab_kid"] = ""), t.onModelUpdated();
6428
6435
  }, M = (E, _) => {
6429
6436
  _ === "config-storage" && (i.value = E), t.onModelUpdated();
@@ -6458,7 +6465,7 @@ const Bh = /* @__PURE__ */ W(Lh, [["render", qh], ["__scopeId", "data-v-681792ad
6458
6465
  class: "issuer-select",
6459
6466
  items: H,
6460
6467
  label: "Issuer",
6461
- onChange: D
6468
+ onChange: P
6462
6469
  }),
6463
6470
  h("div", Qh, [
6464
6471
  n.value === "letsEncrypt" ? (c(), $(ue, {
@@ -6564,7 +6571,7 @@ const Bh = /* @__PURE__ */ W(Lh, [["render", qh], ["__scopeId", "data-v-681792ad
6564
6571
  },
6565
6572
  setup(e) {
6566
6573
  var F;
6567
- Yt(Le, (F = pn()) == null ? void 0 : F[Ot]);
6574
+ Xt(Le, (F = pn()) == null ? void 0 : F[Rt]);
6568
6575
  const t = {
6569
6576
  fixed: [
6570
6577
  {
@@ -6630,13 +6637,13 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
6630
6637
  const m = (L = (w = o.formSchema) == null ? void 0 : w.fields) == null ? void 0 : L.find((ye) => ye.type === "selectionGroup" && ye.model === "selectionGroup");
6631
6638
  return { fields: [(G = o.formSchema) == null ? void 0 : G.fields.find((ye) => ye.model === "enabled"), m].filter(Boolean) };
6632
6639
  }), s = q(() => {
6633
- var ye, Be;
6634
- const m = ((Be = (ye = o.formSchema) == null ? void 0 : ye.fields) == null ? void 0 : Be.filter((he) => !i(he.model))) ?? [], g = [], w = [], L = [];
6640
+ var ye, He;
6641
+ const m = ((He = (ye = o.formSchema) == null ? void 0 : ye.fields) == null ? void 0 : He.filter((he) => !i(he.model))) ?? [], g = [], w = [], L = [];
6635
6642
  let G = !1;
6636
6643
  for (const he of m) {
6637
- const ze = he.model;
6638
- if (ze !== void 0) {
6639
- if (ze.startsWith("config-redis-")) {
6644
+ const Ge = he.model;
6645
+ if (Ge !== void 0) {
6646
+ if (Ge.startsWith("config-redis-")) {
6640
6647
  (he.model === "config-redis-cluster_addresses" || he.model === "config-redis-sentinel_addresses") && (he.inputAttributes.help = a("rla.redis.address_example")), w.push(he);
6641
6648
  continue;
6642
6649
  }
@@ -6668,9 +6675,9 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
6668
6675
  return o.formModel["config-window_type"] ?? ((w = (g = (m = o.formSchema) == null ? void 0 : m.fields) == null ? void 0 : g.find((L) => L.model === "config-window_type")) == null ? void 0 : w.default);
6669
6676
  }
6670
6677
  ), k = q(() => {
6671
- var g, w, L, G, ye, Be;
6678
+ var g, w, L, G, ye, He;
6672
6679
  const m = (L = (w = (g = o.formSchema) == null ? void 0 : g.fields) == null ? void 0 : w.find((he) => he.model === "config-window_type")) == null ? void 0 : L.default;
6673
- return (((Be = (ye = (G = o.formSchema) == null ? void 0 : G.fields) == null ? void 0 : ye.find((he) => he.model === "config-window_type")) == null ? void 0 : Be.values) ?? []).sort((he, ze) => he === m ? -1 : ze === m ? 1 : 0);
6680
+ return (((He = (ye = (G = o.formSchema) == null ? void 0 : G.fields) == null ? void 0 : ye.find((he) => he.model === "config-window_type")) == null ? void 0 : He.values) ?? []).sort((he, Ge) => he === m ? -1 : Ge === m ? 1 : 0);
6674
6681
  }), v = q(() => {
6675
6682
  var g;
6676
6683
  const m = (g = o.formModel["config-limit"]) == null ? void 0 : g.map((w, L) => {
@@ -6696,14 +6703,14 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
6696
6703
  var m, g, w, L;
6697
6704
  return ((m = o.formModel) == null ? void 0 : m["config-error_message"]) ?? ((L = (w = (g = o.formSchema) == null ? void 0 : g.fields) == null ? void 0 : w.find((G) => G.model === "config-error_message")) == null ? void 0 : L.default);
6698
6705
  }
6699
- ), D = (m, g) => {
6706
+ ), P = (m, g) => {
6700
6707
  if (g === f.value) {
6701
- o.onModelUpdated([], "config-limit"), o.onModelUpdated([], "config-window_size"), Ni(() => {
6708
+ o.onModelUpdated([], "config-limit"), o.onModelUpdated([], "config-window_size"), Li(() => {
6702
6709
  f.value = void 0;
6703
6710
  });
6704
6711
  return;
6705
6712
  }
6706
- o.onModelUpdated([m.config.limit], "config-limit"), o.onModelUpdated([m.config.window_size], "config-window_size"), Ni(() => {
6713
+ o.onModelUpdated([m.config.limit], "config-limit"), o.onModelUpdated([m.config.window_size], "config-window_size"), Li(() => {
6707
6714
  f.value = g;
6708
6715
  });
6709
6716
  }, M = (m) => {
@@ -6731,10 +6738,10 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
6731
6738
  L.length === 0 && L.push(void 0), G.length === 0 && G.push(void 0), L.splice(m, 1), G.splice(m, 1), o.onModelUpdated(L, "config-limit"), o.onModelUpdated(G, "config-window_size");
6732
6739
  }
6733
6740
  };
6734
- return Wt(() => o.formModel["config-strategy"], (m) => {
6741
+ return Jt(() => o.formModel["config-strategy"], (m) => {
6735
6742
  m !== "redis" && o.formModel.partials && o.onModelUpdated(void 0, "partials");
6736
6743
  }), (m, g) => {
6737
- const w = j("KLabel"), L = j("KRadio"), G = j("KInput"), ye = j("KButton"), Be = j("KBadge"), he = j("KTooltip"), ze = j("KCard"), wn = j("KSelect"), Zt = j("KCollapse");
6744
+ const w = j("KLabel"), L = j("KRadio"), G = j("KInput"), ye = j("KButton"), He = j("KBadge"), he = j("KTooltip"), Ge = j("KCard"), wn = j("KSelect"), Qt = j("KCollapse");
6738
6745
  return c(), b(Y, null, [
6739
6746
  h("div", op, [
6740
6747
  C(ue, {
@@ -6743,7 +6750,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
6743
6750
  schema: r.value,
6744
6751
  onModelUpdated: g[0] || (g[0] = (x, ie) => e.onModelUpdated(x, ie))
6745
6752
  }, null, 8, ["model", "options", "schema"]),
6746
- C(ze, { class: "rla-form-request-limits" }, {
6753
+ C(Ge, { class: "rla-form-request-limits" }, {
6747
6754
  title: A(() => [
6748
6755
  C(w, {
6749
6756
  class: "rla-form-request-limits-title",
@@ -6840,7 +6847,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
6840
6847
  onClick: () => _(ie)
6841
6848
  }, {
6842
6849
  default: A(() => [
6843
- C(R(ii))
6850
+ C(R(ai))
6844
6851
  ]),
6845
6852
  _: 1
6846
6853
  }, 8, ["onClick"])
@@ -6862,10 +6869,10 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
6862
6869
  h("div", null, V(R(a)("rla.request_limits.time_interval")) + ": " + V(x.config.window_size), 1)
6863
6870
  ]),
6864
6871
  default: A(() => [
6865
- C(Be, {
6872
+ C(He, {
6866
6873
  appearance: f.value === `${T.value}-${ie}` ? "info" : "decorative",
6867
6874
  class: "rla-form-request-limits-examples-badge",
6868
- onClick: () => D(x, `${T.value}-${ie}`)
6875
+ onClick: () => P(x, `${T.value}-${ie}`)
6869
6876
  }, {
6870
6877
  default: A(() => [
6871
6878
  ce(V(x.label), 1)
@@ -6935,7 +6942,7 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
6935
6942
  ])
6936
6943
  ])
6937
6944
  ]),
6938
- C(Zt, {
6945
+ C(Qt, {
6939
6946
  modelValue: p.value,
6940
6947
  "onUpdate:modelValue": g[9] || (g[9] = (x) => p.value = x),
6941
6948
  "data-testid": "view-advanced",
@@ -7004,9 +7011,9 @@ will extend the wait time by about 12 minutes, continuously adjusting as new req
7004
7011
  })[e];
7005
7012
  export {
7006
7013
  Le as AUTOFILL_SLOT,
7007
- Ot as AUTOFILL_SLOT_NAME,
7014
+ Rt as AUTOFILL_SLOT_NAME,
7008
7015
  ul as EMPTY_VALUE_PLACEHOLDER,
7009
- qe as FIELD_STATES,
7016
+ ze as FIELD_STATES,
7010
7017
  Ne as FORMS_API_KEY,
7011
7018
  ll as FORMS_CONFIG,
7012
7019
  rm as FieldScopedEntitySelect,
@@ -7015,7 +7022,7 @@ export {
7015
7022
  Ap as REDIS_PARTIAL_INFO,
7016
7023
  ue as VueFormGenerator,
7017
7024
  Ip as abstractField,
7018
- Ve as composables,
7025
+ Ke as composables,
7019
7026
  Op as customFields,
7020
7027
  Rp as getSharedFormName,
7021
7028
  Cp as sharedForms