@kong-ui-public/entities-plugins 9.216.0 → 9.216.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,8 +1,8 @@
1
- var no = Object.defineProperty;
2
- var ro = (t, e, n) => e in t ? no(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
3
- var L = (t, e, n) => ro(t, typeof e != "symbol" ? e + "" : e, n);
4
- import { get as hr, isEqual as on, omit as so, cloneDeep as ss, set as io, isFunction as is } from "lodash-es";
5
- const Tc = {
1
+ var so = Object.defineProperty;
2
+ var io = (t, e, n) => e in t ? so(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
3
+ var L = (t, e, n) => io(t, typeof e != "symbol" ? e + "" : e, n);
4
+ import { get as hr, isEqual as on, omit as oo, cloneDeep as os, set as lo, isFunction as ls } from "lodash-es";
5
+ const kc = {
6
6
  // Common
7
7
  field: (t) => `[data-testid="ff-${t}"]`,
8
8
  label: (t) => `[data-testid="ff-label-${t}"]`,
@@ -43,28 +43,28 @@ const Tc = {
43
43
  * @license MIT
44
44
  **/
45
45
  // @__NO_SIDE_EFFECTS__
46
- function oo(t) {
46
+ function ao(t) {
47
47
  const e = /* @__PURE__ */ Object.create(null);
48
48
  for (const n of t.split(",")) e[n] = 1;
49
49
  return (n) => n in e;
50
50
  }
51
- const Pt = process.env.NODE_ENV !== "production" ? Object.freeze({}) : {};
51
+ const $t = process.env.NODE_ENV !== "production" ? Object.freeze({}) : {};
52
52
  process.env.NODE_ENV !== "production" && Object.freeze([]);
53
53
  const ct = () => {
54
- }, lo = (t) => t.charCodeAt(0) === 111 && t.charCodeAt(1) === 110 && // uppercase letter
55
- (t.charCodeAt(2) > 122 || t.charCodeAt(2) < 97), ao = (t) => t.startsWith("onUpdate:"), Ie = Object.assign, co = Object.prototype.hasOwnProperty, rr = (t, e) => co.call(t, e), W = Array.isArray, ut = (t) => bn(t) === "[object Map]", uo = (t) => bn(t) === "[object Set]", Z = (t) => typeof t == "function", De = (t) => typeof t == "string", Ze = (t) => typeof t == "symbol", le = (t) => t !== null && typeof t == "object", fo = (t) => (le(t) || Z(t)) && Z(t.then) && Z(t.catch), po = Object.prototype.toString, bn = (t) => po.call(t), Ds = (t) => bn(t).slice(8, -1), ho = (t) => bn(t) === "[object Object]", yn = (t) => De(t) && t !== "NaN" && t[0] !== "-" && "" + parseInt(t, 10) === t, Cs = (t) => {
54
+ }, co = (t) => t.charCodeAt(0) === 111 && t.charCodeAt(1) === 110 && // uppercase letter
55
+ (t.charCodeAt(2) > 122 || t.charCodeAt(2) < 97), uo = (t) => t.startsWith("onUpdate:"), Ie = Object.assign, fo = Object.prototype.hasOwnProperty, rr = (t, e) => fo.call(t, e), G = Array.isArray, ut = (t) => bn(t) === "[object Map]", po = (t) => bn(t) === "[object Set]", X = (t) => typeof t == "function", De = (t) => typeof t == "string", Ze = (t) => typeof t == "symbol", le = (t) => t !== null && typeof t == "object", ho = (t) => (le(t) || X(t)) && X(t.then) && X(t.catch), go = Object.prototype.toString, bn = (t) => go.call(t), Ms = (t) => bn(t).slice(8, -1), mo = (t) => bn(t) === "[object Object]", yn = (t) => De(t) && t !== "NaN" && t[0] !== "-" && "" + parseInt(t, 10) === t, $s = (t) => {
56
56
  const e = /* @__PURE__ */ Object.create(null);
57
57
  return (n) => e[n] || (e[n] = t(n));
58
- }, Ms = Cs((t) => t.charAt(0).toUpperCase() + t.slice(1)), go = Cs(
59
- (t) => t ? `on${Ms(t)}` : ""
58
+ }, Ps = $s((t) => t.charAt(0).toUpperCase() + t.slice(1)), _o = $s(
59
+ (t) => t ? `on${Ps(t)}` : ""
60
60
  ), Se = (t, e) => !Object.is(t, e);
61
- let os;
62
- const wn = () => os || (os = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {});
61
+ let as;
62
+ const wn = () => as || (as = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {});
63
63
  function gr(t) {
64
- if (W(t)) {
64
+ if (G(t)) {
65
65
  const e = {};
66
66
  for (let n = 0; n < t.length; n++) {
67
- const r = t[n], s = De(r) ? yo(r) : gr(r);
67
+ const r = t[n], s = De(r) ? Eo(r) : gr(r);
68
68
  if (s)
69
69
  for (const i in s)
70
70
  e[i] = s[i];
@@ -73,12 +73,12 @@ function gr(t) {
73
73
  } else if (De(t) || le(t))
74
74
  return t;
75
75
  }
76
- const mo = /;(?![^(]*\))/g, _o = /:([^]+)/, bo = /\/\*[^]*?\*\//g;
77
- function yo(t) {
76
+ const bo = /;(?![^(]*\))/g, yo = /:([^]+)/, wo = /\/\*[^]*?\*\//g;
77
+ function Eo(t) {
78
78
  const e = {};
79
- return t.replace(bo, "").split(mo).forEach((n) => {
79
+ return t.replace(wo, "").split(bo).forEach((n) => {
80
80
  if (n) {
81
- const r = n.split(_o);
81
+ const r = n.split(yo);
82
82
  r.length > 1 && (e[r[0].trim()] = r[1].trim());
83
83
  }
84
84
  }), e;
@@ -87,7 +87,7 @@ function mr(t) {
87
87
  let e = "";
88
88
  if (De(t))
89
89
  e = t;
90
- else if (W(t))
90
+ else if (G(t))
91
91
  for (let n = 0; n < t.length; n++) {
92
92
  const r = mr(t[n]);
93
93
  r && (e += r + " ");
@@ -105,13 +105,13 @@ function mr(t) {
105
105
  function ve(t, ...e) {
106
106
  console.warn(`[Vue warn] ${t}`, ...e);
107
107
  }
108
- let wo;
109
- function Ps() {
110
- return wo;
108
+ let To;
109
+ function Ls() {
110
+ return To;
111
111
  }
112
112
  let M;
113
113
  const Gn = /* @__PURE__ */ new WeakSet();
114
- class Eo {
114
+ class xo {
115
115
  constructor(e) {
116
116
  this.fn = e, this.deps = void 0, this.depsTail = void 0, this.flags = 5, this.next = void 0, this.cleanup = void 0, this.scheduler = void 0;
117
117
  }
@@ -125,12 +125,12 @@ class Eo {
125
125
  * @internal
126
126
  */
127
127
  notify() {
128
- this.flags & 2 && !(this.flags & 32) || this.flags & 8 || Ls(this);
128
+ this.flags & 2 && !(this.flags & 32) || this.flags & 8 || js(this);
129
129
  }
130
130
  run() {
131
131
  if (!(this.flags & 1))
132
132
  return this.fn();
133
- this.flags |= 2, ls(this), zs(this);
133
+ this.flags |= 2, cs(this), Fs(this);
134
134
  const e = M, n = ye;
135
135
  M = this, ye = !0;
136
136
  try {
@@ -138,14 +138,14 @@ class Eo {
138
138
  } finally {
139
139
  process.env.NODE_ENV !== "production" && M !== this && ve(
140
140
  "Active effect was not restored correctly - this is likely a Vue internal bug."
141
- ), js(this), M = e, ye = n, this.flags &= -3;
141
+ ), Vs(this), M = e, ye = n, this.flags &= -3;
142
142
  }
143
143
  }
144
144
  stop() {
145
145
  if (this.flags & 1) {
146
146
  for (let e = this.deps; e; e = e.nextDep)
147
147
  yr(e);
148
- this.deps = this.depsTail = void 0, ls(this), this.onStop && this.onStop(), this.flags &= -2;
148
+ this.deps = this.depsTail = void 0, cs(this), this.onStop && this.onStop(), this.flags &= -2;
149
149
  }
150
150
  }
151
151
  trigger() {
@@ -161,8 +161,8 @@ class Eo {
161
161
  return sr(this);
162
162
  }
163
163
  }
164
- let $s = 0, It, Dt;
165
- function Ls(t, e = !1) {
164
+ let zs = 0, It, Dt;
165
+ function js(t, e = !1) {
166
166
  if (t.flags |= 8, e) {
167
167
  t.next = Dt, Dt = t;
168
168
  return;
@@ -170,10 +170,10 @@ function Ls(t, e = !1) {
170
170
  t.next = It, It = t;
171
171
  }
172
172
  function _r() {
173
- $s++;
173
+ zs++;
174
174
  }
175
175
  function br() {
176
- if (--$s > 0)
176
+ if (--zs > 0)
177
177
  return;
178
178
  if (Dt) {
179
179
  let e = Dt;
@@ -198,38 +198,38 @@ function br() {
198
198
  }
199
199
  if (t) throw t;
200
200
  }
201
- function zs(t) {
201
+ function Fs(t) {
202
202
  for (let e = t.deps; e; e = e.nextDep)
203
203
  e.version = -1, e.prevActiveLink = e.dep.activeLink, e.dep.activeLink = e;
204
204
  }
205
- function js(t) {
205
+ function Vs(t) {
206
206
  let e, n = t.depsTail, r = n;
207
207
  for (; r; ) {
208
208
  const s = r.prevDep;
209
- r.version === -1 ? (r === n && (n = s), yr(r), To(r)) : e = r, r.dep.activeLink = r.prevActiveLink, r.prevActiveLink = void 0, r = s;
209
+ r.version === -1 ? (r === n && (n = s), yr(r), ko(r)) : e = r, r.dep.activeLink = r.prevActiveLink, r.prevActiveLink = void 0, r = s;
210
210
  }
211
211
  t.deps = e, t.depsTail = n;
212
212
  }
213
213
  function sr(t) {
214
214
  for (let e = t.deps; e; e = e.nextDep)
215
- if (e.dep.version !== e.version || e.dep.computed && (Fs(e.dep.computed) || e.dep.version !== e.version))
215
+ if (e.dep.version !== e.version || e.dep.computed && (Hs(e.dep.computed) || e.dep.version !== e.version))
216
216
  return !0;
217
217
  return !!t._dirty;
218
218
  }
219
- function Fs(t) {
220
- if (t.flags & 4 && !(t.flags & 16) || (t.flags &= -17, t.globalVersion === $t) || (t.globalVersion = $t, !t.isSSR && t.flags & 128 && (!t.deps && !t._dirty || !sr(t))))
219
+ function Hs(t) {
220
+ if (t.flags & 4 && !(t.flags & 16) || (t.flags &= -17, t.globalVersion === Pt) || (t.globalVersion = Pt, !t.isSSR && t.flags & 128 && (!t.deps && !t._dirty || !sr(t))))
221
221
  return;
222
222
  t.flags |= 2;
223
223
  const e = t.dep, n = M, r = ye;
224
224
  M = t, ye = !0;
225
225
  try {
226
- zs(t);
226
+ Fs(t);
227
227
  const s = t.fn(t._value);
228
228
  (e.version === 0 || Se(s, t._value)) && (t.flags |= 128, t._value = s, e.version++);
229
229
  } catch (s) {
230
230
  throw e.version++, s;
231
231
  } finally {
232
- M = n, ye = r, js(t), t.flags &= -3;
232
+ M = n, ye = r, Vs(t), t.flags &= -3;
233
233
  }
234
234
  }
235
235
  function yr(t, e = !1) {
@@ -241,20 +241,20 @@ function yr(t, e = !1) {
241
241
  }
242
242
  !e && !--n.sc && n.map && n.map.delete(n.key);
243
243
  }
244
- function To(t) {
244
+ function ko(t) {
245
245
  const { prevDep: e, nextDep: n } = t;
246
246
  e && (e.nextDep = n, t.prevDep = void 0), n && (n.prevDep = e, t.nextDep = void 0);
247
247
  }
248
248
  let ye = !0;
249
- const Vs = [];
249
+ const Us = [];
250
250
  function mt() {
251
- Vs.push(ye), ye = !1;
251
+ Us.push(ye), ye = !1;
252
252
  }
253
253
  function _t() {
254
- const t = Vs.pop();
254
+ const t = Us.pop();
255
255
  ye = t === void 0 ? !0 : t;
256
256
  }
257
- function ls(t) {
257
+ function cs(t) {
258
258
  const { cleanup: e } = t;
259
259
  if (t.cleanup = void 0, e) {
260
260
  const n = M;
@@ -266,8 +266,8 @@ function ls(t) {
266
266
  }
267
267
  }
268
268
  }
269
- let $t = 0;
270
- class xo {
269
+ let Pt = 0;
270
+ class So {
271
271
  constructor(e, n) {
272
272
  this.sub = e, this.dep = n, this.version = n.version, this.nextDep = this.prevDep = this.nextSub = this.prevSub = this.prevActiveLink = void 0;
273
273
  }
@@ -282,7 +282,7 @@ class wr {
282
282
  return;
283
283
  let n = this.activeLink;
284
284
  if (n === void 0 || n.sub !== M)
285
- n = this.activeLink = new xo(M, this), M.deps ? (n.prevDep = M.depsTail, M.depsTail.nextDep = n, M.depsTail = n) : M.deps = M.depsTail = n, Hs(n);
285
+ n = this.activeLink = new So(M, this), M.deps ? (n.prevDep = M.depsTail, M.depsTail.nextDep = n, M.depsTail = n) : M.deps = M.depsTail = n, Bs(n);
286
286
  else if (n.version === -1 && (n.version = this.version, n.nextDep)) {
287
287
  const r = n.nextDep;
288
288
  r.prevDep = n.prevDep, n.prevDep && (n.prevDep.nextDep = r), n.prevDep = M.depsTail, n.nextDep = void 0, M.depsTail.nextDep = n, M.depsTail = n, M.deps === n && (M.deps = r);
@@ -297,7 +297,7 @@ class wr {
297
297
  ), n;
298
298
  }
299
299
  trigger(e) {
300
- this.version++, $t++, this.notify(e);
300
+ this.version++, Pt++, this.notify(e);
301
301
  }
302
302
  notify(e) {
303
303
  _r();
@@ -319,13 +319,13 @@ class wr {
319
319
  }
320
320
  }
321
321
  }
322
- function Hs(t) {
322
+ function Bs(t) {
323
323
  if (t.dep.sc++, t.sub.flags & 4) {
324
324
  const e = t.dep.computed;
325
325
  if (e && !t.dep.subs) {
326
326
  e.flags |= 20;
327
327
  for (let r = e.deps; r; r = r.nextDep)
328
- Hs(r);
328
+ Bs(r);
329
329
  }
330
330
  const n = t.dep.subs;
331
331
  n !== t && (t.prevSub = n, n && (n.nextSub = t)), process.env.NODE_ENV !== "production" && t.dep.subsHead === void 0 && (t.dep.subsHead = t), t.dep.subs = t;
@@ -338,7 +338,7 @@ const an = /* @__PURE__ */ new WeakMap(), Ke = /* @__PURE__ */ Symbol(
338
338
  ), Lt = /* @__PURE__ */ Symbol(
339
339
  process.env.NODE_ENV !== "production" ? "Array iterate" : ""
340
340
  );
341
- function Q(t, e, n) {
341
+ function J(t, e, n) {
342
342
  if (ye && M) {
343
343
  let r = an.get(t);
344
344
  r || an.set(t, r = /* @__PURE__ */ new Map());
@@ -353,7 +353,7 @@ function Q(t, e, n) {
353
353
  function Ve(t, e, n, r, s, i) {
354
354
  const o = an.get(t);
355
355
  if (!o) {
356
- $t++;
356
+ Pt++;
357
357
  return;
358
358
  }
359
359
  const a = (c) => {
@@ -369,7 +369,7 @@ function Ve(t, e, n, r, s, i) {
369
369
  if (_r(), e === "clear")
370
370
  o.forEach(a);
371
371
  else {
372
- const c = W(t), p = c && yn(n);
372
+ const c = G(t), p = c && yn(n);
373
373
  if (c && n === "length") {
374
374
  const d = Number(r);
375
375
  o.forEach((u, h) => {
@@ -390,28 +390,28 @@ function Ve(t, e, n, r, s, i) {
390
390
  }
391
391
  br();
392
392
  }
393
- function ko(t, e) {
393
+ function vo(t, e) {
394
394
  const n = an.get(t);
395
395
  return n && n.get(e);
396
396
  }
397
397
  function st(t) {
398
398
  const e = /* @__PURE__ */ N(t);
399
- return e === t ? e : (Q(e, "iterate", Lt), /* @__PURE__ */ ae(t) ? e : e.map(Ce));
399
+ return e === t ? e : (J(e, "iterate", Lt), /* @__PURE__ */ ae(t) ? e : e.map(Ce));
400
400
  }
401
401
  function Er(t) {
402
- return Q(t = /* @__PURE__ */ N(t), "iterate", Lt), t;
402
+ return J(t = /* @__PURE__ */ N(t), "iterate", Lt), t;
403
403
  }
404
404
  function ke(t, e) {
405
405
  return /* @__PURE__ */ Ae(t) ? jt(/* @__PURE__ */ ft(t) ? Ce(e) : e) : Ce(e);
406
406
  }
407
- const So = {
407
+ const Ao = {
408
408
  __proto__: null,
409
409
  [Symbol.iterator]() {
410
410
  return qn(this, Symbol.iterator, (t) => ke(this, t));
411
411
  },
412
412
  concat(...t) {
413
413
  return st(this).concat(
414
- ...t.map((e) => W(e) ? st(e) : e)
414
+ ...t.map((e) => G(e) ? st(e) : e)
415
415
  );
416
416
  },
417
417
  entries() {
@@ -483,10 +483,10 @@ const So = {
483
483
  return kt(this, "push", t);
484
484
  },
485
485
  reduce(t, ...e) {
486
- return as(this, "reduce", t, e);
486
+ return us(this, "reduce", t, e);
487
487
  },
488
488
  reduceRight(t, ...e) {
489
- return as(this, "reduceRight", t, e);
489
+ return us(this, "reduceRight", t, e);
490
490
  },
491
491
  shift() {
492
492
  return kt(this, "shift");
@@ -521,10 +521,10 @@ function qn(t, e, n) {
521
521
  return i.done || (i.value = n(i.value)), i;
522
522
  }), s;
523
523
  }
524
- const vo = Array.prototype;
524
+ const Ro = Array.prototype;
525
525
  function Oe(t, e, n, r, s, i) {
526
526
  const o = Er(t), a = o !== t && !/* @__PURE__ */ ae(t), c = o[e];
527
- if (c !== vo[e]) {
527
+ if (c !== Ro[e]) {
528
528
  const u = c.apply(t, i);
529
529
  return a ? Ce(u) : u;
530
530
  }
@@ -537,7 +537,7 @@ function Oe(t, e, n, r, s, i) {
537
537
  const d = c.call(o, p, r);
538
538
  return a && s ? s(d) : d;
539
539
  }
540
- function as(t, e, n, r) {
540
+ function us(t, e, n, r) {
541
541
  const s = Er(t), i = s !== t && !/* @__PURE__ */ ae(t);
542
542
  let o = n, a = !1;
543
543
  s !== t && (i ? (a = r.length === 0, o = function(p, d, u) {
@@ -550,7 +550,7 @@ function as(t, e, n, r) {
550
550
  }
551
551
  function Kn(t, e, n) {
552
552
  const r = /* @__PURE__ */ N(t);
553
- Q(r, "iterate", Lt);
553
+ J(r, "iterate", Lt);
554
554
  const s = r[e](...n);
555
555
  return (s === -1 || s === !1) && /* @__PURE__ */ zt(n[0]) ? (n[0] = /* @__PURE__ */ N(n[0]), r[e](...n)) : s;
556
556
  }
@@ -559,15 +559,15 @@ function kt(t, e, n = []) {
559
559
  const r = (/* @__PURE__ */ N(t))[e].apply(t, n);
560
560
  return br(), _t(), r;
561
561
  }
562
- const Ao = /* @__PURE__ */ oo("__proto__,__v_isRef,__isVue"), Us = new Set(
562
+ const Oo = /* @__PURE__ */ ao("__proto__,__v_isRef,__isVue"), Ws = new Set(
563
563
  /* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((t) => t !== "arguments" && t !== "caller").map((t) => Symbol[t]).filter(Ze)
564
564
  );
565
- function Ro(t) {
565
+ function No(t) {
566
566
  Ze(t) || (t = String(t));
567
567
  const e = /* @__PURE__ */ N(this);
568
- return Q(e, "has", t), e.hasOwnProperty(t);
568
+ return J(e, "has", t), e.hasOwnProperty(t);
569
569
  }
570
- class Bs {
570
+ class Gs {
571
571
  constructor(e = !1, n = !1) {
572
572
  this._isReadonly = e, this._isShallow = n;
573
573
  }
@@ -581,16 +581,16 @@ class Bs {
581
581
  if (n === "__v_isShallow")
582
582
  return i;
583
583
  if (n === "__v_raw")
584
- return r === (s ? i ? zo : qs : i ? Lo : Gs).get(e) || // receiver is not the reactive proxy, but has the same prototype
584
+ return r === (s ? i ? Fo : Ys : i ? jo : Ks).get(e) || // receiver is not the reactive proxy, but has the same prototype
585
585
  // this means the receiver is a user proxy of the reactive proxy
586
586
  Object.getPrototypeOf(e) === Object.getPrototypeOf(r) ? e : void 0;
587
- const o = W(e);
587
+ const o = G(e);
588
588
  if (!s) {
589
589
  let c;
590
- if (o && (c = So[n]))
590
+ if (o && (c = Ao[n]))
591
591
  return c;
592
592
  if (n === "hasOwnProperty")
593
- return Ro;
593
+ return No;
594
594
  }
595
595
  const a = Reflect.get(
596
596
  e,
@@ -598,27 +598,27 @@ class Bs {
598
598
  // if this is a proxy wrapping a ref, return methods using the raw ref
599
599
  // as receiver so that we don't have to call `toRaw` on the ref in all
600
600
  // its class methods
601
- /* @__PURE__ */ ee(e) ? e : r
601
+ /* @__PURE__ */ te(e) ? e : r
602
602
  );
603
- if ((Ze(n) ? Us.has(n) : Ao(n)) || (s || Q(e, "get", n), i))
603
+ if ((Ze(n) ? Ws.has(n) : Oo(n)) || (s || J(e, "get", n), i))
604
604
  return a;
605
- if (/* @__PURE__ */ ee(a)) {
605
+ if (/* @__PURE__ */ te(a)) {
606
606
  const c = o && yn(n) ? a : a.value;
607
607
  return s && le(c) ? /* @__PURE__ */ cn(c) : c;
608
608
  }
609
609
  return le(a) ? s ? /* @__PURE__ */ cn(a) : /* @__PURE__ */ En(a) : a;
610
610
  }
611
611
  }
612
- class Oo extends Bs {
612
+ class Io extends Gs {
613
613
  constructor(e = !1) {
614
614
  super(!1, e);
615
615
  }
616
616
  set(e, n, r, s) {
617
617
  let i = e[n];
618
- const o = W(e) && yn(n);
618
+ const o = G(e) && yn(n);
619
619
  if (!this._isShallow) {
620
620
  const p = /* @__PURE__ */ Ae(i);
621
- if (!/* @__PURE__ */ ae(r) && !/* @__PURE__ */ Ae(r) && (i = /* @__PURE__ */ N(i), r = /* @__PURE__ */ N(r)), !o && /* @__PURE__ */ ee(i) && !/* @__PURE__ */ ee(r))
621
+ if (!/* @__PURE__ */ ae(r) && !/* @__PURE__ */ Ae(r) && (i = /* @__PURE__ */ N(i), r = /* @__PURE__ */ N(r)), !o && /* @__PURE__ */ te(i) && !/* @__PURE__ */ te(r))
622
622
  return p ? (process.env.NODE_ENV !== "production" && ve(
623
623
  `Set operation on key "${String(n)}" failed: target is readonly.`,
624
624
  e[n]
@@ -628,7 +628,7 @@ class Oo extends Bs {
628
628
  e,
629
629
  n,
630
630
  r,
631
- /* @__PURE__ */ ee(e) ? e : s
631
+ /* @__PURE__ */ te(e) ? e : s
632
632
  );
633
633
  return e === /* @__PURE__ */ N(s) && (a ? Se(r, i) && Ve(e, "set", n, r, i) : Ve(e, "add", n, r)), c;
634
634
  }
@@ -638,17 +638,17 @@ class Oo extends Bs {
638
638
  }
639
639
  has(e, n) {
640
640
  const r = Reflect.has(e, n);
641
- return (!Ze(n) || !Us.has(n)) && Q(e, "has", n), r;
641
+ return (!Ze(n) || !Ws.has(n)) && J(e, "has", n), r;
642
642
  }
643
643
  ownKeys(e) {
644
- return Q(
644
+ return J(
645
645
  e,
646
646
  "iterate",
647
- W(e) ? "length" : Ke
647
+ G(e) ? "length" : Ke
648
648
  ), Reflect.ownKeys(e);
649
649
  }
650
650
  }
651
- class No extends Bs {
651
+ class Do extends Gs {
652
652
  constructor(e = !1) {
653
653
  super(!0, e);
654
654
  }
@@ -665,11 +665,11 @@ class No extends Bs {
665
665
  ), !0;
666
666
  }
667
667
  }
668
- const Io = /* @__PURE__ */ new Oo(), Do = /* @__PURE__ */ new No(), or = (t) => t, Jt = (t) => Reflect.getPrototypeOf(t);
669
- function Co(t, e, n) {
668
+ const Co = /* @__PURE__ */ new Io(), Mo = /* @__PURE__ */ new Do(), or = (t) => t, Jt = (t) => Reflect.getPrototypeOf(t);
669
+ function $o(t, e, n) {
670
670
  return function(...r) {
671
671
  const s = this.__v_raw, i = /* @__PURE__ */ N(s), o = ut(i), a = t === "entries" || t === Symbol.iterator && o, c = t === "keys" && o, p = s[t](...r), d = n ? or : e ? jt : Ce;
672
- return !e && Q(
672
+ return !e && J(
673
673
  i,
674
674
  "iterate",
675
675
  c ? ir : Ke
@@ -694,18 +694,18 @@ function en(t) {
694
694
  if (process.env.NODE_ENV !== "production") {
695
695
  const n = e[0] ? `on key "${e[0]}" ` : "";
696
696
  ve(
697
- `${Ms(t)} operation ${n}failed: target is readonly.`,
697
+ `${Ps(t)} operation ${n}failed: target is readonly.`,
698
698
  /* @__PURE__ */ N(this)
699
699
  );
700
700
  }
701
701
  return t === "delete" ? !1 : t === "clear" ? void 0 : this;
702
702
  };
703
703
  }
704
- function Mo(t, e) {
704
+ function Po(t, e) {
705
705
  const n = {
706
706
  get(s) {
707
707
  const i = this.__v_raw, o = /* @__PURE__ */ N(i), a = /* @__PURE__ */ N(s);
708
- t || (Se(s, a) && Q(o, "get", s), Q(o, "get", a));
708
+ t || (Se(s, a) && J(o, "get", s), J(o, "get", a));
709
709
  const { has: c } = Jt(o), p = e ? or : t ? jt : Ce;
710
710
  if (c.call(o, s))
711
711
  return p(i.get(s));
@@ -715,15 +715,15 @@ function Mo(t, e) {
715
715
  },
716
716
  get size() {
717
717
  const s = this.__v_raw;
718
- return !t && Q(/* @__PURE__ */ N(s), "iterate", Ke), s.size;
718
+ return !t && J(/* @__PURE__ */ N(s), "iterate", Ke), s.size;
719
719
  },
720
720
  has(s) {
721
721
  const i = this.__v_raw, o = /* @__PURE__ */ N(i), a = /* @__PURE__ */ N(s);
722
- return t || (Se(s, a) && Q(o, "has", s), Q(o, "has", a)), s === a ? i.has(s) : i.has(s) || i.has(a);
722
+ return t || (Se(s, a) && J(o, "has", s), J(o, "has", a)), s === a ? i.has(s) : i.has(s) || i.has(a);
723
723
  },
724
724
  forEach(s, i) {
725
725
  const o = this, a = o.__v_raw, c = /* @__PURE__ */ N(a), p = e ? or : t ? jt : Ce;
726
- return !t && Q(c, "iterate", Ke), a.forEach((d, u) => s.call(i, p(d), p(u), o));
726
+ return !t && J(c, "iterate", Ke), a.forEach((d, u) => s.call(i, p(d), p(u), o));
727
727
  }
728
728
  };
729
729
  return Ie(
@@ -742,14 +742,14 @@ function Mo(t, e) {
742
742
  !e && !/* @__PURE__ */ ae(i) && !/* @__PURE__ */ Ae(i) && (i = /* @__PURE__ */ N(i));
743
743
  const o = /* @__PURE__ */ N(this), { has: a, get: c } = Jt(o);
744
744
  let p = a.call(o, s);
745
- p ? process.env.NODE_ENV !== "production" && cs(o, a, s) : (s = /* @__PURE__ */ N(s), p = a.call(o, s));
745
+ p ? process.env.NODE_ENV !== "production" && fs(o, a, s) : (s = /* @__PURE__ */ N(s), p = a.call(o, s));
746
746
  const d = c.call(o, s);
747
747
  return o.set(s, i), p ? Se(i, d) && Ve(o, "set", s, i, d) : Ve(o, "add", s, i), this;
748
748
  },
749
749
  delete(s) {
750
750
  const i = /* @__PURE__ */ N(this), { has: o, get: a } = Jt(i);
751
751
  let c = o.call(i, s);
752
- c ? process.env.NODE_ENV !== "production" && cs(i, o, s) : (s = /* @__PURE__ */ N(s), c = o.call(i, s));
752
+ c ? process.env.NODE_ENV !== "production" && fs(i, o, s) : (s = /* @__PURE__ */ N(s), c = o.call(i, s));
753
753
  const p = a ? a.call(i, s) : void 0, d = i.delete(s);
754
754
  return c && Ve(i, "delete", s, void 0, p), d;
755
755
  },
@@ -770,33 +770,33 @@ function Mo(t, e) {
770
770
  "entries",
771
771
  Symbol.iterator
772
772
  ].forEach((s) => {
773
- n[s] = Co(s, t, e);
773
+ n[s] = $o(s, t, e);
774
774
  }), n;
775
775
  }
776
- function Ws(t, e) {
777
- const n = Mo(t, e);
776
+ function qs(t, e) {
777
+ const n = Po(t, e);
778
778
  return (r, s, i) => s === "__v_isReactive" ? !t : s === "__v_isReadonly" ? t : s === "__v_raw" ? r : Reflect.get(
779
779
  rr(n, s) && s in r ? n : r,
780
780
  s,
781
781
  i
782
782
  );
783
783
  }
784
- const Po = {
785
- get: /* @__PURE__ */ Ws(!1, !1)
786
- }, $o = {
787
- get: /* @__PURE__ */ Ws(!0, !1)
784
+ const Lo = {
785
+ get: /* @__PURE__ */ qs(!1, !1)
786
+ }, zo = {
787
+ get: /* @__PURE__ */ qs(!0, !1)
788
788
  };
789
- function cs(t, e, n) {
789
+ function fs(t, e, n) {
790
790
  const r = /* @__PURE__ */ N(n);
791
791
  if (r !== n && e.call(t, r)) {
792
- const s = Ds(t);
792
+ const s = Ms(t);
793
793
  ve(
794
794
  `Reactive ${s} contains both the raw and reactive versions of the same object${s === "Map" ? " as keys" : ""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`
795
795
  );
796
796
  }
797
797
  }
798
- const Gs = /* @__PURE__ */ new WeakMap(), Lo = /* @__PURE__ */ new WeakMap(), qs = /* @__PURE__ */ new WeakMap(), zo = /* @__PURE__ */ new WeakMap();
799
- function jo(t) {
798
+ const Ks = /* @__PURE__ */ new WeakMap(), jo = /* @__PURE__ */ new WeakMap(), Ys = /* @__PURE__ */ new WeakMap(), Fo = /* @__PURE__ */ new WeakMap();
799
+ function Vo(t) {
800
800
  switch (t) {
801
801
  case "Object":
802
802
  case "Array":
@@ -812,25 +812,25 @@ function jo(t) {
812
812
  }
813
813
  // @__NO_SIDE_EFFECTS__
814
814
  function En(t) {
815
- return /* @__PURE__ */ Ae(t) ? t : Ks(
815
+ return /* @__PURE__ */ Ae(t) ? t : Zs(
816
816
  t,
817
817
  !1,
818
- Io,
819
- Po,
820
- Gs
818
+ Co,
819
+ Lo,
820
+ Ks
821
821
  );
822
822
  }
823
823
  // @__NO_SIDE_EFFECTS__
824
824
  function cn(t) {
825
- return Ks(
825
+ return Zs(
826
826
  t,
827
827
  !0,
828
- Do,
829
- $o,
830
- qs
828
+ Mo,
829
+ zo,
830
+ Ys
831
831
  );
832
832
  }
833
- function Ks(t, e, n, r, s) {
833
+ function Zs(t, e, n, r, s) {
834
834
  if (!le(t))
835
835
  return process.env.NODE_ENV !== "production" && ve(
836
836
  `value cannot be made ${e ? "readonly" : "reactive"}: ${String(
@@ -842,7 +842,7 @@ function Ks(t, e, n, r, s) {
842
842
  const i = s.get(t);
843
843
  if (i)
844
844
  return i;
845
- const o = jo(Ds(t));
845
+ const o = Vo(Ms(t));
846
846
  if (o === 0)
847
847
  return t;
848
848
  const a = new Proxy(
@@ -874,17 +874,17 @@ function N(t) {
874
874
  }
875
875
  const Ce = (t) => le(t) ? /* @__PURE__ */ En(t) : t, jt = (t) => le(t) ? /* @__PURE__ */ cn(t) : t;
876
876
  // @__NO_SIDE_EFFECTS__
877
- function ee(t) {
877
+ function te(t) {
878
878
  return t ? t.__v_isRef === !0 : !1;
879
879
  }
880
880
  // @__NO_SIDE_EFFECTS__
881
881
  function lr(t) {
882
- return Fo(t, !1);
882
+ return Ho(t, !1);
883
883
  }
884
- function Fo(t, e) {
885
- return /* @__PURE__ */ ee(t) ? t : new Vo(t, e);
884
+ function Ho(t, e) {
885
+ return /* @__PURE__ */ te(t) ? t : new Uo(t, e);
886
886
  }
887
- class Vo {
887
+ class Uo {
888
888
  constructor(e, n) {
889
889
  this.dep = new wr(), this.__v_isRef = !0, this.__v_isShallow = !1, this._rawValue = n ? e : /* @__PURE__ */ N(e), this._value = n ? e : Ce(e), this.__v_isShallow = n;
890
890
  }
@@ -906,17 +906,17 @@ class Vo {
906
906
  }) : this.dep.trigger());
907
907
  }
908
908
  }
909
- function Ys(t) {
910
- return /* @__PURE__ */ ee(t) ? t.value : t;
909
+ function Xs(t) {
910
+ return /* @__PURE__ */ te(t) ? t.value : t;
911
911
  }
912
912
  function ce(t) {
913
- return Z(t) ? t() : Ys(t);
913
+ return X(t) ? t() : Xs(t);
914
914
  }
915
- class Ho {
915
+ class Bo {
916
916
  constructor(e, n, r) {
917
917
  this._object = e, this._defaultValue = r, this.__v_isRef = !0, this._value = void 0, this._key = Ze(n) ? n : String(n), this._raw = /* @__PURE__ */ N(e);
918
918
  let s = !0, i = e;
919
- if (!W(e) || Ze(this._key) || !yn(this._key))
919
+ if (!G(e) || Ze(this._key) || !yn(this._key))
920
920
  do
921
921
  s = !/* @__PURE__ */ zt(i) || /* @__PURE__ */ ae(i);
922
922
  while (s && (i = i.__v_raw));
@@ -924,12 +924,12 @@ class Ho {
924
924
  }
925
925
  get value() {
926
926
  let e = this._object[this._key];
927
- return this._shallow && (e = Ys(e)), this._value = e === void 0 ? this._defaultValue : e;
927
+ return this._shallow && (e = Xs(e)), this._value = e === void 0 ? this._defaultValue : e;
928
928
  }
929
929
  set value(e) {
930
- if (this._shallow && /* @__PURE__ */ ee(this._raw[this._key])) {
930
+ if (this._shallow && /* @__PURE__ */ te(this._raw[this._key])) {
931
931
  const n = this._object[this._key];
932
- if (/* @__PURE__ */ ee(n)) {
932
+ if (/* @__PURE__ */ te(n)) {
933
933
  n.value = e;
934
934
  return;
935
935
  }
@@ -937,10 +937,10 @@ class Ho {
937
937
  this._object[this._key] = e;
938
938
  }
939
939
  get dep() {
940
- return ko(this._raw, this._key);
940
+ return vo(this._raw, this._key);
941
941
  }
942
942
  }
943
- class Uo {
943
+ class Wo {
944
944
  constructor(e) {
945
945
  this._getter = e, this.__v_isRef = !0, this.__v_isReadonly = !0, this._value = void 0;
946
946
  }
@@ -949,15 +949,15 @@ class Uo {
949
949
  }
950
950
  }
951
951
  // @__NO_SIDE_EFFECTS__
952
- function Bo(t, e, n) {
953
- return /* @__PURE__ */ ee(t) ? t : Z(t) ? new Uo(t) : le(t) && arguments.length > 1 ? Wo(t, e, n) : /* @__PURE__ */ lr(t);
952
+ function Go(t, e, n) {
953
+ return /* @__PURE__ */ te(t) ? t : X(t) ? new Wo(t) : le(t) && arguments.length > 1 ? qo(t, e, n) : /* @__PURE__ */ lr(t);
954
954
  }
955
- function Wo(t, e, n) {
956
- return new Ho(t, e, n);
955
+ function qo(t, e, n) {
956
+ return new Bo(t, e, n);
957
957
  }
958
- class Go {
958
+ class Ko {
959
959
  constructor(e, n, r) {
960
- this.fn = e, this.setter = n, this._value = void 0, this.dep = new wr(this), this.__v_isRef = !0, this.deps = void 0, this.depsTail = void 0, this.flags = 16, this.globalVersion = $t - 1, this.next = void 0, this.effect = this, this.__v_isReadonly = !n, this.isSSR = r;
960
+ this.fn = e, this.setter = n, this._value = void 0, this.dep = new wr(this), this.__v_isRef = !0, this.deps = void 0, this.depsTail = void 0, this.flags = 16, this.globalVersion = Pt - 1, this.next = void 0, this.effect = this, this.__v_isReadonly = !n, this.isSSR = r;
961
961
  }
962
962
  /**
963
963
  * @internal
@@ -965,7 +965,7 @@ class Go {
965
965
  notify() {
966
966
  if (this.flags |= 16, !(this.flags & 8) && // avoid infinite self recursion
967
967
  M !== this)
968
- return Ls(this, !0), !0;
968
+ return js(this, !0), !0;
969
969
  process.env.NODE_ENV;
970
970
  }
971
971
  get value() {
@@ -974,22 +974,22 @@ class Go {
974
974
  type: "get",
975
975
  key: "value"
976
976
  }) : this.dep.track();
977
- return Fs(this), e && (e.version = this.dep.version), this._value;
977
+ return Hs(this), e && (e.version = this.dep.version), this._value;
978
978
  }
979
979
  set value(e) {
980
980
  this.setter ? this.setter(e) : process.env.NODE_ENV !== "production" && ve("Write operation failed: computed value is readonly");
981
981
  }
982
982
  }
983
983
  // @__NO_SIDE_EFFECTS__
984
- function qo(t, e, n = !1) {
984
+ function Yo(t, e, n = !1) {
985
985
  let r, s;
986
- Z(t) ? r = t : (r = t.get, s = t.set);
987
- const i = new Go(r, s, n);
986
+ X(t) ? r = t : (r = t.get, s = t.set);
987
+ const i = new Ko(r, s, n);
988
988
  return process.env.NODE_ENV, i;
989
989
  }
990
990
  const tn = {}, un = /* @__PURE__ */ new WeakMap();
991
991
  let qe;
992
- function Ko(t, e = !1, n = qe) {
992
+ function Zo(t, e = !1, n = qe) {
993
993
  if (n) {
994
994
  let r = un.get(n);
995
995
  r || un.set(n, r = []), r.push(t);
@@ -997,7 +997,7 @@ function Ko(t, e = !1, n = qe) {
997
997
  "onWatcherCleanup() was called when there was no active watcher to associate with."
998
998
  );
999
999
  }
1000
- function Yo(t, e, n = Pt) {
1000
+ function Xo(t, e, n = $t) {
1001
1001
  const { immediate: r, deep: s, once: i, scheduler: o, augmentJob: a, call: c } = n, p = (w) => {
1002
1002
  (n.onWarn || ve)(
1003
1003
  "Invalid watch source: ",
@@ -1005,16 +1005,16 @@ function Yo(t, e, n = Pt) {
1005
1005
  "A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types."
1006
1006
  );
1007
1007
  }, d = (w) => s ? w : /* @__PURE__ */ ae(w) || s === !1 || s === 0 ? He(w, 1) : He(w);
1008
- let u, h, g, m, b = !1, x = !1;
1009
- if (/* @__PURE__ */ ee(t) ? (h = () => t.value, b = /* @__PURE__ */ ae(t)) : /* @__PURE__ */ ft(t) ? (h = () => d(t), b = !0) : W(t) ? (x = !0, b = t.some((w) => /* @__PURE__ */ ft(w) || /* @__PURE__ */ ae(w)), h = () => t.map((w) => {
1010
- if (/* @__PURE__ */ ee(w))
1008
+ let u, h, g, m, y = !1, x = !1;
1009
+ if (/* @__PURE__ */ te(t) ? (h = () => t.value, y = /* @__PURE__ */ ae(t)) : /* @__PURE__ */ ft(t) ? (h = () => d(t), y = !0) : G(t) ? (x = !0, y = t.some((w) => /* @__PURE__ */ ft(w) || /* @__PURE__ */ ae(w)), h = () => t.map((w) => {
1010
+ if (/* @__PURE__ */ te(w))
1011
1011
  return w.value;
1012
1012
  if (/* @__PURE__ */ ft(w))
1013
1013
  return d(w);
1014
- if (Z(w))
1014
+ if (X(w))
1015
1015
  return c ? c(w, 2) : w();
1016
1016
  process.env.NODE_ENV !== "production" && p(w);
1017
- })) : Z(t) ? e ? h = c ? () => c(t, 2) : t : h = () => {
1017
+ })) : X(t) ? e ? h = c ? () => c(t, 2) : t : h = () => {
1018
1018
  if (g) {
1019
1019
  mt();
1020
1020
  try {
@@ -1048,7 +1048,7 @@ function Yo(t, e, n = Pt) {
1048
1048
  if (!(!(u.flags & 1) || !u.dirty && !w))
1049
1049
  if (e) {
1050
1050
  const T = u.run();
1051
- if (s || b || (x ? T.some((k, v) => Se(k, R[v])) : Se(T, R))) {
1051
+ if (s || y || (x ? T.some((k, v) => Se(k, R[v])) : Se(T, R))) {
1052
1052
  g && g();
1053
1053
  const k = qe;
1054
1054
  qe = u;
@@ -1070,7 +1070,7 @@ function Yo(t, e, n = Pt) {
1070
1070
  } else
1071
1071
  u.run();
1072
1072
  };
1073
- return a && a(S), u = new Eo(h), u.scheduler = o ? () => o(S, !1) : S, m = (w) => Ko(w, !1, u), g = u.onStop = () => {
1073
+ return a && a(S), u = new xo(h), u.scheduler = o ? () => o(S, !1) : S, m = (w) => Zo(w, !1, u), g = u.onStop = () => {
1074
1074
  const w = un.get(u);
1075
1075
  if (w) {
1076
1076
  if (c)
@@ -1084,16 +1084,16 @@ function Yo(t, e, n = Pt) {
1084
1084
  function He(t, e = 1 / 0, n) {
1085
1085
  if (e <= 0 || !le(t) || t.__v_skip || (n = n || /* @__PURE__ */ new Map(), (n.get(t) || 0) >= e))
1086
1086
  return t;
1087
- if (n.set(t, e), e--, /* @__PURE__ */ ee(t))
1087
+ if (n.set(t, e), e--, /* @__PURE__ */ te(t))
1088
1088
  He(t.value, e, n);
1089
- else if (W(t))
1089
+ else if (G(t))
1090
1090
  for (let r = 0; r < t.length; r++)
1091
1091
  He(t[r], e, n);
1092
- else if (uo(t) || ut(t))
1092
+ else if (po(t) || ut(t))
1093
1093
  t.forEach((r) => {
1094
1094
  He(r, e, n);
1095
1095
  });
1096
- else if (ho(t)) {
1096
+ else if (mo(t)) {
1097
1097
  for (const r in t)
1098
1098
  He(t[r], e, n);
1099
1099
  for (const r of Object.getOwnPropertySymbols(t))
@@ -1107,17 +1107,17 @@ function He(t, e = 1 / 0, n) {
1107
1107
  * @license MIT
1108
1108
  **/
1109
1109
  const Ye = [];
1110
- function Zo(t) {
1110
+ function Qo(t) {
1111
1111
  Ye.push(t);
1112
1112
  }
1113
- function Xo() {
1113
+ function Jo() {
1114
1114
  Ye.pop();
1115
1115
  }
1116
1116
  let Yn = !1;
1117
- function H(t, ...e) {
1117
+ function B(t, ...e) {
1118
1118
  if (Yn) return;
1119
1119
  Yn = !0, mt();
1120
- const n = Ye.length ? Ye[Ye.length - 1].component : null, r = n && n.appContext.config.warnHandler, s = Qo();
1120
+ const n = Ye.length ? Ye[Ye.length - 1].component : null, r = n && n.appContext.config.warnHandler, s = el();
1121
1121
  if (r)
1122
1122
  Tn(
1123
1123
  r,
@@ -1131,7 +1131,7 @@ function H(t, ...e) {
1131
1131
  }).join(""),
1132
1132
  n && n.proxy,
1133
1133
  s.map(
1134
- ({ vnode: i }) => `at <${di(n, i.type)}>`
1134
+ ({ vnode: i }) => `at <${gi(n, i.type)}>`
1135
1135
  ).join(`
1136
1136
  `),
1137
1137
  s
@@ -1140,11 +1140,11 @@ function H(t, ...e) {
1140
1140
  else {
1141
1141
  const i = [`[Vue warn]: ${t}`, ...e];
1142
1142
  s.length && i.push(`
1143
- `, ...Jo(s)), console.warn(...i);
1143
+ `, ...tl(s)), console.warn(...i);
1144
1144
  }
1145
1145
  _t(), Yn = !1;
1146
1146
  }
1147
- function Qo() {
1147
+ function el() {
1148
1148
  let t = Ye[Ye.length - 1];
1149
1149
  if (!t)
1150
1150
  return [];
@@ -1160,29 +1160,29 @@ function Qo() {
1160
1160
  }
1161
1161
  return e;
1162
1162
  }
1163
- function Jo(t) {
1163
+ function tl(t) {
1164
1164
  const e = [];
1165
1165
  return t.forEach((n, r) => {
1166
1166
  e.push(...r === 0 ? [] : [`
1167
- `], ...el(n));
1167
+ `], ...nl(n));
1168
1168
  }), e;
1169
1169
  }
1170
- function el({ vnode: t, recurseCount: e }) {
1171
- const n = e > 0 ? `... (${e} recursive calls)` : "", r = t.component ? t.component.parent == null : !1, s = ` at <${di(
1170
+ function nl({ vnode: t, recurseCount: e }) {
1171
+ const n = e > 0 ? `... (${e} recursive calls)` : "", r = t.component ? t.component.parent == null : !1, s = ` at <${gi(
1172
1172
  t.component,
1173
1173
  t.type,
1174
1174
  r
1175
1175
  )}`, i = ">" + n;
1176
- return t.props ? [s, ...tl(t.props), i] : [s + i];
1176
+ return t.props ? [s, ...rl(t.props), i] : [s + i];
1177
1177
  }
1178
- function tl(t) {
1178
+ function rl(t) {
1179
1179
  const e = [], n = Object.keys(t);
1180
1180
  return n.slice(0, 3).forEach((r) => {
1181
- e.push(...Zs(r, t[r]));
1181
+ e.push(...Qs(r, t[r]));
1182
1182
  }), n.length > 3 && e.push(" ..."), e;
1183
1183
  }
1184
- function Zs(t, e, n) {
1185
- return De(e) ? (e = JSON.stringify(e), n ? e : [`${t}=${e}`]) : typeof e == "number" || typeof e == "boolean" || e == null ? n ? e : [`${t}=${e}`] : /* @__PURE__ */ ee(e) ? (e = Zs(t, /* @__PURE__ */ N(e.value), !0), n ? e : [`${t}=Ref<`, e, ">"]) : Z(e) ? [`${t}=fn${e.name ? `<${e.name}>` : ""}`] : (e = /* @__PURE__ */ N(e), n ? e : [`${t}=`, e]);
1184
+ function Qs(t, e, n) {
1185
+ return De(e) ? (e = JSON.stringify(e), n ? e : [`${t}=${e}`]) : typeof e == "number" || typeof e == "boolean" || e == null ? n ? e : [`${t}=${e}`] : /* @__PURE__ */ te(e) ? (e = Qs(t, /* @__PURE__ */ N(e.value), !0), n ? e : [`${t}=Ref<`, e, ">"]) : X(e) ? [`${t}=fn${e.name ? `<${e.name}>` : ""}`] : (e = /* @__PURE__ */ N(e), n ? e : [`${t}=`, e]);
1186
1186
  }
1187
1187
  const Tr = {
1188
1188
  sp: "serverPrefetch hook",
@@ -1225,23 +1225,23 @@ function Tn(t, e, n, r) {
1225
1225
  }
1226
1226
  }
1227
1227
  function xr(t, e, n, r) {
1228
- if (Z(t)) {
1228
+ if (X(t)) {
1229
1229
  const s = Tn(t, e, n, r);
1230
- return s && fo(s) && s.catch((i) => {
1230
+ return s && ho(s) && s.catch((i) => {
1231
1231
  kr(i, e, n);
1232
1232
  }), s;
1233
1233
  }
1234
- if (W(t)) {
1234
+ if (G(t)) {
1235
1235
  const s = [];
1236
1236
  for (let i = 0; i < t.length; i++)
1237
1237
  s.push(xr(t[i], e, n, r));
1238
1238
  return s;
1239
- } else process.env.NODE_ENV !== "production" && H(
1239
+ } else process.env.NODE_ENV !== "production" && B(
1240
1240
  `Invalid value type passed to callWithAsyncErrorHandling(): ${typeof t}`
1241
1241
  );
1242
1242
  }
1243
1243
  function kr(t, e, n, r = !0) {
1244
- const s = e ? e.vnode : null, { errorHandler: i, throwUnhandledErrorInProduction: o } = e && e.appContext.config || Pt;
1244
+ const s = e ? e.vnode : null, { errorHandler: i, throwUnhandledErrorInProduction: o } = e && e.appContext.config || $t;
1245
1245
  if (e) {
1246
1246
  let a = e.parent;
1247
1247
  const c = e.proxy, p = process.env.NODE_ENV !== "production" ? Tr[n] : `https://vuejs.org/error-reference/#runtime-${n}`;
@@ -1263,12 +1263,12 @@ function kr(t, e, n, r = !0) {
1263
1263
  return;
1264
1264
  }
1265
1265
  }
1266
- nl(t, n, s, r, o);
1266
+ sl(t, n, s, r, o);
1267
1267
  }
1268
- function nl(t, e, n, r = !0, s = !1) {
1268
+ function sl(t, e, n, r = !0, s = !1) {
1269
1269
  if (process.env.NODE_ENV !== "production") {
1270
1270
  const i = Tr[e];
1271
- if (n && Zo(n), H(`Unhandled error${i ? ` during execution of ${i}` : ""}`), n && Xo(), r)
1271
+ if (n && Qo(n), B(`Unhandled error${i ? ` during execution of ${i}` : ""}`), n && Jo(), r)
1272
1272
  throw t;
1273
1273
  console.error(t);
1274
1274
  } else {
@@ -1281,10 +1281,10 @@ const he = [];
1281
1281
  let Ne = -1;
1282
1282
  const pt = [];
1283
1283
  let Fe = null, ot = 0;
1284
- const rl = /* @__PURE__ */ Promise.resolve();
1284
+ const il = /* @__PURE__ */ Promise.resolve();
1285
1285
  let ar = null;
1286
- const sl = 100;
1287
- function il(t) {
1286
+ const ol = 100;
1287
+ function ll(t) {
1288
1288
  let e = Ne + 1, n = he.length;
1289
1289
  for (; e < n; ) {
1290
1290
  const r = e + n >>> 1, s = he[r], i = Ft(s);
@@ -1292,20 +1292,20 @@ function il(t) {
1292
1292
  }
1293
1293
  return e;
1294
1294
  }
1295
- function Xs(t) {
1295
+ function Js(t) {
1296
1296
  if (!(t.flags & 1)) {
1297
1297
  const e = Ft(t), n = he[he.length - 1];
1298
1298
  !n || // fast path when the job id is larger than the tail
1299
- !(t.flags & 2) && e >= Ft(n) ? he.push(t) : he.splice(il(e), 0, t), t.flags |= 1, Qs();
1299
+ !(t.flags & 2) && e >= Ft(n) ? he.push(t) : he.splice(ll(e), 0, t), t.flags |= 1, ei();
1300
1300
  }
1301
1301
  }
1302
- function Qs() {
1303
- ar || (ar = rl.then(ei));
1302
+ function ei() {
1303
+ ar || (ar = il.then(ni));
1304
1304
  }
1305
- function Js(t) {
1306
- W(t) ? pt.push(...t) : Fe && t.id === -1 ? Fe.splice(ot + 1, 0, t) : t.flags & 1 || (pt.push(t), t.flags |= 1), Qs();
1305
+ function ti(t) {
1306
+ G(t) ? pt.push(...t) : Fe && t.id === -1 ? Fe.splice(ot + 1, 0, t) : t.flags & 1 || (pt.push(t), t.flags |= 1), ei();
1307
1307
  }
1308
- function ol(t) {
1308
+ function al(t) {
1309
1309
  if (pt.length) {
1310
1310
  const e = [...new Set(pt)].sort(
1311
1311
  (n, r) => Ft(n) - Ft(r)
@@ -1316,15 +1316,15 @@ function ol(t) {
1316
1316
  }
1317
1317
  for (Fe = e, process.env.NODE_ENV !== "production" && (t = t || /* @__PURE__ */ new Map()), ot = 0; ot < Fe.length; ot++) {
1318
1318
  const n = Fe[ot];
1319
- process.env.NODE_ENV !== "production" && ti(t, n) || (n.flags & 4 && (n.flags &= -2), n.flags & 8 || n(), n.flags &= -2);
1319
+ process.env.NODE_ENV !== "production" && ri(t, n) || (n.flags & 4 && (n.flags &= -2), n.flags & 8 || n(), n.flags &= -2);
1320
1320
  }
1321
1321
  Fe = null, ot = 0;
1322
1322
  }
1323
1323
  }
1324
1324
  const Ft = (t) => t.id == null ? t.flags & 2 ? -1 : 1 / 0 : t.id;
1325
- function ei(t) {
1325
+ function ni(t) {
1326
1326
  process.env.NODE_ENV !== "production" && (t = t || /* @__PURE__ */ new Map());
1327
- const e = process.env.NODE_ENV !== "production" ? (n) => ti(t, n) : ct;
1327
+ const e = process.env.NODE_ENV !== "production" ? (n) => ri(t, n) : ct;
1328
1328
  try {
1329
1329
  for (Ne = 0; Ne < he.length; Ne++) {
1330
1330
  const n = he[Ne];
@@ -1343,13 +1343,13 @@ function ei(t) {
1343
1343
  const n = he[Ne];
1344
1344
  n && (n.flags &= -2);
1345
1345
  }
1346
- Ne = -1, he.length = 0, ol(t), ar = null, (he.length || pt.length) && ei(t);
1346
+ Ne = -1, he.length = 0, al(t), ar = null, (he.length || pt.length) && ni(t);
1347
1347
  }
1348
1348
  }
1349
- function ti(t, e) {
1349
+ function ri(t, e) {
1350
1350
  const n = t.get(e) || 0;
1351
- if (n > sl) {
1352
- const r = e.i, s = r && pi(r.type);
1351
+ if (n > ol) {
1352
+ const r = e.i, s = r && hi(r.type);
1353
1353
  return kr(
1354
1354
  `Maximum recursive updates exceeded${s ? ` in component <${s}>` : ""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,
1355
1355
  null,
@@ -1360,45 +1360,45 @@ function ti(t, e) {
1360
1360
  }
1361
1361
  const Zn = /* @__PURE__ */ new Map();
1362
1362
  process.env.NODE_ENV !== "production" && (wn().__VUE_HMR_RUNTIME__ = {
1363
- createRecord: Xn(ll),
1364
- rerender: Xn(al),
1365
- reload: Xn(cl)
1363
+ createRecord: Xn(cl),
1364
+ rerender: Xn(ul),
1365
+ reload: Xn(fl)
1366
1366
  });
1367
1367
  const fn = /* @__PURE__ */ new Map();
1368
- function ll(t, e) {
1368
+ function cl(t, e) {
1369
1369
  return fn.has(t) ? !1 : (fn.set(t, {
1370
1370
  initialDef: pn(e),
1371
1371
  instances: /* @__PURE__ */ new Set()
1372
1372
  }), !0);
1373
1373
  }
1374
1374
  function pn(t) {
1375
- return hi(t) ? t.__vccOpts : t;
1375
+ return mi(t) ? t.__vccOpts : t;
1376
1376
  }
1377
- function al(t, e) {
1377
+ function ul(t, e) {
1378
1378
  const n = fn.get(t);
1379
1379
  n && (n.initialDef.render = e, [...n.instances].forEach((r) => {
1380
1380
  e && (r.render = e, pn(r.type).render = e), r.renderCache = [], r.job.flags & 8 || r.update();
1381
1381
  }));
1382
1382
  }
1383
- function cl(t, e) {
1383
+ function fl(t, e) {
1384
1384
  const n = fn.get(t);
1385
1385
  if (!n) return;
1386
- e = pn(e), us(n.initialDef, e);
1386
+ e = pn(e), ps(n.initialDef, e);
1387
1387
  const r = [...n.instances];
1388
1388
  for (let s = 0; s < r.length; s++) {
1389
1389
  const i = r[s], o = pn(i.type);
1390
1390
  let a = Zn.get(o);
1391
- a || (o !== n.initialDef && us(o, e), Zn.set(o, a = /* @__PURE__ */ new Set())), a.add(i), i.appContext.propsCache.delete(i.type), i.appContext.emitsCache.delete(i.type), i.appContext.optionsCache.delete(i.type), i.ceReload ? (a.add(i), i.ceReload(e.styles), a.delete(i)) : i.parent ? Xs(() => {
1391
+ a || (o !== n.initialDef && ps(o, e), Zn.set(o, a = /* @__PURE__ */ new Set())), a.add(i), i.appContext.propsCache.delete(i.type), i.appContext.emitsCache.delete(i.type), i.appContext.optionsCache.delete(i.type), i.ceReload ? (a.add(i), i.ceReload(e.styles), a.delete(i)) : i.parent ? Js(() => {
1392
1392
  i.job.flags & 8 || (i.parent.update(), a.delete(i));
1393
1393
  }) : i.appContext.reload ? i.appContext.reload() : typeof window < "u" ? window.location.reload() : console.warn(
1394
1394
  "[HMR] Root or manually mounted instance modified. Full reload required."
1395
1395
  ), i.root.ce && i !== i.root && i.root.ce._removeChildStyle(o);
1396
1396
  }
1397
- Js(() => {
1397
+ ti(() => {
1398
1398
  Zn.clear();
1399
1399
  });
1400
1400
  }
1401
- function us(t, e) {
1401
+ function ps(t, e) {
1402
1402
  Ie(t, e);
1403
1403
  for (const n in t)
1404
1404
  n !== "__file" && !(n in e) && delete t[n];
@@ -1415,68 +1415,68 @@ function Xn(t) {
1415
1415
  };
1416
1416
  }
1417
1417
  let lt, nn = [];
1418
- function ni(t, e) {
1418
+ function si(t, e) {
1419
1419
  var n, r;
1420
1420
  lt = t, lt ? (lt.enabled = !0, nn.forEach(({ event: s, args: i }) => lt.emit(s, ...i)), nn = []) : /* handle late devtools injection - only do this if we are in an actual */ /* browser environment to avoid the timer handle stalling test runner exit */ /* (#4815) */ typeof window < "u" && // some envs mock window but not fully
1421
1421
  window.HTMLElement && // also exclude jsdom
1422
1422
  // eslint-disable-next-line no-restricted-syntax
1423
1423
  !((r = (n = window.navigator) == null ? void 0 : n.userAgent) != null && r.includes("jsdom")) ? ((e.__VUE_DEVTOOLS_HOOK_REPLAY__ = e.__VUE_DEVTOOLS_HOOK_REPLAY__ || []).push((i) => {
1424
- ni(i, e);
1424
+ si(i, e);
1425
1425
  }), setTimeout(() => {
1426
1426
  lt || (e.__VUE_DEVTOOLS_HOOK_REPLAY__ = null, nn = []);
1427
1427
  }, 3e3)) : nn = [];
1428
1428
  }
1429
- let Vt = null, ul = null;
1430
- function ri(t, e) {
1431
- if (process.env.NODE_ENV !== "production" && (!ue || ue.isMounted) && H("provide() can only be used inside setup()."), ue) {
1429
+ let Vt = null, pl = null;
1430
+ function ii(t, e) {
1431
+ if (process.env.NODE_ENV !== "production" && (!ue || ue.isMounted) && B("provide() can only be used inside setup()."), ue) {
1432
1432
  let n = ue.provides;
1433
1433
  const r = ue.parent && ue.parent.provides;
1434
1434
  r === n && (n = ue.provides = Object.create(r)), n[t] = e;
1435
1435
  }
1436
1436
  }
1437
- function si(t, e, n = !1) {
1437
+ function oi(t, e, n = !1) {
1438
1438
  const r = bt();
1439
- if (r || oi) {
1439
+ if (r || ai) {
1440
1440
  let s = r ? r.parent == null || r.ce ? r.vnode.appContext && r.vnode.appContext.provides : r.parent.provides : void 0;
1441
1441
  if (s && t in s)
1442
1442
  return s[t];
1443
1443
  if (arguments.length > 1)
1444
- return n && Z(e) ? e.call(r && r.proxy) : e;
1445
- process.env.NODE_ENV !== "production" && H(`injection "${String(t)}" not found.`);
1446
- } else process.env.NODE_ENV !== "production" && H("inject() can only be used inside setup() or functional components.");
1444
+ return n && X(e) ? e.call(r && r.proxy) : e;
1445
+ process.env.NODE_ENV !== "production" && B(`injection "${String(t)}" not found.`);
1446
+ } else process.env.NODE_ENV !== "production" && B("inject() can only be used inside setup() or functional components.");
1447
1447
  }
1448
- function fl() {
1449
- return !!(bt() || oi);
1448
+ function dl() {
1449
+ return !!(bt() || ai);
1450
1450
  }
1451
- const pl = /* @__PURE__ */ Symbol.for("v-scx"), dl = () => {
1451
+ const hl = /* @__PURE__ */ Symbol.for("v-scx"), gl = () => {
1452
1452
  {
1453
- const t = si(pl);
1454
- return t || process.env.NODE_ENV !== "production" && H(
1453
+ const t = oi(hl);
1454
+ return t || process.env.NODE_ENV !== "production" && B(
1455
1455
  "Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."
1456
1456
  ), t;
1457
1457
  }
1458
1458
  };
1459
1459
  function dn(t, e, n) {
1460
- return process.env.NODE_ENV !== "production" && !Z(e) && H(
1460
+ return process.env.NODE_ENV !== "production" && !X(e) && B(
1461
1461
  "`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."
1462
- ), hl(t, e, n);
1462
+ ), ml(t, e, n);
1463
1463
  }
1464
- function hl(t, e, n = Pt) {
1464
+ function ml(t, e, n = $t) {
1465
1465
  const { immediate: r, deep: s, flush: i, once: o } = n;
1466
- process.env.NODE_ENV !== "production" && !e && (r !== void 0 && H(
1466
+ process.env.NODE_ENV !== "production" && !e && (r !== void 0 && B(
1467
1467
  'watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'
1468
- ), s !== void 0 && H(
1468
+ ), s !== void 0 && B(
1469
1469
  'watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'
1470
- ), o !== void 0 && H(
1470
+ ), o !== void 0 && B(
1471
1471
  'watch() "once" option is only respected when using the watch(source, callback, options?) signature.'
1472
1472
  ));
1473
1473
  const a = Ie({}, n);
1474
- process.env.NODE_ENV !== "production" && (a.onWarn = H);
1474
+ process.env.NODE_ENV !== "production" && (a.onWarn = B);
1475
1475
  const c = e && r || !e && i !== "post";
1476
1476
  let p;
1477
1477
  if (Ht) {
1478
1478
  if (i === "sync") {
1479
- const g = dl();
1479
+ const g = gl();
1480
1480
  p = g.__watcherHandles || (g.__watcherHandles = []);
1481
1481
  } else if (!c) {
1482
1482
  const g = () => {
@@ -1485,79 +1485,79 @@ function hl(t, e, n = Pt) {
1485
1485
  }
1486
1486
  }
1487
1487
  const d = ue;
1488
- a.call = (g, m, b) => xr(g, d, m, b);
1488
+ a.call = (g, m, y) => xr(g, d, m, y);
1489
1489
  let u = !1;
1490
1490
  i === "post" ? a.scheduler = (g) => {
1491
- kl(g, d && d.suspense);
1491
+ vl(g, d && d.suspense);
1492
1492
  } : i !== "sync" && (u = !0, a.scheduler = (g, m) => {
1493
- m ? g() : Xs(g);
1493
+ m ? g() : Js(g);
1494
1494
  }), a.augmentJob = (g) => {
1495
1495
  e && (g.flags |= 4), u && (g.flags |= 2, d && (g.id = d.uid, g.i = d));
1496
1496
  };
1497
- const h = Yo(t, e, a);
1497
+ const h = Xo(t, e, a);
1498
1498
  return Ht && (p ? p.push(h) : c && h()), h;
1499
1499
  }
1500
- const gl = (t) => t.__isTeleport;
1501
- function ii(t, e) {
1502
- t.shapeFlag & 6 && t.component ? (t.transition = e, ii(t.component.subTree, e)) : t.shapeFlag & 128 ? (t.ssContent.transition = e.clone(t.ssContent), t.ssFallback.transition = e.clone(t.ssFallback)) : t.transition = e;
1500
+ const _l = (t) => t.__isTeleport;
1501
+ function li(t, e) {
1502
+ t.shapeFlag & 6 && t.component ? (t.transition = e, li(t.component.subTree, e)) : t.shapeFlag & 128 ? (t.ssContent.transition = e.clone(t.ssContent), t.ssFallback.transition = e.clone(t.ssFallback)) : t.transition = e;
1503
1503
  }
1504
1504
  wn().requestIdleCallback;
1505
1505
  wn().cancelIdleCallback;
1506
- function ml(t, e, n = ue, r = !1) {
1506
+ function bl(t, e, n = ue, r = !1) {
1507
1507
  if (n) {
1508
1508
  const s = n[t] || (n[t] = []), i = e.__weh || (e.__weh = (...o) => {
1509
1509
  mt();
1510
- const a = $l(n), c = xr(e, n, t, o);
1510
+ const a = zl(n), c = xr(e, n, t, o);
1511
1511
  return a(), _t(), c;
1512
1512
  });
1513
1513
  return r ? s.unshift(i) : s.push(i), i;
1514
1514
  } else if (process.env.NODE_ENV !== "production") {
1515
- const s = go(Tr[t].replace(/ hook$/, ""));
1516
- H(
1515
+ const s = _o(Tr[t].replace(/ hook$/, ""));
1516
+ B(
1517
1517
  `${s} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`
1518
1518
  );
1519
1519
  }
1520
1520
  }
1521
- const _l = (t) => (e, n = ue) => {
1522
- (!Ht || t === "sp") && ml(t, (...r) => e(...r), n);
1523
- }, bl = _l(
1521
+ const yl = (t) => (e, n = ue) => {
1522
+ (!Ht || t === "sp") && bl(t, (...r) => e(...r), n);
1523
+ }, wl = yl(
1524
1524
  "bum"
1525
- ), yl = /* @__PURE__ */ Symbol.for("v-ndc"), wl = {};
1526
- process.env.NODE_ENV !== "production" && (wl.ownKeys = (t) => (H(
1525
+ ), El = /* @__PURE__ */ Symbol.for("v-ndc"), Tl = {};
1526
+ process.env.NODE_ENV !== "production" && (Tl.ownKeys = (t) => (B(
1527
1527
  "Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."
1528
1528
  ), Reflect.ownKeys(t)));
1529
- function El() {
1530
- return Tl("useSlots").slots;
1529
+ function xl() {
1530
+ return kl("useSlots").slots;
1531
1531
  }
1532
- function Tl(t) {
1532
+ function kl(t) {
1533
1533
  const e = bt();
1534
- return process.env.NODE_ENV !== "production" && !e && H(`${t}() called without active instance.`), e.setupContext || (e.setupContext = zl(e));
1534
+ return process.env.NODE_ENV !== "production" && !e && B(`${t}() called without active instance.`), e.setupContext || (e.setupContext = Fl(e));
1535
1535
  }
1536
- let oi = null;
1537
- const xl = {}, li = (t) => Object.getPrototypeOf(t) === xl, kl = vl, Sl = (t) => t.__isSuspense;
1538
- function vl(t, e) {
1539
- e && e.pendingBranch ? W(t) ? e.effects.push(...t) : e.effects.push(t) : Js(t);
1536
+ let ai = null;
1537
+ const Sl = {}, ci = (t) => Object.getPrototypeOf(t) === Sl, vl = Rl, Al = (t) => t.__isSuspense;
1538
+ function Rl(t, e) {
1539
+ e && e.pendingBranch ? G(t) ? e.effects.push(...t) : e.effects.push(t) : ti(t);
1540
1540
  }
1541
- const ai = /* @__PURE__ */ Symbol.for("v-fgt"), Al = /* @__PURE__ */ Symbol.for("v-txt"), Rl = /* @__PURE__ */ Symbol.for("v-cmt");
1542
- function Ol(t) {
1541
+ const ui = /* @__PURE__ */ Symbol.for("v-fgt"), Ol = /* @__PURE__ */ Symbol.for("v-txt"), Nl = /* @__PURE__ */ Symbol.for("v-cmt");
1542
+ function Il(t) {
1543
1543
  return t ? t.__v_isVNode === !0 : !1;
1544
1544
  }
1545
- const Nl = (...t) => ui(
1545
+ const Dl = (...t) => pi(
1546
1546
  ...t
1547
- ), ci = ({ key: t }) => t ?? null, ln = ({
1547
+ ), fi = ({ key: t }) => t ?? null, ln = ({
1548
1548
  ref: t,
1549
1549
  ref_key: e,
1550
1550
  ref_for: n
1551
- }) => (typeof t == "number" && (t = "" + t), t != null ? De(t) || /* @__PURE__ */ ee(t) || Z(t) ? { i: Vt, r: t, k: e, f: !!n } : t : null);
1552
- function Il(t, e = null, n = null, r = 0, s = null, i = t === ai ? 0 : 1, o = !1, a = !1) {
1551
+ }) => (typeof t == "number" && (t = "" + t), t != null ? De(t) || /* @__PURE__ */ te(t) || X(t) ? { i: Vt, r: t, k: e, f: !!n } : t : null);
1552
+ function Cl(t, e = null, n = null, r = 0, s = null, i = t === ui ? 0 : 1, o = !1, a = !1) {
1553
1553
  const c = {
1554
1554
  __v_isVNode: !0,
1555
1555
  __v_skip: !0,
1556
1556
  type: t,
1557
1557
  props: e,
1558
- key: e && ci(e),
1558
+ key: e && fi(e),
1559
1559
  ref: e && ln(e),
1560
- scopeId: ul,
1560
+ scopeId: pl,
1561
1561
  slotScopeIds: null,
1562
1562
  children: n,
1563
1563
  component: null,
@@ -1579,11 +1579,11 @@ function Il(t, e = null, n = null, r = 0, s = null, i = t === ai ? 0 : 1, o = !1
1579
1579
  appContext: null,
1580
1580
  ctx: Vt
1581
1581
  };
1582
- return a ? (Sr(c, n), i & 128 && t.normalize(c)) : n && (c.shapeFlag |= De(n) ? 8 : 16), process.env.NODE_ENV !== "production" && c.key !== c.key && H("VNode created with invalid key (NaN). VNode type:", c.type), c;
1582
+ return a ? (Sr(c, n), i & 128 && t.normalize(c)) : n && (c.shapeFlag |= De(n) ? 8 : 16), process.env.NODE_ENV !== "production" && c.key !== c.key && B("VNode created with invalid key (NaN). VNode type:", c.type), c;
1583
1583
  }
1584
- const Dl = process.env.NODE_ENV !== "production" ? Nl : ui;
1585
- function ui(t, e = null, n = null, r = 0, s = null, i = !1) {
1586
- if ((!t || t === yl) && (process.env.NODE_ENV !== "production" && !t && H(`Invalid vnode type when creating vnode: ${t}.`), t = Rl), Ol(t)) {
1584
+ const Ml = process.env.NODE_ENV !== "production" ? Dl : pi;
1585
+ function pi(t, e = null, n = null, r = 0, s = null, i = !1) {
1586
+ if ((!t || t === El) && (process.env.NODE_ENV !== "production" && !t && B(`Invalid vnode type when creating vnode: ${t}.`), t = Nl), Il(t)) {
1587
1587
  const a = hn(
1588
1588
  t,
1589
1589
  e,
@@ -1592,18 +1592,18 @@ function ui(t, e = null, n = null, r = 0, s = null, i = !1) {
1592
1592
  );
1593
1593
  return n && Sr(a, n), a.patchFlag = -2, a;
1594
1594
  }
1595
- if (hi(t) && (t = t.__vccOpts), e) {
1596
- e = Cl(e);
1595
+ if (mi(t) && (t = t.__vccOpts), e) {
1596
+ e = $l(e);
1597
1597
  let { class: a, style: c } = e;
1598
- a && !De(a) && (e.class = mr(a)), le(c) && (/* @__PURE__ */ zt(c) && !W(c) && (c = Ie({}, c)), e.style = gr(c));
1598
+ a && !De(a) && (e.class = mr(a)), le(c) && (/* @__PURE__ */ zt(c) && !G(c) && (c = Ie({}, c)), e.style = gr(c));
1599
1599
  }
1600
- const o = De(t) ? 1 : Sl(t) ? 128 : gl(t) ? 64 : le(t) ? 4 : Z(t) ? 2 : 0;
1601
- return process.env.NODE_ENV !== "production" && o & 4 && /* @__PURE__ */ zt(t) && (t = /* @__PURE__ */ N(t), H(
1600
+ const o = De(t) ? 1 : Al(t) ? 128 : _l(t) ? 64 : le(t) ? 4 : X(t) ? 2 : 0;
1601
+ return process.env.NODE_ENV !== "production" && o & 4 && /* @__PURE__ */ zt(t) && (t = /* @__PURE__ */ N(t), B(
1602
1602
  "Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",
1603
1603
  `
1604
1604
  Component that was made reactive: `,
1605
1605
  t
1606
- )), Il(
1606
+ )), Cl(
1607
1607
  t,
1608
1608
  e,
1609
1609
  n,
@@ -1614,25 +1614,25 @@ Component that was made reactive: `,
1614
1614
  !0
1615
1615
  );
1616
1616
  }
1617
- function Cl(t) {
1618
- return t ? /* @__PURE__ */ zt(t) || li(t) ? Ie({}, t) : t : null;
1617
+ function $l(t) {
1618
+ return t ? /* @__PURE__ */ zt(t) || ci(t) ? Ie({}, t) : t : null;
1619
1619
  }
1620
1620
  function hn(t, e, n = !1, r = !1) {
1621
- const { props: s, ref: i, patchFlag: o, children: a, transition: c } = t, p = e ? Pl(s || {}, e) : s, d = {
1621
+ const { props: s, ref: i, patchFlag: o, children: a, transition: c } = t, p = e ? Ll(s || {}, e) : s, d = {
1622
1622
  __v_isVNode: !0,
1623
1623
  __v_skip: !0,
1624
1624
  type: t.type,
1625
1625
  props: p,
1626
- key: p && ci(p),
1626
+ key: p && fi(p),
1627
1627
  ref: e && e.ref ? (
1628
1628
  // #2078 in the case of <component :is="vnode" ref="extra"/>
1629
1629
  // if the vnode itself already has a ref, cloneVNode will need to merge
1630
1630
  // the refs so the single vnode can be set on multiple refs
1631
- n && i ? W(i) ? i.concat(ln(e)) : [i, ln(e)] : ln(e)
1631
+ n && i ? G(i) ? i.concat(ln(e)) : [i, ln(e)] : ln(e)
1632
1632
  ) : i,
1633
1633
  scopeId: t.scopeId,
1634
1634
  slotScopeIds: t.slotScopeIds,
1635
- children: process.env.NODE_ENV !== "production" && o === -1 && W(a) ? a.map(fi) : a,
1635
+ children: process.env.NODE_ENV !== "production" && o === -1 && G(a) ? a.map(di) : a,
1636
1636
  target: t.target,
1637
1637
  targetStart: t.targetStart,
1638
1638
  targetAnchor: t.targetAnchor,
@@ -1642,7 +1642,7 @@ function hn(t, e, n = !1, r = !1) {
1642
1642
  // existing patch flag to be reliable and need to add the FULL_PROPS flag.
1643
1643
  // note: preserve flag for fragments since they use the flag for children
1644
1644
  // fast paths only.
1645
- patchFlag: e && t.type !== ai ? o === -1 ? 16 : o | 16 : o,
1645
+ patchFlag: e && t.type !== ui ? o === -1 ? 16 : o | 16 : o,
1646
1646
  dynamicProps: t.dynamicProps,
1647
1647
  dynamicChildren: t.dynamicChildren,
1648
1648
  appContext: t.appContext,
@@ -1662,24 +1662,24 @@ function hn(t, e, n = !1, r = !1) {
1662
1662
  ctx: t.ctx,
1663
1663
  ce: t.ce
1664
1664
  };
1665
- return c && r && ii(
1665
+ return c && r && li(
1666
1666
  d,
1667
1667
  c.clone(d)
1668
1668
  ), d;
1669
1669
  }
1670
- function fi(t) {
1670
+ function di(t) {
1671
1671
  const e = hn(t);
1672
- return W(t.children) && (e.children = t.children.map(fi)), e;
1672
+ return G(t.children) && (e.children = t.children.map(di)), e;
1673
1673
  }
1674
- function Ml(t = " ", e = 0) {
1675
- return Dl(Al, null, t, e);
1674
+ function Pl(t = " ", e = 0) {
1675
+ return Ml(Ol, null, t, e);
1676
1676
  }
1677
1677
  function Sr(t, e) {
1678
1678
  let n = 0;
1679
1679
  const { shapeFlag: r } = t;
1680
1680
  if (e == null)
1681
1681
  e = null;
1682
- else if (W(e))
1682
+ else if (G(e))
1683
1683
  n = 16;
1684
1684
  else if (typeof e == "object")
1685
1685
  if (r & 65) {
@@ -1687,11 +1687,11 @@ function Sr(t, e) {
1687
1687
  s && (s._c && (s._d = !1), Sr(t, s()), s._c && (s._d = !0));
1688
1688
  return;
1689
1689
  } else
1690
- n = 32, !e._ && !li(e) && (e._ctx = Vt);
1691
- else Z(e) ? (e = { default: e, _ctx: Vt }, n = 32) : (e = String(e), r & 64 ? (n = 16, e = [Ml(e)]) : n = 8);
1690
+ n = 32, !e._ && !ci(e) && (e._ctx = Vt);
1691
+ else X(e) ? (e = { default: e, _ctx: Vt }, n = 32) : (e = String(e), r & 64 ? (n = 16, e = [Pl(e)]) : n = 8);
1692
1692
  t.children = e, t.shapeFlag |= n;
1693
1693
  }
1694
- function Pl(...t) {
1694
+ function Ll(...t) {
1695
1695
  const e = {};
1696
1696
  for (let n = 0; n < t.length; n++) {
1697
1697
  const r = t[n];
@@ -1700,11 +1700,11 @@ function Pl(...t) {
1700
1700
  e.class !== r.class && (e.class = mr([e.class, r.class]));
1701
1701
  else if (s === "style")
1702
1702
  e.style = gr([e.style, r.style]);
1703
- else if (lo(s)) {
1703
+ else if (co(s)) {
1704
1704
  const i = e[s], o = r[s];
1705
- o && i !== o && !(W(i) && i.includes(o)) ? e[s] = i ? [].concat(i, o) : o : o == null && i == null && // mergeProps({ 'onUpdate:modelValue': undefined }) should not retain
1705
+ o && i !== o && !(G(i) && i.includes(o)) ? e[s] = i ? [].concat(i, o) : o : o == null && i == null && // mergeProps({ 'onUpdate:modelValue': undefined }) should not retain
1706
1706
  // the model listener.
1707
- !ao(s) && (e[s] = o);
1707
+ !uo(s) && (e[s] = o);
1708
1708
  } else s !== "" && (e[s] = r[s]);
1709
1709
  }
1710
1710
  return e;
@@ -1727,40 +1727,40 @@ let cr;
1727
1727
  (n) => Ht = n
1728
1728
  );
1729
1729
  }
1730
- const $l = (t) => {
1730
+ const zl = (t) => {
1731
1731
  const e = ue;
1732
1732
  return cr(t), t.scope.on(), () => {
1733
1733
  t.scope.off(), cr(e);
1734
1734
  };
1735
1735
  };
1736
1736
  let Ht = !1;
1737
- const fs = process.env.NODE_ENV !== "production" ? {
1737
+ const ds = process.env.NODE_ENV !== "production" ? {
1738
1738
  get(t, e) {
1739
- return Q(t, "get", ""), t[e];
1739
+ return J(t, "get", ""), t[e];
1740
1740
  },
1741
1741
  set() {
1742
- return H("setupContext.attrs is readonly."), !1;
1742
+ return B("setupContext.attrs is readonly."), !1;
1743
1743
  },
1744
1744
  deleteProperty() {
1745
- return H("setupContext.attrs is readonly."), !1;
1745
+ return B("setupContext.attrs is readonly."), !1;
1746
1746
  }
1747
1747
  } : {
1748
1748
  get(t, e) {
1749
- return Q(t, "get", ""), t[e];
1749
+ return J(t, "get", ""), t[e];
1750
1750
  }
1751
1751
  };
1752
- function Ll(t) {
1752
+ function jl(t) {
1753
1753
  return new Proxy(t.slots, {
1754
1754
  get(e, n) {
1755
- return Q(t, "get", "$slots"), e[n];
1755
+ return J(t, "get", "$slots"), e[n];
1756
1756
  }
1757
1757
  });
1758
1758
  }
1759
- function zl(t) {
1759
+ function Fl(t) {
1760
1760
  const e = (n) => {
1761
- if (process.env.NODE_ENV !== "production" && (t.exposed && H("expose() should be called only once per setup()."), n != null)) {
1761
+ if (process.env.NODE_ENV !== "production" && (t.exposed && B("expose() should be called only once per setup()."), n != null)) {
1762
1762
  let r = typeof n;
1763
- r === "object" && (W(n) ? r = "array" : /* @__PURE__ */ ee(n) && (r = "ref")), r !== "object" && H(
1763
+ r === "object" && (G(n) ? r = "array" : /* @__PURE__ */ te(n) && (r = "ref")), r !== "object" && B(
1764
1764
  `expose() should be passed a plain object, received ${r}.`
1765
1765
  );
1766
1766
  }
@@ -1770,10 +1770,10 @@ function zl(t) {
1770
1770
  let n, r;
1771
1771
  return Object.freeze({
1772
1772
  get attrs() {
1773
- return n || (n = new Proxy(t.attrs, fs));
1773
+ return n || (n = new Proxy(t.attrs, ds));
1774
1774
  },
1775
1775
  get slots() {
1776
- return r || (r = Ll(t));
1776
+ return r || (r = jl(t));
1777
1777
  },
1778
1778
  get emit() {
1779
1779
  return (s, ...i) => t.emit(s, ...i);
@@ -1782,18 +1782,18 @@ function zl(t) {
1782
1782
  });
1783
1783
  } else
1784
1784
  return {
1785
- attrs: new Proxy(t.attrs, fs),
1785
+ attrs: new Proxy(t.attrs, ds),
1786
1786
  slots: t.slots,
1787
1787
  emit: t.emit,
1788
1788
  expose: e
1789
1789
  };
1790
1790
  }
1791
- const jl = /(?:^|[-_])\w/g, Fl = (t) => t.replace(jl, (e) => e.toUpperCase()).replace(/[-_]/g, "");
1792
- function pi(t, e = !0) {
1793
- return Z(t) ? t.displayName || t.name : t.name || e && t.__name;
1791
+ const Vl = /(?:^|[-_])\w/g, Hl = (t) => t.replace(Vl, (e) => e.toUpperCase()).replace(/[-_]/g, "");
1792
+ function hi(t, e = !0) {
1793
+ return X(t) ? t.displayName || t.name : t.name || e && t.__name;
1794
1794
  }
1795
- function di(t, e, n = !1) {
1796
- let r = pi(e);
1795
+ function gi(t, e, n = !1) {
1796
+ let r = hi(e);
1797
1797
  if (!r && e.__file) {
1798
1798
  const s = e.__file.match(/([^/\\]+)\.\w+$/);
1799
1799
  s && (r = s[1]);
@@ -1808,20 +1808,20 @@ function di(t, e, n = !1) {
1808
1808
  t.parent.type.components
1809
1809
  ) || s(t.appContext.components);
1810
1810
  }
1811
- return r ? Fl(r) : n ? "App" : "Anonymous";
1811
+ return r ? Hl(r) : n ? "App" : "Anonymous";
1812
1812
  }
1813
- function hi(t) {
1814
- return Z(t) && "__vccOpts" in t;
1813
+ function mi(t) {
1814
+ return X(t) && "__vccOpts" in t;
1815
1815
  }
1816
1816
  const ur = (t, e) => {
1817
- const n = /* @__PURE__ */ qo(t, e, Ht);
1817
+ const n = /* @__PURE__ */ Yo(t, e, Ht);
1818
1818
  if (process.env.NODE_ENV !== "production") {
1819
1819
  const r = bt();
1820
1820
  r && r.appContext.config.warnRecursiveComputed && (n._warnRecursive = !0);
1821
1821
  }
1822
1822
  return n;
1823
1823
  };
1824
- function Vl() {
1824
+ function Ul() {
1825
1825
  if (process.env.NODE_ENV === "production" || typeof window > "u")
1826
1826
  return;
1827
1827
  const t = { style: "color:#3ba776" }, e = { style: "color:#1677ff" }, n = { style: "color:#f5222d" }, r = { style: "color:#eb2f96" }, s = {
@@ -1831,7 +1831,7 @@ function Vl() {
1831
1831
  return null;
1832
1832
  if (u.__isVue)
1833
1833
  return ["div", t, "VueInstance"];
1834
- if (/* @__PURE__ */ ee(u)) {
1834
+ if (/* @__PURE__ */ te(u)) {
1835
1835
  mt();
1836
1836
  const h = u.value;
1837
1837
  return _t(), [
@@ -1878,7 +1878,7 @@ function Vl() {
1878
1878
  };
1879
1879
  function i(u) {
1880
1880
  const h = [];
1881
- u.type.props && u.props && h.push(o("props", /* @__PURE__ */ N(u.props))), u.setupState !== Pt && h.push(o("setup", u.setupState)), u.data !== Pt && h.push(o("data", /* @__PURE__ */ N(u.data)));
1881
+ u.type.props && u.props && h.push(o("props", /* @__PURE__ */ N(u.props))), u.setupState !== $t && h.push(o("setup", u.setupState)), u.data !== $t && h.push(o("data", /* @__PURE__ */ N(u.data)));
1882
1882
  const g = c(u, "computed");
1883
1883
  g && h.push(o("computed", g));
1884
1884
  const m = c(u, "inject");
@@ -1925,16 +1925,16 @@ function Vl() {
1925
1925
  }
1926
1926
  function c(u, h) {
1927
1927
  const g = u.type;
1928
- if (Z(g))
1928
+ if (X(g))
1929
1929
  return;
1930
1930
  const m = {};
1931
- for (const b in u.ctx)
1932
- p(g, b, h) && (m[b] = u.ctx[b]);
1931
+ for (const y in u.ctx)
1932
+ p(g, y, h) && (m[y] = u.ctx[y]);
1933
1933
  return m;
1934
1934
  }
1935
1935
  function p(u, h, g) {
1936
1936
  const m = u[g];
1937
- if (W(m) && m.includes(h) || le(m) && h in m || u.extends && p(u.extends, h, g) || u.mixins && u.mixins.some((b) => p(b, h, g)))
1937
+ if (G(m) && m.includes(h) || le(m) && h in m || u.extends && p(u.extends, h, g) || u.mixins && u.mixins.some((y) => p(y, h, g)))
1938
1938
  return !0;
1939
1939
  }
1940
1940
  function d(u) {
@@ -1950,34 +1950,34 @@ process.env.NODE_ENV;
1950
1950
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
1951
1951
  * @license MIT
1952
1952
  **/
1953
- function Hl() {
1954
- Vl();
1953
+ function Bl() {
1954
+ Ul();
1955
1955
  }
1956
- process.env.NODE_ENV !== "production" && Hl();
1957
- function Ul(t) {
1956
+ process.env.NODE_ENV !== "production" && Bl();
1957
+ function Wl(t) {
1958
1958
  return t.map((e) => ({ value: e, label: `${e}` }));
1959
1959
  }
1960
- const gi = "*", vr = "#", dt = "$", xn = ".";
1961
- function V(...t) {
1960
+ const _i = "*", vr = "#", dt = "$", xn = ".";
1961
+ function U(...t) {
1962
1962
  return t.join(xn);
1963
1963
  }
1964
1964
  function ht(t) {
1965
1965
  return t.split(xn).filter((e) => e !== "");
1966
1966
  }
1967
- function Bl(t) {
1968
- return t.startsWith(dt) && (t = V(...ht(t).slice(1))), t;
1967
+ function Gl(t) {
1968
+ return t.startsWith(dt) && (t = U(...ht(t).slice(1))), t;
1969
1969
  }
1970
- function Wl(t) {
1970
+ function ql(t) {
1971
1971
  const e = ce(t);
1972
1972
  return e ? e.type === "set" && e.elements.type === "string" && !e.elements.one_of : !1;
1973
1973
  }
1974
- function Gl(t) {
1974
+ function Kl(t) {
1975
1975
  return "one_of" in t && Array.isArray(t.one_of);
1976
1976
  }
1977
- function xc(t) {
1977
+ function Sc(t) {
1978
1978
  return t.type === "set" && "elements" in t && "one_of" in t.elements;
1979
1979
  }
1980
- const ql = Symbol("free-form-field-renderer-slots"), Kl = "free-form-field-renderers-slot";
1980
+ const Yl = Symbol("free-form-field-renderer-slots"), Zl = "free-form-field-renderers-slot";
1981
1981
  function Ar() {
1982
1982
  return {
1983
1983
  async: !1,
@@ -1993,38 +1993,38 @@ function Ar() {
1993
1993
  };
1994
1994
  }
1995
1995
  let Qe = Ar();
1996
- function mi(t) {
1996
+ function bi(t) {
1997
1997
  Qe = t;
1998
1998
  }
1999
- const _i = /[&<>"']/, Yl = new RegExp(_i.source, "g"), bi = /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/, Zl = new RegExp(bi.source, "g"), Xl = {
1999
+ const yi = /[&<>"']/, Xl = new RegExp(yi.source, "g"), wi = /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/, Ql = new RegExp(wi.source, "g"), Jl = {
2000
2000
  "&": "&amp;",
2001
2001
  "<": "&lt;",
2002
2002
  ">": "&gt;",
2003
2003
  '"': "&quot;",
2004
2004
  "'": "&#39;"
2005
- }, ps = (t) => Xl[t];
2005
+ }, hs = (t) => Jl[t];
2006
2006
  function fe(t, e) {
2007
2007
  if (e) {
2008
- if (_i.test(t))
2009
- return t.replace(Yl, ps);
2010
- } else if (bi.test(t))
2011
- return t.replace(Zl, ps);
2008
+ if (yi.test(t))
2009
+ return t.replace(Xl, hs);
2010
+ } else if (wi.test(t))
2011
+ return t.replace(Ql, hs);
2012
2012
  return t;
2013
2013
  }
2014
- const Ql = /(^|[^\[])\^/g;
2015
- function $(t, e) {
2014
+ const ea = /(^|[^\[])\^/g;
2015
+ function P(t, e) {
2016
2016
  let n = typeof t == "string" ? t : t.source;
2017
2017
  e = e || "";
2018
2018
  const r = {
2019
2019
  replace: (s, i) => {
2020
2020
  let o = typeof i == "string" ? i : i.source;
2021
- return o = o.replace(Ql, "$1"), n = n.replace(s, o), r;
2021
+ return o = o.replace(ea, "$1"), n = n.replace(s, o), r;
2022
2022
  },
2023
2023
  getRegex: () => new RegExp(n, e)
2024
2024
  };
2025
2025
  return r;
2026
2026
  }
2027
- function ds(t) {
2027
+ function gs(t) {
2028
2028
  try {
2029
2029
  t = encodeURI(t).replace(/%25/g, "%");
2030
2030
  } catch {
@@ -2033,7 +2033,7 @@ function ds(t) {
2033
2033
  return t;
2034
2034
  }
2035
2035
  const Ct = { exec: () => null };
2036
- function hs(t, e) {
2036
+ function ms(t, e) {
2037
2037
  const n = t.replace(/\|/g, (i, o, a) => {
2038
2038
  let c = !1, p = o;
2039
2039
  for (; --p >= 0 && a[p] === "\\"; )
@@ -2060,7 +2060,7 @@ function St(t, e, n) {
2060
2060
  s++;
2061
2061
  return t.slice(0, r - s);
2062
2062
  }
2063
- function Jl(t, e) {
2063
+ function ta(t, e) {
2064
2064
  if (t.indexOf(e[1]) === -1)
2065
2065
  return -1;
2066
2066
  let n = 0;
@@ -2073,7 +2073,7 @@ function Jl(t, e) {
2073
2073
  return r;
2074
2074
  return -1;
2075
2075
  }
2076
- function gs(t, e, n, r) {
2076
+ function _s(t, e, n, r) {
2077
2077
  const s = e.href, i = e.title ? fe(e.title) : null, o = t[1].replace(/\\([\[\]])/g, "$1");
2078
2078
  if (t[0].charAt(0) !== "!") {
2079
2079
  r.state.inLink = !0;
@@ -2095,7 +2095,7 @@ function gs(t, e, n, r) {
2095
2095
  text: fe(o)
2096
2096
  };
2097
2097
  }
2098
- function ea(t, e) {
2098
+ function na(t, e) {
2099
2099
  const n = t.match(/^(\s+)(?:```)/);
2100
2100
  if (n === null)
2101
2101
  return e;
@@ -2143,7 +2143,7 @@ class gn {
2143
2143
  fences(e) {
2144
2144
  const n = this.rules.block.fences.exec(e);
2145
2145
  if (n) {
2146
- const r = n[0], s = ea(r, n[3] || "");
2146
+ const r = n[0], s = na(r, n[3] || "");
2147
2147
  return {
2148
2148
  type: "code",
2149
2149
  raw: r,
@@ -2210,16 +2210,16 @@ ${u}` : u;
2210
2210
  if ((g == null ? void 0 : g.type) === "code")
2211
2211
  break;
2212
2212
  if ((g == null ? void 0 : g.type) === "blockquote") {
2213
- const m = g, b = m.raw + `
2213
+ const m = g, y = m.raw + `
2214
2214
  ` + r.join(`
2215
- `), x = this.blockquote(b);
2215
+ `), x = this.blockquote(y);
2216
2216
  o[o.length - 1] = x, s = s.substring(0, s.length - m.raw.length) + x.raw, i = i.substring(0, i.length - m.text.length) + x.text;
2217
2217
  break;
2218
2218
  } else if ((g == null ? void 0 : g.type) === "list") {
2219
- const m = g, b = m.raw + `
2219
+ const m = g, y = m.raw + `
2220
2220
  ` + r.join(`
2221
- `), x = this.list(b);
2222
- o[o.length - 1] = x, s = s.substring(0, s.length - g.raw.length) + x.raw, i = i.substring(0, i.length - m.raw.length) + x.raw, r = b.substring(o[o.length - 1].raw.length).split(`
2221
+ `), x = this.list(y);
2222
+ o[o.length - 1] = x, s = s.substring(0, s.length - g.raw.length) + x.raw, i = i.substring(0, i.length - m.raw.length) + x.raw, r = y.substring(o[o.length - 1].raw.length).split(`
2223
2223
  `);
2224
2224
  continue;
2225
2225
  }
@@ -2278,11 +2278,11 @@ ${u}` : u;
2278
2278
  }
2279
2279
  }
2280
2280
  i.loose || (a ? i.loose = !0 : /\n[ \t]*\n[ \t]*$/.test(p) && (a = !0));
2281
- let b = null, x;
2282
- this.options.gfm && (b = /^\[[ xX]\] /.exec(d), b && (x = b[0] !== "[ ] ", d = d.replace(/^\[[ xX]\] +/, ""))), i.items.push({
2281
+ let y = null, x;
2282
+ this.options.gfm && (y = /^\[[ xX]\] /.exec(d), y && (x = y[0] !== "[ ] ", d = d.replace(/^\[[ xX]\] +/, ""))), i.items.push({
2283
2283
  type: "list_item",
2284
2284
  raw: p,
2285
- task: !!b,
2285
+ task: !!y,
2286
2286
  checked: x,
2287
2287
  loose: !1,
2288
2288
  text: d,
@@ -2329,7 +2329,7 @@ ${u}` : u;
2329
2329
  const n = this.rules.block.table.exec(e);
2330
2330
  if (!n || !/[:|]/.test(n[2]))
2331
2331
  return;
2332
- const r = hs(n[1]), s = n[2].replace(/^\||\| *$/g, "").split("|"), i = n[3] && n[3].trim() ? n[3].replace(/\n[ \t]*$/, "").split(`
2332
+ const r = ms(n[1]), s = n[2].replace(/^\||\| *$/g, "").split("|"), i = n[3] && n[3].trim() ? n[3].replace(/\n[ \t]*$/, "").split(`
2333
2333
  `) : [], o = {
2334
2334
  type: "table",
2335
2335
  raw: n[0],
@@ -2348,7 +2348,7 @@ ${u}` : u;
2348
2348
  align: o.align[a]
2349
2349
  });
2350
2350
  for (const a of i)
2351
- o.rows.push(hs(a, o.header.length).map((c, p) => ({
2351
+ o.rows.push(ms(a, o.header.length).map((c, p) => ({
2352
2352
  text: c,
2353
2353
  tokens: this.lexer.inline(c),
2354
2354
  header: !1,
@@ -2423,7 +2423,7 @@ ${u}` : u;
2423
2423
  if ((r.length - o.length) % 2 === 0)
2424
2424
  return;
2425
2425
  } else {
2426
- const o = Jl(n[2], "()");
2426
+ const o = ta(n[2], "()");
2427
2427
  if (o > -1) {
2428
2428
  const c = (n[0].indexOf("!") === 0 ? 5 : 4) + n[1].length + o;
2429
2429
  n[2] = n[2].substring(0, o), n[0] = n[0].substring(0, c).trim(), n[3] = "";
@@ -2435,7 +2435,7 @@ ${u}` : u;
2435
2435
  o && (s = o[1], i = o[3]);
2436
2436
  } else
2437
2437
  i = n[3] ? n[3].slice(1, -1) : "";
2438
- return s = s.trim(), /^</.test(s) && (this.options.pedantic && !/>$/.test(r) ? s = s.slice(1) : s = s.slice(1, -1)), gs(n, {
2438
+ return s = s.trim(), /^</.test(s) && (this.options.pedantic && !/>$/.test(r) ? s = s.slice(1) : s = s.slice(1, -1)), _s(n, {
2439
2439
  href: s && s.replace(this.rules.inline.anyPunctuation, "$1"),
2440
2440
  title: i && i.replace(this.rules.inline.anyPunctuation, "$1")
2441
2441
  }, n[0], this.lexer);
@@ -2453,7 +2453,7 @@ ${u}` : u;
2453
2453
  text: o
2454
2454
  };
2455
2455
  }
2456
- return gs(r, i, r[0], this.lexer);
2456
+ return _s(r, i, r[0], this.lexer);
2457
2457
  }
2458
2458
  }
2459
2459
  emStrong(e, n, r = "") {
@@ -2479,12 +2479,12 @@ ${u}` : u;
2479
2479
  c = Math.min(c, c + p + d);
2480
2480
  const h = [...s[0]][0].length, g = e.slice(0, o + s.index + h + c);
2481
2481
  if (Math.min(o, c) % 2) {
2482
- const b = g.slice(1, -1);
2482
+ const y = g.slice(1, -1);
2483
2483
  return {
2484
2484
  type: "em",
2485
2485
  raw: g,
2486
- text: b,
2487
- tokens: this.lexer.inlineTokens(b)
2486
+ text: y,
2487
+ tokens: this.lexer.inlineTokens(y)
2488
2488
  };
2489
2489
  }
2490
2490
  const m = g.slice(2, -2);
@@ -2587,79 +2587,79 @@ ${u}` : u;
2587
2587
  }
2588
2588
  }
2589
2589
  }
2590
- const ta = /^(?:[ \t]*(?:\n|$))+/, na = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, ra = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, Ut = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, sa = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, yi = /(?:[*+-]|\d{1,9}[.)])/, wi = $(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g, yi).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).getRegex(), Rr = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, ia = /^[^\n]+/, Or = /(?!\s*\])(?:\\.|[^\[\]\\])+/, oa = $(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", Or).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), la = $(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, yi).getRegex(), kn = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", Nr = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, aa = $("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))", "i").replace("comment", Nr).replace("tag", kn).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), Ei = $(Rr).replace("hr", Ut).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", kn).getRegex(), ca = $(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", Ei).getRegex(), Ir = {
2591
- blockquote: ca,
2592
- code: na,
2593
- def: oa,
2594
- fences: ra,
2595
- heading: sa,
2590
+ const ra = /^(?:[ \t]*(?:\n|$))+/, sa = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, ia = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, Ut = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, oa = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, Ei = /(?:[*+-]|\d{1,9}[.)])/, Ti = P(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g, Ei).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).getRegex(), Rr = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, la = /^[^\n]+/, Or = /(?!\s*\])(?:\\.|[^\[\]\\])+/, aa = P(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", Or).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), ca = P(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, Ei).getRegex(), kn = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", Nr = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, ua = P("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))", "i").replace("comment", Nr).replace("tag", kn).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), xi = P(Rr).replace("hr", Ut).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", kn).getRegex(), fa = P(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", xi).getRegex(), Ir = {
2591
+ blockquote: fa,
2592
+ code: sa,
2593
+ def: aa,
2594
+ fences: ia,
2595
+ heading: oa,
2596
2596
  hr: Ut,
2597
- html: aa,
2598
- lheading: wi,
2599
- list: la,
2600
- newline: ta,
2601
- paragraph: Ei,
2597
+ html: ua,
2598
+ lheading: Ti,
2599
+ list: ca,
2600
+ newline: ra,
2601
+ paragraph: xi,
2602
2602
  table: Ct,
2603
- text: ia
2604
- }, ms = $("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", Ut).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", "(?: {4}| {0,3} )[^\\n]").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", kn).getRegex(), ua = {
2603
+ text: la
2604
+ }, bs = P("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", Ut).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", "(?: {4}| {0,3} )[^\\n]").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", kn).getRegex(), pa = {
2605
2605
  ...Ir,
2606
- table: ms,
2607
- paragraph: $(Rr).replace("hr", Ut).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", ms).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", kn).getRegex()
2608
- }, fa = {
2606
+ table: bs,
2607
+ paragraph: P(Rr).replace("hr", Ut).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", bs).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", kn).getRegex()
2608
+ }, da = {
2609
2609
  ...Ir,
2610
- html: $(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment", Nr).replace(/tag/g, "(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),
2610
+ html: P(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment", Nr).replace(/tag/g, "(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),
2611
2611
  def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,
2612
2612
  heading: /^(#{1,6})(.*)(?:\n+|$)/,
2613
2613
  fences: Ct,
2614
2614
  // fences not supported
2615
2615
  lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,
2616
- paragraph: $(Rr).replace("hr", Ut).replace("heading", ` *#{1,6} *[^
2617
- ]`).replace("lheading", wi).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
2618
- }, Ti = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, pa = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, xi = /^( {2,}|\\)\n(?!\s*$)/, da = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, Bt = "\\p{P}\\p{S}", ha = $(/^((?![*_])[\spunctuation])/, "u").replace(/punctuation/g, Bt).getRegex(), ga = /\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g, ma = $(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/, "u").replace(/punct/g, Bt).getRegex(), _a = $("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])", "gu").replace(/punct/g, Bt).getRegex(), ba = $("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])", "gu").replace(/punct/g, Bt).getRegex(), ya = $(/\\([punct])/, "gu").replace(/punct/g, Bt).getRegex(), wa = $(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), Ea = $(Nr).replace("(?:-->|$)", "-->").getRegex(), Ta = $("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment", Ea).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), mn = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/, xa = $(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label", mn).replace("href", /<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), ki = $(/^!?\[(label)\]\[(ref)\]/).replace("label", mn).replace("ref", Or).getRegex(), Si = $(/^!?\[(ref)\](?:\[\])?/).replace("ref", Or).getRegex(), ka = $("reflink|nolink(?!\\()", "g").replace("reflink", ki).replace("nolink", Si).getRegex(), Dr = {
2616
+ paragraph: P(Rr).replace("hr", Ut).replace("heading", ` *#{1,6} *[^
2617
+ ]`).replace("lheading", Ti).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
2618
+ }, ki = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, ha = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, Si = /^( {2,}|\\)\n(?!\s*$)/, ga = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, Bt = "\\p{P}\\p{S}", ma = P(/^((?![*_])[\spunctuation])/, "u").replace(/punctuation/g, Bt).getRegex(), _a = /\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g, ba = P(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/, "u").replace(/punct/g, Bt).getRegex(), ya = P("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])", "gu").replace(/punct/g, Bt).getRegex(), wa = P("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])", "gu").replace(/punct/g, Bt).getRegex(), Ea = P(/\\([punct])/, "gu").replace(/punct/g, Bt).getRegex(), Ta = P(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), xa = P(Nr).replace("(?:-->|$)", "-->").getRegex(), ka = P("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment", xa).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), mn = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/, Sa = P(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label", mn).replace("href", /<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), vi = P(/^!?\[(label)\]\[(ref)\]/).replace("label", mn).replace("ref", Or).getRegex(), Ai = P(/^!?\[(ref)\](?:\[\])?/).replace("ref", Or).getRegex(), va = P("reflink|nolink(?!\\()", "g").replace("reflink", vi).replace("nolink", Ai).getRegex(), Dr = {
2619
2619
  _backpedal: Ct,
2620
2620
  // only used for GFM url
2621
- anyPunctuation: ya,
2622
- autolink: wa,
2623
- blockSkip: ga,
2624
- br: xi,
2625
- code: pa,
2621
+ anyPunctuation: Ea,
2622
+ autolink: Ta,
2623
+ blockSkip: _a,
2624
+ br: Si,
2625
+ code: ha,
2626
2626
  del: Ct,
2627
- emStrongLDelim: ma,
2628
- emStrongRDelimAst: _a,
2629
- emStrongRDelimUnd: ba,
2630
- escape: Ti,
2631
- link: xa,
2632
- nolink: Si,
2633
- punctuation: ha,
2634
- reflink: ki,
2635
- reflinkSearch: ka,
2636
- tag: Ta,
2637
- text: da,
2627
+ emStrongLDelim: ba,
2628
+ emStrongRDelimAst: ya,
2629
+ emStrongRDelimUnd: wa,
2630
+ escape: ki,
2631
+ link: Sa,
2632
+ nolink: Ai,
2633
+ punctuation: ma,
2634
+ reflink: vi,
2635
+ reflinkSearch: va,
2636
+ tag: ka,
2637
+ text: ga,
2638
2638
  url: Ct
2639
- }, Sa = {
2639
+ }, Aa = {
2640
2640
  ...Dr,
2641
- link: $(/^!?\[(label)\]\((.*?)\)/).replace("label", mn).getRegex(),
2642
- reflink: $(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", mn).getRegex()
2641
+ link: P(/^!?\[(label)\]\((.*?)\)/).replace("label", mn).getRegex(),
2642
+ reflink: P(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", mn).getRegex()
2643
2643
  }, fr = {
2644
2644
  ...Dr,
2645
- escape: $(Ti).replace("])", "~|])").getRegex(),
2646
- url: $(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/, "i").replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),
2645
+ escape: P(ki).replace("])", "~|])").getRegex(),
2646
+ url: P(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/, "i").replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),
2647
2647
  _backpedal: /(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,
2648
2648
  del: /^(~~?)(?=[^\s~])((?:\\.|[^\\])*?(?:\\.|[^\s~\\]))\1(?=[^~]|$)/,
2649
2649
  text: /^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/
2650
- }, va = {
2650
+ }, Ra = {
2651
2651
  ...fr,
2652
- br: $(xi).replace("{2,}", "*").getRegex(),
2653
- text: $(fr.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
2652
+ br: P(Si).replace("{2,}", "*").getRegex(),
2653
+ text: P(fr.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
2654
2654
  }, rn = {
2655
2655
  normal: Ir,
2656
- gfm: ua,
2657
- pedantic: fa
2656
+ gfm: pa,
2657
+ pedantic: da
2658
2658
  }, vt = {
2659
2659
  normal: Dr,
2660
2660
  gfm: fr,
2661
- breaks: va,
2662
- pedantic: Sa
2661
+ breaks: Ra,
2662
+ pedantic: Aa
2663
2663
  };
2664
2664
  class ge {
2665
2665
  constructor(e) {
@@ -2998,7 +2998,7 @@ ${e}</tr>
2998
2998
  return `<del>${this.parser.parseInline(e)}</del>`;
2999
2999
  }
3000
3000
  link({ href: e, title: n, tokens: r }) {
3001
- const s = this.parser.parseInline(r), i = ds(e);
3001
+ const s = this.parser.parseInline(r), i = gs(e);
3002
3002
  if (i === null)
3003
3003
  return s;
3004
3004
  e = i;
@@ -3006,7 +3006,7 @@ ${e}</tr>
3006
3006
  return n && (o += ' title="' + n + '"'), o += ">" + s + "</a>", o;
3007
3007
  }
3008
3008
  image({ href: e, title: n, text: r }) {
3009
- const s = ds(e);
3009
+ const s = gs(e);
3010
3010
  if (s === null)
3011
3011
  return r;
3012
3012
  e = s;
@@ -3251,7 +3251,7 @@ L(Mt, "passThroughHooks", /* @__PURE__ */ new Set([
3251
3251
  "postprocess",
3252
3252
  "processAllTokens"
3253
3253
  ]));
3254
- class Aa {
3254
+ class Oa {
3255
3255
  constructor(...e) {
3256
3256
  L(this, "defaults", Ar());
3257
3257
  L(this, "options", this.setOptions);
@@ -3424,48 +3424,48 @@ Please report this to https://github.com/markedjs/marked.`, e) {
3424
3424
  };
3425
3425
  }
3426
3426
  }
3427
- const Xe = new Aa();
3428
- function P(t, e) {
3427
+ const Xe = new Oa();
3428
+ function $(t, e) {
3429
3429
  return Xe.parse(t, e);
3430
3430
  }
3431
- P.options = P.setOptions = function(t) {
3432
- return Xe.setOptions(t), P.defaults = Xe.defaults, mi(P.defaults), P;
3431
+ $.options = $.setOptions = function(t) {
3432
+ return Xe.setOptions(t), $.defaults = Xe.defaults, bi($.defaults), $;
3433
3433
  };
3434
- P.getDefaults = Ar;
3435
- P.defaults = Qe;
3436
- P.use = function(...t) {
3437
- return Xe.use(...t), P.defaults = Xe.defaults, mi(P.defaults), P;
3434
+ $.getDefaults = Ar;
3435
+ $.defaults = Qe;
3436
+ $.use = function(...t) {
3437
+ return Xe.use(...t), $.defaults = Xe.defaults, bi($.defaults), $;
3438
3438
  };
3439
- P.walkTokens = function(t, e) {
3439
+ $.walkTokens = function(t, e) {
3440
3440
  return Xe.walkTokens(t, e);
3441
3441
  };
3442
- P.parseInline = Xe.parseInline;
3443
- P.Parser = me;
3444
- P.parser = me.parse;
3445
- P.Renderer = _n;
3446
- P.TextRenderer = Cr;
3447
- P.Lexer = ge;
3448
- P.lexer = ge.lex;
3449
- P.Tokenizer = gn;
3450
- P.Hooks = Mt;
3451
- P.parse = P;
3452
- P.options;
3453
- P.setOptions;
3454
- P.use;
3455
- P.walkTokens;
3456
- P.parseInline;
3442
+ $.parseInline = Xe.parseInline;
3443
+ $.Parser = me;
3444
+ $.parser = me.parse;
3445
+ $.Renderer = _n;
3446
+ $.TextRenderer = Cr;
3447
+ $.Lexer = ge;
3448
+ $.lexer = ge.lex;
3449
+ $.Tokenizer = gn;
3450
+ $.Hooks = Mt;
3451
+ $.parse = $;
3452
+ $.options;
3453
+ $.setOptions;
3454
+ $.use;
3455
+ $.walkTokens;
3456
+ $.parseInline;
3457
3457
  me.parse;
3458
3458
  ge.lex;
3459
- /*! @license DOMPurify 3.4.10 | (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.10/LICENSE */
3460
- function _s(t, e) {
3459
+ /*! @license DOMPurify 3.4.11 | (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.11/LICENSE */
3460
+ function ys(t, e) {
3461
3461
  (e == null || e > t.length) && (e = t.length);
3462
3462
  for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
3463
3463
  return r;
3464
3464
  }
3465
- function Ra(t) {
3465
+ function Na(t) {
3466
3466
  if (Array.isArray(t)) return t;
3467
3467
  }
3468
- function Oa(t, e) {
3468
+ function Ia(t, e) {
3469
3469
  var n = t == null ? null : typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
3470
3470
  if (n != null) {
3471
3471
  var r, s, i, o, a = [], c = !0, p = !1;
@@ -3483,26 +3483,26 @@ function Oa(t, e) {
3483
3483
  return a;
3484
3484
  }
3485
3485
  }
3486
- function Na() {
3486
+ function Da() {
3487
3487
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
3488
3488
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
3489
3489
  }
3490
- function Ia(t, e) {
3491
- return Ra(t) || Oa(t, e) || Da(t, e) || Na();
3490
+ function Ca(t, e) {
3491
+ return Na(t) || Ia(t, e) || Ma(t, e) || Da();
3492
3492
  }
3493
- function Da(t, e) {
3493
+ function Ma(t, e) {
3494
3494
  if (t) {
3495
- if (typeof t == "string") return _s(t, e);
3495
+ if (typeof t == "string") return ys(t, e);
3496
3496
  var n = {}.toString.call(t).slice(8, -1);
3497
- return n === "Object" && t.constructor && (n = t.constructor.name), n === "Map" || n === "Set" ? Array.from(t) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? _s(t, e) : void 0;
3497
+ return n === "Object" && t.constructor && (n = t.constructor.name), n === "Map" || n === "Set" ? Array.from(t) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? ys(t, e) : void 0;
3498
3498
  }
3499
3499
  }
3500
- const vi = Object.entries, bs = Object.setPrototypeOf, Ca = Object.isFrozen, Ma = Object.getPrototypeOf, Pa = Object.getOwnPropertyDescriptor;
3501
- let J = Object.freeze, te = Object.seal, at = Object.create, Ai = typeof Reflect < "u" && Reflect, pr = Ai.apply, dr = Ai.construct;
3502
- J || (J = function(e) {
3500
+ const Ri = Object.entries, ws = Object.setPrototypeOf, $a = Object.isFrozen, Pa = Object.getPrototypeOf, La = Object.getOwnPropertyDescriptor;
3501
+ let ee = Object.freeze, ne = Object.seal, at = Object.create, Oi = typeof Reflect < "u" && Reflect, pr = Oi.apply, dr = Oi.construct;
3502
+ ee || (ee = function(e) {
3503
3503
  return e;
3504
3504
  });
3505
- te || (te = function(e) {
3505
+ ne || (ne = function(e) {
3506
3506
  return e;
3507
3507
  });
3508
3508
  pr || (pr = function(e, n) {
@@ -3515,8 +3515,8 @@ dr || (dr = function(e) {
3515
3515
  r[s - 1] = arguments[s];
3516
3516
  return new e(...r);
3517
3517
  });
3518
- const At = q(Array.prototype.forEach), $a = q(Array.prototype.lastIndexOf), ys = q(Array.prototype.pop), it = q(Array.prototype.push), La = q(Array.prototype.splice), Ue = Array.isArray, Nt = q(String.prototype.toLowerCase), Qn = q(String.prototype.toString), ws = q(String.prototype.match), Rt = q(String.prototype.replace), Es = q(String.prototype.indexOf), za = q(String.prototype.trim), ja = q(Number.prototype.toString), Fa = q(Boolean.prototype.toString), Ts = typeof BigInt > "u" ? null : q(BigInt.prototype.toString), xs = typeof Symbol > "u" ? null : q(Symbol.prototype.toString), oe = q(Object.prototype.hasOwnProperty), Ot = q(Object.prototype.toString), X = q(RegExp.prototype.test), Ge = Va(TypeError);
3519
- function q(t) {
3518
+ const At = K(Array.prototype.forEach), za = K(Array.prototype.lastIndexOf), Es = K(Array.prototype.pop), it = K(Array.prototype.push), ja = K(Array.prototype.splice), Ue = Array.isArray, Nt = K(String.prototype.toLowerCase), Qn = K(String.prototype.toString), Ts = K(String.prototype.match), Rt = K(String.prototype.replace), xs = K(String.prototype.indexOf), Fa = K(String.prototype.trim), Va = K(Number.prototype.toString), Ha = K(Boolean.prototype.toString), ks = typeof BigInt > "u" ? null : K(BigInt.prototype.toString), Ss = typeof Symbol > "u" ? null : K(Symbol.prototype.toString), Z = K(Object.prototype.hasOwnProperty), Ot = K(Object.prototype.toString), Q = K(RegExp.prototype.test), Ge = Ua(TypeError);
3519
+ function K(t) {
3520
3520
  return function(e) {
3521
3521
  e instanceof RegExp && (e.lastIndex = 0);
3522
3522
  for (var n = arguments.length, r = new Array(n > 1 ? n - 1 : 0), s = 1; s < n; s++)
@@ -3524,7 +3524,7 @@ function q(t) {
3524
3524
  return pr(t, e, r);
3525
3525
  };
3526
3526
  }
3527
- function Va(t) {
3527
+ function Ua(t) {
3528
3528
  return function() {
3529
3529
  for (var e = arguments.length, n = new Array(e), r = 0; r < e; r++)
3530
3530
  n[r] = arguments[r];
@@ -3533,45 +3533,45 @@ function Va(t) {
3533
3533
  }
3534
3534
  function D(t, e) {
3535
3535
  let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Nt;
3536
- if (bs && bs(t, null), !Ue(e))
3536
+ if (ws && ws(t, null), !Ue(e))
3537
3537
  return t;
3538
3538
  let r = e.length;
3539
3539
  for (; r--; ) {
3540
3540
  let s = e[r];
3541
3541
  if (typeof s == "string") {
3542
3542
  const i = n(s);
3543
- i !== s && (Ca(e) || (e[r] = i), s = i);
3543
+ i !== s && ($a(e) || (e[r] = i), s = i);
3544
3544
  }
3545
3545
  t[s] = !0;
3546
3546
  }
3547
3547
  return t;
3548
3548
  }
3549
- function Ha(t) {
3549
+ function Ba(t) {
3550
3550
  for (let e = 0; e < t.length; e++)
3551
- oe(t, e) || (t[e] = null);
3551
+ Z(t, e) || (t[e] = null);
3552
3552
  return t;
3553
3553
  }
3554
- function ie(t) {
3554
+ function oe(t) {
3555
3555
  const e = at(null);
3556
- for (const r of vi(t)) {
3557
- var n = Ia(r, 2);
3556
+ for (const r of Ri(t)) {
3557
+ var n = Ca(r, 2);
3558
3558
  const s = n[0], i = n[1];
3559
- oe(t, s) && (Ue(i) ? e[s] = Ha(i) : i && typeof i == "object" && i.constructor === Object ? e[s] = ie(i) : e[s] = i);
3559
+ Z(t, s) && (Ue(i) ? e[s] = Ba(i) : i && typeof i == "object" && i.constructor === Object ? e[s] = oe(i) : e[s] = i);
3560
3560
  }
3561
3561
  return e;
3562
3562
  }
3563
- function Ua(t) {
3563
+ function Wa(t) {
3564
3564
  switch (typeof t) {
3565
3565
  case "string":
3566
3566
  return t;
3567
3567
  case "number":
3568
- return ja(t);
3568
+ return Va(t);
3569
3569
  case "boolean":
3570
- return Fa(t);
3570
+ return Ha(t);
3571
3571
  case "bigint":
3572
- return Ts ? Ts(t) : "0";
3572
+ return ks ? ks(t) : "0";
3573
3573
  case "symbol":
3574
- return xs ? xs(t) : "Symbol()";
3574
+ return Ss ? Ss(t) : "Symbol()";
3575
3575
  case "undefined":
3576
3576
  return Ot(t);
3577
3577
  case "function":
@@ -3591,34 +3591,34 @@ function Ua(t) {
3591
3591
  }
3592
3592
  function xe(t, e) {
3593
3593
  for (; t !== null; ) {
3594
- const r = Pa(t, e);
3594
+ const r = La(t, e);
3595
3595
  if (r) {
3596
3596
  if (r.get)
3597
- return q(r.get);
3597
+ return K(r.get);
3598
3598
  if (typeof r.value == "function")
3599
- return q(r.value);
3599
+ return K(r.value);
3600
3600
  }
3601
- t = Ma(t);
3601
+ t = Pa(t);
3602
3602
  }
3603
3603
  function n() {
3604
3604
  return null;
3605
3605
  }
3606
3606
  return n;
3607
3607
  }
3608
- function Ba(t) {
3608
+ function Ga(t) {
3609
3609
  try {
3610
- return X(t, ""), !0;
3610
+ return Q(t, ""), !0;
3611
3611
  } catch {
3612
3612
  return !1;
3613
3613
  }
3614
3614
  }
3615
- const ks = J(["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 = J(["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"]), er = J(["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"]), Wa = J(["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"]), tr = J(["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"]), Ga = J(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Ss = J(["#text"]), vs = J(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "command", "commandfor", "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"]), nr = J(["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"]), As = J(["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"]), sn = J(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), qa = te(/{{[\w\W]*|^[\w\W]*}}/g), Ka = te(/<%[\w\W]*|^[\w\W]*%>/g), Ya = te(/\${[\w\W]*/g), Za = te(/^data-[\-\w.\u00B7-\uFFFF]+$/), Xa = te(/^aria-[\-\w]+$/), Rs = te(
3615
+ const vs = ee(["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 = ee(["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"]), er = ee(["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"]), qa = ee(["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"]), tr = ee(["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"]), Ka = ee(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), As = ee(["#text"]), Rs = ee(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "command", "commandfor", "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"]), nr = ee(["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"]), Os = ee(["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"]), sn = ee(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Ya = ne(/{{[\w\W]*|^[\w\W]*}}/g), Za = ne(/<%[\w\W]*|^[\w\W]*%>/g), Xa = ne(/\${[\w\W]*/g), Qa = ne(/^data-[\-\w.\u00B7-\uFFFF]+$/), Ja = ne(/^aria-[\-\w]+$/), Ns = ne(
3616
3616
  /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
3617
3617
  // eslint-disable-line no-useless-escape
3618
- ), Qa = te(/^(?:\w+script|data):/i), Ja = te(
3618
+ ), ec = ne(/^(?:\w+script|data):/i), tc = ne(
3619
3619
  /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
3620
3620
  // eslint-disable-line no-control-regex
3621
- ), ec = te(/^html$/i), tc = te(/^[a-z][.\w]*(-[.\w]+)+$/i), Os = te(/<[/\w!]/g), nc = te(/<[/\w]/g), rc = te(/<\/no(script|embed|frames)/i), sc = te(/\/>/i), Te = {
3621
+ ), nc = ne(/^html$/i), rc = ne(/^[a-z][.\w]*(-[.\w]+)+$/i), Is = ne(/<[/\w!]/g), sc = ne(/<[/\w]/g), ic = ne(/<\/no(script|embed|frames)/i), oc = ne(/\/>/i), Te = {
3622
3622
  element: 1,
3623
3623
  attribute: 2,
3624
3624
  text: 3,
@@ -3634,9 +3634,9 @@ const ks = J(["a", "abbr", "acronym", "address", "area", "article", "aside", "au
3634
3634
  documentFragment: 11,
3635
3635
  notation: 12
3636
3636
  // Deprecated
3637
- }, ic = function() {
3637
+ }, lc = function() {
3638
3638
  return typeof window > "u" ? null : window;
3639
- }, oc = function(e, n) {
3639
+ }, ac = function(e, n) {
3640
3640
  if (typeof e != "object" || typeof e.createPolicy != "function")
3641
3641
  return null;
3642
3642
  let r = null;
@@ -3655,7 +3655,7 @@ const ks = J(["a", "abbr", "acronym", "address", "area", "article", "aside", "au
3655
3655
  } catch {
3656
3656
  return console.warn("TrustedTypes policy " + i + " could not be created."), null;
3657
3657
  }
3658
- }, Ns = function() {
3658
+ }, Ds = function() {
3659
3659
  return {
3660
3660
  afterSanitizeAttributes: [],
3661
3661
  afterSanitizeElements: [],
@@ -3668,24 +3668,24 @@ const ks = J(["a", "abbr", "acronym", "address", "area", "article", "aside", "au
3668
3668
  uponSanitizeShadowNode: []
3669
3669
  };
3670
3670
  }, je = function(e, n, r, s) {
3671
- return oe(e, n) && Ue(e[n]) ? D(s.base ? ie(s.base) : {}, e[n], s.transform) : r;
3671
+ return Z(e, n) && Ue(e[n]) ? D(s.base ? oe(s.base) : {}, e[n], s.transform) : r;
3672
3672
  };
3673
- function Ri() {
3674
- let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : ic();
3675
- const e = (y) => Ri(y);
3676
- if (e.version = "3.4.10", e.removed = [], !t || !t.document || t.document.nodeType !== Te.document || !t.Element)
3673
+ function Ni() {
3674
+ let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : lc();
3675
+ const e = (b) => Ni(b);
3676
+ if (e.version = "3.4.11", e.removed = [], !t || !t.document || t.document.nodeType !== Te.document || !t.Element)
3677
3677
  return e.isSupported = !1, e;
3678
3678
  let n = t.document;
3679
3679
  const r = n, s = r.currentScript;
3680
3680
  t.DocumentFragment;
3681
3681
  const i = t.HTMLTemplateElement, o = t.Node, a = t.Element, c = t.NodeFilter, p = t.NamedNodeMap;
3682
3682
  p === void 0 && (t.NamedNodeMap || t.MozNamedAttrMap), t.HTMLFormElement;
3683
- const d = t.DOMParser, u = t.trustedTypes, h = a.prototype, g = xe(h, "cloneNode"), m = xe(h, "remove"), b = xe(h, "nextSibling"), x = xe(h, "childNodes"), A = xe(h, "parentNode"), R = xe(h, "shadowRoot"), S = xe(h, "attributes"), w = o && o.prototype ? xe(o.prototype, "nodeType") : null, T = o && o.prototype ? xe(o.prototype, "nodeName") : null;
3683
+ const d = t.DOMParser, u = t.trustedTypes, h = a.prototype, g = xe(h, "cloneNode"), m = xe(h, "remove"), y = xe(h, "nextSibling"), x = xe(h, "childNodes"), A = xe(h, "parentNode"), R = xe(h, "shadowRoot"), S = xe(h, "attributes"), w = o && o.prototype ? xe(o.prototype, "nodeType") : null, T = o && o.prototype ? xe(o.prototype, "nodeName") : null;
3684
3684
  if (typeof i == "function") {
3685
- const y = n.createElement("template");
3686
- y.content && y.content.ownerDocument && (n = y.content.ownerDocument);
3685
+ const b = n.createElement("template");
3686
+ b.content && b.content.ownerDocument && (n = b.content.ownerDocument);
3687
3687
  }
3688
- let k, v = "", z, ne = !1, _e = 0;
3688
+ let k, v = "", z, re = !1, _e = 0;
3689
3689
  const pe = function() {
3690
3690
  if (_e > 0)
3691
3691
  throw Ge('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.');
@@ -3696,7 +3696,7 @@ function Ri() {
3696
3696
  } finally {
3697
3697
  _e--;
3698
3698
  }
3699
- }, re = function(l) {
3699
+ }, se = function(l) {
3700
3700
  pe(), _e++;
3701
3701
  try {
3702
3702
  return k.createScriptURL(l);
@@ -3704,16 +3704,16 @@ function Ri() {
3704
3704
  _e--;
3705
3705
  }
3706
3706
  }, yt = function() {
3707
- return ne || (z = oc(u, s), ne = !0), z;
3708
- }, Me = n, Pe = Me.implementation, Rn = Me.createNodeIterator, Ni = Me.createDocumentFragment, Ii = Me.getElementsByTagName, Di = r.importNode;
3709
- let K = Ns();
3710
- e.isSupported = typeof vi == "function" && typeof A == "function" && Pe && Pe.createHTMLDocument !== void 0;
3711
- const Ci = qa, Mi = Ka, Pi = Ya, $i = Za, Li = Xa, zi = Qa, Mr = Ja, ji = tc;
3712
- let Pr = Rs, U = null;
3713
- const On = D({}, [...ks, ...Jn, ...er, ...tr, ...Ss]);
3714
- let B = null;
3715
- const Nn = D({}, [...vs, ...nr, ...As, ...sn]);
3716
- let j = Object.seal(at(null, {
3707
+ return re || (z = ac(u, s), re = !0), z;
3708
+ }, Me = n, $e = Me.implementation, Rn = Me.createNodeIterator, Di = Me.createDocumentFragment, Ci = Me.getElementsByTagName, Mi = r.importNode;
3709
+ let W = Ds();
3710
+ e.isSupported = typeof Ri == "function" && typeof A == "function" && $e && $e.createHTMLDocument !== void 0;
3711
+ const $i = Ya, Pi = Za, Li = Xa, zi = Qa, ji = Ja, Fi = ec, Mr = tc, Vi = rc;
3712
+ let $r = Ns, j = null;
3713
+ const Pr = D({}, [...vs, ...Jn, ...er, ...tr, ...As]);
3714
+ let F = null;
3715
+ const Lr = D({}, [...Rs, ...nr, ...Os, ...sn]);
3716
+ let V = Object.seal(at(null, {
3717
3717
  tagNameCheck: {
3718
3718
  writable: !0,
3719
3719
  configurable: !1,
@@ -3732,8 +3732,8 @@ function Ri() {
3732
3732
  enumerable: !0,
3733
3733
  value: !1
3734
3734
  }
3735
- })), wt = null, $r = null;
3736
- const $e = Object.seal(at(null, {
3735
+ })), wt = null, zr = null;
3736
+ const Pe = Object.seal(at(null, {
3737
3737
  tagCheck: {
3738
3738
  writable: !0,
3739
3739
  configurable: !1,
@@ -3747,10 +3747,10 @@ function Ri() {
3747
3747
  value: null
3748
3748
  }
3749
3749
  }));
3750
- let Lr = !0, In = !0, zr = !1, jr = !0, Le = !1, Et = !0, Be = !1, Dn = !1, Cn = !1, Je = !1, Gt = !1, qt = !1, Fr = !0, Vr = !1;
3751
- const Hr = "user-content-";
3752
- let Mn = !0, Pn = !1, et = {}, we = null;
3753
- const $n = D({}, [
3750
+ let jr = !0, On = !0, Fr = !1, Vr = !0, Le = !1, Et = !0, Be = !1, Nn = !1, In = null, Dn = null, Cn = !1, Je = !1, Gt = !1, qt = !1, Hr = !0, Ur = !1;
3751
+ const Br = "user-content-";
3752
+ let Mn = !0, $n = !1, et = {}, we = null;
3753
+ const Pn = D({}, [
3754
3754
  "annotation-xml",
3755
3755
  "audio",
3756
3756
  "colgroup",
@@ -3787,47 +3787,47 @@ function Ri() {
3787
3787
  "video",
3788
3788
  "xmp"
3789
3789
  ]);
3790
- let Ur = null;
3791
- const Br = D({}, ["audio", "video", "img", "source", "image", "track"]);
3790
+ let Wr = null;
3791
+ const Gr = D({}, ["audio", "video", "img", "source", "image", "track"]);
3792
3792
  let Ln = null;
3793
- const Wr = D({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Kt = "http://www.w3.org/1998/Math/MathML", Yt = "http://www.w3.org/2000/svg", Ee = "http://www.w3.org/1999/xhtml";
3793
+ const qr = D({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Kt = "http://www.w3.org/1998/Math/MathML", Yt = "http://www.w3.org/2000/svg", Ee = "http://www.w3.org/1999/xhtml";
3794
3794
  let tt = Ee, zn = !1, jn = null;
3795
- const Fi = D({}, [Kt, Yt, Ee], Qn), Gr = J(["mi", "mo", "mn", "ms", "mtext"]);
3796
- let Fn = D({}, Gr);
3797
- const qr = J(["annotation-xml"]);
3798
- let Vn = D({}, qr);
3799
- const Vi = D({}, ["title", "style", "font", "a", "script"]);
3795
+ const Hi = D({}, [Kt, Yt, Ee], Qn), Kr = ee(["mi", "mo", "mn", "ms", "mtext"]);
3796
+ let Fn = D({}, Kr);
3797
+ const Yr = ee(["annotation-xml"]);
3798
+ let Vn = D({}, Yr);
3799
+ const Ui = D({}, ["title", "style", "font", "a", "script"]);
3800
3800
  let Tt = null;
3801
- const Hi = ["application/xhtml+xml", "text/html"], Ui = "text/html";
3802
- let F = null, nt = null;
3803
- const Bi = n.createElement("form"), Kr = function(l) {
3801
+ const Bi = ["application/xhtml+xml", "text/html"], Wi = "text/html";
3802
+ let H = null, nt = null;
3803
+ const Gi = n.createElement("form"), Zr = function(l) {
3804
3804
  return l instanceof RegExp || l instanceof Function;
3805
3805
  }, Hn = function() {
3806
3806
  let l = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
3807
3807
  if (nt && nt === l)
3808
3808
  return;
3809
- (!l || typeof l != "object") && (l = {}), l = ie(l), Tt = // eslint-disable-next-line unicorn/prefer-includes
3810
- Hi.indexOf(l.PARSER_MEDIA_TYPE) === -1 ? Ui : l.PARSER_MEDIA_TYPE, F = Tt === "application/xhtml+xml" ? Qn : Nt, U = je(l, "ALLOWED_TAGS", On, {
3811
- transform: F
3812
- }), B = je(l, "ALLOWED_ATTR", Nn, {
3813
- transform: F
3814
- }), jn = je(l, "ALLOWED_NAMESPACES", Fi, {
3809
+ (!l || typeof l != "object") && (l = {}), l = oe(l), Tt = // eslint-disable-next-line unicorn/prefer-includes
3810
+ Bi.indexOf(l.PARSER_MEDIA_TYPE) === -1 ? Wi : l.PARSER_MEDIA_TYPE, H = Tt === "application/xhtml+xml" ? Qn : Nt, j = je(l, "ALLOWED_TAGS", Pr, {
3811
+ transform: H
3812
+ }), F = je(l, "ALLOWED_ATTR", Lr, {
3813
+ transform: H
3814
+ }), jn = je(l, "ALLOWED_NAMESPACES", Hi, {
3815
3815
  transform: Qn
3816
- }), Ln = je(l, "ADD_URI_SAFE_ATTR", Wr, {
3817
- transform: F,
3818
- base: Wr
3819
- }), Ur = je(l, "ADD_DATA_URI_TAGS", Br, {
3820
- transform: F,
3821
- base: Br
3822
- }), we = je(l, "FORBID_CONTENTS", $n, {
3823
- transform: F
3824
- }), wt = je(l, "FORBID_TAGS", ie({}), {
3825
- transform: F
3826
- }), $r = je(l, "FORBID_ATTR", ie({}), {
3827
- transform: F
3828
- }), et = oe(l, "USE_PROFILES") ? l.USE_PROFILES && typeof l.USE_PROFILES == "object" ? ie(l.USE_PROFILES) : l.USE_PROFILES : !1, Lr = l.ALLOW_ARIA_ATTR !== !1, In = l.ALLOW_DATA_ATTR !== !1, zr = l.ALLOW_UNKNOWN_PROTOCOLS || !1, jr = l.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Le = l.SAFE_FOR_TEMPLATES || !1, Et = l.SAFE_FOR_XML !== !1, Be = l.WHOLE_DOCUMENT || !1, Je = l.RETURN_DOM || !1, Gt = l.RETURN_DOM_FRAGMENT || !1, qt = l.RETURN_TRUSTED_TYPE || !1, Cn = l.FORCE_BODY || !1, Fr = l.SANITIZE_DOM !== !1, Vr = l.SANITIZE_NAMED_PROPS || !1, Mn = l.KEEP_CONTENT !== !1, Pn = l.IN_PLACE || !1, Pr = Ba(l.ALLOWED_URI_REGEXP) ? l.ALLOWED_URI_REGEXP : Rs, tt = typeof l.NAMESPACE == "string" ? l.NAMESPACE : Ee, Fn = oe(l, "MATHML_TEXT_INTEGRATION_POINTS") && l.MATHML_TEXT_INTEGRATION_POINTS && typeof l.MATHML_TEXT_INTEGRATION_POINTS == "object" ? ie(l.MATHML_TEXT_INTEGRATION_POINTS) : D({}, Gr), Vn = oe(l, "HTML_INTEGRATION_POINTS") && l.HTML_INTEGRATION_POINTS && typeof l.HTML_INTEGRATION_POINTS == "object" ? ie(l.HTML_INTEGRATION_POINTS) : D({}, qr);
3829
- const f = oe(l, "CUSTOM_ELEMENT_HANDLING") && l.CUSTOM_ELEMENT_HANDLING && typeof l.CUSTOM_ELEMENT_HANDLING == "object" ? ie(l.CUSTOM_ELEMENT_HANDLING) : at(null);
3830
- if (j = at(null), oe(f, "tagNameCheck") && Kr(f.tagNameCheck) && (j.tagNameCheck = f.tagNameCheck), oe(f, "attributeNameCheck") && Kr(f.attributeNameCheck) && (j.attributeNameCheck = f.attributeNameCheck), oe(f, "allowCustomizedBuiltInElements") && typeof f.allowCustomizedBuiltInElements == "boolean" && (j.allowCustomizedBuiltInElements = f.allowCustomizedBuiltInElements), te(j), Le && (In = !1), Gt && (Je = !0), et && (U = D({}, Ss), B = at(null), et.html === !0 && (D(U, ks), D(B, vs)), et.svg === !0 && (D(U, Jn), D(B, nr), D(B, sn)), et.svgFilters === !0 && (D(U, er), D(B, nr), D(B, sn)), et.mathMl === !0 && (D(U, tr), D(B, As), D(B, sn))), $e.tagCheck = null, $e.attributeCheck = null, oe(l, "ADD_TAGS") && (typeof l.ADD_TAGS == "function" ? $e.tagCheck = l.ADD_TAGS : Ue(l.ADD_TAGS) && (U === On && (U = ie(U)), D(U, l.ADD_TAGS, F))), oe(l, "ADD_ATTR") && (typeof l.ADD_ATTR == "function" ? $e.attributeCheck = l.ADD_ATTR : Ue(l.ADD_ATTR) && (B === Nn && (B = ie(B)), D(B, l.ADD_ATTR, F))), oe(l, "ADD_URI_SAFE_ATTR") && Ue(l.ADD_URI_SAFE_ATTR) && D(Ln, l.ADD_URI_SAFE_ATTR, F), oe(l, "FORBID_CONTENTS") && Ue(l.FORBID_CONTENTS) && (we === $n && (we = ie(we)), D(we, l.FORBID_CONTENTS, F)), oe(l, "ADD_FORBID_CONTENTS") && Ue(l.ADD_FORBID_CONTENTS) && (we === $n && (we = ie(we)), D(we, l.ADD_FORBID_CONTENTS, F)), Mn && (U["#text"] = !0), Be && D(U, ["html", "head", "body"]), U.table && (D(U, ["tbody"]), delete wt.tbody), l.TRUSTED_TYPES_POLICY) {
3816
+ }), Ln = je(l, "ADD_URI_SAFE_ATTR", qr, {
3817
+ transform: H,
3818
+ base: qr
3819
+ }), Wr = je(l, "ADD_DATA_URI_TAGS", Gr, {
3820
+ transform: H,
3821
+ base: Gr
3822
+ }), we = je(l, "FORBID_CONTENTS", Pn, {
3823
+ transform: H
3824
+ }), wt = je(l, "FORBID_TAGS", oe({}), {
3825
+ transform: H
3826
+ }), zr = je(l, "FORBID_ATTR", oe({}), {
3827
+ transform: H
3828
+ }), et = Z(l, "USE_PROFILES") ? l.USE_PROFILES && typeof l.USE_PROFILES == "object" ? oe(l.USE_PROFILES) : l.USE_PROFILES : !1, jr = l.ALLOW_ARIA_ATTR !== !1, On = l.ALLOW_DATA_ATTR !== !1, Fr = l.ALLOW_UNKNOWN_PROTOCOLS || !1, Vr = l.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Le = l.SAFE_FOR_TEMPLATES || !1, Et = l.SAFE_FOR_XML !== !1, Be = l.WHOLE_DOCUMENT || !1, Je = l.RETURN_DOM || !1, Gt = l.RETURN_DOM_FRAGMENT || !1, qt = l.RETURN_TRUSTED_TYPE || !1, Cn = l.FORCE_BODY || !1, Hr = l.SANITIZE_DOM !== !1, Ur = l.SANITIZE_NAMED_PROPS || !1, Mn = l.KEEP_CONTENT !== !1, $n = l.IN_PLACE || !1, $r = Ga(l.ALLOWED_URI_REGEXP) ? l.ALLOWED_URI_REGEXP : Ns, tt = typeof l.NAMESPACE == "string" ? l.NAMESPACE : Ee, Fn = Z(l, "MATHML_TEXT_INTEGRATION_POINTS") && l.MATHML_TEXT_INTEGRATION_POINTS && typeof l.MATHML_TEXT_INTEGRATION_POINTS == "object" ? oe(l.MATHML_TEXT_INTEGRATION_POINTS) : D({}, Kr), Vn = Z(l, "HTML_INTEGRATION_POINTS") && l.HTML_INTEGRATION_POINTS && typeof l.HTML_INTEGRATION_POINTS == "object" ? oe(l.HTML_INTEGRATION_POINTS) : D({}, Yr);
3829
+ const f = Z(l, "CUSTOM_ELEMENT_HANDLING") && l.CUSTOM_ELEMENT_HANDLING && typeof l.CUSTOM_ELEMENT_HANDLING == "object" ? oe(l.CUSTOM_ELEMENT_HANDLING) : at(null);
3830
+ if (V = at(null), Z(f, "tagNameCheck") && Zr(f.tagNameCheck) && (V.tagNameCheck = f.tagNameCheck), Z(f, "attributeNameCheck") && Zr(f.attributeNameCheck) && (V.attributeNameCheck = f.attributeNameCheck), Z(f, "allowCustomizedBuiltInElements") && typeof f.allowCustomizedBuiltInElements == "boolean" && (V.allowCustomizedBuiltInElements = f.allowCustomizedBuiltInElements), ne(V), Le && (On = !1), Gt && (Je = !0), et && (j = D({}, As), F = at(null), et.html === !0 && (D(j, vs), D(F, Rs)), et.svg === !0 && (D(j, Jn), D(F, nr), D(F, sn)), et.svgFilters === !0 && (D(j, er), D(F, nr), D(F, sn)), et.mathMl === !0 && (D(j, tr), D(F, Os), D(F, sn))), Pe.tagCheck = null, Pe.attributeCheck = null, Z(l, "ADD_TAGS") && (typeof l.ADD_TAGS == "function" ? Pe.tagCheck = l.ADD_TAGS : Ue(l.ADD_TAGS) && (j === Pr && (j = oe(j)), D(j, l.ADD_TAGS, H))), Z(l, "ADD_ATTR") && (typeof l.ADD_ATTR == "function" ? Pe.attributeCheck = l.ADD_ATTR : Ue(l.ADD_ATTR) && (F === Lr && (F = oe(F)), D(F, l.ADD_ATTR, H))), Z(l, "ADD_URI_SAFE_ATTR") && Ue(l.ADD_URI_SAFE_ATTR) && D(Ln, l.ADD_URI_SAFE_ATTR, H), Z(l, "FORBID_CONTENTS") && Ue(l.FORBID_CONTENTS) && (we === Pn && (we = oe(we)), D(we, l.FORBID_CONTENTS, H)), Z(l, "ADD_FORBID_CONTENTS") && Ue(l.ADD_FORBID_CONTENTS) && (we === Pn && (we = oe(we)), D(we, l.ADD_FORBID_CONTENTS, H)), Mn && (j["#text"] = !0), Be && D(j, ["html", "head", "body"]), j.table && (D(j, ["tbody"]), delete wt.tbody), l.TRUSTED_TYPES_POLICY) {
3831
3831
  if (typeof l.TRUSTED_TYPES_POLICY.createHTML != "function")
3832
3832
  throw Ge('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
3833
3833
  if (typeof l.TRUSTED_TYPES_POLICY.createScriptURL != "function")
@@ -3840,21 +3840,21 @@ function Ri() {
3840
3840
  throw k = _, E;
3841
3841
  }
3842
3842
  } else l.TRUSTED_TYPES_POLICY === null ? (k = void 0, v = "") : (k === void 0 && (k = yt()), k && typeof v == "string" && (v = I("")));
3843
- (K.uponSanitizeElement.length > 0 || K.uponSanitizeAttribute.length > 0) && U === On && (U = ie(U)), K.uponSanitizeAttribute.length > 0 && B === Nn && (B = ie(B)), J && J(l), nt = l;
3844
- }, Yr = D({}, [...Jn, ...er, ...Wa]), Zr = D({}, [...tr, ...Ga]), Wi = function(l, f, _) {
3845
- return f.namespaceURI === Ee ? l === "svg" : f.namespaceURI === Kt ? l === "svg" && (_ === "annotation-xml" || Fn[_]) : !!Yr[l];
3846
- }, Gi = function(l, f, _) {
3847
- return f.namespaceURI === Ee ? l === "math" : f.namespaceURI === Yt ? l === "math" && Vn[_] : !!Zr[l];
3848
- }, qi = function(l, f, _) {
3849
- return f.namespaceURI === Yt && !Vn[_] || f.namespaceURI === Kt && !Fn[_] ? !1 : !Zr[l] && (Vi[l] || !Yr[l]);
3850
- }, Ki = function(l) {
3843
+ ee && ee(l), nt = l;
3844
+ }, Xr = D({}, [...Jn, ...er, ...qa]), Qr = D({}, [...tr, ...Ka]), qi = function(l, f, _) {
3845
+ return f.namespaceURI === Ee ? l === "svg" : f.namespaceURI === Kt ? l === "svg" && (_ === "annotation-xml" || Fn[_]) : !!Xr[l];
3846
+ }, Ki = function(l, f, _) {
3847
+ return f.namespaceURI === Ee ? l === "math" : f.namespaceURI === Yt ? l === "math" && Vn[_] : !!Qr[l];
3848
+ }, Yi = function(l, f, _) {
3849
+ return f.namespaceURI === Yt && !Vn[_] || f.namespaceURI === Kt && !Fn[_] ? !1 : !Qr[l] && (Ui[l] || !Xr[l]);
3850
+ }, Zi = function(l) {
3851
3851
  let f = A(l);
3852
3852
  (!f || !f.tagName) && (f = {
3853
3853
  namespaceURI: tt,
3854
3854
  tagName: "template"
3855
3855
  });
3856
3856
  const _ = Nt(l.tagName), E = Nt(f.tagName);
3857
- return jn[l.namespaceURI] ? l.namespaceURI === Yt ? Wi(_, f, E) : l.namespaceURI === Kt ? Gi(_, f, E) : l.namespaceURI === Ee ? qi(_, f, E) : !!(Tt === "application/xhtml+xml" && jn[l.namespaceURI]) : !1;
3857
+ return jn[l.namespaceURI] ? l.namespaceURI === Yt ? qi(_, f, E) : l.namespaceURI === Kt ? Ki(_, f, E) : l.namespaceURI === Ee ? Yi(_, f, E) : !!(Tt === "application/xhtml+xml" && jn[l.namespaceURI]) : !1;
3858
3858
  }, ze = function(l) {
3859
3859
  it(e.removed, {
3860
3860
  element: l
@@ -3865,7 +3865,7 @@ function Ri() {
3865
3865
  if (m(l), !A(l))
3866
3866
  throw Ge("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place");
3867
3867
  }
3868
- }, Xr = function(l) {
3868
+ }, Jr = function(l) {
3869
3869
  const f = x(l);
3870
3870
  if (f) {
3871
3871
  const E = [];
@@ -3911,33 +3911,33 @@ function Ri() {
3911
3911
  f.setAttribute(l, "");
3912
3912
  } catch {
3913
3913
  }
3914
- }, Yi = function(l) {
3914
+ }, Xi = function(l) {
3915
3915
  const f = S(l);
3916
3916
  if (f)
3917
3917
  for (let _ = f.length - 1; _ >= 0; --_) {
3918
3918
  const E = f[_], O = E && E.name;
3919
- if (!(typeof O != "string" || B[F(O)]))
3919
+ if (!(typeof O != "string" || F[H(O)]))
3920
3920
  try {
3921
3921
  l.removeAttribute(O);
3922
3922
  } catch {
3923
3923
  }
3924
3924
  }
3925
- }, Zi = function(l) {
3925
+ }, Qi = function(l) {
3926
3926
  const f = [l];
3927
3927
  for (; f.length > 0; ) {
3928
3928
  const _ = f.pop();
3929
- (w ? w(_) : _.nodeType) === Te.element && Yi(_);
3929
+ (w ? w(_) : _.nodeType) === Te.element && Xi(_);
3930
3930
  const O = x(_);
3931
3931
  if (O)
3932
3932
  for (let C = O.length - 1; C >= 0; --C)
3933
3933
  f.push(O[C]);
3934
3934
  }
3935
- }, Qr = function(l) {
3935
+ }, es = function(l) {
3936
3936
  let f = null, _ = null;
3937
3937
  if (Cn)
3938
3938
  l = "<remove></remove>" + l;
3939
3939
  else {
3940
- const C = ws(l, /^[\r\n\t ]+/);
3940
+ const C = Ts(l, /^[\r\n\t ]+/);
3941
3941
  _ = C && C[0];
3942
3942
  }
3943
3943
  Tt === "application/xhtml+xml" && tt === Ee && (l = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + l + "</body></html>");
@@ -3948,15 +3948,15 @@ function Ri() {
3948
3948
  } catch {
3949
3949
  }
3950
3950
  if (!f || !f.documentElement) {
3951
- f = Pe.createDocument(tt, "template", null);
3951
+ f = $e.createDocument(tt, "template", null);
3952
3952
  try {
3953
3953
  f.documentElement.innerHTML = zn ? v : E;
3954
3954
  } catch {
3955
3955
  }
3956
3956
  }
3957
3957
  const O = f.body || f.documentElement;
3958
- return l && _ && O.insertBefore(n.createTextNode(_), O.childNodes[0] || null), tt === Ee ? Ii.call(f, Be ? "html" : "body")[0] : Be ? f.documentElement : O;
3959
- }, Jr = function(l) {
3958
+ return l && _ && O.insertBefore(n.createTextNode(_), O.childNodes[0] || null), tt === Ee ? Ci.call(f, Be ? "html" : "body")[0] : Be ? f.documentElement : O;
3959
+ }, ts = function(l) {
3960
3960
  return Rn.call(
3961
3961
  l.ownerDocument || l,
3962
3962
  l,
@@ -3965,7 +3965,7 @@ function Ri() {
3965
3965
  null
3966
3966
  );
3967
3967
  }, Zt = function(l) {
3968
- return l = Rt(l, Ci, " "), l = Rt(l, Mi, " "), l = Rt(l, Pi, " "), l;
3968
+ return l = Rt(l, $i, " "), l = Rt(l, Pi, " "), l = Rt(l, Li, " "), l;
3969
3969
  }, Un = function(l) {
3970
3970
  var f;
3971
3971
  l.normalize();
@@ -3985,7 +3985,7 @@ function Ri() {
3985
3985
  });
3986
3986
  }, Xt = function(l) {
3987
3987
  const f = T ? T(l) : null;
3988
- return typeof f != "string" || F(f) !== "form" ? !1 : typeof l.nodeName != "string" || typeof l.textContent != "string" || typeof l.removeChild != "function" || // Realm-safe NamedNodeMap detection: equality against the cached
3988
+ return typeof f != "string" || H(f) !== "form" ? !1 : typeof l.nodeName != "string" || typeof l.textContent != "string" || typeof l.removeChild != "function" || // Realm-safe NamedNodeMap detection: equality against the cached
3989
3989
  // prototype getter. Clobbered .attributes (e.g. <input name="attributes">)
3990
3990
  // makes the direct read diverge from the cached read; a clean form
3991
3991
  // (same-realm OR foreign-realm) has both reads pointing at the same
@@ -4026,39 +4026,39 @@ function Ri() {
4026
4026
  return !1;
4027
4027
  }
4028
4028
  };
4029
- function Re(y, l, f) {
4030
- y.length !== 0 && At(y, (_) => {
4029
+ function Re(b, l, f) {
4030
+ b.length !== 0 && At(b, (_) => {
4031
4031
  _.call(e, l, f, nt);
4032
4032
  });
4033
4033
  }
4034
- const Xi = function(l, f) {
4035
- return !!(Et && l.hasChildNodes() && !xt(l.firstElementChild) && X(Os, l.textContent) && X(Os, l.innerHTML) || Et && l.namespaceURI === Ee && f === "style" && xt(l.firstElementChild) || l.nodeType === Te.processingInstruction || Et && l.nodeType === Te.comment && X(nc, l.data));
4036
- }, Qi = function(l, f) {
4037
- if (!wt[f] && ns(f) && (j.tagNameCheck instanceof RegExp && X(j.tagNameCheck, f) || j.tagNameCheck instanceof Function && j.tagNameCheck(f)))
4034
+ const Ji = function(l, f) {
4035
+ return !!(Et && l.hasChildNodes() && !xt(l.firstElementChild) && Q(Is, l.textContent) && Q(Is, l.innerHTML) || Et && l.namespaceURI === Ee && f === "style" && xt(l.firstElementChild) || l.nodeType === Te.processingInstruction || Et && l.nodeType === Te.comment && Q(sc, l.data));
4036
+ }, eo = function(l, f) {
4037
+ if (!wt[f] && ss(f) && (V.tagNameCheck instanceof RegExp && Q(V.tagNameCheck, f) || V.tagNameCheck instanceof Function && V.tagNameCheck(f)))
4038
4038
  return !1;
4039
4039
  if (Mn && !we[f]) {
4040
4040
  const _ = A(l), E = x(l);
4041
4041
  if (E && _) {
4042
4042
  const O = E.length;
4043
4043
  for (let C = O - 1; C >= 0; --C) {
4044
- const Y = Pn ? E[C] : g(E[C], !0);
4045
- _.insertBefore(Y, b(l));
4044
+ const Y = $n ? E[C] : g(E[C], !0);
4045
+ _.insertBefore(Y, y(l));
4046
4046
  }
4047
4047
  }
4048
4048
  }
4049
4049
  return ze(l), !0;
4050
- }, es = function(l) {
4051
- if (Re(K.beforeSanitizeElements, l, null), Xt(l))
4050
+ }, ns = function(l) {
4051
+ if (Re(W.beforeSanitizeElements, l, null), Xt(l))
4052
4052
  return ze(l), !0;
4053
- const f = F(T ? T(l) : l.nodeName);
4054
- if (Re(K.uponSanitizeElement, l, {
4053
+ const f = H(T ? T(l) : l.nodeName);
4054
+ if (Re(W.uponSanitizeElement, l, {
4055
4055
  tagName: f,
4056
- allowedTags: U
4057
- }), Xi(l, f))
4056
+ allowedTags: j
4057
+ }), Ji(l, f))
4058
4058
  return ze(l), !0;
4059
- if (wt[f] || !($e.tagCheck instanceof Function && $e.tagCheck(f)) && !U[f])
4060
- return Qi(l, f);
4061
- if ((w ? w(l) : l.nodeType) === Te.element && !Ki(l) || (f === "noscript" || f === "noembed" || f === "noframes") && X(rc, l.innerHTML))
4059
+ if (wt[f] || !(Pe.tagCheck instanceof Function && Pe.tagCheck(f)) && !j[f])
4060
+ return eo(l, f);
4061
+ if ((w ? w(l) : l.nodeType) === Te.element && !Zi(l) || (f === "noscript" || f === "noembed" || f === "noframes") && Q(ic, l.innerHTML))
4062
4062
  return ze(l), !0;
4063
4063
  if (Le && l.nodeType === Te.text) {
4064
4064
  const E = Zt(l.textContent);
@@ -4066,18 +4066,18 @@ function Ri() {
4066
4066
  element: l.cloneNode()
4067
4067
  }), l.textContent = E);
4068
4068
  }
4069
- return Re(K.afterSanitizeElements, l, null), !1;
4070
- }, ts = function(l, f, _) {
4071
- if ($r[f] || Fr && (f === "id" || f === "name") && (_ in n || _ in Bi))
4069
+ return Re(W.afterSanitizeElements, l, null), !1;
4070
+ }, rs = function(l, f, _) {
4071
+ if (zr[f] || Hr && (f === "id" || f === "name") && (_ in n || _ in Gi))
4072
4072
  return !1;
4073
- const E = B[f] || $e.attributeCheck instanceof Function && $e.attributeCheck(f, l);
4074
- if (!(In && X($i, f))) {
4075
- if (!(Lr && X(Li, f))) {
4073
+ const E = F[f] || Pe.attributeCheck instanceof Function && Pe.attributeCheck(f, l);
4074
+ if (!(On && Q(zi, f))) {
4075
+ if (!(jr && Q(ji, f))) {
4076
4076
  if (E) {
4077
4077
  if (!Ln[f]) {
4078
- if (!X(Pr, Rt(_, Mr, ""))) {
4079
- if (!((f === "src" || f === "xlink:href" || f === "href") && l !== "script" && Es(_, "data:") === 0 && Ur[l])) {
4080
- if (!(zr && !X(zi, Rt(_, Mr, "")))) {
4078
+ if (!Q($r, Rt(_, Mr, ""))) {
4079
+ if (!((f === "src" || f === "xlink:href" || f === "href") && l !== "script" && xs(_, "data:") === 0 && Wr[l])) {
4080
+ if (!(Fr && !Q(Fi, Rt(_, Mr, "")))) {
4081
4081
  if (_)
4082
4082
  return !1;
4083
4083
  }
@@ -4088,32 +4088,32 @@ function Ri() {
4088
4088
  // First condition does a very basic check if a) it's basically a valid custom element tagname AND
4089
4089
  // b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
4090
4090
  // and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
4091
- !(ns(l) && (j.tagNameCheck instanceof RegExp && X(j.tagNameCheck, l) || j.tagNameCheck instanceof Function && j.tagNameCheck(l)) && (j.attributeNameCheck instanceof RegExp && X(j.attributeNameCheck, f) || j.attributeNameCheck instanceof Function && j.attributeNameCheck(f, l)) || // Alternative, second condition checks if it's an `is`-attribute, AND
4091
+ !(ss(l) && (V.tagNameCheck instanceof RegExp && Q(V.tagNameCheck, l) || V.tagNameCheck instanceof Function && V.tagNameCheck(l)) && (V.attributeNameCheck instanceof RegExp && Q(V.attributeNameCheck, f) || V.attributeNameCheck instanceof Function && V.attributeNameCheck(f, l)) || // Alternative, second condition checks if it's an `is`-attribute, AND
4092
4092
  // the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
4093
- f === "is" && j.allowCustomizedBuiltInElements && (j.tagNameCheck instanceof RegExp && X(j.tagNameCheck, _) || j.tagNameCheck instanceof Function && j.tagNameCheck(_)))
4093
+ f === "is" && V.allowCustomizedBuiltInElements && (V.tagNameCheck instanceof RegExp && Q(V.tagNameCheck, _) || V.tagNameCheck instanceof Function && V.tagNameCheck(_)))
4094
4094
  ) return !1;
4095
4095
  }
4096
4096
  }
4097
4097
  return !0;
4098
- }, Ji = D({}, ["annotation-xml", "color-profile", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "missing-glyph"]), ns = function(l) {
4099
- return !Ji[Nt(l)] && X(ji, l);
4100
- }, eo = function(l, f, _, E) {
4098
+ }, to = D({}, ["annotation-xml", "color-profile", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "missing-glyph"]), ss = function(l) {
4099
+ return !to[Nt(l)] && Q(Vi, l);
4100
+ }, no = function(l, f, _, E) {
4101
4101
  if (k && typeof u == "object" && typeof u.getAttributeType == "function" && !_)
4102
4102
  switch (u.getAttributeType(l, f)) {
4103
4103
  case "TrustedHTML":
4104
4104
  return I(E);
4105
4105
  case "TrustedScriptURL":
4106
- return re(E);
4106
+ return se(E);
4107
4107
  }
4108
4108
  return E;
4109
- }, to = function(l, f, _, E) {
4109
+ }, ro = function(l, f, _, E) {
4110
4110
  try {
4111
- _ ? l.setAttributeNS(_, f, E) : l.setAttribute(f, E), Xt(l) ? ze(l) : ys(e.removed);
4111
+ _ ? l.setAttributeNS(_, f, E) : l.setAttribute(f, E), Xt(l) ? ze(l) : Es(e.removed);
4112
4112
  } catch {
4113
4113
  We(f, l);
4114
4114
  }
4115
- }, rs = function(l) {
4116
- Re(K.beforeSanitizeAttributes, l, null);
4115
+ }, is = function(l) {
4116
+ Re(W.beforeSanitizeAttributes, l, null);
4117
4117
  const f = l.attributes;
4118
4118
  if (!f || Xt(l))
4119
4119
  return;
@@ -4121,19 +4121,19 @@ function Ri() {
4121
4121
  attrName: "",
4122
4122
  attrValue: "",
4123
4123
  keepAttr: !0,
4124
- allowedAttributes: B,
4124
+ allowedAttributes: F,
4125
4125
  forceKeepAttr: void 0
4126
4126
  };
4127
4127
  let E = f.length;
4128
- const O = F(l.nodeName);
4128
+ const O = H(l.nodeName);
4129
4129
  for (; E--; ) {
4130
- const C = f[E], Y = C.name, G = C.namespaceURI, de = C.value, be = F(Y), Wn = de;
4131
- let se = Y === "value" ? Wn : za(Wn);
4132
- if (_.attrName = be, _.attrValue = se, _.keepAttr = !0, _.forceKeepAttr = void 0, Re(K.uponSanitizeAttribute, l, _), se = _.attrValue, Vr && (be === "id" || be === "name") && Es(se, Hr) !== 0 && (We(Y, l), se = Hr + se), Et && X(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, se)) {
4130
+ const C = f[E], Y = C.name, q = C.namespaceURI, de = C.value, be = H(Y), Wn = de;
4131
+ let ie = Y === "value" ? Wn : Fa(Wn);
4132
+ if (_.attrName = be, _.attrValue = ie, _.keepAttr = !0, _.forceKeepAttr = void 0, Re(W.uponSanitizeAttribute, l, _), ie = _.attrValue, Ur && (be === "id" || be === "name") && xs(ie, Br) !== 0 && (We(Y, l), ie = Br + ie), Et && Q(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, ie)) {
4133
4133
  We(Y, l);
4134
4134
  continue;
4135
4135
  }
4136
- if (be === "attributename" && ws(se, "href")) {
4136
+ if (be === "attributename" && Ts(ie, "href")) {
4137
4137
  We(Y, l);
4138
4138
  continue;
4139
4139
  }
@@ -4142,27 +4142,27 @@ function Ri() {
4142
4142
  We(Y, l);
4143
4143
  continue;
4144
4144
  }
4145
- if (!jr && X(sc, se)) {
4145
+ if (!Vr && Q(oc, ie)) {
4146
4146
  We(Y, l);
4147
4147
  continue;
4148
4148
  }
4149
- if (Le && (se = Zt(se)), !ts(O, be, se)) {
4149
+ if (Le && (ie = Zt(ie)), !rs(O, be, ie)) {
4150
4150
  We(Y, l);
4151
4151
  continue;
4152
4152
  }
4153
- se = eo(O, be, G, se), se !== Wn && to(l, Y, G, se);
4153
+ ie = no(O, be, q, ie), ie !== Wn && ro(l, Y, q, ie);
4154
4154
  }
4155
4155
  }
4156
- Re(K.afterSanitizeAttributes, l, null);
4156
+ Re(W.afterSanitizeAttributes, l, null);
4157
4157
  }, Qt = function(l) {
4158
4158
  let f = null;
4159
- const _ = Jr(l);
4160
- for (Re(K.beforeSanitizeShadowDOM, l, null); f = _.nextNode(); )
4161
- if (Re(K.uponSanitizeShadowNode, f, null), es(f), rs(f), rt(f.content) && Qt(f.content), (w ? w(f) : f.nodeType) === Te.element) {
4159
+ const _ = ts(l);
4160
+ for (Re(W.beforeSanitizeShadowDOM, l, null); f = _.nextNode(); )
4161
+ if (Re(W.uponSanitizeShadowNode, f, null), ns(f), is(f), rt(f.content) && Qt(f.content), (w ? w(f) : f.nodeType) === Te.element) {
4162
4162
  const O = R(f);
4163
4163
  rt(O) && (Bn(O), Qt(O));
4164
4164
  }
4165
- Re(K.afterSanitizeShadowDOM, l, null);
4165
+ Re(W.afterSanitizeShadowDOM, l, null);
4166
4166
  }, Bn = function(l) {
4167
4167
  const f = [{
4168
4168
  node: l,
@@ -4176,14 +4176,14 @@ function Ri() {
4176
4176
  }
4177
4177
  const E = _.node, C = (w ? w(E) : E.nodeType) === Te.element, Y = x(E);
4178
4178
  if (Y)
4179
- for (let G = Y.length - 1; G >= 0; --G)
4179
+ for (let q = Y.length - 1; q >= 0; --q)
4180
4180
  f.push({
4181
- node: Y[G],
4181
+ node: Y[q],
4182
4182
  shadow: null
4183
4183
  });
4184
4184
  if (C) {
4185
- const G = T ? T(E) : null;
4186
- if (typeof G == "string" && F(G) === "template") {
4185
+ const q = T ? T(E) : null;
4186
+ if (typeof q == "string" && H(q) === "template") {
4187
4187
  const de = E.content;
4188
4188
  rt(de) && f.push({
4189
4189
  node: de,
@@ -4192,102 +4192,104 @@ function Ri() {
4192
4192
  }
4193
4193
  }
4194
4194
  if (C) {
4195
- const G = R(E);
4196
- rt(G) && f.push({
4195
+ const q = R(E);
4196
+ rt(q) && f.push({
4197
4197
  node: null,
4198
- shadow: G
4198
+ shadow: q
4199
4199
  }, {
4200
- node: G,
4200
+ node: q,
4201
4201
  shadow: null
4202
4202
  });
4203
4203
  }
4204
4204
  }
4205
4205
  };
4206
- return e.sanitize = function(y) {
4206
+ return e.sanitize = function(b) {
4207
4207
  let l = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, f = null, _ = null, E = null, O = null;
4208
- if (zn = !y, zn && (y = "<!-->"), typeof y != "string" && !xt(y) && (y = Ua(y), typeof y != "string"))
4208
+ if (zn = !b, zn && (b = "<!-->"), typeof b != "string" && !xt(b) && (b = Wa(b), typeof b != "string"))
4209
4209
  throw Ge("dirty is not a string, aborting");
4210
4210
  if (!e.isSupported)
4211
- return y;
4212
- Dn || Hn(l), e.removed = [];
4213
- const C = Pn && typeof y != "string" && xt(y);
4211
+ return b;
4212
+ Nn ? (j = In, F = Dn) : Hn(l), (W.uponSanitizeElement.length > 0 || W.uponSanitizeAttribute.length > 0) && (j = oe(j)), W.uponSanitizeAttribute.length > 0 && (F = oe(F)), e.removed = [];
4213
+ const C = $n && typeof b != "string" && xt(b);
4214
4214
  if (C) {
4215
- const de = T ? T(y) : y.nodeName;
4215
+ const de = T ? T(b) : b.nodeName;
4216
4216
  if (typeof de == "string") {
4217
- const be = F(de);
4218
- if (!U[be] || wt[be])
4217
+ const be = H(de);
4218
+ if (!j[be] || wt[be])
4219
4219
  throw Ge("root node is forbidden and cannot be sanitized in-place");
4220
4220
  }
4221
- if (Xt(y))
4221
+ if (Xt(b))
4222
4222
  throw Ge("root node is clobbered and cannot be sanitized in-place");
4223
4223
  try {
4224
- Bn(y);
4224
+ Bn(b);
4225
4225
  } catch (be) {
4226
- throw Xr(y), be;
4226
+ throw Jr(b), be;
4227
4227
  }
4228
- } else if (xt(y))
4229
- f = Qr("<!---->"), _ = f.ownerDocument.importNode(y, !0), _.nodeType === Te.element && _.nodeName === "BODY" || _.nodeName === "HTML" ? f = _ : f.appendChild(_), Bn(_);
4228
+ } else if (xt(b))
4229
+ f = es("<!---->"), _ = f.ownerDocument.importNode(b, !0), _.nodeType === Te.element && _.nodeName === "BODY" || _.nodeName === "HTML" ? f = _ : f.appendChild(_), Bn(_);
4230
4230
  else {
4231
4231
  if (!Je && !Le && !Be && // eslint-disable-next-line unicorn/prefer-includes
4232
- y.indexOf("<") === -1)
4233
- return k && qt ? I(y) : y;
4234
- if (f = Qr(y), !f)
4232
+ b.indexOf("<") === -1)
4233
+ return k && qt ? I(b) : b;
4234
+ if (f = es(b), !f)
4235
4235
  return Je ? null : qt ? v : "";
4236
4236
  }
4237
4237
  f && Cn && ze(f.firstChild);
4238
- const Y = Jr(C ? y : f);
4238
+ const Y = ts(C ? b : f);
4239
4239
  try {
4240
4240
  for (; E = Y.nextNode(); )
4241
- es(E), rs(E), rt(E.content) && Qt(E.content);
4241
+ ns(E), is(E), rt(E.content) && Qt(E.content);
4242
4242
  } catch (de) {
4243
- throw C && Xr(y), de;
4243
+ throw C && Jr(b), de;
4244
4244
  }
4245
4245
  if (C)
4246
4246
  return At(e.removed, (de) => {
4247
- de.element && Zi(de.element);
4248
- }), Le && Un(y), y;
4247
+ de.element && Qi(de.element);
4248
+ }), Le && Un(b), b;
4249
4249
  if (Je) {
4250
4250
  if (Le && Un(f), Gt)
4251
- for (O = Ni.call(f.ownerDocument); f.firstChild; )
4251
+ for (O = Di.call(f.ownerDocument); f.firstChild; )
4252
4252
  O.appendChild(f.firstChild);
4253
4253
  else
4254
4254
  O = f;
4255
- return (B.shadowroot || B.shadowrootmode) && (O = Di.call(r, O, !0)), O;
4255
+ return (F.shadowroot || F.shadowrootmode) && (O = Mi.call(r, O, !0)), O;
4256
4256
  }
4257
- let G = Be ? f.outerHTML : f.innerHTML;
4258
- return Be && U["!doctype"] && f.ownerDocument && f.ownerDocument.doctype && f.ownerDocument.doctype.name && X(ec, f.ownerDocument.doctype.name) && (G = "<!DOCTYPE " + f.ownerDocument.doctype.name + `>
4259
- ` + G), Le && (G = Zt(G)), k && qt ? I(G) : G;
4257
+ let q = Be ? f.outerHTML : f.innerHTML;
4258
+ return Be && j["!doctype"] && f.ownerDocument && f.ownerDocument.doctype && f.ownerDocument.doctype.name && Q(nc, f.ownerDocument.doctype.name) && (q = "<!DOCTYPE " + f.ownerDocument.doctype.name + `>
4259
+ ` + q), Le && (q = Zt(q)), k && qt ? I(q) : q;
4260
4260
  }, e.setConfig = function() {
4261
- let y = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
4262
- Hn(y), Dn = !0;
4261
+ let b = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
4262
+ Hn(b), Nn = !0, In = j, Dn = F;
4263
4263
  }, e.clearConfig = function() {
4264
- nt = null, Dn = !1, k = z, v = "";
4265
- }, e.isValidAttribute = function(y, l, f) {
4264
+ nt = null, Nn = !1, In = null, Dn = null, k = z, v = "";
4265
+ }, e.isValidAttribute = function(b, l, f) {
4266
4266
  nt || Hn({});
4267
- const _ = F(y), E = F(l);
4268
- return ts(_, E, f);
4269
- }, e.addHook = function(y, l) {
4270
- typeof l == "function" && it(K[y], l);
4271
- }, e.removeHook = function(y, l) {
4272
- if (l !== void 0) {
4273
- const f = $a(K[y], l);
4274
- return f === -1 ? void 0 : La(K[y], f, 1)[0];
4267
+ const _ = H(b), E = H(l);
4268
+ return rs(_, E, f);
4269
+ }, e.addHook = function(b, l) {
4270
+ typeof l == "function" && Z(W, b) && it(W[b], l);
4271
+ }, e.removeHook = function(b, l) {
4272
+ if (Z(W, b)) {
4273
+ if (l !== void 0) {
4274
+ const f = za(W[b], l);
4275
+ return f === -1 ? void 0 : ja(W[b], f, 1)[0];
4276
+ }
4277
+ return Es(W[b]);
4275
4278
  }
4276
- return ys(K[y]);
4277
- }, e.removeHooks = function(y) {
4278
- K[y] = [];
4279
+ }, e.removeHooks = function(b) {
4280
+ Z(W, b) && (W[b] = []);
4279
4281
  }, e.removeAllHooks = function() {
4280
- K = Ns();
4282
+ W = Ds();
4281
4283
  }, e;
4282
4284
  }
4283
- var lc = Ri();
4284
- const ac = {
4285
+ var cc = Ni();
4286
+ const uc = {
4285
4287
  tooltipAttributes: {
4286
4288
  maxWidth: "300px",
4287
4289
  placement: "top"
4288
4290
  }
4289
4291
  };
4290
- function Oi(t, e = "") {
4292
+ function Ii(t, e = "") {
4291
4293
  const n = {}, r = t;
4292
4294
  return Array.isArray(r.fields) ? Object.assign(n, Sn(r, e)) : t.type === "array" && t.elements ? Object.assign(n, vn(t, e)) : t.type === "map" && t.values && Object.assign(n, An(t, e)), n;
4293
4295
  }
@@ -4295,7 +4297,7 @@ function Sn(t, e = "") {
4295
4297
  const n = {};
4296
4298
  if (Array.isArray(t.fields))
4297
4299
  for (const r of t.fields) {
4298
- const s = Object.keys(r)[0], i = r[s], o = e ? V(e, s) : s;
4300
+ const s = Object.keys(r)[0], i = r[s], o = e ? U(e, s) : s;
4299
4301
  if (n[o] = i, i.type === "record" && Array.isArray(i.fields)) {
4300
4302
  const a = Sn(i, o);
4301
4303
  Object.assign(n, a);
@@ -4312,7 +4314,7 @@ function Sn(t, e = "") {
4312
4314
  function vn(t, e = "") {
4313
4315
  const n = {};
4314
4316
  if (t.elements) {
4315
- const r = t.elements, s = V(e, gi);
4317
+ const r = t.elements, s = U(e, _i);
4316
4318
  if (n[s] = r, r.type === "record" && Array.isArray(r.fields)) {
4317
4319
  const i = Sn(r, s);
4318
4320
  Object.assign(n, i);
@@ -4327,7 +4329,7 @@ function vn(t, e = "") {
4327
4329
  return n;
4328
4330
  }
4329
4331
  function An(t, e = "") {
4330
- const n = {}, r = V(e, vr);
4332
+ const n = {}, r = U(e, vr);
4331
4333
  if (n[r] = t.values, t.values.type === "record" && Array.isArray(t.values.fields)) {
4332
4334
  const s = Sn(t.values, r);
4333
4335
  Object.assign(n, s);
@@ -4343,13 +4345,13 @@ function An(t, e = "") {
4343
4345
  function Wt(t, e) {
4344
4346
  const n = ht(t), r = [];
4345
4347
  for (let s = 0; s < n.length; s++) {
4346
- const i = n[s], o = r.length > 0 ? V(...r) : "", a = o ? e[o] : void 0;
4347
- (a == null ? void 0 : a.type) === "map" ? r.push(vr) : (a == null ? void 0 : a.type) === "array" ? r.push(gi) : r.push(i);
4348
+ const i = n[s], o = r.length > 0 ? U(...r) : "", a = o ? e[o] : void 0;
4349
+ (a == null ? void 0 : a.type) === "map" ? r.push(vr) : (a == null ? void 0 : a.type) === "array" ? r.push(_i) : r.push(i);
4348
4350
  }
4349
- return V(...r);
4351
+ return U(...r);
4350
4352
  }
4351
- function cc(t) {
4352
- const e = ce(t), n = ur(() => e ? Oi(e) : {});
4353
+ function fc(t) {
4354
+ const e = ce(t), n = ur(() => e ? Ii(e) : {});
4353
4355
  function r(h) {
4354
4356
  var g;
4355
4357
  if (h) {
@@ -4365,8 +4367,8 @@ function cc(t) {
4365
4367
  function i(h, g) {
4366
4368
  const m = {};
4367
4369
  if (Array.isArray(h.fields))
4368
- for (const b of h.fields) {
4369
- const x = Object.keys(b)[0], A = g ? `${g}.${x}` : x, R = s(A, !1);
4370
+ for (const y of h.fields) {
4371
+ const x = Object.keys(y)[0], A = g ? `${g}.${x}` : x, R = s(A, !1);
4370
4372
  R !== void 0 && (m[x] = R);
4371
4373
  }
4372
4374
  return m;
@@ -4375,9 +4377,9 @@ function cc(t) {
4375
4377
  return h ? s(h, !0) : i(r(), "");
4376
4378
  }
4377
4379
  function a(h) {
4378
- const g = r(h), m = g != null && g.description ? lc.sanitize(P.parse(g.description, { async: !1 })) : void 0;
4380
+ const g = r(h), m = g != null && g.description ? cc.sanitize($.parse(g.description, { async: !1 })) : void 0;
4379
4381
  return {
4380
- ...ac,
4382
+ ...uc,
4381
4383
  "data-testid": `ff-label-${h}`,
4382
4384
  info: m
4383
4385
  };
@@ -4385,24 +4387,24 @@ function cc(t) {
4385
4387
  function c(h) {
4386
4388
  var m;
4387
4389
  const g = r(h);
4388
- return Ul((g == null ? void 0 : g.one_of) || ((m = g.elements) == null ? void 0 : m.one_of) || []);
4390
+ return Wl((g == null ? void 0 : g.one_of) || ((m = g.elements) == null ? void 0 : m.one_of) || []);
4389
4391
  }
4390
4392
  function p(h) {
4391
4393
  const g = r(h), m = g == null ? void 0 : g.default;
4392
- let b = null;
4394
+ let y = null;
4393
4395
  if ((g == null ? void 0 : g.type) === "foreign" && (m != null && m.id))
4394
- b = m.id;
4396
+ y = m.id;
4395
4397
  else {
4396
4398
  if (m == null || typeof m == "object" || m === "")
4397
4399
  return null;
4398
4400
  if (Array.isArray(m)) {
4399
4401
  if (m.length === 0)
4400
4402
  return null;
4401
- b = m.join(", ");
4403
+ y = m.join(", ");
4402
4404
  } else
4403
- b = m.toString();
4405
+ y = m.toString();
4404
4406
  }
4405
- return `Default: ${b}`;
4407
+ return `Default: ${y}`;
4406
4408
  }
4407
4409
  function d() {
4408
4410
  return n.value;
@@ -4421,35 +4423,35 @@ function cc(t) {
4421
4423
  getEmptyOrDefault: u
4422
4424
  };
4423
4425
  }
4424
- const gt = /* @__PURE__ */ new WeakMap(), uc = /* @__NO_SIDE_EFFECTS__ */ (...t) => {
4426
+ const gt = /* @__PURE__ */ new WeakMap(), pc = /* @__NO_SIDE_EFFECTS__ */ (...t) => {
4425
4427
  var e;
4426
- const n = t[0], r = (e = bt()) === null || e === void 0 ? void 0 : e.proxy, s = r ?? Ps();
4427
- if (s == null && !fl()) throw new Error("injectLocal must be called in setup");
4428
- return s && gt.has(s) && n in gt.get(s) ? gt.get(s)[n] : si(...t);
4428
+ const n = t[0], r = (e = bt()) === null || e === void 0 ? void 0 : e.proxy, s = r ?? Ls();
4429
+ if (s == null && !dl()) throw new Error("injectLocal must be called in setup");
4430
+ return s && gt.has(s) && n in gt.get(s) ? gt.get(s)[n] : oi(...t);
4429
4431
  };
4430
- function fc(t, e) {
4432
+ function dc(t, e) {
4431
4433
  var n;
4432
- const r = (n = bt()) === null || n === void 0 ? void 0 : n.proxy, s = r ?? Ps();
4434
+ const r = (n = bt()) === null || n === void 0 ? void 0 : n.proxy, s = r ?? Ls();
4433
4435
  if (s == null) throw new Error("provideLocal must be called in setup");
4434
4436
  gt.has(s) || gt.set(s, /* @__PURE__ */ Object.create(null));
4435
4437
  const i = gt.get(s);
4436
- return i[t] = e, ri(t, e);
4438
+ return i[t] = e, ii(t, e);
4437
4439
  }
4438
- function pc(t, e) {
4440
+ function hc(t, e) {
4439
4441
  const n = Symbol(t.name || "InjectionState"), r = void 0;
4440
4442
  return [(...o) => {
4441
4443
  const a = t(...o);
4442
- return fc(n, a), a;
4443
- }, () => /* @__PURE__ */ uc(n, r)];
4444
+ return dc(n, a), a;
4445
+ }, () => /* @__PURE__ */ pc(n, r)];
4444
4446
  }
4445
4447
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
4446
- const Is = Symbol("ff-render-rule-exact-match");
4447
- function dc(t, e) {
4448
+ const Cs = Symbol("ff-render-rule-exact-match");
4449
+ function gc(t, e) {
4448
4450
  const n = /* @__PURE__ */ lr({}), r = /* @__PURE__ */ lr(/* @__PURE__ */ new Set());
4449
- function s(b, x) {
4450
- const A = b.map((S) => ht(S).length), R = A[0];
4451
+ function s(y, x) {
4452
+ const A = y.map((S) => ht(S).length), R = A[0];
4451
4453
  if (!A.every((S) => S === R)) {
4452
- const S = b.map((w, T) => ` - '${w}' is at level ${A[T]}`).join(`
4454
+ const S = y.map((w, T) => ` - '${w}' is at level ${A[T]}`).join(`
4453
4455
  `);
4454
4456
  throw new Error(
4455
4457
  `${x}: Fields must be at the same level. Found mixed levels:
@@ -4457,8 +4459,8 @@ ${S}`
4457
4459
  );
4458
4460
  }
4459
4461
  }
4460
- function i(b) {
4461
- for (const [x, A] of Object.entries(b)) {
4462
+ function i(y) {
4463
+ for (const [x, A] of Object.entries(y)) {
4462
4464
  if (!A.bundles) continue;
4463
4465
  for (const S of A.bundles)
4464
4466
  if (new Set(S).size !== S.length) {
@@ -4476,18 +4478,18 @@ ${S}`
4476
4478
  for (const S of R.keys()) {
4477
4479
  let w = function(v) {
4478
4480
  if (k.includes(v)) {
4479
- const ne = [...k, v].join(" -> ");
4481
+ const re = [...k, v].join(" -> ");
4480
4482
  throw new Error(
4481
4483
  `Circular bundle detected in path '${x}':
4482
- ${ne}`
4484
+ ${re}`
4483
4485
  );
4484
4486
  }
4485
4487
  if (T.has(v)) return;
4486
4488
  T.add(v), k.push(v);
4487
4489
  const z = R.get(v);
4488
4490
  if (z)
4489
- for (const ne of z)
4490
- w(ne);
4491
+ for (const re of z)
4492
+ w(re);
4491
4493
  k.pop();
4492
4494
  };
4493
4495
  const T = /* @__PURE__ */ new Set(), k = [];
@@ -4495,8 +4497,8 @@ ${ne}`
4495
4497
  }
4496
4498
  }
4497
4499
  }
4498
- function o(b) {
4499
- for (const [x, A] of Object.entries(b))
4500
+ function o(y) {
4501
+ for (const [x, A] of Object.entries(y))
4500
4502
  if (A.dependencies)
4501
4503
  for (const R of Object.keys(A.dependencies)) {
4502
4504
  let S = function(k) {
@@ -4520,21 +4522,21 @@ ${z}`
4520
4522
  S(R);
4521
4523
  }
4522
4524
  }
4523
- function a(b, x) {
4524
- const A = b.map((S) => x ? V(x, S) : S), R = ht(A[0]);
4525
- return R.pop(), V(...R);
4525
+ function a(y, x) {
4526
+ const A = y.map((S) => x ? U(x, S) : S), R = ht(A[0]);
4527
+ return R.pop(), U(...R);
4526
4528
  }
4527
- function c(b, x) {
4528
- if (!x) return b;
4529
+ function c(y, x) {
4530
+ if (!x) return y;
4529
4531
  const A = `${x}${xn}`;
4530
- return b.startsWith(A) ? b.slice(A.length) : b;
4532
+ return y.startsWith(A) ? y.slice(A.length) : y;
4531
4533
  }
4532
- function p(b) {
4533
- const x = ht(b);
4534
- return x.pop(), V(...x);
4534
+ function p(y) {
4535
+ const x = ht(y);
4536
+ return x.pop(), U(...x);
4535
4537
  }
4536
4538
  const d = ur(() => {
4537
- const b = {};
4539
+ const y = {};
4538
4540
  for (const [x, A] of Object.entries(n.value)) {
4539
4541
  const R = x === dt ? "" : x;
4540
4542
  if (A.bundles)
@@ -4543,39 +4545,39 @@ ${z}`
4543
4545
  throw new Error(
4544
4546
  `Bundle must contain at least 2 fields. Found ${S.length} field(s) in bundle: [${S.join(", ")}]`
4545
4547
  );
4546
- const w = S.map((v) => R ? V(R, v) : v);
4548
+ const w = S.map((v) => R ? U(R, v) : v);
4547
4549
  s(w, `Bundle [${S.join(", ")}]`);
4548
4550
  const T = a(S, R) || dt;
4549
- b[T] || (b[T] = {}), b[T].bundles || (b[T].bundles = []);
4551
+ y[T] || (y[T] = {}), y[T].bundles || (y[T].bundles = []);
4550
4552
  const k = w.map((v) => c(v, T));
4551
- b[T].bundles.push(k);
4553
+ y[T].bundles.push(k);
4552
4554
  }
4553
4555
  if (A.dependencies)
4554
4556
  for (const [S, [w, T]] of Object.entries(A.dependencies)) {
4555
- const k = R ? V(R, S) : S, v = R ? V(R, w) : w;
4557
+ const k = R ? U(R, S) : S, v = R ? U(R, w) : w;
4556
4558
  s(
4557
4559
  [k, v],
4558
4560
  `Dependency '${S}' -> '${w}'`
4559
4561
  );
4560
4562
  const z = p(k) || dt;
4561
- b[z] || (b[z] = {}), b[z].dependencies || (b[z].dependencies = {});
4562
- const ne = c(k, z), _e = c(v, z);
4563
- b[z].dependencies[ne] = [_e, T];
4563
+ y[z] || (y[z] = {}), y[z].dependencies || (y[z].dependencies = {});
4564
+ const re = c(k, z), _e = c(v, z);
4565
+ y[z].dependencies[re] = [_e, T];
4564
4566
  }
4565
4567
  }
4566
- return i(b), o(b), b;
4568
+ return i(y), o(y), y;
4567
4569
  });
4568
- function u(b) {
4569
- if (!b)
4570
+ function u(y) {
4571
+ if (!y)
4570
4572
  return d.value;
4571
- const x = Wt(b, e());
4573
+ const x = Wt(y, e());
4572
4574
  return d.value[x];
4573
4575
  }
4574
- function h(b) {
4576
+ function h(y) {
4575
4577
  let x = !1;
4576
4578
  return ur(() => {
4577
4579
  if (x) return;
4578
- const A = ce(b);
4580
+ const A = ce(y);
4579
4581
  try {
4580
4582
  return u(A);
4581
4583
  } catch (R) {
@@ -4584,13 +4586,13 @@ ${z}`
4584
4586
  }
4585
4587
  });
4586
4588
  }
4587
- function g(b) {
4589
+ function g(y) {
4588
4590
  const {
4589
4591
  fieldPath: x,
4590
4592
  rules: A,
4591
4593
  parentValue: R,
4592
4594
  omittedFields: S
4593
- } = b;
4595
+ } = y;
4594
4596
  dn([
4595
4597
  () => ce(A),
4596
4598
  () => ce(x)
@@ -4609,24 +4611,24 @@ ${z}`
4609
4611
  () => ce(S)
4610
4612
  ],
4611
4613
  ([T, k, v, z]) => {
4612
- !k || !T || Object.entries(k).forEach(([ne, [_e, pe]]) => {
4613
- if (z != null && z.includes(ne)) return;
4614
- const I = hr(T, _e), re = v ? Bl(V(v, ne)) : ne;
4615
- if (typeof pe == "object" && pe !== null && Is in pe ? on(I, pe[Is]) : Array.isArray(pe) ? pe.some((Pe) => on(I, Pe)) : on(I, pe)) {
4616
- r.value.delete(re), t();
4614
+ !k || !T || Object.entries(k).forEach(([re, [_e, pe]]) => {
4615
+ if (z != null && z.includes(re)) return;
4616
+ const I = hr(T, _e), se = v ? Gl(U(v, re)) : re;
4617
+ if (typeof pe == "object" && pe !== null && Cs in pe ? on(I, pe[Cs]) : Array.isArray(pe) ? pe.some(($e) => on(I, $e)) : on(I, pe)) {
4618
+ r.value.delete(se), t();
4617
4619
  return;
4618
4620
  }
4619
- r.value.add(re), t();
4621
+ r.value.add(se), t();
4620
4622
  });
4621
4623
  },
4622
4624
  { deep: !0, immediate: !0 }
4623
- ), bl(() => {
4625
+ ), wl(() => {
4624
4626
  const T = ce(x);
4625
4627
  delete n.value[T];
4626
4628
  }), w;
4627
4629
  }
4628
- function m(b) {
4629
- return r.value.has(b);
4630
+ function m(y) {
4631
+ return r.value.has(y);
4630
4632
  }
4631
4633
  return {
4632
4634
  useCurrentRules: g,
@@ -4635,14 +4637,14 @@ ${z}`
4635
4637
  isFieldHidden: m
4636
4638
  };
4637
4639
  }
4638
- let hc = 0;
4639
- function gc() {
4640
- return `kid:${++hc}`;
4640
+ let mc = 0;
4641
+ function _c() {
4642
+ return `kid:${++mc}`;
4641
4643
  }
4642
- function mc(t) {
4644
+ function bc(t) {
4643
4645
  const e = /* @__PURE__ */ En(/* @__PURE__ */ new Map());
4644
4646
  function n(p = "") {
4645
- const d = gc();
4647
+ const d = _c();
4646
4648
  return e.set(d, p), d;
4647
4649
  }
4648
4650
  function r(p) {
@@ -4655,10 +4657,10 @@ function mc(t) {
4655
4657
  e.delete(p);
4656
4658
  }
4657
4659
  function o(p) {
4658
- return _c(p, t, n);
4660
+ return yc(p, t, n);
4659
4661
  }
4660
4662
  function a(p) {
4661
- return bc(p, t, r);
4663
+ return wc(p, t, r);
4662
4664
  }
4663
4665
  function c() {
4664
4666
  e.clear();
@@ -4673,38 +4675,38 @@ function mc(t) {
4673
4675
  clear: c
4674
4676
  };
4675
4677
  }
4676
- function _c(t, e, n) {
4678
+ function yc(t, e, n) {
4677
4679
  const r = (s, i) => {
4678
4680
  if (s == null || typeof s != "object")
4679
4681
  return s;
4680
4682
  if (Array.isArray(s))
4681
4683
  return s.map((c, p) => {
4682
- const d = i ? V(i, `${p}`) : `${p}`;
4684
+ const d = i ? U(i, `${p}`) : `${p}`;
4683
4685
  return r(c, d);
4684
4686
  });
4685
4687
  const o = i ? e(i) : e();
4686
4688
  if ((o == null ? void 0 : o.type) === "map") {
4687
4689
  const c = s, p = {};
4688
4690
  return Object.keys(c).forEach((d) => {
4689
- const u = n(d), h = c[d], g = i ? V(i, d) : d;
4691
+ const u = n(d), h = c[d], g = i ? U(i, d) : d;
4690
4692
  p[u] = r(h, g);
4691
4693
  }), p;
4692
4694
  }
4693
4695
  const a = {};
4694
4696
  return Object.keys(s).forEach((c) => {
4695
- const p = i ? V(i, c) : c;
4697
+ const p = i ? U(i, c) : c;
4696
4698
  a[c] = r(s[c], p);
4697
4699
  }), a;
4698
4700
  };
4699
4701
  return r(t);
4700
4702
  }
4701
- function bc(t, e, n) {
4703
+ function wc(t, e, n) {
4702
4704
  const r = (s, i) => {
4703
4705
  if (s == null || typeof s != "object")
4704
4706
  return s;
4705
4707
  if (Array.isArray(s))
4706
4708
  return s.map((c, p) => {
4707
- const d = i ? V(i, `${p}`) : `${p}`;
4709
+ const d = i ? U(i, `${p}`) : `${p}`;
4708
4710
  return r(c, d);
4709
4711
  });
4710
4712
  const o = i ? e(i) : e();
@@ -4716,19 +4718,19 @@ function bc(t, e, n) {
4716
4718
  console.error(`[FreeForm] Missing name for key ID: ${String(u)}`);
4717
4719
  return;
4718
4720
  }
4719
- const m = g || vr, b = i ? V(i, m) : m;
4720
- p[g] = r(h, b);
4721
+ const m = g || vr, y = i ? U(i, m) : m;
4722
+ p[g] = r(h, y);
4721
4723
  }), p;
4722
4724
  }
4723
4725
  const a = {};
4724
4726
  return Object.keys(s).forEach((c) => {
4725
- const p = i ? V(i, c) : c;
4727
+ const p = i ? U(i, c) : c;
4726
4728
  a[c] = r(s[c], p);
4727
4729
  }), a;
4728
4730
  };
4729
4731
  return r(t);
4730
4732
  }
4731
- pc(
4733
+ hc(
4732
4734
  function(e) {
4733
4735
  const {
4734
4736
  schema: n,
@@ -4740,38 +4742,38 @@ pc(
4740
4742
  getDefault: a,
4741
4743
  getEmptyOrDefault: c,
4742
4744
  ...p
4743
- } = cc(n), d = mc(p.getSchema), u = /* @__PURE__ */ new Map(), h = /* @__PURE__ */ En({}), g = /* @__PURE__ */ Bo(() => o ?? {}), m = El();
4744
- ri(ql, so(m, "default", Kl));
4745
+ } = fc(n), d = bc(p.getSchema), u = /* @__PURE__ */ new Map(), h = /* @__PURE__ */ En({}), g = /* @__PURE__ */ Go(() => o ?? {}), m = xl();
4746
+ ii(Yl, oo(m, "default", Zl));
4745
4747
  const {
4746
- useCurrentRules: b,
4748
+ useCurrentRules: y,
4747
4749
  createComputedRules: x,
4748
4750
  hiddenPaths: A,
4749
4751
  isFieldHidden: R
4750
- } = dc(() => s == null ? void 0 : s(v()), p.getSchemaMap), S = b({
4752
+ } = gc(() => s == null ? void 0 : s(v()), p.getSchemaMap), S = y({
4751
4753
  fieldPath: dt,
4752
4754
  rules: i,
4753
4755
  parentValue: h
4754
4756
  });
4755
4757
  function w(I) {
4756
- Object.keys(h).forEach((re) => {
4757
- delete h[re];
4758
+ Object.keys(h).forEach((se) => {
4759
+ delete h[se];
4758
4760
  }), d.clear(), Object.assign(h, d.serialize(I));
4759
4761
  }
4760
4762
  function T(I) {
4761
- let re;
4762
- !I || !k(ce(I)) ? re = a() : re = ss(ce(I)), is(g.value.prepareFormData) ? w(g.value.prepareFormData(re)) : w(re);
4763
+ let se;
4764
+ !I || !k(ce(I)) ? se = a() : se = os(ce(I)), ls(g.value.prepareFormData) ? w(g.value.prepareFormData(se)) : w(se);
4763
4765
  }
4764
4766
  function k(I) {
4765
- return is(g.value.hasValue) ? g.value.hasValue(I) : !!I;
4767
+ return ls(g.value.hasValue) ? g.value.hasValue(I) : !!I;
4766
4768
  }
4767
4769
  function v() {
4768
- const I = ce(h), re = ss(I);
4770
+ const I = ce(h), se = os(I);
4769
4771
  if (A.value.size > 0)
4770
4772
  for (const yt of A.value) {
4771
- const Me = ht(yt), Pe = Me.slice(0, -1);
4772
- (Pe.length === 0 || hr(re, Pe) != null) && io(re, Me, c(yt));
4773
+ const Me = ht(yt), $e = Me.slice(0, -1);
4774
+ ($e.length === 0 || hr(se, $e) != null) && lo(se, Me, c(yt));
4773
4775
  }
4774
- return d.deserialize(re);
4776
+ return d.deserialize(se);
4775
4777
  }
4776
4778
  dn(h, () => {
4777
4779
  s == null || s(v());
@@ -4780,14 +4782,14 @@ pc(
4780
4782
  dn(() => r == null ? void 0 : r.value, (I) => {
4781
4783
  z && on(v(), ce(I)) || (T(I), z = !0);
4782
4784
  }, { deep: !0, immediate: !0 });
4783
- function ne(I) {
4785
+ function re(I) {
4784
4786
  return I != null && typeof I == "object" && !Array.isArray(I) ? d.serialize(I) : I;
4785
4787
  }
4786
4788
  function _e(I) {
4787
- return ne(a(I));
4789
+ return re(a(I));
4788
4790
  }
4789
4791
  function pe(I) {
4790
- return ne(c(I));
4792
+ return re(c(I));
4791
4793
  }
4792
4794
  return {
4793
4795
  /**
@@ -4798,7 +4800,7 @@ pc(
4798
4800
  config: g,
4799
4801
  fieldRendererRegistry: u,
4800
4802
  setValue: w,
4801
- useCurrentRenderRules: b,
4803
+ useCurrentRenderRules: y,
4802
4804
  rootRenderRules: S,
4803
4805
  createComputedRenderRules: x,
4804
4806
  ...p,
@@ -4810,8 +4812,8 @@ pc(
4810
4812
  };
4811
4813
  }
4812
4814
  );
4813
- function yc(t) {
4814
- if (Gl(t)) return "enum";
4815
+ function Ec(t) {
4816
+ if (Kl(t)) return "enum";
4815
4817
  switch (t.type) {
4816
4818
  case "string":
4817
4819
  return "string";
@@ -4821,7 +4823,7 @@ function yc(t) {
4821
4823
  case "boolean":
4822
4824
  return "boolean";
4823
4825
  case "set":
4824
- return Wl(t) ? "tag" : "enum";
4826
+ return ql(t) ? "tag" : "enum";
4825
4827
  case "array":
4826
4828
  return "array";
4827
4829
  case "record":
@@ -4836,48 +4838,48 @@ function yc(t) {
4836
4838
  throw new Error(`Unknown field type: ${t.type}`);
4837
4839
  }
4838
4840
  }
4839
- function* kc(t, e, n, r = "") {
4841
+ function* vc(t, e, n, r = "") {
4840
4842
  for (const s of t) {
4841
- const i = Object.keys(s)[0], o = r ? V(r, i) : i, a = hr(e, i);
4843
+ const i = Object.keys(s)[0], o = r ? U(r, i) : i, a = hr(e, i);
4842
4844
  if (a === void 0) continue;
4843
4845
  const c = Wt(o, n.schemaMap), p = n.schemaMap[c];
4844
4846
  if (!p)
4845
4847
  throw new Error(`Field schema for "${o}" not found in schema map`);
4846
4848
  yield {
4847
- handlerType: yc(p),
4849
+ handlerType: Ec(p),
4848
4850
  fieldKey: o,
4849
4851
  fieldSchema: p,
4850
4852
  value: a
4851
4853
  };
4852
4854
  }
4853
4855
  }
4854
- function Sc(t, e, n) {
4855
- const r = V(t, String(e)), s = Wt(r, n.schemaMap), i = n.schemaMap[s];
4856
+ function Ac(t, e, n) {
4857
+ const r = U(t, String(e)), s = Wt(r, n.schemaMap), i = n.schemaMap[s];
4856
4858
  if (!i)
4857
4859
  throw new Error(`Item schema for "${r}" not found in schema map`);
4858
4860
  return { itemKey: r, itemSchema: i };
4859
4861
  }
4860
- function vc(t, e, n) {
4861
- const r = V(t, e), s = Wt(r, n.schemaMap), i = n.schemaMap[s];
4862
+ function Rc(t, e, n) {
4863
+ const r = U(t, e), s = Wt(r, n.schemaMap), i = n.schemaMap[s];
4862
4864
  if (!i)
4863
4865
  throw new Error(`Map entry schema for "${r}" not found in schema map`);
4864
4866
  return { entryKey: r, entrySchema: i };
4865
4867
  }
4866
- function Ac(t) {
4868
+ function Oc(t) {
4867
4869
  return t.type === "record" && Array.isArray(t.fields);
4868
4870
  }
4869
- function Rc(t) {
4871
+ function Nc(t) {
4870
4872
  return {
4871
- schemaMap: Oi(t)
4873
+ schemaMap: Ii(t)
4872
4874
  };
4873
4875
  }
4874
4876
  export {
4875
- Sc as a,
4876
- Ac as b,
4877
- Rc as c,
4878
- vc as d,
4879
- yc as g,
4880
- xc as i,
4881
- Tc as s,
4882
- kc as w
4877
+ Ac as a,
4878
+ Oc as b,
4879
+ Nc as c,
4880
+ Rc as d,
4881
+ Ec as g,
4882
+ Sc as i,
4883
+ kc as s,
4884
+ vc as w
4883
4885
  };