@mirus/tiptap-editor 2.1.6 → 2.1.7

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.
@@ -83,15 +83,15 @@ var Qr = function(t, e) {
83
83
  return t[e] = n, t;
84
84
  }, Pw = { exports: {} }, eC = 0, tC = Math.random(), ei = function(t) {
85
85
  return "Symbol(".concat(t === void 0 ? "" : t, ")_", (++eC + tC).toString(36));
86
- }, Dw = { exports: {} }, Aw = !1, nC = We, Pm = se, Dm = "__core-js_shared__", Am = Pm[Dm] || (Pm[Dm] = {});
87
- (Dw.exports = function(t, e) {
88
- return Am[t] || (Am[t] = e !== void 0 ? e : {});
86
+ }, Aw = { exports: {} }, Dw = !1, nC = We, Pm = se, Am = "__core-js_shared__", Dm = Pm[Am] || (Pm[Am] = {});
87
+ (Aw.exports = function(t, e) {
88
+ return Dm[t] || (Dm[t] = e !== void 0 ? e : {});
89
89
  })("versions", []).push({
90
90
  version: nC.version,
91
91
  mode: "global",
92
92
  copyright: "© 2020 Denis Pushkarev (zloirock.ru)"
93
93
  });
94
- var Ol = Dw.exports, rC = Ol("native-function-to-string", Function.toString), iC = se, Is = zt, Rm = Bt, Tc = ei("src"), Vd = rC, Rw = "toString", oC = ("" + Vd).split(Rw);
94
+ var Ol = Aw.exports, rC = Ol("native-function-to-string", Function.toString), iC = se, Is = zt, Rm = Bt, Tc = ei("src"), Vd = rC, Rw = "toString", oC = ("" + Vd).split(Rw);
95
95
  We.inspectSource = function(t) {
96
96
  return Vd.call(t);
97
97
  };
@@ -204,11 +204,11 @@ var SC = se, Bm = We, xC = _l, OC = Te.f, jw = function(t) {
204
204
  return isNaN(t = +t) ? 0 : (t > 0 ? MC : NC)(t);
205
205
  }, TC = gn, $C = Math.min, Ee = function(t) {
206
206
  return t > 0 ? $C(TC(t), 9007199254740991) : 0;
207
- }, IC = gn, PC = Math.max, DC = Math.min, ti = function(t, e) {
208
- return t = IC(t), t < 0 ? PC(t + e, 0) : DC(t, e);
209
- }, AC = Vt, RC = Ee, FC = ti, Cl = function(t) {
207
+ }, IC = gn, PC = Math.max, AC = Math.min, ti = function(t, e) {
208
+ return t = IC(t), t < 0 ? PC(t + e, 0) : AC(t, e);
209
+ }, DC = Vt, RC = Ee, FC = ti, Cl = function(t) {
210
210
  return function(e, n, r) {
211
- var i = AC(e), o = RC(i.length), s = FC(r, o), a;
211
+ var i = DC(e), o = RC(i.length), s = FC(r, o), a;
212
212
  if (t && n != n) {
213
213
  for (; o > s; )
214
214
  if (a = i[s++], a != a)
@@ -333,7 +333,7 @@ Qi || (gt = function() {
333
333
  return mp && yp && bp(Pt, e, { configurable: !0, set: n }), Jm(e);
334
334
  }, Gm(gt[Xn], "toString", function() {
335
335
  return this._k;
336
- }), Uw.f = Xw, Gw.f = $l, pr.f = Hw.f = Yw, Zi.f = Km, Tl.f = Zw, mp && !Aw && Gm(Pt, "propertyIsEnumerable", Km, !0), mk.f = function(t) {
336
+ }), Uw.f = Xw, Gw.f = $l, pr.f = Hw.f = Yw, Zi.f = Km, Tl.f = Zw, mp && !Dw && Gm(Pt, "propertyIsEnumerable", Km, !0), mk.f = function(t) {
337
337
  return Jm(ds(t));
338
338
  });
339
339
  nt(nt.G + nt.W + nt.F * !Qi, { Symbol: gt });
@@ -406,10 +406,10 @@ Yd(Math, "Math", !0);
406
406
  Yd(Nl.JSON, "JSON", !0);
407
407
  var ev = $;
408
408
  ev(ev.S, "Object", { create: ri });
409
- var Dc = $;
410
- Dc(Dc.S + Dc.F * !Re, "Object", { defineProperty: Te.f });
411
409
  var Ac = $;
412
- Ac(Ac.S + Ac.F * !Re, "Object", { defineProperties: zw });
410
+ Ac(Ac.S + Ac.F * !Re, "Object", { defineProperty: Te.f });
411
+ var Dc = $;
412
+ Dc(Dc.S + Dc.F * !Re, "Object", { defineProperties: zw });
413
413
  var Rc = $, _k = We, Ck = ae, yn = function(t, e) {
414
414
  var n = (_k.Object || {})[t] || Object[t], r = {};
415
415
  r[t] = e(n), Rc(Rc.S + Rc.F * Ck(function() {
@@ -429,10 +429,10 @@ yn("getPrototypeOf", function() {
429
429
  return Pk(Ik(e));
430
430
  };
431
431
  });
432
- var Dk = pt, Ak = ni;
432
+ var Ak = pt, Dk = ni;
433
433
  yn("keys", function() {
434
434
  return function(e) {
435
- return Ak(Dk(e));
435
+ return Dk(Ak(e));
436
436
  };
437
437
  });
438
438
  yn("getOwnPropertyNames", function() {
@@ -474,17 +474,17 @@ yn("isExtensible", function(t) {
474
474
  return Hk(n) ? t ? t(n) : !0 : !1;
475
475
  };
476
476
  });
477
- var Uk = Re, nv = ni, Gk = ps, qk = Zi, Jk = pt, Kk = fs, Ds = Object.assign, Qw = !Ds || ae(function() {
477
+ var Uk = Re, nv = ni, Gk = ps, qk = Zi, Jk = pt, Kk = fs, As = Object.assign, Qw = !As || ae(function() {
478
478
  var t = {}, e = {}, n = Symbol(), r = "abcdefghijklmnopqrst";
479
479
  return t[n] = 7, r.split("").forEach(function(i) {
480
480
  e[i] = i;
481
- }), Ds({}, t)[n] != 7 || Object.keys(Ds({}, e)).join("") != r;
481
+ }), As({}, t)[n] != 7 || Object.keys(As({}, e)).join("") != r;
482
482
  }) ? function(e, n) {
483
483
  for (var r = Jk(e), i = arguments.length, o = 1, s = Gk.f, a = qk.f; i > o; )
484
484
  for (var l = Kk(arguments[o++]), c = s ? nv(l).concat(s(l)) : nv(l), u = c.length, f = 0, p; u > f; )
485
485
  p = c[f++], (!Uk || a.call(l, p)) && (r[p] = l[p]);
486
486
  return r;
487
- } : Ds, Fc = $;
487
+ } : As, Fc = $;
488
488
  Fc(Fc.S + Fc.F, "Object", { assign: Qw });
489
489
  var eS = Object.is || function(e, n) {
490
490
  return e === n ? e !== 0 || 1 / e === 1 / n : e != e && n != n;
@@ -585,10 +585,10 @@ var eh = `
585
585
  n && (r[n] = o), jc(jc.P + jc.F * i, "String", r);
586
586
  }, dN = iS.trim = function(t, e) {
587
587
  return t = String(cN(t)), e & 1 && (t = t.replace(fN, "")), e & 2 && (t = t.replace(pN, "")), t;
588
- }, eo = iS, As = se.parseInt, hN = eo.trim, hv = eh, mN = /^[-+]?0[xX]/, oS = As(hv + "08") !== 8 || As(hv + "0x16") !== 22 ? function(e, n) {
588
+ }, eo = iS, Ds = se.parseInt, hN = eo.trim, hv = eh, mN = /^[-+]?0[xX]/, oS = Ds(hv + "08") !== 8 || Ds(hv + "0x16") !== 22 ? function(e, n) {
589
589
  var r = hN(String(e), 3);
590
- return As(r, n >>> 0 || (mN.test(r) ? 16 : 10));
591
- } : As, Bc = $, mv = oS;
590
+ return Ds(r, n >>> 0 || (mN.test(r) ? 16 : 10));
591
+ } : Ds, Bc = $, mv = oS;
592
592
  Bc(Bc.G + Bc.F * (parseInt != mv), { parseInt: mv });
593
593
  var zc = se.parseFloat, vN = eo.trim, sS = 1 / zc(eh + "-0") !== -1 / 0 ? function(e) {
594
594
  var n = vN(String(e), 3), r = zc(n);
@@ -710,14 +710,14 @@ Gc(Gc.P + Gc.F * (Ev(function() {
710
710
  });
711
711
  var _v = $;
712
712
  _v(_v.S, "Number", { EPSILON: Math.pow(2, -52) });
713
- var Cv = $, DN = se.isFinite;
713
+ var Cv = $, AN = se.isFinite;
714
714
  Cv(Cv.S, "Number", {
715
715
  isFinite: function(e) {
716
- return typeof e == "number" && DN(e);
716
+ return typeof e == "number" && AN(e);
717
717
  }
718
718
  });
719
- var AN = le, RN = Math.floor, fS = function(e) {
720
- return !AN(e) && isFinite(e) && RN(e) === e;
719
+ var DN = le, RN = Math.floor, fS = function(e) {
720
+ return !DN(e) && isFinite(e) && RN(e) === e;
721
721
  }, kv = $;
722
722
  kv(kv.S, "Number", { isInteger: fS });
723
723
  var Nv = $;
@@ -742,17 +742,17 @@ var Jc = $, Pv = oS;
742
742
  Jc(Jc.S + Jc.F * (Number.parseInt != Pv), "Number", { parseInt: Pv });
743
743
  var pS = Math.log1p || function(e) {
744
744
  return (e = +e) > -1e-8 && e < 1e-8 ? e - e * e / 2 : Math.log(1 + e);
745
- }, Kc = $, jN = pS, Dv = Math.sqrt, Xc = Math.acosh;
745
+ }, Kc = $, jN = pS, Av = Math.sqrt, Xc = Math.acosh;
746
746
  Kc(Kc.S + Kc.F * !(Xc && Math.floor(Xc(Number.MAX_VALUE)) == 710 && Xc(1 / 0) == 1 / 0), "Math", {
747
747
  acosh: function(e) {
748
- return (e = +e) < 1 ? NaN : e > 9490626562425156e-8 ? Math.log(e) + Math.LN2 : jN(e - 1 + Dv(e - 1) * Dv(e + 1));
748
+ return (e = +e) < 1 ? NaN : e > 9490626562425156e-8 ? Math.log(e) + Math.LN2 : jN(e - 1 + Av(e - 1) * Av(e + 1));
749
749
  }
750
750
  });
751
- var Yc = $, Av = Math.asinh;
751
+ var Yc = $, Dv = Math.asinh;
752
752
  function dS(t) {
753
753
  return !isFinite(t = +t) || t == 0 ? t : t < 0 ? -dS(-t) : Math.log(t + Math.sqrt(t * t + 1));
754
754
  }
755
- Yc(Yc.S + Yc.F * !(Av && 1 / Av(0) > 0), "Math", { asinh: dS });
755
+ Yc(Yc.S + Yc.F * !(Dv && 1 / Dv(0) > 0), "Math", { asinh: dS });
756
756
  var Zc = $, Rv = Math.atanh;
757
757
  Zc(Zc.S + Zc.F * !(Rv && 1 / Rv(-0) < 0), "Math", {
758
758
  atanh: function(e) {
@@ -1162,16 +1162,16 @@ function Il() {
1162
1162
  return o;
1163
1163
  }, mu;
1164
1164
  }
1165
- var IM = vn, vu = $, PM = pt, DM = gS, AM = fh, RM = Ee, Cg = ph, FM = dh;
1165
+ var IM = vn, vu = $, PM = pt, AM = gS, DM = fh, RM = Ee, Cg = ph, FM = dh;
1166
1166
  vu(vu.S + vu.F * !Il()(function(t) {
1167
1167
  Array.from(t);
1168
1168
  }), "Array", {
1169
1169
  // 22.1.2.1 Array.from(arrayLike, mapfn = undefined, thisArg = undefined)
1170
1170
  from: function(e) {
1171
1171
  var n = PM(e), r = typeof this == "function" ? this : Array, i = arguments.length, o = i > 1 ? arguments[1] : void 0, s = o !== void 0, a = 0, l = FM(n), c, u, f, p;
1172
- if (s && (o = IM(o, i > 2 ? arguments[2] : void 0, 2)), l != null && !(r == Array && AM(l)))
1172
+ if (s && (o = IM(o, i > 2 ? arguments[2] : void 0, 2)), l != null && !(r == Array && DM(l)))
1173
1173
  for (p = l.call(n), u = new r(); !(f = p.next()).done; a++)
1174
- Cg(u, a, s ? DM(p, o, [f.value, a], !0) : f.value);
1174
+ Cg(u, a, s ? AM(p, o, [f.value, a], !0) : f.value);
1175
1175
  else
1176
1176
  for (c = RM(n.length), u = new r(c); c > a; a++)
1177
1177
  Cg(u, a, s ? o(n[a], a) : n[a]);
@@ -1215,20 +1215,20 @@ bu(bu.P + bu.F * ae(function() {
1215
1215
  return l;
1216
1216
  }
1217
1217
  });
1218
- var wu = $, VM = mn, Ig = pt, Pg = ae, Su = [].sort, Dg = [1, 2, 3];
1218
+ var wu = $, VM = mn, Ig = pt, Pg = ae, Su = [].sort, Ag = [1, 2, 3];
1219
1219
  wu(wu.P + wu.F * (Pg(function() {
1220
- Dg.sort(void 0);
1220
+ Ag.sort(void 0);
1221
1221
  }) || !Pg(function() {
1222
- Dg.sort(null);
1222
+ Ag.sort(null);
1223
1223
  }) || !tn(Su)), "Array", {
1224
1224
  // 22.1.3.25 Array.prototype.sort(comparefn)
1225
1225
  sort: function(e) {
1226
1226
  return e === void 0 ? Su.call(Ig(this)) : Su.call(Ig(this), VM(e));
1227
1227
  }
1228
1228
  });
1229
- var WM = le, Ag = kl, HM = Se("species"), UM = function(t) {
1229
+ var WM = le, Dg = kl, HM = Se("species"), UM = function(t) {
1230
1230
  var e;
1231
- return Ag(t) && (e = t.constructor, typeof e == "function" && (e === Array || Ag(e.prototype)) && (e = void 0), WM(e) && (e = e[HM], e === null && (e = void 0))), e === void 0 ? Array : e;
1231
+ return Dg(t) && (e = t.constructor, typeof e == "function" && (e === Array || Dg(e.prototype)) && (e = void 0), WM(e) && (e = e[HM], e === null && (e = void 0))), e === void 0 ? Array : e;
1232
1232
  }, GM = UM, yS = function(t, e) {
1233
1233
  return new (GM(t))(e);
1234
1234
  }, qM = vn, JM = fs, KM = pt, XM = Ee, YM = yS, bn = function(t, e) {
@@ -1383,11 +1383,11 @@ Pu(Pu.P + Pu.F * SS, "Array", {
1383
1383
  }
1384
1384
  });
1385
1385
  oi(Tp);
1386
- var Du = $, mT = bn(6), $p = "findIndex", xS = !0;
1386
+ var Au = $, mT = bn(6), $p = "findIndex", xS = !0;
1387
1387
  $p in [] && Array(1)[$p](function() {
1388
1388
  xS = !1;
1389
1389
  });
1390
- Du(Du.P + Du.F * xS, "Array", {
1390
+ Au(Au.P + Au.F * xS, "Array", {
1391
1391
  findIndex: function(e) {
1392
1392
  return mT(this, e, arguments.length > 1 ? arguments[1] : void 0);
1393
1393
  }
@@ -1418,7 +1418,7 @@ mh("entries");
1418
1418
  var wT = ce, Pl = function() {
1419
1419
  var t = wT(this), e = "";
1420
1420
  return t.global && (e += "g"), t.ignoreCase && (e += "i"), t.multiline && (e += "m"), t.unicode && (e += "u"), t.sticky && (e += "y"), e;
1421
- }, _S = se, ST = th, xT = Te.f, OT = pr.f, ET = ah, _T = Pl, Ye = _S.RegExp, go = Ye, Au = Ye.prototype, Ro = /a/g, Ru = /a/g, Hg = new Ye(Ro) !== Ro;
1421
+ }, _S = se, ST = th, xT = Te.f, OT = pr.f, ET = ah, _T = Pl, Ye = _S.RegExp, go = Ye, Du = Ye.prototype, Ro = /a/g, Ru = /a/g, Hg = new Ye(Ro) !== Ro;
1422
1422
  if (Re && (!Hg || ae(function() {
1423
1423
  return Ru[Se("match")] = !1, Ye(Ro) != Ro || Ye(Ru) == Ru || Ye(Ro, "i") != "/a/i";
1424
1424
  }))) {
@@ -1426,7 +1426,7 @@ if (Re && (!Hg || ae(function() {
1426
1426
  var r = this instanceof Ye, i = ET(e), o = n === void 0;
1427
1427
  return !r && i && e.constructor === Ye && o ? e : ST(
1428
1428
  Hg ? new go(i && !o ? e.source : e, n) : go((i = e instanceof Ye) ? e.source : e, i && o ? _T.call(e) : n),
1429
- r ? this : Au,
1429
+ r ? this : Du,
1430
1430
  Ye
1431
1431
  );
1432
1432
  };
@@ -1442,7 +1442,7 @@ if (Re && (!Hg || ae(function() {
1442
1442
  });
1443
1443
  }, Ug = OT(go), Gg = 0; Ug.length > Gg; )
1444
1444
  CT(Ug[Gg++]);
1445
- Au.constructor = Ye, Ye.prototype = Au, Ct(_S, "RegExp", Ye);
1445
+ Du.constructor = Ye, Ye.prototype = Du, Ct(_S, "RegExp", Ye);
1446
1446
  }
1447
1447
  no("RegExp");
1448
1448
  var kT = Pl, Va = RegExp.prototype.exec, NT = String.prototype.replace, CS = Va, Wa = "lastIndex", Ip = function() {
@@ -1485,7 +1485,7 @@ ae(function() {
1485
1485
  });
1486
1486
  var PT = oh(!0), yh = function(t, e, n) {
1487
1487
  return e + (n ? PT(t, e).length : 1);
1488
- }, DT = ms, AT = RegExp.prototype.exec, Dl = function(t, e) {
1488
+ }, AT = ms, DT = RegExp.prototype.exec, Al = function(t, e) {
1489
1489
  var n = t.exec;
1490
1490
  if (typeof n == "function") {
1491
1491
  var r = n.call(t, e);
@@ -1493,10 +1493,10 @@ var PT = oh(!0), yh = function(t, e, n) {
1493
1493
  throw new TypeError("RegExp exec method returned something other than an Object or null");
1494
1494
  return r;
1495
1495
  }
1496
- if (DT(t) !== "RegExp")
1496
+ if (AT(t) !== "RegExp")
1497
1497
  throw new TypeError("RegExp#exec called on incompatible receiver");
1498
- return AT.call(t, e);
1499
- }, RT = Ct, FT = zt, Dp = ae, LT = Fn, kS = Se, jT = vh, BT = kS("species"), zT = !Dp(function() {
1498
+ return DT.call(t, e);
1499
+ }, RT = Ct, FT = zt, Ap = ae, LT = Fn, kS = Se, jT = vh, BT = kS("species"), zT = !Ap(function() {
1500
1500
  var t = /./;
1501
1501
  return t.exec = function() {
1502
1502
  var e = [];
@@ -1509,13 +1509,13 @@ var PT = oh(!0), yh = function(t, e, n) {
1509
1509
  };
1510
1510
  var n = "ab".split(t);
1511
1511
  return n.length === 2 && n[0] === "a" && n[1] === "b";
1512
- }(), Al = function(t, e, n) {
1513
- var r = kS(t), i = !Dp(function() {
1512
+ }(), Dl = function(t, e, n) {
1513
+ var r = kS(t), i = !Ap(function() {
1514
1514
  var u = {};
1515
1515
  return u[r] = function() {
1516
1516
  return 7;
1517
1517
  }, ""[t](u) != 7;
1518
- }), o = i ? !Dp(function() {
1518
+ }), o = i ? !Ap(function() {
1519
1519
  var u = !1, f = /a/;
1520
1520
  return f.exec = function() {
1521
1521
  return u = !0, null;
@@ -1542,8 +1542,8 @@ var PT = oh(!0), yh = function(t, e, n) {
1542
1542
  }
1543
1543
  );
1544
1544
  }
1545
- }, WT = ce, HT = Ee, UT = yh, Kg = Dl;
1546
- Al("match", 1, function(t, e, n, r) {
1545
+ }, WT = ce, HT = Ee, UT = yh, Kg = Al;
1546
+ Dl("match", 1, function(t, e, n, r) {
1547
1547
  return [
1548
1548
  // `String.prototype.match` method
1549
1549
  // https://tc39.github.io/ecma262/#sec-string.prototype.match
@@ -1570,10 +1570,10 @@ Al("match", 1, function(t, e, n, r) {
1570
1570
  }
1571
1571
  ];
1572
1572
  });
1573
- var GT = ce, qT = pt, JT = Ee, KT = gn, XT = yh, YT = Dl, ZT = Math.max, QT = Math.min, e$ = Math.floor, t$ = /\$([$&`']|\d\d?|<[^>]*>)/g, n$ = /\$([$&`']|\d\d?)/g, r$ = function(t) {
1573
+ var GT = ce, qT = pt, JT = Ee, KT = gn, XT = yh, YT = Al, ZT = Math.max, QT = Math.min, e$ = Math.floor, t$ = /\$([$&`']|\d\d?|<[^>]*>)/g, n$ = /\$([$&`']|\d\d?)/g, r$ = function(t) {
1574
1574
  return t === void 0 ? t : String(t);
1575
1575
  };
1576
- Al("replace", 2, function(t, e, n, r) {
1576
+ Dl("replace", 2, function(t, e, n, r) {
1577
1577
  return [
1578
1578
  // `String.prototype.replace` method
1579
1579
  // https://tc39.github.io/ecma262/#sec-string.prototype.replace
@@ -1647,8 +1647,8 @@ Al("replace", 2, function(t, e, n, r) {
1647
1647
  });
1648
1648
  }
1649
1649
  });
1650
- var i$ = ce, Xg = eS, o$ = Dl;
1651
- Al("search", 1, function(t, e, n, r) {
1650
+ var i$ = ce, Xg = eS, o$ = Al;
1651
+ Dl("search", 1, function(t, e, n, r) {
1652
1652
  return [
1653
1653
  // `String.prototype.search` method
1654
1654
  // https://tc39.github.io/ecma262/#sec-string.prototype.search
@@ -1672,10 +1672,10 @@ Al("search", 1, function(t, e, n, r) {
1672
1672
  var Yg = ce, s$ = mn, a$ = Se("species"), vs = function(t, e) {
1673
1673
  var n = Yg(t).constructor, r;
1674
1674
  return n === void 0 || (r = Yg(n)[a$]) == null ? e : s$(r);
1675
- }, l$ = ah, c$ = ce, u$ = vs, f$ = yh, p$ = Ee, Zg = Dl, d$ = vh, h$ = ae, m$ = Math.min, v$ = [].push, xr = "split", Tt = "length", Lu = "lastIndex", Ap = 4294967295, yo = !h$(function() {
1676
- RegExp(Ap, "y");
1675
+ }, l$ = ah, c$ = ce, u$ = vs, f$ = yh, p$ = Ee, Zg = Al, d$ = vh, h$ = ae, m$ = Math.min, v$ = [].push, xr = "split", Tt = "length", Lu = "lastIndex", Dp = 4294967295, yo = !h$(function() {
1676
+ RegExp(Dp, "y");
1677
1677
  });
1678
- Al("split", 2, function(t, e, n, r) {
1678
+ Dl("split", 2, function(t, e, n, r) {
1679
1679
  var i;
1680
1680
  return "abbc"[xr](/(b)*/)[1] == "c" || "test"[xr](/(?:)/, -1)[Tt] != 4 || "ab"[xr](/(?:ab)*/)[Tt] != 2 || "."[xr](/(.?)(.?)/)[Tt] != 4 || "."[xr](/()()/)[Tt] > 1 || ""[xr](/.?/)[Tt] ? i = function(o, s) {
1681
1681
  var a = String(this);
@@ -1683,7 +1683,7 @@ Al("split", 2, function(t, e, n, r) {
1683
1683
  return [];
1684
1684
  if (!l$(o))
1685
1685
  return n.call(a, o, s);
1686
- for (var l = [], c = (o.ignoreCase ? "i" : "") + (o.multiline ? "m" : "") + (o.unicode ? "u" : "") + (o.sticky ? "y" : ""), u = 0, f = s === void 0 ? Ap : s >>> 0, p = new RegExp(o.source, c + "g"), d, h, m; (d = d$.call(p, a)) && (h = p[Lu], !(h > u && (l.push(a.slice(u, d.index)), d[Tt] > 1 && d.index < a[Tt] && v$.apply(l, d.slice(1)), m = d[0][Tt], u = h, l[Tt] >= f))); )
1686
+ for (var l = [], c = (o.ignoreCase ? "i" : "") + (o.multiline ? "m" : "") + (o.unicode ? "u" : "") + (o.sticky ? "y" : ""), u = 0, f = s === void 0 ? Dp : s >>> 0, p = new RegExp(o.source, c + "g"), d, h, m; (d = d$.call(p, a)) && (h = p[Lu], !(h > u && (l.push(a.slice(u, d.index)), d[Tt] > 1 && d.index < a[Tt] && v$.apply(l, d.slice(1)), m = d[0][Tt], u = h, l[Tt] >= f))); )
1687
1687
  p[Lu] === d.index && p[Lu]++;
1688
1688
  return u === a[Tt] ? (m || !p.test("")) && l.push("") : l.push(a.slice(u)), l[Tt] > f ? l.slice(0, f) : l;
1689
1689
  } : "0"[xr](void 0, 0)[Tt] ? i = function(o, s) {
@@ -1704,7 +1704,7 @@ Al("split", 2, function(t, e, n, r) {
1704
1704
  var a = r(i, o, this, s, i !== n);
1705
1705
  if (a.done)
1706
1706
  return a.value;
1707
- var l = c$(o), c = String(this), u = u$(l, RegExp), f = l.unicode, p = (l.ignoreCase ? "i" : "") + (l.multiline ? "m" : "") + (l.unicode ? "u" : "") + (yo ? "y" : "g"), d = new u(yo ? l : "^(?:" + l.source + ")", p), h = s === void 0 ? Ap : s >>> 0;
1707
+ var l = c$(o), c = String(this), u = u$(l, RegExp), f = l.unicode, p = (l.ignoreCase ? "i" : "") + (l.multiline ? "m" : "") + (l.unicode ? "u" : "") + (yo ? "y" : "g"), d = new u(yo ? l : "^(?:" + l.source + ")", p), h = s === void 0 ? Dp : s >>> 0;
1708
1708
  if (h === 0)
1709
1709
  return [];
1710
1710
  if (c.length === 0)
@@ -1781,7 +1781,7 @@ var Rl = NS.exports, zs = vn, O$ = nS, Qg = qd, ey = zd, Mn = se, ty = Mn.proces
1781
1781
  var bh = {
1782
1782
  set: Lp,
1783
1783
  clear: jp
1784
- }, Dr = se, E$ = bh.set, oy = Dr.MutationObserver || Dr.WebKitMutationObserver, Bp = Dr.process, Wu = Dr.Promise, sy = Rn(Bp) == "process", _$ = function() {
1784
+ }, Ar = se, E$ = bh.set, oy = Ar.MutationObserver || Ar.WebKitMutationObserver, Bp = Ar.process, Wu = Ar.Promise, sy = Rn(Bp) == "process", _$ = function() {
1785
1785
  var t, e, n, r = function() {
1786
1786
  var a, l;
1787
1787
  for (sy && (a = Bp.domain) && a.exit(); t; ) {
@@ -1798,7 +1798,7 @@ var bh = {
1798
1798
  n = function() {
1799
1799
  Bp.nextTick(r);
1800
1800
  };
1801
- else if (oy && !(Dr.navigator && Dr.navigator.standalone)) {
1801
+ else if (oy && !(Ar.navigator && Ar.navigator.standalone)) {
1802
1802
  var i = !0, o = document.createTextNode("");
1803
1803
  new oy(r).observe(o, { characterData: !0 }), n = function() {
1804
1804
  o.data = i = !i;
@@ -1810,7 +1810,7 @@ var bh = {
1810
1810
  };
1811
1811
  } else
1812
1812
  n = function() {
1813
- E$.call(Dr, r);
1813
+ E$.call(Ar, r);
1814
1814
  };
1815
1815
  return function(a) {
1816
1816
  var l = { fn: a, next: void 0 };
@@ -1851,8 +1851,8 @@ function io() {
1851
1851
  return e;
1852
1852
  }, Hu;
1853
1853
  }
1854
- var Yn = se, ki = vn, I$ = ms, Ot = $, P$ = le, D$ = mn, A$ = ro, uy = Rl, R$ = vs, $S = bh.set, IS = _$(), PS = wh, zp = k$, F$ = Fl, L$ = TS, dr = "Promise", DS = Yn.TypeError, ji = Yn.process, fy = ji && ji.versions, j$ = fy && fy.v8 || "", Nn = Yn[dr], Uo = I$(ji) == "process", Ta = function() {
1855
- }, Vs, AS, py, RS, Go = AS = PS.f, gs = !!function() {
1854
+ var Yn = se, ki = vn, I$ = ms, Ot = $, P$ = le, A$ = mn, D$ = ro, uy = Rl, R$ = vs, $S = bh.set, IS = _$(), PS = wh, zp = k$, F$ = Fl, L$ = TS, dr = "Promise", AS = Yn.TypeError, ji = Yn.process, fy = ji && ji.versions, j$ = fy && fy.v8 || "", Nn = Yn[dr], Uo = I$(ji) == "process", Ta = function() {
1855
+ }, Vs, DS, py, RS, Go = DS = PS.f, gs = !!function() {
1856
1856
  try {
1857
1857
  var t = Nn.resolve(1), e = (t.constructor = {})[Se("species")] = function(n) {
1858
1858
  n(Ta, Ta);
@@ -1871,7 +1871,7 @@ var Yn = se, ki = vn, I$ = ms, Ot = $, P$ = le, D$ = mn, A$ = ro, uy = Rl, R$ =
1871
1871
  for (var r = t._v, i = t._s == 1, o = 0, s = function(a) {
1872
1872
  var l = i ? a.ok : a.fail, c = a.resolve, u = a.reject, f = a.domain, p, d, h;
1873
1873
  try {
1874
- l ? (i || (t._h == 2 && z$(t), t._h = 1), l === !0 ? p = r : (f && f.enter(), p = l(r), f && (f.exit(), h = !0)), p === a.promise ? u(DS("Promise-chain cycle")) : (d = FS(p)) ? d.call(p, c, u) : c(p)) : u(r);
1874
+ l ? (i || (t._h == 2 && z$(t), t._h = 1), l === !0 ? p = r : (f && f.enter(), p = l(r), f && (f.exit(), h = !0)), p === a.promise ? u(AS("Promise-chain cycle")) : (d = FS(p)) ? d.call(p, c, u) : c(p)) : u(r);
1875
1875
  } catch (m) {
1876
1876
  f && !h && f.exit(), u(m);
1877
1877
  }
@@ -1904,7 +1904,7 @@ var Yn = se, ki = vn, I$ = ms, Ot = $, P$ = le, D$ = mn, A$ = ro, uy = Rl, R$ =
1904
1904
  e._d = !0, e = e._w || e;
1905
1905
  try {
1906
1906
  if (e === t)
1907
- throw DS("Promise can't be resolved itself");
1907
+ throw AS("Promise can't be resolved itself");
1908
1908
  (n = FS(t)) ? IS(function() {
1909
1909
  var r = { _w: e, _d: !1 };
1910
1910
  try {
@@ -1919,7 +1919,7 @@ var Yn = se, ki = vn, I$ = ms, Ot = $, P$ = le, D$ = mn, A$ = ro, uy = Rl, R$ =
1919
1919
  }
1920
1920
  };
1921
1921
  gs || (Nn = function(e) {
1922
- A$(this, Nn, dr, "_h"), D$(e), Vs.call(this);
1922
+ D$(this, Nn, dr, "_h"), A$(e), Vs.call(this);
1923
1923
  try {
1924
1924
  e(ki(Vp, this, 1), ki(Pi, this, 1));
1925
1925
  } catch (n) {
@@ -1941,7 +1941,7 @@ gs || (Nn = function(e) {
1941
1941
  var t = new Vs();
1942
1942
  this.promise = t, this.resolve = ki(Vp, t, 1), this.reject = ki(Pi, t, 1);
1943
1943
  }, PS.f = Go = function(t) {
1944
- return t === Nn || t === RS ? new py(t) : AS(t);
1944
+ return t === Nn || t === RS ? new py(t) : DS(t);
1945
1945
  });
1946
1946
  Ot(Ot.G + Ot.W + Ot.F * !gs, { Promise: Nn });
1947
1947
  Yi(Nn, dr);
@@ -2256,7 +2256,7 @@ var Bl = {
2256
2256
  ;
2257
2257
  return Ie[--z] |= W * 128, Ie;
2258
2258
  }
2259
- function D(R, F, Y) {
2259
+ function A(R, F, Y) {
2260
2260
  var Ie = Y * 8 - F - 1, Pe = (1 << Ie) - 1, be = Pe >> 1, Ne = Ie - 7, k = Y - 1, z = R[k--], W = z & 127, G;
2261
2261
  for (z >>= 7; Ne > 0; W = W * 256 + R[k], k--, Ne -= 8)
2262
2262
  ;
@@ -2274,7 +2274,7 @@ var Bl = {
2274
2274
  function P(R) {
2275
2275
  return R[3] << 24 | R[2] << 16 | R[1] << 8 | R[0];
2276
2276
  }
2277
- function A(R) {
2277
+ function D(R) {
2278
2278
  return [R & 255];
2279
2279
  }
2280
2280
  function U(R) {
@@ -2343,16 +2343,16 @@ var Bl = {
2343
2343
  return P(ve(this, 4, F, arguments[1])) >>> 0;
2344
2344
  },
2345
2345
  getFloat32: function(F) {
2346
- return D(ve(this, 4, F, arguments[1]), 23, 4);
2346
+ return A(ve(this, 4, F, arguments[1]), 23, 4);
2347
2347
  },
2348
2348
  getFloat64: function(F) {
2349
- return D(ve(this, 8, F, arguments[1]), 52, 8);
2349
+ return A(ve(this, 8, F, arguments[1]), 52, 8);
2350
2350
  },
2351
2351
  setInt8: function(F, Y) {
2352
- fe(this, 1, F, A, Y);
2352
+ fe(this, 1, F, D, Y);
2353
2353
  },
2354
2354
  setUint8: function(F, Y) {
2355
- fe(this, 1, F, A, Y);
2355
+ fe(this, 1, F, D, Y);
2356
2356
  },
2357
2357
  setInt16: function(F, Y) {
2358
2358
  fe(this, 2, F, U, Y, arguments[2]);
@@ -2427,14 +2427,14 @@ qs(qs.G + qs.W + qs.F * !Bl.ABV, {
2427
2427
  });
2428
2428
  var Hp = { exports: {} };
2429
2429
  if (Re) {
2430
- var Qu = Aw, Js = se, nn = ae, de = $, Ks = Bl, $y = zl, II = vn, Iy = ro, PI = Qr, rn = zt, ef = io(), DI = gn, Xs = Ee, Py = QS, Dy = ti, Ay = ur, wo = Bt, Ry = ms, gi = le, Fy = pt, AI = fh, RI = ri, FI = ii, tf = pr.f, LI = dh, Ly = ei, jy = Se, Er = bn, By = Cl, nf = vs, rf = ES, jI = to, BI = Il(), zI = no, VI = hh(), WI = wS(), zy = Te, Vy = en, So = zy.f, HI = Vy.f, xo = Js.RangeError, Wy = Js.TypeError, yi = Js.Uint8Array, of = "ArrayBuffer", Hy = "Shared" + of, Uy = "BYTES_PER_ELEMENT", Oo = "prototype", Bn = Array[Oo], sf = $y.ArrayBuffer, UI = $y.DataView, Gy = Er(0), GI = Er(2), qI = Er(3), JI = Er(4), KI = Er(5), XI = Er(6), YI = By(!0), ZI = By(!1), QI = rf.values, eP = rf.keys, tP = rf.entries, nP = Bn.lastIndexOf, rP = Bn.reduce, iP = Bn.reduceRight, qy = Bn.join, oP = Bn.sort, Jy = Bn.slice, Eo = Bn.toString, af = Bn.toLocaleString, lf = jy("iterator"), Ys = jy("toStringTag"), Ky = Ly("typed_constructor"), Zs = Ly("def_constructor"), Xy = Ks.CONSTR, bi = Ks.TYPED, sP = Ks.VIEW, Qs = "Wrong length!", aP = Er(1, function(t, e) {
2430
+ var Qu = Dw, Js = se, nn = ae, de = $, Ks = Bl, $y = zl, II = vn, Iy = ro, PI = Qr, rn = zt, ef = io(), AI = gn, Xs = Ee, Py = QS, Ay = ti, Dy = ur, wo = Bt, Ry = ms, gi = le, Fy = pt, DI = fh, RI = ri, FI = ii, tf = pr.f, LI = dh, Ly = ei, jy = Se, Er = bn, By = Cl, nf = vs, rf = ES, jI = to, BI = Il(), zI = no, VI = hh(), WI = wS(), zy = Te, Vy = en, So = zy.f, HI = Vy.f, xo = Js.RangeError, Wy = Js.TypeError, yi = Js.Uint8Array, of = "ArrayBuffer", Hy = "Shared" + of, Uy = "BYTES_PER_ELEMENT", Oo = "prototype", Bn = Array[Oo], sf = $y.ArrayBuffer, UI = $y.DataView, Gy = Er(0), GI = Er(2), qI = Er(3), JI = Er(4), KI = Er(5), XI = Er(6), YI = By(!0), ZI = By(!1), QI = rf.values, eP = rf.keys, tP = rf.entries, nP = Bn.lastIndexOf, rP = Bn.reduce, iP = Bn.reduceRight, qy = Bn.join, oP = Bn.sort, Jy = Bn.slice, Eo = Bn.toString, af = Bn.toLocaleString, lf = jy("iterator"), Ys = jy("toStringTag"), Ky = Ly("typed_constructor"), Zs = Ly("def_constructor"), Xy = Ks.CONSTR, bi = Ks.TYPED, sP = Ks.VIEW, Qs = "Wrong length!", aP = Er(1, function(t, e) {
2431
2431
  return ta(nf(t, t[Zs]), e);
2432
2432
  }), Yy = nn(function() {
2433
2433
  return new yi(new Uint16Array([1]).buffer)[0] === 1;
2434
2434
  }), lP = !!yi && !!yi[Oo].set && nn(function() {
2435
2435
  new yi(1).set({});
2436
2436
  }), ea = function(t, e) {
2437
- var n = DI(t);
2437
+ var n = AI(t);
2438
2438
  if (n < 0 || n % e)
2439
2439
  throw xo("Wrong offset!");
2440
2440
  return n;
@@ -2458,7 +2458,7 @@ if (Re) {
2458
2458
  } });
2459
2459
  }, uf = function(e) {
2460
2460
  var n = Fy(e), r = arguments.length, i = r > 1 ? arguments[1] : void 0, o = i !== void 0, s = LI(n), a, l, c, u, f, p;
2461
- if (s != null && !AI(s)) {
2461
+ if (s != null && !DI(s)) {
2462
2462
  for (p = s.call(n), c = [], a = 0; !(f = p.next()).done; a++)
2463
2463
  c.push(f.value);
2464
2464
  n = c;
@@ -2533,11 +2533,11 @@ if (Re) {
2533
2533
  return oP.call(ge(this), e);
2534
2534
  },
2535
2535
  subarray: function(e, n) {
2536
- var r = ge(this), i = r.length, o = Dy(e, i);
2536
+ var r = ge(this), i = r.length, o = Ay(e, i);
2537
2537
  return new (nf(r, r[Zs]))(
2538
2538
  r.buffer,
2539
2539
  r.byteOffset + o * r.BYTES_PER_ELEMENT,
2540
- Xs((n === void 0 ? i : Dy(n, i)) - o)
2540
+ Xs((n === void 0 ? i : Ay(n, i)) - o)
2541
2541
  );
2542
2542
  }
2543
2543
  }, tb = function(e, n) {
@@ -2562,9 +2562,9 @@ if (Re) {
2562
2562
  }, rb = function(t, e) {
2563
2563
  return gi(t) && t[bi] && typeof e != "symbol" && e in t && String(+e) == String(e);
2564
2564
  }, ib = function(e, n) {
2565
- return rb(e, n = Ay(n, !0)) ? PI(2, e[n]) : HI(e, n);
2565
+ return rb(e, n = Dy(n, !0)) ? PI(2, e[n]) : HI(e, n);
2566
2566
  }, ob = function(e, n, r) {
2567
- return rb(e, n = Ay(n, !0)) && gi(r) && wo(r, "value") && !wo(r, "get") && !wo(r, "set") && !r.configurable && (!wo(r, "writable") || r.writable) && (!wo(r, "enumerable") || r.enumerable) ? (e[n] = r.value, e) : So(e, n, r);
2567
+ return rb(e, n = Dy(n, !0)) && gi(r) && wo(r, "value") && !wo(r, "get") && !wo(r, "set") && !r.configurable && (!wo(r, "writable") || r.writable) && (!wo(r, "enumerable") || r.enumerable) ? (e[n] = r.value, e) : So(e, n, r);
2568
2568
  };
2569
2569
  Xy || (Vy.f = ib, zy.f = ob), de(de.S + de.F * !Xy, "Object", {
2570
2570
  getOwnPropertyDescriptor: ib,
@@ -2835,10 +2835,10 @@ var $P = pr, IP = ps, PP = ce, wb = se.Reflect, ox = wb && wb.ownKeys || functio
2835
2835
  return r ? n.concat(r(e)) : n;
2836
2836
  }, Sb = $;
2837
2837
  Sb(Sb.S, "Reflect", { ownKeys: ox });
2838
- var xb = $, DP = ce, Ob = Object.preventExtensions;
2838
+ var xb = $, AP = ce, Ob = Object.preventExtensions;
2839
2839
  xb(xb.S, "Reflect", {
2840
2840
  preventExtensions: function(e) {
2841
- DP(e);
2841
+ AP(e);
2842
2842
  try {
2843
2843
  return Ob && Ob(e), !0;
2844
2844
  } catch {
@@ -2846,11 +2846,11 @@ xb(xb.S, "Reflect", {
2846
2846
  }
2847
2847
  }
2848
2848
  });
2849
- var Eb = Te, _b = en, AP = ii, RP = Bt, Cb = $, kb = Qr, FP = ce, Nb = le;
2849
+ var Eb = Te, _b = en, DP = ii, RP = Bt, Cb = $, kb = Qr, FP = ce, Nb = le;
2850
2850
  function sx(t, e, n) {
2851
2851
  var r = arguments.length < 4 ? t : arguments[3], i = _b.f(FP(t), e), o, s;
2852
2852
  if (!i) {
2853
- if (Nb(s = AP(t)))
2853
+ if (Nb(s = DP(t)))
2854
2854
  return sx(s, e, n, r);
2855
2855
  i = kb(0);
2856
2856
  }
@@ -2919,17 +2919,17 @@ var XP = Ee, YP = nh, ZP = Fn, lx = function(t, e, n, r) {
2919
2919
  return i;
2920
2920
  var l = a - o, c = YP.call(s, Math.ceil(l / s.length));
2921
2921
  return c.length > l && (c = c.slice(0, l)), r ? c + i : i + c;
2922
- }, vf = $, QP = lx, eD = Fl, tD = /Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(eD);
2923
- vf(vf.P + vf.F * tD, "String", {
2922
+ }, vf = $, QP = lx, eA = Fl, tA = /Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(eA);
2923
+ vf(vf.P + vf.F * tA, "String", {
2924
2924
  padStart: function(e) {
2925
2925
  return QP(this, e, arguments.length > 1 ? arguments[1] : void 0, !0);
2926
2926
  }
2927
2927
  });
2928
2928
  We.String.padStart;
2929
- var gf = $, nD = lx, rD = Fl, iD = /Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(rD);
2930
- gf(gf.P + gf.F * iD, "String", {
2929
+ var gf = $, nA = lx, rA = Fl, iA = /Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(rA);
2930
+ gf(gf.P + gf.F * iA, "String", {
2931
2931
  padEnd: function(e) {
2932
- return nD(this, e, arguments.length > 1 ? arguments[1] : void 0, !1);
2932
+ return nA(this, e, arguments.length > 1 ? arguments[1] : void 0, !1);
2933
2933
  }
2934
2934
  });
2935
2935
  We.String.padEnd;
@@ -2947,61 +2947,61 @@ eo("trimRight", function(t) {
2947
2947
  We.String.trimRight;
2948
2948
  jw("asyncIterator");
2949
2949
  _l.f("asyncIterator");
2950
- var Ib = $, oD = ox, sD = Vt, aD = en, lD = ph;
2950
+ var Ib = $, oA = ox, sA = Vt, aA = en, lA = ph;
2951
2951
  Ib(Ib.S, "Object", {
2952
2952
  getOwnPropertyDescriptors: function(e) {
2953
- for (var n = sD(e), r = aD.f, i = oD(n), o = {}, s = 0, a, l; i.length > s; )
2954
- l = r(n, a = i[s++]), l !== void 0 && lD(o, a, l);
2953
+ for (var n = sA(e), r = aA.f, i = oA(n), o = {}, s = 0, a, l; i.length > s; )
2954
+ l = r(n, a = i[s++]), l !== void 0 && lA(o, a, l);
2955
2955
  return o;
2956
2956
  }
2957
2957
  });
2958
2958
  We.Object.getOwnPropertyDescriptors;
2959
- var cD = Re, uD = ni, fD = Vt, pD = Zi.f, cx = function(t) {
2959
+ var cA = Re, uA = ni, fA = Vt, pA = Zi.f, cx = function(t) {
2960
2960
  return function(e) {
2961
- for (var n = fD(e), r = uD(n), i = r.length, o = 0, s = [], a; i > o; )
2962
- a = r[o++], (!cD || pD.call(n, a)) && s.push(t ? [a, n[a]] : n[a]);
2961
+ for (var n = fA(e), r = uA(n), i = r.length, o = 0, s = [], a; i > o; )
2962
+ a = r[o++], (!cA || pA.call(n, a)) && s.push(t ? [a, n[a]] : n[a]);
2963
2963
  return s;
2964
2964
  };
2965
- }, Pb = $, dD = cx(!1);
2965
+ }, Pb = $, dA = cx(!1);
2966
2966
  Pb(Pb.S, "Object", {
2967
2967
  values: function(e) {
2968
- return dD(e);
2968
+ return dA(e);
2969
2969
  }
2970
2970
  });
2971
2971
  We.Object.values;
2972
- var Db = $, hD = cx(!0);
2973
- Db(Db.S, "Object", {
2972
+ var Ab = $, hA = cx(!0);
2973
+ Ab(Ab.S, "Object", {
2974
2974
  entries: function(e) {
2975
- return hD(e);
2975
+ return hA(e);
2976
2976
  }
2977
2977
  });
2978
2978
  We.Object.entries;
2979
- var yf = $, mD = We, vD = se, gD = vs, Ab = TS;
2979
+ var yf = $, mA = We, vA = se, gA = vs, Db = TS;
2980
2980
  yf(yf.P + yf.R, "Promise", { finally: function(t) {
2981
- var e = gD(this, mD.Promise || vD.Promise), n = typeof t == "function";
2981
+ var e = gA(this, mA.Promise || vA.Promise), n = typeof t == "function";
2982
2982
  return this.then(
2983
2983
  n ? function(r) {
2984
- return Ab(e, t()).then(function() {
2984
+ return Db(e, t()).then(function() {
2985
2985
  return r;
2986
2986
  });
2987
2987
  } : t,
2988
2988
  n ? function(r) {
2989
- return Ab(e, t()).then(function() {
2989
+ return Db(e, t()).then(function() {
2990
2990
  throw r;
2991
2991
  });
2992
2992
  } : t
2993
2993
  );
2994
2994
  } });
2995
2995
  We.Promise.finally;
2996
- var Rb = se, ia = $, yD = Fl, bD = [].slice, wD = /MSIE .\./.test(yD), Fb = function(t) {
2996
+ var Rb = se, ia = $, yA = Fl, bA = [].slice, wA = /MSIE .\./.test(yA), Fb = function(t) {
2997
2997
  return function(e, n) {
2998
- var r = arguments.length > 2, i = r ? bD.call(arguments, 2) : !1;
2998
+ var r = arguments.length > 2, i = r ? bA.call(arguments, 2) : !1;
2999
2999
  return t(r ? function() {
3000
3000
  (typeof e == "function" ? e : Function(e)).apply(this, i);
3001
3001
  } : e, n);
3002
3002
  };
3003
3003
  };
3004
- ia(ia.G + ia.B + ia.F * wD, {
3004
+ ia(ia.G + ia.B + ia.F * wA, {
3005
3005
  setTimeout: Fb(Rb.setTimeout),
3006
3006
  setInterval: Fb(Rb.setInterval)
3007
3007
  });
@@ -3010,7 +3010,7 @@ bf(bf.G + bf.B, {
3010
3010
  setImmediate: Lb.set,
3011
3011
  clearImmediate: Lb.clear
3012
3012
  });
3013
- var jb = ES, SD = ni, xD = Ct, OD = se, Bb = zt, ux = to, fx = Se, zb = fx("iterator"), Vb = fx("toStringTag"), Wb = ux.Array, Hb = {
3013
+ var jb = ES, SA = ni, xA = Ct, OA = se, Bb = zt, ux = to, fx = Se, zb = fx("iterator"), Vb = fx("toStringTag"), Wb = ux.Array, Hb = {
3014
3014
  CSSRuleList: !0,
3015
3015
  // TODO: Not spec compliant, should be false.
3016
3016
  CSSStyleDeclaration: !1,
@@ -3046,13 +3046,13 @@ var jb = ES, SD = ni, xD = Ct, OD = se, Bb = zt, ux = to, fx = Se, zb = fx("iter
3046
3046
  TextTrackList: !1,
3047
3047
  TouchList: !1
3048
3048
  };
3049
- for (var Ub = SD(Hb), wf = 0; wf < Ub.length; wf++) {
3050
- var oa = Ub[wf], ED = Hb[oa], Gb = OD[oa], _r = Gb && Gb.prototype, sa;
3051
- if (_r && (_r[zb] || Bb(_r, zb, Wb), _r[Vb] || Bb(_r, Vb, oa), ux[oa] = Wb, ED))
3049
+ for (var Ub = SA(Hb), wf = 0; wf < Ub.length; wf++) {
3050
+ var oa = Ub[wf], EA = Hb[oa], Gb = OA[oa], _r = Gb && Gb.prototype, sa;
3051
+ if (_r && (_r[zb] || Bb(_r, zb, Wb), _r[Vb] || Bb(_r, Vb, oa), ux[oa] = Wb, EA))
3052
3052
  for (sa in jb)
3053
- _r[sa] || xD(_r, sa, jb[sa], !0);
3053
+ _r[sa] || xA(_r, sa, jb[sa], !0);
3054
3054
  }
3055
- var _D = { exports: {} };
3055
+ var _A = { exports: {} };
3056
3056
  (function(t) {
3057
3057
  var e = function(n) {
3058
3058
  var r = Object.prototype, i = r.hasOwnProperty, o = Object.defineProperty || function(g, S, C) {
@@ -3069,20 +3069,20 @@ var _D = { exports: {} };
3069
3069
  try {
3070
3070
  f({}, "");
3071
3071
  } catch {
3072
- f = function(S, C, D) {
3073
- return S[C] = D;
3072
+ f = function(S, C, A) {
3073
+ return S[C] = A;
3074
3074
  };
3075
3075
  }
3076
- function p(g, S, C, D) {
3077
- var P = S && S.prototype instanceof O ? S : O, A = Object.create(P.prototype), U = new Xe(D || []);
3078
- return o(A, "_invoke", { value: ke(g, C, U) }), A;
3076
+ function p(g, S, C, A) {
3077
+ var P = S && S.prototype instanceof O ? S : O, D = Object.create(P.prototype), U = new Xe(A || []);
3078
+ return o(D, "_invoke", { value: ke(g, C, U) }), D;
3079
3079
  }
3080
3080
  n.wrap = p;
3081
3081
  function d(g, S, C) {
3082
3082
  try {
3083
3083
  return { type: "normal", arg: g.call(S, C) };
3084
- } catch (D) {
3085
- return { type: "throw", arg: D };
3084
+ } catch (A) {
3085
+ return { type: "throw", arg: A };
3086
3086
  }
3087
3087
  }
3088
3088
  var h = "suspendedStart", m = "suspendedYield", v = "executing", y = "completed", _ = {};
@@ -3126,8 +3126,8 @@ var _D = { exports: {} };
3126
3126
  return { __await: g };
3127
3127
  };
3128
3128
  function ee(g, S) {
3129
- function C(A, U, H, q) {
3130
- var Z = d(g[A], g, U);
3129
+ function C(D, U, H, q) {
3130
+ var Z = d(g[D], g, U);
3131
3131
  if (Z.type === "throw")
3132
3132
  q(Z.arg);
3133
3133
  else {
@@ -3143,14 +3143,14 @@ var _D = { exports: {} };
3143
3143
  });
3144
3144
  }
3145
3145
  }
3146
- var D;
3147
- function P(A, U) {
3146
+ var A;
3147
+ function P(D, U) {
3148
3148
  function H() {
3149
3149
  return new S(function(q, Z) {
3150
- C(A, U, q, Z);
3150
+ C(D, U, q, Z);
3151
3151
  });
3152
3152
  }
3153
- return D = // If enqueue has been called before, then we want to wait until
3153
+ return A = // If enqueue has been called before, then we want to wait until
3154
3154
  // all previous Promises have been resolved before calling invoke,
3155
3155
  // so that results are always delivered in the correct order. If
3156
3156
  // enqueue has not been called before, then it is important to
@@ -3162,7 +3162,7 @@ var _D = { exports: {} };
3162
3162
  // execute code before the first await. Since we implement simple
3163
3163
  // async functions in terms of async generators, it is especially
3164
3164
  // important to get this right, even though it requires care.
3165
- D ? D.then(
3165
+ A ? A.then(
3166
3166
  H,
3167
3167
  // Avoid propagating failures to Promises returned by later
3168
3168
  // invocations of the iterator.
@@ -3173,27 +3173,27 @@ var _D = { exports: {} };
3173
3173
  }
3174
3174
  Q(ee.prototype), f(ee.prototype, c, function() {
3175
3175
  return this;
3176
- }), n.AsyncIterator = ee, n.async = function(g, S, C, D, P) {
3176
+ }), n.AsyncIterator = ee, n.async = function(g, S, C, A, P) {
3177
3177
  P === void 0 && (P = Promise);
3178
- var A = new ee(
3179
- p(g, S, C, D),
3178
+ var D = new ee(
3179
+ p(g, S, C, A),
3180
3180
  P
3181
3181
  );
3182
- return n.isGeneratorFunction(S) ? A : A.next().then(function(U) {
3183
- return U.done ? U.value : A.next();
3182
+ return n.isGeneratorFunction(S) ? D : D.next().then(function(U) {
3183
+ return U.done ? U.value : D.next();
3184
3184
  });
3185
3185
  };
3186
3186
  function ke(g, S, C) {
3187
- var D = h;
3188
- return function(A, U) {
3189
- if (D === v)
3187
+ var A = h;
3188
+ return function(D, U) {
3189
+ if (A === v)
3190
3190
  throw new Error("Generator is already running");
3191
- if (D === y) {
3192
- if (A === "throw")
3191
+ if (A === y) {
3192
+ if (D === "throw")
3193
3193
  throw U;
3194
3194
  return w();
3195
3195
  }
3196
- for (C.method = A, C.arg = U; ; ) {
3196
+ for (C.method = D, C.arg = U; ; ) {
3197
3197
  var H = C.delegate;
3198
3198
  if (H) {
3199
3199
  var q = $e(H, C);
@@ -3206,41 +3206,41 @@ var _D = { exports: {} };
3206
3206
  if (C.method === "next")
3207
3207
  C.sent = C._sent = C.arg;
3208
3208
  else if (C.method === "throw") {
3209
- if (D === h)
3210
- throw D = y, C.arg;
3209
+ if (A === h)
3210
+ throw A = y, C.arg;
3211
3211
  C.dispatchException(C.arg);
3212
3212
  } else
3213
3213
  C.method === "return" && C.abrupt("return", C.arg);
3214
- D = v;
3214
+ A = v;
3215
3215
  var Z = d(g, S, C);
3216
3216
  if (Z.type === "normal") {
3217
- if (D = C.done ? y : m, Z.arg === _)
3217
+ if (A = C.done ? y : m, Z.arg === _)
3218
3218
  continue;
3219
3219
  return {
3220
3220
  value: Z.arg,
3221
3221
  done: C.done
3222
3222
  };
3223
3223
  } else
3224
- Z.type === "throw" && (D = y, C.method = "throw", C.arg = Z.arg);
3224
+ Z.type === "throw" && (A = y, C.method = "throw", C.arg = Z.arg);
3225
3225
  }
3226
3226
  };
3227
3227
  }
3228
3228
  function $e(g, S) {
3229
- var C = S.method, D = g.iterator[C];
3230
- if (D === s)
3229
+ var C = S.method, A = g.iterator[C];
3230
+ if (A === s)
3231
3231
  return S.delegate = null, C === "throw" && g.iterator.return && (S.method = "return", S.arg = s, $e(g, S), S.method === "throw") || C !== "return" && (S.method = "throw", S.arg = new TypeError(
3232
3232
  "The iterator does not provide a '" + C + "' method"
3233
3233
  )), _;
3234
- var P = d(D, g.iterator, S.arg);
3234
+ var P = d(A, g.iterator, S.arg);
3235
3235
  if (P.type === "throw")
3236
3236
  return S.method = "throw", S.arg = P.arg, S.delegate = null, _;
3237
- var A = P.arg;
3238
- if (!A)
3237
+ var D = P.arg;
3238
+ if (!D)
3239
3239
  return S.method = "throw", S.arg = new TypeError("iterator result is not an object"), S.delegate = null, _;
3240
- if (A.done)
3241
- S[g.resultName] = A.value, S.next = g.nextLoc, S.method !== "return" && (S.method = "next", S.arg = s);
3240
+ if (D.done)
3241
+ S[g.resultName] = D.value, S.next = g.nextLoc, S.method !== "return" && (S.method = "next", S.arg = s);
3242
3242
  else
3243
- return A;
3243
+ return D;
3244
3244
  return S.delegate = null, _;
3245
3245
  }
3246
3246
  Q(j), f(j, u, "Generator"), f(j, l, function() {
@@ -3261,13 +3261,13 @@ var _D = { exports: {} };
3261
3261
  }
3262
3262
  n.keys = function(g) {
3263
3263
  var S = Object(g), C = [];
3264
- for (var D in S)
3265
- C.push(D);
3264
+ for (var A in S)
3265
+ C.push(A);
3266
3266
  return C.reverse(), function P() {
3267
3267
  for (; C.length; ) {
3268
- var A = C.pop();
3269
- if (A in S)
3270
- return P.value = A, P.done = !1, P;
3268
+ var D = C.pop();
3269
+ if (D in S)
3270
+ return P.value = D, P.done = !1, P;
3271
3271
  }
3272
3272
  return P.done = !0, P;
3273
3273
  };
@@ -3280,13 +3280,13 @@ var _D = { exports: {} };
3280
3280
  if (typeof g.next == "function")
3281
3281
  return g;
3282
3282
  if (!isNaN(g.length)) {
3283
- var C = -1, D = function P() {
3283
+ var C = -1, A = function P() {
3284
3284
  for (; ++C < g.length; )
3285
3285
  if (i.call(g, C))
3286
3286
  return P.value = g[C], P.done = !1, P;
3287
3287
  return P.value = s, P.done = !0, P;
3288
3288
  };
3289
- return D.next = D;
3289
+ return A.next = A;
3290
3290
  }
3291
3291
  }
3292
3292
  return { next: w };
@@ -3314,10 +3314,10 @@ var _D = { exports: {} };
3314
3314
  throw g;
3315
3315
  var S = this;
3316
3316
  function C(q, Z) {
3317
- return A.type = "throw", A.arg = g, S.next = q, Z && (S.method = "next", S.arg = s), !!Z;
3317
+ return D.type = "throw", D.arg = g, S.next = q, Z && (S.method = "next", S.arg = s), !!Z;
3318
3318
  }
3319
- for (var D = this.tryEntries.length - 1; D >= 0; --D) {
3320
- var P = this.tryEntries[D], A = P.completion;
3319
+ for (var A = this.tryEntries.length - 1; A >= 0; --A) {
3320
+ var P = this.tryEntries[A], D = P.completion;
3321
3321
  if (P.tryLoc === "root")
3322
3322
  return C("end");
3323
3323
  if (P.tryLoc <= this.prev) {
@@ -3340,15 +3340,15 @@ var _D = { exports: {} };
3340
3340
  },
3341
3341
  abrupt: function(g, S) {
3342
3342
  for (var C = this.tryEntries.length - 1; C >= 0; --C) {
3343
- var D = this.tryEntries[C];
3344
- if (D.tryLoc <= this.prev && i.call(D, "finallyLoc") && this.prev < D.finallyLoc) {
3345
- var P = D;
3343
+ var A = this.tryEntries[C];
3344
+ if (A.tryLoc <= this.prev && i.call(A, "finallyLoc") && this.prev < A.finallyLoc) {
3345
+ var P = A;
3346
3346
  break;
3347
3347
  }
3348
3348
  }
3349
3349
  P && (g === "break" || g === "continue") && P.tryLoc <= S && S <= P.finallyLoc && (P = null);
3350
- var A = P ? P.completion : {};
3351
- return A.type = g, A.arg = S, P ? (this.method = "next", this.next = P.finallyLoc, _) : this.complete(A);
3350
+ var D = P ? P.completion : {};
3351
+ return D.type = g, D.arg = S, P ? (this.method = "next", this.next = P.finallyLoc, _) : this.complete(D);
3352
3352
  },
3353
3353
  complete: function(g, S) {
3354
3354
  if (g.type === "throw")
@@ -3366,9 +3366,9 @@ var _D = { exports: {} };
3366
3366
  for (var S = this.tryEntries.length - 1; S >= 0; --S) {
3367
3367
  var C = this.tryEntries[S];
3368
3368
  if (C.tryLoc === g) {
3369
- var D = C.completion;
3370
- if (D.type === "throw") {
3371
- var P = D.arg;
3369
+ var A = C.completion;
3370
+ if (A.type === "throw") {
3371
+ var P = A.arg;
3372
3372
  He(C);
3373
3373
  }
3374
3374
  return P;
@@ -3396,17 +3396,17 @@ var _D = { exports: {} };
3396
3396
  } catch {
3397
3397
  typeof globalThis == "object" ? globalThis.regeneratorRuntime = e : Function("r", "regeneratorRuntime = r")(e);
3398
3398
  }
3399
- })(_D);
3400
- var px = { exports: {} }, CD = px.exports = typeof window < "u" && window.Math == Math ? window : typeof self < "u" && self.Math == Math ? self : Function("return this")();
3401
- typeof __g == "number" && (__g = CD);
3402
- var _h = px.exports, dx = { exports: {} }, kD = dx.exports = { version: "2.6.12" };
3403
- typeof __e == "number" && (__e = kD);
3404
- var hx = dx.exports, ND = function(t) {
3399
+ })(_A);
3400
+ var px = { exports: {} }, CA = px.exports = typeof window < "u" && window.Math == Math ? window : typeof self < "u" && self.Math == Math ? self : Function("return this")();
3401
+ typeof __g == "number" && (__g = CA);
3402
+ var _h = px.exports, dx = { exports: {} }, kA = dx.exports = { version: "2.6.12" };
3403
+ typeof __e == "number" && (__e = kA);
3404
+ var hx = dx.exports, NA = function(t) {
3405
3405
  if (typeof t != "function")
3406
3406
  throw TypeError(t + " is not a function!");
3407
3407
  return t;
3408
- }, MD = ND, TD = function(t, e, n) {
3409
- if (MD(t), e === void 0)
3408
+ }, MA = NA, TA = function(t, e, n) {
3409
+ if (MA(t), e === void 0)
3410
3410
  return t;
3411
3411
  switch (n) {
3412
3412
  case 1:
@@ -3427,8 +3427,8 @@ var hx = dx.exports, ND = function(t) {
3427
3427
  };
3428
3428
  }, mx = {}, Ch = function(t) {
3429
3429
  return typeof t == "object" ? t !== null : typeof t == "function";
3430
- }, $D = Ch, ID = function(t) {
3431
- if (!$D(t))
3430
+ }, $A = Ch, IA = function(t) {
3431
+ if (!$A(t))
3432
3432
  throw TypeError(t + " is not an object!");
3433
3433
  return t;
3434
3434
  }, vx = function(t) {
@@ -3442,7 +3442,7 @@ var hx = dx.exports, ND = function(t) {
3442
3442
  return 7;
3443
3443
  } }).a != 7;
3444
3444
  }), Sf, qb;
3445
- function PD() {
3445
+ function PA() {
3446
3446
  if (qb)
3447
3447
  return Sf;
3448
3448
  qb = 1;
@@ -3451,46 +3451,46 @@ function PD() {
3451
3451
  return n ? e.createElement(r) : {};
3452
3452
  }, Sf;
3453
3453
  }
3454
- var DD = !kh && !vx(function() {
3455
- return Object.defineProperty(PD()("div"), "a", { get: function() {
3454
+ var AA = !kh && !vx(function() {
3455
+ return Object.defineProperty(PA()("div"), "a", { get: function() {
3456
3456
  return 7;
3457
3457
  } }).a != 7;
3458
- }), aa = Ch, AD = function(t, e) {
3458
+ }), aa = Ch, DA = function(t, e) {
3459
3459
  if (!aa(t))
3460
3460
  return t;
3461
3461
  var n, r;
3462
3462
  if (e && typeof (n = t.toString) == "function" && !aa(r = n.call(t)) || typeof (n = t.valueOf) == "function" && !aa(r = n.call(t)) || !e && typeof (n = t.toString) == "function" && !aa(r = n.call(t)))
3463
3463
  return r;
3464
3464
  throw TypeError("Can't convert object to primitive value");
3465
- }, Jb = ID, RD = DD, FD = AD, LD = Object.defineProperty;
3465
+ }, Jb = IA, RA = AA, FA = DA, LA = Object.defineProperty;
3466
3466
  mx.f = kh ? Object.defineProperty : function(e, n, r) {
3467
- if (Jb(e), n = FD(n, !0), Jb(r), RD)
3467
+ if (Jb(e), n = FA(n, !0), Jb(r), RA)
3468
3468
  try {
3469
- return LD(e, n, r);
3469
+ return LA(e, n, r);
3470
3470
  } catch {
3471
3471
  }
3472
3472
  if ("get" in r || "set" in r)
3473
3473
  throw TypeError("Accessors not supported!");
3474
3474
  return "value" in r && (e[n] = r.value), e;
3475
3475
  };
3476
- var jD = function(t, e) {
3476
+ var jA = function(t, e) {
3477
3477
  return {
3478
3478
  enumerable: !(t & 1),
3479
3479
  configurable: !(t & 2),
3480
3480
  writable: !(t & 4),
3481
3481
  value: e
3482
3482
  };
3483
- }, BD = mx, zD = jD, VD = kh ? function(t, e, n) {
3484
- return BD.f(t, e, zD(1, n));
3483
+ }, BA = mx, zA = jA, VA = kh ? function(t, e, n) {
3484
+ return BA.f(t, e, zA(1, n));
3485
3485
  } : function(t, e, n) {
3486
3486
  return t[e] = n, t;
3487
- }, WD = {}.hasOwnProperty, HD = function(t, e) {
3488
- return WD.call(t, e);
3489
- }, la = _h, xf = hx, Kb = TD, UD = VD, GD = HD, ca = "prototype", et = function(t, e, n) {
3487
+ }, WA = {}.hasOwnProperty, HA = function(t, e) {
3488
+ return WA.call(t, e);
3489
+ }, la = _h, xf = hx, Kb = TA, UA = VA, GA = HA, ca = "prototype", et = function(t, e, n) {
3490
3490
  var r = t & et.F, i = t & et.G, o = t & et.S, s = t & et.P, a = t & et.B, l = t & et.W, c = i ? xf : xf[e] || (xf[e] = {}), u = c[ca], f = i ? la : o ? la[e] : (la[e] || {})[ca], p, d, h;
3491
3491
  i && (n = e);
3492
3492
  for (p in n)
3493
- d = !r && f && f[p] !== void 0, !(d && GD(c, p)) && (h = d ? f[p] : n[p], c[p] = i && typeof f[p] != "function" ? n[p] : a && d ? Kb(h, la) : l && f[p] == h ? function(m) {
3493
+ d = !r && f && f[p] !== void 0, !(d && GA(c, p)) && (h = d ? f[p] : n[p], c[p] = i && typeof f[p] != "function" ? n[p] : a && d ? Kb(h, la) : l && f[p] == h ? function(m) {
3494
3494
  var v = function(y, _, O) {
3495
3495
  if (this instanceof m) {
3496
3496
  switch (arguments.length) {
@@ -3506,7 +3506,7 @@ var jD = function(t, e) {
3506
3506
  return m.apply(this, arguments);
3507
3507
  };
3508
3508
  return v[ca] = m[ca], v;
3509
- }(h) : s && typeof h == "function" ? Kb(Function.call, h) : h, s && ((c.virtual || (c.virtual = {}))[p] = h, t & et.R && u && !u[p] && UD(u, p, h)));
3509
+ }(h) : s && typeof h == "function" ? Kb(Function.call, h) : h, s && ((c.virtual || (c.virtual = {}))[p] = h, t & et.R && u && !u[p] && UA(u, p, h)));
3510
3510
  };
3511
3511
  et.F = 1;
3512
3512
  et.G = 2;
@@ -3516,10 +3516,10 @@ et.B = 16;
3516
3516
  et.W = 32;
3517
3517
  et.U = 64;
3518
3518
  et.R = 128;
3519
- var qD = et, Xb = qD;
3519
+ var qA = et, Xb = qA;
3520
3520
  Xb(Xb.G, { global: _h });
3521
- var JD = hx.global, gx = KD(JD);
3522
- function KD(t) {
3521
+ var JA = hx.global, gx = KA(JA);
3522
+ function KA(t) {
3523
3523
  return t && t.__esModule ? t : { default: t };
3524
3524
  }
3525
3525
  gx.default._babelPolyfill && typeof console < "u" && console.warn && console.warn("@babel/polyfill is loaded more than once on this page. This is probably not desirable/intended and may have consequences if different versions of the polyfills are applied sequentially. If you do need to load the polyfill more than once, use @babel/polyfill/noConflict instead to bypass the warning.");
@@ -4180,7 +4180,7 @@ function Sx(t, e, n, r) {
4180
4180
  let a = Sx(s.content, e - o - 1, n);
4181
4181
  return a && t.replaceChild(i, s.copy(a));
4182
4182
  }
4183
- function XD(t, e, n) {
4183
+ function XA(t, e, n) {
4184
4184
  if (n.openStart > t.depth)
4185
4185
  throw new Ga("Inserted content deeper than insertion position");
4186
4186
  if (t.depth - n.openStart != e.depth - n.openEnd)
@@ -4197,7 +4197,7 @@ function xx(t, e, n, r) {
4197
4197
  let s = t.parent, a = s.content;
4198
4198
  return Rr(s, a.cut(0, t.parentOffset).append(n.content).append(a.cut(e.parentOffset)));
4199
4199
  } else {
4200
- let { start: s, end: a } = YD(n, t);
4200
+ let { start: s, end: a } = YA(n, t);
4201
4201
  return Rr(o, Ex(t, s, a, e, r));
4202
4202
  }
4203
4203
  else
@@ -4211,33 +4211,33 @@ function Gp(t, e, n) {
4211
4211
  let r = t.node(n);
4212
4212
  return Ox(r, e.node(n)), r;
4213
4213
  }
4214
- function Ar(t, e) {
4214
+ function Dr(t, e) {
4215
4215
  let n = e.length - 1;
4216
4216
  n >= 0 && t.isText && t.sameMarkup(e[n]) ? e[n] = t.withText(e[n].text + t.text) : e.push(t);
4217
4217
  }
4218
4218
  function Lo(t, e, n, r) {
4219
4219
  let i = (e || t).node(n), o = 0, s = e ? e.index(n) : i.childCount;
4220
- t && (o = t.index(n), t.depth > n ? o++ : t.textOffset && (Ar(t.nodeAfter, r), o++));
4220
+ t && (o = t.index(n), t.depth > n ? o++ : t.textOffset && (Dr(t.nodeAfter, r), o++));
4221
4221
  for (let a = o; a < s; a++)
4222
- Ar(i.child(a), r);
4223
- e && e.depth == n && e.textOffset && Ar(e.nodeBefore, r);
4222
+ Dr(i.child(a), r);
4223
+ e && e.depth == n && e.textOffset && Dr(e.nodeBefore, r);
4224
4224
  }
4225
4225
  function Rr(t, e) {
4226
4226
  return t.type.checkContent(e), t.copy(e);
4227
4227
  }
4228
4228
  function Ex(t, e, n, r, i) {
4229
4229
  let o = t.depth > i && Gp(t, e, i + 1), s = r.depth > i && Gp(n, r, i + 1), a = [];
4230
- return Lo(null, t, i, a), o && s && e.index(i) == n.index(i) ? (Ox(o, s), Ar(Rr(o, Ex(t, e, n, r, i + 1)), a)) : (o && Ar(Rr(o, qa(t, e, i + 1)), a), Lo(e, n, i, a), s && Ar(Rr(s, qa(n, r, i + 1)), a)), Lo(r, null, i, a), new I(a);
4230
+ return Lo(null, t, i, a), o && s && e.index(i) == n.index(i) ? (Ox(o, s), Dr(Rr(o, Ex(t, e, n, r, i + 1)), a)) : (o && Dr(Rr(o, qa(t, e, i + 1)), a), Lo(e, n, i, a), s && Dr(Rr(s, qa(n, r, i + 1)), a)), Lo(r, null, i, a), new I(a);
4231
4231
  }
4232
4232
  function qa(t, e, n) {
4233
4233
  let r = [];
4234
4234
  if (Lo(null, t, n, r), t.depth > n) {
4235
4235
  let i = Gp(t, e, n + 1);
4236
- Ar(Rr(i, qa(t, e, n + 1)), r);
4236
+ Dr(Rr(i, qa(t, e, n + 1)), r);
4237
4237
  }
4238
4238
  return Lo(e, null, n, r), new I(r);
4239
4239
  }
4240
- function YD(t, e) {
4240
+ function YA(t, e) {
4241
4241
  let n = e.depth - t.openStart, i = e.node(n).copy(t.content);
4242
4242
  for (let o = n - 1; o >= 0; o--)
4243
4243
  i = e.node(o).copy(I.from(i));
@@ -4486,10 +4486,10 @@ class Jo {
4486
4486
  return o;
4487
4487
  }
4488
4488
  let r = Ef[_f] = Jo.resolve(e, n);
4489
- return _f = (_f + 1) % ZD, r;
4489
+ return _f = (_f + 1) % ZA, r;
4490
4490
  }
4491
4491
  }
4492
- let Ef = [], _f = 0, ZD = 12;
4492
+ let Ef = [], _f = 0, ZA = 12;
4493
4493
  class Ja {
4494
4494
  /**
4495
4495
  Construct a node range. `$from` and `$to` should point into the
@@ -4530,7 +4530,7 @@ class Ja {
4530
4530
  return this.$to.indexAfter(this.depth);
4531
4531
  }
4532
4532
  }
4533
- const QD = /* @__PURE__ */ Object.create(null);
4533
+ const QA = /* @__PURE__ */ Object.create(null);
4534
4534
  let Fr = class qp {
4535
4535
  /**
4536
4536
  @internal
@@ -4643,7 +4643,7 @@ let Fr = class qp {
4643
4643
  attributes, and marks.
4644
4644
  */
4645
4645
  hasMarkup(e, n, r) {
4646
- return this.type == e && Ua(this.attrs, n || e.defaultAttrs || QD) && pe.sameSet(this.marks, r || pe.none);
4646
+ return this.type == e && Ua(this.attrs, n || e.defaultAttrs || QA) && pe.sameSet(this.marks, r || pe.none);
4647
4647
  }
4648
4648
  /**
4649
4649
  Create a new node with the same markup as this node, containing
@@ -4686,7 +4686,7 @@ let Fr = class qp {
4686
4686
  [`ReplaceError`](https://prosemirror.net/docs/ref/#model.ReplaceError) is thrown.
4687
4687
  */
4688
4688
  replace(e, n, r) {
4689
- return XD(this.resolve(e), this.resolve(n), r);
4689
+ return XA(this.resolve(e), this.resolve(n), r);
4690
4690
  }
4691
4691
  /**
4692
4692
  Find the node directly after the given position.
@@ -4947,13 +4947,13 @@ class Ur {
4947
4947
  @internal
4948
4948
  */
4949
4949
  static parse(e, n) {
4950
- let r = new eA(e, n);
4950
+ let r = new eD(e, n);
4951
4951
  if (r.next == null)
4952
4952
  return Ur.empty;
4953
4953
  let i = Cx(r);
4954
4954
  r.next && r.err("Unexpected trailing text");
4955
- let o = aA(sA(i));
4956
- return lA(o, r), o;
4955
+ let o = aD(sD(i));
4956
+ return lD(o, r), o;
4957
4957
  }
4958
4958
  /**
4959
4959
  Match a node type, returning a match after that node if
@@ -5099,7 +5099,7 @@ class Ur {
5099
5099
  }
5100
5100
  }
5101
5101
  Ur.empty = new Ur(!0);
5102
- class eA {
5102
+ class eD {
5103
5103
  constructor(e, n) {
5104
5104
  this.string = e, this.nodeTypes = n, this.inline = null, this.pos = 0, this.tokens = e.split(/\s*(?=\b|\W|$)/), this.tokens[this.tokens.length - 1] == "" && this.tokens.pop(), this.tokens[0] == "" && this.tokens.shift();
5105
5105
  }
@@ -5116,19 +5116,19 @@ class eA {
5116
5116
  function Cx(t) {
5117
5117
  let e = [];
5118
5118
  do
5119
- e.push(tA(t));
5119
+ e.push(tD(t));
5120
5120
  while (t.eat("|"));
5121
5121
  return e.length == 1 ? e[0] : { type: "choice", exprs: e };
5122
5122
  }
5123
- function tA(t) {
5123
+ function tD(t) {
5124
5124
  let e = [];
5125
5125
  do
5126
- e.push(nA(t));
5126
+ e.push(nD(t));
5127
5127
  while (t.next && t.next != ")" && t.next != "|");
5128
5128
  return e.length == 1 ? e[0] : { type: "seq", exprs: e };
5129
5129
  }
5130
- function nA(t) {
5131
- let e = oA(t);
5130
+ function nD(t) {
5131
+ let e = oD(t);
5132
5132
  for (; ; )
5133
5133
  if (t.eat("+"))
5134
5134
  e = { type: "plus", expr: e };
@@ -5137,7 +5137,7 @@ function nA(t) {
5137
5137
  else if (t.eat("?"))
5138
5138
  e = { type: "opt", expr: e };
5139
5139
  else if (t.eat("{"))
5140
- e = rA(t, e);
5140
+ e = rD(t, e);
5141
5141
  else
5142
5142
  break;
5143
5143
  return e;
@@ -5147,11 +5147,11 @@ function Yb(t) {
5147
5147
  let e = Number(t.next);
5148
5148
  return t.pos++, e;
5149
5149
  }
5150
- function rA(t, e) {
5150
+ function rD(t, e) {
5151
5151
  let n = Yb(t), r = n;
5152
5152
  return t.eat(",") && (t.next != "}" ? r = Yb(t) : r = -1), t.eat("}") || t.err("Unclosed braced range"), { type: "range", min: n, max: r, expr: e };
5153
5153
  }
5154
- function iA(t, e) {
5154
+ function iD(t, e) {
5155
5155
  let n = t.nodeTypes, r = n[e];
5156
5156
  if (r)
5157
5157
  return [r];
@@ -5162,18 +5162,18 @@ function iA(t, e) {
5162
5162
  }
5163
5163
  return i.length == 0 && t.err("No node type or group '" + e + "' found"), i;
5164
5164
  }
5165
- function oA(t) {
5165
+ function oD(t) {
5166
5166
  if (t.eat("(")) {
5167
5167
  let e = Cx(t);
5168
5168
  return t.eat(")") || t.err("Missing closing paren"), e;
5169
5169
  } else if (/\W/.test(t.next))
5170
5170
  t.err("Unexpected token '" + t.next + "'");
5171
5171
  else {
5172
- let e = iA(t, t.next).map((n) => (t.inline == null ? t.inline = n.isInline : t.inline != n.isInline && t.err("Mixing inline and block content"), { type: "name", value: n }));
5172
+ let e = iD(t, t.next).map((n) => (t.inline == null ? t.inline = n.isInline : t.inline != n.isInline && t.err("Mixing inline and block content"), { type: "name", value: n }));
5173
5173
  return t.pos++, e.length == 1 ? e[0] : { type: "choice", exprs: e };
5174
5174
  }
5175
5175
  }
5176
- function sA(t) {
5176
+ function sD(t) {
5177
5177
  let e = [[]];
5178
5178
  return i(o(t, 0), n()), e;
5179
5179
  function n() {
@@ -5244,7 +5244,7 @@ function Zb(t, e) {
5244
5244
  }
5245
5245
  }
5246
5246
  }
5247
- function aA(t) {
5247
+ function aD(t) {
5248
5248
  let e = /* @__PURE__ */ Object.create(null);
5249
5249
  return n(Zb(t, 0));
5250
5250
  function n(r) {
@@ -5269,7 +5269,7 @@ function aA(t) {
5269
5269
  return o;
5270
5270
  }
5271
5271
  }
5272
- function lA(t, e) {
5272
+ function lD(t, e) {
5273
5273
  for (let n = 0, r = [t]; n < r.length; n++) {
5274
5274
  let i = r[n], o = !i.validEnd, s = [];
5275
5275
  for (let a = 0; a < i.next.length; a++) {
@@ -5308,7 +5308,7 @@ function Tx(t) {
5308
5308
  let e = /* @__PURE__ */ Object.create(null);
5309
5309
  if (t)
5310
5310
  for (let n in t)
5311
- e[n] = new cA(t[n]);
5311
+ e[n] = new cD(t[n]);
5312
5312
  return e;
5313
5313
  }
5314
5314
  let Qb = class $x {
@@ -5477,7 +5477,7 @@ let Qb = class $x {
5477
5477
  return r;
5478
5478
  }
5479
5479
  };
5480
- class cA {
5480
+ class cD {
5481
5481
  constructor(e) {
5482
5482
  this.hasDefault = Object.prototype.hasOwnProperty.call(e, "default"), this.default = e.default;
5483
5483
  }
@@ -5534,7 +5534,7 @@ class Vl {
5534
5534
  return this.excluded.indexOf(e) > -1;
5535
5535
  }
5536
5536
  }
5537
- class uA {
5537
+ class uD {
5538
5538
  /**
5539
5539
  Construct a schema from a schema [specification](https://prosemirror.net/docs/ref/#model.SchemaSpec).
5540
5540
  */
@@ -5667,7 +5667,7 @@ class Bi {
5667
5667
  matchTag(e, n, r) {
5668
5668
  for (let i = r ? this.tags.indexOf(r) + 1 : 0; i < this.tags.length; i++) {
5669
5669
  let o = this.tags[i];
5670
- if (dA(e, o.tag) && (o.namespace === void 0 || e.namespaceURI == o.namespace) && (!o.context || n.matchesContext(o.context))) {
5670
+ if (dD(e, o.tag) && (o.namespace === void 0 || e.namespaceURI == o.namespace) && (!o.context || n.matchesContext(o.context))) {
5671
5671
  if (o.getAttrs) {
5672
5672
  let s = o.getAttrs(e);
5673
5673
  if (s === !1)
@@ -5768,7 +5768,7 @@ const Ix = {
5768
5768
  table: !0,
5769
5769
  tfoot: !0,
5770
5770
  ul: !0
5771
- }, fA = {
5771
+ }, fD = {
5772
5772
  head: !0,
5773
5773
  noscript: !0,
5774
5774
  object: !0,
@@ -5816,7 +5816,7 @@ class fa {
5816
5816
  applyPending(e) {
5817
5817
  for (let n = 0, r = this.pendingMarks; n < r.length; n++) {
5818
5818
  let i = r[n];
5819
- (this.type ? this.type.allowsMarkType(i.type) : mA(i.type, e)) && !i.isInSet(this.activeMarks) && (this.activeMarks = i.addToSet(this.activeMarks), this.pendingMarks = i.removeFromSet(this.pendingMarks));
5819
+ (this.type ? this.type.allowsMarkType(i.type) : mD(i.type, e)) && !i.isInSet(this.activeMarks) && (this.activeMarks = i.addToSet(this.activeMarks), this.pendingMarks = i.removeFromSet(this.pendingMarks));
5820
5820
  }
5821
5821
  }
5822
5822
  inlineContext(e) {
@@ -5842,7 +5842,7 @@ class n0 {
5842
5842
  let r = e.getAttribute("style");
5843
5843
  if (!r)
5844
5844
  return n();
5845
- let i = this.readStyles(hA(r));
5845
+ let i = this.readStyles(hD(r));
5846
5846
  if (!i)
5847
5847
  return;
5848
5848
  let [o, s] = i, a = this.top;
@@ -5874,9 +5874,9 @@ class n0 {
5874
5874
  // none is found, the element's content nodes are added directly.
5875
5875
  addElement(e, n) {
5876
5876
  let r = e.nodeName.toLowerCase(), i;
5877
- Px.hasOwnProperty(r) && this.parser.normalizeLists && pA(e);
5877
+ Px.hasOwnProperty(r) && this.parser.normalizeLists && pD(e);
5878
5878
  let o = this.options.ruleFromNode && this.options.ruleFromNode(e) || (i = this.parser.matchTag(e, this, n));
5879
- if (o ? o.ignore : fA.hasOwnProperty(r))
5879
+ if (o ? o.ignore : fD.hasOwnProperty(r))
5880
5880
  this.findInside(e), this.ignoreFallback(e);
5881
5881
  else if (!o || o.skip || o.closeParent) {
5882
5882
  o && o.closeParent ? this.open = Math.max(0, this.open - 1) : o && o.skip.nodeType && (e = o.skip);
@@ -6089,7 +6089,7 @@ class n0 {
6089
6089
  }
6090
6090
  }
6091
6091
  addPendingMark(e) {
6092
- let n = vA(e, this.top.pendingMarks);
6092
+ let n = vD(e, this.top.pendingMarks);
6093
6093
  n && this.top.stashMarks.push(n), this.top.pendingMarks = e.addToSet(this.top.pendingMarks);
6094
6094
  }
6095
6095
  removePendingMark(e, n) {
@@ -6107,16 +6107,16 @@ class n0 {
6107
6107
  }
6108
6108
  }
6109
6109
  }
6110
- function pA(t) {
6110
+ function pD(t) {
6111
6111
  for (let e = t.firstChild, n = null; e; e = e.nextSibling) {
6112
6112
  let r = e.nodeType == 1 ? e.nodeName.toLowerCase() : null;
6113
6113
  r && Px.hasOwnProperty(r) && n ? (n.appendChild(e), e = n) : r == "li" ? n = e : r && (n = null);
6114
6114
  }
6115
6115
  }
6116
- function dA(t, e) {
6116
+ function dD(t, e) {
6117
6117
  return (t.matches || t.msMatchesSelector || t.webkitMatchesSelector || t.mozMatchesSelector).call(t, e);
6118
6118
  }
6119
- function hA(t) {
6119
+ function hD(t) {
6120
6120
  let e = /\s*([\w-]+)\s*:\s*([^;]+)/g, n, r = [];
6121
6121
  for (; n = e.exec(t); )
6122
6122
  r.push(n[1], n[2].trim());
@@ -6128,7 +6128,7 @@ function r0(t) {
6128
6128
  e[n] = t[n];
6129
6129
  return e;
6130
6130
  }
6131
- function mA(t, e) {
6131
+ function mD(t, e) {
6132
6132
  let n = e.schema.nodes;
6133
6133
  for (let r in n) {
6134
6134
  let i = n[r];
@@ -6146,7 +6146,7 @@ function mA(t, e) {
6146
6146
  return !0;
6147
6147
  }
6148
6148
  }
6149
- function vA(t, e) {
6149
+ function vD(t, e) {
6150
6150
  for (let n = 0; n < e.length; n++)
6151
6151
  if (t.eq(e[n]))
6152
6152
  return e[n];
@@ -6303,15 +6303,15 @@ function i0(t) {
6303
6303
  function Cf(t) {
6304
6304
  return t.document || window.document;
6305
6305
  }
6306
- const Dx = 65535, Ax = Math.pow(2, 16);
6307
- function gA(t, e) {
6308
- return t + e * Ax;
6306
+ const Ax = 65535, Dx = Math.pow(2, 16);
6307
+ function gD(t, e) {
6308
+ return t + e * Dx;
6309
6309
  }
6310
6310
  function o0(t) {
6311
- return t & Dx;
6311
+ return t & Ax;
6312
6312
  }
6313
- function yA(t) {
6314
- return (t - (t & Dx)) / Ax;
6313
+ function yD(t) {
6314
+ return (t - (t & Ax)) / Dx;
6315
6315
  }
6316
6316
  const Rx = 1, Fx = 2, $a = 4, Lx = 8;
6317
6317
  class Jp {
@@ -6368,7 +6368,7 @@ class It {
6368
6368
  if (!this.inverted)
6369
6369
  for (let i = 0; i < r; i++)
6370
6370
  n += this.ranges[i * 3 + 2] - this.ranges[i * 3 + 1];
6371
- return this.ranges[r * 3] + n + yA(e);
6371
+ return this.ranges[r * 3] + n + yD(e);
6372
6372
  }
6373
6373
  mapResult(e, n = 1) {
6374
6374
  return this._map(e, n, !1);
@@ -6390,7 +6390,7 @@ class It {
6390
6390
  let p = c ? e == l ? -1 : e == f ? 1 : n : n, d = l + i + (p < 0 ? 0 : u);
6391
6391
  if (r)
6392
6392
  return d;
6393
- let h = e == (n < 0 ? l : f) ? null : gA(a / 3, e - l), m = e == l ? Fx : e == f ? Rx : $a;
6393
+ let h = e == (n < 0 ? l : f) ? null : gD(a / 3, e - l), m = e == l ? Fx : e == f ? Rx : $a;
6394
6394
  return (n < 0 ? e != l : e != f) && (m |= Lx), new Jp(d, m, h);
6395
6395
  }
6396
6396
  i += u - c;
@@ -6447,7 +6447,7 @@ class It {
6447
6447
  }
6448
6448
  }
6449
6449
  It.empty = new It([]);
6450
- class Di {
6450
+ class Ai {
6451
6451
  /**
6452
6452
  Create a new mapping with the given position maps.
6453
6453
  */
@@ -6458,13 +6458,13 @@ class Di {
6458
6458
  Create a mapping that maps only through a part of this one.
6459
6459
  */
6460
6460
  slice(e = 0, n = this.maps.length) {
6461
- return new Di(this.maps, this.mirror, e, n);
6461
+ return new Ai(this.maps, this.mirror, e, n);
6462
6462
  }
6463
6463
  /**
6464
6464
  @internal
6465
6465
  */
6466
6466
  copy() {
6467
- return new Di(this.maps.slice(), this.mirror && this.mirror.slice(), this.from, this.to);
6467
+ return new Ai(this.maps.slice(), this.mirror && this.mirror.slice(), this.from, this.to);
6468
6468
  }
6469
6469
  /**
6470
6470
  Add a step map to the end of this mapping. If `mirrors` is
@@ -6515,7 +6515,7 @@ class Di {
6515
6515
  Create an inverted version of this mapping.
6516
6516
  */
6517
6517
  invert() {
6518
- let e = new Di();
6518
+ let e = new Ai();
6519
6519
  return e.appendMappingInverted(this), e;
6520
6520
  }
6521
6521
  /**
@@ -6596,7 +6596,7 @@ class wt {
6596
6596
  return kf[e] = n, n.prototype.jsonID = e, n;
6597
6597
  }
6598
6598
  }
6599
- class De {
6599
+ class Ae {
6600
6600
  /**
6601
6601
  @internal
6602
6602
  */
@@ -6607,13 +6607,13 @@ class De {
6607
6607
  Create a successful step result.
6608
6608
  */
6609
6609
  static ok(e) {
6610
- return new De(e, null);
6610
+ return new Ae(e, null);
6611
6611
  }
6612
6612
  /**
6613
6613
  Create a failed step result.
6614
6614
  */
6615
6615
  static fail(e) {
6616
- return new De(null, e);
6616
+ return new Ae(null, e);
6617
6617
  }
6618
6618
  /**
6619
6619
  Call [`Node.replace`](https://prosemirror.net/docs/ref/#model.Node.replace) with the given
@@ -6622,10 +6622,10 @@ class De {
6622
6622
  */
6623
6623
  static fromReplace(e, n, r, i) {
6624
6624
  try {
6625
- return De.ok(e.replace(n, r, i));
6625
+ return Ae.ok(e.replace(n, r, i));
6626
6626
  } catch (o) {
6627
6627
  if (o instanceof Ga)
6628
- return De.fail(o.message);
6628
+ return Ae.fail(o.message);
6629
6629
  throw o;
6630
6630
  }
6631
6631
  }
@@ -6647,7 +6647,7 @@ class Un extends wt {
6647
6647
  }
6648
6648
  apply(e) {
6649
6649
  let n = e.slice(this.from, this.to), r = e.resolve(this.from), i = r.node(r.sharedDepth(this.to)), o = new L(Nh(n.content, (s, a) => !s.isAtom || !a.type.allowsMarkType(this.mark.type) ? s : s.mark(this.mark.addToSet(s.marks)), i), n.openStart, n.openEnd);
6650
- return De.fromReplace(e, this.from, this.to, o);
6650
+ return Ae.fromReplace(e, this.from, this.to, o);
6651
6651
  }
6652
6652
  invert() {
6653
6653
  return new pn(this.from, this.to, this.mark);
@@ -6686,7 +6686,7 @@ class pn extends wt {
6686
6686
  }
6687
6687
  apply(e) {
6688
6688
  let n = e.slice(this.from, this.to), r = new L(Nh(n.content, (i) => i.mark(this.mark.removeFromSet(i.marks)), e), n.openStart, n.openEnd);
6689
- return De.fromReplace(e, this.from, this.to, r);
6689
+ return Ae.fromReplace(e, this.from, this.to, r);
6690
6690
  }
6691
6691
  invert() {
6692
6692
  return new Un(this.from, this.to, this.mark);
@@ -6726,9 +6726,9 @@ class Gn extends wt {
6726
6726
  apply(e) {
6727
6727
  let n = e.nodeAt(this.pos);
6728
6728
  if (!n)
6729
- return De.fail("No node at mark step's position");
6729
+ return Ae.fail("No node at mark step's position");
6730
6730
  let r = n.type.create(n.attrs, null, this.mark.addToSet(n.marks));
6731
- return De.fromReplace(e, this.pos, this.pos + 1, new L(I.from(r), 0, n.isLeaf ? 0 : 1));
6731
+ return Ae.fromReplace(e, this.pos, this.pos + 1, new L(I.from(r), 0, n.isLeaf ? 0 : 1));
6732
6732
  }
6733
6733
  invert(e) {
6734
6734
  let n = e.nodeAt(this.pos);
@@ -6770,9 +6770,9 @@ class zi extends wt {
6770
6770
  apply(e) {
6771
6771
  let n = e.nodeAt(this.pos);
6772
6772
  if (!n)
6773
- return De.fail("No node at mark step's position");
6773
+ return Ae.fail("No node at mark step's position");
6774
6774
  let r = n.type.create(n.attrs, null, this.mark.removeFromSet(n.marks));
6775
- return De.fromReplace(e, this.pos, this.pos + 1, new L(I.from(r), 0, n.isLeaf ? 0 : 1));
6775
+ return Ae.fromReplace(e, this.pos, this.pos + 1, new L(I.from(r), 0, n.isLeaf ? 0 : 1));
6776
6776
  }
6777
6777
  invert(e) {
6778
6778
  let n = e.nodeAt(this.pos);
@@ -6809,7 +6809,7 @@ class Ge extends wt {
6809
6809
  super(), this.from = e, this.to = n, this.slice = r, this.structure = i;
6810
6810
  }
6811
6811
  apply(e) {
6812
- return this.structure && Kp(e, this.from, this.to) ? De.fail("Structure replace would overwrite content") : De.fromReplace(e, this.from, this.to, this.slice);
6812
+ return this.structure && Kp(e, this.from, this.to) ? Ae.fail("Structure replace would overwrite content") : Ae.fromReplace(e, this.from, this.to, this.slice);
6813
6813
  }
6814
6814
  getMap() {
6815
6815
  return new It([this.from, this.to - this.from, this.slice.size]);
@@ -6859,12 +6859,12 @@ class je extends wt {
6859
6859
  }
6860
6860
  apply(e) {
6861
6861
  if (this.structure && (Kp(e, this.from, this.gapFrom) || Kp(e, this.gapTo, this.to)))
6862
- return De.fail("Structure gap-replace would overwrite content");
6862
+ return Ae.fail("Structure gap-replace would overwrite content");
6863
6863
  let n = e.slice(this.gapFrom, this.gapTo);
6864
6864
  if (n.openStart || n.openEnd)
6865
- return De.fail("Gap is not a flat range");
6865
+ return Ae.fail("Gap is not a flat range");
6866
6866
  let r = this.slice.insertAt(this.insert, n.content);
6867
- return r ? De.fromReplace(e, this.from, this.to, r) : De.fail("Content does not fit in gap");
6867
+ return r ? Ae.fromReplace(e, this.from, this.to, r) : Ae.fail("Content does not fit in gap");
6868
6868
  }
6869
6869
  getMap() {
6870
6870
  return new It([
@@ -6919,7 +6919,7 @@ function Kp(t, e, n) {
6919
6919
  }
6920
6920
  return !1;
6921
6921
  }
6922
- function bA(t, e, n, r) {
6922
+ function bD(t, e, n, r) {
6923
6923
  let i = [], o = [], s, a;
6924
6924
  t.doc.nodesBetween(e, n, (l, c, u) => {
6925
6925
  if (!l.isInline)
@@ -6933,7 +6933,7 @@ function bA(t, e, n, r) {
6933
6933
  }
6934
6934
  }), i.forEach((l) => t.step(l)), o.forEach((l) => t.step(l));
6935
6935
  }
6936
- function wA(t, e, n, r) {
6936
+ function wD(t, e, n, r) {
6937
6937
  let i = [], o = 0;
6938
6938
  t.doc.nodesBetween(e, n, (s, a) => {
6939
6939
  if (!s.isInline)
@@ -6959,7 +6959,7 @@ function wA(t, e, n, r) {
6959
6959
  }
6960
6960
  }), i.forEach((s) => t.step(new pn(s.from, s.to, s.style)));
6961
6961
  }
6962
- function SA(t, e, n, r = n.contentMatch) {
6962
+ function SD(t, e, n, r = n.contentMatch) {
6963
6963
  let i = t.doc.nodeAt(e), o = [], s = e + 1;
6964
6964
  for (let a = 0; a < i.childCount; a++) {
6965
6965
  let l = i.child(a), c = s + l.nodeSize, u = r.matchType(l.type);
@@ -6984,7 +6984,7 @@ function SA(t, e, n, r = n.contentMatch) {
6984
6984
  for (let a = o.length - 1; a >= 0; a--)
6985
6985
  t.step(o[a]);
6986
6986
  }
6987
- function xA(t, e, n) {
6987
+ function xD(t, e, n) {
6988
6988
  return (e == 0 || t.canReplace(e, t.childCount)) && (n == t.childCount || t.canReplace(0, n));
6989
6989
  }
6990
6990
  function oo(t) {
@@ -6993,12 +6993,12 @@ function oo(t) {
6993
6993
  let i = t.$from.node(r), o = t.$from.index(r), s = t.$to.indexAfter(r);
6994
6994
  if (r < t.depth && i.canReplace(o, s, n))
6995
6995
  return r;
6996
- if (r == 0 || i.type.spec.isolating || !xA(i, o, s))
6996
+ if (r == 0 || i.type.spec.isolating || !xD(i, o, s))
6997
6997
  break;
6998
6998
  }
6999
6999
  return null;
7000
7000
  }
7001
- function OA(t, e, n) {
7001
+ function OD(t, e, n) {
7002
7002
  let { $from: r, $to: i, depth: o } = e, s = r.before(o + 1), a = i.after(o + 1), l = s, c = a, u = I.empty, f = 0;
7003
7003
  for (let h = o, m = !1; h > n; h--)
7004
7004
  m || r.index(h) > 0 ? (m = !0, u = I.from(r.node(h).copy(u)), f++) : l--;
@@ -7008,20 +7008,20 @@ function OA(t, e, n) {
7008
7008
  t.step(new je(l, c, s, a, new L(u.append(p), f, d), u.size - f, !0));
7009
7009
  }
7010
7010
  function Mh(t, e, n = null, r = t) {
7011
- let i = EA(t, e), o = i && _A(r, e);
7011
+ let i = ED(t, e), o = i && _D(r, e);
7012
7012
  return o ? i.map(s0).concat({ type: e, attrs: n }).concat(o.map(s0)) : null;
7013
7013
  }
7014
7014
  function s0(t) {
7015
7015
  return { type: t, attrs: null };
7016
7016
  }
7017
- function EA(t, e) {
7017
+ function ED(t, e) {
7018
7018
  let { parent: n, startIndex: r, endIndex: i } = t, o = n.contentMatchAt(r).findWrapping(e);
7019
7019
  if (!o)
7020
7020
  return null;
7021
7021
  let s = o.length ? o[0] : e;
7022
7022
  return n.canReplaceWith(r, i, s) ? o : null;
7023
7023
  }
7024
- function _A(t, e) {
7024
+ function _D(t, e) {
7025
7025
  let { parent: n, startIndex: r, endIndex: i } = t, o = n.child(r), s = e.contentMatch.findWrapping(o.type);
7026
7026
  if (!s)
7027
7027
  return null;
@@ -7030,7 +7030,7 @@ function _A(t, e) {
7030
7030
  l = l.matchType(n.child(c).type);
7031
7031
  return !l || !l.validEnd ? null : s;
7032
7032
  }
7033
- function CA(t, e, n) {
7033
+ function CD(t, e, n) {
7034
7034
  let r = I.empty;
7035
7035
  for (let s = n.length - 1; s >= 0; s--) {
7036
7036
  if (r.size) {
@@ -7043,23 +7043,23 @@ function CA(t, e, n) {
7043
7043
  let i = e.start, o = e.end;
7044
7044
  t.step(new je(i, o, i, o, new L(r, 0, 0), n.length, !0));
7045
7045
  }
7046
- function kA(t, e, n, r, i) {
7046
+ function kD(t, e, n, r, i) {
7047
7047
  if (!r.isTextblock)
7048
7048
  throw new RangeError("Type given to setBlockType should be a textblock");
7049
7049
  let o = t.steps.length;
7050
7050
  t.doc.nodesBetween(e, n, (s, a) => {
7051
- if (s.isTextblock && !s.hasMarkup(r, i) && NA(t.doc, t.mapping.slice(o).map(a), r)) {
7051
+ if (s.isTextblock && !s.hasMarkup(r, i) && ND(t.doc, t.mapping.slice(o).map(a), r)) {
7052
7052
  t.clearIncompatible(t.mapping.slice(o).map(a, 1), r);
7053
7053
  let l = t.mapping.slice(o), c = l.map(a, 1), u = l.map(a + s.nodeSize, 1);
7054
7054
  return t.step(new je(c, u, c + 1, u - 1, new L(I.from(r.create(i, null, s.marks)), 0, 0), 1, !0)), !1;
7055
7055
  }
7056
7056
  });
7057
7057
  }
7058
- function NA(t, e, n) {
7058
+ function ND(t, e, n) {
7059
7059
  let r = t.resolve(e), i = r.index();
7060
7060
  return r.parent.canReplaceWith(i, i + 1, n);
7061
7061
  }
7062
- function MA(t, e, n, r, i) {
7062
+ function MD(t, e, n, r, i) {
7063
7063
  let o = t.doc.nodeAt(e);
7064
7064
  if (!o)
7065
7065
  throw new RangeError("No node at given position");
@@ -7071,7 +7071,7 @@ function MA(t, e, n, r, i) {
7071
7071
  throw new RangeError("Invalid content for node type " + n.name);
7072
7072
  t.step(new je(e, e + o.nodeSize, e + 1, e + o.nodeSize - 1, new L(I.from(s), 0, 0), 1, !0));
7073
7073
  }
7074
- function Ai(t, e, n = 1, r) {
7074
+ function Di(t, e, n = 1, r) {
7075
7075
  let i = t.resolve(e), o = i.depth - n, s = r && r[r.length - 1] || i.parent;
7076
7076
  if (o < 0 || i.parent.type.spec.isolating || !i.parent.canReplace(i.index(), i.parent.childCount) || !s.type.validContent(i.parent.content.cutByIndex(i.index(), i.parent.childCount)))
7077
7077
  return !1;
@@ -7088,7 +7088,7 @@ function Ai(t, e, n = 1, r) {
7088
7088
  let a = i.indexAfter(o), l = r && r[0];
7089
7089
  return i.node(o).canReplaceWith(a, a, l ? l.type : i.node(o + 1).type);
7090
7090
  }
7091
- function TA(t, e, n = 1, r) {
7091
+ function TD(t, e, n = 1, r) {
7092
7092
  let i = t.doc.resolve(e), o = I.empty, s = I.empty;
7093
7093
  for (let a = i.depth, l = i.depth - n, c = n - 1; a > l; a--, c--) {
7094
7094
  o = I.from(i.node(a).copy(o));
@@ -7115,11 +7115,11 @@ function Wl(t, e, n = -1) {
7115
7115
  e = n < 0 ? r.before(i) : r.after(i);
7116
7116
  }
7117
7117
  }
7118
- function $A(t, e, n) {
7118
+ function $D(t, e, n) {
7119
7119
  let r = new Ge(e - n, e + n, L.empty, !0);
7120
7120
  t.step(r);
7121
7121
  }
7122
- function IA(t, e, n) {
7122
+ function ID(t, e, n) {
7123
7123
  let r = t.resolve(e);
7124
7124
  if (r.parent.canReplaceWith(r.index(), r.index(), n))
7125
7125
  return e;
@@ -7141,7 +7141,7 @@ function IA(t, e, n) {
7141
7141
  }
7142
7142
  return null;
7143
7143
  }
7144
- function PA(t, e, n) {
7144
+ function PD(t, e, n) {
7145
7145
  let r = t.resolve(e);
7146
7146
  if (!n.content.size)
7147
7147
  return e;
@@ -7166,12 +7166,12 @@ function Th(t, e, n = e, r = L.empty) {
7166
7166
  if (e == n && !r.size)
7167
7167
  return null;
7168
7168
  let i = t.resolve(e), o = t.resolve(n);
7169
- return Bx(i, o, r) ? new Ge(e, n, r) : new DA(i, o, r).fit();
7169
+ return Bx(i, o, r) ? new Ge(e, n, r) : new AD(i, o, r).fit();
7170
7170
  }
7171
7171
  function Bx(t, e, n) {
7172
7172
  return !n.openStart && !n.openEnd && t.start() == e.start() && t.parent.canReplace(t.index(), e.index(), n.content);
7173
7173
  }
7174
- class DA {
7174
+ class AD {
7175
7175
  constructor(e, n, r) {
7176
7176
  this.$from = e, this.$to = n, this.unplaced = r, this.frontier = [], this.placed = I.empty;
7177
7177
  for (let i = 0; i <= e.depth; i++) {
@@ -7341,18 +7341,18 @@ function Mf(t, e, n, r, i) {
7341
7341
  if (s == o.childCount && !n.compatibleContent(o.type))
7342
7342
  return null;
7343
7343
  let a = r.fillBefore(o.content, !0, s);
7344
- return a && !AA(n, o.content, s) ? a : null;
7344
+ return a && !DD(n, o.content, s) ? a : null;
7345
7345
  }
7346
- function AA(t, e, n) {
7346
+ function DD(t, e, n) {
7347
7347
  for (let r = n; r < e.childCount; r++)
7348
7348
  if (!t.allowsMarks(e.child(r).marks))
7349
7349
  return !0;
7350
7350
  return !1;
7351
7351
  }
7352
- function RA(t) {
7352
+ function RD(t) {
7353
7353
  return t.spec.defining || t.spec.definingForContent;
7354
7354
  }
7355
- function FA(t, e, n, r) {
7355
+ function FD(t, e, n, r) {
7356
7356
  if (!r.size)
7357
7357
  return t.deleteRange(e, n);
7358
7358
  let i = t.doc.resolve(e), o = t.doc.resolve(n);
@@ -7376,7 +7376,7 @@ function FA(t, e, n, r) {
7376
7376
  p = h.content;
7377
7377
  }
7378
7378
  for (let p = u - 1; p >= 0; p--) {
7379
- let d = c[p], h = RA(d.type);
7379
+ let d = c[p], h = RD(d.type);
7380
7380
  if (h && !d.sameMarkup(i.node(Math.abs(a) - 1)))
7381
7381
  u = p;
7382
7382
  else if (h || !d.type.isTextblock)
@@ -7410,14 +7410,14 @@ function Vx(t, e, n, r, i) {
7410
7410
  }
7411
7411
  return t;
7412
7412
  }
7413
- function LA(t, e, n, r) {
7413
+ function LD(t, e, n, r) {
7414
7414
  if (!r.isInline && e == n && t.doc.resolve(e).parent.content.size) {
7415
- let i = IA(t.doc, e, r.type);
7415
+ let i = ID(t.doc, e, r.type);
7416
7416
  i != null && (e = n = i);
7417
7417
  }
7418
7418
  t.replaceRange(e, n, new L(I.from(r), 0, 0));
7419
7419
  }
7420
- function jA(t, e, n) {
7420
+ function jD(t, e, n) {
7421
7421
  let r = t.doc.resolve(e), i = t.doc.resolve(n), o = Wx(r, i);
7422
7422
  for (let s = 0; s < o.length; s++) {
7423
7423
  let a = o[s], l = s == o.length - 1;
@@ -7451,13 +7451,13 @@ class Ri extends wt {
7451
7451
  apply(e) {
7452
7452
  let n = e.nodeAt(this.pos);
7453
7453
  if (!n)
7454
- return De.fail("No node at attribute step's position");
7454
+ return Ae.fail("No node at attribute step's position");
7455
7455
  let r = /* @__PURE__ */ Object.create(null);
7456
7456
  for (let o in n.attrs)
7457
7457
  r[o] = n.attrs[o];
7458
7458
  r[this.attr] = this.value;
7459
7459
  let i = n.type.create(r, null, n.marks);
7460
- return De.fromReplace(e, this.pos, this.pos + 1, new L(I.from(i), 0, n.isLeaf ? 0 : 1));
7460
+ return Ae.fromReplace(e, this.pos, this.pos + 1, new L(I.from(i), 0, n.isLeaf ? 0 : 1));
7461
7461
  }
7462
7462
  getMap() {
7463
7463
  return It.empty;
@@ -7488,12 +7488,12 @@ Vi = function t(e) {
7488
7488
  Vi.prototype = Object.create(Error.prototype);
7489
7489
  Vi.prototype.constructor = Vi;
7490
7490
  Vi.prototype.name = "TransformError";
7491
- class BA {
7491
+ class BD {
7492
7492
  /**
7493
7493
  Create a transform that starts with the given document.
7494
7494
  */
7495
7495
  constructor(e) {
7496
- this.doc = e, this.steps = [], this.docs = [], this.mapping = new Di();
7496
+ this.doc = e, this.steps = [], this.docs = [], this.mapping = new Ai();
7497
7497
  }
7498
7498
  /**
7499
7499
  The starting document.
@@ -7579,7 +7579,7 @@ class BA {
7579
7579
  control over what happens.
7580
7580
  */
7581
7581
  replaceRange(e, n, r) {
7582
- return FA(this, e, n, r), this;
7582
+ return FD(this, e, n, r), this;
7583
7583
  }
7584
7584
  /**
7585
7585
  Replace the given range with a node, but use `from` and `to` as
@@ -7591,14 +7591,14 @@ class BA {
7591
7591
  that parent node.
7592
7592
  */
7593
7593
  replaceRangeWith(e, n, r) {
7594
- return LA(this, e, n, r), this;
7594
+ return LD(this, e, n, r), this;
7595
7595
  }
7596
7596
  /**
7597
7597
  Delete the given range, expanding it to cover fully covered
7598
7598
  parent nodes until a valid replace is found.
7599
7599
  */
7600
7600
  deleteRange(e, n) {
7601
- return jA(this, e, n), this;
7601
+ return jD(this, e, n), this;
7602
7602
  }
7603
7603
  /**
7604
7604
  Split the content in the given range off from its parent, if there
@@ -7608,14 +7608,14 @@ class BA {
7608
7608
  sure the lift is valid.
7609
7609
  */
7610
7610
  lift(e, n) {
7611
- return OA(this, e, n), this;
7611
+ return OD(this, e, n), this;
7612
7612
  }
7613
7613
  /**
7614
7614
  Join the blocks around the given position. If depth is 2, their
7615
7615
  last and first siblings are also joined, and so on.
7616
7616
  */
7617
7617
  join(e, n = 1) {
7618
- return $A(this, e, n), this;
7618
+ return $D(this, e, n), this;
7619
7619
  }
7620
7620
  /**
7621
7621
  Wrap the given [range](https://prosemirror.net/docs/ref/#model.NodeRange) in the given set of wrappers.
@@ -7623,21 +7623,21 @@ class BA {
7623
7623
  probably be computed with [`findWrapping`](https://prosemirror.net/docs/ref/#transform.findWrapping).
7624
7624
  */
7625
7625
  wrap(e, n) {
7626
- return CA(this, e, n), this;
7626
+ return CD(this, e, n), this;
7627
7627
  }
7628
7628
  /**
7629
7629
  Set the type of all textblocks (partly) between `from` and `to` to
7630
7630
  the given node type with the given attributes.
7631
7631
  */
7632
7632
  setBlockType(e, n = e, r, i = null) {
7633
- return kA(this, e, n, r, i), this;
7633
+ return kD(this, e, n, r, i), this;
7634
7634
  }
7635
7635
  /**
7636
7636
  Change the type, attributes, and/or marks of the node at `pos`.
7637
7637
  When `type` isn't given, the existing node type is preserved,
7638
7638
  */
7639
7639
  setNodeMarkup(e, n, r = null, i) {
7640
- return MA(this, e, n, r, i), this;
7640
+ return MD(this, e, n, r, i), this;
7641
7641
  }
7642
7642
  /**
7643
7643
  Set a single attribute on a given node to a new value.
@@ -7673,13 +7673,13 @@ class BA {
7673
7673
  use after the split.
7674
7674
  */
7675
7675
  split(e, n = 1, r) {
7676
- return TA(this, e, n, r), this;
7676
+ return TD(this, e, n, r), this;
7677
7677
  }
7678
7678
  /**
7679
7679
  Add the given mark to the inline content between `from` and `to`.
7680
7680
  */
7681
7681
  addMark(e, n, r) {
7682
- return bA(this, e, n, r), this;
7682
+ return bD(this, e, n, r), this;
7683
7683
  }
7684
7684
  /**
7685
7685
  Remove marks from inline nodes between `from` and `to`. When
@@ -7688,7 +7688,7 @@ class BA {
7688
7688
  remove all marks of any type.
7689
7689
  */
7690
7690
  removeMark(e, n, r) {
7691
- return wA(this, e, n, r), this;
7691
+ return wD(this, e, n, r), this;
7692
7692
  }
7693
7693
  /**
7694
7694
  Removes all marks and nodes from the content of the node at
@@ -7697,7 +7697,7 @@ class BA {
7697
7697
  third argument.
7698
7698
  */
7699
7699
  clearIncompatible(e, n, r) {
7700
- return SA(this, e, n, r), this;
7700
+ return SD(this, e, n, r), this;
7701
7701
  }
7702
7702
  }
7703
7703
  const Tf = /* @__PURE__ */ Object.create(null);
@@ -7708,7 +7708,7 @@ class ne {
7708
7708
  `$head`.
7709
7709
  */
7710
7710
  constructor(e, n, r) {
7711
- this.$anchor = e, this.$head = n, this.ranges = r || [new zA(e.min(n), e.max(n))];
7711
+ this.$anchor = e, this.$head = n, this.ranges = r || [new zD(e.min(n), e.max(n))];
7712
7712
  }
7713
7713
  /**
7714
7714
  The selection's anchor, as an unresolved position.
@@ -7866,7 +7866,7 @@ class ne {
7866
7866
  }
7867
7867
  }
7868
7868
  ne.prototype.visible = !0;
7869
- class zA {
7869
+ class zD {
7870
7870
  /**
7871
7871
  Create a range.
7872
7872
  */
@@ -8054,11 +8054,11 @@ class Zt extends ne {
8054
8054
  return e instanceof Zt;
8055
8055
  }
8056
8056
  getBookmark() {
8057
- return VA;
8057
+ return VD;
8058
8058
  }
8059
8059
  }
8060
8060
  ne.jsonID("all", Zt);
8061
- const VA = {
8061
+ const VD = {
8062
8062
  map() {
8063
8063
  return this;
8064
8064
  },
@@ -8096,7 +8096,7 @@ function c0(t, e, n) {
8096
8096
  }), t.setSelection(ne.near(t.doc.resolve(s), n));
8097
8097
  }
8098
8098
  const u0 = 1, pa = 2, f0 = 4;
8099
- class WA extends BA {
8099
+ class WD extends BD {
8100
8100
  /**
8101
8101
  @internal
8102
8102
  */
@@ -8250,13 +8250,13 @@ class WA extends BA {
8250
8250
  function p0(t, e) {
8251
8251
  return !e || !t ? t : t.bind(e);
8252
8252
  }
8253
- class Do {
8253
+ class Ao {
8254
8254
  constructor(e, n, r) {
8255
8255
  this.name = e, this.init = p0(n.init, r), this.apply = p0(n.apply, r);
8256
8256
  }
8257
8257
  }
8258
- const HA = [
8259
- new Do("doc", {
8258
+ const HD = [
8259
+ new Ao("doc", {
8260
8260
  init(t) {
8261
8261
  return t.doc || t.schema.topNodeType.createAndFill();
8262
8262
  },
@@ -8264,7 +8264,7 @@ const HA = [
8264
8264
  return t.doc;
8265
8265
  }
8266
8266
  }),
8267
- new Do("selection", {
8267
+ new Ao("selection", {
8268
8268
  init(t, e) {
8269
8269
  return t.selection || ne.atStart(e.doc);
8270
8270
  },
@@ -8272,7 +8272,7 @@ const HA = [
8272
8272
  return t.selection;
8273
8273
  }
8274
8274
  }),
8275
- new Do("storedMarks", {
8275
+ new Ao("storedMarks", {
8276
8276
  init(t) {
8277
8277
  return t.storedMarks || null;
8278
8278
  },
@@ -8280,7 +8280,7 @@ const HA = [
8280
8280
  return r.selection.$cursor ? t.storedMarks : null;
8281
8281
  }
8282
8282
  }),
8283
- new Do("scrollToSelection", {
8283
+ new Ao("scrollToSelection", {
8284
8284
  init() {
8285
8285
  return 0;
8286
8286
  },
@@ -8291,10 +8291,10 @@ const HA = [
8291
8291
  ];
8292
8292
  class $f {
8293
8293
  constructor(e, n) {
8294
- this.schema = e, this.plugins = [], this.pluginsByKey = /* @__PURE__ */ Object.create(null), this.fields = HA.slice(), n && n.forEach((r) => {
8294
+ this.schema = e, this.plugins = [], this.pluginsByKey = /* @__PURE__ */ Object.create(null), this.fields = HD.slice(), n && n.forEach((r) => {
8295
8295
  if (this.pluginsByKey[r.key])
8296
8296
  throw new RangeError("Adding different instances of a keyed plugin (" + r.key + ")");
8297
- this.plugins.push(r), this.pluginsByKey[r.key] = r, r.spec.state && this.fields.push(new Do(r.key, r.spec.state, r));
8297
+ this.plugins.push(r), this.pluginsByKey[r.key] = r, r.spec.state && this.fields.push(new Ao(r.key, r.spec.state, r));
8298
8298
  });
8299
8299
  }
8300
8300
  }
@@ -8384,7 +8384,7 @@ class Ni {
8384
8384
  Start a [transaction](https://prosemirror.net/docs/ref/#state.Transaction) from this state.
8385
8385
  */
8386
8386
  get tr() {
8387
- return new WA(this);
8387
+ return new WD(this);
8388
8388
  }
8389
8389
  /**
8390
8390
  Create a new state.
@@ -8523,14 +8523,14 @@ const kn = function(t, e, n) {
8523
8523
  return r.setEnd(t, n ?? t.nodeValue.length), r.setStart(t, e || 0), r;
8524
8524
  }, Gr = function(t, e, n, r) {
8525
8525
  return n && (h0(t, e, n, r, -1) || h0(t, e, n, r, 1));
8526
- }, UA = /^(img|br|input|textarea|hr)$/i;
8526
+ }, UD = /^(img|br|input|textarea|hr)$/i;
8527
8527
  function h0(t, e, n, r, i) {
8528
8528
  for (; ; ) {
8529
8529
  if (t == n && e == r)
8530
8530
  return !0;
8531
8531
  if (e == (i < 0 ? 0 : an(t))) {
8532
8532
  let o = t.parentNode;
8533
- if (!o || o.nodeType != 1 || Ih(t) || UA.test(t.nodeName) || t.contentEditable == "false")
8533
+ if (!o || o.nodeType != 1 || Ih(t) || UD.test(t.nodeName) || t.contentEditable == "false")
8534
8534
  return !1;
8535
8535
  e = lt(t) + (i < 0 ? 0 : 1), t = o;
8536
8536
  } else if (t.nodeType == 1) {
@@ -8544,7 +8544,7 @@ function h0(t, e, n, r, i) {
8544
8544
  function an(t) {
8545
8545
  return t.nodeType == 3 ? t.nodeValue.length : t.childNodes.length;
8546
8546
  }
8547
- function GA(t, e, n) {
8547
+ function GD(t, e, n) {
8548
8548
  for (let r = e == 0, i = e == an(t); r || i; ) {
8549
8549
  if (t == n)
8550
8550
  return !0;
@@ -8567,13 +8567,13 @@ function Nr(t, e) {
8567
8567
  let n = document.createEvent("Event");
8568
8568
  return n.initEvent("keydown", !0, !0), n.keyCode = t, n.key = n.code = e, n;
8569
8569
  }
8570
- function qA(t) {
8570
+ function qD(t) {
8571
8571
  let e = t.activeElement;
8572
8572
  for (; e && e.shadowRoot; )
8573
8573
  e = e.shadowRoot.activeElement;
8574
8574
  return e;
8575
8575
  }
8576
- function JA(t, e, n) {
8576
+ function JD(t, e, n) {
8577
8577
  if (t.caretPositionFromPoint)
8578
8578
  try {
8579
8579
  let r = t.caretPositionFromPoint(e, n);
@@ -8589,8 +8589,8 @@ function JA(t, e, n) {
8589
8589
  }
8590
8590
  const dn = typeof navigator < "u" ? navigator : null, m0 = typeof document < "u" ? document : null, mr = dn && dn.userAgent || "", Xp = /Edge\/(\d+)/.exec(mr), Gx = /MSIE \d/.exec(mr), Yp = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(mr), yt = !!(Gx || Yp || Xp), Zn = Gx ? document.documentMode : Yp ? +Yp[1] : Xp ? +Xp[1] : 0, Qt = !yt && /gecko\/(\d+)/i.test(mr);
8591
8591
  Qt && +(/Firefox\/(\d+)/.exec(mr) || [0, 0])[1];
8592
- const Zp = !yt && /Chrome\/(\d+)/.exec(mr), tt = !!Zp, KA = Zp ? +Zp[1] : 0, ct = !yt && !!dn && /Apple Computer/.test(dn.vendor), Wi = ct && (/Mobile\/\w+/.test(mr) || !!dn && dn.maxTouchPoints > 2), $t = Wi || (dn ? /Mac/.test(dn.platform) : !1), XA = dn ? /Win/.test(dn.platform) : !1, Kt = /Android \d/.test(mr), Gl = !!m0 && "webkitFontSmoothing" in m0.documentElement.style, YA = Gl ? +(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent) || [0, 0])[1] : 0;
8593
- function ZA(t) {
8592
+ const Zp = !yt && /Chrome\/(\d+)/.exec(mr), tt = !!Zp, KD = Zp ? +Zp[1] : 0, ct = !yt && !!dn && /Apple Computer/.test(dn.vendor), Wi = ct && (/Mobile\/\w+/.test(mr) || !!dn && dn.maxTouchPoints > 2), $t = Wi || (dn ? /Mac/.test(dn.platform) : !1), XD = dn ? /Win/.test(dn.platform) : !1, Kt = /Android \d/.test(mr), Gl = !!m0 && "webkitFontSmoothing" in m0.documentElement.style, YD = Gl ? +(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent) || [0, 0])[1] : 0;
8593
+ function ZD(t) {
8594
8594
  return {
8595
8595
  left: 0,
8596
8596
  right: t.documentElement.clientWidth,
@@ -8601,7 +8601,7 @@ function ZA(t) {
8601
8601
  function En(t, e) {
8602
8602
  return typeof t == "number" ? t : t[e];
8603
8603
  }
8604
- function QA(t) {
8604
+ function QD(t) {
8605
8605
  let e = t.getBoundingClientRect(), n = e.width / t.offsetWidth || 1, r = e.height / t.offsetHeight || 1;
8606
8606
  return {
8607
8607
  left: e.left,
@@ -8615,7 +8615,7 @@ function v0(t, e, n) {
8615
8615
  for (let s = n || t.dom; s; s = Ko(s)) {
8616
8616
  if (s.nodeType != 1)
8617
8617
  continue;
8618
- let a = s, l = a == o.body, c = l ? ZA(o) : QA(a), u = 0, f = 0;
8618
+ let a = s, l = a == o.body, c = l ? ZD(o) : QD(a), u = 0, f = 0;
8619
8619
  if (e.top < c.top + En(r, "top") ? f = -(c.top - e.top + En(i, "top")) : e.bottom > c.bottom - En(r, "bottom") && (f = e.bottom - e.top > c.bottom - c.top ? e.top + En(i, "top") - c.top : e.bottom - c.bottom + En(i, "bottom")), e.left < c.left + En(r, "left") ? u = -(c.left - e.left + En(i, "left")) : e.right > c.right - En(r, "right") && (u = e.right - c.right + En(i, "right")), u || f)
8620
8620
  if (l)
8621
8621
  o.defaultView.scrollBy(u, f);
@@ -8760,7 +8760,7 @@ function Xx(t, e, n) {
8760
8760
  return t;
8761
8761
  }
8762
8762
  function aR(t, e) {
8763
- let n = t.dom.ownerDocument, r, i = 0, o = JA(n, e.left, e.top);
8763
+ let n = t.dom.ownerDocument, r, i = 0, o = JD(n, e.left, e.top);
8764
8764
  o && ({ node: r, offset: i } = o);
8765
8765
  let s = (t.root.elementFromPoint ? t.root : n).elementFromPoint(e.left, e.top), a;
8766
8766
  if (!s || !t.dom.contains(s.nodeType != 1 ? s.parentNode : s)) {
@@ -9924,7 +9924,7 @@ function td(t, e, n, r, i) {
9924
9924
  }
9925
9925
  return o;
9926
9926
  }
9927
- function Dh(t, e = null) {
9927
+ function Ah(t, e = null) {
9928
9928
  let n = t.domSelectionRange(), r = t.state.doc;
9929
9929
  if (!n.focusNode)
9930
9930
  return null;
@@ -9936,7 +9936,7 @@ function Dh(t, e = null) {
9936
9936
  for (l = a; i && !i.node; )
9937
9937
  i = i.parent;
9938
9938
  let u = i.node;
9939
- if (i && u.isAtom && X.isSelectable(u) && i.parent && !(u.isInline && GA(n.focusNode, n.focusOffset, i.dom))) {
9939
+ if (i && u.isAtom && X.isSelectable(u) && i.parent && !(u.isInline && GD(n.focusNode, n.focusOffset, i.dom))) {
9940
9940
  let f = i.posBefore;
9941
9941
  c = new X(s == f ? a : r.resolve(f));
9942
9942
  }
@@ -9948,7 +9948,7 @@ function Dh(t, e = null) {
9948
9948
  }
9949
9949
  if (!c) {
9950
9950
  let u = e == "pointer" || t.state.selection.head < a.pos && !o ? 1 : -1;
9951
- c = Ah(t, l, a, u);
9951
+ c = Dh(t, l, a, u);
9952
9952
  }
9953
9953
  return c;
9954
9954
  }
@@ -9974,19 +9974,19 @@ function In(t, e = !1) {
9974
9974
  t.domObserver.setCurSelection(), t.domObserver.connectSelection();
9975
9975
  }
9976
9976
  }
9977
- const E0 = ct || tt && KA < 63;
9977
+ const E0 = ct || tt && KD < 63;
9978
9978
  function _0(t, e) {
9979
9979
  let { node: n, offset: r } = t.docView.domFromPos(e, 0), i = r < n.childNodes.length ? n.childNodes[r] : null, o = r ? n.childNodes[r - 1] : null;
9980
9980
  if (ct && i && i.contentEditable == "false")
9981
- return Df(i);
9981
+ return Af(i);
9982
9982
  if ((!i || i.contentEditable == "false") && (!o || o.contentEditable == "false")) {
9983
9983
  if (i)
9984
- return Df(i);
9984
+ return Af(i);
9985
9985
  if (o)
9986
- return Df(o);
9986
+ return Af(o);
9987
9987
  }
9988
9988
  }
9989
- function Df(t) {
9989
+ function Af(t) {
9990
9990
  return t.contentEditable = "true", ct && t.draggable && (t.draggable = !1, t.wasDraggable = !0), t;
9991
9991
  }
9992
9992
  function C0(t) {
@@ -10016,7 +10016,7 @@ function oO(t, e) {
10016
10016
  function k0(t) {
10017
10017
  t.lastSelectedViewDesc && (t.lastSelectedViewDesc.parent && t.lastSelectedViewDesc.deselectNode(), t.lastSelectedViewDesc = void 0);
10018
10018
  }
10019
- function Ah(t, e, n, r) {
10019
+ function Dh(t, e, n, r) {
10020
10020
  return t.someProp("createSelectionBetween", (i) => i(t, e, n)) || ie.between(e, n, r);
10021
10021
  }
10022
10022
  function N0(t) {
@@ -10194,7 +10194,7 @@ function rd(t, e, n) {
10194
10194
  }
10195
10195
  function T0(t, e) {
10196
10196
  let n = t.state.doc.resolve(e);
10197
- if (!(tt || XA) && n.parent.inlineContent) {
10197
+ if (!(tt || XD) && n.parent.inlineContent) {
10198
10198
  let i = t.coordsAtPos(e);
10199
10199
  if (e > n.start()) {
10200
10200
  let o = t.coordsAtPos(e - 1), s = (o.top + o.bottom) / 2;
@@ -10335,7 +10335,7 @@ function cO(t, e, n, r, i) {
10335
10335
  } else
10336
10336
  t.someProp("transformPastedHTML", (f) => {
10337
10337
  n = f(n, t);
10338
- }), s = AR(n), Gl && RR(s);
10338
+ }), s = DR(n), Gl && RR(s);
10339
10339
  let c = s && s.querySelector("[data-pm-slice]"), u = c && /^(\d+) (\d+)(?: -(\d+))? (.*)/.exec(c.getAttribute("data-pm-slice") || "");
10340
10340
  if (u && u[3])
10341
10341
  for (let f = +u[3]; f > 0; f--) {
@@ -10353,21 +10353,21 @@ function cO(t, e, n, r, i) {
10353
10353
  return p.nodeName == "BR" && !p.nextSibling && p.parentNode && !PR.test(p.parentNode.nodeName) ? { ignore: !0 } : null;
10354
10354
  }
10355
10355
  })), u)
10356
- a = FR(D0(a, +u[1], +u[2]), u[4]);
10357
- else if (a = L.maxOpen(DR(a.content, i), !0), a.openStart || a.openEnd) {
10356
+ a = FR(A0(a, +u[1], +u[2]), u[4]);
10357
+ else if (a = L.maxOpen(AR(a.content, i), !0), a.openStart || a.openEnd) {
10358
10358
  let f = 0, p = 0;
10359
10359
  for (let d = a.content.firstChild; f < a.openStart && !d.type.spec.isolating; f++, d = d.firstChild)
10360
10360
  ;
10361
10361
  for (let d = a.content.lastChild; p < a.openEnd && !d.type.spec.isolating; p++, d = d.lastChild)
10362
10362
  ;
10363
- a = D0(a, f, p);
10363
+ a = A0(a, f, p);
10364
10364
  }
10365
10365
  return t.someProp("transformPasted", (f) => {
10366
10366
  a = f(a, t);
10367
10367
  }), a;
10368
10368
  }
10369
10369
  const PR = /^(a|abbr|acronym|b|cite|code|del|em|i|ins|kbd|label|output|q|ruby|s|samp|span|strong|sub|sup|time|u|tt|var)$/i;
10370
- function DR(t, e) {
10370
+ function AR(t, e) {
10371
10371
  if (t.childCount < 2)
10372
10372
  return t;
10373
10373
  for (let n = e.depth; n >= 0; n--) {
@@ -10414,7 +10414,7 @@ function id(t, e, n, r, i, o) {
10414
10414
  let s = e < 0 ? t.firstChild : t.lastChild, a = s.content;
10415
10415
  return t.childCount > 1 && (o = 0), i < r - 1 && (a = id(a, e, n, r, i + 1, o)), i >= n && (a = e < 0 ? s.contentMatchAt(0).fillBefore(a, o <= i).append(a) : a.append(s.contentMatchAt(s.childCount).fillBefore(I.empty, !0))), t.replaceChild(e < 0 ? 0 : t.childCount - 1, s.copy(a));
10416
10416
  }
10417
- function D0(t, e, n) {
10417
+ function A0(t, e, n) {
10418
10418
  return e < t.openStart && (t = new L(id(t.content, -1, e, t.openStart, 0, t.openEnd), e, t.openEnd)), n < t.openEnd && (t = new L(id(t.content, 1, n, t.openEnd, 0, 0), t.openStart, n)), t;
10419
10419
  }
10420
10420
  const dO = {
@@ -10428,11 +10428,11 @@ const dO = {
10428
10428
  td: ["table", "tbody", "tr"],
10429
10429
  th: ["table", "tbody", "tr"]
10430
10430
  };
10431
- let A0 = null;
10431
+ let D0 = null;
10432
10432
  function hO() {
10433
- return A0 || (A0 = document.implementation.createHTMLDocument("title"));
10433
+ return D0 || (D0 = document.implementation.createHTMLDocument("title"));
10434
10434
  }
10435
- function AR(t) {
10435
+ function DR(t) {
10436
10436
  let e = /^(\s*<meta [^>]*>)*/.exec(t);
10437
10437
  e && (t = t.slice(e[0].length));
10438
10438
  let n = hO().createElement("div"), r = /<([a-z][^>\s]+)/i.exec(t), i;
@@ -10721,7 +10721,7 @@ function QR() {
10721
10721
  function Qa(t, e = !1) {
10722
10722
  if (!(Kt && t.domObserver.flushingSoon >= 0)) {
10723
10723
  if (t.domObserver.forceFlush(), yO(t), e || t.docView && t.docView.dirty) {
10724
- let n = Dh(t);
10724
+ let n = Ah(t);
10725
10725
  return n && !n.eq(t.state.selection) ? t.dispatch(t.state.tr.setSelection(n)) : t.updateState(t.state), !0;
10726
10726
  }
10727
10727
  return !1;
@@ -10737,7 +10737,7 @@ function eF(t, e) {
10737
10737
  n.parentNode && n.parentNode.removeChild(n), t.focus();
10738
10738
  }, 50);
10739
10739
  }
10740
- const Hi = yt && Zn < 15 || Wi && YA < 604;
10740
+ const Hi = yt && Zn < 15 || Wi && YD < 604;
10741
10741
  ut.copy = ft.cut = (t, e) => {
10742
10742
  let n = e, r = t.state.selection, i = n.type == "cut";
10743
10743
  if (r.empty)
@@ -10822,7 +10822,7 @@ ft.drop = (t, e) => {
10822
10822
  if (!s)
10823
10823
  return;
10824
10824
  n.preventDefault();
10825
- let l = s ? PA(t.state.doc, o.pos, s) : o.pos;
10825
+ let l = s ? PD(t.state.doc, o.pos, s) : o.pos;
10826
10826
  l == null && (l = o.pos);
10827
10827
  let c = t.state.tr;
10828
10828
  a && c.deleteSelection();
@@ -10834,7 +10834,7 @@ ft.drop = (t, e) => {
10834
10834
  c.setSelection(new X(d));
10835
10835
  else {
10836
10836
  let h = c.mapping.map(l);
10837
- c.mapping.maps[c.mapping.maps.length - 1].forEach((m, v, y, _) => h = _), c.setSelection(Ah(t, d, c.doc.resolve(h)));
10837
+ c.mapping.maps[c.mapping.maps.length - 1].forEach((m, v, y, _) => h = _), c.setSelection(Dh(t, d, c.doc.resolve(h)));
10838
10838
  }
10839
10839
  t.focus(), t.dispatch(c.setMeta("uiEvent", "drop"));
10840
10840
  };
@@ -11358,7 +11358,7 @@ function R0(t, e, n) {
11358
11358
  e++;
11359
11359
  t.splice(e, 0, n);
11360
11360
  }
11361
- function Af(t) {
11361
+ function Df(t) {
11362
11362
  let e = [];
11363
11363
  return t.someProp("decorations", (n) => {
11364
11364
  let r = n(t.state);
@@ -11488,7 +11488,7 @@ class cF {
11488
11488
  }
11489
11489
  }
11490
11490
  let c = null;
11491
- o < 0 && i && e.input.lastFocus > Date.now() - 200 && Math.max(e.input.lastTouch, e.input.lastClick.time) < Date.now() - 300 && Ul(r) && (c = Dh(e)) && c.eq(ne.near(e.state.doc.resolve(0), 1)) ? (e.input.lastFocus = 0, In(e), this.currentSelection.set(r), e.scrollToSelection()) : (o > -1 || i) && (o > -1 && (e.docView.markDirty(o, s), uF(e)), this.handleDOMChange(o, s, a, l), e.docView && e.docView.dirty ? e.updateState(e.state) : this.currentSelection.eq(r) || In(e), this.currentSelection.set(r));
11491
+ o < 0 && i && e.input.lastFocus > Date.now() - 200 && Math.max(e.input.lastTouch, e.input.lastClick.time) < Date.now() - 300 && Ul(r) && (c = Ah(e)) && c.eq(ne.near(e.state.doc.resolve(0), 1)) ? (e.input.lastFocus = 0, In(e), this.currentSelection.set(r), e.scrollToSelection()) : (o > -1 || i) && (o > -1 && (e.docView.markDirty(o, s), uF(e)), this.handleDOMChange(o, s, a, l), e.docView && e.docView.dirty ? e.updateState(e.state) : this.currentSelection.eq(r) || In(e), this.currentSelection.set(r));
11492
11492
  }
11493
11493
  registerMutation(e, n) {
11494
11494
  if (n.indexOf(e.target) > -1)
@@ -11586,7 +11586,7 @@ const hF = /^(a|abbr|acronym|b|bd[io]|big|br|button|cite|code|data(list)?|del|df
11586
11586
  function mF(t, e, n, r, i) {
11587
11587
  let o = t.input.compositionPendingChanges || (t.composing ? t.input.compositionID : 0);
11588
11588
  if (t.input.compositionPendingChanges = 0, e < 0) {
11589
- let j = t.input.lastSelectionTime > Date.now() - 50 ? t.input.lastSelectionOrigin : null, Q = Dh(t, j);
11589
+ let j = t.input.lastSelectionTime > Date.now() - 50 ? t.input.lastSelectionOrigin : null, Q = Ah(t, j);
11590
11590
  if (Q && !t.state.selection.eq(Q)) {
11591
11591
  if (tt && Kt && t.input.lastKeyCode === 13 && Date.now() - 100 < t.input.lastKeyCodeTime && t.someProp("handleKeyDown", (ke) => ke(t, Nr(13, "Enter"))))
11592
11592
  return;
@@ -11659,7 +11659,7 @@ function mF(t, e, n, r, i) {
11659
11659
  b && B.ensureMarks(b), o && B.setMeta("composition", o), t.dispatch(B.scrollIntoView());
11660
11660
  }
11661
11661
  function j0(t, e, n) {
11662
- return Math.max(n.anchor, n.head) > e.content.size ? null : Ah(t, e.resolve(n.anchor), e.resolve(n.head));
11662
+ return Math.max(n.anchor, n.head) > e.content.size ? null : Dh(t, e.resolve(n.anchor), e.resolve(n.head));
11663
11663
  }
11664
11664
  function vF(t, e) {
11665
11665
  let n = t.firstChild.marks, r = e.firstChild.marks, i = n, o = r, s, a, l;
@@ -11728,7 +11728,7 @@ class bF {
11728
11728
  added to the document.
11729
11729
  */
11730
11730
  constructor(e, n) {
11731
- this._root = null, this.focused = !1, this.trackWrites = null, this.mounted = !1, this.markCursor = null, this.cursorWrapper = null, this.lastSelectedViewDesc = void 0, this.input = new jR(), this.prevDirectPlugins = [], this.pluginViews = [], this.requiresGeckoHackNode = !1, this.dragging = null, this._props = n, this.state = n.state, this.directPlugins = n.plugins || [], this.directPlugins.forEach(H0), this.dispatch = this.dispatch.bind(this), this.dom = e && e.mount || document.createElement("div"), e && (e.appendChild ? e.appendChild(this.dom) : typeof e == "function" ? e(this.dom) : e.mount && (this.mounted = !0)), this.editable = V0(this), z0(this), this.nodeViews = W0(this), this.docView = x0(this.state.doc, B0(this), Af(this), this.dom, this), this.domObserver = new cF(this, (r, i, o, s) => mF(this, r, i, o, s)), this.domObserver.start(), BR(this), this.updatePluginViews();
11731
+ this._root = null, this.focused = !1, this.trackWrites = null, this.mounted = !1, this.markCursor = null, this.cursorWrapper = null, this.lastSelectedViewDesc = void 0, this.input = new jR(), this.prevDirectPlugins = [], this.pluginViews = [], this.requiresGeckoHackNode = !1, this.dragging = null, this._props = n, this.state = n.state, this.directPlugins = n.plugins || [], this.directPlugins.forEach(H0), this.dispatch = this.dispatch.bind(this), this.dom = e && e.mount || document.createElement("div"), e && (e.appendChild ? e.appendChild(this.dom) : typeof e == "function" ? e(this.dom) : e.mount && (this.mounted = !0)), this.editable = V0(this), z0(this), this.nodeViews = W0(this), this.docView = x0(this.state.doc, B0(this), Df(this), this.dom, this), this.domObserver = new cF(this, (r, i, o, s) => mF(this, r, i, o, s)), this.domObserver.start(), BR(this), this.updatePluginViews();
11732
11732
  }
11733
11733
  /**
11734
11734
  Holds `true` when a
@@ -11790,7 +11790,7 @@ class bF {
11790
11790
  SF(p, this.nodeViews) && (this.nodeViews = p, i = !0);
11791
11791
  }
11792
11792
  (s || n.handleDOMEvents != this._props.handleDOMEvents) && od(this), this.editable = V0(this), z0(this);
11793
- let a = Af(this), l = B0(this), c = r.plugins != e.plugins && !r.doc.eq(e.doc) ? "reset" : e.scrollToSelection > r.scrollToSelection ? "to selection" : "preserve", u = i || !this.docView.matchesNode(e.doc, l, a);
11793
+ let a = Df(this), l = B0(this), c = r.plugins != e.plugins && !r.doc.eq(e.doc) ? "reset" : e.scrollToSelection > r.scrollToSelection ? "to selection" : "preserve", u = i || !this.docView.matchesNode(e.doc, l, a);
11794
11794
  (u || !e.selection.eq(r.selection)) && (o = !0);
11795
11795
  let f = c == "preserve" && o && this.dom.style.overflowAnchor == null && eR(this);
11796
11796
  if (o) {
@@ -11991,7 +11991,7 @@ class bF {
11991
11991
  views](https://prosemirror.net/docs/ref/#view.NodeView).
11992
11992
  */
11993
11993
  destroy() {
11994
- this.docView && (zR(this), this.destroyPluginViews(), this.mounted ? (this.docView.update(this.state.doc, [], Af(this), this), this.dom.textContent = "") : this.dom.parentNode && this.dom.parentNode.removeChild(this.dom), this.docView.destroy(), this.docView = null);
11994
+ this.docView && (zR(this), this.destroyPluginViews(), this.mounted ? (this.docView.update(this.state.doc, [], Df(this), this), this.dom.textContent = "") : this.dom.parentNode && this.dom.parentNode.removeChild(this.dom), this.docView.destroy(), this.docView = null);
11995
11995
  }
11996
11996
  /**
11997
11997
  This is true when the view has been
@@ -12024,7 +12024,7 @@ class bF {
12024
12024
  @internal
12025
12025
  */
12026
12026
  domSelectionRange() {
12027
- return ct && this.root.nodeType === 11 && qA(this.dom.ownerDocument) == this.dom ? fF(this) : this.domSelection();
12027
+ return ct && this.root.nodeType === 11 && qD(this.dom.ownerDocument) == this.dom ? fF(this) : this.domSelection();
12028
12028
  }
12029
12029
  /**
12030
12030
  @internal
@@ -12284,12 +12284,12 @@ function OO(t) {
12284
12284
  }
12285
12285
  return null;
12286
12286
  }
12287
- function DF(t, e) {
12287
+ function AF(t, e) {
12288
12288
  let { $cursor: n } = t.selection;
12289
12289
  return !n || (e ? !e.endOfTextblock("forward", t) : n.parentOffset < n.parent.content.size) ? null : n;
12290
12290
  }
12291
- const AF = (t, e, n) => {
12292
- let r = DF(t, n);
12291
+ const DF = (t, e, n) => {
12292
+ let r = AF(t, n);
12293
12293
  if (!r)
12294
12294
  return !1;
12295
12295
  let i = EO(r);
@@ -12400,7 +12400,7 @@ const zF = (t, e) => {
12400
12400
  return !1;
12401
12401
  if (n.depth > 1 && n.after() != n.end(-1)) {
12402
12402
  let o = n.before();
12403
- if (Ai(t.doc, o))
12403
+ if (Di(t.doc, o))
12404
12404
  return e && e(t.tr.split(o).scrollIntoView()), !0;
12405
12405
  }
12406
12406
  let r = n.blockRange(), i = r && oo(r);
@@ -12528,7 +12528,7 @@ function XF(t, e, n, r, i) {
12528
12528
  n[u].type == i && (s = u + 1);
12529
12529
  let a = n.length - s, l = e.start + n.length - (r ? 2 : 0), c = e.parent;
12530
12530
  for (let u = e.startIndex, f = e.endIndex, p = !0; u < f; u++, p = !1)
12531
- !p && Ai(t.doc, l, a) && (t.split(l, a), l += 2 * a), l += c.child(u).nodeSize;
12531
+ !p && Di(t.doc, l, a) && (t.split(l, a), l += 2 * a), l += c.child(u).nodeSize;
12532
12532
  return t;
12533
12533
  }
12534
12534
  function YF(t) {
@@ -12885,7 +12885,7 @@ function iL(t, e) {
12885
12885
  HTMLAttributes: sd(v, u)
12886
12886
  })), [c.name, d];
12887
12887
  }));
12888
- return new uA({
12888
+ return new uD({
12889
12889
  topNode: s,
12890
12890
  nodes: a,
12891
12891
  marks: l
@@ -13462,7 +13462,7 @@ function PO(t) {
13462
13462
  function Ir(t = 0, e = 0, n = 0) {
13463
13463
  return Math.min(Math.max(t, e), n);
13464
13464
  }
13465
- function DO(t, e = null) {
13465
+ function AO(t, e = null) {
13466
13466
  if (!e)
13467
13467
  return null;
13468
13468
  const n = ne.atStart(t), r = ne.atEnd(t);
@@ -13497,7 +13497,7 @@ const $L = (t = null, e = {}) => ({ editor: n, view: r, tr: i, dispatch: o }) =>
13497
13497
  return !0;
13498
13498
  if (o && t === null && !PO(n.state.selection))
13499
13499
  return s(), !0;
13500
- const a = DO(i.doc, t) || n.state.selection, l = n.state.selection.eq(a);
13500
+ const a = AO(i.doc, t) || n.state.selection, l = n.state.selection.eq(a);
13501
13501
  return o && (l || i.setSelection(a), l && i.storedMarks && i.setStoredMarks(i.storedMarks), s()), !0;
13502
13502
  }, IL = (t, e) => (n) => t.every((r, i) => e(r, { ...n, index: i })), PL = (t, e) => ({ tr: n, commands: r }) => r.insertContentAt({ from: n.selection.from, to: n.selection.to }, t, e);
13503
13503
  function K0(t) {
@@ -13521,7 +13521,7 @@ function il(t, e, n) {
13521
13521
  }
13522
13522
  return il("", e, n);
13523
13523
  }
13524
- function DL(t, e, n) {
13524
+ function AL(t, e, n) {
13525
13525
  const r = t.steps.length - 1;
13526
13526
  if (r < e)
13527
13527
  return;
@@ -13534,7 +13534,7 @@ function DL(t, e, n) {
13534
13534
  s === 0 && (s = u);
13535
13535
  }), t.setSelection(ne.near(t.doc.resolve(s), n));
13536
13536
  }
13537
- const AL = (t) => t.toString().startsWith("<"), RL = (t, e, n) => ({ tr: r, dispatch: i, editor: o }) => {
13537
+ const DL = (t) => t.toString().startsWith("<"), RL = (t, e, n) => ({ tr: r, dispatch: i, editor: o }) => {
13538
13538
  if (i) {
13539
13539
  n = {
13540
13540
  parseOptions: {},
@@ -13550,16 +13550,16 @@ const AL = (t) => t.toString().startsWith("<"), RL = (t, e, n) => ({ tr: r, disp
13550
13550
  if (s.toString() === "<>")
13551
13551
  return !0;
13552
13552
  let { from: a, to: l } = typeof t == "number" ? { from: t, to: t } : { from: t.from, to: t.to }, c = !0, u = !0;
13553
- if ((AL(s) ? s : [s]).forEach((p) => {
13553
+ if ((DL(s) ? s : [s]).forEach((p) => {
13554
13554
  p.check(), c = c ? p.isText && p.marks.length === 0 : !1, u = u ? p.isBlock : !1;
13555
13555
  }), a === l && u) {
13556
13556
  const { parent: p } = r.doc.resolve(a);
13557
13557
  p.isTextblock && !p.type.spec.code && !p.childCount && (a -= 1, l += 1);
13558
13558
  }
13559
- c ? Array.isArray(e) ? r.insertText(e.map((p) => p.text || "").join(""), a, l) : typeof e == "object" && e && e.text ? r.insertText(e.text, a, l) : r.insertText(e, a, l) : r.replaceWith(a, l, s), n.updateSelection && DL(r, r.steps.length - 1, -1);
13559
+ c ? Array.isArray(e) ? r.insertText(e.map((p) => p.text || "").join(""), a, l) : typeof e == "object" && e && e.text ? r.insertText(e.text, a, l) : r.insertText(e, a, l) : r.replaceWith(a, l, s), n.updateSelection && AL(r, r.steps.length - 1, -1);
13560
13560
  }
13561
13561
  return !0;
13562
- }, FL = () => ({ state: t, dispatch: e }) => FF(t, e), LL = () => ({ state: t, dispatch: e }) => LF(t, e), jL = () => ({ state: t, dispatch: e }) => IF(t, e), BL = () => ({ state: t, dispatch: e }) => AF(t, e), zL = () => ({ tr: t, state: e, dispatch: n }) => {
13562
+ }, FL = () => ({ state: t, dispatch: e }) => FF(t, e), LL = () => ({ state: t, dispatch: e }) => LF(t, e), jL = () => ({ state: t, dispatch: e }) => IF(t, e), BL = () => ({ state: t, dispatch: e }) => DF(t, e), zL = () => ({ tr: t, state: e, dispatch: n }) => {
13563
13563
  try {
13564
13564
  const r = Wl(e.doc, e.selection.$from.pos, -1);
13565
13565
  return r == null ? !1 : (t.join(r, 2), n && n(t), !0);
@@ -13574,7 +13574,7 @@ const AL = (t) => t.toString().startsWith("<"), RL = (t, e, n) => ({ tr: r, disp
13574
13574
  return !1;
13575
13575
  }
13576
13576
  };
13577
- function AO() {
13577
+ function DO() {
13578
13578
  return typeof navigator < "u" ? /Mac/.test(navigator.platform) : !1;
13579
13579
  }
13580
13580
  function WL(t) {
@@ -13593,7 +13593,7 @@ function WL(t) {
13593
13593
  else if (/^s(hift)?$/i.test(l))
13594
13594
  o = !0;
13595
13595
  else if (/^mod$/i.test(l))
13596
- Wh() || AO() ? s = !0 : i = !0;
13596
+ Wh() || DO() ? s = !0 : i = !0;
13597
13597
  else
13598
13598
  throw new Error(`Unrecognized modifier name: ${l}`);
13599
13599
  }
@@ -13861,7 +13861,7 @@ function Z0(t, e) {
13861
13861
  const b2 = ({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n, dispatch: r, editor: i }) => {
13862
13862
  const { selection: o, doc: s } = e, { $from: a, $to: l } = o, c = i.extensionManager.attributes, u = Ia(c, a.node().type.name, a.node().attrs);
13863
13863
  if (o instanceof X && o.node.isBlock)
13864
- return !a.parentOffset || !Ai(s, a.pos) ? !1 : (r && (t && Z0(n, i.extensionManager.splittableMarks), e.split(a.pos).scrollIntoView()), !0);
13864
+ return !a.parentOffset || !Di(s, a.pos) ? !1 : (r && (t && Z0(n, i.extensionManager.splittableMarks), e.split(a.pos).scrollIntoView()), !0);
13865
13865
  if (!a.parent.isBlock)
13866
13866
  return !1;
13867
13867
  if (r) {
@@ -13873,8 +13873,8 @@ const b2 = ({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n, dispatch: r, edit
13873
13873
  type: p,
13874
13874
  attrs: u
13875
13875
  }
13876
- ] : void 0, h = Ai(e.doc, e.mapping.map(a.pos), 1, d);
13877
- if (!d && !h && Ai(e.doc, e.mapping.map(a.pos), 1, p ? [{ type: p }] : void 0) && (h = !0, d = p ? [
13876
+ ] : void 0, h = Di(e.doc, e.mapping.map(a.pos), 1, d);
13877
+ if (!d && !h && Di(e.doc, e.mapping.map(a.pos), 1, p ? [{ type: p }] : void 0) && (h = !0, d = p ? [
13878
13878
  {
13879
13879
  type: p,
13880
13880
  attrs: u
@@ -13922,7 +13922,7 @@ const b2 = ({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n, dispatch: r, edit
13922
13922
  { type: s, attrs: d },
13923
13923
  { type: p, attrs: h }
13924
13924
  ] : [{ type: s, attrs: d }];
13925
- if (!Ai(e.doc, a.pos, 2))
13925
+ if (!Di(e.doc, a.pos, 2))
13926
13926
  return !1;
13927
13927
  if (r) {
13928
13928
  const { selection: v, storedMarks: y } = n, { splittableMarks: _ } = i.extensionManager, O = y || v.$to.parentOffset && v.$from.marks();
@@ -14118,7 +14118,7 @@ const I2 = Lt.create({
14118
14118
  })
14119
14119
  ];
14120
14120
  }
14121
- }), D2 = Lt.create({
14121
+ }), A2 = Lt.create({
14122
14122
  name: "focusEvents",
14123
14123
  addProseMirrorPlugins() {
14124
14124
  const { editor: t } = this;
@@ -14142,7 +14142,7 @@ const I2 = Lt.create({
14142
14142
  })
14143
14143
  ];
14144
14144
  }
14145
- }), A2 = Lt.create({
14145
+ }), D2 = Lt.create({
14146
14146
  name: "keymap",
14147
14147
  addKeyboardShortcuts() {
14148
14148
  const t = () => this.editor.commands.first(({ commands: s }) => [
@@ -14187,7 +14187,7 @@ const I2 = Lt.create({
14187
14187
  "Ctrl-a": () => this.editor.commands.selectTextblockStart(),
14188
14188
  "Ctrl-e": () => this.editor.commands.selectTextblockEnd()
14189
14189
  };
14190
- return Wh() || AO() ? o : i;
14190
+ return Wh() || DO() ? o : i;
14191
14191
  },
14192
14192
  addProseMirrorPlugins() {
14193
14193
  return [
@@ -14235,8 +14235,8 @@ var F2 = /* @__PURE__ */ Object.freeze({
14235
14235
  ClipboardTextSerializer: mL,
14236
14236
  Commands: I2,
14237
14237
  Editable: P2,
14238
- FocusEvents: D2,
14239
- Keymap: A2,
14238
+ FocusEvents: A2,
14239
+ Keymap: D2,
14240
14240
  Tabindex: R2
14241
14241
  });
14242
14242
  const L2 = `.ProseMirror {
@@ -14456,7 +14456,7 @@ let B2 = class extends tL {
14456
14456
  * Creates a ProseMirror view.
14457
14457
  */
14458
14458
  createView() {
14459
- const e = RO(this.options.content, this.schema, this.options.parseOptions), n = DO(e, this.options.autofocus);
14459
+ const e = RO(this.options.content, this.schema, this.options.parseOptions), n = AO(e, this.options.autofocus);
14460
14460
  this.view = new bF(this.options.element, {
14461
14461
  ...this.options.editorProps,
14462
14462
  dispatchTransaction: this.dispatchTransaction.bind(this),
@@ -14763,7 +14763,7 @@ function jn(t) {
14763
14763
  function oe(t) {
14764
14764
  return typeof t == "function";
14765
14765
  }
14766
- function Ae(t) {
14766
+ function De(t) {
14767
14767
  return t !== null && typeof t == "object";
14768
14768
  }
14769
14769
  var ec = Object.prototype.toString;
@@ -14869,7 +14869,7 @@ var da = function(t, e, n) {
14869
14869
  function Xr(t, e) {
14870
14870
  if (t === e)
14871
14871
  return !0;
14872
- var n = Ae(t), r = Ae(e);
14872
+ var n = De(t), r = De(e);
14873
14873
  if (n && r)
14874
14874
  try {
14875
14875
  var i = Array.isArray(t), o = Array.isArray(e);
@@ -15149,12 +15149,12 @@ var or = function() {
15149
15149
  }()
15150
15150
  );
15151
15151
  rt.target = null;
15152
- var Da = [];
15152
+ var Aa = [];
15153
15153
  function lo(t) {
15154
- Da.push(t), rt.target = t;
15154
+ Aa.push(t), rt.target = t;
15155
15155
  }
15156
15156
  function co() {
15157
- Da.pop(), rt.target = Da[Da.length - 1];
15157
+ Aa.pop(), rt.target = Aa[Aa.length - 1];
15158
15158
  }
15159
15159
  var XO = Array.prototype, cl = Object.create(XO), nj = [
15160
15160
  "push",
@@ -15213,27 +15213,27 @@ var rj = {
15213
15213
  } else
15214
15214
  for (var a = Object.keys(e), i = 0; i < a.length; i++) {
15215
15215
  var s = a[i];
15216
- Dt(e, s, YO, void 0, n, r);
15216
+ At(e, s, YO, void 0, n, r);
15217
15217
  }
15218
15218
  }
15219
15219
  return t.prototype.observeArray = function(e) {
15220
15220
  for (var n = 0, r = e.length; n < r; n++)
15221
- Dn(e[n], !1, this.mock);
15221
+ An(e[n], !1, this.mock);
15222
15222
  }, t;
15223
15223
  }()
15224
15224
  );
15225
- function Dn(t, e, n) {
15225
+ function An(t, e, n) {
15226
15226
  if (t && Be(t, "__ob__") && t.__ob__ instanceof i1)
15227
15227
  return t.__ob__;
15228
15228
  if (qh && (n || !br()) && (K(t) || Ke(t)) && Object.isExtensible(t) && !t.__v_skip && !Je(t) && !(t instanceof bt))
15229
15229
  return new i1(t, e, n);
15230
15230
  }
15231
- function Dt(t, e, n, r, i, o) {
15231
+ function At(t, e, n, r, i, o) {
15232
15232
  var s = new rt(), a = Object.getOwnPropertyDescriptor(t, e);
15233
15233
  if (!(a && a.configurable === !1)) {
15234
15234
  var l = a && a.get, c = a && a.set;
15235
15235
  (!l || c) && (n === YO || arguments.length === 2) && (n = t[e]);
15236
- var u = !i && Dn(n, !1, o);
15236
+ var u = !i && An(n, !1, o);
15237
15237
  return Object.defineProperty(t, e, {
15238
15238
  enumerable: !0,
15239
15239
  configurable: !0,
@@ -15259,7 +15259,7 @@ function Dt(t, e, n, r, i, o) {
15259
15259
  } else
15260
15260
  n = p;
15261
15261
  }
15262
- u = !i && Dn(p, !1, o), process.env.NODE_ENV !== "production" ? s.notify({
15262
+ u = !i && An(p, !1, o), process.env.NODE_ENV !== "production" ? s.notify({
15263
15263
  type: "set",
15264
15264
  target: t,
15265
15265
  key: e,
@@ -15277,7 +15277,7 @@ function nc(t, e, n) {
15277
15277
  return;
15278
15278
  }
15279
15279
  var r = t.__ob__;
15280
- return K(t) && jO(e) ? (t.length = Math.max(t.length, e), t.splice(e, 1, n), r && !r.shallow && r.mock && Dn(n, !1, !0), n) : e in t && !(e in Object.prototype) ? (t[e] = n, n) : t._isVue || r && r.vmCount ? (process.env.NODE_ENV !== "production" && M("Avoid adding reactive properties to a Vue instance or its root $data at runtime - declare it upfront in the data option."), n) : r ? (Dt(r.value, e, n, void 0, r.shallow, r.mock), process.env.NODE_ENV !== "production" ? r.dep.notify({
15280
+ return K(t) && jO(e) ? (t.length = Math.max(t.length, e), t.splice(e, 1, n), r && !r.shallow && r.mock && An(n, !1, !0), n) : e in t && !(e in Object.prototype) ? (t[e] = n, n) : t._isVue || r && r.vmCount ? (process.env.NODE_ENV !== "production" && M("Avoid adding reactive properties to a Vue instance or its root $data at runtime - declare it upfront in the data option."), n) : r ? (At(r.value, e, n, void 0, r.shallow, r.mock), process.env.NODE_ENV !== "production" ? r.dep.notify({
15281
15281
  type: "add",
15282
15282
  target: t,
15283
15283
  key: e,
@@ -15322,7 +15322,7 @@ function QO(t, e) {
15322
15322
  var n = t && t.__ob__;
15323
15323
  n && n.shallow !== e && M("Target is already a ".concat(n.shallow ? "" : "non-", "shallow reactive object, and cannot be converted to ").concat(e ? "" : "non-", "shallow."));
15324
15324
  }
15325
- var r = Dn(
15325
+ var r = An(
15326
15326
  t,
15327
15327
  e,
15328
15328
  br()
@@ -15368,7 +15368,7 @@ function nE(t, e) {
15368
15368
  if (Je(t))
15369
15369
  return t;
15370
15370
  var n = {};
15371
- return Ce(n, Ss, !0), Ce(n, "__v_isShallow", e), Ce(n, "dep", Dt(n, "value", t, null, e, br())), n;
15371
+ return Ce(n, Ss, !0), Ce(n, "__v_isShallow", e), Ce(n, "dep", At(n, "value", t, null, e, br())), n;
15372
15372
  }
15373
15373
  function cj(t) {
15374
15374
  process.env.NODE_ENV !== "production" && !t.dep && M("received object is not a triggerable ref."), process.env.NODE_ENV !== "production" ? t.dep && t.dep.notify({
@@ -15528,7 +15528,7 @@ function ic(t, e, n) {
15528
15528
  var u = function(T) {
15529
15529
  M("Invalid watch source: ".concat(T, ". A watch source can only be a getter/effect ") + "function, a ref, a reactive object, or an array of these types.");
15530
15530
  }, f = we, p = function(T, B, b) {
15531
- return b === void 0 && (b = null), An(T, null, b, f, B);
15531
+ return b === void 0 && (b = null), Dn(T, null, b, f, B);
15532
15532
  }, d, h = !1, m = !1;
15533
15533
  if (Je(t) ? (d = function() {
15534
15534
  return t.value;
@@ -15690,9 +15690,9 @@ function md(t, e) {
15690
15690
  var r = n.fns;
15691
15691
  if (K(r))
15692
15692
  for (var i = r.slice(), o = 0; o < i.length; o++)
15693
- An(i[o], null, arguments, e, "v-on handler");
15693
+ Dn(i[o], null, arguments, e, "v-on handler");
15694
15694
  else
15695
- return An(r, null, arguments, e, "v-on handler");
15695
+ return Dn(r, null, arguments, e, "v-on handler");
15696
15696
  }
15697
15697
  return n.fns = t, n;
15698
15698
  }
@@ -15765,7 +15765,7 @@ function $j(t, e) {
15765
15765
  else if (typeof t == "number")
15766
15766
  for (n = new Array(t), r = 0; r < t; r++)
15767
15767
  n[r] = e(r + 1, r);
15768
- else if (Ae(t))
15768
+ else if (De(t))
15769
15769
  if (ws && t[Symbol.iterator]) {
15770
15770
  n = [];
15771
15771
  for (var a = t[Symbol.iterator](), l = a.next(); !l.done; )
@@ -15777,7 +15777,7 @@ function $j(t, e) {
15777
15777
  }
15778
15778
  function Ij(t, e, n, r) {
15779
15779
  var i = this.$scopedSlots[t], o;
15780
- i ? (n = n || {}, r && (process.env.NODE_ENV !== "production" && !Ae(r) && M("slot v-bind without argument expects an Object", this), n = me(me({}, r), n)), o = i(n) || (oe(e) ? e() : e)) : o = this.$slots[t] || (oe(e) ? e() : e);
15780
+ i ? (n = n || {}, r && (process.env.NODE_ENV !== "production" && !De(r) && M("slot v-bind without argument expects an Object", this), n = me(me({}, r), n)), o = i(n) || (oe(e) ? e() : e)) : o = this.$slots[t] || (oe(e) ? e() : e);
15781
15781
  var s = n && n.slot;
15782
15782
  return s ? this.$createElement("template", { slot: s }, o) : o;
15783
15783
  }
@@ -15787,13 +15787,13 @@ function Pj(t) {
15787
15787
  function u1(t, e) {
15788
15788
  return K(t) ? t.indexOf(e) === -1 : t !== e;
15789
15789
  }
15790
- function Dj(t, e, n, r, i) {
15790
+ function Aj(t, e, n, r, i) {
15791
15791
  var o = ue.keyCodes[e] || n;
15792
15792
  return i && r && !ue.keyCodes[e] ? u1(i, r) : o ? u1(o, t) : r ? ci(r) !== e : t === void 0;
15793
15793
  }
15794
- function Aj(t, e, n, r, i) {
15794
+ function Dj(t, e, n, r, i) {
15795
15795
  if (n)
15796
- if (!Ae(n))
15796
+ if (!De(n))
15797
15797
  process.env.NODE_ENV !== "production" && M("v-bind without argument expects an Object or Array value", this);
15798
15798
  else {
15799
15799
  K(n) && (n = WO(n));
@@ -15871,7 +15871,7 @@ function Bj(t, e) {
15871
15871
  return typeof t == "string" ? e + t : t;
15872
15872
  }
15873
15873
  function pE(t) {
15874
- t._o = Fj, t._n = Qo, t._s = V2, t._l = $j, t._t = Ij, t._q = Xr, t._i = UO, t._m = Rj, t._f = Pj, t._k = Dj, t._b = Aj, t._v = Ti, t._e = zr, t._u = fE, t._g = Lj, t._d = jj, t._p = Bj;
15874
+ t._o = Fj, t._n = Qo, t._s = V2, t._l = $j, t._t = Ij, t._q = Xr, t._i = UO, t._m = Rj, t._f = Pj, t._k = Aj, t._b = Dj, t._v = Ti, t._e = zr, t._u = fE, t._g = Lj, t._d = jj, t._p = Bj;
15875
15875
  }
15876
15876
  function Zh(t, e) {
15877
15877
  if (!t || !t.length)
@@ -15936,10 +15936,10 @@ function Hj(t) {
15936
15936
  if (n) {
15937
15937
  var r = t._setupContext = dE(t);
15938
15938
  ir(t), lo();
15939
- var i = An(n, null, [t._props || Kh({}), r], t, "setup");
15939
+ var i = Dn(n, null, [t._props || Kh({}), r], t, "setup");
15940
15940
  if (co(), ir(), oe(i))
15941
15941
  e.render = i;
15942
- else if (Ae(i))
15942
+ else if (De(i))
15943
15943
  if (process.env.NODE_ENV !== "production" && i instanceof bt && M("setup() should not return VNodes directly - return a render function instead."), t._setupState = i, i.__sfc) {
15944
15944
  var s = t._setupProxy = {};
15945
15945
  for (var o in i)
@@ -16038,11 +16038,11 @@ function Yj(t) {
16038
16038
  return ns(t, o, s, a, l, !0);
16039
16039
  };
16040
16040
  var i = n && n.data;
16041
- process.env.NODE_ENV !== "production" ? (Dt(t, "$attrs", i && i.attrs || Le, function() {
16041
+ process.env.NODE_ENV !== "production" ? (At(t, "$attrs", i && i.attrs || Le, function() {
16042
16042
  !is && M("$attrs is readonly.", t);
16043
- }, !0), Dt(t, "$listeners", e._parentListeners || Le, function() {
16043
+ }, !0), At(t, "$listeners", e._parentListeners || Le, function() {
16044
16044
  !is && M("$listeners is readonly.", t);
16045
- }, !0)) : (Dt(t, "$attrs", i && i.attrs || Le, null, !0), Dt(t, "$listeners", e._parentListeners || Le, null, !0));
16045
+ }, !0)) : (At(t, "$attrs", i && i.attrs || Le, null, !0), At(t, "$listeners", e._parentListeners || Le, null, !0));
16046
16046
  }
16047
16047
  var vd = null;
16048
16048
  function Zj(t) {
@@ -16070,7 +16070,7 @@ function Zj(t) {
16070
16070
  };
16071
16071
  }
16072
16072
  function Hf(t, e) {
16073
- return (t.__esModule || ws && t[Symbol.toStringTag] === "Module") && (t = t.default), Ae(t) ? e.extend(t) : t;
16073
+ return (t.__esModule || ws && t[Symbol.toStringTag] === "Module") && (t = t.default), De(t) ? e.extend(t) : t;
16074
16074
  }
16075
16075
  function Qj(t, e, n, r, i) {
16076
16076
  var o = zr();
@@ -16099,7 +16099,7 @@ function eB(t, e) {
16099
16099
  process.env.NODE_ENV !== "production" && M("Failed to resolve async component: ".concat(String(t)) + (f ? `
16100
16100
  Reason: `.concat(f) : "")), E(t.errorComp) && (t.error = !0, a(!0));
16101
16101
  }), u = t(l, c);
16102
- return Ae(u) && (ud(u) ? J(t.resolved) && u.then(l, c) : ud(u.component) && (u.component.then(l, c), E(u.error) && (t.errorComp = Hf(u.error, e)), E(u.loading) && (t.loadingComp = Hf(u.loading, e), u.delay === 0 ? t.loading = !0 : o = setTimeout(function() {
16102
+ return De(u) && (ud(u) ? J(t.resolved) && u.then(l, c) : ud(u.component) && (u.component.then(l, c), E(u.error) && (t.errorComp = Hf(u.error, e)), E(u.loading) && (t.loadingComp = Hf(u.loading, e), u.delay === 0 ? t.loading = !0 : o = setTimeout(function() {
16103
16103
  o = null, J(t.resolved) && J(t.error) && (t.loading = !0, a(!1));
16104
16104
  }, u.delay || 200)), E(u.timeout) && (s = setTimeout(function() {
16105
16105
  s = null, J(t.resolved) && c(process.env.NODE_ENV !== "production" ? "timeout (".concat(u.timeout, "ms)") : null);
@@ -16141,7 +16141,7 @@ function gE(t, e, n) {
16141
16141
  }
16142
16142
  }
16143
16143
  function rB(t) {
16144
- Ae(t.style) && Gi(t.style), Ae(t.class) && Gi(t.class);
16144
+ De(t.style) && Gi(t.style), De(t.class) && Gi(t.class);
16145
16145
  }
16146
16146
  function iB(t, e, n) {
16147
16147
  return we || process.env.NODE_ENV !== "production" && M("globally imported h() can only be invoked when there is an active component instance, e.g. synchronously in a component's render or setup function."), ns(we, t, e, n, 2, !0);
@@ -16167,7 +16167,7 @@ function ar(t, e, n) {
16167
16167
  co();
16168
16168
  }
16169
16169
  }
16170
- function An(t, e, n, r, i) {
16170
+ function Dn(t, e, n, r, i) {
16171
16171
  var o;
16172
16172
  try {
16173
16173
  o = n ? t.apply(e, n) : t.call(e), o && !o._isVue && ud(o) && !o._handled && (o.catch(function(s) {
@@ -16201,10 +16201,10 @@ function ma() {
16201
16201
  for (var e = 0; e < t.length; e++)
16202
16202
  t[e]();
16203
16203
  }
16204
- var Ao;
16204
+ var Do;
16205
16205
  if (typeof Promise < "u" && Br(Promise)) {
16206
16206
  var oB = Promise.resolve();
16207
- Ao = function() {
16207
+ Do = function() {
16208
16208
  oB.then(ma), Z2 && setTimeout(he);
16209
16209
  }, gd = !0;
16210
16210
  } else if (!so && typeof MutationObserver < "u" && (Br(MutationObserver) || // PhantomJS and iOS 7.x
@@ -16212,13 +16212,13 @@ MutationObserver.toString() === "[object MutationObserverConstructor]")) {
16212
16212
  var va = 1, sB = new MutationObserver(ma), h1 = document.createTextNode(String(va));
16213
16213
  sB.observe(h1, {
16214
16214
  characterData: !0
16215
- }), Ao = function() {
16215
+ }), Do = function() {
16216
16216
  va = (va + 1) % 2, h1.data = String(va);
16217
16217
  }, gd = !0;
16218
16218
  } else
16219
- typeof setImmediate < "u" && Br(setImmediate) ? Ao = function() {
16219
+ typeof setImmediate < "u" && Br(setImmediate) ? Do = function() {
16220
16220
  setImmediate(ma);
16221
- } : Ao = function() {
16221
+ } : Do = function() {
16222
16222
  setTimeout(ma, 0);
16223
16223
  };
16224
16224
  function oc(t, e) {
@@ -16232,7 +16232,7 @@ function oc(t, e) {
16232
16232
  }
16233
16233
  else
16234
16234
  n && n(e);
16235
- }), bd || (bd = !0, Ao()), !t && typeof Promise < "u")
16235
+ }), bd || (bd = !0, Do()), !t && typeof Promise < "u")
16236
16236
  return new Promise(function(r) {
16237
16237
  n = r;
16238
16238
  });
@@ -16285,7 +16285,7 @@ function cB(t) {
16285
16285
  }).then(function(m) {
16286
16286
  if (h !== u && u)
16287
16287
  return u;
16288
- if (process.env.NODE_ENV !== "production" && !m && M("Async component loader resolved to undefined. If you are using retry(), make sure to return its return value."), m && (m.__esModule || m[Symbol.toStringTag] === "Module") && (m = m.default), process.env.NODE_ENV !== "production" && m && !Ae(m) && !oe(m))
16288
+ if (process.env.NODE_ENV !== "production" && !m && M("Async component loader resolved to undefined. If you are using retry(), make sure to return its return value."), m && (m.__esModule || m[Symbol.toStringTag] === "Module") && (m = m.default), process.env.NODE_ENV !== "production" && m && !De(m) && !oe(m))
16289
16289
  throw new Error("Invalid async component load result: ".concat(m));
16290
16290
  return m;
16291
16291
  }));
@@ -16327,11 +16327,11 @@ function _B(t) {
16327
16327
  }
16328
16328
  var m1 = new es();
16329
16329
  function Gi(t) {
16330
- return Aa(t, m1), m1.clear(), t;
16330
+ return Da(t, m1), m1.clear(), t;
16331
16331
  }
16332
- function Aa(t, e) {
16332
+ function Da(t, e) {
16333
16333
  var n, r, i = K(t);
16334
- if (!(!i && !Ae(t) || t.__v_skip || Object.isFrozen(t) || t instanceof bt)) {
16334
+ if (!(!i && !De(t) || t.__v_skip || Object.isFrozen(t) || t instanceof bt)) {
16335
16335
  if (t.__ob__) {
16336
16336
  var o = t.__ob__.dep.id;
16337
16337
  if (e.has(o))
@@ -16340,12 +16340,12 @@ function Aa(t, e) {
16340
16340
  }
16341
16341
  if (i)
16342
16342
  for (n = t.length; n--; )
16343
- Aa(t[n], e);
16343
+ Da(t[n], e);
16344
16344
  else if (Je(t))
16345
- Aa(t.value, e);
16345
+ Da(t.value, e);
16346
16346
  else
16347
16347
  for (r = Object.keys(t), n = r.length; n--; )
16348
- Aa(t[r[n]], e);
16348
+ Da(t[r[n]], e);
16349
16349
  }
16350
16350
  }
16351
16351
  var CB = 0, xs = (
@@ -16391,11 +16391,11 @@ var CB = 0, xs = (
16391
16391
  if (e !== this.value || // Deep watchers and watchers on Object/Arrays should fire even
16392
16392
  // when the value is the same, because the value may
16393
16393
  // have mutated.
16394
- Ae(e) || this.deep) {
16394
+ De(e) || this.deep) {
16395
16395
  var n = this.value;
16396
16396
  if (this.value = e, this.user) {
16397
16397
  var r = 'callback for watcher "'.concat(this.expression, '"');
16398
- An(this.cb, this.vm, [e, n], this.vm, r);
16398
+ Dn(this.cb, this.vm, [e, n], this.vm, r);
16399
16399
  } else
16400
16400
  this.cb.call(this.vm, e, n);
16401
16401
  }
@@ -16494,7 +16494,7 @@ function $B(t) {
16494
16494
  if (o) {
16495
16495
  o = o.length > 1 ? fd(o) : o;
16496
16496
  for (var s = fd(arguments, 1), a = 'event handler for "'.concat(n, '"'), l = 0, c = o.length; l < c; l++)
16497
- An(o[l], r, s, r, a);
16497
+ Dn(o[l], r, s, r, a);
16498
16498
  }
16499
16499
  return r;
16500
16500
  };
@@ -16539,7 +16539,7 @@ function PB(t) {
16539
16539
  }
16540
16540
  };
16541
16541
  }
16542
- function DB(t, e, n) {
16542
+ function AB(t, e, n) {
16543
16543
  t.$el = e, t.$options.render || (t.$options.render = zr, process.env.NODE_ENV !== "production" && (t.$options.template && t.$options.template.charAt(0) !== "#" || t.$options.el || e ? M("You are using the runtime-only build of Vue where the template compiler is not available. Either pre-compile the templates into render functions, or use the compiler-included build.", t) : M("Failed to mount component: template or render function not defined.", t))), xt(t, "beforeMount");
16544
16544
  var r;
16545
16545
  process.env.NODE_ENV !== "production" && ue.performance && ln ? r = function() {
@@ -16573,7 +16573,7 @@ function DB(t, e, n) {
16573
16573
  o[s].run();
16574
16574
  return t.$vnode == null && (t._isMounted = !0, xt(t, "mounted")), t;
16575
16575
  }
16576
- function AB(t, e, n, r, i) {
16576
+ function DB(t, e, n, r, i) {
16577
16577
  process.env.NODE_ENV !== "production" && (is = !0);
16578
16578
  var o = r.data.scopedSlots, s = t.$scopedSlots, a = !!(o && !o.$stable || s !== Le && !s.$stable || o && t.$scopedSlots.$key !== o.$key || !o && t.$scopedSlots.$key), l = !!(i || // has new static slots
16579
16579
  t.$options._renderChildren || // has old static slots
@@ -16626,7 +16626,7 @@ function xt(t, e, n, r) {
16626
16626
  var o = t.$options[e], s = "".concat(e, " hook");
16627
16627
  if (o)
16628
16628
  for (var a = 0, l = o.length; a < l; a++)
16629
- An(o[a], t, n || null, t, s);
16629
+ Dn(o[a], t, n || null, t, s);
16630
16630
  t._hasHookEvent && t.$emit("hook:" + e), r && ir(i), co();
16631
16631
  }
16632
16632
  var RB = 100, Tn = [], tm = [], ss = {}, Ra = {}, wd = !1, nm = !1, $i = 0;
@@ -16699,7 +16699,7 @@ function VB(t) {
16699
16699
  var e = t.$options.provide;
16700
16700
  if (e) {
16701
16701
  var n = oe(e) ? e.call(t) : e;
16702
- if (!Ae(n))
16702
+ if (!De(n))
16703
16703
  return;
16704
16704
  for (var r = aE(t), i = ws ? Reflect.ownKeys(n) : Object.keys(n), o = 0; o < i.length; o++) {
16705
16705
  var s = i[o];
@@ -16710,9 +16710,9 @@ function VB(t) {
16710
16710
  function WB(t) {
16711
16711
  var e = EE(t.$options.inject, t);
16712
16712
  e && (sr(!1), Object.keys(e).forEach(function(n) {
16713
- process.env.NODE_ENV !== "production" ? Dt(t, n, e[n], function() {
16713
+ process.env.NODE_ENV !== "production" ? At(t, n, e[n], function() {
16714
16714
  M("Avoid mutating an injected value directly since the changes will be overwritten whenever the provided component re-renders. " + 'injection being mutated: "'.concat(n, '"'), t);
16715
- }) : Dt(t, n, e[n]);
16715
+ }) : At(t, n, e[n]);
16716
16716
  }), sr(!0));
16717
16717
  }
16718
16718
  function EE(t, e) {
@@ -16791,7 +16791,7 @@ var im = {
16791
16791
  },
16792
16792
  prepatch: function(t, e) {
16793
16793
  var n = e.componentOptions, r = e.componentInstance = t.componentInstance;
16794
- AB(
16794
+ DB(
16795
16795
  r,
16796
16796
  n.propsData,
16797
16797
  // updated props
@@ -16823,7 +16823,7 @@ var im = {
16823
16823
  function w1(t, e, n, r, i) {
16824
16824
  if (!J(t)) {
16825
16825
  var o = n.$options._base;
16826
- if (Ae(t) && (t = o.extend(t)), typeof t != "function") {
16826
+ if (De(t) && (t = o.extend(t)), typeof t != "function") {
16827
16827
  process.env.NODE_ENV !== "production" && M("Invalid Component definition: ".concat(String(t)), n);
16828
16828
  return;
16829
16829
  }
@@ -16936,8 +16936,8 @@ found in
16936
16936
  (found in `.concat(Pr(t), ")");
16937
16937
  };
16938
16938
  }
16939
- var At = ue.optionMergeStrategies;
16940
- process.env.NODE_ENV !== "production" && (At.el = At.propsData = function(t, e, n, r) {
16939
+ var Dt = ue.optionMergeStrategies;
16940
+ process.env.NODE_ENV !== "production" && (Dt.el = Dt.propsData = function(t, e, n, r) {
16941
16941
  return n || M('option "'.concat(r, '" can only be used during instance ') + "creation with the `new` keyword."), CE(t, e);
16942
16942
  });
16943
16943
  function as(t, e, n) {
@@ -16955,7 +16955,7 @@ function x1(t, e, n) {
16955
16955
  return as(oe(e) ? e.call(this, this) : e, oe(t) ? t.call(this, this) : t);
16956
16956
  } : e : t;
16957
16957
  }
16958
- At.data = function(t, e, n) {
16958
+ Dt.data = function(t, e, n) {
16959
16959
  return n ? x1(t, e, n) : e && typeof e != "function" ? (process.env.NODE_ENV !== "production" && M('The "data" option should be a function that returns a per-instance value in component definitions.', n), t) : x1(t, e);
16960
16960
  };
16961
16961
  function _E(t, e) {
@@ -16968,16 +16968,16 @@ function ZB(t) {
16968
16968
  return e;
16969
16969
  }
16970
16970
  GO.forEach(function(t) {
16971
- At[t] = _E;
16971
+ Dt[t] = _E;
16972
16972
  });
16973
16973
  function QB(t, e, n, r) {
16974
16974
  var i = Object.create(t || null);
16975
16975
  return e ? (process.env.NODE_ENV !== "production" && am(r, e, n), me(i, e)) : i;
16976
16976
  }
16977
16977
  tc.forEach(function(t) {
16978
- At[t + "s"] = QB;
16978
+ Dt[t + "s"] = QB;
16979
16979
  });
16980
- At.watch = function(t, e, n, r) {
16980
+ Dt.watch = function(t, e, n, r) {
16981
16981
  if (t === dd && (t = void 0), e === dd && (e = void 0), !e)
16982
16982
  return Object.create(t || null);
16983
16983
  if (process.env.NODE_ENV !== "production" && am(r, e, n), !t)
@@ -16990,13 +16990,13 @@ At.watch = function(t, e, n, r) {
16990
16990
  }
16991
16991
  return i;
16992
16992
  };
16993
- At.props = At.methods = At.inject = At.computed = function(t, e, n, r) {
16993
+ Dt.props = Dt.methods = Dt.inject = Dt.computed = function(t, e, n, r) {
16994
16994
  if (e && process.env.NODE_ENV !== "production" && am(r, e, n), !t)
16995
16995
  return e;
16996
16996
  var i = /* @__PURE__ */ Object.create(null);
16997
16997
  return me(i, t), e && me(i, e), i;
16998
16998
  };
16999
- At.provide = function(t, e) {
16999
+ Dt.provide = function(t, e) {
17000
17000
  return t ? function() {
17001
17001
  var n = /* @__PURE__ */ Object.create(null);
17002
17002
  return as(n, oe(t) ? t.call(this) : t), e && as(
@@ -17069,7 +17069,7 @@ function Yr(t, e, n) {
17069
17069
  for (s in e)
17070
17070
  Be(t, s) || a(s);
17071
17071
  function a(l) {
17072
- var c = At[l] || CE;
17072
+ var c = Dt[l] || CE;
17073
17073
  o[l] = c(t[l], e[l], n, l);
17074
17074
  }
17075
17075
  return o;
@@ -17102,14 +17102,14 @@ function lm(t, e, n, r) {
17102
17102
  if (s === void 0) {
17103
17103
  s = iz(r, i, t);
17104
17104
  var c = qh;
17105
- sr(!0), Dn(s), sr(c);
17105
+ sr(!0), An(s), sr(c);
17106
17106
  }
17107
17107
  return process.env.NODE_ENV !== "production" && oz(i, t, s, r, o), s;
17108
17108
  }
17109
17109
  function iz(t, e, n) {
17110
17110
  if (Be(e, "default")) {
17111
17111
  var r = e.default;
17112
- return process.env.NODE_ENV !== "production" && Ae(r) && M('Invalid default value for prop "' + n + '": Props with type Object/Array must use a factory function to return the default value.', t), t && t.$options.propsData && t.$options.propsData[n] === void 0 && t._props[n] !== void 0 ? t._props[n] : oe(r) && ml(e.type) !== "Function" ? r.call(t) : r;
17112
+ return process.env.NODE_ENV !== "production" && De(r) && M('Invalid default value for prop "' + n + '": Props with type Object/Array must use a factory function to return the default value.', t), t && t.$options.propsData && t.$options.propsData[n] === void 0 && t._props[n] !== void 0 ? t._props[n] : oe(r) && ml(e.type) !== "Function" ? r.call(t) : r;
17113
17113
  }
17114
17114
  }
17115
17115
  function oz(t, e, n, r, i) {
@@ -17248,7 +17248,7 @@ function vz(t) {
17248
17248
  if (e.props && gz(t, e.props), Hj(t), e.methods && xz(t, e.methods), e.data)
17249
17249
  yz(t);
17250
17250
  else {
17251
- var n = Dn(t._data = {});
17251
+ var n = An(t._data = {});
17252
17252
  n && n.vmCount++;
17253
17253
  }
17254
17254
  e.computed && Sz(t, e.computed), e.watch && e.watch !== dd && Oz(t, e.watch);
@@ -17261,11 +17261,11 @@ function gz(t, e) {
17261
17261
  var c = lm(l, e, n, t);
17262
17262
  if (process.env.NODE_ENV !== "production") {
17263
17263
  var u = ci(l);
17264
- (BO(u) || ue.isReservedAttr(u)) && M('"'.concat(u, '" is a reserved attribute and cannot be used as component prop.'), t), Dt(r, l, c, function() {
17264
+ (BO(u) || ue.isReservedAttr(u)) && M('"'.concat(u, '" is a reserved attribute and cannot be used as component prop.'), t), At(r, l, c, function() {
17265
17265
  !o && !is && M("Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders. Instead, use a data or computed property based on the prop's " + 'value. Prop being mutated: "'.concat(l, '"'), t);
17266
17266
  });
17267
17267
  } else
17268
- Dt(r, l, c);
17268
+ At(r, l, c);
17269
17269
  l in t || cm(t, "_props", l);
17270
17270
  };
17271
17271
  for (var a in e)
@@ -17280,7 +17280,7 @@ https://v2.vuejs.org/v2/guide/components.html#data-Must-Be-a-Function`, t));
17280
17280
  var s = n[o];
17281
17281
  process.env.NODE_ENV !== "production" && i && Be(i, s) && M('Method "'.concat(s, '" has already been defined as a data property.'), t), r && Be(r, s) ? process.env.NODE_ENV !== "production" && M('The data property "'.concat(s, '" is already declared as a prop. ') + "Use prop default value instead.", t) : Gh(s) || cm(t, "_data", s);
17282
17282
  }
17283
- var a = Dn(e);
17283
+ var a = An(e);
17284
17284
  a && a.vmCount++;
17285
17285
  }
17286
17286
  function bz(t, e) {
@@ -17362,7 +17362,7 @@ function Ez(t) {
17362
17362
  var a = new xs(s, r, i, o);
17363
17363
  if (o.immediate) {
17364
17364
  var l = 'callback for immediate watcher "'.concat(a.expression, '"');
17365
- lo(), An(i, s, [a.value], s, l), co();
17365
+ lo(), Dn(i, s, [a.value], s, l), co();
17366
17366
  }
17367
17367
  return function() {
17368
17368
  a.teardown();
@@ -17461,7 +17461,7 @@ function Pz(t) {
17461
17461
  for (var n in e)
17462
17462
  NE(t.prototype, n, e[n]);
17463
17463
  }
17464
- function Dz(t) {
17464
+ function Az(t) {
17465
17465
  tc.forEach(function(e) {
17466
17466
  t[e] = function(n, r) {
17467
17467
  return r ? (process.env.NODE_ENV !== "production" && e === "component" && sm(n), e === "component" && Ke(r) && (r.name = r.name || n, r = this.options._base.extend(r)), e === "directive" && oe(r) && (r = { bind: r, update: r }), this.options[e + "s"][n] = r, r) : this.options[e + "s"][n];
@@ -17488,7 +17488,7 @@ function Ed(t, e, n, r) {
17488
17488
  var i = t[e];
17489
17489
  i && (!r || i.tag !== r.tag) && i.componentInstance.$destroy(), t[e] = null, yr(n, e);
17490
17490
  }
17491
- var P1 = [String, RegExp, Array], Az = {
17491
+ var P1 = [String, RegExp, Array], Dz = {
17492
17492
  name: "keep-alive",
17493
17493
  abstract: !0,
17494
17494
  props: {
@@ -17551,7 +17551,7 @@ var P1 = [String, RegExp, Array], Az = {
17551
17551
  return e || t && t[0];
17552
17552
  }
17553
17553
  }, Rz = {
17554
- KeepAlive: Az
17554
+ KeepAlive: Dz
17555
17555
  };
17556
17556
  function Fz(t) {
17557
17557
  var e = {};
@@ -17563,12 +17563,12 @@ function Fz(t) {
17563
17563
  warn: M,
17564
17564
  extend: me,
17565
17565
  mergeOptions: Yr,
17566
- defineReactive: Dt
17566
+ defineReactive: At
17567
17567
  }, t.set = nc, t.delete = Jh, t.nextTick = oc, t.observable = function(n) {
17568
- return Dn(n), n;
17568
+ return An(n), n;
17569
17569
  }, t.options = /* @__PURE__ */ Object.create(null), tc.forEach(function(n) {
17570
17570
  t.options[n + "s"] = /* @__PURE__ */ Object.create(null);
17571
- }), t.options._base = t, me(t.options.components, Rz), Mz(t), Tz(t), $z(t), Dz(t);
17571
+ }), t.options._base = t, me(t.options.components, Rz), Mz(t), Tz(t), $z(t), Az(t);
17572
17572
  }
17573
17573
  Fz(_e);
17574
17574
  Object.defineProperty(_e.prototype, "$isServer", {
@@ -17599,12 +17599,12 @@ var Lz = _t("style,class"), jz = _t("input,textarea,option,select,progress"), Bz
17599
17599
  };
17600
17600
  function Hz(t) {
17601
17601
  for (var e = t.data, n = t, r = t; E(r.componentInstance); )
17602
- r = r.componentInstance._vnode, r && r.data && (e = D1(r.data, e));
17602
+ r = r.componentInstance._vnode, r && r.data && (e = A1(r.data, e));
17603
17603
  for (; E(n = n.parent); )
17604
- n && n.data && (e = D1(e, n.data));
17604
+ n && n.data && (e = A1(e, n.data));
17605
17605
  return Uz(e.staticClass, e.class);
17606
17606
  }
17607
- function D1(t, e) {
17607
+ function A1(t, e) {
17608
17608
  return {
17609
17609
  staticClass: pm(t.staticClass, e.staticClass),
17610
17610
  class: E(t.class) ? [t.class, e.class] : e.class
@@ -17617,7 +17617,7 @@ function pm(t, e) {
17617
17617
  return t ? e ? t + " " + e : t : e || "";
17618
17618
  }
17619
17619
  function dm(t) {
17620
- return Array.isArray(t) ? Gz(t) : Ae(t) ? qz(t) : typeof t == "string" ? t : "";
17620
+ return Array.isArray(t) ? Gz(t) : De(t) ? qz(t) : typeof t == "string" ? t : "";
17621
17621
  }
17622
17622
  function Gz(t) {
17623
17623
  for (var e = "", n, r = 0, i = t.length; r < i; r++)
@@ -17728,18 +17728,18 @@ function Ii(t, e) {
17728
17728
  if (E(n)) {
17729
17729
  var r = t.context, i = t.componentInstance || t.elm, o = e ? null : i, s = e ? void 0 : i;
17730
17730
  if (oe(n)) {
17731
- An(n, r, [o], r, "template ref function");
17731
+ Dn(n, r, [o], r, "template ref function");
17732
17732
  return;
17733
17733
  }
17734
17734
  var a = t.data.refInFor, l = typeof n == "string" || typeof n == "number", c = Je(n), u = r.$refs;
17735
17735
  if (l || c)
17736
17736
  if (a) {
17737
17737
  var f = l ? u[n] : n.value;
17738
- e ? K(f) && yr(f, i) : K(f) ? f.includes(i) || f.push(i) : l ? (u[n] = [i], A1(r, n, u[n])) : n.value = [i];
17738
+ e ? K(f) && yr(f, i) : K(f) ? f.includes(i) || f.push(i) : l ? (u[n] = [i], D1(r, n, u[n])) : n.value = [i];
17739
17739
  } else if (l) {
17740
17740
  if (e && u[n] !== i)
17741
17741
  return;
17742
- u[n] = s, A1(r, n, o);
17742
+ u[n] = s, D1(r, n, o);
17743
17743
  } else if (c) {
17744
17744
  if (e && n.value !== i)
17745
17745
  return;
@@ -17748,7 +17748,7 @@ function Ii(t, e) {
17748
17748
  process.env.NODE_ENV !== "production" && M("Invalid template ref type: ".concat(typeof n));
17749
17749
  }
17750
17750
  }
17751
- function A1(t, e, n) {
17751
+ function D1(t, e, n) {
17752
17752
  var r = t._setupState;
17753
17753
  r && Be(r, e) && (Je(r[e]) ? r[e].value = n : r[e] = n);
17754
17754
  }
@@ -17792,33 +17792,33 @@ function mV(t) {
17792
17792
  })) && ue.isUnknownElement(x.tag);
17793
17793
  }
17794
17794
  var u = 0;
17795
- function f(x, w, g, S, C, D, P) {
17796
- if (E(x.elm) && E(D) && (x = D[P] = hd(x)), x.isRootInsert = !C, !p(x, w, g, S)) {
17797
- var A = x.data, U = x.children, H = x.tag;
17798
- E(H) ? (process.env.NODE_ENV !== "production" && (A && A.pre && u++, c(x, u) && M("Unknown custom element: <" + H + '> - did you register the component correctly? For recursive components, make sure to provide the "name" option.', x.context)), x.elm = x.ns ? o.createElementNS(x.ns, H) : o.createElement(H, x), O(x), v(x, U, w), E(A) && _(x, w), m(g, x.elm, S), process.env.NODE_ENV !== "production" && A && A.pre && u--) : xe(x.isComment) ? (x.elm = o.createComment(x.text), m(g, x.elm, S)) : (x.elm = o.createTextNode(x.text), m(g, x.elm, S));
17795
+ function f(x, w, g, S, C, A, P) {
17796
+ if (E(x.elm) && E(A) && (x = A[P] = hd(x)), x.isRootInsert = !C, !p(x, w, g, S)) {
17797
+ var D = x.data, U = x.children, H = x.tag;
17798
+ E(H) ? (process.env.NODE_ENV !== "production" && (D && D.pre && u++, c(x, u) && M("Unknown custom element: <" + H + '> - did you register the component correctly? For recursive components, make sure to provide the "name" option.', x.context)), x.elm = x.ns ? o.createElementNS(x.ns, H) : o.createElement(H, x), O(x), v(x, U, w), E(D) && _(x, w), m(g, x.elm, S), process.env.NODE_ENV !== "production" && D && D.pre && u--) : xe(x.isComment) ? (x.elm = o.createComment(x.text), m(g, x.elm, S)) : (x.elm = o.createTextNode(x.text), m(g, x.elm, S));
17799
17799
  }
17800
17800
  }
17801
17801
  function p(x, w, g, S) {
17802
17802
  var C = x.data;
17803
17803
  if (E(C)) {
17804
- var D = E(x.componentInstance) && C.keepAlive;
17804
+ var A = E(x.componentInstance) && C.keepAlive;
17805
17805
  if (E(C = C.hook) && E(C = C.init) && C(
17806
17806
  x,
17807
17807
  !1
17808
17808
  /* hydrating */
17809
17809
  ), E(x.componentInstance))
17810
- return d(x, w), m(g, x.elm, S), xe(D) && h(x, w, g, S), !0;
17810
+ return d(x, w), m(g, x.elm, S), xe(A) && h(x, w, g, S), !0;
17811
17811
  }
17812
17812
  }
17813
17813
  function d(x, w) {
17814
17814
  E(x.data.pendingInsert) && (w.push.apply(w, x.data.pendingInsert), x.data.pendingInsert = null), x.elm = x.componentInstance.$el, y(x) ? (_(x, w), O(x)) : (Ii(x), w.push(x));
17815
17815
  }
17816
17816
  function h(x, w, g, S) {
17817
- for (var C, D = x; D.componentInstance; )
17818
- if (D = D.componentInstance._vnode, E(C = D.data) && E(C = C.transition)) {
17817
+ for (var C, A = x; A.componentInstance; )
17818
+ if (A = A.componentInstance._vnode, E(C = A.data) && E(C = C.transition)) {
17819
17819
  for (C = 0; C < r.activate.length; ++C)
17820
- r.activate[C](Kn, D);
17821
- w.push(D);
17820
+ r.activate[C](Kn, A);
17821
+ w.push(A);
17822
17822
  break;
17823
17823
  }
17824
17824
  m(g, x.elm, S);
@@ -17853,9 +17853,9 @@ function mV(t) {
17853
17853
  E(w = g.context) && E(w = w.$options._scopeId) && o.setStyleScope(x.elm, w), g = g.parent;
17854
17854
  E(w = Vr) && w !== x.context && w !== x.fnContext && E(w = w.$options._scopeId) && o.setStyleScope(x.elm, w);
17855
17855
  }
17856
- function N(x, w, g, S, C, D) {
17856
+ function N(x, w, g, S, C, A) {
17857
17857
  for (; S <= C; ++S)
17858
- f(g[S], D, x, w, !1, g, S);
17858
+ f(g[S], A, x, w, !1, g, S);
17859
17859
  }
17860
17860
  function T(x) {
17861
17861
  var w, g, S = x.data;
@@ -17882,10 +17882,10 @@ function mV(t) {
17882
17882
  l(x.elm);
17883
17883
  }
17884
17884
  function re(x, w, g, S, C) {
17885
- var D = 0, P = 0, A = w.length - 1, U = w[0], H = w[A], q = g.length - 1, Z = g[0], ye = g[q], ve, fe, it, wr, Ut = !C;
17886
- for (process.env.NODE_ENV !== "production" && j(g); D <= A && P <= q; )
17887
- J(U) ? U = w[++D] : J(H) ? H = w[--A] : Cr(U, Z) ? (ee(U, Z, S, g, P), U = w[++D], Z = g[++P]) : Cr(H, ye) ? (ee(H, ye, S, g, q), H = w[--A], ye = g[--q]) : Cr(U, ye) ? (ee(U, ye, S, g, q), Ut && o.insertBefore(x, U.elm, o.nextSibling(H.elm)), U = w[++D], ye = g[--q]) : Cr(H, Z) ? (ee(H, Z, S, g, P), Ut && o.insertBefore(x, H.elm, U.elm), H = w[--A], Z = g[++P]) : (J(ve) && (ve = hV(w, D, A)), fe = E(Z.key) ? ve[Z.key] : Q(Z, w, D, A), J(fe) ? f(Z, S, x, U.elm, !1, g, P) : (it = w[fe], Cr(it, Z) ? (ee(it, Z, S, g, P), w[fe] = void 0, Ut && o.insertBefore(x, it.elm, U.elm)) : f(Z, S, x, U.elm, !1, g, P)), Z = g[++P]);
17888
- D > A ? (wr = J(g[q + 1]) ? null : g[q + 1].elm, N(x, wr, g, P, q, S)) : P > q && B(w, D, A);
17885
+ var A = 0, P = 0, D = w.length - 1, U = w[0], H = w[D], q = g.length - 1, Z = g[0], ye = g[q], ve, fe, it, wr, Ut = !C;
17886
+ for (process.env.NODE_ENV !== "production" && j(g); A <= D && P <= q; )
17887
+ J(U) ? U = w[++A] : J(H) ? H = w[--D] : Cr(U, Z) ? (ee(U, Z, S, g, P), U = w[++A], Z = g[++P]) : Cr(H, ye) ? (ee(H, ye, S, g, q), H = w[--D], ye = g[--q]) : Cr(U, ye) ? (ee(U, ye, S, g, q), Ut && o.insertBefore(x, U.elm, o.nextSibling(H.elm)), U = w[++A], ye = g[--q]) : Cr(H, Z) ? (ee(H, Z, S, g, P), Ut && o.insertBefore(x, H.elm, U.elm), H = w[--D], Z = g[++P]) : (J(ve) && (ve = hV(w, A, D)), fe = E(Z.key) ? ve[Z.key] : Q(Z, w, A, D), J(fe) ? f(Z, S, x, U.elm, !1, g, P) : (it = w[fe], Cr(it, Z) ? (ee(it, Z, S, g, P), w[fe] = void 0, Ut && o.insertBefore(x, it.elm, U.elm)) : f(Z, S, x, U.elm, !1, g, P)), Z = g[++P]);
17888
+ A > D ? (wr = J(g[q + 1]) ? null : g[q + 1].elm, N(x, wr, g, P, q, S)) : P > q && B(w, A, D);
17889
17889
  }
17890
17890
  function j(x) {
17891
17891
  for (var w = {}, g = 0; g < x.length; g++) {
@@ -17895,12 +17895,12 @@ function mV(t) {
17895
17895
  }
17896
17896
  function Q(x, w, g, S) {
17897
17897
  for (var C = g; C < S; C++) {
17898
- var D = w[C];
17899
- if (E(D) && Cr(x, D))
17898
+ var A = w[C];
17899
+ if (E(A) && Cr(x, A))
17900
17900
  return C;
17901
17901
  }
17902
17902
  }
17903
- function ee(x, w, g, S, C, D) {
17903
+ function ee(x, w, g, S, C, A) {
17904
17904
  if (x !== w) {
17905
17905
  E(w.elm) && E(S) && (w = S[C] = hd(w));
17906
17906
  var P = w.elm = x.elm;
@@ -17912,15 +17912,15 @@ function mV(t) {
17912
17912
  w.componentInstance = x.componentInstance;
17913
17913
  return;
17914
17914
  }
17915
- var A, U = w.data;
17916
- E(U) && E(A = U.hook) && E(A = A.prepatch) && A(x, w);
17915
+ var D, U = w.data;
17916
+ E(U) && E(D = U.hook) && E(D = D.prepatch) && D(x, w);
17917
17917
  var H = x.children, q = w.children;
17918
17918
  if (E(U) && y(w)) {
17919
- for (A = 0; A < r.update.length; ++A)
17920
- r.update[A](x, w);
17921
- E(A = U.hook) && E(A = A.update) && A(x, w);
17919
+ for (D = 0; D < r.update.length; ++D)
17920
+ r.update[D](x, w);
17921
+ E(D = U.hook) && E(D = D.update) && D(x, w);
17922
17922
  }
17923
- J(w.text) ? E(H) && E(q) ? H !== q && re(P, H, q, g, D) : E(q) ? (process.env.NODE_ENV !== "production" && j(q), E(x.text) && o.setTextContent(P, ""), N(P, null, q, 0, q.length - 1, g)) : E(H) ? B(H, 0, H.length - 1) : E(x.text) && o.setTextContent(P, "") : x.text !== w.text && o.setTextContent(P, w.text), E(U) && E(A = U.hook) && E(A = A.postpatch) && A(x, w);
17923
+ J(w.text) ? E(H) && E(q) ? H !== q && re(P, H, q, g, A) : E(q) ? (process.env.NODE_ENV !== "production" && j(q), E(x.text) && o.setTextContent(P, ""), N(P, null, q, 0, q.length - 1, g)) : E(H) ? B(H, 0, H.length - 1) : E(x.text) && o.setTextContent(P, "") : x.text !== w.text && o.setTextContent(P, w.text), E(U) && E(D = U.hook) && E(D = D.postpatch) && D(x, w);
17924
17924
  }
17925
17925
  }
17926
17926
  function ke(x, w, g) {
@@ -17932,7 +17932,7 @@ function mV(t) {
17932
17932
  }
17933
17933
  var $e = !1, Nt = _t("attrs,class,staticClass,staticStyle,key");
17934
17934
  function He(x, w, g, S) {
17935
- var C, D = w.tag, P = w.data, A = w.children;
17935
+ var C, A = w.tag, P = w.data, D = w.children;
17936
17936
  if (S = S || P && P.pre, w.elm = x, xe(w.isComment) && E(w.asyncFactory))
17937
17937
  return w.isAsyncPlaceholder = !0, !0;
17938
17938
  if (process.env.NODE_ENV !== "production" && !Xe(x, w, S))
@@ -17943,23 +17943,23 @@ function mV(t) {
17943
17943
  /* hydrating */
17944
17944
  ), E(C = w.componentInstance)))
17945
17945
  return d(w, g), !0;
17946
- if (E(D)) {
17947
- if (E(A))
17946
+ if (E(A)) {
17947
+ if (E(D))
17948
17948
  if (!x.hasChildNodes())
17949
- v(w, A, g);
17949
+ v(w, D, g);
17950
17950
  else if (E(C = P) && E(C = C.domProps) && E(C = C.innerHTML)) {
17951
17951
  if (C !== x.innerHTML)
17952
17952
  return process.env.NODE_ENV !== "production" && typeof console < "u" && !$e && ($e = !0, console.warn("Parent: ", x), console.warn("server innerHTML: ", C), console.warn("client innerHTML: ", x.innerHTML)), !1;
17953
17953
  } else {
17954
- for (var U = !0, H = x.firstChild, q = 0; q < A.length; q++) {
17955
- if (!H || !He(H, A[q], g, S)) {
17954
+ for (var U = !0, H = x.firstChild, q = 0; q < D.length; q++) {
17955
+ if (!H || !He(H, D[q], g, S)) {
17956
17956
  U = !1;
17957
17957
  break;
17958
17958
  }
17959
17959
  H = H.nextSibling;
17960
17960
  }
17961
17961
  if (!U || H)
17962
- return process.env.NODE_ENV !== "production" && typeof console < "u" && !$e && ($e = !0, console.warn("Parent: ", x), console.warn("Mismatching childNodes vs. VNodes: ", x.childNodes, A)), !1;
17962
+ return process.env.NODE_ENV !== "production" && typeof console < "u" && !$e && ($e = !0, console.warn("Parent: ", x), console.warn("Mismatching childNodes vs. VNodes: ", x.childNodes, D)), !1;
17963
17963
  }
17964
17964
  if (E(P)) {
17965
17965
  var Z = !1;
@@ -17982,15 +17982,15 @@ function mV(t) {
17982
17982
  E(w) && T(w);
17983
17983
  return;
17984
17984
  }
17985
- var D = !1, P = [];
17985
+ var A = !1, P = [];
17986
17986
  if (J(w))
17987
- D = !0, f(g, P);
17987
+ A = !0, f(g, P);
17988
17988
  else {
17989
- var A = E(w.nodeType);
17990
- if (!A && Cr(w, g))
17989
+ var D = E(w.nodeType);
17990
+ if (!D && Cr(w, g))
17991
17991
  ee(w, g, P, null, null, C);
17992
17992
  else {
17993
- if (A) {
17993
+ if (D) {
17994
17994
  if (w.nodeType === 1 && w.hasAttribute(e1) && (w.removeAttribute(e1), S = !0), xe(S)) {
17995
17995
  if (He(w, g, P))
17996
17996
  return ke(g, P, !0), w;
@@ -18025,7 +18025,7 @@ function mV(t) {
18025
18025
  E(H) ? B([w], 0, 0) : E(w.tag) && T(w);
18026
18026
  }
18027
18027
  }
18028
- return ke(g, P, D), g.elm;
18028
+ return ke(g, P, A), g.elm;
18029
18029
  };
18030
18030
  }
18031
18031
  var vV = {
@@ -18279,20 +18279,20 @@ function PV(t, e) {
18279
18279
  o.data && (r = Zf(o.data)) && me(n, r);
18280
18280
  return n;
18281
18281
  }
18282
- var DV = /^--/, V1 = /\s*!important$/, W1 = function(t, e, n) {
18283
- if (DV.test(e))
18282
+ var AV = /^--/, V1 = /\s*!important$/, W1 = function(t, e, n) {
18283
+ if (AV.test(e))
18284
18284
  t.style.setProperty(e, n);
18285
18285
  else if (V1.test(n))
18286
18286
  t.style.setProperty(ci(e), n.replace(V1, ""), "important");
18287
18287
  else {
18288
- var r = AV(e);
18288
+ var r = DV(e);
18289
18289
  if (Array.isArray(n))
18290
18290
  for (var i = 0, o = n.length; i < o; i++)
18291
18291
  t.style[r] = n[i];
18292
18292
  else
18293
18293
  t.style[r] = n;
18294
18294
  }
18295
- }, H1 = ["Webkit", "Moz", "ms"], wa, AV = li(function(t) {
18295
+ }, H1 = ["Webkit", "Moz", "ms"], wa, DV = li(function(t) {
18296
18296
  if (wa = wa || document.createElement("div").style, t = Kr(t), t !== "filter" && t in wa)
18297
18297
  return t;
18298
18298
  for (var e = t.charAt(0).toUpperCase() + t.slice(1), n = 0; n < H1.length; n++) {
@@ -18316,11 +18316,11 @@ function U1(t, e) {
18316
18316
  var RV = {
18317
18317
  create: U1,
18318
18318
  update: U1
18319
- }, DE = /\s+/;
18320
- function AE(t, e) {
18319
+ }, AE = /\s+/;
18320
+ function DE(t, e) {
18321
18321
  if (!(!e || !(e = e.trim())))
18322
18322
  if (t.classList)
18323
- e.indexOf(" ") > -1 ? e.split(DE).forEach(function(r) {
18323
+ e.indexOf(" ") > -1 ? e.split(AE).forEach(function(r) {
18324
18324
  return t.classList.add(r);
18325
18325
  }) : t.classList.add(e);
18326
18326
  else {
@@ -18331,7 +18331,7 @@ function AE(t, e) {
18331
18331
  function RE(t, e) {
18332
18332
  if (!(!e || !(e = e.trim())))
18333
18333
  if (t.classList)
18334
- e.indexOf(" ") > -1 ? e.split(DE).forEach(function(i) {
18334
+ e.indexOf(" ") > -1 ? e.split(AE).forEach(function(i) {
18335
18335
  return t.classList.remove(i);
18336
18336
  }) : t.classList.remove(e), t.classList.length || t.removeAttribute("class");
18337
18337
  else {
@@ -18373,7 +18373,7 @@ function BE(t) {
18373
18373
  }
18374
18374
  function Wr(t, e) {
18375
18375
  var n = t._transitionClasses || (t._transitionClasses = []);
18376
- n.indexOf(e) < 0 && (n.push(e), AE(t, e));
18376
+ n.indexOf(e) < 0 && (n.push(e), DE(t, e));
18377
18377
  }
18378
18378
  function $n(t, e) {
18379
18379
  t._transitionClasses && yr(t._transitionClasses, e), RE(t, e);
@@ -18422,7 +18422,7 @@ function Nd(t, e) {
18422
18422
  T = B.context, B = B.parent;
18423
18423
  var b = !T._isMounted || !t.isRootInsert;
18424
18424
  if (!(b && !y && y !== "")) {
18425
- var re = b && c ? c : s, j = b && f ? f : l, Q = b && u ? u : a, ee = b && v || p, ke = b && oe(y) ? y : d, $e = b && _ || h, Nt = b && O || m, He = Qo(Ae(N) ? N.enter : N);
18425
+ var re = b && c ? c : s, j = b && f ? f : l, Q = b && u ? u : a, ee = b && v || p, ke = b && oe(y) ? y : d, $e = b && _ || h, Nt = b && O || m, He = Qo(De(N) ? N.enter : N);
18426
18426
  process.env.NODE_ENV !== "production" && He != null && HE(He, "enter", t);
18427
18427
  var Xe = i !== !1 && !ao, x = mm(ke), w = n._enterCb = al(function() {
18428
18428
  Xe && ($n(n, Q), $n(n, j)), w.cancelled ? (Xe && $n(n, re), Nt && Nt(n)) : $e && $e(n), n._enterCb = null;
@@ -18444,7 +18444,7 @@ function WE(t, e) {
18444
18444
  return e();
18445
18445
  if (E(n._leaveCb))
18446
18446
  return;
18447
- var i = r.css, o = r.type, s = r.leaveClass, a = r.leaveToClass, l = r.leaveActiveClass, c = r.beforeLeave, u = r.leave, f = r.afterLeave, p = r.leaveCancelled, d = r.delayLeave, h = r.duration, m = i !== !1 && !ao, v = mm(u), y = Qo(Ae(h) ? h.leave : h);
18447
+ var i = r.css, o = r.type, s = r.leaveClass, a = r.leaveToClass, l = r.leaveActiveClass, c = r.beforeLeave, u = r.leave, f = r.afterLeave, p = r.leaveCancelled, d = r.delayLeave, h = r.duration, m = i !== !1 && !ao, v = mm(u), y = Qo(De(h) ? h.leave : h);
18448
18448
  process.env.NODE_ENV !== "production" && E(y) && HE(y, "leave", t);
18449
18449
  var _ = n._leaveCb = al(function() {
18450
18450
  n.parentNode && n.parentNode._pending && (n.parentNode._pending[t.key] = null), m && ($n(n, a), $n(n, l)), _.cancelled ? (m && $n(n, s), p && p(n)) : (e(), f && f(n)), n._leaveCb = null;
@@ -18723,7 +18723,7 @@ var XV = {
18723
18723
  var n = t.cloneNode();
18724
18724
  t._transitionClasses && t._transitionClasses.forEach(function(i) {
18725
18725
  RE(n, i);
18726
- }), AE(n, e), n.style.display = "none", this.$el.appendChild(n);
18726
+ }), DE(n, e), n.style.display = "none", this.$el.appendChild(n);
18727
18727
  var r = VE(n);
18728
18728
  return this.$el.removeChild(n), this._hasMove = r.hasTransform;
18729
18729
  }
@@ -18756,7 +18756,7 @@ me(_e.options.directives, HV);
18756
18756
  me(_e.options.components, e3);
18757
18757
  _e.prototype.__patch__ = dt ? zV : he;
18758
18758
  _e.prototype.$mount = function(t, e) {
18759
- return t = t && dt ? Zz(t) : void 0, DB(this, t, e);
18759
+ return t = t && dt ? Zz(t) : void 0, AB(this, t, e);
18760
18760
  };
18761
18761
  dt && setTimeout(function() {
18762
18762
  ue.devtools && (ll ? ll.emit("init", _e) : process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && console[console.info ? "info" : "log"](`Download the Vue Devtools extension for a better development experience:
@@ -19009,12 +19009,12 @@ Os.oneOfProp = I3;
19009
19009
  var wc = {};
19010
19010
  Object.defineProperty(wc, "__esModule", { value: !0 });
19011
19011
  wc.oneOfObjectKeysProp = void 0;
19012
- const P3 = Os, D3 = (t, e) => (0, P3.oneOfProp)(Object.keys(t), e);
19013
- wc.oneOfObjectKeysProp = D3;
19012
+ const P3 = Os, A3 = (t, e) => (0, P3.oneOfProp)(Object.keys(t), e);
19013
+ wc.oneOfObjectKeysProp = A3;
19014
19014
  var Sc = {};
19015
19015
  Object.defineProperty(Sc, "__esModule", { value: !0 });
19016
19016
  Sc.oneOfTypesProp = void 0;
19017
- const A3 = ht, R3 = (t, e) => (0, A3.propOptionsGenerator)(t, e);
19017
+ const D3 = ht, R3 = (t, e) => (0, D3.propOptionsGenerator)(t, e);
19018
19018
  Sc.oneOfTypesProp = R3;
19019
19019
  var xc = {};
19020
19020
  Object.defineProperty(xc, "__esModule", { value: !0 });
@@ -19584,7 +19584,7 @@ class Xt {
19584
19584
  return c > cW && (a = lW(a, c), s -= c), new Xt(a.append(o), s);
19585
19585
  }
19586
19586
  remapping(e, n) {
19587
- let r = new Di();
19587
+ let r = new Ai();
19588
19588
  return this.items.forEach((i, o) => {
19589
19589
  let s = i.mirrorOffset != null && o - i.mirrorOffset >= e ? r.maps.length - i.mirrorOffset : void 0;
19590
19590
  r.appendMap(i.map, s);
@@ -20284,16 +20284,16 @@ function PW(t, e, n, r) {
20284
20284
  var i = _s(t);
20285
20285
  return p_(i, "scroll", n.updateBound, n.scrollParents), n.scrollElement = i, n.eventsEnabled = !0, n;
20286
20286
  }
20287
- function DW() {
20287
+ function AW() {
20288
20288
  this.state.eventsEnabled || (this.state = PW(this.reference, this.options, this.state, this.scheduleUpdate));
20289
20289
  }
20290
- function AW(t, e) {
20290
+ function DW(t, e) {
20291
20291
  return f_(t).removeEventListener("resize", e.updateBound), e.scrollParents.forEach(function(n) {
20292
20292
  n.removeEventListener("scroll", e.updateBound);
20293
20293
  }), e.updateBound = null, e.scrollParents = [], e.scrollElement = null, e.eventsEnabled = !1, e;
20294
20294
  }
20295
20295
  function RW() {
20296
- this.state.eventsEnabled && (cancelAnimationFrame(this.scheduleUpdate), this.state = AW(this.reference, this.state));
20296
+ this.state.eventsEnabled && (cancelAnimationFrame(this.scheduleUpdate), this.state = DW(this.reference, this.state));
20297
20297
  }
20298
20298
  function Sm(t) {
20299
20299
  return t !== "" && !isNaN(parseFloat(t)) && isFinite(t);
@@ -20910,7 +20910,7 @@ var eH = {
20910
20910
  }, {
20911
20911
  key: "enableEventListeners",
20912
20912
  value: function() {
20913
- return DW.call(this);
20913
+ return AW.call(this);
20914
20914
  }
20915
20915
  }, {
20916
20916
  key: "disableEventListeners",
@@ -21021,11 +21021,11 @@ function cs(t) {
21021
21021
  return [].slice.call(t);
21022
21022
  }
21023
21023
  function xa(t, e) {
21024
- return Dd(t, function(n) {
21024
+ return Ad(t, function(n) {
21025
21025
  return xm.call(n, e);
21026
21026
  });
21027
21027
  }
21028
- function Dd(t, e) {
21028
+ function Ad(t, e) {
21029
21029
  for (; t; ) {
21030
21030
  if (e(t))
21031
21031
  return t;
@@ -21033,7 +21033,7 @@ function Dd(t, e) {
21033
21033
  }
21034
21034
  return null;
21035
21035
  }
21036
- var Ad = {
21036
+ var Dd = {
21037
21037
  passive: !0
21038
21038
  // Popper `preventOverflow` padding
21039
21039
  }, op = 4, Rd = "x-placement", sp = "x-out-of-boundaries", y_ = "tippy-iOS", pw = "tippy-active", b_ = "tippy-popper", w_ = "tippy-tooltip", S_ = "tippy-content", x_ = "tippy-backdrop", O_ = "tippy-arrow", E_ = "tippy-roundarrow", Om = ".".concat(b_), sH = ".".concat(w_), aH = ".".concat(S_), lH = ".".concat(x_), cH = ".".concat(O_), uH = ".".concat(E_), Hn = !1;
@@ -21050,7 +21050,7 @@ function pH() {
21050
21050
  e && e.blur && e._tippy && e.blur();
21051
21051
  }
21052
21052
  function dH() {
21053
- document.addEventListener("touchstart", fH, Ad), window.addEventListener("blur", pH);
21053
+ document.addEventListener("touchstart", fH, Dd), window.addEventListener("blur", pH);
21054
21054
  }
21055
21055
  var hH = Object.keys(cn);
21056
21056
  function mH(t) {
@@ -21325,7 +21325,7 @@ function P_(t, e) {
21325
21325
  b.props.interactive && r === "mouseenter" && document.addEventListener("mousemove", y);
21326
21326
  }), b;
21327
21327
  function re() {
21328
- document.removeEventListener("mousemove", D);
21328
+ document.removeEventListener("mousemove", A);
21329
21329
  }
21330
21330
  function j() {
21331
21331
  document.body.removeEventListener("mouseleave", Gt), document.removeEventListener("mousemove", y), _a = _a.filter(function(k) {
@@ -21383,7 +21383,7 @@ function P_(t, e) {
21383
21383
  });
21384
21384
  }
21385
21385
  function S() {
21386
- b.props.touchHold && !b.props.target && (g("touchstart", A, Ad), g("touchend", H, Ad)), b.props.trigger.trim().split(" ").forEach(function(k) {
21386
+ b.props.touchHold && !b.props.target && (g("touchstart", D, Dd), g("touchend", H, Dd)), b.props.trigger.trim().split(" ").forEach(function(k) {
21387
21387
  if (k !== "manual")
21388
21388
  if (b.props.target)
21389
21389
  switch (k) {
@@ -21398,7 +21398,7 @@ function P_(t, e) {
21398
21398
  break;
21399
21399
  }
21400
21400
  else
21401
- switch (g(k, A), k) {
21401
+ switch (g(k, D), k) {
21402
21402
  case "mouseenter":
21403
21403
  g("mouseleave", H);
21404
21404
  break;
@@ -21414,10 +21414,10 @@ function P_(t, e) {
21414
21414
  Q().removeEventListener(z, W, G);
21415
21415
  }), m = [];
21416
21416
  }
21417
- function D(k) {
21417
+ function A(k) {
21418
21418
  var z = i = k, W = z.clientX, G = z.clientY;
21419
21419
  if (v) {
21420
- var Oe = Dd(k.target, function(Tm) {
21420
+ var Oe = Ad(k.target, function(Tm) {
21421
21421
  return Tm === t;
21422
21422
  }), mt = t.getBoundingClientRect(), po = b.props.followCursor, qt = po === "horizontal", Mt = po === "vertical", Jt = ap(["top", "bottom"], cp(O)), ot = O.getAttribute(Rd), Sn = ot ? !!ot.split("-")[1] : !1, xn = Jt ? O.offsetWidth : O.offsetHeight, Ts = xn / 2, Nm = Jt ? 0 : Sn ? xn : Ts, Mm = Jt ? Sn ? xn : Ts : 0;
21423
21423
  (Oe || !b.props.interactive) && (b.popperInstance.reference = st({}, b.popperInstance.reference, {
@@ -21451,13 +21451,13 @@ function P_(t, e) {
21451
21451
  }));
21452
21452
  }
21453
21453
  }
21454
- function A(k) {
21454
+ function D(k) {
21455
21455
  !b.state.isEnabled || ve(k) || (b.state.isVisible || (r = k.type, k instanceof MouseEvent && (i = k, _a.forEach(function(z) {
21456
21456
  return z(k);
21457
21457
  }))), k.type === "click" && b.props.hideOnClick !== !1 && b.state.isVisible ? Gt() : Ut(k));
21458
21458
  }
21459
21459
  function U(k) {
21460
- var z = xa(k.target, Om) === O, W = Dd(k.target, function(G) {
21460
+ var z = xa(k.target, Om) === O, W = Ad(k.target, function(G) {
21461
21461
  return G === t;
21462
21462
  });
21463
21463
  z || W || kH(cp(O), O.getBoundingClientRect(), k, b.props) && (j(), Gt());
@@ -21551,7 +21551,7 @@ function P_(t, e) {
21551
21551
  return P(k);
21552
21552
  if (l = !0, k && !z && b.props.onTrigger(b, k), b.props.wait)
21553
21553
  return b.props.wait(b, k);
21554
- Nt() && !b.state.isMounted && (b.popperInstance || it(), document.addEventListener("mousemove", D)), ee();
21554
+ Nt() && !b.state.isMounted && (b.popperInstance || it(), document.addEventListener("mousemove", A)), ee();
21555
21555
  var W = Oa(b.props.delay, 0, cn.delay);
21556
21556
  W ? o = setTimeout(function() {
21557
21557
  Pe();
@@ -21590,7 +21590,7 @@ function P_(t, e) {
21590
21590
  }));
21591
21591
  W.ignoreAttributes = xl(k, "ignoreAttributes") ? k.ignoreAttributes || !1 : z.ignoreAttributes, b.props = W, S(), j(), y = hw(U, W.interactiveDebounce), _H(O, z, W), b.popperChildren = Ld(O), b.popperInstance && (oH.some(function(G) {
21592
21592
  return xl(k, G) && k[G] !== z[G];
21593
- }) ? (b.popperInstance.destroy(), it(), b.state.isVisible && b.popperInstance.enableEventListeners(), b.props.followCursor && i && D(i)) : b.popperInstance.update());
21593
+ }) ? (b.popperInstance.destroy(), it(), b.state.isVisible && b.popperInstance.enableEventListeners(), b.props.followCursor && i && A(i)) : b.popperInstance.update());
21594
21594
  }
21595
21595
  function Ie(k) {
21596
21596
  Y({
@@ -21605,7 +21605,7 @@ function P_(t, e) {
21605
21605
  To(z.concat(O), 0), d = function() {
21606
21606
  if (b.state.isVisible) {
21607
21607
  var G = Nt();
21608
- G && i ? D(i) : G || b.popperInstance.update(), b.popperChildren.backdrop && (b.popperChildren.content.style.transitionDelay = Math.round(k / 12) + "ms"), b.props.sticky && He(), To([O], b.props.updateDuration), To(z, k), gw(z, "visible"), x(k, function() {
21608
+ G && i ? A(i) : G || b.popperInstance.update(), b.popperChildren.backdrop && (b.popperChildren.content.style.transitionDelay = Math.round(k / 12) + "ms"), b.props.sticky && He(), To([O], b.props.updateDuration), To(z, k), gw(z, "visible"), x(k, function() {
21609
21609
  b.props.aria && Q().setAttribute("aria-".concat(b.props.aria), O.id), b.props.onShown(b), b.state.isShown = !0;
21610
21610
  });
21611
21611
  }
@@ -21706,7 +21706,7 @@ function IH(t) {
21706
21706
  }
21707
21707
  }
21708
21708
  IH(rH);
21709
- var PH = "Expected a function", D_ = "__lodash_hash_undefined__", A_ = 1 / 0, DH = "[object Function]", AH = "[object GeneratorFunction]", RH = "[object Symbol]", FH = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, LH = /^\w*$/, jH = /^\./, BH = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, zH = /[\\^$.*+?()[\]{}|]/g, VH = /\\(\\)?/g, WH = /^\[object .+?Constructor\]$/, HH = typeof un == "object" && un && un.Object === Object && un, UH = typeof self == "object" && self && self.Object === Object && self, Em = HH || UH || Function("return this")();
21709
+ var PH = "Expected a function", A_ = "__lodash_hash_undefined__", D_ = 1 / 0, AH = "[object Function]", DH = "[object GeneratorFunction]", RH = "[object Symbol]", FH = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, LH = /^\w*$/, jH = /^\./, BH = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, zH = /[\\^$.*+?()[\]{}|]/g, VH = /\\(\\)?/g, WH = /^\[object .+?Constructor\]$/, HH = typeof un == "object" && un && un.Object === Object && un, UH = typeof self == "object" && self && self.Object === Object && self, Em = HH || UH || Function("return this")();
21710
21710
  function GH(t, e) {
21711
21711
  return t == null ? void 0 : t[e];
21712
21712
  }
@@ -21742,7 +21742,7 @@ function t6(t) {
21742
21742
  var e = this.__data__;
21743
21743
  if (us) {
21744
21744
  var n = e[t];
21745
- return n === D_ ? void 0 : n;
21745
+ return n === A_ ? void 0 : n;
21746
21746
  }
21747
21747
  return _m.call(e, t) ? e[t] : void 0;
21748
21748
  }
@@ -21752,7 +21752,7 @@ function n6(t) {
21752
21752
  }
21753
21753
  function r6(t, e) {
21754
21754
  var n = this.__data__;
21755
- return n[t] = us && e === void 0 ? D_ : e, this;
21755
+ return n[t] = us && e === void 0 ? A_ : e, this;
21756
21756
  }
21757
21757
  Zr.prototype.clear = QH;
21758
21758
  Zr.prototype.delete = e6;
@@ -21847,7 +21847,7 @@ function v6(t) {
21847
21847
  if (km(t))
21848
21848
  return Ow ? Ow.call(t) : "";
21849
21849
  var e = t + "";
21850
- return e == "0" && 1 / t == -A_ ? "-0" : e;
21850
+ return e == "0" && 1 / t == -D_ ? "-0" : e;
21851
21851
  }
21852
21852
  function g6(t) {
21853
21853
  return B_(t) ? t : S6(t);
@@ -21884,7 +21884,7 @@ function x6(t) {
21884
21884
  if (typeof t == "string" || km(t))
21885
21885
  return t;
21886
21886
  var e = t + "";
21887
- return e == "0" && 1 / t == -A_ ? "-0" : e;
21887
+ return e == "0" && 1 / t == -D_ ? "-0" : e;
21888
21888
  }
21889
21889
  function O6(t) {
21890
21890
  if (t != null) {
@@ -21918,7 +21918,7 @@ function E6(t, e) {
21918
21918
  var B_ = Array.isArray;
21919
21919
  function _6(t) {
21920
21920
  var e = z_(t) ? L_.call(t) : "";
21921
- return e == DH || e == AH;
21921
+ return e == AH || e == DH;
21922
21922
  }
21923
21923
  function z_(t) {
21924
21924
  var e = typeof t;
@@ -21973,7 +21973,7 @@ function _w(t, e, n, r) {
21973
21973
  const d = i.filter((v) => v.value === p[0]), h = f + p.index;
21974
21974
  let m = !1;
21975
21975
  d.forEach((v) => {
21976
- v.length && v.offset >= 0 && (m = !0, h - 1 === v.offset && c(h, h + p[0].length, p[0]));
21976
+ v.length && v.offset >= 0 && (m = !0, h === v.offset && c(h, h + p[0].length, p[0]));
21977
21977
  }), m || c(h, h + p[0].length, p[0]);
21978
21978
  }
21979
21979
  }
@@ -22087,7 +22087,7 @@ const I6 = ai.create({
22087
22087
  ];
22088
22088
  }
22089
22089
  });
22090
- var P6 = 1 / 0, D6 = "[object Symbol]", V_ = /&(?:amp|lt|gt|quot|#39|#96);/g, A6 = RegExp(V_.source), R6 = {
22090
+ var P6 = 1 / 0, A6 = "[object Symbol]", V_ = /&(?:amp|lt|gt|quot|#39|#96);/g, D6 = RegExp(V_.source), R6 = {
22091
22091
  "&amp;": "&",
22092
22092
  "&lt;": "<",
22093
22093
  "&gt;": ">",
@@ -22113,13 +22113,13 @@ function U6(t) {
22113
22113
  return !!t && typeof t == "object";
22114
22114
  }
22115
22115
  function G6(t) {
22116
- return typeof t == "symbol" || U6(t) && W6.call(t) == D6;
22116
+ return typeof t == "symbol" || U6(t) && W6.call(t) == A6;
22117
22117
  }
22118
22118
  function q6(t) {
22119
22119
  return t == null ? "" : H6(t);
22120
22120
  }
22121
22121
  function J6(t) {
22122
- return t = q6(t), t && A6.test(t) ? t.replace(V_, z6) : t;
22122
+ return t = q6(t), t && D6.test(t) ? t.replace(V_, z6) : t;
22123
22123
  }
22124
22124
  var K6 = J6;
22125
22125
  const X6 = /* @__PURE__ */ Mw(K6);
@@ -22187,7 +22187,8 @@ const Z6 = {
22187
22187
  },
22188
22188
  optionsRange: null,
22189
22189
  initialCharacterCount: 0,
22190
- previousCharacterCount: 0
22190
+ previousCharacterCount: 0,
22191
+ previousHTML: ""
22191
22192
  };
22192
22193
  },
22193
22194
  computed: {
@@ -22267,16 +22268,36 @@ const Z6 = {
22267
22268
  }), this.initialCharacterCount = this.currentCharacterCount, this.previousCharacterCount = this.currentCharacterCount, this.editor.on("update", ({ editor: t }) => {
22268
22269
  this.warnings.forEach((e) => {
22269
22270
  if (e.length && e.offset && t.state.selection.head - 1 <= e.offset) {
22270
- const n = this.currentCharacterCount - this.previousCharacterCount;
22271
- e.offset += n;
22271
+ let n = this.currentCharacterCount - this.previousCharacterCount;
22272
+ n += this.adjustForNewlines(), e.offset += n;
22272
22273
  }
22273
- }), this.previousCharacterCount = this.currentCharacterCount, this.editor.commands.focus();
22274
+ }), this.previousCharacterCount = this.currentCharacterCount, this.previousHTML = this.editor.getHTML(), this.editor.commands.focus();
22275
+ }), this.warnings.forEach((t) => {
22276
+ t.length && t.offset >= 0 && (t.offset += this.getOffsetAdjustment(t));
22274
22277
  });
22275
22278
  },
22276
22279
  destroyed() {
22277
22280
  this.editor.destroy(), this.popup && this.popup.destroy();
22278
22281
  },
22279
22282
  methods: {
22283
+ // compliance checks base offset data off the HTML value of the text
22284
+ // ProseMirror uses a unique token sequence indexing system - see https://prosemirror.net/docs/guide/#doc.indexing
22285
+ // we need to convert warning offsets to the index values ProseMirror expects
22286
+ getOffsetAdjustment(t) {
22287
+ for (; this.value.substr(t.offset, t.value.length) !== t.value && t.offset <= this.value.length; )
22288
+ t.offset++;
22289
+ const e = t.offset;
22290
+ let n = this.value.substr(0, t.offset);
22291
+ n = n.replace(/<p>|<\/p>|<li>|<ul>|<\/ul>|<\/li>|<div>|<\/div>/g, " ");
22292
+ const r = /<strong>|<\/strong>|<em>|<\/em>/g;
22293
+ return n = n.replace(r, ""), n.length - e;
22294
+ },
22295
+ // when the user adds a newline to the text of the editor, the character count stays the same, but ProseMirror's token
22296
+ // sequence indexing system adds 2 tokens to the content. We need to adjust warning offsets to account for that
22297
+ adjustForNewlines() {
22298
+ const t = /<\/p><p>/g, e = (this.previousHTML.match(t) || []).length;
22299
+ return ((this.editor.getHTML().match(t) || []).length - e) * 2;
22300
+ },
22280
22301
  getErrorWords() {
22281
22302
  return this.errors.length < 1 ? [] : this.errors.map((t) => ({
22282
22303
  value: t.value,
@@ -22327,6 +22348,9 @@ const Z6 = {
22327
22348
  watch: {
22328
22349
  warnings: function(t, e) {
22329
22350
  if (this.editor) {
22351
+ this.warnings.forEach((r) => {
22352
+ r.length && r.offset >= 0 && (r.offset += this.getOffsetAdjustment(r));
22353
+ });
22330
22354
  const n = this.editor.view.state.selection;
22331
22355
  this.editor.commands.setTextSelection({
22332
22356
  from: n.from,