@beterdichtbij/component-library 0.42.0 → 0.42.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { defineComponent as Be, computed as Ae, openBlock as D, createElementBlock as K, normalizeClass as We, renderSlot as Je, resolveComponent as Vs, createBlock as Ke, resolveDynamicComponent as Zi, mergeProps as Ut, withCtx as Re, createTextVNode as it, toDisplayString as Oe, createStaticVNode as Qt, createElementVNode as P, createVNode as ve, unref as ce, createCommentVNode as Pe, getCurrentScope as c0, onScopeDispose as u0, ref as ze, watch as dn, getCurrentInstance as Kf, nextTick as Qf, withDirectives as hs, isRef as Xi, vModelText as d0, withKeys as f0, useAttrs as h0, withModifiers as ps, onMounted as Vn, vShow as xu, Fragment as et, renderList as At, vModelSelect as p0, vModelCheckbox as m0, h as Dt, normalizeProps as ic, guardReactiveProps as ac, onBeforeUnmount as qi, watchEffect as g0, Teleport as v0, shallowRef as y0, reactive as C0, markRaw as b0, customRef as A0, createApp as E0, onUnmounted as w0 } from "vue";
1
+ import { defineComponent as Be, computed as Ae, openBlock as D, createElementBlock as K, normalizeClass as We, renderSlot as Je, resolveComponent as Vs, createBlock as Ke, resolveDynamicComponent as Zi, mergeProps as Ut, withCtx as Re, createTextVNode as it, toDisplayString as Oe, createStaticVNode as Qt, createElementVNode as P, createVNode as ve, unref as ce, createCommentVNode as Pe, getCurrentScope as c0, onScopeDispose as u0, ref as ze, watch as dn, getCurrentInstance as Kf, nextTick as Qf, withDirectives as hs, isRef as Xi, vModelText as d0, withKeys as f0, useAttrs as h0, withModifiers as ps, onMounted as Hn, vShow as xu, Fragment as et, renderList as At, vModelSelect as p0, vModelCheckbox as m0, h as Dt, normalizeProps as ic, guardReactiveProps as ac, onBeforeUnmount as qi, watchEffect as g0, Teleport as v0, shallowRef as y0, reactive as C0, markRaw as b0, customRef as A0, createApp as E0, onUnmounted as w0 } from "vue";
2
2
  const Yr = /* @__PURE__ */ Be({
3
3
  __name: "BDCol",
4
4
  props: {
@@ -106,7 +106,8 @@ const Yr = /* @__PURE__ */ Be({
106
106
  OUT_LINK: "link",
107
107
  LIGHT: "light",
108
108
  DARK: "dark",
109
- REMOVE: "remove"
109
+ REMOVE: "remove",
110
+ NEUTRAL: "neutral"
110
111
  }, st = /* @__PURE__ */ Be({
111
112
  __name: "BDButton",
112
113
  props: {
@@ -1448,7 +1449,7 @@ function N6(n, e = {}) {
1448
1449
  { immediate: !0, flush: "post" }
1449
1450
  ), { focused: i };
1450
1451
  }
1451
- function Br(n, e, t, r = {}) {
1452
+ function Fr(n, e, t, r = {}) {
1452
1453
  var s, o, i;
1453
1454
  const {
1454
1455
  clone: l = !1,
@@ -1514,7 +1515,7 @@ const P6 = { class: "bd-zoom-slider d-flex" }, B6 = /* @__PURE__ */ P("g", { tra
1514
1515
  },
1515
1516
  emits: ["update:modelValue"],
1516
1517
  setup(n, { emit: e }) {
1517
- const t = n, r = Br(t, "modelValue", e);
1518
+ const t = n, r = Fr(t, "modelValue", e);
1518
1519
  function s() {
1519
1520
  r.value !== 0 && r.value--;
1520
1521
  }
@@ -1585,15 +1586,15 @@ const P6 = { class: "bd-zoom-slider d-flex" }, B6 = /* @__PURE__ */ P("g", { tra
1585
1586
  ]));
1586
1587
  }
1587
1588
  });
1588
- var br = 256, fh = [], ku = 256, ko;
1589
- for (; br--; )
1590
- fh[br] = (br + 256).toString(16).substring(1);
1589
+ var Ar = 256, fh = [], ku = 256, ko;
1590
+ for (; Ar--; )
1591
+ fh[Ar] = (Ar + 256).toString(16).substring(1);
1591
1592
  function hh(n) {
1592
1593
  var e = 0, t = n || 11;
1593
- if (!ko || br + t > ku * 2)
1594
- for (ko = "", br = 0; e < ku; e++)
1594
+ if (!ko || Ar + t > ku * 2)
1595
+ for (ko = "", Ar = 0; e < ku; e++)
1595
1596
  ko += fh[Math.random() * 256 | 0];
1596
- return ko.substring(br, br++ + t);
1597
+ return ko.substring(Ar, Ar++ + t);
1597
1598
  }
1598
1599
  function Is() {
1599
1600
  return { uniqueIdentifier: ze(hh()) };
@@ -1914,7 +1915,7 @@ const El = /* @__PURE__ */ new WeakMap(), n4 = (n) => {
1914
1915
  },
1915
1916
  emits: ["update:modelValue", "click", "blur", "enter"],
1916
1917
  setup(n, { emit: e }) {
1917
- const t = n, { uniqueIdentifier: r } = Is(), s = Br(t, "modelValue", e), o = `__BD__FORM__LABEL__${r.value}`, i = `__BD__FORM__GROUP__${r.value}`, l = `form-input-${t.label ? t.label.replace(/ /g, "-").toLowerCase() : r.value}`, a = `validationFeedback${t.label ? t.label.replace(/ /g, "") : r.value}`, c = Ae(() => ({
1918
+ const t = n, { uniqueIdentifier: r } = Is(), s = Fr(t, "modelValue", e), o = `__BD__FORM__LABEL__${r.value}`, i = `__BD__FORM__GROUP__${r.value}`, l = `form-input-${t.label ? t.label.replace(/ /g, "-").toLowerCase() : r.value}`, a = `validationFeedback${t.label ? t.label.replace(/ /g, "") : r.value}`, c = Ae(() => ({
1918
1919
  [`${t.inputClass}`]: t.inputClass,
1919
1920
  "is-invalid": t.state === !1,
1920
1921
  "is-valid": t.state === !0,
@@ -2043,10 +2044,10 @@ const El = /* @__PURE__ */ new WeakMap(), n4 = (n) => {
2043
2044
  },
2044
2045
  emits: ["click", "update:modelValue"],
2045
2046
  setup(n, { emit: e }) {
2046
- const t = n, r = Br(t, "modelValue", e), s = ze(Math.ceil(t.totalRows / t.rowsPerPage)), o = ze([]);
2047
+ const t = n, r = Fr(t, "modelValue", e), s = ze(Math.ceil(t.totalRows / t.rowsPerPage)), o = ze([]);
2047
2048
  dn([() => t.totalRows, () => t.rowsPerPage], () => {
2048
2049
  s.value = Math.ceil(t.totalRows / t.rowsPerPage), o.value = u(r.value);
2049
- }), Vn(() => {
2050
+ }), Hn(() => {
2050
2051
  o.value = u(r.value);
2051
2052
  });
2052
2053
  const i = Ae(() => ({
@@ -2120,7 +2121,7 @@ const El = /* @__PURE__ */ new WeakMap(), n4 = (n) => {
2120
2121
  },
2121
2122
  emits: ["update:modelValue", "change", "input"],
2122
2123
  setup(n, { emit: e }) {
2123
- const t = n, r = Br(t, "modelValue", e), s = ze(null), { focused: o } = N6(s, { initialValue: t.autofocus }), i = Ae(() => ({
2124
+ const t = n, r = Fr(t, "modelValue", e), s = ze(null), { focused: o } = N6(s, { initialValue: t.autofocus }), i = Ae(() => ({
2124
2125
  "form-select": !0,
2125
2126
  "bd-form-select": !0,
2126
2127
  "is-invalid": t.state === !1,
@@ -2178,7 +2179,7 @@ const El = /* @__PURE__ */ new WeakMap(), n4 = (n) => {
2178
2179
  },
2179
2180
  emits: ["update:modelValue", "change", "input"],
2180
2181
  setup(n, { emit: e }) {
2181
- const t = n, { uniqueIdentifier: r } = Is(), s = Br(t, "modelValue", e), o = `form-check-input-${r.value}`, i = Ae(() => ["form-check", "bd-form-checkbox"]), l = Ae(() => ({
2182
+ const t = n, { uniqueIdentifier: r } = Is(), s = Fr(t, "modelValue", e), o = `form-check-input-${r.value}`, i = Ae(() => ["form-check", "bd-form-checkbox"]), l = Ae(() => ({
2182
2183
  "form-check-input": !0,
2183
2184
  "is-invalid": t.state === !1
2184
2185
  })), a = (c) => e("change", c.target.value);
@@ -4397,7 +4398,7 @@ var vh = { exports: {} };
4397
4398
  var me = X.match(/\d+$/)[0] / 8, ke = X + (se ? "Clamped" : "") + "Array", He = "get" + X, qe = "set" + X, Xe = u[ke], Ue = Xe, ct = Ue && Ue.prototype, Rt = {}, yt = function(he, pe) {
4398
4399
  var Le = ee(he);
4399
4400
  return Le.view[He](pe * me + Le.byteOffset, !0);
4400
- }, Un = function(he, pe, Le) {
4401
+ }, jn = function(he, pe, Le) {
4401
4402
  var Ne = ee(he);
4402
4403
  se && (Le = (Le = be(Le)) < 0 ? 0 : Le > 255 ? 255 : Le & 255), Ne.view[qe](pe * me + Ne.byteOffset, Le, !0);
4403
4404
  }, te = function(he, pe) {
@@ -4406,7 +4407,7 @@ var vh = { exports: {} };
4406
4407
  return yt(this, pe);
4407
4408
  },
4408
4409
  set: function(Le) {
4409
- return Un(this, pe, Le);
4410
+ return jn(this, pe, Le);
4410
4411
  },
4411
4412
  enumerable: !0
4412
4413
  });
@@ -5594,8 +5595,8 @@ var vh = { exports: {} };
5594
5595
  return O === "." || O.toLowerCase() === "%2e";
5595
5596
  }, Ue = function(O) {
5596
5597
  return O = O.toLowerCase(), O === ".." || O === "%2e." || O === ".%2e" || O === "%2e%2e";
5597
- }, ct = {}, Rt = {}, yt = {}, Un = {}, te = {}, he = {}, pe = {}, Le = {}, Ne = {}, tt = {}, ot = {}, wt = {}, xt = {}, pt = {}, gn = {}, jn = {}, $t = {}, Yt = {}, Hr = {}, Jt = {}, In = {}, vn = function(O, oe, ne, ie) {
5598
- var ue = ne || ct, Fe = 0, xe = "", Ge = !1, rt = !1, at = !1, Zt, le, dt, _n;
5598
+ }, ct = {}, Rt = {}, yt = {}, jn = {}, te = {}, he = {}, pe = {}, Le = {}, Ne = {}, tt = {}, ot = {}, wt = {}, xt = {}, pt = {}, gn = {}, Wn = {}, $t = {}, Yt = {}, Hr = {}, Jt = {}, _n = {}, vn = function(O, oe, ne, ie) {
5599
+ var ue = ne || ct, Fe = 0, xe = "", Ge = !1, rt = !1, at = !1, Zt, le, dt, Ln;
5599
5600
  for (ne || (O.scheme = "", O.username = "", O.password = "", O.host = null, O.port = null, O.path = [], O.query = null, O.fragment = null, O.cannotBeABaseURL = !1, oe = oe.replace(S, "")), oe = oe.replace(M, ""), Zt = A(oe); Fe <= Zt.length; ) {
5600
5601
  switch (le = Zt[Fe], ue) {
5601
5602
  case ct:
@@ -5618,7 +5619,7 @@ var vh = { exports: {} };
5618
5619
  q(O) && X[O.scheme] == O.port && (O.port = null);
5619
5620
  return;
5620
5621
  }
5621
- xe = "", O.scheme == "file" ? ue = pt : q(O) && ie && ie.scheme == O.scheme ? ue = Un : q(O) ? ue = Le : Zt[Fe + 1] == "/" ? (ue = te, Fe++) : (O.cannotBeABaseURL = !0, O.path.push(""), ue = Hr);
5622
+ xe = "", O.scheme == "file" ? ue = pt : q(O) && ie && ie.scheme == O.scheme ? ue = jn : q(O) ? ue = Le : Zt[Fe + 1] == "/" ? (ue = te, Fe++) : (O.cannotBeABaseURL = !0, O.path.push(""), ue = Hr);
5622
5623
  } else {
5623
5624
  if (ne)
5624
5625
  return $;
@@ -5630,12 +5631,12 @@ var vh = { exports: {} };
5630
5631
  if (!ie || ie.cannotBeABaseURL && le != "#")
5631
5632
  return $;
5632
5633
  if (ie.cannotBeABaseURL && le == "#") {
5633
- O.scheme = ie.scheme, O.path = ie.path.slice(), O.query = ie.query, O.fragment = "", O.cannotBeABaseURL = !0, ue = In;
5634
+ O.scheme = ie.scheme, O.path = ie.path.slice(), O.query = ie.query, O.fragment = "", O.cannotBeABaseURL = !0, ue = _n;
5634
5635
  break;
5635
5636
  }
5636
5637
  ue = ie.scheme == "file" ? pt : he;
5637
5638
  continue;
5638
- case Un:
5639
+ case jn:
5639
5640
  if (le == "/" && Zt[Fe + 1] == "/")
5640
5641
  ue = Ne, Fe++;
5641
5642
  else {
@@ -5659,7 +5660,7 @@ var vh = { exports: {} };
5659
5660
  else if (le == "?")
5660
5661
  O.username = ie.username, O.password = ie.password, O.host = ie.host, O.port = ie.port, O.path = ie.path.slice(), O.query = "", ue = Jt;
5661
5662
  else if (le == "#")
5662
- O.username = ie.username, O.password = ie.password, O.host = ie.host, O.port = ie.port, O.path = ie.path.slice(), O.query = ie.query, O.fragment = "", ue = In;
5663
+ O.username = ie.username, O.password = ie.password, O.host = ie.host, O.port = ie.port, O.path = ie.path.slice(), O.query = ie.query, O.fragment = "", ue = _n;
5663
5664
  else {
5664
5665
  O.username = ie.username, O.password = ie.password, O.host = ie.host, O.port = ie.port, O.path = ie.path.slice(), O.path.pop(), ue = Yt;
5665
5666
  continue;
@@ -5709,13 +5710,13 @@ var vh = { exports: {} };
5709
5710
  case ot:
5710
5711
  case wt:
5711
5712
  if (ne && O.scheme == "file") {
5712
- ue = jn;
5713
+ ue = Wn;
5713
5714
  continue;
5714
5715
  } else if (le == ":" && !rt) {
5715
5716
  if (xe == "")
5716
5717
  return G;
5717
- if (_n = k(O, xe), _n)
5718
- return _n;
5718
+ if (Ln = k(O, xe), Ln)
5719
+ return Ln;
5719
5720
  if (xe = "", ue = xt, ne == wt)
5720
5721
  return;
5721
5722
  } else if (le == w || le == "/" || le == "?" || le == "#" || le == "\\" && q(O)) {
@@ -5723,8 +5724,8 @@ var vh = { exports: {} };
5723
5724
  return G;
5724
5725
  if (ne && xe == "" && (se(O) || O.port !== null))
5725
5726
  return;
5726
- if (_n = k(O, xe), _n)
5727
- return _n;
5727
+ if (Ln = k(O, xe), Ln)
5728
+ return Ln;
5728
5729
  if (xe = "", ue = $t, ne)
5729
5730
  return;
5730
5731
  continue;
@@ -5757,7 +5758,7 @@ var vh = { exports: {} };
5757
5758
  else if (le == "?")
5758
5759
  O.host = ie.host, O.path = ie.path.slice(), O.query = "", ue = Jt;
5759
5760
  else if (le == "#")
5760
- O.host = ie.host, O.path = ie.path.slice(), O.query = ie.query, O.fragment = "", ue = In;
5761
+ O.host = ie.host, O.path = ie.path.slice(), O.query = ie.query, O.fragment = "", ue = _n;
5761
5762
  else {
5762
5763
  He(Zt.slice(Fe).join("")) || (O.host = ie.host, O.path = ie.path.slice(), qe(O)), ue = Yt;
5763
5764
  continue;
@@ -5769,12 +5770,12 @@ var vh = { exports: {} };
5769
5770
  break;
5770
5771
  case gn:
5771
5772
  if (le == "/" || le == "\\") {
5772
- ue = jn;
5773
+ ue = Wn;
5773
5774
  break;
5774
5775
  }
5775
5776
  ie && ie.scheme == "file" && !He(Zt.slice(Fe).join("")) && (ke(ie.path[0], !0) ? O.path.push(ie.path[0]) : O.host = ie.host), ue = Yt;
5776
5777
  continue;
5777
- case jn:
5778
+ case Wn:
5778
5779
  if (le == w || le == "/" || le == "\\" || le == "?" || le == "#") {
5779
5780
  if (!ne && ke(xe))
5780
5781
  ue = Yt;
@@ -5783,8 +5784,8 @@ var vh = { exports: {} };
5783
5784
  return;
5784
5785
  ue = $t;
5785
5786
  } else {
5786
- if (_n = k(O, xe), _n)
5787
- return _n;
5787
+ if (Ln = k(O, xe), Ln)
5788
+ return Ln;
5788
5789
  if (O.host == "localhost" && (O.host = ""), ne)
5789
5790
  return;
5790
5791
  xe = "", ue = $t;
@@ -5800,7 +5801,7 @@ var vh = { exports: {} };
5800
5801
  } else if (!ne && le == "?")
5801
5802
  O.query = "", ue = Jt;
5802
5803
  else if (!ne && le == "#")
5803
- O.fragment = "", ue = In;
5804
+ O.fragment = "", ue = _n;
5804
5805
  else if (le != w && (ue = Yt, le != "/"))
5805
5806
  continue;
5806
5807
  break;
@@ -5809,26 +5810,26 @@ var vh = { exports: {} };
5809
5810
  if (Ue(xe) ? (qe(O), le != "/" && !(le == "\\" && q(O)) && O.path.push("")) : Xe(xe) ? le != "/" && !(le == "\\" && q(O)) && O.path.push("") : (O.scheme == "file" && !O.path.length && ke(xe) && (O.host && (O.host = ""), xe = xe.charAt(0) + ":"), O.path.push(xe)), xe = "", O.scheme == "file" && (le == w || le == "?" || le == "#"))
5810
5811
  for (; O.path.length > 1 && O.path[0] === ""; )
5811
5812
  O.path.shift();
5812
- le == "?" ? (O.query = "", ue = Jt) : le == "#" && (O.fragment = "", ue = In);
5813
+ le == "?" ? (O.query = "", ue = Jt) : le == "#" && (O.fragment = "", ue = _n);
5813
5814
  } else
5814
5815
  xe += J(le, Y);
5815
5816
  break;
5816
5817
  case Hr:
5817
- le == "?" ? (O.query = "", ue = Jt) : le == "#" ? (O.fragment = "", ue = In) : le != w && (O.path[0] += J(le, N));
5818
+ le == "?" ? (O.query = "", ue = Jt) : le == "#" ? (O.fragment = "", ue = _n) : le != w && (O.path[0] += J(le, N));
5818
5819
  break;
5819
5820
  case Jt:
5820
- !ne && le == "#" ? (O.fragment = "", ue = In) : le != w && (le == "'" && q(O) ? O.query += "%27" : le == "#" ? O.query += "%23" : O.query += J(le, N));
5821
+ !ne && le == "#" ? (O.fragment = "", ue = _n) : le != w && (le == "'" && q(O) ? O.query += "%27" : le == "#" ? O.query += "%23" : O.query += J(le, N));
5821
5822
  break;
5822
- case In:
5823
+ case _n:
5823
5824
  le != w && (O.fragment += J(le, F));
5824
5825
  break;
5825
5826
  }
5826
5827
  Fe++;
5827
5828
  }
5828
- }, gr = function(oe) {
5829
- var ne = m(this, gr, "URL"), ie = arguments.length > 1 ? arguments[1] : void 0, ue = String(oe), Fe = R(ne, { type: "URL" }), xe, Ge;
5829
+ }, vr = function(oe) {
5830
+ var ne = m(this, vr, "URL"), ie = arguments.length > 1 ? arguments[1] : void 0, ue = String(oe), Fe = R(ne, { type: "URL" }), xe, Ge;
5830
5831
  if (ie !== void 0) {
5831
- if (ie instanceof gr)
5832
+ if (ie instanceof vr)
5832
5833
  xe = z(ie);
5833
5834
  else if (Ge = vn(xe = {}, String(ie)), Ge)
5834
5835
  throw TypeError(Ge);
@@ -5839,7 +5840,7 @@ var vh = { exports: {} };
5839
5840
  at.updateSearchParams(Fe.query), at.updateURL = function() {
5840
5841
  Fe.query = String(rt) || null;
5841
5842
  }, u || (ne.href = To.call(ne), ne.origin = cu.call(ne), ne.protocol = uu.call(ne), ne.username = du.call(ne), ne.password = fu.call(ne), ne.host = hu.call(ne), ne.hostname = pu.call(ne), ne.port = mu.call(ne), ne.pathname = gu.call(ne), ne.search = vu.call(ne), ne.searchParams = yu.call(ne), ne.hash = Cu.call(ne));
5842
- }, Sa = gr.prototype, To = function() {
5843
+ }, Sa = vr.prototype, To = function() {
5843
5844
  var O = z(this), oe = O.scheme, ne = O.username, ie = O.password, ue = O.host, Fe = O.port, xe = O.path, Ge = O.query, rt = O.fragment, at = oe + ":";
5844
5845
  return ue !== null ? (at += "//", se(O) && (at += ne + (ie ? ":" + ie : "") + "@"), at += _(ue), Fe !== null && (at += ":" + Fe)) : oe == "file" && (at += "//"), at += O.cannotBeABaseURL ? xe[0] : xe.length ? "/" + xe.join("/") : "", Ge !== null && (at += "?" + Ge), rt !== null && (at += "#" + rt), at;
5845
5846
  }, cu = function() {
@@ -5959,7 +5960,7 @@ var vh = { exports: {} };
5959
5960
  oe.fragment = null;
5960
5961
  return;
5961
5962
  }
5962
- O.charAt(0) == "#" && (O = O.slice(1)), oe.fragment = "", vn(oe, O, In);
5963
+ O.charAt(0) == "#" && (O = O.slice(1)), oe.fragment = "", vn(oe, O, _n);
5963
5964
  })
5964
5965
  }), p(Sa, "toJSON", function() {
5965
5966
  return To.call(this);
@@ -5967,14 +5968,14 @@ var vh = { exports: {} };
5967
5968
  return To.call(this);
5968
5969
  }, { enumerable: !0 }), U) {
5969
5970
  var bu = U.createObjectURL, Au = U.revokeObjectURL;
5970
- bu && p(gr, "createObjectURL", function(oe) {
5971
+ bu && p(vr, "createObjectURL", function(oe) {
5971
5972
  return bu.apply(U, arguments);
5972
- }), Au && p(gr, "revokeObjectURL", function(oe) {
5973
+ }), Au && p(vr, "revokeObjectURL", function(oe) {
5973
5974
  return Au.apply(U, arguments);
5974
5975
  });
5975
5976
  }
5976
- T(gr, "URL"), c({ global: !0, forced: !d, sham: !u }, {
5977
- URL: gr
5977
+ T(vr, "URL"), c({ global: !0, forced: !d, sham: !u }, {
5978
+ URL: vr
5978
5979
  });
5979
5980
  }
5980
5981
  )
@@ -7823,8 +7824,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
7823
7824
  var Rt = T(y, !0), yt;
7824
7825
  try {
7825
7826
  for (Rt.s(); !(yt = Rt.n()).done; ) {
7826
- var Un = yt.value;
7827
- this.emit("sending", Un, _, He);
7827
+ var jn = yt.value;
7828
+ this.emit("sending", jn, _, He);
7828
7829
  }
7829
7830
  } catch (pe) {
7830
7831
  Rt.e(pe);
@@ -8358,11 +8359,11 @@ const _u = /* @__PURE__ */ mc(U4), j4 = { class: "fallback" }, W4 = /* @__PURE__
8358
8359
  },
8359
8360
  emits: ["update:modelValue"],
8360
8361
  setup(n, { emit: e }) {
8361
- const t = n, r = Ae(() => ({ variant: ta.PRIMARY, size: St.SM })), s = Br(t, "modelValue", e);
8362
+ const t = n, r = Ae(() => ({ variant: ta.PRIMARY, size: St.SM })), s = Fr(t, "modelValue", e);
8362
8363
  let o = null;
8363
8364
  _u.autoDiscover = !1, dn(() => t.modelValue, () => {
8364
8365
  i();
8365
- }), Vn(() => {
8366
+ }), Hn(() => {
8366
8367
  document.getElementById("dropzone") && l();
8367
8368
  });
8368
8369
  const i = () => {
@@ -9120,13 +9121,13 @@ function Eh(n, e, t, r) {
9120
9121
  } else if (t.content.size)
9121
9122
  if (!t.openStart && !t.openEnd && n.depth == r && e.depth == r) {
9122
9123
  let i = n.parent, l = i.content;
9123
- return kr(i, l.cut(0, n.parentOffset).append(t.content).append(l.cut(e.parentOffset)));
9124
+ return Mr(i, l.cut(0, n.parentOffset).append(t.content).append(l.cut(e.parentOffset)));
9124
9125
  } else {
9125
9126
  let { start: i, end: l } = o8(t, n);
9126
- return kr(o, xh(n, i, l, e, r));
9127
+ return Mr(o, xh(n, i, l, e, r));
9127
9128
  }
9128
9129
  else
9129
- return kr(o, ti(n, e, r));
9130
+ return Mr(o, ti(n, e, r));
9130
9131
  }
9131
9132
  function wh(n, e) {
9132
9133
  if (!e.type.compatibleContent(n.type))
@@ -9136,29 +9137,29 @@ function Sl(n, e, t) {
9136
9137
  let r = n.node(t);
9137
9138
  return wh(r, e.node(t)), r;
9138
9139
  }
9139
- function Tr(n, e) {
9140
+ function kr(n, e) {
9140
9141
  let t = e.length - 1;
9141
9142
  t >= 0 && n.isText && n.sameMarkup(e[t]) ? e[t] = n.withText(e[t].text + n.text) : e.push(n);
9142
9143
  }
9143
9144
  function Ws(n, e, t, r) {
9144
9145
  let s = (e || n).node(t), o = 0, i = e ? e.index(t) : s.childCount;
9145
- n && (o = n.index(t), n.depth > t ? o++ : n.textOffset && (Tr(n.nodeAfter, r), o++));
9146
+ n && (o = n.index(t), n.depth > t ? o++ : n.textOffset && (kr(n.nodeAfter, r), o++));
9146
9147
  for (let l = o; l < i; l++)
9147
- Tr(s.child(l), r);
9148
- e && e.depth == t && e.textOffset && Tr(e.nodeBefore, r);
9148
+ kr(s.child(l), r);
9149
+ e && e.depth == t && e.textOffset && kr(e.nodeBefore, r);
9149
9150
  }
9150
- function kr(n, e) {
9151
+ function Mr(n, e) {
9151
9152
  return n.type.checkContent(e), n.copy(e);
9152
9153
  }
9153
9154
  function xh(n, e, t, r, s) {
9154
9155
  let o = n.depth > s && Sl(n, e, s + 1), i = r.depth > s && Sl(t, r, s + 1), l = [];
9155
- return Ws(null, n, s, l), o && i && e.index(s) == t.index(s) ? (wh(o, i), Tr(kr(o, xh(n, e, t, r, s + 1)), l)) : (o && Tr(kr(o, ti(n, e, s + 1)), l), Ws(e, t, s, l), i && Tr(kr(i, ti(t, r, s + 1)), l)), Ws(r, null, s, l), new de(l);
9156
+ return Ws(null, n, s, l), o && i && e.index(s) == t.index(s) ? (wh(o, i), kr(Mr(o, xh(n, e, t, r, s + 1)), l)) : (o && kr(Mr(o, ti(n, e, s + 1)), l), Ws(e, t, s, l), i && kr(Mr(i, ti(t, r, s + 1)), l)), Ws(r, null, s, l), new de(l);
9156
9157
  }
9157
9158
  function ti(n, e, t) {
9158
9159
  let r = [];
9159
9160
  if (Ws(null, n, t, r), n.depth > t) {
9160
9161
  let s = Sl(n, e, t + 1);
9161
- Tr(kr(s, ti(n, e, t + 1)), r);
9162
+ kr(Mr(s, ti(n, e, t + 1)), r);
9162
9163
  }
9163
9164
  return Ws(e, null, t, r), new de(r);
9164
9165
  }
@@ -9456,7 +9457,7 @@ class ni {
9456
9457
  }
9457
9458
  }
9458
9459
  const a8 = /* @__PURE__ */ Object.create(null);
9459
- let Mr = class Tl {
9460
+ let Or = class Tl {
9460
9461
  /**
9461
9462
  @internal
9462
9463
  */
@@ -9817,8 +9818,8 @@ let Mr = class Tl {
9817
9818
  return e.nodeType(t.type).create(t.attrs, s, r);
9818
9819
  }
9819
9820
  };
9820
- Mr.prototype.text = void 0;
9821
- class ri extends Mr {
9821
+ Or.prototype.text = void 0;
9822
+ class ri extends Or {
9822
9823
  /**
9823
9824
  @internal
9824
9825
  */
@@ -9861,7 +9862,7 @@ function Sh(n, e) {
9861
9862
  e = n[t].type.name + "(" + e + ")";
9862
9863
  return e;
9863
9864
  }
9864
- class Lr {
9865
+ class Rr {
9865
9866
  /**
9866
9867
  @internal
9867
9868
  */
@@ -9874,7 +9875,7 @@ class Lr {
9874
9875
  static parse(e, t) {
9875
9876
  let r = new l8(e, t);
9876
9877
  if (r.next == null)
9877
- return Lr.empty;
9878
+ return Rr.empty;
9878
9879
  let s = Th(r);
9879
9880
  r.next && r.err("Unexpected trailing text");
9880
9881
  let o = m8(p8(s));
@@ -10023,7 +10024,7 @@ class Lr {
10023
10024
  `);
10024
10025
  }
10025
10026
  }
10026
- Lr.empty = new Lr(!0);
10027
+ Rr.empty = new Rr(!0);
10027
10028
  class l8 {
10028
10029
  constructor(e, t) {
10029
10030
  this.string = e, this.nodeTypes = t, 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();
@@ -10186,7 +10187,7 @@ function m8(n) {
10186
10187
  });
10187
10188
  });
10188
10189
  });
10189
- let o = e[r.join(",")] = new Lr(r.indexOf(n.length - 1) > -1);
10190
+ let o = e[r.join(",")] = new Rr(r.indexOf(n.length - 1) > -1);
10190
10191
  for (let i = 0; i < s.length; i++) {
10191
10192
  let l = s[i][1].sort(kh);
10192
10193
  o.next.push({ type: s[i][0], next: e[l.join(",")] || t(l) });
@@ -10260,7 +10261,7 @@ let Du = class _h {
10260
10261
  True for node types that allow no content.
10261
10262
  */
10262
10263
  get isLeaf() {
10263
- return this.contentMatch == Lr.empty;
10264
+ return this.contentMatch == Rr.empty;
10264
10265
  }
10265
10266
  /**
10266
10267
  True when this node is an atom, i.e. when it does not have
@@ -10308,7 +10309,7 @@ let Du = class _h {
10308
10309
  create(e = null, t, r) {
10309
10310
  if (this.isText)
10310
10311
  throw new Error("NodeType.create can't construct text nodes");
10311
- return new Mr(this, this.computeAttrs(e), de.from(t), Ze.setFrom(r));
10312
+ return new Or(this, this.computeAttrs(e), de.from(t), Ze.setFrom(r));
10312
10313
  }
10313
10314
  /**
10314
10315
  Like [`create`](https://prosemirror.net/docs/ref/#model.NodeType.create), but check the given content
@@ -10316,7 +10317,7 @@ let Du = class _h {
10316
10317
  if it doesn't match.
10317
10318
  */
10318
10319
  createChecked(e = null, t, r) {
10319
- return t = de.from(t), this.checkContent(t), new Mr(this, this.computeAttrs(e), t, Ze.setFrom(r));
10320
+ return t = de.from(t), this.checkContent(t), new Or(this, this.computeAttrs(e), t, Ze.setFrom(r));
10320
10321
  }
10321
10322
  /**
10322
10323
  Like [`create`](https://prosemirror.net/docs/ref/#model.NodeType.create), but see if it is
@@ -10334,7 +10335,7 @@ let Du = class _h {
10334
10335
  t = i.append(t);
10335
10336
  }
10336
10337
  let s = this.contentMatch.matchFragment(t), o = s && s.fillBefore(de.empty, !0);
10337
- return o ? new Mr(this, e, t.append(o), Ze.setFrom(r)) : null;
10338
+ return o ? new Or(this, e, t.append(o), Ze.setFrom(r)) : null;
10338
10339
  }
10339
10340
  /**
10340
10341
  Returns true if the given fragment is valid content for this node
@@ -10474,7 +10475,7 @@ class y8 {
10474
10475
  if (s in this.marks)
10475
10476
  throw new RangeError(s + " can not be both a node and a mark");
10476
10477
  let o = this.nodes[s], i = o.spec.content || "", l = o.spec.marks;
10477
- o.contentMatch = r[i] || (r[i] = Lr.parse(i, this.nodes)), o.inlineContent = o.contentMatch.inlineContent, o.markSet = l == "_" ? null : l ? Nu(this, l.split(" ")) : l == "" || !o.inlineContent ? [] : null;
10478
+ o.contentMatch = r[i] || (r[i] = Rr.parse(i, this.nodes)), o.inlineContent = o.contentMatch.inlineContent, o.markSet = l == "_" ? null : l ? Nu(this, l.split(" ")) : l == "" || !o.inlineContent ? [] : null;
10478
10479
  }
10479
10480
  for (let s in this.marks) {
10480
10481
  let o = this.marks[s], i = o.spec.excludes;
@@ -10517,7 +10518,7 @@ class y8 {
10517
10518
  bound.
10518
10519
  */
10519
10520
  nodeFromJSON(e) {
10520
- return Mr.fromJSON(this, e);
10521
+ return Or.fromJSON(this, e);
10521
10522
  }
10522
10523
  /**
10523
10524
  Deserialize a mark from its JSON representation. This method is
@@ -11563,7 +11564,7 @@ function gc(n, e, t) {
11563
11564
  }
11564
11565
  return de.fromArray(r);
11565
11566
  }
11566
- class qn extends Et {
11567
+ class er extends Et {
11567
11568
  /**
11568
11569
  Create a mark step.
11569
11570
  */
@@ -11579,10 +11580,10 @@ class qn extends Et {
11579
11580
  }
11580
11581
  map(e) {
11581
11582
  let t = e.mapResult(this.from, 1), r = e.mapResult(this.to, -1);
11582
- return t.deleted && r.deleted || t.pos >= r.pos ? null : new qn(t.pos, r.pos, this.mark);
11583
+ return t.deleted && r.deleted || t.pos >= r.pos ? null : new er(t.pos, r.pos, this.mark);
11583
11584
  }
11584
11585
  merge(e) {
11585
- return e instanceof qn && e.mark.eq(this.mark) && this.from <= e.to && this.to >= e.from ? new qn(Math.min(this.from, e.from), Math.max(this.to, e.to), this.mark) : null;
11586
+ return e instanceof er && e.mark.eq(this.mark) && this.from <= e.to && this.to >= e.from ? new er(Math.min(this.from, e.from), Math.max(this.to, e.to), this.mark) : null;
11586
11587
  }
11587
11588
  toJSON() {
11588
11589
  return {
@@ -11598,10 +11599,10 @@ class qn extends Et {
11598
11599
  static fromJSON(e, t) {
11599
11600
  if (typeof t.from != "number" || typeof t.to != "number")
11600
11601
  throw new RangeError("Invalid input for AddMarkStep.fromJSON");
11601
- return new qn(t.from, t.to, e.markFromJSON(t.mark));
11602
+ return new er(t.from, t.to, e.markFromJSON(t.mark));
11602
11603
  }
11603
11604
  }
11604
- Et.jsonID("addMark", qn);
11605
+ Et.jsonID("addMark", er);
11605
11606
  class xn extends Et {
11606
11607
  /**
11607
11608
  Create a mark-removing step.
@@ -11614,7 +11615,7 @@ class xn extends Et {
11614
11615
  return lt.fromReplace(e, this.from, this.to, r);
11615
11616
  }
11616
11617
  invert() {
11617
- return new qn(this.from, this.to, this.mark);
11618
+ return new er(this.from, this.to, this.mark);
11618
11619
  }
11619
11620
  map(e) {
11620
11621
  let t = e.mapResult(this.from, 1), r = e.mapResult(this.to, -1);
@@ -11641,7 +11642,7 @@ class xn extends Et {
11641
11642
  }
11642
11643
  }
11643
11644
  Et.jsonID("removeMark", xn);
11644
- class er extends Et {
11645
+ class tr extends Et {
11645
11646
  /**
11646
11647
  Create a node mark step.
11647
11648
  */
@@ -11662,15 +11663,15 @@ class er extends Et {
11662
11663
  if (r.length == t.marks.length) {
11663
11664
  for (let s = 0; s < t.marks.length; s++)
11664
11665
  if (!t.marks[s].isInSet(r))
11665
- return new er(this.pos, t.marks[s]);
11666
- return new er(this.pos, this.mark);
11666
+ return new tr(this.pos, t.marks[s]);
11667
+ return new tr(this.pos, this.mark);
11667
11668
  }
11668
11669
  }
11669
11670
  return new vs(this.pos, this.mark);
11670
11671
  }
11671
11672
  map(e) {
11672
11673
  let t = e.mapResult(this.pos, 1);
11673
- return t.deletedAfter ? null : new er(t.pos, this.mark);
11674
+ return t.deletedAfter ? null : new tr(t.pos, this.mark);
11674
11675
  }
11675
11676
  toJSON() {
11676
11677
  return { stepType: "addNodeMark", pos: this.pos, mark: this.mark.toJSON() };
@@ -11681,10 +11682,10 @@ class er extends Et {
11681
11682
  static fromJSON(e, t) {
11682
11683
  if (typeof t.pos != "number")
11683
11684
  throw new RangeError("Invalid input for AddNodeMarkStep.fromJSON");
11684
- return new er(t.pos, e.markFromJSON(t.mark));
11685
+ return new tr(t.pos, e.markFromJSON(t.mark));
11685
11686
  }
11686
11687
  }
11687
- Et.jsonID("addNodeMark", er);
11688
+ Et.jsonID("addNodeMark", tr);
11688
11689
  class vs extends Et {
11689
11690
  /**
11690
11691
  Create a mark-removing step.
@@ -11701,7 +11702,7 @@ class vs extends Et {
11701
11702
  }
11702
11703
  invert(e) {
11703
11704
  let t = e.nodeAt(this.pos);
11704
- return !t || !this.mark.isInSet(t.marks) ? this : new er(this.pos, this.mark);
11705
+ return !t || !this.mark.isInSet(t.marks) ? this : new tr(this.pos, this.mark);
11705
11706
  }
11706
11707
  map(e) {
11707
11708
  let t = e.mapResult(this.pos, 1);
@@ -11854,7 +11855,7 @@ function k8(n, e, t, r) {
11854
11855
  let f = Math.max(c, e), h = Math.min(c + a.nodeSize, t), p = r.addToSet(d);
11855
11856
  for (let m = 0; m < d.length; m++)
11856
11857
  d[m].isInSet(p) || (i && i.to == f && i.mark.eq(d[m]) ? i.to = h : s.push(i = new xn(f, h, d[m])));
11857
- l && l.to == f ? l.to = h : o.push(l = new qn(f, h, r));
11858
+ l && l.to == f ? l.to = h : o.push(l = new er(f, h, r));
11858
11859
  }
11859
11860
  }), s.forEach((a) => n.step(a)), o.forEach((a) => n.step(a));
11860
11861
  }
@@ -12022,7 +12023,7 @@ function F8(n, e, t = 1, r) {
12022
12023
  }
12023
12024
  n.step(new gt(e, e, new Ee(o.append(i), t, t), !0));
12024
12025
  }
12025
- function ur(n, e) {
12026
+ function dr(n, e) {
12026
12027
  let t = n.resolve(e), r = t.index();
12027
12028
  return $h(t.nodeBefore, t.nodeAfter) && t.parent.canReplace(r, r + 1);
12028
12029
  }
@@ -12616,7 +12617,7 @@ class jh {
12616
12617
  Add a mark to the node at position `pos`.
12617
12618
  */
12618
12619
  addNodeMark(e, t) {
12619
- return this.step(new er(e, t)), this;
12620
+ return this.step(new tr(e, t)), this;
12620
12621
  }
12621
12622
  /**
12622
12623
  Remove a mark (or a mark of the given type) from the node at
@@ -13411,7 +13412,7 @@ class ss {
13411
13412
  let s = new Ba(e.schema, e.plugins), o = new ss(s);
13412
13413
  return s.fields.forEach((i) => {
13413
13414
  if (i.name == "doc")
13414
- o.doc = Mr.fromJSON(e.schema, t.doc);
13415
+ o.doc = Or.fromJSON(e.schema, t.doc);
13415
13416
  else if (i.name == "selection")
13416
13417
  o.selection = Qe.fromJSON(o.doc, t.selection);
13417
13418
  else if (i.name == "storedMarks")
@@ -13485,10 +13486,10 @@ const Tt = function(n) {
13485
13486
  return e && e.nodeType == 11 ? e.host : e;
13486
13487
  };
13487
13488
  let Yu = null;
13488
- const Dn = function(n, e, t) {
13489
+ const Nn = function(n, e, t) {
13489
13490
  let r = Yu || (Yu = document.createRange());
13490
13491
  return r.setEnd(n, t ?? n.nodeValue.length), r.setStart(n, e || 0), r;
13491
- }, Rr = function(n, e, t, r) {
13492
+ }, Dr = function(n, e, t, r) {
13492
13493
  return t && (Ju(n, e, t, r, -1) || Ju(n, e, t, r, 1));
13493
13494
  }, X8 = /^(img|br|input|textarea|hr)$/i;
13494
13495
  function Ju(n, e, t, r, s) {
@@ -13528,9 +13529,9 @@ function bc(n) {
13528
13529
  return e && e.node && e.node.isBlock && (e.dom == n || e.contentDOM == n);
13529
13530
  }
13530
13531
  const ia = function(n) {
13531
- return n.focusNode && Rr(n.focusNode, n.focusOffset, n.anchorNode, n.anchorOffset);
13532
+ return n.focusNode && Dr(n.focusNode, n.focusOffset, n.anchorNode, n.anchorOffset);
13532
13533
  };
13533
- function Cr(n, e) {
13534
+ function br(n, e) {
13534
13535
  let t = document.createEvent("Event");
13535
13536
  return t.initEvent("keydown", !0, !0), t.keyCode = n, t.key = t.code = e, t;
13536
13537
  }
@@ -13554,9 +13555,9 @@ function ty(n, e, t) {
13554
13555
  return { node: r.startContainer, offset: r.startOffset };
13555
13556
  }
13556
13557
  }
13557
- const Tn = typeof navigator < "u" ? navigator : null, Gu = typeof document < "u" ? document : null, dr = Tn && Tn.userAgent || "", Ol = /Edge\/(\d+)/.exec(dr), Qh = /MSIE \d/.exec(dr), Il = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(dr), Bt = !!(Qh || Il || Ol), nr = Qh ? document.documentMode : Il ? +Il[1] : Ol ? +Ol[1] : 0, fn = !Bt && /gecko\/(\d+)/i.test(dr);
13558
- fn && +(/Firefox\/(\d+)/.exec(dr) || [0, 0])[1];
13559
- const _l = !Bt && /Chrome\/(\d+)/.exec(dr), bt = !!_l, ny = _l ? +_l[1] : 0, Ot = !Bt && !!Tn && /Apple Computer/.test(Tn.vendor), Cs = Ot && (/Mobile\/\w+/.test(dr) || !!Tn && Tn.maxTouchPoints > 2), en = Cs || (Tn ? /Mac/.test(Tn.platform) : !1), ry = Tn ? /Win/.test(Tn.platform) : !1, ln = /Android \d/.test(dr), yo = !!Gu && "webkitFontSmoothing" in Gu.documentElement.style, sy = yo ? +(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent) || [0, 0])[1] : 0;
13558
+ const kn = typeof navigator < "u" ? navigator : null, Gu = typeof document < "u" ? document : null, fr = kn && kn.userAgent || "", Ol = /Edge\/(\d+)/.exec(fr), Qh = /MSIE \d/.exec(fr), Il = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(fr), Bt = !!(Qh || Il || Ol), rr = Qh ? document.documentMode : Il ? +Il[1] : Ol ? +Ol[1] : 0, fn = !Bt && /gecko\/(\d+)/i.test(fr);
13559
+ fn && +(/Firefox\/(\d+)/.exec(fr) || [0, 0])[1];
13560
+ const _l = !Bt && /Chrome\/(\d+)/.exec(fr), bt = !!_l, ny = _l ? +_l[1] : 0, Ot = !Bt && !!kn && /Apple Computer/.test(kn.vendor), Cs = Ot && (/Mobile\/\w+/.test(fr) || !!kn && kn.maxTouchPoints > 2), en = Cs || (kn ? /Mac/.test(kn.platform) : !1), ry = kn ? /Win/.test(kn.platform) : !1, ln = /Android \d/.test(fr), yo = !!Gu && "webkitFontSmoothing" in Gu.documentElement.style, sy = yo ? +(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent) || [0, 0])[1] : 0;
13560
13561
  function oy(n) {
13561
13562
  return {
13562
13563
  left: 0,
@@ -13565,7 +13566,7 @@ function oy(n) {
13565
13566
  bottom: n.documentElement.clientHeight
13566
13567
  };
13567
13568
  }
13568
- function Ln(n, e) {
13569
+ function Rn(n, e) {
13569
13570
  return typeof n == "number" ? n : n[e];
13570
13571
  }
13571
13572
  function iy(n) {
@@ -13583,7 +13584,7 @@ function Zu(n, e, t) {
13583
13584
  if (i.nodeType != 1)
13584
13585
  continue;
13585
13586
  let l = i, a = l == o.body, c = a ? oy(o) : iy(l), u = 0, d = 0;
13586
- if (e.top < c.top + Ln(r, "top") ? d = -(c.top - e.top + Ln(s, "top")) : e.bottom > c.bottom - Ln(r, "bottom") && (d = e.bottom - e.top > c.bottom - c.top ? e.top + Ln(s, "top") - c.top : e.bottom - c.bottom + Ln(s, "bottom")), e.left < c.left + Ln(r, "left") ? u = -(c.left - e.left + Ln(s, "left")) : e.right > c.right - Ln(r, "right") && (u = e.right - c.right + Ln(s, "right")), u || d)
13587
+ if (e.top < c.top + Rn(r, "top") ? d = -(c.top - e.top + Rn(s, "top")) : e.bottom > c.bottom - Rn(r, "bottom") && (d = e.bottom - e.top > c.bottom - c.top ? e.top + Rn(s, "top") - c.top : e.bottom - c.bottom + Rn(s, "bottom")), e.left < c.left + Rn(r, "left") ? u = -(c.left - e.left + Rn(s, "left")) : e.right > c.right - Rn(r, "right") && (u = e.right - c.right + Rn(s, "right")), u || d)
13587
13588
  if (a)
13588
13589
  o.defaultView.scrollBy(u, d);
13589
13590
  else {
@@ -13646,7 +13647,7 @@ function Gh(n, e) {
13646
13647
  if (u.nodeType == 1)
13647
13648
  f = u.getClientRects();
13648
13649
  else if (u.nodeType == 3)
13649
- f = Dn(u).getClientRects();
13650
+ f = Nn(u).getClientRects();
13650
13651
  else
13651
13652
  continue;
13652
13653
  for (let h = 0; h < f.length; h++) {
@@ -13672,7 +13673,7 @@ function uy(n, e) {
13672
13673
  let t = n.nodeValue.length, r = document.createRange();
13673
13674
  for (let s = 0; s < t; s++) {
13674
13675
  r.setEnd(n, s + 1), r.setStart(n, s);
13675
- let o = Yn(r, 1);
13676
+ let o = Jn(r, 1);
13676
13677
  if (o.top != o.bottom && Ac(e, o))
13677
13678
  return { node: n, offset: s + (e.left >= (o.left + o.right) / 2 ? 1 : 0) };
13678
13679
  }
@@ -13753,7 +13754,7 @@ function py(n, e) {
13753
13754
  function Xu(n) {
13754
13755
  return n.top < n.bottom || n.left < n.right;
13755
13756
  }
13756
- function Yn(n, e) {
13757
+ function Jn(n, e) {
13757
13758
  let t = n.getClientRects();
13758
13759
  if (t.length) {
13759
13760
  let r = t[e < 0 ? 0 : t.length - 1];
@@ -13767,11 +13768,11 @@ function Xh(n, e, t) {
13767
13768
  let { node: r, offset: s, atom: o } = n.docView.domFromPos(e, t < 0 ? -1 : 1), i = yo || fn;
13768
13769
  if (r.nodeType == 3)
13769
13770
  if (i && (my.test(r.nodeValue) || (t < 0 ? !s : s == r.nodeValue.length))) {
13770
- let a = Yn(Dn(r, s, s), t);
13771
+ let a = Jn(Nn(r, s, s), t);
13771
13772
  if (fn && s && /\s/.test(r.nodeValue[s - 1]) && s < r.nodeValue.length) {
13772
- let c = Yn(Dn(r, s - 1, s - 1), -1);
13773
+ let c = Jn(Nn(r, s - 1, s - 1), -1);
13773
13774
  if (c.top == a.top) {
13774
- let u = Yn(Dn(r, s, s + 1), -1);
13775
+ let u = Jn(Nn(r, s, s + 1), -1);
13775
13776
  if (u.top != a.top)
13776
13777
  return Bs(u, u.left < c.left);
13777
13778
  }
@@ -13779,7 +13780,7 @@ function Xh(n, e, t) {
13779
13780
  return a;
13780
13781
  } else {
13781
13782
  let a = s, c = s, u = t < 0 ? 1 : -1;
13782
- return t < 0 && !s ? (c++, u = -1) : t >= 0 && s == r.nodeValue.length ? (a--, u = 1) : t < 0 ? a-- : c++, Bs(Yn(Dn(r, a, c), u), u < 0);
13783
+ return t < 0 && !s ? (c++, u = -1) : t >= 0 && s == r.nodeValue.length ? (a--, u = 1) : t < 0 ? a-- : c++, Bs(Jn(Nn(r, a, c), u), u < 0);
13783
13784
  }
13784
13785
  if (!n.state.doc.resolve(e - (o || 0)).parent.inlineContent) {
13785
13786
  if (o == null && s && (t < 0 || s == En(r))) {
@@ -13795,19 +13796,19 @@ function Xh(n, e, t) {
13795
13796
  return $a(r.getBoundingClientRect(), t >= 0);
13796
13797
  }
13797
13798
  if (o == null && s && (t < 0 || s == En(r))) {
13798
- let a = r.childNodes[s - 1], c = a.nodeType == 3 ? Dn(a, En(a) - (i ? 0 : 1)) : a.nodeType == 1 && (a.nodeName != "BR" || !a.nextSibling) ? a : null;
13799
+ let a = r.childNodes[s - 1], c = a.nodeType == 3 ? Nn(a, En(a) - (i ? 0 : 1)) : a.nodeType == 1 && (a.nodeName != "BR" || !a.nextSibling) ? a : null;
13799
13800
  if (c)
13800
- return Bs(Yn(c, 1), !1);
13801
+ return Bs(Jn(c, 1), !1);
13801
13802
  }
13802
13803
  if (o == null && s < En(r)) {
13803
13804
  let a = r.childNodes[s];
13804
13805
  for (; a.pmViewDesc && a.pmViewDesc.ignoreForCoords; )
13805
13806
  a = a.nextSibling;
13806
- let c = a ? a.nodeType == 3 ? Dn(a, 0, i ? 0 : 1) : a.nodeType == 1 ? a : null : null;
13807
+ let c = a ? a.nodeType == 3 ? Nn(a, 0, i ? 0 : 1) : a.nodeType == 1 ? a : null : null;
13807
13808
  if (c)
13808
- return Bs(Yn(c, -1), !0);
13809
+ return Bs(Jn(c, -1), !0);
13809
13810
  }
13810
- return Bs(Yn(r.nodeType == 3 ? Dn(r) : r, -t), t >= 0);
13811
+ return Bs(Jn(r.nodeType == 3 ? Nn(r) : r, -t), t >= 0);
13811
13812
  }
13812
13813
  function Bs(n, e) {
13813
13814
  if (n.width == 0)
@@ -13850,7 +13851,7 @@ function gy(n, e, t) {
13850
13851
  if (l.nodeType == 1)
13851
13852
  a = l.getClientRects();
13852
13853
  else if (l.nodeType == 3)
13853
- a = Dn(l, 0, l.nodeValue.length).getClientRects();
13854
+ a = Nn(l, 0, l.nodeValue.length).getClientRects();
13854
13855
  else
13855
13856
  continue;
13856
13857
  for (let c = 0; c < a.length; c++) {
@@ -13883,7 +13884,7 @@ let qu = null, ed = null, td = !1;
13883
13884
  function Cy(n, e, t) {
13884
13885
  return qu == e && ed == t ? td : (qu = e, ed = t, td = t == "up" || t == "down" ? gy(n, e, t) : yy(n, e, t));
13885
13886
  }
13886
- const nn = 0, nd = 1, Ar = 2, kn = 3;
13887
+ const nn = 0, nd = 1, Er = 2, Mn = 3;
13887
13888
  class Co {
13888
13889
  constructor(e, t, r, s) {
13889
13890
  this.parent = e, this.children = t, this.dom = r, this.contentDOM = s, this.dirty = nn, r.pmViewDesc = this;
@@ -14160,7 +14161,7 @@ class Co {
14160
14161
  let f = c.focusNode.childNodes[c.focusOffset];
14161
14162
  f && f.contentEditable == "false" && (s = !0);
14162
14163
  }
14163
- if (!(s || u && Ot) && Rr(l.node, l.offset, c.anchorNode, c.anchorOffset) && Rr(a.node, a.offset, c.focusNode, c.focusOffset))
14164
+ if (!(s || u && Ot) && Dr(l.node, l.offset, c.anchorNode, c.anchorOffset) && Dr(a.node, a.offset, c.focusNode, c.focusOffset))
14164
14165
  return;
14165
14166
  let d = !1;
14166
14167
  if ((c.extend || e == t) && !u) {
@@ -14193,19 +14194,19 @@ class Co {
14193
14194
  if (r == i ? e <= i && t >= r : e < i && t > r) {
14194
14195
  let l = r + o.border, a = i - o.border;
14195
14196
  if (e >= l && t <= a) {
14196
- this.dirty = e == r || t == i ? Ar : nd, e == l && t == a && (o.contentLost || o.dom.parentNode != this.contentDOM) ? o.dirty = kn : o.markDirty(e - l, t - l);
14197
+ this.dirty = e == r || t == i ? Er : nd, e == l && t == a && (o.contentLost || o.dom.parentNode != this.contentDOM) ? o.dirty = Mn : o.markDirty(e - l, t - l);
14197
14198
  return;
14198
14199
  } else
14199
- o.dirty = o.dom == o.contentDOM && o.dom.parentNode == this.contentDOM && !o.children.length ? Ar : kn;
14200
+ o.dirty = o.dom == o.contentDOM && o.dom.parentNode == this.contentDOM && !o.children.length ? Er : Mn;
14200
14201
  }
14201
14202
  r = i;
14202
14203
  }
14203
- this.dirty = Ar;
14204
+ this.dirty = Er;
14204
14205
  }
14205
14206
  markParentsDirty() {
14206
14207
  let e = 1;
14207
14208
  for (let t = this.parent; t; t = t.parent, e++) {
14208
- let r = e == 1 ? Ar : nd;
14209
+ let r = e == 1 ? Er : nd;
14209
14210
  t.dirty < r && (t.dirty = r);
14210
14211
  }
14211
14212
  }
@@ -14273,19 +14274,19 @@ class by extends Co {
14273
14274
  return e.type === "characterData" && e.target.nodeValue == e.oldValue;
14274
14275
  }
14275
14276
  }
14276
- class Dr extends Co {
14277
+ class Nr extends Co {
14277
14278
  constructor(e, t, r, s) {
14278
14279
  super(e, [], r, s), this.mark = t;
14279
14280
  }
14280
14281
  static create(e, t, r, s) {
14281
14282
  let o = s.nodeViews[t.type.name], i = o && o(t, s, r);
14282
- return (!i || !i.dom) && (i = wn.renderSpec(document, t.type.spec.toDOM(t, r))), new Dr(e, t, i.dom, i.contentDOM || i.dom);
14283
+ return (!i || !i.dom) && (i = wn.renderSpec(document, t.type.spec.toDOM(t, r))), new Nr(e, t, i.dom, i.contentDOM || i.dom);
14283
14284
  }
14284
14285
  parseRule() {
14285
- return this.dirty & kn || this.mark.type.spec.reparseInView ? null : { mark: this.mark.type.name, attrs: this.mark.attrs, contentElement: this.contentDOM };
14286
+ return this.dirty & Mn || this.mark.type.spec.reparseInView ? null : { mark: this.mark.type.name, attrs: this.mark.attrs, contentElement: this.contentDOM };
14286
14287
  }
14287
14288
  matchesMark(e) {
14288
- return this.dirty != kn && this.mark.eq(e);
14289
+ return this.dirty != Mn && this.mark.eq(e);
14289
14290
  }
14290
14291
  markDirty(e, t) {
14291
14292
  if (super.markDirty(e, t), this.dirty != nn) {
@@ -14296,14 +14297,14 @@ class Dr extends Co {
14296
14297
  }
14297
14298
  }
14298
14299
  slice(e, t, r) {
14299
- let s = Dr.create(this.parent, this.mark, !0, r), o = this.children, i = this.size;
14300
+ let s = Nr.create(this.parent, this.mark, !0, r), o = this.children, i = this.size;
14300
14301
  t < i && (o = Dl(o, t, i, r)), e > 0 && (o = Dl(o, 0, e, r));
14301
14302
  for (let l = 0; l < o.length; l++)
14302
14303
  o[l].parent = s;
14303
14304
  return s.children = o, s;
14304
14305
  }
14305
14306
  }
14306
- class rr extends Co {
14307
+ class sr extends Co {
14307
14308
  constructor(e, t, r, s, o, i, l, a, c) {
14308
14309
  super(e, [], o, i), this.node = t, this.outerDeco = r, this.innerDeco = s, this.nodeDOM = l;
14309
14310
  }
@@ -14332,7 +14333,7 @@ class rr extends Co {
14332
14333
  u || ({ dom: u, contentDOM: d } = wn.renderSpec(document, t.type.spec.toDOM(t)));
14333
14334
  !d && !t.isText && u.nodeName != "BR" && (u.hasAttribute("contenteditable") || (u.contentEditable = "false"), t.type.spec.draggable && (u.draggable = !0));
14334
14335
  let f = u;
14335
- return u = s1(u, r, t), c ? a = new Ay(e, t, r, s, u, d || null, f, c, o, i + 1) : t.isText ? new aa(e, t, r, s, u, f, o) : new rr(e, t, r, s, u, d || null, f, o, i + 1);
14336
+ return u = s1(u, r, t), c ? a = new Ay(e, t, r, s, u, d || null, f, c, o, i + 1) : t.isText ? new aa(e, t, r, s, u, f, o) : new sr(e, t, r, s, u, d || null, f, o, i + 1);
14336
14337
  }
14337
14338
  parseRule() {
14338
14339
  if (this.node.type.spec.reparseInView)
@@ -14375,7 +14376,7 @@ class rr extends Co {
14375
14376
  a.syncToMarks(c.marks, r, e);
14376
14377
  let h;
14377
14378
  a.findNodeMatch(c, u, d, f) || l && e.state.selection.from > s && e.state.selection.to < s + c.nodeSize && (h = a.findIndexWithChild(o.node)) > -1 && a.updateNodeAt(c, u, d, h, e) || a.updateNextNode(c, u, d, e, f, s) || a.addNode(c, u, d, e, s), s += c.nodeSize;
14378
- }), a.syncToMarks([], r, e), this.node.isTextblock && a.addTextblockHacks(), a.destroyRest(), (a.changed || this.dirty == Ar) && (i && this.protectLocalComposition(e, i), n1(this.contentDOM, this.children, e), Cs && ky(this.dom));
14379
+ }), a.syncToMarks([], r, e), this.node.isTextblock && a.addTextblockHacks(), a.destroyRest(), (a.changed || this.dirty == Er) && (i && this.protectLocalComposition(e, i), n1(this.contentDOM, this.children, e), Cs && ky(this.dom));
14379
14380
  }
14380
14381
  localCompositionInfo(e, t) {
14381
14382
  let { from: r, to: s } = e.state.selection;
@@ -14407,7 +14408,7 @@ class rr extends Co {
14407
14408
  // If this desc must be updated to match the given node decoration,
14408
14409
  // do so and return true.
14409
14410
  update(e, t, r, s) {
14410
- return this.dirty == kn || !e.sameMarkup(this.node) ? !1 : (this.updateInner(e, t, r, s), !0);
14411
+ return this.dirty == Mn || !e.sameMarkup(this.node) ? !1 : (this.updateInner(e, t, r, s), !0);
14411
14412
  }
14412
14413
  updateInner(e, t, r, s) {
14413
14414
  this.updateOuterDeco(t), this.node = e, this.innerDeco = r, this.contentDOM && this.updateChildren(s, this.posAtStart), this.dirty = nn;
@@ -14432,10 +14433,10 @@ class rr extends Co {
14432
14433
  }
14433
14434
  function rd(n, e, t, r, s) {
14434
14435
  s1(r, e, n);
14435
- let o = new rr(void 0, n, e, t, r, r, r, s, 0);
14436
+ let o = new sr(void 0, n, e, t, r, r, r, s, 0);
14436
14437
  return o.contentDOM && o.updateChildren(s, 0), o;
14437
14438
  }
14438
- class aa extends rr {
14439
+ class aa extends sr {
14439
14440
  constructor(e, t, r, s, o, i, l) {
14440
14441
  super(e, t, r, s, o, null, i, l, 0);
14441
14442
  }
@@ -14446,7 +14447,7 @@ class aa extends rr {
14446
14447
  return { skip: e || !0 };
14447
14448
  }
14448
14449
  update(e, t, r, s) {
14449
- return this.dirty == kn || this.dirty != nn && !this.inParent() || !e.sameMarkup(this.node) ? !1 : (this.updateOuterDeco(t), (this.dirty != nn || e.text != this.node.text) && e.text != this.nodeDOM.nodeValue && (this.nodeDOM.nodeValue = e.text, s.trackWrites == this.nodeDOM && (s.trackWrites = null)), this.node = e, this.dirty = nn, !0);
14450
+ return this.dirty == Mn || this.dirty != nn && !this.inParent() || !e.sameMarkup(this.node) ? !1 : (this.updateOuterDeco(t), (this.dirty != nn || e.text != this.node.text) && e.text != this.nodeDOM.nodeValue && (this.nodeDOM.nodeValue = e.text, s.trackWrites == this.nodeDOM && (s.trackWrites = null)), this.node = e, this.dirty = nn, !0);
14450
14451
  }
14451
14452
  inParent() {
14452
14453
  let e = this.parent.contentDOM;
@@ -14469,7 +14470,7 @@ class aa extends rr {
14469
14470
  return new aa(this.parent, s, this.outerDeco, this.innerDeco, o, o, r);
14470
14471
  }
14471
14472
  markDirty(e, t) {
14472
- super.markDirty(e, t), this.dom != this.nodeDOM && (e == 0 || t == this.nodeDOM.nodeValue.length) && (this.dirty = kn);
14473
+ super.markDirty(e, t), this.dom != this.nodeDOM && (e == 0 || t == this.nodeDOM.nodeValue.length) && (this.dirty = Mn);
14473
14474
  }
14474
14475
  get domAtom() {
14475
14476
  return !1;
@@ -14489,7 +14490,7 @@ class t1 extends Co {
14489
14490
  return this.dom.nodeName == "IMG";
14490
14491
  }
14491
14492
  }
14492
- class Ay extends rr {
14493
+ class Ay extends sr {
14493
14494
  constructor(e, t, r, s, o, i, l, a, c, u) {
14494
14495
  super(e, t, r, s, o, i, l, c, u), this.spec = a;
14495
14496
  }
@@ -14497,7 +14498,7 @@ class Ay extends rr {
14497
14498
  // through. If it does, and there's a `contentDOM` node, our logic
14498
14499
  // updates the children.
14499
14500
  update(e, t, r, s) {
14500
- if (this.dirty == kn)
14501
+ if (this.dirty == Mn)
14501
14502
  return !1;
14502
14503
  if (this.spec.update) {
14503
14504
  let o = this.spec.update(e, t, r);
@@ -14534,7 +14535,7 @@ function n1(n, e, t) {
14534
14535
  r = r.nextSibling;
14535
14536
  } else
14536
14537
  s = !0, n.insertBefore(l, r);
14537
- if (i instanceof Dr) {
14538
+ if (i instanceof Nr) {
14538
14539
  let a = r ? r.previousSibling : n.lastChild;
14539
14540
  n1(i.contentDOM, i.children, t), r = a ? a.nextSibling : n.firstChild;
14540
14541
  }
@@ -14547,11 +14548,11 @@ const Ys = function(n) {
14547
14548
  n && (this.nodeName = n);
14548
14549
  };
14549
14550
  Ys.prototype = /* @__PURE__ */ Object.create(null);
14550
- const Er = [new Ys()];
14551
+ const wr = [new Ys()];
14551
14552
  function Ll(n, e, t) {
14552
14553
  if (n.length == 0)
14553
- return Er;
14554
- let r = t ? Er[0] : new Ys(), s = [r];
14554
+ return wr;
14555
+ let r = t ? wr[0] : new Ys(), s = [r];
14555
14556
  for (let o = 0; o < n.length; o++) {
14556
14557
  let i = n[o].type.attrs;
14557
14558
  if (i) {
@@ -14565,16 +14566,16 @@ function Ll(n, e, t) {
14565
14566
  return s;
14566
14567
  }
14567
14568
  function r1(n, e, t, r) {
14568
- if (t == Er && r == Er)
14569
+ if (t == wr && r == wr)
14569
14570
  return e;
14570
14571
  let s = e;
14571
14572
  for (let o = 0; o < r.length; o++) {
14572
14573
  let i = r[o], l = t[o];
14573
14574
  if (o) {
14574
14575
  let a;
14575
- l && l.nodeName == i.nodeName && s != n && (a = s.parentNode) && a.nodeName.toLowerCase() == i.nodeName || (a = document.createElement(i.nodeName), a.pmIsDeco = !0, a.appendChild(s), l = Er[0]), s = a;
14576
+ l && l.nodeName == i.nodeName && s != n && (a = s.parentNode) && a.nodeName.toLowerCase() == i.nodeName || (a = document.createElement(i.nodeName), a.pmIsDeco = !0, a.appendChild(s), l = wr[0]), s = a;
14576
14577
  }
14577
- Ey(s, l || Er[0], i);
14578
+ Ey(s, l || wr[0], i);
14578
14579
  }
14579
14580
  return s;
14580
14581
  }
@@ -14601,7 +14602,7 @@ function Ey(n, e, t) {
14601
14602
  }
14602
14603
  }
14603
14604
  function s1(n, e, t) {
14604
- return r1(n, n, Er, Ll(e, t, n.nodeType != 1));
14605
+ return r1(n, n, wr, Ll(e, t, n.nodeType != 1));
14605
14606
  }
14606
14607
  function Rl(n, e) {
14607
14608
  if (n.length != e.length)
@@ -14653,7 +14654,7 @@ class wy {
14653
14654
  if (l > -1)
14654
14655
  l > this.index && (this.changed = !0, this.destroyBetween(this.index, l)), this.top = this.top.children[this.index];
14655
14656
  else {
14656
- let a = Dr.create(this.top, e[o], t, r);
14657
+ let a = Nr.create(this.top, e[o], t, r);
14657
14658
  this.top.children.splice(this.index, 0, a), this.top = a, this.changed = !0;
14658
14659
  }
14659
14660
  this.index = 0, o++;
@@ -14677,7 +14678,7 @@ class wy {
14677
14678
  }
14678
14679
  updateNodeAt(e, t, r, s, o) {
14679
14680
  let i = this.top.children[s];
14680
- return i.dirty == kn && i.dom == i.contentDOM && (i.dirty = Ar), i.update(e, t, r, o) ? (this.destroyBetween(this.index, s), this.index++, !0) : !1;
14681
+ return i.dirty == Mn && i.dom == i.contentDOM && (i.dirty = Er), i.update(e, t, r, o) ? (this.destroyBetween(this.index, s), this.index++, !0) : !1;
14681
14682
  }
14682
14683
  findIndexWithChild(e) {
14683
14684
  for (; ; ) {
@@ -14701,15 +14702,15 @@ class wy {
14701
14702
  updateNextNode(e, t, r, s, o, i) {
14702
14703
  for (let l = this.index; l < this.top.children.length; l++) {
14703
14704
  let a = this.top.children[l];
14704
- if (a instanceof rr) {
14705
+ if (a instanceof sr) {
14705
14706
  let c = this.preMatch.matched.get(a);
14706
14707
  if (c != null && c != o)
14707
14708
  return !1;
14708
- let u = a.dom, d, f = this.isLocked(u) && !(e.isText && a.node && a.node.isText && a.nodeDOM.nodeValue == e.text && a.dirty != kn && Rl(t, a.outerDeco));
14709
+ let u = a.dom, d, f = this.isLocked(u) && !(e.isText && a.node && a.node.isText && a.nodeDOM.nodeValue == e.text && a.dirty != Mn && Rl(t, a.outerDeco));
14709
14710
  if (!f && a.update(e, t, r, s))
14710
14711
  return this.destroyBetween(this.index, l), a.dom != u && (this.changed = !0), this.index++, !0;
14711
14712
  if (!f && (d = this.recreateWrapper(a, e, t, r, s, i)))
14712
- return this.top.children[this.index] = d, d.contentDOM && (d.dirty = Ar, d.updateChildren(s, i + 1), d.dirty = nn), this.changed = !0, this.index++, !0;
14713
+ return this.top.children[this.index] = d, d.contentDOM && (d.dirty = Er, d.updateChildren(s, i + 1), d.dirty = nn), this.changed = !0, this.index++, !0;
14713
14714
  break;
14714
14715
  }
14715
14716
  }
@@ -14720,7 +14721,7 @@ class wy {
14720
14721
  recreateWrapper(e, t, r, s, o, i) {
14721
14722
  if (e.dirty || t.isAtom || !e.children.length || !e.node.content.eq(t.content))
14722
14723
  return null;
14723
- let l = rr.create(this.top, t, r, s, o, i);
14724
+ let l = sr.create(this.top, t, r, s, o, i);
14724
14725
  if (l.contentDOM) {
14725
14726
  l.children = e.children, e.children = [];
14726
14727
  for (let a of l.children)
@@ -14730,7 +14731,7 @@ class wy {
14730
14731
  }
14731
14732
  // Insert the node as a newly created node desc.
14732
14733
  addNode(e, t, r, s, o) {
14733
- let i = rr.create(this.top, e, t, r, s, o);
14734
+ let i = sr.create(this.top, e, t, r, s, o);
14734
14735
  i.contentDOM && i.updateChildren(s, o + 1), this.top.children.splice(this.index++, 0, i), this.changed = !0;
14735
14736
  }
14736
14737
  placeWidget(e, t, r) {
@@ -14746,7 +14747,7 @@ class wy {
14746
14747
  // contentEditable.
14747
14748
  addTextblockHacks() {
14748
14749
  let e = this.top.children[this.index - 1], t = this.top;
14749
- for (; e instanceof Dr; )
14750
+ for (; e instanceof Nr; )
14750
14751
  t = e, e = t.children[t.children.length - 1];
14751
14752
  (!e || // Empty textblock
14752
14753
  !(e instanceof aa) || /\n$/.test(e.node.text) || this.view.requiresGeckoHackNode && /\s$/.test(e.node.text)) && ((Ot || bt) && e && e.dom.contentEditable == "false" && this.addHackNode("IMG", t), this.addHackNode("BR", this.top));
@@ -14773,7 +14774,7 @@ function xy(n, e) {
14773
14774
  for (; ; )
14774
14775
  if (r) {
14775
14776
  let c = t.children[r - 1];
14776
- if (c instanceof Dr)
14777
+ if (c instanceof Nr)
14777
14778
  t = c, r = c.children.length;
14778
14779
  else {
14779
14780
  l = c, r--;
@@ -14925,12 +14926,12 @@ function Ec(n, e = null) {
14925
14926
  function o1(n) {
14926
14927
  return n.editable ? n.hasFocus() : a1(n) && document.activeElement && document.activeElement.contains(n.dom);
14927
14928
  }
14928
- function Bn(n, e = !1) {
14929
+ function Fn(n, e = !1) {
14929
14930
  let t = n.state.selection;
14930
14931
  if (i1(n, t), !!o1(n)) {
14931
14932
  if (!e && n.input.mouseDown && n.input.mouseDown.allowDefault && bt) {
14932
14933
  let r = n.domSelectionRange(), s = n.domObserver.currentSelection;
14933
- if (r.anchorNode && s.anchorNode && Rr(r.anchorNode, r.anchorOffset, s.anchorNode, s.anchorOffset)) {
14934
+ if (r.anchorNode && s.anchorNode && Dr(r.anchorNode, r.anchorOffset, s.anchorNode, s.anchorOffset)) {
14934
14935
  n.input.mouseDown.delayedSelectionSync = !0, n.domObserver.setCurSelection();
14935
14936
  return;
14936
14937
  }
@@ -14974,7 +14975,7 @@ function Iy(n) {
14974
14975
  }
14975
14976
  function _y(n) {
14976
14977
  let e = n.domSelection(), t = document.createRange(), r = n.cursorWrapper.dom, s = r.nodeName == "IMG";
14977
- s ? t.setEnd(r.parentNode, Tt(r) + 1) : t.setEnd(r, 0), t.collapse(!1), e.removeAllRanges(), e.addRange(t), !s && !n.state.selection.visible && Bt && nr <= 11 && (r.disabled = !0, r.disabled = !1);
14978
+ s ? t.setEnd(r.parentNode, Tt(r) + 1) : t.setEnd(r, 0), t.collapse(!1), e.removeAllRanges(), e.addRange(t), !s && !n.state.selection.visible && Bt && rr <= 11 && (r.disabled = !0, r.disabled = !1);
14978
14979
  }
14979
14980
  function i1(n, e) {
14980
14981
  if (e instanceof De) {
@@ -15004,13 +15005,13 @@ function a1(n) {
15004
15005
  }
15005
15006
  function Ly(n) {
15006
15007
  let e = n.docView.domFromPos(n.state.selection.anchor, 0), t = n.domSelectionRange();
15007
- return Rr(e.node, e.offset, t.anchorNode, t.anchorOffset);
15008
+ return Dr(e.node, e.offset, t.anchorNode, t.anchorOffset);
15008
15009
  }
15009
15010
  function Nl(n, e) {
15010
15011
  let { $anchor: t, $head: r } = n.selection, s = e > 0 ? t.max(r) : t.min(r), o = s.parent.inlineContent ? s.depth ? n.doc.resolve(e > 0 ? s.after() : s.before()) : null : s;
15011
15012
  return o && Qe.findFrom(o, e);
15012
15013
  }
15013
- function Jn(n, e) {
15014
+ function Gn(n, e) {
15014
15015
  return n.dispatch(n.state.tr.setSelection(e).scrollIntoView()), !0;
15015
15016
  }
15016
15017
  function ud(n, e, t) {
@@ -15021,26 +15022,26 @@ function ud(n, e, t) {
15021
15022
  if (!o || o.isText || !o.isLeaf)
15022
15023
  return !1;
15023
15024
  let i = n.state.doc.resolve(s.pos + o.nodeSize * (e < 0 ? -1 : 1));
15024
- return Jn(n, new Ye(r.$anchor, i));
15025
+ return Gn(n, new Ye(r.$anchor, i));
15025
15026
  } else if (r.empty) {
15026
15027
  if (n.endOfTextblock(e > 0 ? "forward" : "backward")) {
15027
15028
  let s = Nl(n.state, e);
15028
- return s && s instanceof De ? Jn(n, s) : !1;
15029
+ return s && s instanceof De ? Gn(n, s) : !1;
15029
15030
  } else if (!(en && t.indexOf("m") > -1)) {
15030
15031
  let s = r.$head, o = s.textOffset ? null : e < 0 ? s.nodeBefore : s.nodeAfter, i;
15031
15032
  if (!o || o.isText)
15032
15033
  return !1;
15033
15034
  let l = e < 0 ? s.pos - o.nodeSize : s.pos;
15034
- return o.isAtom || (i = n.docView.descAt(l)) && !i.contentDOM ? De.isSelectable(o) ? Jn(n, new De(e < 0 ? n.state.doc.resolve(s.pos - o.nodeSize) : s)) : yo ? Jn(n, new Ye(n.state.doc.resolve(e < 0 ? l : l + o.nodeSize))) : !1 : !1;
15035
+ return o.isAtom || (i = n.docView.descAt(l)) && !i.contentDOM ? De.isSelectable(o) ? Gn(n, new De(e < 0 ? n.state.doc.resolve(s.pos - o.nodeSize) : s)) : yo ? Gn(n, new Ye(n.state.doc.resolve(e < 0 ? l : l + o.nodeSize))) : !1 : !1;
15035
15036
  }
15036
15037
  } else
15037
15038
  return !1;
15038
15039
  else {
15039
15040
  if (r instanceof De && r.node.isInline)
15040
- return Jn(n, new Ye(e > 0 ? r.$to : r.$from));
15041
+ return Gn(n, new Ye(e > 0 ? r.$to : r.$from));
15041
15042
  {
15042
15043
  let s = Nl(n.state, e);
15043
- return s ? Jn(n, s) : !1;
15044
+ return s ? Gn(n, s) : !1;
15044
15045
  }
15045
15046
  }
15046
15047
  }
@@ -15164,7 +15165,7 @@ function Pl(n, e, t) {
15164
15165
  n.domObserver.setCurSelection();
15165
15166
  let { state: s } = n;
15166
15167
  setTimeout(() => {
15167
- n.state == s && Bn(n);
15168
+ n.state == s && Fn(n);
15168
15169
  }, 50);
15169
15170
  }
15170
15171
  function dd(n, e) {
@@ -15192,11 +15193,11 @@ function fd(n, e, t) {
15192
15193
  if (!s.parent.inlineContent || n.endOfTextblock(e < 0 ? "up" : "down")) {
15193
15194
  let i = Nl(n.state, e);
15194
15195
  if (i && i instanceof De)
15195
- return Jn(n, i);
15196
+ return Gn(n, i);
15196
15197
  }
15197
15198
  if (!s.parent.inlineContent) {
15198
15199
  let i = e < 0 ? s : o, l = r instanceof cn ? Qe.near(i, e) : Qe.findFrom(i, e);
15199
- return l ? Jn(n, l) : !1;
15200
+ return l ? Gn(n, l) : !1;
15200
15201
  }
15201
15202
  return !1;
15202
15203
  }
@@ -15456,7 +15457,7 @@ function Qy(n) {
15456
15457
  }
15457
15458
  Ot && n.dom.addEventListener("input", () => null), Fl(n);
15458
15459
  }
15459
- function tr(n, e) {
15460
+ function nr(n, e) {
15460
15461
  n.input.lastSelectionOrigin = e, n.input.lastSelectionTime = Date.now();
15461
15462
  }
15462
15463
  function Yy(n) {
@@ -15496,10 +15497,10 @@ _t.keydown = (n, e) => {
15496
15497
  if (t.keyCode != 229 && n.domObserver.forceFlush(), Cs && t.keyCode == 13 && !t.ctrlKey && !t.altKey && !t.metaKey) {
15497
15498
  let r = Date.now();
15498
15499
  n.input.lastIOSEnter = r, n.input.lastIOSEnterFallbackTimeout = setTimeout(() => {
15499
- n.input.lastIOSEnter == r && (n.someProp("handleKeyDown", (s) => s(n, Cr(13, "Enter"))), n.input.lastIOSEnter = 0);
15500
+ n.input.lastIOSEnter == r && (n.someProp("handleKeyDown", (s) => s(n, br(13, "Enter"))), n.input.lastIOSEnter = 0);
15500
15501
  }, 200);
15501
15502
  } else
15502
- n.someProp("handleKeyDown", (r) => r(n, t)) || $y(n, t) ? t.preventDefault() : tr(n, "key");
15503
+ n.someProp("handleKeyDown", (r) => r(n, t)) || $y(n, t) ? t.preventDefault() : nr(n, "key");
15503
15504
  };
15504
15505
  _t.keyup = (n, e) => {
15505
15506
  e.keyCode == 16 && (n.input.shiftKey = !1);
@@ -15597,7 +15598,7 @@ It.mousedown = (n, e) => {
15597
15598
  let r = Tc(n), s = Date.now(), o = "singleClick";
15598
15599
  s - n.input.lastClick.time < 500 && Zy(t, n.input.lastClick) && !t[g1] && (n.input.lastClick.type == "singleClick" ? o = "doubleClick" : n.input.lastClick.type == "doubleClick" && (o = "tripleClick")), n.input.lastClick = { time: s, x: t.clientX, y: t.clientY, type: o };
15599
15600
  let i = n.posAtCoords(la(t));
15600
- i && (o == "singleClick" ? (n.input.mouseDown && n.input.mouseDown.done(), n.input.mouseDown = new s9(n, i, t, !!r)) : (o == "doubleClick" ? t9 : n9)(n, i.pos, i.inside, t) ? t.preventDefault() : tr(n, "pointer"));
15601
+ i && (o == "singleClick" ? (n.input.mouseDown && n.input.mouseDown.done(), n.input.mouseDown = new s9(n, i, t, !!r)) : (o == "doubleClick" ? t9 : n9)(n, i.pos, i.inside, t) ? t.preventDefault() : nr(n, "pointer"));
15601
15602
  };
15602
15603
  class s9 {
15603
15604
  constructor(e, t, r, s) {
@@ -15619,16 +15620,16 @@ class s9 {
15619
15620
  setUneditable: !!(this.target && fn && !this.target.hasAttribute("contentEditable"))
15620
15621
  }), this.target && this.mightDrag && (this.mightDrag.addAttr || this.mightDrag.setUneditable) && (this.view.domObserver.stop(), this.mightDrag.addAttr && (this.target.draggable = !0), this.mightDrag.setUneditable && setTimeout(() => {
15621
15622
  this.view.input.mouseDown == this && this.target.setAttribute("contentEditable", "false");
15622
- }, 20), this.view.domObserver.start()), e.root.addEventListener("mouseup", this.up = this.up.bind(this)), e.root.addEventListener("mousemove", this.move = this.move.bind(this)), tr(e, "pointer");
15623
+ }, 20), this.view.domObserver.start()), e.root.addEventListener("mouseup", this.up = this.up.bind(this)), e.root.addEventListener("mousemove", this.move = this.move.bind(this)), nr(e, "pointer");
15623
15624
  }
15624
15625
  done() {
15625
- this.view.root.removeEventListener("mouseup", this.up), this.view.root.removeEventListener("mousemove", this.move), this.mightDrag && this.target && (this.view.domObserver.stop(), this.mightDrag.addAttr && this.target.removeAttribute("draggable"), this.mightDrag.setUneditable && this.target.removeAttribute("contentEditable"), this.view.domObserver.start()), this.delayedSelectionSync && setTimeout(() => Bn(this.view)), this.view.input.mouseDown = null;
15626
+ this.view.root.removeEventListener("mouseup", this.up), this.view.root.removeEventListener("mousemove", this.move), this.mightDrag && this.target && (this.view.domObserver.stop(), this.mightDrag.addAttr && this.target.removeAttribute("draggable"), this.mightDrag.setUneditable && this.target.removeAttribute("contentEditable"), this.view.domObserver.start()), this.delayedSelectionSync && setTimeout(() => Fn(this.view)), this.view.input.mouseDown = null;
15626
15627
  }
15627
15628
  up(e) {
15628
15629
  if (this.done(), !this.view.dom.contains(e.target))
15629
15630
  return;
15630
15631
  let t = this.pos;
15631
- this.view.state.doc != this.startDoc && (t = this.view.posAtCoords(la(e))), this.updateAllowDefault(e), this.allowDefault || !t ? tr(this.view, "pointer") : e9(this.view, t.pos, t.inside, e, this.selectNode) ? e.preventDefault() : e.button == 0 && (this.flushed || // Safari ignores clicks on draggable elements
15632
+ this.view.state.doc != this.startDoc && (t = this.view.posAtCoords(la(e))), this.updateAllowDefault(e), this.allowDefault || !t ? nr(this.view, "pointer") : e9(this.view, t.pos, t.inside, e, this.selectNode) ? e.preventDefault() : e.button == 0 && (this.flushed || // Safari ignores clicks on draggable elements
15632
15633
  Ot && this.mightDrag && !this.mightDrag.node.isAtom || // Chrome will sometimes treat a node selection as a
15633
15634
  // cursor, but still report that the node is selected
15634
15635
  // when asked through getSelection. You'll then get a
@@ -15636,20 +15637,20 @@ class s9 {
15636
15637
  // (hidden) cursor is doesn't change the selection, and
15637
15638
  // thus doesn't get a reaction from ProseMirror. This
15638
15639
  // works around that.
15639
- bt && !this.view.state.selection.visible && Math.min(Math.abs(t.pos - this.view.state.selection.from), Math.abs(t.pos - this.view.state.selection.to)) <= 2) ? (ds(this.view, Qe.near(this.view.state.doc.resolve(t.pos)), "pointer"), e.preventDefault()) : tr(this.view, "pointer");
15640
+ bt && !this.view.state.selection.visible && Math.min(Math.abs(t.pos - this.view.state.selection.from), Math.abs(t.pos - this.view.state.selection.to)) <= 2) ? (ds(this.view, Qe.near(this.view.state.doc.resolve(t.pos)), "pointer"), e.preventDefault()) : nr(this.view, "pointer");
15640
15641
  }
15641
15642
  move(e) {
15642
- this.updateAllowDefault(e), tr(this.view, "pointer"), e.buttons == 0 && this.done();
15643
+ this.updateAllowDefault(e), nr(this.view, "pointer"), e.buttons == 0 && this.done();
15643
15644
  }
15644
15645
  updateAllowDefault(e) {
15645
15646
  !this.allowDefault && (Math.abs(this.event.x - e.clientX) > 4 || Math.abs(this.event.y - e.clientY) > 4) && (this.allowDefault = !0);
15646
15647
  }
15647
15648
  }
15648
15649
  It.touchstart = (n) => {
15649
- n.input.lastTouch = Date.now(), Tc(n), tr(n, "pointer");
15650
+ n.input.lastTouch = Date.now(), Tc(n), nr(n, "pointer");
15650
15651
  };
15651
15652
  It.touchmove = (n) => {
15652
- n.input.lastTouch = Date.now(), tr(n, "pointer");
15653
+ n.input.lastTouch = Date.now(), nr(n, "pointer");
15653
15654
  };
15654
15655
  It.contextmenu = (n) => Tc(n);
15655
15656
  function v1(n, e) {
@@ -15712,7 +15713,7 @@ function a9(n, e) {
15712
15713
  t.parentNode && t.parentNode.removeChild(t), n.focus();
15713
15714
  }, 50);
15714
15715
  }
15715
- const io = Bt && nr < 15 || Cs && sy < 604;
15716
+ const io = Bt && rr < 15 || Cs && sy < 604;
15716
15717
  It.copy = _t.cut = (n, e) => {
15717
15718
  let t = e, r = n.state.selection, s = t.type == "cut";
15718
15719
  if (r.empty)
@@ -15825,7 +15826,7 @@ _t.drop = (n, e) => {
15825
15826
  };
15826
15827
  It.focus = (n) => {
15827
15828
  n.input.lastFocus = Date.now(), n.focused || (n.domObserver.stop(), n.dom.classList.add("ProseMirror-focused"), n.domObserver.start(), n.focused = !0, setTimeout(() => {
15828
- n.docView && n.hasFocus() && !n.domObserver.currentSelection.eq(n.domSelectionRange()) && Bn(n);
15829
+ n.docView && n.hasFocus() && !n.domObserver.currentSelection.eq(n.domSelectionRange()) && Fn(n);
15829
15830
  }, 20));
15830
15831
  };
15831
15832
  It.blur = (n, e) => {
@@ -15837,7 +15838,7 @@ It.beforeinput = (n, e) => {
15837
15838
  n.domObserver.flushSoon();
15838
15839
  let { domChangeCount: r } = n.input;
15839
15840
  setTimeout(() => {
15840
- if (n.input.domChangeCount != r || (n.dom.blur(), n.focus(), n.someProp("handleKeyDown", (o) => o(n, Cr(8, "Backspace")))))
15841
+ if (n.input.domChangeCount != r || (n.dom.blur(), n.focus(), n.someProp("handleKeyDown", (o) => o(n, br(8, "Backspace")))))
15841
15842
  return;
15842
15843
  let { $cursor: s } = n.state.selection;
15843
15844
  s && s.pos > 0 && n.dispatch(n.state.tr.delete(s.pos - 1, s.pos).scrollIntoView());
@@ -15859,7 +15860,7 @@ function lo(n, e) {
15859
15860
  }
15860
15861
  class li {
15861
15862
  constructor(e, t) {
15862
- this.toDOM = e, this.spec = t || Or, this.side = this.spec.side || 0;
15863
+ this.toDOM = e, this.spec = t || Ir, this.side = this.spec.side || 0;
15863
15864
  }
15864
15865
  map(e, t, r, s) {
15865
15866
  let { pos: o, deleted: i } = e.mapResult(t.from + s, this.side < 0 ? -1 : 1);
@@ -15875,9 +15876,9 @@ class li {
15875
15876
  this.spec.destroy && this.spec.destroy(e);
15876
15877
  }
15877
15878
  }
15878
- class sr {
15879
+ class or {
15879
15880
  constructor(e, t) {
15880
- this.attrs = e, this.spec = t || Or;
15881
+ this.attrs = e, this.spec = t || Ir;
15881
15882
  }
15882
15883
  map(e, t, r, s) {
15883
15884
  let o = e.map(t.from + s, this.spec.inclusiveStart ? -1 : 1) - r, i = e.map(t.to + s, this.spec.inclusiveEnd ? 1 : -1) - r;
@@ -15887,17 +15888,17 @@ class sr {
15887
15888
  return t.from < t.to;
15888
15889
  }
15889
15890
  eq(e) {
15890
- return this == e || e instanceof sr && lo(this.attrs, e.attrs) && lo(this.spec, e.spec);
15891
+ return this == e || e instanceof or && lo(this.attrs, e.attrs) && lo(this.spec, e.spec);
15891
15892
  }
15892
15893
  static is(e) {
15893
- return e.type instanceof sr;
15894
+ return e.type instanceof or;
15894
15895
  }
15895
15896
  destroy() {
15896
15897
  }
15897
15898
  }
15898
15899
  class kc {
15899
15900
  constructor(e, t) {
15900
- this.attrs = e, this.spec = t || Or;
15901
+ this.attrs = e, this.spec = t || Ir;
15901
15902
  }
15902
15903
  map(e, t, r, s) {
15903
15904
  let o = e.mapResult(t.from + s, 1);
@@ -15957,7 +15958,7 @@ class tn {
15957
15958
  each inline node between `from` and `to`.
15958
15959
  */
15959
15960
  static inline(e, t, r, s) {
15960
- return new tn(e, t, new sr(r, s));
15961
+ return new tn(e, t, new or(r, s));
15961
15962
  }
15962
15963
  /**
15963
15964
  Creates a node decoration. `from` and `to` should point precisely
@@ -15978,7 +15979,7 @@ class tn {
15978
15979
  @internal
15979
15980
  */
15980
15981
  get inline() {
15981
- return this.type instanceof sr;
15982
+ return this.type instanceof or;
15982
15983
  }
15983
15984
  /**
15984
15985
  @internal
@@ -15987,7 +15988,7 @@ class tn {
15987
15988
  return this.type instanceof li;
15988
15989
  }
15989
15990
  }
15990
- const Zr = [], Or = {};
15991
+ const Zr = [], Ir = {};
15991
15992
  class ut {
15992
15993
  /**
15993
15994
  @internal
@@ -16001,7 +16002,7 @@ class ut {
16001
16002
  you must make a copy if you want need to preserve that.
16002
16003
  */
16003
16004
  static create(e, t) {
16004
- return t.length ? ci(t, e, 0, Or) : Ct;
16005
+ return t.length ? ci(t, e, 0, Ir) : Ct;
16005
16006
  }
16006
16007
  /**
16007
16008
  Find all decorations in this set which touch the given range
@@ -16031,7 +16032,7 @@ class ut {
16031
16032
  document.
16032
16033
  */
16033
16034
  map(e, t, r) {
16034
- return this == Ct || e.maps.length == 0 ? this : this.mapInner(e, t, 0, 0, r || Or);
16035
+ return this == Ct || e.maps.length == 0 ? this : this.mapInner(e, t, 0, 0, r || Ir);
16035
16036
  }
16036
16037
  /**
16037
16038
  @internal
@@ -16042,7 +16043,7 @@ class ut {
16042
16043
  let a = this.local[l].map(e, r, s);
16043
16044
  a && a.type.valid(t, a) ? (i || (i = [])).push(a) : o.onRemove && o.onRemove(this.local[l].spec);
16044
16045
  }
16045
- return this.children.length ? u9(this.children, i || [], e, t, r, s, o) : i ? new ut(i.sort(Ir), Zr) : Ct;
16046
+ return this.children.length ? u9(this.children, i || [], e, t, r, s, o) : i ? new ut(i.sort(_r), Zr) : Ct;
16046
16047
  }
16047
16048
  /**
16048
16049
  Add the given array of decorations to the ones in the set,
@@ -16060,13 +16061,13 @@ class ut {
16060
16061
  if (u = x1(t, l, c)) {
16061
16062
  for (s || (s = this.children.slice()); o < s.length && s[o] < a; )
16062
16063
  o += 3;
16063
- s[o] == a ? s[o + 2] = s[o + 2].addInner(l, u, c + 1) : s.splice(o, 0, a, a + l.nodeSize, ci(u, l, c + 1, Or)), o += 3;
16064
+ s[o] == a ? s[o + 2] = s[o + 2].addInner(l, u, c + 1) : s.splice(o, 0, a, a + l.nodeSize, ci(u, l, c + 1, Ir)), o += 3;
16064
16065
  }
16065
16066
  });
16066
16067
  let i = w1(o ? S1(t) : t, -r);
16067
16068
  for (let l = 0; l < i.length; l++)
16068
16069
  i[l].type.valid(e, i[l]) || i.splice(l--, 1);
16069
- return new ut(i.length ? this.local.concat(i).sort(Ir) : this.local, s || this.children);
16070
+ return new ut(i.length ? this.local.concat(i).sort(_r) : this.local, s || this.children);
16070
16071
  }
16071
16072
  /**
16072
16073
  Create a new set that contains the decorations in this set, minus
@@ -16112,14 +16113,14 @@ class ut {
16112
16113
  let o = e + 1, i = o + t.content.size;
16113
16114
  for (let l = 0; l < this.local.length; l++) {
16114
16115
  let a = this.local[l];
16115
- if (a.from < i && a.to > o && a.type instanceof sr) {
16116
+ if (a.from < i && a.to > o && a.type instanceof or) {
16116
16117
  let c = Math.max(o, a.from) - o, u = Math.min(i, a.to) - o;
16117
16118
  c < u && (s || (s = [])).push(a.copy(c, u));
16118
16119
  }
16119
16120
  }
16120
16121
  if (s) {
16121
- let l = new ut(s.sort(Ir), Zr);
16122
- return r ? new Zn([l, r]) : l;
16122
+ let l = new ut(s.sort(_r), Zr);
16123
+ return r ? new Xn([l, r]) : l;
16123
16124
  }
16124
16125
  return r || Ct;
16125
16126
  }
@@ -16151,24 +16152,24 @@ class ut {
16151
16152
  localsInner(e) {
16152
16153
  if (this == Ct)
16153
16154
  return Zr;
16154
- if (e.inlineContent || !this.local.some(sr.is))
16155
+ if (e.inlineContent || !this.local.some(or.is))
16155
16156
  return this.local;
16156
16157
  let t = [];
16157
16158
  for (let r = 0; r < this.local.length; r++)
16158
- this.local[r].type instanceof sr || t.push(this.local[r]);
16159
+ this.local[r].type instanceof or || t.push(this.local[r]);
16159
16160
  return t;
16160
16161
  }
16161
16162
  }
16162
16163
  ut.empty = new ut([], []);
16163
16164
  ut.removeOverlap = Mc;
16164
16165
  const Ct = ut.empty;
16165
- class Zn {
16166
+ class Xn {
16166
16167
  constructor(e) {
16167
16168
  this.members = e;
16168
16169
  }
16169
16170
  map(e, t) {
16170
- const r = this.members.map((s) => s.map(e, t, Or));
16171
- return Zn.from(r);
16171
+ const r = this.members.map((s) => s.map(e, t, Ir));
16172
+ return Xn.from(r);
16172
16173
  }
16173
16174
  forChild(e, t) {
16174
16175
  if (t.isLeaf)
@@ -16176,12 +16177,12 @@ class Zn {
16176
16177
  let r = [];
16177
16178
  for (let s = 0; s < this.members.length; s++) {
16178
16179
  let o = this.members[s].forChild(e, t);
16179
- o != Ct && (o instanceof Zn ? r = r.concat(o.members) : r.push(o));
16180
+ o != Ct && (o instanceof Xn ? r = r.concat(o.members) : r.push(o));
16180
16181
  }
16181
- return Zn.from(r);
16182
+ return Xn.from(r);
16182
16183
  }
16183
16184
  eq(e) {
16184
- if (!(e instanceof Zn) || e.members.length != this.members.length)
16185
+ if (!(e instanceof Xn) || e.members.length != this.members.length)
16185
16186
  return !1;
16186
16187
  for (let t = 0; t < this.members.length; t++)
16187
16188
  if (!this.members[t].eq(e.members[t]))
@@ -16201,7 +16202,7 @@ class Zn {
16201
16202
  t.push(o[i]);
16202
16203
  }
16203
16204
  }
16204
- return t ? Mc(r ? t : t.sort(Ir)) : Zr;
16205
+ return t ? Mc(r ? t : t.sort(_r)) : Zr;
16205
16206
  }
16206
16207
  // Create a group for the given array of decoration sets, or return
16207
16208
  // a single set when possible.
@@ -16212,7 +16213,7 @@ class Zn {
16212
16213
  case 1:
16213
16214
  return e[0];
16214
16215
  default:
16215
- return new Zn(e.every((t) => t instanceof ut) ? e : e.reduce((t, r) => t.concat(r instanceof ut ? r : r.members), []));
16216
+ return new Xn(e.every((t) => t instanceof ut) ? e : e.reduce((t, r) => t.concat(r instanceof ut ? r : r.members), []));
16216
16217
  }
16217
16218
  }
16218
16219
  }
@@ -16263,7 +16264,7 @@ function u9(n, e, t, r, s, o, i) {
16263
16264
  l.splice(f, 0, u.children[d], u.children[d + 1], u.children[d + 2]);
16264
16265
  }
16265
16266
  }
16266
- return new ut(e.sort(Ir), l);
16267
+ return new ut(e.sort(_r), l);
16267
16268
  }
16268
16269
  function w1(n, e) {
16269
16270
  if (!e || !n.length)
@@ -16312,12 +16313,12 @@ function ci(n, e, t, r) {
16312
16313
  u != Ct && s.push(a, a + l.nodeSize, u);
16313
16314
  }
16314
16315
  });
16315
- let i = w1(o ? S1(n) : n, -t).sort(Ir);
16316
+ let i = w1(o ? S1(n) : n, -t).sort(_r);
16316
16317
  for (let l = 0; l < i.length; l++)
16317
16318
  i[l].type.valid(e, i[l]) || (r.onRemove && r.onRemove(i[l].spec), i.splice(l--, 1));
16318
16319
  return i.length || s.length ? new ut(i, s) : Ct;
16319
16320
  }
16320
- function Ir(n, e) {
16321
+ function _r(n, e) {
16321
16322
  return n.from - e.from || n.to - e.to;
16322
16323
  }
16323
16324
  function Mc(n) {
@@ -16339,7 +16340,7 @@ function Mc(n) {
16339
16340
  return e;
16340
16341
  }
16341
16342
  function vd(n, e, t) {
16342
- for (; e < n.length && Ir(t, n[e]) > 0; )
16343
+ for (; e < n.length && _r(t, n[e]) > 0; )
16343
16344
  e++;
16344
16345
  n.splice(e, 0, t);
16345
16346
  }
@@ -16348,7 +16349,7 @@ function Ha(n) {
16348
16349
  return n.someProp("decorations", (t) => {
16349
16350
  let r = t(n.state);
16350
16351
  r && r != Ct && e.push(r);
16351
- }), n.cursorWrapper && e.push(ut.create(n.state.doc, [n.cursorWrapper.deco])), Zn.from(e);
16352
+ }), n.cursorWrapper && e.push(ut.create(n.state.doc, [n.cursorWrapper.deco])), Xn.from(e);
16352
16353
  }
16353
16354
  const f9 = {
16354
16355
  childList: !0,
@@ -16357,7 +16358,7 @@ const f9 = {
16357
16358
  attributes: !0,
16358
16359
  attributeOldValue: !0,
16359
16360
  subtree: !0
16360
- }, h9 = Bt && nr <= 11;
16361
+ }, h9 = Bt && rr <= 11;
16361
16362
  class p9 {
16362
16363
  constructor() {
16363
16364
  this.anchorNode = null, this.anchorOffset = 0, this.focusNode = null, this.focusOffset = 0;
@@ -16377,7 +16378,7 @@ class m9 {
16377
16378
  this.view = e, this.handleDOMChange = t, this.queue = [], this.flushingSoon = -1, this.observer = null, this.currentSelection = new p9(), this.onCharData = null, this.suppressingSelectionUpdates = !1, this.observer = window.MutationObserver && new window.MutationObserver((r) => {
16378
16379
  for (let s = 0; s < r.length; s++)
16379
16380
  this.queue.push(r[s]);
16380
- Bt && nr <= 11 && r.some((s) => s.type == "childList" && s.removedNodes.length || s.type == "characterData" && s.oldValue.length > s.target.nodeValue.length) ? this.flushSoon() : this.flush();
16381
+ Bt && rr <= 11 && r.some((s) => s.type == "childList" && s.removedNodes.length || s.type == "characterData" && s.oldValue.length > s.target.nodeValue.length) ? this.flushSoon() : this.flush();
16381
16382
  }), h9 && (this.onCharData = (r) => {
16382
16383
  this.queue.push({ target: r.target, type: "characterData", oldValue: r.prevValue }), this.flushSoon();
16383
16384
  }), this.onSelectionChange = this.onSelectionChange.bind(this);
@@ -16417,10 +16418,10 @@ class m9 {
16417
16418
  onSelectionChange() {
16418
16419
  if (cd(this.view)) {
16419
16420
  if (this.suppressingSelectionUpdates)
16420
- return Bn(this.view);
16421
- if (Bt && nr <= 11 && !this.view.state.selection.empty) {
16421
+ return Fn(this.view);
16422
+ if (Bt && rr <= 11 && !this.view.state.selection.empty) {
16422
16423
  let e = this.view.domSelectionRange();
16423
- if (e.focusNode && Rr(e.focusNode, e.focusOffset, e.anchorNode, e.anchorOffset))
16424
+ if (e.focusNode && Dr(e.focusNode, e.focusOffset, e.anchorNode, e.anchorOffset))
16424
16425
  return this.flushSoon();
16425
16426
  }
16426
16427
  this.flush();
@@ -16473,7 +16474,7 @@ class m9 {
16473
16474
  }
16474
16475
  }
16475
16476
  let c = null;
16476
- o < 0 && s && e.input.lastFocus > Date.now() - 200 && Math.max(e.input.lastTouch, e.input.lastClick.time) < Date.now() - 300 && ia(r) && (c = Ec(e)) && c.eq(Qe.near(e.state.doc.resolve(0), 1)) ? (e.input.lastFocus = 0, Bn(e), this.currentSelection.set(r), e.scrollToSelection()) : (o > -1 || s) && (o > -1 && (e.docView.markDirty(o, i), g9(e)), this.handleDOMChange(o, i, l, a), e.docView && e.docView.dirty ? e.updateState(e.state) : this.currentSelection.eq(r) || Bn(e), this.currentSelection.set(r));
16477
+ o < 0 && s && e.input.lastFocus > Date.now() - 200 && Math.max(e.input.lastTouch, e.input.lastClick.time) < Date.now() - 300 && ia(r) && (c = Ec(e)) && c.eq(Qe.near(e.state.doc.resolve(0), 1)) ? (e.input.lastFocus = 0, Fn(e), this.currentSelection.set(r), e.scrollToSelection()) : (o > -1 || s) && (o > -1 && (e.docView.markDirty(o, i), g9(e)), this.handleDOMChange(o, i, l, a), e.docView && e.docView.dirty ? e.updateState(e.state) : this.currentSelection.eq(r) || Fn(e), this.currentSelection.set(r));
16477
16478
  }
16478
16479
  registerMutation(e, t) {
16479
16480
  if (t.indexOf(e.target) > -1)
@@ -16488,7 +16489,7 @@ class m9 {
16488
16489
  if (r.contentDOM && r.contentDOM != r.dom && !r.contentDOM.contains(e.target))
16489
16490
  return { from: r.posBefore, to: r.posAfter };
16490
16491
  let s = e.previousSibling, o = e.nextSibling;
16491
- if (Bt && nr <= 11 && e.addedNodes.length)
16492
+ if (Bt && rr <= 11 && e.addedNodes.length)
16492
16493
  for (let u = 0; u < e.addedNodes.length; u++) {
16493
16494
  let { previousSibling: d, nextSibling: f } = e.addedNodes[u];
16494
16495
  (!d || Array.prototype.indexOf.call(e.addedNodes, d) < 0) && (s = d), (!f || Array.prototype.indexOf.call(e.addedNodes, f) < 0) && (o = f);
@@ -16522,7 +16523,7 @@ function v9(n) {
16522
16523
  }
16523
16524
  n.dom.addEventListener("beforeinput", t, !0), document.execCommand("indent"), n.dom.removeEventListener("beforeinput", t, !0);
16524
16525
  let r = e.startContainer, s = e.startOffset, o = e.endContainer, i = e.endOffset, l = n.domAtPos(n.state.selection.anchor);
16525
- return Rr(l.node, l.offset, o, i) && ([r, s, o, i] = [o, i, r, s]), { anchorNode: r, anchorOffset: s, focusNode: o, focusOffset: i };
16526
+ return Dr(l.node, l.offset, o, i) && ([r, s, o, i] = [o, i, r, s]), { anchorNode: r, anchorOffset: s, focusNode: o, focusOffset: i };
16526
16527
  }
16527
16528
  function y9(n, e, t) {
16528
16529
  let { node: r, fromOffset: s, toOffset: o, from: i, to: l } = n.docView.parseRange(e, t), a = n.domSelectionRange(), c, u = a.anchorNode;
@@ -16573,7 +16574,7 @@ function A9(n, e, t, r, s) {
16573
16574
  if (n.input.compositionPendingChanges = 0, e < 0) {
16574
16575
  let j = n.input.lastSelectionTime > Date.now() - 50 ? n.input.lastSelectionOrigin : null, B = Ec(n, j);
16575
16576
  if (B && !n.state.selection.eq(B)) {
16576
- if (bt && ln && n.input.lastKeyCode === 13 && Date.now() - 100 < n.input.lastKeyCodeTime && n.someProp("handleKeyDown", (z) => z(n, Cr(13, "Enter"))))
16577
+ if (bt && ln && n.input.lastKeyCode === 13 && Date.now() - 100 < n.input.lastKeyCodeTime && n.someProp("handleKeyDown", (z) => z(n, br(13, "Enter"))))
16577
16578
  return;
16578
16579
  let R = n.state.tr.setSelection(B);
16579
16580
  j == "pointer" ? R.setMeta("pointer", !0) : j == "key" && R.scrollIntoView(), o && R.setMeta("composition", o), n.dispatch(R);
@@ -16585,7 +16586,7 @@ function A9(n, e, t, r, s) {
16585
16586
  let a = n.state.selection, c = y9(n, e, t), u = n.state.doc, d = u.slice(c.from, c.to), f, h;
16586
16587
  n.input.lastKeyCode === 8 && Date.now() - 100 < n.input.lastKeyCodeTime ? (f = n.state.selection.to, h = "end") : (f = n.state.selection.from, h = "start"), n.input.lastKeyCode = null;
16587
16588
  let p = x9(d.content, c.doc.content, c.from, f, h);
16588
- if ((Cs && n.input.lastIOSEnter > Date.now() - 225 || ln) && s.some((j) => j.nodeType == 1 && !b9.test(j.nodeName)) && (!p || p.endA >= p.endB) && n.someProp("handleKeyDown", (j) => j(n, Cr(13, "Enter")))) {
16589
+ if ((Cs && n.input.lastIOSEnter > Date.now() - 225 || ln) && s.some((j) => j.nodeType == 1 && !b9.test(j.nodeName)) && (!p || p.endA >= p.endB) && n.someProp("handleKeyDown", (j) => j(n, br(13, "Enter")))) {
16589
16590
  n.input.lastIOSEnter = 0;
16590
16591
  return;
16591
16592
  }
@@ -16606,25 +16607,25 @@ function A9(n, e, t, r, s) {
16606
16607
  let j = p.endB - p.start;
16607
16608
  c.sel = { anchor: c.sel.anchor + j, head: c.sel.anchor + j };
16608
16609
  }
16609
- n.input.domChangeCount++, n.state.selection.from < n.state.selection.to && p.start == p.endB && n.state.selection instanceof Ye && (p.start > n.state.selection.from && p.start <= n.state.selection.from + 2 && n.state.selection.from >= c.from ? p.start = n.state.selection.from : p.endA < n.state.selection.to && p.endA >= n.state.selection.to - 2 && n.state.selection.to <= c.to && (p.endB += n.state.selection.to - p.endA, p.endA = n.state.selection.to)), Bt && nr <= 11 && p.endB == p.start + 1 && p.endA == p.start && p.start > c.from && c.doc.textBetween(p.start - c.from - 1, p.start - c.from + 1) == "  " && (p.start--, p.endA--, p.endB--);
16610
+ n.input.domChangeCount++, n.state.selection.from < n.state.selection.to && p.start == p.endB && n.state.selection instanceof Ye && (p.start > n.state.selection.from && p.start <= n.state.selection.from + 2 && n.state.selection.from >= c.from ? p.start = n.state.selection.from : p.endA < n.state.selection.to && p.endA >= n.state.selection.to - 2 && n.state.selection.to <= c.to && (p.endB += n.state.selection.to - p.endA, p.endA = n.state.selection.to)), Bt && rr <= 11 && p.endB == p.start + 1 && p.endA == p.start && p.start > c.from && c.doc.textBetween(p.start - c.from - 1, p.start - c.from + 1) == "  " && (p.start--, p.endA--, p.endB--);
16610
16611
  let m = c.doc.resolveNoCache(p.start - c.from), g = c.doc.resolveNoCache(p.endB - c.from), b = u.resolve(p.start), A = m.sameParent(g) && m.parent.inlineContent && b.end() >= p.endA, E;
16611
- if ((Cs && n.input.lastIOSEnter > Date.now() - 225 && (!A || s.some((j) => j.nodeName == "DIV" || j.nodeName == "P")) || !A && m.pos < c.doc.content.size && !m.sameParent(g) && (E = Qe.findFrom(c.doc.resolve(m.pos + 1), 1, !0)) && E.head == g.pos) && n.someProp("handleKeyDown", (j) => j(n, Cr(13, "Enter")))) {
16612
+ if ((Cs && n.input.lastIOSEnter > Date.now() - 225 && (!A || s.some((j) => j.nodeName == "DIV" || j.nodeName == "P")) || !A && m.pos < c.doc.content.size && !m.sameParent(g) && (E = Qe.findFrom(c.doc.resolve(m.pos + 1), 1, !0)) && E.head == g.pos) && n.someProp("handleKeyDown", (j) => j(n, br(13, "Enter")))) {
16612
16613
  n.input.lastIOSEnter = 0;
16613
16614
  return;
16614
16615
  }
16615
- if (n.state.selection.anchor > p.start && w9(u, p.start, p.endA, m, g) && n.someProp("handleKeyDown", (j) => j(n, Cr(8, "Backspace")))) {
16616
+ if (n.state.selection.anchor > p.start && w9(u, p.start, p.endA, m, g) && n.someProp("handleKeyDown", (j) => j(n, br(8, "Backspace")))) {
16616
16617
  ln && bt && n.domObserver.suppressSelectionUpdates();
16617
16618
  return;
16618
16619
  }
16619
16620
  bt && ln && p.endB == p.start && (n.input.lastAndroidDelete = Date.now()), ln && !A && m.start() != g.start() && g.parentOffset == 0 && m.depth == g.depth && c.sel && c.sel.anchor == c.sel.head && c.sel.head == p.endA && (p.endB -= 2, g = c.doc.resolveNoCache(p.endB - c.from), setTimeout(() => {
16620
16621
  n.someProp("handleKeyDown", function(j) {
16621
- return j(n, Cr(13, "Enter"));
16622
+ return j(n, br(13, "Enter"));
16622
16623
  });
16623
16624
  }, 20));
16624
16625
  let v = p.start, T = p.endA, x, H, U;
16625
16626
  if (A) {
16626
16627
  if (m.pos == g.pos)
16627
- Bt && nr <= 11 && m.parentOffset == 0 && (n.domObserver.suppressSelectionUpdates(), setTimeout(() => Bn(n), 20)), x = n.state.tr.delete(v, T), H = u.resolve(p.start).marksAcross(u.resolve(p.endA));
16628
+ Bt && rr <= 11 && m.parentOffset == 0 && (n.domObserver.suppressSelectionUpdates(), setTimeout(() => Fn(n), 20)), x = n.state.tr.delete(v, T), H = u.resolve(p.start).marksAcross(u.resolve(p.endA));
16628
16629
  else if (
16629
16630
  // Adding or removing a mark
16630
16631
  p.endA == p.endB && (U = E9(m.parent.content.cut(m.parentOffset, g.parentOffset), b.parent.content.cut(b.parentOffset, p.endA - b.start())))
@@ -16792,7 +16793,7 @@ class S9 {
16792
16793
  let p = bt ? this.trackWrites = this.domSelectionRange().focusNode : null;
16793
16794
  (o || !this.docView.update(e.doc, c, a, this)) && (this.docView.updateOuterDeco([]), this.docView.destroy(), this.docView = rd(e.doc, c, a, this.dom, this)), p && !this.trackWrites && (h = !0);
16794
16795
  }
16795
- h || !(this.input.mouseDown && this.domObserver.currentSelection.eq(this.domSelectionRange()) && Ly(this)) ? Bn(this, h) : (i1(this, e.selection), this.domObserver.setCurSelection()), this.domObserver.start();
16796
+ h || !(this.input.mouseDown && this.domObserver.currentSelection.eq(this.domSelectionRange()) && Ly(this)) ? Fn(this, h) : (i1(this, e.selection), this.domObserver.setCurSelection()), this.domObserver.start();
16796
16797
  }
16797
16798
  this.updatePluginViews(s), !((r = this.dragging) === null || r === void 0) && r.node && !s.doc.eq(e.doc) && this.updateDraggedNode(this.dragging, s), u == "reset" ? this.dom.scrollTop = 0 : u == "to selection" ? this.scrollToSelection() : f && ly(f);
16798
16799
  }
@@ -16880,7 +16881,7 @@ class S9 {
16880
16881
  Focus the editor.
16881
16882
  */
16882
16883
  focus() {
16883
- this.domObserver.stop(), this.editable && cy(this.dom), Bn(this), this.domObserver.start();
16884
+ this.domObserver.stop(), this.editable && cy(this.dom), Fn(this), this.domObserver.start();
16884
16885
  }
16885
16886
  /**
16886
16887
  Get the document root in which the editor exists. This will
@@ -17087,7 +17088,7 @@ function Td(n) {
17087
17088
  if (n.spec.state || n.spec.filterTransaction || n.spec.appendTransaction)
17088
17089
  throw new RangeError("Plugins passed directly to the view must not have a state component");
17089
17090
  }
17090
- var or = {
17091
+ var ir = {
17091
17092
  8: "Backspace",
17092
17093
  9: "Tab",
17093
17094
  10: "Enter",
@@ -17167,15 +17168,15 @@ var or = {
17167
17168
  222: '"'
17168
17169
  }, M9 = typeof navigator < "u" && /Mac/.test(navigator.platform), O9 = typeof navigator < "u" && /MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);
17169
17170
  for (var vt = 0; vt < 10; vt++)
17170
- or[48 + vt] = or[96 + vt] = String(vt);
17171
+ ir[48 + vt] = ir[96 + vt] = String(vt);
17171
17172
  for (var vt = 1; vt <= 24; vt++)
17172
- or[vt + 111] = "F" + vt;
17173
+ ir[vt + 111] = "F" + vt;
17173
17174
  for (var vt = 65; vt <= 90; vt++)
17174
- or[vt] = String.fromCharCode(vt + 32), ui[vt] = String.fromCharCode(vt);
17175
- for (var Ua in or)
17176
- ui.hasOwnProperty(Ua) || (ui[Ua] = or[Ua]);
17175
+ ir[vt] = String.fromCharCode(vt + 32), ui[vt] = String.fromCharCode(vt);
17176
+ for (var Ua in ir)
17177
+ ui.hasOwnProperty(Ua) || (ui[Ua] = ir[Ua]);
17177
17178
  function I9(n) {
17178
- var e = M9 && n.metaKey && n.shiftKey && !n.ctrlKey && !n.altKey || O9 && n.shiftKey && n.key && n.key.length == 1 || n.key == "Unidentified", t = !e && n.key || (n.shiftKey ? ui : or)[n.keyCode] || n.key || "Unidentified";
17179
+ var e = M9 && n.metaKey && n.shiftKey && !n.ctrlKey && !n.altKey || O9 && n.shiftKey && n.key && n.key.length == 1 || n.key == "Unidentified", t = !e && n.key || (n.shiftKey ? ui : ir)[n.keyCode] || n.key || "Unidentified";
17179
17180
  return t == "Esc" && (t = "Escape"), t == "Del" && (t = "Delete"), t == "Left" && (t = "ArrowLeft"), t == "Up" && (t = "ArrowUp"), t == "Right" && (t = "ArrowRight"), t == "Down" && (t = "ArrowDown"), t;
17180
17181
  }
17181
17182
  const _9 = typeof navigator < "u" ? /Mac|iP(hone|[oa]d)/.test(navigator.platform) : !1;
@@ -17224,7 +17225,7 @@ function N9(n) {
17224
17225
  if (l && l(t.state, t.dispatch, t))
17225
17226
  return !0;
17226
17227
  }
17227
- if ((r.shiftKey || r.altKey || r.metaKey || s.charCodeAt(0) > 127) && (o = or[r.keyCode]) && o != s) {
17228
+ if ((r.shiftKey || r.altKey || r.metaKey || s.charCodeAt(0) > 127) && (o = ir[r.keyCode]) && o != s) {
17228
17229
  let l = e[ja(o, r)];
17229
17230
  if (l && l(t.state, t.dispatch, t))
17230
17231
  return !0;
@@ -17344,7 +17345,7 @@ function k1(n) {
17344
17345
  const U9 = (n, e) => {
17345
17346
  let t = n.selection, r = t instanceof De, s;
17346
17347
  if (r) {
17347
- if (t.node.isTextblock || !ur(n.doc, t.from))
17348
+ if (t.node.isTextblock || !dr(n.doc, t.from))
17348
17349
  return !1;
17349
17350
  s = t.from;
17350
17351
  } else if (s = sa(n.doc, t.from, -1), s == null)
@@ -17357,7 +17358,7 @@ const U9 = (n, e) => {
17357
17358
  }, j9 = (n, e) => {
17358
17359
  let t = n.selection, r;
17359
17360
  if (t instanceof De) {
17360
- if (t.node.isTextblock || !ur(n.doc, t.to))
17361
+ if (t.node.isTextblock || !dr(n.doc, t.to))
17361
17362
  return !1;
17362
17363
  r = t.to;
17363
17364
  } else if (r = sa(n.doc, t.to, 1), r == null)
@@ -17420,7 +17421,7 @@ const Q9 = (n, e) => {
17420
17421
  };
17421
17422
  function Z9(n, e, t) {
17422
17423
  let r = e.nodeBefore, s = e.nodeAfter, o = e.index();
17423
- return !r || !s || !r.type.compatibleContent(s.type) ? !1 : !r.content.size && e.parent.canReplace(o - 1, o) ? (t && t(n.tr.delete(e.pos - r.nodeSize, e.pos).scrollIntoView()), !0) : !e.parent.canReplace(o, o + 1) || !(s.isTextblock || ur(n.doc, e.pos)) ? !1 : (t && t(n.tr.clearIncompatible(e.pos, r.type, r.contentMatchAt(r.childCount)).join(e.pos).scrollIntoView()), !0);
17424
+ return !r || !s || !r.type.compatibleContent(s.type) ? !1 : !r.content.size && e.parent.canReplace(o - 1, o) ? (t && t(n.tr.delete(e.pos - r.nodeSize, e.pos).scrollIntoView()), !0) : !e.parent.canReplace(o, o + 1) || !(s.isTextblock || dr(n.doc, e.pos)) ? !1 : (t && t(n.tr.clearIncompatible(e.pos, r.type, r.contentMatchAt(r.childCount)).join(e.pos).scrollIntoView()), !0);
17424
17425
  }
17425
17426
  function O1(n, e, t) {
17426
17427
  let r = e.nodeBefore, s = e.nodeAfter, o, i;
@@ -17436,7 +17437,7 @@ function O1(n, e, t) {
17436
17437
  f = de.from(o[m].create(null, f));
17437
17438
  f = de.from(r.copy(f));
17438
17439
  let h = n.tr.step(new ft(e.pos - 1, d, e.pos, d, new Ee(f, 1, 0), o.length, !0)), p = d + 2 * o.length;
17439
- ur(h.doc, p) && h.join(p), t(h.scrollIntoView());
17440
+ dr(h.doc, p) && h.join(p), t(h.scrollIntoView());
17440
17441
  }
17441
17442
  return !0;
17442
17443
  }
@@ -17554,7 +17555,7 @@ function sC(n, e, t, r) {
17554
17555
  return !1;
17555
17556
  s.lift(r, l);
17556
17557
  let a = s.mapping.map(o, -1) - 1;
17557
- return ur(s.doc, a) && s.join(a), e(s.scrollIntoView()), !0;
17558
+ return dr(s.doc, a) && s.join(a), e(s.scrollIntoView()), !0;
17558
17559
  }
17559
17560
  function oC(n, e, t) {
17560
17561
  let r = n.tr, s = t.parent;
@@ -18214,7 +18215,7 @@ class is {
18214
18215
  type: Wa(i.name, this.schema)
18215
18216
  }, a = [], c = Se(i, "addKeyboardShortcuts", l);
18216
18217
  let u = {};
18217
- if (i.type === "mark" && i.config.exitable && (u.ArrowRight = () => Mn.handleExit({ editor: e, mark: i })), c) {
18218
+ if (i.type === "mark" && i.config.exitable && (u.ArrowRight = () => On.handleExit({ editor: e, mark: i })), c) {
18218
18219
  const m = Object.fromEntries(Object.entries(c()).map(([g, b]) => [g, () => b({ editor: e })]));
18219
18220
  u = { ...u, ...m };
18220
18221
  }
@@ -18440,7 +18441,7 @@ function Ic(n, e, t = {}) {
18440
18441
  to: a
18441
18442
  };
18442
18443
  }
18443
- function fr(n, e) {
18444
+ function hr(n, e) {
18444
18445
  if (typeof n == "string") {
18445
18446
  if (!e.marks[n])
18446
18447
  throw Error(`There is no mark type named '${n}'. Maybe you forgot to add the extension?`);
@@ -18449,7 +18450,7 @@ function fr(n, e) {
18449
18450
  return n;
18450
18451
  }
18451
18452
  const NC = (n, e = {}) => ({ tr: t, state: r, dispatch: s }) => {
18452
- const o = fr(n, r.schema), { doc: i, selection: l } = t, { $from: a, from: c, to: u } = l;
18453
+ const o = hr(n, r.schema), { doc: i, selection: l } = t, { $from: a, from: c, to: u } = l;
18453
18454
  if (s) {
18454
18455
  const d = Ic(a, o, e);
18455
18456
  if (d && d.from <= c && d.to >= u) {
@@ -18468,7 +18469,7 @@ const NC = (n, e = {}) => ({ tr: t, state: r, dispatch: s }) => {
18468
18469
  function _c(n) {
18469
18470
  return n instanceof Ye;
18470
18471
  }
18471
- function Pn(n = 0, e = 0, t = 0) {
18472
+ function Bn(n = 0, e = 0, t = 0) {
18472
18473
  return Math.min(Math.max(n, e), t);
18473
18474
  }
18474
18475
  function P1(n, e = null) {
@@ -18480,7 +18481,7 @@ function P1(n, e = null) {
18480
18481
  if (e === "end")
18481
18482
  return r;
18482
18483
  const s = t.from, o = r.to;
18483
- return e === "all" ? Ye.create(n, Pn(0, s, o), Pn(n.content.size, s, o)) : Ye.create(n, Pn(e, s, o), Pn(e, s, o));
18484
+ return e === "all" ? Ye.create(n, Bn(0, s, o), Bn(n.content.size, s, o)) : Ye.create(n, Bn(e, s, o), Bn(e, s, o));
18484
18485
  }
18485
18486
  function Lc() {
18486
18487
  return [
@@ -18657,7 +18658,7 @@ function Ld(n, e) {
18657
18658
  const tb = (n, e) => ({ tr: t, state: r, dispatch: s }) => {
18658
18659
  let o = null, i = null;
18659
18660
  const l = ha(typeof n == "string" ? n : n.name, r.schema);
18660
- return l ? (l === "node" && (o = ht(n, r.schema)), l === "mark" && (i = fr(n, r.schema)), s && t.selection.ranges.forEach((a) => {
18661
+ return l ? (l === "node" && (o = ht(n, r.schema)), l === "mark" && (i = hr(n, r.schema)), s && t.selection.ranges.forEach((a) => {
18661
18662
  r.doc.nodesBetween(a.$from.pos, a.$to.pos, (c, u) => {
18662
18663
  o && o === c.type && t.setNodeMarkup(u, void 0, Ld(c.attrs, e)), i && c.marks.length && c.marks.forEach((d) => {
18663
18664
  i === d.type && t.addMark(u, u + c.nodeSize, i.create(Ld(d.attrs, e)));
@@ -18676,7 +18677,7 @@ const cb = (n, e = !1, t = {}) => ({ tr: r, editor: s, dispatch: o }) => {
18676
18677
  return o && r.replaceWith(0, i.content.size, l).setMeta("preventUpdate", !e), !0;
18677
18678
  };
18678
18679
  function pa(n, e) {
18679
- const t = fr(e, n.schema), { from: r, to: s, empty: o } = n.selection, i = [];
18680
+ const t = hr(e, n.schema), { from: r, to: s, empty: o } = n.selection, i = [];
18680
18681
  o ? (n.storedMarks && i.push(...n.storedMarks), i.push(...n.selection.$head.marks())) : n.doc.nodesBetween(r, s, (a) => {
18681
18682
  i.push(...a.marks);
18682
18683
  });
@@ -18809,7 +18810,7 @@ function Wo(n, e, t) {
18809
18810
  }));
18810
18811
  }
18811
18812
  function Hl(n, e, t = {}) {
18812
- const { empty: r, ranges: s } = n.selection, o = e ? fr(e, n.schema) : null;
18813
+ const { empty: r, ranges: s } = n.selection, o = e ? hr(e, n.schema) : null;
18813
18814
  if (r)
18814
18815
  return !!(n.storedMarks || n.selection.$from.marks()).filter((d) => o ? o.name === d.type.name : !0).find((d) => di(d.attrs, t, { strict: !1 }));
18815
18816
  let i = 0;
@@ -18857,7 +18858,7 @@ function Eb(n) {
18857
18858
  return n instanceof De;
18858
18859
  }
18859
18860
  function V1(n, e, t) {
18860
- const s = n.state.doc.content.size, o = Pn(e, 0, s), i = Pn(t, 0, s), l = n.coordsAtPos(o), a = n.coordsAtPos(i, -1), c = Math.min(l.top, a.top), u = Math.max(l.bottom, a.bottom), d = Math.min(l.left, a.left), f = Math.max(l.right, a.right), h = f - d, p = u - c, b = {
18861
+ const s = n.state.doc.content.size, o = Bn(e, 0, s), i = Bn(t, 0, s), l = n.coordsAtPos(o), a = n.coordsAtPos(i, -1), c = Math.min(l.top, a.top), u = Math.max(l.bottom, a.bottom), d = Math.min(l.left, a.left), f = Math.max(l.right, a.right), h = f - d, p = u - c, b = {
18861
18862
  top: c,
18862
18863
  bottom: u,
18863
18864
  left: d,
@@ -18895,7 +18896,7 @@ function wb(n, e, t) {
18895
18896
  });
18896
18897
  }
18897
18898
  const xb = (n, e = {}) => ({ tr: t, state: r, dispatch: s }) => {
18898
- const { selection: o } = t, { empty: i, ranges: l } = o, a = fr(n, r.schema);
18899
+ const { selection: o } = t, { empty: i, ranges: l } = o, a = hr(n, r.schema);
18899
18900
  if (s)
18900
18901
  if (i) {
18901
18902
  const c = pa(r, a);
@@ -18922,13 +18923,13 @@ const xb = (n, e = {}) => ({ tr: t, state: r, dispatch: s }) => {
18922
18923
  return o.isTextblock ? s().command(({ commands: i }) => kd(o, e)(t) ? !0 : i.clearNodes()).command(({ state: i }) => kd(o, e)(i, r)).run() : (console.warn('[tiptap warn]: Currently "setNode()" only supports text block nodes.'), !1);
18923
18924
  }, kb = (n) => ({ tr: e, dispatch: t }) => {
18924
18925
  if (t) {
18925
- const { doc: r } = e, s = Pn(n, 0, r.content.size), o = De.create(r, s);
18926
+ const { doc: r } = e, s = Bn(n, 0, r.content.size), o = De.create(r, s);
18926
18927
  e.setSelection(o);
18927
18928
  }
18928
18929
  return !0;
18929
18930
  }, Mb = (n) => ({ tr: e, dispatch: t }) => {
18930
18931
  if (t) {
18931
- const { doc: r } = e, { from: s, to: o } = typeof n == "number" ? { from: n, to: n } : n, i = Ye.atStart(r).from, l = Ye.atEnd(r).to, a = Pn(s, i, l), c = Pn(o, i, l), u = Ye.create(r, a, c);
18932
+ const { doc: r } = e, { from: s, to: o } = typeof n == "number" ? { from: n, to: n } : n, i = Ye.atStart(r).from, l = Ye.atEnd(r).to, a = Bn(s, i, l), c = Bn(o, i, l), u = Ye.create(r, a, c);
18932
18933
  e.setSelection(u);
18933
18934
  }
18934
18935
  return !0;
@@ -19025,7 +19026,7 @@ const Ib = ({ keepMarks: n = !0 } = {}) => ({ tr: e, state: t, dispatch: r, edit
19025
19026
  if (r === void 0)
19026
19027
  return !0;
19027
19028
  const s = n.doc.nodeAt(r);
19028
- return t.node.type === (s == null ? void 0 : s.type) && ur(n.doc, t.pos) && n.join(t.pos), !0;
19029
+ return t.node.type === (s == null ? void 0 : s.type) && dr(n.doc, t.pos) && n.join(t.pos), !0;
19029
19030
  }, Ja = (n, e) => {
19030
19031
  const t = Rc((i) => i.type === e)(n.selection);
19031
19032
  if (!t)
@@ -19034,7 +19035,7 @@ const Ib = ({ keepMarks: n = !0 } = {}) => ({ tr: e, state: t, dispatch: r, edit
19034
19035
  if (r === void 0)
19035
19036
  return !0;
19036
19037
  const s = n.doc.nodeAt(r);
19037
- return t.node.type === (s == null ? void 0 : s.type) && ur(n.doc, r) && n.join(r), !0;
19038
+ return t.node.type === (s == null ? void 0 : s.type) && dr(n.doc, r) && n.join(r), !0;
19038
19039
  }, Lb = (n, e, t, r = {}) => ({ editor: s, tr: o, state: i, dispatch: l, chain: a, commands: c, can: u }) => {
19039
19040
  const { extensions: d, splittableMarks: f } = s.extensionManager, h = ht(n, i.schema), p = ht(e, i.schema), { selection: m, storedMarks: g } = i, { $from: b, $to: A } = m, E = b.blockRange(A), v = g || m.$to.parentOffset && m.$from.marks();
19040
19041
  if (!E)
@@ -19051,7 +19052,7 @@ const Ib = ({ keepMarks: n = !0 } = {}) => ({ tr: e, state: t, dispatch: r, edit
19051
19052
  return o.ensureMarks(H), x ? !0 : c.clearNodes();
19052
19053
  }).wrapInList(h, r).command(() => Ya(o, h)).command(() => Ja(o, h)).run();
19053
19054
  }, Rb = (n, e = {}, t = {}) => ({ state: r, commands: s }) => {
19054
- const { extendEmptyMarkRange: o = !1 } = t, i = fr(n, r.schema);
19055
+ const { extendEmptyMarkRange: o = !1 } = t, i = hr(n, r.schema);
19055
19056
  return Hl(r, i, e) ? s.unsetMark(i, { extendEmptyMarkRange: o }) : s.setMark(i, e);
19056
19057
  }, Db = (n, e, t = {}) => ({ state: r, commands: s }) => {
19057
19058
  const o = ht(n, r.schema), i = ht(e, r.schema);
@@ -19086,7 +19087,7 @@ const Ib = ({ keepMarks: n = !0 } = {}) => ({ tr: e, state: t, dispatch: r, edit
19086
19087
  }), !0;
19087
19088
  }, Fb = (n, e = {}) => ({ tr: t, state: r, dispatch: s }) => {
19088
19089
  var o;
19089
- const { extendEmptyMarkRange: i = !1 } = e, { selection: l } = t, a = fr(n, r.schema), { $from: c, empty: u, ranges: d } = l;
19090
+ const { extendEmptyMarkRange: i = !1 } = e, { selection: l } = t, a = hr(n, r.schema), { $from: c, empty: u, ranges: d } = l;
19090
19091
  if (!s)
19091
19092
  return !0;
19092
19093
  if (u && i) {
@@ -19101,7 +19102,7 @@ const Ib = ({ keepMarks: n = !0 } = {}) => ({ tr: e, state: t, dispatch: r, edit
19101
19102
  }, $b = (n, e = {}) => ({ tr: t, state: r, dispatch: s }) => {
19102
19103
  let o = null, i = null;
19103
19104
  const l = ha(typeof n == "string" ? n : n.name, r.schema);
19104
- return l ? (l === "node" && (o = ht(n, r.schema)), l === "mark" && (i = fr(n, r.schema)), s && t.selection.ranges.forEach((a) => {
19105
+ return l ? (l === "node" && (o = ht(n, r.schema)), l === "mark" && (i = hr(n, r.schema)), s && t.selection.ranges.forEach((a) => {
19105
19106
  const c = a.$from.pos, u = a.$to.pos;
19106
19107
  r.doc.nodesBetween(c, u, (d, f) => {
19107
19108
  o && o === d.type && t.setNodeMarkup(f, void 0, {
@@ -19720,11 +19721,11 @@ function pi(n) {
19720
19721
  s().updateAttributes(d, o).run();
19721
19722
  }
19722
19723
  const u = i.doc.resolve(t.from - 1).nodeBefore;
19723
- u && u.type === n.type && ur(i.doc, t.from - 1) && (!n.joinPredicate || n.joinPredicate(r, u)) && i.join(t.from - 1);
19724
+ u && u.type === n.type && dr(i.doc, t.from - 1) && (!n.joinPredicate || n.joinPredicate(r, u)) && i.join(t.from - 1);
19724
19725
  }
19725
19726
  });
19726
19727
  }
19727
- class Mn {
19728
+ class On {
19728
19729
  constructor(e = {}) {
19729
19730
  this.type = "mark", this.name = "mark", this.parent = null, this.child = null, this.config = {
19730
19731
  name: this.name,
@@ -19740,7 +19741,7 @@ class Mn {
19740
19741
  })) || {};
19741
19742
  }
19742
19743
  static create(e = {}) {
19743
- return new Mn(e);
19744
+ return new On(e);
19744
19745
  }
19745
19746
  configure(e = {}) {
19746
19747
  const t = this.extend();
@@ -19750,7 +19751,7 @@ class Mn {
19750
19751
  })), t;
19751
19752
  }
19752
19753
  extend(e = {}) {
19753
- const t = new Mn(e);
19754
+ const t = new On(e);
19754
19755
  return t.parent = this, this.child = t, t.name = e.name ? e.name : t.parent.name, e.defaultOptions && console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${t.name}".`), t.options = je(Se(t, "addOptions", {
19755
19756
  name: t.name
19756
19757
  })), t.storage = je(Se(t, "addStorage", {
@@ -19770,7 +19771,7 @@ class Mn {
19770
19771
  return !1;
19771
19772
  }
19772
19773
  }
19773
- let Hn = class zl {
19774
+ let zn = class zl {
19774
19775
  constructor(e = {}) {
19775
19776
  this.type = "node", this.name = "node", this.parent = null, this.child = null, this.config = {
19776
19777
  name: this.name,
@@ -19823,12 +19824,12 @@ function uo(n) {
19823
19824
  }
19824
19825
  });
19825
19826
  }
19826
- var kt = "top", jt = "bottom", Wt = "right", Mt = "left", bo = "auto", Ls = [kt, jt, Wt, Mt], Nr = "start", As = "end", H1 = "clippingParents", Nc = "viewport", Xr = "popper", z1 = "reference", Ul = /* @__PURE__ */ Ls.reduce(function(n, e) {
19827
- return n.concat([e + "-" + Nr, e + "-" + As]);
19827
+ var kt = "top", jt = "bottom", Wt = "right", Mt = "left", bo = "auto", Ls = [kt, jt, Wt, Mt], Pr = "start", As = "end", H1 = "clippingParents", Nc = "viewport", Xr = "popper", z1 = "reference", Ul = /* @__PURE__ */ Ls.reduce(function(n, e) {
19828
+ return n.concat([e + "-" + Pr, e + "-" + As]);
19828
19829
  }, []), Pc = /* @__PURE__ */ [].concat(Ls, [bo]).reduce(function(n, e) {
19829
- return n.concat([e, e + "-" + Nr, e + "-" + As]);
19830
+ return n.concat([e, e + "-" + Pr, e + "-" + As]);
19830
19831
  }, []), U1 = "beforeRead", j1 = "read", W1 = "afterRead", K1 = "beforeMain", Q1 = "main", Y1 = "afterMain", J1 = "beforeWrite", G1 = "write", Z1 = "afterWrite", mi = [U1, j1, W1, K1, Q1, Y1, J1, G1, Z1];
19831
- function On(n) {
19832
+ function In(n) {
19832
19833
  return n ? (n.nodeName || "").toLowerCase() : null;
19833
19834
  }
19834
19835
  function Kt(n) {
@@ -19840,7 +19841,7 @@ function Kt(n) {
19840
19841
  }
19841
19842
  return n;
19842
19843
  }
19843
- function Pr(n) {
19844
+ function Br(n) {
19844
19845
  var e = Kt(n).Element;
19845
19846
  return n instanceof e || n instanceof Element;
19846
19847
  }
@@ -19858,7 +19859,7 @@ function Xb(n) {
19858
19859
  var e = n.state;
19859
19860
  Object.keys(e.elements).forEach(function(t) {
19860
19861
  var r = e.styles[t] || {}, s = e.attributes[t] || {}, o = e.elements[t];
19861
- !zt(o) || !On(o) || (Object.assign(o.style, r), Object.keys(s).forEach(function(i) {
19862
+ !zt(o) || !In(o) || (Object.assign(o.style, r), Object.keys(s).forEach(function(i) {
19862
19863
  var l = s[i];
19863
19864
  l === !1 ? o.removeAttribute(i) : o.setAttribute(i, l === !0 ? "" : l);
19864
19865
  }));
@@ -19882,7 +19883,7 @@ function qb(n) {
19882
19883
  var s = e.elements[r], o = e.attributes[r] || {}, i = Object.keys(e.styles.hasOwnProperty(r) ? e.styles[r] : t[r]), l = i.reduce(function(a, c) {
19883
19884
  return a[c] = "", a;
19884
19885
  }, {});
19885
- !zt(s) || !On(s) || (Object.assign(s.style, l), Object.keys(o).forEach(function(a) {
19886
+ !zt(s) || !In(s) || (Object.assign(s.style, l), Object.keys(o).forEach(function(a) {
19886
19887
  s.removeAttribute(a);
19887
19888
  }));
19888
19889
  });
@@ -19899,7 +19900,7 @@ const ma = {
19899
19900
  function un(n) {
19900
19901
  return n.split("-")[0];
19901
19902
  }
19902
- var _r = Math.max, gi = Math.min, Es = Math.round;
19903
+ var Lr = Math.max, gi = Math.min, Es = Math.round;
19903
19904
  function jl() {
19904
19905
  var n = navigator.userAgentData;
19905
19906
  return n != null && n.brands && Array.isArray(n.brands) ? n.brands.map(function(e) {
@@ -19913,7 +19914,7 @@ function ws(n, e, t) {
19913
19914
  e === void 0 && (e = !1), t === void 0 && (t = !1);
19914
19915
  var r = n.getBoundingClientRect(), s = 1, o = 1;
19915
19916
  e && zt(n) && (s = n.offsetWidth > 0 && Es(r.width) / n.offsetWidth || 1, o = n.offsetHeight > 0 && Es(r.height) / n.offsetHeight || 1);
19916
- var i = Pr(n) ? Kt(n) : window, l = i.visualViewport, a = !X1() && t, c = (r.left + (a && l ? l.offsetLeft : 0)) / s, u = (r.top + (a && l ? l.offsetTop : 0)) / o, d = r.width / s, f = r.height / o;
19917
+ var i = Br(n) ? Kt(n) : window, l = i.visualViewport, a = !X1() && t, c = (r.left + (a && l ? l.offsetLeft : 0)) / s, u = (r.top + (a && l ? l.offsetTop : 0)) / o, d = r.width / s, f = r.height / o;
19917
19918
  return {
19918
19919
  width: d,
19919
19920
  height: f,
@@ -19952,16 +19953,16 @@ function hn(n) {
19952
19953
  return Kt(n).getComputedStyle(n);
19953
19954
  }
19954
19955
  function eA(n) {
19955
- return ["table", "td", "th"].indexOf(On(n)) >= 0;
19956
+ return ["table", "td", "th"].indexOf(In(n)) >= 0;
19956
19957
  }
19957
- function hr(n) {
19958
- return ((Pr(n) ? n.ownerDocument : (
19958
+ function pr(n) {
19959
+ return ((Br(n) ? n.ownerDocument : (
19959
19960
  // $FlowFixMe[prop-missing]
19960
19961
  n.document
19961
19962
  )) || window.document).documentElement;
19962
19963
  }
19963
19964
  function ga(n) {
19964
- return On(n) === "html" ? n : (
19965
+ return In(n) === "html" ? n : (
19965
19966
  // this is a quicker (but less type safe) way to save quite some bytes from the bundle
19966
19967
  // $FlowFixMe[incompatible-return]
19967
19968
  // $FlowFixMe[prop-missing]
@@ -19969,7 +19970,7 @@ function ga(n) {
19969
19970
  n.parentNode || // DOM Element detected
19970
19971
  (Bc(n) ? n.host : null) || // ShadowRoot detected
19971
19972
  // $FlowFixMe[incompatible-call]: HTMLElement is a Node
19972
- hr(n)
19973
+ pr(n)
19973
19974
  );
19974
19975
  }
19975
19976
  function Nd(n) {
@@ -19984,7 +19985,7 @@ function tA(n) {
19984
19985
  return null;
19985
19986
  }
19986
19987
  var s = ga(n);
19987
- for (Bc(s) && (s = s.host); zt(s) && ["html", "body"].indexOf(On(s)) < 0; ) {
19988
+ for (Bc(s) && (s = s.host); zt(s) && ["html", "body"].indexOf(In(s)) < 0; ) {
19988
19989
  var o = hn(s);
19989
19990
  if (o.transform !== "none" || o.perspective !== "none" || o.contain === "paint" || ["transform", "perspective"].indexOf(o.willChange) !== -1 || e && o.willChange === "filter" || e && o.filter && o.filter !== "none")
19990
19991
  return s;
@@ -19995,13 +19996,13 @@ function tA(n) {
19995
19996
  function Ao(n) {
19996
19997
  for (var e = Kt(n), t = Nd(n); t && eA(t) && hn(t).position === "static"; )
19997
19998
  t = Nd(t);
19998
- return t && (On(t) === "html" || On(t) === "body" && hn(t).position === "static") ? e : t || tA(n) || e;
19999
+ return t && (In(t) === "html" || In(t) === "body" && hn(t).position === "static") ? e : t || tA(n) || e;
19999
20000
  }
20000
20001
  function $c(n) {
20001
20002
  return ["top", "bottom"].indexOf(n) >= 0 ? "x" : "y";
20002
20003
  }
20003
20004
  function Gs(n, e, t) {
20004
- return _r(n, gi(e, t));
20005
+ return Lr(n, gi(e, t));
20005
20006
  }
20006
20007
  function nA(n, e, t) {
20007
20008
  var r = Gs(n, e, t);
@@ -20082,7 +20083,7 @@ function Pd(n) {
20082
20083
  var b = i.hasOwnProperty("x"), A = i.hasOwnProperty("y"), E = Mt, v = kt, T = window;
20083
20084
  if (c) {
20084
20085
  var x = Ao(t), H = "clientHeight", U = "clientWidth";
20085
- if (x === Kt(t) && (x = hr(t), hn(x).position !== "static" && l === "absolute" && (H = "scrollHeight", U = "scrollWidth")), x = x, s === kt || (s === Mt || s === Wt) && o === As) {
20086
+ if (x === Kt(t) && (x = pr(t), hn(x).position !== "static" && l === "absolute" && (H = "scrollHeight", U = "scrollWidth")), x = x, s === kt || (s === Mt || s === Wt) && o === As) {
20086
20087
  v = jt;
20087
20088
  var j = d && x === T && T.visualViewport ? T.visualViewport.height : (
20088
20089
  // $FlowFixMe[prop-missing]
@@ -20205,10 +20206,10 @@ function zc(n) {
20205
20206
  };
20206
20207
  }
20207
20208
  function Uc(n) {
20208
- return ws(hr(n)).left + zc(n).scrollLeft;
20209
+ return ws(pr(n)).left + zc(n).scrollLeft;
20209
20210
  }
20210
20211
  function fA(n, e) {
20211
- var t = Kt(n), r = hr(n), s = t.visualViewport, o = r.clientWidth, i = r.clientHeight, l = 0, a = 0;
20212
+ var t = Kt(n), r = pr(n), s = t.visualViewport, o = r.clientWidth, i = r.clientHeight, l = 0, a = 0;
20212
20213
  if (s) {
20213
20214
  o = s.width, i = s.height;
20214
20215
  var c = X1();
@@ -20222,8 +20223,8 @@ function fA(n, e) {
20222
20223
  };
20223
20224
  }
20224
20225
  function hA(n) {
20225
- var e, t = hr(n), r = zc(n), s = (e = n.ownerDocument) == null ? void 0 : e.body, o = _r(t.scrollWidth, t.clientWidth, s ? s.scrollWidth : 0, s ? s.clientWidth : 0), i = _r(t.scrollHeight, t.clientHeight, s ? s.scrollHeight : 0, s ? s.clientHeight : 0), l = -r.scrollLeft + Uc(n), a = -r.scrollTop;
20226
- return hn(s || t).direction === "rtl" && (l += _r(t.clientWidth, s ? s.clientWidth : 0) - o), {
20226
+ var e, t = pr(n), r = zc(n), s = (e = n.ownerDocument) == null ? void 0 : e.body, o = Lr(t.scrollWidth, t.clientWidth, s ? s.scrollWidth : 0, s ? s.clientWidth : 0), i = Lr(t.scrollHeight, t.clientHeight, s ? s.scrollHeight : 0, s ? s.clientHeight : 0), l = -r.scrollLeft + Uc(n), a = -r.scrollTop;
20227
+ return hn(s || t).direction === "rtl" && (l += Lr(t.clientWidth, s ? s.clientWidth : 0) - o), {
20227
20228
  width: o,
20228
20229
  height: i,
20229
20230
  x: l,
@@ -20235,7 +20236,7 @@ function jc(n) {
20235
20236
  return /auto|scroll|overlay|hidden/.test(t + s + r);
20236
20237
  }
20237
20238
  function sp(n) {
20238
- return ["html", "body", "#document"].indexOf(On(n)) >= 0 ? n.ownerDocument.body : zt(n) && jc(n) ? n : sp(ga(n));
20239
+ return ["html", "body", "#document"].indexOf(In(n)) >= 0 ? n.ownerDocument.body : zt(n) && jc(n) ? n : sp(ga(n));
20239
20240
  }
20240
20241
  function Zs(n, e) {
20241
20242
  var t;
@@ -20259,18 +20260,18 @@ function pA(n, e) {
20259
20260
  return t.top = t.top + n.clientTop, t.left = t.left + n.clientLeft, t.bottom = t.top + n.clientHeight, t.right = t.left + n.clientWidth, t.width = n.clientWidth, t.height = n.clientHeight, t.x = t.left, t.y = t.top, t;
20260
20261
  }
20261
20262
  function Fd(n, e, t) {
20262
- return e === Nc ? Wl(fA(n, t)) : Pr(e) ? pA(e, t) : Wl(hA(hr(n)));
20263
+ return e === Nc ? Wl(fA(n, t)) : Br(e) ? pA(e, t) : Wl(hA(pr(n)));
20263
20264
  }
20264
20265
  function mA(n) {
20265
20266
  var e = Zs(ga(n)), t = ["absolute", "fixed"].indexOf(hn(n).position) >= 0, r = t && zt(n) ? Ao(n) : n;
20266
- return Pr(r) ? e.filter(function(s) {
20267
- return Pr(s) && q1(s, r) && On(s) !== "body";
20267
+ return Br(r) ? e.filter(function(s) {
20268
+ return Br(s) && q1(s, r) && In(s) !== "body";
20268
20269
  }) : [];
20269
20270
  }
20270
20271
  function gA(n, e, t, r) {
20271
20272
  var s = e === "clippingParents" ? mA(n) : [].concat(e), o = [].concat(s, [t]), i = o[0], l = o.reduce(function(a, c) {
20272
20273
  var u = Fd(n, c, r);
20273
- return a.top = _r(u.top, a.top), a.right = gi(u.right, a.right), a.bottom = gi(u.bottom, a.bottom), a.left = _r(u.left, a.left), a;
20274
+ return a.top = Lr(u.top, a.top), a.right = gi(u.right, a.right), a.bottom = gi(u.bottom, a.bottom), a.left = Lr(u.left, a.left), a;
20274
20275
  }, Fd(n, i, r));
20275
20276
  return l.width = l.right - l.left, l.height = l.bottom - l.top, l.x = l.left, l.y = l.top, l;
20276
20277
  }
@@ -20311,7 +20312,7 @@ function op(n) {
20311
20312
  if (c != null) {
20312
20313
  var u = c === "y" ? "height" : "width";
20313
20314
  switch (o) {
20314
- case Nr:
20315
+ case Pr:
20315
20316
  a[c] = a[c] - (e[u] / 2 - t[u] / 2);
20316
20317
  break;
20317
20318
  case As:
@@ -20323,7 +20324,7 @@ function op(n) {
20323
20324
  }
20324
20325
  function Ss(n, e) {
20325
20326
  e === void 0 && (e = {});
20326
- var t = e, r = t.placement, s = r === void 0 ? n.placement : r, o = t.strategy, i = o === void 0 ? n.strategy : o, l = t.boundary, a = l === void 0 ? H1 : l, c = t.rootBoundary, u = c === void 0 ? Nc : c, d = t.elementContext, f = d === void 0 ? Xr : d, h = t.altBoundary, p = h === void 0 ? !1 : h, m = t.padding, g = m === void 0 ? 0 : m, b = tp(typeof g != "number" ? g : np(g, Ls)), A = f === Xr ? z1 : Xr, E = n.rects.popper, v = n.elements[p ? A : f], T = gA(Pr(v) ? v : v.contextElement || hr(n.elements.popper), a, u, i), x = ws(n.elements.reference), H = op({
20327
+ var t = e, r = t.placement, s = r === void 0 ? n.placement : r, o = t.strategy, i = o === void 0 ? n.strategy : o, l = t.boundary, a = l === void 0 ? H1 : l, c = t.rootBoundary, u = c === void 0 ? Nc : c, d = t.elementContext, f = d === void 0 ? Xr : d, h = t.altBoundary, p = h === void 0 ? !1 : h, m = t.padding, g = m === void 0 ? 0 : m, b = tp(typeof g != "number" ? g : np(g, Ls)), A = f === Xr ? z1 : Xr, E = n.rects.popper, v = n.elements[p ? A : f], T = gA(Br(v) ? v : v.contextElement || pr(n.elements.popper), a, u, i), x = ws(n.elements.reference), H = op({
20327
20328
  reference: x,
20328
20329
  element: E,
20329
20330
  strategy: "absolute",
@@ -20382,7 +20383,7 @@ function CA(n) {
20382
20383
  allowedAutoPlacements: m
20383
20384
  }) : Me);
20384
20385
  }, []), T = e.rects.reference, x = e.rects.popper, H = /* @__PURE__ */ new Map(), U = !0, j = v[0], B = 0; B < v.length; B++) {
20385
- var R = v[B], z = un(R), Q = xs(R) === Nr, W = [kt, jt].indexOf(z) >= 0, V = W ? "width" : "height", $ = Ss(e, {
20386
+ var R = v[B], z = un(R), Q = xs(R) === Pr, W = [kt, jt].indexOf(z) >= 0, V = W ? "width" : "height", $ = Ss(e, {
20386
20387
  placement: R,
20387
20388
  boundary: u,
20388
20389
  rootBoundary: d,
@@ -20531,10 +20532,10 @@ function SA(n) {
20531
20532
  };
20532
20533
  if (x) {
20533
20534
  if (o) {
20534
- var Q, W = v === "y" ? kt : Mt, V = v === "y" ? jt : Wt, $ = v === "y" ? "height" : "width", G = x[v], L = G + g[W], ee = G - g[V], re = h ? -U[$] / 2 : 0, fe = A === Nr ? H[$] : U[$], Ce = A === Nr ? -U[$] : -H[$], be = e.elements.arrow, Te = h && be ? Fc(be) : {
20535
+ var Q, W = v === "y" ? kt : Mt, V = v === "y" ? jt : Wt, $ = v === "y" ? "height" : "width", G = x[v], L = G + g[W], ee = G - g[V], re = h ? -U[$] / 2 : 0, fe = A === Pr ? H[$] : U[$], Ce = A === Pr ? -U[$] : -H[$], be = e.elements.arrow, Te = h && be ? Fc(be) : {
20535
20536
  width: 0,
20536
20537
  height: 0
20537
- }, Me = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : ep(), _e = Me[W], we = Me[V], S = Gs(0, H[$], Te[$]), M = E ? H[$] / 2 - re - S - _e - B.mainAxis : fe - S - _e - B.mainAxis, w = E ? -H[$] / 2 + re + S + we + B.mainAxis : Ce + S + we + B.mainAxis, k = e.elements.arrow && Ao(e.elements.arrow), y = k ? v === "y" ? k.clientTop || 0 : k.clientLeft || 0 : 0, C = (Q = R == null ? void 0 : R[v]) != null ? Q : 0, I = G + M - C - y, _ = G + w - C, N = Gs(h ? gi(L, I) : L, G, h ? _r(ee, _) : ee);
20538
+ }, Me = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : ep(), _e = Me[W], we = Me[V], S = Gs(0, H[$], Te[$]), M = E ? H[$] / 2 - re - S - _e - B.mainAxis : fe - S - _e - B.mainAxis, w = E ? -H[$] / 2 + re + S + we + B.mainAxis : Ce + S + we + B.mainAxis, k = e.elements.arrow && Ao(e.elements.arrow), y = k ? v === "y" ? k.clientTop || 0 : k.clientLeft || 0 : 0, C = (Q = R == null ? void 0 : R[v]) != null ? Q : 0, I = G + M - C - y, _ = G + w - C, N = Gs(h ? gi(L, I) : L, G, h ? Lr(ee, _) : ee);
20538
20539
  x[v] = N, z[v] = N - G;
20539
20540
  }
20540
20541
  if (l) {
@@ -20566,14 +20567,14 @@ function MA(n) {
20566
20567
  }
20567
20568
  function OA(n, e, t) {
20568
20569
  t === void 0 && (t = !1);
20569
- var r = zt(e), s = zt(e) && MA(e), o = hr(e), i = ws(n, s, t), l = {
20570
+ var r = zt(e), s = zt(e) && MA(e), o = pr(e), i = ws(n, s, t), l = {
20570
20571
  scrollLeft: 0,
20571
20572
  scrollTop: 0
20572
20573
  }, a = {
20573
20574
  x: 0,
20574
20575
  y: 0
20575
20576
  };
20576
- return (r || !r && !t) && ((On(e) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
20577
+ return (r || !r && !t) && ((In(e) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
20577
20578
  jc(o)) && (l = kA(e)), zt(e) ? (a = ws(e, !0), a.x += e.clientLeft, a.y += e.clientTop) : o && (a.x = Uc(o))), {
20578
20579
  x: i.left + l.scrollLeft - a.x,
20579
20580
  y: i.top + l.scrollTop - a.y,
@@ -20618,14 +20619,14 @@ function LA(n) {
20618
20619
  })), e;
20619
20620
  };
20620
20621
  }
20621
- function Wn(n) {
20622
+ function Kn(n) {
20622
20623
  for (var e = arguments.length, t = new Array(e > 1 ? e - 1 : 0), r = 1; r < e; r++)
20623
20624
  t[r - 1] = arguments[r];
20624
20625
  return [].concat(t).reduce(function(s, o) {
20625
20626
  return s.replace(/%s/, o);
20626
20627
  }, n);
20627
20628
  }
20628
- var vr = 'Popper: modifier "%s" provided an invalid %s property, expected %s but got %s', RA = 'Popper: modifier "%s" requires "%s", but "%s" modifier is not available', Hd = ["name", "enabled", "phase", "fn", "effect", "requires", "options"];
20629
+ var yr = 'Popper: modifier "%s" provided an invalid %s property, expected %s but got %s', RA = 'Popper: modifier "%s" requires "%s", but "%s" modifier is not available', Hd = ["name", "enabled", "phase", "fn", "effect", "requires", "options"];
20629
20630
  function DA(n) {
20630
20631
  n.forEach(function(e) {
20631
20632
  [].concat(Object.keys(e), Hd).filter(function(t, r, s) {
@@ -20633,25 +20634,25 @@ function DA(n) {
20633
20634
  }).forEach(function(t) {
20634
20635
  switch (t) {
20635
20636
  case "name":
20636
- typeof e.name != "string" && console.error(Wn(vr, String(e.name), '"name"', '"string"', '"' + String(e.name) + '"'));
20637
+ typeof e.name != "string" && console.error(Kn(yr, String(e.name), '"name"', '"string"', '"' + String(e.name) + '"'));
20637
20638
  break;
20638
20639
  case "enabled":
20639
- typeof e.enabled != "boolean" && console.error(Wn(vr, e.name, '"enabled"', '"boolean"', '"' + String(e.enabled) + '"'));
20640
+ typeof e.enabled != "boolean" && console.error(Kn(yr, e.name, '"enabled"', '"boolean"', '"' + String(e.enabled) + '"'));
20640
20641
  break;
20641
20642
  case "phase":
20642
- mi.indexOf(e.phase) < 0 && console.error(Wn(vr, e.name, '"phase"', "either " + mi.join(", "), '"' + String(e.phase) + '"'));
20643
+ mi.indexOf(e.phase) < 0 && console.error(Kn(yr, e.name, '"phase"', "either " + mi.join(", "), '"' + String(e.phase) + '"'));
20643
20644
  break;
20644
20645
  case "fn":
20645
- typeof e.fn != "function" && console.error(Wn(vr, e.name, '"fn"', '"function"', '"' + String(e.fn) + '"'));
20646
+ typeof e.fn != "function" && console.error(Kn(yr, e.name, '"fn"', '"function"', '"' + String(e.fn) + '"'));
20646
20647
  break;
20647
20648
  case "effect":
20648
- e.effect != null && typeof e.effect != "function" && console.error(Wn(vr, e.name, '"effect"', '"function"', '"' + String(e.fn) + '"'));
20649
+ e.effect != null && typeof e.effect != "function" && console.error(Kn(yr, e.name, '"effect"', '"function"', '"' + String(e.fn) + '"'));
20649
20650
  break;
20650
20651
  case "requires":
20651
- e.requires != null && !Array.isArray(e.requires) && console.error(Wn(vr, e.name, '"requires"', '"array"', '"' + String(e.requires) + '"'));
20652
+ e.requires != null && !Array.isArray(e.requires) && console.error(Kn(yr, e.name, '"requires"', '"array"', '"' + String(e.requires) + '"'));
20652
20653
  break;
20653
20654
  case "requiresIfExists":
20654
- Array.isArray(e.requiresIfExists) || console.error(Wn(vr, e.name, '"requiresIfExists"', '"array"', '"' + String(e.requiresIfExists) + '"'));
20655
+ Array.isArray(e.requiresIfExists) || console.error(Kn(yr, e.name, '"requiresIfExists"', '"array"', '"' + String(e.requiresIfExists) + '"'));
20655
20656
  break;
20656
20657
  case "options":
20657
20658
  case "data":
@@ -20664,7 +20665,7 @@ function DA(n) {
20664
20665
  e.requires && e.requires.forEach(function(r) {
20665
20666
  n.find(function(s) {
20666
20667
  return s.name === r;
20667
- }) == null && console.error(Wn(RA, String(e.name), r, r));
20668
+ }) == null && console.error(Kn(RA, String(e.name), r, r));
20668
20669
  });
20669
20670
  });
20670
20671
  });
@@ -20722,7 +20723,7 @@ function va(n) {
20722
20723
  setOptions: function(b) {
20723
20724
  var A = typeof b == "function" ? b(u.options) : b;
20724
20725
  m(), u.options = Object.assign({}, o, u.options, A), u.scrollParents = {
20725
- reference: Pr(l) ? Zs(l) : l.contextElement ? Zs(l.contextElement) : [],
20726
+ reference: Br(l) ? Zs(l) : l.contextElement ? Zs(l.contextElement) : [],
20726
20727
  popper: Zs(a)
20727
20728
  };
20728
20729
  var E = _A(PA([].concat(r, u.options.modifiers)));
@@ -20863,13 +20864,13 @@ const up = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
20863
20864
  read: j1,
20864
20865
  reference: z1,
20865
20866
  right: Wt,
20866
- start: Nr,
20867
+ start: Pr,
20867
20868
  top: kt,
20868
20869
  variationPlacements: Ul,
20869
20870
  viewport: Nc,
20870
20871
  write: G1
20871
20872
  }, Symbol.toStringTag, { value: "Module" }));
20872
- var zA = "tippy-box", dp = "tippy-content", UA = "tippy-backdrop", fp = "tippy-arrow", hp = "tippy-svg-arrow", yr = {
20873
+ var zA = "tippy-box", dp = "tippy-content", UA = "tippy-backdrop", fp = "tippy-arrow", hp = "tippy-svg-arrow", Cr = {
20873
20874
  passive: !0,
20874
20875
  capture: !0
20875
20876
  }, pp = function() {
@@ -21010,7 +21011,7 @@ function nE() {
21010
21011
  }
21011
21012
  }
21012
21013
  function rE() {
21013
- document.addEventListener("touchstart", tE, yr), window.addEventListener("blur", nE);
21014
+ document.addEventListener("touchstart", tE, Cr), window.addEventListener("blur", nE);
21014
21015
  }
21015
21016
  var sE = typeof window < "u" && typeof document < "u", oE = sE ? (
21016
21017
  // @ts-ignore
@@ -21049,7 +21050,7 @@ process.env.NODE_ENV !== "production" && aE();
21049
21050
  function aE() {
21050
21051
  ho = /* @__PURE__ */ new Set();
21051
21052
  }
21052
- function Nn(n, e) {
21053
+ function Pn(n, e) {
21053
21054
  if (n && !ho.has(e)) {
21054
21055
  var t;
21055
21056
  ho.add(e), (t = console).warn.apply(t, vp(e));
@@ -21181,7 +21182,7 @@ function bp(n, e) {
21181
21182
  var s = WA(Ht, Object.keys(yp)), o = !jA(s, r);
21182
21183
  o && (o = e.filter(function(i) {
21183
21184
  return i.name === r;
21184
- }).length === 0), Nn(o, ["`" + r + "`", "is not a valid prop. You may have spelled it incorrectly, or if it's", "a plugin, forgot to pass it in an array as props.plugins.", `
21185
+ }).length === 0), Pn(o, ["`" + r + "`", "is not a valid prop. You may have spelled it incorrectly, or if it's", "a plugin, forgot to pass it in an array as props.plugins.", `
21185
21186
 
21186
21187
  `, `All props: https://atomiks.github.io/tippyjs/v6/all-props/
21187
21188
  `, "Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "));
@@ -21262,7 +21263,7 @@ function mE(n, e) {
21262
21263
  enable: me,
21263
21264
  disable: ke,
21264
21265
  unmount: yt,
21265
- destroy: Un
21266
+ destroy: jn
21266
21267
  };
21267
21268
  if (!t.render)
21268
21269
  return process.env.NODE_ENV !== "production" && Kl(!0, "render() function has not been supplied."), v;
@@ -21364,11 +21365,11 @@ function mE(n, e) {
21364
21365
  }
21365
21366
  function Me() {
21366
21367
  var te = W();
21367
- te.addEventListener("mousedown", Ce, !0), te.addEventListener("touchend", Ce, yr), te.addEventListener("touchstart", Te, yr), te.addEventListener("touchmove", be, yr);
21368
+ te.addEventListener("mousedown", Ce, !0), te.addEventListener("touchend", Ce, Cr), te.addEventListener("touchstart", Te, Cr), te.addEventListener("touchmove", be, Cr);
21368
21369
  }
21369
21370
  function _e() {
21370
21371
  var te = W();
21371
- te.removeEventListener("mousedown", Ce, !0), te.removeEventListener("touchend", Ce, yr), te.removeEventListener("touchstart", Te, yr), te.removeEventListener("touchmove", be, yr);
21372
+ te.removeEventListener("mousedown", Ce, !0), te.removeEventListener("touchend", Ce, Cr), te.removeEventListener("touchstart", Te, Cr), te.removeEventListener("touchmove", be, Cr);
21372
21373
  }
21373
21374
  function we(te, he) {
21374
21375
  M(te, function() {
@@ -21474,8 +21475,8 @@ function mE(n, e) {
21474
21475
  enabled: !0,
21475
21476
  phase: "beforeWrite",
21476
21477
  requires: ["computeStyles"],
21477
- fn: function(jn) {
21478
- var $t = jn.state;
21478
+ fn: function(Wn) {
21479
+ var $t = Wn.state;
21479
21480
  if (z()) {
21480
21481
  var Yt = V(), Hr = Yt.box;
21481
21482
  ["placement", "reference-hidden", "escaped"].forEach(function(Jt) {
@@ -21526,7 +21527,7 @@ function mE(n, e) {
21526
21527
  }
21527
21528
  function J() {
21528
21529
  var te = v.props.appendTo, he, pe = Q();
21529
- v.props.interactive && te === pp || te === "parent" ? he = pe.parentNode : he = mp(te, [pe]), he.contains(x) || he.appendChild(x), v.state.isMounted = !0, Y(), process.env.NODE_ENV !== "production" && Nn(v.props.interactive && te === Ht.appendTo && pe.nextElementSibling !== x, ["Interactive tippy element may not be accessible via keyboard", "navigation because it is not directly after the reference element", "in the DOM source order.", `
21530
+ v.props.interactive && te === pp || te === "parent" ? he = pe.parentNode : he = mp(te, [pe]), he.contains(x) || he.appendChild(x), v.state.isMounted = !0, Y(), process.env.NODE_ENV !== "production" && Pn(v.props.interactive && te === Ht.appendTo && pe.nextElementSibling !== x, ["Interactive tippy element may not be accessible via keyboard", "navigation because it is not directly after the reference element", "in the DOM source order.", `
21530
21531
 
21531
21532
  `, "Using a wrapper <div> or <span> tag around the reference element", "solves this by creating a new parentNode context.", `
21532
21533
 
@@ -21568,7 +21569,7 @@ function mE(n, e) {
21568
21569
  clearTimeout(r), clearTimeout(s), cancelAnimationFrame(o);
21569
21570
  }
21570
21571
  function qe(te) {
21571
- if (process.env.NODE_ENV !== "production" && Nn(v.state.isDestroyed, jr("setProps")), !v.state.isDestroyed) {
21572
+ if (process.env.NODE_ENV !== "production" && Pn(v.state.isDestroyed, jr("setProps")), !v.state.isDestroyed) {
21572
21573
  L("onBeforeUpdate", [v, te]), y();
21573
21574
  var he = v.props, pe = Xd(n, Object.assign({}, he, Qd(te), {
21574
21575
  ignoreAttributes: !0
@@ -21586,7 +21587,7 @@ function mE(n, e) {
21586
21587
  });
21587
21588
  }
21588
21589
  function Ue() {
21589
- process.env.NODE_ENV !== "production" && Nn(v.state.isDestroyed, jr("show"));
21590
+ process.env.NODE_ENV !== "production" && Pn(v.state.isDestroyed, jr("show"));
21590
21591
  var te = v.state.isVisible, he = v.state.isDestroyed, pe = !v.state.isEnabled, Le = An.isTouch && !v.props.touch, Ne = Ga(v.props.duration, 0, Ht.duration);
21591
21592
  if (!(te || he || pe || Le) && !Q().hasAttribute("disabled") && (L("onShow", [v], !1), v.props.onShow(v) !== !1)) {
21592
21593
  if (v.state.isVisible = !0, z() && (x.style.visibility = "visible"), G(), Me(), v.state.isMounted || (x.style.transition = "none"), z()) {
@@ -21597,8 +21598,8 @@ function mE(n, e) {
21597
21598
  var pt;
21598
21599
  if (!(!v.state.isVisible || c)) {
21599
21600
  if (c = !0, x.offsetHeight, x.style.transition = v.props.moveTransition, z() && v.props.animation) {
21600
- var gn = V(), jn = gn.box, $t = gn.content;
21601
- Za([jn, $t], Ne), Yd([jn, $t], "visible");
21601
+ var gn = V(), Wn = gn.box, $t = gn.content;
21602
+ Za([Wn, $t], Ne), Yd([Wn, $t], "visible");
21602
21603
  }
21603
21604
  ee(), re(), Kd(qa, v), (pt = v.popperInstance) == null || pt.forceUpdate(), L("onMount", [v]), v.props.animation && z() && S(Ne, function() {
21604
21605
  v.state.isShown = !0, L("onShown", [v]);
@@ -21608,7 +21609,7 @@ function mE(n, e) {
21608
21609
  }
21609
21610
  }
21610
21611
  function ct() {
21611
- process.env.NODE_ENV !== "production" && Nn(v.state.isDestroyed, jr("hide"));
21612
+ process.env.NODE_ENV !== "production" && Pn(v.state.isDestroyed, jr("hide"));
21612
21613
  var te = !v.state.isVisible, he = v.state.isDestroyed, pe = !v.state.isEnabled, Le = Ga(v.props.duration, 1, Ht.duration);
21613
21614
  if (!(te || he || pe) && (L("onHide", [v], !1), v.props.onHide(v) !== !1)) {
21614
21615
  if (v.state.isVisible = !1, v.state.isShown = !1, c = !1, i = !1, z() && (x.style.visibility = "hidden"), fe(), _e(), G(!0), z()) {
@@ -21619,17 +21620,17 @@ function mE(n, e) {
21619
21620
  }
21620
21621
  }
21621
21622
  function Rt(te) {
21622
- process.env.NODE_ENV !== "production" && Nn(v.state.isDestroyed, jr("hideWithInteractivity")), W().addEventListener("mousemove", p), Kd(Ro, p), p(te);
21623
+ process.env.NODE_ENV !== "production" && Pn(v.state.isDestroyed, jr("hideWithInteractivity")), W().addEventListener("mousemove", p), Kd(Ro, p), p(te);
21623
21624
  }
21624
21625
  function yt() {
21625
- process.env.NODE_ENV !== "production" && Nn(v.state.isDestroyed, jr("unmount")), v.state.isVisible && v.hide(), v.state.isMounted && (Z(), X().forEach(function(te) {
21626
+ process.env.NODE_ENV !== "production" && Pn(v.state.isDestroyed, jr("unmount")), v.state.isVisible && v.hide(), v.state.isMounted && (Z(), X().forEach(function(te) {
21626
21627
  te._tippy.unmount();
21627
21628
  }), x.parentNode && x.parentNode.removeChild(x), qa = qa.filter(function(te) {
21628
21629
  return te !== v;
21629
21630
  }), v.state.isMounted = !1, L("onHidden", [v]));
21630
21631
  }
21631
- function Un() {
21632
- process.env.NODE_ENV !== "production" && Nn(v.state.isDestroyed, jr("destroy")), !v.state.isDestroyed && (v.clearDelayTimeouts(), v.unmount(), y(), delete n._tippy, v.state.isDestroyed = !0, L("onDestroy", [v]));
21632
+ function jn() {
21633
+ process.env.NODE_ENV !== "production" && Pn(v.state.isDestroyed, jr("destroy")), !v.state.isDestroyed && (v.clearDelayTimeouts(), v.unmount(), y(), delete n._tippy, v.state.isDestroyed = !0, L("onDestroy", [v]));
21633
21634
  }
21634
21635
  }
21635
21636
  function Rs(n, e) {
@@ -21641,7 +21642,7 @@ function Rs(n, e) {
21641
21642
  }), s = XA(n);
21642
21643
  if (process.env.NODE_ENV !== "production") {
21643
21644
  var o = fo(r.content), i = s.length > 1;
21644
- Nn(o && i, ["tippy() was passed an Element as the `content` prop, but more than", "one tippy instance was created by this invocation. This means the", "content element will only be appended to the last tippy instance.", `
21645
+ Pn(o && i, ["tippy() was passed an Element as the `content` prop, but more than", "one tippy instance was created by this invocation. This means the", "content element will only be appended to the last tippy instance.", `
21645
21646
 
21646
21647
  `, "Instead, pass the .innerHTML of the element, or use a function that", "returns a cloned version of the element instead.", `
21647
21648
 
@@ -21912,7 +21913,7 @@ Be({
21912
21913
  },
21913
21914
  setup(n, { slots: e }) {
21914
21915
  const t = ze(null);
21915
- return Vn(() => {
21916
+ return Hn(() => {
21916
21917
  const { updateDelay: r, editor: s, pluginKey: o, shouldShow: i, tippyOptions: l } = n;
21917
21918
  s.registerPlugin(Ep({
21918
21919
  updateDelay: r,
@@ -22044,7 +22045,7 @@ Be({
22044
22045
  },
22045
22046
  setup(n, { slots: e }) {
22046
22047
  const t = ze(null);
22047
- return Vn(() => {
22048
+ return Hn(() => {
22048
22049
  const { pluginKey: r, editor: s, tippyOptions: o, shouldShow: i } = n;
22049
22050
  s.registerPlugin(wp({
22050
22051
  pluginKey: r,
@@ -22104,17 +22105,17 @@ Be({
22104
22105
  });
22105
22106
  const bE = (n = {}) => {
22106
22107
  const e = y0();
22107
- return Vn(() => {
22108
+ return Hn(() => {
22108
22109
  e.value = new yE(n);
22109
22110
  }), qi(() => {
22110
22111
  var t;
22111
22112
  (t = e.value) === null || t === void 0 || t.destroy();
22112
22113
  }), e;
22113
- }, AE = Hn.create({
22114
+ }, AE = zn.create({
22114
22115
  name: "doc",
22115
22116
  topNode: !0,
22116
22117
  content: "block+"
22117
- }), EE = Hn.create({
22118
+ }), EE = zn.create({
22118
22119
  name: "paragraph",
22119
22120
  priority: 1e3,
22120
22121
  addOptions() {
@@ -22142,7 +22143,7 @@ const bE = (n = {}) => {
22142
22143
  "Mod-Alt-0": () => this.editor.commands.setParagraph()
22143
22144
  };
22144
22145
  }
22145
- }), wE = Hn.create({
22146
+ }), wE = zn.create({
22146
22147
  name: "text",
22147
22148
  group: "inline"
22148
22149
  }), xE = "aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4vianca6w0s2x0a2z0ure5ba0by2idu3namex3narepublic11d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2ntley5rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0cast4mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dabur3d1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0ardian6cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6logistics9properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3ncaster6d0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2psy3ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2tura4vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9dnavy5lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0a1b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp2w2ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4finity6ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2", SE = "ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2", Ts = (n, e) => {
@@ -22153,7 +22154,7 @@ const bE = (n = {}) => {
22153
22154
  function ME(n, e) {
22154
22155
  return n in e || (e[n] = []), e[n];
22155
22156
  }
22156
- function wr(n, e, t) {
22157
+ function xr(n, e, t) {
22157
22158
  e[Jl] && (e[Qo] = !0, e[Do] = !0), e[Gl] && (e[Qo] = !0, e[Zl] = !0), e[Qo] && (e[Do] = !0), e[Zl] && (e[Do] = !0), e[Do] && (e[Xl] = !0), e[xp] && (e[Xl] = !0);
22158
22159
  for (const r in e) {
22159
22160
  const s = ME(r, t);
@@ -22225,7 +22226,7 @@ Nt.prototype = {
22225
22226
  tr(n, e, t, r) {
22226
22227
  r = r || Nt.groups;
22227
22228
  let s;
22228
- return e && e.j ? s = e : (s = new Nt(e), t && r && wr(e, t, r)), this.jr.push([n, s]), s;
22229
+ return e && e.j ? s = e : (s = new Nt(e), t && r && xr(e, t, r)), this.jr.push([n, s]), s;
22229
22230
  },
22230
22231
  /**
22231
22232
  * Short for "take transitions", will take as many sequential transitions as
@@ -22283,18 +22284,18 @@ Nt.prototype = {
22283
22284
  if (r)
22284
22285
  if (i.t && typeof i.t == "string") {
22285
22286
  const a = Ts(OE(i.t, r), t);
22286
- wr(o, a, r);
22287
+ xr(o, a, r);
22287
22288
  } else
22288
- t && wr(o, t, r);
22289
+ t && xr(o, t, r);
22289
22290
  i.t = o;
22290
22291
  }
22291
22292
  return s.j[n] = i, i;
22292
22293
  }
22293
22294
  };
22294
- const $e = (n, e, t, r, s) => n.ta(e, t, r, s), Xt = (n, e, t, r, s) => n.tr(e, t, r, s), rf = (n, e, t, r, s) => n.ts(e, t, r, s), ge = (n, e, t, r, s) => n.tt(e, t, r, s), Rn = "WORD", ql = "UWORD", po = "LOCALHOST", ec = "TLD", tc = "UTLD", Yo = "SCHEME", es = "SLASH_SCHEME", Qc = "NUM", Sp = "WS", Yc = "NL", qs = "OPENBRACE", eo = "CLOSEBRACE", yi = "OPENBRACKET", Ci = "CLOSEBRACKET", bi = "OPENPAREN", Ai = "CLOSEPAREN", Ei = "OPENANGLEBRACKET", wi = "CLOSEANGLEBRACKET", xi = "FULLWIDTHLEFTPAREN", Si = "FULLWIDTHRIGHTPAREN", Ti = "LEFTCORNERBRACKET", ki = "RIGHTCORNERBRACKET", Mi = "LEFTWHITECORNERBRACKET", Oi = "RIGHTWHITECORNERBRACKET", Ii = "FULLWIDTHLESSTHAN", _i = "FULLWIDTHGREATERTHAN", Li = "AMPERSAND", Ri = "APOSTROPHE", Di = "ASTERISK", Gn = "AT", Ni = "BACKSLASH", Pi = "BACKTICK", Bi = "CARET", Xn = "COLON", Jc = "COMMA", Fi = "DOLLAR", yn = "DOT", $i = "EQUALS", Gc = "EXCLAMATION", Cn = "HYPHEN", Vi = "PERCENT", Hi = "PIPE", zi = "PLUS", Ui = "POUND", ji = "QUERY", Zc = "QUOTE", Xc = "SEMI", bn = "SLASH", to = "TILDE", Wi = "UNDERSCORE", Tp = "EMOJI", Ki = "SYM";
22295
+ const $e = (n, e, t, r, s) => n.ta(e, t, r, s), Xt = (n, e, t, r, s) => n.tr(e, t, r, s), rf = (n, e, t, r, s) => n.ts(e, t, r, s), ge = (n, e, t, r, s) => n.tt(e, t, r, s), Dn = "WORD", ql = "UWORD", po = "LOCALHOST", ec = "TLD", tc = "UTLD", Yo = "SCHEME", es = "SLASH_SCHEME", Qc = "NUM", Sp = "WS", Yc = "NL", qs = "OPENBRACE", eo = "CLOSEBRACE", yi = "OPENBRACKET", Ci = "CLOSEBRACKET", bi = "OPENPAREN", Ai = "CLOSEPAREN", Ei = "OPENANGLEBRACKET", wi = "CLOSEANGLEBRACKET", xi = "FULLWIDTHLEFTPAREN", Si = "FULLWIDTHRIGHTPAREN", Ti = "LEFTCORNERBRACKET", ki = "RIGHTCORNERBRACKET", Mi = "LEFTWHITECORNERBRACKET", Oi = "RIGHTWHITECORNERBRACKET", Ii = "FULLWIDTHLESSTHAN", _i = "FULLWIDTHGREATERTHAN", Li = "AMPERSAND", Ri = "APOSTROPHE", Di = "ASTERISK", Zn = "AT", Ni = "BACKSLASH", Pi = "BACKTICK", Bi = "CARET", qn = "COLON", Jc = "COMMA", Fi = "DOLLAR", yn = "DOT", $i = "EQUALS", Gc = "EXCLAMATION", Cn = "HYPHEN", Vi = "PERCENT", Hi = "PIPE", zi = "PLUS", Ui = "POUND", ji = "QUERY", Zc = "QUOTE", Xc = "SEMI", bn = "SLASH", to = "TILDE", Wi = "UNDERSCORE", Tp = "EMOJI", Ki = "SYM";
22295
22296
  var kp = /* @__PURE__ */ Object.freeze({
22296
22297
  __proto__: null,
22297
- WORD: Rn,
22298
+ WORD: Dn,
22298
22299
  UWORD: ql,
22299
22300
  LOCALHOST: po,
22300
22301
  TLD: ec,
@@ -22323,11 +22324,11 @@ var kp = /* @__PURE__ */ Object.freeze({
22323
22324
  AMPERSAND: Li,
22324
22325
  APOSTROPHE: Ri,
22325
22326
  ASTERISK: Di,
22326
- AT: Gn,
22327
+ AT: Zn,
22327
22328
  BACKSLASH: Ni,
22328
22329
  BACKTICK: Pi,
22329
22330
  CARET: Bi,
22330
- COLON: Xn,
22331
+ COLON: qn,
22331
22332
  COMMA: Jc,
22332
22333
  DOLLAR: Fi,
22333
22334
  DOT: yn,
@@ -22355,12 +22356,12 @@ function LE(n) {
22355
22356
  const e = {};
22356
22357
  Nt.groups = e;
22357
22358
  const t = new Nt();
22358
- No == null && (No = af(xE)), Po == null && (Po = af(SE)), ge(t, "'", Ri), ge(t, "{", qs), ge(t, "}", eo), ge(t, "[", yi), ge(t, "]", Ci), ge(t, "(", bi), ge(t, ")", Ai), ge(t, "<", Ei), ge(t, ">", wi), ge(t, "(", xi), ge(t, ")", Si), ge(t, "「", Ti), ge(t, "」", ki), ge(t, "『", Mi), ge(t, "』", Oi), ge(t, "<", Ii), ge(t, ">", _i), ge(t, "&", Li), ge(t, "*", Di), ge(t, "@", Gn), ge(t, "`", Pi), ge(t, "^", Bi), ge(t, ":", Xn), ge(t, ",", Jc), ge(t, "$", Fi), ge(t, ".", yn), ge(t, "=", $i), ge(t, "!", Gc), ge(t, "-", Cn), ge(t, "%", Vi), ge(t, "|", Hi), ge(t, "+", zi), ge(t, "#", Ui), ge(t, "?", ji), ge(t, '"', Zc), ge(t, "/", bn), ge(t, ";", Xc), ge(t, "~", to), ge(t, "_", Wi), ge(t, "\\", Ni);
22359
+ No == null && (No = af(xE)), Po == null && (Po = af(SE)), ge(t, "'", Ri), ge(t, "{", qs), ge(t, "}", eo), ge(t, "[", yi), ge(t, "]", Ci), ge(t, "(", bi), ge(t, ")", Ai), ge(t, "<", Ei), ge(t, ">", wi), ge(t, "(", xi), ge(t, ")", Si), ge(t, "「", Ti), ge(t, "」", ki), ge(t, "『", Mi), ge(t, "』", Oi), ge(t, "<", Ii), ge(t, ">", _i), ge(t, "&", Li), ge(t, "*", Di), ge(t, "@", Zn), ge(t, "`", Pi), ge(t, "^", Bi), ge(t, ":", qn), ge(t, ",", Jc), ge(t, "$", Fi), ge(t, ".", yn), ge(t, "=", $i), ge(t, "!", Gc), ge(t, "-", Cn), ge(t, "%", Vi), ge(t, "|", Hi), ge(t, "+", zi), ge(t, "#", Ui), ge(t, "?", ji), ge(t, '"', Zc), ge(t, "/", bn), ge(t, ";", Xc), ge(t, "~", to), ge(t, "_", Wi), ge(t, "\\", Ni);
22359
22360
  const r = Xt(t, nl, Qc, {
22360
22361
  [Jl]: !0
22361
22362
  });
22362
22363
  Xt(r, nl, r);
22363
- const s = Xt(t, Wr, Rn, {
22364
+ const s = Xt(t, Wr, Dn, {
22364
22365
  [Gl]: !0
22365
22366
  });
22366
22367
  Xt(s, Wr, s);
@@ -22382,19 +22383,19 @@ function LE(n) {
22382
22383
  Xt(a, tl, l);
22383
22384
  const c = [[Wr, s]], u = [[Wr, null], [el, o]];
22384
22385
  for (let d = 0; d < No.length; d++)
22385
- Kn(t, No[d], ec, Rn, c);
22386
+ Qn(t, No[d], ec, Dn, c);
22386
22387
  for (let d = 0; d < Po.length; d++)
22387
- Kn(t, Po[d], tc, ql, u);
22388
- wr(ec, {
22388
+ Qn(t, Po[d], tc, ql, u);
22389
+ xr(ec, {
22389
22390
  tld: !0,
22390
22391
  ascii: !0
22391
- }, e), wr(tc, {
22392
+ }, e), xr(tc, {
22392
22393
  utld: !0,
22393
22394
  alpha: !0
22394
- }, e), Kn(t, "file", Yo, Rn, c), Kn(t, "mailto", Yo, Rn, c), Kn(t, "http", es, Rn, c), Kn(t, "https", es, Rn, c), Kn(t, "ftp", es, Rn, c), Kn(t, "ftps", es, Rn, c), wr(Yo, {
22395
+ }, e), Qn(t, "file", Yo, Dn, c), Qn(t, "mailto", Yo, Dn, c), Qn(t, "http", es, Dn, c), Qn(t, "https", es, Dn, c), Qn(t, "ftp", es, Dn, c), Qn(t, "ftps", es, Dn, c), xr(Yo, {
22395
22396
  scheme: !0,
22396
22397
  ascii: !0
22397
- }, e), wr(es, {
22398
+ }, e), xr(es, {
22398
22399
  slashscheme: !0,
22399
22400
  ascii: !0
22400
22401
  }, e), n = n.sort((d, f) => d[0] > f[0] ? 1 : -1);
@@ -22444,7 +22445,7 @@ function DE(n) {
22444
22445
  }
22445
22446
  return e;
22446
22447
  }
22447
- function Kn(n, e, t, r, s) {
22448
+ function Qn(n, e, t, r, s) {
22448
22449
  let o;
22449
22450
  const i = e.length;
22450
22451
  for (let l = 0; l < i - 1; l++) {
@@ -22700,19 +22701,19 @@ const cf = Ca("email", {
22700
22701
  */
22701
22702
  hasProtocol() {
22702
22703
  const n = this.tk;
22703
- return n.length >= 2 && n[0].t !== po && n[1].t === Xn;
22704
+ return n.length >= 2 && n[0].t !== po && n[1].t === qn;
22704
22705
  }
22705
22706
  }), qt = (n) => new Nt(n);
22706
22707
  function PE(n) {
22707
22708
  let {
22708
22709
  groups: e
22709
22710
  } = n;
22710
- const t = e.domain.concat([Li, Di, Gn, Ni, Pi, Bi, Fi, $i, Cn, Qc, Vi, Hi, zi, Ui, bn, Ki, to, Wi]), r = [Ri, Xn, Jc, yn, Gc, ji, Zc, Xc, Ei, wi, qs, eo, Ci, yi, bi, Ai, xi, Si, Ti, ki, Mi, Oi, Ii, _i], s = [Li, Ri, Di, Ni, Pi, Bi, Fi, $i, Cn, qs, eo, Vi, Hi, zi, Ui, ji, bn, Ki, to, Wi], o = qt(), i = ge(o, to);
22711
+ const t = e.domain.concat([Li, Di, Zn, Ni, Pi, Bi, Fi, $i, Cn, Qc, Vi, Hi, zi, Ui, bn, Ki, to, Wi]), r = [Ri, qn, Jc, yn, Gc, ji, Zc, Xc, Ei, wi, qs, eo, Ci, yi, bi, Ai, xi, Si, Ti, ki, Mi, Oi, Ii, _i], s = [Li, Ri, Di, Ni, Pi, Bi, Fi, $i, Cn, qs, eo, Vi, Hi, zi, Ui, ji, bn, Ki, to, Wi], o = qt(), i = ge(o, to);
22711
22712
  $e(i, s, i), $e(i, e.domain, i);
22712
22713
  const l = qt(), a = qt(), c = qt();
22713
22714
  $e(o, e.domain, l), $e(o, e.scheme, a), $e(o, e.slashscheme, c), $e(l, s, i), $e(l, e.domain, l);
22714
- const u = ge(l, Gn);
22715
- ge(i, Gn, u), ge(a, Gn, u), ge(c, Gn, u);
22715
+ const u = ge(l, Zn);
22716
+ ge(i, Zn, u), ge(a, Zn, u), ge(c, Zn, u);
22716
22717
  const d = ge(i, yn);
22717
22718
  $e(d, s, i), $e(d, e.domain, i);
22718
22719
  const f = qt();
@@ -22723,17 +22724,17 @@ function PE(n) {
22723
22724
  $e(h, e.tld, p), $e(h, e.utld, p), ge(u, po, p);
22724
22725
  const m = ge(f, Cn);
22725
22726
  $e(m, e.domain, f), $e(p, e.domain, f), ge(p, yn, h), ge(p, Cn, m);
22726
- const g = ge(p, Xn);
22727
+ const g = ge(p, qn);
22727
22728
  $e(g, e.numeric, cf);
22728
22729
  const b = ge(l, Cn), A = ge(l, yn);
22729
22730
  $e(b, e.domain, l), $e(A, s, i), $e(A, e.domain, l);
22730
22731
  const E = qt(Bo);
22731
- $e(A, e.tld, E), $e(A, e.utld, E), $e(E, e.domain, l), $e(E, s, i), ge(E, yn, A), ge(E, Cn, b), ge(E, Gn, u);
22732
- const v = ge(E, Xn), T = qt(Bo);
22732
+ $e(A, e.tld, E), $e(A, e.utld, E), $e(E, e.domain, l), $e(E, s, i), ge(E, yn, A), ge(E, Cn, b), ge(E, Zn, u);
22733
+ const v = ge(E, qn), T = qt(Bo);
22733
22734
  $e(v, e.numeric, T);
22734
22735
  const x = qt(Bo), H = qt();
22735
22736
  $e(x, t, x), $e(x, r, H), $e(H, t, x), $e(H, r, H), ge(E, bn, x), ge(T, bn, x);
22736
- const U = ge(a, Xn), j = ge(c, Xn), B = ge(j, bn), R = ge(B, bn);
22737
+ const U = ge(a, qn), j = ge(c, qn), B = ge(j, bn), R = ge(B, bn);
22737
22738
  $e(a, e.domain, l), ge(a, yn, A), ge(a, Cn, b), $e(c, e.domain, l), ge(c, yn, A), ge(c, Cn, b), $e(U, e.domain, x), ge(U, bn, x), $e(R, e.domain, x), $e(R, t, x), ge(R, bn, x);
22738
22739
  const z = [
22739
22740
  [qs, eo],
@@ -22909,7 +22910,7 @@ function WE(n) {
22909
22910
  }
22910
22911
  });
22911
22912
  }
22912
- const KE = Mn.create({
22913
+ const KE = On.create({
22913
22914
  name: "link",
22914
22915
  priority: 1e3,
22915
22916
  keepOnSplit: !1,
@@ -23064,7 +23065,7 @@ const KE = Mn.create({
23064
23065
  })
23065
23066
  ];
23066
23067
  }
23067
- }), JE = /(?:^|\s)((?:\*\*)((?:[^*]+))(?:\*\*))$/, GE = /(?:^|\s)((?:\*\*)((?:[^*]+))(?:\*\*))/g, ZE = /(?:^|\s)((?:__)((?:[^__]+))(?:__))$/, XE = /(?:^|\s)((?:__)((?:[^__]+))(?:__))/g, qE = Mn.create({
23068
+ }), JE = /(?:^|\s)((?:\*\*)((?:[^*]+))(?:\*\*))$/, GE = /(?:^|\s)((?:\*\*)((?:[^*]+))(?:\*\*))/g, ZE = /(?:^|\s)((?:__)((?:[^__]+))(?:__))$/, XE = /(?:^|\s)((?:__)((?:[^__]+))(?:__))/g, qE = On.create({
23068
23069
  name: "bold",
23069
23070
  addOptions() {
23070
23071
  return {
@@ -23126,7 +23127,7 @@ const KE = Mn.create({
23126
23127
  })
23127
23128
  ];
23128
23129
  }
23129
- }), ew = /(?:^|\s)((?:\*)((?:[^*]+))(?:\*))$/, tw = /(?:^|\s)((?:\*)((?:[^*]+))(?:\*))/g, nw = /(?:^|\s)((?:_)((?:[^_]+))(?:_))$/, rw = /(?:^|\s)((?:_)((?:[^_]+))(?:_))/g, sw = Mn.create({
23130
+ }), ew = /(?:^|\s)((?:\*)((?:[^*]+))(?:\*))$/, tw = /(?:^|\s)((?:\*)((?:[^*]+))(?:\*))/g, nw = /(?:^|\s)((?:_)((?:[^_]+))(?:_))$/, rw = /(?:^|\s)((?:_)((?:[^_]+))(?:_))/g, sw = On.create({
23130
23131
  name: "italic",
23131
23132
  addOptions() {
23132
23133
  return {
@@ -23187,7 +23188,7 @@ const KE = Mn.create({
23187
23188
  })
23188
23189
  ];
23189
23190
  }
23190
- }), ow = Mn.create({
23191
+ }), ow = On.create({
23191
23192
  name: "underline",
23192
23193
  addOptions() {
23193
23194
  return {
@@ -23222,7 +23223,7 @@ const KE = Mn.create({
23222
23223
  "Mod-U": () => this.editor.commands.toggleUnderline()
23223
23224
  };
23224
23225
  }
23225
- }), iw = Hn.create({
23226
+ }), iw = zn.create({
23226
23227
  name: "listItem",
23227
23228
  addOptions() {
23228
23229
  return {
@@ -23250,7 +23251,7 @@ const KE = Mn.create({
23250
23251
  "Shift-Tab": () => this.editor.commands.liftListItem(this.name)
23251
23252
  };
23252
23253
  }
23253
- }), aw = Hn.create({
23254
+ }), aw = zn.create({
23254
23255
  name: "listItem",
23255
23256
  addOptions() {
23256
23257
  return {
@@ -23278,7 +23279,7 @@ const KE = Mn.create({
23278
23279
  "Shift-Tab": () => this.editor.commands.liftListItem(this.name)
23279
23280
  };
23280
23281
  }
23281
- }), ff = Mn.create({
23282
+ }), ff = On.create({
23282
23283
  name: "textStyle",
23283
23284
  addOptions() {
23284
23285
  return {
@@ -23304,7 +23305,7 @@ const KE = Mn.create({
23304
23305
  }
23305
23306
  };
23306
23307
  }
23307
- }), hf = /^\s*([-+*])\s$/, lw = Hn.create({
23308
+ }), hf = /^\s*([-+*])\s$/, lw = zn.create({
23308
23309
  name: "bulletList",
23309
23310
  addOptions() {
23310
23311
  return {
@@ -23352,7 +23353,7 @@ const KE = Mn.create({
23352
23353
  n
23353
23354
  ];
23354
23355
  }
23355
- }), cw = Hn.create({
23356
+ }), cw = zn.create({
23356
23357
  name: "listItem",
23357
23358
  addOptions() {
23358
23359
  return {
@@ -23380,7 +23381,7 @@ const KE = Mn.create({
23380
23381
  "Shift-Tab": () => this.editor.commands.liftListItem(this.name)
23381
23382
  };
23382
23383
  }
23383
- }), pf = Mn.create({
23384
+ }), pf = On.create({
23384
23385
  name: "textStyle",
23385
23386
  addOptions() {
23386
23387
  return {
@@ -23406,7 +23407,7 @@ const KE = Mn.create({
23406
23407
  }
23407
23408
  };
23408
23409
  }
23409
- }), mf = /^(\d+)\.\s$/, uw = Hn.create({
23410
+ }), mf = /^(\d+)\.\s$/, uw = zn.create({
23410
23411
  name: "orderedList",
23411
23412
  addOptions() {
23412
23413
  return {
@@ -23468,7 +23469,7 @@ const KE = Mn.create({
23468
23469
  n
23469
23470
  ];
23470
23471
  }
23471
- }), dw = Hn.create({
23472
+ }), dw = zn.create({
23472
23473
  name: "hardBreak",
23473
23474
  addOptions() {
23474
23475
  return {
@@ -23663,7 +23664,7 @@ const KE = Mn.create({
23663
23664
  setup(n, { emit: e }) {
23664
23665
  const t = n, r = () => {
23665
23666
  e("upload");
23666
- }, s = Br(t, "modelValue", e), o = [
23667
+ }, s = Fr(t, "modelValue", e), o = [
23667
23668
  AE,
23668
23669
  EE,
23669
23670
  wE,
@@ -24092,10 +24093,10 @@ const KE = Mn.create({
24092
24093
  * Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
24093
24094
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
24094
24095
  */
24095
- const Qn = /* @__PURE__ */ new Map(), ol = {
24096
+ const Yn = /* @__PURE__ */ new Map(), ol = {
24096
24097
  set(n, e, t) {
24097
- Qn.has(n) || Qn.set(n, /* @__PURE__ */ new Map());
24098
- const r = Qn.get(n);
24098
+ Yn.has(n) || Yn.set(n, /* @__PURE__ */ new Map());
24099
+ const r = Yn.get(n);
24099
24100
  if (!r.has(e) && r.size !== 0) {
24100
24101
  console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(r.keys())[0]}.`);
24101
24102
  return;
@@ -24103,13 +24104,13 @@ const Qn = /* @__PURE__ */ new Map(), ol = {
24103
24104
  r.set(e, t);
24104
24105
  },
24105
24106
  get(n, e) {
24106
- return Qn.has(n) && Qn.get(n).get(e) || null;
24107
+ return Yn.has(n) && Yn.get(n).get(e) || null;
24107
24108
  },
24108
24109
  remove(n, e) {
24109
- if (!Qn.has(n))
24110
+ if (!Yn.has(n))
24110
24111
  return;
24111
- const t = Qn.get(n);
24112
- t.delete(e), t.size === 0 && Qn.delete(n);
24112
+ const t = Yn.get(n);
24113
+ t.delete(e), t.size === 0 && Yn.delete(n);
24113
24114
  }
24114
24115
  }, ax = 1e6, lx = 1e3, nc = "transitionend", Ip = (n) => (n && window.CSS && window.CSS.escape && (n = n.replace(/#([^\s"#']+)/g, (e, t) => `#${CSS.escape(t)}`)), n), cx = (n) => n == null ? `${n}` : Object.prototype.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase(), ux = (n) => {
24115
24116
  do
@@ -24127,8 +24128,8 @@ const Qn = /* @__PURE__ */ new Map(), ol = {
24127
24128
  return !r && !s ? 0 : (e = e.split(",")[0], t = t.split(",")[0], (Number.parseFloat(e) + Number.parseFloat(t)) * lx);
24128
24129
  }, _p = (n) => {
24129
24130
  n.dispatchEvent(new Event(nc));
24130
- }, Fn = (n) => !n || typeof n != "object" ? !1 : (typeof n.jquery < "u" && (n = n[0]), typeof n.nodeType < "u"), ir = (n) => Fn(n) ? n.jquery ? n[0] : n : typeof n == "string" && n.length > 0 ? document.querySelector(Ip(n)) : null, Ds = (n) => {
24131
- if (!Fn(n) || n.getClientRects().length === 0)
24131
+ }, $n = (n) => !n || typeof n != "object" ? !1 : (typeof n.jquery < "u" && (n = n[0]), typeof n.nodeType < "u"), ar = (n) => $n(n) ? n.jquery ? n[0] : n : typeof n == "string" && n.length > 0 ? document.querySelector(Ip(n)) : null, Ds = (n) => {
24132
+ if (!$n(n) || n.getClientRects().length === 0)
24132
24133
  return !1;
24133
24134
  const e = getComputedStyle(n).getPropertyValue("visibility") === "visible", t = n.closest("details:not([open])");
24134
24135
  if (!t)
@@ -24139,7 +24140,7 @@ const Qn = /* @__PURE__ */ new Map(), ol = {
24139
24140
  return !1;
24140
24141
  }
24141
24142
  return e;
24142
- }, ar = (n) => !n || n.nodeType !== Node.ELEMENT_NODE || n.classList.contains("disabled") ? !0 : typeof n.disabled < "u" ? n.disabled : n.hasAttribute("disabled") && n.getAttribute("disabled") !== "false", Lp = (n) => {
24143
+ }, lr = (n) => !n || n.nodeType !== Node.ELEMENT_NODE || n.classList.contains("disabled") ? !0 : typeof n.disabled < "u" ? n.disabled : n.hasAttribute("disabled") && n.getAttribute("disabled") !== "false", Lp = (n) => {
24143
24144
  if (!document.documentElement.attachShadow)
24144
24145
  return null;
24145
24146
  if (typeof n.getRootNode == "function") {
@@ -24323,7 +24324,7 @@ function Cf(n) {
24323
24324
  function ll(n) {
24324
24325
  return n.replace(/[A-Z]/g, (e) => `-${e.toLowerCase()}`);
24325
24326
  }
24326
- const $n = {
24327
+ const Vn = {
24327
24328
  setDataAttribute(n, e, t) {
24328
24329
  n.setAttribute(`data-bs-${ll(e)}`, t);
24329
24330
  },
@@ -24362,17 +24363,17 @@ class wo {
24362
24363
  return e;
24363
24364
  }
24364
24365
  _mergeConfigObj(e, t) {
24365
- const r = Fn(t) ? $n.getDataAttribute(t, "config") : {};
24366
+ const r = $n(t) ? Vn.getDataAttribute(t, "config") : {};
24366
24367
  return {
24367
24368
  ...this.constructor.Default,
24368
24369
  ...typeof r == "object" ? r : {},
24369
- ...Fn(t) ? $n.getDataAttributes(t) : {},
24370
+ ...$n(t) ? Vn.getDataAttributes(t) : {},
24370
24371
  ...typeof e == "object" ? e : {}
24371
24372
  };
24372
24373
  }
24373
24374
  _typeCheckConfig(e, t = this.constructor.DefaultType) {
24374
24375
  for (const [r, s] of Object.entries(t)) {
24375
- const o = e[r], i = Fn(o) ? "element" : cx(o);
24376
+ const o = e[r], i = $n(o) ? "element" : cx(o);
24376
24377
  if (!new RegExp(s).test(i))
24377
24378
  throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${r}" provided type "${i}" but expected type "${s}".`);
24378
24379
  }
@@ -24381,7 +24382,7 @@ class wo {
24381
24382
  const bx = "5.3.0";
24382
24383
  class mn extends wo {
24383
24384
  constructor(e, t) {
24384
- super(), e = ir(e), e && (this._element = e, this._config = this._getConfig(t), ol.set(this._element, this.constructor.DATA_KEY, this));
24385
+ super(), e = ar(e), e && (this._element = e, this._config = this._getConfig(t), ol.set(this._element, this.constructor.DATA_KEY, this));
24385
24386
  }
24386
24387
  // Public
24387
24388
  dispose() {
@@ -24397,7 +24398,7 @@ class mn extends wo {
24397
24398
  }
24398
24399
  // Static
24399
24400
  static getInstance(e) {
24400
- return ol.get(ir(e), this.DATA_KEY);
24401
+ return ol.get(ar(e), this.DATA_KEY);
24401
24402
  }
24402
24403
  static getOrCreateInstance(e, t = {}) {
24403
24404
  return this.getInstance(e) || new this(e, typeof t == "object" ? t : null);
@@ -24462,7 +24463,7 @@ const cl = (n) => {
24462
24463
  },
24463
24464
  focusableChildren(n) {
24464
24465
  const e = ["a", "button", "input", "textarea", "select", "details", "[tabindex]", '[contenteditable="true"]'].map((t) => `${t}:not([tabindex^="-"])`).join(",");
24465
- return this.find(e, n).filter((t) => !ar(t) && Ds(t));
24466
+ return this.find(e, n).filter((t) => !lr(t) && Ds(t));
24466
24467
  },
24467
24468
  getSelectorFromElement(n) {
24468
24469
  const e = cl(n);
@@ -24479,7 +24480,7 @@ const cl = (n) => {
24479
24480
  }, ba = (n, e = "hide") => {
24480
24481
  const t = `click.dismiss${n.EVENT_KEY}`, r = n.NAME;
24481
24482
  ae.on(document, t, `[data-bs-dismiss="${r}"]`, function(s) {
24482
- if (["A", "AREA"].includes(this.tagName) && s.preventDefault(), ar(this))
24483
+ if (["A", "AREA"].includes(this.tagName) && s.preventDefault(), lr(this))
24483
24484
  return;
24484
24485
  const o = Ie.getElementFromSelector(this) || this.closest(`.${r}`);
24485
24486
  n.getOrCreateInstance(o)[e]();
@@ -24599,7 +24600,7 @@ class Ji extends wo {
24599
24600
  return "ontouchstart" in document.documentElement || navigator.maxTouchPoints > 0;
24600
24601
  }
24601
24602
  }
24602
- const Wx = "carousel", Kx = "bs.carousel", pr = `.${Kx}`, zp = ".data-api", Qx = "ArrowLeft", Yx = "ArrowRight", Jx = 500, Fs = "next", Kr = "prev", ts = "left", Jo = "right", Gx = `slide${pr}`, ul = `slid${pr}`, Zx = `keydown${pr}`, Xx = `mouseenter${pr}`, qx = `mouseleave${pr}`, eS = `dragstart${pr}`, tS = `load${pr}${zp}`, nS = `click${pr}${zp}`, Up = "carousel", Fo = "active", rS = "slide", sS = "carousel-item-end", oS = "carousel-item-start", iS = "carousel-item-next", aS = "carousel-item-prev", jp = ".active", Wp = ".carousel-item", lS = jp + Wp, cS = ".carousel-item img", uS = ".carousel-indicators", dS = "[data-bs-slide], [data-bs-slide-to]", fS = '[data-bs-ride="carousel"]', hS = {
24603
+ const Wx = "carousel", Kx = "bs.carousel", mr = `.${Kx}`, zp = ".data-api", Qx = "ArrowLeft", Yx = "ArrowRight", Jx = 500, Fs = "next", Kr = "prev", ts = "left", Jo = "right", Gx = `slide${mr}`, ul = `slid${mr}`, Zx = `keydown${mr}`, Xx = `mouseenter${mr}`, qx = `mouseleave${mr}`, eS = `dragstart${mr}`, tS = `load${mr}${zp}`, nS = `click${mr}${zp}`, Up = "carousel", Fo = "active", rS = "slide", sS = "carousel-item-end", oS = "carousel-item-start", iS = "carousel-item-next", aS = "carousel-item-prev", jp = ".active", Wp = ".carousel-item", lS = jp + Wp, cS = ".carousel-item img", uS = ".carousel-indicators", dS = "[data-bs-slide], [data-bs-slide-to]", fS = '[data-bs-ride="carousel"]', hS = {
24603
24604
  [Qx]: Jo,
24604
24605
  [Yx]: ts
24605
24606
  }, pS = {
@@ -24784,7 +24785,7 @@ ae.on(document, nS, dS, function(n) {
24784
24785
  t.to(r), t._maybeEnableCycle();
24785
24786
  return;
24786
24787
  }
24787
- if ($n.getDataAttribute(this, "slide") === "next") {
24788
+ if (Vn.getDataAttribute(this, "slide") === "next") {
24788
24789
  t.next(), t._maybeEnableCycle();
24789
24790
  return;
24790
24791
  }
@@ -24864,7 +24865,7 @@ class go extends mn {
24864
24865
  }
24865
24866
  // Private
24866
24867
  _configAfterMerge(e) {
24867
- return e.toggle = !!e.toggle, e.parent = ir(e.parent), e;
24868
+ return e.toggle = !!e.toggle, e.parent = ar(e.parent), e;
24868
24869
  }
24869
24870
  _getDimension() {
24870
24871
  return this._element.classList.contains(TS) ? kS : MS;
@@ -24908,7 +24909,7 @@ ae.on(document, wS, sc, function(n) {
24908
24909
  }).toggle();
24909
24910
  });
24910
24911
  an(go);
24911
- const Af = "dropdown", LS = "bs.dropdown", Fr = `.${LS}`, ou = ".data-api", RS = "Escape", Ef = "Tab", DS = "ArrowUp", wf = "ArrowDown", NS = 2, PS = `hide${Fr}`, BS = `hidden${Fr}`, FS = `show${Fr}`, $S = `shown${Fr}`, Kp = `click${Fr}${ou}`, Qp = `keydown${Fr}${ou}`, VS = `keyup${Fr}${ou}`, ns = "show", HS = "dropup", zS = "dropend", US = "dropstart", jS = "dropup-center", WS = "dropdown-center", xr = '[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)', KS = `${xr}.${ns}`, Go = ".dropdown-menu", QS = ".navbar", YS = ".navbar-nav", JS = ".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)", GS = sn() ? "top-end" : "top-start", ZS = sn() ? "top-start" : "top-end", XS = sn() ? "bottom-end" : "bottom-start", qS = sn() ? "bottom-start" : "bottom-end", eT = sn() ? "left-start" : "right-start", tT = sn() ? "right-start" : "left-start", nT = "top", rT = "bottom", sT = {
24912
+ const Af = "dropdown", LS = "bs.dropdown", $r = `.${LS}`, ou = ".data-api", RS = "Escape", Ef = "Tab", DS = "ArrowUp", wf = "ArrowDown", NS = 2, PS = `hide${$r}`, BS = `hidden${$r}`, FS = `show${$r}`, $S = `shown${$r}`, Kp = `click${$r}${ou}`, Qp = `keydown${$r}${ou}`, VS = `keyup${$r}${ou}`, ns = "show", HS = "dropup", zS = "dropend", US = "dropstart", jS = "dropup-center", WS = "dropdown-center", Sr = '[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)', KS = `${Sr}.${ns}`, Go = ".dropdown-menu", QS = ".navbar", YS = ".navbar-nav", JS = ".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)", GS = sn() ? "top-end" : "top-start", ZS = sn() ? "top-start" : "top-end", XS = sn() ? "bottom-end" : "bottom-start", qS = sn() ? "bottom-start" : "bottom-end", eT = sn() ? "left-start" : "right-start", tT = sn() ? "right-start" : "left-start", nT = "top", rT = "bottom", sT = {
24912
24913
  autoClose: !0,
24913
24914
  boundary: "clippingParents",
24914
24915
  display: "dynamic",
@@ -24923,7 +24924,7 @@ const Af = "dropdown", LS = "bs.dropdown", Fr = `.${LS}`, ou = ".data-api", RS =
24923
24924
  popperConfig: "(null|object|function)",
24924
24925
  reference: "(string|element|object)"
24925
24926
  };
24926
- class Sn extends mn {
24927
+ class Tn extends mn {
24927
24928
  constructor(e, t) {
24928
24929
  super(e, t), this._popper = null, this._parent = this._element.parentNode, this._menu = Ie.next(this._element, Go)[0] || Ie.prev(this._element, Go)[0] || Ie.findOne(Go, this._parent), this._inNavbar = this._detectNavbar();
24929
24930
  }
@@ -24942,7 +24943,7 @@ class Sn extends mn {
24942
24943
  return this._isShown() ? this.hide() : this.show();
24943
24944
  }
24944
24945
  show() {
24945
- if (ar(this._element) || this._isShown())
24946
+ if (lr(this._element) || this._isShown())
24946
24947
  return;
24947
24948
  const e = {
24948
24949
  relatedTarget: this._element
@@ -24955,7 +24956,7 @@ class Sn extends mn {
24955
24956
  }
24956
24957
  }
24957
24958
  hide() {
24958
- if (ar(this._element) || !this._isShown())
24959
+ if (lr(this._element) || !this._isShown())
24959
24960
  return;
24960
24961
  const e = {
24961
24962
  relatedTarget: this._element
@@ -24974,11 +24975,11 @@ class Sn extends mn {
24974
24975
  if ("ontouchstart" in document.documentElement)
24975
24976
  for (const r of [].concat(...document.body.children))
24976
24977
  ae.off(r, "mouseover", Yi);
24977
- this._popper && this._popper.destroy(), this._menu.classList.remove(ns), this._element.classList.remove(ns), this._element.setAttribute("aria-expanded", "false"), $n.removeDataAttribute(this._menu, "popper"), ae.trigger(this._element, BS, e);
24978
+ this._popper && this._popper.destroy(), this._menu.classList.remove(ns), this._element.classList.remove(ns), this._element.setAttribute("aria-expanded", "false"), Vn.removeDataAttribute(this._menu, "popper"), ae.trigger(this._element, BS, e);
24978
24979
  }
24979
24980
  }
24980
24981
  _getConfig(e) {
24981
- if (e = super._getConfig(e), typeof e.reference == "object" && !Fn(e.reference) && typeof e.reference.getBoundingClientRect != "function")
24982
+ if (e = super._getConfig(e), typeof e.reference == "object" && !$n(e.reference) && typeof e.reference.getBoundingClientRect != "function")
24982
24983
  throw new TypeError(`${Af.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);
24983
24984
  return e;
24984
24985
  }
@@ -24986,7 +24987,7 @@ class Sn extends mn {
24986
24987
  if (typeof up > "u")
24987
24988
  throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");
24988
24989
  let e = this._element;
24989
- this._config.reference === "parent" ? e = this._parent : Fn(this._config.reference) ? e = ir(this._config.reference) : typeof this._config.reference == "object" && (e = this._config.reference);
24990
+ this._config.reference === "parent" ? e = this._parent : $n(this._config.reference) ? e = ar(this._config.reference) : typeof this._config.reference == "object" && (e = this._config.reference);
24990
24991
  const t = this._getPopperConfig();
24991
24992
  this._popper = ya(e, this._menu, t);
24992
24993
  }
@@ -25030,7 +25031,7 @@ class Sn extends mn {
25030
25031
  }
25031
25032
  }]
25032
25033
  };
25033
- return (this._inNavbar || this._config.display === "static") && ($n.setDataAttribute(this._menu, "popper", "static"), e.modifiers = [{
25034
+ return (this._inNavbar || this._config.display === "static") && (Vn.setDataAttribute(this._menu, "popper", "static"), e.modifiers = [{
25034
25035
  name: "applyStyles",
25035
25036
  enabled: !1
25036
25037
  }]), {
@@ -25048,7 +25049,7 @@ class Sn extends mn {
25048
25049
  // Static
25049
25050
  static jQueryInterface(e) {
25050
25051
  return this.each(function() {
25051
- const t = Sn.getOrCreateInstance(this, e);
25052
+ const t = Tn.getOrCreateInstance(this, e);
25052
25053
  if (typeof e == "string") {
25053
25054
  if (typeof t[e] > "u")
25054
25055
  throw new TypeError(`No method named "${e}"`);
@@ -25061,7 +25062,7 @@ class Sn extends mn {
25061
25062
  return;
25062
25063
  const t = Ie.find(KS);
25063
25064
  for (const r of t) {
25064
- const s = Sn.getInstance(r);
25065
+ const s = Tn.getInstance(r);
25065
25066
  if (!s || s._config.autoClose === !1)
25066
25067
  continue;
25067
25068
  const o = e.composedPath(), i = o.includes(s._menu);
@@ -25078,7 +25079,7 @@ class Sn extends mn {
25078
25079
  if (!s && !r || t && !r)
25079
25080
  return;
25080
25081
  e.preventDefault();
25081
- const o = this.matches(xr) ? this : Ie.prev(this, xr)[0] || Ie.next(this, xr)[0] || Ie.findOne(xr, e.delegateTarget.parentNode), i = Sn.getOrCreateInstance(o);
25082
+ const o = this.matches(Sr) ? this : Ie.prev(this, Sr)[0] || Ie.next(this, Sr)[0] || Ie.findOne(Sr, e.delegateTarget.parentNode), i = Tn.getOrCreateInstance(o);
25082
25083
  if (s) {
25083
25084
  e.stopPropagation(), i.show(), i._selectMenuItem(e);
25084
25085
  return;
@@ -25086,14 +25087,14 @@ class Sn extends mn {
25086
25087
  i._isShown() && (e.stopPropagation(), i.hide(), o.focus());
25087
25088
  }
25088
25089
  }
25089
- ae.on(document, Qp, xr, Sn.dataApiKeydownHandler);
25090
- ae.on(document, Qp, Go, Sn.dataApiKeydownHandler);
25091
- ae.on(document, Kp, Sn.clearMenus);
25092
- ae.on(document, VS, Sn.clearMenus);
25093
- ae.on(document, Kp, xr, function(n) {
25094
- n.preventDefault(), Sn.getOrCreateInstance(this).toggle();
25090
+ ae.on(document, Qp, Sr, Tn.dataApiKeydownHandler);
25091
+ ae.on(document, Qp, Go, Tn.dataApiKeydownHandler);
25092
+ ae.on(document, Kp, Tn.clearMenus);
25093
+ ae.on(document, VS, Tn.clearMenus);
25094
+ ae.on(document, Kp, Sr, function(n) {
25095
+ n.preventDefault(), Tn.getOrCreateInstance(this).toggle();
25095
25096
  });
25096
- an(Sn);
25097
+ an(Tn);
25097
25098
  const Yp = "backdrop", iT = "fade", xf = "show", Sf = `mousedown.bs.${Yp}`, aT = {
25098
25099
  className: "modal-backdrop",
25099
25100
  clickCallback: null,
@@ -25156,7 +25157,7 @@ class Jp extends wo {
25156
25157
  return this._element;
25157
25158
  }
25158
25159
  _configAfterMerge(e) {
25159
- return e.rootElement = ir(e.rootElement), e;
25160
+ return e.rootElement = ar(e.rootElement), e;
25160
25161
  }
25161
25162
  _append() {
25162
25163
  if (this._isAppended)
@@ -25249,21 +25250,21 @@ class oc {
25249
25250
  }
25250
25251
  _saveInitialAttribute(e, t) {
25251
25252
  const r = e.style.getPropertyValue(t);
25252
- r && $n.setDataAttribute(e, t, r);
25253
+ r && Vn.setDataAttribute(e, t, r);
25253
25254
  }
25254
25255
  _resetElementAttributes(e, t) {
25255
25256
  const r = (s) => {
25256
- const o = $n.getDataAttribute(s, t);
25257
+ const o = Vn.getDataAttribute(s, t);
25257
25258
  if (o === null) {
25258
25259
  s.style.removeProperty(t);
25259
25260
  return;
25260
25261
  }
25261
- $n.removeDataAttribute(s, t), s.style.setProperty(t, o);
25262
+ Vn.removeDataAttribute(s, t), s.style.setProperty(t, o);
25262
25263
  };
25263
25264
  this._applyManipulationCallback(e, r);
25264
25265
  }
25265
25266
  _applyManipulationCallback(e, t) {
25266
- if (Fn(e)) {
25267
+ if ($n(e)) {
25267
25268
  t(e);
25268
25269
  return;
25269
25270
  }
@@ -25280,7 +25281,7 @@ const vT = "modal", yT = "bs.modal", on = `.${yT}`, CT = ".data-api", bT = "Esca
25280
25281
  focus: "boolean",
25281
25282
  keyboard: "boolean"
25282
25283
  };
25283
- class lr extends mn {
25284
+ class cr extends mn {
25284
25285
  constructor(e, t) {
25285
25286
  super(e, t), this._dialog = Ie.findOne(_T, this._element), this._backdrop = this._initializeBackDrop(), this._focustrap = this._initializeFocusTrap(), this._isShown = !1, this._isTransitioning = !1, this._scrollBar = new oc(), this._addEventListeners();
25286
25287
  }
@@ -25397,7 +25398,7 @@ class lr extends mn {
25397
25398
  // Static
25398
25399
  static jQueryInterface(e, t) {
25399
25400
  return this.each(function() {
25400
- const r = lr.getOrCreateInstance(this, e);
25401
+ const r = cr.getOrCreateInstance(this, e);
25401
25402
  if (typeof e == "string") {
25402
25403
  if (typeof r[e] > "u")
25403
25404
  throw new TypeError(`No method named "${e}"`);
@@ -25414,11 +25415,11 @@ ae.on(document, MT, RT, function(n) {
25414
25415
  });
25415
25416
  });
25416
25417
  const t = Ie.findOne(IT);
25417
- t && lr.getInstance(t).hide(), lr.getOrCreateInstance(e).toggle(this);
25418
+ t && cr.getInstance(t).hide(), cr.getOrCreateInstance(e).toggle(this);
25418
25419
  });
25419
- ba(lr);
25420
- an(lr);
25421
- const PT = "offcanvas", BT = "bs.offcanvas", zn = `.${BT}`, qp = ".data-api", FT = `load${zn}${qp}`, $T = "Escape", Lf = "show", Rf = "showing", Df = "hiding", VT = "offcanvas-backdrop", e0 = ".offcanvas.show", HT = `show${zn}`, zT = `shown${zn}`, UT = `hide${zn}`, Nf = `hidePrevented${zn}`, t0 = `hidden${zn}`, jT = `resize${zn}`, WT = `click${zn}${qp}`, KT = `keydown.dismiss${zn}`, QT = '[data-bs-toggle="offcanvas"]', YT = {
25420
+ ba(cr);
25421
+ an(cr);
25422
+ const PT = "offcanvas", BT = "bs.offcanvas", Un = `.${BT}`, qp = ".data-api", FT = `load${Un}${qp}`, $T = "Escape", Lf = "show", Rf = "showing", Df = "hiding", VT = "offcanvas-backdrop", e0 = ".offcanvas.show", HT = `show${Un}`, zT = `shown${Un}`, UT = `hide${Un}`, Nf = `hidePrevented${Un}`, t0 = `hidden${Un}`, jT = `resize${Un}`, WT = `click${Un}${qp}`, KT = `keydown.dismiss${Un}`, QT = '[data-bs-toggle="offcanvas"]', YT = {
25422
25423
  backdrop: !0,
25423
25424
  keyboard: !0,
25424
25425
  scroll: !1
@@ -25427,7 +25428,7 @@ const PT = "offcanvas", BT = "bs.offcanvas", zn = `.${BT}`, qp = ".data-api", FT
25427
25428
  keyboard: "boolean",
25428
25429
  scroll: "boolean"
25429
25430
  };
25430
- class cr extends mn {
25431
+ class ur extends mn {
25431
25432
  constructor(e, t) {
25432
25433
  super(e, t), this._isShown = !1, this._backdrop = this._initializeBackDrop(), this._focustrap = this._initializeFocusTrap(), this._addEventListeners();
25433
25434
  }
@@ -25506,7 +25507,7 @@ class cr extends mn {
25506
25507
  // Static
25507
25508
  static jQueryInterface(e) {
25508
25509
  return this.each(function() {
25509
- const t = cr.getOrCreateInstance(this, e);
25510
+ const t = ur.getOrCreateInstance(this, e);
25510
25511
  if (typeof e == "string") {
25511
25512
  if (t[e] === void 0 || e.startsWith("_") || e === "constructor")
25512
25513
  throw new TypeError(`No method named "${e}"`);
@@ -25517,24 +25518,24 @@ class cr extends mn {
25517
25518
  }
25518
25519
  ae.on(document, WT, QT, function(n) {
25519
25520
  const e = Ie.getElementFromSelector(this);
25520
- if (["A", "AREA"].includes(this.tagName) && n.preventDefault(), ar(this))
25521
+ if (["A", "AREA"].includes(this.tagName) && n.preventDefault(), lr(this))
25521
25522
  return;
25522
25523
  ae.one(e, t0, () => {
25523
25524
  Ds(this) && this.focus();
25524
25525
  });
25525
25526
  const t = Ie.findOne(e0);
25526
- t && t !== e && cr.getInstance(t).hide(), cr.getOrCreateInstance(e).toggle(this);
25527
+ t && t !== e && ur.getInstance(t).hide(), ur.getOrCreateInstance(e).toggle(this);
25527
25528
  });
25528
25529
  ae.on(window, FT, () => {
25529
25530
  for (const n of Ie.find(e0))
25530
- cr.getOrCreateInstance(n).show();
25531
+ ur.getOrCreateInstance(n).show();
25531
25532
  });
25532
25533
  ae.on(window, jT, () => {
25533
25534
  for (const n of Ie.find("[aria-modal][class*=show][class*=offcanvas-]"))
25534
- getComputedStyle(n).position !== "fixed" && cr.getOrCreateInstance(n).hide();
25535
+ getComputedStyle(n).position !== "fixed" && ur.getOrCreateInstance(n).hide();
25535
25536
  });
25536
- ba(cr);
25537
- an(cr);
25537
+ ba(ur);
25538
+ an(ur);
25538
25539
  const GT = /^aria-[\w-]*$/i, n0 = {
25539
25540
  // Global attributes allowed on any supplied element below.
25540
25541
  "*": ["class", "dir", "id", "lang", "role", GT],
@@ -25663,8 +25664,8 @@ class ok extends wo {
25663
25664
  s.remove();
25664
25665
  return;
25665
25666
  }
25666
- if (Fn(t)) {
25667
- this._putElementInTemplate(ir(t), s);
25667
+ if ($n(t)) {
25668
+ this._putElementInTemplate(ar(t), s);
25668
25669
  return;
25669
25670
  }
25670
25671
  if (this._config.html) {
@@ -25731,7 +25732,7 @@ const ik = "tooltip", ak = /* @__PURE__ */ new Set(["sanitize", "allowList", "sa
25731
25732
  title: "(string|element|function)",
25732
25733
  trigger: "string"
25733
25734
  };
25734
- class $r extends mn {
25735
+ class Sn extends mn {
25735
25736
  constructor(e, t) {
25736
25737
  if (typeof up > "u")
25737
25738
  throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");
@@ -25947,7 +25948,7 @@ class $r extends mn {
25947
25948
  return Object.values(this._activeTrigger).includes(!0);
25948
25949
  }
25949
25950
  _getConfig(e) {
25950
- const t = $n.getDataAttributes(this._element);
25951
+ const t = Vn.getDataAttributes(this._element);
25951
25952
  for (const r of Object.keys(t))
25952
25953
  ak.has(r) && delete t[r];
25953
25954
  return e = {
@@ -25956,7 +25957,7 @@ class $r extends mn {
25956
25957
  }, e = this._mergeConfigObj(e), e = this._configAfterMerge(e), this._typeCheckConfig(e), e;
25957
25958
  }
25958
25959
  _configAfterMerge(e) {
25959
- return e.container = e.container === !1 ? document.body : ir(e.container), typeof e.delay == "number" && (e.delay = {
25960
+ return e.container = e.container === !1 ? document.body : ar(e.container), typeof e.delay == "number" && (e.delay = {
25960
25961
  show: e.delay,
25961
25962
  hide: e.delay
25962
25963
  }), typeof e.title == "number" && (e.title = e.title.toString()), typeof e.content == "number" && (e.content = e.content.toString()), e;
@@ -25973,7 +25974,7 @@ class $r extends mn {
25973
25974
  // Static
25974
25975
  static jQueryInterface(e) {
25975
25976
  return this.each(function() {
25976
- const t = $r.getOrCreateInstance(this, e);
25977
+ const t = Sn.getOrCreateInstance(this, e);
25977
25978
  if (typeof e == "string") {
25978
25979
  if (typeof t[e] > "u")
25979
25980
  throw new TypeError(`No method named "${e}"`);
@@ -25982,19 +25983,19 @@ class $r extends mn {
25982
25983
  });
25983
25984
  }
25984
25985
  }
25985
- an($r);
25986
+ an(Sn);
25986
25987
  const Sk = "popover", Tk = ".popover-header", kk = ".popover-body", Mk = {
25987
- ...$r.Default,
25988
+ ...Sn.Default,
25988
25989
  content: "",
25989
25990
  offset: [0, 8],
25990
25991
  placement: "right",
25991
25992
  template: '<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',
25992
25993
  trigger: "click"
25993
25994
  }, Ok = {
25994
- ...$r.DefaultType,
25995
+ ...Sn.DefaultType,
25995
25996
  content: "(null|string|element|function)"
25996
25997
  };
25997
- class fs extends $r {
25998
+ class fs extends Sn {
25998
25999
  // Getters
25999
26000
  static get Default() {
26000
26001
  return Mk;
@@ -26075,7 +26076,7 @@ class wa extends mn {
26075
26076
  }
26076
26077
  // Private
26077
26078
  _configAfterMerge(e) {
26078
- return e.target = ir(e.target) || document.body, e.rootMargin = e.offset ? `${e.offset}px 0px -30%` : e.rootMargin, typeof e.threshold == "string" && (e.threshold = e.threshold.split(",").map((t) => Number.parseFloat(t))), e;
26079
+ return e.target = ar(e.target) || document.body, e.rootMargin = e.offset ? `${e.offset}px 0px -30%` : e.rootMargin, typeof e.threshold == "string" && (e.threshold = e.threshold.split(",").map((t) => Number.parseFloat(t))), e;
26079
26080
  }
26080
26081
  _maybeEnableSmoothScroll() {
26081
26082
  this._config.smoothScroll && (ae.off(this._config.target, Ff), ae.on(this._config.target, Ff, ml, (e) => {
@@ -26126,7 +26127,7 @@ class wa extends mn {
26126
26127
  this._targetLinks = /* @__PURE__ */ new Map(), this._observableSections = /* @__PURE__ */ new Map();
26127
26128
  const e = Ie.find(ml, this._config.target);
26128
26129
  for (const t of e) {
26129
- if (!t.hash || ar(t))
26130
+ if (!t.hash || lr(t))
26130
26131
  continue;
26131
26132
  const r = Ie.findOne(decodeURI(t.hash), this._element);
26132
26133
  Ds(r) && (this._targetLinks.set(decodeURI(t.hash), t), this._observableSections.set(t.hash, r));
@@ -26169,7 +26170,7 @@ ae.on(window, Dk, () => {
26169
26170
  wa.getOrCreateInstance(n);
26170
26171
  });
26171
26172
  an(wa);
26172
- const Wk = "tab", Kk = "bs.tab", Vr = `.${Kk}`, Qk = `hide${Vr}`, Yk = `hidden${Vr}`, Jk = `show${Vr}`, Gk = `shown${Vr}`, Zk = `click${Vr}`, Xk = `keydown${Vr}`, qk = `load${Vr}`, eM = "ArrowLeft", Vf = "ArrowRight", tM = "ArrowUp", Hf = "ArrowDown", Sr = "active", zf = "fade", gl = "show", nM = "dropdown", rM = ".dropdown-toggle", sM = ".dropdown-menu", vl = ":not(.dropdown-toggle)", oM = '.list-group, .nav, [role="tablist"]', iM = ".nav-item, .list-group-item", aM = `.nav-link${vl}, .list-group-item${vl}, [role="tab"]${vl}`, r0 = '[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]', yl = `${aM}, ${r0}`, lM = `.${Sr}[data-bs-toggle="tab"], .${Sr}[data-bs-toggle="pill"], .${Sr}[data-bs-toggle="list"]`;
26173
+ const Wk = "tab", Kk = "bs.tab", Vr = `.${Kk}`, Qk = `hide${Vr}`, Yk = `hidden${Vr}`, Jk = `show${Vr}`, Gk = `shown${Vr}`, Zk = `click${Vr}`, Xk = `keydown${Vr}`, qk = `load${Vr}`, eM = "ArrowLeft", Vf = "ArrowRight", tM = "ArrowUp", Hf = "ArrowDown", Tr = "active", zf = "fade", gl = "show", nM = "dropdown", rM = ".dropdown-toggle", sM = ".dropdown-menu", vl = ":not(.dropdown-toggle)", oM = '.list-group, .nav, [role="tablist"]', iM = ".nav-item, .list-group-item", aM = `.nav-link${vl}, .list-group-item${vl}, [role="tab"]${vl}`, r0 = '[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]', yl = `${aM}, ${r0}`, lM = `.${Tr}[data-bs-toggle="tab"], .${Tr}[data-bs-toggle="pill"], .${Tr}[data-bs-toggle="list"]`;
26173
26174
  class ks extends mn {
26174
26175
  constructor(e) {
26175
26176
  super(e), this._parent = this._element.closest(oM), this._parent && (this._setInitialAttributes(this._parent, this._getChildren()), ae.on(this._element, Xk, (t) => this._keydown(t)));
@@ -26194,7 +26195,7 @@ class ks extends mn {
26194
26195
  _activate(e, t) {
26195
26196
  if (!e)
26196
26197
  return;
26197
- e.classList.add(Sr), this._activate(Ie.getElementFromSelector(e));
26198
+ e.classList.add(Tr), this._activate(Ie.getElementFromSelector(e));
26198
26199
  const r = () => {
26199
26200
  if (e.getAttribute("role") !== "tab") {
26200
26201
  e.classList.add(gl);
@@ -26209,7 +26210,7 @@ class ks extends mn {
26209
26210
  _deactivate(e, t) {
26210
26211
  if (!e)
26211
26212
  return;
26212
- e.classList.remove(Sr), e.blur(), this._deactivate(Ie.getElementFromSelector(e));
26213
+ e.classList.remove(Tr), e.blur(), this._deactivate(Ie.getElementFromSelector(e));
26213
26214
  const r = () => {
26214
26215
  if (e.getAttribute("role") !== "tab") {
26215
26216
  e.classList.remove(gl);
@@ -26225,7 +26226,7 @@ class ks extends mn {
26225
26226
  if (![eM, Vf, tM, Hf].includes(e.key))
26226
26227
  return;
26227
26228
  e.stopPropagation(), e.preventDefault();
26228
- const t = [Vf, Hf].includes(e.key), r = ru(this._getChildren().filter((s) => !ar(s)), e.target, t, !0);
26229
+ const t = [Vf, Hf].includes(e.key), r = ru(this._getChildren().filter((s) => !lr(s)), e.target, t, !0);
26229
26230
  r && (r.focus({
26230
26231
  preventScroll: !0
26231
26232
  }), ks.getOrCreateInstance(r).show());
@@ -26258,13 +26259,13 @@ class ks extends mn {
26258
26259
  const l = Ie.findOne(o, r);
26259
26260
  l && l.classList.toggle(i, t);
26260
26261
  };
26261
- s(rM, Sr), s(sM, gl), r.setAttribute("aria-expanded", t);
26262
+ s(rM, Tr), s(sM, gl), r.setAttribute("aria-expanded", t);
26262
26263
  }
26263
26264
  _setAttributeIfNotExists(e, t, r) {
26264
26265
  e.hasAttribute(t) || e.setAttribute(t, r);
26265
26266
  }
26266
26267
  _elemIsActive(e) {
26267
- return e.classList.contains(Sr);
26268
+ return e.classList.contains(Tr);
26268
26269
  }
26269
26270
  // Try to get the inner element (usually the .nav-link)
26270
26271
  _getInnerElement(e) {
@@ -26287,14 +26288,14 @@ class ks extends mn {
26287
26288
  }
26288
26289
  }
26289
26290
  ae.on(document, Zk, r0, function(n) {
26290
- ["A", "AREA"].includes(this.tagName) && n.preventDefault(), !ar(this) && ks.getOrCreateInstance(this).show();
26291
+ ["A", "AREA"].includes(this.tagName) && n.preventDefault(), !lr(this) && ks.getOrCreateInstance(this).show();
26291
26292
  });
26292
26293
  ae.on(window, qk, () => {
26293
26294
  for (const n of Ie.find(lM))
26294
26295
  ks.getOrCreateInstance(n);
26295
26296
  });
26296
26297
  an(ks);
26297
- const cM = "toast", uM = "bs.toast", mr = `.${uM}`, dM = `mouseover${mr}`, fM = `mouseout${mr}`, hM = `focusin${mr}`, pM = `focusout${mr}`, mM = `hide${mr}`, gM = `hidden${mr}`, vM = `show${mr}`, yM = `shown${mr}`, CM = "fade", Uf = "hide", zo = "show", Uo = "showing", bM = {
26298
+ const cM = "toast", uM = "bs.toast", gr = `.${uM}`, dM = `mouseover${gr}`, fM = `mouseout${gr}`, hM = `focusin${gr}`, pM = `focusout${gr}`, mM = `hide${gr}`, gM = `hidden${gr}`, vM = `show${gr}`, yM = `shown${gr}`, CM = "fade", Uf = "hide", zo = "show", Uo = "showing", bM = {
26298
26299
  animation: "boolean",
26299
26300
  autohide: "boolean",
26300
26301
  delay: "number"
@@ -26418,7 +26419,7 @@ const EM = ["id"], wM = {
26418
26419
  ].join(" ") : Ve), c = Ae(() => t.canceled ? t.localization.videoCallCanceled : s.value ? t.localization.videoCallAccepted : t.localization.videoCallRejected), u = Ae(() => t.canceled ? `${t.firstNameSender}${t.localization.notifyCallerWhenCanceled}` : t.isSender ? t.contactInfoReceiver ? `${t.contactInfoReceiver.name}${t.localization.notifyCallerWhenRejected}` : t.localization.notifyCallerWhenRejected : s.value ? t.localization.openNewTabWhenAccepted : `${t.localization.notifyReceiverWhenRejected.start}${t.firstNameSender}${t.localization.notifyReceiverWhenRejected.end}`.replace(/\s\s+/g, " "));
26419
26420
  dn(() => t.canceled, () => {
26420
26421
  r.value = !0;
26421
- }), Vn(() => {
26422
+ }), Hn(() => {
26422
26423
  const A = l.value, E = document.querySelector(`#${A}`);
26423
26424
  if (E) {
26424
26425
  E.addEventListener("hide.bs.toast", b);
@@ -26906,7 +26907,8 @@ const LM = () => ({ ResetValidation: (t) => {
26906
26907
  t.headerOptions && t.headerOptions.length !== 0 ? (D(), K("div", QM, [
26907
26908
  (D(!0), K(et, null, At(t.headerOptions, (d) => (D(), Ke(st, {
26908
26909
  class: "btn-header",
26909
- to: d.to
26910
+ to: d.to,
26911
+ variant: "neutral"
26910
26912
  }, {
26911
26913
  default: Re(() => [
26912
26914
  it(Oe(d.text), 1)
@@ -27029,7 +27031,7 @@ const LM = () => ({ ResetValidation: (t) => {
27029
27031
  const e = ze(null);
27030
27032
  return { showModal: () => {
27031
27033
  const s = document.getElementById(n);
27032
- s instanceof HTMLElement ? (e.value = lr.getOrCreateInstance(s), e.value.show()) : console.error(`Modal '${n}' niet gevonden.`);
27034
+ s instanceof HTMLElement ? (e.value = cr.getOrCreateInstance(s), e.value.show()) : console.error(`Modal '${n}' niet gevonden.`);
27033
27035
  }, closeModal: () => {
27034
27036
  if (e.value) {
27035
27037
  e.value.hide();
@@ -27037,7 +27039,7 @@ const LM = () => ({ ResetValidation: (t) => {
27037
27039
  }
27038
27040
  const s = document.getElementById(n);
27039
27041
  if (s instanceof HTMLElement) {
27040
- const o = lr.getInstance(s);
27042
+ const o = cr.getInstance(s);
27041
27043
  o && o.hide();
27042
27044
  }
27043
27045
  } };
@@ -27584,7 +27586,7 @@ const Ms = /* @__PURE__ */ mc(a0), vO = (n, e, t, r, s, o) => {
27584
27586
  }, H = () => {
27585
27587
  a.value ? v() : d();
27586
27588
  };
27587
- return Vn(() => {
27589
+ return Hn(() => {
27588
27590
  const U = document.getElementById("session-time-out-modal");
27589
27591
  U && U.addEventListener("hidden.bs.modal", T), g(), m();
27590
27592
  }), {
@@ -27624,13 +27626,13 @@ function CO() {
27624
27626
  window.addEventListener("load", () => t(), { once: !0 });
27625
27627
  });
27626
27628
  return { OnWindowLoaded: (t) => {
27627
- Vn(() => n().then(t));
27629
+ Hn(() => n().then(t));
27628
27630
  } };
27629
27631
  }
27630
27632
  function TO(n) {
27631
27633
  const { OnWindowLoaded: e } = CO();
27632
27634
  let t;
27633
- Vn(() => {
27635
+ Hn(() => {
27634
27636
  t = document.addEventListener("click", (o) => {
27635
27637
  if (!o || !o.target)
27636
27638
  return;
@@ -27651,7 +27653,15 @@ function TO(n) {
27651
27653
  }
27652
27654
  const bO = {
27653
27655
  mounted: (n) => {
27654
- new $r(n);
27656
+ new Sn(n);
27657
+ },
27658
+ updated: (n) => {
27659
+ const e = Sn.getInstance(n);
27660
+ e && e.dispose(), new Sn(n);
27661
+ },
27662
+ unmounted: (n) => {
27663
+ const e = Sn.getInstance(n);
27664
+ e && e.dispose();
27655
27665
  }
27656
27666
  };
27657
27667
  var AO = { exports: {} };