@ahzoo/sus 1.7.0 → 1.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. package/index.js +413 -416
  2. package/index.umd.cjs +121 -0
  3. package/package.json +1 -1
  4. package/style.css +1 -1
package/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  var Ru = Object.defineProperty;
2
2
  var Lu = (o, e, t) => e in o ? Ru(o, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[e] = t;
3
3
  var dt = (o, e, t) => Lu(o, typeof e != "symbol" ? e + "" : e, t);
4
- import { defineComponent as je, shallowRef as Pu, onMounted as la, onBeforeUnmount as Vs, h as wn, ref as Ee, getCurrentInstance as zu, watchEffect as $u, nextTick as Hu, unref as Ze, markRaw as Tc, reactive as Nc, render as Cl, customRef as Vu, createElementBlock as J, openBlock as q, Fragment as mn, renderList as pa, createElementVNode as x, watch as qu, normalizeClass as So, createTextVNode as Vn, toDisplayString as Le, createBlock as Na, Teleport as Wu, createCommentVNode as We, withDirectives as Te, createStaticVNode as qs, vModelCheckbox as Bc, renderSlot as Vo, vModelRadio as Uu, toRefs as Rc, computed as Lc, normalizeStyle as Pc, pushScopeId as ca, popScopeId as ma, vShow as _t, vModelText as mi, createVNode as Ba, withCtx as Ku } from "vue";
4
+ import { defineComponent as je, shallowRef as Pu, onMounted as la, onBeforeUnmount as Vs, h as wn, ref as Ee, getCurrentInstance as zu, watchEffect as $u, nextTick as Hu, unref as Ze, markRaw as Tc, reactive as Nc, render as Cl, customRef as Vu, createElementBlock as J, openBlock as W, Fragment as mn, renderList as pa, createElementVNode as x, watch as qu, normalizeClass as So, createTextVNode as Vn, toDisplayString as Le, createBlock as Na, Teleport as Wu, createCommentVNode as We, withDirectives as Te, createStaticVNode as qs, vModelCheckbox as Bc, renderSlot as Vo, vModelRadio as Uu, toRefs as Rc, computed as Lc, normalizeStyle as Pc, pushScopeId as ca, popScopeId as ma, vShow as _t, vModelText as mi, createVNode as Ba, withCtx as Ku } from "vue";
5
5
  function Ae(o) {
6
6
  this.content = o;
7
7
  }
@@ -4360,7 +4360,7 @@ class te {
4360
4360
  found.
4361
4361
  */
4362
4362
  static findFrom(e, t, n = !1) {
4363
- let a = e.parent.inlineContent ? new Z(e) : tn(e.node(0), e.parent, e.pos, e.index(), t, n);
4363
+ let a = e.parent.inlineContent ? new X(e) : tn(e.node(0), e.parent, e.pos, e.index(), t, n);
4364
4364
  if (a)
4365
4365
  return a;
4366
4366
  for (let s = e.depth - 1; s >= 0; s--) {
@@ -4427,7 +4427,7 @@ class te {
4427
4427
  returns the bookmark for that.
4428
4428
  */
4429
4429
  getBookmark() {
4430
- return Z.between(this.$anchor, this.$head).getBookmark();
4430
+ return X.between(this.$anchor, this.$head).getBookmark();
4431
4431
  }
4432
4432
  }
4433
4433
  te.prototype.visible = !0;
@@ -4443,7 +4443,7 @@ let $l = !1;
4443
4443
  function Hl(o) {
4444
4444
  !$l && !o.parent.inlineContent && ($l = !0, console.warn("TextSelection endpoint not pointing into a node with inline content (" + o.parent.type.name + ")"));
4445
4445
  }
4446
- class Z extends te {
4446
+ class X extends te {
4447
4447
  /**
4448
4448
  Construct a text selection between the given points.
4449
4449
  */
@@ -4462,7 +4462,7 @@ class Z extends te {
4462
4462
  if (!n.parent.inlineContent)
4463
4463
  return te.near(n);
4464
4464
  let a = e.resolve(t.map(this.anchor));
4465
- return new Z(a.parent.inlineContent ? a : n, n);
4465
+ return new X(a.parent.inlineContent ? a : n, n);
4466
4466
  }
4467
4467
  replace(e, t = N.empty) {
4468
4468
  if (super.replace(e, t), t == N.empty) {
@@ -4471,7 +4471,7 @@ class Z extends te {
4471
4471
  }
4472
4472
  }
4473
4473
  eq(e) {
4474
- return e instanceof Z && e.anchor == this.anchor && e.head == this.head;
4474
+ return e instanceof X && e.anchor == this.anchor && e.head == this.head;
4475
4475
  }
4476
4476
  getBookmark() {
4477
4477
  return new Gs(this.anchor, this.head);
@@ -4485,7 +4485,7 @@ class Z extends te {
4485
4485
  static fromJSON(e, t) {
4486
4486
  if (typeof t.anchor != "number" || typeof t.head != "number")
4487
4487
  throw new RangeError("Invalid input for TextSelection.fromJSON");
4488
- return new Z(e.resolve(t.anchor), e.resolve(t.head));
4488
+ return new X(e.resolve(t.anchor), e.resolve(t.head));
4489
4489
  }
4490
4490
  /**
4491
4491
  Create a text selection from non-resolved positions.
@@ -4511,10 +4511,10 @@ class Z extends te {
4511
4511
  else
4512
4512
  return te.near(t, n);
4513
4513
  }
4514
- return e.parent.inlineContent || (a == 0 ? e = t : (e = (te.findFrom(e, -n, !0) || te.findFrom(e, n, !0)).$anchor, e.pos < t.pos != a < 0 && (e = t))), new Z(e, t);
4514
+ return e.parent.inlineContent || (a == 0 ? e = t : (e = (te.findFrom(e, -n, !0) || te.findFrom(e, n, !0)).$anchor, e.pos < t.pos != a < 0 && (e = t))), new X(e, t);
4515
4515
  }
4516
4516
  }
4517
- te.jsonID("text", Z);
4517
+ te.jsonID("text", X);
4518
4518
  class Gs {
4519
4519
  constructor(e, t) {
4520
4520
  this.anchor = e, this.head = t;
@@ -4523,10 +4523,10 @@ class Gs {
4523
4523
  return new Gs(e.map(this.anchor), e.map(this.head));
4524
4524
  }
4525
4525
  resolve(e) {
4526
- return Z.between(e.resolve(this.anchor), e.resolve(this.head));
4526
+ return X.between(e.resolve(this.anchor), e.resolve(this.head));
4527
4527
  }
4528
4528
  }
4529
- class W extends te {
4529
+ class U extends te {
4530
4530
  /**
4531
4531
  Create a node selection. Does not verify the validity of its
4532
4532
  argument.
@@ -4537,13 +4537,13 @@ class W extends te {
4537
4537
  }
4538
4538
  map(e, t) {
4539
4539
  let { deleted: n, pos: a } = t.mapResult(this.anchor), s = e.resolve(a);
4540
- return n ? te.near(s) : new W(s);
4540
+ return n ? te.near(s) : new U(s);
4541
4541
  }
4542
4542
  content() {
4543
4543
  return new N(C.from(this.node), 0, 0);
4544
4544
  }
4545
4545
  eq(e) {
4546
- return e instanceof W && e.anchor == this.anchor;
4546
+ return e instanceof U && e.anchor == this.anchor;
4547
4547
  }
4548
4548
  toJSON() {
4549
4549
  return { type: "node", anchor: this.anchor };
@@ -4557,13 +4557,13 @@ class W extends te {
4557
4557
  static fromJSON(e, t) {
4558
4558
  if (typeof t.anchor != "number")
4559
4559
  throw new RangeError("Invalid input for NodeSelection.fromJSON");
4560
- return new W(e.resolve(t.anchor));
4560
+ return new U(e.resolve(t.anchor));
4561
4561
  }
4562
4562
  /**
4563
4563
  Create a node selection from non-resolved positions.
4564
4564
  */
4565
4565
  static create(e, t) {
4566
- return new W(e.resolve(t));
4566
+ return new U(e.resolve(t));
4567
4567
  }
4568
4568
  /**
4569
4569
  Determines whether the given node may be selected as a node
@@ -4573,8 +4573,8 @@ class W extends te {
4573
4573
  return !e.isText && e.type.spec.selectable !== !1;
4574
4574
  }
4575
4575
  }
4576
- W.prototype.visible = !1;
4577
- te.jsonID("node", W);
4576
+ U.prototype.visible = !1;
4577
+ te.jsonID("node", U);
4578
4578
  class Fr {
4579
4579
  constructor(e) {
4580
4580
  this.anchor = e;
@@ -4585,7 +4585,7 @@ class Fr {
4585
4585
  }
4586
4586
  resolve(e) {
4587
4587
  let t = e.resolve(this.anchor), n = t.nodeAfter;
4588
- return n && W.isSelectable(n) ? new W(t) : te.near(t);
4588
+ return n && U.isSelectable(n) ? new U(t) : te.near(t);
4589
4589
  }
4590
4590
  }
4591
4591
  class bt extends te {
@@ -4633,12 +4633,12 @@ const $g = {
4633
4633
  };
4634
4634
  function tn(o, e, t, n, a, s = !1) {
4635
4635
  if (e.inlineContent)
4636
- return Z.create(o, t);
4636
+ return X.create(o, t);
4637
4637
  for (let i = n - (a > 0 ? 0 : 1); a > 0 ? i < e.childCount : i >= 0; i += a) {
4638
4638
  let r = e.child(i);
4639
4639
  if (r.isAtom) {
4640
- if (!s && W.isSelectable(r))
4641
- return W.create(o, t - (a < 0 ? r.nodeSize : 0));
4640
+ if (!s && U.isSelectable(r))
4641
+ return U.create(o, t - (a < 0 ? r.nodeSize : 0));
4642
4642
  } else {
4643
4643
  let l = tn(o, r, t + a, a < 0 ? r.childCount : 0, a, s);
4644
4644
  if (l)
@@ -6014,7 +6014,7 @@ class fo extends ga {
6014
6014
  }
6015
6015
  localCompositionInfo(e, t) {
6016
6016
  let { from: n, to: a } = e.state.selection;
6017
- if (!(e.state.selection instanceof Z) || n < t || a > t + this.node.content.size)
6017
+ if (!(e.state.selection instanceof X) || n < t || a > t + this.node.content.size)
6018
6018
  return null;
6019
6019
  let s = e.input.compositionNode;
6020
6020
  if (!s || !this.dom.contains(s.parentNode))
@@ -6530,9 +6530,9 @@ function Ar(o, e = null) {
6530
6530
  for (l = i; a && !a.node; )
6531
6531
  a = a.parent;
6532
6532
  let m = a.node;
6533
- if (a && m.isAtom && W.isSelectable(m) && a.parent && !(m.isInline && Gg(t.focusNode, t.focusOffset, a.dom))) {
6533
+ if (a && m.isAtom && U.isSelectable(m) && a.parent && !(m.isInline && Gg(t.focusNode, t.focusOffset, a.dom))) {
6534
6534
  let d = a.posBefore;
6535
- p = new W(i == d ? r : n.resolve(d));
6535
+ p = new U(i == d ? r : n.resolve(d));
6536
6536
  }
6537
6537
  } else {
6538
6538
  if (t instanceof o.dom.ownerDocument.defaultView.Selection && t.rangeCount > 1) {
@@ -6573,7 +6573,7 @@ function Gt(o, e = !1) {
6573
6573
  If(o);
6574
6574
  else {
6575
6575
  let { anchor: n, head: a } = t, s, i;
6576
- ap && !(t instanceof Z) && (t.$from.parent.inlineContent || (s = sp(o, t.from)), !t.empty && !t.$from.parent.inlineContent && (i = sp(o, t.to))), o.docView.setSelection(n, a, o.root, e), ap && (s && ip(s), i && ip(i)), t.visible ? o.dom.classList.remove("ProseMirror-hideselection") : (o.dom.classList.add("ProseMirror-hideselection"), "onselectionchange" in document && wf(o));
6576
+ ap && !(t instanceof X) && (t.$from.parent.inlineContent || (s = sp(o, t.from)), !t.empty && !t.$from.parent.inlineContent && (i = sp(o, t.to))), o.docView.setSelection(n, a, o.root, e), ap && (s && ip(s), i && ip(i)), t.visible ? o.dom.classList.remove("ProseMirror-hideselection") : (o.dom.classList.add("ProseMirror-hideselection"), "onselectionchange" in document && wf(o));
6577
6577
  }
6578
6578
  o.domObserver.setCurSelection(), o.domObserver.connectSelection();
6579
6579
  }
@@ -6614,7 +6614,7 @@ function If(o) {
6614
6614
  a ? t.setStart(n.parentNode, Ne(n) + 1) : t.setStart(n, 0), t.collapse(!0), e.removeAllRanges(), e.addRange(t), !a && !o.state.selection.visible && Qe && go <= 11 && (n.disabled = !0, n.disabled = !1);
6615
6615
  }
6616
6616
  function Am(o, e) {
6617
- if (e instanceof W) {
6617
+ if (e instanceof U) {
6618
6618
  let t = o.docView.descAt(e.from);
6619
6619
  t != o.lastSelectedViewDesc && (rp(o), t && t.selectNode(), o.lastSelectedViewDesc = t);
6620
6620
  } else
@@ -6624,7 +6624,7 @@ function rp(o) {
6624
6624
  o.lastSelectedViewDesc && (o.lastSelectedViewDesc.parent && o.lastSelectedViewDesc.deselectNode(), o.lastSelectedViewDesc = void 0);
6625
6625
  }
6626
6626
  function Tr(o, e, t, n) {
6627
- return o.someProp("createSelectionBetween", (a) => a(o, e, t)) || Z.between(e, t, n);
6627
+ return o.someProp("createSelectionBetween", (a) => a(o, e, t)) || X.between(e, t, n);
6628
6628
  }
6629
6629
  function lp(o) {
6630
6630
  return o.editable && !o.hasFocus() ? !1 : Tm(o);
@@ -6652,28 +6652,28 @@ function to(o, e) {
6652
6652
  }
6653
6653
  function pp(o, e, t) {
6654
6654
  let n = o.state.selection;
6655
- if (n instanceof Z)
6655
+ if (n instanceof X)
6656
6656
  if (t.indexOf("s") > -1) {
6657
6657
  let { $head: a } = n, s = a.textOffset ? null : e < 0 ? a.nodeBefore : a.nodeAfter;
6658
6658
  if (!s || s.isText || !s.isLeaf)
6659
6659
  return !1;
6660
6660
  let i = o.state.doc.resolve(a.pos + s.nodeSize * (e < 0 ? -1 : 1));
6661
- return to(o, new Z(n.$anchor, i));
6661
+ return to(o, new X(n.$anchor, i));
6662
6662
  } else if (n.empty) {
6663
6663
  if (o.endOfTextblock(e > 0 ? "forward" : "backward")) {
6664
6664
  let a = lr(o.state, e);
6665
- return a && a instanceof W ? to(o, a) : !1;
6665
+ return a && a instanceof U ? to(o, a) : !1;
6666
6666
  } else if (!(ft && t.indexOf("m") > -1)) {
6667
6667
  let a = n.$head, s = a.textOffset ? null : e < 0 ? a.nodeBefore : a.nodeAfter, i;
6668
6668
  if (!s || s.isText)
6669
6669
  return !1;
6670
6670
  let r = e < 0 ? a.pos - s.nodeSize : a.pos;
6671
- return s.isAtom || (i = o.docView.descAt(r)) && !i.contentDOM ? W.isSelectable(s) ? to(o, new W(e < 0 ? o.state.doc.resolve(a.pos - s.nodeSize) : a)) : ua ? to(o, new Z(o.state.doc.resolve(e < 0 ? r : r + s.nodeSize))) : !1 : !1;
6671
+ return s.isAtom || (i = o.docView.descAt(r)) && !i.contentDOM ? U.isSelectable(s) ? to(o, new U(e < 0 ? o.state.doc.resolve(a.pos - s.nodeSize) : a)) : ua ? to(o, new X(o.state.doc.resolve(e < 0 ? r : r + s.nodeSize))) : !1 : !1;
6672
6672
  }
6673
6673
  } else return !1;
6674
6674
  else {
6675
- if (n instanceof W && n.node.isInline)
6676
- return to(o, new Z(e > 0 ? n.$to : n.$from));
6675
+ if (n instanceof U && n.node.isInline)
6676
+ return to(o, new X(e > 0 ? n.$to : n.$from));
6677
6677
  {
6678
6678
  let a = lr(o.state, e);
6679
6679
  return a ? to(o, a) : !1;
@@ -6823,12 +6823,12 @@ function cp(o, e) {
6823
6823
  }
6824
6824
  function mp(o, e, t) {
6825
6825
  let n = o.state.selection;
6826
- if (n instanceof Z && !n.empty || t.indexOf("s") > -1 || ft && t.indexOf("m") > -1)
6826
+ if (n instanceof X && !n.empty || t.indexOf("s") > -1 || ft && t.indexOf("m") > -1)
6827
6827
  return !1;
6828
6828
  let { $from: a, $to: s } = n;
6829
6829
  if (!a.parent.inlineContent || o.endOfTextblock(e < 0 ? "up" : "down")) {
6830
6830
  let i = lr(o.state, e);
6831
- if (i && i instanceof W)
6831
+ if (i && i instanceof U)
6832
6832
  return to(o, i);
6833
6833
  }
6834
6834
  if (!a.parent.inlineContent) {
@@ -6838,7 +6838,7 @@ function mp(o, e, t) {
6838
6838
  return !1;
6839
6839
  }
6840
6840
  function dp(o, e) {
6841
- if (!(o.state.selection instanceof Z))
6841
+ if (!(o.state.selection instanceof X))
6842
6842
  return !0;
6843
6843
  let { $head: t, $anchor: n, empty: a } = o.state.selection;
6844
6844
  if (!t.sameParent(n))
@@ -7153,7 +7153,7 @@ Je.keypress = (o, e) => {
7153
7153
  return;
7154
7154
  }
7155
7155
  let n = o.state.selection;
7156
- if (!(n instanceof Z) || !n.$from.sameParent(n.$to)) {
7156
+ if (!(n instanceof X) || !n.$from.sameParent(n.$to)) {
7157
7157
  let a = String.fromCharCode(t.charCode);
7158
7158
  !/[\r\n]/.test(a) && !o.someProp("handleTextInput", (s) => s(o, n.$from.pos, n.$to.pos, a)) && o.dispatch(o.state.tr.insertText(a).scrollIntoView()), t.preventDefault();
7159
7159
  }
@@ -7184,22 +7184,22 @@ function Kf(o, e) {
7184
7184
  if (e == -1)
7185
7185
  return !1;
7186
7186
  let t = o.state.doc.resolve(e), n = t.nodeAfter;
7187
- return n && n.isAtom && W.isSelectable(n) ? (cn(o, new W(t)), !0) : !1;
7187
+ return n && n.isAtom && U.isSelectable(n) ? (cn(o, new U(t)), !0) : !1;
7188
7188
  }
7189
7189
  function Gf(o, e) {
7190
7190
  if (e == -1)
7191
7191
  return !1;
7192
7192
  let t = o.state.selection, n, a;
7193
- t instanceof W && (n = t.node);
7193
+ t instanceof U && (n = t.node);
7194
7194
  let s = o.state.doc.resolve(e);
7195
7195
  for (let i = s.depth + 1; i > 0; i--) {
7196
7196
  let r = i > s.depth ? s.nodeAfter : s.node(i);
7197
- if (W.isSelectable(r)) {
7197
+ if (U.isSelectable(r)) {
7198
7198
  n && t.$from.depth > 0 && i >= t.$from.depth && s.before(t.$from.depth + 1) == t.$from.pos ? a = s.before(t.$from.depth) : a = s.before(i);
7199
7199
  break;
7200
7200
  }
7201
7201
  }
7202
- return a != null ? (cn(o, W.create(o.state.doc, a)), !0) : !1;
7202
+ return a != null ? (cn(o, U.create(o.state.doc, a)), !0) : !1;
7203
7203
  }
7204
7204
  function Jf(o, e, t, n, a) {
7205
7205
  return Br(o, "handleClickOn", e, t, n) || o.someProp("handleClick", (s) => s(o, e, n)) || (a ? Gf(o, t) : Kf(o, t));
@@ -7215,14 +7215,14 @@ function Zf(o, e, t) {
7215
7215
  return !1;
7216
7216
  let n = o.state.doc;
7217
7217
  if (e == -1)
7218
- return n.inlineContent ? (cn(o, Z.create(n, 0, n.content.size)), !0) : !1;
7218
+ return n.inlineContent ? (cn(o, X.create(n, 0, n.content.size)), !0) : !1;
7219
7219
  let a = n.resolve(e);
7220
7220
  for (let s = a.depth + 1; s > 0; s--) {
7221
7221
  let i = s > a.depth ? a.nodeAfter : a.node(s), r = a.before(s);
7222
7222
  if (i.inlineContent)
7223
- cn(o, Z.create(n, r + 1, r + 1 + i.content.size));
7224
- else if (W.isSelectable(i))
7225
- cn(o, W.create(n, r));
7223
+ cn(o, X.create(n, r + 1, r + 1 + i.content.size));
7224
+ else if (U.isSelectable(i))
7225
+ cn(o, U.create(n, r));
7226
7226
  else
7227
7227
  continue;
7228
7228
  return !0;
@@ -7253,7 +7253,7 @@ class Qf {
7253
7253
  const r = a ? null : n.target, l = r ? e.docView.nearestDesc(r, !0) : null;
7254
7254
  this.target = l && l.dom.nodeType == 1 ? l.dom : null;
7255
7255
  let { selection: p } = e.state;
7256
- (n.button == 0 && s.type.spec.draggable && s.type.spec.selectable !== !1 || p instanceof W && p.from <= i && p.to > i) && (this.mightDrag = {
7256
+ (n.button == 0 && s.type.spec.draggable && s.type.spec.selectable !== !1 || p instanceof U && p.from <= i && p.to > i) && (this.mightDrag = {
7257
7257
  node: s,
7258
7258
  pos: i,
7259
7259
  addAttr: !!(this.target && !this.target.draggable),
@@ -7301,7 +7301,7 @@ Je.compositionstart = Je.compositionupdate = (o) => {
7301
7301
  if (!o.composing) {
7302
7302
  o.domObserver.flush();
7303
7303
  let { state: e } = o, t = e.selection.$to;
7304
- if (e.selection instanceof Z && (e.storedMarks || !t.textOffset && t.parentOffset && t.nodeBefore.marks.some((n) => n.type.spec.inclusive === !1)))
7304
+ if (e.selection instanceof X && (e.storedMarks || !t.textOffset && t.parentOffset && t.nodeBefore.marks.some((n) => n.type.spec.inclusive === !1)))
7305
7305
  o.markCursor = o.state.storedMarks || t.marks(), ts(o, !0), o.markCursor = null;
7306
7306
  else if (ts(o, !e.selection.empty), It && e.selection.empty && t.parentOffset && !t.textOffset && t.nodeBefore.marks.length) {
7307
7307
  let n = o.domSelectionRange();
@@ -7428,12 +7428,12 @@ Ge.dragstart = (o, e) => {
7428
7428
  if (n && n.done(), !t.dataTransfer)
7429
7429
  return;
7430
7430
  let a = o.state.selection, s = a.empty ? null : o.posAtCoords(Xs(t)), i;
7431
- if (!(s && s.pos >= a.from && s.pos <= (a instanceof W ? a.to - 1 : a.to))) {
7431
+ if (!(s && s.pos >= a.from && s.pos <= (a instanceof U ? a.to - 1 : a.to))) {
7432
7432
  if (n && n.mightDrag)
7433
- i = W.create(o.state.doc, n.mightDrag.pos);
7433
+ i = U.create(o.state.doc, n.mightDrag.pos);
7434
7434
  else if (t.target && t.target.nodeType == 1) {
7435
7435
  let m = o.docView.nearestDesc(t.target, !0);
7436
- m && m.node.type.spec.draggable && m != o.docView && (i = W.create(o.state.doc, m.posBefore));
7436
+ m && m.node.type.spec.draggable && m != o.docView && (i = U.create(o.state.doc, m.posBefore));
7437
7437
  }
7438
7438
  }
7439
7439
  let r = (i || o.state.selection).content(), { dom: l, text: p, slice: c } = Bm(o, r);
@@ -7476,8 +7476,8 @@ Je.drop = (o, e) => {
7476
7476
  if (m ? p.replaceRangeWith(c, c, i.content.firstChild) : p.replaceRange(c, c, i), p.doc.eq(d))
7477
7477
  return;
7478
7478
  let u = p.doc.resolve(c);
7479
- if (m && W.isSelectable(i.content.firstChild) && u.nodeAfter && u.nodeAfter.sameMarkup(i.content.firstChild))
7480
- p.setSelection(new W(u));
7479
+ if (m && U.isSelectable(i.content.firstChild) && u.nodeAfter && u.nodeAfter.sameMarkup(i.content.firstChild))
7480
+ p.setSelection(new U(u));
7481
7481
  else {
7482
7482
  let g = p.mapping.map(l);
7483
7483
  p.mapping.maps[p.mapping.maps.length - 1].forEach((f, h, j, w) => g = w), p.setSelection(Tr(o, u, p.doc.resolve(g)));
@@ -8261,12 +8261,12 @@ const bh = /^(a|abbr|acronym|b|bd[io]|big|br|button|cite|code|data(list)?|del|df
8261
8261
  function vh(o, e, t, n, a) {
8262
8262
  let s = o.input.compositionPendingChanges || (o.composing ? o.input.compositionID : 0);
8263
8263
  if (o.input.compositionPendingChanges = 0, e < 0) {
8264
- let E = o.input.lastSelectionTime > Date.now() - 50 ? o.input.lastSelectionOrigin : null, V = Ar(o, E);
8265
- if (V && !o.state.selection.eq(V)) {
8266
- if (Pe && Dt && o.input.lastKeyCode === 13 && Date.now() - 100 < o.input.lastKeyCodeTime && o.someProp("handleKeyDown", (ie) => ie(o, wo(13, "Enter"))))
8264
+ let E = o.input.lastSelectionTime > Date.now() - 50 ? o.input.lastSelectionOrigin : null, q = Ar(o, E);
8265
+ if (q && !o.state.selection.eq(q)) {
8266
+ if (Pe && Dt && o.input.lastKeyCode === 13 && Date.now() - 100 < o.input.lastKeyCodeTime && o.someProp("handleKeyDown", (R) => R(o, wo(13, "Enter"))))
8267
8267
  return;
8268
- let ee = o.state.tr.setSelection(V);
8269
- E == "pointer" ? ee.setMeta("pointer", !0) : E == "key" && ee.scrollIntoView(), s && ee.setMeta("composition", s), o.dispatch(ee);
8268
+ let Q = o.state.tr.setSelection(q);
8269
+ E == "pointer" ? Q.setMeta("pointer", !0) : E == "key" && Q.scrollIntoView(), s && Q.setMeta("composition", s), o.dispatch(Q);
8270
8270
  }
8271
8271
  return;
8272
8272
  }
@@ -8280,19 +8280,19 @@ function vh(o, e, t, n, a) {
8280
8280
  return;
8281
8281
  }
8282
8282
  if (!g)
8283
- if (n && l instanceof Z && !l.empty && l.$head.sameParent(l.$anchor) && !o.composing && !(p.sel && p.sel.anchor != p.sel.head))
8283
+ if (n && l instanceof X && !l.empty && l.$head.sameParent(l.$anchor) && !o.composing && !(p.sel && p.sel.anchor != p.sel.head))
8284
8284
  g = { start: l.from, endA: l.to, endB: l.to };
8285
8285
  else {
8286
8286
  if (p.sel) {
8287
8287
  let E = kp(o, o.state.doc, p.sel);
8288
8288
  if (E && !E.eq(o.state.selection)) {
8289
- let V = o.state.tr.setSelection(E);
8290
- s && V.setMeta("composition", s), o.dispatch(V);
8289
+ let q = o.state.tr.setSelection(E);
8290
+ s && q.setMeta("composition", s), o.dispatch(q);
8291
8291
  }
8292
8292
  }
8293
8293
  return;
8294
8294
  }
8295
- o.state.selection.from < o.state.selection.to && g.start == g.endB && o.state.selection instanceof Z && (g.start > o.state.selection.from && g.start <= o.state.selection.from + 2 && o.state.selection.from >= p.from ? g.start = o.state.selection.from : g.endA < o.state.selection.to && g.endA >= o.state.selection.to - 2 && o.state.selection.to <= p.to && (g.endB += o.state.selection.to - g.endA, g.endA = o.state.selection.to)), Qe && go <= 11 && g.endB == g.start + 1 && g.endA == g.start && g.start > p.from && p.doc.textBetween(g.start - p.from - 1, g.start - p.from + 1) == "  " && (g.start--, g.endA--, g.endB--);
8295
+ o.state.selection.from < o.state.selection.to && g.start == g.endB && o.state.selection instanceof X && (g.start > o.state.selection.from && g.start <= o.state.selection.from + 2 && o.state.selection.from >= p.from ? g.start = o.state.selection.from : g.endA < o.state.selection.to && g.endA >= o.state.selection.to - 2 && o.state.selection.to <= p.to && (g.endB += o.state.selection.to - g.endA, g.endA = o.state.selection.to)), Qe && go <= 11 && g.endB == g.start + 1 && g.endA == g.start && g.start > p.from && p.doc.textBetween(g.start - p.from - 1, g.start - p.from + 1) == "  " && (g.start--, g.endA--, g.endB--);
8296
8296
  let f = p.doc.resolveNoCache(g.start - p.from), h = p.doc.resolveNoCache(g.endB - p.from), j = c.resolve(g.start), w = f.sameParent(h) && f.parent.inlineContent && j.end() >= g.endA, S;
8297
8297
  if ((gn && o.input.lastIOSEnter > Date.now() - 225 && (!w || a.some((E) => E.nodeName == "DIV" || E.nodeName == "P")) || !w && f.pos < p.doc.content.size && !f.sameParent(h) && (S = te.findFrom(p.doc.resolve(f.pos + 1), 1, !0)) && S.head == h.pos) && o.someProp("handleKeyDown", (E) => E(o, wo(13, "Enter")))) {
8298
8298
  o.input.lastIOSEnter = 0;
@@ -8307,18 +8307,18 @@ function vh(o, e, t, n, a) {
8307
8307
  return E(o, wo(13, "Enter"));
8308
8308
  });
8309
8309
  }, 20));
8310
- let b = g.start, T = g.endA, _, P, U;
8310
+ let b = g.start, T = g.endA, _, P, K;
8311
8311
  if (w) {
8312
8312
  if (f.pos == h.pos)
8313
8313
  Qe && go <= 11 && f.parentOffset == 0 && (o.domObserver.suppressSelectionUpdates(), setTimeout(() => Gt(o), 20)), _ = o.state.tr.delete(b, T), P = c.resolve(g.start).marksAcross(c.resolve(g.endA));
8314
8314
  else if (
8315
8315
  // Adding or removing a mark
8316
- g.endA == g.endB && (U = jh(f.parent.content.cut(f.parentOffset, h.parentOffset), j.parent.content.cut(j.parentOffset, g.endA - j.start())))
8316
+ g.endA == g.endB && (K = jh(f.parent.content.cut(f.parentOffset, h.parentOffset), j.parent.content.cut(j.parentOffset, g.endA - j.start())))
8317
8317
  )
8318
- _ = o.state.tr, U.type == "add" ? _.addMark(b, T, U.mark) : _.removeMark(b, T, U.mark);
8318
+ _ = o.state.tr, K.type == "add" ? _.addMark(b, T, K.mark) : _.removeMark(b, T, K.mark);
8319
8319
  else if (f.parent.child(f.index()).isText && f.index() == h.index() - (h.textOffset ? 0 : 1)) {
8320
8320
  let E = f.parent.textBetween(f.parentOffset, h.parentOffset);
8321
- if (o.someProp("handleTextInput", (V) => V(o, b, T, E)))
8321
+ if (o.someProp("handleTextInput", (q) => q(o, b, T, E)))
8322
8322
  return;
8323
8323
  _ = o.state.tr.insertText(E, b, T);
8324
8324
  }
@@ -8493,7 +8493,7 @@ class _h {
8493
8493
  */
8494
8494
  scrollToSelection() {
8495
8495
  let e = this.domSelectionRange().focusNode;
8496
- if (!this.someProp("handleScrollToSelection", (t) => t(this))) if (this.state.selection instanceof W) {
8496
+ if (!this.someProp("handleScrollToSelection", (t) => t(this))) if (this.state.selection instanceof U) {
8497
8497
  let t = this.docView.domAfterPos(this.state.selection.from);
8498
8498
  t.nodeType == 1 && Yl(this, t.getBoundingClientRect(), e);
8499
8499
  } else
@@ -8529,7 +8529,7 @@ class _h {
8529
8529
  let s = n.from + (this.state.doc.content.size - t.doc.content.size);
8530
8530
  (s > 0 && this.state.doc.nodeAt(s)) == n.node && (a = s);
8531
8531
  }
8532
- this.dragging = new Gm(e.slice, e.move, a < 0 ? void 0 : W.create(this.state.doc, a));
8532
+ this.dragging = new Gm(e.slice, e.move, a < 0 ? void 0 : U.create(this.state.doc, a));
8533
8533
  }
8534
8534
  someProp(e, t) {
8535
8535
  let n = this._props && this._props[e], a;
@@ -8939,13 +8939,13 @@ const td = (o, e, t) => {
8939
8939
  let s = a.nodeBefore;
8940
8940
  if (cd(o, a, e, -1))
8941
8941
  return !0;
8942
- if (n.parent.content.size == 0 && (fn(s, "end") || W.isSelectable(s)))
8942
+ if (n.parent.content.size == 0 && (fn(s, "end") || U.isSelectable(s)))
8943
8943
  for (let i = n.depth; ; i--) {
8944
8944
  let r = Ks(o.doc, n.before(i), n.after(i), N.empty);
8945
8945
  if (r && r.slice.size < r.to - r.from) {
8946
8946
  if (e) {
8947
8947
  let l = o.tr.step(r);
8948
- l.setSelection(fn(s, "end") ? te.findFrom(l.doc.resolve(l.mapping.map(a.pos, -1)), -1) : W.create(l.doc, a.pos - s.nodeSize)), e(l.scrollIntoView());
8948
+ l.setSelection(fn(s, "end") ? te.findFrom(l.doc.resolve(l.mapping.map(a.pos, -1)), -1) : U.create(l.doc, a.pos - s.nodeSize)), e(l.scrollIntoView());
8949
8949
  }
8950
8950
  return !0;
8951
8951
  }
@@ -8990,7 +8990,7 @@ function od(o, e, t) {
8990
8990
  return !1;
8991
8991
  if (t) {
8992
8992
  let c = o.tr.step(p);
8993
- c.setSelection(Z.create(c.doc, s)), t(c.scrollIntoView());
8993
+ c.setSelection(X.create(c.doc, s)), t(c.scrollIntoView());
8994
8994
  }
8995
8995
  return !0;
8996
8996
  }
@@ -9013,7 +9013,7 @@ const nd = (o, e, t) => {
9013
9013
  s = $r(n);
9014
9014
  }
9015
9015
  let i = s && s.nodeBefore;
9016
- return !i || !W.isSelectable(i) ? !1 : (e && e(o.tr.setSelection(W.create(o.doc, s.pos - i.nodeSize)).scrollIntoView()), !0);
9016
+ return !i || !U.isSelectable(i) ? !1 : (e && e(o.tr.setSelection(U.create(o.doc, s.pos - i.nodeSize)).scrollIntoView()), !0);
9017
9017
  };
9018
9018
  function $r(o) {
9019
9019
  if (!o.parent.type.spec.isolating)
@@ -9039,12 +9039,12 @@ const sd = (o, e, t) => {
9039
9039
  let s = a.nodeAfter;
9040
9040
  if (cd(o, a, e, 1))
9041
9041
  return !0;
9042
- if (n.parent.content.size == 0 && (fn(s, "start") || W.isSelectable(s))) {
9042
+ if (n.parent.content.size == 0 && (fn(s, "start") || U.isSelectable(s))) {
9043
9043
  let i = Ks(o.doc, n.before(), n.after(), N.empty);
9044
9044
  if (i && i.slice.size < i.to - i.from) {
9045
9045
  if (e) {
9046
9046
  let r = o.tr.step(i);
9047
- r.setSelection(fn(s, "start") ? te.findFrom(r.doc.resolve(r.mapping.map(a.pos)), 1) : W.create(r.doc, r.mapping.map(a.pos))), e(r.scrollIntoView());
9047
+ r.setSelection(fn(s, "start") ? te.findFrom(r.doc.resolve(r.mapping.map(a.pos)), 1) : U.create(r.doc, r.mapping.map(a.pos))), e(r.scrollIntoView());
9048
9048
  }
9049
9049
  return !0;
9050
9050
  }
@@ -9060,7 +9060,7 @@ const sd = (o, e, t) => {
9060
9060
  s = Hr(n);
9061
9061
  }
9062
9062
  let i = s && s.nodeAfter;
9063
- return !i || !W.isSelectable(i) ? !1 : (e && e(o.tr.setSelection(W.create(o.doc, s.pos)).scrollIntoView()), !0);
9063
+ return !i || !U.isSelectable(i) ? !1 : (e && e(o.tr.setSelection(U.create(o.doc, s.pos)).scrollIntoView()), !0);
9064
9064
  };
9065
9065
  function Hr(o) {
9066
9066
  if (!o.parent.type.spec.isolating)
@@ -9074,7 +9074,7 @@ function Hr(o) {
9074
9074
  return null;
9075
9075
  }
9076
9076
  const Th = (o, e) => {
9077
- let t = o.selection, n = t instanceof W, a;
9077
+ let t = o.selection, n = t instanceof U, a;
9078
9078
  if (n) {
9079
9079
  if (t.node.isTextblock || !vo(o.doc, t.from))
9080
9080
  return !1;
@@ -9083,12 +9083,12 @@ const Th = (o, e) => {
9083
9083
  return !1;
9084
9084
  if (e) {
9085
9085
  let s = o.tr.join(a);
9086
- n && s.setSelection(W.create(s.doc, a - o.doc.resolve(a).nodeBefore.nodeSize)), e(s.scrollIntoView());
9086
+ n && s.setSelection(U.create(s.doc, a - o.doc.resolve(a).nodeBefore.nodeSize)), e(s.scrollIntoView());
9087
9087
  }
9088
9088
  return !0;
9089
9089
  }, Nh = (o, e) => {
9090
9090
  let t = o.selection, n;
9091
- if (t instanceof W) {
9091
+ if (t instanceof U) {
9092
9092
  if (t.node.isTextblock || !vo(o.doc, t.to))
9093
9093
  return !1;
9094
9094
  n = t.to;
@@ -9132,7 +9132,7 @@ const Rh = (o, e) => {
9132
9132
  return !1;
9133
9133
  if (e) {
9134
9134
  let i = (!n.parentOffset && a.index() < a.parent.childCount ? n : a).pos, r = o.tr.insert(i, s.createAndFill());
9135
- r.setSelection(Z.create(r.doc, i + 1)), e(r.scrollIntoView());
9135
+ r.setSelection(X.create(r.doc, i + 1)), e(r.scrollIntoView());
9136
9136
  }
9137
9137
  return !0;
9138
9138
  }, pd = (o, e) => {
@@ -9150,13 +9150,13 @@ const Rh = (o, e) => {
9150
9150
  function Lh(o) {
9151
9151
  return (e, t) => {
9152
9152
  let { $from: n, $to: a } = e.selection;
9153
- if (e.selection instanceof W && e.selection.node.isBlock)
9153
+ if (e.selection instanceof U && e.selection.node.isBlock)
9154
9154
  return !n.parentOffset || !Kt(e.doc, n.pos) ? !1 : (t && t(e.tr.split(n.pos).scrollIntoView()), !0);
9155
9155
  if (!n.parent.isBlock)
9156
9156
  return !1;
9157
9157
  if (t) {
9158
9158
  let s = a.parentOffset == a.parent.content.size, i = e.tr;
9159
- (e.selection instanceof Z || e.selection instanceof bt) && i.deleteSelection();
9159
+ (e.selection instanceof X || e.selection instanceof bt) && i.deleteSelection();
9160
9160
  let r = n.depth == 0 ? null : Vr(n.node(-1).contentMatchAt(n.indexAfter(-1))), l = s && r ? [{ type: r }] : void 0, p = Kt(i.doc, i.mapping.map(n.pos), 1, l);
9161
9161
  if (!l && !p && Kt(i.doc, i.mapping.map(n.pos), 1, r ? [{ type: r }] : void 0) && (r && (l = [{ type: r }]), p = !0), p && (i.split(i.mapping.map(n.pos), 1, l), !s && !n.parentOffset && n.parent.type != r)) {
9162
9162
  let c = i.mapping.map(n.before()), m = i.doc.resolve(c);
@@ -9169,7 +9169,7 @@ function Lh(o) {
9169
9169
  }
9170
9170
  const Ph = Lh(), zh = (o, e) => {
9171
9171
  let { $from: t, to: n } = o.selection, a, s = t.sharedDepth(n);
9172
- return s == 0 ? !1 : (a = t.before(s), e && e(o.tr.setSelection(W.create(o.doc, a))), !0);
9172
+ return s == 0 ? !1 : (a = t.before(s), e && e(o.tr.setSelection(U.create(o.doc, a))), !0);
9173
9173
  };
9174
9174
  function $h(o, e, t) {
9175
9175
  let n = e.nodeBefore, a = e.nodeAfter, s = e.index();
@@ -9222,7 +9222,7 @@ function md(o) {
9222
9222
  return !1;
9223
9223
  s--;
9224
9224
  }
9225
- return a.node(s).isTextblock ? (t && t(e.tr.setSelection(Z.create(e.doc, o < 0 ? a.start(s) : a.end(s)))), !0) : !1;
9225
+ return a.node(s).isTextblock ? (t && t(e.tr.setSelection(X.create(e.doc, o < 0 ? a.start(s) : a.end(s)))), !0) : !1;
9226
9226
  };
9227
9227
  }
9228
9228
  const Hh = md(-1), Vh = md(1);
@@ -10007,13 +10007,13 @@ function pb(o) {
10007
10007
  if (w) {
10008
10008
  let { text: T } = j;
10009
10009
  typeof T == "string" ? T = T : T = Wr(C.from(T), u.schema);
10010
- const { from: _ } = j, P = _ + T.length, U = lb(T);
10010
+ const { from: _ } = j, P = _ + T.length, K = lb(T);
10011
10011
  return l({
10012
10012
  rule: c,
10013
10013
  state: u,
10014
10014
  from: _,
10015
10015
  to: { b: P },
10016
- pasteEvt: U
10016
+ pasteEvt: K
10017
10017
  });
10018
10018
  }
10019
10019
  const S = d.doc.content.findDiffStart(u.doc.content), b = d.doc.content.findDiffEnd(u.doc.content);
@@ -10301,7 +10301,7 @@ const mb = Fe.create({
10301
10301
  const { state: a } = t, s = a.doc.slice(o.from, o.to);
10302
10302
  n.deleteRange(o.from, o.to);
10303
10303
  const i = n.mapping.map(e);
10304
- return n.insert(i, s.content), n.setSelection(new Z(n.doc.resolve(i - 1))), !0;
10304
+ return n.insert(i, s.content), n.setSelection(new X(n.doc.resolve(i - 1))), !0;
10305
10305
  }, vb = () => ({ tr: o, dispatch: e }) => {
10306
10306
  const { selection: t } = o, n = t.$anchor.node();
10307
10307
  if (n.content.size > 0)
@@ -10375,7 +10375,7 @@ const wb = (o, e = {}) => ({ tr: t, state: n, dispatch: a }) => {
10375
10375
  if (a) {
10376
10376
  const m = oi(l, s, e);
10377
10377
  if (m && m.from <= p && m.to >= c) {
10378
- const d = Z.create(i, m.from, m.to);
10378
+ const d = X.create(i, m.from, m.to);
10379
10379
  t.setSelection(d);
10380
10380
  }
10381
10381
  }
@@ -10388,7 +10388,7 @@ const wb = (o, e = {}) => ({ tr: t, state: n, dispatch: a }) => {
10388
10388
  return !1;
10389
10389
  };
10390
10390
  function Kr(o) {
10391
- return o instanceof Z;
10391
+ return o instanceof X;
10392
10392
  }
10393
10393
  function Ut(o = 0, e = 0, t = 0) {
10394
10394
  return Math.min(Math.max(o, e), t);
@@ -10402,7 +10402,7 @@ function vd(o, e = null) {
10402
10402
  if (e === "end")
10403
10403
  return n;
10404
10404
  const a = t.from, s = n.to;
10405
- return e === "all" ? Z.create(o, Ut(0, a, s), Ut(o.content.size, a, s)) : Z.create(o, Ut(e, a, s), Ut(e, a, s));
10405
+ return e === "all" ? X.create(o, Ut(0, a, s), Ut(o.content.size, a, s)) : X.create(o, Ut(e, a, s), Ut(e, a, s));
10406
10406
  }
10407
10407
  function Gr() {
10408
10408
  return [
@@ -10877,7 +10877,7 @@ function ai(o, { checkChildren: e = !0, ignoreWhitespace: t = !1 } = {}) {
10877
10877
  return !1;
10878
10878
  }
10879
10879
  function wd(o) {
10880
- return o instanceof W;
10880
+ return o instanceof U;
10881
10881
  }
10882
10882
  function Id(o, e, t) {
10883
10883
  const a = o.state.doc.content.size, s = Ut(e, 0, a), i = Ut(t, 0, a), r = o.coordsAtPos(s), l = o.coordsAtPos(i, -1), p = Math.min(r.top, l.top), c = Math.max(r.bottom, l.bottom), m = Math.min(r.left, l.left), d = Math.max(r.right, l.right), u = d - m, g = c - p, j = {
@@ -10946,13 +10946,13 @@ const pv = (o, e = {}) => ({ tr: t, state: n, dispatch: a }) => {
10946
10946
  return t.selection.$anchor.sameParent(t.selection.$head) && (i = t.selection.$anchor.parent.attrs), s.isTextblock ? a().command(({ commands: r }) => Cp(s, { ...i, ...e })(t) ? !0 : r.clearNodes()).command(({ state: r }) => Cp(s, { ...i, ...e })(r, n)).run() : (console.warn('[tiptap warn]: Currently "setNode()" only supports text block nodes.'), !1);
10947
10947
  }, dv = (o) => ({ tr: e, dispatch: t }) => {
10948
10948
  if (t) {
10949
- const { doc: n } = e, a = Ut(o, 0, n.content.size), s = W.create(n, a);
10949
+ const { doc: n } = e, a = Ut(o, 0, n.content.size), s = U.create(n, a);
10950
10950
  e.setSelection(s);
10951
10951
  }
10952
10952
  return !0;
10953
10953
  }, uv = (o) => ({ tr: e, dispatch: t }) => {
10954
10954
  if (t) {
10955
- const { doc: n } = e, { from: a, to: s } = typeof o == "number" ? { from: o, to: o } : o, i = Z.atStart(n).from, r = Z.atEnd(n).to, l = Ut(a, i, r), p = Ut(s, i, r), c = Z.create(n, l, p);
10955
+ const { doc: n } = e, { from: a, to: s } = typeof o == "number" ? { from: o, to: o } : o, i = X.atStart(n).from, r = X.atEnd(n).to, l = Ut(a, i, r), p = Ut(s, i, r), c = X.create(n, l, p);
10956
10956
  e.setSelection(c);
10957
10957
  }
10958
10958
  return !0;
@@ -10969,7 +10969,7 @@ function Tp(o, e) {
10969
10969
  }
10970
10970
  const fv = ({ keepMarks: o = !0 } = {}) => ({ tr: e, state: t, dispatch: n, editor: a }) => {
10971
10971
  const { selection: s, doc: i } = e, { $from: r, $to: l } = s, p = a.extensionManager.attributes, c = za(p, r.node().type.name, r.node().attrs);
10972
- if (s instanceof W && s.node.isBlock)
10972
+ if (s instanceof U && s.node.isBlock)
10973
10973
  return !r.parentOffset || !Kt(i, r.pos) ? !1 : (n && (o && Tp(t, a.extensionManager.splittableMarks), e.split(r.pos).scrollIntoView()), !0);
10974
10974
  if (!r.parent.isBlock)
10975
10975
  return !1;
@@ -10986,7 +10986,7 @@ const fv = ({ keepMarks: o = !0 } = {}) => ({ tr: e, state: t, dispatch: n, edit
10986
10986
  attrs: c
10987
10987
  }
10988
10988
  ] : void 0), n) {
10989
- if (g && (s instanceof Z && e.deleteSelection(), e.split(e.mapping.map(r.pos), 1, u), d && !m && !r.parentOffset && r.parent.type !== d)) {
10989
+ if (g && (s instanceof X && e.deleteSelection(), e.split(e.mapping.map(r.pos), 1, u), d && !m && !r.parentOffset && r.parent.type !== d)) {
10990
10990
  const f = e.mapping.map(r.before()), h = e.doc.resolve(f);
10991
10991
  r.node(-1).canReplaceWith(h.index(), h.index() + 1, d) && e.setNodeMarkup(e.mapping.map(r.before()), d);
10992
10992
  }
@@ -11008,8 +11008,8 @@ const fv = ({ keepMarks: o = !0 } = {}) => ({ tr: e, state: t, dispatch: n, edit
11008
11008
  if (a) {
11009
11009
  let j = C.empty;
11010
11010
  const w = l.index(-1) ? 1 : l.index(-2) ? 2 : 3;
11011
- for (let U = l.depth - w; U >= l.depth - 3; U -= 1)
11012
- j = C.from(l.node(U).copy(j));
11011
+ for (let K = l.depth - w; K >= l.depth - 3; K -= 1)
11012
+ j = C.from(l.node(K).copy(j));
11013
11013
  const S = l.indexAfter(-1) < l.node(-2).childCount ? 1 : l.indexAfter(-2) < l.node(-3).childCount ? 2 : 3, b = {
11014
11014
  ...za(d, l.node().type.name, l.node().attrs),
11015
11015
  ...e
@@ -11018,11 +11018,11 @@ const fv = ({ keepMarks: o = !0 } = {}) => ({ tr: e, state: t, dispatch: n, edit
11018
11018
  const _ = l.before(l.depth - (w - 1));
11019
11019
  t.replace(_, l.after(-S), new N(j, 4 - w, 0));
11020
11020
  let P = -1;
11021
- t.doc.nodesBetween(_, t.doc.content.size, (U, E) => {
11021
+ t.doc.nodesBetween(_, t.doc.content.size, (K, E) => {
11022
11022
  if (P > -1)
11023
11023
  return !1;
11024
- U.isTextblock && U.content.size === 0 && (P = E + 1);
11025
- }), P > -1 && t.setSelection(Z.near(t.doc.resolve(P))), t.scrollIntoView();
11024
+ K.isTextblock && K.content.size === 0 && (P = E + 1);
11025
+ }), P > -1 && t.setSelection(X.near(t.doc.resolve(P))), t.scrollIntoView();
11026
11026
  }
11027
11027
  return !0;
11028
11028
  }
@@ -11078,7 +11078,7 @@ const fv = ({ keepMarks: o = !0 } = {}) => ({ tr: e, state: t, dispatch: n, edit
11078
11078
  return l().command(() => (s.setNodeMarkup(T.pos, u), !0)).command(() => Ci(s, u)).command(() => xi(s, u)).run();
11079
11079
  }
11080
11080
  return !t || !b || !r ? l().command(() => c().wrapInList(u, n) ? !0 : p.clearNodes()).wrapInList(u, n).command(() => Ci(s, u)).command(() => xi(s, u)).run() : l().command(() => {
11081
- const _ = c().wrapInList(u, n), P = b.filter((U) => d.includes(U.type.name));
11081
+ const _ = c().wrapInList(u, n), P = b.filter((K) => d.includes(K.type.name));
11082
11082
  return s.ensureMarks(P), _ ? !0 : p.clearNodes();
11083
11083
  }).wrapInList(u, n).command(() => Ci(s, u)).command(() => xi(s, u)).run();
11084
11084
  }, vv = (o, e = {}, t = {}) => ({ state: n, commands: a }) => {
@@ -12287,8 +12287,8 @@ var tj = function(e, t) {
12287
12287
  function oj(o) {
12288
12288
  var e, t = o.state, n = o.name, a = o.options, s = t.elements.arrow, i = t.modifiersData.popperOffsets, r = Tt(t.placement), l = nl(r), p = [tt, yt].indexOf(r) >= 0, c = p ? "height" : "width";
12289
12289
  if (!(!s || !i)) {
12290
- var m = tj(a.padding, t), d = ol(s), u = l === "y" ? et : tt, g = l === "y" ? kt : yt, f = t.rects.reference[c] + t.rects.reference[l] - i[l] - t.rects.popper[c], h = i[l] - t.rects.reference[l], j = ba(s), w = j ? l === "y" ? j.clientHeight || 0 : j.clientWidth || 0 : 0, S = f / 2 - h / 2, b = m[u], T = w - d[c] - m[g], _ = w / 2 - d[c] / 2 + S, P = Rn(b, _, T), U = l;
12291
- t.modifiersData[n] = (e = {}, e[U] = P, e.centerOffset = P - _, e);
12290
+ var m = tj(a.padding, t), d = ol(s), u = l === "y" ? et : tt, g = l === "y" ? kt : yt, f = t.rects.reference[c] + t.rects.reference[l] - i[l] - t.rects.popper[c], h = i[l] - t.rects.reference[l], j = ba(s), w = j ? l === "y" ? j.clientHeight || 0 : j.clientWidth || 0 : 0, S = f / 2 - h / 2, b = m[u], T = w - d[c] - m[g], _ = w / 2 - d[c] / 2 + S, P = Rn(b, _, T), K = l;
12291
+ t.modifiersData[n] = (e = {}, e[K] = P, e.centerOffset = P - _, e);
12292
12292
  }
12293
12293
  }
12294
12294
  function nj(o) {
@@ -12331,8 +12331,8 @@ function Rp(o) {
12331
12331
  u = h.x, f = h.y;
12332
12332
  var j = i.hasOwnProperty("x"), w = i.hasOwnProperty("y"), S = tt, b = et, T = window;
12333
12333
  if (p) {
12334
- var _ = ba(t), P = "clientHeight", U = "clientWidth";
12335
- if (_ === at(t) && (_ = yo(t), Jt(_).position !== "static" && r === "absolute" && (P = "scrollHeight", U = "scrollWidth")), _ = _, a === et || (a === tt || a === yt) && s === Zn) {
12334
+ var _ = ba(t), P = "clientHeight", K = "clientWidth";
12335
+ if (_ === at(t) && (_ = yo(t), Jt(_).position !== "static" && r === "absolute" && (P = "scrollHeight", K = "scrollWidth")), _ = _, a === et || (a === tt || a === yt) && s === Zn) {
12336
12336
  b = kt;
12337
12337
  var E = m && _ === T && T.visualViewport ? T.visualViewport.height : (
12338
12338
  // $FlowFixMe[prop-missing]
@@ -12342,27 +12342,27 @@ function Rp(o) {
12342
12342
  }
12343
12343
  if (a === tt || (a === et || a === kt) && s === Zn) {
12344
12344
  S = yt;
12345
- var V = m && _ === T && T.visualViewport ? T.visualViewport.width : (
12345
+ var q = m && _ === T && T.visualViewport ? T.visualViewport.width : (
12346
12346
  // $FlowFixMe[prop-missing]
12347
- _[U]
12347
+ _[K]
12348
12348
  );
12349
- u -= V - n.width, u *= l ? 1 : -1;
12349
+ u -= q - n.width, u *= l ? 1 : -1;
12350
12350
  }
12351
12351
  }
12352
- var ee = Object.assign({
12352
+ var Q = Object.assign({
12353
12353
  position: r
12354
- }, p && sj), ie = c === !0 ? ij({
12354
+ }, p && sj), R = c === !0 ? ij({
12355
12355
  x: u,
12356
12356
  y: f
12357
12357
  }, at(t)) : {
12358
12358
  x: u,
12359
12359
  y: f
12360
12360
  };
12361
- if (u = ie.x, f = ie.y, l) {
12362
- var R;
12363
- return Object.assign({}, ee, (R = {}, R[b] = w ? "0" : "", R[S] = j ? "0" : "", R.transform = (T.devicePixelRatio || 1) <= 1 ? "translate(" + u + "px, " + f + "px)" : "translate3d(" + u + "px, " + f + "px, 0)", R));
12361
+ if (u = R.x, f = R.y, l) {
12362
+ var H;
12363
+ return Object.assign({}, Q, (H = {}, H[b] = w ? "0" : "", H[S] = j ? "0" : "", H.transform = (T.devicePixelRatio || 1) <= 1 ? "translate(" + u + "px, " + f + "px)" : "translate3d(" + u + "px, " + f + "px, 0)", H));
12364
12364
  }
12365
- return Object.assign({}, ee, (e = {}, e[b] = w ? f + "px" : "", e[S] = j ? u + "px" : "", e.transform = "", e));
12365
+ return Object.assign({}, Q, (e = {}, e[b] = w ? f + "px" : "", e[S] = j ? u + "px" : "", e.transform = "", e));
12366
12366
  }
12367
12367
  function rj(o) {
12368
12368
  var e = o.state, t = o.options, n = t.gpuAcceleration, a = n === void 0 ? !0 : n, s = t.adaptive, i = s === void 0 ? !0 : s, r = t.roundOffsets, l = r === void 0 ? !0 : r, p = {
@@ -12566,20 +12566,20 @@ function Qn(o, e) {
12566
12566
  reference: _,
12567
12567
  element: S,
12568
12568
  placement: a
12569
- }), U = vr(Object.assign({}, S, P)), E = d === Sn ? U : _, V = {
12569
+ }), K = vr(Object.assign({}, S, P)), E = d === Sn ? K : _, q = {
12570
12570
  top: T.top - E.top + j.top,
12571
12571
  bottom: E.bottom - T.bottom + j.bottom,
12572
12572
  left: T.left - E.left + j.left,
12573
12573
  right: E.right - T.right + j.right
12574
- }, ee = o.modifiersData.offset;
12575
- if (d === Sn && ee) {
12576
- var ie = ee[a];
12577
- Object.keys(V).forEach(function(R) {
12578
- var Y = [yt, kt].indexOf(R) >= 0 ? 1 : -1, K = [et, kt].indexOf(R) >= 0 ? "y" : "x";
12579
- V[R] += ie[K] * Y;
12574
+ }, Q = o.modifiersData.offset;
12575
+ if (d === Sn && Q) {
12576
+ var R = Q[a];
12577
+ Object.keys(q).forEach(function(H) {
12578
+ var ee = [yt, kt].indexOf(H) >= 0 ? 1 : -1, ie = [et, kt].indexOf(H) >= 0 ? "y" : "x";
12579
+ q[H] += R[ie] * ee;
12580
12580
  });
12581
12581
  }
12582
- return V;
12582
+ return q;
12583
12583
  }
12584
12584
  function vj(o, e) {
12585
12585
  e === void 0 && (e = {});
@@ -12619,25 +12619,25 @@ function kj(o) {
12619
12619
  flipVariations: g,
12620
12620
  allowedAutoPlacements: f
12621
12621
  }) : ne);
12622
- }, []), T = e.rects.reference, _ = e.rects.popper, P = /* @__PURE__ */ new Map(), U = !0, E = b[0], V = 0; V < b.length; V++) {
12623
- var ee = b[V], ie = Tt(ee), R = kn(ee) === bn, Y = [et, kt].indexOf(ie) >= 0, K = Y ? "width" : "height", pe = Qn(e, {
12624
- placement: ee,
12622
+ }, []), T = e.rects.reference, _ = e.rects.popper, P = /* @__PURE__ */ new Map(), K = !0, E = b[0], q = 0; q < b.length; q++) {
12623
+ var Q = b[q], R = Tt(Q), H = kn(Q) === bn, ee = [et, kt].indexOf(R) >= 0, ie = ee ? "width" : "height", pe = Qn(e, {
12624
+ placement: Q,
12625
12625
  boundary: c,
12626
12626
  rootBoundary: m,
12627
12627
  altBoundary: d,
12628
12628
  padding: p
12629
- }), v = Y ? R ? yt : tt : R ? kt : et;
12630
- T[K] > _[K] && (v = $a(v));
12629
+ }), v = ee ? H ? yt : tt : H ? kt : et;
12630
+ T[ie] > _[ie] && (v = $a(v));
12631
12631
  var y = $a(v), F = [];
12632
- if (s && F.push(pe[ie] <= 0), r && F.push(pe[v] <= 0, pe[y] <= 0), F.every(function(Ie) {
12632
+ if (s && F.push(pe[R] <= 0), r && F.push(pe[v] <= 0, pe[y] <= 0), F.every(function(Ie) {
12633
12633
  return Ie;
12634
12634
  })) {
12635
- E = ee, U = !1;
12635
+ E = Q, K = !1;
12636
12636
  break;
12637
12637
  }
12638
- P.set(ee, F);
12638
+ P.set(Q, F);
12639
12639
  }
12640
- if (U)
12640
+ if (K)
12641
12641
  for (var B = g ? 3 : 1, G = function(ne) {
12642
12642
  var ce = b.find(function(st) {
12643
12643
  var He = P.get(st);
@@ -12753,31 +12753,31 @@ function Mj(o) {
12753
12753
  rootBoundary: p,
12754
12754
  padding: m,
12755
12755
  altBoundary: c
12756
- }), j = Tt(e.placement), w = kn(e.placement), S = !w, b = nl(j), T = Sj(b), _ = e.modifiersData.popperOffsets, P = e.rects.reference, U = e.rects.popper, E = typeof f == "function" ? f(Object.assign({}, e.rects, {
12756
+ }), j = Tt(e.placement), w = kn(e.placement), S = !w, b = nl(j), T = Sj(b), _ = e.modifiersData.popperOffsets, P = e.rects.reference, K = e.rects.popper, E = typeof f == "function" ? f(Object.assign({}, e.rects, {
12757
12757
  placement: e.placement
12758
- })) : f, V = typeof E == "number" ? {
12758
+ })) : f, q = typeof E == "number" ? {
12759
12759
  mainAxis: E,
12760
12760
  altAxis: E
12761
12761
  } : Object.assign({
12762
12762
  mainAxis: 0,
12763
12763
  altAxis: 0
12764
- }, E), ee = e.modifiersData.offset ? e.modifiersData.offset[e.placement] : null, ie = {
12764
+ }, E), Q = e.modifiersData.offset ? e.modifiersData.offset[e.placement] : null, R = {
12765
12765
  x: 0,
12766
12766
  y: 0
12767
12767
  };
12768
12768
  if (_) {
12769
12769
  if (s) {
12770
- var R, Y = b === "y" ? et : tt, K = b === "y" ? kt : yt, pe = b === "y" ? "height" : "width", v = _[b], y = v + h[Y], F = v - h[K], B = u ? -U[pe] / 2 : 0, G = w === bn ? P[pe] : U[pe], se = w === bn ? -U[pe] : -P[pe], ge = e.elements.arrow, Ie = u && ge ? ol(ge) : {
12770
+ var H, ee = b === "y" ? et : tt, ie = b === "y" ? kt : yt, pe = b === "y" ? "height" : "width", v = _[b], y = v + h[ee], F = v - h[ie], B = u ? -K[pe] / 2 : 0, G = w === bn ? P[pe] : K[pe], se = w === bn ? -K[pe] : -P[pe], ge = e.elements.arrow, Ie = u && ge ? ol(ge) : {
12771
12771
  width: 0,
12772
12772
  height: 0
12773
- }, ne = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : Od(), ce = ne[Y], st = ne[K], He = Rn(0, P[pe], Ie[pe]), it = S ? P[pe] / 2 - B - He - ce - V.mainAxis : G - He - ce - V.mainAxis, rt = S ? -P[pe] / 2 + B + He + st + V.mainAxis : se + He + st + V.mainAxis, Et = e.elements.arrow && ba(e.elements.arrow), Zt = Et ? b === "y" ? Et.clientTop || 0 : Et.clientLeft || 0 : 0, zt = (R = ee == null ? void 0 : ee[b]) != null ? R : 0, Ye = v + it - zt - Zt, Ct = v + rt - zt, de = Rn(u ? ls(y, Ye) : y, v, u ? To(F, Ct) : F);
12774
- _[b] = de, ie[b] = de - v;
12773
+ }, ne = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : Od(), ce = ne[ee], st = ne[ie], He = Rn(0, P[pe], Ie[pe]), it = S ? P[pe] / 2 - B - He - ce - q.mainAxis : G - He - ce - q.mainAxis, rt = S ? -P[pe] / 2 + B + He + st + q.mainAxis : se + He + st + q.mainAxis, Et = e.elements.arrow && ba(e.elements.arrow), Zt = Et ? b === "y" ? Et.clientTop || 0 : Et.clientLeft || 0 : 0, zt = (H = Q == null ? void 0 : Q[b]) != null ? H : 0, Ye = v + it - zt - Zt, Ct = v + rt - zt, de = Rn(u ? ls(y, Ye) : y, v, u ? To(F, Ct) : F);
12774
+ _[b] = de, R[b] = de - v;
12775
12775
  }
12776
12776
  if (r) {
12777
- var $t, lt = b === "x" ? et : tt, M = b === "x" ? kt : yt, Ve = _[T], Q = T === "y" ? "height" : "width", H = Ve + h[lt], Oe = Ve - h[M], ke = [et, tt].indexOf(j) !== -1, pt = ($t = ee == null ? void 0 : ee[T]) != null ? $t : 0, ct = ke ? H : Ve - P[Q] - U[Q] - pt + V.altAxis, k = ke ? Ve + P[Q] + U[Q] - pt - V.altAxis : Oe, I = u && ke ? ej(ct, Ve, k) : Rn(u ? ct : H, Ve, u ? k : Oe);
12778
- _[T] = I, ie[T] = I - Ve;
12777
+ var $t, lt = b === "x" ? et : tt, M = b === "x" ? kt : yt, Ve = _[T], Z = T === "y" ? "height" : "width", V = Ve + h[lt], Oe = Ve - h[M], ke = [et, tt].indexOf(j) !== -1, pt = ($t = Q == null ? void 0 : Q[T]) != null ? $t : 0, ct = ke ? V : Ve - P[Z] - K[Z] - pt + q.altAxis, k = ke ? Ve + P[Z] + K[Z] - pt - q.altAxis : Oe, I = u && ke ? ej(ct, Ve, k) : Rn(u ? ct : V, Ve, u ? k : Oe);
12778
+ _[T] = I, R[T] = I - Ve;
12779
12779
  }
12780
- e.modifiersData[n] = ie;
12780
+ e.modifiersData[n] = R;
12781
12781
  }
12782
12782
  }
12783
12783
  const Fj = {
@@ -12919,18 +12919,18 @@ function zj(o) {
12919
12919
  c.rects = {
12920
12920
  reference: Nj(w, ba(S), c.options.strategy === "fixed"),
12921
12921
  popper: ol(S)
12922
- }, c.reset = !1, c.placement = c.options.placement, c.orderedModifiers.forEach(function(V) {
12923
- return c.modifiersData[V.name] = Object.assign({}, V.data);
12922
+ }, c.reset = !1, c.placement = c.options.placement, c.orderedModifiers.forEach(function(q) {
12923
+ return c.modifiersData[q.name] = Object.assign({}, q.data);
12924
12924
  });
12925
12925
  for (var b = 0; b < c.orderedModifiers.length; b++) {
12926
12926
  if (c.reset === !0) {
12927
12927
  c.reset = !1, b = -1;
12928
12928
  continue;
12929
12929
  }
12930
- var T = c.orderedModifiers[b], _ = T.fn, P = T.options, U = P === void 0 ? {} : P, E = T.name;
12930
+ var T = c.orderedModifiers[b], _ = T.fn, P = T.options, K = P === void 0 ? {} : P, E = T.name;
12931
12931
  typeof _ == "function" && (c = _({
12932
12932
  state: c,
12933
- options: U,
12933
+ options: K,
12934
12934
  name: E,
12935
12935
  instance: u
12936
12936
  }) || c);
@@ -13378,33 +13378,33 @@ function h1(o, e) {
13378
13378
  return process.env.NODE_ENV !== "production" && jr(!0, "render() function has not been supplied."), b;
13379
13379
  var T = t.render(b), _ = T.popper, P = T.onUpdate;
13380
13380
  _.setAttribute("data-tippy-root", ""), _.id = "tippy-" + b.id, b.popper = _, o._tippy = b, _._tippy = b;
13381
- var U = w.map(function(D) {
13381
+ var K = w.map(function(D) {
13382
13382
  return D.fn(b);
13383
13383
  }), E = o.hasAttribute("aria-expanded");
13384
- return Et(), B(), v(), y("onCreate", [b]), t.showOnCreate && H(), _.addEventListener("mouseenter", function() {
13384
+ return Et(), B(), v(), y("onCreate", [b]), t.showOnCreate && V(), _.addEventListener("mouseenter", function() {
13385
13385
  b.props.interactive && b.state.isVisible && b.clearDelayTimeouts();
13386
13386
  }), _.addEventListener("mouseleave", function() {
13387
- b.props.interactive && b.props.trigger.indexOf("mouseenter") >= 0 && Y().addEventListener("mousemove", g);
13387
+ b.props.interactive && b.props.trigger.indexOf("mouseenter") >= 0 && ee().addEventListener("mousemove", g);
13388
13388
  }), b;
13389
- function V() {
13389
+ function q() {
13390
13390
  var D = b.props.touch;
13391
13391
  return Array.isArray(D) ? D : [D, 0];
13392
13392
  }
13393
- function ee() {
13394
- return V()[0] === "hold";
13393
+ function Q() {
13394
+ return q()[0] === "hold";
13395
13395
  }
13396
- function ie() {
13396
+ function R() {
13397
13397
  var D;
13398
13398
  return !!((D = b.props.render) != null && D.$$tippy);
13399
13399
  }
13400
- function R() {
13400
+ function H() {
13401
13401
  return f || o;
13402
13402
  }
13403
- function Y() {
13404
- var D = R().parentNode;
13403
+ function ee() {
13404
+ var D = H().parentNode;
13405
13405
  return D ? e1(D) : document;
13406
13406
  }
13407
- function K() {
13407
+ function ie() {
13408
13408
  return yr(_);
13409
13409
  }
13410
13410
  function pe(D) {
@@ -13413,10 +13413,10 @@ function h1(o, e) {
13413
13413
  function v(D) {
13414
13414
  D === void 0 && (D = !1), _.style.pointerEvents = b.props.interactive && !D ? "" : "none", _.style.zIndex = "" + b.props.zIndex;
13415
13415
  }
13416
- function y(D, $, X) {
13417
- if (X === void 0 && (X = !0), U.forEach(function(le) {
13416
+ function y(D, $, Y) {
13417
+ if (Y === void 0 && (Y = !0), K.forEach(function(le) {
13418
13418
  le[D] && le[D].apply(le, $);
13419
- }), X) {
13419
+ }), Y) {
13420
13420
  var me;
13421
13421
  (me = b.props)[D].apply(me, $);
13422
13422
  }
@@ -13424,13 +13424,13 @@ function h1(o, e) {
13424
13424
  function F() {
13425
13425
  var D = b.props.aria;
13426
13426
  if (D.content) {
13427
- var $ = "aria-" + D.content, X = _.id, me = nn(b.props.triggerTarget || o);
13427
+ var $ = "aria-" + D.content, Y = _.id, me = nn(b.props.triggerTarget || o);
13428
13428
  me.forEach(function(le) {
13429
13429
  var qe = le.getAttribute($);
13430
13430
  if (b.state.isVisible)
13431
- le.setAttribute($, qe ? qe + " " + X : X);
13431
+ le.setAttribute($, qe ? qe + " " + Y : Y);
13432
13432
  else {
13433
- var mt = qe && qe.replace(X, "").trim();
13433
+ var mt = qe && qe.replace(Y, "").trim();
13434
13434
  mt ? le.setAttribute($, mt) : le.removeAttribute($);
13435
13435
  }
13436
13436
  });
@@ -13440,12 +13440,12 @@ function h1(o, e) {
13440
13440
  if (!(E || !b.props.aria.expanded)) {
13441
13441
  var D = nn(b.props.triggerTarget || o);
13442
13442
  D.forEach(function($) {
13443
- b.props.interactive ? $.setAttribute("aria-expanded", b.state.isVisible && $ === R() ? "true" : "false") : $.removeAttribute("aria-expanded");
13443
+ b.props.interactive ? $.setAttribute("aria-expanded", b.state.isVisible && $ === H() ? "true" : "false") : $.removeAttribute("aria-expanded");
13444
13444
  });
13445
13445
  }
13446
13446
  }
13447
13447
  function G() {
13448
- Y().removeEventListener("mousemove", g), Ea = Ea.filter(function(D) {
13448
+ ee().removeEventListener("mousemove", g), Ea = Ea.filter(function(D) {
13449
13449
  return D !== g;
13450
13450
  });
13451
13451
  }
@@ -13453,8 +13453,8 @@ function h1(o, e) {
13453
13453
  if (!(Ot.isTouch && (l || D.type === "mousedown"))) {
13454
13454
  var $ = D.composedPath && D.composedPath()[0] || D.target;
13455
13455
  if (!(b.props.interactive && Gp(_, $))) {
13456
- if (nn(b.props.triggerTarget || o).some(function(X) {
13457
- return Gp(X, $);
13456
+ if (nn(b.props.triggerTarget || o).some(function(Y) {
13457
+ return Gp(Y, $);
13458
13458
  })) {
13459
13459
  if (Ot.isTouch || b.state.isVisible && b.props.trigger.indexOf("click") >= 0)
13460
13460
  return;
@@ -13473,11 +13473,11 @@ function h1(o, e) {
13473
13473
  l = !1;
13474
13474
  }
13475
13475
  function ne() {
13476
- var D = Y();
13476
+ var D = ee();
13477
13477
  D.addEventListener("mousedown", se, !0), D.addEventListener("touchend", se, Do), D.addEventListener("touchstart", Ie, Do), D.addEventListener("touchmove", ge, Do);
13478
13478
  }
13479
13479
  function ce() {
13480
- var D = Y();
13480
+ var D = ee();
13481
13481
  D.removeEventListener("mousedown", se, !0), D.removeEventListener("touchend", se, Do), D.removeEventListener("touchstart", Ie, Do), D.removeEventListener("touchmove", ge, Do);
13482
13482
  }
13483
13483
  function st(D, $) {
@@ -13489,28 +13489,28 @@ function h1(o, e) {
13489
13489
  it(D, $);
13490
13490
  }
13491
13491
  function it(D, $) {
13492
- var X = K().box;
13492
+ var Y = ie().box;
13493
13493
  function me(le) {
13494
- le.target === X && (Fi(X, "remove", me), $());
13494
+ le.target === Y && (Fi(Y, "remove", me), $());
13495
13495
  }
13496
13496
  if (D === 0)
13497
13497
  return $();
13498
- Fi(X, "remove", m), Fi(X, "add", me), m = me;
13498
+ Fi(Y, "remove", m), Fi(Y, "add", me), m = me;
13499
13499
  }
13500
- function rt(D, $, X) {
13501
- X === void 0 && (X = !1);
13500
+ function rt(D, $, Y) {
13501
+ Y === void 0 && (Y = !1);
13502
13502
  var me = nn(b.props.triggerTarget || o);
13503
13503
  me.forEach(function(le) {
13504
- le.addEventListener(D, $, X), u.push({
13504
+ le.addEventListener(D, $, Y), u.push({
13505
13505
  node: le,
13506
13506
  eventType: D,
13507
13507
  handler: $,
13508
- options: X
13508
+ options: Y
13509
13509
  });
13510
13510
  });
13511
13511
  }
13512
13512
  function Et() {
13513
- ee() && (rt("touchstart", zt, {
13513
+ Q() && (rt("touchstart", zt, {
13514
13514
  passive: !0
13515
13515
  }), rt("touchend", Ct, {
13516
13516
  passive: !0
@@ -13531,23 +13531,23 @@ function h1(o, e) {
13531
13531
  }
13532
13532
  function Zt() {
13533
13533
  u.forEach(function(D) {
13534
- var $ = D.node, X = D.eventType, me = D.handler, le = D.options;
13535
- $.removeEventListener(X, me, le);
13534
+ var $ = D.node, Y = D.eventType, me = D.handler, le = D.options;
13535
+ $.removeEventListener(Y, me, le);
13536
13536
  }), u = [];
13537
13537
  }
13538
13538
  function zt(D) {
13539
- var $, X = !1;
13539
+ var $, Y = !1;
13540
13540
  if (!(!b.state.isEnabled || $t(D) || r)) {
13541
13541
  var me = (($ = c) == null ? void 0 : $.type) === "focus";
13542
13542
  c = D, f = D.currentTarget, B(), !b.state.isVisible && Xj(D) && Ea.forEach(function(le) {
13543
13543
  return le(D);
13544
- }), D.type === "click" && (b.props.trigger.indexOf("mouseenter") < 0 || i) && b.props.hideOnClick !== !1 && b.state.isVisible ? X = !0 : H(D), D.type === "click" && (i = !X), X && !me && Oe(D);
13544
+ }), D.type === "click" && (b.props.trigger.indexOf("mouseenter") < 0 || i) && b.props.hideOnClick !== !1 && b.state.isVisible ? Y = !0 : V(D), D.type === "click" && (i = !Y), Y && !me && Oe(D);
13545
13545
  }
13546
13546
  }
13547
13547
  function Ye(D) {
13548
- var $ = D.target, X = R().contains($) || _.contains($);
13549
- if (!(D.type === "mousemove" && X)) {
13550
- var me = Q().concat(_).map(function(le) {
13548
+ var $ = D.target, Y = H().contains($) || _.contains($);
13549
+ if (!(D.type === "mousemove" && Y)) {
13550
+ var me = Z().concat(_).map(function(le) {
13551
13551
  var qe, mt = le._tippy, Ko = (qe = mt.popperInstance) == null ? void 0 : qe.state;
13552
13552
  return Ko ? {
13553
13553
  popperRect: le.getBoundingClientRect(),
@@ -13569,16 +13569,16 @@ function h1(o, e) {
13569
13569
  }
13570
13570
  }
13571
13571
  function de(D) {
13572
- b.props.trigger.indexOf("focusin") < 0 && D.target !== R() || b.props.interactive && D.relatedTarget && _.contains(D.relatedTarget) || Oe(D);
13572
+ b.props.trigger.indexOf("focusin") < 0 && D.target !== H() || b.props.interactive && D.relatedTarget && _.contains(D.relatedTarget) || Oe(D);
13573
13573
  }
13574
13574
  function $t(D) {
13575
- return Ot.isTouch ? ee() !== D.type.indexOf("touch") >= 0 : !1;
13575
+ return Ot.isTouch ? Q() !== D.type.indexOf("touch") >= 0 : !1;
13576
13576
  }
13577
13577
  function lt() {
13578
13578
  M();
13579
- var D = b.props, $ = D.popperOptions, X = D.placement, me = D.offset, le = D.getReferenceClientRect, qe = D.moveTransition, mt = ie() ? yr(_).arrow : null, Ko = le ? {
13579
+ var D = b.props, $ = D.popperOptions, Y = D.placement, me = D.offset, le = D.getReferenceClientRect, qe = D.moveTransition, mt = R() ? yr(_).arrow : null, Ko = le ? {
13580
13580
  getBoundingClientRect: le,
13581
- contextElement: le.contextElement || R()
13581
+ contextElement: le.contextElement || H()
13582
13582
  } : o, El = {
13583
13583
  name: "$$tippy",
13584
13584
  enabled: !0,
@@ -13586,8 +13586,8 @@ function h1(o, e) {
13586
13586
  requires: ["computeStyles"],
13587
13587
  fn: function(va) {
13588
13588
  var Go = va.state;
13589
- if (ie()) {
13590
- var Bu = K(), ci = Bu.box;
13589
+ if (R()) {
13590
+ var Bu = ie(), ci = Bu.box;
13591
13591
  ["placement", "reference-hidden", "escaped"].forEach(function(ja) {
13592
13592
  ja === "placement" ? ci.setAttribute("data-placement", Go.placement) : Go.attributes.popper["data-popper-" + ja] ? ci.setAttribute("data-" + ja, "") : ci.removeAttribute("data-" + ja);
13593
13593
  }), Go.attributes.popper = {};
@@ -13619,14 +13619,14 @@ function h1(o, e) {
13619
13619
  adaptive: !qe
13620
13620
  }
13621
13621
  }, El];
13622
- ie() && mt && _o.push({
13622
+ R() && mt && _o.push({
13623
13623
  name: "arrow",
13624
13624
  options: {
13625
13625
  element: mt,
13626
13626
  padding: 3
13627
13627
  }
13628
13628
  }), _o.push.apply(_o, ($ == null ? void 0 : $.modifiers) || []), b.popperInstance = Hj(Ko, _, Object.assign({}, $, {
13629
- placement: X,
13629
+ placement: Y,
13630
13630
  onFirstUpdate: d,
13631
13631
  modifiers: _o
13632
13632
  }));
@@ -13635,8 +13635,8 @@ function h1(o, e) {
13635
13635
  b.popperInstance && (b.popperInstance.destroy(), b.popperInstance = null);
13636
13636
  }
13637
13637
  function Ve() {
13638
- var D = b.props.appendTo, $, X = R();
13639
- b.props.interactive && D === zd || D === "parent" ? $ = X.parentNode : $ = $d(D, [X]), $.contains(_) || $.appendChild(_), b.state.isMounted = !0, lt(), process.env.NODE_ENV !== "production" && Wt(b.props.interactive && D === nt.appendTo && X.nextElementSibling !== _, ["Interactive tippy element may not be accessible via keyboard", "navigation because it is not directly after the reference element", "in the DOM source order.", `
13638
+ var D = b.props.appendTo, $, Y = H();
13639
+ b.props.interactive && D === zd || D === "parent" ? $ = Y.parentNode : $ = $d(D, [Y]), $.contains(_) || $.appendChild(_), b.state.isMounted = !0, lt(), process.env.NODE_ENV !== "production" && Wt(b.props.interactive && D === nt.appendTo && Y.nextElementSibling !== _, ["Interactive tippy element may not be accessible via keyboard", "navigation because it is not directly after the reference element", "in the DOM source order.", `
13640
13640
 
13641
13641
  `, "Using a wrapper <div> or <span> tag around the reference element", "solves this by creating a new parentNode context.", `
13642
13642
 
@@ -13644,12 +13644,12 @@ function h1(o, e) {
13644
13644
 
13645
13645
  `, "See: https://atomiks.github.io/tippyjs/v6/accessibility/#interactivity"].join(" "));
13646
13646
  }
13647
- function Q() {
13647
+ function Z() {
13648
13648
  return ps(_.querySelectorAll("[data-tippy-root]"));
13649
13649
  }
13650
- function H(D) {
13650
+ function V(D) {
13651
13651
  b.clearDelayTimeouts(), D && y("onTrigger", [b, D]), ne();
13652
- var $ = pe(!0), X = V(), me = X[0], le = X[1];
13652
+ var $ = pe(!0), Y = q(), me = Y[0], le = Y[1];
13653
13653
  Ot.isTouch && me === "hold" && le && ($ = le), $ ? n = setTimeout(function() {
13654
13654
  b.show();
13655
13655
  }, $) : b.show();
@@ -13680,12 +13680,12 @@ function h1(o, e) {
13680
13680
  function k(D) {
13681
13681
  if (process.env.NODE_ENV !== "production" && Wt(b.state.isDestroyed, Xo("setProps")), !b.state.isDestroyed) {
13682
13682
  y("onBeforeUpdate", [b, D]), Zt();
13683
- var $ = b.props, X = Xp(o, Object.assign({}, $, Up(D), {
13683
+ var $ = b.props, Y = Xp(o, Object.assign({}, $, Up(D), {
13684
13684
  ignoreAttributes: !0
13685
13685
  }));
13686
- b.props = X, Et(), $.interactiveDebounce !== X.interactiveDebounce && (G(), g = qp(Ye, X.interactiveDebounce)), $.triggerTarget && !X.triggerTarget ? nn($.triggerTarget).forEach(function(me) {
13686
+ b.props = Y, Et(), $.interactiveDebounce !== Y.interactiveDebounce && (G(), g = qp(Ye, Y.interactiveDebounce)), $.triggerTarget && !Y.triggerTarget ? nn($.triggerTarget).forEach(function(me) {
13687
13687
  me.removeAttribute("aria-expanded");
13688
- }) : X.triggerTarget && o.removeAttribute("aria-expanded"), B(), v(), P && P($, X), b.popperInstance && (lt(), Q().forEach(function(me) {
13688
+ }) : Y.triggerTarget && o.removeAttribute("aria-expanded"), B(), v(), P && P($, Y), b.popperInstance && (lt(), Z().forEach(function(me) {
13689
13689
  requestAnimationFrame(me._tippy.popperInstance.forceUpdate);
13690
13690
  })), y("onAfterUpdate", [b, D]);
13691
13691
  }
@@ -13697,20 +13697,20 @@ function h1(o, e) {
13697
13697
  }
13698
13698
  function O() {
13699
13699
  process.env.NODE_ENV !== "production" && Wt(b.state.isDestroyed, Xo("show"));
13700
- var D = b.state.isVisible, $ = b.state.isDestroyed, X = !b.state.isEnabled, me = Ot.isTouch && !b.props.touch, le = Si(b.props.duration, 0, nt.duration);
13701
- if (!(D || $ || X || me) && !R().hasAttribute("disabled") && (y("onShow", [b], !1), b.props.onShow(b) !== !1)) {
13702
- if (b.state.isVisible = !0, ie() && (_.style.visibility = "visible"), v(), ne(), b.state.isMounted || (_.style.transition = "none"), ie()) {
13703
- var qe = K(), mt = qe.box, Ko = qe.content;
13700
+ var D = b.state.isVisible, $ = b.state.isDestroyed, Y = !b.state.isEnabled, me = Ot.isTouch && !b.props.touch, le = Si(b.props.duration, 0, nt.duration);
13701
+ if (!(D || $ || Y || me) && !H().hasAttribute("disabled") && (y("onShow", [b], !1), b.props.onShow(b) !== !1)) {
13702
+ if (b.state.isVisible = !0, R() && (_.style.visibility = "visible"), v(), ne(), b.state.isMounted || (_.style.transition = "none"), R()) {
13703
+ var qe = ie(), mt = qe.box, Ko = qe.content;
13704
13704
  Mi([mt, Ko], 0);
13705
13705
  }
13706
13706
  d = function() {
13707
13707
  var _o;
13708
13708
  if (!(!b.state.isVisible || p)) {
13709
- if (p = !0, _.offsetHeight, _.style.transition = b.props.moveTransition, ie() && b.props.animation) {
13710
- var pi = K(), va = pi.box, Go = pi.content;
13709
+ if (p = !0, _.offsetHeight, _.style.transition = b.props.moveTransition, R() && b.props.animation) {
13710
+ var pi = ie(), va = pi.box, Go = pi.content;
13711
13711
  Mi([va, Go], le), Kp([va, Go], "visible");
13712
13712
  }
13713
- F(), B(), Wp(Oi, b), (_o = b.popperInstance) == null || _o.forceUpdate(), y("onMount", [b]), b.props.animation && ie() && He(le, function() {
13713
+ F(), B(), Wp(Oi, b), (_o = b.popperInstance) == null || _o.forceUpdate(), y("onMount", [b]), b.props.animation && R() && He(le, function() {
13714
13714
  b.state.isShown = !0, y("onShown", [b]);
13715
13715
  });
13716
13716
  }
@@ -13719,20 +13719,20 @@ function h1(o, e) {
13719
13719
  }
13720
13720
  function z() {
13721
13721
  process.env.NODE_ENV !== "production" && Wt(b.state.isDestroyed, Xo("hide"));
13722
- var D = !b.state.isVisible, $ = b.state.isDestroyed, X = !b.state.isEnabled, me = Si(b.props.duration, 1, nt.duration);
13723
- if (!(D || $ || X) && (y("onHide", [b], !1), b.props.onHide(b) !== !1)) {
13724
- if (b.state.isVisible = !1, b.state.isShown = !1, p = !1, i = !1, ie() && (_.style.visibility = "hidden"), G(), ce(), v(!0), ie()) {
13725
- var le = K(), qe = le.box, mt = le.content;
13722
+ var D = !b.state.isVisible, $ = b.state.isDestroyed, Y = !b.state.isEnabled, me = Si(b.props.duration, 1, nt.duration);
13723
+ if (!(D || $ || Y) && (y("onHide", [b], !1), b.props.onHide(b) !== !1)) {
13724
+ if (b.state.isVisible = !1, b.state.isShown = !1, p = !1, i = !1, R() && (_.style.visibility = "hidden"), G(), ce(), v(!0), R()) {
13725
+ var le = ie(), qe = le.box, mt = le.content;
13726
13726
  b.props.animation && (Mi([qe, mt], me), Kp([qe, mt], "hidden"));
13727
13727
  }
13728
- F(), B(), b.props.animation ? ie() && st(me, b.unmount) : b.unmount();
13728
+ F(), B(), b.props.animation ? R() && st(me, b.unmount) : b.unmount();
13729
13729
  }
13730
13730
  }
13731
13731
  function re(D) {
13732
- process.env.NODE_ENV !== "production" && Wt(b.state.isDestroyed, Xo("hideWithInteractivity")), Y().addEventListener("mousemove", g), Wp(Ea, g), g(D);
13732
+ process.env.NODE_ENV !== "production" && Wt(b.state.isDestroyed, Xo("hideWithInteractivity")), ee().addEventListener("mousemove", g), Wp(Ea, g), g(D);
13733
13733
  }
13734
13734
  function ye() {
13735
- process.env.NODE_ENV !== "production" && Wt(b.state.isDestroyed, Xo("unmount")), b.state.isVisible && b.hide(), b.state.isMounted && (M(), Q().forEach(function(D) {
13735
+ process.env.NODE_ENV !== "production" && Wt(b.state.isDestroyed, Xo("unmount")), b.state.isVisible && b.hide(), b.state.isMounted && (M(), Z().forEach(function(D) {
13736
13736
  D._tippy.unmount();
13737
13737
  }), _.parentNode && _.parentNode.removeChild(_), Oi = Oi.filter(function(D) {
13738
13738
  return D !== b;
@@ -14251,8 +14251,8 @@ const D1 = { class: "sus-emoji-panel grid" }, w1 = ["onClick", "src", "alt", "ti
14251
14251
  emojiList: {}
14252
14252
  },
14253
14253
  setup(o) {
14254
- return (e, t) => (q(), J("div", D1, [
14255
- (q(!0), J(mn, null, pa(e.emojiList, (n) => (q(), J("div", null, [
14254
+ return (e, t) => (W(), J("div", D1, [
14255
+ (W(!0), J(mn, null, pa(e.emojiList, (n) => (W(), J("div", null, [
14256
14256
  x("img", {
14257
14257
  onClick: (a) => e.$emit("onselect", n),
14258
14258
  class: "sus-emoji-item",
@@ -14638,7 +14638,7 @@ const D1 = { class: "sus-emoji-panel grid" }, w1 = ["onClick", "src", "alt", "ti
14638
14638
  return !1;
14639
14639
  const { tr: i, schema: r } = o.state, l = r.text(t.replace(/\r\n?/g, `
14640
14640
  `));
14641
- return i.replaceSelectionWith(this.type.create({ language: s }, l)), i.selection.$from.parent.type !== this.type && i.setSelection(Z.near(i.doc.resolve(Math.max(0, i.selection.from - 2)))), i.setMeta("paste", !0), o.dispatch(i), !0;
14641
+ return i.replaceSelectionWith(this.type.create({ language: s }, l)), i.selection.$from.parent.type !== this.type && i.setSelection(X.near(i.doc.resolve(Math.max(0, i.selection.from - 2)))), i.setMeta("paste", !0), o.dispatch(i), !0;
14642
14642
  }
14643
14643
  }
14644
14644
  })
@@ -14813,7 +14813,7 @@ class ve extends te {
14813
14813
  for (; ; ) {
14814
14814
  let i = t > 0 ? s.firstChild : s.lastChild;
14815
14815
  if (!i) {
14816
- if (s.isAtom && !s.isText && !W.isSelectable(s)) {
14816
+ if (s.isAtom && !s.isText && !U.isSelectable(s)) {
14817
14817
  e = e.doc.resolve(a + s.nodeSize * t), n = !1;
14818
14818
  continue e;
14819
14819
  }
@@ -14900,7 +14900,7 @@ function Ca(o, e) {
14900
14900
  const t = o == "vert" ? e > 0 ? "down" : "up" : e > 0 ? "right" : "left";
14901
14901
  return function(n, a, s) {
14902
14902
  let i = n.selection, r = e > 0 ? i.$to : i.$from, l = i.empty;
14903
- if (i instanceof Z) {
14903
+ if (i instanceof X) {
14904
14904
  if (!s.endOfTextblock(t) || r.depth == 0)
14905
14905
  return !1;
14906
14906
  l = !1, r = n.doc.resolve(e > 0 ? r.after() : r.before());
@@ -14916,7 +14916,7 @@ function G1(o, e, t) {
14916
14916
  if (!ve.valid(n))
14917
14917
  return !1;
14918
14918
  let a = o.posAtCoords({ left: t.clientX, top: t.clientY });
14919
- return a && a.inside > -1 && W.isSelectable(o.state.doc.nodeAt(a.inside)) ? !1 : (o.dispatch(o.state.tr.setSelection(new ve(n))), !0);
14919
+ return a && a.inside > -1 && U.isSelectable(o.state.doc.nodeAt(a.inside)) ? !1 : (o.dispatch(o.state.tr.setSelection(new ve(n))), !0);
14920
14920
  }
14921
14921
  function J1(o, e) {
14922
14922
  if (e.inputType != "insertCompositionText" || !(o.state.selection instanceof ve))
@@ -14928,7 +14928,7 @@ function J1(o, e) {
14928
14928
  for (let i = n.length - 1; i >= 0; i--)
14929
14929
  a = C.from(n[i].createAndFill(null, a));
14930
14930
  let s = o.state.tr.replace(t.pos, t.pos, new N(a, 0, 0));
14931
- return s.setSelection(Z.near(s.doc.resolve(t.pos + 1))), o.dispatch(s), !1;
14931
+ return s.setSelection(X.near(s.doc.resolve(t.pos + 1))), o.dispatch(s), !1;
14932
14932
  }
14933
14933
  function Y1(o) {
14934
14934
  if (!(o.selection instanceof ve))
@@ -15448,10 +15448,10 @@ const Qd = Zd(!1, !0), eu = Zd(!0, !0), pk = Fe.create({
15448
15448
  if (r) {
15449
15449
  const { $to: p } = i.selection, c = p.end();
15450
15450
  if (p.nodeAfter)
15451
- p.nodeAfter.isTextblock ? i.setSelection(Z.create(i.doc, p.pos + 1)) : p.nodeAfter.isBlock ? i.setSelection(W.create(i.doc, p.pos)) : i.setSelection(Z.create(i.doc, p.pos));
15451
+ p.nodeAfter.isTextblock ? i.setSelection(X.create(i.doc, p.pos + 1)) : p.nodeAfter.isBlock ? i.setSelection(U.create(i.doc, p.pos)) : i.setSelection(X.create(i.doc, p.pos));
15452
15452
  else {
15453
15453
  const m = (l = p.parent.type.contentMatch.defaultType) === null || l === void 0 ? void 0 : l.create();
15454
- m && (i.insert(c, m), i.setSelection(Z.create(i.doc, c + 1)));
15454
+ m && (i.insert(c, m), i.setSelection(X.create(i.doc, c + 1)));
15455
15455
  }
15456
15456
  i.scrollIntoView();
15457
15457
  }
@@ -15824,11 +15824,11 @@ function xk({ pluginKey: o = Ck, editor: e, char: t = "@", allowSpaces: n = !1,
15824
15824
  view() {
15825
15825
  return {
15826
15826
  update: async (h, j) => {
15827
- var w, S, b, T, _, P, U;
15828
- const E = (w = this.key) === null || w === void 0 ? void 0 : w.getState(j), V = (S = this.key) === null || S === void 0 ? void 0 : S.getState(h.state), ee = E.active && V.active && E.range.from !== V.range.from, ie = !E.active && V.active, R = E.active && !V.active, Y = !ie && !R && E.query !== V.query, K = ie || ee && Y, pe = Y || ee, v = R || ee && Y;
15829
- if (!K && !pe && !v)
15827
+ var w, S, b, T, _, P, K;
15828
+ const E = (w = this.key) === null || w === void 0 ? void 0 : w.getState(j), q = (S = this.key) === null || S === void 0 ? void 0 : S.getState(h.state), Q = E.active && q.active && E.range.from !== q.range.from, R = !E.active && q.active, H = E.active && !q.active, ee = !R && !H && E.query !== q.query, ie = R || Q && ee, pe = ee || Q, v = H || Q && ee;
15829
+ if (!ie && !pe && !v)
15830
15830
  return;
15831
- const y = v && !K ? E : V, F = h.dom.querySelector(`[data-decoration-id="${y.decorationId}"]`);
15831
+ const y = v && !ie ? E : q, F = h.dom.querySelector(`[data-decoration-id="${y.decorationId}"]`);
15832
15832
  u = {
15833
15833
  editor: e,
15834
15834
  range: y.range,
@@ -15848,10 +15848,10 @@ function xk({ pluginKey: o = Ck, editor: e, char: t = "@", allowSpaces: n = !1,
15848
15848
  const { decorationId: G } = (B = this.key) === null || B === void 0 ? void 0 : B.getState(e.state), se = h.dom.querySelector(`[data-decoration-id="${G}"]`);
15849
15849
  return (se == null ? void 0 : se.getBoundingClientRect()) || null;
15850
15850
  } : null
15851
- }, K && ((b = g == null ? void 0 : g.onBeforeStart) === null || b === void 0 || b.call(g, u)), pe && ((T = g == null ? void 0 : g.onBeforeUpdate) === null || T === void 0 || T.call(g, u)), (pe || K) && (u.items = await p({
15851
+ }, ie && ((b = g == null ? void 0 : g.onBeforeStart) === null || b === void 0 || b.call(g, u)), pe && ((T = g == null ? void 0 : g.onBeforeUpdate) === null || T === void 0 || T.call(g, u)), (pe || ie) && (u.items = await p({
15852
15852
  editor: e,
15853
15853
  query: y.query
15854
- })), v && ((_ = g == null ? void 0 : g.onExit) === null || _ === void 0 || _.call(g, u)), pe && ((P = g == null ? void 0 : g.onUpdate) === null || P === void 0 || P.call(g, u)), K && ((U = g == null ? void 0 : g.onStart) === null || U === void 0 || U.call(g, u));
15854
+ })), v && ((_ = g == null ? void 0 : g.onExit) === null || _ === void 0 || _.call(g, u)), pe && ((P = g == null ? void 0 : g.onUpdate) === null || P === void 0 || P.call(g, u)), ie && ((K = g == null ? void 0 : g.onStart) === null || K === void 0 || K.call(g, u));
15855
15855
  },
15856
15856
  destroy: () => {
15857
15857
  var h;
@@ -15875,22 +15875,22 @@ function xk({ pluginKey: o = Ck, editor: e, char: t = "@", allowSpaces: n = !1,
15875
15875
  },
15876
15876
  // Apply changes to the plugin state from a view transaction.
15877
15877
  apply(h, j, w, S) {
15878
- const { isEditable: b } = e, { composing: T } = e.view, { selection: _ } = h, { empty: P, from: U } = _, E = { ...j };
15878
+ const { isEditable: b } = e, { composing: T } = e.view, { selection: _ } = h, { empty: P, from: K } = _, E = { ...j };
15879
15879
  if (E.composing = T, b && (P || e.view.composing)) {
15880
- (U < j.range.from || U > j.range.to) && !T && !j.composing && (E.active = !1);
15881
- const V = d({
15880
+ (K < j.range.from || K > j.range.to) && !T && !j.composing && (E.active = !1);
15881
+ const q = d({
15882
15882
  char: t,
15883
15883
  allowSpaces: n,
15884
15884
  allowedPrefixes: a,
15885
15885
  startOfLine: s,
15886
15886
  $position: _.$from
15887
- }), ee = `id_${Math.floor(Math.random() * 4294967295)}`;
15888
- V && m({
15887
+ }), Q = `id_${Math.floor(Math.random() * 4294967295)}`;
15888
+ q && m({
15889
15889
  editor: e,
15890
15890
  state: S,
15891
- range: V.range,
15891
+ range: q.range,
15892
15892
  isActive: j.active
15893
- }) ? (E.active = !0, E.decorationId = j.decorationId ? j.decorationId : ee, E.range = V.range, E.query = V.query, E.text = V.text) : E.active = !1;
15893
+ }) ? (E.active = !0, E.decorationId = j.decorationId ? j.decorationId : Q, E.range = q.range, E.query = q.query, E.text = q.text) : E.active = !1;
15894
15894
  } else
15895
15895
  E.active = !1;
15896
15896
  return E.active || (E.decorationId = null, E.range = { from: 0, to: 0 }, E.query = null, E.text = null), E;
@@ -16051,18 +16051,18 @@ const Tk = new we("emojiSuggestion"), Nk = /:([a-zA-Z0-9_+-]+):$/, Bk = /:([a-zA
16051
16051
  const s = e.items[a];
16052
16052
  s && e.command({ name: s.name });
16053
16053
  };
16054
- return (a, s) => (q(), J("div", Lk, [
16055
- (q(!0), J(mn, null, pa(a.items, (i, r) => (q(), J("button", {
16054
+ return (a, s) => (W(), J("div", Lk, [
16055
+ (W(!0), J(mn, null, pa(a.items, (i, r) => (W(), J("button", {
16056
16056
  class: So({ "is-selected": r === t.value }),
16057
16057
  key: r,
16058
16058
  onClick: (l) => n(r)
16059
16059
  }, [
16060
- i.fallbackImage ? (q(), J("img", {
16060
+ i.fallbackImage ? (W(), J("img", {
16061
16061
  key: 0,
16062
16062
  src: i.fallbackImage,
16063
16063
  align: "absmiddle",
16064
16064
  alt: ""
16065
- }, null, 8, zk)) : (q(), J(mn, { key: 1 }, [
16065
+ }, null, 8, zk)) : (W(), J(mn, { key: 1 }, [
16066
16066
  Vn(Le(i.emoji), 1)
16067
16067
  ], 64)),
16068
16068
  Vn(" :" + Le(i.name) + ": ", 1)
@@ -16788,9 +16788,9 @@ https://github.com/highlightjs/highlight.js/issues/2277`), G = v, B = y), F ===
16788
16788
  code: B,
16789
16789
  language: G
16790
16790
  };
16791
- K("before:highlight", se);
16791
+ ie("before:highlight", se);
16792
16792
  const ge = se.result ? se.result : m(se.language, se.code, F);
16793
- return ge.code = se.code, K("after:highlight", ge), ge;
16793
+ return ge.code = se.code, ie("after:highlight", ge), ge;
16794
16794
  }
16795
16795
  function m(v, y, F, B) {
16796
16796
  const G = /* @__PURE__ */ Object.create(null);
@@ -16799,18 +16799,18 @@ https://github.com/highlightjs/highlight.js/issues/2277`), G = v, B = y), F ===
16799
16799
  }
16800
16800
  function ge() {
16801
16801
  if (!M.keywords) {
16802
- Q.addText(H);
16802
+ Z.addText(V);
16803
16803
  return;
16804
16804
  }
16805
16805
  let k = 0;
16806
16806
  M.keywordPatternRe.lastIndex = 0;
16807
- let I = M.keywordPatternRe.exec(H), O = "";
16807
+ let I = M.keywordPatternRe.exec(V), O = "";
16808
16808
  for (; I; ) {
16809
- O += H.substring(k, I.index);
16809
+ O += V.substring(k, I.index);
16810
16810
  const z = de.case_insensitive ? I[0].toLowerCase() : I[0], re = se(M, z);
16811
16811
  if (re) {
16812
16812
  const [ye, Cn] = re;
16813
- if (Q.addText(O), O = "", G[z] = (G[z] || 0) + 1, G[z] <= By && (Oe += Cn), ye.startsWith("_"))
16813
+ if (Z.addText(O), O = "", G[z] = (G[z] || 0) + 1, G[z] <= By && (Oe += Cn), ye.startsWith("_"))
16814
16814
  O += I[0];
16815
16815
  else {
16816
16816
  const D = de.classNameAliases[ye] || ye;
@@ -16818,29 +16818,29 @@ https://github.com/highlightjs/highlight.js/issues/2277`), G = v, B = y), F ===
16818
16818
  }
16819
16819
  } else
16820
16820
  O += I[0];
16821
- k = M.keywordPatternRe.lastIndex, I = M.keywordPatternRe.exec(H);
16821
+ k = M.keywordPatternRe.lastIndex, I = M.keywordPatternRe.exec(V);
16822
16822
  }
16823
- O += H.substring(k), Q.addText(O);
16823
+ O += V.substring(k), Z.addText(O);
16824
16824
  }
16825
16825
  function Ie() {
16826
- if (H === "") return;
16826
+ if (V === "") return;
16827
16827
  let k = null;
16828
16828
  if (typeof M.subLanguage == "string") {
16829
16829
  if (!e[M.subLanguage]) {
16830
- Q.addText(H);
16830
+ Z.addText(V);
16831
16831
  return;
16832
16832
  }
16833
- k = m(M.subLanguage, H, !0, Ve[M.subLanguage]), Ve[M.subLanguage] = /** @type {CompiledMode} */
16833
+ k = m(M.subLanguage, V, !0, Ve[M.subLanguage]), Ve[M.subLanguage] = /** @type {CompiledMode} */
16834
16834
  k._top;
16835
16835
  } else
16836
- k = u(H, M.subLanguage.length ? M.subLanguage : null);
16837
- M.relevance > 0 && (Oe += k.relevance), Q.__addSublanguage(k._emitter, k.language);
16836
+ k = u(V, M.subLanguage.length ? M.subLanguage : null);
16837
+ M.relevance > 0 && (Oe += k.relevance), Z.__addSublanguage(k._emitter, k.language);
16838
16838
  }
16839
16839
  function ne() {
16840
- M.subLanguage != null ? Ie() : ge(), H = "";
16840
+ M.subLanguage != null ? Ie() : ge(), V = "";
16841
16841
  }
16842
16842
  function ce(k, I) {
16843
- k !== "" && (Q.startScope(I), Q.addText(k), Q.endScope());
16843
+ k !== "" && (Z.startScope(I), Z.addText(k), Z.endScope());
16844
16844
  }
16845
16845
  function st(k, I) {
16846
16846
  let O = 1;
@@ -16851,11 +16851,11 @@ https://github.com/highlightjs/highlight.js/issues/2277`), G = v, B = y), F ===
16851
16851
  continue;
16852
16852
  }
16853
16853
  const re = de.classNameAliases[k[O]] || k[O], ye = I[O];
16854
- re ? ce(ye, re) : (H = ye, ge(), H = ""), O++;
16854
+ re ? ce(ye, re) : (V = ye, ge(), V = ""), O++;
16855
16855
  }
16856
16856
  }
16857
16857
  function He(k, I) {
16858
- return k.scope && typeof k.scope == "string" && Q.openNode(de.classNameAliases[k.scope] || k.scope), k.beginScope && (k.beginScope._wrap ? (ce(H, de.classNameAliases[k.beginScope._wrap] || k.beginScope._wrap), H = "") : k.beginScope._multi && (st(k.beginScope, I), H = "")), M = Object.create(k, { parent: { value: M } }), M;
16858
+ return k.scope && typeof k.scope == "string" && Z.openNode(de.classNameAliases[k.scope] || k.scope), k.beginScope && (k.beginScope._wrap ? (ce(V, de.classNameAliases[k.beginScope._wrap] || k.beginScope._wrap), V = "") : k.beginScope._multi && (st(k.beginScope, I), V = "")), M = Object.create(k, { parent: { value: M } }), M;
16859
16859
  }
16860
16860
  function it(k, I, O) {
16861
16861
  let z = Zk(k.endRe, O);
@@ -16874,23 +16874,23 @@ https://github.com/highlightjs/highlight.js/issues/2277`), G = v, B = y), F ===
16874
16874
  return it(k.parent, I, O);
16875
16875
  }
16876
16876
  function rt(k) {
16877
- return M.matcher.regexIndex === 0 ? (H += k[0], 1) : (ct = !0, 0);
16877
+ return M.matcher.regexIndex === 0 ? (V += k[0], 1) : (ct = !0, 0);
16878
16878
  }
16879
16879
  function Et(k) {
16880
16880
  const I = k[0], O = k.rule, z = new sc(O), re = [O.__beforeBegin, O["on:begin"]];
16881
16881
  for (const ye of re)
16882
16882
  if (ye && (ye(k, z), z.isMatchIgnored))
16883
16883
  return rt(I);
16884
- return O.skip ? H += I : (O.excludeBegin && (H += I), ne(), !O.returnBegin && !O.excludeBegin && (H = I)), He(O, k), O.returnBegin ? 0 : I.length;
16884
+ return O.skip ? V += I : (O.excludeBegin && (V += I), ne(), !O.returnBegin && !O.excludeBegin && (V = I)), He(O, k), O.returnBegin ? 0 : I.length;
16885
16885
  }
16886
16886
  function Zt(k) {
16887
16887
  const I = k[0], O = y.substring(k.index), z = it(M, k, O);
16888
16888
  if (!z)
16889
16889
  return mc;
16890
16890
  const re = M;
16891
- M.endScope && M.endScope._wrap ? (ne(), ce(I, M.endScope._wrap)) : M.endScope && M.endScope._multi ? (ne(), st(M.endScope, k)) : re.skip ? H += I : (re.returnEnd || re.excludeEnd || (H += I), ne(), re.excludeEnd && (H = I));
16891
+ M.endScope && M.endScope._wrap ? (ne(), ce(I, M.endScope._wrap)) : M.endScope && M.endScope._multi ? (ne(), st(M.endScope, k)) : re.skip ? V += I : (re.returnEnd || re.excludeEnd || (V += I), ne(), re.excludeEnd && (V = I));
16892
16892
  do
16893
- M.scope && Q.closeNode(), !M.skip && !M.subLanguage && (Oe += M.relevance), M = M.parent;
16893
+ M.scope && Z.closeNode(), !M.skip && !M.subLanguage && (Oe += M.relevance), M = M.parent;
16894
16894
  while (M !== z.parent);
16895
16895
  return z.starts && He(z.starts, k), re.returnEnd ? 0 : I.length;
16896
16896
  }
@@ -16898,15 +16898,15 @@ https://github.com/highlightjs/highlight.js/issues/2277`), G = v, B = y), F ===
16898
16898
  const k = [];
16899
16899
  for (let I = M; I !== de; I = I.parent)
16900
16900
  I.scope && k.unshift(I.scope);
16901
- k.forEach((I) => Q.openNode(I));
16901
+ k.forEach((I) => Z.openNode(I));
16902
16902
  }
16903
16903
  let Ye = {};
16904
16904
  function Ct(k, I) {
16905
16905
  const O = I && I[0];
16906
- if (H += k, O == null)
16906
+ if (V += k, O == null)
16907
16907
  return ne(), 0;
16908
16908
  if (Ye.type === "begin" && I.type === "end" && Ye.index === I.index && O === "") {
16909
- if (H += y.slice(I.index, I.index + 1), !a) {
16909
+ if (V += y.slice(I.index, I.index + 1), !a) {
16910
16910
  const z = new Error(`0 width match regex (${v})`);
16911
16911
  throw z.languageName = v, z.badRule = Ye.rule, z;
16912
16912
  }
@@ -16926,19 +16926,19 @@ https://github.com/highlightjs/highlight.js/issues/2277`), G = v, B = y), F ===
16926
16926
  return 1;
16927
16927
  if (pt > 1e5 && pt > I.index * 3)
16928
16928
  throw new Error("potential infinite loop, way more iterations than matches");
16929
- return H += O, O.length;
16929
+ return V += O, O.length;
16930
16930
  }
16931
16931
  const de = E(v);
16932
16932
  if (!de)
16933
16933
  throw Bo(s.replace("{}", v)), new Error('Unknown language: "' + v + '"');
16934
16934
  const $t = Oy(de);
16935
16935
  let lt = "", M = B || $t;
16936
- const Ve = {}, Q = new r.__emitter(r);
16936
+ const Ve = {}, Z = new r.__emitter(r);
16937
16937
  zt();
16938
- let H = "", Oe = 0, ke = 0, pt = 0, ct = !1;
16938
+ let V = "", Oe = 0, ke = 0, pt = 0, ct = !1;
16939
16939
  try {
16940
16940
  if (de.__emitTokens)
16941
- de.__emitTokens(y, Q);
16941
+ de.__emitTokens(y, Z);
16942
16942
  else {
16943
16943
  for (M.matcher.considerAll(); ; ) {
16944
16944
  pt++, ct ? ct = !1 : M.matcher.considerAll(), M.matcher.lastIndex = ke;
@@ -16949,12 +16949,12 @@ https://github.com/highlightjs/highlight.js/issues/2277`), G = v, B = y), F ===
16949
16949
  }
16950
16950
  Ct(y.substring(ke));
16951
16951
  }
16952
- return Q.finalize(), lt = Q.toHTML(), {
16952
+ return Z.finalize(), lt = Z.toHTML(), {
16953
16953
  language: v,
16954
16954
  value: lt,
16955
16955
  relevance: Oe,
16956
16956
  illegal: !1,
16957
- _emitter: Q,
16957
+ _emitter: Z,
16958
16958
  _top: M
16959
16959
  };
16960
16960
  } catch (k) {
@@ -16971,7 +16971,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), G = v, B = y), F ===
16971
16971
  mode: k.mode,
16972
16972
  resultSoFar: lt
16973
16973
  },
16974
- _emitter: Q
16974
+ _emitter: Z
16975
16975
  };
16976
16976
  if (a)
16977
16977
  return {
@@ -16980,7 +16980,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), G = v, B = y), F ===
16980
16980
  illegal: !1,
16981
16981
  relevance: 0,
16982
16982
  errorRaised: k,
16983
- _emitter: Q,
16983
+ _emitter: Z,
16984
16984
  _top: M
16985
16985
  };
16986
16986
  throw k;
@@ -16998,7 +16998,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), G = v, B = y), F ===
16998
16998
  }
16999
16999
  function u(v, y) {
17000
17000
  y = y || r.languages || Object.keys(e);
17001
- const F = d(v), B = y.filter(E).filter(ee).map(
17001
+ const F = d(v), B = y.filter(E).filter(Q).map(
17002
17002
  (ne) => m(ne, v, !1)
17003
17003
  );
17004
17004
  B.unshift(F);
@@ -17022,7 +17022,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), G = v, B = y), F ===
17022
17022
  let y = null;
17023
17023
  const F = p(v);
17024
17024
  if (l(F)) return;
17025
- if (K(
17025
+ if (ie(
17026
17026
  "before:highlightElement",
17027
17027
  { el: v, language: F }
17028
17028
  ), v.dataset.highlighted) {
@@ -17044,7 +17044,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), G = v, B = y), F ===
17044
17044
  }, G.secondBest && (v.secondBest = {
17045
17045
  language: G.secondBest.language,
17046
17046
  relevance: G.secondBest.relevance
17047
- }), K("after:highlightElement", { el: v, result: G, text: B });
17047
+ }), ie("after:highlightElement", { el: v, result: G, text: B });
17048
17048
  }
17049
17049
  function h(v) {
17050
17050
  r = cc(r, v);
@@ -17078,29 +17078,29 @@ https://github.com/highlightjs/highlight.js/issues/2277`), G = v, B = y), F ===
17078
17078
  throw B;
17079
17079
  F = i;
17080
17080
  }
17081
- F.name || (F.name = v), e[v] = F, F.rawDefinition = y.bind(null, o), F.aliases && V(F.aliases, { languageName: v });
17081
+ F.name || (F.name = v), e[v] = F, F.rawDefinition = y.bind(null, o), F.aliases && q(F.aliases, { languageName: v });
17082
17082
  }
17083
17083
  function P(v) {
17084
17084
  delete e[v];
17085
17085
  for (const y of Object.keys(t))
17086
17086
  t[y] === v && delete t[y];
17087
17087
  }
17088
- function U() {
17088
+ function K() {
17089
17089
  return Object.keys(e);
17090
17090
  }
17091
17091
  function E(v) {
17092
17092
  return v = (v || "").toLowerCase(), e[v] || e[t[v]];
17093
17093
  }
17094
- function V(v, { languageName: y }) {
17094
+ function q(v, { languageName: y }) {
17095
17095
  typeof v == "string" && (v = [v]), v.forEach((F) => {
17096
17096
  t[F.toLowerCase()] = y;
17097
17097
  });
17098
17098
  }
17099
- function ee(v) {
17099
+ function Q(v) {
17100
17100
  const y = E(v);
17101
17101
  return y && !y.disableAutodetect;
17102
17102
  }
17103
- function ie(v) {
17103
+ function R(v) {
17104
17104
  v["before:highlightBlock"] && !v["before:highlightElement"] && (v["before:highlightElement"] = (y) => {
17105
17105
  v["before:highlightBlock"](
17106
17106
  Object.assign({ block: y.el }, y)
@@ -17111,14 +17111,14 @@ https://github.com/highlightjs/highlight.js/issues/2277`), G = v, B = y), F ===
17111
17111
  );
17112
17112
  });
17113
17113
  }
17114
- function R(v) {
17115
- ie(v), n.push(v);
17114
+ function H(v) {
17115
+ R(v), n.push(v);
17116
17116
  }
17117
- function Y(v) {
17117
+ function ee(v) {
17118
17118
  const y = n.indexOf(v);
17119
17119
  y !== -1 && n.splice(y, 1);
17120
17120
  }
17121
- function K(v, y) {
17121
+ function ie(v, y) {
17122
17122
  const F = v;
17123
17123
  n.forEach(function(B) {
17124
17124
  B[F] && B[F](y);
@@ -17139,13 +17139,13 @@ https://github.com/highlightjs/highlight.js/issues/2277`), G = v, B = y), F ===
17139
17139
  initHighlightingOnLoad: w,
17140
17140
  registerLanguage: _,
17141
17141
  unregisterLanguage: P,
17142
- listLanguages: U,
17142
+ listLanguages: K,
17143
17143
  getLanguage: E,
17144
- registerAliases: V,
17145
- autoDetection: ee,
17144
+ registerAliases: q,
17145
+ autoDetection: Q,
17146
17146
  inherit: cc,
17147
- addPlugin: R,
17148
- removePlugin: Y
17147
+ addPlugin: H,
17148
+ removePlugin: ee
17149
17149
  }), o.debugMode = function() {
17150
17150
  a = !1;
17151
17151
  }, o.safeMode = function() {
@@ -17947,9 +17947,9 @@ https://github.com/highlightjs/highlight.js/issues/2277`), G = v, B = y), F ===
17947
17947
  code: B,
17948
17948
  language: G
17949
17949
  };
17950
- K("before:highlight", se);
17950
+ ie("before:highlight", se);
17951
17951
  const ge = se.result ? se.result : m(se.language, se.code, F);
17952
- return ge.code = se.code, K("after:highlight", ge), ge;
17952
+ return ge.code = se.code, ie("after:highlight", ge), ge;
17953
17953
  }
17954
17954
  function m(v, y, F, B) {
17955
17955
  const G = /* @__PURE__ */ Object.create(null);
@@ -17958,18 +17958,18 @@ https://github.com/highlightjs/highlight.js/issues/2277`), G = v, B = y), F ===
17958
17958
  }
17959
17959
  function ge() {
17960
17960
  if (!M.keywords) {
17961
- Q.addText(H);
17961
+ Z.addText(V);
17962
17962
  return;
17963
17963
  }
17964
17964
  let k = 0;
17965
17965
  M.keywordPatternRe.lastIndex = 0;
17966
- let I = M.keywordPatternRe.exec(H), O = "";
17966
+ let I = M.keywordPatternRe.exec(V), O = "";
17967
17967
  for (; I; ) {
17968
- O += H.substring(k, I.index);
17968
+ O += V.substring(k, I.index);
17969
17969
  const z = de.case_insensitive ? I[0].toLowerCase() : I[0], re = se(M, z);
17970
17970
  if (re) {
17971
17971
  const [ye, Cn] = re;
17972
- if (Q.addText(O), O = "", G[z] = (G[z] || 0) + 1, G[z] <= N0 && (Oe += Cn), ye.startsWith("_"))
17972
+ if (Z.addText(O), O = "", G[z] = (G[z] || 0) + 1, G[z] <= N0 && (Oe += Cn), ye.startsWith("_"))
17973
17973
  O += I[0];
17974
17974
  else {
17975
17975
  const D = de.classNameAliases[ye] || ye;
@@ -17977,29 +17977,29 @@ https://github.com/highlightjs/highlight.js/issues/2277`), G = v, B = y), F ===
17977
17977
  }
17978
17978
  } else
17979
17979
  O += I[0];
17980
- k = M.keywordPatternRe.lastIndex, I = M.keywordPatternRe.exec(H);
17980
+ k = M.keywordPatternRe.lastIndex, I = M.keywordPatternRe.exec(V);
17981
17981
  }
17982
- O += H.substring(k), Q.addText(O);
17982
+ O += V.substring(k), Z.addText(O);
17983
17983
  }
17984
17984
  function Ie() {
17985
- if (H === "") return;
17985
+ if (V === "") return;
17986
17986
  let k = null;
17987
17987
  if (typeof M.subLanguage == "string") {
17988
17988
  if (!e[M.subLanguage]) {
17989
- Q.addText(H);
17989
+ Z.addText(V);
17990
17990
  return;
17991
17991
  }
17992
- k = m(M.subLanguage, H, !0, Ve[M.subLanguage]), Ve[M.subLanguage] = /** @type {CompiledMode} */
17992
+ k = m(M.subLanguage, V, !0, Ve[M.subLanguage]), Ve[M.subLanguage] = /** @type {CompiledMode} */
17993
17993
  k._top;
17994
17994
  } else
17995
- k = u(H, M.subLanguage.length ? M.subLanguage : null);
17996
- M.relevance > 0 && (Oe += k.relevance), Q.__addSublanguage(k._emitter, k.language);
17995
+ k = u(V, M.subLanguage.length ? M.subLanguage : null);
17996
+ M.relevance > 0 && (Oe += k.relevance), Z.__addSublanguage(k._emitter, k.language);
17997
17997
  }
17998
17998
  function ne() {
17999
- M.subLanguage != null ? Ie() : ge(), H = "";
17999
+ M.subLanguage != null ? Ie() : ge(), V = "";
18000
18000
  }
18001
18001
  function ce(k, I) {
18002
- k !== "" && (Q.startScope(I), Q.addText(k), Q.endScope());
18002
+ k !== "" && (Z.startScope(I), Z.addText(k), Z.endScope());
18003
18003
  }
18004
18004
  function st(k, I) {
18005
18005
  let O = 1;
@@ -18010,11 +18010,11 @@ https://github.com/highlightjs/highlight.js/issues/2277`), G = v, B = y), F ===
18010
18010
  continue;
18011
18011
  }
18012
18012
  const re = de.classNameAliases[k[O]] || k[O], ye = I[O];
18013
- re ? ce(ye, re) : (H = ye, ge(), H = ""), O++;
18013
+ re ? ce(ye, re) : (V = ye, ge(), V = ""), O++;
18014
18014
  }
18015
18015
  }
18016
18016
  function He(k, I) {
18017
- return k.scope && typeof k.scope == "string" && Q.openNode(de.classNameAliases[k.scope] || k.scope), k.beginScope && (k.beginScope._wrap ? (ce(H, de.classNameAliases[k.beginScope._wrap] || k.beginScope._wrap), H = "") : k.beginScope._multi && (st(k.beginScope, I), H = "")), M = Object.create(k, { parent: { value: M } }), M;
18017
+ return k.scope && typeof k.scope == "string" && Z.openNode(de.classNameAliases[k.scope] || k.scope), k.beginScope && (k.beginScope._wrap ? (ce(V, de.classNameAliases[k.beginScope._wrap] || k.beginScope._wrap), V = "") : k.beginScope._multi && (st(k.beginScope, I), V = "")), M = Object.create(k, { parent: { value: M } }), M;
18018
18018
  }
18019
18019
  function it(k, I, O) {
18020
18020
  let z = Xy(k.endRe, O);
@@ -18033,23 +18033,23 @@ https://github.com/highlightjs/highlight.js/issues/2277`), G = v, B = y), F ===
18033
18033
  return it(k.parent, I, O);
18034
18034
  }
18035
18035
  function rt(k) {
18036
- return M.matcher.regexIndex === 0 ? (H += k[0], 1) : (ct = !0, 0);
18036
+ return M.matcher.regexIndex === 0 ? (V += k[0], 1) : (ct = !0, 0);
18037
18037
  }
18038
18038
  function Et(k) {
18039
18039
  const I = k[0], O = k.rule, z = new gc(O), re = [O.__beforeBegin, O["on:begin"]];
18040
18040
  for (const ye of re)
18041
18041
  if (ye && (ye(k, z), z.isMatchIgnored))
18042
18042
  return rt(I);
18043
- return O.skip ? H += I : (O.excludeBegin && (H += I), ne(), !O.returnBegin && !O.excludeBegin && (H = I)), He(O, k), O.returnBegin ? 0 : I.length;
18043
+ return O.skip ? V += I : (O.excludeBegin && (V += I), ne(), !O.returnBegin && !O.excludeBegin && (V = I)), He(O, k), O.returnBegin ? 0 : I.length;
18044
18044
  }
18045
18045
  function Zt(k) {
18046
18046
  const I = k[0], O = y.substring(k.index), z = it(M, k, O);
18047
18047
  if (!z)
18048
18048
  return kc;
18049
18049
  const re = M;
18050
- M.endScope && M.endScope._wrap ? (ne(), ce(I, M.endScope._wrap)) : M.endScope && M.endScope._multi ? (ne(), st(M.endScope, k)) : re.skip ? H += I : (re.returnEnd || re.excludeEnd || (H += I), ne(), re.excludeEnd && (H = I));
18050
+ M.endScope && M.endScope._wrap ? (ne(), ce(I, M.endScope._wrap)) : M.endScope && M.endScope._multi ? (ne(), st(M.endScope, k)) : re.skip ? V += I : (re.returnEnd || re.excludeEnd || (V += I), ne(), re.excludeEnd && (V = I));
18051
18051
  do
18052
- M.scope && Q.closeNode(), !M.skip && !M.subLanguage && (Oe += M.relevance), M = M.parent;
18052
+ M.scope && Z.closeNode(), !M.skip && !M.subLanguage && (Oe += M.relevance), M = M.parent;
18053
18053
  while (M !== z.parent);
18054
18054
  return z.starts && He(z.starts, k), re.returnEnd ? 0 : I.length;
18055
18055
  }
@@ -18057,15 +18057,15 @@ https://github.com/highlightjs/highlight.js/issues/2277`), G = v, B = y), F ===
18057
18057
  const k = [];
18058
18058
  for (let I = M; I !== de; I = I.parent)
18059
18059
  I.scope && k.unshift(I.scope);
18060
- k.forEach((I) => Q.openNode(I));
18060
+ k.forEach((I) => Z.openNode(I));
18061
18061
  }
18062
18062
  let Ye = {};
18063
18063
  function Ct(k, I) {
18064
18064
  const O = I && I[0];
18065
- if (H += k, O == null)
18065
+ if (V += k, O == null)
18066
18066
  return ne(), 0;
18067
18067
  if (Ye.type === "begin" && I.type === "end" && Ye.index === I.index && O === "") {
18068
- if (H += y.slice(I.index, I.index + 1), !a) {
18068
+ if (V += y.slice(I.index, I.index + 1), !a) {
18069
18069
  const z = new Error(`0 width match regex (${v})`);
18070
18070
  throw z.languageName = v, z.badRule = Ye.rule, z;
18071
18071
  }
@@ -18085,19 +18085,19 @@ https://github.com/highlightjs/highlight.js/issues/2277`), G = v, B = y), F ===
18085
18085
  return 1;
18086
18086
  if (pt > 1e5 && pt > I.index * 3)
18087
18087
  throw new Error("potential infinite loop, way more iterations than matches");
18088
- return H += O, O.length;
18088
+ return V += O, O.length;
18089
18089
  }
18090
18090
  const de = E(v);
18091
18091
  if (!de)
18092
18092
  throw Ro(s.replace("{}", v)), new Error('Unknown language: "' + v + '"');
18093
18093
  const $t = F0(de);
18094
18094
  let lt = "", M = B || $t;
18095
- const Ve = {}, Q = new r.__emitter(r);
18095
+ const Ve = {}, Z = new r.__emitter(r);
18096
18096
  zt();
18097
- let H = "", Oe = 0, ke = 0, pt = 0, ct = !1;
18097
+ let V = "", Oe = 0, ke = 0, pt = 0, ct = !1;
18098
18098
  try {
18099
18099
  if (de.__emitTokens)
18100
- de.__emitTokens(y, Q);
18100
+ de.__emitTokens(y, Z);
18101
18101
  else {
18102
18102
  for (M.matcher.considerAll(); ; ) {
18103
18103
  pt++, ct ? ct = !1 : M.matcher.considerAll(), M.matcher.lastIndex = ke;
@@ -18108,12 +18108,12 @@ https://github.com/highlightjs/highlight.js/issues/2277`), G = v, B = y), F ===
18108
18108
  }
18109
18109
  Ct(y.substring(ke));
18110
18110
  }
18111
- return Q.finalize(), lt = Q.toHTML(), {
18111
+ return Z.finalize(), lt = Z.toHTML(), {
18112
18112
  language: v,
18113
18113
  value: lt,
18114
18114
  relevance: Oe,
18115
18115
  illegal: !1,
18116
- _emitter: Q,
18116
+ _emitter: Z,
18117
18117
  _top: M
18118
18118
  };
18119
18119
  } catch (k) {
@@ -18130,7 +18130,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), G = v, B = y), F ===
18130
18130
  mode: k.mode,
18131
18131
  resultSoFar: lt
18132
18132
  },
18133
- _emitter: Q
18133
+ _emitter: Z
18134
18134
  };
18135
18135
  if (a)
18136
18136
  return {
@@ -18139,7 +18139,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), G = v, B = y), F ===
18139
18139
  illegal: !1,
18140
18140
  relevance: 0,
18141
18141
  errorRaised: k,
18142
- _emitter: Q,
18142
+ _emitter: Z,
18143
18143
  _top: M
18144
18144
  };
18145
18145
  throw k;
@@ -18157,7 +18157,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), G = v, B = y), F ===
18157
18157
  }
18158
18158
  function u(v, y) {
18159
18159
  y = y || r.languages || Object.keys(e);
18160
- const F = d(v), B = y.filter(E).filter(ee).map(
18160
+ const F = d(v), B = y.filter(E).filter(Q).map(
18161
18161
  (ne) => m(ne, v, !1)
18162
18162
  );
18163
18163
  B.unshift(F);
@@ -18181,7 +18181,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), G = v, B = y), F ===
18181
18181
  let y = null;
18182
18182
  const F = p(v);
18183
18183
  if (l(F)) return;
18184
- if (K(
18184
+ if (ie(
18185
18185
  "before:highlightElement",
18186
18186
  { el: v, language: F }
18187
18187
  ), v.dataset.highlighted) {
@@ -18203,7 +18203,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), G = v, B = y), F ===
18203
18203
  }, G.secondBest && (v.secondBest = {
18204
18204
  language: G.secondBest.language,
18205
18205
  relevance: G.secondBest.relevance
18206
- }), K("after:highlightElement", { el: v, result: G, text: B });
18206
+ }), ie("after:highlightElement", { el: v, result: G, text: B });
18207
18207
  }
18208
18208
  function h(v) {
18209
18209
  r = jc(r, v);
@@ -18237,29 +18237,29 @@ https://github.com/highlightjs/highlight.js/issues/2277`), G = v, B = y), F ===
18237
18237
  throw B;
18238
18238
  F = i;
18239
18239
  }
18240
- F.name || (F.name = v), e[v] = F, F.rawDefinition = y.bind(null, o), F.aliases && V(F.aliases, { languageName: v });
18240
+ F.name || (F.name = v), e[v] = F, F.rawDefinition = y.bind(null, o), F.aliases && q(F.aliases, { languageName: v });
18241
18241
  }
18242
18242
  function P(v) {
18243
18243
  delete e[v];
18244
18244
  for (const y of Object.keys(t))
18245
18245
  t[y] === v && delete t[y];
18246
18246
  }
18247
- function U() {
18247
+ function K() {
18248
18248
  return Object.keys(e);
18249
18249
  }
18250
18250
  function E(v) {
18251
18251
  return v = (v || "").toLowerCase(), e[v] || e[t[v]];
18252
18252
  }
18253
- function V(v, { languageName: y }) {
18253
+ function q(v, { languageName: y }) {
18254
18254
  typeof v == "string" && (v = [v]), v.forEach((F) => {
18255
18255
  t[F.toLowerCase()] = y;
18256
18256
  });
18257
18257
  }
18258
- function ee(v) {
18258
+ function Q(v) {
18259
18259
  const y = E(v);
18260
18260
  return y && !y.disableAutodetect;
18261
18261
  }
18262
- function ie(v) {
18262
+ function R(v) {
18263
18263
  v["before:highlightBlock"] && !v["before:highlightElement"] && (v["before:highlightElement"] = (y) => {
18264
18264
  v["before:highlightBlock"](
18265
18265
  Object.assign({ block: y.el }, y)
@@ -18270,14 +18270,14 @@ https://github.com/highlightjs/highlight.js/issues/2277`), G = v, B = y), F ===
18270
18270
  );
18271
18271
  });
18272
18272
  }
18273
- function R(v) {
18274
- ie(v), n.push(v);
18273
+ function H(v) {
18274
+ R(v), n.push(v);
18275
18275
  }
18276
- function Y(v) {
18276
+ function ee(v) {
18277
18277
  const y = n.indexOf(v);
18278
18278
  y !== -1 && n.splice(y, 1);
18279
18279
  }
18280
- function K(v, y) {
18280
+ function ie(v, y) {
18281
18281
  const F = v;
18282
18282
  n.forEach(function(B) {
18283
18283
  B[F] && B[F](y);
@@ -18298,13 +18298,13 @@ https://github.com/highlightjs/highlight.js/issues/2277`), G = v, B = y), F ===
18298
18298
  initHighlightingOnLoad: w,
18299
18299
  registerLanguage: _,
18300
18300
  unregisterLanguage: P,
18301
- listLanguages: U,
18301
+ listLanguages: K,
18302
18302
  getLanguage: E,
18303
- registerAliases: V,
18304
- autoDetection: ee,
18303
+ registerAliases: q,
18304
+ autoDetection: Q,
18305
18305
  inherit: jc,
18306
- addPlugin: R,
18307
- removePlugin: Y
18306
+ addPlugin: H,
18307
+ removePlugin: ee
18308
18308
  }), o.debugMode = function() {
18309
18309
  a = !1;
18310
18310
  }, o.safeMode = function() {
@@ -19111,9 +19111,9 @@ function t6(o) {
19111
19111
  oe(b, e.numeric, T);
19112
19112
  const _ = gt(Aa), P = gt();
19113
19113
  oe(_, t, _), oe(_, n, P), oe(P, t, _), oe(P, n, P), A(S, Ft, _), A(T, Ft, _);
19114
- const U = A(l, so), E = A(p, so), V = A(E, Ft), ee = A(V, Ft);
19115
- oe(l, e.domain, r), A(l, St, w), A(l, Mt, j), oe(p, e.domain, r), A(p, St, w), A(p, Mt, j), oe(U, e.domain, _), A(U, Ft, _), oe(ee, e.domain, _), oe(ee, t, _), A(ee, Ft, _);
19116
- const ie = [
19114
+ const K = A(l, so), E = A(p, so), q = A(E, Ft), Q = A(q, Ft);
19115
+ oe(l, e.domain, r), A(l, St, w), A(l, Mt, j), oe(p, e.domain, r), A(p, St, w), A(p, Mt, j), oe(K, e.domain, _), A(K, Ft, _), oe(Q, e.domain, _), oe(Q, t, _), A(Q, Ft, _);
19116
+ const R = [
19117
19117
  [zn, $n],
19118
19118
  // {}
19119
19119
  [gs, fs],
@@ -19131,13 +19131,13 @@ function t6(o) {
19131
19131
  [Es, Cs]
19132
19132
  // <>
19133
19133
  ];
19134
- for (let R = 0; R < ie.length; R++) {
19135
- const [Y, K] = ie[R], pe = A(_, Y);
19136
- A(P, Y, pe), A(pe, K, _);
19134
+ for (let H = 0; H < R.length; H++) {
19135
+ const [ee, ie] = R[H], pe = A(_, ee);
19136
+ A(P, ee, pe), A(pe, ie, _);
19137
19137
  const v = gt(Aa);
19138
19138
  oe(pe, t, v);
19139
19139
  const y = gt();
19140
- oe(pe, n), oe(v, t, v), oe(v, n, y), oe(y, t, v), oe(y, n, y), A(v, K, _), A(y, K, _);
19140
+ oe(pe, n), oe(v, t, v), oe(v, n, y), oe(y, t, v), oe(y, n, y), A(v, ie, _), A(y, ie, _);
19141
19141
  }
19142
19142
  return A(s, ia, S), A(s, jl, e6), {
19143
19143
  start: s,
@@ -19455,7 +19455,7 @@ const d6 = Rt.create({
19455
19455
  const { from: l, to: p } = r, c = Math.min(l, p), m = Math.max(l, p);
19456
19456
  if (n < c || n > m)
19457
19457
  return;
19458
- const d = Xr(t.state, "_blank"), u = event.target, g = s.resolve(c), f = s.resolve(m), h = i.setSelection(new Z(g, f));
19458
+ const d = Xr(t.state, "_blank"), u = event.target, g = s.resolve(c), f = s.resolve(m), h = i.setSelection(new X(g, f));
19459
19459
  g6(u, d, o), t.dispatch(h);
19460
19460
  }
19461
19461
  }
@@ -19493,7 +19493,7 @@ const f6 = ["disabled"], h6 = { class: "ouo-btn__content" }, Ac = "ouo-btn--", b
19493
19493
  },
19494
19494
  setup(o) {
19495
19495
  const e = o, t = e.equilateral ? Ac + "equilateral" : "", { size: n, type: a, shape: s } = Rc(e), i = (c) => Lc(() => Ac + c.value), r = i(n), l = i(a), p = i(s);
19496
- return (c, m) => (q(), J("button", {
19496
+ return (c, m) => (W(), J("button", {
19497
19497
  class: So(["ouo-btn", ["ouo-color--" + c.color, Ze(r), Ze(l), Ze(p), Ze(t)]]),
19498
19498
  disabled: c.disabled,
19499
19499
  style: Pc(c.style)
@@ -19546,15 +19546,15 @@ const Xt = (o) => (ca("data-v-9ee55abf"), o = o(), ma(), o), v6 = {
19546
19546
  type: { default: "default" }
19547
19547
  },
19548
19548
  setup(o) {
19549
- return (e, t) => (q(), Na(Wu, { to: e.show_on }, [
19550
- e.is_show ? (q(), J("div", {
19549
+ return (e, t) => (W(), Na(Wu, { to: e.show_on }, [
19550
+ e.is_show ? (W(), J("div", {
19551
19551
  key: 0,
19552
19552
  class: So(["ouo-loading__mask", ["ouo-loading--" + e.type]])
19553
19553
  }, [
19554
- e.type === "star" ? (q(), J("div", v6, I6)) : e.type === "geometry" ? (q(), J("div", {
19554
+ e.type === "star" ? (W(), J("div", v6, I6)) : e.type === "geometry" ? (W(), J("div", {
19555
19555
  key: 1,
19556
19556
  class: So(["ouo-loading--" + e.type])
19557
- }, C6, 2)) : (q(), J("div", {
19557
+ }, C6, 2)) : (W(), J("div", {
19558
19558
  key: 2,
19559
19559
  class: So([["ouo-loading--" + e.type], "ouo-loading__animation"])
19560
19560
  }, M6, 2))
@@ -19573,7 +19573,7 @@ const O6 = { class: "ouo-checkbox cursor-pointer" }, A6 = { class: "ouo-checkbox
19573
19573
  },
19574
19574
  setup(o) {
19575
19575
  const e = Ee(o.checked);
19576
- return (t, n) => (q(), J("label", O6, [
19576
+ return (t, n) => (W(), J("label", O6, [
19577
19577
  x("span", A6, [
19578
19578
  Te(x("input", {
19579
19579
  class: "ouo-checkbox-input",
@@ -19603,7 +19603,7 @@ const L6 = { class: "ouo-tooltip" }, P6 = { class: "ouo-tooltip-text" }, z6 = /*
19603
19603
  text: { default: "" }
19604
19604
  },
19605
19605
  setup(o) {
19606
- return (e, t) => (q(), J("div", L6, [
19606
+ return (e, t) => (W(), J("div", L6, [
19607
19607
  x("span", P6, Le(e.text), 1),
19608
19608
  Vo(e.$slots, "default", {}, void 0, !0)
19609
19609
  ]));
@@ -19620,7 +19620,7 @@ const $6 = (o) => (ca("data-v-3f04c819"), o = o(), ma(), o), H6 = { class: "ouo-
19620
19620
  },
19621
19621
  setup(o) {
19622
19622
  const e = Ee(o.checked);
19623
- return (t, n) => (q(), J("label", H6, [
19623
+ return (t, n) => (W(), J("label", H6, [
19624
19624
  x("span", V6, [
19625
19625
  Te(x("input", {
19626
19626
  type: "checkbox",
@@ -19653,7 +19653,7 @@ const G6 = { class: "ouo-radio cursor-pointer" }, J6 = { class: "ouo-radio__cont
19653
19653
  },
19654
19654
  setup(o) {
19655
19655
  const e = Ee(o.checked);
19656
- return (t, n) => (q(), J("label", G6, [
19656
+ return (t, n) => (W(), J("label", G6, [
19657
19657
  x("span", J6, [
19658
19658
  Te(x("input", {
19659
19659
  type: "radio",
@@ -19687,7 +19687,7 @@ const Q6 = { class: "ouo-todo" }, e_ = ["id", "checked", "disabled", "name", "va
19687
19687
  id: { default: "ahzoo" }
19688
19688
  },
19689
19689
  setup(o) {
19690
- return (e, t) => (q(), J("div", Q6, [
19690
+ return (e, t) => (W(), J("div", Q6, [
19691
19691
  x("input", {
19692
19692
  type: "checkbox",
19693
19693
  id: e.id,
@@ -19737,7 +19737,7 @@ const Tu = (o) => (ca("data-v-edc00193"), o = o(), ma(), o), n_ = ["href", "titl
19737
19737
  },
19738
19738
  setup(o) {
19739
19739
  const e = o, { type: t } = Rc(e), n = ((a) => Lc(() => c_ + a.value))(t);
19740
- return (a, s) => (q(), J("a", {
19740
+ return (a, s) => (W(), J("a", {
19741
19741
  class: So(["ouo-link", [Ze(n)]]),
19742
19742
  href: a.href,
19743
19743
  title: a.title,
@@ -19745,7 +19745,7 @@ const Tu = (o) => (ca("data-v-edc00193"), o = o(), ma(), o), n_ = ["href", "titl
19745
19745
  rel: a.ref
19746
19746
  }, [
19747
19747
  Vo(a.$slots, "default", {}, void 0, !0),
19748
- Ze(n) === "ouo-link--circle" ? (q(), J("svg", a_, i_)) : (q(), J("svg", r_, p_))
19748
+ Ze(n) === "ouo-link--circle" ? (W(), J("svg", a_, i_)) : (W(), J("svg", r_, p_))
19749
19749
  ], 10, n_));
19750
19750
  }
19751
19751
  }), Gi = /* @__PURE__ */ Pt(m_, [["__scopeId", "data-v-edc00193"]]);
@@ -19758,7 +19758,7 @@ const d_ = { class: "ouo-progress-bar" }, u_ = { class: "tooltip" }, g_ = /* @__
19758
19758
  progress: { default: 0 }
19759
19759
  },
19760
19760
  setup(o) {
19761
- return (e, t) => (q(), J("div", d_, [
19761
+ return (e, t) => (W(), J("div", d_, [
19762
19762
  x("span", {
19763
19763
  class: "ouo-progress-per",
19764
19764
  style: Pc({ width: e.progress + "%" })
@@ -19778,8 +19778,8 @@ const f_ = { class: "ouo-skeleton" }, h_ = /* @__PURE__ */ je({
19778
19778
  },
19779
19779
  setup(o) {
19780
19780
  const e = o.rows;
19781
- return (t, n) => (q(), J("div", f_, [
19782
- (q(!0), J(mn, null, pa(Ze(e), (a) => (q(), J("div", {
19781
+ return (t, n) => (W(), J("div", f_, [
19782
+ (W(!0), J(mn, null, pa(Ze(e), (a) => (W(), J("div", {
19783
19783
  key: a,
19784
19784
  class: "ouo-skeleton-item ouo-skeleton-animate"
19785
19785
  }))), 128))
@@ -19789,18 +19789,18 @@ const f_ = { class: "ouo-skeleton" }, h_ = /* @__PURE__ */ je({
19789
19789
  Yi.install = (o) => {
19790
19790
  o.component(Yi.name, Yi);
19791
19791
  };
19792
- const Nu = (o) => (ca("data-v-6e020feb"), o = o(), ma(), o), b_ = { class: "sus-comment relative flex flex-row w-full" }, v_ = { class: "sus-comment-avatar" }, j_ = ["src"], k_ = { class: "sus-comment__main" }, y_ = { class: "sus-comment__info my-1" }, __ = { class: "sus-comment__info-input" }, D_ = {
19792
+ const Nu = (o) => (ca("data-v-9c81f3eb"), o = o(), ma(), o), b_ = { class: "sus-comment relative flex flex-row w-full" }, v_ = { class: "sus-comment-avatar" }, j_ = ["src"], k_ = { class: "sus-comment__main" }, y_ = { class: "sus-comment__info my-1" }, __ = { class: "sus-comment__info-input" }, D_ = {
19793
19793
  class: "sus-comment__info-input",
19794
19794
  "data-tippy-content": "点击昵称时可跳转"
19795
19795
  }, w_ = ["data-tippy-content"], I_ = { class: "relative" }, E_ = { class: "sus-comment__footer flex justify-between" }, C_ = { class: "flex flex-row items-center" }, x_ = {
19796
19796
  key: 0,
19797
19797
  class: "p-1"
19798
- }, S_ = /* @__PURE__ */ qs('<g fill="none" data-v-6e020feb><path stroke="currentColor" stroke-linecap="round" stroke-width="1.5" d="M9 16c.85.63 1.885 1 3 1s2.15-.37 3-1" data-v-6e020feb></path><path fill="currentColor" d="M16 10.5c0 .828-.448 1.5-1 1.5s-1-.672-1-1.5s.448-1.5 1-1.5s1 .672 1 1.5" data-v-6e020feb></path><ellipse cx="9" cy="10.5" fill="currentColor" rx="1" ry="1.5" data-v-6e020feb></ellipse><path stroke="currentColor" stroke-linecap="round" stroke-width="1.5" d="M7 3.338A9.95 9.95 0 0 1 12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12c0-1.821.487-3.53 1.338-5" data-v-6e020feb></path></g>', 1), M_ = [
19798
+ }, S_ = /* @__PURE__ */ qs('<g fill="none" data-v-9c81f3eb><path stroke="currentColor" stroke-linecap="round" stroke-width="1.5" d="M9 16c.85.63 1.885 1 3 1s2.15-.37 3-1" data-v-9c81f3eb></path><path fill="currentColor" d="M16 10.5c0 .828-.448 1.5-1 1.5s-1-.672-1-1.5s.448-1.5 1-1.5s1 .672 1 1.5" data-v-9c81f3eb></path><ellipse cx="9" cy="10.5" fill="currentColor" rx="1" ry="1.5" data-v-9c81f3eb></ellipse><path stroke="currentColor" stroke-linecap="round" stroke-width="1.5" d="M7 3.338A9.95 9.95 0 0 1 12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12c0-1.821.487-3.53 1.338-5" data-v-9c81f3eb></path></g>', 1), M_ = [
19799
19799
  S_
19800
19800
  ], F_ = {
19801
19801
  key: 1,
19802
19802
  class: "sus-upload p-1"
19803
- }, O_ = /* @__PURE__ */ qs('<label for="upload-input" data-v-6e020feb><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" data-v-6e020feb><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-width="1.5" data-v-6e020feb><path d="m2 12.5l1.752-1.533a2.3 2.3 0 0 1 3.14.105l4.29 4.29a2 2 0 0 0 2.564.222l.299-.21a3 3 0 0 1 3.731.225L21 18.5m-6-13h3.5m0 0H22m-3.5 0V9m0-3.5V2" data-v-6e020feb></path><path d="M22 12c0 4.714 0 7.071-1.465 8.535C19.072 22 16.714 22 12 22s-7.071 0-8.536-1.465C2 19.072 2 16.714 2 12c0-1.128 0-2.122.02-3M12 2C7.286 2 4.929 2 3.464 3.464c-.424.425-.726.925-.94 1.536" data-v-6e020feb></path></g></svg></label>', 1), A_ = {
19803
+ }, O_ = /* @__PURE__ */ qs('<label for="upload-input" data-v-9c81f3eb><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" data-v-9c81f3eb><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-width="1.5" data-v-9c81f3eb><path d="m2 12.5l1.752-1.533a2.3 2.3 0 0 1 3.14.105l4.29 4.29a2 2 0 0 0 2.564.222l.299-.21a3 3 0 0 1 3.731.225L21 18.5m-6-13h3.5m0 0H22m-3.5 0V9m0-3.5V2" data-v-9c81f3eb></path><path d="M22 12c0 4.714 0 7.071-1.465 8.535C19.072 22 16.714 22 12 22s-7.071 0-8.536-1.465C2 19.072 2 16.714 2 12c0-1.128 0-2.122.02-3M12 2C7.286 2 4.929 2 3.464 3.464c-.424.425-.726.925-.94 1.536" data-v-9c81f3eb></path></g></svg></label>', 1), A_ = {
19804
19804
  "data-tippy-content": "收到回复后通知",
19805
19805
  xmlns: "http://www.w3.org/2000/svg",
19806
19806
  viewBox: "0 0 24 24"
@@ -19829,7 +19829,7 @@ const Nu = (o) => (ca("data-v-6e020feb"), o = o(), ma(), o), b_ = { class: "sus-
19829
19829
  /* @__PURE__ */ x("path", { d: "M7.5 19c.655 1.748 2.422 3 4.5 3q.367 0 .72-.05M16.5 19a4.5 4.5 0 0 1-1.302 1.84M9.107 2.674A6.5 6.5 0 0 1 12 2c3.727 0 6.75 3.136 6.75 7.005v.705a4.4 4.4 0 0 0 .692 2.375l1.108 1.724c1.011 1.575.239 3.716-1.52 4.214a25.8 25.8 0 0 1-14.06 0c-1.759-.498-2.531-2.639-1.52-4.213l1.108-1.725A4.4 4.4 0 0 0 5.25 9.71v-.705c0-1.074.233-2.092.65-3.002" })
19830
19830
  ], -1)), L_ = [
19831
19831
  R_
19832
- ], P_ = { class: "sus-comment__toolbar flex" }, z_ = { class: "sus-comment__extend flex" }, $_ = ["src"], H_ = ["onClick"], V_ = /* @__PURE__ */ qs('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" data-v-6e020feb><g fill="none" stroke="currentColor" stroke-width="1.5" data-v-6e020feb><path stroke-linecap="round" d="M20.5 6h-17m6 5l.5 5m4.5-5l-.5 5" data-v-6e020feb></path><path d="M6.5 6h.11a2 2 0 0 0 1.83-1.32l.034-.103l.097-.291c.083-.249.125-.373.18-.479a1.5 1.5 0 0 1 1.094-.788C9.962 3 10.093 3 10.355 3h3.29c.262 0 .393 0 .51.019a1.5 1.5 0 0 1 1.094.788c.055.106.097.23.18.479l.097.291A2 2 0 0 0 17.5 6" data-v-6e020feb></path><path stroke-linecap="round" d="M18.374 15.4c-.177 2.654-.266 3.981-1.131 4.79s-2.195.81-4.856.81h-.774c-2.66 0-3.99 0-4.856-.81c-.865-.809-.953-2.136-1.13-4.79l-.46-6.9m13.666 0l-.2 3" data-v-6e020feb></path></g></svg>', 1), q_ = [
19832
+ ], P_ = { class: "sus-comment__toolbar flex" }, z_ = { class: "sus-comment__extend flex" }, $_ = ["src"], H_ = ["onClick"], V_ = /* @__PURE__ */ qs('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" data-v-9c81f3eb><g fill="none" stroke="currentColor" stroke-width="1.5" data-v-9c81f3eb><path stroke-linecap="round" d="M20.5 6h-17m6 5l.5 5m4.5-5l-.5 5" data-v-9c81f3eb></path><path d="M6.5 6h.11a2 2 0 0 0 1.83-1.32l.034-.103l.097-.291c.083-.249.125-.373.18-.479a1.5 1.5 0 0 1 1.094-.788C9.962 3 10.093 3 10.355 3h3.29c.262 0 .393 0 .51.019a1.5 1.5 0 0 1 1.094.788c.055.106.097.23.18.479l.097.291A2 2 0 0 0 17.5 6" data-v-9c81f3eb></path><path stroke-linecap="round" d="M18.374 15.4c-.177 2.654-.266 3.981-1.131 4.79s-2.195.81-4.856.81h-.774c-2.66 0-3.99 0-4.856-.81c-.865-.809-.953-2.136-1.13-4.79l-.46-6.9m13.666 0l-.2 3" data-v-9c81f3eb></path></g></svg>', 1), q_ = [
19833
19833
  V_
19834
19834
  ], W_ = /* @__PURE__ */ je({
19835
19835
  __name: "index",
@@ -19844,7 +19844,7 @@ const Nu = (o) => (ca("data-v-6e020feb"), o = o(), ma(), o), b_ = { class: "sus-
19844
19844
  },
19845
19845
  emits: ["on-save", "on-cancel", "add-image"],
19846
19846
  setup(o, { expose: e, emit: t }) {
19847
- var ie;
19847
+ var Q;
19848
19848
  class n {
19849
19849
  constructor() {
19850
19850
  dt(this, "articleId", "");
@@ -19865,7 +19865,7 @@ const Nu = (o) => (ca("data-v-6e020feb"), o = o(), ma(), o), b_ = { class: "sus-
19865
19865
  updateImage: b,
19866
19866
  updatePreviewImage: _
19867
19867
  });
19868
- const s = t, i = a.emojiList, r = (ie = a.reply) == null ? void 0 : ie.userName, l = Ee("在此处留下你的足迹吧!(支持markdown语法)"), p = Nc(new n()), c = Ee(""), m = Ee(""), d = Ee(!1), u = Ee(null), g = Ee([]), f = Ee(null), h = y1({
19868
+ const s = t, i = a.emojiList, r = (Q = a.reply) == null ? void 0 : Q.userName, l = Ee("在此处留下你的足迹吧!(支持markdown语法)"), p = Nc(new n()), c = Ee(""), m = Ee(""), d = Ee(!1), u = Ee(null), g = Ee([]), f = Ee(null), h = y1({
19869
19869
  extensions: [
19870
19870
  _k,
19871
19871
  wk,
@@ -19905,11 +19905,11 @@ const Nu = (o) => (ca("data-v-6e020feb"), o = o(), ma(), o), b_ = { class: "sus-
19905
19905
  }
19906
19906
  function b(R) {
19907
19907
  f.value || (f.value = []), !f.value || f.value.length == 0 ? f.value = R : f.value = T(f.value, R[0]), g.value = [];
19908
- for (let Y = 0; Y < f.value.length; Y++)
19909
- g.value.push(URL.createObjectURL(f.value[Y]));
19908
+ for (let H = 0; H < f.value.length; H++)
19909
+ g.value.push(URL.createObjectURL(f.value[H]));
19910
19910
  }
19911
- function T(R, Y) {
19912
- return [...R, Y];
19911
+ function T(R, H) {
19912
+ return [...R, H];
19913
19913
  }
19914
19914
  function _(R) {
19915
19915
  g.value = R;
@@ -19918,37 +19918,34 @@ const Nu = (o) => (ca("data-v-6e020feb"), o = o(), ma(), o), b_ = { class: "sus-
19918
19918
  var R;
19919
19919
  p.userEmail.trim().endsWith("@qq.com") && !p.userAvatar && (m.value = "https://thirdqq.qlogo.cn/g?b=sdk&nk=" + ((R = p.userEmail) == null ? void 0 : R.replace("@qq.com", "").trim()) + "&s=140");
19920
19920
  }
19921
- function U() {
19921
+ function K() {
19922
19922
  p.notify == 1 ? p.notify = 0 : p.notify = 1;
19923
19923
  }
19924
19924
  function E(R) {
19925
19925
  !h || !h.value || (h.value.chain().focus().setEmoji(R.shortcodes[0]).run(), d.value = !1);
19926
19926
  }
19927
- function V(R) {
19928
- var Y;
19927
+ function q(R) {
19928
+ var H;
19929
19929
  try {
19930
19930
  if (!f.value || !f.value.length || f.value.length <= 1) {
19931
19931
  f.value = [], g.value = [];
19932
19932
  return;
19933
19933
  }
19934
- (Y = f.value) == null || Y.splice(R, 1), g.value.splice(R, 1);
19935
- } catch (K) {
19936
- console.log(K), f.value = [], g.value = [];
19934
+ (H = f.value) == null || H.splice(R, 1), g.value.splice(R, 1);
19935
+ } catch (ee) {
19936
+ console.log(ee), f.value = [], g.value = [];
19937
19937
  }
19938
19938
  }
19939
- function ee() {
19940
- a.toolBar.showNotify || (a.toolBar.showNotify = !0), a.toolBar.showImage || (a.toolBar.showImage = !1), a.toolBar.showUserInfo || (a.toolBar.showUserInfo = !0), a.toolBar.showPrivacy || (a.toolBar.showPrivacy = !1);
19941
- }
19942
19939
  return la(() => {
19943
19940
  if (!h || !h.value)
19944
19941
  return;
19945
- const R = localStorage.getItem("user"), Y = localStorage.getItem("comment-content");
19946
- if (Y && h.value.commands.setContent(Y), R) {
19947
- const K = JSON.parse(R);
19948
- p.userName = K.userName, p.userEmail = K.userEmail, p.userWebsite = K.userWebsite, P();
19942
+ const R = localStorage.getItem("user"), H = localStorage.getItem("comment-content");
19943
+ if (H && h.value.commands.setContent(H), R) {
19944
+ const ee = JSON.parse(R);
19945
+ p.userName = ee.userName, p.userEmail = ee.userEmail, p.userWebsite = ee.userWebsite, P();
19949
19946
  }
19950
- p.notify = 1, Yt("[data-tippy-content]"), ee();
19951
- }), (R, Y) => (q(), J("div", b_, [
19947
+ p.notify = 1, Yt("[data-tippy-content]");
19948
+ }), (R, H) => (W(), J("div", b_, [
19952
19949
  Te(x("div", v_, [
19953
19950
  Te(x("img", {
19954
19951
  alt: "头像",
@@ -19970,7 +19967,7 @@ const Nu = (o) => (ca("data-v-6e020feb"), o = o(), ma(), o), b_ = { class: "sus-
19970
19967
  Te(x("input", {
19971
19968
  class: "sus-input sus-username",
19972
19969
  placeholder: "昵称(必填)",
19973
- "onUpdate:modelValue": Y[0] || (Y[0] = (K) => p.userName = K),
19970
+ "onUpdate:modelValue": H[0] || (H[0] = (ee) => p.userName = ee),
19974
19971
  maxlength: "23"
19975
19972
  }, null, 512), [
19976
19973
  [mi, p.userName]
@@ -19980,7 +19977,7 @@ const Nu = (o) => (ca("data-v-6e020feb"), o = o(), ma(), o), b_ = { class: "sus-
19980
19977
  Te(x("input", {
19981
19978
  class: "sus-input sus-web",
19982
19979
  placeholder: "网址(https://)",
19983
- "onUpdate:modelValue": Y[1] || (Y[1] = (K) => p.userWebsite = K),
19980
+ "onUpdate:modelValue": H[1] || (H[1] = (ee) => p.userWebsite = ee),
19984
19981
  maxlength: "35"
19985
19982
  }, null, 512), [
19986
19983
  [mi, p.userWebsite]
@@ -19994,7 +19991,7 @@ const Nu = (o) => (ca("data-v-6e020feb"), o = o(), ma(), o), b_ = { class: "sus-
19994
19991
  onBlur: P,
19995
19992
  class: "sus-input sus-email",
19996
19993
  placeholder: "邮箱(不会公开,仅用于通知回复)",
19997
- "onUpdate:modelValue": Y[2] || (Y[2] = (K) => p.userEmail = K),
19994
+ "onUpdate:modelValue": H[2] || (H[2] = (ee) => p.userEmail = ee),
19998
19995
  maxlength: "35"
19999
19996
  }, null, 544), [
20000
19997
  [mi, p.userEmail]
@@ -20018,14 +20015,14 @@ const Nu = (o) => (ca("data-v-6e020feb"), o = o(), ma(), o), b_ = { class: "sus-
20018
20015
  ]),
20019
20016
  x("div", E_, [
20020
20017
  x("div", C_, [
20021
- Ze(i).length >= 0 ? (q(), J("div", x_, [
20022
- (q(), J("svg", {
20023
- onClick: Y[3] || (Y[3] = (K) => d.value = !d.value),
20018
+ Ze(i).length >= 0 ? (W(), J("div", x_, [
20019
+ (W(), J("svg", {
20020
+ onClick: H[3] || (H[3] = (ee) => d.value = !d.value),
20024
20021
  xmlns: "http://www.w3.org/2000/svg",
20025
20022
  viewBox: "0 0 24 24"
20026
20023
  }, M_))
20027
20024
  ])) : We("", !0),
20028
- R.toolBar.showImage ? (q(), J("div", F_, [
20025
+ R.toolBar.showImage ? (W(), J("div", F_, [
20029
20026
  x("input", {
20030
20027
  ref_key: "imgRef",
20031
20028
  ref: u,
@@ -20037,15 +20034,15 @@ const Nu = (o) => (ca("data-v-6e020feb"), o = o(), ma(), o), b_ = { class: "sus-
20037
20034
  }, null, 544),
20038
20035
  O_
20039
20036
  ])) : We("", !0),
20040
- R.toolBar.showNotify ? (q(), J("div", {
20037
+ R.toolBar.showNotify ? (W(), J("div", {
20041
20038
  key: 2,
20042
- onClick: U,
20039
+ onClick: K,
20043
20040
  class: "p-1"
20044
20041
  }, [
20045
- Te((q(), J("svg", A_, N_, 512)), [
20042
+ Te((W(), J("svg", A_, N_, 512)), [
20046
20043
  [_t, p.notify === 1]
20047
20044
  ]),
20048
- Te((q(), J("svg", B_, L_, 512)), [
20045
+ Te((W(), J("svg", B_, L_, 512)), [
20049
20046
  [_t, p.notify !== 1]
20050
20047
  ])
20051
20048
  ])) : We("", !0)
@@ -20064,7 +20061,7 @@ const Nu = (o) => (ca("data-v-6e020feb"), o = o(), ma(), o), b_ = { class: "sus-
20064
20061
  x("div", P_, [
20065
20062
  Te(Ba(Ze(Wa), {
20066
20063
  modelValue: p.privacy,
20067
- "onUpdate:modelValue": Y[4] || (Y[4] = (K) => p.privacy = K)
20064
+ "onUpdate:modelValue": H[4] || (H[4] = (ee) => p.privacy = ee)
20068
20065
  }, {
20069
20066
  default: Ku(() => [
20070
20067
  Vn("仅博主可见 ")
@@ -20075,17 +20072,17 @@ const Nu = (o) => (ca("data-v-6e020feb"), o = o(), ma(), o), b_ = { class: "sus-
20075
20072
  ])
20076
20073
  ]),
20077
20074
  x("div", z_, [
20078
- (q(!0), J(mn, null, pa(g.value, (K, pe) => (q(), J("div", {
20075
+ (W(!0), J(mn, null, pa(g.value, (ee, ie) => (W(), J("div", {
20079
20076
  class: "sus-comment__extend-img relative",
20080
- key: K
20077
+ key: ee
20081
20078
  }, [
20082
20079
  x("img", {
20083
20080
  class: "img-item",
20084
- src: K,
20081
+ src: ee,
20085
20082
  alt: ""
20086
20083
  }, null, 8, $_),
20087
20084
  x("div", {
20088
- onClick: (v) => V(pe),
20085
+ onClick: (pe) => q(ie),
20089
20086
  class: "mask"
20090
20087
  }, q_, 8, H_)
20091
20088
  ]))), 128))
@@ -20093,7 +20090,7 @@ const Nu = (o) => (ca("data-v-6e020feb"), o = o(), ma(), o), b_ = { class: "sus-
20093
20090
  ])
20094
20091
  ]));
20095
20092
  }
20096
- }), U_ = /* @__PURE__ */ En(W_, [["__scopeId", "data-v-6e020feb"]]);
20093
+ }), U_ = /* @__PURE__ */ En(W_, [["__scopeId", "data-v-9c81f3eb"]]);
20097
20094
  function K_(o) {
20098
20095
  const e = new Date(o), t = e.getFullYear(), n = e.getMonth() + 1, a = e.getDate(), s = /* @__PURE__ */ new Date(), i = s.getFullYear(), r = s.getMonth() + 1, l = s.getDate();
20099
20096
  if (i === t && r == n) {
@@ -20179,7 +20176,7 @@ const Il = (o) => (ca("data-v-6afba7b6"), o = o(), ma(), o), G_ = { class: "sus-
20179
20176
  }
20180
20177
  return la(() => {
20181
20178
  c(), l();
20182
- }), (d, u) => (q(), J("div", G_, [
20179
+ }), (d, u) => (W(), J("div", G_, [
20183
20180
  x("div", J_, [
20184
20181
  Te(x("span", {
20185
20182
  onClick: p,
@@ -20211,24 +20208,24 @@ const Il = (o) => (ca("data-v-6afba7b6"), o = o(), ma(), o), G_ = { class: "sus-
20211
20208
  href: d.comment.userWebsite,
20212
20209
  class: So([d.comment.tagName, "sus-item__user-name font-semibold ml-1 cursor-pointer"])
20213
20210
  }, Le(d.comment.userName), 11, o4),
20214
- d.comment.tagName === "owner" ? (q(), J("span", n4, " 博主 ")) : We("", !0),
20215
- d.comment.replyName ? (q(), J("span", a4, "@" + Le(d.comment.replyName), 1)) : We("", !0),
20211
+ d.comment.tagName === "owner" ? (W(), J("span", n4, " 博主 ")) : We("", !0),
20212
+ d.comment.replyName ? (W(), J("span", a4, "@" + Le(d.comment.replyName), 1)) : We("", !0),
20216
20213
  x("span", s4, Le(Ze(K_)(d.comment.createdDate)), 1)
20217
20214
  ]),
20218
- d.comment.privacy ? (q(), J("div", i4, [
20215
+ d.comment.privacy ? (W(), J("div", i4, [
20219
20216
  r4,
20220
20217
  x("span", {
20221
20218
  class: "sus-item-privacy-text",
20222
20219
  innerHTML: d.comment.content
20223
20220
  }, null, 8, l4)
20224
- ])) : (q(), J("div", p4, [
20221
+ ])) : (W(), J("div", p4, [
20225
20222
  x("span", {
20226
20223
  ref_key: "contentDom",
20227
20224
  ref: n,
20228
20225
  class: "sus-item__content-text",
20229
20226
  innerHTML: d.comment.content + (d.comment.contentExtends || "")
20230
20227
  }, null, 8, c4),
20231
- s.value ? (q(), J("a", {
20228
+ s.value ? (W(), J("a", {
20232
20229
  key: 0,
20233
20230
  ref_key: "showMoreDom",
20234
20231
  ref: a,
@@ -20238,7 +20235,7 @@ const Il = (o) => (ca("data-v-6afba7b6"), o = o(), ma(), o), G_ = { class: "sus-
20238
20235
  ]))
20239
20236
  ])
20240
20237
  ]),
20241
- d.showFooter && d.comment.area && !d.comment.privacy ? (q(), J("div", m4, [
20238
+ d.showFooter && d.comment.area && !d.comment.privacy ? (W(), J("div", m4, [
20242
20239
  x("span", d4, [
20243
20240
  u4,
20244
20241
  Vn(" " + Le(d.comment.area), 1)
@@ -20268,7 +20265,7 @@ const Il = (o) => (ca("data-v-6afba7b6"), o = o(), ma(), o), G_ = { class: "sus-
20268
20265
  }
20269
20266
  return (s, i) => {
20270
20267
  var r, l, p;
20271
- return q(), J("div", b4, [
20268
+ return W(), J("div", b4, [
20272
20269
  Ba(Ta, {
20273
20270
  comment: s.comment,
20274
20271
  onOnReply: i[0] || (i[0] = (c) => a(s.comment)),
@@ -20276,7 +20273,7 @@ const Il = (o) => (ca("data-v-6afba7b6"), o = o(), ma(), o), G_ = { class: "sus-
20276
20273
  showFooter: s.showFooter
20277
20274
  }, null, 8, ["comment", "lineHeight", "showFooter"]),
20278
20275
  x("div", v4, [
20279
- ((r = s.comment.child) == null ? void 0 : r.length) > 0 ? (q(), Na(Ta, {
20276
+ ((r = s.comment.child) == null ? void 0 : r.length) > 0 ? (W(), Na(Ta, {
20280
20277
  key: 0,
20281
20278
  onOnReply: i[1] || (i[1] = (c) => a(s.comment.child[0])),
20282
20279
  comment: s.comment.child[0],
@@ -20285,7 +20282,7 @@ const Il = (o) => (ca("data-v-6afba7b6"), o = o(), ma(), o), G_ = { class: "sus-
20285
20282
  lineHeight: s.lineHeight,
20286
20283
  class: "sus-comment__item-child__item"
20287
20284
  }, null, 8, ["comment", "showFooter", "lineHeight"])) : We("", !0),
20288
- ((l = s.comment.child) == null ? void 0 : l.length) > 1 ? (q(), Na(Ta, {
20285
+ ((l = s.comment.child) == null ? void 0 : l.length) > 1 ? (W(), Na(Ta, {
20289
20286
  key: 1,
20290
20287
  onOnReply: i[2] || (i[2] = (c) => a(s.comment.child[1])),
20291
20288
  comment: s.comment.child[1],
@@ -20294,14 +20291,14 @@ const Il = (o) => (ca("data-v-6afba7b6"), o = o(), ma(), o), G_ = { class: "sus-
20294
20291
  lineHeight: s.lineHeight,
20295
20292
  class: "sus-comment__item-child__item"
20296
20293
  }, null, 8, ["comment", "showFooter", "lineHeight"])) : We("", !0),
20297
- ((p = s.comment.child) == null ? void 0 : p.length) > 2 ? (q(), J("div", j4, [
20298
- t.value ? We("", !0) : (q(), J("div", k4, [
20294
+ ((p = s.comment.child) == null ? void 0 : p.length) > 2 ? (W(), J("div", j4, [
20295
+ t.value ? We("", !0) : (W(), J("div", k4, [
20299
20296
  x("p", {
20300
20297
  class: "sus-load-more",
20301
20298
  onClick: i[3] || (i[3] = (c) => t.value = !0)
20302
20299
  }, " 查看更多回复 > ")
20303
20300
  ])),
20304
- t.value ? (q(!0), J(mn, { key: 1 }, pa(s.comment.child.slice(2), (c, m) => (q(), Na(Ta, {
20301
+ t.value ? (W(!0), J(mn, { key: 1 }, pa(s.comment.child.slice(2), (c, m) => (W(), Na(Ta, {
20305
20302
  onOnReply: (d) => a(c),
20306
20303
  key: m,
20307
20304
  comment: c,
@@ -20324,10 +20321,10 @@ const Il = (o) => (ca("data-v-6afba7b6"), o = o(), ma(), o), G_ = { class: "sus-
20324
20321
  comment: {}
20325
20322
  },
20326
20323
  setup(o) {
20327
- return (e, t) => (q(), J("div", D4, [
20324
+ return (e, t) => (W(), J("div", D4, [
20328
20325
  x("div", w4, [
20329
20326
  x("span", I4, Le(e.comment.userName) + ": ", 1),
20330
- e.comment.replyName ? (q(), J("span", E4, Le("@" + e.comment.replyName), 1)) : We("", !0)
20327
+ e.comment.replyName ? (W(), J("span", E4, Le("@" + e.comment.replyName), 1)) : We("", !0)
20331
20328
  ]),
20332
20329
  x("span", {
20333
20330
  class: "sus-top-item__content w-full",
@@ -20349,12 +20346,12 @@ const Il = (o) => (ca("data-v-6afba7b6"), o = o(), ma(), o), G_ = { class: "sus-
20349
20346
  function n() {
20350
20347
  t("go-local");
20351
20348
  }
20352
- return (a, s) => (q(), J("div", {
20349
+ return (a, s) => (W(), J("div", {
20353
20350
  class: "sus-top-item p-1.5 cursor-pointer overflow-hidden",
20354
20351
  onClick: n
20355
20352
  }, [
20356
20353
  x("div", M4, [
20357
- a.comment.userAvatar ? (q(), J("div", F4, [
20354
+ a.comment.userAvatar ? (W(), J("div", F4, [
20358
20355
  x("img", {
20359
20356
  alt: "",
20360
20357
  class: "sus-avatar",