mhz-ui 1.1.20 → 1.1.22

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,5 +1,5 @@
1
1
  import "./UiEditor.css";
2
- import { defineComponent as mn, shallowRef as Fc, onMounted as ts, onBeforeUnmount as Jn, h as Un, ref as ns, getCurrentInstance as $c, watchEffect as Hc, nextTick as jc, unref as Ai, markRaw as Wc, customRef as _c, computed as qc, watch as Kc, createElementBlock as $s, openBlock as Hs, normalizeClass as dr, createElementVNode as js, createVNode as Jc, Fragment as Uc, renderList as Gc, toDisplayString as Yc } from "vue";
2
+ import { defineComponent as mn, shallowRef as Fc, onMounted as ts, onBeforeUnmount as Jn, h as Un, ref as ns, getCurrentInstance as $c, watchEffect as Hc, nextTick as jc, unref as Ai, markRaw as Wc, customRef as qc, computed as Kc, watch as _c, createElementBlock as $s, openBlock as Hs, normalizeClass as dr, createElementVNode as js, createVNode as Jc, Fragment as Uc, renderList as Gc, toDisplayString as Yc } from "vue";
3
3
  import { _ as Xc } from "../_plugin-vue_export-helper-CHgC5LLL.js";
4
4
  function X(n) {
5
5
  this.content = n;
@@ -1616,14 +1616,14 @@ function su(n) {
1616
1616
  break;
1617
1617
  return e;
1618
1618
  }
1619
- function _s(n) {
1619
+ function qs(n) {
1620
1620
  /\D/.test(n.next) && n.err("Expected number, got '" + n.next + "'");
1621
1621
  let e = Number(n.next);
1622
1622
  return n.pos++, e;
1623
1623
  }
1624
1624
  function ou(n, e) {
1625
- let t = _s(n), r = t;
1626
- return n.eat(",") && (n.next != "}" ? r = _s(n) : r = -1), n.eat("}") || n.err("Unclosed braced range"), { type: "range", min: t, max: r, expr: e };
1625
+ let t = qs(n), r = t;
1626
+ return n.eat(",") && (n.next != "}" ? r = qs(n) : r = -1), n.eat("}") || n.err("Unclosed braced range"), { type: "range", min: t, max: r, expr: e };
1627
1627
  }
1628
1628
  function lu(n, e) {
1629
1629
  let t = n.nodeTypes, r = t[e];
@@ -1704,7 +1704,7 @@ function cu(n) {
1704
1704
  function Il(n, e) {
1705
1705
  return e - n;
1706
1706
  }
1707
- function qs(n, e) {
1707
+ function Ks(n, e) {
1708
1708
  let t = [];
1709
1709
  return r(e), t.sort(Il);
1710
1710
  function r(i) {
@@ -1720,7 +1720,7 @@ function qs(n, e) {
1720
1720
  }
1721
1721
  function uu(n) {
1722
1722
  let e = /* @__PURE__ */ Object.create(null);
1723
- return t(qs(n, 0));
1723
+ return t(Ks(n, 0));
1724
1724
  function t(r) {
1725
1725
  let i = [];
1726
1726
  r.forEach((o) => {
@@ -1730,7 +1730,7 @@ function uu(n) {
1730
1730
  let c;
1731
1731
  for (let u = 0; u < i.length; u++)
1732
1732
  i[u][0] == l && (c = i[u][1]);
1733
- qs(n, a).forEach((u) => {
1733
+ Ks(n, a).forEach((u) => {
1734
1734
  c || i.push([l, c = []]), c.indexOf(u) == -1 && c.push(u);
1735
1735
  });
1736
1736
  });
@@ -1794,7 +1794,7 @@ function Ll(n, e) {
1794
1794
  t[r] = new pu(n, r, e[r]);
1795
1795
  return t;
1796
1796
  }
1797
- let Ks = class zl {
1797
+ let _s = class zl {
1798
1798
  /**
1799
1799
  @internal
1800
1800
  */
@@ -2053,7 +2053,7 @@ class Vl {
2053
2053
  let t = this.spec = {};
2054
2054
  for (let i in e)
2055
2055
  t[i] = e[i];
2056
- t.nodes = X.from(e.nodes), t.marks = X.from(e.marks || {}), this.nodes = Ks.compile(this.spec.nodes, this), this.marks = Wr.compile(this.spec.marks, this);
2056
+ t.nodes = X.from(e.nodes), t.marks = X.from(e.marks || {}), this.nodes = _s.compile(this.spec.nodes, this), this.marks = Wr.compile(this.spec.marks, this);
2057
2057
  let r = /* @__PURE__ */ Object.create(null);
2058
2058
  for (let i in this.nodes) {
2059
2059
  if (i in this.marks)
@@ -2083,7 +2083,7 @@ class Vl {
2083
2083
  node(e, t = null, r, i) {
2084
2084
  if (typeof e == "string")
2085
2085
  e = this.nodeType(e);
2086
- else if (e instanceof Ks) {
2086
+ else if (e instanceof _s) {
2087
2087
  if (e.schema != this)
2088
2088
  throw new RangeError("Node type from different schema used (" + e.name + ")");
2089
2089
  } else throw new RangeError("Invalid node type: " + e);
@@ -2829,7 +2829,7 @@ function eo(n) {
2829
2829
  function wu(n) {
2830
2830
  return (n - (n & Hl)) / jl;
2831
2831
  }
2832
- const Wl = 1, _l = 2, Sr = 4, ql = 8;
2832
+ const Wl = 1, ql = 2, Sr = 4, Kl = 8;
2833
2833
  class Pi {
2834
2834
  /**
2835
2835
  @internal
@@ -2843,7 +2843,7 @@ class Pi {
2843
2843
  argument from the document.
2844
2844
  */
2845
2845
  get deleted() {
2846
- return (this.delInfo & ql) > 0;
2846
+ return (this.delInfo & Kl) > 0;
2847
2847
  }
2848
2848
  /**
2849
2849
  Tells you whether the token before the mapped position was deleted.
@@ -2855,7 +2855,7 @@ class Pi {
2855
2855
  True when the token after the mapped position was deleted.
2856
2856
  */
2857
2857
  get deletedAfter() {
2858
- return (this.delInfo & (_l | Sr)) > 0;
2858
+ return (this.delInfo & (ql | Sr)) > 0;
2859
2859
  }
2860
2860
  /**
2861
2861
  Tells whether any of the steps mapped through deletes across the
@@ -2906,8 +2906,8 @@ class be {
2906
2906
  let f = c ? e == a ? -1 : e == d ? 1 : t : t, p = a + i + (f < 0 ? 0 : u);
2907
2907
  if (r)
2908
2908
  return p;
2909
- let h = e == (t < 0 ? a : d) ? null : xu(l / 3, e - a), m = e == a ? _l : e == d ? Wl : Sr;
2910
- return (t < 0 ? e != a : e != d) && (m |= ql), new Pi(p, m, h);
2909
+ let h = e == (t < 0 ? a : d) ? null : xu(l / 3, e - a), m = e == a ? ql : e == d ? Wl : Sr;
2910
+ return (t < 0 ? e != a : e != d) && (m |= Kl), new Pi(p, m, h);
2911
2911
  }
2912
2912
  i += u - c;
2913
2913
  }
@@ -3112,7 +3112,7 @@ class se {
3112
3112
  return li[e] = t, t.prototype.jsonID = e, t;
3113
3113
  }
3114
3114
  }
3115
- class _ {
3115
+ class q {
3116
3116
  /**
3117
3117
  @internal
3118
3118
  */
@@ -3123,13 +3123,13 @@ class _ {
3123
3123
  Create a successful step result.
3124
3124
  */
3125
3125
  static ok(e) {
3126
- return new _(e, null);
3126
+ return new q(e, null);
3127
3127
  }
3128
3128
  /**
3129
3129
  Create a failed step result.
3130
3130
  */
3131
3131
  static fail(e) {
3132
- return new _(null, e);
3132
+ return new q(null, e);
3133
3133
  }
3134
3134
  /**
3135
3135
  Call [`Node.replace`](https://prosemirror.net/docs/ref/#model.Node.replace) with the given
@@ -3138,10 +3138,10 @@ class _ {
3138
3138
  */
3139
3139
  static fromReplace(e, t, r, i) {
3140
3140
  try {
3141
- return _.ok(e.replace(t, r, i));
3141
+ return q.ok(e.replace(t, r, i));
3142
3142
  } catch (s) {
3143
3143
  if (s instanceof Er)
3144
- return _.fail(s.message);
3144
+ return q.fail(s.message);
3145
3145
  throw s;
3146
3146
  }
3147
3147
  }
@@ -3163,7 +3163,7 @@ class at extends se {
3163
3163
  }
3164
3164
  apply(e) {
3165
3165
  let t = e.slice(this.from, this.to), r = e.resolve(this.from), i = r.node(r.sharedDepth(this.to)), s = new S(rs(t.content, (o, l) => !o.isAtom || !l.type.allowsMarkType(this.mark.type) ? o : o.mark(this.mark.addToSet(o.marks)), i), t.openStart, t.openEnd);
3166
- return _.fromReplace(e, this.from, this.to, s);
3166
+ return q.fromReplace(e, this.from, this.to, s);
3167
3167
  }
3168
3168
  invert() {
3169
3169
  return new Fe(this.from, this.to, this.mark);
@@ -3202,7 +3202,7 @@ class Fe extends se {
3202
3202
  }
3203
3203
  apply(e) {
3204
3204
  let t = e.slice(this.from, this.to), r = new S(rs(t.content, (i) => i.mark(this.mark.removeFromSet(i.marks)), e), t.openStart, t.openEnd);
3205
- return _.fromReplace(e, this.from, this.to, r);
3205
+ return q.fromReplace(e, this.from, this.to, r);
3206
3206
  }
3207
3207
  invert() {
3208
3208
  return new at(this.from, this.to, this.mark);
@@ -3242,9 +3242,9 @@ class ct extends se {
3242
3242
  apply(e) {
3243
3243
  let t = e.nodeAt(this.pos);
3244
3244
  if (!t)
3245
- return _.fail("No node at mark step's position");
3245
+ return q.fail("No node at mark step's position");
3246
3246
  let r = t.type.create(t.attrs, null, this.mark.addToSet(t.marks));
3247
- return _.fromReplace(e, this.pos, this.pos + 1, new S(x.from(r), 0, t.isLeaf ? 0 : 1));
3247
+ return q.fromReplace(e, this.pos, this.pos + 1, new S(x.from(r), 0, t.isLeaf ? 0 : 1));
3248
3248
  }
3249
3249
  invert(e) {
3250
3250
  let t = e.nodeAt(this.pos);
@@ -3286,9 +3286,9 @@ class rn extends se {
3286
3286
  apply(e) {
3287
3287
  let t = e.nodeAt(this.pos);
3288
3288
  if (!t)
3289
- return _.fail("No node at mark step's position");
3289
+ return q.fail("No node at mark step's position");
3290
3290
  let r = t.type.create(t.attrs, null, this.mark.removeFromSet(t.marks));
3291
- return _.fromReplace(e, this.pos, this.pos + 1, new S(x.from(r), 0, t.isLeaf ? 0 : 1));
3291
+ return q.fromReplace(e, this.pos, this.pos + 1, new S(x.from(r), 0, t.isLeaf ? 0 : 1));
3292
3292
  }
3293
3293
  invert(e) {
3294
3294
  let t = e.nodeAt(this.pos);
@@ -3311,7 +3311,7 @@ class rn extends se {
3311
3311
  }
3312
3312
  }
3313
3313
  se.jsonID("removeNodeMark", rn);
3314
- class K extends se {
3314
+ class _ extends se {
3315
3315
  /**
3316
3316
  The given `slice` should fit the 'gap' between `from` and
3317
3317
  `to`—the depths must line up, and the surrounding nodes must be
@@ -3325,27 +3325,27 @@ class K extends se {
3325
3325
  super(), this.from = e, this.to = t, this.slice = r, this.structure = i;
3326
3326
  }
3327
3327
  apply(e) {
3328
- return this.structure && Bi(e, this.from, this.to) ? _.fail("Structure replace would overwrite content") : _.fromReplace(e, this.from, this.to, this.slice);
3328
+ return this.structure && Bi(e, this.from, this.to) ? q.fail("Structure replace would overwrite content") : q.fromReplace(e, this.from, this.to, this.slice);
3329
3329
  }
3330
3330
  getMap() {
3331
3331
  return new be([this.from, this.to - this.from, this.slice.size]);
3332
3332
  }
3333
3333
  invert(e) {
3334
- return new K(this.from, this.from + this.slice.size, e.slice(this.from, this.to));
3334
+ return new _(this.from, this.from + this.slice.size, e.slice(this.from, this.to));
3335
3335
  }
3336
3336
  map(e) {
3337
3337
  let t = e.mapResult(this.from, 1), r = e.mapResult(this.to, -1);
3338
- return t.deletedAcross && r.deletedAcross ? null : new K(t.pos, Math.max(t.pos, r.pos), this.slice);
3338
+ return t.deletedAcross && r.deletedAcross ? null : new _(t.pos, Math.max(t.pos, r.pos), this.slice);
3339
3339
  }
3340
3340
  merge(e) {
3341
- if (!(e instanceof K) || e.structure || this.structure)
3341
+ if (!(e instanceof _) || e.structure || this.structure)
3342
3342
  return null;
3343
3343
  if (this.from + this.slice.size == e.from && !this.slice.openEnd && !e.slice.openStart) {
3344
3344
  let t = this.slice.size + e.slice.size == 0 ? S.empty : new S(this.slice.content.append(e.slice.content), this.slice.openStart, e.slice.openEnd);
3345
- return new K(this.from, this.to + (e.to - e.from), t, this.structure);
3345
+ return new _(this.from, this.to + (e.to - e.from), t, this.structure);
3346
3346
  } else if (e.to == this.from && !this.slice.openStart && !e.slice.openEnd) {
3347
3347
  let t = this.slice.size + e.slice.size == 0 ? S.empty : new S(e.slice.content.append(this.slice.content), e.slice.openStart, this.slice.openEnd);
3348
- return new K(e.from, this.to, t, this.structure);
3348
+ return new _(e.from, this.to, t, this.structure);
3349
3349
  } else
3350
3350
  return null;
3351
3351
  }
@@ -3359,10 +3359,10 @@ class K extends se {
3359
3359
  static fromJSON(e, t) {
3360
3360
  if (typeof t.from != "number" || typeof t.to != "number")
3361
3361
  throw new RangeError("Invalid input for ReplaceStep.fromJSON");
3362
- return new K(t.from, t.to, S.fromJSON(e, t.slice), !!t.structure);
3362
+ return new _(t.from, t.to, S.fromJSON(e, t.slice), !!t.structure);
3363
3363
  }
3364
3364
  }
3365
- se.jsonID("replace", K);
3365
+ se.jsonID("replace", _);
3366
3366
  class J extends se {
3367
3367
  /**
3368
3368
  Create a replace-around step with the given range and gap.
@@ -3375,12 +3375,12 @@ class J extends se {
3375
3375
  }
3376
3376
  apply(e) {
3377
3377
  if (this.structure && (Bi(e, this.from, this.gapFrom) || Bi(e, this.gapTo, this.to)))
3378
- return _.fail("Structure gap-replace would overwrite content");
3378
+ return q.fail("Structure gap-replace would overwrite content");
3379
3379
  let t = e.slice(this.gapFrom, this.gapTo);
3380
3380
  if (t.openStart || t.openEnd)
3381
- return _.fail("Gap is not a flat range");
3381
+ return q.fail("Gap is not a flat range");
3382
3382
  let r = this.slice.insertAt(this.insert, t.content);
3383
- return r ? _.fromReplace(e, this.from, this.to, r) : _.fail("Content does not fit in gap");
3383
+ return r ? q.fromReplace(e, this.from, this.to, r) : q.fail("Content does not fit in gap");
3384
3384
  }
3385
3385
  getMap() {
3386
3386
  return new be([
@@ -3479,7 +3479,7 @@ function is(n, e, t, r = t.contentMatch, i = !0) {
3479
3479
  for (let a = 0; a < s.childCount; a++) {
3480
3480
  let c = s.child(a), u = l + c.nodeSize, d = r.matchType(c.type);
3481
3481
  if (!d)
3482
- o.push(new K(l, u, S.empty));
3482
+ o.push(new _(l, u, S.empty));
3483
3483
  else {
3484
3484
  r = d;
3485
3485
  for (let f = 0; f < c.marks.length; f++)
@@ -3487,7 +3487,7 @@ function is(n, e, t, r = t.contentMatch, i = !0) {
3487
3487
  if (i && c.isText && t.whitespace != "pre") {
3488
3488
  let f, p = /\r?\n|\r/g, h;
3489
3489
  for (; f = p.exec(c.text); )
3490
- h || (h = new S(x.from(t.schema.text(" ", t.allowedMarks(c.marks))), 0, 0)), o.push(new K(l + f.index, l + f.index + f[0].length, h));
3490
+ h || (h = new S(x.from(t.schema.text(" ", t.allowedMarks(c.marks))), 0, 0)), o.push(new _(l + f.index, l + f.index + f[0].length, h));
3491
3491
  }
3492
3492
  }
3493
3493
  l = u;
@@ -3572,11 +3572,11 @@ function Nu(n, e, t, r, i) {
3572
3572
  }
3573
3573
  c === !1 && Jl(n, o, l, s), is(n, n.mapping.slice(s).map(l, 1), r, void 0, c === null);
3574
3574
  let u = n.mapping.slice(s), d = u.map(l, 1), f = u.map(l + o.nodeSize, 1);
3575
- return n.step(new J(d, f, d + 1, f - 1, new S(x.from(r.create(a, null, o.marks)), 0, 0), 1, !0)), c === !0 && Kl(n, o, l, s), !1;
3575
+ return n.step(new J(d, f, d + 1, f - 1, new S(x.from(r.create(a, null, o.marks)), 0, 0), 1, !0)), c === !0 && _l(n, o, l, s), !1;
3576
3576
  }
3577
3577
  });
3578
3578
  }
3579
- function Kl(n, e, t, r) {
3579
+ function _l(n, e, t, r) {
3580
3580
  e.forEach((i, s) => {
3581
3581
  if (i.isText) {
3582
3582
  let o, l = /\r?\n|\r/g;
@@ -3636,7 +3636,7 @@ function Ru(n, e, t = 1, r) {
3636
3636
  let u = r && r[c];
3637
3637
  o = x.from(u ? u.type.create(u.attrs, o) : i.node(l).copy(o));
3638
3638
  }
3639
- n.step(new K(e, e, new S(s.append(o), t, t), !0));
3639
+ n.step(new _(e, e, new S(s.append(o), t, t), !0));
3640
3640
  }
3641
3641
  function bt(n, e) {
3642
3642
  let t = n.resolve(e), r = t.index();
@@ -3655,7 +3655,7 @@ function Pu(n, e) {
3655
3655
  function Ul(n, e) {
3656
3656
  return !!(n && e && !n.isLeaf && Pu(n, e));
3657
3657
  }
3658
- function _r(n, e, t = -1) {
3658
+ function qr(n, e, t = -1) {
3659
3659
  let r = n.resolve(e);
3660
3660
  for (let i = r.depth; ; i--) {
3661
3661
  let s, o, l = r.index(i);
@@ -3679,9 +3679,9 @@ function Bu(n, e, t) {
3679
3679
  }
3680
3680
  o.inlineContent && is(n, e + t - 1, o, s.node().contentMatchAt(s.index()), r == null);
3681
3681
  let a = n.mapping.slice(l), c = a.map(e - t);
3682
- if (n.step(new K(c, a.map(e + t, -1), S.empty, !0)), r === !0) {
3682
+ if (n.step(new _(c, a.map(e + t, -1), S.empty, !0)), r === !0) {
3683
3683
  let u = n.doc.resolve(c);
3684
- Kl(n, u.node(), u.before(), n.steps.length);
3684
+ _l(n, u.node(), u.before(), n.steps.length);
3685
3685
  }
3686
3686
  return n;
3687
3687
  }
@@ -3728,11 +3728,11 @@ function Gl(n, e, t) {
3728
3728
  }
3729
3729
  return null;
3730
3730
  }
3731
- function qr(n, e, t = e, r = S.empty) {
3731
+ function Kr(n, e, t = e, r = S.empty) {
3732
3732
  if (e == t && !r.size)
3733
3733
  return null;
3734
3734
  let i = n.resolve(e), s = n.resolve(t);
3735
- return Yl(i, s, r) ? new K(e, t, r) : new zu(i, s, r).fit();
3735
+ return Yl(i, s, r) ? new _(e, t, r) : new zu(i, s, r).fit();
3736
3736
  }
3737
3737
  function Yl(n, e, t) {
3738
3738
  return !t.openStart && !t.openEnd && n.start() == e.start() && n.parent.canReplace(n.index(), e.index(), t.content);
@@ -3765,7 +3765,7 @@ class zu {
3765
3765
  for (; o && l && s.childCount == 1; )
3766
3766
  s = s.firstChild.content, o--, l--;
3767
3767
  let a = new S(s, o, l);
3768
- return e > -1 ? new J(r.pos, e, this.$to.pos, this.$to.end(), a, t) : a.size || r.pos != this.$to.pos ? new K(r.pos, i.pos, a) : null;
3768
+ return e > -1 ? new J(r.pos, e, this.$to.pos, this.$to.end(), a, t) : a.size || r.pos != this.$to.pos ? new _(r.pos, i.pos, a) : null;
3769
3769
  }
3770
3770
  // Find a position on the start spine of `this.unplaced` that has
3771
3771
  // content that can be moved somewhere on the frontier. Returns two
@@ -3922,7 +3922,7 @@ function $u(n, e, t, r) {
3922
3922
  return n.deleteRange(e, t);
3923
3923
  let i = n.doc.resolve(e), s = n.doc.resolve(t);
3924
3924
  if (Yl(i, s, r))
3925
- return n.step(new K(e, t, r));
3925
+ return n.step(new _(e, t, r));
3926
3926
  let o = Ql(i, n.doc.resolve(t));
3927
3927
  o[o.length - 1] == 0 && o.pop();
3928
3928
  let l = -(i.depth + 1);
@@ -4016,13 +4016,13 @@ class tn extends se {
4016
4016
  apply(e) {
4017
4017
  let t = e.nodeAt(this.pos);
4018
4018
  if (!t)
4019
- return _.fail("No node at attribute step's position");
4019
+ return q.fail("No node at attribute step's position");
4020
4020
  let r = /* @__PURE__ */ Object.create(null);
4021
4021
  for (let s in t.attrs)
4022
4022
  r[s] = t.attrs[s];
4023
4023
  r[this.attr] = this.value;
4024
4024
  let i = t.type.create(r, null, t.marks);
4025
- return _.fromReplace(e, this.pos, this.pos + 1, new S(x.from(i), 0, t.isLeaf ? 0 : 1));
4025
+ return q.fromReplace(e, this.pos, this.pos + 1, new S(x.from(i), 0, t.isLeaf ? 0 : 1));
4026
4026
  }
4027
4027
  getMap() {
4028
4028
  return be.empty;
@@ -4057,7 +4057,7 @@ class zn extends se {
4057
4057
  t[i] = e.attrs[i];
4058
4058
  t[this.attr] = this.value;
4059
4059
  let r = e.type.create(t, e.content, e.marks);
4060
- return _.ok(r);
4060
+ return q.ok(r);
4061
4061
  }
4062
4062
  getMap() {
4063
4063
  return be.empty;
@@ -4136,7 +4136,7 @@ class Wu {
4136
4136
  given `slice`.
4137
4137
  */
4138
4138
  replace(e, t = e, r = S.empty) {
4139
- let i = qr(this.doc, e, t, r);
4139
+ let i = Kr(this.doc, e, t, r);
4140
4140
  return i && this.step(i), this;
4141
4141
  }
4142
4142
  /**
@@ -4315,7 +4315,7 @@ class R {
4315
4315
  `$head`.
4316
4316
  */
4317
4317
  constructor(e, t, r) {
4318
- this.$anchor = e, this.$head = t, this.ranges = r || [new _u(e.min(t), e.max(t))];
4318
+ this.$anchor = e, this.$head = t, this.ranges = r || [new qu(e.min(t), e.max(t))];
4319
4319
  }
4320
4320
  /**
4321
4321
  The selection's anchor, as an unresolved position.
@@ -4473,7 +4473,7 @@ class R {
4473
4473
  }
4474
4474
  }
4475
4475
  R.prototype.visible = !0;
4476
- class _u {
4476
+ class qu {
4477
4477
  /**
4478
4478
  Create a range.
4479
4479
  */
@@ -4516,7 +4516,7 @@ class D extends R {
4516
4516
  return e instanceof D && e.anchor == this.anchor && e.head == this.head;
4517
4517
  }
4518
4518
  getBookmark() {
4519
- return new Kr(this.anchor, this.head);
4519
+ return new _r(this.anchor, this.head);
4520
4520
  }
4521
4521
  toJSON() {
4522
4522
  return { type: "text", anchor: this.anchor, head: this.head };
@@ -4557,12 +4557,12 @@ class D extends R {
4557
4557
  }
4558
4558
  }
4559
4559
  R.jsonID("text", D);
4560
- class Kr {
4560
+ class _r {
4561
4561
  constructor(e, t) {
4562
4562
  this.anchor = e, this.head = t;
4563
4563
  }
4564
4564
  map(e) {
4565
- return new Kr(e.map(this.anchor), e.map(this.head));
4565
+ return new _r(e.map(this.anchor), e.map(this.head));
4566
4566
  }
4567
4567
  resolve(e) {
4568
4568
  return D.between(e.resolve(this.anchor), e.resolve(this.head));
@@ -4623,7 +4623,7 @@ class ls {
4623
4623
  }
4624
4624
  map(e) {
4625
4625
  let { deleted: t, pos: r } = e.mapResult(this.anchor);
4626
- return t ? new Kr(r, r) : new ls(r);
4626
+ return t ? new _r(r, r) : new ls(r);
4627
4627
  }
4628
4628
  resolve(e) {
4629
4629
  let t = e.resolve(this.anchor), r = t.nodeAfter;
@@ -4661,11 +4661,11 @@ class ke extends R {
4661
4661
  return e instanceof ke;
4662
4662
  }
4663
4663
  getBookmark() {
4664
- return qu;
4664
+ return Ku;
4665
4665
  }
4666
4666
  }
4667
4667
  R.jsonID("all", ke);
4668
- const qu = {
4668
+ const Ku = {
4669
4669
  map() {
4670
4670
  return this;
4671
4671
  },
@@ -4695,7 +4695,7 @@ function io(n, e, t) {
4695
4695
  if (r < e)
4696
4696
  return;
4697
4697
  let i = n.steps[r];
4698
- if (!(i instanceof K || i instanceof J))
4698
+ if (!(i instanceof _ || i instanceof J))
4699
4699
  return;
4700
4700
  let s = n.mapping.maps[r], o;
4701
4701
  s.forEach((l, a, c, u) => {
@@ -4703,7 +4703,7 @@ function io(n, e, t) {
4703
4703
  }), n.setSelection(R.near(n.doc.resolve(o), t));
4704
4704
  }
4705
4705
  const so = 1, oo = 2, lo = 4;
4706
- class Ku extends Wu {
4706
+ class _u extends Wu {
4707
4707
  /**
4708
4708
  @internal
4709
4709
  */
@@ -4991,7 +4991,7 @@ class Qt {
4991
4991
  Start a [transaction](https://prosemirror.net/docs/ref/#state.Transaction) from this state.
4992
4992
  */
4993
4993
  get tr() {
4994
- return new Ku(this);
4994
+ return new _u(this);
4995
4995
  }
4996
4996
  /**
4997
4997
  Create a new state.
@@ -7078,12 +7078,12 @@ function wa(n, e) {
7078
7078
  let t = n.content.replaceChild(n.childCount - 1, wa(n.lastChild, e - 1)), r = n.contentMatchAt(n.childCount).fillBefore(x.empty, !0);
7079
7079
  return n.copy(t.append(r));
7080
7080
  }
7081
- function _i(n, e, t, r, i, s) {
7081
+ function qi(n, e, t, r, i, s) {
7082
7082
  let o = e < 0 ? n.firstChild : n.lastChild, l = o.content;
7083
- return n.childCount > 1 && (s = 0), i < r - 1 && (l = _i(l, e, t, r, i + 1, s)), i >= t && (l = e < 0 ? o.contentMatchAt(0).fillBefore(l, s <= i).append(l) : l.append(o.contentMatchAt(o.childCount).fillBefore(x.empty, !0))), n.replaceChild(e < 0 ? 0 : n.childCount - 1, o.copy(l));
7083
+ return n.childCount > 1 && (s = 0), i < r - 1 && (l = qi(l, e, t, r, i + 1, s)), i >= t && (l = e < 0 ? o.contentMatchAt(0).fillBefore(l, s <= i).append(l) : l.append(o.contentMatchAt(o.childCount).fillBefore(x.empty, !0))), n.replaceChild(e < 0 ? 0 : n.childCount - 1, o.copy(l));
7084
7084
  }
7085
7085
  function No(n, e, t) {
7086
- return e < n.openStart && (n = new S(_i(n.content, -1, e, n.openStart, 0, n.openEnd), e, n.openEnd)), t < n.openEnd && (n = new S(_i(n.content, 1, t, n.openEnd, 0, 0), n.openStart, t)), n;
7086
+ return e < n.openStart && (n = new S(qi(n.content, -1, e, n.openStart, 0, n.openEnd), e, n.openEnd)), t < n.openEnd && (n = new S(qi(n.content, 1, t, n.openEnd, 0, 0), n.openStart, t)), n;
7087
7087
  }
7088
7088
  const Sa = {
7089
7089
  thead: ["table"],
@@ -7140,30 +7140,30 @@ function jd(n, e) {
7140
7140
  return new S(i, s, o);
7141
7141
  }
7142
7142
  const ce = {}, ue = {}, Wd = { touchstart: !0, touchmove: !0 };
7143
- class _d {
7143
+ class qd {
7144
7144
  constructor() {
7145
7145
  this.shiftKey = !1, this.mouseDown = null, this.lastKeyCode = null, this.lastKeyCodeTime = 0, this.lastClick = { time: 0, x: 0, y: 0, type: "" }, this.lastSelectionOrigin = null, this.lastSelectionTime = 0, this.lastIOSEnter = 0, this.lastIOSEnterFallbackTimeout = -1, this.lastFocus = 0, this.lastTouch = 0, this.lastChromeDelete = 0, this.composing = !1, this.compositionNode = null, this.composingTimeout = -1, this.compositionNodes = [], this.compositionEndedAt = -2e8, this.compositionID = 1, this.compositionPendingChanges = 0, this.domChangeCount = 0, this.eventHandlers = /* @__PURE__ */ Object.create(null), this.hideSelectionGuard = null;
7146
7146
  }
7147
7147
  }
7148
- function qd(n) {
7148
+ function Kd(n) {
7149
7149
  for (let e in ce) {
7150
7150
  let t = ce[e];
7151
7151
  n.dom.addEventListener(e, n.input.eventHandlers[e] = (r) => {
7152
7152
  Jd(n, r) && !fs(n, r) && (n.editable || !(r.type in ue)) && t(n, r);
7153
7153
  }, Wd[e] ? { passive: !0 } : void 0);
7154
7154
  }
7155
- ae && n.dom.addEventListener("input", () => null), qi(n);
7155
+ ae && n.dom.addEventListener("input", () => null), Ki(n);
7156
7156
  }
7157
7157
  function ut(n, e) {
7158
7158
  n.input.lastSelectionOrigin = e, n.input.lastSelectionTime = Date.now();
7159
7159
  }
7160
- function Kd(n) {
7160
+ function _d(n) {
7161
7161
  n.domObserver.stop();
7162
7162
  for (let e in n.input.eventHandlers)
7163
7163
  n.dom.removeEventListener(e, n.input.eventHandlers[e]);
7164
7164
  clearTimeout(n.input.composingTimeout), clearTimeout(n.input.lastIOSEnterFallbackTimeout);
7165
7165
  }
7166
- function qi(n) {
7166
+ function Ki(n) {
7167
7167
  n.someProp("handleDOMEvents", (e) => {
7168
7168
  for (let t in e)
7169
7169
  n.input.eventHandlers[t] || n.dom.addEventListener(t, n.input.eventHandlers[t] = (r) => fs(n, r));
@@ -7706,7 +7706,7 @@ class Ce {
7706
7706
  }
7707
7707
  }
7708
7708
  const Xt = [], Rt = {};
7709
- class q {
7709
+ class K {
7710
7710
  /**
7711
7711
  @internal
7712
7712
  */
@@ -7760,7 +7760,7 @@ class q {
7760
7760
  let a = this.local[l].map(e, r, i);
7761
7761
  a && a.type.valid(t, a) ? (o || (o = [])).push(a) : s.onRemove && s.onRemove(this.local[l].spec);
7762
7762
  }
7763
- return this.children.length ? uf(this.children, o || [], e, t, r, i, s) : o ? new q(o.sort(Pt), Xt) : re;
7763
+ return this.children.length ? uf(this.children, o || [], e, t, r, i, s) : o ? new K(o.sort(Pt), Xt) : re;
7764
7764
  }
7765
7765
  /**
7766
7766
  Add the given array of decorations to the ones in the set,
@@ -7769,7 +7769,7 @@ class q {
7769
7769
  structure.
7770
7770
  */
7771
7771
  add(e, t) {
7772
- return t.length ? this == re ? q.create(e, t) : this.addInner(e, t, 0) : this;
7772
+ return t.length ? this == re ? K.create(e, t) : this.addInner(e, t, 0) : this;
7773
7773
  }
7774
7774
  addInner(e, t, r) {
7775
7775
  let i, s = 0;
@@ -7784,7 +7784,7 @@ class q {
7784
7784
  let o = Ia(s ? Pa(t) : t, -r);
7785
7785
  for (let l = 0; l < o.length; l++)
7786
7786
  o[l].type.valid(e, o[l]) || o.splice(l--, 1);
7787
- return new q(o.length ? this.local.concat(o).sort(Pt) : this.local, i || this.children);
7787
+ return new K(o.length ? this.local.concat(o).sort(Pt) : this.local, i || this.children);
7788
7788
  }
7789
7789
  /**
7790
7790
  Create a new set that contains the decorations in this set, minus
@@ -7811,13 +7811,13 @@ class q {
7811
7811
  for (let l = 0; l < i.length; l++)
7812
7812
  i[l].eq(o, t) && (i == this.local && (i = this.local.slice()), i.splice(l--, 1));
7813
7813
  }
7814
- return r == this.children && i == this.local ? this : i.length || r.length ? new q(i, r) : re;
7814
+ return r == this.children && i == this.local ? this : i.length || r.length ? new K(i, r) : re;
7815
7815
  }
7816
7816
  forChild(e, t) {
7817
7817
  if (this == re)
7818
7818
  return this;
7819
7819
  if (t.isLeaf)
7820
- return q.empty;
7820
+ return K.empty;
7821
7821
  let r, i;
7822
7822
  for (let l = 0; l < this.children.length; l += 3)
7823
7823
  if (this.children[l] >= e) {
@@ -7833,7 +7833,7 @@ class q {
7833
7833
  }
7834
7834
  }
7835
7835
  if (i) {
7836
- let l = new q(i.sort(Pt), Xt);
7836
+ let l = new K(i.sort(Pt), Xt);
7837
7837
  return r ? new lt([l, r]) : l;
7838
7838
  }
7839
7839
  return r || re;
@@ -7844,7 +7844,7 @@ class q {
7844
7844
  eq(e) {
7845
7845
  if (this == e)
7846
7846
  return !0;
7847
- if (!(e instanceof q) || this.local.length != e.local.length || this.children.length != e.children.length)
7847
+ if (!(e instanceof K) || this.local.length != e.local.length || this.children.length != e.children.length)
7848
7848
  return !1;
7849
7849
  for (let t = 0; t < this.local.length; t++)
7850
7850
  if (!this.local[t].eq(e.local[t]))
@@ -7877,9 +7877,9 @@ class q {
7877
7877
  e(this);
7878
7878
  }
7879
7879
  }
7880
- q.empty = new q([], []);
7881
- q.removeOverlap = gs;
7882
- const re = q.empty;
7880
+ K.empty = new K([], []);
7881
+ K.removeOverlap = gs;
7882
+ const re = K.empty;
7883
7883
  class lt {
7884
7884
  constructor(e) {
7885
7885
  this.members = e;
@@ -7890,7 +7890,7 @@ class lt {
7890
7890
  }
7891
7891
  forChild(e, t) {
7892
7892
  if (t.isLeaf)
7893
- return q.empty;
7893
+ return K.empty;
7894
7894
  let r = [];
7895
7895
  for (let i = 0; i < this.members.length; i++) {
7896
7896
  let s = this.members[i].forChild(e, t);
@@ -7930,7 +7930,7 @@ class lt {
7930
7930
  case 1:
7931
7931
  return e[0];
7932
7932
  default:
7933
- return new lt(e.every((t) => t instanceof q) ? e : e.reduce((t, r) => t.concat(r instanceof q ? r : r.members), []));
7933
+ return new lt(e.every((t) => t instanceof K) ? e : e.reduce((t, r) => t.concat(r instanceof K ? r : r.members), []));
7934
7934
  }
7935
7935
  }
7936
7936
  forEachSet(e) {
@@ -7985,7 +7985,7 @@ function uf(n, e, t, r, i, s, o) {
7985
7985
  l.splice(f, 0, u.children[d], u.children[d + 1], u.children[d + 2]);
7986
7986
  }
7987
7987
  }
7988
- return new q(e.sort(Pt), l);
7988
+ return new K(e.sort(Pt), l);
7989
7989
  }
7990
7990
  function Ia(n, e) {
7991
7991
  if (!e || !n.length)
@@ -8037,7 +8037,7 @@ function Lr(n, e, t, r) {
8037
8037
  let o = Ia(s ? Pa(n) : n, -t).sort(Pt);
8038
8038
  for (let l = 0; l < o.length; l++)
8039
8039
  o[l].type.valid(e, o[l]) || (r.onRemove && r.onRemove(o[l].spec), o.splice(l--, 1));
8040
- return o.length || i.length ? new q(o, i) : re;
8040
+ return o.length || i.length ? new K(o, i) : re;
8041
8041
  }
8042
8042
  function Pt(n, e) {
8043
8043
  return n.from - e.from || n.to - e.to;
@@ -8070,7 +8070,7 @@ function gi(n) {
8070
8070
  return n.someProp("decorations", (t) => {
8071
8071
  let r = t(n.state);
8072
8072
  r && r != re && e.push(r);
8073
- }), n.cursorWrapper && e.push(q.create(n.state.doc, [n.cursorWrapper.deco])), lt.from(e);
8073
+ }), n.cursorWrapper && e.push(K.create(n.state.doc, [n.cursorWrapper.deco])), lt.from(e);
8074
8074
  }
8075
8075
  const ff = {
8076
8076
  childList: !0,
@@ -8465,7 +8465,7 @@ class Of {
8465
8465
  added to the document.
8466
8466
  */
8467
8467
  constructor(e, t) {
8468
- this._root = null, this.focused = !1, this.trackWrites = null, this.mounted = !1, this.markCursor = null, this.cursorWrapper = null, this.lastSelectedViewDesc = void 0, this.input = new _d(), this.prevDirectPlugins = [], this.pluginViews = [], this.requiresGeckoHackNode = !1, this.dragging = null, this._props = t, this.state = t.state, this.directPlugins = t.plugins || [], this.directPlugins.forEach(jo), this.dispatch = this.dispatch.bind(this), this.dom = e && e.mount || document.createElement("div"), e && (e.appendChild ? e.appendChild(this.dom) : typeof e == "function" ? e(this.dom) : e.mount && (this.mounted = !0)), this.editable = $o(this), Fo(this), this.nodeViews = Ho(this), this.docView = bo(this.state.doc, Vo(this), gi(this), this.dom, this), this.domObserver = new mf(this, (r, i, s, o) => wf(this, r, i, s, o)), this.domObserver.start(), qd(this), this.updatePluginViews();
8468
+ this._root = null, this.focused = !1, this.trackWrites = null, this.mounted = !1, this.markCursor = null, this.cursorWrapper = null, this.lastSelectedViewDesc = void 0, this.input = new qd(), this.prevDirectPlugins = [], this.pluginViews = [], this.requiresGeckoHackNode = !1, this.dragging = null, this._props = t, this.state = t.state, this.directPlugins = t.plugins || [], this.directPlugins.forEach(jo), this.dispatch = this.dispatch.bind(this), this.dom = e && e.mount || document.createElement("div"), e && (e.appendChild ? e.appendChild(this.dom) : typeof e == "function" ? e(this.dom) : e.mount && (this.mounted = !0)), this.editable = $o(this), Fo(this), this.nodeViews = Ho(this), this.docView = bo(this.state.doc, Vo(this), gi(this), this.dom, this), this.domObserver = new mf(this, (r, i, s, o) => wf(this, r, i, s, o)), this.domObserver.start(), Kd(this), this.updatePluginViews();
8469
8469
  }
8470
8470
  /**
8471
8471
  Holds `true` when a
@@ -8493,7 +8493,7 @@ class Of {
8493
8493
  the DOM.
8494
8494
  */
8495
8495
  update(e) {
8496
- e.handleDOMEvents != this._props.handleDOMEvents && qi(this);
8496
+ e.handleDOMEvents != this._props.handleDOMEvents && Ki(this);
8497
8497
  let t = this._props;
8498
8498
  this._props = e, e.plugins && (e.plugins.forEach(jo), this.directPlugins = e.plugins), this.updateStateInner(e.state, t);
8499
8499
  }
@@ -8527,7 +8527,7 @@ class Of {
8527
8527
  let p = Ho(this);
8528
8528
  Ef(p, this.nodeViews) && (this.nodeViews = p, s = !0);
8529
8529
  }
8530
- (l || t.handleDOMEvents != this._props.handleDOMEvents) && qi(this), this.editable = $o(this), Fo(this);
8530
+ (l || t.handleDOMEvents != this._props.handleDOMEvents) && Ki(this), this.editable = $o(this), Fo(this);
8531
8531
  let a = gi(this), c = Vo(this), u = i.plugins != e.plugins && !i.doc.eq(e.doc) ? "reset" : e.scrollToSelection > i.scrollToSelection ? "to selection" : "preserve", d = s || !this.docView.matchesNode(e.doc, c, a);
8532
8532
  (d || !e.selection.eq(i.selection)) && (o = !0);
8533
8533
  let f = u == "preserve" && o && this.dom.style.overflowAnchor == null && sd(this);
@@ -8758,7 +8758,7 @@ class Of {
8758
8758
  views](https://prosemirror.net/docs/ref/#view.NodeView).
8759
8759
  */
8760
8760
  destroy() {
8761
- this.docView && (Kd(this), this.destroyPluginViews(), this.mounted ? (this.docView.update(this.state.doc, [], gi(this), this), this.dom.textContent = "") : this.dom.parentNode && this.dom.parentNode.removeChild(this.dom), this.docView.destroy(), this.docView = null, Uu());
8761
+ this.docView && (_d(this), this.destroyPluginViews(), this.mounted ? (this.docView.update(this.state.doc, [], gi(this), this), this.dom.textContent = "") : this.dom.parentNode && this.dom.parentNode.removeChild(this.dom), this.docView.destroy(), this.docView = null, Uu());
8762
8762
  }
8763
8763
  /**
8764
8764
  This is true when the view has been
@@ -9004,11 +9004,11 @@ const za = (n, e, t) => {
9004
9004
  return l == null ? !1 : (e && e(n.tr.lift(o, l).scrollIntoView()), !0);
9005
9005
  }
9006
9006
  let s = i.nodeBefore;
9007
- if (Ka(n, i, e, -1))
9007
+ if (_a(n, i, e, -1))
9008
9008
  return !0;
9009
9009
  if (r.parent.content.size == 0 && (an(s, "end") || A.isSelectable(s)))
9010
9010
  for (let o = r.depth; ; o--) {
9011
- let l = qr(n.doc, r.before(o), r.after(o), S.empty);
9011
+ let l = Kr(n.doc, r.before(o), r.after(o), S.empty);
9012
9012
  if (l && l.slice.size < l.to - l.from) {
9013
9013
  if (e) {
9014
9014
  let a = n.tr.step(l);
@@ -9052,8 +9052,8 @@ function Va(n, e, t) {
9052
9052
  return !1;
9053
9053
  l = u;
9054
9054
  }
9055
- let c = qr(n.doc, s, a, S.empty);
9056
- if (!c || c.from != s || c instanceof K && c.slice.size >= a - s)
9055
+ let c = Kr(n.doc, s, a, S.empty);
9056
+ if (!c || c.from != s || c instanceof _ && c.slice.size >= a - s)
9057
9057
  return !1;
9058
9058
  if (t) {
9059
9059
  let u = n.tr.step(c);
@@ -9104,10 +9104,10 @@ const Ha = (n, e, t) => {
9104
9104
  if (!i)
9105
9105
  return !1;
9106
9106
  let s = i.nodeAfter;
9107
- if (Ka(n, i, e, 1))
9107
+ if (_a(n, i, e, 1))
9108
9108
  return !0;
9109
9109
  if (r.parent.content.size == 0 && (an(s, "start") || A.isSelectable(s))) {
9110
- let o = qr(n.doc, r.before(), r.after(), S.empty);
9110
+ let o = Kr(n.doc, r.before(), r.after(), S.empty);
9111
9111
  if (o && o.slice.size < o.to - o.from) {
9112
9112
  if (e) {
9113
9113
  let l = n.tr.step(o);
@@ -9146,7 +9146,7 @@ const Vf = (n, e) => {
9146
9146
  if (t.node.isTextblock || !bt(n.doc, t.from))
9147
9147
  return !1;
9148
9148
  i = t.from;
9149
- } else if (i = _r(n.doc, t.from, -1), i == null)
9149
+ } else if (i = qr(n.doc, t.from, -1), i == null)
9150
9150
  return !1;
9151
9151
  if (e) {
9152
9152
  let s = n.tr.join(i);
@@ -9159,7 +9159,7 @@ const Vf = (n, e) => {
9159
9159
  if (t.node.isTextblock || !bt(n.doc, t.to))
9160
9160
  return !1;
9161
9161
  r = t.to;
9162
- } else if (r = _r(n.doc, t.to, 1), r == null)
9162
+ } else if (r = qr(n.doc, t.to, 1), r == null)
9163
9163
  return !1;
9164
9164
  return e && e(n.tr.join(r).scrollIntoView()), !0;
9165
9165
  }, $f = (n, e) => {
@@ -9190,7 +9190,7 @@ const Hf = (n, e) => {
9190
9190
  a.setSelection(R.near(a.doc.resolve(l), 1)), e(a.scrollIntoView());
9191
9191
  }
9192
9192
  return !0;
9193
- }, _a = (n, e) => {
9193
+ }, qa = (n, e) => {
9194
9194
  let t = n.selection, { $from: r, $to: i } = t;
9195
9195
  if (t instanceof ke || r.parent.inlineContent || i.parent.inlineContent)
9196
9196
  return !1;
@@ -9202,7 +9202,7 @@ const Hf = (n, e) => {
9202
9202
  l.setSelection(D.create(l.doc, o + 1)), e(l.scrollIntoView());
9203
9203
  }
9204
9204
  return !0;
9205
- }, qa = (n, e) => {
9205
+ }, Ka = (n, e) => {
9206
9206
  let { $cursor: t } = n.selection;
9207
9207
  if (!t || t.parent.content.size)
9208
9208
  return !1;
@@ -9241,17 +9241,17 @@ function jf(n) {
9241
9241
  return t && t(u.scrollIntoView()), !0;
9242
9242
  };
9243
9243
  }
9244
- const Wf = jf(), _f = (n, e) => {
9244
+ const Wf = jf(), qf = (n, e) => {
9245
9245
  let { $from: t, to: r } = n.selection, i, s = t.sharedDepth(r);
9246
9246
  return s == 0 ? !1 : (i = t.before(s), e && e(n.tr.setSelection(A.create(n.doc, i))), !0);
9247
9247
  };
9248
- function qf(n, e, t) {
9248
+ function Kf(n, e, t) {
9249
9249
  let r = e.nodeBefore, i = e.nodeAfter, s = e.index();
9250
9250
  return !r || !i || !r.type.compatibleContent(i.type) ? !1 : !r.content.size && e.parent.canReplace(s - 1, s) ? (t && t(n.tr.delete(e.pos - r.nodeSize, e.pos).scrollIntoView()), !0) : !e.parent.canReplace(s, s + 1) || !(i.isTextblock || bt(n.doc, e.pos)) ? !1 : (t && t(n.tr.join(e.pos).scrollIntoView()), !0);
9251
9251
  }
9252
- function Ka(n, e, t, r) {
9252
+ function _a(n, e, t, r) {
9253
9253
  let i = e.nodeBefore, s = e.nodeAfter, o, l, a = i.type.spec.isolating || s.type.spec.isolating;
9254
- if (!a && qf(n, e, t))
9254
+ if (!a && Kf(n, e, t))
9255
9255
  return !0;
9256
9256
  let c = !a && e.parent.canReplace(e.index(), e.index() + 1);
9257
9257
  if (c && (o = (l = i.contentMatchAt(i.childCount)).findWrapping(s.type)) && l.matchType(o[0] || s.type).validEnd) {
@@ -9299,7 +9299,7 @@ function Ja(n) {
9299
9299
  return i.node(s).isTextblock ? (t && t(e.tr.setSelection(D.create(e.doc, n < 0 ? i.start(s) : i.end(s)))), !0) : !1;
9300
9300
  };
9301
9301
  }
9302
- const Kf = Ja(-1), Jf = Ja(1);
9302
+ const _f = Ja(-1), Jf = Ja(1);
9303
9303
  function Uf(n, e = null) {
9304
9304
  return function(t, r) {
9305
9305
  let { $from: i, $to: s } = t.selection, o = i.blockRange(s), l = o && ss(o, n, e);
@@ -9346,7 +9346,7 @@ function xs(...n) {
9346
9346
  }
9347
9347
  xs(ys, za, Fa);
9348
9348
  xs(ys, Ha, ja);
9349
- xs(Wa, _a, qa, Wf);
9349
+ xs(Wa, qa, Ka, Wf);
9350
9350
  typeof navigator < "u" ? /Mac|iP(hone|[oa]d)/.test(navigator.platform) : typeof os < "u" && os.platform && os.platform() == "darwin";
9351
9351
  function Gf(n, e = null) {
9352
9352
  return function(t, r) {
@@ -9639,7 +9639,7 @@ function de(...n) {
9639
9639
  }), r;
9640
9640
  }, {});
9641
9641
  }
9642
- function Ki(n, e) {
9642
+ function _i(n, e) {
9643
9643
  return e.filter((t) => t.type === n.type.name).filter((t) => t.attribute.rendered).map((t) => t.attribute.renderHTML ? t.attribute.renderHTML(n.attrs) || {} : {
9644
9644
  [t.name]: n.attrs[t.name]
9645
9645
  }).reduce((t, r) => de(t, r), {});
@@ -9656,7 +9656,7 @@ function rp(n = {}) {
9656
9656
  function ip(n) {
9657
9657
  return typeof n != "string" ? n : n.match(/^[+-]?(?:\d*\.)?\d+$/) ? Number(n) : n === "true" ? !0 : n === "false" ? !1 : n;
9658
9658
  }
9659
- function _o(n, e) {
9659
+ function qo(n, e) {
9660
9660
  return "style" in n ? n : {
9661
9661
  ...n,
9662
9662
  getAttrs: (t) => {
@@ -9674,7 +9674,7 @@ function _o(n, e) {
9674
9674
  }
9675
9675
  };
9676
9676
  }
9677
- function qo(n) {
9677
+ function Ko(n) {
9678
9678
  return Object.fromEntries(
9679
9679
  // @ts-ignore
9680
9680
  Object.entries(n).filter(([e, t]) => e === "attrs" && rp(t) ? !1 : t != null)
@@ -9694,7 +9694,7 @@ function sp(n, e) {
9694
9694
  ...b,
9695
9695
  ...M ? M(c) : {}
9696
9696
  };
9697
- }, {}), p = qo({
9697
+ }, {}), p = Ko({
9698
9698
  ...f,
9699
9699
  content: P(C(c, "content", d)),
9700
9700
  marks: P(C(c, "marks", d)),
@@ -9713,11 +9713,11 @@ function sp(n, e) {
9713
9713
  return [b.name, { default: (w = b?.attribute) === null || w === void 0 ? void 0 : w.default }];
9714
9714
  }))
9715
9715
  }), h = P(C(c, "parseHTML", d));
9716
- h && (p.parseDOM = h.map((b) => _o(b, u)));
9716
+ h && (p.parseDOM = h.map((b) => qo(b, u)));
9717
9717
  const m = C(c, "renderHTML", d);
9718
9718
  m && (p.toDOM = (b) => m({
9719
9719
  node: b,
9720
- HTMLAttributes: Ki(b, u)
9720
+ HTMLAttributes: _i(b, u)
9721
9721
  }));
9722
9722
  const g = C(c, "renderText", d);
9723
9723
  return g && (p.toText = g), [c.name, p];
@@ -9733,7 +9733,7 @@ function sp(n, e) {
9733
9733
  ...g,
9734
9734
  ...w ? w(c) : {}
9735
9735
  };
9736
- }, {}), p = qo({
9736
+ }, {}), p = Ko({
9737
9737
  ...f,
9738
9738
  inclusive: P(C(c, "inclusive", d)),
9739
9739
  excludes: P(C(c, "excludes", d)),
@@ -9745,11 +9745,11 @@ function sp(n, e) {
9745
9745
  return [g.name, { default: (b = g?.attribute) === null || b === void 0 ? void 0 : b.default }];
9746
9746
  }))
9747
9747
  }), h = P(C(c, "parseHTML", d));
9748
- h && (p.parseDOM = h.map((g) => _o(g, u)));
9748
+ h && (p.parseDOM = h.map((g) => qo(g, u)));
9749
9749
  const m = C(c, "renderHTML", d);
9750
9750
  return m && (p.toDOM = (g) => m({
9751
9751
  mark: g,
9752
- HTMLAttributes: Ki(g, u)
9752
+ HTMLAttributes: _i(g, u)
9753
9753
  })), [c.name, p];
9754
9754
  }));
9755
9755
  return new Vl({
@@ -9761,7 +9761,7 @@ function sp(n, e) {
9761
9761
  function ki(n, e) {
9762
9762
  return e.nodes[n] || e.marks[n] || null;
9763
9763
  }
9764
- function Ko(n, e) {
9764
+ function _o(n, e) {
9765
9765
  return Array.isArray(e) ? e.some((t) => (typeof t == "string" ? t : t.name) === n.name) : e;
9766
9766
  }
9767
9767
  function ws(n, e) {
@@ -10203,9 +10203,9 @@ class en {
10203
10203
  const d = Bf(u);
10204
10204
  a.push(d);
10205
10205
  const f = C(o, "addInputRules", l);
10206
- Ko(o, e.options.enableInputRules) && f && r.push(...f());
10206
+ _o(o, e.options.enableInputRules) && f && r.push(...f());
10207
10207
  const p = C(o, "addPasteRules", l);
10208
- Ko(o, e.options.enablePasteRules) && p && i.push(...p());
10208
+ _o(o, e.options.enablePasteRules) && p && i.push(...p());
10209
10209
  const h = C(o, "addProseMirrorPlugins", l);
10210
10210
  if (h) {
10211
10211
  const m = h();
@@ -10249,7 +10249,7 @@ class en {
10249
10249
  if (!o)
10250
10250
  return [];
10251
10251
  const l = (a, c, u, d, f) => {
10252
- const p = Ki(a, i);
10252
+ const p = _i(a, i);
10253
10253
  return o()({
10254
10254
  // pass-through
10255
10255
  node: a,
@@ -10388,7 +10388,7 @@ const yp = ee.create({
10388
10388
  (h || h === 0) && e.lift(p, h);
10389
10389
  });
10390
10390
  }), !0;
10391
- }, xp = (n) => (e) => n(e), wp = () => ({ state: n, dispatch: e }) => _a(n, e), Sp = (n, e) => ({ editor: t, tr: r }) => {
10391
+ }, xp = (n) => (e) => n(e), wp = () => ({ state: n, dispatch: e }) => qa(n, e), Sp = (n, e) => ({ editor: t, tr: r }) => {
10392
10392
  const { state: i } = t, s = i.doc.slice(n.from, n.to);
10393
10393
  r.deleteRange(n.from, n.to);
10394
10394
  const o = r.mapping.map(e);
@@ -10590,7 +10590,7 @@ function Lp(n, e, t) {
10590
10590
  if (r < e)
10591
10591
  return;
10592
10592
  const i = n.steps[r];
10593
- if (!(i instanceof K || i instanceof J))
10593
+ if (!(i instanceof _ || i instanceof J))
10594
10594
  return;
10595
10595
  const s = n.mapping.maps[r];
10596
10596
  let o = 0;
@@ -10651,19 +10651,19 @@ const zp = (n) => !("type" in n), Vp = (n, e, t) => ({ tr: r, dispatch: i, edito
10651
10651
  return !0;
10652
10652
  }, Fp = () => ({ state: n, dispatch: e }) => Vf(n, e), $p = () => ({ state: n, dispatch: e }) => Ff(n, e), Hp = () => ({ state: n, dispatch: e }) => za(n, e), jp = () => ({ state: n, dispatch: e }) => Ha(n, e), Wp = () => ({ state: n, dispatch: e, tr: t }) => {
10653
10653
  try {
10654
- const r = _r(n.doc, n.selection.$from.pos, -1);
10654
+ const r = qr(n.doc, n.selection.$from.pos, -1);
10655
10655
  return r == null ? !1 : (t.join(r, 2), e && e(t), !0);
10656
10656
  } catch {
10657
10657
  return !1;
10658
10658
  }
10659
- }, _p = () => ({ state: n, dispatch: e, tr: t }) => {
10659
+ }, qp = () => ({ state: n, dispatch: e, tr: t }) => {
10660
10660
  try {
10661
- const r = _r(n.doc, n.selection.$from.pos, 1);
10661
+ const r = qr(n.doc, n.selection.$from.pos, 1);
10662
10662
  return r == null ? !1 : (t.join(r, 2), e && e(t), !0);
10663
10663
  } catch {
10664
10664
  return !1;
10665
10665
  }
10666
- }, qp = () => ({ state: n, dispatch: e }) => Lf(n, e), Kp = () => ({ state: n, dispatch: e }) => zf(n, e);
10666
+ }, Kp = () => ({ state: n, dispatch: e }) => Lf(n, e), _p = () => ({ state: n, dispatch: e }) => zf(n, e);
10667
10667
  function ec() {
10668
10668
  return typeof navigator < "u" ? /Mac/.test(navigator.platform) : !1;
10669
10669
  }
@@ -10724,7 +10724,7 @@ function Hn(n, e, t = {}) {
10724
10724
  const Gp = (n, e = {}) => ({ state: t, dispatch: r }) => {
10725
10725
  const i = G(n, t.schema);
10726
10726
  return Hn(t, i, e) ? $f(t, r) : !1;
10727
- }, Yp = () => ({ state: n, dispatch: e }) => qa(n, e), Xp = (n) => ({ state: e, dispatch: t }) => {
10727
+ }, Yp = () => ({ state: n, dispatch: e }) => Ka(n, e), Xp = (n) => ({ state: e, dispatch: t }) => {
10728
10728
  const r = G(n, e.schema);
10729
10729
  return Zf(r)(e, t);
10730
10730
  }, Zp = () => ({ state: n, dispatch: e }) => Wa(n, e);
@@ -10751,7 +10751,7 @@ const Qp = (n, e) => ({ tr: t, state: r, dispatch: i }) => {
10751
10751
  n.setSelection(t);
10752
10752
  }
10753
10753
  return !0;
10754
- }, nh = () => ({ state: n, dispatch: e }) => Fa(n, e), rh = () => ({ state: n, dispatch: e }) => ja(n, e), ih = () => ({ state: n, dispatch: e }) => _f(n, e), sh = () => ({ state: n, dispatch: e }) => Jf(n, e), oh = () => ({ state: n, dispatch: e }) => Kf(n, e);
10754
+ }, nh = () => ({ state: n, dispatch: e }) => Fa(n, e), rh = () => ({ state: n, dispatch: e }) => ja(n, e), ih = () => ({ state: n, dispatch: e }) => qf(n, e), sh = () => ({ state: n, dispatch: e }) => Jf(n, e), oh = () => ({ state: n, dispatch: e }) => _f(n, e);
10755
10755
  function Ji(n, e, t = {}, r = {}) {
10756
10756
  return Fr(n, e, {
10757
10757
  slice: !1,
@@ -11223,9 +11223,9 @@ var Ih = /* @__PURE__ */ Object.freeze({
11223
11223
  joinDown: $p,
11224
11224
  joinForward: jp,
11225
11225
  joinItemBackward: Wp,
11226
- joinItemForward: _p,
11227
- joinTextblockBackward: qp,
11228
- joinTextblockForward: Kp,
11226
+ joinItemForward: qp,
11227
+ joinTextblockBackward: Kp,
11228
+ joinTextblockForward: _p,
11229
11229
  joinUp: Fp,
11230
11230
  keyboardShortcut: Up,
11231
11231
  lift: Gp,
@@ -11298,13 +11298,13 @@ const Rh = ee.create({
11298
11298
  })
11299
11299
  ];
11300
11300
  }
11301
- }), Lh = ee.create({
11301
+ }), Lh = new Ne("focusEvents"), zh = ee.create({
11302
11302
  name: "focusEvents",
11303
11303
  addProseMirrorPlugins() {
11304
11304
  const { editor: n } = this;
11305
11305
  return [
11306
11306
  new oe({
11307
- key: new Ne("focusEvents"),
11307
+ key: Lh,
11308
11308
  props: {
11309
11309
  handleDOMEvents: {
11310
11310
  focus: (e, t) => {
@@ -11322,7 +11322,7 @@ const Rh = ee.create({
11322
11322
  })
11323
11323
  ];
11324
11324
  }
11325
- }), zh = ee.create({
11325
+ }), Vh = ee.create({
11326
11326
  name: "keymap",
11327
11327
  addKeyboardShortcuts() {
11328
11328
  const n = () => this.editor.commands.first(({ commands: o }) => [
@@ -11400,7 +11400,7 @@ const Rh = ee.create({
11400
11400
  })
11401
11401
  ];
11402
11402
  }
11403
- }), Vh = ee.create({
11403
+ }), Fh = ee.create({
11404
11404
  name: "paste",
11405
11405
  addProseMirrorPlugins() {
11406
11406
  return [
@@ -11418,7 +11418,7 @@ const Rh = ee.create({
11418
11418
  })
11419
11419
  ];
11420
11420
  }
11421
- }), Fh = ee.create({
11421
+ }), $h = ee.create({
11422
11422
  name: "tabindex",
11423
11423
  addProseMirrorPlugins() {
11424
11424
  return [
@@ -11554,7 +11554,7 @@ class Et {
11554
11554
  }), this.editor.view.dispatch(t);
11555
11555
  }
11556
11556
  }
11557
- const $h = `.ProseMirror {
11557
+ const Hh = `.ProseMirror {
11558
11558
  position: relative;
11559
11559
  }
11560
11560
 
@@ -11629,14 +11629,14 @@ img.ProseMirror-separator {
11629
11629
  .tippy-box[data-animation=fade][data-state=hidden] {
11630
11630
  opacity: 0
11631
11631
  }`;
11632
- function Hh(n, e, t) {
11632
+ function jh(n, e, t) {
11633
11633
  const r = document.querySelector("style[data-tiptap-style]");
11634
11634
  if (r !== null)
11635
11635
  return r;
11636
11636
  const i = document.createElement("style");
11637
11637
  return e && i.setAttribute("nonce", e), i.setAttribute("data-tiptap-style", ""), i.innerHTML = n, document.getElementsByTagName("head")[0].appendChild(i), i;
11638
11638
  }
11639
- let jh = class extends np {
11639
+ let Wh = class extends np {
11640
11640
  constructor(e = {}) {
11641
11641
  super(), this.isFocused = !1, this.isInitialized = !1, this.extensionStorage = {}, this.options = {
11642
11642
  element: document.createElement("div"),
@@ -11698,7 +11698,7 @@ let jh = class extends np {
11698
11698
  * Inject CSS styles.
11699
11699
  */
11700
11700
  injectCSS() {
11701
- this.options.injectCSS && document && (this.css = Hh($h, this.options.injectNonce));
11701
+ this.options.injectCSS && document && (this.css = jh(Hh, this.options.injectNonce));
11702
11702
  }
11703
11703
  /**
11704
11704
  * Update editor options.
@@ -11772,11 +11772,11 @@ let jh = class extends np {
11772
11772
  blockSeparator: (t = (e = this.options.coreExtensionOptions) === null || e === void 0 ? void 0 : e.clipboardTextSerializer) === null || t === void 0 ? void 0 : t.blockSeparator
11773
11773
  }),
11774
11774
  Rh,
11775
- Lh,
11776
11775
  zh,
11777
- Fh,
11776
+ Vh,
11777
+ $h,
11778
11778
  Ph,
11779
- Vh
11779
+ Fh
11780
11780
  ].filter((s) => typeof this.options.enableCoreExtensions == "object" ? this.options.enableCoreExtensions[s.name] !== !1 : !0) : [], ...this.options.extensions].filter((s) => ["extension", "node", "mark"].includes(s?.type));
11781
11781
  this.extensionManager = new en(i, this);
11782
11782
  }
@@ -12001,7 +12001,7 @@ function cn(n) {
12001
12001
  }
12002
12002
  });
12003
12003
  }
12004
- function Wh(n) {
12004
+ function qh(n) {
12005
12005
  return new Qr({
12006
12006
  find: n.find,
12007
12007
  handler: ({ state: e, range: t, match: r }) => {
@@ -12109,11 +12109,11 @@ function un(n) {
12109
12109
  }
12110
12110
  });
12111
12111
  }
12112
- var pe = "top", Ee = "bottom", Ae = "right", he = "left", Ns = "auto", Zn = [pe, Ee, Ae, he], dn = "start", Wn = "end", _h = "clippingParents", oc = "viewport", Mn = "popper", qh = "reference", Xo = /* @__PURE__ */ Zn.reduce(function(n, e) {
12112
+ var pe = "top", Ee = "bottom", Ae = "right", he = "left", Ns = "auto", Zn = [pe, Ee, Ae, he], dn = "start", Wn = "end", Kh = "clippingParents", oc = "viewport", Mn = "popper", _h = "reference", Xo = /* @__PURE__ */ Zn.reduce(function(n, e) {
12113
12113
  return n.concat([e + "-" + dn, e + "-" + Wn]);
12114
12114
  }, []), lc = /* @__PURE__ */ [].concat(Zn, [Ns]).reduce(function(n, e) {
12115
12115
  return n.concat([e, e + "-" + dn, e + "-" + Wn]);
12116
- }, []), Kh = "beforeRead", Jh = "read", Uh = "afterRead", Gh = "beforeMain", Yh = "main", Xh = "afterMain", Zh = "beforeWrite", Qh = "write", em = "afterWrite", tm = [Kh, Jh, Uh, Gh, Yh, Xh, Zh, Qh, em];
12116
+ }, []), Jh = "beforeRead", Uh = "read", Gh = "afterRead", Yh = "beforeMain", Xh = "main", Zh = "afterMain", Qh = "beforeWrite", em = "write", tm = "afterWrite", nm = [Jh, Uh, Gh, Yh, Xh, Zh, Qh, em, tm];
12117
12117
  function We(n) {
12118
12118
  return n ? (n.nodeName || "").toLowerCase() : null;
12119
12119
  }
@@ -12140,7 +12140,7 @@ function Ds(n) {
12140
12140
  var e = xe(n).ShadowRoot;
12141
12141
  return n instanceof e || n instanceof ShadowRoot;
12142
12142
  }
12143
- function nm(n) {
12143
+ function rm(n) {
12144
12144
  var e = n.state;
12145
12145
  Object.keys(e.elements).forEach(function(t) {
12146
12146
  var r = e.styles[t] || {}, i = e.attributes[t] || {}, s = e.elements[t];
@@ -12150,7 +12150,7 @@ function nm(n) {
12150
12150
  }));
12151
12151
  });
12152
12152
  }
12153
- function rm(n) {
12153
+ function im(n) {
12154
12154
  var e = n.state, t = {
12155
12155
  popper: {
12156
12156
  position: e.options.strategy,
@@ -12178,8 +12178,8 @@ const ac = {
12178
12178
  name: "applyStyles",
12179
12179
  enabled: !0,
12180
12180
  phase: "write",
12181
- fn: nm,
12182
- effect: rm,
12181
+ fn: rm,
12182
+ effect: im,
12183
12183
  requires: ["computeStyles"]
12184
12184
  };
12185
12185
  function $e(n) {
@@ -12237,7 +12237,7 @@ function uc(n, e) {
12237
12237
  function tt(n) {
12238
12238
  return xe(n).getComputedStyle(n);
12239
12239
  }
12240
- function im(n) {
12240
+ function sm(n) {
12241
12241
  return ["table", "td", "th"].indexOf(We(n)) >= 0;
12242
12242
  }
12243
12243
  function xt(n) {
@@ -12262,7 +12262,7 @@ function Zo(n) {
12262
12262
  return !Te(n) || // https://github.com/popperjs/popper-core/issues/837
12263
12263
  tt(n).position === "fixed" ? null : n.offsetParent;
12264
12264
  }
12265
- function sm(n) {
12265
+ function om(n) {
12266
12266
  var e = /firefox/i.test(Yi()), t = /Trident/i.test(Yi());
12267
12267
  if (t && Te(n)) {
12268
12268
  var r = tt(n);
@@ -12279,9 +12279,9 @@ function sm(n) {
12279
12279
  return null;
12280
12280
  }
12281
12281
  function Qn(n) {
12282
- for (var e = xe(n), t = Zo(n); t && im(t) && tt(t).position === "static"; )
12282
+ for (var e = xe(n), t = Zo(n); t && sm(t) && tt(t).position === "static"; )
12283
12283
  t = Zo(t);
12284
- return t && (We(t) === "html" || We(t) === "body" && tt(t).position === "static") ? e : t || sm(n) || e;
12284
+ return t && (We(t) === "html" || We(t) === "body" && tt(t).position === "static") ? e : t || om(n) || e;
12285
12285
  }
12286
12286
  function Rs(n) {
12287
12287
  return ["top", "bottom"].indexOf(n) >= 0 ? "x" : "y";
@@ -12289,7 +12289,7 @@ function Rs(n) {
12289
12289
  function Dn(n, e, t) {
12290
12290
  return Bt(n, $r(e, t));
12291
12291
  }
12292
- function om(n, e, t) {
12292
+ function lm(n, e, t) {
12293
12293
  var r = Dn(n, e, t);
12294
12294
  return r > t ? t : r;
12295
12295
  }
@@ -12309,41 +12309,41 @@ function pc(n, e) {
12309
12309
  return t[r] = n, t;
12310
12310
  }, {});
12311
12311
  }
12312
- var lm = function(e, t) {
12312
+ var am = function(e, t) {
12313
12313
  return e = typeof e == "function" ? e(Object.assign({}, t.rects, {
12314
12314
  placement: t.placement
12315
12315
  })) : e, fc(typeof e != "number" ? e : pc(e, Zn));
12316
12316
  };
12317
- function am(n) {
12317
+ function cm(n) {
12318
12318
  var e, t = n.state, r = n.name, i = n.options, s = t.elements.arrow, o = t.modifiersData.popperOffsets, l = $e(t.placement), a = Rs(l), c = [he, Ae].indexOf(l) >= 0, u = c ? "height" : "width";
12319
12319
  if (!(!s || !o)) {
12320
- var d = lm(i.padding, t), f = Is(s), p = a === "y" ? pe : he, h = a === "y" ? Ee : Ae, m = t.rects.reference[u] + t.rects.reference[a] - o[a] - t.rects.popper[u], g = o[a] - t.rects.reference[a], b = Qn(s), w = b ? a === "y" ? b.clientHeight || 0 : b.clientWidth || 0 : 0, M = m / 2 - g / 2, y = d[p], O = w - f[u] - d[h], k = w / 2 - f[u] / 2 + M, I = Dn(y, k, O), B = a;
12320
+ var d = am(i.padding, t), f = Is(s), p = a === "y" ? pe : he, h = a === "y" ? Ee : Ae, m = t.rects.reference[u] + t.rects.reference[a] - o[a] - t.rects.popper[u], g = o[a] - t.rects.reference[a], b = Qn(s), w = b ? a === "y" ? b.clientHeight || 0 : b.clientWidth || 0 : 0, M = m / 2 - g / 2, y = d[p], O = w - f[u] - d[h], k = w / 2 - f[u] / 2 + M, I = Dn(y, k, O), B = a;
12321
12321
  t.modifiersData[r] = (e = {}, e[B] = I, e.centerOffset = I - k, e);
12322
12322
  }
12323
12323
  }
12324
- function cm(n) {
12324
+ function um(n) {
12325
12325
  var e = n.state, t = n.options, r = t.element, i = r === void 0 ? "[data-popper-arrow]" : r;
12326
12326
  i != null && (typeof i == "string" && (i = e.elements.popper.querySelector(i), !i) || uc(e.elements.popper, i) && (e.elements.arrow = i));
12327
12327
  }
12328
- const um = {
12328
+ const dm = {
12329
12329
  name: "arrow",
12330
12330
  enabled: !0,
12331
12331
  phase: "main",
12332
- fn: am,
12333
- effect: cm,
12332
+ fn: cm,
12333
+ effect: um,
12334
12334
  requires: ["popperOffsets"],
12335
12335
  requiresIfExists: ["preventOverflow"]
12336
12336
  };
12337
12337
  function hn(n) {
12338
12338
  return n.split("-")[1];
12339
12339
  }
12340
- var dm = {
12340
+ var fm = {
12341
12341
  top: "auto",
12342
12342
  right: "auto",
12343
12343
  bottom: "auto",
12344
12344
  left: "auto"
12345
12345
  };
12346
- function fm(n, e) {
12346
+ function pm(n, e) {
12347
12347
  var t = n.x, r = n.y, i = e.devicePixelRatio || 1;
12348
12348
  return {
12349
12349
  x: fn(t * i) / i || 0,
@@ -12381,7 +12381,7 @@ function Qo(n) {
12381
12381
  }
12382
12382
  var $ = Object.assign({
12383
12383
  position: l
12384
- }, c && dm), H = u === !0 ? fm({
12384
+ }, c && fm), H = u === !0 ? pm({
12385
12385
  x: p,
12386
12386
  y: m
12387
12387
  }, xe(t)) : {
@@ -12394,7 +12394,7 @@ function Qo(n) {
12394
12394
  }
12395
12395
  return Object.assign({}, $, (e = {}, e[y] = w ? m + "px" : "", e[M] = b ? p + "px" : "", e.transform = "", e));
12396
12396
  }
12397
- function pm(n) {
12397
+ function hm(n) {
12398
12398
  var e = n.state, t = n.options, r = t.gpuAcceleration, i = r === void 0 ? !0 : r, s = t.adaptive, o = s === void 0 ? !0 : s, l = t.roundOffsets, a = l === void 0 ? !0 : l, c = {
12399
12399
  placement: $e(e.placement),
12400
12400
  variation: hn(e.placement),
@@ -12417,17 +12417,17 @@ function pm(n) {
12417
12417
  "data-popper-placement": e.placement
12418
12418
  });
12419
12419
  }
12420
- const hm = {
12420
+ const mm = {
12421
12421
  name: "computeStyles",
12422
12422
  enabled: !0,
12423
12423
  phase: "beforeWrite",
12424
- fn: pm,
12424
+ fn: hm,
12425
12425
  data: {}
12426
12426
  };
12427
12427
  var br = {
12428
12428
  passive: !0
12429
12429
  };
12430
- function mm(n) {
12430
+ function gm(n) {
12431
12431
  var e = n.state, t = n.instance, r = n.options, i = r.scroll, s = i === void 0 ? !0 : i, o = r.resize, l = o === void 0 ? !0 : o, a = xe(e.elements.popper), c = [].concat(e.scrollParents.reference, e.scrollParents.popper);
12432
12432
  return s && c.forEach(function(u) {
12433
12433
  u.addEventListener("scroll", t.update, br);
@@ -12437,16 +12437,16 @@ function mm(n) {
12437
12437
  }), l && a.removeEventListener("resize", t.update, br);
12438
12438
  };
12439
12439
  }
12440
- const gm = {
12440
+ const ym = {
12441
12441
  name: "eventListeners",
12442
12442
  enabled: !0,
12443
12443
  phase: "write",
12444
12444
  fn: function() {
12445
12445
  },
12446
- effect: mm,
12446
+ effect: gm,
12447
12447
  data: {}
12448
12448
  };
12449
- var ym = {
12449
+ var bm = {
12450
12450
  left: "right",
12451
12451
  right: "left",
12452
12452
  bottom: "top",
@@ -12454,16 +12454,16 @@ var ym = {
12454
12454
  };
12455
12455
  function Cr(n) {
12456
12456
  return n.replace(/left|right|bottom|top/g, function(e) {
12457
- return ym[e];
12457
+ return bm[e];
12458
12458
  });
12459
12459
  }
12460
- var bm = {
12460
+ var vm = {
12461
12461
  start: "end",
12462
12462
  end: "start"
12463
12463
  };
12464
12464
  function el(n) {
12465
12465
  return n.replace(/start|end/g, function(e) {
12466
- return bm[e];
12466
+ return vm[e];
12467
12467
  });
12468
12468
  }
12469
12469
  function Ps(n) {
@@ -12476,7 +12476,7 @@ function Ps(n) {
12476
12476
  function Bs(n) {
12477
12477
  return pn(xt(n)).left + Ps(n).scrollLeft;
12478
12478
  }
12479
- function vm(n, e) {
12479
+ function km(n, e) {
12480
12480
  var t = xe(n), r = xt(n), i = t.visualViewport, s = r.clientWidth, o = r.clientHeight, l = 0, a = 0;
12481
12481
  if (i) {
12482
12482
  s = i.width, o = i.height;
@@ -12490,7 +12490,7 @@ function vm(n, e) {
12490
12490
  y: a
12491
12491
  };
12492
12492
  }
12493
- function km(n) {
12493
+ function xm(n) {
12494
12494
  var e, t = xt(n), r = Ps(n), i = (e = n.ownerDocument) == null ? void 0 : e.body, s = Bt(t.scrollWidth, t.clientWidth, i ? i.scrollWidth : 0, i ? i.clientWidth : 0), o = Bt(t.scrollHeight, t.clientHeight, i ? i.scrollHeight : 0, i ? i.clientHeight : 0), l = -r.scrollLeft + Bs(n), a = -r.scrollTop;
12495
12495
  return tt(i || t).direction === "rtl" && (l += Bt(t.clientWidth, i ? i.clientWidth : 0) - s), {
12496
12496
  width: s,
@@ -12523,21 +12523,21 @@ function Xi(n) {
12523
12523
  bottom: n.y + n.height
12524
12524
  });
12525
12525
  }
12526
- function xm(n, e) {
12526
+ function wm(n, e) {
12527
12527
  var t = pn(n, !1, e === "fixed");
12528
12528
  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;
12529
12529
  }
12530
12530
  function tl(n, e, t) {
12531
- return e === oc ? Xi(vm(n, t)) : $t(e) ? xm(e, t) : Xi(km(xt(n)));
12531
+ return e === oc ? Xi(km(n, t)) : $t(e) ? wm(e, t) : Xi(xm(xt(n)));
12532
12532
  }
12533
- function wm(n) {
12533
+ function Sm(n) {
12534
12534
  var e = In(ni(n)), t = ["absolute", "fixed"].indexOf(tt(n).position) >= 0, r = t && Te(n) ? Qn(n) : n;
12535
12535
  return $t(r) ? e.filter(function(i) {
12536
12536
  return $t(i) && uc(i, r) && We(i) !== "body";
12537
12537
  }) : [];
12538
12538
  }
12539
- function Sm(n, e, t, r) {
12540
- var i = e === "clippingParents" ? wm(n) : [].concat(e), s = [].concat(i, [t]), o = s[0], l = s.reduce(function(a, c) {
12539
+ function Mm(n, e, t, r) {
12540
+ var i = e === "clippingParents" ? Sm(n) : [].concat(e), s = [].concat(i, [t]), o = s[0], l = s.reduce(function(a, c) {
12541
12541
  var u = tl(n, c, r);
12542
12542
  return a.top = Bt(u.top, a.top), a.right = $r(u.right, a.right), a.bottom = $r(u.bottom, a.bottom), a.left = Bt(u.left, a.left), a;
12543
12543
  }, tl(n, o, r));
@@ -12590,9 +12590,9 @@ function mc(n) {
12590
12590
  }
12591
12591
  return a;
12592
12592
  }
12593
- function _n(n, e) {
12593
+ function qn(n, e) {
12594
12594
  e === void 0 && (e = {});
12595
- var t = e, r = t.placement, i = r === void 0 ? n.placement : r, s = t.strategy, o = s === void 0 ? n.strategy : s, l = t.boundary, a = l === void 0 ? _h : l, c = t.rootBoundary, u = c === void 0 ? oc : c, d = t.elementContext, f = d === void 0 ? Mn : d, p = t.altBoundary, h = p === void 0 ? !1 : p, m = t.padding, g = m === void 0 ? 0 : m, b = fc(typeof g != "number" ? g : pc(g, Zn)), w = f === Mn ? qh : Mn, M = n.rects.popper, y = n.elements[h ? w : f], O = Sm($t(y) ? y : y.contextElement || xt(n.elements.popper), a, u, o), k = pn(n.elements.reference), I = mc({
12595
+ var t = e, r = t.placement, i = r === void 0 ? n.placement : r, s = t.strategy, o = s === void 0 ? n.strategy : s, l = t.boundary, a = l === void 0 ? Kh : l, c = t.rootBoundary, u = c === void 0 ? oc : c, d = t.elementContext, f = d === void 0 ? Mn : d, p = t.altBoundary, h = p === void 0 ? !1 : p, m = t.padding, g = m === void 0 ? 0 : m, b = fc(typeof g != "number" ? g : pc(g, Zn)), w = f === Mn ? _h : Mn, M = n.rects.popper, y = n.elements[h ? w : f], O = Mm($t(y) ? y : y.contextElement || xt(n.elements.popper), a, u, o), k = pn(n.elements.reference), I = mc({
12596
12596
  reference: k,
12597
12597
  element: M,
12598
12598
  placement: i
@@ -12611,7 +12611,7 @@ function _n(n, e) {
12611
12611
  }
12612
12612
  return z;
12613
12613
  }
12614
- function Mm(n, e) {
12614
+ function Cm(n, e) {
12615
12615
  e === void 0 && (e = {});
12616
12616
  var t = e, r = t.placement, i = t.boundary, s = t.rootBoundary, o = t.padding, l = t.flipVariations, a = t.allowedAutoPlacements, c = a === void 0 ? lc : a, u = hn(r), d = u ? l ? Xo : Xo.filter(function(h) {
12617
12617
  return hn(h) === u;
@@ -12620,7 +12620,7 @@ function Mm(n, e) {
12620
12620
  });
12621
12621
  f.length === 0 && (f = d);
12622
12622
  var p = f.reduce(function(h, m) {
12623
- return h[m] = _n(n, {
12623
+ return h[m] = qn(n, {
12624
12624
  placement: m,
12625
12625
  boundary: i,
12626
12626
  rootBoundary: s,
@@ -12631,17 +12631,17 @@ function Mm(n, e) {
12631
12631
  return p[h] - p[m];
12632
12632
  });
12633
12633
  }
12634
- function Cm(n) {
12634
+ function Om(n) {
12635
12635
  if ($e(n) === Ns)
12636
12636
  return [];
12637
12637
  var e = Cr(n);
12638
12638
  return [el(n), e, el(e)];
12639
12639
  }
12640
- function Om(n) {
12640
+ function Tm(n) {
12641
12641
  var e = n.state, t = n.options, r = n.name;
12642
12642
  if (!e.modifiersData[r]._skip) {
12643
- for (var i = t.mainAxis, s = i === void 0 ? !0 : i, o = t.altAxis, l = o === void 0 ? !0 : o, a = t.fallbackPlacements, c = t.padding, u = t.boundary, d = t.rootBoundary, f = t.altBoundary, p = t.flipVariations, h = p === void 0 ? !0 : p, m = t.allowedAutoPlacements, g = e.options.placement, b = $e(g), w = b === g, M = a || (w || !h ? [Cr(g)] : Cm(g)), y = [g].concat(M).reduce(function(_e, De) {
12644
- return _e.concat($e(De) === Ns ? Mm(e, {
12643
+ for (var i = t.mainAxis, s = i === void 0 ? !0 : i, o = t.altAxis, l = o === void 0 ? !0 : o, a = t.fallbackPlacements, c = t.padding, u = t.boundary, d = t.rootBoundary, f = t.altBoundary, p = t.flipVariations, h = p === void 0 ? !0 : p, m = t.allowedAutoPlacements, g = e.options.placement, b = $e(g), w = b === g, M = a || (w || !h ? [Cr(g)] : Om(g)), y = [g].concat(M).reduce(function(qe, De) {
12644
+ return qe.concat($e(De) === Ns ? Cm(e, {
12645
12645
  placement: De,
12646
12646
  boundary: u,
12647
12647
  rootBoundary: d,
@@ -12650,7 +12650,7 @@ function Om(n) {
12650
12650
  allowedAutoPlacements: m
12651
12651
  }) : De);
12652
12652
  }, []), O = e.rects.reference, k = e.rects.popper, I = /* @__PURE__ */ new Map(), B = !0, E = y[0], z = 0; z < y.length; z++) {
12653
- var $ = y[z], H = $e($), j = hn($) === dn, ge = [pe, Ee].indexOf(H) >= 0, ye = ge ? "width" : "height", te = _n(e, {
12653
+ var $ = y[z], H = $e($), j = hn($) === dn, ge = [pe, Ee].indexOf(H) >= 0, ye = ge ? "width" : "height", te = qn(e, {
12654
12654
  placement: $,
12655
12655
  boundary: u,
12656
12656
  rootBoundary: d,
@@ -12659,8 +12659,8 @@ function Om(n) {
12659
12659
  }), ne = ge ? j ? Ae : he : j ? Ee : pe;
12660
12660
  O[ye] > k[ye] && (ne = Cr(ne));
12661
12661
  var Y = Cr(ne), Pe = [];
12662
- if (s && Pe.push(te[H] <= 0), l && Pe.push(te[ne] <= 0, te[Y] <= 0), Pe.every(function(_e) {
12663
- return _e;
12662
+ if (s && Pe.push(te[H] <= 0), l && Pe.push(te[ne] <= 0, te[Y] <= 0), Pe.every(function(qe) {
12663
+ return qe;
12664
12664
  })) {
12665
12665
  E = $, B = !1;
12666
12666
  break;
@@ -12669,15 +12669,15 @@ function Om(n) {
12669
12669
  }
12670
12670
  if (B)
12671
12671
  for (var Be = h ? 3 : 1, wt = function(De) {
12672
- var qe = y.find(function(jt) {
12673
- var Ke = I.get(jt);
12674
- if (Ke)
12675
- return Ke.slice(0, De).every(function(Wt) {
12672
+ var Ke = y.find(function(jt) {
12673
+ var _e = I.get(jt);
12674
+ if (_e)
12675
+ return _e.slice(0, De).every(function(Wt) {
12676
12676
  return Wt;
12677
12677
  });
12678
12678
  });
12679
- if (qe)
12680
- return E = qe, "break";
12679
+ if (Ke)
12680
+ return E = Ke, "break";
12681
12681
  }, Le = Be; Le > 0; Le--) {
12682
12682
  var St = wt(Le);
12683
12683
  if (St === "break") break;
@@ -12685,11 +12685,11 @@ function Om(n) {
12685
12685
  e.placement !== E && (e.modifiersData[r]._skip = !0, e.placement = E, e.reset = !0);
12686
12686
  }
12687
12687
  }
12688
- const Tm = {
12688
+ const Em = {
12689
12689
  name: "flip",
12690
12690
  enabled: !0,
12691
12691
  phase: "main",
12692
- fn: Om,
12692
+ fn: Tm,
12693
12693
  requiresIfExists: ["offset"],
12694
12694
  data: {
12695
12695
  _skip: !1
@@ -12711,10 +12711,10 @@ function rl(n) {
12711
12711
  return n[e] >= 0;
12712
12712
  });
12713
12713
  }
12714
- function Em(n) {
12715
- var e = n.state, t = n.name, r = e.rects.reference, i = e.rects.popper, s = e.modifiersData.preventOverflow, o = _n(e, {
12714
+ function Am(n) {
12715
+ var e = n.state, t = n.name, r = e.rects.reference, i = e.rects.popper, s = e.modifiersData.preventOverflow, o = qn(e, {
12716
12716
  elementContext: "reference"
12717
- }), l = _n(e, {
12717
+ }), l = qn(e, {
12718
12718
  altBoundary: !0
12719
12719
  }), a = nl(o, r), c = nl(l, i, s), u = rl(a), d = rl(c);
12720
12720
  e.modifiersData[t] = {
@@ -12727,14 +12727,14 @@ function Em(n) {
12727
12727
  "data-popper-escaped": d
12728
12728
  });
12729
12729
  }
12730
- const Am = {
12730
+ const Nm = {
12731
12731
  name: "hide",
12732
12732
  enabled: !0,
12733
12733
  phase: "main",
12734
12734
  requiresIfExists: ["preventOverflow"],
12735
- fn: Em
12735
+ fn: Am
12736
12736
  };
12737
- function Nm(n, e, t) {
12737
+ function Dm(n, e, t) {
12738
12738
  var r = $e(n), i = [he, pe].indexOf(r) >= 0 ? -1 : 1, s = typeof t == "function" ? t(Object.assign({}, e, {
12739
12739
  placement: n
12740
12740
  })) : t, o = s[0], l = s[1];
@@ -12746,20 +12746,20 @@ function Nm(n, e, t) {
12746
12746
  y: l
12747
12747
  };
12748
12748
  }
12749
- function Dm(n) {
12749
+ function Im(n) {
12750
12750
  var e = n.state, t = n.options, r = n.name, i = t.offset, s = i === void 0 ? [0, 0] : i, o = lc.reduce(function(u, d) {
12751
- return u[d] = Nm(d, e.rects, s), u;
12751
+ return u[d] = Dm(d, e.rects, s), u;
12752
12752
  }, {}), l = o[e.placement], a = l.x, c = l.y;
12753
12753
  e.modifiersData.popperOffsets != null && (e.modifiersData.popperOffsets.x += a, e.modifiersData.popperOffsets.y += c), e.modifiersData[r] = o;
12754
12754
  }
12755
- const Im = {
12755
+ const Rm = {
12756
12756
  name: "offset",
12757
12757
  enabled: !0,
12758
12758
  phase: "main",
12759
12759
  requires: ["popperOffsets"],
12760
- fn: Dm
12760
+ fn: Im
12761
12761
  };
12762
- function Rm(n) {
12762
+ function Pm(n) {
12763
12763
  var e = n.state, t = n.name;
12764
12764
  e.modifiersData[t] = mc({
12765
12765
  reference: e.rects.reference,
@@ -12767,23 +12767,23 @@ function Rm(n) {
12767
12767
  placement: e.placement
12768
12768
  });
12769
12769
  }
12770
- const Pm = {
12770
+ const Bm = {
12771
12771
  name: "popperOffsets",
12772
12772
  enabled: !0,
12773
12773
  phase: "read",
12774
- fn: Rm,
12774
+ fn: Pm,
12775
12775
  data: {}
12776
12776
  };
12777
- function Bm(n) {
12777
+ function Lm(n) {
12778
12778
  return n === "x" ? "y" : "x";
12779
12779
  }
12780
- function Lm(n) {
12781
- var e = n.state, t = n.options, r = n.name, i = t.mainAxis, s = i === void 0 ? !0 : i, o = t.altAxis, l = o === void 0 ? !1 : o, a = t.boundary, c = t.rootBoundary, u = t.altBoundary, d = t.padding, f = t.tether, p = f === void 0 ? !0 : f, h = t.tetherOffset, m = h === void 0 ? 0 : h, g = _n(e, {
12780
+ function zm(n) {
12781
+ var e = n.state, t = n.options, r = n.name, i = t.mainAxis, s = i === void 0 ? !0 : i, o = t.altAxis, l = o === void 0 ? !1 : o, a = t.boundary, c = t.rootBoundary, u = t.altBoundary, d = t.padding, f = t.tether, p = f === void 0 ? !0 : f, h = t.tetherOffset, m = h === void 0 ? 0 : h, g = qn(e, {
12782
12782
  boundary: a,
12783
12783
  rootBoundary: c,
12784
12784
  padding: d,
12785
12785
  altBoundary: u
12786
- }), b = $e(e.placement), w = hn(e.placement), M = !w, y = Rs(b), O = Bm(y), k = e.modifiersData.popperOffsets, I = e.rects.reference, B = e.rects.popper, E = typeof m == "function" ? m(Object.assign({}, e.rects, {
12786
+ }), b = $e(e.placement), w = hn(e.placement), M = !w, y = Rs(b), O = Lm(y), k = e.modifiersData.popperOffsets, I = e.rects.reference, B = e.rects.popper, E = typeof m == "function" ? m(Object.assign({}, e.rects, {
12787
12787
  placement: e.placement
12788
12788
  })) : m, z = typeof E == "number" ? {
12789
12789
  mainAxis: E,
@@ -12797,42 +12797,42 @@ function Lm(n) {
12797
12797
  };
12798
12798
  if (k) {
12799
12799
  if (s) {
12800
- var j, ge = y === "y" ? pe : he, ye = y === "y" ? Ee : Ae, te = y === "y" ? "height" : "width", ne = k[y], Y = ne + g[ge], Pe = ne - g[ye], Be = p ? -B[te] / 2 : 0, wt = w === dn ? I[te] : B[te], Le = w === dn ? -B[te] : -I[te], St = e.elements.arrow, _e = p && St ? Is(St) : {
12800
+ var j, ge = y === "y" ? pe : he, ye = y === "y" ? Ee : Ae, te = y === "y" ? "height" : "width", ne = k[y], Y = ne + g[ge], Pe = ne - g[ye], Be = p ? -B[te] / 2 : 0, wt = w === dn ? I[te] : B[te], Le = w === dn ? -B[te] : -I[te], St = e.elements.arrow, qe = p && St ? Is(St) : {
12801
12801
  width: 0,
12802
12802
  height: 0
12803
- }, De = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : dc(), qe = De[ge], jt = De[ye], Ke = Dn(0, I[te], _e[te]), Wt = M ? I[te] / 2 - Be - Ke - qe - z.mainAxis : wt - Ke - qe - z.mainAxis, nt = M ? -I[te] / 2 + Be + Ke + jt + z.mainAxis : Le + Ke + jt + z.mainAxis, _t = e.elements.arrow && Qn(e.elements.arrow), er = _t ? y === "y" ? _t.clientTop || 0 : _t.clientLeft || 0 : 0, bn = (j = $?.[y]) != null ? j : 0, tr = ne + Wt - bn - er, nr = ne + nt - bn, vn = Dn(p ? $r(Y, tr) : Y, ne, p ? Bt(Pe, nr) : Pe);
12803
+ }, De = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : dc(), Ke = De[ge], jt = De[ye], _e = Dn(0, I[te], qe[te]), Wt = M ? I[te] / 2 - Be - _e - Ke - z.mainAxis : wt - _e - Ke - z.mainAxis, nt = M ? -I[te] / 2 + Be + _e + jt + z.mainAxis : Le + _e + jt + z.mainAxis, qt = e.elements.arrow && Qn(e.elements.arrow), er = qt ? y === "y" ? qt.clientTop || 0 : qt.clientLeft || 0 : 0, bn = (j = $?.[y]) != null ? j : 0, tr = ne + Wt - bn - er, nr = ne + nt - bn, vn = Dn(p ? $r(Y, tr) : Y, ne, p ? Bt(Pe, nr) : Pe);
12804
12804
  k[y] = vn, H[y] = vn - ne;
12805
12805
  }
12806
12806
  if (l) {
12807
- var kn, rr = y === "x" ? pe : he, ir = y === "x" ? Ee : Ae, Je = k[O], rt = O === "y" ? "height" : "width", xn = Je + g[rr], Mt = Je - g[ir], wn = [pe, he].indexOf(b) !== -1, sr = (kn = $?.[O]) != null ? kn : 0, or = wn ? xn : Je - I[rt] - B[rt] - sr + z.altAxis, lr = wn ? Je + I[rt] + B[rt] - sr - z.altAxis : Mt, ar = p && wn ? om(or, Je, lr) : Dn(p ? or : xn, Je, p ? lr : Mt);
12807
+ var kn, rr = y === "x" ? pe : he, ir = y === "x" ? Ee : Ae, Je = k[O], rt = O === "y" ? "height" : "width", xn = Je + g[rr], Mt = Je - g[ir], wn = [pe, he].indexOf(b) !== -1, sr = (kn = $?.[O]) != null ? kn : 0, or = wn ? xn : Je - I[rt] - B[rt] - sr + z.altAxis, lr = wn ? Je + I[rt] + B[rt] - sr - z.altAxis : Mt, ar = p && wn ? lm(or, Je, lr) : Dn(p ? or : xn, Je, p ? lr : Mt);
12808
12808
  k[O] = ar, H[O] = ar - Je;
12809
12809
  }
12810
12810
  e.modifiersData[r] = H;
12811
12811
  }
12812
12812
  }
12813
- const zm = {
12813
+ const Vm = {
12814
12814
  name: "preventOverflow",
12815
12815
  enabled: !0,
12816
12816
  phase: "main",
12817
- fn: Lm,
12817
+ fn: zm,
12818
12818
  requiresIfExists: ["offset"]
12819
12819
  };
12820
- function Vm(n) {
12820
+ function Fm(n) {
12821
12821
  return {
12822
12822
  scrollLeft: n.scrollLeft,
12823
12823
  scrollTop: n.scrollTop
12824
12824
  };
12825
12825
  }
12826
- function Fm(n) {
12827
- return n === xe(n) || !Te(n) ? Ps(n) : Vm(n);
12828
- }
12829
12826
  function $m(n) {
12827
+ return n === xe(n) || !Te(n) ? Ps(n) : Fm(n);
12828
+ }
12829
+ function Hm(n) {
12830
12830
  var e = n.getBoundingClientRect(), t = fn(e.width) / n.offsetWidth || 1, r = fn(e.height) / n.offsetHeight || 1;
12831
12831
  return t !== 1 || r !== 1;
12832
12832
  }
12833
- function Hm(n, e, t) {
12833
+ function jm(n, e, t) {
12834
12834
  t === void 0 && (t = !1);
12835
- var r = Te(e), i = Te(e) && $m(e), s = xt(e), o = pn(n, i, t), l = {
12835
+ var r = Te(e), i = Te(e) && Hm(e), s = xt(e), o = pn(n, i, t), l = {
12836
12836
  scrollLeft: 0,
12837
12837
  scrollTop: 0
12838
12838
  }, a = {
@@ -12840,14 +12840,14 @@ function Hm(n, e, t) {
12840
12840
  y: 0
12841
12841
  };
12842
12842
  return (r || !r && !t) && ((We(e) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
12843
- Ls(s)) && (l = Fm(e)), Te(e) ? (a = pn(e, !0), a.x += e.clientLeft, a.y += e.clientTop) : s && (a.x = Bs(s))), {
12843
+ Ls(s)) && (l = $m(e)), Te(e) ? (a = pn(e, !0), a.x += e.clientLeft, a.y += e.clientTop) : s && (a.x = Bs(s))), {
12844
12844
  x: o.left + l.scrollLeft - a.x,
12845
12845
  y: o.top + l.scrollTop - a.y,
12846
12846
  width: o.width,
12847
12847
  height: o.height
12848
12848
  };
12849
12849
  }
12850
- function jm(n) {
12850
+ function Wm(n) {
12851
12851
  var e = /* @__PURE__ */ new Map(), t = /* @__PURE__ */ new Set(), r = [];
12852
12852
  n.forEach(function(s) {
12853
12853
  e.set(s.name, s);
@@ -12866,15 +12866,15 @@ function jm(n) {
12866
12866
  t.has(s.name) || i(s);
12867
12867
  }), r;
12868
12868
  }
12869
- function Wm(n) {
12870
- var e = jm(n);
12871
- return tm.reduce(function(t, r) {
12869
+ function qm(n) {
12870
+ var e = Wm(n);
12871
+ return nm.reduce(function(t, r) {
12872
12872
  return t.concat(e.filter(function(i) {
12873
12873
  return i.phase === r;
12874
12874
  }));
12875
12875
  }, []);
12876
12876
  }
12877
- function _m(n) {
12877
+ function Km(n) {
12878
12878
  var e;
12879
12879
  return function() {
12880
12880
  return e || (e = new Promise(function(t) {
@@ -12884,7 +12884,7 @@ function _m(n) {
12884
12884
  })), e;
12885
12885
  };
12886
12886
  }
12887
- function qm(n) {
12887
+ function _m(n) {
12888
12888
  var e = n.reduce(function(t, r) {
12889
12889
  var i = t[r.name];
12890
12890
  return t[r.name] = i ? Object.assign({}, i, r, {
@@ -12908,7 +12908,7 @@ function sl() {
12908
12908
  return !(r && typeof r.getBoundingClientRect == "function");
12909
12909
  });
12910
12910
  }
12911
- function Km(n) {
12911
+ function Jm(n) {
12912
12912
  n === void 0 && (n = {});
12913
12913
  var e = n, t = e.defaultModifiers, r = t === void 0 ? [] : t, i = e.defaultOptions, s = i === void 0 ? il : i;
12914
12914
  return function(l, a, c) {
@@ -12932,7 +12932,7 @@ function Km(n) {
12932
12932
  reference: $t(l) ? In(l) : l.contextElement ? In(l.contextElement) : [],
12933
12933
  popper: In(a)
12934
12934
  };
12935
- var M = Wm(qm([].concat(r, u.options.modifiers)));
12935
+ var M = qm(_m([].concat(r, u.options.modifiers)));
12936
12936
  return u.orderedModifiers = M.filter(function(y) {
12937
12937
  return y.enabled;
12938
12938
  }), h(), p.update();
@@ -12947,7 +12947,7 @@ function Km(n) {
12947
12947
  var b = u.elements, w = b.reference, M = b.popper;
12948
12948
  if (sl(w, M)) {
12949
12949
  u.rects = {
12950
- reference: Hm(w, Qn(M), u.options.strategy === "fixed"),
12950
+ reference: jm(w, Qn(M), u.options.strategy === "fixed"),
12951
12951
  popper: Is(M)
12952
12952
  }, u.reset = !1, u.placement = u.options.placement, u.orderedModifiers.forEach(function(z) {
12953
12953
  return u.modifiersData[z.name] = Object.assign({}, z.data);
@@ -12970,7 +12970,7 @@ function Km(n) {
12970
12970
  },
12971
12971
  // Async and optimistically optimized update – it will not be executed if
12972
12972
  // not necessary (debounced to run at most once-per-tick)
12973
- update: _m(function() {
12973
+ update: Km(function() {
12974
12974
  return new Promise(function(g) {
12975
12975
  p.forceUpdate(), g(u);
12976
12976
  });
@@ -13007,15 +13007,15 @@ function Km(n) {
13007
13007
  return p;
13008
13008
  };
13009
13009
  }
13010
- var Jm = [gm, Pm, hm, ac, Im, Tm, zm, um, Am], Um = /* @__PURE__ */ Km({
13011
- defaultModifiers: Jm
13012
- }), Gm = "tippy-box", gc = "tippy-content", Ym = "tippy-backdrop", yc = "tippy-arrow", bc = "tippy-svg-arrow", Ot = {
13010
+ var Um = [ym, Bm, mm, ac, Rm, Em, Vm, dm, Nm], Gm = /* @__PURE__ */ Jm({
13011
+ defaultModifiers: Um
13012
+ }), Ym = "tippy-box", gc = "tippy-content", Xm = "tippy-backdrop", yc = "tippy-arrow", bc = "tippy-svg-arrow", Ot = {
13013
13013
  passive: !0,
13014
13014
  capture: !0
13015
13015
  }, vc = function() {
13016
13016
  return document.body;
13017
13017
  };
13018
- function Xm(n, e) {
13018
+ function Zm(n, e) {
13019
13019
  return {}.hasOwnProperty.call(n, e);
13020
13020
  }
13021
13021
  function Si(n, e, t) {
@@ -13042,13 +13042,13 @@ function ol(n, e) {
13042
13042
  }, e);
13043
13043
  };
13044
13044
  }
13045
- function Zm(n, e) {
13045
+ function Qm(n, e) {
13046
13046
  var t = Object.assign({}, n);
13047
13047
  return e.forEach(function(r) {
13048
13048
  delete t[r];
13049
13049
  }), t;
13050
13050
  }
13051
- function Qm(n) {
13051
+ function eg(n) {
13052
13052
  return n.split(/\s+/).filter(Boolean);
13053
13053
  }
13054
13054
  function Zt(n) {
@@ -13057,12 +13057,12 @@ function Zt(n) {
13057
13057
  function ll(n, e) {
13058
13058
  n.indexOf(e) === -1 && n.push(e);
13059
13059
  }
13060
- function eg(n) {
13060
+ function tg(n) {
13061
13061
  return n.filter(function(e, t) {
13062
13062
  return n.indexOf(e) === t;
13063
13063
  });
13064
13064
  }
13065
- function tg(n) {
13065
+ function ng(n) {
13066
13066
  return n.split("-")[0];
13067
13067
  }
13068
13068
  function Hr(n) {
@@ -13076,22 +13076,22 @@ function al(n) {
13076
13076
  function Rn() {
13077
13077
  return document.createElement("div");
13078
13078
  }
13079
- function qn(n) {
13079
+ function Kn(n) {
13080
13080
  return ["Element", "Fragment"].some(function(e) {
13081
13081
  return zs(n, e);
13082
13082
  });
13083
13083
  }
13084
- function ng(n) {
13084
+ function rg(n) {
13085
13085
  return zs(n, "NodeList");
13086
13086
  }
13087
- function rg(n) {
13087
+ function ig(n) {
13088
13088
  return zs(n, "MouseEvent");
13089
13089
  }
13090
- function ig(n) {
13090
+ function sg(n) {
13091
13091
  return !!(n && n._tippy && n._tippy.reference === n);
13092
13092
  }
13093
- function sg(n) {
13094
- return qn(n) ? [n] : ng(n) ? Hr(n) : Array.isArray(n) ? n : Hr(document.querySelectorAll(n));
13093
+ function og(n) {
13094
+ return Kn(n) ? [n] : rg(n) ? Hr(n) : Array.isArray(n) ? n : Hr(document.querySelectorAll(n));
13095
13095
  }
13096
13096
  function Mi(n, e) {
13097
13097
  n.forEach(function(t) {
@@ -13103,14 +13103,14 @@ function cl(n, e) {
13103
13103
  t && t.setAttribute("data-state", e);
13104
13104
  });
13105
13105
  }
13106
- function og(n) {
13106
+ function lg(n) {
13107
13107
  var e, t = Zt(n), r = t[0];
13108
13108
  return r != null && (e = r.ownerDocument) != null && e.body ? r.ownerDocument : document;
13109
13109
  }
13110
- function lg(n, e) {
13110
+ function ag(n, e) {
13111
13111
  var t = e.clientX, r = e.clientY;
13112
13112
  return n.every(function(i) {
13113
- var s = i.popperRect, o = i.popperState, l = i.props, a = l.interactiveBorder, c = tg(o.placement), u = o.modifiersData.offset;
13113
+ var s = i.popperRect, o = i.popperState, l = i.props, a = l.interactiveBorder, c = ng(o.placement), u = o.modifiersData.offset;
13114
13114
  if (!u)
13115
13115
  return !0;
13116
13116
  var d = c === "bottom" ? u.top.y : 0, f = c === "top" ? u.bottom.y : 0, p = c === "right" ? u.left.x : 0, h = c === "left" ? u.right.x : 0, m = s.top - r + d > a, g = r - s.bottom - f > a, b = s.left - t + p > a, w = t - s.right - h > a;
@@ -13135,24 +13135,24 @@ function ul(n, e) {
13135
13135
  var Ve = {
13136
13136
  isTouch: !1
13137
13137
  }, dl = 0;
13138
- function ag() {
13138
+ function cg() {
13139
13139
  Ve.isTouch || (Ve.isTouch = !0, window.performance && document.addEventListener("mousemove", xc));
13140
13140
  }
13141
13141
  function xc() {
13142
13142
  var n = performance.now();
13143
13143
  n - dl < 20 && (Ve.isTouch = !1, document.removeEventListener("mousemove", xc)), dl = n;
13144
13144
  }
13145
- function cg() {
13145
+ function ug() {
13146
13146
  var n = document.activeElement;
13147
- if (ig(n)) {
13147
+ if (sg(n)) {
13148
13148
  var e = n._tippy;
13149
13149
  n.blur && !e.state.isVisible && n.blur();
13150
13150
  }
13151
13151
  }
13152
- function ug() {
13153
- document.addEventListener("touchstart", ag, Ot), window.addEventListener("blur", cg);
13152
+ function dg() {
13153
+ document.addEventListener("touchstart", cg, Ot), window.addEventListener("blur", ug);
13154
13154
  }
13155
- var dg = typeof window < "u" && typeof document < "u", fg = dg ? (
13155
+ var fg = typeof window < "u" && typeof document < "u", pg = fg ? (
13156
13156
  // @ts-ignore
13157
13157
  !!window.msCrypto
13158
13158
  ) : !1;
@@ -13164,7 +13164,7 @@ function fl(n) {
13164
13164
  var e = /[ \t]{2,}/g, t = /^[ \t]*/gm;
13165
13165
  return n.replace(e, " ").replace(t, "").trim();
13166
13166
  }
13167
- function pg(n) {
13167
+ function hg(n) {
13168
13168
  return fl(`
13169
13169
  %ctippy.js
13170
13170
 
@@ -13175,7 +13175,7 @@ function pg(n) {
13175
13175
  }
13176
13176
  function wc(n) {
13177
13177
  return [
13178
- pg(n),
13178
+ hg(n),
13179
13179
  // title
13180
13180
  "color: #00C584; font-size: 1.3em; font-weight: bold;",
13181
13181
  // message
@@ -13184,24 +13184,24 @@ function wc(n) {
13184
13184
  "color: #a6a095;"
13185
13185
  ];
13186
13186
  }
13187
- var Kn;
13188
- process.env.NODE_ENV !== "production" && hg();
13189
- function hg() {
13190
- Kn = /* @__PURE__ */ new Set();
13187
+ var _n;
13188
+ process.env.NODE_ENV !== "production" && mg();
13189
+ function mg() {
13190
+ _n = /* @__PURE__ */ new Set();
13191
13191
  }
13192
13192
  function Ye(n, e) {
13193
- if (n && !Kn.has(e)) {
13193
+ if (n && !_n.has(e)) {
13194
13194
  var t;
13195
- Kn.add(e), (t = console).warn.apply(t, wc(e));
13195
+ _n.add(e), (t = console).warn.apply(t, wc(e));
13196
13196
  }
13197
13197
  }
13198
13198
  function Zi(n, e) {
13199
- if (n && !Kn.has(e)) {
13199
+ if (n && !_n.has(e)) {
13200
13200
  var t;
13201
- Kn.add(e), (t = console).error.apply(t, wc(e));
13201
+ _n.add(e), (t = console).error.apply(t, wc(e));
13202
13202
  }
13203
13203
  }
13204
- function mg(n) {
13204
+ function gg(n) {
13205
13205
  var e = !n, t = Object.prototype.toString.call(n) === "[object Object]" && !n.addEventListener;
13206
13206
  Zi(e, ["tippy() was passed", "`" + String(n) + "`", "as its targets (first) argument. Valid types are: String, Element,", "Element[], or NodeList."].join(" ")), Zi(t, ["tippy() was passed a plain object which is not supported as an argument", "for virtual positioning. Use props.getReferenceClientRect instead."].join(" "));
13207
13207
  }
@@ -13210,7 +13210,7 @@ var Sc = {
13210
13210
  followCursor: !1,
13211
13211
  inlinePositioning: !1,
13212
13212
  sticky: !1
13213
- }, gg = {
13213
+ }, yg = {
13214
13214
  allowHTML: !1,
13215
13215
  animation: "fade",
13216
13216
  arrow: !0,
@@ -13268,7 +13268,7 @@ var Sc = {
13268
13268
  touch: !0,
13269
13269
  trigger: "mouseenter focus",
13270
13270
  triggerTarget: null
13271
- }, Sc, gg), yg = Object.keys(ve), bg = function(e) {
13271
+ }, Sc, yg), bg = Object.keys(ve), vg = function(e) {
13272
13272
  process.env.NODE_ENV !== "production" && Cc(e, []);
13273
13273
  var t = Object.keys(e);
13274
13274
  t.forEach(function(r) {
@@ -13286,10 +13286,10 @@ function Mc(n) {
13286
13286
  }, {});
13287
13287
  return Object.assign({}, n, t);
13288
13288
  }
13289
- function vg(n, e) {
13289
+ function kg(n, e) {
13290
13290
  var t = e ? Object.keys(Mc(Object.assign({}, ve, {
13291
13291
  plugins: e
13292
- }))) : yg, r = t.reduce(function(i, s) {
13292
+ }))) : bg, r = t.reduce(function(i, s) {
13293
13293
  var o = (n.getAttribute("data-tippy-" + s) || "").trim();
13294
13294
  if (!o)
13295
13295
  return i;
@@ -13308,7 +13308,7 @@ function vg(n, e) {
13308
13308
  function pl(n, e) {
13309
13309
  var t = Object.assign({}, e, {
13310
13310
  content: kc(e.content, [n])
13311
- }, e.ignoreAttributes ? {} : vg(n, e.plugins));
13311
+ }, e.ignoreAttributes ? {} : kg(n, e.plugins));
13312
13312
  return t.aria = Object.assign({}, ve.aria, t.aria), t.aria = {
13313
13313
  expanded: t.aria.expanded === "auto" ? e.interactive : t.aria.expanded,
13314
13314
  content: t.aria.content === "auto" ? e.interactive ? null : "describedby" : t.aria.content
@@ -13318,7 +13318,7 @@ function Cc(n, e) {
13318
13318
  n === void 0 && (n = {}), e === void 0 && (e = []);
13319
13319
  var t = Object.keys(n);
13320
13320
  t.forEach(function(r) {
13321
- var i = Zm(ve, Object.keys(Sc)), s = !Xm(i, r);
13321
+ var i = Qm(ve, Object.keys(Sc)), s = !Zm(i, r);
13322
13322
  s && (s = e.filter(function(o) {
13323
13323
  return o.name === r;
13324
13324
  }).length === 0), Ye(s, ["`" + 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.", `
@@ -13327,18 +13327,18 @@ function Cc(n, e) {
13327
13327
  `, "Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "));
13328
13328
  });
13329
13329
  }
13330
- var kg = function() {
13330
+ var xg = function() {
13331
13331
  return "innerHTML";
13332
13332
  };
13333
13333
  function Qi(n, e) {
13334
- n[kg()] = e;
13334
+ n[xg()] = e;
13335
13335
  }
13336
13336
  function hl(n) {
13337
13337
  var e = Rn();
13338
- return n === !0 ? e.className = yc : (e.className = bc, qn(n) ? e.appendChild(n) : Qi(e, n)), e;
13338
+ return n === !0 ? e.className = yc : (e.className = bc, Kn(n) ? e.appendChild(n) : Qi(e, n)), e;
13339
13339
  }
13340
13340
  function ml(n, e) {
13341
- qn(e.content) ? (Qi(n, ""), n.appendChild(e.content)) : typeof e.content != "function" && (e.allowHTML ? Qi(n, e.content) : n.textContent = e.content);
13341
+ Kn(e.content) ? (Qi(n, ""), n.appendChild(e.content)) : typeof e.content != "function" && (e.allowHTML ? Qi(n, e.content) : n.textContent = e.content);
13342
13342
  }
13343
13343
  function es(n) {
13344
13344
  var e = n.firstElementChild, t = Hr(e.children);
@@ -13351,13 +13351,13 @@ function es(n) {
13351
13351
  return r.classList.contains(yc) || r.classList.contains(bc);
13352
13352
  }),
13353
13353
  backdrop: t.find(function(r) {
13354
- return r.classList.contains(Ym);
13354
+ return r.classList.contains(Xm);
13355
13355
  })
13356
13356
  };
13357
13357
  }
13358
13358
  function Oc(n) {
13359
13359
  var e = Rn(), t = Rn();
13360
- t.className = Gm, t.setAttribute("data-state", "hidden"), t.setAttribute("tabindex", "-1");
13360
+ t.className = Ym, t.setAttribute("data-state", "hidden"), t.setAttribute("tabindex", "-1");
13361
13361
  var r = Rn();
13362
13362
  r.className = gc, r.setAttribute("data-state", "hidden"), ml(r, n.props), e.appendChild(t), t.appendChild(r), i(n.props, n.props);
13363
13363
  function i(s, o) {
@@ -13370,9 +13370,9 @@ function Oc(n) {
13370
13370
  };
13371
13371
  }
13372
13372
  Oc.$$tippy = !0;
13373
- var xg = 1, vr = [], Oi = [];
13374
- function wg(n, e) {
13375
- var t = pl(n, Object.assign({}, ve, Mc(al(e)))), r, i, s, o = !1, l = !1, a = !1, c = !1, u, d, f, p = [], h = ol(tr, t.interactiveDebounce), m, g = xg++, b = null, w = eg(t.plugins), M = {
13373
+ var wg = 1, vr = [], Oi = [];
13374
+ function Sg(n, e) {
13375
+ var t = pl(n, Object.assign({}, ve, Mc(al(e)))), r, i, s, o = !1, l = !1, a = !1, c = !1, u, d, f, p = [], h = ol(tr, t.interactiveDebounce), m, g = wg++, b = null, w = tg(t.plugins), M = {
13376
13376
  // Is the instance currently enabled?
13377
13377
  isEnabled: !0,
13378
13378
  // Is the tippy currently showing and not transitioning out?
@@ -13411,7 +13411,7 @@ function wg(n, e) {
13411
13411
  var B = w.map(function(v) {
13412
13412
  return v.fn(y);
13413
13413
  }), E = n.hasAttribute("aria-expanded");
13414
- return _t(), Be(), ne(), Y("onCreate", [y]), t.showOnCreate && xn(), k.addEventListener("mouseenter", function() {
13414
+ return qt(), Be(), ne(), Y("onCreate", [y]), t.showOnCreate && xn(), k.addEventListener("mouseenter", function() {
13415
13415
  y.props.interactive && y.state.isVisible && y.clearDelayTimeouts();
13416
13416
  }), k.addEventListener("mouseleave", function() {
13417
13417
  y.props.interactive && y.props.trigger.indexOf("mouseenter") >= 0 && ge().addEventListener("mousemove", h);
@@ -13432,7 +13432,7 @@ function wg(n, e) {
13432
13432
  }
13433
13433
  function ge() {
13434
13434
  var v = j().parentNode;
13435
- return v ? og(v) : document;
13435
+ return v ? lg(v) : document;
13436
13436
  }
13437
13437
  function ye() {
13438
13438
  return es(k);
@@ -13492,30 +13492,30 @@ function wg(n, e) {
13492
13492
  Y("onClickOutside", [y, v]);
13493
13493
  y.props.hideOnClick === !0 && (y.clearDelayTimeouts(), y.hide(), l = !0, setTimeout(function() {
13494
13494
  l = !1;
13495
- }), y.state.isMounted || qe());
13495
+ }), y.state.isMounted || Ke());
13496
13496
  }
13497
13497
  }
13498
13498
  }
13499
13499
  function St() {
13500
13500
  a = !0;
13501
13501
  }
13502
- function _e() {
13502
+ function qe() {
13503
13503
  a = !1;
13504
13504
  }
13505
13505
  function De() {
13506
13506
  var v = ge();
13507
- v.addEventListener("mousedown", Le, !0), v.addEventListener("touchend", Le, Ot), v.addEventListener("touchstart", _e, Ot), v.addEventListener("touchmove", St, Ot);
13507
+ v.addEventListener("mousedown", Le, !0), v.addEventListener("touchend", Le, Ot), v.addEventListener("touchstart", qe, Ot), v.addEventListener("touchmove", St, Ot);
13508
13508
  }
13509
- function qe() {
13509
+ function Ke() {
13510
13510
  var v = ge();
13511
- v.removeEventListener("mousedown", Le, !0), v.removeEventListener("touchend", Le, Ot), v.removeEventListener("touchstart", _e, Ot), v.removeEventListener("touchmove", St, Ot);
13511
+ v.removeEventListener("mousedown", Le, !0), v.removeEventListener("touchend", Le, Ot), v.removeEventListener("touchstart", qe, Ot), v.removeEventListener("touchmove", St, Ot);
13512
13512
  }
13513
13513
  function jt(v, T) {
13514
13514
  Wt(v, function() {
13515
13515
  !y.state.isVisible && k.parentNode && k.parentNode.contains(k) && T();
13516
13516
  });
13517
13517
  }
13518
- function Ke(v, T) {
13518
+ function _e(v, T) {
13519
13519
  Wt(v, T);
13520
13520
  }
13521
13521
  function Wt(v, T) {
@@ -13539,19 +13539,19 @@ function wg(n, e) {
13539
13539
  });
13540
13540
  });
13541
13541
  }
13542
- function _t() {
13542
+ function qt() {
13543
13543
  $() && (nt("touchstart", bn, {
13544
13544
  passive: !0
13545
13545
  }), nt("touchend", nr, {
13546
13546
  passive: !0
13547
- })), Qm(y.props.trigger).forEach(function(v) {
13547
+ })), eg(y.props.trigger).forEach(function(v) {
13548
13548
  if (v !== "manual")
13549
13549
  switch (nt(v, bn), v) {
13550
13550
  case "mouseenter":
13551
13551
  nt("mouseleave", nr);
13552
13552
  break;
13553
13553
  case "focus":
13554
- nt(fg ? "focusout" : "blur", vn);
13554
+ nt(pg ? "focusout" : "blur", vn);
13555
13555
  break;
13556
13556
  case "focusin":
13557
13557
  nt("focusout", vn);
@@ -13569,7 +13569,7 @@ function wg(n, e) {
13569
13569
  var T, N = !1;
13570
13570
  if (!(!y.state.isEnabled || kn(v) || l)) {
13571
13571
  var V = ((T = u) == null ? void 0 : T.type) === "focus";
13572
- u = v, m = v.currentTarget, Be(), !y.state.isVisible && rg(v) && vr.forEach(function(L) {
13572
+ u = v, m = v.currentTarget, Be(), !y.state.isVisible && ig(v) && vr.forEach(function(L) {
13573
13573
  return L(v);
13574
13574
  }), v.type === "click" && (y.props.trigger.indexOf("mouseenter") < 0 || o) && y.props.hideOnClick !== !1 && y.state.isVisible ? N = !0 : xn(v), v.type === "click" && (o = !N), N && !V && Mt(v);
13575
13575
  }
@@ -13578,14 +13578,14 @@ function wg(n, e) {
13578
13578
  var T = v.target, N = j().contains(T) || k.contains(T);
13579
13579
  if (!(v.type === "mousemove" && N)) {
13580
13580
  var V = rt().concat(k).map(function(L) {
13581
- var le, we = L._tippy, qt = (le = we.popperInstance) == null ? void 0 : le.state;
13582
- return qt ? {
13581
+ var le, we = L._tippy, Kt = (le = we.popperInstance) == null ? void 0 : le.state;
13582
+ return Kt ? {
13583
13583
  popperRect: L.getBoundingClientRect(),
13584
- popperState: qt,
13584
+ popperState: Kt,
13585
13585
  props: t
13586
13586
  } : null;
13587
13587
  }).filter(Boolean);
13588
- lg(V, v) && (wt(), Mt(v));
13588
+ ag(V, v) && (wt(), Mt(v));
13589
13589
  }
13590
13590
  }
13591
13591
  function nr(v) {
@@ -13606,7 +13606,7 @@ function wg(n, e) {
13606
13606
  }
13607
13607
  function rr() {
13608
13608
  ir();
13609
- var v = y.props, T = v.popperOptions, N = v.placement, V = v.offset, L = v.getReferenceClientRect, le = v.moveTransition, we = H() ? es(k).arrow : null, qt = L ? {
13609
+ var v = y.props, T = v.popperOptions, N = v.placement, V = v.offset, L = v.getReferenceClientRect, le = v.moveTransition, we = H() ? es(k).arrow : null, Kt = L ? {
13610
13610
  getBoundingClientRect: L,
13611
13611
  contextElement: L.contextElement || j()
13612
13612
  } : n, Fs = {
@@ -13615,12 +13615,12 @@ function wg(n, e) {
13615
13615
  phase: "beforeWrite",
13616
13616
  requires: ["computeStyles"],
13617
13617
  fn: function(cr) {
13618
- var Kt = cr.state;
13618
+ var _t = cr.state;
13619
13619
  if (H()) {
13620
13620
  var Vc = ye(), ii = Vc.box;
13621
13621
  ["placement", "reference-hidden", "escaped"].forEach(function(ur) {
13622
- ur === "placement" ? ii.setAttribute("data-placement", Kt.placement) : Kt.attributes.popper["data-popper-" + ur] ? ii.setAttribute("data-" + ur, "") : ii.removeAttribute("data-" + ur);
13623
- }), Kt.attributes.popper = {};
13622
+ ur === "placement" ? ii.setAttribute("data-placement", _t.placement) : _t.attributes.popper["data-popper-" + ur] ? ii.setAttribute("data-" + ur, "") : ii.removeAttribute("data-" + ur);
13623
+ }), _t.attributes.popper = {};
13624
13624
  }
13625
13625
  }
13626
13626
  }, Ct = [{
@@ -13655,7 +13655,7 @@ function wg(n, e) {
13655
13655
  element: we,
13656
13656
  padding: 3
13657
13657
  }
13658
- }), Ct.push.apply(Ct, T?.modifiers || []), y.popperInstance = Um(qt, k, Object.assign({}, T, {
13658
+ }), Ct.push.apply(Ct, T?.modifiers || []), y.popperInstance = Gm(Kt, k, Object.assign({}, T, {
13659
13659
  placement: N,
13660
13660
  onFirstUpdate: f,
13661
13661
  modifiers: Ct
@@ -13686,7 +13686,7 @@ function wg(n, e) {
13686
13686
  }
13687
13687
  function Mt(v) {
13688
13688
  if (y.clearDelayTimeouts(), Y("onUntrigger", [y, v]), !y.state.isVisible) {
13689
- qe();
13689
+ Ke();
13690
13690
  return;
13691
13691
  }
13692
13692
  if (!(y.props.trigger.indexOf("mouseenter") >= 0 && y.props.trigger.indexOf("click") >= 0 && ["mouseleave", "mousemove"].indexOf(v.type) >= 0 && o)) {
@@ -13713,7 +13713,7 @@ function wg(n, e) {
13713
13713
  var T = y.props, N = pl(n, Object.assign({}, T, al(v), {
13714
13714
  ignoreAttributes: !0
13715
13715
  }));
13716
- y.props = N, _t(), T.interactiveDebounce !== N.interactiveDebounce && (wt(), h = ol(tr, N.interactiveDebounce)), T.triggerTarget && !N.triggerTarget ? Zt(T.triggerTarget).forEach(function(V) {
13716
+ y.props = N, qt(), T.interactiveDebounce !== N.interactiveDebounce && (wt(), h = ol(tr, N.interactiveDebounce)), T.triggerTarget && !N.triggerTarget ? Zt(T.triggerTarget).forEach(function(V) {
13717
13717
  V.removeAttribute("aria-expanded");
13718
13718
  }) : N.triggerTarget && n.removeAttribute("aria-expanded"), Be(), ne(), I && I(T, N), y.popperInstance && (rr(), rt().forEach(function(V) {
13719
13719
  requestAnimationFrame(V._tippy.popperInstance.forceUpdate);
@@ -13730,17 +13730,17 @@ function wg(n, e) {
13730
13730
  var v = y.state.isVisible, T = y.state.isDestroyed, N = !y.state.isEnabled, V = Ve.isTouch && !y.props.touch, L = Si(y.props.duration, 0, ve.duration);
13731
13731
  if (!(v || T || N || V) && !j().hasAttribute("disabled") && (Y("onShow", [y], !1), y.props.onShow(y) !== !1)) {
13732
13732
  if (y.state.isVisible = !0, H() && (k.style.visibility = "visible"), ne(), De(), y.state.isMounted || (k.style.transition = "none"), H()) {
13733
- var le = ye(), we = le.box, qt = le.content;
13734
- Mi([we, qt], 0);
13733
+ var le = ye(), we = le.box, Kt = le.content;
13734
+ Mi([we, Kt], 0);
13735
13735
  }
13736
13736
  f = function() {
13737
13737
  var Ct;
13738
13738
  if (!(!y.state.isVisible || c)) {
13739
13739
  if (c = !0, k.offsetHeight, k.style.transition = y.props.moveTransition, H() && y.props.animation) {
13740
- var ri = ye(), cr = ri.box, Kt = ri.content;
13741
- Mi([cr, Kt], L), cl([cr, Kt], "visible");
13740
+ var ri = ye(), cr = ri.box, _t = ri.content;
13741
+ Mi([cr, _t], L), cl([cr, _t], "visible");
13742
13742
  }
13743
- Pe(), Be(), ll(Oi, y), (Ct = y.popperInstance) == null || Ct.forceUpdate(), Y("onMount", [y]), y.props.animation && H() && Ke(L, function() {
13743
+ Pe(), Be(), ll(Oi, y), (Ct = y.popperInstance) == null || Ct.forceUpdate(), Y("onMount", [y]), y.props.animation && H() && _e(L, function() {
13744
13744
  y.state.isShown = !0, Y("onShown", [y]);
13745
13745
  });
13746
13746
  }
@@ -13751,7 +13751,7 @@ function wg(n, e) {
13751
13751
  process.env.NODE_ENV !== "production" && Ye(y.state.isDestroyed, Gt("hide"));
13752
13752
  var v = !y.state.isVisible, T = y.state.isDestroyed, N = !y.state.isEnabled, V = Si(y.props.duration, 1, ve.duration);
13753
13753
  if (!(v || T || N) && (Y("onHide", [y], !1), y.props.onHide(y) !== !1)) {
13754
- if (y.state.isVisible = !1, y.state.isShown = !1, c = !1, o = !1, H() && (k.style.visibility = "hidden"), wt(), qe(), ne(!0), H()) {
13754
+ if (y.state.isVisible = !1, y.state.isShown = !1, c = !1, o = !1, H() && (k.style.visibility = "hidden"), wt(), Ke(), ne(!0), H()) {
13755
13755
  var L = ye(), le = L.box, we = L.content;
13756
13756
  y.props.animation && (Mi([le, we], V), cl([le, we], "hidden"));
13757
13757
  }
@@ -13775,12 +13775,12 @@ function wg(n, e) {
13775
13775
  function yn(n, e) {
13776
13776
  e === void 0 && (e = {});
13777
13777
  var t = ve.plugins.concat(e.plugins || []);
13778
- process.env.NODE_ENV !== "production" && (mg(n), Cc(e, t)), ug();
13778
+ process.env.NODE_ENV !== "production" && (gg(n), Cc(e, t)), dg();
13779
13779
  var r = Object.assign({}, e, {
13780
13780
  plugins: t
13781
- }), i = sg(n);
13781
+ }), i = og(n);
13782
13782
  if (process.env.NODE_ENV !== "production") {
13783
- var s = qn(r.content), o = i.length > 1;
13783
+ var s = Kn(r.content), o = i.length > 1;
13784
13784
  Ye(s && o, ["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.", `
13785
13785
 
13786
13786
  `, "Instead, pass the .innerHTML of the element, or use a function that", "returns a cloned version of the element instead.", `
@@ -13789,13 +13789,13 @@ function yn(n, e) {
13789
13789
  `, "2) content: () => element.cloneNode(true)"].join(" "));
13790
13790
  }
13791
13791
  var l = i.reduce(function(a, c) {
13792
- var u = c && wg(c, r);
13792
+ var u = c && Sg(c, r);
13793
13793
  return u && a.push(u), a;
13794
13794
  }, []);
13795
- return qn(n) ? l[0] : l;
13795
+ return Kn(n) ? l[0] : l;
13796
13796
  }
13797
13797
  yn.defaultProps = ve;
13798
- yn.setDefaultProps = bg;
13798
+ yn.setDefaultProps = vg;
13799
13799
  yn.currentInput = Ve;
13800
13800
  Object.assign({}, ac, {
13801
13801
  effect: function(e) {
@@ -13817,7 +13817,7 @@ Object.assign({}, ac, {
13817
13817
  yn.setDefaultProps({
13818
13818
  render: Oc
13819
13819
  });
13820
- class Sg {
13820
+ class Mg {
13821
13821
  constructor({ editor: e, element: t, view: r, tippyOptions: i = {}, updateDelay: s = 250, shouldShow: o }) {
13822
13822
  this.preventHide = !1, this.shouldShow = ({ view: l, state: a, from: c, to: u }) => {
13823
13823
  const { doc: d, selection: f } = a, { empty: p } = f, h = !d.textBetween(c, u).length && Os(a.selection), m = this.element.contains(document.activeElement);
@@ -13913,7 +13913,7 @@ class Sg {
13913
13913
  }
13914
13914
  const Tc = (n) => new oe({
13915
13915
  key: typeof n.pluginKey == "string" ? new Ne(n.pluginKey) : n.pluginKey,
13916
- view: (e) => new Sg({ view: e, ...n })
13916
+ view: (e) => new Mg({ view: e, ...n })
13917
13917
  });
13918
13918
  ee.create({
13919
13919
  name: "bubbleMenu",
@@ -13939,7 +13939,7 @@ ee.create({
13939
13939
  ] : [];
13940
13940
  }
13941
13941
  });
13942
- class Mg {
13942
+ class Cg {
13943
13943
  getTextContent(e) {
13944
13944
  return nc(e, { textSerializers: Ms(this.editor.schema) });
13945
13945
  }
@@ -14008,7 +14008,7 @@ class Mg {
14008
14008
  }
14009
14009
  const Ec = (n) => new oe({
14010
14010
  key: typeof n.pluginKey == "string" ? new Ne(n.pluginKey) : n.pluginKey,
14011
- view: (e) => new Mg({ view: e, ...n })
14011
+ view: (e) => new Cg({ view: e, ...n })
14012
14012
  });
14013
14013
  ee.create({
14014
14014
  name: "floatingMenu",
@@ -14078,7 +14078,7 @@ mn({
14078
14078
  }
14079
14079
  });
14080
14080
  function gl(n) {
14081
- return _c((e, t) => ({
14081
+ return qc((e, t) => ({
14082
14082
  get() {
14083
14083
  return e(), n;
14084
14084
  },
@@ -14091,7 +14091,7 @@ function gl(n) {
14091
14091
  }
14092
14092
  }));
14093
14093
  }
14094
- class Cg extends jh {
14094
+ class Og extends Wh {
14095
14095
  constructor(e = {}) {
14096
14096
  return super(e), this.contentComponent = null, this.appContext = null, this.reactiveState = gl(this.view.state), this.reactiveExtensionStorage = gl(this.extensionStorage), this.on("beforeTransaction", ({ nextState: t }) => {
14097
14097
  this.reactiveState.value = t, this.reactiveExtensionStorage.value = this.extensionStorage;
@@ -14118,7 +14118,7 @@ class Cg extends jh {
14118
14118
  return this.reactiveState && t && (this.reactiveState.value = t), t;
14119
14119
  }
14120
14120
  }
14121
- const Og = mn({
14121
+ const Tg = mn({
14122
14122
  name: "EditorContent",
14123
14123
  props: {
14124
14124
  editor: {
@@ -14239,16 +14239,16 @@ mn({
14239
14239
  }, (e = (n = this.$slots).default) === null || e === void 0 ? void 0 : e.call(n));
14240
14240
  }
14241
14241
  });
14242
- const Tg = (n = {}) => {
14242
+ const Eg = (n = {}) => {
14243
14243
  const e = Fc();
14244
14244
  return ts(() => {
14245
- e.value = new Cg(n);
14245
+ e.value = new Og(n);
14246
14246
  }), Jn(() => {
14247
14247
  var t, r, i;
14248
14248
  const s = (t = e.value) === null || t === void 0 ? void 0 : t.options.element, o = s?.cloneNode(!0);
14249
14249
  (r = s?.parentNode) === null || r === void 0 || r.replaceChild(o, s), (i = e.value) === null || i === void 0 || i.destroy();
14250
14250
  }), e;
14251
- }, Eg = /^\s*>\s$/, Ag = me.create({
14251
+ }, Ag = /^\s*>\s$/, Ng = me.create({
14252
14252
  name: "blockquote",
14253
14253
  addOptions() {
14254
14254
  return {
@@ -14281,12 +14281,12 @@ const Tg = (n = {}) => {
14281
14281
  addInputRules() {
14282
14282
  return [
14283
14283
  jn({
14284
- find: Eg,
14284
+ find: Ag,
14285
14285
  type: this.type
14286
14286
  })
14287
14287
  ];
14288
14288
  }
14289
- }), Ng = /(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))$/, Dg = /(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))/g, Ig = /(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))$/, Rg = /(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))/g, Pg = yt.create({
14289
+ }), Dg = /(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))$/, Ig = /(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))/g, Rg = /(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))$/, Pg = /(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))/g, Bg = yt.create({
14290
14290
  name: "bold",
14291
14291
  addOptions() {
14292
14292
  return {
@@ -14331,11 +14331,11 @@ const Tg = (n = {}) => {
14331
14331
  addInputRules() {
14332
14332
  return [
14333
14333
  cn({
14334
- find: Ng,
14334
+ find: Dg,
14335
14335
  type: this.type
14336
14336
  }),
14337
14337
  cn({
14338
- find: Ig,
14338
+ find: Rg,
14339
14339
  type: this.type
14340
14340
  })
14341
14341
  ];
@@ -14343,16 +14343,16 @@ const Tg = (n = {}) => {
14343
14343
  addPasteRules() {
14344
14344
  return [
14345
14345
  un({
14346
- find: Dg,
14346
+ find: Ig,
14347
14347
  type: this.type
14348
14348
  }),
14349
14349
  un({
14350
- find: Rg,
14350
+ find: Pg,
14351
14351
  type: this.type
14352
14352
  })
14353
14353
  ];
14354
14354
  }
14355
- }), Bg = "listItem", yl = "textStyle", bl = /^\s*([-+*])\s$/, Lg = me.create({
14355
+ }), Lg = "listItem", yl = "textStyle", bl = /^\s*([-+*])\s$/, zg = me.create({
14356
14356
  name: "bulletList",
14357
14357
  addOptions() {
14358
14358
  return {
@@ -14376,7 +14376,7 @@ const Tg = (n = {}) => {
14376
14376
  },
14377
14377
  addCommands() {
14378
14378
  return {
14379
- toggleBulletList: () => ({ commands: n, chain: e }) => this.options.keepAttributes ? e().toggleList(this.name, this.options.itemTypeName, this.options.keepMarks).updateAttributes(Bg, this.editor.getAttributes(yl)).run() : n.toggleList(this.name, this.options.itemTypeName, this.options.keepMarks)
14379
+ toggleBulletList: () => ({ commands: n, chain: e }) => this.options.keepAttributes ? e().toggleList(this.name, this.options.itemTypeName, this.options.keepMarks).updateAttributes(Lg, this.editor.getAttributes(yl)).run() : n.toggleList(this.name, this.options.itemTypeName, this.options.keepMarks)
14380
14380
  };
14381
14381
  },
14382
14382
  addKeyboardShortcuts() {
@@ -14400,7 +14400,7 @@ const Tg = (n = {}) => {
14400
14400
  n
14401
14401
  ];
14402
14402
  }
14403
- }), zg = /(^|[^`])`([^`]+)`(?!`)/, Vg = /(^|[^`])`([^`]+)`(?!`)/g, Fg = yt.create({
14403
+ }), Vg = /(^|[^`])`([^`]+)`(?!`)/, Fg = /(^|[^`])`([^`]+)`(?!`)/g, $g = yt.create({
14404
14404
  name: "code",
14405
14405
  addOptions() {
14406
14406
  return {
@@ -14433,7 +14433,7 @@ const Tg = (n = {}) => {
14433
14433
  addInputRules() {
14434
14434
  return [
14435
14435
  cn({
14436
- find: zg,
14436
+ find: Vg,
14437
14437
  type: this.type
14438
14438
  })
14439
14439
  ];
@@ -14441,12 +14441,12 @@ const Tg = (n = {}) => {
14441
14441
  addPasteRules() {
14442
14442
  return [
14443
14443
  un({
14444
- find: Vg,
14444
+ find: Fg,
14445
14445
  type: this.type
14446
14446
  })
14447
14447
  ];
14448
14448
  }
14449
- }), $g = /^```([a-z]+)?[\s\n]$/, Hg = /^~~~([a-z]+)?[\s\n]$/, jg = me.create({
14449
+ }), Hg = /^```([a-z]+)?[\s\n]$/, jg = /^~~~([a-z]+)?[\s\n]$/, Wg = me.create({
14450
14450
  name: "codeBlock",
14451
14451
  addOptions() {
14452
14452
  return {
@@ -14537,14 +14537,14 @@ const Tg = (n = {}) => {
14537
14537
  addInputRules() {
14538
14538
  return [
14539
14539
  Gi({
14540
- find: $g,
14540
+ find: Hg,
14541
14541
  type: this.type,
14542
14542
  getAttributes: (n) => ({
14543
14543
  language: n[1]
14544
14544
  })
14545
14545
  }),
14546
14546
  Gi({
14547
- find: Hg,
14547
+ find: jg,
14548
14548
  type: this.type,
14549
14549
  getAttributes: (n) => ({
14550
14550
  language: n[1]
@@ -14573,19 +14573,19 @@ const Tg = (n = {}) => {
14573
14573
  })
14574
14574
  ];
14575
14575
  }
14576
- }), Wg = me.create({
14576
+ }), qg = me.create({
14577
14577
  name: "doc",
14578
14578
  topNode: !0,
14579
14579
  content: "block+"
14580
14580
  });
14581
- function _g(n = {}) {
14581
+ function Kg(n = {}) {
14582
14582
  return new oe({
14583
14583
  view(e) {
14584
- return new qg(e, n);
14584
+ return new _g(e, n);
14585
14585
  }
14586
14586
  });
14587
14587
  }
14588
- class qg {
14588
+ class _g {
14589
14589
  constructor(e, t) {
14590
14590
  var r;
14591
14591
  this.editorView = e, this.cursorPos = null, this.element = null, this.timeout = -1, this.width = (r = t.width) !== null && r !== void 0 ? r : 1, this.color = t.color === !1 ? void 0 : t.color || "black", this.class = t.class, this.handlers = ["dragover", "dragend", "drop", "dragleave"].map((i) => {
@@ -14657,7 +14657,7 @@ class qg {
14657
14657
  (e.target == this.editorView.dom || !this.editorView.dom.contains(e.relatedTarget)) && this.setCursor(null);
14658
14658
  }
14659
14659
  }
14660
- const Kg = ee.create({
14660
+ const Jg = ee.create({
14661
14661
  name: "dropCursor",
14662
14662
  addOptions() {
14663
14663
  return {
@@ -14668,7 +14668,7 @@ const Kg = ee.create({
14668
14668
  },
14669
14669
  addProseMirrorPlugins() {
14670
14670
  return [
14671
- _g(this.options)
14671
+ Kg(this.options)
14672
14672
  ];
14673
14673
  }
14674
14674
  });
@@ -14711,7 +14711,7 @@ class W extends R {
14711
14711
  */
14712
14712
  static valid(e) {
14713
14713
  let t = e.parent;
14714
- if (t.isTextblock || !Jg(e) || !Ug(e))
14714
+ if (t.isTextblock || !Ug(e) || !Gg(e))
14715
14715
  return !1;
14716
14716
  let r = t.type.spec.allowGapCursor;
14717
14717
  if (r != null)
@@ -14772,7 +14772,7 @@ class Vs {
14772
14772
  return W.valid(t) ? new W(t) : R.near(t);
14773
14773
  }
14774
14774
  }
14775
- function Jg(n) {
14775
+ function Ug(n) {
14776
14776
  for (let e = n.depth; e >= 0; e--) {
14777
14777
  let t = n.index(e), r = n.node(e);
14778
14778
  if (t == 0) {
@@ -14789,7 +14789,7 @@ function Jg(n) {
14789
14789
  }
14790
14790
  return !0;
14791
14791
  }
14792
- function Ug(n) {
14792
+ function Gg(n) {
14793
14793
  for (let e = n.depth; e >= 0; e--) {
14794
14794
  let t = n.indexAfter(e), r = n.node(e);
14795
14795
  if (t == r.childCount) {
@@ -14806,20 +14806,20 @@ function Ug(n) {
14806
14806
  }
14807
14807
  return !0;
14808
14808
  }
14809
- function Gg() {
14809
+ function Yg() {
14810
14810
  return new oe({
14811
14811
  props: {
14812
- decorations: Qg,
14812
+ decorations: ey,
14813
14813
  createSelectionBetween(n, e, t) {
14814
14814
  return e.pos == t.pos && W.valid(t) ? new W(t) : null;
14815
14815
  },
14816
- handleClick: Xg,
14817
- handleKeyDown: Yg,
14818
- handleDOMEvents: { beforeinput: Zg }
14816
+ handleClick: Zg,
14817
+ handleKeyDown: Xg,
14818
+ handleDOMEvents: { beforeinput: Qg }
14819
14819
  }
14820
14820
  });
14821
14821
  }
14822
- const Yg = Ba({
14822
+ const Xg = Ba({
14823
14823
  ArrowLeft: kr("horiz", -1),
14824
14824
  ArrowRight: kr("horiz", 1),
14825
14825
  ArrowUp: kr("vert", -1),
@@ -14838,7 +14838,7 @@ function kr(n, e) {
14838
14838
  return c ? (i && i(r.tr.setSelection(new W(c))), !0) : !1;
14839
14839
  };
14840
14840
  }
14841
- function Xg(n, e, t) {
14841
+ function Zg(n, e, t) {
14842
14842
  if (!n || !n.editable)
14843
14843
  return !1;
14844
14844
  let r = n.state.doc.resolve(e);
@@ -14847,7 +14847,7 @@ function Xg(n, e, t) {
14847
14847
  let i = n.posAtCoords({ left: t.clientX, top: t.clientY });
14848
14848
  return i && i.inside > -1 && A.isSelectable(n.state.doc.nodeAt(i.inside)) ? !1 : (n.dispatch(n.state.tr.setSelection(new W(r))), !0);
14849
14849
  }
14850
- function Zg(n, e) {
14850
+ function Qg(n, e) {
14851
14851
  if (e.inputType != "insertCompositionText" || !(n.state.selection instanceof W))
14852
14852
  return !1;
14853
14853
  let { $from: t } = n.state.selection, r = t.parent.contentMatchAt(t.index()).findWrapping(n.state.schema.nodes.text);
@@ -14859,17 +14859,17 @@ function Zg(n, e) {
14859
14859
  let s = n.state.tr.replace(t.pos, t.pos, new S(i, 0, 0));
14860
14860
  return s.setSelection(D.near(s.doc.resolve(t.pos + 1))), n.dispatch(s), !1;
14861
14861
  }
14862
- function Qg(n) {
14862
+ function ey(n) {
14863
14863
  if (!(n.selection instanceof W))
14864
14864
  return null;
14865
14865
  let e = document.createElement("div");
14866
- return e.className = "ProseMirror-gapcursor", q.create(n.doc, [Ce.widget(n.selection.head, e, { key: "gapcursor" })]);
14866
+ return e.className = "ProseMirror-gapcursor", K.create(n.doc, [Ce.widget(n.selection.head, e, { key: "gapcursor" })]);
14867
14867
  }
14868
- const ey = ee.create({
14868
+ const ty = ee.create({
14869
14869
  name: "gapCursor",
14870
14870
  addProseMirrorPlugins() {
14871
14871
  return [
14872
- Gg()
14872
+ Yg()
14873
14873
  ];
14874
14874
  },
14875
14875
  extendNodeSchema(n) {
@@ -14883,7 +14883,7 @@ const ey = ee.create({
14883
14883
  allowGapCursor: (e = P(C(n, "allowGapCursor", t))) !== null && e !== void 0 ? e : null
14884
14884
  };
14885
14885
  }
14886
- }), ty = me.create({
14886
+ }), ny = me.create({
14887
14887
  name: "hardBreak",
14888
14888
  addOptions() {
14889
14889
  return {
@@ -14933,7 +14933,7 @@ const ey = ee.create({
14933
14933
  "Shift-Enter": () => this.editor.commands.setHardBreak()
14934
14934
  };
14935
14935
  }
14936
- }), ny = me.create({
14936
+ }), ry = me.create({
14937
14937
  name: "heading",
14938
14938
  addOptions() {
14939
14939
  return {
@@ -14992,7 +14992,7 @@ U.prototype.prepend = function(e) {
14992
14992
  return e.length ? U.from(e).append(this) : this;
14993
14993
  };
14994
14994
  U.prototype.appendInner = function(e) {
14995
- return new ry(this, e);
14995
+ return new iy(this, e);
14996
14996
  };
14997
14997
  U.prototype.slice = function(e, t) {
14998
14998
  return e === void 0 && (e = 0), t === void 0 && (t = this.length), e >= t ? U.empty : this.sliceInner(Math.max(0, e), Math.min(this.length, t));
@@ -15047,7 +15047,7 @@ var Ac = /* @__PURE__ */ function(n) {
15047
15047
  }, Object.defineProperties(e.prototype, t), e;
15048
15048
  }(U);
15049
15049
  U.empty = new Ac([]);
15050
- var ry = /* @__PURE__ */ function(n) {
15050
+ var iy = /* @__PURE__ */ function(n) {
15051
15051
  function e(t, r) {
15052
15052
  n.call(this), this.left = t, this.right = r, this.length = t.length + r.length, this.depth = Math.max(t.depth, r.depth) + 1;
15053
15053
  }
@@ -15080,7 +15080,7 @@ var ry = /* @__PURE__ */ function(n) {
15080
15080
  return this.left.depth >= Math.max(this.right.depth, r.depth) + 1 ? new e(this.left, new e(this.right, r)) : new e(this, r);
15081
15081
  }, e;
15082
15082
  }(U);
15083
- const iy = 500;
15083
+ const sy = 500;
15084
15084
  class Ie {
15085
15085
  constructor(e, t) {
15086
15086
  this.items = e, this.eventCount = t;
@@ -15122,7 +15122,7 @@ class Ie {
15122
15122
  (p = a && a.merge(f)) && (f = p, u ? s.pop() : l = l.slice(0, l.length - 1)), s.push(f), t && (o++, t = void 0), i || (a = f);
15123
15123
  }
15124
15124
  let c = o - r.depth;
15125
- return c > oy && (l = sy(l, c), o -= c), new Ie(l.append(s), o);
15125
+ return c > ly && (l = oy(l, c), o -= c), new Ie(l.append(s), o);
15126
15126
  }
15127
15127
  remapping(e, t) {
15128
15128
  let r = new Ln();
@@ -15162,7 +15162,7 @@ class Ie {
15162
15162
  for (let f = t; f < o; f++)
15163
15163
  c.push(new ze(s.maps[f]));
15164
15164
  let u = this.items.slice(0, i).append(c).append(r), d = new Ie(u, l);
15165
- return d.emptyItemCount() > iy && (d = d.compress(this.items.length - r.length)), d;
15165
+ return d.emptyItemCount() > sy && (d = d.compress(this.items.length - r.length)), d;
15166
15166
  }
15167
15167
  emptyItemCount() {
15168
15168
  let e = 0;
@@ -15194,7 +15194,7 @@ class Ie {
15194
15194
  }
15195
15195
  }
15196
15196
  Ie.empty = new Ie(U.empty, 0);
15197
- function sy(n, e) {
15197
+ function oy(n, e) {
15198
15198
  let t;
15199
15199
  return n.forEach((r, i) => {
15200
15200
  if (r.selection && e-- == 0)
@@ -15218,23 +15218,23 @@ class ot {
15218
15218
  this.done = e, this.undone = t, this.prevRanges = r, this.prevTime = i, this.prevComposition = s;
15219
15219
  }
15220
15220
  }
15221
- const oy = 20;
15222
- function ly(n, e, t, r) {
15221
+ const ly = 20;
15222
+ function ay(n, e, t, r) {
15223
15223
  let i = t.getMeta(Lt), s;
15224
15224
  if (i)
15225
15225
  return i.historyState;
15226
- t.getMeta(uy) && (n = new ot(n.done, n.undone, null, 0, -1));
15226
+ t.getMeta(dy) && (n = new ot(n.done, n.undone, null, 0, -1));
15227
15227
  let o = t.getMeta("appendedTransaction");
15228
15228
  if (t.steps.length == 0)
15229
15229
  return n;
15230
15230
  if (o && o.getMeta(Lt))
15231
15231
  return o.getMeta(Lt).redo ? new ot(n.done.addTransform(t, void 0, r, Or(e)), n.undone, vl(t.mapping.maps), n.prevTime, n.prevComposition) : new ot(n.done, n.undone.addTransform(t, void 0, r, Or(e)), null, n.prevTime, n.prevComposition);
15232
15232
  if (t.getMeta("addToHistory") !== !1 && !(o && o.getMeta("addToHistory") === !1)) {
15233
- let l = t.getMeta("composition"), a = n.prevTime == 0 || !o && n.prevComposition != l && (n.prevTime < (t.time || 0) - r.newGroupDelay || !ay(t, n.prevRanges)), c = o ? Ti(n.prevRanges, t.mapping) : vl(t.mapping.maps);
15233
+ let l = t.getMeta("composition"), a = n.prevTime == 0 || !o && n.prevComposition != l && (n.prevTime < (t.time || 0) - r.newGroupDelay || !cy(t, n.prevRanges)), c = o ? Ti(n.prevRanges, t.mapping) : vl(t.mapping.maps);
15234
15234
  return new ot(n.done.addTransform(t, a ? e.selection.getBookmark() : void 0, r, Or(e)), Ie.empty, c, t.time, l ?? n.prevComposition);
15235
15235
  } else return (s = t.getMeta("rebased")) ? new ot(n.done.rebased(t, s), n.undone.rebased(t, s), Ti(n.prevRanges, t.mapping), n.prevTime, n.prevComposition) : new ot(n.done.addMaps(t.mapping.maps), n.undone.addMaps(t.mapping.maps), Ti(n.prevRanges, t.mapping), n.prevTime, n.prevComposition);
15236
15236
  }
15237
- function ay(n, e) {
15237
+ function cy(n, e) {
15238
15238
  if (!e)
15239
15239
  return !1;
15240
15240
  if (!n.docChanged)
@@ -15261,7 +15261,7 @@ function Ti(n, e) {
15261
15261
  }
15262
15262
  return t;
15263
15263
  }
15264
- function cy(n, e, t) {
15264
+ function uy(n, e, t) {
15265
15265
  let r = Or(e), i = Lt.get(e).spec.config, s = (t ? n.undone : n.done).popEvent(e, r);
15266
15266
  if (!s)
15267
15267
  return null;
@@ -15281,8 +15281,8 @@ function Or(n) {
15281
15281
  }
15282
15282
  return Ei;
15283
15283
  }
15284
- const Lt = new Ne("history"), uy = new Ne("closeHistory");
15285
- function dy(n = {}) {
15284
+ const Lt = new Ne("history"), dy = new Ne("closeHistory");
15285
+ function fy(n = {}) {
15286
15286
  return n = {
15287
15287
  depth: n.depth || 100,
15288
15288
  newGroupDelay: n.newGroupDelay || 500
@@ -15293,7 +15293,7 @@ function dy(n = {}) {
15293
15293
  return new ot(Ie.empty, Ie.empty, null, 0, -1);
15294
15294
  },
15295
15295
  apply(e, t, r) {
15296
- return ly(t, r, e, n);
15296
+ return ay(t, r, e, n);
15297
15297
  }
15298
15298
  },
15299
15299
  config: n,
@@ -15313,13 +15313,13 @@ function Nc(n, e) {
15313
15313
  if (!i || (n ? i.undone : i.done).eventCount == 0)
15314
15314
  return !1;
15315
15315
  if (r) {
15316
- let s = cy(i, t, n);
15316
+ let s = uy(i, t, n);
15317
15317
  s && r(e ? s.scrollIntoView() : s);
15318
15318
  }
15319
15319
  return !0;
15320
15320
  };
15321
15321
  }
15322
- const Dc = Nc(!1, !0), Ic = Nc(!0, !0), fy = ee.create({
15322
+ const Dc = Nc(!1, !0), Ic = Nc(!0, !0), py = ee.create({
15323
15323
  name: "history",
15324
15324
  addOptions() {
15325
15325
  return {
@@ -15335,7 +15335,7 @@ const Dc = Nc(!1, !0), Ic = Nc(!0, !0), fy = ee.create({
15335
15335
  },
15336
15336
  addProseMirrorPlugins() {
15337
15337
  return [
15338
- dy(this.options)
15338
+ fy(this.options)
15339
15339
  ];
15340
15340
  },
15341
15341
  addKeyboardShortcuts() {
@@ -15348,7 +15348,7 @@ const Dc = Nc(!1, !0), Ic = Nc(!0, !0), fy = ee.create({
15348
15348
  "Shift-Mod-я": () => this.editor.commands.redo()
15349
15349
  };
15350
15350
  }
15351
- }), py = me.create({
15351
+ }), hy = me.create({
15352
15352
  name: "horizontalRule",
15353
15353
  addOptions() {
15354
15354
  return {
@@ -15392,13 +15392,13 @@ const Dc = Nc(!1, !0), Ic = Nc(!0, !0), fy = ee.create({
15392
15392
  },
15393
15393
  addInputRules() {
15394
15394
  return [
15395
- Wh({
15395
+ qh({
15396
15396
  find: /^(?:---|—-|___\s|\*\*\*\s)$/,
15397
15397
  type: this.type
15398
15398
  })
15399
15399
  ];
15400
15400
  }
15401
- }), hy = /(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))$/, my = /(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))/g, gy = /(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))$/, yy = /(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))/g, by = yt.create({
15401
+ }), my = /(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))$/, gy = /(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))/g, yy = /(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))$/, by = /(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))/g, vy = yt.create({
15402
15402
  name: "italic",
15403
15403
  addOptions() {
15404
15404
  return {
@@ -15442,11 +15442,11 @@ const Dc = Nc(!1, !0), Ic = Nc(!0, !0), fy = ee.create({
15442
15442
  addInputRules() {
15443
15443
  return [
15444
15444
  cn({
15445
- find: hy,
15445
+ find: my,
15446
15446
  type: this.type
15447
15447
  }),
15448
15448
  cn({
15449
- find: gy,
15449
+ find: yy,
15450
15450
  type: this.type
15451
15451
  })
15452
15452
  ];
@@ -15454,16 +15454,16 @@ const Dc = Nc(!1, !0), Ic = Nc(!0, !0), fy = ee.create({
15454
15454
  addPasteRules() {
15455
15455
  return [
15456
15456
  un({
15457
- find: my,
15457
+ find: gy,
15458
15458
  type: this.type
15459
15459
  }),
15460
15460
  un({
15461
- find: yy,
15461
+ find: by,
15462
15462
  type: this.type
15463
15463
  })
15464
15464
  ];
15465
15465
  }
15466
- }), vy = me.create({
15466
+ }), ky = me.create({
15467
15467
  name: "listItem",
15468
15468
  addOptions() {
15469
15469
  return {
@@ -15491,7 +15491,7 @@ const Dc = Nc(!1, !0), Ic = Nc(!0, !0), fy = ee.create({
15491
15491
  "Shift-Tab": () => this.editor.commands.liftListItem(this.name)
15492
15492
  };
15493
15493
  }
15494
- }), ky = "listItem", xl = "textStyle", wl = /^(\d+)\.\s$/, xy = me.create({
15494
+ }), xy = "listItem", xl = "textStyle", wl = /^(\d+)\.\s$/, wy = me.create({
15495
15495
  name: "orderedList",
15496
15496
  addOptions() {
15497
15497
  return {
@@ -15512,7 +15512,7 @@ const Dc = Nc(!1, !0), Ic = Nc(!0, !0), fy = ee.create({
15512
15512
  parseHTML: (n) => n.hasAttribute("start") ? parseInt(n.getAttribute("start") || "", 10) : 1
15513
15513
  },
15514
15514
  type: {
15515
- default: void 0,
15515
+ default: null,
15516
15516
  parseHTML: (n) => n.getAttribute("type")
15517
15517
  }
15518
15518
  };
@@ -15530,7 +15530,7 @@ const Dc = Nc(!1, !0), Ic = Nc(!0, !0), fy = ee.create({
15530
15530
  },
15531
15531
  addCommands() {
15532
15532
  return {
15533
- toggleOrderedList: () => ({ commands: n, chain: e }) => this.options.keepAttributes ? e().toggleList(this.name, this.options.itemTypeName, this.options.keepMarks).updateAttributes(ky, this.editor.getAttributes(xl)).run() : n.toggleList(this.name, this.options.itemTypeName, this.options.keepMarks)
15533
+ toggleOrderedList: () => ({ commands: n, chain: e }) => this.options.keepAttributes ? e().toggleList(this.name, this.options.itemTypeName, this.options.keepMarks).updateAttributes(xy, this.editor.getAttributes(xl)).run() : n.toggleList(this.name, this.options.itemTypeName, this.options.keepMarks)
15534
15534
  };
15535
15535
  },
15536
15536
  addKeyboardShortcuts() {
@@ -15557,7 +15557,7 @@ const Dc = Nc(!1, !0), Ic = Nc(!0, !0), fy = ee.create({
15557
15557
  n
15558
15558
  ];
15559
15559
  }
15560
- }), wy = me.create({
15560
+ }), Sy = me.create({
15561
15561
  name: "paragraph",
15562
15562
  priority: 1e3,
15563
15563
  addOptions() {
@@ -15585,7 +15585,7 @@ const Dc = Nc(!1, !0), Ic = Nc(!0, !0), fy = ee.create({
15585
15585
  "Mod-Alt-0": () => this.editor.commands.setParagraph()
15586
15586
  };
15587
15587
  }
15588
- }), Sy = /(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))$/, My = /(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))/g, Cy = yt.create({
15588
+ }), My = /(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))$/, Cy = /(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))/g, Oy = yt.create({
15589
15589
  name: "strike",
15590
15590
  addOptions() {
15591
15591
  return {
@@ -15628,7 +15628,7 @@ const Dc = Nc(!1, !0), Ic = Nc(!0, !0), fy = ee.create({
15628
15628
  addInputRules() {
15629
15629
  return [
15630
15630
  cn({
15631
- find: Sy,
15631
+ find: My,
15632
15632
  type: this.type
15633
15633
  })
15634
15634
  ];
@@ -15636,31 +15636,30 @@ const Dc = Nc(!1, !0), Ic = Nc(!0, !0), fy = ee.create({
15636
15636
  addPasteRules() {
15637
15637
  return [
15638
15638
  un({
15639
- find: My,
15639
+ find: Cy,
15640
15640
  type: this.type
15641
15641
  })
15642
15642
  ];
15643
15643
  }
15644
- }), Oy = me.create({
15644
+ }), Ty = me.create({
15645
15645
  name: "text",
15646
15646
  group: "inline"
15647
- }), Ty = ee.create({
15647
+ }), Ey = ee.create({
15648
15648
  name: "starterKit",
15649
15649
  addExtensions() {
15650
- var n, e, t, r, i, s, o, l, a, c, u, d, f, p, h, m, g, b;
15651
- const w = [];
15652
- return this.options.bold !== !1 && w.push(Pg.configure((n = this.options) === null || n === void 0 ? void 0 : n.bold)), this.options.blockquote !== !1 && w.push(Ag.configure((e = this.options) === null || e === void 0 ? void 0 : e.blockquote)), this.options.bulletList !== !1 && w.push(Lg.configure((t = this.options) === null || t === void 0 ? void 0 : t.bulletList)), this.options.code !== !1 && w.push(Fg.configure((r = this.options) === null || r === void 0 ? void 0 : r.code)), this.options.codeBlock !== !1 && w.push(jg.configure((i = this.options) === null || i === void 0 ? void 0 : i.codeBlock)), this.options.document !== !1 && w.push(Wg.configure((s = this.options) === null || s === void 0 ? void 0 : s.document)), this.options.dropcursor !== !1 && w.push(Kg.configure((o = this.options) === null || o === void 0 ? void 0 : o.dropcursor)), this.options.gapcursor !== !1 && w.push(ey.configure((l = this.options) === null || l === void 0 ? void 0 : l.gapcursor)), this.options.hardBreak !== !1 && w.push(ty.configure((a = this.options) === null || a === void 0 ? void 0 : a.hardBreak)), this.options.heading !== !1 && w.push(ny.configure((c = this.options) === null || c === void 0 ? void 0 : c.heading)), this.options.history !== !1 && w.push(fy.configure((u = this.options) === null || u === void 0 ? void 0 : u.history)), this.options.horizontalRule !== !1 && w.push(py.configure((d = this.options) === null || d === void 0 ? void 0 : d.horizontalRule)), this.options.italic !== !1 && w.push(by.configure((f = this.options) === null || f === void 0 ? void 0 : f.italic)), this.options.listItem !== !1 && w.push(vy.configure((p = this.options) === null || p === void 0 ? void 0 : p.listItem)), this.options.orderedList !== !1 && w.push(xy.configure((h = this.options) === null || h === void 0 ? void 0 : h.orderedList)), this.options.paragraph !== !1 && w.push(wy.configure((m = this.options) === null || m === void 0 ? void 0 : m.paragraph)), this.options.strike !== !1 && w.push(Cy.configure((g = this.options) === null || g === void 0 ? void 0 : g.strike)), this.options.text !== !1 && w.push(Oy.configure((b = this.options) === null || b === void 0 ? void 0 : b.text)), w;
15650
+ const n = [];
15651
+ return this.options.bold !== !1 && n.push(Bg.configure(this.options.bold)), this.options.blockquote !== !1 && n.push(Ng.configure(this.options.blockquote)), this.options.bulletList !== !1 && n.push(zg.configure(this.options.bulletList)), this.options.code !== !1 && n.push($g.configure(this.options.code)), this.options.codeBlock !== !1 && n.push(Wg.configure(this.options.codeBlock)), this.options.document !== !1 && n.push(qg.configure(this.options.document)), this.options.dropcursor !== !1 && n.push(Jg.configure(this.options.dropcursor)), this.options.gapcursor !== !1 && n.push(ty.configure(this.options.gapcursor)), this.options.hardBreak !== !1 && n.push(ny.configure(this.options.hardBreak)), this.options.heading !== !1 && n.push(ry.configure(this.options.heading)), this.options.history !== !1 && n.push(py.configure(this.options.history)), this.options.horizontalRule !== !1 && n.push(hy.configure(this.options.horizontalRule)), this.options.italic !== !1 && n.push(vy.configure(this.options.italic)), this.options.listItem !== !1 && n.push(ky.configure(this.options.listItem)), this.options.orderedList !== !1 && n.push(wy.configure(this.options.orderedList)), this.options.paragraph !== !1 && n.push(Sy.configure(this.options.paragraph)), this.options.strike !== !1 && n.push(Oy.configure(this.options.strike)), this.options.text !== !1 && n.push(Ty.configure(this.options.text)), n;
15653
15652
  }
15654
- }), Ey = ["onClick"], Ay = /* @__PURE__ */ mn({
15653
+ }), Ay = ["onClick"], Ny = /* @__PURE__ */ mn({
15655
15654
  __name: "UiEditor",
15656
15655
  props: {
15657
15656
  modelValue: {}
15658
15657
  },
15659
15658
  emits: ["update:modelValue"],
15660
15659
  setup(n, { emit: e }) {
15661
- const t = n, r = e, i = qc(() => t.modelValue), s = Tg({
15660
+ const t = n, r = e, i = Kc(() => t.modelValue), s = Eg({
15662
15661
  content: i.value,
15663
- extensions: [Ty],
15662
+ extensions: [Ey],
15664
15663
  onUpdate: () => {
15665
15664
  r("update:modelValue", s.value?.getHTML());
15666
15665
  }
@@ -15670,7 +15669,7 @@ const Dc = Nc(!1, !0), Ic = Nc(!0, !0), fy = ee.create({
15670
15669
  { _id: 3, name: "h2", method: () => s.value?.chain().focus().toggleHeading({ level: 2 }).run() },
15671
15670
  { _id: 4, name: "h3", method: () => s.value?.chain().focus().toggleHeading({ level: 3 }).run() }
15672
15671
  ];
15673
- return Kc(
15672
+ return _c(
15674
15673
  () => t.modelValue,
15675
15674
  (l) => {
15676
15675
  s.value?.getHTML() !== l && s.value?.commands.setContent(l || "", !1);
@@ -15688,22 +15687,22 @@ const Dc = Nc(!1, !0), Ic = Nc(!0, !0), fy = ee.create({
15688
15687
  onClick: (u) => c.method(),
15689
15688
  class: dr(l.$style.action),
15690
15689
  type: "button"
15691
- }, Yc(c.name), 11, Ey)), 64))
15690
+ }, Yc(c.name), 11, Ay)), 64))
15692
15691
  ], 2),
15693
- Jc(Ai(Og), {
15692
+ Jc(Ai(Tg), {
15694
15693
  editor: Ai(s),
15695
15694
  class: dr(l.$style.editor)
15696
15695
  }, null, 8, ["editor", "class"])
15697
15696
  ], 2));
15698
15697
  }
15699
- }), Ny = "_container_1jv52_1", Dy = "_actions_1jv52_18", Iy = "_action_1jv52_18", Ry = "_editor_1jv52_41", Py = {
15700
- container: Ny,
15701
- actions: Dy,
15702
- action: Iy,
15703
- editor: Ry
15704
- }, By = {
15705
- $style: Py
15706
- }, Fy = /* @__PURE__ */ Xc(Ay, [["__cssModules", By]]);
15698
+ }), Dy = "_container_1jv52_1", Iy = "_actions_1jv52_18", Ry = "_action_1jv52_18", Py = "_editor_1jv52_41", By = {
15699
+ container: Dy,
15700
+ actions: Iy,
15701
+ action: Ry,
15702
+ editor: Py
15703
+ }, Ly = {
15704
+ $style: By
15705
+ }, $y = /* @__PURE__ */ Xc(Ny, [["__cssModules", Ly]]);
15707
15706
  export {
15708
- Fy as default
15707
+ $y as default
15709
15708
  };