@fileverse-dev/ddoc 1.4.1 → 1.4.3

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.es.js CHANGED
@@ -5,7 +5,7 @@ var Ex = (n) => {
5
5
  var CP = (n, e, t) => e in n ? kP(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
6
6
  var V = (n, e, t) => CP(n, typeof e != "symbol" ? e + "" : e, t), fy = (n, e, t) => e.has(n) || Ex("Cannot " + t);
7
7
  var T = (n, e, t) => (fy(n, e, "read from private field"), t ? t.call(n) : e.get(n)), J = (n, e, t) => e.has(n) ? Ex("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(n) : e.set(n, t), I = (n, e, t, r) => (fy(n, e, "write to private field"), r ? r.call(n, t) : e.set(n, t), t), ue = (n, e, t) => (fy(n, e, "access private method"), t);
8
- var $u = (n, e, t, r) => ({
8
+ var Wu = (n, e, t, r) => ({
9
9
  set _(s) {
10
10
  I(n, e, s, t);
11
11
  },
@@ -21,7 +21,7 @@ var vs = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
21
21
  function zw(n) {
22
22
  return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
23
23
  }
24
- var F0 = { exports: {} }, Wu = {};
24
+ var F0 = { exports: {} }, Gu = {};
25
25
  /**
26
26
  * @license React
27
27
  * react-jsx-runtime.production.min.js
@@ -33,7 +33,7 @@ var F0 = { exports: {} }, Wu = {};
33
33
  */
34
34
  var kx;
35
35
  function OP() {
36
- if (kx) return Wu;
36
+ if (kx) return Gu;
37
37
  kx = 1;
38
38
  var n = re, e = Symbol.for("react.element"), t = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, s = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
39
39
  function o(a, l, c) {
@@ -43,9 +43,9 @@ function OP() {
43
43
  if (a && a.defaultProps) for (u in l = a.defaultProps, l) f[u] === void 0 && (f[u] = l[u]);
44
44
  return { $$typeof: e, type: a, key: d, ref: h, props: f, _owner: s.current };
45
45
  }
46
- return Wu.Fragment = t, Wu.jsx = o, Wu.jsxs = o, Wu;
46
+ return Gu.Fragment = t, Gu.jsx = o, Gu.jsxs = o, Gu;
47
47
  }
48
- var Gu = {};
48
+ var Ku = {};
49
49
  /**
50
50
  * @license React
51
51
  * react-jsx-runtime.development.js
@@ -646,8 +646,8 @@ React keys must be passed directly to JSX without using spread:
646
646
  return Ax(j, ie, me, !1);
647
647
  }
648
648
  var vP = wP, xP = bP;
649
- Gu.Fragment = r, Gu.jsx = vP, Gu.jsxs = xP;
650
- }()), Gu;
649
+ Ku.Fragment = r, Ku.jsx = vP, Ku.jsxs = xP;
650
+ }()), Ku;
651
651
  }
652
652
  process.env.NODE_ENV === "production" ? F0.exports = OP() : F0.exports = RP();
653
653
  var C = F0.exports;
@@ -1321,7 +1321,7 @@ function Ua(n, e) {
1321
1321
  let t = e.length - 1;
1322
1322
  t >= 0 && n.isText && n.sameMarkup(e[t]) ? e[t] = n.withText(e[t].text + n.text) : e.push(n);
1323
1323
  }
1324
- function uf(n, e, t, r) {
1324
+ function ff(n, e, t, r) {
1325
1325
  let s = (e || n).node(t), i = 0, o = e ? e.index(t) : s.childCount;
1326
1326
  n && (i = n.index(t), n.depth > t ? i++ : n.textOffset && (Ua(n.nodeAfter, r), i++));
1327
1327
  for (let a = i; a < o; a++)
@@ -1333,15 +1333,15 @@ function Ha(n, e) {
1333
1333
  }
1334
1334
  function vS(n, e, t, r, s) {
1335
1335
  let i = n.depth > s && U0(n, e, s + 1), o = r.depth > s && U0(t, r, s + 1), a = [];
1336
- return uf(null, n, s, a), i && o && e.index(s) == t.index(s) ? (wS(i, o), Ua(Ha(i, vS(n, e, t, r, s + 1)), a)) : (i && Ua(Ha(i, Sp(n, e, s + 1)), a), uf(e, t, s, a), o && Ua(Ha(o, Sp(t, r, s + 1)), a)), uf(r, null, s, a), new oe(a);
1336
+ return ff(null, n, s, a), i && o && e.index(s) == t.index(s) ? (wS(i, o), Ua(Ha(i, vS(n, e, t, r, s + 1)), a)) : (i && Ua(Ha(i, Sp(n, e, s + 1)), a), ff(e, t, s, a), o && Ua(Ha(o, Sp(t, r, s + 1)), a)), ff(r, null, s, a), new oe(a);
1337
1337
  }
1338
1338
  function Sp(n, e, t) {
1339
1339
  let r = [];
1340
- if (uf(null, n, t, r), n.depth > t) {
1340
+ if (ff(null, n, t, r), n.depth > t) {
1341
1341
  let s = U0(n, e, t + 1);
1342
1342
  Ua(Ha(s, Sp(n, e, t + 1)), r);
1343
1343
  }
1344
- return uf(e, null, t, r), new oe(r);
1344
+ return ff(e, null, t, r), new oe(r);
1345
1345
  }
1346
1346
  function DP(n, e) {
1347
1347
  let t = e.depth - n.openStart, s = e.node(t).copy(n.content);
@@ -1352,7 +1352,7 @@ function DP(n, e) {
1352
1352
  end: s.resolveNoCache(s.content.size - n.openEnd - t)
1353
1353
  };
1354
1354
  }
1355
- class Of {
1355
+ class Rf {
1356
1356
  /**
1357
1357
  @internal
1358
1358
  */
@@ -1580,7 +1580,7 @@ class Of {
1580
1580
  break;
1581
1581
  i = c - 1, s += l + 1;
1582
1582
  }
1583
- return new Of(t, r, i);
1583
+ return new Rf(t, r, i);
1584
1584
  }
1585
1585
  /**
1586
1586
  @internal
@@ -1591,7 +1591,7 @@ class Of {
1591
1591
  if (i.pos == t && i.doc == e)
1592
1592
  return i;
1593
1593
  }
1594
- let r = hy[py] = Of.resolve(e, t);
1594
+ let r = hy[py] = Rf.resolve(e, t);
1595
1595
  return py = (py + 1) % PP, r;
1596
1596
  }
1597
1597
  }
@@ -1835,13 +1835,13 @@ let za = class H0 {
1835
1835
  [object](https://prosemirror.net/docs/ref/#model.ResolvedPos) with information about its context.
1836
1836
  */
1837
1837
  resolve(e) {
1838
- return Of.resolveCached(this, e);
1838
+ return Rf.resolveCached(this, e);
1839
1839
  }
1840
1840
  /**
1841
1841
  @internal
1842
1842
  */
1843
1843
  resolveNoCache(e) {
1844
- return Of.resolve(this, e);
1844
+ return Rf.resolve(this, e);
1845
1845
  }
1846
1846
  /**
1847
1847
  Test whether a given mark or mark type occurs in this document
@@ -2893,13 +2893,13 @@ const NS = {
2893
2893
  script: !0,
2894
2894
  style: !0,
2895
2895
  title: !0
2896
- }, OS = { ol: !0, ul: !0 }, Op = 1, Rp = 2, ff = 4;
2896
+ }, OS = { ol: !0, ul: !0 }, Op = 1, Rp = 2, df = 4;
2897
2897
  function Rx(n, e, t) {
2898
- return e != null ? (e ? Op : 0) | (e === "full" ? Rp : 0) : n && n.whitespace == "pre" ? Op | Rp : t & ~ff;
2898
+ return e != null ? (e ? Op : 0) | (e === "full" ? Rp : 0) : n && n.whitespace == "pre" ? Op | Rp : t & ~df;
2899
2899
  }
2900
2900
  class ah {
2901
2901
  constructor(e, t, r, s, i, o, a) {
2902
- this.type = e, this.attrs = t, this.marks = r, this.pendingMarks = s, this.solid = i, this.options = a, this.content = [], this.activeMarks = gt.none, this.stashMarks = [], this.match = o || (a & ff ? null : e.contentMatch);
2902
+ this.type = e, this.attrs = t, this.marks = r, this.pendingMarks = s, this.solid = i, this.options = a, this.content = [], this.activeMarks = gt.none, this.stashMarks = [], this.match = o || (a & df ? null : e.contentMatch);
2903
2903
  }
2904
2904
  findWrapping(e) {
2905
2905
  if (!this.match) {
@@ -2944,7 +2944,7 @@ class ah {
2944
2944
  class Mx {
2945
2945
  constructor(e, t, r) {
2946
2946
  this.parser = e, this.options = t, this.isOpen = r, this.open = 0;
2947
- let s = t.topNode, i, o = Rx(null, t.preserveWhitespace, 0) | (r ? ff : 0);
2947
+ let s = t.topNode, i, o = Rx(null, t.preserveWhitespace, 0) | (r ? df : 0);
2948
2948
  s ? i = new ah(s.type, s.attrs, gt.none, gt.none, !0, t.topMatch || s.type.contentMatch, o) : r ? i = new ah(null, null, gt.none, gt.none, !0, null, o) : i = new ah(e.schema.topNodeType, null, gt.none, gt.none, !0, null, o), this.nodes = [i], this.find = t.findPositions, this.needsBlock = !1;
2949
2949
  }
2950
2950
  get top() {
@@ -3117,7 +3117,7 @@ class Mx {
3117
3117
  let i = this.top;
3118
3118
  i.applyPending(e), i.match = i.match && i.match.matchType(e);
3119
3119
  let o = Rx(e, s, i.options);
3120
- i.options & ff && i.content.length == 0 && (o |= ff), this.nodes.push(new ah(e, t, i.activeMarks, i.pendingMarks, r, null, o)), this.open++;
3120
+ i.options & df && i.content.length == 0 && (o |= df), this.nodes.push(new ah(e, t, i.activeMarks, i.pendingMarks, r, null, o)), this.open++;
3121
3121
  }
3122
3122
  // Make sure all nodes above this.open are finished and added to
3123
3123
  // their parents
@@ -4100,7 +4100,7 @@ function LS(n, e, t, r = t.contentMatch, s = !0) {
4100
4100
  function rI(n, e, t) {
4101
4101
  return (e == 0 || n.canReplace(e, n.childCount)) && (t == n.childCount || n.canReplace(0, t));
4102
4102
  }
4103
- function Pu(n) {
4103
+ function Iu(n) {
4104
4104
  let t = n.parent.content.cutByIndex(n.startIndex, n.endIndex);
4105
4105
  for (let r = n.depth; ; --r) {
4106
4106
  let s = n.$from.node(r), i = n.$from.index(r), o = n.$to.indexAfter(r);
@@ -4376,9 +4376,9 @@ class mI {
4376
4376
  let { content: e, openStart: t, openEnd: r } = this.unplaced, s = yy(e, t);
4377
4377
  if (s.childCount <= 1 && t > 0) {
4378
4378
  let i = e.size - t <= t + s.size;
4379
- this.unplaced = new fe(Zu(e, t - 1, 1), t - 1, i ? t - 1 : r);
4379
+ this.unplaced = new fe(ef(e, t - 1, 1), t - 1, i ? t - 1 : r);
4380
4380
  } else
4381
- this.unplaced = new fe(Zu(e, t, 1), t, r);
4381
+ this.unplaced = new fe(ef(e, t, 1), t, r);
4382
4382
  }
4383
4383
  // Move content from the unplaced slice at `sliceDepth` to the
4384
4384
  // frontier node at `frontierDepth`. Close that frontier node when
@@ -4403,12 +4403,12 @@ class mI {
4403
4403
  c++, (c > 1 || l == 0 || g.content.size) && (f = y, u.push(jS(g.mark(d.allowedMarks(g.marks)), c == 1 ? l : 0, c == a.childCount ? h : -1)));
4404
4404
  }
4405
4405
  let p = c == a.childCount;
4406
- p || (h = -1), this.placed = ef(this.placed, t, oe.from(u)), this.frontier[t].match = f, p && h < 0 && r && r.type == this.frontier[this.depth].type && this.frontier.length > 1 && this.closeFrontierNode();
4406
+ p || (h = -1), this.placed = tf(this.placed, t, oe.from(u)), this.frontier[t].match = f, p && h < 0 && r && r.type == this.frontier[this.depth].type && this.frontier.length > 1 && this.closeFrontierNode();
4407
4407
  for (let g = 0, y = a; g < h; g++) {
4408
4408
  let b = y.lastChild;
4409
4409
  this.frontier.push({ type: b.type, match: b.contentMatchAt(b.childCount) }), y = b.content;
4410
4410
  }
4411
- this.unplaced = p ? e == 0 ? fe.empty : new fe(Zu(o.content, e - 1, 1), e - 1, h < 0 ? o.openEnd : e - 1) : new fe(Zu(o.content, e, c), o.openStart, o.openEnd);
4411
+ this.unplaced = p ? e == 0 ? fe.empty : new fe(ef(o.content, e - 1, 1), e - 1, h < 0 ? o.openEnd : e - 1) : new fe(ef(o.content, e, c), o.openStart, o.openEnd);
4412
4412
  }
4413
4413
  mustMoveInline() {
4414
4414
  if (!this.$to.parent.isTextblock)
@@ -4440,7 +4440,7 @@ class mI {
4440
4440
  return null;
4441
4441
  for (; this.depth > t.depth; )
4442
4442
  this.closeFrontierNode();
4443
- t.fit.childCount && (this.placed = ef(this.placed, t.depth, t.fit)), e = t.move;
4443
+ t.fit.childCount && (this.placed = tf(this.placed, t.depth, t.fit)), e = t.move;
4444
4444
  for (let r = t.depth + 1; r <= e.depth; r++) {
4445
4445
  let s = e.node(r), i = s.type.contentMatch.fillBefore(s.content, !0, e.index(r));
4446
4446
  this.openFrontierNode(s.type, s.attrs, i);
@@ -4449,18 +4449,18 @@ class mI {
4449
4449
  }
4450
4450
  openFrontierNode(e, t = null, r) {
4451
4451
  let s = this.frontier[this.depth];
4452
- s.match = s.match.matchType(e), this.placed = ef(this.placed, this.depth, oe.from(e.create(t, r))), this.frontier.push({ type: e, match: e.contentMatch });
4452
+ s.match = s.match.matchType(e), this.placed = tf(this.placed, this.depth, oe.from(e.create(t, r))), this.frontier.push({ type: e, match: e.contentMatch });
4453
4453
  }
4454
4454
  closeFrontierNode() {
4455
4455
  let t = this.frontier.pop().match.fillBefore(oe.empty, !0);
4456
- t.childCount && (this.placed = ef(this.placed, this.frontier.length, t));
4456
+ t.childCount && (this.placed = tf(this.placed, this.frontier.length, t));
4457
4457
  }
4458
4458
  }
4459
- function Zu(n, e, t) {
4460
- return e == 0 ? n.cutByIndex(t, n.childCount) : n.replaceChild(0, n.firstChild.copy(Zu(n.firstChild.content, e - 1, t)));
4461
- }
4462
4459
  function ef(n, e, t) {
4463
- return e == 0 ? n.append(t) : n.replaceChild(n.childCount - 1, n.lastChild.copy(ef(n.lastChild.content, e - 1, t)));
4460
+ return e == 0 ? n.cutByIndex(t, n.childCount) : n.replaceChild(0, n.firstChild.copy(ef(n.firstChild.content, e - 1, t)));
4461
+ }
4462
+ function tf(n, e, t) {
4463
+ return e == 0 ? n.append(t) : n.replaceChild(n.childCount - 1, n.lastChild.copy(tf(n.lastChild.content, e - 1, t)));
4464
4464
  }
4465
4465
  function yy(n, e) {
4466
4466
  for (let t = 0; t < e; t++)
@@ -4616,7 +4616,7 @@ class sc extends Nn {
4616
4616
  }
4617
4617
  }
4618
4618
  Nn.jsonID("attr", sc);
4619
- class Rf extends Nn {
4619
+ class Mf extends Nn {
4620
4620
  /**
4621
4621
  Construct an attribute step.
4622
4622
  */
@@ -4635,7 +4635,7 @@ class Rf extends Nn {
4635
4635
  return yr.empty;
4636
4636
  }
4637
4637
  invert(e) {
4638
- return new Rf(this.attr, e.attrs[this.attr]);
4638
+ return new Mf(this.attr, e.attrs[this.attr]);
4639
4639
  }
4640
4640
  map(e) {
4641
4641
  return this;
@@ -4646,10 +4646,10 @@ class Rf extends Nn {
4646
4646
  static fromJSON(e, t) {
4647
4647
  if (typeof t.attr != "string")
4648
4648
  throw new RangeError("Invalid input for DocAttrStep.fromJSON");
4649
- return new Rf(t.attr, t.value);
4649
+ return new Mf(t.attr, t.value);
4650
4650
  }
4651
4651
  }
4652
- Nn.jsonID("docAttr", Rf);
4652
+ Nn.jsonID("docAttr", Mf);
4653
4653
  let iu = class extends Error {
4654
4654
  };
4655
4655
  iu = function n(e) {
@@ -4822,7 +4822,7 @@ class Gw {
4822
4822
  Set a single attribute on the document to a new value.
4823
4823
  */
4824
4824
  setDocAttribute(e, t) {
4825
- return this.step(new Rf(e, t)), this;
4825
+ return this.step(new Mf(e, t)), this;
4826
4826
  }
4827
4827
  /**
4828
4828
  Add a mark to the node at position `pos`.
@@ -5429,13 +5429,13 @@ let EI = class extends Gw {
5429
5429
  function Hx(n, e) {
5430
5430
  return !e || !n ? n : n.bind(e);
5431
5431
  }
5432
- class tf {
5432
+ class nf {
5433
5433
  constructor(e, t, r) {
5434
5434
  this.name = e, this.init = Hx(t.init, r), this.apply = Hx(t.apply, r);
5435
5435
  }
5436
5436
  }
5437
5437
  const kI = [
5438
- new tf("doc", {
5438
+ new nf("doc", {
5439
5439
  init(n) {
5440
5440
  return n.doc || n.schema.topNodeType.createAndFill();
5441
5441
  },
@@ -5443,7 +5443,7 @@ const kI = [
5443
5443
  return n.doc;
5444
5444
  }
5445
5445
  }),
5446
- new tf("selection", {
5446
+ new nf("selection", {
5447
5447
  init(n, e) {
5448
5448
  return n.selection || _e.atStart(e.doc);
5449
5449
  },
@@ -5451,7 +5451,7 @@ const kI = [
5451
5451
  return n.selection;
5452
5452
  }
5453
5453
  }),
5454
- new tf("storedMarks", {
5454
+ new nf("storedMarks", {
5455
5455
  init(n) {
5456
5456
  return n.storedMarks || null;
5457
5457
  },
@@ -5459,7 +5459,7 @@ const kI = [
5459
5459
  return r.selection.$cursor ? n.storedMarks : null;
5460
5460
  }
5461
5461
  }),
5462
- new tf("scrollToSelection", {
5462
+ new nf("scrollToSelection", {
5463
5463
  init() {
5464
5464
  return 0;
5465
5465
  },
@@ -5473,7 +5473,7 @@ class vy {
5473
5473
  this.schema = e, this.plugins = [], this.pluginsByKey = /* @__PURE__ */ Object.create(null), this.fields = kI.slice(), t && t.forEach((r) => {
5474
5474
  if (this.pluginsByKey[r.key])
5475
5475
  throw new RangeError("Adding different instances of a keyed plugin (" + r.key + ")");
5476
- this.plugins.push(r), this.pluginsByKey[r.key] = r, r.spec.state && this.fields.push(new tf(r.key, r.spec.state, r));
5476
+ this.plugins.push(r), this.pluginsByKey[r.key] = r, r.spec.state && this.fields.push(new nf(r.key, r.spec.state, r));
5477
5477
  });
5478
5478
  }
5479
5479
  }
@@ -5692,7 +5692,7 @@ const mn = function(n) {
5692
5692
  for (var e = 0; ; e++)
5693
5693
  if (n = n.previousSibling, !n)
5694
5694
  return e;
5695
- }, Mf = function(n) {
5695
+ }, Df = function(n) {
5696
5696
  let e = n.assignedSlot || n.parentNode;
5697
5697
  return e && e.nodeType == 11 ? e.host : e;
5698
5698
  };
@@ -5827,7 +5827,7 @@ function _I(n) {
5827
5827
  }
5828
5828
  function $x(n, e, t) {
5829
5829
  let r = n.someProp("scrollThreshold") || 0, s = n.someProp("scrollMargin") || 5, i = n.dom.ownerDocument;
5830
- for (let o = t || n.dom; o; o = Mf(o)) {
5830
+ for (let o = t || n.dom; o; o = Df(o)) {
5831
5831
  if (o.nodeType != 1)
5832
5832
  continue;
5833
5833
  let a = o, l = a == i.body, c = l ? LI(i) : _I(a), u = 0, f = 0;
@@ -5860,7 +5860,7 @@ function BI(n) {
5860
5860
  }
5861
5861
  function WS(n) {
5862
5862
  let e = [], t = n.ownerDocument;
5863
- for (let r = n; r && (e.push({ dom: r, top: r.scrollTop, left: r.scrollLeft }), n != t); r = Mf(r))
5863
+ for (let r = n; r && (e.push({ dom: r, top: r.scrollTop, left: r.scrollLeft }), n != t); r = Df(r))
5864
5864
  ;
5865
5865
  return e;
5866
5866
  }
@@ -5983,7 +5983,7 @@ function $I(n, e) {
5983
5983
  return null;
5984
5984
  }
5985
5985
  if (Hn)
5986
- for (let c = o; r && c; c = Mf(c))
5986
+ for (let c = o; r && c; c = Df(c))
5987
5987
  c.draggable && (r = void 0);
5988
5988
  if (o = HI(o, e), r) {
5989
5989
  if (cs && r.nodeType == 1 && (s = Math.min(s, r.childNodes.length), s < r.childNodes.length)) {
@@ -6020,13 +6020,13 @@ function qS(n, e, t) {
6020
6020
  if (c.top == l.top) {
6021
6021
  let u = Qi(oi(r, s, s + 1), -1);
6022
6022
  if (u.top != l.top)
6023
- return Ku(u, u.left < c.left);
6023
+ return Ju(u, u.left < c.left);
6024
6024
  }
6025
6025
  }
6026
6026
  return l;
6027
6027
  } else {
6028
6028
  let l = s, c = s, u = t < 0 ? 1 : -1;
6029
- return t < 0 && !s ? (c++, u = -1) : t >= 0 && s == r.nodeValue.length ? (l--, u = 1) : t < 0 ? l-- : c++, Ku(Qi(oi(r, l, c), u), u < 0);
6029
+ return t < 0 && !s ? (c++, u = -1) : t >= 0 && s == r.nodeValue.length ? (l--, u = 1) : t < 0 ? l-- : c++, Ju(Qi(oi(r, l, c), u), u < 0);
6030
6030
  }
6031
6031
  if (!n.state.doc.resolve(e - (i || 0)).parent.inlineContent) {
6032
6032
  if (i == null && s && (t < 0 || s == Bs(r))) {
@@ -6044,7 +6044,7 @@ function qS(n, e, t) {
6044
6044
  if (i == null && s && (t < 0 || s == Bs(r))) {
6045
6045
  let l = r.childNodes[s - 1], c = l.nodeType == 3 ? oi(l, Bs(l) - (o ? 0 : 1)) : l.nodeType == 1 && (l.nodeName != "BR" || !l.nextSibling) ? l : null;
6046
6046
  if (c)
6047
- return Ku(Qi(c, 1), !1);
6047
+ return Ju(Qi(c, 1), !1);
6048
6048
  }
6049
6049
  if (i == null && s < Bs(r)) {
6050
6050
  let l = r.childNodes[s];
@@ -6052,11 +6052,11 @@ function qS(n, e, t) {
6052
6052
  l = l.nextSibling;
6053
6053
  let c = l ? l.nodeType == 3 ? oi(l, 0, o ? 0 : 1) : l.nodeType == 1 ? l : null : null;
6054
6054
  if (c)
6055
- return Ku(Qi(c, -1), !0);
6055
+ return Ju(Qi(c, -1), !0);
6056
6056
  }
6057
- return Ku(Qi(r.nodeType == 3 ? oi(r) : r, -t), t >= 0);
6057
+ return Ju(Qi(r.nodeType == 3 ? oi(r) : r, -t), t >= 0);
6058
6058
  }
6059
- function Ku(n, e) {
6059
+ function Ju(n, e) {
6060
6060
  if (n.width == 0)
6061
6061
  return n;
6062
6062
  let t = e ? n.left : n.right;
@@ -6794,22 +6794,22 @@ function ZS(n, e, t) {
6794
6794
  r = Yx(r), s = !0;
6795
6795
  s && t.trackWrites == n && (t.trackWrites = null);
6796
6796
  }
6797
- const df = function(n) {
6797
+ const hf = function(n) {
6798
6798
  n && (this.nodeName = n);
6799
6799
  };
6800
- df.prototype = /* @__PURE__ */ Object.create(null);
6801
- const fa = [new df()];
6800
+ hf.prototype = /* @__PURE__ */ Object.create(null);
6801
+ const fa = [new hf()];
6802
6802
  function q0(n, e, t) {
6803
6803
  if (n.length == 0)
6804
6804
  return fa;
6805
- let r = t ? fa[0] : new df(), s = [r];
6805
+ let r = t ? fa[0] : new hf(), s = [r];
6806
6806
  for (let i = 0; i < n.length; i++) {
6807
6807
  let o = n[i].type.attrs;
6808
6808
  if (o) {
6809
- o.nodeName && s.push(r = new df(o.nodeName));
6809
+ o.nodeName && s.push(r = new hf(o.nodeName));
6810
6810
  for (let a in o) {
6811
6811
  let l = o[a];
6812
- l != null && (t && s.length == 1 && s.push(r = new df(e.isInline ? "span" : "div")), a == "class" ? r.class = (r.class ? r.class + " " : "") + l : a == "style" ? r.style = (r.style ? r.style + ";" : "") + l : a != "nodeName" && (r[a] = l));
6812
+ l != null && (t && s.length == 1 && s.push(r = new hf(e.isInline ? "span" : "div")), a == "class" ? r.class = (r.class ? r.class + " " : "") + l : a == "style" ? r.style = (r.style ? r.style + ";" : "") + l : a != "nodeName" && (r[a] = l));
6813
6813
  }
6814
6814
  }
6815
6815
  }
@@ -7284,7 +7284,7 @@ function rA(n, e, t) {
7284
7284
  function Mp(n) {
7285
7285
  return n.nodeType == 3 ? n.nodeValue.length : n.childNodes.length;
7286
7286
  }
7287
- function hf(n, e) {
7287
+ function pf(n, e) {
7288
7288
  let t = n.pmViewDesc;
7289
7289
  return t && t.size == 0 && (e < 0 || n.nextSibling || n.nodeName != "BR");
7290
7290
  }
@@ -7296,13 +7296,13 @@ function lL(n) {
7296
7296
  if (!t)
7297
7297
  return;
7298
7298
  let s, i, o = !1;
7299
- for (cs && t.nodeType == 1 && r < Mp(t) && hf(t.childNodes[r], -1) && (o = !0); ; )
7299
+ for (cs && t.nodeType == 1 && r < Mp(t) && pf(t.childNodes[r], -1) && (o = !0); ; )
7300
7300
  if (r > 0) {
7301
7301
  if (t.nodeType != 1)
7302
7302
  break;
7303
7303
  {
7304
7304
  let a = t.childNodes[r - 1];
7305
- if (hf(a, -1))
7305
+ if (pf(a, -1))
7306
7306
  s = t, i = --r;
7307
7307
  else if (a.nodeType == 3)
7308
7308
  t = a, r = t.nodeValue.length;
@@ -7314,7 +7314,7 @@ function lL(n) {
7314
7314
  break;
7315
7315
  {
7316
7316
  let a = t.previousSibling;
7317
- for (; a && hf(a, -1); )
7317
+ for (; a && pf(a, -1); )
7318
7318
  s = t.parentNode, i = mn(a), a = a.previousSibling;
7319
7319
  if (a)
7320
7320
  t = a, r = Mp(t);
@@ -7337,7 +7337,7 @@ function cL(n) {
7337
7337
  if (t.nodeType != 1)
7338
7338
  break;
7339
7339
  let a = t.childNodes[r];
7340
- if (hf(a, 1))
7340
+ if (pf(a, 1))
7341
7341
  i = t, o = ++r;
7342
7342
  else
7343
7343
  break;
@@ -7346,7 +7346,7 @@ function cL(n) {
7346
7346
  break;
7347
7347
  {
7348
7348
  let a = t.nextSibling;
7349
- for (; a && hf(a, 1); )
7349
+ for (; a && pf(a, 1); )
7350
7350
  i = a.parentNode, o = mn(a) + 1, a = a.nextSibling;
7351
7351
  if (a)
7352
7352
  t = a, r = 0, s = Mp(t);
@@ -7966,12 +7966,12 @@ function BL(n, e) {
7966
7966
  t.parentNode && t.parentNode.removeChild(t), n.focus();
7967
7967
  }, 50);
7968
7968
  }
7969
- const Df = nr && Do < 15 || ou && II < 604;
7969
+ const Pf = nr && Do < 15 || ou && II < 604;
7970
7970
  zn.copy = Vn.cut = (n, e) => {
7971
7971
  let t = e, r = n.state.selection, s = t.type == "cut";
7972
7972
  if (r.empty)
7973
7973
  return;
7974
- let i = Df ? null : t.clipboardData, o = r.content(), { dom: a, text: l } = oT(n, o);
7974
+ let i = Pf ? null : t.clipboardData, o = r.content(), { dom: a, text: l } = oT(n, o);
7975
7975
  i ? (t.preventDefault(), i.clearData(), i.setData("text/html", a.innerHTML), i.setData("text/plain", l)) : BL(n, a), s && n.dispatch(n.state.tr.deleteSelection().scrollIntoView().setMeta("uiEvent", "cut"));
7976
7976
  };
7977
7977
  function FL(n) {
@@ -7984,10 +7984,10 @@ function jL(n, e) {
7984
7984
  t || (r.contentEditable = "true"), r.style.cssText = "position: fixed; left: -10000px; top: 10px", r.focus();
7985
7985
  let s = n.input.shiftKey && n.input.lastKeyCode != 45;
7986
7986
  setTimeout(() => {
7987
- n.focus(), r.parentNode && r.parentNode.removeChild(r), t ? Pf(n, r.value, null, s, e) : Pf(n, r.textContent, r.innerHTML, s, e);
7987
+ n.focus(), r.parentNode && r.parentNode.removeChild(r), t ? If(n, r.value, null, s, e) : If(n, r.textContent, r.innerHTML, s, e);
7988
7988
  }, 50);
7989
7989
  }
7990
- function Pf(n, e, t, r, s) {
7990
+ function If(n, e, t, r, s) {
7991
7991
  let i = aT(n, e, t, r, n.state.selection.$from);
7992
7992
  if (n.someProp("handlePaste", (l) => l(n, s, i || fe.empty)))
7993
7993
  return !0;
@@ -8007,8 +8007,8 @@ Vn.paste = (n, e) => {
8007
8007
  let t = e;
8008
8008
  if (n.composing && !ns)
8009
8009
  return;
8010
- let r = Df ? null : t.clipboardData, s = n.input.shiftKey && n.input.lastKeyCode != 45;
8011
- r && Pf(n, yT(r), r.getData("text/html"), s, t) ? t.preventDefault() : jL(n, t);
8010
+ let r = Pf ? null : t.clipboardData, s = n.input.shiftKey && n.input.lastKeyCode != 45;
8011
+ r && If(n, yT(r), r.getData("text/html"), s, t) ? t.preventDefault() : jL(n, t);
8012
8012
  };
8013
8013
  class bT {
8014
8014
  constructor(e, t, r) {
@@ -8030,7 +8030,7 @@ zn.dragstart = (n, e) => {
8030
8030
  }
8031
8031
  }
8032
8032
  let a = (o || n.state.selection).content(), { dom: l, text: c, slice: u } = oT(n, a);
8033
- t.dataTransfer.clearData(), t.dataTransfer.setData(Df ? "Text" : "text/html", l.innerHTML), t.dataTransfer.effectAllowed = "copyMove", Df || t.dataTransfer.setData("text/plain", c), n.dragging = new bT(u, !t[wT], o);
8033
+ t.dataTransfer.clearData(), t.dataTransfer.setData(Pf ? "Text" : "text/html", l.innerHTML), t.dataTransfer.effectAllowed = "copyMove", Pf || t.dataTransfer.setData("text/plain", c), n.dragging = new bT(u, !t[wT], o);
8034
8034
  };
8035
8035
  zn.dragend = (n) => {
8036
8036
  let e = n.dragging;
@@ -8049,7 +8049,7 @@ Vn.drop = (n, e) => {
8049
8049
  let i = n.state.doc.resolve(s.pos), o = r && r.slice;
8050
8050
  o ? n.someProp("transformPasted", (p) => {
8051
8051
  o = p(o, n);
8052
- }) : o = aT(n, yT(t.dataTransfer), Df ? null : t.dataTransfer.getData("text/html"), !1, i);
8052
+ }) : o = aT(n, yT(t.dataTransfer), Pf ? null : t.dataTransfer.getData("text/html"), !1, i);
8053
8053
  let a = !!(r && !t[wT]);
8054
8054
  if (n.someProp("handleDrop", (p) => p(n, t, o || fe.empty, a))) {
8055
8055
  t.preventDefault();
@@ -8100,7 +8100,7 @@ zn.beforeinput = (n, e) => {
8100
8100
  };
8101
8101
  for (let n in Vn)
8102
8102
  zn[n] = Vn[n];
8103
- function If(n, e) {
8103
+ function Lf(n, e) {
8104
8104
  if (n == e)
8105
8105
  return !0;
8106
8106
  for (let t in n)
@@ -8123,7 +8123,7 @@ class Pp {
8123
8123
  return !0;
8124
8124
  }
8125
8125
  eq(e) {
8126
- return this == e || e instanceof Pp && (this.spec.key && this.spec.key == e.spec.key || this.toDOM == e.toDOM && If(this.spec, e.spec));
8126
+ return this == e || e instanceof Pp && (this.spec.key && this.spec.key == e.spec.key || this.toDOM == e.toDOM && Lf(this.spec, e.spec));
8127
8127
  }
8128
8128
  destroy(e) {
8129
8129
  this.spec.destroy && this.spec.destroy(e);
@@ -8141,7 +8141,7 @@ class Io {
8141
8141
  return t.from < t.to;
8142
8142
  }
8143
8143
  eq(e) {
8144
- return this == e || e instanceof Io && If(this.attrs, e.attrs) && If(this.spec, e.spec);
8144
+ return this == e || e instanceof Io && Lf(this.attrs, e.attrs) && Lf(this.spec, e.spec);
8145
8145
  }
8146
8146
  static is(e) {
8147
8147
  return e.type instanceof Io;
@@ -8165,7 +8165,7 @@ class tv {
8165
8165
  return s == t.from && !(i = e.child(r)).isText && s + i.nodeSize == t.to;
8166
8166
  }
8167
8167
  eq(e) {
8168
- return this == e || e instanceof tv && If(this.attrs, e.attrs) && If(this.spec, e.spec);
8168
+ return this == e || e instanceof tv && Lf(this.attrs, e.attrs) && Lf(this.spec, e.spec);
8169
8169
  }
8170
8170
  destroy() {
8171
8171
  }
@@ -8684,9 +8684,9 @@ class WL {
8684
8684
  if (!e.focusNode)
8685
8685
  return !0;
8686
8686
  let t = /* @__PURE__ */ new Set(), r;
8687
- for (let i = e.focusNode; i; i = Mf(i))
8687
+ for (let i = e.focusNode; i; i = Df(i))
8688
8688
  t.add(i);
8689
- for (let i = e.anchorNode; i; i = Mf(i))
8689
+ for (let i = e.anchorNode; i; i = Df(i))
8690
8690
  if (t.has(i)) {
8691
8691
  r = i;
8692
8692
  break;
@@ -9261,13 +9261,13 @@ class n_ {
9261
9261
  [`handlePaste`](https://prosemirror.net/docs/ref/#view.EditorProps.handlePaste) hook.
9262
9262
  */
9263
9263
  pasteHTML(e, t) {
9264
- return Pf(this, "", e, !1, t || new ClipboardEvent("paste"));
9264
+ return If(this, "", e, !1, t || new ClipboardEvent("paste"));
9265
9265
  }
9266
9266
  /**
9267
9267
  Run the editor's paste logic with the given plain-text input.
9268
9268
  */
9269
9269
  pasteText(e, t) {
9270
- return Pf(this, e, null, !0, t || new ClipboardEvent("paste"));
9270
+ return If(this, e, null, !0, t || new ClipboardEvent("paste"));
9271
9271
  }
9272
9272
  /**
9273
9273
  Removes the editor from the DOM and destroys all [node
@@ -9516,7 +9516,7 @@ const h_ = (n, e, t) => {
9516
9516
  return !1;
9517
9517
  let s = sv(r);
9518
9518
  if (!s) {
9519
- let o = r.blockRange(), a = o && Pu(o);
9519
+ let o = r.blockRange(), a = o && Iu(o);
9520
9520
  return a == null ? !1 : (e && e(n.tr.lift(o, a).scrollIntoView()), !0);
9521
9521
  }
9522
9522
  let i = s.nodeBefore;
@@ -9676,7 +9676,7 @@ const w_ = (n, e) => {
9676
9676
  return !1;
9677
9677
  return e && e(n.tr.join(r).scrollIntoView()), !0;
9678
9678
  }, x_ = (n, e) => {
9679
- let { $from: t, $to: r } = n.selection, s = t.blockRange(r), i = s && Pu(s);
9679
+ let { $from: t, $to: r } = n.selection, s = t.blockRange(r), i = s && Iu(s);
9680
9680
  return i == null ? !1 : (e && e(n.tr.lift(s, i).scrollIntoView()), !0);
9681
9681
  }, A_ = (n, e) => {
9682
9682
  let { $head: t, $anchor: r } = n.selection;
@@ -9724,7 +9724,7 @@ const E_ = (n, e) => {
9724
9724
  if (rc(n.doc, i))
9725
9725
  return e && e(n.tr.split(i).scrollIntoView()), !0;
9726
9726
  }
9727
- let r = t.blockRange(), s = r && Pu(r);
9727
+ let r = t.blockRange(), s = r && Iu(r);
9728
9728
  return s == null ? !1 : (e && e(n.tr.lift(r, s).scrollIntoView()), !0);
9729
9729
  }, S_ = (n, e) => {
9730
9730
  let { $from: t, to: r } = n.selection, s, i = t.sharedDepth(r);
@@ -9752,7 +9752,7 @@ function TT(n, e, t) {
9752
9752
  }
9753
9753
  return !0;
9754
9754
  }
9755
- let l = _e.findFrom(e, 1), c = l && l.$from.blockRange(l.$to), u = c && Pu(c);
9755
+ let l = _e.findFrom(e, 1), c = l && l.$from.blockRange(l.$to), u = c && Iu(c);
9756
9756
  if (u != null && u >= e.depth)
9757
9757
  return t && t(n.tr.lift(c, u).scrollIntoView()), !0;
9758
9758
  if (a && au(s, "start", !0) && au(r, "end")) {
@@ -9861,7 +9861,7 @@ function P_(n) {
9861
9861
  function I_(n, e, t, r) {
9862
9862
  let s = n.tr, i = r.end, o = r.$to.end(r.depth);
9863
9863
  i < o && (s.step(new un(i - 1, o, i, o, new fe(oe.from(t.create(null, r.parent.copy())), 1, 0), 1, !0)), r = new Tp(s.doc.resolve(r.$from.pos), s.doc.resolve(o), r.depth));
9864
- const a = Pu(r);
9864
+ const a = Iu(r);
9865
9865
  if (a == null)
9866
9866
  return !1;
9867
9867
  s.lift(r, a);
@@ -10751,7 +10751,7 @@ const X_ = Nt.create({
10751
10751
  const { doc: c, mapping: u } = e, f = c.resolve(u.map(l)), d = c.resolve(u.map(l + a.nodeSize)), h = f.blockRange(d);
10752
10752
  if (!h)
10753
10753
  return;
10754
- const p = Pu(h);
10754
+ const p = Iu(h);
10755
10755
  if (a.type.isTextblock) {
10756
10756
  const { defaultType: g } = f.parent.contentMatchAt(f.index());
10757
10757
  e.setNodeMarkup(h.start, g);
@@ -11019,7 +11019,7 @@ const OB = (n) => ({ editor: e, view: t, tr: r, dispatch: s }) => {
11019
11019
  u && s && r.maybeStep(u);
11020
11020
  }), !0;
11021
11021
  };
11022
- function Lf(n, e, t = {}) {
11022
+ function _f(n, e, t = {}) {
11023
11023
  const { from: r, to: s, empty: i } = n.selection, o = e ? hn(e, n.schema) : null, a = [];
11024
11024
  n.doc.nodesBetween(r, s, (f, d) => {
11025
11025
  if (f.isText)
@@ -11036,7 +11036,7 @@ function Lf(n, e, t = {}) {
11036
11036
  }
11037
11037
  const RB = (n, e = {}) => ({ state: t, dispatch: r }) => {
11038
11038
  const s = hn(n, t.schema);
11039
- return Lf(t, s, e) ? x_(t, r) : !1;
11039
+ return _f(t, s, e) ? x_(t, r) : !1;
11040
11040
  }, MB = () => ({ state: n, dispatch: e }) => C_(n, e), DB = (n) => ({ state: e, dispatch: t }) => {
11041
11041
  const r = hn(n, e.schema);
11042
11042
  return P_(r)(e, t);
@@ -11227,9 +11227,9 @@ function sb(n, e, t = {}) {
11227
11227
  }
11228
11228
  function XB(n, e, t = {}) {
11229
11229
  if (!e)
11230
- return Lf(n, null, t) || sb(n, null, t);
11230
+ return _f(n, null, t) || sb(n, null, t);
11231
11231
  const r = Cm(e, n.schema);
11232
- return r === "node" ? Lf(n, e, t) : r === "mark" ? sb(n, e, t) : !1;
11232
+ return r === "node" ? _f(n, e, t) : r === "mark" ? sb(n, e, t) : !1;
11233
11233
  }
11234
11234
  function TA(n, e) {
11235
11235
  const { nodeExtensions: t } = Am(e), r = t.find((o) => o.name === n);
@@ -11449,10 +11449,10 @@ const lF = ({ keepMarks: n = !0 } = {}) => ({ tr: e, state: t, dispatch: r, edit
11449
11449
  return sb(r, o, e) ? s.unsetMark(o, { extendEmptyMarkRange: i }) : s.setMark(o, e);
11450
11450
  }, dF = (n, e, t = {}) => ({ state: r, commands: s }) => {
11451
11451
  const i = hn(n, r.schema), o = hn(e, r.schema);
11452
- return Lf(r, i, t) ? s.setNode(o) : s.setNode(i, t);
11452
+ return _f(r, i, t) ? s.setNode(o) : s.setNode(i, t);
11453
11453
  }, hF = (n, e = {}) => ({ state: t, commands: r }) => {
11454
11454
  const s = hn(n, t.schema);
11455
- return Lf(t, s, e) ? r.lift(s) : r.wrapIn(s, e);
11455
+ return _f(t, s, e) ? r.lift(s) : r.wrapIn(s, e);
11456
11456
  }, pF = () => ({ state: n, dispatch: e }) => {
11457
11457
  const t = n.plugins;
11458
11458
  for (let r = 0; r < t.length; r += 1) {
@@ -12468,10 +12468,10 @@ function Fo(n) {
12468
12468
  function MF(n) {
12469
12469
  return n.replace(/[-/\\^$*+?.()|[\]{}]/g, "\\$&");
12470
12470
  }
12471
- var rr = "top", Wr = "bottom", Gr = "right", sr = "left", dv = "auto", Fd = [rr, Wr, Gr, sr], cu = "start", _f = "end", DF = "clippingParents", jT = "viewport", Ju = "popper", PF = "reference", OA = /* @__PURE__ */ Fd.reduce(function(n, e) {
12472
- return n.concat([e + "-" + cu, e + "-" + _f]);
12471
+ var rr = "top", Wr = "bottom", Gr = "right", sr = "left", dv = "auto", Fd = [rr, Wr, Gr, sr], cu = "start", Bf = "end", DF = "clippingParents", jT = "viewport", qu = "popper", PF = "reference", OA = /* @__PURE__ */ Fd.reduce(function(n, e) {
12472
+ return n.concat([e + "-" + cu, e + "-" + Bf]);
12473
12473
  }, []), UT = /* @__PURE__ */ [].concat(Fd, [dv]).reduce(function(n, e) {
12474
- return n.concat([e, e + "-" + cu, e + "-" + _f]);
12474
+ return n.concat([e, e + "-" + cu, e + "-" + Bf]);
12475
12475
  }, []), IF = "beforeRead", LF = "read", _F = "afterRead", BF = "beforeMain", FF = "main", jF = "afterMain", UF = "beforeWrite", HF = "write", zF = "afterWrite", VF = [IF, LF, _F, BF, FF, jF, UF, HF, zF];
12476
12476
  function qs(n) {
12477
12477
  return n ? (n.nodeName || "").toLowerCase() : null;
@@ -12645,11 +12645,11 @@ function jd(n) {
12645
12645
  function gv(n) {
12646
12646
  return ["top", "bottom"].indexOf(n) >= 0 ? "x" : "y";
12647
12647
  }
12648
- function pf(n, e, t) {
12648
+ function gf(n, e, t) {
12649
12649
  return Wa(n, Fp(e, t));
12650
12650
  }
12651
12651
  function JF(n, e, t) {
12652
- var r = pf(n, e, t);
12652
+ var r = gf(n, e, t);
12653
12653
  return r > t ? t : r;
12654
12654
  }
12655
12655
  function $T() {
@@ -12676,7 +12676,7 @@ var qF = function(e, t) {
12676
12676
  function QF(n) {
12677
12677
  var e, t = n.state, r = n.name, s = n.options, i = t.elements.arrow, o = t.modifiersData.popperOffsets, a = $s(t.placement), l = gv(a), c = [sr, Gr].indexOf(a) >= 0, u = c ? "height" : "width";
12678
12678
  if (!(!i || !o)) {
12679
- var f = qF(s.padding, t), d = pv(i), h = l === "y" ? rr : sr, p = l === "y" ? Wr : Gr, g = t.rects.reference[u] + t.rects.reference[l] - o[l] - t.rects.popper[u], y = o[l] - t.rects.reference[l], b = jd(i), A = b ? l === "y" ? b.clientHeight || 0 : b.clientWidth || 0 : 0, v = g / 2 - y / 2, w = f[h], E = A - d[u] - f[p], k = A / 2 - d[u] / 2 + v, S = pf(w, k, E), M = l;
12679
+ var f = qF(s.padding, t), d = pv(i), h = l === "y" ? rr : sr, p = l === "y" ? Wr : Gr, g = t.rects.reference[u] + t.rects.reference[l] - o[l] - t.rects.popper[u], y = o[l] - t.rects.reference[l], b = jd(i), A = b ? l === "y" ? b.clientHeight || 0 : b.clientWidth || 0 : 0, v = g / 2 - y / 2, w = f[h], E = A - d[u] - f[p], k = A / 2 - d[u] / 2 + v, S = gf(w, k, E), M = l;
12680
12680
  t.modifiersData[r] = (e = {}, e[M] = S, e.centerOffset = S - k, e);
12681
12681
  }
12682
12682
  }
@@ -12721,7 +12721,7 @@ function MA(n) {
12721
12721
  var b = o.hasOwnProperty("x"), A = o.hasOwnProperty("y"), v = sr, w = rr, E = window;
12722
12722
  if (c) {
12723
12723
  var k = jd(t), S = "clientHeight", M = "clientWidth";
12724
- if (k === kr(t) && (k = Jo(t), Li(k).position !== "static" && a === "absolute" && (S = "scrollHeight", M = "scrollWidth")), k = k, s === rr || (s === sr || s === Gr) && i === _f) {
12724
+ if (k === kr(t) && (k = Jo(t), Li(k).position !== "static" && a === "absolute" && (S = "scrollHeight", M = "scrollWidth")), k = k, s === rr || (s === sr || s === Gr) && i === Bf) {
12725
12725
  w = Wr;
12726
12726
  var R = f && k === E && E.visualViewport ? E.visualViewport.height : (
12727
12727
  // $FlowFixMe[prop-missing]
@@ -12729,7 +12729,7 @@ function MA(n) {
12729
12729
  );
12730
12730
  g -= R - r.height, g *= l ? 1 : -1;
12731
12731
  }
12732
- if (s === sr || (s === rr || s === Wr) && i === _f) {
12732
+ if (s === sr || (s === rr || s === Wr) && i === Bf) {
12733
12733
  v = Gr;
12734
12734
  var O = f && k === E && E.visualViewport ? E.visualViewport.width : (
12735
12735
  // $FlowFixMe[prop-missing]
@@ -12865,13 +12865,13 @@ function bv(n) {
12865
12865
  function KT(n) {
12866
12866
  return ["html", "body", "#document"].indexOf(qs(n)) >= 0 ? n.ownerDocument.body : $r(n) && bv(n) ? n : KT(Sm(n));
12867
12867
  }
12868
- function gf(n, e) {
12868
+ function mf(n, e) {
12869
12869
  var t;
12870
12870
  e === void 0 && (e = []);
12871
12871
  var r = KT(n), s = r === ((t = n.ownerDocument) == null ? void 0 : t.body), i = kr(r), o = s ? [i].concat(i.visualViewport || [], bv(r) ? r : []) : r, a = e.concat(o);
12872
12872
  return s ? a : (
12873
12873
  // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
12874
- a.concat(gf(Sm(o)))
12874
+ a.concat(mf(Sm(o)))
12875
12875
  );
12876
12876
  }
12877
12877
  function cb(n) {
@@ -12890,7 +12890,7 @@ function PA(n, e, t) {
12890
12890
  return e === jT ? cb(a3(n, t)) : tl(e) ? c3(e, t) : cb(l3(Jo(n)));
12891
12891
  }
12892
12892
  function u3(n) {
12893
- var e = gf(Sm(n)), t = ["absolute", "fixed"].indexOf(Li(n).position) >= 0, r = t && $r(n) ? jd(n) : n;
12893
+ var e = mf(Sm(n)), t = ["absolute", "fixed"].indexOf(Li(n).position) >= 0, r = t && $r(n) ? jd(n) : n;
12894
12894
  return tl(r) ? e.filter(function(s) {
12895
12895
  return tl(s) && VT(s, r) && qs(s) !== "body";
12896
12896
  }) : [];
@@ -12942,27 +12942,27 @@ function JT(n) {
12942
12942
  case cu:
12943
12943
  l[c] = l[c] - (e[u] / 2 - t[u] / 2);
12944
12944
  break;
12945
- case _f:
12945
+ case Bf:
12946
12946
  l[c] = l[c] + (e[u] / 2 - t[u] / 2);
12947
12947
  break;
12948
12948
  }
12949
12949
  }
12950
12950
  return l;
12951
12951
  }
12952
- function Bf(n, e) {
12952
+ function Ff(n, e) {
12953
12953
  e === void 0 && (e = {});
12954
- var t = e, r = t.placement, s = r === void 0 ? n.placement : r, i = t.strategy, o = i === void 0 ? n.strategy : i, a = t.boundary, l = a === void 0 ? DF : a, c = t.rootBoundary, u = c === void 0 ? jT : c, f = t.elementContext, d = f === void 0 ? Ju : f, h = t.altBoundary, p = h === void 0 ? !1 : h, g = t.padding, y = g === void 0 ? 0 : g, b = WT(typeof y != "number" ? y : GT(y, Fd)), A = d === Ju ? PF : Ju, v = n.rects.popper, w = n.elements[p ? A : d], E = f3(tl(w) ? w : w.contextElement || Jo(n.elements.popper), l, u, o), k = fu(n.elements.reference), S = JT({
12954
+ var t = e, r = t.placement, s = r === void 0 ? n.placement : r, i = t.strategy, o = i === void 0 ? n.strategy : i, a = t.boundary, l = a === void 0 ? DF : a, c = t.rootBoundary, u = c === void 0 ? jT : c, f = t.elementContext, d = f === void 0 ? qu : f, h = t.altBoundary, p = h === void 0 ? !1 : h, g = t.padding, y = g === void 0 ? 0 : g, b = WT(typeof y != "number" ? y : GT(y, Fd)), A = d === qu ? PF : qu, v = n.rects.popper, w = n.elements[p ? A : d], E = f3(tl(w) ? w : w.contextElement || Jo(n.elements.popper), l, u, o), k = fu(n.elements.reference), S = JT({
12955
12955
  reference: k,
12956
12956
  element: v,
12957
12957
  strategy: "absolute",
12958
12958
  placement: s
12959
- }), M = cb(Object.assign({}, v, S)), R = d === Ju ? M : k, O = {
12959
+ }), M = cb(Object.assign({}, v, S)), R = d === qu ? M : k, O = {
12960
12960
  top: E.top - R.top + b.top,
12961
12961
  bottom: R.bottom - E.bottom + b.bottom,
12962
12962
  left: E.left - R.left + b.left,
12963
12963
  right: R.right - E.right + b.right
12964
12964
  }, D = n.modifiersData.offset;
12965
- if (d === Ju && D) {
12965
+ if (d === qu && D) {
12966
12966
  var L = D[s];
12967
12967
  Object.keys(O).forEach(function(F) {
12968
12968
  var G = [Gr, Wr].indexOf(F) >= 0 ? 1 : -1, _ = [rr, Wr].indexOf(F) >= 0 ? "y" : "x";
@@ -12980,7 +12980,7 @@ function d3(n, e) {
12980
12980
  });
12981
12981
  d.length === 0 && (d = f);
12982
12982
  var h = d.reduce(function(p, g) {
12983
- return p[g] = Bf(n, {
12983
+ return p[g] = Ff(n, {
12984
12984
  placement: g,
12985
12985
  boundary: s,
12986
12986
  rootBoundary: i,
@@ -13010,7 +13010,7 @@ function p3(n) {
13010
13010
  allowedAutoPlacements: g
13011
13011
  }) : Ue);
13012
13012
  }, []), E = e.rects.reference, k = e.rects.popper, S = /* @__PURE__ */ new Map(), M = !0, R = w[0], O = 0; O < w.length; O++) {
13013
- var D = w[O], L = $s(D), F = du(D) === cu, G = [rr, Wr].indexOf(L) >= 0, _ = G ? "width" : "height", W = Bf(e, {
13013
+ var D = w[O], L = $s(D), F = du(D) === cu, G = [rr, Wr].indexOf(L) >= 0, _ = G ? "width" : "height", W = Ff(e, {
13014
13014
  placement: D,
13015
13015
  boundary: u,
13016
13016
  rootBoundary: f,
@@ -13072,9 +13072,9 @@ function LA(n) {
13072
13072
  });
13073
13073
  }
13074
13074
  function m3(n) {
13075
- var e = n.state, t = n.name, r = e.rects.reference, s = e.rects.popper, i = e.modifiersData.preventOverflow, o = Bf(e, {
13075
+ var e = n.state, t = n.name, r = e.rects.reference, s = e.rects.popper, i = e.modifiersData.preventOverflow, o = Ff(e, {
13076
13076
  elementContext: "reference"
13077
- }), a = Bf(e, {
13077
+ }), a = Ff(e, {
13078
13078
  altBoundary: !0
13079
13079
  }), l = IA(o, r), c = IA(a, s, i), u = LA(l), f = LA(c);
13080
13080
  e.modifiersData[t] = {
@@ -13139,7 +13139,7 @@ function E3(n) {
13139
13139
  return n === "x" ? "y" : "x";
13140
13140
  }
13141
13141
  function k3(n) {
13142
- var e = n.state, t = n.options, r = n.name, s = t.mainAxis, i = s === void 0 ? !0 : s, o = t.altAxis, a = o === void 0 ? !1 : o, l = t.boundary, c = t.rootBoundary, u = t.altBoundary, f = t.padding, d = t.tether, h = d === void 0 ? !0 : d, p = t.tetherOffset, g = p === void 0 ? 0 : p, y = Bf(e, {
13142
+ var e = n.state, t = n.options, r = n.name, s = t.mainAxis, i = s === void 0 ? !0 : s, o = t.altAxis, a = o === void 0 ? !1 : o, l = t.boundary, c = t.rootBoundary, u = t.altBoundary, f = t.padding, d = t.tether, h = d === void 0 ? !0 : d, p = t.tetherOffset, g = p === void 0 ? 0 : p, y = Ff(e, {
13143
13143
  boundary: l,
13144
13144
  rootBoundary: c,
13145
13145
  padding: f,
@@ -13161,11 +13161,11 @@ function k3(n) {
13161
13161
  var F, G = w === "y" ? rr : sr, _ = w === "y" ? Wr : Gr, W = w === "y" ? "height" : "width", Q = k[w], ne = Q + y[G], X = Q - y[_], ge = h ? -M[W] / 2 : 0, ke = A === cu ? S[W] : M[W], Pe = A === cu ? -M[W] : -S[W], Ce = e.elements.arrow, Ae = h && Ce ? pv(Ce) : {
13162
13162
  width: 0,
13163
13163
  height: 0
13164
- }, Ue = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : $T(), Fe = Ue[G], He = Ue[_], Ie = pf(0, S[W], Ae[W]), Ze = v ? S[W] / 2 - ge - Ie - Fe - O.mainAxis : ke - Ie - Fe - O.mainAxis, le = v ? -S[W] / 2 + ge + Ie + He + O.mainAxis : Pe + Ie + He + O.mainAxis, ze = e.elements.arrow && jd(e.elements.arrow), ae = ze ? w === "y" ? ze.clientTop || 0 : ze.clientLeft || 0 : 0, be = (F = D == null ? void 0 : D[w]) != null ? F : 0, Le = Q + Ze - be - ae, U = Q + le - be, K = pf(h ? Fp(ne, Le) : ne, Q, h ? Wa(X, U) : X);
13164
+ }, Ue = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : $T(), Fe = Ue[G], He = Ue[_], Ie = gf(0, S[W], Ae[W]), Ze = v ? S[W] / 2 - ge - Ie - Fe - O.mainAxis : ke - Ie - Fe - O.mainAxis, le = v ? -S[W] / 2 + ge + Ie + He + O.mainAxis : Pe + Ie + He + O.mainAxis, ze = e.elements.arrow && jd(e.elements.arrow), ae = ze ? w === "y" ? ze.clientTop || 0 : ze.clientLeft || 0 : 0, be = (F = D == null ? void 0 : D[w]) != null ? F : 0, Le = Q + Ze - be - ae, U = Q + le - be, K = gf(h ? Fp(ne, Le) : ne, Q, h ? Wa(X, U) : X);
13165
13165
  k[w] = K, L[w] = K - Q;
13166
13166
  }
13167
13167
  if (a) {
13168
- var te, ce = w === "x" ? rr : sr, P = w === "x" ? Wr : Gr, m = k[E], x = E === "y" ? "height" : "width", N = m + y[ce], B = m - y[P], $ = [rr, sr].indexOf(b) !== -1, q = (te = D == null ? void 0 : D[E]) != null ? te : 0, ye = $ ? N : m - S[x] - M[x] - q + O.altAxis, Se = $ ? m + S[x] + M[x] - q - O.altAxis : B, Je = h && $ ? JF(ye, m, Se) : pf(h ? ye : N, m, h ? Se : B);
13168
+ var te, ce = w === "x" ? rr : sr, P = w === "x" ? Wr : Gr, m = k[E], x = E === "y" ? "height" : "width", N = m + y[ce], B = m - y[P], $ = [rr, sr].indexOf(b) !== -1, q = (te = D == null ? void 0 : D[E]) != null ? te : 0, ye = $ ? N : m - S[x] - M[x] - q + O.altAxis, Se = $ ? m + S[x] + M[x] - q - O.altAxis : B, Je = h && $ ? JF(ye, m, Se) : gf(h ? ye : N, m, h ? Se : B);
13169
13169
  k[E] = Je, L[E] = Je - m;
13170
13170
  }
13171
13171
  e.modifiersData[r] = L;
@@ -13290,8 +13290,8 @@ function I3(n) {
13290
13290
  setOptions: function(b) {
13291
13291
  var A = typeof b == "function" ? b(u.options) : b;
13292
13292
  g(), u.options = Object.assign({}, i, u.options, A), u.scrollParents = {
13293
- reference: tl(a) ? gf(a) : a.contextElement ? gf(a.contextElement) : [],
13294
- popper: gf(l)
13293
+ reference: tl(a) ? mf(a) : a.contextElement ? mf(a.contextElement) : [],
13294
+ popper: mf(l)
13295
13295
  };
13296
13296
  var v = M3(P3([].concat(r, u.options.modifiers)));
13297
13297
  return u.orderedModifiers = v.filter(function(w) {
@@ -13434,10 +13434,10 @@ function UA(n) {
13434
13434
  return n[t] !== void 0 && (e[t] = n[t]), e;
13435
13435
  }, {});
13436
13436
  }
13437
- function mf() {
13437
+ function yf() {
13438
13438
  return document.createElement("div");
13439
13439
  }
13440
- function Ff(n) {
13440
+ function jf(n) {
13441
13441
  return ["Element", "Fragment"].some(function(e) {
13442
13442
  return wv(n, e);
13443
13443
  });
@@ -13452,7 +13452,7 @@ function G3(n) {
13452
13452
  return !!(n && n._tippy && n._tippy.reference === n);
13453
13453
  }
13454
13454
  function K3(n) {
13455
- return Ff(n) ? [n] : $3(n) ? jp(n) : Array.isArray(n) ? n : jp(document.querySelectorAll(n));
13455
+ return jf(n) ? [n] : $3(n) ? jp(n) : Array.isArray(n) ? n : jp(document.querySelectorAll(n));
13456
13456
  }
13457
13457
  function Py(n, e) {
13458
13458
  n.forEach(function(t) {
@@ -13545,21 +13545,21 @@ function t2(n) {
13545
13545
  "color: #a6a095;"
13546
13546
  ];
13547
13547
  }
13548
- var jf;
13548
+ var Uf;
13549
13549
  process.env.NODE_ENV !== "production" && n4();
13550
13550
  function n4() {
13551
- jf = /* @__PURE__ */ new Set();
13551
+ Uf = /* @__PURE__ */ new Set();
13552
13552
  }
13553
13553
  function ai(n, e) {
13554
- if (n && !jf.has(e)) {
13554
+ if (n && !Uf.has(e)) {
13555
13555
  var t;
13556
- jf.add(e), (t = console).warn.apply(t, t2(e));
13556
+ Uf.add(e), (t = console).warn.apply(t, t2(e));
13557
13557
  }
13558
13558
  }
13559
13559
  function ub(n, e) {
13560
- if (n && !jf.has(e)) {
13560
+ if (n && !Uf.has(e)) {
13561
13561
  var t;
13562
- jf.add(e), (t = console).error.apply(t, t2(e));
13562
+ Uf.add(e), (t = console).error.apply(t, t2(e));
13563
13563
  }
13564
13564
  }
13565
13565
  function r4(n) {
@@ -13695,11 +13695,11 @@ function fb(n, e) {
13695
13695
  n[l4()] = e;
13696
13696
  }
13697
13697
  function GA(n) {
13698
- var e = mf();
13699
- return n === !0 ? e.className = QT : (e.className = YT, Ff(n) ? e.appendChild(n) : fb(e, n)), e;
13698
+ var e = yf();
13699
+ return n === !0 ? e.className = QT : (e.className = YT, jf(n) ? e.appendChild(n) : fb(e, n)), e;
13700
13700
  }
13701
13701
  function KA(n, e) {
13702
- Ff(e.content) ? (fb(n, ""), n.appendChild(e.content)) : typeof e.content != "function" && (e.allowHTML ? fb(n, e.content) : n.textContent = e.content);
13702
+ jf(e.content) ? (fb(n, ""), n.appendChild(e.content)) : typeof e.content != "function" && (e.allowHTML ? fb(n, e.content) : n.textContent = e.content);
13703
13703
  }
13704
13704
  function db(n) {
13705
13705
  var e = n.firstElementChild, t = jp(e.children);
@@ -13717,9 +13717,9 @@ function db(n) {
13717
13717
  };
13718
13718
  }
13719
13719
  function i2(n) {
13720
- var e = mf(), t = mf();
13720
+ var e = yf(), t = yf();
13721
13721
  t.className = B3, t.setAttribute("data-state", "hidden"), t.setAttribute("tabindex", "-1");
13722
- var r = mf();
13722
+ var r = yf();
13723
13723
  r.className = qT, r.setAttribute("data-state", "hidden"), KA(r, n.props), e.appendChild(t), t.appendChild(r), s(n.props, n.props);
13724
13724
  function s(i, o) {
13725
13725
  var a = db(e), l = a.box, c = a.content, u = a.arrow;
@@ -13748,7 +13748,7 @@ function u4(n, e) {
13748
13748
  // properties
13749
13749
  id: y,
13750
13750
  reference: n,
13751
- popper: mf(),
13751
+ popper: yf(),
13752
13752
  popperInstance: b,
13753
13753
  props: t,
13754
13754
  state: v,
@@ -14141,7 +14141,7 @@ function vl(n, e) {
14141
14141
  plugins: t
14142
14142
  }), s = K3(n);
14143
14143
  if (process.env.NODE_ENV !== "production") {
14144
- var i = Ff(r.content), o = s.length > 1;
14144
+ var i = jf(r.content), o = s.length > 1;
14145
14145
  ai(i && o, ["tippy() was passed an Element as the `content` prop, but more than", "one tippy instance was created by this invocation. This means the", "content element will only be appended to the last tippy instance.", `
14146
14146
 
14147
14147
  `, "Instead, pass the .innerHTML of the element, or use a function that", "returns a cloned version of the element instead.", `
@@ -14153,7 +14153,7 @@ function vl(n, e) {
14153
14153
  var u = c && u4(c, r);
14154
14154
  return u && l.push(u), l;
14155
14155
  }, []);
14156
- return Ff(n) ? a[0] : a;
14156
+ return jf(n) ? a[0] : a;
14157
14157
  }
14158
14158
  vl.defaultProps = br;
14159
14159
  vl.setDefaultProps = o4;
@@ -16891,16 +16891,16 @@ function S8() {
16891
16891
  window.scrollTo(0, 0);
16892
16892
  }, a = window.pageXOffset, l = window.pageYOffset, c = wb(oN(document.documentElement, "paddingRight", `${window.innerWidth - document.documentElement.clientWidth}px`));
16893
16893
  window.scrollTo(0, 0);
16894
- let u = wb(qu(document, "touchstart", t, {
16894
+ let u = wb(Qu(document, "touchstart", t, {
16895
16895
  passive: !1,
16896
16896
  capture: !0
16897
- }), qu(document, "touchmove", r, {
16897
+ }), Qu(document, "touchmove", r, {
16898
16898
  passive: !1,
16899
16899
  capture: !0
16900
- }), qu(document, "touchend", s, {
16900
+ }), Qu(document, "touchend", s, {
16901
16901
  passive: !1,
16902
16902
  capture: !0
16903
- }), qu(document, "focus", i, !0), qu(window, "scroll", o));
16903
+ }), Qu(document, "focus", i, !0), Qu(window, "scroll", o));
16904
16904
  return () => {
16905
16905
  c(), u(), window.scrollTo(a, l);
16906
16906
  };
@@ -16911,7 +16911,7 @@ function oN(n, e, t) {
16911
16911
  n.style[e] = r;
16912
16912
  };
16913
16913
  }
16914
- function qu(n, e, t, r) {
16914
+ function Qu(n, e, t, r) {
16915
16915
  return n.addEventListener(e, t, r), () => {
16916
16916
  n.removeEventListener(e, t, r);
16917
16917
  };
@@ -16940,11 +16940,11 @@ function N8(...n) {
16940
16940
  function aN(...n) {
16941
16941
  return H.useCallback(N8(...n), n);
16942
16942
  }
16943
- let Qu = null;
16943
+ let Yu = null;
16944
16944
  function O8({ isOpen: n, modal: e, nested: t, hasBeenOpened: r, preventScrollRestoration: s, noBodyStyles: i }) {
16945
16945
  const [o, a] = re.useState(() => typeof window < "u" ? window.location.href : ""), l = re.useRef(0), c = re.useCallback(() => {
16946
- if (Qu === null && n && !i) {
16947
- Qu = {
16946
+ if (Yu === null && n && !i) {
16947
+ Yu = {
16948
16948
  position: document.body.style.position,
16949
16949
  top: document.body.style.top,
16950
16950
  left: document.body.style.left,
@@ -16965,15 +16965,15 @@ function O8({ isOpen: n, modal: e, nested: t, hasBeenOpened: r, preventScrollRes
16965
16965
  }, [
16966
16966
  n
16967
16967
  ]), u = re.useCallback(() => {
16968
- if (Qu !== null && !i) {
16968
+ if (Yu !== null && !i) {
16969
16969
  const f = -parseInt(document.body.style.top, 10), d = -parseInt(document.body.style.left, 10);
16970
- Object.assign(document.body.style, Qu), window.requestAnimationFrame(() => {
16970
+ Object.assign(document.body.style, Yu), window.requestAnimationFrame(() => {
16971
16971
  if (s && o !== window.location.href) {
16972
16972
  a(window.location.href);
16973
16973
  return;
16974
16974
  }
16975
16975
  window.scrollTo(d, f);
16976
- }), Qu = null;
16976
+ }), Yu = null;
16977
16977
  }
16978
16978
  }, [
16979
16979
  o
@@ -17949,16 +17949,16 @@ function Tt(n) {
17949
17949
  function Wv(n) {
17950
17950
  return Math.sign(n);
17951
17951
  }
17952
- function yf(n, e) {
17952
+ function bf(n, e) {
17953
17953
  return Tt(n - e);
17954
17954
  }
17955
17955
  function Q8(n, e) {
17956
17956
  if (n === 0 || e === 0 || Tt(n) <= Tt(e)) return 0;
17957
- const t = yf(Tt(n), Tt(e));
17957
+ const t = bf(Tt(n), Tt(e));
17958
17958
  return Tt(t / n);
17959
17959
  }
17960
- function Uf(n) {
17961
- return Hf(n).map(Number);
17960
+ function Hf(n) {
17961
+ return zf(n).map(Number);
17962
17962
  }
17963
17963
  function as(n) {
17964
17964
  return n[Gd(n)];
@@ -17972,11 +17972,11 @@ function Gv(n, e) {
17972
17972
  function yE(n, e = 0) {
17973
17973
  return Array.from(Array(n), (t, r) => e + r);
17974
17974
  }
17975
- function Hf(n) {
17975
+ function zf(n) {
17976
17976
  return Object.keys(n);
17977
17977
  }
17978
17978
  function SN(n, e) {
17979
- return [n, e].reduce((t, r) => (Hf(r).forEach((s) => {
17979
+ return [n, e].reduce((t, r) => (zf(r).forEach((s) => {
17980
17980
  const i = t[s], o = r[s], a = mE(i) && mE(o);
17981
17981
  t[s] = a ? SN(i, o) : o;
17982
17982
  }), t), {});
@@ -18006,7 +18006,7 @@ function Y8(n, e) {
18006
18006
  measure: o
18007
18007
  };
18008
18008
  }
18009
- function zf() {
18009
+ function Vf() {
18010
18010
  let n = [];
18011
18011
  function e(s, i, o, a = {
18012
18012
  passive: !0
@@ -18030,7 +18030,7 @@ function zf() {
18030
18030
  return r;
18031
18031
  }
18032
18032
  function X8(n, e, t, r) {
18033
- const s = zf(), i = 1e3 / 60;
18033
+ const s = Vf(), i = 1e3 / 60;
18034
18034
  let o = null, a = 0, l = 0;
18035
18035
  function c() {
18036
18036
  s.add(n, "visibilitychange", () => {
@@ -18156,7 +18156,7 @@ function eU(n, e, t, r, s, i, o, a, l, c, u, f, d, h, p, g, y, b, A) {
18156
18156
  direction: w
18157
18157
  } = n, E = ["INPUT", "SELECT", "TEXTAREA"], k = {
18158
18158
  passive: !1
18159
- }, S = zf(), M = zf(), R = sl(50, 225).constrain(h.measure(20)), O = {
18159
+ }, S = Vf(), M = Vf(), R = sl(50, 225).constrain(h.measure(20)), O = {
18160
18160
  mouse: 300,
18161
18161
  touch: 400
18162
18162
  }, D = {
@@ -18194,11 +18194,11 @@ function eU(n, e, t, r, s, i, o, a, l, c, u, f, d, h, p, g, y, b, A) {
18194
18194
  }
18195
18195
  function Fe(ae) {
18196
18196
  const be = Ab(ae, r);
18197
- X = be, ne = p && be && !ae.buttons && F, F = yf(s.get(), o.get()) >= 2, !(be && ae.button !== 0) && (Ce(ae.target) || (W = !0, i.pointerDown(ae), c.useFriction(0).useDuration(0), s.set(o), Pe(), G = i.readPoint(ae), _ = i.readPoint(ae, v), d.emit("pointerDown")));
18197
+ X = be, ne = p && be && !ae.buttons && F, F = bf(s.get(), o.get()) >= 2, !(be && ae.button !== 0) && (Ce(ae.target) || (W = !0, i.pointerDown(ae), c.useFriction(0).useDuration(0), s.set(o), Pe(), G = i.readPoint(ae), _ = i.readPoint(ae, v), d.emit("pointerDown")));
18198
18198
  }
18199
18199
  function He(ae) {
18200
18200
  if (!Ab(ae, r) && ae.touches.length >= 2) return Ie(ae);
18201
- const Le = i.readPoint(ae), U = i.readPoint(ae, v), K = yf(Le, G), te = yf(U, _);
18201
+ const Le = i.readPoint(ae), U = i.readPoint(ae, v), K = bf(Le, G), te = bf(U, _);
18202
18202
  if (!Q && !X && (!ae.cancelable || (Q = K > te, !Q)))
18203
18203
  return Ie(ae);
18204
18204
  const ce = i.pointerMove(ae);
@@ -18376,7 +18376,7 @@ function oU(n, e, t, r, s) {
18376
18376
  function aU(n, e, t, r, s) {
18377
18377
  const i = sl(-e + n, 0), o = f(), a = u(), l = d();
18378
18378
  function c(p, g) {
18379
- return yf(p, g) < 1;
18379
+ return bf(p, g) < 1;
18380
18380
  }
18381
18381
  function u() {
18382
18382
  const p = o[0], g = as(o), y = o.lastIndexOf(p), b = o.indexOf(g) + 1;
@@ -18635,7 +18635,7 @@ function NN(n, e) {
18635
18635
  };
18636
18636
  }
18637
18637
  function mU(n, e, t, r, s, i, o, a, l) {
18638
- const u = Uf(s), f = Uf(s).reverse(), d = b().concat(A());
18638
+ const u = Hf(s), f = Hf(s).reverse(), d = b().concat(A());
18639
18639
  function h(S, M) {
18640
18640
  return S.reduce((R, O) => R - s[O], M);
18641
18641
  }
@@ -18740,7 +18740,7 @@ function bU(n, e, t, r) {
18740
18740
  a && a.disconnect(), l = !0;
18741
18741
  }
18742
18742
  function f(p) {
18743
- return Hf(s).reduce((g, y) => {
18743
+ return zf(s).reduce((g, y) => {
18744
18744
  const b = parseInt(y), {
18745
18745
  isIntersecting: A
18746
18746
  } = s[b];
@@ -18795,10 +18795,10 @@ function vU(n, e, t, r, s, i, o, a, l) {
18795
18795
  direction: f
18796
18796
  } = n, d = Vv(t);
18797
18797
  function h(b, A) {
18798
- return Uf(b).filter((v) => v % A === 0).map((v) => b.slice(v, v + A));
18798
+ return Hf(b).filter((v) => v % A === 0).map((v) => b.slice(v, v + A));
18799
18799
  }
18800
18800
  function p(b) {
18801
- return b.length ? Uf(b).reduce((A, v, w) => {
18801
+ return b.length ? Hf(b).reduce((A, v, w) => {
18802
18802
  const E = as(A) || 0, k = E === 0, S = v === Gd(b), M = s[c] - i[E][c], R = s[c] - i[v][u], O = !r && k ? f(o) : 0, D = !r && S ? f(a) : 0, L = Tt(R - D - (M + O));
18803
18803
  return w && L > e + l && A.push(v), S && A.push(b.length), A;
18804
18804
  }, []).map((A, v, w) => {
@@ -18843,7 +18843,7 @@ function xU(n, e, t, r, s, i, o) {
18843
18843
  scrollContainLimit: Ue
18844
18844
  } = aU(D, Ce, Pe, A, k), Fe = G ? Ae : Pe, {
18845
18845
  limit: He
18846
- } = lU(Ce, Fe, f), Ie = TN(Gd(Fe), u, f), Ze = Ie.clone(), le = Uf(t), ze = ({
18846
+ } = lU(Ce, Fe, f), Ie = TN(Gd(Fe), u, f), Ze = Ie.clone(), le = Hf(t), ze = ({
18847
18847
  dragHandler: Je,
18848
18848
  scrollBody: je,
18849
18849
  scrollBounds: Be,
@@ -18869,7 +18869,7 @@ function xU(n, e, t, r, s, i, o) {
18869
18869
  }, We) => {
18870
18870
  const et = Je.velocity(), ht = Je.settled(), Yt = !Te.shouldConstrain(), Ot = he ? ht : ht && Yt;
18871
18871
  Ot && !Y.pointerDown() && (ee.stop(), se.emit("settle")), Ot || se.emit("scroll"), lt.set(Be.get() - et + et * We), he && (On.loop(Je.direction()), Wn.loop()), je.to(lt.get());
18872
- }, be = X8(r, s, () => ze(Se), (Je) => ae(Se, Je)), Le = 0.68, U = Fe[Ie.get()], K = np(U), te = np(U), ce = np(U), P = iU(K, te, ce, d, Le), m = hU(f, Fe, Ce, He, ce), x = pU(be, Ie, Ze, P, m, ce, o), N = uU(He), B = zf(), $ = bU(e, t, o, g), {
18872
+ }, be = X8(r, s, () => ze(Se), (Je) => ae(Se, Je)), Le = 0.68, U = Fe[Ie.get()], K = np(U), te = np(U), ce = np(U), P = iU(K, te, ce, d, Le), m = hU(f, Fe, Ce, He, ce), x = pU(be, Ie, Ze, P, m, ce, o), N = uU(He), B = Vf(), $ = bU(e, t, o, g), {
18873
18873
  slideRegistry: q
18874
18874
  } = dU(G, A, Fe, Ue, ge, le), ye = gU(n, t, q, x, P, B, o), Se = {
18875
18875
  ownerDocument: r,
@@ -18964,11 +18964,11 @@ function kU(n) {
18964
18964
  return SN(i, o || {});
18965
18965
  }
18966
18966
  function t(i) {
18967
- const o = i.breakpoints || {}, a = Hf(o).filter((l) => n.matchMedia(l).matches).map((l) => o[l]).reduce((l, c) => e(l, c), {});
18967
+ const o = i.breakpoints || {}, a = zf(o).filter((l) => n.matchMedia(l).matches).map((l) => o[l]).reduce((l, c) => e(l, c), {});
18968
18968
  return e(i, a);
18969
18969
  }
18970
18970
  function r(i) {
18971
- return i.map((o) => Hf(o.breakpoints || {})).reduce((o, a) => o.concat(a), []).map(n.matchMedia);
18971
+ return i.map((o) => zf(o.breakpoints || {})).reduce((o, a) => o.concat(a), []).map(n.matchMedia);
18972
18972
  }
18973
18973
  return {
18974
18974
  mergeOptions: e,
@@ -18994,7 +18994,7 @@ function CU(n) {
18994
18994
  };
18995
18995
  }
18996
18996
  function Vp(n, e, t) {
18997
- const r = n.ownerDocument, s = r.defaultView, i = kU(s), o = CU(i), a = zf(), l = AU(), {
18997
+ const r = n.ownerDocument, s = r.defaultView, i = kU(s), o = CU(i), a = Vf(), l = AU(), {
18998
18998
  mergeOptions: c,
18999
18999
  optionsAtMedia: u,
19000
19000
  optionsMediaQueries: f
@@ -19399,7 +19399,7 @@ const $p = H.forwardRef(
19399
19399
  }
19400
19400
  );
19401
19401
  $p.displayName = "TextField";
19402
- const Vf = re.forwardRef(
19402
+ const pu = re.forwardRef(
19403
19403
  ({
19404
19404
  active: n,
19405
19405
  buttonSize: e = "medium",
@@ -19459,7 +19459,7 @@ const Vf = re.forwardRef(
19459
19459
  );
19460
19460
  }
19461
19461
  );
19462
- Vf.displayName = "Button";
19462
+ pu.displayName = "Button";
19463
19463
  const PN = [
19464
19464
  {
19465
19465
  title: "Trebuchet MS",
@@ -20022,7 +20022,7 @@ const PN = [
20022
20022
  }
20023
20023
  ),
20024
20024
  /* @__PURE__ */ C.jsx("div", { className: "h-full flex items-center", children: /* @__PURE__ */ C.jsx(
20025
- Vf,
20025
+ pu,
20026
20026
  {
20027
20027
  variant: "secondary",
20028
20028
  onClick: () => a(),
@@ -20949,7 +20949,7 @@ const VN = Sr(
20949
20949
  ...o
20950
20950
  }, a) => {
20951
20951
  const l = pe("gap-1 min-w-[2rem] px-2 w-auto", r), c = /* @__PURE__ */ C.jsx(
20952
- Vf,
20952
+ pu,
20953
20953
  {
20954
20954
  activeClassname: i,
20955
20955
  className: l,
@@ -21096,7 +21096,7 @@ const zl = {
21096
21096
  i.map((a, l) => a ? /* @__PURE__ */ C.jsx(
21097
21097
  "div",
21098
21098
  {
21099
- className: "tooltip tooltip-bottom",
21099
+ className: "tooltip tooltip-neutral tooltip-bottom text-xs",
21100
21100
  "data-tip": a.title,
21101
21101
  children: /* @__PURE__ */ C.jsx(
21102
21102
  "span",
@@ -21369,8 +21369,8 @@ const Ys = (n) => new Error(n), ls = () => {
21369
21369
  /** @type {TextEncoder} */
21370
21370
  typeof TextEncoder < "u" ? new TextEncoder() : null
21371
21371
  ), cH = (n) => Wf.encode(n), Ob = Wf ? cH : lH;
21372
- let bf = typeof TextDecoder > "u" ? null : new TextDecoder("utf-8", { fatal: !0, ignoreBOM: !0 });
21373
- bf && bf.decode(new Uint8Array()).length === 1 && (bf = null);
21372
+ let wf = typeof TextDecoder > "u" ? null : new TextDecoder("utf-8", { fatal: !0, ignoreBOM: !0 });
21373
+ wf && wf.decode(new Uint8Array()).length === 1 && (wf = null);
21374
21374
  class Jd {
21375
21375
  constructor() {
21376
21376
  this.cpos = 0, this.cbuf = new Uint8Array(100), this.bufs = [];
@@ -21433,7 +21433,7 @@ Wf.encodeInto ? hH : pH, Fm = (n, e) => {
21433
21433
  }, gH = (n, e) => Xv(n, 4).setFloat32(0, e, !1), mH = (n, e) => Xv(n, 8).setFloat64(0, e, !1), yH = (n, e) => (
21434
21434
  /** @type {any} */
21435
21435
  Xv(n, 8).setBigInt64(0, e, !1)
21436
- ), kE = new DataView(new ArrayBuffer(4)), bH = (n) => (kE.setFloat32(0, n), kE.getFloat32(0) === n), pu = (n, e) => {
21436
+ ), kE = new DataView(new ArrayBuffer(4)), bH = (n) => (kE.setFloat32(0, n), kE.getFloat32(0) === n), gu = (n, e) => {
21437
21437
  switch (typeof e) {
21438
21438
  case "string":
21439
21439
  nn(n, 119), Ws(n, e);
@@ -21450,7 +21450,7 @@ Wf.encodeInto ? hH : pH, Fm = (n, e) => {
21450
21450
  else if (Sb(e)) {
21451
21451
  nn(n, 117), Me(n, e.length);
21452
21452
  for (let t = 0; t < e.length; t++)
21453
- pu(n, e[t]);
21453
+ gu(n, e[t]);
21454
21454
  } else if (e instanceof Uint8Array)
21455
21455
  nn(n, 116), Lt(n, e);
21456
21456
  else {
@@ -21459,7 +21459,7 @@ Wf.encodeInto ? hH : pH, Fm = (n, e) => {
21459
21459
  Me(n, t.length);
21460
21460
  for (let r = 0; r < t.length; r++) {
21461
21461
  const s = t[r];
21462
- Ws(n, s), pu(n, e[s]);
21462
+ Ws(n, s), gu(n, e[s]);
21463
21463
  }
21464
21464
  }
21465
21465
  break;
@@ -21604,8 +21604,8 @@ const ti = (n) => new jm(n), vH = (n) => n.pos !== n.arr.length, xH = (n, e) =>
21604
21604
  }
21605
21605
  }, EH = (n) => (
21606
21606
  /** @type any */
21607
- bf.decode(rn(n))
21608
- ), Ri = bf ? EH : AH, e1 = (n, e) => {
21607
+ wf.decode(rn(n))
21608
+ ), Ri = wf ? EH : AH, e1 = (n, e) => {
21609
21609
  const t = new DataView(n.arr.buffer, n.arr.byteOffset + n.pos, e);
21610
21610
  return n.pos += e, t;
21611
21611
  }, kH = (n) => e1(n, 4).getFloat32(0, !1), CH = (n) => e1(n, 8).getFloat64(0, !1), SH = (n) => (
@@ -21635,19 +21635,19 @@ const ti = (n) => new jm(n), vH = (n) => n.pos !== n.arr.length, xH = (n, e) =>
21635
21635
  const e = Ge(n), t = {};
21636
21636
  for (let r = 0; r < e; r++) {
21637
21637
  const s = Ri(n);
21638
- t[s] = gu(n);
21638
+ t[s] = mu(n);
21639
21639
  }
21640
21640
  return t;
21641
21641
  },
21642
21642
  (n) => {
21643
21643
  const e = Ge(n), t = [];
21644
21644
  for (let r = 0; r < e; r++)
21645
- t.push(gu(n));
21645
+ t.push(mu(n));
21646
21646
  return t;
21647
21647
  },
21648
21648
  rn
21649
21649
  // CASE 116: Uint8Array
21650
- ], gu = (n) => TH[127 - il(n)](n);
21650
+ ], mu = (n) => TH[127 - il(n)](n);
21651
21651
  class NE extends jm {
21652
21652
  /**
21653
21653
  * @param {Uint8Array} uint8Array
@@ -21763,7 +21763,7 @@ const tO = eO, RH = (n) => t1 || addEventListener(
21763
21763
  t < n.length && r1(n, e, t + 1);
21764
21764
  }
21765
21765
  }, BH = () => {
21766
- }, FH = (n) => n, jH = (n, e) => n === e, wf = (n, e) => {
21766
+ }, FH = (n) => n, jH = (n, e) => n === e, vf = (n, e) => {
21767
21767
  if (n == null || e == null)
21768
21768
  return jH(n, e);
21769
21769
  if (n.constructor !== e.constructor)
@@ -21793,7 +21793,7 @@ const tO = eO, RH = (n) => t1 || addEventListener(
21793
21793
  if (n.size !== e.size)
21794
21794
  return !1;
21795
21795
  for (const t of n.keys())
21796
- if (!e.has(t) || !wf(n.get(t), e.get(t)))
21796
+ if (!e.has(t) || !vf(n.get(t), e.get(t)))
21797
21797
  return !1;
21798
21798
  break;
21799
21799
  }
@@ -21801,25 +21801,25 @@ const tO = eO, RH = (n) => t1 || addEventListener(
21801
21801
  if (RE(n) !== RE(e))
21802
21802
  return !1;
21803
21803
  for (const t in n)
21804
- if (!nO(n, t) || !wf(n[t], e[t]))
21804
+ if (!nO(n, t) || !vf(n[t], e[t]))
21805
21805
  return !1;
21806
21806
  break;
21807
21807
  case Array:
21808
21808
  if (n.length !== e.length)
21809
21809
  return !1;
21810
21810
  for (let t = 0; t < n.length; t++)
21811
- if (!wf(n[t], e[t]))
21811
+ if (!vf(n[t], e[t]))
21812
21812
  return !1;
21813
21813
  break;
21814
21814
  default:
21815
21815
  return !1;
21816
21816
  }
21817
21817
  return !0;
21818
- }, UH = (n, e) => e.includes(n), mu = typeof process < "u" && process.release && /node|io\.js/.test(process.release.name) && Object.prototype.toString.call(typeof process < "u" ? process : 0) === "[object process]", s1 = typeof window < "u" && typeof document < "u" && !mu;
21818
+ }, UH = (n, e) => e.includes(n), yu = typeof process < "u" && process.release && /node|io\.js/.test(process.release.name) && Object.prototype.toString.call(typeof process < "u" ? process : 0) === "[object process]", s1 = typeof window < "u" && typeof document < "u" && !yu;
21819
21819
  let xs;
21820
21820
  const HH = () => {
21821
21821
  if (xs === void 0)
21822
- if (mu) {
21822
+ if (yu) {
21823
21823
  xs = Un();
21824
21824
  const n = process.argv;
21825
21825
  let e = null;
@@ -21835,9 +21835,9 @@ const HH = () => {
21835
21835
  }
21836
21836
  })) : xs = Un();
21837
21837
  return xs;
21838
- }, Mb = (n) => HH().has(n), Jp = (n) => OE(mu ? process.env[n.toUpperCase().replaceAll("-", "_")] : tO.getItem(n)), zH = (n) => Mb("--" + n) || Jp(n) !== null;
21838
+ }, Mb = (n) => HH().has(n), Jp = (n) => OE(yu ? process.env[n.toUpperCase().replaceAll("-", "_")] : tO.getItem(n)), zH = (n) => Mb("--" + n) || Jp(n) !== null;
21839
21839
  zH("production");
21840
- const DE = mu && UH(process.env.FORCE_COLOR, ["true", "1", "2"]), VH = !Mb("--no-colors") && (!mu || process.stdout.isTTY || DE) && (!mu || Mb("--color") || DE || Jp("COLORTERM") !== null || (Jp("TERM") || "").includes("color"));
21840
+ const DE = yu && UH(process.env.FORCE_COLOR, ["true", "1", "2"]), VH = !Mb("--no-colors") && (!yu || process.stdout.isTTY || DE) && (!yu || Mb("--color") || DE || Jp("COLORTERM") !== null || (Jp("TERM") || "").includes("color"));
21841
21841
  class $H {
21842
21842
  /**
21843
21843
  * @param {L} left
@@ -22031,7 +22031,7 @@ class c1 {
22031
22031
  this.clock = e, this.len = t;
22032
22032
  }
22033
22033
  }
22034
- class Iu {
22034
+ class Lu {
22035
22035
  constructor() {
22036
22036
  this.clients = /* @__PURE__ */ new Map();
22037
22037
  }
@@ -22057,7 +22057,7 @@ const Uo = (n, e, t) => e.clients.forEach((r, s) => {
22057
22057
  r = s - 1;
22058
22058
  }
22059
22059
  return null;
22060
- }, Lu = (n, e) => {
22060
+ }, _u = (n, e) => {
22061
22061
  const t = n.clients.get(e.client);
22062
22062
  return t !== void 0 && m5(t, e.clock) !== null;
22063
22063
  }, u1 = (n) => {
@@ -22071,7 +22071,7 @@ const Uo = (n, e, t) => e.clients.forEach((r, s) => {
22071
22071
  e.length = r;
22072
22072
  });
22073
22073
  }, Db = (n) => {
22074
- const e = new Iu();
22074
+ const e = new Lu();
22075
22075
  for (let t = 0; t < n.length; t++)
22076
22076
  n[t].clients.forEach((r, s) => {
22077
22077
  if (!e.clients.has(s)) {
@@ -22087,7 +22087,7 @@ const Uo = (n, e, t) => e.clients.forEach((r, s) => {
22087
22087
  /** @type {Array<DeleteItem>} */
22088
22088
  []
22089
22089
  )).push(new c1(t, r));
22090
- }, mO = () => new Iu(), yO = (n) => {
22090
+ }, mO = () => new Lu(), yO = (n) => {
22091
22091
  const e = mO();
22092
22092
  return n.clients.forEach((t, r) => {
22093
22093
  const s = [];
@@ -22104,7 +22104,7 @@ const Uo = (n, e, t) => e.clients.forEach((r, s) => {
22104
22104
  }
22105
22105
  s.length > 0 && e.clients.set(r, s);
22106
22106
  }), e;
22107
- }, _u = (n, e) => {
22107
+ }, Bu = (n, e) => {
22108
22108
  Me(n.restEncoder, e.clients.size), Bi(e.clients.entries()).sort((t, r) => r[0] - t[0]).forEach(([t, r]) => {
22109
22109
  n.resetDsCurVal(), Me(n.restEncoder, t);
22110
22110
  const s = r.length;
@@ -22115,7 +22115,7 @@ const Uo = (n, e, t) => e.clients.forEach((r, s) => {
22115
22115
  }
22116
22116
  });
22117
22117
  }, f1 = (n) => {
22118
- const e = new Iu(), t = Ge(n.restDecoder);
22118
+ const e = new Lu(), t = Ge(n.restDecoder);
22119
22119
  for (let r = 0; r < t; r++) {
22120
22120
  n.resetDsCurVal();
22121
22121
  const s = Ge(n.restDecoder), i = Ge(n.restDecoder);
@@ -22130,7 +22130,7 @@ const Uo = (n, e, t) => e.clients.forEach((r, s) => {
22130
22130
  }
22131
22131
  return e;
22132
22132
  }, _E = (n, e, t) => {
22133
- const r = new Iu(), s = Ge(n.restDecoder);
22133
+ const r = new Lu(), s = Ge(n.restDecoder);
22134
22134
  for (let i = 0; i < s; i++) {
22135
22135
  n.resetDsCurVal();
22136
22136
  const o = Ge(n.restDecoder), a = Ge(n.restDecoder), l = t.clients.get(o) || [], c = Vt(t, o);
@@ -22147,7 +22147,7 @@ const Uo = (n, e, t) => e.clients.forEach((r, s) => {
22147
22147
  }
22148
22148
  if (r.clients.size > 0) {
22149
22149
  const i = new al();
22150
- return Me(i.restEncoder, 0), _u(i, r), i.toUint8Array();
22150
+ return Me(i.restEncoder, 0), Bu(i, r), i.toUint8Array();
22151
22151
  }
22152
22152
  return null;
22153
22153
  }, bO = qN;
@@ -22300,7 +22300,7 @@ class Al extends Qv {
22300
22300
  getMap(e = "") {
22301
22301
  return (
22302
22302
  /** @type {YMap<T>} */
22303
- this.get(e, bu)
22303
+ this.get(e, wu)
22304
22304
  );
22305
22305
  }
22306
22306
  /**
@@ -22442,7 +22442,7 @@ class vO extends wO {
22442
22442
  * @return {any}
22443
22443
  */
22444
22444
  readAny() {
22445
- return gu(this.restDecoder);
22445
+ return mu(this.restDecoder);
22446
22446
  }
22447
22447
  /**
22448
22448
  * @return {Uint8Array}
@@ -22489,7 +22489,7 @@ class y5 {
22489
22489
  return this.dsCurrVal += e, e;
22490
22490
  }
22491
22491
  }
22492
- class yu extends y5 {
22492
+ class bu extends y5 {
22493
22493
  /**
22494
22494
  * @param {decoding.Decoder} decoder
22495
22495
  */
@@ -22554,7 +22554,7 @@ class yu extends y5 {
22554
22554
  * @return {any}
22555
22555
  */
22556
22556
  readAny() {
22557
- return gu(this.restDecoder);
22557
+ return mu(this.restDecoder);
22558
22558
  }
22559
22559
  /**
22560
22560
  * @return {Uint8Array}
@@ -22570,7 +22570,7 @@ class yu extends y5 {
22570
22570
  * @return {any}
22571
22571
  */
22572
22572
  readJSON() {
22573
- return gu(this.restDecoder);
22573
+ return mu(this.restDecoder);
22574
22574
  }
22575
22575
  /**
22576
22576
  * @return {string}
@@ -22663,7 +22663,7 @@ class qd extends xO {
22663
22663
  * @param {any} any
22664
22664
  */
22665
22665
  writeAny(e) {
22666
- pu(this.restEncoder, e);
22666
+ gu(this.restEncoder, e);
22667
22667
  }
22668
22668
  /**
22669
22669
  * @param {Uint8Array} buf
@@ -22770,7 +22770,7 @@ class al extends AO {
22770
22770
  * @param {any} any
22771
22771
  */
22772
22772
  writeAny(e) {
22773
- pu(this.restEncoder, e);
22773
+ gu(this.restEncoder, e);
22774
22774
  }
22775
22775
  /**
22776
22776
  * @param {Uint8Array} buf
@@ -22786,7 +22786,7 @@ class al extends AO {
22786
22786
  * @param {any} embed
22787
22787
  */
22788
22788
  writeJSON(e) {
22789
- pu(this.restEncoder, e);
22789
+ gu(this.restEncoder, e);
22790
22790
  }
22791
22791
  /**
22792
22792
  * Property keys are often reused. For example, in y-prosemirror the key `bold` might
@@ -22952,7 +22952,7 @@ const b5 = (n, e, t, r) => {
22952
22952
  return d1(h, a, /* @__PURE__ */ new Map()), Me(h.restEncoder, 0), { missing: l, update: h.toUint8Array() };
22953
22953
  }
22954
22954
  return null;
22955
- }, x5 = (n, e) => d1(n, e.doc.store, e.beforeState), A5 = (n, e, t, r = new yu(n)) => bt(e, (s) => {
22955
+ }, x5 = (n, e) => d1(n, e.doc.store, e.beforeState), A5 = (n, e, t, r = new bu(n)) => bt(e, (s) => {
22956
22956
  s.local = !1;
22957
22957
  let i = !1;
22958
22958
  const o = s.doc, a = o.store, l = w5(r, o), c = v5(s, a, l), u = a.pendingStructs;
@@ -22973,7 +22973,7 @@ const b5 = (n, e, t, r) => {
22973
22973
  a.pendingStructs = c;
22974
22974
  const f = _E(r, s, a);
22975
22975
  if (a.pendingDs) {
22976
- const d = new yu(ti(a.pendingDs));
22976
+ const d = new bu(ti(a.pendingDs));
22977
22977
  Ge(d.restDecoder);
22978
22978
  const h = _E(d, s, a);
22979
22979
  f && h ? a.pendingDs = Qp([f, h]) : a.pendingDs = f || h;
@@ -22986,11 +22986,11 @@ const b5 = (n, e, t, r) => {
22986
22986
  );
22987
22987
  a.pendingStructs = null, qp(s.doc, d);
22988
22988
  }
22989
- }, t, !1), qp = (n, e, t, r = yu) => {
22989
+ }, t, !1), qp = (n, e, t, r = bu) => {
22990
22990
  const s = ti(e);
22991
22991
  A5(s, n, t, new r(s));
22992
22992
  }, E5 = (n, e, t) => qp(n, e, t, vO), k5 = (n, e, t = /* @__PURE__ */ new Map()) => {
22993
- d1(n, e.store, t), _u(n, yO(e.store));
22993
+ d1(n, e.store, t), Bu(n, yO(e.store));
22994
22994
  }, C5 = (n, e = new Uint8Array([0]), t = new al()) => {
22995
22995
  const r = EO(e);
22996
22996
  k5(t, n, r);
@@ -23055,7 +23055,7 @@ class Qf {
23055
23055
  this.type = e, this.tname = t, this.item = r, this.assoc = s;
23056
23056
  }
23057
23057
  }
23058
- const vf = (n) => new Qf(n.type == null ? null : Ke(n.type.client, n.type.clock), n.tname ?? null, n.item == null ? null : Ke(n.item.client, n.item.clock), n.assoc == null ? 0 : n.assoc);
23058
+ const xf = (n) => new Qf(n.type == null ? null : Ke(n.type.client, n.type.clock), n.tname ?? null, n.item == null ? null : Ke(n.item.client, n.item.clock), n.assoc == null ? 0 : n.assoc);
23059
23059
  class D5 {
23060
23060
  /**
23061
23061
  * @param {AbstractType<any>} type
@@ -23129,7 +23129,7 @@ class h1 {
23129
23129
  this.ds = e, this.sv = t;
23130
23130
  }
23131
23131
  }
23132
- const SO = (n, e) => new h1(n, e), e0 = (n) => SO(yO(n.store), Qd(n.store)), ia = (n, e) => e === void 0 ? !n.deleted : e.sv.has(n.id.client) && (e.sv.get(n.id.client) || 0) > n.id.clock && !Lu(e.ds, n.id), Pb = (n, e) => {
23132
+ const SO = (n, e) => new h1(n, e), e0 = (n) => SO(yO(n.store), Qd(n.store)), ia = (n, e) => e === void 0 ? !n.deleted : e.sv.has(n.id.client) && (e.sv.get(n.id.client) || 0) > n.id.clock && !_u(e.ds, n.id), Pb = (n, e) => {
23133
23133
  const t = or(n.meta, Pb, _i), r = n.doc.store;
23134
23134
  t.has(e) || (e.sv.forEach((s, i) => {
23135
23135
  s < Vt(r, i) && tr(n, Ke(i, s));
@@ -23218,10 +23218,10 @@ let B5 = class {
23218
23218
  * @param {boolean} local
23219
23219
  */
23220
23220
  constructor(e, t, r) {
23221
- this.doc = e, this.deleteSet = new Iu(), this.beforeState = Qd(e.store), this.afterState = /* @__PURE__ */ new Map(), this.changed = /* @__PURE__ */ new Map(), this.changedParentTypes = /* @__PURE__ */ new Map(), this._mergeStructs = [], this.origin = t, this.meta = /* @__PURE__ */ new Map(), this.local = r, this.subdocsAdded = /* @__PURE__ */ new Set(), this.subdocsRemoved = /* @__PURE__ */ new Set(), this.subdocsLoaded = /* @__PURE__ */ new Set(), this._needFormattingCleanup = !1;
23221
+ this.doc = e, this.deleteSet = new Lu(), this.beforeState = Qd(e.store), this.afterState = /* @__PURE__ */ new Map(), this.changed = /* @__PURE__ */ new Map(), this.changedParentTypes = /* @__PURE__ */ new Map(), this._mergeStructs = [], this.origin = t, this.meta = /* @__PURE__ */ new Map(), this.local = r, this.subdocsAdded = /* @__PURE__ */ new Set(), this.subdocsRemoved = /* @__PURE__ */ new Set(), this.subdocsLoaded = /* @__PURE__ */ new Set(), this._needFormattingCleanup = !1;
23222
23222
  }
23223
23223
  };
23224
- const zE = (n, e) => e.deleteSet.clients.size === 0 && !WU(e.afterState, (t, r) => e.beforeState.get(r) !== t) ? !1 : (u1(e.deleteSet), x5(n, e), _u(n, e.deleteSet), !0), VE = (n, e, t) => {
23224
+ const zE = (n, e) => e.deleteSet.clients.size === 0 && !WU(e.afterState, (t, r) => e.beforeState.get(r) !== t) ? !1 : (u1(e.deleteSet), x5(n, e), Bu(n, e.deleteSet), !0), VE = (n, e, t) => {
23225
23225
  const r = e._item;
23226
23226
  (r === null || r.id.clock < (n.beforeState.get(r.id.client) || 0) && !r.deleted) && or(n.changed, e, _i).add(t);
23227
23227
  }, op = (n, e) => {
@@ -23371,7 +23371,7 @@ const $E = (n, e, t) => {
23371
23371
  }
23372
23372
  }), Uo(a, c.deletions, (h) => {
23373
23373
  h instanceof vt && i.some((p) => qf(p, h)) && // Never redo structs in stackItem.insertions because they were created and deleted in the same capture interval.
23374
- !Lu(c.insertions, h.id) && u.add(h);
23374
+ !_u(c.insertions, h.id) && u.add(h);
23375
23375
  }), u.forEach((h) => {
23376
23376
  d = QO(a, h, u, c.insertions, n.ignoreRemoteMapChanges, n) !== null || d;
23377
23377
  });
@@ -23413,7 +23413,7 @@ class MO extends Qv {
23413
23413
  return;
23414
23414
  const c = this.undoing, u = this.redoing, f = c ? this.redoStack : this.undoStack;
23415
23415
  c ? this.stopCapturing() : u || this.clear(!1, !0);
23416
- const d = new Iu();
23416
+ const d = new Lu();
23417
23417
  l.afterState.forEach((y, b) => {
23418
23418
  const A = l.beforeState.get(b) || 0, v = y - A;
23419
23419
  v > 0 && Kf(d, b, A, v);
@@ -23623,7 +23623,7 @@ const z5 = (n) => Qp(n, vO, qd), V5 = (n, e) => {
23623
23623
  t.content.splice(e)
23624
23624
  );
23625
23625
  }
23626
- }, Qp = (n, e = yu, t = al) => {
23626
+ }, Qp = (n, e = bu, t = al) => {
23627
23627
  if (n.length === 1)
23628
23628
  return n[0];
23629
23629
  const r = n.map((u) => new e(ti(u)));
@@ -23681,8 +23681,8 @@ const z5 = (n) => Qp(n, vO, qd), V5 = (n, e) => {
23681
23681
  }
23682
23682
  i !== null && (so(a, i.struct, i.offset), i = null), m1(a);
23683
23683
  const l = r.map((u) => f1(u)), c = Db(l);
23684
- return _u(o, c), o.toUint8Array();
23685
- }, $5 = (n, e, t = yu, r = al) => {
23684
+ return Bu(o, c), o.toUint8Array();
23685
+ }, $5 = (n, e, t = bu, r = al) => {
23686
23686
  const s = EO(e), i = new r(), o = new g1(i), a = new t(ti(n)), l = new p1(a, !1);
23687
23687
  for (; l.curr; ) {
23688
23688
  const u = l.curr, f = u.id.client, d = s.get(f) || 0;
@@ -23699,7 +23699,7 @@ const z5 = (n) => Qp(n, vO, qd), V5 = (n, e) => {
23699
23699
  }
23700
23700
  m1(o);
23701
23701
  const c = f1(a);
23702
- return _u(i, c), i.toUint8Array();
23702
+ return Bu(i, c), i.toUint8Array();
23703
23703
  }, DO = (n) => {
23704
23704
  n.written > 0 && (n.clientStructs.push({ written: n.written, restEncoder: Mt(n.encoder.restEncoder) }), n.encoder.restEncoder = sn(), n.written = 0);
23705
23705
  }, so = (n, e, t) => {
@@ -23718,8 +23718,8 @@ const z5 = (n) => Qp(n, vO, qd), V5 = (n, e) => {
23718
23718
  so(a, e(c), 0);
23719
23719
  m1(a);
23720
23720
  const l = f1(s);
23721
- return _u(o, l), o.toUint8Array();
23722
- }, G5 = (n) => W5(n, FH, yu, qd), GE = "You must not compute changes after the event-handler fired.";
23721
+ return Bu(o, l), o.toUint8Array();
23722
+ }, G5 = (n) => W5(n, FH, bu, qd), GE = "You must not compute changes after the event-handler fired.";
23723
23723
  class zm {
23724
23724
  /**
23725
23725
  * @param {T} target The changed type.
@@ -23753,7 +23753,7 @@ class zm {
23753
23753
  * @return {boolean}
23754
23754
  */
23755
23755
  deletes(e) {
23756
- return Lu(this.transaction.deleteSet, e.id);
23756
+ return _u(this.transaction.deleteSet, e.id);
23757
23757
  }
23758
23758
  /**
23759
23759
  * @type {Map<string, { action: 'add' | 'update' | 'delete', oldValue: any, newValue: any }>}
@@ -24487,7 +24487,7 @@ class n6 extends zm {
24487
24487
  super(e, t), this.keysChanged = r;
24488
24488
  }
24489
24489
  }
24490
- class bu extends wn {
24490
+ class wu extends wn {
24491
24491
  /**
24492
24492
  *
24493
24493
  * @param {Iterable<readonly [string, any]>=} entries - an optional iterable to initialize the YMap
@@ -24514,7 +24514,7 @@ class bu extends wn {
24514
24514
  * @return {YMap<MapType>}
24515
24515
  */
24516
24516
  _copy() {
24517
- return new bu();
24517
+ return new wu();
24518
24518
  }
24519
24519
  /**
24520
24520
  * Makes a copy of this data type that can be included somewhere else.
@@ -24524,7 +24524,7 @@ class bu extends wn {
24524
24524
  * @return {YMap<MapType>}
24525
24525
  */
24526
24526
  clone() {
24527
- const e = new bu();
24527
+ const e = new wu();
24528
24528
  return this.forEach((t, r) => {
24529
24529
  e.set(r, t instanceof wn ? (
24530
24530
  /** @type {typeof value} */
@@ -24687,7 +24687,7 @@ class bu extends wn {
24687
24687
  e.writeTypeRef(C6);
24688
24688
  }
24689
24689
  }
24690
- const r6 = (n) => new bu(), Mo = (n, e) => n === e || typeof n == "object" && typeof e == "object" && n && e && _H(n, e);
24690
+ const r6 = (n) => new wu(), Mo = (n, e) => n === e || typeof n == "object" && typeof e == "object" && n && e && _H(n, e);
24691
24691
  class Lb {
24692
24692
  /**
24693
24693
  * @param {Item|null} left
@@ -24704,7 +24704,7 @@ class Lb {
24704
24704
  forward() {
24705
24705
  switch (this.right === null && Cr(), this.right.content.constructor) {
24706
24706
  case Qt:
24707
- this.right.deleted || Bu(
24707
+ this.right.deleted || Fu(
24708
24708
  this.currentAttributes,
24709
24709
  /** @type {ContentFormat} */
24710
24710
  this.right.content
@@ -24721,7 +24721,7 @@ const KE = (n, e, t) => {
24721
24721
  for (; e.right !== null && t > 0; ) {
24722
24722
  switch (e.right.content.constructor) {
24723
24723
  case Qt:
24724
- e.right.deleted || Bu(
24724
+ e.right.deleted || Fu(
24725
24725
  e.currentAttributes,
24726
24726
  /** @type {ContentFormat} */
24727
24727
  e.right.content
@@ -24761,7 +24761,7 @@ const KE = (n, e, t) => {
24761
24761
  const l = t.left, c = t.right, u = new vt(Ke(i, Vt(s.store, i)), l, l && l.lastId, c, c && c.id, e, null, new Qt(a, o));
24762
24762
  u.integrate(n, 0), t.right = u, t.forward();
24763
24763
  });
24764
- }, Bu = (n, e) => {
24764
+ }, Fu = (n, e) => {
24765
24765
  const { key: t, value: r } = e;
24766
24766
  r === null ? n.delete(t) : n.set(t, r);
24767
24767
  }, GO = (n, e) => {
@@ -24861,7 +24861,7 @@ const KE = (n, e, t) => {
24861
24861
  /** @type {ContentFormat} */
24862
24862
  c
24863
24863
  ), d = r.get(u) ?? null;
24864
- (o.get(u) !== c || d === f) && (e.delete(n), a++, !l && (s.get(u) ?? null) === f && d !== f && (d === null ? s.delete(u) : s.set(u, d))), !l && !e.deleted && Bu(
24864
+ (o.get(u) !== c || d === f) && (e.delete(n), a++, !l && (s.get(u) ?? null) === f && d !== f && (d === null ? s.delete(u) : s.set(u, d))), !l && !e.deleted && Fu(
24865
24865
  s,
24866
24866
  /** @type {ContentFormat} */
24867
24867
  c
@@ -24903,7 +24903,7 @@ const KE = (n, e, t) => {
24903
24903
  if (s.deleted === !1)
24904
24904
  switch (s.content.constructor) {
24905
24905
  case Qt:
24906
- Bu(
24906
+ Fu(
24907
24907
  o,
24908
24908
  /** @type {ContentFormat} */
24909
24909
  s.content
@@ -25070,7 +25070,7 @@ class a6 extends zm {
25070
25070
  const g = l[h];
25071
25071
  g !== void 0 && (Mo(g, p) ? g !== null && o.delete(r) : (a === "retain" && d(), p === null ? delete l[h] : l[h] = p));
25072
25072
  }
25073
- o.deleted || (a === "insert" && d(), Bu(
25073
+ o.deleted || (a === "insert" && d(), Fu(
25074
25074
  s,
25075
25075
  /** @type {ContentFormat} */
25076
25076
  o.content
@@ -25248,7 +25248,7 @@ class ll extends wn {
25248
25248
  break;
25249
25249
  }
25250
25250
  case Qt:
25251
- ia(l, e) && (c(), Bu(
25251
+ ia(l, e) && (c(), Fu(
25252
25252
  i,
25253
25253
  /** @type {ContentFormat} */
25254
25254
  l.content
@@ -25915,7 +25915,7 @@ class f6 extends zm {
25915
25915
  });
25916
25916
  }
25917
25917
  }
25918
- class Zp extends bu {
25918
+ class Zp extends wu {
25919
25919
  /**
25920
25920
  * @param {string} hookName nodeName of the Dom Node.
25921
25921
  */
@@ -26922,7 +26922,7 @@ const M6 = (n) => new ys(E6[n.readTypeRef()](n)), _b = (n, e) => {
26922
26922
  }, QE = (n, e) => KU(
26923
26923
  n,
26924
26924
  /** @param {StackItem} s */
26925
- (t) => Lu(t.deletions, e)
26925
+ (t) => _u(t.deletions, e)
26926
26926
  ), QO = (n, e, t, r, s, i) => {
26927
26927
  const o = n.doc, a = o.store, l = o.clientID, c = e.redone;
26928
26928
  if (c !== null)
@@ -26970,7 +26970,7 @@ const M6 = (n) => new ys(E6[n.readTypeRef()](n)), _b = (n, e) => {
26970
26970
  d = d.right;
26971
26971
  }
26972
26972
  } else if (d = null, e.right && !s) {
26973
- for (f = e; f !== null && f.right !== null && (f.right.redone || Lu(r, f.right.id) || QE(i.undoStack, f.right.id) || QE(i.redoStack, f.right.id)); )
26973
+ for (f = e; f !== null && f.right !== null && (f.right.redone || _u(r, f.right.id) || QE(i.undoStack, f.right.id) || QE(i.redoStack, f.right.id)); )
26974
26974
  for (f = f.right; f.redone; ) f = tr(n, f.redone);
26975
26975
  if (f && f.right !== null)
26976
26976
  return null;
@@ -29928,7 +29928,7 @@ class U6 extends GN {
29928
29928
  lastUpdated: Qs()
29929
29929
  });
29930
29930
  const o = [], a = [], l = [], c = [];
29931
- e === null ? c.push(t) : i == null ? e != null && o.push(t) : (a.push(t), wf(i, e) || l.push(t)), (o.length > 0 || l.length > 0 || c.length > 0) && this.emit("change", [{ added: o, updated: l, removed: c }, "local"]), this.emit("update", [{ added: o, updated: a, removed: c }, "local"]);
29931
+ e === null ? c.push(t) : i == null ? e != null && o.push(t) : (a.push(t), vf(i, e) || l.push(t)), (o.length > 0 || l.length > 0 || c.length > 0) && this.emit("change", [{ added: o, updated: l, removed: c }, "local"]), this.emit("update", [{ added: o, updated: a, removed: c }, "local"]);
29932
29932
  }
29933
29933
  /**
29934
29934
  * @param {string} field
@@ -29987,7 +29987,7 @@ const Fb = (n, e, t) => {
29987
29987
  (y < d || y === d && h === null && n.states.has(f)) && (h === null ? f === n.clientID && n.getLocalState() != null ? d++ : n.states.delete(f) : n.states.set(f, h), n.meta.set(f, {
29988
29988
  clock: d,
29989
29989
  lastUpdated: s
29990
- }), p === void 0 && h !== null ? i.push(f) : p !== void 0 && h === null ? l.push(f) : h !== null && (wf(h, g) || a.push(f), o.push(f)));
29990
+ }), p === void 0 && h !== null ? i.push(f) : p !== void 0 && h === null ? l.push(f) : h !== null && (vf(h, g) || a.push(f), o.push(f)));
29991
29991
  }
29992
29992
  (i.length > 0 || a.length > 0 || l.length > 0) && n.emit("change", [{
29993
29993
  added: i,
@@ -30043,7 +30043,7 @@ const Fb = (n, e, t) => {
30043
30043
  });
30044
30044
  }, V6 = (n, e) => {
30045
30045
  const t = sn();
30046
- return pu(t, n), iR(Mt(t), e);
30046
+ return gu(t, n), iR(Mt(t), e);
30047
30047
  }, oR = (n, e) => {
30048
30048
  if (!e)
30049
30049
  return (
@@ -30062,7 +30062,7 @@ const Fb = (n, e, t) => {
30062
30062
  i
30063
30063
  ).then((o) => new Uint8Array(o));
30064
30064
  }, $6 = (n, e) => oR(n, e).then(
30065
- (t) => gu(ti(new Uint8Array(t)))
30065
+ (t) => mu(ti(new Uint8Array(t)))
30066
30066
  ), wr = t5("y-webrtc"), uc = 0, aR = 3, ed = 1, k1 = 4, rg = /* @__PURE__ */ new Map(), Ka = /* @__PURE__ */ new Map(), lR = (n) => {
30067
30067
  let e = !0;
30068
30068
  n.webrtcConns.forEach((t) => {
@@ -30380,7 +30380,7 @@ const ZE = {
30380
30380
  insert: e.slice(t, e.length - r)
30381
30381
  };
30382
30382
  }, ez = Z6, Dt = new It("y-sync"), Mi = new It("y-undo"), kh = new It("yjs-cursor"), sg = (n, e) => e === void 0 ? !n.deleted : e.sv.has(n.id.client) && /** @type {number} */
30383
- e.sv.get(n.id.client) > n.id.clock && !Lu(e.ds, n.id), tz = [{ light: "#ecd44433", dark: "#ecd444" }], nz = (n, e, t) => {
30383
+ e.sv.get(n.id.client) > n.id.clock && !_u(e.ds, n.id), tz = [{ light: "#ecd44433", dark: "#ecd444" }], nz = (n, e, t) => {
30384
30384
  if (!n.has(t)) {
30385
30385
  if (n.size < e.length) {
30386
30386
  const r = _i();
@@ -30963,20 +30963,20 @@ const fR = (n, e, t, r, s, i) => {
30963
30963
  }
30964
30964
  }, Dt);
30965
30965
  }, Vb = (n, e) => !(e instanceof Array) && n.nodeName === e.type.name;
30966
- let xf = null;
30966
+ let Af = null;
30967
30967
  const fz = () => {
30968
30968
  const n = (
30969
30969
  /** @type {Map<EditorView, Map<any, any>>} */
30970
- xf
30970
+ Af
30971
30971
  );
30972
- xf = null, n.forEach((e, t) => {
30972
+ Af = null, n.forEach((e, t) => {
30973
30973
  const r = t.state.tr, s = Dt.getState(t.state);
30974
30974
  s && s.binding && !s.binding.isDestroyed && (e.forEach((i, o) => {
30975
30975
  r.setMeta(o, i);
30976
30976
  }), t.dispatch(r));
30977
30977
  });
30978
30978
  }, dz = (n, e, t) => {
30979
- xf || (xf = /* @__PURE__ */ new Map(), i1(0, fz)), or(xf, n, Un).set(e, t);
30979
+ Af || (Af = /* @__PURE__ */ new Map(), i1(0, fz)), or(Af, n, Un).set(e, t);
30980
30980
  }, og = (n, e, t) => {
30981
30981
  if (n === 0)
30982
30982
  return Zy(e, 0, -1);
@@ -31104,12 +31104,12 @@ const fz = () => {
31104
31104
  let f = nd(
31105
31105
  o,
31106
31106
  i.type,
31107
- vf(l.cursor.anchor),
31107
+ xf(l.cursor.anchor),
31108
31108
  i.binding.mapping
31109
31109
  ), d = nd(
31110
31110
  o,
31111
31111
  i.type,
31112
- vf(l.cursor.head),
31112
+ xf(l.cursor.head),
31113
31113
  i.binding.mapping
31114
31114
  );
31115
31115
  if (f !== null && d !== null) {
@@ -31178,10 +31178,10 @@ const fz = () => {
31178
31178
  c.binding.mapping
31179
31179
  );
31180
31180
  (u.cursor == null || !UE(
31181
- vf(u.cursor.anchor),
31181
+ xf(u.cursor.anchor),
31182
31182
  d
31183
31183
  ) || !UE(
31184
- vf(u.cursor.head),
31184
+ xf(u.cursor.head),
31185
31185
  h
31186
31186
  )) && n.setLocalStateField(i, {
31187
31187
  anchor: d,
@@ -31190,7 +31190,7 @@ const fz = () => {
31190
31190
  } else u.cursor != null && nd(
31191
31191
  c.doc,
31192
31192
  c.type,
31193
- vf(u.cursor.anchor),
31193
+ xf(u.cursor.anchor),
31194
31194
  c.binding.mapping
31195
31195
  ) !== null && n.setLocalStateField(i, null);
31196
31196
  };
@@ -32936,7 +32936,7 @@ const vR = wR(!1, !0), xR = wR(!0, !0), oV = Nt.create({
32936
32936
  "Mod-Shift-j": () => this.editor.commands.setTextAlign("justify")
32937
32937
  };
32938
32938
  }
32939
- }), kV = "aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4vianca6w0s2x0a2z0ure5ba0by2idu3namex3narepublic11d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2ntley5rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0cast4mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dabur3d1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0ardian6cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6logistics9properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3ncaster6d0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2psy3ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2tura4vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9dnavy5lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0a1b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp2w2ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4finity6ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2", CV = "ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2", wu = (n, e) => {
32939
+ }), kV = "aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4vianca6w0s2x0a2z0ure5ba0by2idu3namex3narepublic11d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2ntley5rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0cast4mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dabur3d1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0ardian6cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6logistics9properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3ncaster6d0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2psy3ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2tura4vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9dnavy5lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0a1b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp2w2ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4finity6ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2", CV = "ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2", vu = (n, e) => {
32940
32940
  for (const t in e)
32941
32941
  n[t] = e[t];
32942
32942
  return n;
@@ -33070,10 +33070,10 @@ Zn.prototype = {
33070
33070
  return s.j[n] = e, e;
33071
33071
  const i = e;
33072
33072
  let o, a = s.go(n);
33073
- if (a ? (o = new Zn(), wu(o.j, a.j), o.jr.push.apply(o.jr, a.jr), o.jd = a.jd, o.t = a.t) : o = new Zn(), i) {
33073
+ if (a ? (o = new Zn(), vu(o.j, a.j), o.jr.push.apply(o.jr, a.jr), o.jd = a.jd, o.t = a.t) : o = new Zn(), i) {
33074
33074
  if (r)
33075
33075
  if (o.t && typeof o.t == "string") {
33076
- const l = wu(OV(o.t, r), t);
33076
+ const l = vu(OV(o.t, r), t);
33077
33077
  da(i, l, r);
33078
33078
  } else t && da(i, t, r);
33079
33079
  o.t = i;
@@ -33081,7 +33081,7 @@ Zn.prototype = {
33081
33081
  return s.j[n] = o, o;
33082
33082
  }
33083
33083
  };
33084
- const Ye = (n, e, t, r, s) => n.ta(e, t, r, s), Nr = (n, e, t, r, s) => n.tr(e, t, r, s), dk = (n, e, t, r, s) => n.ts(e, t, r, s), de = (n, e, t, r, s) => n.tt(e, t, r, s), ii = "WORD", Jb = "UWORD", rd = "LOCALHOST", qb = "TLD", Qb = "UTLD", up = "SCHEME", Vl = "SLASH_SCHEME", N1 = "NUM", kR = "WS", O1 = "NL", Af = "OPENBRACE", Ef = "CLOSEBRACE", lg = "OPENBRACKET", cg = "CLOSEBRACKET", ug = "OPENPAREN", fg = "CLOSEPAREN", dg = "OPENANGLEBRACKET", hg = "CLOSEANGLEBRACKET", pg = "FULLWIDTHLEFTPAREN", gg = "FULLWIDTHRIGHTPAREN", mg = "LEFTCORNERBRACKET", yg = "RIGHTCORNERBRACKET", bg = "LEFTWHITECORNERBRACKET", wg = "RIGHTWHITECORNERBRACKET", vg = "FULLWIDTHLESSTHAN", xg = "FULLWIDTHGREATERTHAN", Ag = "AMPERSAND", Eg = "APOSTROPHE", kg = "ASTERISK", no = "AT", Cg = "BACKSLASH", Sg = "BACKTICK", Tg = "CARET", io = "COLON", R1 = "COMMA", Ng = "DOLLAR", ks = "DOT", Og = "EQUALS", M1 = "EXCLAMATION", Cs = "HYPHEN", Rg = "PERCENT", Mg = "PIPE", Dg = "PLUS", Pg = "POUND", Ig = "QUERY", D1 = "QUOTE", P1 = "SEMI", Ss = "SLASH", kf = "TILDE", Lg = "UNDERSCORE", CR = "EMOJI", _g = "SYM";
33084
+ const Ye = (n, e, t, r, s) => n.ta(e, t, r, s), Nr = (n, e, t, r, s) => n.tr(e, t, r, s), dk = (n, e, t, r, s) => n.ts(e, t, r, s), de = (n, e, t, r, s) => n.tt(e, t, r, s), ii = "WORD", Jb = "UWORD", rd = "LOCALHOST", qb = "TLD", Qb = "UTLD", up = "SCHEME", Vl = "SLASH_SCHEME", N1 = "NUM", kR = "WS", O1 = "NL", Ef = "OPENBRACE", kf = "CLOSEBRACE", lg = "OPENBRACKET", cg = "CLOSEBRACKET", ug = "OPENPAREN", fg = "CLOSEPAREN", dg = "OPENANGLEBRACKET", hg = "CLOSEANGLEBRACKET", pg = "FULLWIDTHLEFTPAREN", gg = "FULLWIDTHRIGHTPAREN", mg = "LEFTCORNERBRACKET", yg = "RIGHTCORNERBRACKET", bg = "LEFTWHITECORNERBRACKET", wg = "RIGHTWHITECORNERBRACKET", vg = "FULLWIDTHLESSTHAN", xg = "FULLWIDTHGREATERTHAN", Ag = "AMPERSAND", Eg = "APOSTROPHE", kg = "ASTERISK", no = "AT", Cg = "BACKSLASH", Sg = "BACKTICK", Tg = "CARET", io = "COLON", R1 = "COMMA", Ng = "DOLLAR", ks = "DOT", Og = "EQUALS", M1 = "EXCLAMATION", Cs = "HYPHEN", Rg = "PERCENT", Mg = "PIPE", Dg = "PLUS", Pg = "POUND", Ig = "QUERY", D1 = "QUOTE", P1 = "SEMI", Ss = "SLASH", Cf = "TILDE", Lg = "UNDERSCORE", CR = "EMOJI", _g = "SYM";
33085
33085
  var SR = /* @__PURE__ */ Object.freeze({
33086
33086
  __proto__: null,
33087
33087
  WORD: ii,
@@ -33094,8 +33094,8 @@ var SR = /* @__PURE__ */ Object.freeze({
33094
33094
  NUM: N1,
33095
33095
  WS: kR,
33096
33096
  NL: O1,
33097
- OPENBRACE: Af,
33098
- CLOSEBRACE: Ef,
33097
+ OPENBRACE: Ef,
33098
+ CLOSEBRACE: kf,
33099
33099
  OPENBRACKET: lg,
33100
33100
  CLOSEBRACKET: cg,
33101
33101
  OPENPAREN: ug,
@@ -33132,7 +33132,7 @@ var SR = /* @__PURE__ */ Object.freeze({
33132
33132
  QUOTE: D1,
33133
33133
  SEMI: P1,
33134
33134
  SLASH: Ss,
33135
- TILDE: kf,
33135
+ TILDE: Cf,
33136
33136
  UNDERSCORE: Lg,
33137
33137
  EMOJI: CR,
33138
33138
  SYM: _g
@@ -33145,7 +33145,7 @@ function DV(n) {
33145
33145
  const e = {};
33146
33146
  Zn.groups = e;
33147
33147
  const t = new Zn();
33148
- Th == null && (Th = gk(kV)), Nh == null && (Nh = gk(CV)), de(t, "'", Eg), de(t, "{", Af), de(t, "}", Ef), de(t, "[", lg), de(t, "]", cg), de(t, "(", ug), de(t, ")", fg), de(t, "<", dg), de(t, ">", hg), de(t, "(", pg), de(t, ")", gg), de(t, "「", mg), de(t, "」", yg), de(t, "『", bg), de(t, "』", wg), de(t, "<", vg), de(t, ">", xg), de(t, "&", Ag), de(t, "*", kg), de(t, "@", no), de(t, "`", Sg), de(t, "^", Tg), de(t, ":", io), de(t, ",", R1), de(t, "$", Ng), de(t, ".", ks), de(t, "=", Og), de(t, "!", M1), de(t, "-", Cs), de(t, "%", Rg), de(t, "|", Mg), de(t, "+", Dg), de(t, "#", Pg), de(t, "?", Ig), de(t, '"', D1), de(t, "/", Ss), de(t, ";", P1), de(t, "~", kf), de(t, "_", Lg), de(t, "\\", Cg);
33148
+ Th == null && (Th = gk(kV)), Nh == null && (Nh = gk(CV)), de(t, "'", Eg), de(t, "{", Ef), de(t, "}", kf), de(t, "[", lg), de(t, "]", cg), de(t, "(", ug), de(t, ")", fg), de(t, "<", dg), de(t, ">", hg), de(t, "(", pg), de(t, ")", gg), de(t, "「", mg), de(t, "」", yg), de(t, "『", bg), de(t, "』", wg), de(t, "<", vg), de(t, ">", xg), de(t, "&", Ag), de(t, "*", kg), de(t, "@", no), de(t, "`", Sg), de(t, "^", Tg), de(t, ":", io), de(t, ",", R1), de(t, "$", Ng), de(t, ".", ks), de(t, "=", Og), de(t, "!", M1), de(t, "-", Cs), de(t, "%", Rg), de(t, "|", Mg), de(t, "+", Dg), de(t, "#", Pg), de(t, "?", Ig), de(t, '"', D1), de(t, "/", Ss), de(t, ";", P1), de(t, "~", Cf), de(t, "_", Lg), de(t, "\\", Cg);
33149
33149
  const r = Nr(t, u0, N1, {
33150
33150
  [$b]: !0
33151
33151
  });
@@ -33200,7 +33200,7 @@ function DV(n) {
33200
33200
  ascii: !0
33201
33201
  }), t.jd = new Zn(_g), {
33202
33202
  start: t,
33203
- tokens: wu({
33203
+ tokens: vu({
33204
33204
  groups: e
33205
33205
  }, SR)
33206
33206
  };
@@ -33278,8 +33278,8 @@ const sd = {
33278
33278
  };
33279
33279
  function I1(n, e) {
33280
33280
  e === void 0 && (e = null);
33281
- let t = wu({}, sd);
33282
- n && (t = wu(t, n instanceof I1 ? n.o : n));
33281
+ let t = vu({}, sd);
33282
+ n && (t = vu(t, n instanceof I1 ? n.o : n));
33283
33283
  const r = t.ignoreTags, s = [];
33284
33284
  for (let i = 0; i < r.length; i++)
33285
33285
  s.push(r[i].toUpperCase());
@@ -33449,7 +33449,7 @@ TR.prototype = {
33449
33449
  */
33450
33450
  render(n) {
33451
33451
  const e = this, t = this.toHref(n.get("defaultProtocol")), r = n.get("formatHref", t, this), s = n.get("tagName", t, e), i = this.toFormattedString(n), o = {}, a = n.get("className", t, e), l = n.get("target", t, e), c = n.get("rel", t, e), u = n.getObj("attributes", t, e), f = n.getObj("events", t, e);
33452
- return o.href = r, a && (o.class = a), l && (o.target = l), c && (o.rel = c), u && wu(o, u), {
33452
+ return o.href = r, a && (o.class = a), l && (o.target = l), c && (o.rel = c), u && vu(o, u), {
33453
33453
  tagName: s,
33454
33454
  attributes: o,
33455
33455
  content: i,
@@ -33497,7 +33497,7 @@ function _V(n) {
33497
33497
  let {
33498
33498
  groups: e
33499
33499
  } = n;
33500
- const t = e.domain.concat([Ag, kg, no, Cg, Sg, Tg, Ng, Og, Cs, N1, Rg, Mg, Dg, Pg, Ss, _g, kf, Lg]), r = [Eg, io, R1, ks, M1, Ig, D1, P1, dg, hg, Af, Ef, cg, lg, ug, fg, pg, gg, mg, yg, bg, wg, vg, xg], s = [Ag, Eg, kg, Cg, Sg, Tg, Ng, Og, Cs, Af, Ef, Rg, Mg, Dg, Pg, Ig, Ss, _g, kf, Lg], i = Or(), o = de(i, kf);
33500
+ const t = e.domain.concat([Ag, kg, no, Cg, Sg, Tg, Ng, Og, Cs, N1, Rg, Mg, Dg, Pg, Ss, _g, Cf, Lg]), r = [Eg, io, R1, ks, M1, Ig, D1, P1, dg, hg, Ef, kf, cg, lg, ug, fg, pg, gg, mg, yg, bg, wg, vg, xg], s = [Ag, Eg, kg, Cg, Sg, Tg, Ng, Og, Cs, Ef, kf, Rg, Mg, Dg, Pg, Ig, Ss, _g, Cf, Lg], i = Or(), o = de(i, Cf);
33501
33501
  Ye(o, s, o), Ye(o, e.domain, o);
33502
33502
  const a = Or(), l = Or(), c = Or();
33503
33503
  Ye(i, e.domain, a), Ye(i, e.scheme, l), Ye(i, e.slashscheme, c), Ye(a, s, o), Ye(a, e.domain, a);
@@ -33526,7 +33526,7 @@ function _V(n) {
33526
33526
  const M = de(l, io), R = de(c, io), O = de(R, Ss), D = de(O, Ss);
33527
33527
  Ye(l, e.domain, a), de(l, ks, A), de(l, Cs, b), Ye(c, e.domain, a), de(c, ks, A), de(c, Cs, b), Ye(M, e.domain, k), de(M, Ss, k), Ye(D, e.domain, k), Ye(D, t, k), de(D, Ss, k);
33528
33528
  const L = [
33529
- [Af, Ef],
33529
+ [Ef, kf],
33530
33530
  // {}
33531
33531
  [lg, cg],
33532
33532
  // []
@@ -35143,7 +35143,7 @@ function ji(n, e) {
35143
35143
  function Ui(n) {
35144
35144
  return n.split("-")[0];
35145
35145
  }
35146
- function Fu(n) {
35146
+ function ju(n) {
35147
35147
  return n.split("-")[1];
35148
35148
  }
35149
35149
  function _1(n) {
@@ -35152,15 +35152,15 @@ function _1(n) {
35152
35152
  function B1(n) {
35153
35153
  return n === "y" ? "height" : "width";
35154
35154
  }
35155
- function ju(n) {
35155
+ function Uu(n) {
35156
35156
  return ["top", "bottom"].includes(Ui(n)) ? "y" : "x";
35157
35157
  }
35158
35158
  function F1(n) {
35159
- return _1(ju(n));
35159
+ return _1(Uu(n));
35160
35160
  }
35161
35161
  function S9(n, e, t) {
35162
35162
  t === void 0 && (t = !1);
35163
- const r = Fu(n), s = F1(n), i = B1(s);
35163
+ const r = ju(n), s = F1(n), i = B1(s);
35164
35164
  let o = s === "x" ? r === (t ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
35165
35165
  return e.reference[i] > e.floating[i] && (o = Fg(o)), [o, Fg(o)];
35166
35166
  }
@@ -35185,7 +35185,7 @@ function N9(n, e, t) {
35185
35185
  }
35186
35186
  }
35187
35187
  function O9(n, e, t, r) {
35188
- const s = Fu(n);
35188
+ const s = ju(n);
35189
35189
  let i = N9(Ui(n), t === "start", r);
35190
35190
  return s && (i = i.map((o) => o + "-" + s), e && (i = i.concat(i.map(Xb)))), i;
35191
35191
  }
@@ -35232,7 +35232,7 @@ function xk(n, e, t) {
35232
35232
  reference: r,
35233
35233
  floating: s
35234
35234
  } = n;
35235
- const i = ju(e), o = F1(e), a = B1(o), l = Ui(e), c = i === "y", u = r.x + r.width / 2 - s.width / 2, f = r.y + r.height / 2 - s.height / 2, d = r[a] / 2 - s[a] / 2;
35235
+ const i = Uu(e), o = F1(e), a = B1(o), l = Ui(e), c = i === "y", u = r.x + r.width / 2 - s.width / 2, f = r.y + r.height / 2 - s.height / 2, d = r[a] / 2 - s[a] / 2;
35236
35236
  let h;
35237
35237
  switch (l) {
35238
35238
  case "top":
@@ -35265,7 +35265,7 @@ function xk(n, e, t) {
35265
35265
  y: r.y
35266
35266
  };
35267
35267
  }
35268
- switch (Fu(e)) {
35268
+ switch (ju(e)) {
35269
35269
  case "start":
35270
35270
  h[o] -= d * (t && c ? -1 : 1);
35271
35271
  break;
@@ -35405,7 +35405,7 @@ const D9 = (n) => ({
35405
35405
  }, h = F1(s), p = B1(h), g = await o.getDimensions(c), y = h === "y", b = y ? "top" : "left", A = y ? "bottom" : "right", v = y ? "clientHeight" : "clientWidth", w = i.reference[p] + i.reference[h] - d[h] - i.floating[p], E = d[h] - i.reference[h], k = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(c));
35406
35406
  let S = k ? k[v] : 0;
35407
35407
  (!S || !await (o.isElement == null ? void 0 : o.isElement(k))) && (S = a.floating[v] || i.floating[p]);
35408
- const M = w / 2 - E / 2, R = S / 2 - g[p] / 2 - 1, O = Vs(f[b], R), D = Vs(f[A], R), L = O, F = S - g[p] - D, G = S / 2 - g[p] / 2 + M, _ = Yb(L, G, F), W = !l.arrow && Fu(s) != null && G !== _ && i.reference[p] / 2 - (G < L ? O : D) - g[p] / 2 < 0, Q = W ? G < L ? G - L : G - F : 0;
35408
+ const M = w / 2 - E / 2, R = S / 2 - g[p] / 2 - 1, O = Vs(f[b], R), D = Vs(f[A], R), L = O, F = S - g[p] - D, G = S / 2 - g[p] / 2 + M, _ = Yb(L, G, F), W = !l.arrow && ju(s) != null && G !== _ && i.reference[p] / 2 - (G < L ? O : D) - g[p] / 2 < 0, Q = W ? G < L ? G - L : G - F : 0;
35409
35409
  return {
35410
35410
  [h]: d[h] + Q,
35411
35411
  data: {
@@ -35548,7 +35548,7 @@ async function L9(n, e) {
35548
35548
  placement: t,
35549
35549
  platform: r,
35550
35550
  elements: s
35551
- } = n, i = await (r.isRTL == null ? void 0 : r.isRTL(s.floating)), o = Ui(t), a = Fu(t), l = ju(t) === "y", c = ["left", "top"].includes(o) ? -1 : 1, u = i && l ? -1 : 1, f = ji(e, n);
35551
+ } = n, i = await (r.isRTL == null ? void 0 : r.isRTL(s.floating)), o = Ui(t), a = ju(t), l = Uu(t) === "y", c = ["left", "top"].includes(o) ? -1 : 1, u = i && l ? -1 : 1, f = ji(e, n);
35552
35552
  let {
35553
35553
  mainAxis: d,
35554
35554
  crossAxis: h,
@@ -35621,7 +35621,7 @@ const _9 = function(n) {
35621
35621
  } = ji(n, e), c = {
35622
35622
  x: t,
35623
35623
  y: r
35624
- }, u = await id(e, l), f = ju(Ui(s)), d = _1(f);
35624
+ }, u = await id(e, l), f = Uu(Ui(s)), d = _1(f);
35625
35625
  let h = c[d], p = c[f];
35626
35626
  if (i) {
35627
35627
  const y = d === "y" ? "top" : "left", b = d === "y" ? "bottom" : "right", A = h + u[y], v = h - u[b];
@@ -35662,7 +35662,7 @@ const _9 = function(n) {
35662
35662
  } = ji(n, e), u = {
35663
35663
  x: t,
35664
35664
  y: r
35665
- }, f = ju(s), d = _1(f);
35665
+ }, f = Uu(s), d = _1(f);
35666
35666
  let h = u[d], p = u[f];
35667
35667
  const g = ji(a, e), y = typeof g == "number" ? {
35668
35668
  mainAxis: g,
@@ -35701,7 +35701,7 @@ const _9 = function(n) {
35701
35701
  apply: o = () => {
35702
35702
  },
35703
35703
  ...a
35704
- } = ji(n, e), l = await id(e, a), c = Ui(t), u = Fu(t), f = ju(t) === "y", {
35704
+ } = ji(n, e), l = await id(e, a), c = Ui(t), u = ju(t), f = Uu(t) === "y", {
35705
35705
  width: d,
35706
35706
  height: h
35707
35707
  } = r.floating;
@@ -35727,7 +35727,7 @@ const _9 = function(n) {
35727
35727
  }
35728
35728
  };
35729
35729
  };
35730
- function Uu(n) {
35730
+ function Hu(n) {
35731
35731
  return DR(n) ? (n.nodeName || "").toLowerCase() : "#document";
35732
35732
  }
35733
35733
  function Er(n) {
@@ -35760,7 +35760,7 @@ function Zd(n) {
35760
35760
  return /auto|scroll|overlay|hidden|clip/.test(e + r + t) && !["inline", "contents"].includes(s);
35761
35761
  }
35762
35762
  function U9(n) {
35763
- return ["table", "td", "th"].includes(Uu(n));
35763
+ return ["table", "td", "th"].includes(Hu(n));
35764
35764
  }
35765
35765
  function j1(n) {
35766
35766
  const e = U1(), t = hs(n);
@@ -35768,7 +35768,7 @@ function j1(n) {
35768
35768
  }
35769
35769
  function H9(n) {
35770
35770
  let e = zo(n);
35771
- for (; ei(e) && !vu(e); ) {
35771
+ for (; ei(e) && !xu(e); ) {
35772
35772
  if (j1(e))
35773
35773
  return e;
35774
35774
  e = zo(e);
@@ -35778,8 +35778,8 @@ function H9(n) {
35778
35778
  function U1() {
35779
35779
  return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
35780
35780
  }
35781
- function vu(n) {
35782
- return ["html", "body", "#document"].includes(Uu(n));
35781
+ function xu(n) {
35782
+ return ["html", "body", "#document"].includes(Hu(n));
35783
35783
  }
35784
35784
  function hs(n) {
35785
35785
  return Er(n).getComputedStyle(n);
@@ -35794,7 +35794,7 @@ function Km(n) {
35794
35794
  };
35795
35795
  }
35796
35796
  function zo(n) {
35797
- if (Uu(n) === "html")
35797
+ if (Hu(n) === "html")
35798
35798
  return n;
35799
35799
  const e = (
35800
35800
  // Step into the shadow DOM of the parent of a slotted node.
@@ -35807,7 +35807,7 @@ function zo(n) {
35807
35807
  }
35808
35808
  function PR(n) {
35809
35809
  const e = zo(n);
35810
- return vu(e) ? n.ownerDocument ? n.ownerDocument.body : n.body : ei(e) && Zd(e) ? e : PR(e);
35810
+ return xu(e) ? n.ownerDocument ? n.ownerDocument.body : n.body : ei(e) && Zd(e) ? e : PR(e);
35811
35811
  }
35812
35812
  function od(n, e, t) {
35813
35813
  var r;
@@ -35901,7 +35901,7 @@ function W9(n) {
35901
35901
  scrollTop: 0
35902
35902
  }, c = Ho(1);
35903
35903
  const u = Ho(0), f = ei(r);
35904
- if ((f || !f && !i) && ((Uu(r) !== "body" || Zd(o)) && (l = Km(r)), ei(r))) {
35904
+ if ((f || !f && !i) && ((Hu(r) !== "body" || Zd(o)) && (l = Km(r)), ei(r))) {
35905
35905
  const d = fl(r);
35906
35906
  c = fc(r), u.x = d.x + r.clientLeft, u.y = d.y + r.clientTop;
35907
35907
  }
@@ -35973,16 +35973,16 @@ function Ck(n, e, t) {
35973
35973
  }
35974
35974
  function BR(n, e) {
35975
35975
  const t = zo(n);
35976
- return t === e || !Zs(t) || vu(t) ? !1 : hs(t).position === "fixed" || BR(t, e);
35976
+ return t === e || !Zs(t) || xu(t) ? !1 : hs(t).position === "fixed" || BR(t, e);
35977
35977
  }
35978
35978
  function Q9(n, e) {
35979
35979
  const t = e.get(n);
35980
35980
  if (t)
35981
35981
  return t;
35982
- let r = od(n, [], !1).filter((a) => Zs(a) && Uu(a) !== "body"), s = null;
35982
+ let r = od(n, [], !1).filter((a) => Zs(a) && Hu(a) !== "body"), s = null;
35983
35983
  const i = hs(n).position === "fixed";
35984
35984
  let o = i ? zo(n) : n;
35985
- for (; Zs(o) && !vu(o); ) {
35985
+ for (; Zs(o) && !xu(o); ) {
35986
35986
  const a = hs(o), l = j1(o);
35987
35987
  !l && a.position === "fixed" && (s = null), (i ? !l && !s : !l && a.position === "static" && !!s && ["absolute", "fixed"].includes(s.position) || Zd(o) && !l && BR(n, o)) ? r = r.filter((u) => u !== o) : s = a, o = zo(o);
35988
35988
  }
@@ -36024,7 +36024,7 @@ function Z9(n, e, t) {
36024
36024
  };
36025
36025
  const l = Ho(0);
36026
36026
  if (r || !r && !i)
36027
- if ((Uu(e) !== "body" || Zd(s)) && (a = Km(e)), r) {
36027
+ if ((Hu(e) !== "body" || Zd(s)) && (a = Km(e)), r) {
36028
36028
  const f = fl(e, !0, i, e);
36029
36029
  l.x = f.x + e.clientLeft, l.y = f.y + e.clientTop;
36030
36030
  } else s && (l.x = _R(s));
@@ -36048,7 +36048,7 @@ function FR(n, e) {
36048
36048
  return t;
36049
36049
  if (!ei(n)) {
36050
36050
  let s = zo(n);
36051
- for (; s && !vu(s); ) {
36051
+ for (; s && !xu(s); ) {
36052
36052
  if (Zs(s) && !h0(s))
36053
36053
  return s;
36054
36054
  s = zo(s);
@@ -36058,7 +36058,7 @@ function FR(n, e) {
36058
36058
  let r = Sk(n, e);
36059
36059
  for (; r && U9(r) && h0(r); )
36060
36060
  r = Sk(r, e);
36061
- return r && vu(r) && h0(r) && !j1(r) ? t : r || H9(n) || t;
36061
+ return r && xu(r) && h0(r) && !j1(r) ? t : r || H9(n) || t;
36062
36062
  }
36063
36063
  const e$ = async function(n) {
36064
36064
  const e = this.getOffsetParent || FR, t = this.getDimensions, r = await t(n.floating);
@@ -36664,16 +36664,16 @@ var tM = "PopoverTrigger", nM = H.forwardRef(
36664
36664
  nM.displayName = tM;
36665
36665
  var L$ = "PopoverPortal", [LQ, _$] = XR(L$, {
36666
36666
  forceMount: void 0
36667
- }), xu = "PopoverContent", rM = H.forwardRef(
36667
+ }), Au = "PopoverContent", rM = H.forwardRef(
36668
36668
  (n, e) => {
36669
- const t = _$(xu, n.__scopePopover), { forceMount: r = t.forceMount, ...s } = n, i = kl(xu, n.__scopePopover);
36669
+ const t = _$(Au, n.__scopePopover), { forceMount: r = t.forceMount, ...s } = n, i = kl(Au, n.__scopePopover);
36670
36670
  return /* @__PURE__ */ C.jsx(Wd, { present: r || i.open, children: i.modal ? /* @__PURE__ */ C.jsx(B$, { ...s, ref: e }) : /* @__PURE__ */ C.jsx(F$, { ...s, ref: e }) });
36671
36671
  }
36672
36672
  );
36673
- rM.displayName = xu;
36673
+ rM.displayName = Au;
36674
36674
  var B$ = H.forwardRef(
36675
36675
  (n, e) => {
36676
- const t = kl(xu, n.__scopePopover), r = H.useRef(null), s = Kr(e, r), i = H.useRef(!1);
36676
+ const t = kl(Au, n.__scopePopover), r = H.useRef(null), s = Kr(e, r), i = H.useRef(!1);
36677
36677
  return H.useEffect(() => {
36678
36678
  const o = r.current;
36679
36679
  if (o) return _2(o);
@@ -36706,7 +36706,7 @@ var B$ = H.forwardRef(
36706
36706
  }
36707
36707
  ), F$ = H.forwardRef(
36708
36708
  (n, e) => {
36709
- const t = kl(xu, n.__scopePopover), r = H.useRef(!1), s = H.useRef(!1);
36709
+ const t = kl(Au, n.__scopePopover), r = H.useRef(!1), s = H.useRef(!1);
36710
36710
  return /* @__PURE__ */ C.jsx(
36711
36711
  sM,
36712
36712
  {
@@ -36740,7 +36740,7 @@ var B$ = H.forwardRef(
36740
36740
  onFocusOutside: c,
36741
36741
  onInteractOutside: u,
36742
36742
  ...f
36743
- } = n, d = kl(xu, t), h = eh(t);
36743
+ } = n, d = kl(Au, t), h = eh(t);
36744
36744
  return T2(), /* @__PURE__ */ C.jsx(
36745
36745
  $d,
36746
36746
  {
@@ -37156,7 +37156,7 @@ if (typeof WeakMap < "u") {
37156
37156
  for (let s = 0; s < n.length; s += 2) if (n[s] == r) return n[s + 1];
37157
37157
  }, ew = (r, s) => (t == e && (t = 0), n[t++] = r, n[t++] = s);
37158
37158
  }
37159
- class Au {
37159
+ class Eu {
37160
37160
  constructor(e, t, r, s) {
37161
37161
  this.left = e, this.top = t, this.right = r, this.bottom = s;
37162
37162
  }
@@ -37174,7 +37174,7 @@ class Ft {
37174
37174
  let s = t % this.width, i = t / this.width | 0, o = s + 1, a = i + 1;
37175
37175
  for (let l = 1; o < this.width && this.map[t + l] == r; l++) o++;
37176
37176
  for (let l = 1; a < this.height && this.map[t + this.width * l] == r; l++) a++;
37177
- return new Au(s, i, o, a);
37177
+ return new Eu(s, i, o, a);
37178
37178
  }
37179
37179
  throw new RangeError("No cell with offset " + e + " found");
37180
37180
  }
@@ -37210,7 +37210,7 @@ class Ft {
37210
37210
  top: c,
37211
37211
  bottom: u
37212
37212
  } = this.findCell(t);
37213
- return new Au(Math.min(r, a), Math.min(i, c), Math.max(s, l), Math.max(o, u));
37213
+ return new Eu(Math.min(r, a), Math.min(i, c), Math.max(s, l), Math.max(o, u));
37214
37214
  }
37215
37215
  // :: (Rect) → [number]
37216
37216
  // Return the position of all cells that have the top left corner in
@@ -37352,7 +37352,7 @@ function Tn(n) {
37352
37352
  return e;
37353
37353
  }
37354
37354
  const oo = new It("selectingCells");
37355
- function Hu(n) {
37355
+ function zu(n) {
37356
37356
  for (let e = n.depth - 1; e > 0; e--) if (n.node(e).type.spec.tableRole == "row") return n.node(0).resolve(n.before(e + 1));
37357
37357
  return null;
37358
37358
  }
@@ -37370,7 +37370,7 @@ function bs(n) {
37370
37370
  }
37371
37371
  function Jm(n) {
37372
37372
  let e = n.selection;
37373
- return e.$anchorCell ? e.$anchorCell.pos > e.$headCell.pos ? e.$anchorCell : e.$headCell : e.node && e.node.type.spec.tableRole == "cell" ? e.$anchor : Hu(e.$head) || X$(e.$head);
37373
+ return e.$anchorCell ? e.$anchorCell.pos > e.$headCell.pos ? e.$anchorCell : e.$headCell : e.node && e.node.type.spec.tableRole == "cell" ? e.$anchor : zu(e.$head) || X$(e.$head);
37374
37374
  }
37375
37375
  function X$(n) {
37376
37376
  for (let e = n.nodeAfter, t = n.pos; e; e = e.firstChild, t++) {
@@ -37820,7 +37820,7 @@ function Lh(n, e) {
37820
37820
  return !0;
37821
37821
  }
37822
37822
  function uW(n, e) {
37823
- let t = n.state.doc, r = Hu(t.resolve(e));
37823
+ let t = n.state.doc, r = zu(t.resolve(e));
37824
37824
  return r ? (n.dispatch(n.state.tr.setSelection(new it(r))), !0) : !1;
37825
37825
  }
37826
37826
  function fW(n, e, t) {
@@ -37845,7 +37845,7 @@ function dW(n, e) {
37845
37845
  let t = Pk(n, e.target), r;
37846
37846
  if (e.shiftKey && n.state.selection instanceof it)
37847
37847
  s(n.state.selection.$anchorCell, e), e.preventDefault();
37848
- else if (e.shiftKey && t && (r = Hu(n.state.selection.$anchor)) != null && p0(n, e).pos != r.pos)
37848
+ else if (e.shiftKey && t && (r = zu(n.state.selection.$anchor)) != null && p0(n, e).pos != r.pos)
37849
37849
  s(r, e), e.preventDefault();
37850
37850
  else if (!t)
37851
37851
  return;
@@ -37896,7 +37896,7 @@ function p0(n, e) {
37896
37896
  left: e.clientX,
37897
37897
  top: e.clientY
37898
37898
  });
37899
- return t && t ? Hu(n.state.doc.resolve(t.pos)) : null;
37899
+ return t && t ? zu(n.state.doc.resolve(t.pos)) : null;
37900
37900
  }
37901
37901
  const hW = new It("fix-tables");
37902
37902
  function fM(n, e, t, r) {
@@ -38158,7 +38158,7 @@ function CW(n) {
38158
38158
  s = r.$anchorCell.nodeAfter, i = r.$anchorCell.pos;
38159
38159
  } else {
38160
38160
  if (s = Y$(r.$from), !s) return !1;
38161
- i = Hu(r.$from).pos;
38161
+ i = zu(r.$from).pos;
38162
38162
  }
38163
38163
  if (s.attrs.colspan == 1 && s.attrs.rowspan == 1)
38164
38164
  return !1;
@@ -38205,7 +38205,7 @@ function TW(n) {
38205
38205
  return function(e, t) {
38206
38206
  if (!bs(e)) return !1;
38207
38207
  if (t) {
38208
- let r = Tn(e.schema), s = ni(e), i = e.tr, o = s.map.cellsInRect(n == "column" ? new Au(s.left, 0, s.right, s.map.height) : n == "row" ? new Au(0, s.top, s.map.width, s.bottom) : s), a = o.map((l) => s.table.nodeAt(l));
38208
+ let r = Tn(e.schema), s = ni(e), i = e.tr, o = s.map.cellsInRect(n == "column" ? new Eu(s.left, 0, s.right, s.map.height) : n == "row" ? new Eu(0, s.top, s.map.width, s.bottom) : s), a = o.map((l) => s.table.nodeAt(l));
38209
38209
  for (let l = 0; l < o.length; l++) a[l].type == r.header_cell && i.setNodeMarkup(s.tableStart + o[l], r.cell, a[l].attrs);
38210
38210
  if (i.steps.length == 0) for (let l = 0; l < o.length; l++) i.setNodeMarkup(s.tableStart + o[l], r.header_cell, a[l].attrs);
38211
38211
  t(i);
@@ -38233,7 +38233,7 @@ function ad(n, e) {
38233
38233
  }, e.useDeprecatedLogic ? TW(n) : function(t, r) {
38234
38234
  if (!bs(t)) return !1;
38235
38235
  if (r) {
38236
- let s = Tn(t.schema), i = ni(t), o = t.tr, a = Bk("row", i, s), l = Bk("column", i, s), u = (n === "column" ? a : n === "row" ? l : !1) ? 1 : 0, f = n == "column" ? new Au(0, u, 1, i.map.height) : n == "row" ? new Au(u, 0, i.map.width, 1) : i, d = n == "column" ? l ? s.cell : s.header_cell : n == "row" ? a ? s.cell : s.header_cell : s.cell;
38236
+ let s = Tn(t.schema), i = ni(t), o = t.tr, a = Bk("row", i, s), l = Bk("column", i, s), u = (n === "column" ? a : n === "row" ? l : !1) ? 1 : 0, f = n == "column" ? new Eu(0, u, 1, i.map.height) : n == "row" ? new Eu(u, 0, i.map.width, 1) : i, d = n == "column" ? l ? s.cell : s.header_cell : n == "row" ? a ? s.cell : s.header_cell : s.cell;
38237
38237
  i.map.cellsInRect(f).forEach((h) => {
38238
38238
  const p = h + i.tableStart, g = o.doc.nodeAt(p);
38239
38239
  g && o.setNodeMarkup(p, d, g.attrs);
@@ -38330,7 +38330,7 @@ function DW({
38330
38330
  key: Hr,
38331
38331
  state: {
38332
38332
  init(i, o) {
38333
- return this.spec.props.nodeViews[Tn(o.schema).table.name] = (a, l) => new t(a, e, l), new Cf(-1, !1);
38333
+ return this.spec.props.nodeViews[Tn(o.schema).table.name] = (a, l) => new t(a, e, l), new Sf(-1, !1);
38334
38334
  },
38335
38335
  apply(i, o) {
38336
38336
  return o.apply(i);
@@ -38361,17 +38361,17 @@ function DW({
38361
38361
  }
38362
38362
  });
38363
38363
  }
38364
- class Cf {
38364
+ class Sf {
38365
38365
  constructor(e, t) {
38366
38366
  this.activeHandle = e, this.dragging = t;
38367
38367
  }
38368
38368
  apply(e) {
38369
38369
  let t = this, r = e.getMeta(Hr);
38370
- if (r && r.setHandle != null) return new Cf(r.setHandle, null);
38371
- if (r && r.setDragging !== void 0) return new Cf(t.activeHandle, r.setDragging);
38370
+ if (r && r.setHandle != null) return new Sf(r.setHandle, null);
38371
+ if (r && r.setDragging !== void 0) return new Sf(t.activeHandle, r.setDragging);
38372
38372
  if (t.activeHandle > -1 && e.docChanged) {
38373
38373
  let s = e.mapping.map(t.activeHandle, -1);
38374
- tw(e.doc.resolve(s)) || (s = null), t = new Cf(s, t.dragging);
38374
+ tw(e.doc.resolve(s)) || (s = null), t = new Sf(s, t.dragging);
38375
38375
  }
38376
38376
  return t;
38377
38377
  }
@@ -38447,7 +38447,7 @@ function jk(n, e, t) {
38447
38447
  if (!r) return -1;
38448
38448
  let {
38449
38449
  pos: s
38450
- } = r, i = Hu(n.state.doc.resolve(s));
38450
+ } = r, i = zu(n.state.doc.resolve(s));
38451
38451
  if (!i) return -1;
38452
38452
  if (t == "right") return i.pos;
38453
38453
  let o = Ft.get(i.node(-1)), a = i.start(-1), l = o.map.indexOf(i.pos - a);
@@ -39096,22 +39096,19 @@ const nG = [
39096
39096
  interactive: !0,
39097
39097
  animation: "shift-toward-subtle",
39098
39098
  placement: "top-start",
39099
- content: /* @__PURE__ */ C.jsx("article", { className: "dropdown", contentEditable: !1, children: /* @__PURE__ */ C.jsx(
39099
+ content: /* @__PURE__ */ C.jsx("article", { className: "w-screen lg:w-full", contentEditable: !1, children: /* @__PURE__ */ C.jsx(
39100
39100
  "ul",
39101
39101
  {
39102
39102
  tabIndex: 0,
39103
- className: "dropdown-content fixed top-8 menu menu-compact p-2 shadow bg-base-100 rounded-box w-56",
39103
+ className: "fixed top-8 right-1/2 translate-x-1/2 menu menu-compact p-2 shadow bg-base-100 rounded-lg w-56",
39104
39104
  style: c(),
39105
- children: nG.map((u) => /* @__PURE__ */ C.jsx("li", { children: /* @__PURE__ */ C.jsxs(
39106
- "button",
39105
+ children: nG.map((u) => /* @__PURE__ */ C.jsx("li", { children: /* @__PURE__ */ C.jsx(
39106
+ pu,
39107
39107
  {
39108
- type: "button",
39109
- className: "button",
39108
+ variant: "ghost",
39109
+ className: "!items-center w-full !justify-start !font-[400]",
39110
39110
  onClick: () => u.action(r),
39111
- children: [
39112
- /* @__PURE__ */ C.jsx("span", { children: u.icon }),
39113
- /* @__PURE__ */ C.jsx("span", { children: u.name })
39114
- ]
39111
+ children: /* @__PURE__ */ C.jsx("span", { children: u.name })
39115
39112
  }
39116
39113
  ) }, u.name))
39117
39114
  }
@@ -39924,7 +39921,7 @@ function kM(n, e) {
39924
39921
  });
39925
39922
  return t;
39926
39923
  }
39927
- function nf(n, e) {
39924
+ function rf(n, e) {
39928
39925
  const t = Ym(n, "value"), r = BigInt(qe(e, "bits"));
39929
39926
  return t & (ss << r) - ss;
39930
39927
  }
@@ -40164,7 +40161,7 @@ function Di(n, e) {
40164
40161
  function RG(n) {
40165
40162
  return n.map((e) => e <= 65535 ? String.fromCharCode(e) : (e -= 65536, String.fromCharCode((e >> 10 & 1023) + 55296, (e & 1023) + 56320))).join("");
40166
40163
  }
40167
- function Eu(n, e) {
40164
+ function ku(n, e) {
40168
40165
  return RG(OG(n, e));
40169
40166
  }
40170
40167
  function TM(n) {
@@ -40278,7 +40275,7 @@ function Fh(n) {
40278
40275
  throw new Error("missing signal; should not happen");
40279
40276
  return n.checkSignal(), n;
40280
40277
  }
40281
- var yc, bc, Yr, di, wc, vc, tn, dr, hi, ba, wa, va, Ts, Xr, lo, xa, rf;
40278
+ var yc, bc, Yr, di, wc, vc, tn, dr, hi, ba, wa, va, Ts, Xr, lo, xa, sf;
40282
40279
  const rm = class rm {
40283
40280
  /**
40284
40281
  * Create a new FetchRequest instance with default values.
@@ -40534,7 +40531,7 @@ const rm = class rm {
40534
40531
  * Resolves to the response by sending the request.
40535
40532
  */
40536
40533
  send() {
40537
- return Z(T(this, Ts) == null, "request already sent", "UNSUPPORTED_OPERATION", { operation: "fetchRequest.send" }), I(this, Ts, new LG(this)), ue(this, xa, rf).call(this, 0, Zk() + this.timeout, 0, this, new _o(0, "", {}, null, this));
40534
+ return Z(T(this, Ts) == null, "request already sent", "UNSUPPORTED_OPERATION", { operation: "fetchRequest.send" }), I(this, Ts, new LG(this)), ue(this, xa, sf).call(this, 0, Zk() + this.timeout, 0, this, new _o(0, "", {}, null, this));
40538
40535
  }
40539
40536
  /**
40540
40537
  * Cancels the inflight response, causing a ``CANCELLED``
@@ -40644,7 +40641,7 @@ const rm = class rm {
40644
40641
  return OM(e);
40645
40642
  }
40646
40643
  };
40647
- yc = new WeakMap(), bc = new WeakMap(), Yr = new WeakMap(), di = new WeakMap(), wc = new WeakMap(), vc = new WeakMap(), tn = new WeakMap(), dr = new WeakMap(), hi = new WeakMap(), ba = new WeakMap(), wa = new WeakMap(), va = new WeakMap(), Ts = new WeakMap(), Xr = new WeakMap(), lo = new WeakMap(), xa = new WeakSet(), rf = async function(e, t, r, s, i) {
40644
+ yc = new WeakMap(), bc = new WeakMap(), Yr = new WeakMap(), di = new WeakMap(), wc = new WeakMap(), vc = new WeakMap(), tn = new WeakMap(), dr = new WeakMap(), hi = new WeakMap(), ba = new WeakMap(), wa = new WeakMap(), va = new WeakMap(), Ts = new WeakMap(), Xr = new WeakMap(), lo = new WeakMap(), xa = new WeakSet(), sf = async function(e, t, r, s, i) {
40648
40645
  var u, f, d;
40649
40646
  if (e >= T(this, Xr).maxAttempts)
40650
40647
  return i.makeServerError("exceeded maximum retry limit");
@@ -40677,14 +40674,14 @@ yc = new WeakMap(), bc = new WeakMap(), Yr = new WeakMap(), di = new WeakMap(),
40677
40674
  if (c.statusCode === 301 || c.statusCode === 302) {
40678
40675
  try {
40679
40676
  const h = c.headers.location || "";
40680
- return ue(u = o.redirect(h), xa, rf).call(u, e + 1, t, 0, s, c);
40677
+ return ue(u = o.redirect(h), xa, sf).call(u, e + 1, t, 0, s, c);
40681
40678
  } catch {
40682
40679
  }
40683
40680
  return c;
40684
40681
  } else if (c.statusCode === 429 && (this.retryFunc == null || await this.retryFunc(o, c, e))) {
40685
40682
  const h = c.headers["retry-after"];
40686
40683
  let p = T(this, Xr).slotInterval * Math.trunc(Math.random() * Math.pow(2, e));
40687
- return typeof h == "string" && h.match(/^[1-9][0-9]*$/) && (p = parseInt(h)), ue(f = o.clone(), xa, rf).call(f, e + 1, t, p, s, c);
40684
+ return typeof h == "string" && h.match(/^[1-9][0-9]*$/) && (p = parseInt(h)), ue(f = o.clone(), xa, sf).call(f, e + 1, t, p, s, c);
40688
40685
  }
40689
40686
  if (this.processFunc) {
40690
40687
  Fh(T(s, Ts));
@@ -40693,7 +40690,7 @@ yc = new WeakMap(), bc = new WeakMap(), Yr = new WeakMap(), di = new WeakMap(),
40693
40690
  } catch (h) {
40694
40691
  (h.throttle == null || typeof h.stall != "number") && c.makeServerError("error in post-processing function", h).assertOk();
40695
40692
  let p = T(this, Xr).slotInterval * Math.trunc(Math.random() * Math.pow(2, e));
40696
- return h.stall >= 0 && (p = h.stall), ue(d = o.clone(), xa, rf).call(d, e + 1, t, p, s, c);
40693
+ return h.stall >= 0 && (p = h.stall), ue(d = o.clone(), xa, sf).call(d, e + 1, t, p, s, c);
40697
40694
  }
40698
40695
  }
40699
40696
  return c;
@@ -40745,7 +40742,7 @@ const bx = class bx {
40745
40742
  */
40746
40743
  get bodyText() {
40747
40744
  try {
40748
- return T(this, hr) == null ? "" : Eu(T(this, hr));
40745
+ return T(this, hr) == null ? "" : ku(T(this, hr));
40749
40746
  } catch {
40750
40747
  Z(!1, "response body is not valid UTF-8 data", "UNSUPPORTED_OPERATION", {
40751
40748
  operation: "bodyText",
@@ -40842,7 +40839,7 @@ const bx = class bx {
40842
40839
  this.request && (r = this.request.url);
40843
40840
  let s = null;
40844
40841
  try {
40845
- T(this, hr) && (s = Eu(T(this, hr)));
40842
+ T(this, hr) && (s = ku(T(this, hr)));
40846
40843
  } catch {
40847
40844
  }
40848
40845
  Z(!1, e, "SERVER_ERROR", {
@@ -40970,14 +40967,14 @@ function oa(n) {
40970
40967
  function sC(n, e) {
40971
40968
  PM.set(n, e);
40972
40969
  }
40973
- function Yu(n, e) {
40970
+ function Xu(n, e) {
40974
40971
  const t = new Error(`deferred error during ABI decoding triggered accessing ${n}`);
40975
40972
  throw t.error = e, t;
40976
40973
  }
40977
40974
  function ow(n, e, t) {
40978
- return n.indexOf(null) >= 0 ? e.map((r, s) => r instanceof ku ? ow(oa(r), r, t) : r) : n.reduce((r, s, i) => {
40975
+ return n.indexOf(null) >= 0 ? e.map((r, s) => r instanceof Cu ? ow(oa(r), r, t) : r) : n.reduce((r, s, i) => {
40979
40976
  let o = e.getValue(s);
40980
- return s in r || (t && o instanceof ku && (o = ow(oa(o), o, t)), r[s] = o), r;
40977
+ return s in r || (t && o instanceof Cu && (o = ow(oa(o), o, t)), r[s] = o), r;
40981
40978
  }, {});
40982
40979
  }
40983
40980
  var Ac;
@@ -41012,7 +41009,7 @@ const Zl = class Zl extends Array {
41012
41009
  if (h < 0 || h >= this.length)
41013
41010
  throw new RangeError("out of result range");
41014
41011
  const p = c[h];
41015
- return p instanceof Error && Yu(`index ${h}`, p), p;
41012
+ return p instanceof Error && Xu(`index ${h}`, p), p;
41016
41013
  }
41017
41014
  if (jG.indexOf(u) >= 0)
41018
41015
  return Reflect.get(c, u, f);
@@ -41039,7 +41036,7 @@ const Zl = class Zl extends Array {
41039
41036
  toArray(t) {
41040
41037
  const r = [];
41041
41038
  return this.forEach((s, i) => {
41042
- s instanceof Error && Yu(`index ${i}`, s), t && s instanceof Zl && (s = s.toArray(t)), r.push(s);
41039
+ s instanceof Error && Xu(`index ${i}`, s), t && s instanceof Zl && (s = s.toArray(t)), r.push(s);
41043
41040
  }), r;
41044
41041
  }
41045
41042
  /**
@@ -41073,7 +41070,7 @@ const Zl = class Zl extends Array {
41073
41070
  const s = oa(this), i = [], o = [];
41074
41071
  for (let a = 0; a < this.length; a++) {
41075
41072
  const l = this[a];
41076
- l instanceof Error && Yu(`index ${a}`, l), t.call(r, l, a, this) && (i.push(l), o.push(s[a]));
41073
+ l instanceof Error && Xu(`index ${a}`, l), t.call(r, l, a, this) && (i.push(l), o.push(s[a]));
41077
41074
  }
41078
41075
  return new Zl(jh, i, o);
41079
41076
  }
@@ -41084,7 +41081,7 @@ const Zl = class Zl extends Array {
41084
41081
  const s = [];
41085
41082
  for (let i = 0; i < this.length; i++) {
41086
41083
  const o = this[i];
41087
- o instanceof Error && Yu(`index ${i}`, o), s.push(t.call(r, o, i, this));
41084
+ o instanceof Error && Xu(`index ${i}`, o), s.push(t.call(r, o, i, this));
41088
41085
  }
41089
41086
  return s;
41090
41087
  }
@@ -41101,7 +41098,7 @@ const Zl = class Zl extends Array {
41101
41098
  if (r === -1)
41102
41099
  return;
41103
41100
  const s = this[r];
41104
- return s instanceof Error && Yu(`property ${JSON.stringify(t)}`, s.error), s;
41101
+ return s instanceof Error && Xu(`property ${JSON.stringify(t)}`, s.error), s;
41105
41102
  }
41106
41103
  /**
41107
41104
  * Creates a new [[Result]] for %%items%% with each entry
@@ -41112,7 +41109,7 @@ const Zl = class Zl extends Array {
41112
41109
  }
41113
41110
  };
41114
41111
  Ac = new WeakMap();
41115
- let ku = Zl;
41112
+ let Cu = Zl;
41116
41113
  function iC(n) {
41117
41114
  let e = _n(n);
41118
41115
  return Z(e.length <= Bn, "value out-of-bounds", "BUFFER_OVERRUN", { buffer: e, length: Bn, offset: e.length }), e.length !== Bn && (e = Pn($t([iw.slice(e.length % Bn), e]))), e;
@@ -41266,7 +41263,7 @@ function UG(n) {
41266
41263
  throw new Error("Hash should be wrapped by utils.wrapConstructor");
41267
41264
  Hg(n.outputLen), Hg(n.blockLen);
41268
41265
  }
41269
- function Cu(n, e = !0) {
41266
+ function Su(n, e = !0) {
41270
41267
  if (n.destroyed)
41271
41268
  throw new Error("Hash instance has been destroyed");
41272
41269
  if (e && n.finished)
@@ -41334,10 +41331,10 @@ class BM extends X1 {
41334
41331
  this.oHash.update(i), i.fill(0);
41335
41332
  }
41336
41333
  update(e) {
41337
- return Cu(this), this.iHash.update(e), this;
41334
+ return Su(this), this.iHash.update(e), this;
41338
41335
  }
41339
41336
  digestInto(e) {
41340
- Cu(this), Y1(e, this.outputLen), this.finished = !0, this.iHash.digestInto(e), this.oHash.update(e), this.oHash.digestInto(e), this.destroy();
41337
+ Su(this), Y1(e, this.outputLen), this.finished = !0, this.iHash.digestInto(e), this.oHash.update(e), this.oHash.digestInto(e), this.destroy();
41341
41338
  }
41342
41339
  digest() {
41343
41340
  const e = new Uint8Array(this.oHash.outputLen);
@@ -41365,7 +41362,7 @@ class jM extends X1 {
41365
41362
  super(), this.blockLen = e, this.outputLen = t, this.padOffset = r, this.isLE = s, this.finished = !1, this.length = 0, this.pos = 0, this.destroyed = !1, this.buffer = new Uint8Array(e), this.view = w0(this.buffer);
41366
41363
  }
41367
41364
  update(e) {
41368
- Cu(this);
41365
+ Su(this);
41369
41366
  const { view: t, buffer: r, blockLen: s } = this;
41370
41367
  e = Zm(e);
41371
41368
  const i = e.length;
@@ -41382,7 +41379,7 @@ class jM extends X1 {
41382
41379
  return this.length += e.length, this.roundClean(), this;
41383
41380
  }
41384
41381
  digestInto(e) {
41385
- Cu(this), LM(e, this), this.finished = !0;
41382
+ Su(this), LM(e, this), this.finished = !0;
41386
41383
  const { buffer: t, view: r, blockLen: s, isLE: i } = this;
41387
41384
  let { pos: o } = this;
41388
41385
  t[o++] = 128, this.buffer.subarray(o).fill(0), this.padOffset > s - o && (this.process(r, 0), o = 0);
@@ -41697,12 +41694,12 @@ function b7(n) {
41697
41694
  }
41698
41695
  z(!1, "invalid hashing algorithm name", "algorithm", n);
41699
41696
  }
41700
- const [KM, JM, qM] = [[], [], []], w7 = /* @__PURE__ */ BigInt(0), Xu = /* @__PURE__ */ BigInt(1), v7 = /* @__PURE__ */ BigInt(2), x7 = /* @__PURE__ */ BigInt(7), A7 = /* @__PURE__ */ BigInt(256), E7 = /* @__PURE__ */ BigInt(113);
41701
- for (let n = 0, e = Xu, t = 1, r = 0; n < 24; n++) {
41697
+ const [KM, JM, qM] = [[], [], []], w7 = /* @__PURE__ */ BigInt(0), Zu = /* @__PURE__ */ BigInt(1), v7 = /* @__PURE__ */ BigInt(2), x7 = /* @__PURE__ */ BigInt(7), A7 = /* @__PURE__ */ BigInt(256), E7 = /* @__PURE__ */ BigInt(113);
41698
+ for (let n = 0, e = Zu, t = 1, r = 0; n < 24; n++) {
41702
41699
  [t, r] = [r, (2 * t + 3 * r) % 5], KM.push(2 * (5 * r + t)), JM.push((n + 1) * (n + 2) / 2 % 64);
41703
41700
  let s = w7;
41704
41701
  for (let i = 0; i < 7; i++)
41705
- e = (e << Xu ^ (e >> x7) * E7) % A7, e & v7 && (s ^= Xu << (Xu << /* @__PURE__ */ BigInt(i)) - Xu);
41702
+ e = (e << Zu ^ (e >> x7) * E7) % A7, e & v7 && (s ^= Zu << (Zu << /* @__PURE__ */ BigInt(i)) - Zu);
41706
41703
  qM.push(s);
41707
41704
  }
41708
41705
  const [k7, C7] = /* @__PURE__ */ zM(qM, !0), aC = (n, e, t) => t > 32 ? WM(n, e, t) : VM(n, e, t), lC = (n, e, t) => t > 32 ? GM(n, e, t) : $M(n, e, t);
@@ -41742,7 +41739,7 @@ class ex extends X1 {
41742
41739
  S7(this.state32, this.rounds), this.posOut = 0, this.pos = 0;
41743
41740
  }
41744
41741
  update(e) {
41745
- Cu(this);
41742
+ Su(this);
41746
41743
  const { blockLen: t, state: r } = this;
41747
41744
  e = Zm(e);
41748
41745
  const s = e.length;
@@ -41762,7 +41759,7 @@ class ex extends X1 {
41762
41759
  e[r] ^= t, t & 128 && r === s - 1 && this.keccak(), e[s - 1] ^= 128, this.keccak();
41763
41760
  }
41764
41761
  writeInto(e) {
41765
- Cu(this, !1), Y1(e), this.finish();
41762
+ Su(this, !1), Y1(e), this.finish();
41766
41763
  const t = this.state, { blockLen: r } = this;
41767
41764
  for (let s = 0, i = e.length; s < i; ) {
41768
41765
  this.posOut >= r && this.keccak();
@@ -41819,24 +41816,24 @@ const ZM = function(n) {
41819
41816
  return b7("sha256").update(n).digest();
41820
41817
  };
41821
41818
  let eD = ZM, tD = !1;
41822
- function zu(n) {
41819
+ function Vu(n) {
41823
41820
  const e = ct(n, "data");
41824
41821
  return ve(eD(e));
41825
41822
  }
41826
- zu._ = ZM;
41827
- zu.lock = function() {
41823
+ Vu._ = ZM;
41824
+ Vu.lock = function() {
41828
41825
  tD = !0;
41829
41826
  };
41830
- zu.register = function(n) {
41827
+ Vu.register = function(n) {
41831
41828
  if (tD)
41832
41829
  throw new Error("sha256 is locked");
41833
41830
  eD = n;
41834
41831
  };
41835
- Object.freeze(zu);
41836
- Object.freeze(zu);
41832
+ Object.freeze(Vu);
41833
+ Object.freeze(Vu);
41837
41834
  /*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */
41838
41835
  const nD = BigInt(0), ey = BigInt(1), O7 = BigInt(2), ty = (n) => n instanceof Uint8Array, R7 = /* @__PURE__ */ Array.from({ length: 256 }, (n, e) => e.toString(16).padStart(2, "0"));
41839
- function Su(n) {
41836
+ function Tu(n) {
41840
41837
  if (!ty(n))
41841
41838
  throw new Error("Uint8Array expected");
41842
41839
  let e = "";
@@ -41853,7 +41850,7 @@ function tx(n) {
41853
41850
  throw new Error("hex string expected, got " + typeof n);
41854
41851
  return BigInt(n === "" ? "0" : `0x${n}`);
41855
41852
  }
41856
- function Tu(n) {
41853
+ function Nu(n) {
41857
41854
  if (typeof n != "string")
41858
41855
  throw new Error("hex string expected, got " + typeof n);
41859
41856
  const e = n.length;
@@ -41869,27 +41866,27 @@ function Tu(n) {
41869
41866
  return t;
41870
41867
  }
41871
41868
  function qa(n) {
41872
- return tx(Su(n));
41869
+ return tx(Tu(n));
41873
41870
  }
41874
41871
  function nx(n) {
41875
41872
  if (!ty(n))
41876
41873
  throw new Error("Uint8Array expected");
41877
- return tx(Su(Uint8Array.from(n).reverse()));
41874
+ return tx(Tu(Uint8Array.from(n).reverse()));
41878
41875
  }
41879
- function Nu(n, e) {
41880
- return Tu(n.toString(16).padStart(e * 2, "0"));
41876
+ function Ou(n, e) {
41877
+ return Nu(n.toString(16).padStart(e * 2, "0"));
41881
41878
  }
41882
41879
  function rx(n, e) {
41883
- return Nu(n, e).reverse();
41880
+ return Ou(n, e).reverse();
41884
41881
  }
41885
41882
  function M7(n) {
41886
- return Tu(rD(n));
41883
+ return Nu(rD(n));
41887
41884
  }
41888
41885
  function Qr(n, e, t) {
41889
41886
  let r;
41890
41887
  if (typeof e == "string")
41891
41888
  try {
41892
- r = Tu(e);
41889
+ r = Nu(e);
41893
41890
  } catch (i) {
41894
41891
  throw new Error(`${n} must be valid hex string, got "${e}". Cause: ${i}`);
41895
41892
  }
@@ -41998,16 +41995,16 @@ const F7 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
41998
41995
  bitLen: I7,
41999
41996
  bitMask: sx,
42000
41997
  bitSet: _7,
42001
- bytesToHex: Su,
41998
+ bytesToHex: Tu,
42002
41999
  bytesToNumberBE: qa,
42003
42000
  bytesToNumberLE: nx,
42004
42001
  concatBytes: ld,
42005
42002
  createHmacDrbg: sD,
42006
42003
  ensureBytes: Qr,
42007
42004
  equalBytes: D7,
42008
- hexToBytes: Tu,
42005
+ hexToBytes: Nu,
42009
42006
  hexToNumber: tx,
42010
- numberToBytesBE: Nu,
42007
+ numberToBytesBE: Ou,
42011
42008
  numberToBytesLE: rx,
42012
42009
  numberToHexUnpadded: rD,
42013
42010
  numberToVarBytesBE: M7,
@@ -42192,7 +42189,7 @@ function K7(n, e, t = !1, r = {}) {
42192
42189
  // TODO: do we really need constant cmov?
42193
42190
  // We don't have const-time bigints anyway, so probably will be not very useful
42194
42191
  cmov: (l, c, u) => u ? c : l,
42195
- toBytes: (l) => t ? rx(l, i) : Nu(l, i),
42192
+ toBytes: (l) => t ? rx(l, i) : Ou(l, i),
42196
42193
  fromBytes: (l) => {
42197
42194
  if (l.length !== i)
42198
42195
  throw new Error(`Fp.fromBytes: expected ${i}, got ${l.length}`);
@@ -42216,7 +42213,7 @@ function J7(n, e, t = !1) {
42216
42213
  if (r < 16 || r < i || r > 1024)
42217
42214
  throw new Error(`expected ${i}-1024 bytes of input, got ${r}`);
42218
42215
  const o = t ? qa(n) : nx(n), a = Xn(o, e - Ht) + Ht;
42219
- return t ? rx(a, s) : Nu(a, s);
42216
+ return t ? rx(a, s) : Ou(a, s);
42220
42217
  }
42221
42218
  /*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */
42222
42219
  const q7 = BigInt(0), x0 = BigInt(1);
@@ -42393,7 +42390,7 @@ function eK(n) {
42393
42390
  function l(p) {
42394
42391
  const { allowedPrivateKeyLengths: g, nByteLength: y, wrapPrivateKey: b, n: A } = e;
42395
42392
  if (g && typeof p != "bigint") {
42396
- if (p instanceof Uint8Array && (p = Su(p)), typeof p != "string" || !g.includes(p.length))
42393
+ if (p instanceof Uint8Array && (p = Tu(p)), typeof p != "string" || !g.includes(p.length))
42397
42394
  throw new Error("Invalid key");
42398
42395
  p = p.padStart(y * 2, "0");
42399
42396
  }
@@ -42614,7 +42611,7 @@ function eK(n) {
42614
42611
  return this.assertValidity(), r(f, this, g);
42615
42612
  }
42616
42613
  toHex(g = !0) {
42617
- return Su(this.toRawBytes(g));
42614
+ return Tu(this.toRawBytes(g));
42618
42615
  }
42619
42616
  }
42620
42617
  f.BASE = new f(e.Gx, e.Gy, t.ONE), f.ZERO = new f(t.ZERO, t.ONE, t.ZERO);
@@ -42672,7 +42669,7 @@ function nK(n) {
42672
42669
  } else
42673
42670
  throw new Error(`Point of length ${W} was invalid. Expected ${s} compressed bytes or ${i} uncompressed bytes`);
42674
42671
  }
42675
- }), h = (_) => Su(Nu(_, e.nByteLength));
42672
+ }), h = (_) => Tu(Ou(_, e.nByteLength));
42676
42673
  function p(_) {
42677
42674
  const W = r >> Br;
42678
42675
  return _ > W;
@@ -42726,14 +42723,14 @@ function nK(n) {
42726
42723
  }
42727
42724
  // DER-encoded
42728
42725
  toDERRawBytes() {
42729
- return Tu(this.toDERHex());
42726
+ return Nu(this.toDERHex());
42730
42727
  }
42731
42728
  toDERHex() {
42732
42729
  return pa.hexFromSig({ r: this.r, s: this.s });
42733
42730
  }
42734
42731
  // padded bytes of r, then padded bytes of s
42735
42732
  toCompactRawBytes() {
42736
- return Tu(this.toCompactHex());
42733
+ return Nu(this.toCompactHex());
42737
42734
  }
42738
42735
  toCompactHex() {
42739
42736
  return h(this.r) + h(this.s);
@@ -42793,7 +42790,7 @@ function nK(n) {
42793
42790
  throw new Error("bigint expected");
42794
42791
  if (!(Ci <= _ && _ < M))
42795
42792
  throw new Error(`bigint expected < 2^${e.nBitLength}`);
42796
- return Nu(_, e.nByteLength);
42793
+ return Ou(_, e.nByteLength);
42797
42794
  }
42798
42795
  function O(_, W, Q = D) {
42799
42796
  if (["recovered", "canonical"].some((Ze) => Ze in Q))
@@ -44260,7 +44257,7 @@ function dD(n, e) {
44260
44257
  if (o == null)
44261
44258
  throw new Error("investigate");
44262
44259
  t.push(o), r.push(i.localName || null);
44263
- }), ku.fromItems(t, r);
44260
+ }), Cu.fromItems(t, r);
44264
44261
  }
44265
44262
  class mK extends $i {
44266
44263
  constructor(t, r, s) {
@@ -44380,15 +44377,15 @@ class CK extends $i {
44380
44377
  return 0;
44381
44378
  }
44382
44379
  encode(t, r) {
44383
- let s = Ee(Sn.dereference(r, this.type)), i = nf(kK, Bn * 8);
44380
+ let s = Ee(Sn.dereference(r, this.type)), i = rf(kK, Bn * 8);
44384
44381
  if (this.signed) {
44385
- let o = nf(i, this.size * 8 - 1);
44382
+ let o = rf(i, this.size * 8 - 1);
44386
44383
  (s > o || s < -(o + EK)) && this._throwError("value out-of-bounds", r), s = kM(s, 8 * Bn);
44387
- } else (s < AK || s > nf(i, this.size * 8)) && this._throwError("value out-of-bounds", r);
44384
+ } else (s < AK || s > rf(i, this.size * 8)) && this._throwError("value out-of-bounds", r);
44388
44385
  return t.writeValue(s);
44389
44386
  }
44390
44387
  decode(t) {
44391
- let r = nf(t.readValue(), this.size * 8);
44388
+ let r = rf(t.readValue(), this.size * 8);
44392
44389
  return this.signed && (r = xG(r, this.size * 8)), r;
44393
44390
  }
44394
44391
  }
@@ -44403,7 +44400,7 @@ class SK extends hD {
44403
44400
  return super.encode(e, Di(Sn.dereference(t, "string")));
44404
44401
  }
44405
44402
  decode(e) {
44406
- return Eu(super.decode(e));
44403
+ return ku(super.decode(e));
44407
44404
  }
44408
44405
  }
44409
44406
  class zh extends $i {
@@ -44609,7 +44606,7 @@ function BK(n) {
44609
44606
  }
44610
44607
  return e;
44611
44608
  }
44612
- function Ou(n) {
44609
+ function Ru(n) {
44613
44610
  let t = n.length;
44614
44611
  if (t < 4096) return String.fromCodePoint(...n);
44615
44612
  let r = [];
@@ -44623,8 +44620,8 @@ function FK(n, e) {
44623
44620
  return r;
44624
44621
  }
44625
44622
  var jK = "AEUDTAHBCFQATQDRADAAcgAgADQAFAAsABQAHwAOACQADQARAAoAFwAHABIACAAPAAUACwAFAAwABAAQAAMABwAEAAoABQAIAAIACgABAAQAFAALAAIACwABAAIAAQAHAAMAAwAEAAsADAAMAAwACgANAA0AAwAKAAkABAAdAAYAZwDSAdsDJgC0CkMB8xhZAqfoC190UGcThgBurwf7PT09Pb09AjgJum8OjDllxHYUKXAPxzq6tABAxgK8ysUvWAgMPT09PT09PSs6LT2HcgWXWwFLoSMEEEl5RFVMKvO0XQ8ExDdJMnIgsj26PTQyy8FfEQ8AY8IPAGcEbwRwBHEEcgRzBHQEdQR2BHcEeAR6BHsEfAR+BIAEgfndBQoBYgULAWIFDAFiBNcE2ATZBRAFEQUvBdALFAsVDPcNBw13DYcOMA4xDjMB4BllHI0B2grbAMDpHLkQ7QHVAPRNQQFnGRUEg0yEB2uaJF8AJpIBpob5AERSMAKNoAXqaQLUBMCzEiACnwRZEkkVsS7tANAsBG0RuAQLEPABv9HICTUBXigPZwRBApMDOwAamhtaABqEAY8KvKx3LQ4ArAB8UhwEBAVSagD8AEFZADkBIadVj2UMUgx5Il4ANQC9AxIB1BlbEPMAs30CGxlXAhwZKQIECBc6EbsCoxngzv7UzRQA8M0BawL6ZwkN7wABAD33OQRcsgLJCjMCjqUChtw/km+NAsXPAoP2BT84PwURAK0RAvptb6cApQS/OMMey5HJS84UdxpxTPkCogVFITaTOwERAK5pAvkNBOVyA7q3BKlOJSALAgUIBRcEdASpBXqzABXFSWZOawLCOqw//AolCZdvv3dSBkEQGyelEPcMMwG1ATsN7UvYBPEGOwTJH30ZGQ/NlZwIpS3dDO0m4y6hgFoj9SqDBe1L9DzdC01RaA9ZC2UJ4zpjgU4DIQENIosK3Q05CG0Q8wrJaw3lEUUHOQPVSZoApQcBCxEdNRW1JhBirAsJOXcG+xr2C48mrxMpevwF0xohBk0BKRr/AM8u54WwWjFcHE9fBgMLJSPHFKhQIA0lQLd4SBobBxUlqQKRQ3BKh1E2HpMh9jw9DWYuE1F8B/U8BRlPC4E8nkarRQ4R0j6NPUgiSUwsBDV/LC8niwnPD4UMuXxyAVkJIQmxDHETMREXN8UIOQcZLZckJxUIIUaVYJoE958D8xPRAwsFPwlBBxMDtRwtEy4VKQUNgSTXAvM21S6zAo9WgAEXBcsPJR/fEFBH4A7pCJsCZQODJesALRUhABcimwhDYwBfj9hTBS7LCMdqbCN0A2cU52ERcweRDlcHpxwzFb8c4XDIXguGCCijrwlbAXUJmQFfBOMICTVbjKAgQWdTi1gYmyBhQT9d/AIxDGUVn0S9h3gCiw9rEhsBNQFzBzkNAQJ3Ee0RaxCVCOuGBDW1M/g6JQRPIYMgEQonA09szgsnJvkM+GkBoxJiAww0PXfuZ6tgtiQX/QcZMsVBYCHxC5JPzQycGsEYQlQuGeQHvwPzGvMn6kFXBf8DowMTOk0z7gS9C2kIiwk/AEkOoxcH1xhqCnGM0AExiwG3mQNXkYMCb48GNwcLAGcLhwV55QAdAqcIowAFAM8DVwA5Aq0HnQAZAIVBAT0DJy8BIeUCjwOTCDHLAZUvAfMpBBvDDBUA9zduSgLDsQKAamaiBd1YAo4CSTUBTSUEBU5HUQOvceEA2wBLBhPfRwEVq0rLGuNDAd9vKwDHAPsABTUHBUEBzQHzbQC3AV8LMQmis7UBTekpAIMAFWsB1wKJAN0ANQB/8QFTAE0FWfkF0wJPSQERMRgrV2EBuwMfATMBDQB5BsuNpckHHwRtB9MCEBsV4QLvLge1AQMi3xPNQsUCvd5VoWACZIECYkJbTa9bNyACofcCaJgCZgkCn4Q4GwsCZjsCZiYEbgR/A38TA36SOQY5dxc5gjojIwJsHQIyNjgKAm3HAm2u74ozZ0UrAWcA3gDhAEoFB5gMjQD+C8IADbUCdy8CdqI/AnlLQwJ4uh1c20WuRtcCfD8CesgCfQkCfPAFWQUgSABIfWMkAoFtAoAAAoAFAn+uSVhKWxUXSswC0QEC0MxLJwOITwOH5kTFkTIC8qFdAwMDrkvOTC0lA89NTE2vAos/AorYwRsHHUNnBbcCjjcCjlxAl4ECjtkCjlx4UbRTNQpS1FSFApP7ApMMAOkAHFUeVa9V0AYsGymVhjLheGZFOzkCl58C77JYIagAWSUClo8ClnycAKlZrFoJgU0AOwKWtQKWTlxEXNECmcsCmWRcyl0HGQKcmznCOp0CnBYCn5sCnriKAB0PMSoPAp3xAp6SALU9YTRh7wKe0wKgbgGpAp6fHwKeTqVjyGQnJSsCJ68CJn4CoPsCoEwCot0CocQCpi8Cpc4Cp/8AfQKn8mh8aLEAA0lqHGrRAqzjAqyuAq1nAq0CAlcdAlXcArHh1wMfTmyXArK9DQKy6Bds4G1jbUhfAyXNArZcOz9ukAMpRQK4XgK5RxUCuSp3cDZw4QK9GQK72nCWAzIRAr6IcgIDM3ECvhpzInNPAsPLAsMEc4J0SzVFdOADPKcDPJoDPb8CxXwCxkcCxhCJAshpUQLIRALJTwLJLgJknQLd0nh5YXiueSVL0AMYo2cCAmH0GfOVJHsLXpJeuxECz2sCz2wvS1PS8xOfAMatAs9zASnqA04SfksFAtwnAtuKAtJPA1JcA1NfAQEDVYyAiT8AyxbtYEWCHILTgs6DjQLaxwLZ3oQQhEmnPAOGpQAvA2QOhnFZ+QBVAt9lAt64c3cC4i/tFAHzMCcB9JsB8tKHAuvzAulweQLq+QLq5AD5RwG5Au6JAuuclqqXAwLuPwOF4Jh5cOBxoQLzAwBpA44WmZMC9xMDkW4DkocC95gC+dkC+GaaHJqruzebHgOdgwL++gEbADmfHJ+zAwWNA6ZqA6bZANHFAwZqoYiiBQkDDEkCwAA/AwDhQRdTARHzA2sHl2cFAJMtK7evvdsBiZkUfxEEOQH7KQUhDp0JnwCS/SlXxQL3AZ0AtwW5AG8LbUEuFCaNLgFDAYD8AbUmAHUDDgRtACwCFgyhAAAKAj0CagPdA34EkQEgRQUhfAoABQBEABMANhICdwEABdUDa+8KxQIA9wqfJ7+xt+UBkSFBQgHpFH8RNMCJAAQAGwBaAkUChIsABjpTOpSNbQC4Oo860ACNOME63AClAOgAywE6gTo7Ofw5+Tt2iTpbO56JOm85GAFWATMBbAUvNV01njWtNWY1dTW2NcU1gjWRNdI14TWeNa017jX9NbI1wTYCNhE1xjXVNhY2JzXeNe02LjY9Ni41LSE2OjY9Njw2yTcIBJA8VzY4Nt03IDcPNsogN4k3MAoEsDxnNiQ3GTdsOo03IULUQwdC4EMLHA8PCZsobShRVQYA6X8A6bABFCnXAukBowC9BbcAbwNzBL8MDAMMAQgDAAkKCwsLCQoGBAVVBI/DvwDz9b29kaUCb0QtsRTNLt4eGBcSHAMZFhYZEhYEARAEBUEcQRxBHEEcQRxBHEEaQRxBHEFCSTxBPElISUhBNkM2QTYbNklISVmBVIgBFLWZAu0BhQCjBcEAbykBvwGJAaQcEZ0ePCklMAAhMvAIMAL54gC7Bm8EescjzQMpARQpKgDUABavAj626xQAJP0A3etzuf4NNRA7efy2Z9NQrCnC0OSyANz5BBIbJ5IFDR6miIavYS6tprjjmuKebxm5C74Q225X1pkaYYPb6f1DK4k3xMEBb9S2WMjEibTNWhsRJIA+vwNVEiXTE5iXs/wezV66oFLfp9NZGYW+Gk19J2+bCT6Ye2w6LDYdgzKMUabk595eLBCXANz9HUpWbATq9vqXVx9XDg+Pc9Xp4+bsS005SVM/BJBM4687WUuf+Uj9dEi8aDNaPxtpbDxcG1THTImUMZq4UCaaNYpsVqraNyKLJXDYsFZ/5jl7bLRtO88t7P3xZaAxhb5OdPMXqsSkp1WCieG8jXm1U99+blvLlXzPCS+M93VnJCiK+09LfaSaBAVBomyDgJua8dfUzR7ga34IvR2Nvj+A9heJ6lsl1KG4NkI1032Cnff1m1wof2B9oHJK4bi6JkEdSqeNeiuo6QoZZincoc73/TH9SXF8sCE7XyuYyW8WSgbGFCjPV0ihLKhdPs08Tx82fYAkLLc4I2wdl4apY7GU5lHRFzRWJep7Ww3wbeA3qmd59/86P4xuNaqDpygXt6M85glSBHOCGgJDnt+pN9bK7HApMguX6+06RZNjzVmcZJ+wcUrJ9//bpRNxNuKpNl9uFds+S9tdx7LaM5ZkIrPj6nIU9mnbFtVbs9s/uLgl8MVczAwet+iOEzzBlYW7RCMgE6gyNLeq6+1tIx4dpgZnd0DksJS5f+JNDpwwcPNXaaVspq1fbQajOrJgK0ofKtJ1Ne90L6VO4MOl5S886p7u6xo7OLjG8TGL+HU1JXGJgppg4nNbNJ5nlzSpuPYy21JUEcUA94PoFiZfjZue+QnyQ80ekOuZVkxx4g+cvhJfHgNl4hy1/a6+RKcKlar/J29y//EztlbVPHVUeQ1zX86eQVAjR/M3dA9w4W8LfaXp4EgM85wOWasli837PzVMOnsLzR+k3o75/lRPAJSE1xAKQzEi5v10ke+VBvRt1cwQRMd+U5mLCTGVd6XiZtgBG5cDi0w22GKcVNvHiu5LQbZEDVtz0onn7k5+heuKXVsZtSzilkLRAUmjMXEMB3J9YC50XBxPiz53SC+EhnPl9WsKCv92SM/OFFIMJZYfl0WW8tIO3UxYcwdMAj7FSmgrsZ2aAZO03BOhP1bNNZItyXYQFTpC3SG1VuPDqH9GkiCDmE+JwxyIVSO5siDErAOpEXFgjy6PQtOVDj+s6e1r8heWVvmZnTciuf4EiNZzCAd7SOMhXERIOlsHIMG399i9aLTy3m2hRLZjJVDNLS53iGIK11dPqQt0zBDyg6qc7YqkDm2M5Ve6dCWCaCbTXX2rToaIgz6+zh4lYUi/+6nqcFMAkQJKHYLK0wYk5N9szV6xihDbDDFr45lN1K4aCXBq/FitPSud9gLt5ZVn+ZqGX7cwm2z5EGMgfFpIFyhGGuDPmso6TItTMwny+7uPnLCf4W6goFQFV0oQSsc9VfMmVLcLr6ZetDZbaSFTLqnSO/bIPjA3/zAUoqgGFAEQS4IhuMzEp2I3jJzbzkk/IEmyax+rhZTwd6f+CGtwPixu8IvzACquPWPREu9ZvGkUzpRwvRRuaNN6cr0W1wWits9ICdYJ7ltbgMiSL3sTPeufgNcVqMVWFkCPDH4jG2jA0XcVgQj62Cb29v9f/z/+2KbYvIv/zzjpQAPkliaVDzNrW57TZ/ZOyZD0nlfMmAIBIAGAI0D3k/mdN4xr9v85ZbZbbqfH2jGd5hUqNZWwl5SPfoGmfElmazUIeNL1j/mkF7VNAzTq4jNt8JoQ11NQOcmhprXoxSxfRGJ9LDEOAQ+dmxAQH90iti9e2u/MoeuaGcDTHoC+xsmEeWmxEKefQuIzHbpw5Tc5cEocboAD09oipWQhtTO1wivf/O+DRe2rpl/E9wlrzBorjJsOeG1B/XPW4EaJEFdNlECEZga5ZoGRHXgYouGRuVkm8tDESiEyFNo+3s5M5puSdTyUL2llnINVHEt91XUNW4ewdMgJ4boJfEyt/iY5WXqbA+A2Fkt5Z0lutiWhe9nZIyIUjyXDC3UsaG1t+eNx6z4W/OYoTB7A6x+dNSTOi9AInctbESqm5gvOLww7OWXPrmHwVZasrl4eD113pm+JtT7JVOvnCXqdzzdTRHgJ0PiGTFYW5Gvt9R9LD6Lzfs0v/TZZHSmyVNq7viIHE6DBK7Qp07Iz55EM8SYtQvZf/obBniTWi5C2/ovHfw4VndkE5XYdjOhCMRjDeOEfXeN/CwfGduiUIfsoFeUxXeQXba7c7972XNv8w+dTjjUM0QeNAReW+J014dKAD/McQYXT7c0GQPIkn3Ll6R7gGjuiQoZD0TEeEqQpKoZ15g/0OPQI17QiSv9AUROa/V/TQN3dvLArec3RrsYlvBm1b8LWzltdugsC50lNKYLEp2a+ZZYqPejULRlOJh5zj/LVMyTDvwKhMxxwuDkxJ1QpoNI0OTWLom4Z71SNzI9TV1iXJrIu9Wcnd+MCaAw8o1jSXd94YU/1gnkrC9BUEOtQvEIQ7g0i6h+KL2JKk8Ydl7HruvgWMSAmNe+LshGhV4qnWHhO9/RIPQzY1tHRj2VqOyNsDpK0cww+56AdDC4gsWwY0XxoucIWIqs/GcwnWqlaT0KPr8mbK5U94/301i1WLt4YINTVvCFBrFZbIbY8eycOdeJ2teD5IfPLCRg7jjcFTwlMFNl9zdh/o3E/hHPwj7BWg0MU09pPrBLbrCgm54A6H+I6v27+jL5gkjWg/iYdks9jbfVP5y/n0dlgWEMlKasl7JvFZd56LfybW1eeaVO0gxTfXZwD8G4SI116yx7UKVRgui6Ya1YpixqXeNLc8IxtAwCU5IhwQgn+NqHnRaDv61CxKhOq4pOX7M6pkA+Pmpd4j1vn6ACUALoLLc4vpXci8VidLxzm7qFBe7s+quuJs6ETYmnpgS3LwSZxPIltgBDXz8M1k/W2ySNv2f9/NPhxLGK2D21dkHeSGmenRT3Yqcdl0m/h3OYr8V+lXNYGf8aCCpd4bWjE4QIPj7vUKN4Nrfs7ML6Y2OyS830JCnofg/k7lpFpt4SqZc5HGg1HCOrHvOdC8bP6FGDbE/VV0mX4IakzbdS/op+Kt3G24/8QbBV7y86sGSQ/vZzU8FXs7u6jIvwchsEP2BpIhW3G8uWNwa3HmjfH/ZjhhCWvluAcF+nMf14ClKg5hGgtPLJ98ueNAkc5Hs2WZlk2QHvfreCK1CCGO6nMZVSb99VM/ajr8WHTte9JSmkXq/i/U943HEbdzW6Re/S88dKgg8pGOLlAeNiqrcLkUR3/aClFpMXcOUP3rmETcWSfMXZE3TUOi8i+fqRnTYLflVx/Vb/6GJ7eIRZUA6k3RYR3iFSK9c4iDdNwJuZL2FKz/IK5VimcNWEqdXjSoxSgmF0UPlDoUlNrPcM7ftmA8Y9gKiqKEHuWN+AZRIwtVSxye2Kf8rM3lhJ5XcBXU9n4v0Oy1RU2M+4qM8AQPVwse8ErNSob5oFPWxuqZnVzo1qB/IBxkM3EVUKFUUlO3e51259GgNcJbCmlvrdjtoTW7rChm1wyCKzpCTwozUUEOIcWLneRLgMXh+SjGSFkAllzbGS5HK7LlfCMRNRDSvbQPjcXaenNYxCvu2Qyznz6StuxVj66SgI0T8B6/sfHAJYZaZ78thjOSIFumNWLQbeZixDCCC+v0YBtkxiBB3jefHqZ/dFHU+crbj6OvS1x/JDD7vlm7zOVPwpUC01nhxZuY/63E7g";
44626
- const hd = 44032, zg = 4352, Vg = 4449, $g = 4519, wD = 19, vD = 21, Ru = 28, Wg = vD * Ru, UK = wD * Wg, HK = hd + UK, zK = zg + wD, VK = Vg + vD, $K = $g + Ru;
44627
- function sf(n) {
44623
+ const hd = 44032, zg = 4352, Vg = 4449, $g = 4519, wD = 19, vD = 21, Mu = 28, Wg = vD * Mu, UK = wD * Wg, HK = hd + UK, zK = zg + wD, VK = Vg + vD, $K = $g + Mu;
44624
+ function of(n) {
44628
44625
  return n >> 24 & 255;
44629
44626
  }
44630
44627
  function xD(n) {
@@ -44647,8 +44644,8 @@ function AD(n) {
44647
44644
  }
44648
44645
  function GK(n, e) {
44649
44646
  if (n >= zg && n < zK && e >= Vg && e < VK)
44650
- return hd + (n - zg) * Wg + (e - Vg) * Ru;
44651
- if (AD(n) && e > $g && e < $K && (n - hd) % Ru == 0)
44647
+ return hd + (n - zg) * Wg + (e - Vg) * Mu;
44648
+ if (AD(n) && e > $g && e < $K && (n - hd) % Mu == 0)
44652
44649
  return n + (e - $g);
44653
44650
  {
44654
44651
  let t = pp.get(n);
@@ -44667,7 +44664,7 @@ function ED(n) {
44667
44664
  if (i < 128)
44668
44665
  e.push(i);
44669
44666
  else if (AD(i)) {
44670
- let o = i - hd, a = o / Wg | 0, l = o % Wg / Ru | 0, c = o % Ru;
44667
+ let o = i - hd, a = o / Wg | 0, l = o % Wg / Mu | 0, c = o % Mu;
44671
44668
  s(zg + a), s(Vg + l), c > 0 && s($g + c);
44672
44669
  } else {
44673
44670
  let o = mw.get(i);
@@ -44677,9 +44674,9 @@ function ED(n) {
44677
44674
  i = t.pop();
44678
44675
  }
44679
44676
  if (r && e.length > 1) {
44680
- let i = sf(e[0]);
44677
+ let i = of(e[0]);
44681
44678
  for (let o = 1; o < e.length; o++) {
44682
- let a = sf(e[o]);
44679
+ let a = of(e[o]);
44683
44680
  if (a == 0 || i <= a) {
44684
44681
  i = a;
44685
44682
  continue;
@@ -44687,9 +44684,9 @@ function ED(n) {
44687
44684
  let l = o - 1;
44688
44685
  for (; ; ) {
44689
44686
  let c = e[l + 1];
44690
- if (e[l + 1] = e[l], e[l] = c, !l || (i = sf(e[--l]), i <= a)) break;
44687
+ if (e[l + 1] = e[l], e[l] = c, !l || (i = of(e[--l]), i <= a)) break;
44691
44688
  }
44692
- i = sf(e[o]);
44689
+ i = of(e[o]);
44693
44690
  }
44694
44691
  }
44695
44692
  return e;
@@ -44697,7 +44694,7 @@ function ED(n) {
44697
44694
  function KK(n) {
44698
44695
  let e = [], t = [], r = -1, s = 0;
44699
44696
  for (let i of n) {
44700
- let o = sf(i), a = xD(i);
44697
+ let o = of(i), a = xD(i);
44701
44698
  if (r == -1)
44702
44699
  o == 0 ? r = a : e.push(a);
44703
44700
  else if (s > 0 && s >= o)
@@ -44740,7 +44737,7 @@ function ox() {
44740
44737
  let f = dd(n).map((d) => d + 96);
44741
44738
  if (f.length) {
44742
44739
  let d = u >= i;
44743
- f[0] -= 32, f = Ou(f), d && (f = `Restricted[${f}]`);
44740
+ f[0] -= 32, f = Ru(f), d && (f = `Restricted[${f}]`);
44744
44741
  let h = o(), p = o(), g = !n();
44745
44742
  return { N: f, P: h, Q: p, M: g, R: d };
44746
44743
  }
@@ -44794,7 +44791,7 @@ function lx(n) {
44794
44791
  }
44795
44792
  function QK(n) {
44796
44793
  if (n.length >= 4 && n[2] == NC && n[3] == NC)
44797
- throw new Error(`invalid label extension: "${Ou(n.slice(0, 4))}"`);
44794
+ throw new Error(`invalid label extension: "${Ru(n.slice(0, 4))}"`);
44798
44795
  }
44799
44796
  function YK(n) {
44800
44797
  for (let t = n.lastIndexOf(95); t > 0; )
@@ -44803,17 +44800,17 @@ function YK(n) {
44803
44800
  }
44804
44801
  function XK(n) {
44805
44802
  let e = n[0], t = CC.get(e);
44806
- if (t) throw Sf(`leading ${t}`);
44803
+ if (t) throw Tf(`leading ${t}`);
44807
44804
  let r = n.length, s = -1;
44808
44805
  for (let i = 1; i < r; i++) {
44809
44806
  e = n[i];
44810
44807
  let o = CC.get(e);
44811
44808
  if (o) {
44812
- if (s == i) throw Sf(`${t} + ${o}`);
44809
+ if (s == i) throw Tf(`${t} + ${o}`);
44813
44810
  s = i + 1, t = o;
44814
44811
  }
44815
44812
  }
44816
- if (s == r) throw Sf(`trailing ${t}`);
44813
+ if (s == r) throw Tf(`trailing ${t}`);
44817
44814
  }
44818
44815
  function ny(n, e = 1 / 0, t = bD) {
44819
44816
  let r = [];
@@ -44821,9 +44818,9 @@ function ny(n, e = 1 / 0, t = bD) {
44821
44818
  let s = 0, i = n.length;
44822
44819
  for (let o = 0; o < i; o++) {
44823
44820
  let a = n[o];
44824
- RD(a) && (r.push(Ou(n.slice(s, o))), r.push(t(a)), s = o + 1);
44821
+ RD(a) && (r.push(Ru(n.slice(s, o))), r.push(t(a)), s = o + 1);
44825
44822
  }
44826
- return r.push(Ou(n.slice(s, i))), r.join("");
44823
+ return r.push(Ru(n.slice(s, i))), r.join("");
44827
44824
  }
44828
44825
  function ZK(n) {
44829
44826
  return ox(), ga.has(n);
@@ -44857,11 +44854,11 @@ function tJ(n, e, t) {
44857
44854
  if (!d.length)
44858
44855
  c = "Emoji";
44859
44856
  else {
44860
- if (ga.has(u[0])) throw Sf("leading combining mark");
44857
+ if (ga.has(u[0])) throw Tf("leading combining mark");
44861
44858
  for (let g = 1; g < l; g++) {
44862
44859
  let y = a[g];
44863
44860
  if (!y.is_emoji && ga.has(y[0]))
44864
- throw Sf(`emoji + combining mark: "${Ou(a[g - 1])} + ${ny([y[0]])}"`);
44861
+ throw Tf(`emoji + combining mark: "${Ru(a[g - 1])} + ${ny([y[0]])}"`);
44865
44862
  }
44866
44863
  XK(u);
44867
44864
  let h = Gg(new Set(d)), [p] = rJ(h);
@@ -44908,7 +44905,7 @@ function sJ(n) {
44908
44905
  let s = t.message;
44909
44906
  throw new Error(n.length == 1 ? s : `Invalid label ${lx(ny(e, 63))}: ${s}`);
44910
44907
  }
44911
- return Ou(r);
44908
+ return Ru(r);
44912
44909
  }).join(CD);
44913
44910
  }
44914
44911
  function MD(n) {
@@ -44918,7 +44915,7 @@ function DD(n, e) {
44918
44915
  let t = ax(e), r = hc.find((s) => s.P.has(e));
44919
44916
  return r && (t = `${r.N} ${t}`), new Error(`illegal mixture: ${n.N} + ${t}`);
44920
44917
  }
44921
- function Sf(n) {
44918
+ function Tf(n) {
44922
44919
  return new Error(`illegal placement: ${n}`);
44923
44920
  }
44924
44921
  function iJ(n, e) {
@@ -45039,7 +45036,7 @@ function MC(n, e) {
45039
45036
  let t = n.toString(16);
45040
45037
  for (; t.length < 2; )
45041
45038
  t = "0" + t;
45042
- return t += zu(e).substring(4), "0x" + t;
45039
+ return t += Vu(e).substring(4), "0x" + t;
45043
45040
  }
45044
45041
  function ry(n) {
45045
45042
  return n === "0x" ? null : pt(n);
@@ -45771,7 +45768,7 @@ function T0(n) {
45771
45768
  if (e) {
45772
45769
  const t = e[1] === "", r = parseInt(e[2]);
45773
45770
  z(r % 8 === 0 && r !== 0 && r <= 256 && e[2] === String(r), "invalid numeric width", "type", n);
45774
- const s = nf(NJ, t ? r - 1 : r), i = t ? (s + BD) * TJ : _D;
45771
+ const s = rf(NJ, t ? r - 1 : r), i = t ? (s + BD) * TJ : _D;
45775
45772
  return function(o) {
45776
45773
  const a = Ee(o, "value");
45777
45774
  return z(a >= i && a <= s, `value out-of-bounds for ${n}`, "value", a), Vo(t ? kM(a, 256) : a, 32);
@@ -46165,7 +46162,7 @@ const im = class im {
46165
46162
  // Returns the next token; throws if out of tokens
46166
46163
  pop() {
46167
46164
  const e = this.peek();
46168
- return $u(this, pn)._++, e;
46165
+ return Wu(this, pn)._++, e;
46169
46166
  }
46170
46167
  toString() {
46171
46168
  const e = [];
@@ -47183,7 +47180,7 @@ ho = new WeakSet(), Wl = function(e) {
47183
47180
  }
47184
47181
  z(!1, "invalid type", "type", e.type);
47185
47182
  };
47186
- let Mu = om;
47183
+ let Du = om;
47187
47184
  class JJ {
47188
47185
  /**
47189
47186
  * @_ignore:
@@ -47440,7 +47437,7 @@ const ca = class ca {
47440
47437
  * data.
47441
47438
  */
47442
47439
  getAbiCoder() {
47443
- return Mu.defaultAbiCoder();
47440
+ return Du.defaultAbiCoder();
47444
47441
  }
47445
47442
  /**
47446
47443
  * Get the function name for %%key%%, which may be a function selector,
@@ -47712,7 +47709,7 @@ const ca = class ca {
47712
47709
  });
47713
47710
  }
47714
47711
  makeError(e, t) {
47715
- const r = ct(e, "data"), s = Mu.getBuiltinCallException("call", t, r);
47712
+ const r = ct(e, "data"), s = Du.getBuiltinCallException("call", t, r);
47716
47713
  if (s.message.startsWith("execution reverted (unknown custom error)")) {
47717
47714
  const a = ve(r.slice(0, 4)), l = this.getError(a);
47718
47715
  if (l)
@@ -47861,7 +47858,7 @@ const ca = class ca {
47861
47858
  g = y;
47862
47859
  }
47863
47860
  c.push(g), u.push(h.name || null);
47864
- }), ku.fromItems(c, u);
47861
+ }), Cu.fromItems(c, u);
47865
47862
  }
47866
47863
  /**
47867
47864
  * Parses a transaction, finding the matching function and extracts
@@ -49477,7 +49474,7 @@ async function px(n, e) {
49477
49474
  const s = t.map((i) => i == null ? "null" : Array.isArray(i) ? i.join("|") : i).join("&");
49478
49475
  return { fragment: r, tag: s, topics: t };
49479
49476
  }
49480
- async function of(n, e) {
49477
+ async function af(n, e) {
49481
49478
  const { subs: t } = fr(n);
49482
49479
  return t.get((await px(n, e)).tag) || null;
49483
49480
  }
@@ -49515,7 +49512,7 @@ async function QC(n, e, t) {
49515
49512
  let Ew = Promise.resolve();
49516
49513
  async function cq(n, e, t, r) {
49517
49514
  await Ew;
49518
- const s = await of(n, e);
49515
+ const s = await af(n, e);
49519
49516
  if (!s)
49520
49517
  return !1;
49521
49518
  const i = s.listeners.length;
@@ -49540,7 +49537,7 @@ async function kw(n, e, t, r) {
49540
49537
  const $h = ["then"];
49541
49538
  var fS;
49542
49539
  fS = qg;
49543
- const Nf = class Nf {
49540
+ const Of = class Of {
49544
49541
  /**
49545
49542
  * Creates a new contract connected to %%target%% with the %%abi%% and
49546
49543
  * optionally connected to a %%runner%% to perform operations on behalf
@@ -49646,14 +49643,14 @@ const Nf = class Nf {
49646
49643
  * a different %%runner%%.
49647
49644
  */
49648
49645
  connect(e) {
49649
- return new Nf(this.target, this.interface, e);
49646
+ return new Of(this.target, this.interface, e);
49650
49647
  }
49651
49648
  /**
49652
49649
  * Return a new Contract instance with the same ABI and runner, but
49653
49650
  * a different %%target%%.
49654
49651
  */
49655
49652
  attach(e) {
49656
- return new Nf(e, this.interface, this.runner);
49653
+ return new Of(e, this.interface, this.runner);
49657
49654
  }
49658
49655
  /**
49659
49656
  * Return the resolved address of this Contract.
@@ -49793,7 +49790,7 @@ const Nf = class Nf {
49793
49790
  */
49794
49791
  async listenerCount(e) {
49795
49792
  if (e) {
49796
- const s = await of(this, e);
49793
+ const s = await af(this, e);
49797
49794
  return s ? s.listeners.length : 0;
49798
49795
  }
49799
49796
  const { subs: t } = fr(this);
@@ -49808,7 +49805,7 @@ const Nf = class Nf {
49808
49805
  */
49809
49806
  async listeners(e) {
49810
49807
  if (e) {
49811
- const s = await of(this, e);
49808
+ const s = await af(this, e);
49812
49809
  return s ? s.listeners.map(({ listener: i }) => i) : [];
49813
49810
  }
49814
49811
  const { subs: t } = fr(this);
@@ -49822,7 +49819,7 @@ const Nf = class Nf {
49822
49819
  * all listeners if unspecified.
49823
49820
  */
49824
49821
  async off(e, t) {
49825
- const r = await of(this, e);
49822
+ const r = await af(this, e);
49826
49823
  if (!r)
49827
49824
  return this;
49828
49825
  if (t) {
@@ -49837,7 +49834,7 @@ const Nf = class Nf {
49837
49834
  */
49838
49835
  async removeAllListeners(e) {
49839
49836
  if (e) {
49840
- const t = await of(this, e);
49837
+ const t = await af(this, e);
49841
49838
  if (!t)
49842
49839
  return this;
49843
49840
  t.stop(), fr(this).subs.delete(t.tag);
@@ -49864,7 +49861,7 @@ const Nf = class Nf {
49864
49861
  * Create a new Class for the %%abi%%.
49865
49862
  */
49866
49863
  static buildClass(e) {
49867
- class t extends Nf {
49864
+ class t extends Of {
49868
49865
  constructor(s, i = null) {
49869
49866
  super(s, e, i);
49870
49867
  }
@@ -49878,7 +49875,7 @@ const Nf = class Nf {
49878
49875
  return r == null && (r = null), new this(e, t, r);
49879
49876
  }
49880
49877
  };
49881
- let Cw = Nf;
49878
+ let Cw = Of;
49882
49879
  function uq() {
49883
49880
  return Cw;
49884
49881
  }
@@ -50252,7 +50249,7 @@ function dq(n) {
50252
50249
  }
50253
50250
  z(!1, `invalid boolean; ${JSON.stringify(n)}`, "value", n);
50254
50251
  }
50255
- function Du(n) {
50252
+ function Pu(n) {
50256
50253
  return z(xt(n, !0), "invalid data", "value", n), n;
50257
50254
  }
50258
50255
  function bn(n) {
@@ -50262,7 +50259,7 @@ const hq = sh({
50262
50259
  address: pt,
50263
50260
  blockHash: bn,
50264
50261
  blockNumber: qe,
50265
- data: Du,
50262
+ data: Pu,
50266
50263
  index: qe,
50267
50264
  removed: at(dq, !1),
50268
50265
  topics: ay(bn),
@@ -50280,7 +50277,7 @@ const gq = sh({
50280
50277
  parentBeaconBlockRoot: at(bn, null),
50281
50278
  number: qe,
50282
50279
  timestamp: qe,
50283
- nonce: at(Du),
50280
+ nonce: at(Pu),
50284
50281
  difficulty: Ee,
50285
50282
  gasLimit: Ee,
50286
50283
  gasUsed: Ee,
@@ -50290,7 +50287,7 @@ const gq = sh({
50290
50287
  excessBlobGas: at(Ee, null),
50291
50288
  miner: at(pt),
50292
50289
  prevRandao: at(bn, null),
50293
- extraData: Du,
50290
+ extraData: Pu,
50294
50291
  baseFeePerGas: at(Ee)
50295
50292
  }, {
50296
50293
  prevRandao: ["mixHash"]
@@ -50305,7 +50302,7 @@ const yq = sh({
50305
50302
  transactionHash: bn,
50306
50303
  address: pt,
50307
50304
  topics: ay(bn),
50308
- data: Du,
50305
+ data: Pu,
50309
50306
  index: qe,
50310
50307
  blockHash: bn
50311
50308
  }, {
@@ -50323,7 +50320,7 @@ const wq = sh({
50323
50320
  root: at(ve),
50324
50321
  gasUsed: Ee,
50325
50322
  blobGasUsed: at(Ee, null),
50326
- logsBloom: at(Du),
50323
+ logsBloom: at(Pu),
50327
50324
  blockHash: bn,
50328
50325
  hash: bn,
50329
50326
  logs: ay(bq),
@@ -50364,7 +50361,7 @@ function aP(n) {
50364
50361
  to: at(pt, null),
50365
50362
  value: Ee,
50366
50363
  nonce: qe,
50367
- data: Du,
50364
+ data: Pu,
50368
50365
  creates: at(pt, null),
50369
50366
  chainId: at(Ee, null)
50370
50367
  }, {
@@ -51016,7 +51013,7 @@ const Mq = {
51016
51013
  cacheTimeout: 250,
51017
51014
  pollingInterval: 4e3
51018
51015
  };
51019
- var An, xo, En, qc, gr, Da, Ao, Ai, Od, Lr, Qc, Yc, tt, ur, Nw, Ow, af, Rw, lf, xp;
51016
+ var An, xo, En, qc, gr, Da, Ao, Ai, Od, Lr, Qc, Yc, tt, ur, Nw, Ow, lf, Rw, cf, xp;
51020
51017
  class Xg {
51021
51018
  /**
51022
51019
  * Create a new **AbstractProvider** connected to %%network%%, or
@@ -51332,17 +51329,17 @@ class Xg {
51332
51329
  return await ue(this, tt, Ow).call(this, ue(this, tt, Nw).call(this, t, r, e.enableCcipRead ? 0 : -1));
51333
51330
  }
51334
51331
  async getBalance(e, t) {
51335
- return Ee(await ue(this, tt, af).call(this, { method: "getBalance" }, e, t), "%response");
51332
+ return Ee(await ue(this, tt, lf).call(this, { method: "getBalance" }, e, t), "%response");
51336
51333
  }
51337
51334
  async getTransactionCount(e, t) {
51338
- return qe(await ue(this, tt, af).call(this, { method: "getTransactionCount" }, e, t), "%response");
51335
+ return qe(await ue(this, tt, lf).call(this, { method: "getTransactionCount" }, e, t), "%response");
51339
51336
  }
51340
51337
  async getCode(e, t) {
51341
- return ve(await ue(this, tt, af).call(this, { method: "getCode" }, e, t));
51338
+ return ve(await ue(this, tt, lf).call(this, { method: "getCode" }, e, t));
51342
51339
  }
51343
51340
  async getStorage(e, t, r) {
51344
51341
  const s = Ee(t, "position");
51345
- return ve(await ue(this, tt, af).call(this, { method: "getStorage", position: s }, e, r));
51342
+ return ve(await ue(this, tt, lf).call(this, { method: "getStorage", position: s }, e, r));
51346
51343
  }
51347
51344
  // Write
51348
51345
  async broadcastTransaction(e) {
@@ -51485,7 +51482,7 @@ class Xg {
51485
51482
  */
51486
51483
  _setTimeout(e, t) {
51487
51484
  t == null && (t = 0);
51488
- const r = $u(this, Od)._++, s = () => {
51485
+ const r = Wu(this, Od)._++, s = () => {
51489
51486
  T(this, Lr).delete(r), e();
51490
51487
  };
51491
51488
  if (this.paused)
@@ -51554,7 +51551,7 @@ class Xg {
51554
51551
  return r.listeners.push({ listener: t, once: !0 }), r.started || (r.subscriber.start(), r.started = !0, T(this, En) != null && r.subscriber.pause(T(this, En))), this;
51555
51552
  }
51556
51553
  async emit(e, ...t) {
51557
- const r = await ue(this, tt, lf).call(this, e, t);
51554
+ const r = await ue(this, tt, cf).call(this, e, t);
51558
51555
  if (!r || r.listeners.length === 0)
51559
51556
  return !1;
51560
51557
  const s = r.listeners.length;
@@ -51569,7 +51566,7 @@ class Xg {
51569
51566
  }
51570
51567
  async listenerCount(e) {
51571
51568
  if (e) {
51572
- const r = await ue(this, tt, lf).call(this, e);
51569
+ const r = await ue(this, tt, cf).call(this, e);
51573
51570
  return r ? r.listeners.length : 0;
51574
51571
  }
51575
51572
  let t = 0;
@@ -51579,7 +51576,7 @@ class Xg {
51579
51576
  }
51580
51577
  async listeners(e) {
51581
51578
  if (e) {
51582
- const r = await ue(this, tt, lf).call(this, e);
51579
+ const r = await ue(this, tt, cf).call(this, e);
51583
51580
  return r ? r.listeners.map(({ listener: s }) => s) : [];
51584
51581
  }
51585
51582
  let t = [];
@@ -51588,7 +51585,7 @@ class Xg {
51588
51585
  return t;
51589
51586
  }
51590
51587
  async off(e, t) {
51591
- const r = await ue(this, tt, lf).call(this, e);
51588
+ const r = await ue(this, tt, cf).call(this, e);
51592
51589
  if (!r)
51593
51590
  return this;
51594
51591
  if (t) {
@@ -51751,7 +51748,7 @@ An = new WeakMap(), xo = new WeakMap(), En = new WeakMap(), qc = new WeakMap(),
51751
51748
  value: e
51752
51749
  });
51753
51750
  return t;
51754
- }, af = async function(e, t, r) {
51751
+ }, lf = async function(e, t, r) {
51755
51752
  let s = this._getAddress(t), i = this._getBlockTag(r);
51756
51753
  return (typeof s != "string" || typeof i != "string") && ([s, i] = await Promise.all([s, i])), await ue(this, tt, Ow).call(this, ue(this, tt, ur).call(this, Object.assign(e, { address: s, blockTag: i })));
51757
51754
  }, Rw = async function(e, t) {
@@ -51767,7 +51764,7 @@ An = new WeakMap(), xo = new WeakMap(), En = new WeakMap(), qc = new WeakMap(),
51767
51764
  blockTag: r,
51768
51765
  includeTransactions: t
51769
51766
  });
51770
- }, lf = async function(e, t) {
51767
+ }, cf = async function(e, t) {
51771
51768
  let r = await M0(e, this);
51772
51769
  return r.type === "event" && t && t.length > 0 && t[0].removed === !0 && (r = await M0({ orphan: "drop-log", log: t[0] }, this)), T(this, An).get(r.tag) || null;
51773
51770
  }, xp = async function(e) {
@@ -51779,7 +51776,7 @@ function Dq(n, e) {
51779
51776
  try {
51780
51777
  const t = Mw(n, e);
51781
51778
  if (t)
51782
- return Eu(t);
51779
+ return ku(t);
51783
51780
  } catch {
51784
51781
  }
51785
51782
  return null;
@@ -51961,7 +51958,7 @@ class Bq {
51961
51958
  }
51962
51959
  }
51963
51960
  const iS = /* @__PURE__ */ new Set();
51964
- function Vu(n) {
51961
+ function $u(n) {
51965
51962
  iS.has(n) || (iS.add(n), console.log("========= NOTICE ========="), console.log(`Request-Rate Exceeded for ${n} (this message will not be repeated)`), console.log(""), console.log("The default API keys for each service are provided as a highly-throttled,"), console.log("community resource for low-traffic projects and early prototyping."), console.log(""), console.log("While your application will continue to function, we highly recommended"), console.log("signing up for your own API keys to improve performance, increase your"), console.log("request rate/limit and enable other perks, such as metrics and advanced APIs."), console.log(""), console.log("For more details: https://docs.ethers.org/api-keys/"), console.log("=========================="));
51966
51963
  }
51967
51964
  function Fq(n) {
@@ -52306,7 +52303,7 @@ class fP extends Xg {
52306
52303
  }
52307
52304
  })()), await T(this, Qn)) : (I(this, Qn, (async () => {
52308
52305
  const r = {
52309
- id: $u(this, Zc)._++,
52306
+ id: Wu(this, Zc)._++,
52310
52307
  method: "eth_chainId",
52311
52308
  params: [],
52312
52309
  jsonrpc: "2.0"
@@ -52480,7 +52477,7 @@ class fP extends Xg {
52480
52477
  });
52481
52478
  }
52482
52479
  if (s === "eth_call" || s === "eth_estimateGas") {
52483
- const l = Lw(i), c = Mu.getBuiltinCallException(s === "eth_call" ? "call" : "estimateGas", t.params[0], l ? l.data : null);
52480
+ const l = Lw(i), c = Du.getBuiltinCallException(s === "eth_call" ? "call" : "estimateGas", t.params[0], l ? l.data : null);
52484
52481
  return c.info = { error: i, payload: t }, c;
52485
52482
  }
52486
52483
  const o = JSON.stringify($q(i));
@@ -52537,7 +52534,7 @@ class fP extends Xg {
52537
52534
  send(t, r) {
52538
52535
  if (this.destroyed)
52539
52536
  return Promise.reject(St("provider destroyed; cancelled request", "UNSUPPORTED_OPERATION", { operation: t }));
52540
- const s = $u(this, Zc)._++, i = new Promise((o, a) => {
52537
+ const s = Wu(this, Zc)._++, i = new Promise((o, a) => {
52541
52538
  T(this, Ei).push({
52542
52539
  resolve: o,
52543
52540
  reject: a,
@@ -52790,7 +52787,7 @@ class Zg extends Ii {
52790
52787
  static getRequest(t, r) {
52791
52788
  r == null && (r = Gh);
52792
52789
  const s = new $n(`https://${Wq(t.name)}/${r}`);
52793
- return s.allowGzip = !0, r === Gh && (s.retryFunc = async (i, o, a) => (Vu("AnkrProvider"), !0)), s;
52790
+ return s.allowGzip = !0, r === Gh && (s.retryFunc = async (i, o, a) => ($u("AnkrProvider"), !0)), s;
52794
52791
  }
52795
52792
  getRpcError(t, r) {
52796
52793
  return t.method === "eth_sendRawTransaction" && r && r.error && r.error.message === "INTERNAL_ERROR: could not replace existing tx" && (r.error.message = "replacement transaction underpriced"), super.getRpcError(t, r);
@@ -52885,7 +52882,7 @@ class em extends Ii {
52885
52882
  static getRequest(t, r) {
52886
52883
  r == null && (r = Kh);
52887
52884
  const s = new $n(`https://${Gq(t.name)}/v2/${r}`);
52888
- return s.allowGzip = !0, r === Kh && (s.retryFunc = async (i, o, a) => (Vu("alchemy"), !0)), s;
52885
+ return s.allowGzip = !0, r === Kh && (s.retryFunc = async (i, o, a) => ($u("alchemy"), !0)), s;
52889
52886
  }
52890
52887
  }
52891
52888
  function Jh(n) {
@@ -52947,7 +52944,7 @@ class tm extends Ii {
52947
52944
  static getRequest(t, r) {
52948
52945
  r == null && (r = Jh(t.name));
52949
52946
  const s = new $n(`https://${Kq(t.name)}/${r}`);
52950
- return s.allowGzip = !0, r === Jh(t.name) && (s.retryFunc = async (i, o, a) => (Vu("ChainstackProvider"), !0)), s;
52947
+ return s.allowGzip = !0, r === Jh(t.name) && (s.retryFunc = async (i, o, a) => ($u("ChainstackProvider"), !0)), s;
52951
52948
  }
52952
52949
  }
52953
52950
  class Jq extends Ii {
@@ -53061,8 +53058,8 @@ class Zq extends Xg {
53061
53058
  const i = Xq++, o = s ? this.getPostUrl() : this.getUrl(t, r), a = s ? this.getPostData(t, r) : null;
53062
53059
  this.emit("debug", { action: "sendRequest", id: i, url: o, payload: a });
53063
53060
  const l = new $n(o);
53064
- l.setThrottleParams({ slotInterval: 1e3 }), l.retryFunc = (f, d, h) => (this.isCommunityResource() && Vu("Etherscan"), Promise.resolve(!0)), l.processFunc = async (f, d) => {
53065
- const h = d.hasBody() ? JSON.parse(Eu(d.body)) : {}, p = (typeof h.result == "string" ? h.result : "").toLowerCase().indexOf("rate limit") >= 0;
53061
+ l.setThrottleParams({ slotInterval: 1e3 }), l.retryFunc = (f, d, h) => (this.isCommunityResource() && $u("Etherscan"), Promise.resolve(!0)), l.processFunc = async (f, d) => {
53062
+ const h = d.hasBody() ? JSON.parse(ku(d.body)) : {}, p = (typeof h.result == "string" ? h.result : "").toLowerCase().indexOf("rate limit") >= 0;
53066
53063
  return t === "proxy" ? h && h.status == 0 && h.message == "NOTOK" && p && (this.emit("debug", { action: "receiveError", id: i, reason: "proxy-NOTOK", error: h }), d.throwThrottleError(h.result, aS)) : p && (this.emit("debug", { action: "receiveError", id: i, reason: "null result", error: h.result }), d.throwThrottleError(h.result, aS)), d;
53067
53064
  }, a && (l.setHeader("content-type", "application/x-www-form-urlencoded; charset=UTF-8"), l.body = Object.keys(a).map((f) => `${f}=${a[f]}`).join("&"));
53068
53065
  const c = await l.send();
@@ -53072,7 +53069,7 @@ class Zq extends Xg {
53072
53069
  this.emit("debug", { action: "receiveError", id: i, error: f, reason: "assertOk" }), Z(!1, "response error", "SERVER_ERROR", { request: l, response: c });
53073
53070
  }
53074
53071
  c.hasBody() || (this.emit("debug", { action: "receiveError", id: i, error: "missing body", reason: "null body" }), Z(!1, "missing response", "SERVER_ERROR", { request: l, response: c }));
53075
- const u = JSON.parse(Eu(c.body));
53072
+ const u = JSON.parse(ku(c.body));
53076
53073
  return t === "proxy" ? (u.jsonrpc != "2.0" && (this.emit("debug", { action: "receiveError", id: i, result: u, reason: "invalid JSON-RPC" }), Z(!1, "invalid JSON-RPC response (missing jsonrpc='2.0')", "SERVER_ERROR", { request: l, response: c, info: { result: u } })), u.error && (this.emit("debug", { action: "receiveError", id: i, result: u, reason: "JSON-RPC error" }), Z(!1, "error response", "SERVER_ERROR", { request: l, response: c, info: { result: u } })), this.emit("debug", { action: "receiveRequest", id: i, result: u }), u.result) : u.status == 0 && (u.message === "No records found" || u.message === "No transactions found") ? (this.emit("debug", { action: "receiveRequest", id: i, result: u }), u.result) : ((u.status != 1 || typeof u.message == "string" && !u.message.match(/^OK/)) && (this.emit("debug", { action: "receiveError", id: i, result: u }), Z(!1, "error response", "SERVER_ERROR", { request: l, response: c, info: { result: u } })), this.emit("debug", { action: "receiveRequest", id: i, result: u }), u.result);
53077
53074
  }
53078
53075
  /**
@@ -53127,7 +53124,7 @@ class Zq extends Xg {
53127
53124
  o = r.info.result.error.data;
53128
53125
  } catch {
53129
53126
  }
53130
- const a = Mu.getBuiltinCallException(t.method, t.transaction, o);
53127
+ const a = Du.getBuiltinCallException(t.method, t.transaction, o);
53131
53128
  throw a.info = { request: t, error: r }, a;
53132
53129
  }
53133
53130
  if (i && t.method === "broadcastTransaction") {
@@ -53524,7 +53521,7 @@ class dP extends iQ {
53524
53521
  }
53525
53522
  }
53526
53523
  ja = new WeakMap(), ts = new WeakMap();
53527
- const cf = "84842078b09946638c03157f83405213";
53524
+ const uf = "84842078b09946638c03157f83405213";
53528
53525
  function oQ(n) {
53529
53526
  switch (n) {
53530
53527
  case "mainnet":
@@ -53596,7 +53593,7 @@ class aQ extends dP {
53596
53593
  });
53597
53594
  }
53598
53595
  isCommunityResource() {
53599
- return this.projectId === cf;
53596
+ return this.projectId === uf;
53600
53597
  }
53601
53598
  }
53602
53599
  class bd extends Ii {
@@ -53606,7 +53603,7 @@ class bd extends Ii {
53606
53603
  constructor(t, r, s) {
53607
53604
  t == null && (t = "mainnet");
53608
53605
  const i = en.from(t);
53609
- r == null && (r = cf), s == null && (s = null);
53606
+ r == null && (r = uf), s == null && (s = null);
53610
53607
  const o = bd.getRequest(i, r, s);
53611
53608
  super(o, i, { staticNetwork: i });
53612
53609
  /**
@@ -53630,7 +53627,7 @@ class bd extends Ii {
53630
53627
  return super._getProvider(t);
53631
53628
  }
53632
53629
  isCommunityResource() {
53633
- return this.projectId === cf;
53630
+ return this.projectId === uf;
53634
53631
  }
53635
53632
  /**
53636
53633
  * Creates a new **InfuraWebSocketProvider**.
@@ -53643,9 +53640,9 @@ class bd extends Ii {
53643
53640
  * with %%projectId%% and %%projectSecret%%.
53644
53641
  */
53645
53642
  static getRequest(t, r, s) {
53646
- r == null && (r = cf), s == null && (s = null);
53643
+ r == null && (r = uf), s == null && (s = null);
53647
53644
  const i = new $n(`https://${oQ(t.name)}/v3/${r}`);
53648
- return i.allowGzip = !0, s && i.setCredentials("", s), r === cf && (i.retryFunc = async (o, a, l) => (Vu("InfuraProvider"), !0)), i;
53645
+ return i.allowGzip = !0, s && i.setCredentials("", s), r === uf && (i.retryFunc = async (o, a, l) => ($u("InfuraProvider"), !0)), i;
53649
53646
  }
53650
53647
  }
53651
53648
  const qh = "919b412a057b5e9c9b6dce193c5a60242d6efadb";
@@ -53723,7 +53720,7 @@ class nm extends Ii {
53723
53720
  static getRequest(t, r) {
53724
53721
  r == null && (r = qh);
53725
53722
  const s = new $n(`https://${lQ(t.name)}/${r}`);
53726
- return s.allowGzip = !0, r === qh && (s.retryFunc = async (i, o, a) => (Vu("QuickNodeProvider"), !0)), s;
53723
+ return s.allowGzip = !0, r === qh && (s.retryFunc = async (i, o, a) => ($u("QuickNodeProvider"), !0)), s;
53727
53724
  }
53728
53725
  }
53729
53726
  const cQ = BigInt("1"), uQ = BigInt("2");
@@ -53771,13 +53768,13 @@ async function hQ(n, e) {
53771
53768
  })()), await n._updateNumber, n.outOfSync++, !n._lastFatalError); )
53772
53769
  ;
53773
53770
  }
53774
- function Tf(n) {
53771
+ function Nf(n) {
53775
53772
  if (n == null)
53776
53773
  return "null";
53777
53774
  if (Array.isArray(n))
53778
- return "[" + n.map(Tf).join(",") + "]";
53775
+ return "[" + n.map(Nf).join(",") + "]";
53779
53776
  if (typeof n == "object" && typeof n.toJSON == "function")
53780
- return Tf(n.toJSON());
53777
+ return Nf(n.toJSON());
53781
53778
  switch (typeof n) {
53782
53779
  case "boolean":
53783
53780
  case "symbol":
@@ -53789,7 +53786,7 @@ function Tf(n) {
53789
53786
  return JSON.stringify(n);
53790
53787
  case "object": {
53791
53788
  const e = Object.keys(n);
53792
- return e.sort(), "{" + e.map((t) => `${JSON.stringify(t)}:${Tf(n[t])}`).join(",") + "}";
53789
+ return e.sort(), "{" + e.map((t) => `${JSON.stringify(t)}:${Nf(n[t])}`).join(",") + "}";
53793
53790
  }
53794
53791
  }
53795
53792
  throw console.log("Could not serialize", n), new Error("Hmm...");
@@ -53797,10 +53794,10 @@ function Tf(n) {
53797
53794
  function L0(n) {
53798
53795
  if ("error" in n) {
53799
53796
  const t = n.error;
53800
- return { tag: Tf(t), value: t };
53797
+ return { tag: Nf(t), value: t };
53801
53798
  }
53802
53799
  const e = n.result;
53803
- return { tag: Tf(e), value: e };
53800
+ return { tag: Nf(e), value: e };
53804
53801
  }
53805
53802
  function Ep(n, e) {
53806
53803
  const t = /* @__PURE__ */ new Map();
@@ -54269,7 +54266,9 @@ const wQ = async (n, e) => {
54269
54266
  }, []), dt(() => {
54270
54267
  w == null || w.setEditable(!n);
54271
54268
  }, [n, w]), dt(() => {
54272
- e && w && !p.current && (w.commands.setContent(e), p.current = !0);
54269
+ e && w && !p.current && (w.commands.setContent(e), p.current = !0), setTimeout(() => {
54270
+ p.current = !1;
54271
+ });
54273
54272
  }, [e, w]);
54274
54273
  const k = async () => {
54275
54274
  if (!i) return;
@@ -54338,7 +54337,7 @@ const wQ = async (n, e) => {
54338
54337
  ),
54339
54338
  /* @__PURE__ */ C.jsxs(kN, { className: "px-5 pb-5 justify-end sm:", children: [
54340
54339
  o && /* @__PURE__ */ C.jsx(W8, { asChild: !0, children: /* @__PURE__ */ C.jsx(
54341
- Vf,
54340
+ pu,
54342
54341
  {
54343
54342
  disabled: o == null ? void 0 : o.isLoading,
54344
54343
  isLoading: o == null ? void 0 : o.isLoading,
@@ -54349,7 +54348,7 @@ const wQ = async (n, e) => {
54349
54348
  }
54350
54349
  ) }),
54351
54350
  i && /* @__PURE__ */ C.jsx(
54352
- Vf,
54351
+ pu,
54353
54352
  {
54354
54353
  disabled: i == null ? void 0 : i.isLoading,
54355
54354
  isLoading: i == null ? void 0 : i.isLoading,
@@ -54531,7 +54530,7 @@ const wQ = async (n, e) => {
54531
54530
  "div",
54532
54531
  {
54533
54532
  onClick: p,
54534
- className: "mt-8 lg:mt-[5rem] w-full flex justify-center relative",
54533
+ className: "mt-8 lg:mt-[5rem] w-screen flex justify-center relative",
54535
54534
  children: /* @__PURE__ */ C.jsx("div", { className: "px-4 pt-12 sm:p-[88px] h-screen bg-white overflow-scroll no-scrollbar w-full sm:w-[70%] max-w-[856px]", children: /* @__PURE__ */ C.jsxs(
54536
54535
  "div",
54537
54536
  {