@fileverse-dev/ddoc 3.0.60-patch-2 → 3.0.60-patch-3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +670 -679
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -3847,7 +3847,7 @@ class hf {
|
|
|
3847
3847
|
}
|
|
3848
3848
|
}
|
|
3849
3849
|
const K3 = /* @__PURE__ */ Object.create(null);
|
|
3850
|
-
class
|
|
3850
|
+
class ho {
|
|
3851
3851
|
/**
|
|
3852
3852
|
Get the step map that represents the changes made by this step,
|
|
3853
3853
|
and which can be used to transform between positions in the old
|
|
@@ -3930,7 +3930,7 @@ function ID(e, t, n) {
|
|
|
3930
3930
|
}
|
|
3931
3931
|
return Oe.fromArray(r);
|
|
3932
3932
|
}
|
|
3933
|
-
class uu extends
|
|
3933
|
+
class uu extends ho {
|
|
3934
3934
|
/**
|
|
3935
3935
|
Create a mark step.
|
|
3936
3936
|
*/
|
|
@@ -3968,8 +3968,8 @@ class uu extends fo {
|
|
|
3968
3968
|
return new uu(n.from, n.to, t.markFromJSON(n.mark));
|
|
3969
3969
|
}
|
|
3970
3970
|
}
|
|
3971
|
-
|
|
3972
|
-
class hs extends
|
|
3971
|
+
ho.jsonID("addMark", uu);
|
|
3972
|
+
class hs extends ho {
|
|
3973
3973
|
/**
|
|
3974
3974
|
Create a mark-removing step.
|
|
3975
3975
|
*/
|
|
@@ -4007,8 +4007,8 @@ class hs extends fo {
|
|
|
4007
4007
|
return new hs(n.from, n.to, t.markFromJSON(n.mark));
|
|
4008
4008
|
}
|
|
4009
4009
|
}
|
|
4010
|
-
|
|
4011
|
-
class cu extends
|
|
4010
|
+
ho.jsonID("removeMark", hs);
|
|
4011
|
+
class cu extends ho {
|
|
4012
4012
|
/**
|
|
4013
4013
|
Create a node mark step.
|
|
4014
4014
|
*/
|
|
@@ -4051,8 +4051,8 @@ class cu extends fo {
|
|
|
4051
4051
|
return new cu(n.pos, t.markFromJSON(n.mark));
|
|
4052
4052
|
}
|
|
4053
4053
|
}
|
|
4054
|
-
|
|
4055
|
-
class Yc extends
|
|
4054
|
+
ho.jsonID("addNodeMark", cu);
|
|
4055
|
+
class Yc extends ho {
|
|
4056
4056
|
/**
|
|
4057
4057
|
Create a mark-removing step.
|
|
4058
4058
|
*/
|
|
@@ -4086,8 +4086,8 @@ class Yc extends fo {
|
|
|
4086
4086
|
return new Yc(n.pos, t.markFromJSON(n.mark));
|
|
4087
4087
|
}
|
|
4088
4088
|
}
|
|
4089
|
-
|
|
4090
|
-
class jr extends
|
|
4089
|
+
ho.jsonID("removeNodeMark", Yc);
|
|
4090
|
+
class jr extends ho {
|
|
4091
4091
|
/**
|
|
4092
4092
|
The given `slice` should fit the 'gap' between `from` and
|
|
4093
4093
|
`to`—the depths must line up, and the surrounding nodes must be
|
|
@@ -4138,8 +4138,8 @@ class jr extends fo {
|
|
|
4138
4138
|
return new jr(n.from, n.to, Ze.fromJSON(t, n.slice), !!n.structure);
|
|
4139
4139
|
}
|
|
4140
4140
|
}
|
|
4141
|
-
|
|
4142
|
-
class Or extends
|
|
4141
|
+
ho.jsonID("replace", jr);
|
|
4142
|
+
class Or extends ho {
|
|
4143
4143
|
/**
|
|
4144
4144
|
Create a replace-around step with the given range and gap.
|
|
4145
4145
|
`insert` should be the point in the slice into which the content
|
|
@@ -4196,7 +4196,7 @@ class Or extends fo {
|
|
|
4196
4196
|
return new Or(n.from, n.to, n.gapFrom, n.gapTo, Ze.fromJSON(t, n.slice), n.insert, !!n.structure);
|
|
4197
4197
|
}
|
|
4198
4198
|
}
|
|
4199
|
-
|
|
4199
|
+
ho.jsonID("replaceAround", Or);
|
|
4200
4200
|
function q6(e, t, n) {
|
|
4201
4201
|
let r = e.resolve(t), o = n - t, i = r.depth;
|
|
4202
4202
|
for (; o > 0 && i > 0 && r.indexAfter(i) == r.node(i).childCount; )
|
|
@@ -4783,7 +4783,7 @@ function xR(e, t) {
|
|
|
4783
4783
|
}
|
|
4784
4784
|
return n;
|
|
4785
4785
|
}
|
|
4786
|
-
class hp extends
|
|
4786
|
+
class hp extends ho {
|
|
4787
4787
|
/**
|
|
4788
4788
|
Construct an attribute step.
|
|
4789
4789
|
*/
|
|
@@ -4820,8 +4820,8 @@ class hp extends fo {
|
|
|
4820
4820
|
return new hp(n.pos, n.attr, n.value);
|
|
4821
4821
|
}
|
|
4822
4822
|
}
|
|
4823
|
-
|
|
4824
|
-
class ff extends
|
|
4823
|
+
ho.jsonID("attr", hp);
|
|
4824
|
+
class ff extends ho {
|
|
4825
4825
|
/**
|
|
4826
4826
|
Construct an attribute step.
|
|
4827
4827
|
*/
|
|
@@ -4854,7 +4854,7 @@ class ff extends fo {
|
|
|
4854
4854
|
return new ff(n.attr, n.value);
|
|
4855
4855
|
}
|
|
4856
4856
|
}
|
|
4857
|
-
|
|
4857
|
+
ho.jsonID("docAttr", ff);
|
|
4858
4858
|
let Sp = class extends Error {
|
|
4859
4859
|
};
|
|
4860
4860
|
Sp = function e(t) {
|
|
@@ -6360,7 +6360,7 @@ function fC(e, t, n, r, o) {
|
|
|
6360
6360
|
for (var i; ; ) {
|
|
6361
6361
|
if (e == n && t == r)
|
|
6362
6362
|
return !0;
|
|
6363
|
-
if (t == (o < 0 ? 0 :
|
|
6363
|
+
if (t == (o < 0 ? 0 : Ui(e))) {
|
|
6364
6364
|
let s = e.parentNode;
|
|
6365
6365
|
if (!s || s.nodeType != 1 || D1(e) || gee.test(e.nodeName) || e.contentEditable == "false")
|
|
6366
6366
|
return !1;
|
|
@@ -6373,12 +6373,12 @@ function fC(e, t, n, r, o) {
|
|
|
6373
6373
|
else
|
|
6374
6374
|
return !1;
|
|
6375
6375
|
else
|
|
6376
|
-
e = s, t = o < 0 ?
|
|
6376
|
+
e = s, t = o < 0 ? Ui(e) : 0;
|
|
6377
6377
|
} else
|
|
6378
6378
|
return !1;
|
|
6379
6379
|
}
|
|
6380
6380
|
}
|
|
6381
|
-
function
|
|
6381
|
+
function Ui(e) {
|
|
6382
6382
|
return e.nodeType == 3 ? e.nodeValue.length : e.childNodes.length;
|
|
6383
6383
|
}
|
|
6384
6384
|
function mee(e, t) {
|
|
@@ -6388,7 +6388,7 @@ function mee(e, t) {
|
|
|
6388
6388
|
if (e.nodeType == 1 && t > 0) {
|
|
6389
6389
|
if (e.contentEditable == "false")
|
|
6390
6390
|
return null;
|
|
6391
|
-
e = e.childNodes[t - 1], t =
|
|
6391
|
+
e = e.childNodes[t - 1], t = Ui(e);
|
|
6392
6392
|
} else if (e.parentNode && !D1(e))
|
|
6393
6393
|
t = qr(e), e = e.parentNode;
|
|
6394
6394
|
else
|
|
@@ -6410,13 +6410,13 @@ function bee(e, t) {
|
|
|
6410
6410
|
}
|
|
6411
6411
|
}
|
|
6412
6412
|
function yee(e, t, n) {
|
|
6413
|
-
for (let r = t == 0, o = t ==
|
|
6413
|
+
for (let r = t == 0, o = t == Ui(e); r || o; ) {
|
|
6414
6414
|
if (e == n)
|
|
6415
6415
|
return !0;
|
|
6416
6416
|
let i = qr(e);
|
|
6417
6417
|
if (e = e.parentNode, !e)
|
|
6418
6418
|
return !1;
|
|
6419
|
-
r = r && i == 0, o = o && i ==
|
|
6419
|
+
r = r && i == 0, o = o && i == Ui(e);
|
|
6420
6420
|
}
|
|
6421
6421
|
}
|
|
6422
6422
|
function D1(e) {
|
|
@@ -6443,18 +6443,18 @@ function vee(e, t, n) {
|
|
|
6443
6443
|
try {
|
|
6444
6444
|
let r = e.caretPositionFromPoint(t, n);
|
|
6445
6445
|
if (r)
|
|
6446
|
-
return { node: r.offsetNode, offset: Math.min(
|
|
6446
|
+
return { node: r.offsetNode, offset: Math.min(Ui(r.offsetNode), r.offset) };
|
|
6447
6447
|
} catch {
|
|
6448
6448
|
}
|
|
6449
6449
|
if (e.caretRangeFromPoint) {
|
|
6450
6450
|
let r = e.caretRangeFromPoint(t, n);
|
|
6451
6451
|
if (r)
|
|
6452
|
-
return { node: r.startContainer, offset: Math.min(
|
|
6452
|
+
return { node: r.startContainer, offset: Math.min(Ui(r.startContainer), r.startOffset) };
|
|
6453
6453
|
}
|
|
6454
6454
|
}
|
|
6455
6455
|
const da = typeof navigator < "u" ? navigator : null, gC = typeof document < "u" ? document : null, Gu = da && da.userAgent || "", G6 = /Edge\/(\d+)/.exec(Gu), MR = /MSIE \d/.exec(Gu), K6 = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Gu), Jo = !!(MR || K6 || G6), xu = MR ? document.documentMode : K6 ? +K6[1] : G6 ? +G6[1] : 0, Vi = !Jo && /gecko\/(\d+)/i.test(Gu);
|
|
6456
6456
|
Vi && +(/Firefox\/(\d+)/.exec(Gu) || [0, 0])[1];
|
|
6457
|
-
const Y6 = !Jo && /Chrome\/(\d+)/.exec(Gu),
|
|
6457
|
+
const Y6 = !Jo && /Chrome\/(\d+)/.exec(Gu), io = !!Y6, OR = Y6 ? +Y6[1] : 0, So = !Jo && !!da && /Apple Computer/.test(da.vendor), Bp = So && (/Mobile\/\w+/.test(Gu) || !!da && da.maxTouchPoints > 2), Ri = Bp || (da ? /Mac/.test(da.platform) : !1), Fee = da ? /Win/.test(da.platform) : !1, Za = /Android \d/.test(Gu), k1 = !!gC && "webkitFontSmoothing" in gC.documentElement.style, wee = k1 ? +(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent) || [0, 0])[1] : 0;
|
|
6458
6458
|
function Dee(e) {
|
|
6459
6459
|
let t = e.defaultView && e.defaultView.visualViewport;
|
|
6460
6460
|
return t ? {
|
|
@@ -6687,24 +6687,24 @@ function PR(e, t, n) {
|
|
|
6687
6687
|
return n < 0 && !o ? (u++, c = -1) : n >= 0 && o == r.nodeValue.length ? (l--, c = 1) : n < 0 ? l-- : u++, zh(Yl(Va(r, l, u), c), c < 0);
|
|
6688
6688
|
}
|
|
6689
6689
|
if (!e.state.doc.resolve(t - (i || 0)).parent.inlineContent) {
|
|
6690
|
-
if (i == null && o && (n < 0 || o ==
|
|
6690
|
+
if (i == null && o && (n < 0 || o == Ui(r))) {
|
|
6691
6691
|
let l = r.childNodes[o - 1];
|
|
6692
6692
|
if (l.nodeType == 1)
|
|
6693
6693
|
return ev(l.getBoundingClientRect(), !1);
|
|
6694
6694
|
}
|
|
6695
|
-
if (i == null && o <
|
|
6695
|
+
if (i == null && o < Ui(r)) {
|
|
6696
6696
|
let l = r.childNodes[o];
|
|
6697
6697
|
if (l.nodeType == 1)
|
|
6698
6698
|
return ev(l.getBoundingClientRect(), !0);
|
|
6699
6699
|
}
|
|
6700
6700
|
return ev(r.getBoundingClientRect(), n >= 0);
|
|
6701
6701
|
}
|
|
6702
|
-
if (i == null && o && (n < 0 || o ==
|
|
6703
|
-
let l = r.childNodes[o - 1], u = l.nodeType == 3 ? Va(l,
|
|
6702
|
+
if (i == null && o && (n < 0 || o == Ui(r))) {
|
|
6703
|
+
let l = r.childNodes[o - 1], u = l.nodeType == 3 ? Va(l, Ui(l) - (s ? 0 : 1)) : l.nodeType == 1 && (l.nodeName != "BR" || !l.nextSibling) ? l : null;
|
|
6704
6704
|
if (u)
|
|
6705
6705
|
return zh(Yl(u, 1), !1);
|
|
6706
6706
|
}
|
|
6707
|
-
if (i == null && o <
|
|
6707
|
+
if (i == null && o < Ui(r)) {
|
|
6708
6708
|
let l = r.childNodes[o];
|
|
6709
6709
|
for (; l.pmViewDesc && l.pmViewDesc.ignoreForCoords; )
|
|
6710
6710
|
l = l.nextSibling;
|
|
@@ -7676,7 +7676,7 @@ class zee {
|
|
|
7676
7676
|
for (; t instanceof Zc; )
|
|
7677
7677
|
n = t, t = n.children[n.children.length - 1];
|
|
7678
7678
|
(!t || // Empty textblock
|
|
7679
|
-
!(t instanceof jy) || /\n$/.test(t.node.text) || this.view.requiresGeckoHackNode && /\s$/.test(t.node.text)) && ((So ||
|
|
7679
|
+
!(t instanceof jy) || /\n$/.test(t.node.text) || this.view.requiresGeckoHackNode && /\s$/.test(t.node.text)) && ((So || io) && t && t.dom.contentEditable == "false" && this.addHackNode("IMG", n), this.addHackNode("BR", this.top));
|
|
7680
7680
|
}
|
|
7681
7681
|
addHackNode(t, n) {
|
|
7682
7682
|
if (n == this.top && this.index < n.children.length && n.children[this.index].matchesHack(t))
|
|
@@ -7852,7 +7852,7 @@ function GR(e) {
|
|
|
7852
7852
|
function rl(e, t = !1) {
|
|
7853
7853
|
let n = e.state.selection;
|
|
7854
7854
|
if (KR(e, n), !!GR(e)) {
|
|
7855
|
-
if (!t && e.input.mouseDown && e.input.mouseDown.allowDefault &&
|
|
7855
|
+
if (!t && e.input.mouseDown && e.input.mouseDown.allowDefault && io) {
|
|
7856
7856
|
let r = e.domSelectionRange(), o = e.domObserver.currentSelection;
|
|
7857
7857
|
if (r.anchorNode && o.anchorNode && Xc(r.anchorNode, r.anchorOffset, o.anchorNode, o.anchorOffset)) {
|
|
7858
7858
|
e.input.mouseDown.delayedSelectionSync = !0, e.domObserver.setCurSelection();
|
|
@@ -7868,7 +7868,7 @@ function rl(e, t = !1) {
|
|
|
7868
7868
|
e.domObserver.setCurSelection(), e.domObserver.connectSelection();
|
|
7869
7869
|
}
|
|
7870
7870
|
}
|
|
7871
|
-
const kC = So ||
|
|
7871
|
+
const kC = So || io && OR < 63;
|
|
7872
7872
|
function EC(e, t) {
|
|
7873
7873
|
let { node: n, offset: r } = e.docView.domFromPos(t, 0), o = r < n.childNodes.length ? n.childNodes[r] : null, i = r ? n.childNodes[r - 1] : null;
|
|
7874
7874
|
if (So && o && o.contentEditable == "false")
|
|
@@ -7953,7 +7953,7 @@ function SC(e, t, n) {
|
|
|
7953
7953
|
if (e.endOfTextblock(t > 0 ? "forward" : "backward")) {
|
|
7954
7954
|
let o = J6(e.state, t);
|
|
7955
7955
|
return o && o instanceof pt ? Zl(e, o) : !1;
|
|
7956
|
-
} else if (!(
|
|
7956
|
+
} else if (!(Ri && n.indexOf("m") > -1)) {
|
|
7957
7957
|
let o = r.$head, i = o.textOffset ? null : t < 0 ? o.nodeBefore : o.nodeAfter, s;
|
|
7958
7958
|
if (!i || i.isText)
|
|
7959
7959
|
return !1;
|
|
@@ -8096,7 +8096,7 @@ function Q6(e, t, n) {
|
|
|
8096
8096
|
}
|
|
8097
8097
|
function TC(e, t) {
|
|
8098
8098
|
let n = e.state.doc.resolve(t);
|
|
8099
|
-
if (!(
|
|
8099
|
+
if (!(io || Fee) && n.parent.inlineContent) {
|
|
8100
8100
|
let o = e.coordsAtPos(t);
|
|
8101
8101
|
if (t > n.start()) {
|
|
8102
8102
|
let i = e.coordsAtPos(t - 1), s = (i.top + i.bottom) / 2;
|
|
@@ -8113,7 +8113,7 @@ function TC(e, t) {
|
|
|
8113
8113
|
}
|
|
8114
8114
|
function jC(e, t, n) {
|
|
8115
8115
|
let r = e.state.selection;
|
|
8116
|
-
if (r instanceof dt && !r.empty || n.indexOf("s") > -1 ||
|
|
8116
|
+
if (r instanceof dt && !r.empty || n.indexOf("s") > -1 || Ri && n.indexOf("m") > -1)
|
|
8117
8117
|
return !1;
|
|
8118
8118
|
let { $from: o, $to: i } = r;
|
|
8119
8119
|
if (!o.parent.inlineContent || e.endOfTextblock(t < 0 ? "up" : "down")) {
|
|
@@ -8163,24 +8163,24 @@ function tte(e) {
|
|
|
8163
8163
|
}
|
|
8164
8164
|
function nte(e, t) {
|
|
8165
8165
|
let n = t.keyCode, r = tte(t);
|
|
8166
|
-
if (n == 8 ||
|
|
8166
|
+
if (n == 8 || Ri && n == 72 && r == "c")
|
|
8167
8167
|
return BC(e, -1) || Td(e, -1);
|
|
8168
|
-
if (n == 46 && !t.shiftKey ||
|
|
8168
|
+
if (n == 46 && !t.shiftKey || Ri && n == 68 && r == "c")
|
|
8169
8169
|
return BC(e, 1) || Td(e, 1);
|
|
8170
8170
|
if (n == 13 || n == 27)
|
|
8171
8171
|
return !0;
|
|
8172
|
-
if (n == 37 ||
|
|
8172
|
+
if (n == 37 || Ri && n == 66 && r == "c") {
|
|
8173
8173
|
let o = n == 37 ? TC(e, e.state.selection.from) == "ltr" ? -1 : 1 : -1;
|
|
8174
8174
|
return SC(e, o, r) || Td(e, o);
|
|
8175
|
-
} else if (n == 39 ||
|
|
8175
|
+
} else if (n == 39 || Ri && n == 70 && r == "c") {
|
|
8176
8176
|
let o = n == 39 ? TC(e, e.state.selection.from) == "ltr" ? 1 : -1 : 1;
|
|
8177
8177
|
return SC(e, o, r) || Td(e, o);
|
|
8178
8178
|
} else {
|
|
8179
|
-
if (n == 38 ||
|
|
8179
|
+
if (n == 38 || Ri && n == 80 && r == "c")
|
|
8180
8180
|
return jC(e, -1, r) || Td(e, -1);
|
|
8181
|
-
if (n == 40 ||
|
|
8181
|
+
if (n == 40 || Ri && n == 78 && r == "c")
|
|
8182
8182
|
return ete(e) || jC(e, 1, r) || Td(e, 1);
|
|
8183
|
-
if (r == (
|
|
8183
|
+
if (r == (Ri ? "m" : "c") && (n == 66 || n == 73 || n == 89 || n == 90))
|
|
8184
8184
|
return !0;
|
|
8185
8185
|
}
|
|
8186
8186
|
return !1;
|
|
@@ -8351,7 +8351,7 @@ function ste(e) {
|
|
|
8351
8351
|
return n;
|
|
8352
8352
|
}
|
|
8353
8353
|
function ate(e) {
|
|
8354
|
-
let t = e.querySelectorAll(
|
|
8354
|
+
let t = e.querySelectorAll(io ? "span:not([class]):not([style])" : "span.Apple-converted-space");
|
|
8355
8355
|
for (let n = 0; n < t.length; n++) {
|
|
8356
8356
|
let r = t[n];
|
|
8357
8357
|
r.childNodes.length == 1 && r.textContent == " " && r.parentNode && r.parentNode.replaceChild(e.ownerDocument.createTextNode(" "), r);
|
|
@@ -8426,7 +8426,7 @@ function fte(e, t) {
|
|
|
8426
8426
|
}
|
|
8427
8427
|
jo.keydown = (e, t) => {
|
|
8428
8428
|
let n = t;
|
|
8429
|
-
if (e.input.shiftKey = n.keyCode == 16 || n.shiftKey, !oI(e, n) && (e.input.lastKeyCode = n.keyCode, e.input.lastKeyCodeTime = Date.now(), !(Za &&
|
|
8429
|
+
if (e.input.shiftKey = n.keyCode == 16 || n.shiftKey, !oI(e, n) && (e.input.lastKeyCode = n.keyCode, e.input.lastKeyCodeTime = Date.now(), !(Za && io && n.keyCode == 13)))
|
|
8430
8430
|
if (n.keyCode != 229 && e.domObserver.forceFlush(), Bp && n.keyCode == 13 && !n.ctrlKey && !n.altKey && !n.metaKey) {
|
|
8431
8431
|
let r = Date.now();
|
|
8432
8432
|
e.input.lastIOSEnter = r, e.input.lastIOSEnterFallbackTimeout = setTimeout(() => {
|
|
@@ -8439,7 +8439,7 @@ jo.keyup = (e, t) => {
|
|
|
8439
8439
|
};
|
|
8440
8440
|
jo.keypress = (e, t) => {
|
|
8441
8441
|
let n = t;
|
|
8442
|
-
if (oI(e, n) || !n.charCode || n.ctrlKey && !n.altKey ||
|
|
8442
|
+
if (oI(e, n) || !n.charCode || n.ctrlKey && !n.altKey || Ri && n.metaKey)
|
|
8443
8443
|
return;
|
|
8444
8444
|
if (e.someProp("handleKeyPress", (o) => o(e, n))) {
|
|
8445
8445
|
n.preventDefault();
|
|
@@ -8524,7 +8524,7 @@ function Fte(e, t, n) {
|
|
|
8524
8524
|
function ek(e) {
|
|
8525
8525
|
return _2(e);
|
|
8526
8526
|
}
|
|
8527
|
-
const rI =
|
|
8527
|
+
const rI = Ri ? "metaKey" : "ctrlKey";
|
|
8528
8528
|
To.mousedown = (e, t) => {
|
|
8529
8529
|
let n = t;
|
|
8530
8530
|
e.input.shiftKey = n.shiftKey;
|
|
@@ -8570,7 +8570,7 @@ class wte {
|
|
|
8570
8570
|
// (hidden) cursor is doesn't change the selection, and
|
|
8571
8571
|
// thus doesn't get a reaction from ProseMirror. This
|
|
8572
8572
|
// works around that.
|
|
8573
|
-
|
|
8573
|
+
io && !this.view.state.selection.visible && Math.min(Math.abs(n.pos - this.view.state.selection.from), Math.abs(n.pos - this.view.state.selection.to)) <= 2) ? (fp(this.view, vt.near(this.view.state.doc.resolve(n.pos))), t.preventDefault()) : du(this.view, "pointer");
|
|
8574
8574
|
}
|
|
8575
8575
|
move(t) {
|
|
8576
8576
|
this.updateAllowDefault(t), du(this.view, "pointer"), t.buttons == 0 && this.done();
|
|
@@ -8715,7 +8715,7 @@ class lI {
|
|
|
8715
8715
|
this.slice = t, this.move = n, this.node = r;
|
|
8716
8716
|
}
|
|
8717
8717
|
}
|
|
8718
|
-
const Ste =
|
|
8718
|
+
const Ste = Ri ? "altKey" : "ctrlKey";
|
|
8719
8719
|
function uI(e, t) {
|
|
8720
8720
|
let n = e.someProp("dragCopies", (r) => !r(t));
|
|
8721
8721
|
return n ?? !t[Ste];
|
|
@@ -8734,7 +8734,7 @@ To.dragstart = (e, t) => {
|
|
|
8734
8734
|
}
|
|
8735
8735
|
}
|
|
8736
8736
|
let a = (s || e.state.selection).content(), { dom: l, text: u, slice: c } = ZD(e, a);
|
|
8737
|
-
(!n.dataTransfer.files.length || !
|
|
8737
|
+
(!n.dataTransfer.files.length || !io || OR > 120) && n.dataTransfer.clearData(), n.dataTransfer.setData(gf ? "Text" : "text/html", l.innerHTML), n.dataTransfer.effectAllowed = "copyMove", gf || n.dataTransfer.setData("text/plain", u), e.dragging = new lI(c, uI(e, n), s);
|
|
8738
8738
|
};
|
|
8739
8739
|
To.dragend = (e) => {
|
|
8740
8740
|
let t = e.dragging;
|
|
@@ -8791,7 +8791,7 @@ To.blur = (e, t) => {
|
|
|
8791
8791
|
e.focused && (e.domObserver.stop(), e.dom.classList.remove("ProseMirror-focused"), e.domObserver.start(), n.relatedTarget && e.dom.contains(n.relatedTarget) && e.domObserver.currentSelection.clear(), e.focused = !1);
|
|
8792
8792
|
};
|
|
8793
8793
|
To.beforeinput = (e, t) => {
|
|
8794
|
-
if (
|
|
8794
|
+
if (io && Za && t.inputType == "deleteContentBackward") {
|
|
8795
8795
|
e.domObserver.flushSoon();
|
|
8796
8796
|
let { domChangeCount: r } = e.input;
|
|
8797
8797
|
setTimeout(() => {
|
|
@@ -8959,7 +8959,7 @@ class Kt {
|
|
|
8959
8959
|
you must make a copy if you want need to preserve that.
|
|
8960
8960
|
*/
|
|
8961
8961
|
static create(t, n) {
|
|
8962
|
-
return n.length ? S2(n, t, 0, Lc) :
|
|
8962
|
+
return n.length ? S2(n, t, 0, Lc) : no;
|
|
8963
8963
|
}
|
|
8964
8964
|
/**
|
|
8965
8965
|
Find all decorations in this set which touch the given range
|
|
@@ -8989,7 +8989,7 @@ class Kt {
|
|
|
8989
8989
|
document.
|
|
8990
8990
|
*/
|
|
8991
8991
|
map(t, n, r) {
|
|
8992
|
-
return this ==
|
|
8992
|
+
return this == no || t.maps.length == 0 ? this : this.mapInner(t, n, 0, 0, r || Lc);
|
|
8993
8993
|
}
|
|
8994
8994
|
/**
|
|
8995
8995
|
@internal
|
|
@@ -9000,7 +9000,7 @@ class Kt {
|
|
|
9000
9000
|
let l = this.local[a].map(t, r, o);
|
|
9001
9001
|
l && l.type.valid(n, l) ? (s || (s = [])).push(l) : i.onRemove && i.onRemove(this.local[a].spec);
|
|
9002
9002
|
}
|
|
9003
|
-
return this.children.length ? jte(this.children, s || [], t, n, r, o, i) : s ? new Kt(s.sort(Uc), Zd) :
|
|
9003
|
+
return this.children.length ? jte(this.children, s || [], t, n, r, o, i) : s ? new Kt(s.sort(Uc), Zd) : no;
|
|
9004
9004
|
}
|
|
9005
9005
|
/**
|
|
9006
9006
|
Add the given array of decorations to the ones in the set,
|
|
@@ -9009,7 +9009,7 @@ class Kt {
|
|
|
9009
9009
|
structure.
|
|
9010
9010
|
*/
|
|
9011
9011
|
add(t, n) {
|
|
9012
|
-
return n.length ? this ==
|
|
9012
|
+
return n.length ? this == no ? Kt.create(t, n) : this.addInner(t, n, 0) : this;
|
|
9013
9013
|
}
|
|
9014
9014
|
addInner(t, n, r) {
|
|
9015
9015
|
let o, i = 0;
|
|
@@ -9031,7 +9031,7 @@ class Kt {
|
|
|
9031
9031
|
the ones in the given array.
|
|
9032
9032
|
*/
|
|
9033
9033
|
remove(t) {
|
|
9034
|
-
return t.length == 0 || this ==
|
|
9034
|
+
return t.length == 0 || this == no ? this : this.removeInner(t, 0);
|
|
9035
9035
|
}
|
|
9036
9036
|
removeInner(t, n) {
|
|
9037
9037
|
let r = this.children, o = this.local;
|
|
@@ -9043,7 +9043,7 @@ class Kt {
|
|
|
9043
9043
|
continue;
|
|
9044
9044
|
r == this.children && (r = this.children.slice());
|
|
9045
9045
|
let u = r[i + 2].removeInner(s, a + 1);
|
|
9046
|
-
u !=
|
|
9046
|
+
u != no ? r[i + 2] = u : (r.splice(i, 3), i -= 3);
|
|
9047
9047
|
}
|
|
9048
9048
|
if (o.length) {
|
|
9049
9049
|
for (let i = 0, s; i < t.length; i++)
|
|
@@ -9051,10 +9051,10 @@ class Kt {
|
|
|
9051
9051
|
for (let a = 0; a < o.length; a++)
|
|
9052
9052
|
o[a].eq(s, n) && (o == this.local && (o = this.local.slice()), o.splice(a--, 1));
|
|
9053
9053
|
}
|
|
9054
|
-
return r == this.children && o == this.local ? this : o.length || r.length ? new Kt(o, r) :
|
|
9054
|
+
return r == this.children && o == this.local ? this : o.length || r.length ? new Kt(o, r) : no;
|
|
9055
9055
|
}
|
|
9056
9056
|
forChild(t, n) {
|
|
9057
|
-
if (this ==
|
|
9057
|
+
if (this == no)
|
|
9058
9058
|
return this;
|
|
9059
9059
|
if (n.isLeaf)
|
|
9060
9060
|
return Kt.empty;
|
|
@@ -9076,7 +9076,7 @@ class Kt {
|
|
|
9076
9076
|
let a = new Kt(o.sort(Uc), Zd);
|
|
9077
9077
|
return r ? new ru([a, r]) : a;
|
|
9078
9078
|
}
|
|
9079
|
-
return r ||
|
|
9079
|
+
return r || no;
|
|
9080
9080
|
}
|
|
9081
9081
|
/**
|
|
9082
9082
|
@internal
|
|
@@ -9104,7 +9104,7 @@ class Kt {
|
|
|
9104
9104
|
@internal
|
|
9105
9105
|
*/
|
|
9106
9106
|
localsInner(t) {
|
|
9107
|
-
if (this ==
|
|
9107
|
+
if (this == no)
|
|
9108
9108
|
return Zd;
|
|
9109
9109
|
if (t.inlineContent || !this.local.some(Fu.is))
|
|
9110
9110
|
return this.local;
|
|
@@ -9119,7 +9119,7 @@ class Kt {
|
|
|
9119
9119
|
}
|
|
9120
9120
|
Kt.empty = new Kt([], []);
|
|
9121
9121
|
Kt.removeOverlap = tk;
|
|
9122
|
-
const
|
|
9122
|
+
const no = Kt.empty;
|
|
9123
9123
|
class ru {
|
|
9124
9124
|
constructor(t) {
|
|
9125
9125
|
this.members = t;
|
|
@@ -9134,7 +9134,7 @@ class ru {
|
|
|
9134
9134
|
let r = [];
|
|
9135
9135
|
for (let o = 0; o < this.members.length; o++) {
|
|
9136
9136
|
let i = this.members[o].forChild(t, n);
|
|
9137
|
-
i !=
|
|
9137
|
+
i != no && (i instanceof ru ? r = r.concat(i.members) : r.push(i));
|
|
9138
9138
|
}
|
|
9139
9139
|
return ru.from(r);
|
|
9140
9140
|
}
|
|
@@ -9166,7 +9166,7 @@ class ru {
|
|
|
9166
9166
|
static from(t) {
|
|
9167
9167
|
switch (t.length) {
|
|
9168
9168
|
case 0:
|
|
9169
|
-
return
|
|
9169
|
+
return no;
|
|
9170
9170
|
case 1:
|
|
9171
9171
|
return t[0];
|
|
9172
9172
|
default:
|
|
@@ -9209,7 +9209,7 @@ function jte(e, t, n, r, o, i, s) {
|
|
|
9209
9209
|
let p = n.map(e[u + 1] + i, -1), h = p - o, { index: f, offset: g } = r.content.findIndex(d), m = r.maybeChild(f);
|
|
9210
9210
|
if (m && g == d && g + m.nodeSize == h) {
|
|
9211
9211
|
let b = a[u + 2].mapInner(n, m, c + 1, e[u] + i + 1, s);
|
|
9212
|
-
b !=
|
|
9212
|
+
b != no ? (a[u] = d, a[u + 1] = h, a[u + 2] = b) : (a[u + 1] = -2, l = !0);
|
|
9213
9213
|
} else
|
|
9214
9214
|
l = !0;
|
|
9215
9215
|
}
|
|
@@ -9271,13 +9271,13 @@ function S2(e, t, n, r) {
|
|
|
9271
9271
|
if (u) {
|
|
9272
9272
|
i = !0;
|
|
9273
9273
|
let c = S2(u, a, n + l + 1, r);
|
|
9274
|
-
c !=
|
|
9274
|
+
c != no && o.push(l, l + a.nodeSize, c);
|
|
9275
9275
|
}
|
|
9276
9276
|
});
|
|
9277
9277
|
let s = dI(i ? hI(e) : e, -n).sort(Uc);
|
|
9278
9278
|
for (let a = 0; a < s.length; a++)
|
|
9279
9279
|
s[a].type.valid(t, s[a]) || (r.onRemove && r.onRemove(s[a].spec), s.splice(a--, 1));
|
|
9280
|
-
return s.length || o.length ? new Kt(s, o) :
|
|
9280
|
+
return s.length || o.length ? new Kt(s, o) : no;
|
|
9281
9281
|
}
|
|
9282
9282
|
function Uc(e, t) {
|
|
9283
9283
|
return e.from - t.from || e.to - t.to;
|
|
@@ -9309,7 +9309,7 @@ function rv(e) {
|
|
|
9309
9309
|
let t = [];
|
|
9310
9310
|
return e.someProp("decorations", (n) => {
|
|
9311
9311
|
let r = n(e.state);
|
|
9312
|
-
r && r !=
|
|
9312
|
+
r && r != no && t.push(r);
|
|
9313
9313
|
}), e.cursorWrapper && t.push(Kt.create(e.state.doc, [e.cursorWrapper.deco])), ru.from(t);
|
|
9314
9314
|
}
|
|
9315
9315
|
const Nte = {
|
|
@@ -9510,7 +9510,7 @@ function Ute(e, t) {
|
|
|
9510
9510
|
}
|
|
9511
9511
|
function Pte(e, t, n) {
|
|
9512
9512
|
let { node: r, fromOffset: o, toOffset: i, from: s, to: a } = e.docView.parseRange(t, n), l = e.domSelectionRange(), u, c = l.anchorNode;
|
|
9513
|
-
if (c && e.dom.contains(c.nodeType == 1 ? c : c.parentNode) && (u = [{ node: c, offset: l.anchorOffset }], Ty(l) || u.push({ node: l.focusNode, offset: l.focusOffset })),
|
|
9513
|
+
if (c && e.dom.contains(c.nodeType == 1 ? c : c.parentNode) && (u = [{ node: c, offset: l.anchorOffset }], Ty(l) || u.push({ node: l.focusNode, offset: l.focusOffset })), io && e.input.lastKeyCode === 8)
|
|
9514
9514
|
for (let m = i; m > o; m--) {
|
|
9515
9515
|
let b = r.childNodes[m - 1], y = b.pmViewDesc;
|
|
9516
9516
|
if (b.nodeName == "BR" && !y) {
|
|
@@ -9557,7 +9557,7 @@ function Hte(e, t, n, r, o) {
|
|
|
9557
9557
|
if (e.input.compositionPendingChanges = 0, t < 0) {
|
|
9558
9558
|
let k = e.input.lastSelectionTime > Date.now() - 50 ? e.input.lastSelectionOrigin : null, C = YD(e, k);
|
|
9559
9559
|
if (C && !e.state.selection.eq(C)) {
|
|
9560
|
-
if (
|
|
9560
|
+
if (io && Za && e.input.lastKeyCode === 13 && Date.now() - 100 < e.input.lastKeyCodeTime && e.someProp("handleKeyDown", (N) => N(e, xc(13, "Enter"))))
|
|
9561
9561
|
return;
|
|
9562
9562
|
let A = e.state.tr.setSelection(C);
|
|
9563
9563
|
k == "pointer" ? A.setMeta("pointer", !0) : k == "key" && A.scrollIntoView(), i && A.setMeta("composition", i), e.dispatch(A);
|
|
@@ -9593,10 +9593,10 @@ function Hte(e, t, n, r, o) {
|
|
|
9593
9593
|
return;
|
|
9594
9594
|
}
|
|
9595
9595
|
if (e.state.selection.anchor > f.start && qte(c, f.start, f.endA, g, m) && e.someProp("handleKeyDown", (k) => k(e, xc(8, "Backspace")))) {
|
|
9596
|
-
Za &&
|
|
9596
|
+
Za && io && e.domObserver.suppressSelectionUpdates();
|
|
9597
9597
|
return;
|
|
9598
9598
|
}
|
|
9599
|
-
|
|
9599
|
+
io && f.endB == f.start && (e.input.lastChromeDelete = Date.now()), Za && !y && g.start() != m.start() && m.parentOffset == 0 && g.depth == m.depth && u.sel && u.sel.anchor == u.sel.head && u.sel.head == f.endA && (f.endB -= 2, m = u.doc.resolveNoCache(f.endB - u.from), setTimeout(() => {
|
|
9600
9600
|
e.someProp("handleKeyDown", function(k) {
|
|
9601
9601
|
return k(e, xc(13, "Enter"));
|
|
9602
9602
|
});
|
|
@@ -9605,7 +9605,7 @@ function Hte(e, t, n, r, o) {
|
|
|
9605
9605
|
let C = k || e.state.tr.replace(x, v, u.doc.slice(f.start - u.from, f.endB - u.from));
|
|
9606
9606
|
if (u.sel) {
|
|
9607
9607
|
let A = PC(e, C.doc, u.sel);
|
|
9608
|
-
A && !(
|
|
9608
|
+
A && !(io && e.composing && A.empty && (f.start != f.endB || e.input.lastChromeDelete < Date.now() - 100) && (A.head == x || A.head == C.mapping.map(v) - 1) || Jo && A.empty && A.head == x) && C.setSelection(A);
|
|
9609
9609
|
}
|
|
9610
9610
|
return i && C.setMeta("composition", i), C.scrollIntoView();
|
|
9611
9611
|
}, w;
|
|
@@ -9778,9 +9778,9 @@ class fI {
|
|
|
9778
9778
|
let p = c == "preserve" && s && this.dom.style.overflowAnchor == null && Eee(this);
|
|
9779
9779
|
if (s) {
|
|
9780
9780
|
this.domObserver.stop();
|
|
9781
|
-
let h = d && (Jo ||
|
|
9781
|
+
let h = d && (Jo || io) && !this.composing && !o.selection.empty && !t.selection.empty && Gte(o.selection, t.selection);
|
|
9782
9782
|
if (d) {
|
|
9783
|
-
let f =
|
|
9783
|
+
let f = io ? this.trackWrites = this.domSelectionRange().focusNode : null;
|
|
9784
9784
|
this.composing && (this.input.compositionNode = kte(this)), (i || !this.docView.update(t.doc, u, l, this)) && (this.docView.updateOuterDeco(u), this.docView.destroy(), this.docView = wC(t.doc, u, l, this.dom, this)), f && !this.trackWrites && (h = !0);
|
|
9785
9785
|
}
|
|
9786
9786
|
h || !(this.input.mouseDown && this.domObserver.currentSelection.eq(this.domSelectionRange()) && Yee(this)) ? rl(this, h) : (KR(this, t.selection), this.domObserver.setCurSelection()), this.domObserver.start();
|
|
@@ -14639,7 +14639,7 @@ var hoe = class extends Yre {
|
|
|
14639
14639
|
function Ss(e, t) {
|
|
14640
14640
|
return (n) => n.editor.contentComponent ? new hoe(e, n, t) : {};
|
|
14641
14641
|
}
|
|
14642
|
-
const tL = ["top", "right", "bottom", "left"], s_ = ["start", "end"], a_ = /* @__PURE__ */ tL.reduce((e, t) => e.concat(t, t + "-" + s_[0], t + "-" + s_[1]), []), fa = Math.min,
|
|
14642
|
+
const tL = ["top", "right", "bottom", "left"], s_ = ["start", "end"], a_ = /* @__PURE__ */ tL.reduce((e, t) => e.concat(t, t + "-" + s_[0], t + "-" + s_[1]), []), fa = Math.min, Do = Math.max, N2 = Math.round, ra = (e) => ({
|
|
14643
14643
|
x: e,
|
|
14644
14644
|
y: e
|
|
14645
14645
|
}), foe = {
|
|
@@ -14652,7 +14652,7 @@ const tL = ["top", "right", "bottom", "left"], s_ = ["start", "end"], a_ = /* @_
|
|
|
14652
14652
|
end: "start"
|
|
14653
14653
|
};
|
|
14654
14654
|
function d5(e, t, n) {
|
|
14655
|
-
return
|
|
14655
|
+
return Do(e, fa(t, n));
|
|
14656
14656
|
}
|
|
14657
14657
|
function El(e, t) {
|
|
14658
14658
|
return typeof e == "function" ? e(t) : e;
|
|
@@ -15144,7 +15144,7 @@ const Aoe = function(e) {
|
|
|
15144
15144
|
};
|
|
15145
15145
|
};
|
|
15146
15146
|
function oL(e) {
|
|
15147
|
-
const t = fa(...e.map((i) => i.left)), n = fa(...e.map((i) => i.top)), r =
|
|
15147
|
+
const t = fa(...e.map((i) => i.left)), n = fa(...e.map((i) => i.top)), r = Do(...e.map((i) => i.right)), o = Do(...e.map((i) => i.bottom));
|
|
15148
15148
|
return {
|
|
15149
15149
|
x: t,
|
|
15150
15150
|
y: n,
|
|
@@ -15194,7 +15194,7 @@ const Toe = function(e) {
|
|
|
15194
15194
|
y: M
|
|
15195
15195
|
};
|
|
15196
15196
|
}
|
|
15197
|
-
const m = Zi(n) === "left", b =
|
|
15197
|
+
const m = Zi(n) === "left", b = Do(...d.map((N) => N.right)), y = fa(...d.map((N) => N.left)), x = d.filter((N) => m ? N.left === y : N.right === b), v = x[0].top, D = x[x.length - 1].bottom, w = y, k = b, C = k - w, A = D - v;
|
|
15198
15198
|
return {
|
|
15199
15199
|
top: v,
|
|
15200
15200
|
bottom: D,
|
|
@@ -15352,8 +15352,8 @@ const Noe = function(e) {
|
|
|
15352
15352
|
const y = g - c.top - c.bottom, x = f - c.left - c.right, v = fa(g - c[m], y), D = fa(f - c[b], x), w = !t.middlewareData.shift;
|
|
15353
15353
|
let k = v, C = D;
|
|
15354
15354
|
if ((n = t.middlewareData.shift) != null && n.enabled.x && (C = x), (r = t.middlewareData.shift) != null && r.enabled.y && (k = y), w && !p) {
|
|
15355
|
-
const N =
|
|
15356
|
-
h ? C = f - 2 * (N !== 0 || R !== 0 ? N + R :
|
|
15355
|
+
const N = Do(c.left, 0), R = Do(c.right, 0), _ = Do(c.top, 0), M = Do(c.bottom, 0);
|
|
15356
|
+
h ? C = f - 2 * (N !== 0 || R !== 0 ? N + R : Do(c.left, c.right)) : k = g - 2 * (_ !== 0 || M !== 0 ? _ + M : Do(c.top, c.bottom));
|
|
15357
15357
|
}
|
|
15358
15358
|
await l({
|
|
15359
15359
|
...t,
|
|
@@ -15375,7 +15375,7 @@ function qy() {
|
|
|
15375
15375
|
function hh(e) {
|
|
15376
15376
|
return iL(e) ? (e.nodeName || "").toLowerCase() : "#document";
|
|
15377
15377
|
}
|
|
15378
|
-
function
|
|
15378
|
+
function wi(e) {
|
|
15379
15379
|
var t;
|
|
15380
15380
|
return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
|
|
15381
15381
|
}
|
|
@@ -15384,16 +15384,16 @@ function Cl(e) {
|
|
|
15384
15384
|
return (t = (iL(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement;
|
|
15385
15385
|
}
|
|
15386
15386
|
function iL(e) {
|
|
15387
|
-
return qy() ? e instanceof Node || e instanceof
|
|
15387
|
+
return qy() ? e instanceof Node || e instanceof wi(e).Node : !1;
|
|
15388
15388
|
}
|
|
15389
15389
|
function Fs(e) {
|
|
15390
|
-
return qy() ? e instanceof Element || e instanceof
|
|
15390
|
+
return qy() ? e instanceof Element || e instanceof wi(e).Element : !1;
|
|
15391
15391
|
}
|
|
15392
15392
|
function ga(e) {
|
|
15393
|
-
return qy() ? e instanceof HTMLElement || e instanceof
|
|
15393
|
+
return qy() ? e instanceof HTMLElement || e instanceof wi(e).HTMLElement : !1;
|
|
15394
15394
|
}
|
|
15395
15395
|
function h_(e) {
|
|
15396
|
-
return !qy() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof
|
|
15396
|
+
return !qy() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof wi(e).ShadowRoot;
|
|
15397
15397
|
}
|
|
15398
15398
|
const Roe = /* @__PURE__ */ new Set(["inline", "contents"]);
|
|
15399
15399
|
function _1(e) {
|
|
@@ -15443,7 +15443,7 @@ function Ip(e) {
|
|
|
15443
15443
|
return Woe.has(hh(e));
|
|
15444
15444
|
}
|
|
15445
15445
|
function ws(e) {
|
|
15446
|
-
return
|
|
15446
|
+
return wi(e).getComputedStyle(e);
|
|
15447
15447
|
}
|
|
15448
15448
|
function Gy(e) {
|
|
15449
15449
|
return Fs(e) ? {
|
|
@@ -15473,7 +15473,7 @@ function sL(e) {
|
|
|
15473
15473
|
function aL(e, t, n) {
|
|
15474
15474
|
var r;
|
|
15475
15475
|
t === void 0 && (t = []);
|
|
15476
|
-
const o = sL(e), i = o === ((r = e.ownerDocument) == null ? void 0 : r.body), s =
|
|
15476
|
+
const o = sL(e), i = o === ((r = e.ownerDocument) == null ? void 0 : r.body), s = wi(o);
|
|
15477
15477
|
return i ? (p5(s), t.concat(s, s.visualViewport || [], _1(o) ? o : [], [])) : t.concat(o, aL(o, []));
|
|
15478
15478
|
}
|
|
15479
15479
|
function p5(e) {
|
|
@@ -15509,14 +15509,14 @@ function gp(e) {
|
|
|
15509
15509
|
}
|
|
15510
15510
|
const qoe = /* @__PURE__ */ ra(0);
|
|
15511
15511
|
function cL(e) {
|
|
15512
|
-
const t =
|
|
15512
|
+
const t = wi(e);
|
|
15513
15513
|
return !yk() || !t.visualViewport ? qoe : {
|
|
15514
15514
|
x: t.visualViewport.offsetLeft,
|
|
15515
15515
|
y: t.visualViewport.offsetTop
|
|
15516
15516
|
};
|
|
15517
15517
|
}
|
|
15518
15518
|
function Voe(e, t, n) {
|
|
15519
|
-
return t === void 0 && (t = !1), !n || t && n !==
|
|
15519
|
+
return t === void 0 && (t = !1), !n || t && n !== wi(e) ? !1 : t;
|
|
15520
15520
|
}
|
|
15521
15521
|
function vf(e, t, n, r) {
|
|
15522
15522
|
t === void 0 && (t = !1), n === void 0 && (n = !1);
|
|
@@ -15526,11 +15526,11 @@ function vf(e, t, n, r) {
|
|
|
15526
15526
|
const a = Voe(i, n, r) ? cL(i) : ra(0);
|
|
15527
15527
|
let l = (o.left + a.x) / s.x, u = (o.top + a.y) / s.y, c = o.width / s.x, d = o.height / s.y;
|
|
15528
15528
|
if (i) {
|
|
15529
|
-
const p =
|
|
15529
|
+
const p = wi(i), h = r && Fs(r) ? wi(r) : r;
|
|
15530
15530
|
let f = p, g = p5(f);
|
|
15531
15531
|
for (; g && r && h !== f; ) {
|
|
15532
15532
|
const m = gp(g), b = g.getBoundingClientRect(), y = ws(g), x = b.left + (g.clientLeft + parseFloat(y.paddingLeft)) * m.x, v = b.top + (g.clientTop + parseFloat(y.paddingTop)) * m.y;
|
|
15533
|
-
l *= m.x, u *= m.y, c *= m.x, d *= m.y, l += x, u += v, f =
|
|
15533
|
+
l *= m.x, u *= m.y, c *= m.x, d *= m.y, l += x, u += v, f = wi(g), g = p5(f);
|
|
15534
15534
|
}
|
|
15535
15535
|
}
|
|
15536
15536
|
return Op({
|
|
@@ -15582,10 +15582,10 @@ function Koe(e) {
|
|
|
15582
15582
|
return Array.from(e.getClientRects());
|
|
15583
15583
|
}
|
|
15584
15584
|
function Yoe(e) {
|
|
15585
|
-
const t = Cl(e), n = Gy(e), r = e.ownerDocument.body, o =
|
|
15585
|
+
const t = Cl(e), n = Gy(e), r = e.ownerDocument.body, o = Do(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), i = Do(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight);
|
|
15586
15586
|
let s = -n.scrollLeft + Ky(e);
|
|
15587
15587
|
const a = -n.scrollTop;
|
|
15588
|
-
return ws(r).direction === "rtl" && (s +=
|
|
15588
|
+
return ws(r).direction === "rtl" && (s += Do(t.clientWidth, r.clientWidth) - o), {
|
|
15589
15589
|
width: o,
|
|
15590
15590
|
height: i,
|
|
15591
15591
|
x: s,
|
|
@@ -15594,7 +15594,7 @@ function Yoe(e) {
|
|
|
15594
15594
|
}
|
|
15595
15595
|
const f_ = 25;
|
|
15596
15596
|
function Xoe(e, t) {
|
|
15597
|
-
const n =
|
|
15597
|
+
const n = wi(e), r = Cl(e), o = n.visualViewport;
|
|
15598
15598
|
let i = r.clientWidth, s = r.clientHeight, a = 0, l = 0;
|
|
15599
15599
|
if (o) {
|
|
15600
15600
|
i = o.width, s = o.height;
|
|
@@ -15668,7 +15668,7 @@ function eie(e) {
|
|
|
15668
15668
|
} = e;
|
|
15669
15669
|
const s = [...n === "clippingAncestors" ? Vy(t) ? [] : Qoe(t, this._c) : [].concat(n), r], a = s[0], l = s.reduce((u, c) => {
|
|
15670
15670
|
const d = g_(t, c, o);
|
|
15671
|
-
return u.top =
|
|
15671
|
+
return u.top = Do(d.top, u.top), u.right = fa(d.right, u.right), u.bottom = fa(d.bottom, u.bottom), u.left = Do(d.left, u.left), u;
|
|
15672
15672
|
}, g_(t, a, o));
|
|
15673
15673
|
return {
|
|
15674
15674
|
width: l.right - l.left,
|
|
@@ -15723,7 +15723,7 @@ function m_(e, t) {
|
|
|
15723
15723
|
return Cl(e) === n && (n = n.ownerDocument.body), n;
|
|
15724
15724
|
}
|
|
15725
15725
|
function hL(e, t) {
|
|
15726
|
-
const n =
|
|
15726
|
+
const n = wi(e);
|
|
15727
15727
|
if (Vy(e))
|
|
15728
15728
|
return n;
|
|
15729
15729
|
if (!ga(e)) {
|
|
@@ -15975,7 +15975,7 @@ function uie(e) {
|
|
|
15975
15975
|
for (let n = 0; n < e.colspan; n++) t.push(0);
|
|
15976
15976
|
return t;
|
|
15977
15977
|
}
|
|
15978
|
-
function
|
|
15978
|
+
function co(e) {
|
|
15979
15979
|
let t = e.cached.tableNodeTypes;
|
|
15980
15980
|
if (!t) {
|
|
15981
15981
|
t = e.cached.tableNodeTypes = {};
|
|
@@ -16054,7 +16054,7 @@ function kL(e, t, n = 1) {
|
|
|
16054
16054
|
return r;
|
|
16055
16055
|
}
|
|
16056
16056
|
function hie(e, t, n) {
|
|
16057
|
-
const r =
|
|
16057
|
+
const r = co(t.type.schema).header_cell;
|
|
16058
16058
|
for (let o = 0; o < e.height; o++)
|
|
16059
16059
|
if (t.nodeAt(e.map[n + o * e.width]).type != r)
|
|
16060
16060
|
return !1;
|
|
@@ -16359,7 +16359,7 @@ function vie(e, t, n, r) {
|
|
|
16359
16359
|
c.firstChild && (h = c.firstChild.type.spec.tableRole);
|
|
16360
16360
|
const f = [];
|
|
16361
16361
|
for (let m = 0; m < p; m++) {
|
|
16362
|
-
const b =
|
|
16362
|
+
const b = co(e.schema)[h].createAndFill();
|
|
16363
16363
|
b && f.push(b);
|
|
16364
16364
|
}
|
|
16365
16365
|
const g = (l == 0 || s == l - 1) && a == l ? u + 1 : d - 1;
|
|
@@ -16389,7 +16389,7 @@ function AL(e, { map: t, tableStart: n, table: r }, o) {
|
|
|
16389
16389
|
kL(u.attrs, o - t.colCount(l))
|
|
16390
16390
|
), s += u.attrs.rowspan - 1;
|
|
16391
16391
|
} else {
|
|
16392
|
-
const l = i == null ?
|
|
16392
|
+
const l = i == null ? co(r.type.schema).cell : r.nodeAt(t.map[a + i]).type, u = t.positionAt(s, o, r);
|
|
16393
16393
|
e.insert(e.mapping.map(n + u), l.createAndFill());
|
|
16394
16394
|
}
|
|
16395
16395
|
}
|
|
@@ -16445,7 +16445,7 @@ function kie(e, t) {
|
|
|
16445
16445
|
}
|
|
16446
16446
|
function Eie(e, t, n) {
|
|
16447
16447
|
var r;
|
|
16448
|
-
const o =
|
|
16448
|
+
const o = co(t.type.schema).header_cell;
|
|
16449
16449
|
for (let i = 0; i < e.width; i++)
|
|
16450
16450
|
if (((r = t.nodeAt(e.map[i + n * e.width])) == null ? void 0 : r.type) != o)
|
|
16451
16451
|
return !1;
|
|
@@ -16466,10 +16466,10 @@ function SL(e, { map: t, tableStart: n, table: r }, o) {
|
|
|
16466
16466
|
rowspan: p.rowspan + 1
|
|
16467
16467
|
}), u += p.colspan - 1;
|
|
16468
16468
|
} else {
|
|
16469
|
-
const d = l == null ?
|
|
16469
|
+
const d = l == null ? co(r.type.schema).cell : (i = r.nodeAt(t.map[c + l * t.width])) == null ? void 0 : i.type, p = d == null ? void 0 : d.createAndFill();
|
|
16470
16470
|
p && a.push(p);
|
|
16471
16471
|
}
|
|
16472
|
-
return e.insert(s,
|
|
16472
|
+
return e.insert(s, co(r.type.schema).row.create(null, a)), e;
|
|
16473
16473
|
}
|
|
16474
16474
|
function Cie(e, t) {
|
|
16475
16475
|
if (!Ts(e)) return !1;
|
|
@@ -16586,7 +16586,7 @@ function y_(e, t) {
|
|
|
16586
16586
|
return !0;
|
|
16587
16587
|
}
|
|
16588
16588
|
function x_(e, t) {
|
|
16589
|
-
const n =
|
|
16589
|
+
const n = co(e.schema);
|
|
16590
16590
|
return jie(({ node: r }) => n[r.type.spec.tableRole])(e, t);
|
|
16591
16591
|
}
|
|
16592
16592
|
function jie(e) {
|
|
@@ -16663,7 +16663,7 @@ function Nie(e) {
|
|
|
16663
16663
|
return function(t, n) {
|
|
16664
16664
|
if (!Ts(t)) return !1;
|
|
16665
16665
|
if (n) {
|
|
16666
|
-
const r =
|
|
16666
|
+
const r = co(t.schema), o = wa(t), i = t.tr, s = o.map.cellsInRect(
|
|
16667
16667
|
e == "column" ? {
|
|
16668
16668
|
left: o.left,
|
|
16669
16669
|
top: 0,
|
|
@@ -16712,7 +16712,7 @@ function Ff(e, t) {
|
|
|
16712
16712
|
return t = t || { useDeprecatedLogic: !1 }, t.useDeprecatedLogic ? Nie(e) : function(n, r) {
|
|
16713
16713
|
if (!Ts(n)) return !1;
|
|
16714
16714
|
if (r) {
|
|
16715
|
-
const o =
|
|
16715
|
+
const o = co(n.schema), i = wa(n), s = n.tr, a = v_("row", i, o), l = v_(
|
|
16716
16716
|
"column",
|
|
16717
16717
|
i,
|
|
16718
16718
|
o
|
|
@@ -16793,7 +16793,7 @@ function Ag(e, t) {
|
|
|
16793
16793
|
const n = e.selection;
|
|
16794
16794
|
if (!(n instanceof An)) return !1;
|
|
16795
16795
|
if (t) {
|
|
16796
|
-
const r = e.tr, o =
|
|
16796
|
+
const r = e.tr, o = co(e.schema).cell.createAndFill().content;
|
|
16797
16797
|
n.forEachCell((i, s) => {
|
|
16798
16798
|
i.content.eq(o) || r.replace(
|
|
16799
16799
|
r.mapping.map(s + 1),
|
|
@@ -16815,14 +16815,14 @@ function Iie(e) {
|
|
|
16815
16815
|
let u = t.child(l).content;
|
|
16816
16816
|
const c = l ? 0 : Math.max(0, n - 1), d = l < t.childCount - 1 ? 0 : Math.max(0, r - 1);
|
|
16817
16817
|
(c || d) && (u = m5(
|
|
16818
|
-
|
|
16818
|
+
co(s).row,
|
|
16819
16819
|
new Ze(u, c, d)
|
|
16820
16820
|
).content), a.push(u);
|
|
16821
16821
|
}
|
|
16822
16822
|
else if (i == "cell" || i == "header_cell")
|
|
16823
16823
|
a.push(
|
|
16824
16824
|
n || r ? m5(
|
|
16825
|
-
|
|
16825
|
+
co(s).row,
|
|
16826
16826
|
new Ze(t, n, r)
|
|
16827
16827
|
).content : t
|
|
16828
16828
|
);
|
|
@@ -16844,7 +16844,7 @@ function Lie(e, t) {
|
|
|
16844
16844
|
for (let o = 0; o < n.length; o++) r = Math.max(r, n[o]);
|
|
16845
16845
|
for (let o = 0; o < n.length; o++)
|
|
16846
16846
|
if (o >= t.length && t.push(Oe.empty), n[o] < r) {
|
|
16847
|
-
const i =
|
|
16847
|
+
const i = co(e).cell.createAndFill(), s = [];
|
|
16848
16848
|
for (let a = n[o]; a < r; a++)
|
|
16849
16849
|
s.push(i);
|
|
16850
16850
|
t[o] = t[o].append(Oe.from(s));
|
|
@@ -16898,7 +16898,7 @@ function Uie({ width: e, height: t, rows: n }, r, o) {
|
|
|
16898
16898
|
return { width: e, height: t, rows: n };
|
|
16899
16899
|
}
|
|
16900
16900
|
function Pie(e, t, n, r, o, i, s) {
|
|
16901
|
-
const a = e.doc.type.schema, l =
|
|
16901
|
+
const a = e.doc.type.schema, l = co(a);
|
|
16902
16902
|
let u, c;
|
|
16903
16903
|
if (o > t.width)
|
|
16904
16904
|
for (let d = 0, p = 0; d < t.height; d++) {
|
|
@@ -17077,7 +17077,7 @@ function Hie(e, t, n) {
|
|
|
17077
17077
|
height: 1,
|
|
17078
17078
|
rows: [
|
|
17079
17079
|
Oe.from(
|
|
17080
|
-
m5(
|
|
17080
|
+
m5(co(e.state.schema).cell, n)
|
|
17081
17081
|
)
|
|
17082
17082
|
]
|
|
17083
17083
|
});
|
|
@@ -17219,7 +17219,7 @@ function Vie({
|
|
|
17219
17219
|
state: {
|
|
17220
17220
|
init(s, a) {
|
|
17221
17221
|
var l, u;
|
|
17222
|
-
const c = (u = (l = i.spec) == null ? void 0 : l.props) == null ? void 0 : u.nodeViews, d =
|
|
17222
|
+
const c = (u = (l = i.spec) == null ? void 0 : l.props) == null ? void 0 : u.nodeViews, d = co(a.schema).table.name;
|
|
17223
17223
|
return r && c && (c[d] = (p, h) => new r(p, n, h)), new Gie(-1, !1);
|
|
17224
17224
|
},
|
|
17225
17225
|
apply(s, a) {
|
|
@@ -17928,11 +17928,11 @@ function ase(e) {
|
|
|
17928
17928
|
}
|
|
17929
17929
|
var Zy = {};
|
|
17930
17930
|
Zy.byteLength = dse;
|
|
17931
|
-
var vk = Zy.toByteArray = hse, lse = Zy.fromByteArray = mse, Ks = [],
|
|
17931
|
+
var vk = Zy.toByteArray = hse, lse = Zy.fromByteArray = mse, Ks = [], Mi = [], use = typeof Uint8Array < "u" ? Uint8Array : Array, fv = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
|
|
17932
17932
|
for (var jd = 0, cse = fv.length; jd < cse; ++jd)
|
|
17933
|
-
Ks[jd] = fv[jd],
|
|
17934
|
-
|
|
17935
|
-
|
|
17933
|
+
Ks[jd] = fv[jd], Mi[fv.charCodeAt(jd)] = jd;
|
|
17934
|
+
Mi[45] = 62;
|
|
17935
|
+
Mi[95] = 63;
|
|
17936
17936
|
function OL(e) {
|
|
17937
17937
|
var t = e.length;
|
|
17938
17938
|
if (t % 4 > 0)
|
|
@@ -17952,8 +17952,8 @@ function pse(e, t, n) {
|
|
|
17952
17952
|
function hse(e) {
|
|
17953
17953
|
var t, n = OL(e), r = n[0], o = n[1], i = new use(pse(e, r, o)), s = 0, a = o > 0 ? r - 4 : r, l;
|
|
17954
17954
|
for (l = 0; l < a; l += 4)
|
|
17955
|
-
t =
|
|
17956
|
-
return o === 2 && (t =
|
|
17955
|
+
t = Mi[e.charCodeAt(l)] << 18 | Mi[e.charCodeAt(l + 1)] << 12 | Mi[e.charCodeAt(l + 2)] << 6 | Mi[e.charCodeAt(l + 3)], i[s++] = t >> 16 & 255, i[s++] = t >> 8 & 255, i[s++] = t & 255;
|
|
17956
|
+
return o === 2 && (t = Mi[e.charCodeAt(l)] << 2 | Mi[e.charCodeAt(l + 1)] >> 4, i[s++] = t & 255), o === 1 && (t = Mi[e.charCodeAt(l)] << 10 | Mi[e.charCodeAt(l + 1)] << 4 | Mi[e.charCodeAt(l + 2)] >> 2, i[s++] = t >> 8 & 255, i[s++] = t & 255), i;
|
|
17957
17957
|
}
|
|
17958
17958
|
function fse(e) {
|
|
17959
17959
|
return Ks[e >> 18 & 63] + Ks[e >> 12 & 63] + Ks[e >> 6 & 63] + Ks[e & 63];
|
|
@@ -23677,7 +23677,7 @@ const Kle = (e, t, n, r) => {
|
|
|
23677
23677
|
return U2(o);
|
|
23678
23678
|
}
|
|
23679
23679
|
return o[0];
|
|
23680
|
-
},
|
|
23680
|
+
}, Pi = (e, t) => eue(e, t, new B1()), tue = (e) => {
|
|
23681
23681
|
const t = /* @__PURE__ */ new Map(), n = Lt(e.restDecoder);
|
|
23682
23682
|
for (let r = 0; r < n; r++) {
|
|
23683
23683
|
const o = Lt(e.restDecoder), i = Lt(e.restDecoder);
|
|
@@ -24572,7 +24572,7 @@ const Fue = (e, t) => {
|
|
|
24572
24572
|
t._item.parent;
|
|
24573
24573
|
}
|
|
24574
24574
|
return n;
|
|
24575
|
-
},
|
|
24575
|
+
}, lo = () => {
|
|
24576
24576
|
mU("Invalid access: Add Yjs type to a document before reading data.");
|
|
24577
24577
|
}, RU = 80;
|
|
24578
24578
|
let Hk = 0;
|
|
@@ -24744,7 +24744,7 @@ class Rr {
|
|
|
24744
24744
|
}
|
|
24745
24745
|
}
|
|
24746
24746
|
const LU = (e, t, n) => {
|
|
24747
|
-
e.doc ??
|
|
24747
|
+
e.doc ?? lo(), t < 0 && (t = e._length + t), n < 0 && (n = e._length + n);
|
|
24748
24748
|
let r = n - t;
|
|
24749
24749
|
const o = [];
|
|
24750
24750
|
let i = e._start;
|
|
@@ -24763,7 +24763,7 @@ const LU = (e, t, n) => {
|
|
|
24763
24763
|
}
|
|
24764
24764
|
return o;
|
|
24765
24765
|
}, UU = (e) => {
|
|
24766
|
-
e.doc ??
|
|
24766
|
+
e.doc ?? lo();
|
|
24767
24767
|
const t = [];
|
|
24768
24768
|
let n = e._start;
|
|
24769
24769
|
for (; n !== null; ) {
|
|
@@ -24789,7 +24789,7 @@ const LU = (e, t, n) => {
|
|
|
24789
24789
|
return n;
|
|
24790
24790
|
}, If = (e, t) => {
|
|
24791
24791
|
let n = 0, r = e._start;
|
|
24792
|
-
for (e.doc ??
|
|
24792
|
+
for (e.doc ?? lo(); r !== null; ) {
|
|
24793
24793
|
if (r.countable && !r.deleted) {
|
|
24794
24794
|
const o = r.content.getContent();
|
|
24795
24795
|
for (let i = 0; i < o.length; i++)
|
|
@@ -24827,7 +24827,7 @@ const LU = (e, t, n) => {
|
|
|
24827
24827
|
}
|
|
24828
24828
|
};
|
|
24829
24829
|
}, $U = (e, t) => {
|
|
24830
|
-
e.doc ??
|
|
24830
|
+
e.doc ?? lo();
|
|
24831
24831
|
const n = rx(e, t);
|
|
24832
24832
|
let r = e._start;
|
|
24833
24833
|
for (n !== null && (r = n.p, t -= n.index); r !== null; r = r.right)
|
|
@@ -24956,16 +24956,16 @@ const LU = (e, t, n) => {
|
|
|
24956
24956
|
}
|
|
24957
24957
|
new Tn(Mt(s, ir(i.store, s)), o, o && o.lastId, null, null, t, n, a).integrate(e, 0);
|
|
24958
24958
|
}, qk = (e, t) => {
|
|
24959
|
-
e.doc ??
|
|
24959
|
+
e.doc ?? lo();
|
|
24960
24960
|
const n = e._map.get(t);
|
|
24961
24961
|
return n !== void 0 && !n.deleted ? n.content.getContent()[n.length - 1] : void 0;
|
|
24962
24962
|
}, VU = (e) => {
|
|
24963
24963
|
const t = {};
|
|
24964
|
-
return e.doc ??
|
|
24964
|
+
return e.doc ?? lo(), e._map.forEach((n, r) => {
|
|
24965
24965
|
n.deleted || (t[r] = n.content.getContent()[n.length - 1]);
|
|
24966
24966
|
}), t;
|
|
24967
24967
|
}, GU = (e, t) => {
|
|
24968
|
-
e.doc ??
|
|
24968
|
+
e.doc ?? lo();
|
|
24969
24969
|
const n = e._map.get(t);
|
|
24970
24970
|
return n !== void 0 && !n.deleted;
|
|
24971
24971
|
}, _ue = (e, t) => {
|
|
@@ -24976,7 +24976,7 @@ const LU = (e, t, n) => {
|
|
|
24976
24976
|
i = i.left;
|
|
24977
24977
|
i !== null && vc(i, t) && (n[o] = i.content.getContent()[i.length - 1]);
|
|
24978
24978
|
}), n;
|
|
24979
|
-
}, Ng = (e) => (e.doc ??
|
|
24979
|
+
}, Ng = (e) => (e.doc ?? lo(), qle(
|
|
24980
24980
|
e._map.entries(),
|
|
24981
24981
|
/** @param {any} entry */
|
|
24982
24982
|
(t) => !t[1].deleted
|
|
@@ -25037,7 +25037,7 @@ class al extends Rr {
|
|
|
25037
25037
|
)), t;
|
|
25038
25038
|
}
|
|
25039
25039
|
get length() {
|
|
25040
|
-
return this.doc ??
|
|
25040
|
+
return this.doc ?? lo(), this._length;
|
|
25041
25041
|
}
|
|
25042
25042
|
/**
|
|
25043
25043
|
* Creates YArrayEvent and calls observers.
|
|
@@ -25255,7 +25255,7 @@ class Gr extends Rr {
|
|
|
25255
25255
|
* @return {Object<string,any>}
|
|
25256
25256
|
*/
|
|
25257
25257
|
toJSON() {
|
|
25258
|
-
this.doc ??
|
|
25258
|
+
this.doc ?? lo();
|
|
25259
25259
|
const t = {};
|
|
25260
25260
|
return this._map.forEach((n, r) => {
|
|
25261
25261
|
if (!n.deleted) {
|
|
@@ -25317,7 +25317,7 @@ class Gr extends Rr {
|
|
|
25317
25317
|
* @param {function(MapType,string,YMap<MapType>):void} f A function to execute on every element of this YArray.
|
|
25318
25318
|
*/
|
|
25319
25319
|
forEach(t) {
|
|
25320
|
-
this.doc ??
|
|
25320
|
+
this.doc ?? lo(), this._map.forEach((n, r) => {
|
|
25321
25321
|
n.deleted || t(n.content.getContent()[n.length - 1], r, this);
|
|
25322
25322
|
});
|
|
25323
25323
|
}
|
|
@@ -25817,7 +25817,7 @@ class Yo extends Rr {
|
|
|
25817
25817
|
* @type {number}
|
|
25818
25818
|
*/
|
|
25819
25819
|
get length() {
|
|
25820
|
-
return this.doc ??
|
|
25820
|
+
return this.doc ?? lo(), this._length;
|
|
25821
25821
|
}
|
|
25822
25822
|
/**
|
|
25823
25823
|
* @param {Doc} y
|
|
@@ -25863,7 +25863,7 @@ class Yo extends Rr {
|
|
|
25863
25863
|
* @public
|
|
25864
25864
|
*/
|
|
25865
25865
|
toString() {
|
|
25866
|
-
this.doc ??
|
|
25866
|
+
this.doc ?? lo();
|
|
25867
25867
|
let t = "", n = this._start;
|
|
25868
25868
|
for (; n !== null; )
|
|
25869
25869
|
!n.deleted && n.countable && n.content.constructor === Es && (t += /** @type {ContentString} */
|
|
@@ -25913,7 +25913,7 @@ class Yo extends Rr {
|
|
|
25913
25913
|
* @public
|
|
25914
25914
|
*/
|
|
25915
25915
|
toDelta(t, n, r) {
|
|
25916
|
-
this.doc ??
|
|
25916
|
+
this.doc ?? lo();
|
|
25917
25917
|
const o = [], i = /* @__PURE__ */ new Map(), s = (
|
|
25918
25918
|
/** @type {Doc} */
|
|
25919
25919
|
this.doc
|
|
@@ -26120,7 +26120,7 @@ class kv {
|
|
|
26120
26120
|
*/
|
|
26121
26121
|
constructor(t, n = () => !0) {
|
|
26122
26122
|
this._filter = n, this._root = t, this._currentNode = /** @type {Item} */
|
|
26123
|
-
t._start, this._firstCall = !0, t.doc ??
|
|
26123
|
+
t._start, this._firstCall = !0, t.doc ?? lo();
|
|
26124
26124
|
}
|
|
26125
26125
|
[Symbol.iterator]() {
|
|
26126
26126
|
return this;
|
|
@@ -26202,7 +26202,7 @@ class nd extends Rr {
|
|
|
26202
26202
|
return t.insert(0, this.toArray().map((n) => n instanceof Rr ? n.clone() : n)), t;
|
|
26203
26203
|
}
|
|
26204
26204
|
get length() {
|
|
26205
|
-
return this.doc ??
|
|
26205
|
+
return this.doc ?? lo(), this._prelimContent === null ? this._length : this._prelimContent.length;
|
|
26206
26206
|
}
|
|
26207
26207
|
/**
|
|
26208
26208
|
* Create a subtree of childNodes.
|
|
@@ -26687,7 +26687,7 @@ class $2 extends Gr {
|
|
|
26687
26687
|
}
|
|
26688
26688
|
}
|
|
26689
26689
|
const Pue = (e) => new $2(e.readKey());
|
|
26690
|
-
class
|
|
26690
|
+
class uo extends Yo {
|
|
26691
26691
|
/**
|
|
26692
26692
|
* @type {YXmlElement|YXmlText|null}
|
|
26693
26693
|
*/
|
|
@@ -26711,7 +26711,7 @@ class co extends Yo {
|
|
|
26711
26711
|
) : null;
|
|
26712
26712
|
}
|
|
26713
26713
|
_copy() {
|
|
26714
|
-
return new
|
|
26714
|
+
return new uo();
|
|
26715
26715
|
}
|
|
26716
26716
|
/**
|
|
26717
26717
|
* Makes a copy of this data type that can be included somewhere else.
|
|
@@ -26721,7 +26721,7 @@ class co extends Yo {
|
|
|
26721
26721
|
* @return {YXmlText}
|
|
26722
26722
|
*/
|
|
26723
26723
|
clone() {
|
|
26724
|
-
const t = new
|
|
26724
|
+
const t = new uo();
|
|
26725
26725
|
return t.applyDelta(this.toDelta()), t;
|
|
26726
26726
|
}
|
|
26727
26727
|
/**
|
|
@@ -26782,7 +26782,7 @@ class co extends Yo {
|
|
|
26782
26782
|
t.writeTypeRef(ice);
|
|
26783
26783
|
}
|
|
26784
26784
|
}
|
|
26785
|
-
const zue = (e) => new
|
|
26785
|
+
const zue = (e) => new uo();
|
|
26786
26786
|
class Vk {
|
|
26787
26787
|
/**
|
|
26788
26788
|
* @param {ID} id
|
|
@@ -28019,7 +28019,7 @@ const uce = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
|
|
|
28019
28019
|
for (let r = 0, o = e.length; r < o; r += 4096)
|
|
28020
28020
|
n.push(Xm.apply(null, e.subarray(r, r + 4096)));
|
|
28021
28021
|
return hce(n.join(""));
|
|
28022
|
-
},
|
|
28022
|
+
}, ko = (e, t = !1) => t ? dce(lA(e)) : lA(e), fce = (e) => {
|
|
28023
28023
|
if (e = e.replace(/\s+/g, ""), !cce.test(e))
|
|
28024
28024
|
throw new TypeError("malformed base64.");
|
|
28025
28025
|
e += "==".slice(2 - (e.length & 3));
|
|
@@ -28027,12 +28027,12 @@ const uce = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
|
|
|
28027
28027
|
for (let i = 0; i < e.length; )
|
|
28028
28028
|
t = Og[e.charAt(i++)] << 18 | Og[e.charAt(i++)] << 12 | (n = Og[e.charAt(i++)]) << 6 | (r = Og[e.charAt(i++)]), n === 64 ? o.push(Xm(t >> 16 & 255)) : r === 64 ? o.push(Xm(t >> 16 & 255, t >> 8 & 255)) : o.push(Xm(t >> 16 & 255, t >> 8 & 255, t & 255));
|
|
28029
28029
|
return o.join("");
|
|
28030
|
-
}, gce = typeof atob == "function" ? (e) => atob(rP(e)) : ix ? (e) => Buffer.from(e, "base64").toString("binary") : fce, mce = ix ? (e) => aA(Buffer.from(e, "base64")) : (e) => aA(gce(e).split("").map((t) => t.charCodeAt(0))),
|
|
28030
|
+
}, gce = typeof atob == "function" ? (e) => atob(rP(e)) : ix ? (e) => Buffer.from(e, "base64").toString("binary") : fce, mce = ix ? (e) => aA(Buffer.from(e, "base64")) : (e) => aA(gce(e).split("").map((t) => t.charCodeAt(0))), so = (e) => mce(bce(e)), bce = (e) => rP(e.replace(/[-_]/g, (t) => t == "-" ? "+" : "/")), ap = "default", yce = "Tab 1";
|
|
28031
28031
|
function xce(e, t, n) {
|
|
28032
28032
|
const r = (n == null ? void 0 : n.createDefaultTabIfMissing) ?? !0;
|
|
28033
28033
|
if (e)
|
|
28034
28034
|
try {
|
|
28035
|
-
oa(t,
|
|
28035
|
+
oa(t, so(e), "self");
|
|
28036
28036
|
} catch (u) {
|
|
28037
28037
|
console.log(u);
|
|
28038
28038
|
}
|
|
@@ -28075,7 +28075,7 @@ function Jl(e) {
|
|
|
28075
28075
|
};
|
|
28076
28076
|
}
|
|
28077
28077
|
function vce(e) {
|
|
28078
|
-
return e.toArray().map((t) => t instanceof Mr || t instanceof
|
|
28078
|
+
return e.toArray().map((t) => t instanceof Mr || t instanceof uo ? t.clone() : null).filter((t) => t !== null);
|
|
28079
28079
|
}
|
|
28080
28080
|
const oP = gd(void 0), Fce = ({
|
|
28081
28081
|
children: e,
|
|
@@ -28186,11 +28186,11 @@ const oP = gd(void 0), Fce = ({
|
|
|
28186
28186
|
(Me, He) => {
|
|
28187
28187
|
const lt = oue(n);
|
|
28188
28188
|
if (!He()) return;
|
|
28189
|
-
const Le =
|
|
28189
|
+
const Le = Pi(n, lt);
|
|
28190
28190
|
if (!(!Le || Le.byteLength === 0))
|
|
28191
28191
|
return {
|
|
28192
28192
|
type: Me,
|
|
28193
|
-
updateChunk:
|
|
28193
|
+
updateChunk: ko(Le)
|
|
28194
28194
|
};
|
|
28195
28195
|
},
|
|
28196
28196
|
[n]
|
|
@@ -31144,18 +31144,18 @@ function z5(e, t) {
|
|
|
31144
31144
|
const n = new Ppe(e, t);
|
|
31145
31145
|
return e.__compiled__[n.schema].normalize(n, e), n;
|
|
31146
31146
|
}
|
|
31147
|
-
function
|
|
31148
|
-
if (!(this instanceof
|
|
31149
|
-
return new
|
|
31147
|
+
function Ei(e, t) {
|
|
31148
|
+
if (!(this instanceof Ei))
|
|
31149
|
+
return new Ei(e, t);
|
|
31150
31150
|
t || Mpe(e) && (t = e, e = {}), this.__opts__ = P5({}, xP, t), this.__index__ = -1, this.__last_index__ = -1, this.__schema__ = "", this.__text_cache__ = "", this.__schemas__ = P5({}, Ope, e), this.__compiled__ = {}, this.__tlds__ = Ipe, this.__tlds_replaced__ = !1, this.re = {}, G2(this);
|
|
31151
31151
|
}
|
|
31152
|
-
|
|
31152
|
+
Ei.prototype.add = function(t, n) {
|
|
31153
31153
|
return this.__schemas__[t] = n, G2(this), this;
|
|
31154
31154
|
};
|
|
31155
|
-
|
|
31155
|
+
Ei.prototype.set = function(t) {
|
|
31156
31156
|
return this.__opts__ = P5(this.__opts__, t), this;
|
|
31157
31157
|
};
|
|
31158
|
-
|
|
31158
|
+
Ei.prototype.test = function(t) {
|
|
31159
31159
|
if (this.__text_cache__ = t, this.__index__ = -1, !t.length)
|
|
31160
31160
|
return !1;
|
|
31161
31161
|
let n, r, o, i, s, a, l, u, c;
|
|
@@ -31168,13 +31168,13 @@ Ci.prototype.test = function(t) {
|
|
|
31168
31168
|
}
|
|
31169
31169
|
return this.__opts__.fuzzyLink && this.__compiled__["http:"] && (u = t.search(this.re.host_fuzzy_test), u >= 0 && (this.__index__ < 0 || u < this.__index__) && (r = t.match(this.__opts__.fuzzyIP ? this.re.link_fuzzy : this.re.link_no_ip_fuzzy)) !== null && (s = r.index + r[1].length, (this.__index__ < 0 || s < this.__index__) && (this.__schema__ = "", this.__index__ = s, this.__last_index__ = r.index + r[0].length))), this.__opts__.fuzzyEmail && this.__compiled__["mailto:"] && (c = t.indexOf("@"), c >= 0 && (o = t.match(this.re.email_fuzzy)) !== null && (s = o.index + o[1].length, a = o.index + o[0].length, (this.__index__ < 0 || s < this.__index__ || s === this.__index__ && a > this.__last_index__) && (this.__schema__ = "mailto:", this.__index__ = s, this.__last_index__ = a))), this.__index__ >= 0;
|
|
31170
31170
|
};
|
|
31171
|
-
|
|
31171
|
+
Ei.prototype.pretest = function(t) {
|
|
31172
31172
|
return this.re.pretest.test(t);
|
|
31173
31173
|
};
|
|
31174
|
-
|
|
31174
|
+
Ei.prototype.testSchemaAt = function(t, n, r) {
|
|
31175
31175
|
return this.__compiled__[n.toLowerCase()] ? this.__compiled__[n.toLowerCase()].validate(t, r, this) : 0;
|
|
31176
31176
|
};
|
|
31177
|
-
|
|
31177
|
+
Ei.prototype.match = function(t) {
|
|
31178
31178
|
const n = [];
|
|
31179
31179
|
let r = 0;
|
|
31180
31180
|
this.__index__ >= 0 && this.__text_cache__ === t && (n.push(z5(this, r)), r = this.__last_index__);
|
|
@@ -31183,22 +31183,22 @@ Ci.prototype.match = function(t) {
|
|
|
31183
31183
|
n.push(z5(this, r)), o = o.slice(this.__last_index__), r += this.__last_index__;
|
|
31184
31184
|
return n.length ? n : null;
|
|
31185
31185
|
};
|
|
31186
|
-
|
|
31186
|
+
Ei.prototype.matchAtStart = function(t) {
|
|
31187
31187
|
if (this.__text_cache__ = t, this.__index__ = -1, !t.length) return null;
|
|
31188
31188
|
const n = this.re.schema_at_start.exec(t);
|
|
31189
31189
|
if (!n) return null;
|
|
31190
31190
|
const r = this.testSchemaAt(t, n[2], n[0].length);
|
|
31191
31191
|
return r ? (this.__schema__ = n[2], this.__index__ = n.index + n[1].length, this.__last_index__ = n.index + n[0].length + r, z5(this, 0)) : null;
|
|
31192
31192
|
};
|
|
31193
|
-
|
|
31193
|
+
Ei.prototype.tlds = function(t, n) {
|
|
31194
31194
|
return t = Array.isArray(t) ? t : [t], n ? (this.__tlds__ = this.__tlds__.concat(t).sort().filter(function(r, o, i) {
|
|
31195
31195
|
return r !== i[o - 1];
|
|
31196
31196
|
}).reverse(), G2(this), this) : (this.__tlds__ = t.slice(), this.__tlds_replaced__ = !0, G2(this), this);
|
|
31197
31197
|
};
|
|
31198
|
-
|
|
31198
|
+
Ei.prototype.normalize = function(t) {
|
|
31199
31199
|
t.schema || (t.url = "http://" + t.url), t.schema === "mailto:" && !/^mailto:/i.test(t.url) && (t.url = "mailto:" + t.url);
|
|
31200
31200
|
};
|
|
31201
|
-
|
|
31201
|
+
Ei.prototype.onCompile = function() {
|
|
31202
31202
|
};
|
|
31203
31203
|
const vp = 2147483647, Zs = 36, t8 = 1, $f = 26, zpe = 38, $pe = 700, vP = 72, FP = 128, wP = "-", Hpe = /^xn--/, Wpe = /[^\0-\x7F]/, qpe = /[\x2E\u3002\uFF0E\uFF61]/g, Vpe = {
|
|
31204
31204
|
overflow: "Overflow: input needs wider integers to process",
|
|
@@ -31525,7 +31525,7 @@ function she(e) {
|
|
|
31525
31525
|
function Lr(e, t) {
|
|
31526
31526
|
if (!(this instanceof Lr))
|
|
31527
31527
|
return new Lr(e, t);
|
|
31528
|
-
t || Zk(e) || (t = e || {}, e = "default"), this.inline = new L1(), this.block = new lx(), this.core = new Qk(), this.renderer = new vh(), this.linkify = new
|
|
31528
|
+
t || Zk(e) || (t = e || {}, e = "default"), this.inline = new L1(), this.block = new lx(), this.core = new Qk(), this.renderer = new vh(), this.linkify = new Ei(), this.validateLink = ohe, this.normalizeLink = ihe, this.normalizeLinkText = she, this.utils = lde, this.helpers = sx({}, pde), this.options = {}, this.configure(e), t && this.set(t);
|
|
31529
31529
|
}
|
|
31530
31530
|
Lr.prototype.set = function(e) {
|
|
31531
31531
|
return sx(this.options, e), this;
|
|
@@ -31619,7 +31619,7 @@ W5 || (W5 = function(t) {
|
|
|
31619
31619
|
r[o - 1] = arguments[o];
|
|
31620
31620
|
return new t(...r);
|
|
31621
31621
|
});
|
|
31622
|
-
const Lg = Mo(Array.prototype.forEach), che = Mo(Array.prototype.lastIndexOf), AA = Mo(Array.prototype.pop), $h = Mo(Array.prototype.push), dhe = Mo(Array.prototype.splice), Zm = Mo(String.prototype.toLowerCase), Bv = Mo(String.prototype.toString), Nv = Mo(String.prototype.match), Hh = Mo(String.prototype.replace), phe = Mo(String.prototype.indexOf), hhe = Mo(String.prototype.trim), as = Mo(Object.prototype.hasOwnProperty),
|
|
31622
|
+
const Lg = Mo(Array.prototype.forEach), che = Mo(Array.prototype.lastIndexOf), AA = Mo(Array.prototype.pop), $h = Mo(Array.prototype.push), dhe = Mo(Array.prototype.splice), Zm = Mo(String.prototype.toLowerCase), Bv = Mo(String.prototype.toString), Nv = Mo(String.prototype.match), Hh = Mo(String.prototype.replace), phe = Mo(String.prototype.indexOf), hhe = Mo(String.prototype.trim), as = Mo(Object.prototype.hasOwnProperty), bo = Mo(RegExp.prototype.test), Wh = fhe(TypeError);
|
|
31623
31623
|
function Mo(e) {
|
|
31624
31624
|
return function(t) {
|
|
31625
31625
|
t instanceof RegExp && (t.lastIndex = 0);
|
|
@@ -31942,10 +31942,10 @@ function NP() {
|
|
|
31942
31942
|
if (ht(R.uponSanitizeElement, we, {
|
|
31943
31943
|
tagName: at,
|
|
31944
31944
|
allowedTags: P
|
|
31945
|
-
}), B && we.hasChildNodes() && !ot(we.firstElementChild) &&
|
|
31945
|
+
}), B && we.hasChildNodes() && !ot(we.firstElementChild) && bo(/<[/\w!]/g, we.innerHTML) && bo(/<[/\w!]/g, we.textContent) || we.nodeType === Vh.progressingInstruction || B && we.nodeType === Vh.comment && bo(/<[/\w]/g, we.data))
|
|
31946
31946
|
return cn(we), !0;
|
|
31947
31947
|
if (!(ee.tagCheck instanceof Function && ee.tagCheck(at)) && (!P[at] || Y[at])) {
|
|
31948
|
-
if (!Y[at] && $t(at) && (oe.tagNameCheck instanceof RegExp &&
|
|
31948
|
+
if (!Y[at] && $t(at) && (oe.tagNameCheck instanceof RegExp && bo(oe.tagNameCheck, at) || oe.tagNameCheck instanceof Function && oe.tagNameCheck(at)))
|
|
31949
31949
|
return !1;
|
|
31950
31950
|
if (de && !W[at]) {
|
|
31951
31951
|
const Jt = x(we) || we.parentNode, Qe = y(we) || we.childNodes;
|
|
@@ -31959,7 +31959,7 @@ function NP() {
|
|
|
31959
31959
|
}
|
|
31960
31960
|
return cn(we), !0;
|
|
31961
31961
|
}
|
|
31962
|
-
return we instanceof l && !Dn(we) || (at === "noscript" || at === "noembed" || at === "noframes") &&
|
|
31962
|
+
return we instanceof l && !Dn(we) || (at === "noscript" || at === "noembed" || at === "noframes") && bo(/<\/no(script|embed|frames)/i, we.innerHTML) ? (cn(we), !0) : (ue && we.nodeType === Vh.text && (Pe = we.textContent, Lg([_, M, E], (Jt) => {
|
|
31963
31963
|
Pe = Hh(Pe, Jt, " ");
|
|
31964
31964
|
}), we.textContent !== Pe && ($h(t.removed, {
|
|
31965
31965
|
element: we.cloneNode()
|
|
@@ -31967,22 +31967,22 @@ function NP() {
|
|
|
31967
31967
|
}, on = function(we, Pe, at) {
|
|
31968
31968
|
if (De && (Pe === "id" || Pe === "name") && (at in n || at in Rt))
|
|
31969
31969
|
return !1;
|
|
31970
|
-
if (!(j && !re[Pe] &&
|
|
31971
|
-
if (!(ie &&
|
|
31970
|
+
if (!(j && !re[Pe] && bo(S, Pe))) {
|
|
31971
|
+
if (!(ie && bo(T, Pe))) {
|
|
31972
31972
|
if (!(ee.attributeCheck instanceof Function && ee.attributeCheck(Pe, we))) {
|
|
31973
31973
|
if (!K[Pe] || re[Pe]) {
|
|
31974
31974
|
if (
|
|
31975
31975
|
// First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
|
31976
31976
|
// b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
31977
31977
|
// and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
|
|
31978
|
-
!($t(we) && (oe.tagNameCheck instanceof RegExp &&
|
|
31978
|
+
!($t(we) && (oe.tagNameCheck instanceof RegExp && bo(oe.tagNameCheck, we) || oe.tagNameCheck instanceof Function && oe.tagNameCheck(we)) && (oe.attributeNameCheck instanceof RegExp && bo(oe.attributeNameCheck, Pe) || oe.attributeNameCheck instanceof Function && oe.attributeNameCheck(Pe, we)) || // Alternative, second condition checks if it's an `is`-attribute, AND
|
|
31979
31979
|
// the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
31980
|
-
Pe === "is" && oe.allowCustomizedBuiltInElements && (oe.tagNameCheck instanceof RegExp &&
|
|
31980
|
+
Pe === "is" && oe.allowCustomizedBuiltInElements && (oe.tagNameCheck instanceof RegExp && bo(oe.tagNameCheck, at) || oe.tagNameCheck instanceof Function && oe.tagNameCheck(at)))
|
|
31981
31981
|
) return !1;
|
|
31982
31982
|
} else if (!ge[Pe]) {
|
|
31983
|
-
if (!
|
|
31983
|
+
if (!bo(q, Hh(at, z, ""))) {
|
|
31984
31984
|
if (!((Pe === "src" || Pe === "xlink:href" || Pe === "href") && we !== "script" && phe(at, "data:") === 0 && pe[we])) {
|
|
31985
|
-
if (!(X && !
|
|
31985
|
+
if (!(X && !bo(U, Hh(at, z, "")))) {
|
|
31986
31986
|
if (at)
|
|
31987
31987
|
return !1;
|
|
31988
31988
|
}
|
|
@@ -32017,7 +32017,7 @@ function NP() {
|
|
|
32017
32017
|
value: Er
|
|
32018
32018
|
} = Qe, Is = Le(dn), Lh = Er;
|
|
32019
32019
|
let Gn = dn === "value" ? Lh : hhe(Lh);
|
|
32020
|
-
if (at.attrName = Is, at.attrValue = Gn, at.keepAttr = !0, at.forceKeepAttr = void 0, ht(R.uponSanitizeAttribute, we, at), Gn = at.attrValue, me && (Is === "id" || Is === "name") && (yn(dn, we), Gn = ce + Gn), B &&
|
|
32020
|
+
if (at.attrName = Is, at.attrValue = Gn, at.keepAttr = !0, at.forceKeepAttr = void 0, ht(R.uponSanitizeAttribute, we, at), Gn = at.attrValue, me && (Is === "id" || Is === "name") && (yn(dn, we), Gn = ce + Gn), B && bo(/((--!?|])>)|<\/(style|title|textarea)/i, Gn)) {
|
|
32021
32021
|
yn(dn, we);
|
|
32022
32022
|
continue;
|
|
32023
32023
|
}
|
|
@@ -32031,7 +32031,7 @@ function NP() {
|
|
|
32031
32031
|
yn(dn, we);
|
|
32032
32032
|
continue;
|
|
32033
32033
|
}
|
|
32034
|
-
if (!te &&
|
|
32034
|
+
if (!te && bo(/\/>/i, Gn)) {
|
|
32035
32035
|
yn(dn, we);
|
|
32036
32036
|
continue;
|
|
32037
32037
|
}
|
|
@@ -32109,7 +32109,7 @@ function NP() {
|
|
|
32109
32109
|
return (K.shadowroot || K.shadowrootmode) && (Qe = N.call(r, Qe, !0)), Qe;
|
|
32110
32110
|
}
|
|
32111
32111
|
let tr = Q ? Pe.outerHTML : Pe.innerHTML;
|
|
32112
|
-
return Q && P["!doctype"] && Pe.ownerDocument && Pe.ownerDocument.doctype && Pe.ownerDocument.doctype.name &&
|
|
32112
|
+
return Q && P["!doctype"] && Pe.ownerDocument && Pe.ownerDocument.doctype && Pe.ownerDocument.doctype.name && bo(BP, Pe.ownerDocument.doctype.name) && (tr = "<!DOCTYPE " + Pe.ownerDocument.doctype.name + `>
|
|
32113
32113
|
` + tr), ue && Lg([_, M, E], (Er) => {
|
|
32114
32114
|
tr = Hh(tr, Er, " ");
|
|
32115
32115
|
}), v && Fe ? v.createHTML(tr) : tr;
|
|
@@ -32415,8 +32415,8 @@ function zP(e, t) {
|
|
|
32415
32415
|
return e.getElementsByTagName(n).length;
|
|
32416
32416
|
});
|
|
32417
32417
|
}
|
|
32418
|
-
var
|
|
32419
|
-
|
|
32418
|
+
var fo = {};
|
|
32419
|
+
fo.paragraph = {
|
|
32420
32420
|
filter: "p",
|
|
32421
32421
|
replacement: function(e) {
|
|
32422
32422
|
return `
|
|
@@ -32426,14 +32426,14 @@ go.paragraph = {
|
|
|
32426
32426
|
`;
|
|
32427
32427
|
}
|
|
32428
32428
|
};
|
|
32429
|
-
|
|
32429
|
+
fo.lineBreak = {
|
|
32430
32430
|
filter: "br",
|
|
32431
32431
|
replacement: function(e, t, n) {
|
|
32432
32432
|
return n.br + `
|
|
32433
32433
|
`;
|
|
32434
32434
|
}
|
|
32435
32435
|
};
|
|
32436
|
-
|
|
32436
|
+
fo.heading = {
|
|
32437
32437
|
filter: ["h1", "h2", "h3", "h4", "h5", "h6"],
|
|
32438
32438
|
replacement: function(e, t, n) {
|
|
32439
32439
|
var r = Number(t.nodeName.charAt(1));
|
|
@@ -32453,7 +32453,7 @@ go.heading = {
|
|
|
32453
32453
|
`;
|
|
32454
32454
|
}
|
|
32455
32455
|
};
|
|
32456
|
-
|
|
32456
|
+
fo.blockquote = {
|
|
32457
32457
|
filter: "blockquote",
|
|
32458
32458
|
replacement: function(e) {
|
|
32459
32459
|
return e = IP(e).replace(/^/gm, "> "), `
|
|
@@ -32463,7 +32463,7 @@ go.blockquote = {
|
|
|
32463
32463
|
`;
|
|
32464
32464
|
}
|
|
32465
32465
|
};
|
|
32466
|
-
|
|
32466
|
+
fo.list = {
|
|
32467
32467
|
filter: ["ul", "ol"],
|
|
32468
32468
|
replacement: function(e, t) {
|
|
32469
32469
|
var n = t.parentNode;
|
|
@@ -32475,7 +32475,7 @@ go.list = {
|
|
|
32475
32475
|
`;
|
|
32476
32476
|
}
|
|
32477
32477
|
};
|
|
32478
|
-
|
|
32478
|
+
fo.listItem = {
|
|
32479
32479
|
filter: "li",
|
|
32480
32480
|
replacement: function(e, t, n) {
|
|
32481
32481
|
var r = n.bulletListMarker + " ", o = t.parentNode;
|
|
@@ -32490,7 +32490,7 @@ go.listItem = {
|
|
|
32490
32490
|
` : "");
|
|
32491
32491
|
}
|
|
32492
32492
|
};
|
|
32493
|
-
|
|
32493
|
+
fo.indentedCodeBlock = {
|
|
32494
32494
|
filter: function(e, t) {
|
|
32495
32495
|
return t.codeBlockStyle === "indented" && e.nodeName === "PRE" && e.firstChild && e.firstChild.nodeName === "CODE";
|
|
32496
32496
|
},
|
|
@@ -32503,7 +32503,7 @@ go.indentedCodeBlock = {
|
|
|
32503
32503
|
`;
|
|
32504
32504
|
}
|
|
32505
32505
|
};
|
|
32506
|
-
|
|
32506
|
+
fo.fencedCodeBlock = {
|
|
32507
32507
|
filter: function(e, t) {
|
|
32508
32508
|
return t.codeBlockStyle === "fenced" && e.nodeName === "PRE" && e.firstChild && e.firstChild.nodeName === "CODE";
|
|
32509
32509
|
},
|
|
@@ -32520,7 +32520,7 @@ go.fencedCodeBlock = {
|
|
|
32520
32520
|
`;
|
|
32521
32521
|
}
|
|
32522
32522
|
};
|
|
32523
|
-
|
|
32523
|
+
fo.horizontalRule = {
|
|
32524
32524
|
filter: "hr",
|
|
32525
32525
|
replacement: function(e, t, n) {
|
|
32526
32526
|
return `
|
|
@@ -32530,7 +32530,7 @@ go.horizontalRule = {
|
|
|
32530
32530
|
`;
|
|
32531
32531
|
}
|
|
32532
32532
|
};
|
|
32533
|
-
|
|
32533
|
+
fo.inlineLink = {
|
|
32534
32534
|
filter: function(e, t) {
|
|
32535
32535
|
return t.linkStyle === "inlined" && e.nodeName === "A" && e.getAttribute("href");
|
|
32536
32536
|
},
|
|
@@ -32541,7 +32541,7 @@ go.inlineLink = {
|
|
|
32541
32541
|
return r && (r = ' "' + r.replace(/"/g, '\\"') + '"'), "[" + e + "](" + n + r + ")";
|
|
32542
32542
|
}
|
|
32543
32543
|
};
|
|
32544
|
-
|
|
32544
|
+
fo.referenceLink = {
|
|
32545
32545
|
filter: function(e, t) {
|
|
32546
32546
|
return t.linkStyle === "referenced" && e.nodeName === "A" && e.getAttribute("href");
|
|
32547
32547
|
},
|
|
@@ -32573,19 +32573,19 @@ go.referenceLink = {
|
|
|
32573
32573
|
`, this.references = []), t;
|
|
32574
32574
|
}
|
|
32575
32575
|
};
|
|
32576
|
-
|
|
32576
|
+
fo.emphasis = {
|
|
32577
32577
|
filter: ["em", "i"],
|
|
32578
32578
|
replacement: function(e, t, n) {
|
|
32579
32579
|
return e.trim() ? n.emDelimiter + e + n.emDelimiter : "";
|
|
32580
32580
|
}
|
|
32581
32581
|
};
|
|
32582
|
-
|
|
32582
|
+
fo.strong = {
|
|
32583
32583
|
filter: ["strong", "b"],
|
|
32584
32584
|
replacement: function(e, t, n) {
|
|
32585
32585
|
return e.trim() ? n.strongDelimiter + e + n.strongDelimiter : "";
|
|
32586
32586
|
}
|
|
32587
32587
|
};
|
|
32588
|
-
|
|
32588
|
+
fo.code = {
|
|
32589
32589
|
filter: function(e) {
|
|
32590
32590
|
var t = e.previousSibling || e.nextSibling, n = e.parentNode.nodeName === "PRE" && !t;
|
|
32591
32591
|
return e.nodeName === "CODE" && !n;
|
|
@@ -32597,7 +32597,7 @@ go.code = {
|
|
|
32597
32597
|
return n + t + e + t + n;
|
|
32598
32598
|
}
|
|
32599
32599
|
};
|
|
32600
|
-
|
|
32600
|
+
fo.image = {
|
|
32601
32601
|
filter: "img",
|
|
32602
32602
|
replacement: function(e, t) {
|
|
32603
32603
|
var n = Y2(t.getAttribute("alt")), r = t.getAttribute("src") || "", o = Y2(t.getAttribute("title")), i = o ? ' "' + o + '"' : "";
|
|
@@ -32796,7 +32796,7 @@ var e0e = Array.prototype.reduce, t0e = [
|
|
|
32796
32796
|
function X2(e) {
|
|
32797
32797
|
if (!(this instanceof X2)) return new X2(e);
|
|
32798
32798
|
var t = {
|
|
32799
|
-
rules:
|
|
32799
|
+
rules: fo,
|
|
32800
32800
|
headingStyle: "setext",
|
|
32801
32801
|
hr: "* * *",
|
|
32802
32802
|
bulletListMarker: "*",
|
|
@@ -39853,7 +39853,7 @@ const N1e = {
|
|
|
39853
39853
|
initial: { opacity: 0 },
|
|
39854
39854
|
animate: { opacity: 1 },
|
|
39855
39855
|
exit: { opacity: 0 }
|
|
39856
|
-
},
|
|
39856
|
+
}, wo = (e, t) => /* @__PURE__ */ F.jsx(
|
|
39857
39857
|
ch.div,
|
|
39858
39858
|
{
|
|
39859
39859
|
variants: O1e,
|
|
@@ -40202,7 +40202,7 @@ const J1e = (e) => new Z1e().digest(e), Q1e = /(.*)(--[a-zA-Z0-9+/=]{8})$/, ege
|
|
|
40202
40202
|
function tge(e) {
|
|
40203
40203
|
const t = e.toArray(), n = (r) => {
|
|
40204
40204
|
let o;
|
|
40205
|
-
if (r instanceof
|
|
40205
|
+
if (r instanceof uo)
|
|
40206
40206
|
o = r.toDelta().map(
|
|
40207
40207
|
/** @param {any} d */
|
|
40208
40208
|
(s) => {
|
|
@@ -40658,7 +40658,7 @@ ${R.getHTML()}`
|
|
|
40658
40658
|
tool: e,
|
|
40659
40659
|
isLoading: t,
|
|
40660
40660
|
renderContent: n
|
|
40661
|
-
}) => t ?
|
|
40661
|
+
}) => t ? wo(
|
|
40662
40662
|
/* @__PURE__ */ F.jsx(nn, { className: "w-[36px] h-[36px] rounded-sm" }),
|
|
40663
40663
|
e.title + "skeleton"
|
|
40664
40664
|
) : /* @__PURE__ */ F.jsx(
|
|
@@ -40788,7 +40788,7 @@ ${R.getHTML()}`
|
|
|
40788
40788
|
};
|
|
40789
40789
|
return /* @__PURE__ */ F.jsx(dh, { mode: "wait", children: /* @__PURE__ */ F.jsxs("div", { className: "w-full bg-transparent py-2 px-4 items-center h-9 flex justify-between relative", children: [
|
|
40790
40790
|
/* @__PURE__ */ F.jsxs("div", { className: "flex h-9 items-center gap-1 justify-center", children: [
|
|
40791
|
-
h ?
|
|
40791
|
+
h ? wo(
|
|
40792
40792
|
/* @__PURE__ */ F.jsx(nn, { className: "w-[36px] h-[36px] rounded-sm" }),
|
|
40793
40793
|
"markdown-transition"
|
|
40794
40794
|
) : $o(
|
|
@@ -40809,7 +40809,7 @@ ${R.getHTML()}`
|
|
|
40809
40809
|
"markdown-dropdown-transition"
|
|
40810
40810
|
),
|
|
40811
40811
|
/* @__PURE__ */ F.jsx("div", { className: "w-[1px] h-4 vertical-divider mx-1" }),
|
|
40812
|
-
/* @__PURE__ */ F.jsx("div", { className: "flex gap-1 justify-center items-center", children: k.map((j, X) => j ? /* @__PURE__ */ F.jsx(an, { text: j.title, children: h ?
|
|
40812
|
+
/* @__PURE__ */ F.jsx("div", { className: "flex gap-1 justify-center items-center", children: k.map((j, X) => j ? /* @__PURE__ */ F.jsx(an, { text: j.title, children: h ? wo(
|
|
40813
40813
|
/* @__PURE__ */ F.jsx(
|
|
40814
40814
|
nn,
|
|
40815
40815
|
{
|
|
@@ -40837,7 +40837,7 @@ ${R.getHTML()}`
|
|
|
40837
40837
|
},
|
|
40838
40838
|
X
|
|
40839
40839
|
)) }),
|
|
40840
|
-
h ?
|
|
40840
|
+
h ? wo(
|
|
40841
40841
|
/* @__PURE__ */ F.jsx(nn, { className: "w-[80px] h-[36px] rounded-sm" }),
|
|
40842
40842
|
"zoom-skeleton-transition"
|
|
40843
40843
|
) : $o(
|
|
@@ -40879,7 +40879,7 @@ ${R.getHTML()}`
|
|
|
40879
40879
|
"zoom-dropdown-transition"
|
|
40880
40880
|
),
|
|
40881
40881
|
/* @__PURE__ */ F.jsx("div", { className: "w-[1px] h-4 vertical-divider mx-1" }),
|
|
40882
|
-
h ?
|
|
40882
|
+
h ? wo(
|
|
40883
40883
|
/* @__PURE__ */ F.jsx(nn, { className: "w-[96px] h-[36px] rounded-sm" }),
|
|
40884
40884
|
"font-family-skeleton"
|
|
40885
40885
|
) : $o(
|
|
@@ -40928,7 +40928,7 @@ ${R.getHTML()}`
|
|
|
40928
40928
|
"font-dropdown-transiton"
|
|
40929
40929
|
),
|
|
40930
40930
|
/* @__PURE__ */ F.jsx("div", { className: "w-[1px] h-4 vertical-divider mx-1" }),
|
|
40931
|
-
h ?
|
|
40931
|
+
h ? wo(
|
|
40932
40932
|
/* @__PURE__ */ F.jsx(nn, { className: "w-[112px] h-[36px] rounded-sm" }),
|
|
40933
40933
|
"heading-skeleton"
|
|
40934
40934
|
) : $o(
|
|
@@ -40966,7 +40966,7 @@ ${R.getHTML()}`
|
|
|
40966
40966
|
"heading-dropdown"
|
|
40967
40967
|
),
|
|
40968
40968
|
/* @__PURE__ */ F.jsx("div", { className: "w-[1px] h-4 vertical-divider mx-1" }),
|
|
40969
|
-
h ?
|
|
40969
|
+
h ? wo(
|
|
40970
40970
|
/* @__PURE__ */ F.jsx(nn, { className: "w-[112px] h-[36px] rounded-sm" }),
|
|
40971
40971
|
"font-size-skeleton"
|
|
40972
40972
|
) : $o(
|
|
@@ -41026,7 +41026,7 @@ ${R.getHTML()}`
|
|
|
41026
41026
|
}
|
|
41027
41027
|
return j ? j.group === "More" && (j.notVisible ?? 0) >= te ? w.findIndex(
|
|
41028
41028
|
(Q) => (Q == null ? void 0 : Q.group) === "More" && ((Q == null ? void 0 : Q.notVisible) ?? 0) >= te
|
|
41029
|
-
) === X ? h ?
|
|
41029
|
+
) === X ? h ? wo(
|
|
41030
41030
|
/* @__PURE__ */ F.jsx(nn, { className: "w-[36px] h-[36px] rounded-sm" }),
|
|
41031
41031
|
j.title + "loader"
|
|
41032
41032
|
) : $o(
|
|
@@ -41079,7 +41079,7 @@ ${R.getHTML()}`
|
|
|
41079
41079
|
tool: j
|
|
41080
41080
|
},
|
|
41081
41081
|
j.title
|
|
41082
|
-
) : h ?
|
|
41082
|
+
) : h ? wo(
|
|
41083
41083
|
/* @__PURE__ */ F.jsx(nn, { className: "w-[36px] h-[36px] rounded-sm" }),
|
|
41084
41084
|
j.title + "skeleton"
|
|
41085
41085
|
) : $o(
|
|
@@ -41103,7 +41103,7 @@ ${R.getHTML()}`
|
|
|
41103
41103
|
] }),
|
|
41104
41104
|
/* @__PURE__ */ F.jsxs("div", { className: "flex items-center gap-1", children: [
|
|
41105
41105
|
/* @__PURE__ */ F.jsx("div", { className: "w-[1px] h-4 vertical-divider mx-2" }),
|
|
41106
|
-
h ?
|
|
41106
|
+
h ? wo(
|
|
41107
41107
|
/* @__PURE__ */ F.jsx(nn, { className: "w-[36px] h-[36px] rounded-sm" }),
|
|
41108
41108
|
"chevronUp-skeleton"
|
|
41109
41109
|
) : $o(
|
|
@@ -41580,7 +41580,7 @@ const Sz = (e, t, n, r, o, i) => {
|
|
|
41580
41580
|
}
|
|
41581
41581
|
return s;
|
|
41582
41582
|
}, bge = (e, t) => {
|
|
41583
|
-
const n = new
|
|
41583
|
+
const n = new uo(), r = e.map((o) => ({
|
|
41584
41584
|
// @ts-ignore
|
|
41585
41585
|
insert: o.text,
|
|
41586
41586
|
attributes: jz(o.marks, t)
|
|
@@ -41643,7 +41643,7 @@ const Sz = (e, t, n, r, o, i) => {
|
|
|
41643
41643
|
(r, o) => Vf(r, n[o])
|
|
41644
41644
|
);
|
|
41645
41645
|
}
|
|
41646
|
-
return e instanceof
|
|
41646
|
+
return e instanceof uo && t instanceof Array && Tz(e, t);
|
|
41647
41647
|
}, sb = (e, t) => e === t || e instanceof Array && t instanceof Array && e.length === t.length && e.every(
|
|
41648
41648
|
(n, r) => t[r] === n
|
|
41649
41649
|
), tS = (e, t, n) => {
|
|
@@ -41738,7 +41738,7 @@ const Sz = (e, t, n, r, o, i) => {
|
|
|
41738
41738
|
e.transact(() => {
|
|
41739
41739
|
for (; a - u - c > 0 && i - u - c > 0; ) {
|
|
41740
41740
|
const p = s[u], h = o[u], f = s[a - c - 1], g = o[i - c - 1];
|
|
41741
|
-
if (p instanceof
|
|
41741
|
+
if (p instanceof uo && h instanceof Array)
|
|
41742
41742
|
Tz(p, h) || vge(p, h, r), u += 1;
|
|
41743
41743
|
else {
|
|
41744
41744
|
let m = p instanceof Mr && J5(p, h), b = f instanceof Mr && J5(f, g);
|
|
@@ -41778,7 +41778,7 @@ const Sz = (e, t, n, r, o, i) => {
|
|
|
41778
41778
|
}
|
|
41779
41779
|
}
|
|
41780
41780
|
const d = a - u - c;
|
|
41781
|
-
if (a === 1 && i === 0 && s[0] instanceof
|
|
41781
|
+
if (a === 1 && i === 0 && s[0] instanceof uo ? (r.mapping.delete(s[0]), s[0].delete(0, s[0].length)) : d > 0 && (t.slice(u, u + d).forEach((p) => r.mapping.delete(p)), t.delete(u, d)), u + c < i) {
|
|
41782
41782
|
const p = [];
|
|
41783
41783
|
for (let h = u; h < i - c; h++)
|
|
41784
41784
|
p.push(X5(o[h], r));
|
|
@@ -41808,7 +41808,7 @@ const Dge = () => {
|
|
|
41808
41808
|
t._first.content.type
|
|
41809
41809
|
);
|
|
41810
41810
|
for (; r !== null && t !== r; ) {
|
|
41811
|
-
if (r instanceof
|
|
41811
|
+
if (r instanceof uo) {
|
|
41812
41812
|
if (r._length >= e)
|
|
41813
41813
|
return Fv(r, e, -1);
|
|
41814
41814
|
if (e -= r._length, r._item !== null && r._item.next !== null)
|
|
@@ -41855,7 +41855,7 @@ const Dge = () => {
|
|
|
41855
41855
|
}
|
|
41856
41856
|
if (r === null)
|
|
41857
41857
|
throw Bo();
|
|
41858
|
-
if (e === 0 && r.constructor !==
|
|
41858
|
+
if (e === 0 && r.constructor !== uo && r !== t)
|
|
41859
41859
|
return Ege(r._item.parent, r._item);
|
|
41860
41860
|
}
|
|
41861
41861
|
return Fv(t, t._length, -1);
|
|
@@ -41867,7 +41867,7 @@ const Dge = () => {
|
|
|
41867
41867
|
if (o === null || o.type !== t && !Mf(t, o.type._item))
|
|
41868
41868
|
return null;
|
|
41869
41869
|
let i = o.type, s = 0;
|
|
41870
|
-
if (i.constructor ===
|
|
41870
|
+
if (i.constructor === uo)
|
|
41871
41871
|
s = o.index;
|
|
41872
41872
|
else if (i._item === null || !i._item.deleted) {
|
|
41873
41873
|
let a = i._first, l = 0;
|
|
@@ -41877,7 +41877,7 @@ const Dge = () => {
|
|
|
41877
41877
|
/** @type {Y.ContentType} */
|
|
41878
41878
|
a.content.type
|
|
41879
41879
|
);
|
|
41880
|
-
l++, u instanceof
|
|
41880
|
+
l++, u instanceof uo ? s += u._length : s += /** @type {any} */
|
|
41881
41881
|
r.get(u).nodeSize;
|
|
41882
41882
|
}
|
|
41883
41883
|
a = /** @type {Y.Item} */
|
|
@@ -41900,7 +41900,7 @@ const Dge = () => {
|
|
|
41900
41900
|
);
|
|
41901
41901
|
if (u === i)
|
|
41902
41902
|
break;
|
|
41903
|
-
l.deleted || (u instanceof
|
|
41903
|
+
l.deleted || (u instanceof uo ? s += u._length : s += /** @type {any} */
|
|
41904
41904
|
r.get(u).nodeSize), l = l.right;
|
|
41905
41905
|
}
|
|
41906
41906
|
}
|
|
@@ -41912,7 +41912,7 @@ const Dge = () => {
|
|
|
41912
41912
|
function Cge(e) {
|
|
41913
41913
|
const t = e.toArray(), n = (r) => {
|
|
41914
41914
|
let o;
|
|
41915
|
-
if (r instanceof
|
|
41915
|
+
if (r instanceof uo)
|
|
41916
41916
|
o = r.toDelta().map(
|
|
41917
41917
|
/** @param {any} d */
|
|
41918
41918
|
(s) => {
|
|
@@ -42962,7 +42962,7 @@ Vo.prototype = {
|
|
|
42962
42962
|
return o.j[e] = s, s;
|
|
42963
42963
|
}
|
|
42964
42964
|
};
|
|
42965
|
-
const Pt = (e, t, n, r, o) => e.ta(t, n, r, o), Yn = (e, t, n, r, o) => e.tr(t, n, r, o), rS = (e, t, n, r, o) => e.ts(t, n, r, o), qe = (e, t, n, r, o) => e.tt(t, n, r, o), Wa = "WORD", rw = "UWORD", Lz = "ASCIINUMERICAL", Uz = "ALPHANUMERICAL", Gf = "LOCALHOST", ow = "TLD", iw = "UTLD", t2 = "SCHEME", Qd = "SLASH_SCHEME", p8 = "NUM", sw = "WS", h8 = "NL", U0 = "OPENBRACE", P0 = "CLOSEBRACE", ub = "OPENBRACKET", cb = "CLOSEBRACKET", db = "OPENPAREN", pb = "CLOSEPAREN", hb = "OPENANGLEBRACKET", fb = "CLOSEANGLEBRACKET", gb = "FULLWIDTHLEFTPAREN", mb = "FULLWIDTHRIGHTPAREN", bb = "LEFTCORNERBRACKET", yb = "RIGHTCORNERBRACKET", xb = "LEFTWHITECORNERBRACKET", vb = "RIGHTWHITECORNERBRACKET", Fb = "FULLWIDTHLESSTHAN", wb = "FULLWIDTHGREATERTHAN", Db = "AMPERSAND", kb = "APOSTROPHE", Eb = "ASTERISK", eu = "AT", Cb = "BACKSLASH", _b = "BACKTICK", Ab = "CARET", au = "COLON", f8 = "COMMA", Sb = "DOLLAR", Hs = "DOT", Tb = "EQUALS", g8 = "EXCLAMATION",
|
|
42965
|
+
const Pt = (e, t, n, r, o) => e.ta(t, n, r, o), Yn = (e, t, n, r, o) => e.tr(t, n, r, o), rS = (e, t, n, r, o) => e.ts(t, n, r, o), qe = (e, t, n, r, o) => e.tt(t, n, r, o), Wa = "WORD", rw = "UWORD", Lz = "ASCIINUMERICAL", Uz = "ALPHANUMERICAL", Gf = "LOCALHOST", ow = "TLD", iw = "UTLD", t2 = "SCHEME", Qd = "SLASH_SCHEME", p8 = "NUM", sw = "WS", h8 = "NL", U0 = "OPENBRACE", P0 = "CLOSEBRACE", ub = "OPENBRACKET", cb = "CLOSEBRACKET", db = "OPENPAREN", pb = "CLOSEPAREN", hb = "OPENANGLEBRACKET", fb = "CLOSEANGLEBRACKET", gb = "FULLWIDTHLEFTPAREN", mb = "FULLWIDTHRIGHTPAREN", bb = "LEFTCORNERBRACKET", yb = "RIGHTCORNERBRACKET", xb = "LEFTWHITECORNERBRACKET", vb = "RIGHTWHITECORNERBRACKET", Fb = "FULLWIDTHLESSTHAN", wb = "FULLWIDTHGREATERTHAN", Db = "AMPERSAND", kb = "APOSTROPHE", Eb = "ASTERISK", eu = "AT", Cb = "BACKSLASH", _b = "BACKTICK", Ab = "CARET", au = "COLON", f8 = "COMMA", Sb = "DOLLAR", Hs = "DOT", Tb = "EQUALS", g8 = "EXCLAMATION", Ni = "HYPHEN", z0 = "PERCENT", jb = "PIPE", Bb = "PLUS", Nb = "POUND", $0 = "QUERY", m8 = "QUOTE", Pz = "FULLWIDTHMIDDLEDOT", b8 = "SEMI", Ws = "SLASH", H0 = "TILDE", Mb = "UNDERSCORE", zz = "EMOJI", Ob = "SYM";
|
|
42966
42966
|
var $z = /* @__PURE__ */ Object.freeze({
|
|
42967
42967
|
__proto__: null,
|
|
42968
42968
|
ALPHANUMERICAL: Uz,
|
|
@@ -42990,7 +42990,7 @@ var $z = /* @__PURE__ */ Object.freeze({
|
|
|
42990
42990
|
FULLWIDTHLESSTHAN: Fb,
|
|
42991
42991
|
FULLWIDTHMIDDLEDOT: Pz,
|
|
42992
42992
|
FULLWIDTHRIGHTPAREN: mb,
|
|
42993
|
-
HYPHEN:
|
|
42993
|
+
HYPHEN: Ni,
|
|
42994
42994
|
LEFTCORNERBRACKET: bb,
|
|
42995
42995
|
LEFTWHITECORNERBRACKET: xb,
|
|
42996
42996
|
LOCALHOST: Gf,
|
|
@@ -43028,7 +43028,7 @@ function hme(e = []) {
|
|
|
43028
43028
|
const t = {};
|
|
43029
43029
|
Vo.groups = t;
|
|
43030
43030
|
const n = new Vo();
|
|
43031
|
-
$g == null && ($g = iS(ime)), Hg == null && (Hg = iS(sme)), qe(n, "'", kb), qe(n, "{", U0), qe(n, "}", P0), qe(n, "[", ub), qe(n, "]", cb), qe(n, "(", db), qe(n, ")", pb), qe(n, "<", hb), qe(n, ">", fb), qe(n, "(", gb), qe(n, ")", mb), qe(n, "「", bb), qe(n, "」", yb), qe(n, "『", xb), qe(n, "』", vb), qe(n, "<", Fb), qe(n, ">", wb), qe(n, "&", Db), qe(n, "*", Eb), qe(n, "@", eu), qe(n, "`", _b), qe(n, "^", Ab), qe(n, ":", au), qe(n, ",", f8), qe(n, "$", Sb), qe(n, ".", Hs), qe(n, "=", Tb), qe(n, "!", g8), qe(n, "-",
|
|
43031
|
+
$g == null && ($g = iS(ime)), Hg == null && (Hg = iS(sme)), qe(n, "'", kb), qe(n, "{", U0), qe(n, "}", P0), qe(n, "[", ub), qe(n, "]", cb), qe(n, "(", db), qe(n, ")", pb), qe(n, "<", hb), qe(n, ">", fb), qe(n, "(", gb), qe(n, ")", mb), qe(n, "「", bb), qe(n, "」", yb), qe(n, "『", xb), qe(n, "』", vb), qe(n, "<", Fb), qe(n, ">", wb), qe(n, "&", Db), qe(n, "*", Eb), qe(n, "@", eu), qe(n, "`", _b), qe(n, "^", Ab), qe(n, ":", au), qe(n, ",", f8), qe(n, "$", Sb), qe(n, ".", Hs), qe(n, "=", Tb), qe(n, "!", g8), qe(n, "-", Ni), qe(n, "%", z0), qe(n, "|", jb), qe(n, "+", Bb), qe(n, "#", Nb), qe(n, "?", $0), qe(n, '"', m8), qe(n, "/", Ws), qe(n, ";", b8), qe(n, "~", H0), qe(n, "_", Mb), qe(n, "\\", Cb), qe(n, "・", Pz);
|
|
43032
43032
|
const r = Yn(n, Ra, p8, {
|
|
43033
43033
|
[Q5]: !0
|
|
43034
43034
|
});
|
|
@@ -43380,38 +43380,38 @@ const aS = gx("email", {
|
|
|
43380
43380
|
const e = this.tk;
|
|
43381
43381
|
return e.length >= 2 && e[0].t !== Gf && e[1].t === au;
|
|
43382
43382
|
}
|
|
43383
|
-
}),
|
|
43383
|
+
}), Ti = (e) => new Vo(e);
|
|
43384
43384
|
function mme({
|
|
43385
43385
|
groups: e
|
|
43386
43386
|
}) {
|
|
43387
|
-
const t = e.domain.concat([Db, Eb, eu, Cb, _b, Ab, Sb, Tb,
|
|
43387
|
+
const t = e.domain.concat([Db, Eb, eu, Cb, _b, Ab, Sb, Tb, Ni, p8, z0, jb, Bb, Nb, Ws, Ob, H0, Mb]), n = [kb, au, f8, Hs, g8, z0, $0, m8, b8, hb, fb, U0, P0, cb, ub, db, pb, gb, mb, bb, yb, xb, vb, Fb, wb], r = [Db, kb, Eb, Cb, _b, Ab, Sb, Tb, Ni, U0, P0, z0, jb, Bb, Nb, $0, Ws, Ob, H0, Mb], o = Ti(), i = qe(o, H0);
|
|
43388
43388
|
Pt(i, r, i), Pt(i, e.domain, i);
|
|
43389
|
-
const s =
|
|
43389
|
+
const s = Ti(), a = Ti(), l = Ti();
|
|
43390
43390
|
Pt(o, e.domain, s), Pt(o, e.scheme, a), Pt(o, e.slashscheme, l), Pt(s, r, i), Pt(s, e.domain, s);
|
|
43391
43391
|
const u = qe(s, eu);
|
|
43392
43392
|
qe(i, eu, u), qe(a, eu, u), qe(l, eu, u);
|
|
43393
43393
|
const c = qe(i, Hs);
|
|
43394
43394
|
Pt(c, r, i), Pt(c, e.domain, i);
|
|
43395
|
-
const d =
|
|
43395
|
+
const d = Ti();
|
|
43396
43396
|
Pt(u, e.domain, d), Pt(d, e.domain, d);
|
|
43397
43397
|
const p = qe(d, Hs);
|
|
43398
43398
|
Pt(p, e.domain, d);
|
|
43399
|
-
const h =
|
|
43399
|
+
const h = Ti(aS);
|
|
43400
43400
|
Pt(p, e.tld, h), Pt(p, e.utld, h), qe(u, Gf, h);
|
|
43401
|
-
const f = qe(d,
|
|
43402
|
-
qe(f,
|
|
43401
|
+
const f = qe(d, Ni);
|
|
43402
|
+
qe(f, Ni, f), Pt(f, e.domain, d), Pt(h, e.domain, d), qe(h, Hs, p), qe(h, Ni, f);
|
|
43403
43403
|
const g = qe(h, au);
|
|
43404
43404
|
Pt(g, e.numeric, aS);
|
|
43405
|
-
const m = qe(s,
|
|
43406
|
-
qe(m,
|
|
43407
|
-
const y =
|
|
43408
|
-
Pt(b, e.tld, y), Pt(b, e.utld, y), Pt(y, e.domain, s), Pt(y, r, i), qe(y, Hs, b), qe(y,
|
|
43409
|
-
const x = qe(y, au), v =
|
|
43405
|
+
const m = qe(s, Ni), b = qe(s, Hs);
|
|
43406
|
+
qe(m, Ni, m), Pt(m, e.domain, s), Pt(b, r, i), Pt(b, e.domain, s);
|
|
43407
|
+
const y = Ti(Wg);
|
|
43408
|
+
Pt(b, e.tld, y), Pt(b, e.utld, y), Pt(y, e.domain, s), Pt(y, r, i), qe(y, Hs, b), qe(y, Ni, m), qe(y, eu, u);
|
|
43409
|
+
const x = qe(y, au), v = Ti(Wg);
|
|
43410
43410
|
Pt(x, e.numeric, v);
|
|
43411
|
-
const D =
|
|
43411
|
+
const D = Ti(Wg), w = Ti();
|
|
43412
43412
|
Pt(D, t, D), Pt(D, n, w), Pt(w, t, D), Pt(w, n, w), qe(y, Ws, D), qe(v, Ws, D);
|
|
43413
43413
|
const k = qe(a, au), C = qe(l, au), A = qe(C, Ws), N = qe(A, Ws);
|
|
43414
|
-
Pt(a, e.domain, s), qe(a, Hs, b), qe(a,
|
|
43414
|
+
Pt(a, e.domain, s), qe(a, Hs, b), qe(a, Ni, m), Pt(l, e.domain, s), qe(l, Hs, b), qe(l, Ni, m), Pt(k, e.domain, D), qe(k, Ws, D), qe(k, $0, D), Pt(N, e.domain, D), Pt(N, t, D), qe(N, Ws, D);
|
|
43415
43415
|
const R = [
|
|
43416
43416
|
[U0, P0],
|
|
43417
43417
|
// {}
|
|
@@ -43433,9 +43433,9 @@ function mme({
|
|
|
43433
43433
|
for (let _ = 0; _ < R.length; _++) {
|
|
43434
43434
|
const [M, E] = R[_], S = qe(D, M);
|
|
43435
43435
|
qe(w, M, S), qe(S, E, D);
|
|
43436
|
-
const T =
|
|
43436
|
+
const T = Ti(Wg);
|
|
43437
43437
|
Pt(S, t, T);
|
|
43438
|
-
const U =
|
|
43438
|
+
const U = Ti();
|
|
43439
43439
|
Pt(S, n), Pt(T, t, T), Pt(T, n, U), Pt(U, t, T), Pt(U, n, U), qe(T, E, D), qe(U, E, D);
|
|
43440
43440
|
}
|
|
43441
43441
|
return qe(o, Gf, y), qe(o, h8, gme), {
|
|
@@ -47699,10 +47699,10 @@ function dw(e, t) {
|
|
|
47699
47699
|
return e !== e && t !== t;
|
|
47700
47700
|
}
|
|
47701
47701
|
const Xa = /* @__PURE__ */ new WeakMap(), gu = () => {
|
|
47702
|
-
},
|
|
47702
|
+
}, ro = (
|
|
47703
47703
|
/*#__NOINLINE__*/
|
|
47704
47704
|
gu()
|
|
47705
|
-
), pw = Object, tn = (e) => e ===
|
|
47705
|
+
), pw = Object, tn = (e) => e === ro, Ys = (e) => typeof e == "function", Iu = (e, t) => ({
|
|
47706
47706
|
...e,
|
|
47707
47707
|
...t
|
|
47708
47708
|
}), C$ = (e) => Ys(e.then), a4 = {}, Kg = {}, _8 = "undefined", W1 = typeof window != _8, hw = typeof document != _8, Gye = W1 && "Deno" in window, Kye = () => W1 && typeof window.requestAnimationFrame != _8, _$ = (e, t) => {
|
|
@@ -47842,25 +47842,25 @@ async function A$(...e) {
|
|
|
47842
47842
|
return D;
|
|
47843
47843
|
} else k && A && u(w) && (s = !0, g({
|
|
47844
47844
|
data: M,
|
|
47845
|
-
_c:
|
|
47845
|
+
_c: ro
|
|
47846
47846
|
}));
|
|
47847
47847
|
if (s && !k)
|
|
47848
47848
|
if (Ys(s)) {
|
|
47849
47849
|
const E = s(D, M);
|
|
47850
47850
|
g({
|
|
47851
47851
|
data: E,
|
|
47852
|
-
error:
|
|
47853
|
-
_c:
|
|
47852
|
+
error: ro,
|
|
47853
|
+
_c: ro
|
|
47854
47854
|
});
|
|
47855
47855
|
} else
|
|
47856
47856
|
g({
|
|
47857
47857
|
data: D,
|
|
47858
|
-
error:
|
|
47859
|
-
_c:
|
|
47858
|
+
error: ro,
|
|
47859
|
+
_c: ro
|
|
47860
47860
|
});
|
|
47861
47861
|
if (b[h][1] = yw(), Promise.resolve(v()).then(() => {
|
|
47862
47862
|
g({
|
|
47863
|
-
_c:
|
|
47863
|
+
_c: ro
|
|
47864
47864
|
});
|
|
47865
47865
|
}), k) {
|
|
47866
47866
|
if (c) throw w;
|
|
@@ -47874,7 +47874,7 @@ const SS = (e, t) => {
|
|
|
47874
47874
|
e[n][0] && e[n][0](t);
|
|
47875
47875
|
}, ixe = (e, t) => {
|
|
47876
47876
|
if (!Xa.has(e)) {
|
|
47877
|
-
const n = Iu(exe, t), r = /* @__PURE__ */ Object.create(null), o = A$.bind(
|
|
47877
|
+
const n = Iu(exe, t), r = /* @__PURE__ */ Object.create(null), o = A$.bind(ro, e);
|
|
47878
47878
|
let i = gu;
|
|
47879
47879
|
const s = /* @__PURE__ */ Object.create(null), a = (c, d) => {
|
|
47880
47880
|
const p = s[c] || [];
|
|
@@ -47895,7 +47895,7 @@ const SS = (e, t) => {
|
|
|
47895
47895
|
l,
|
|
47896
47896
|
a
|
|
47897
47897
|
]), !Yf)) {
|
|
47898
|
-
const c = n.initFocus(setTimeout.bind(
|
|
47898
|
+
const c = n.initFocus(setTimeout.bind(ro, SS.bind(ro, r, D$))), d = n.initReconnect(setTimeout.bind(ro, SS.bind(ro, r, k$)));
|
|
47899
47899
|
i = () => {
|
|
47900
47900
|
c && c(), d && d(), Xa.delete(e);
|
|
47901
47901
|
};
|
|
@@ -48006,8 +48006,8 @@ const d4 = Et.use || // This extra generic is to avoid TypeScript mixing up the
|
|
|
48006
48006
|
}
|
|
48007
48007
|
}), p4 = {
|
|
48008
48008
|
dedupe: !0
|
|
48009
|
-
}, TS = Promise.resolve(
|
|
48010
|
-
const { cache: r, compare: o, suspense: i, fallbackData: s, revalidateOnMount: a, revalidateIfStale: l, refreshInterval: u, refreshWhenHidden: c, refreshWhenOffline: d, keepPreviousData: p } = n, [h, f, g, m] = Xa.get(r), [b, y] = A8(e), x = Ge(!1), v = Ge(!1), D = Ge(b), w = Ge(t), k = Ge(n), C = () => k.current, A = () => C().isVisible() && C().isOnline(), [N, R, _, M] = _$(r, b), E = Ge({}).current, S = tn(s) ? tn(n.fallback) ?
|
|
48009
|
+
}, TS = Promise.resolve(ro), Fxe = (e, t, n) => {
|
|
48010
|
+
const { cache: r, compare: o, suspense: i, fallbackData: s, revalidateOnMount: a, revalidateIfStale: l, refreshInterval: u, refreshWhenHidden: c, refreshWhenOffline: d, keepPreviousData: p } = n, [h, f, g, m] = Xa.get(r), [b, y] = A8(e), x = Ge(!1), v = Ge(!1), D = Ge(b), w = Ge(t), k = Ge(n), C = () => k.current, A = () => C().isVisible() && C().isOnline(), [N, R, _, M] = _$(r, b), E = Ge({}).current, S = tn(s) ? tn(n.fallback) ? ro : n.fallback[b] : s, T = (ue, B) => {
|
|
48011
48011
|
for (const Q in E) {
|
|
48012
48012
|
const le = Q;
|
|
48013
48013
|
if (le === "data") {
|
|
@@ -48072,7 +48072,7 @@ const d4 = Et.use || // This extra generic is to avoid TypeScript mixing up the
|
|
|
48072
48072
|
yw()
|
|
48073
48073
|
]), [Q, le] = g[b], Q = await Q, J && setTimeout(ce, n.dedupingInterval), !g[b] || g[b][1] !== le)
|
|
48074
48074
|
return J && Fe() && C().onDiscarded(b), !1;
|
|
48075
|
-
De.error =
|
|
48075
|
+
De.error = ro;
|
|
48076
48076
|
const he = f[b];
|
|
48077
48077
|
if (!tn(he) && // case 1
|
|
48078
48078
|
(le <= he[0] || // case 2
|
|
@@ -48119,7 +48119,7 @@ const d4 = Et.use || // This extra generic is to avoid TypeScript mixing up the
|
|
|
48119
48119
|
w.current = t, k.current = n, tn(P) || (ae.current = P);
|
|
48120
48120
|
}), l4(() => {
|
|
48121
48121
|
if (!b) return;
|
|
48122
|
-
const ue = j.bind(
|
|
48122
|
+
const ue = j.bind(ro, p4);
|
|
48123
48123
|
let B = 0;
|
|
48124
48124
|
C().revalidateOnFocus && (B = Date.now() + C().focusThrottleInterval);
|
|
48125
48125
|
const le = vxe(b, h, (G, V = {}) => {
|
|
@@ -52952,7 +52952,7 @@ var Qo = "top", Qi = "bottom", es = "right", ei = "left", T8 = "auto", q1 = [Qo,
|
|
|
52952
52952
|
function ya(e) {
|
|
52953
52953
|
return e ? (e.nodeName || "").toLowerCase() : null;
|
|
52954
52954
|
}
|
|
52955
|
-
function
|
|
52955
|
+
function Ci(e) {
|
|
52956
52956
|
if (e == null)
|
|
52957
52957
|
return window;
|
|
52958
52958
|
if (e.toString() !== "[object Window]") {
|
|
@@ -52962,17 +52962,17 @@ function _i(e) {
|
|
|
52962
52962
|
return e;
|
|
52963
52963
|
}
|
|
52964
52964
|
function id(e) {
|
|
52965
|
-
var t =
|
|
52965
|
+
var t = Ci(e).Element;
|
|
52966
52966
|
return e instanceof t || e instanceof Element;
|
|
52967
52967
|
}
|
|
52968
52968
|
function Ki(e) {
|
|
52969
|
-
var t =
|
|
52969
|
+
var t = Ci(e).HTMLElement;
|
|
52970
52970
|
return e instanceof t || e instanceof HTMLElement;
|
|
52971
52971
|
}
|
|
52972
52972
|
function j8(e) {
|
|
52973
52973
|
if (typeof ShadowRoot > "u")
|
|
52974
52974
|
return !1;
|
|
52975
|
-
var t =
|
|
52975
|
+
var t = Ci(e).ShadowRoot;
|
|
52976
52976
|
return e instanceof t || e instanceof ShadowRoot;
|
|
52977
52977
|
}
|
|
52978
52978
|
function B3e(e) {
|
|
@@ -53034,7 +53034,7 @@ function Gp(e, t, n) {
|
|
|
53034
53034
|
t === void 0 && (t = !1), n === void 0 && (n = !1);
|
|
53035
53035
|
var r = e.getBoundingClientRect(), o = 1, i = 1;
|
|
53036
53036
|
t && Ki(e) && (o = e.offsetWidth > 0 && Vp(r.width) / e.offsetWidth || 1, i = e.offsetHeight > 0 && Vp(r.height) / e.offsetHeight || 1);
|
|
53037
|
-
var s = id(e) ?
|
|
53037
|
+
var s = id(e) ? Ci(e) : window, a = s.visualViewport, l = !H$() && n, u = (r.left + (l && a ? a.offsetLeft : 0)) / o, c = (r.top + (l && a ? a.offsetTop : 0)) / i, d = r.width / o, p = r.height / i;
|
|
53038
53038
|
return {
|
|
53039
53039
|
width: d,
|
|
53040
53040
|
height: p,
|
|
@@ -53070,7 +53070,7 @@ function W$(e, t) {
|
|
|
53070
53070
|
return !1;
|
|
53071
53071
|
}
|
|
53072
53072
|
function fl(e) {
|
|
53073
|
-
return
|
|
53073
|
+
return Ci(e).getComputedStyle(e);
|
|
53074
53074
|
}
|
|
53075
53075
|
function M3e(e) {
|
|
53076
53076
|
return ["table", "td", "th"].indexOf(ya(e)) >= 0;
|
|
@@ -53114,7 +53114,7 @@ function O3e(e) {
|
|
|
53114
53114
|
return null;
|
|
53115
53115
|
}
|
|
53116
53116
|
function V1(e) {
|
|
53117
|
-
for (var t =
|
|
53117
|
+
for (var t = Ci(e), n = qS(e); n && M3e(n) && fl(n).position === "static"; )
|
|
53118
53118
|
n = qS(n);
|
|
53119
53119
|
return n && (ya(n) === "html" || ya(n) === "body" && fl(n).position === "static") ? t : n || O3e(e) || t;
|
|
53120
53120
|
}
|
|
@@ -53197,7 +53197,7 @@ function VS(e) {
|
|
|
53197
53197
|
var b = s.hasOwnProperty("x"), y = s.hasOwnProperty("y"), x = ei, v = Qo, D = window;
|
|
53198
53198
|
if (u) {
|
|
53199
53199
|
var w = V1(n), k = "clientHeight", C = "clientWidth";
|
|
53200
|
-
if (w ===
|
|
53200
|
+
if (w === Ci(n) && (w = Ku(n), fl(w).position !== "static" && a === "absolute" && (k = "scrollHeight", C = "scrollWidth")), w = w, o === Qo || (o === ei || o === es) && i === Xf) {
|
|
53201
53201
|
v = Qi;
|
|
53202
53202
|
var A = d && w === D && D.visualViewport ? D.visualViewport.height : (
|
|
53203
53203
|
// $FlowFixMe[prop-missing]
|
|
@@ -53219,7 +53219,7 @@ function VS(e) {
|
|
|
53219
53219
|
}, u && z3e), _ = c === !0 ? $3e({
|
|
53220
53220
|
x: h,
|
|
53221
53221
|
y: g
|
|
53222
|
-
},
|
|
53222
|
+
}, Ci(n)) : {
|
|
53223
53223
|
x: h,
|
|
53224
53224
|
y: g
|
|
53225
53225
|
};
|
|
@@ -53263,7 +53263,7 @@ var Zg = {
|
|
|
53263
53263
|
passive: !0
|
|
53264
53264
|
};
|
|
53265
53265
|
function q3e(e) {
|
|
53266
|
-
var t = e.state, n = e.instance, r = e.options, o = r.scroll, i = o === void 0 ? !0 : o, s = r.resize, a = s === void 0 ? !0 : s, l =
|
|
53266
|
+
var t = e.state, n = e.instance, r = e.options, o = r.scroll, i = o === void 0 ? !0 : o, s = r.resize, a = s === void 0 ? !0 : s, l = Ci(t.elements.popper), u = [].concat(t.scrollParents.reference, t.scrollParents.popper);
|
|
53267
53267
|
return i && u.forEach(function(c) {
|
|
53268
53268
|
c.addEventListener("scroll", n.update, Zg);
|
|
53269
53269
|
}), a && l.addEventListener("resize", n.update, Zg), function() {
|
|
@@ -53302,7 +53302,7 @@ function GS(e) {
|
|
|
53302
53302
|
});
|
|
53303
53303
|
}
|
|
53304
53304
|
function M8(e) {
|
|
53305
|
-
var t =
|
|
53305
|
+
var t = Ci(e), n = t.pageXOffset, r = t.pageYOffset;
|
|
53306
53306
|
return {
|
|
53307
53307
|
scrollLeft: n,
|
|
53308
53308
|
scrollTop: r
|
|
@@ -53312,7 +53312,7 @@ function O8(e) {
|
|
|
53312
53312
|
return Gp(Ku(e)).left + M8(e).scrollLeft;
|
|
53313
53313
|
}
|
|
53314
53314
|
function Y3e(e, t) {
|
|
53315
|
-
var n =
|
|
53315
|
+
var n = Ci(e), r = Ku(e), o = n.visualViewport, i = r.clientWidth, s = r.clientHeight, a = 0, l = 0;
|
|
53316
53316
|
if (o) {
|
|
53317
53317
|
i = o.width, s = o.height;
|
|
53318
53318
|
var u = H$();
|
|
@@ -53344,7 +53344,7 @@ function K$(e) {
|
|
|
53344
53344
|
function q0(e, t) {
|
|
53345
53345
|
var n;
|
|
53346
53346
|
t === void 0 && (t = []);
|
|
53347
|
-
var r = K$(e), o = r === ((n = e.ownerDocument) == null ? void 0 : n.body), i =
|
|
53347
|
+
var r = K$(e), o = r === ((n = e.ownerDocument) == null ? void 0 : n.body), i = Ci(r), s = o ? [i].concat(i.visualViewport || [], R8(r) ? r : []) : r, a = t.concat(s);
|
|
53348
53348
|
return o ? a : (
|
|
53349
53349
|
// $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
|
|
53350
53350
|
a.concat(q0(bx(s)))
|
|
@@ -53659,7 +53659,7 @@ function fve(e) {
|
|
|
53659
53659
|
};
|
|
53660
53660
|
}
|
|
53661
53661
|
function gve(e) {
|
|
53662
|
-
return e ===
|
|
53662
|
+
return e === Ci(e) || !Ki(e) ? M8(e) : fve(e);
|
|
53663
53663
|
}
|
|
53664
53664
|
function mve(e) {
|
|
53665
53665
|
var t = e.getBoundingClientRect(), n = Vp(t.width) / e.offsetWidth || 1, r = Vp(t.height) / e.offsetHeight || 1;
|
|
@@ -54055,7 +54055,7 @@ var rH = {
|
|
|
54055
54055
|
role: "tooltip",
|
|
54056
54056
|
theme: "",
|
|
54057
54057
|
zIndex: 9999
|
|
54058
|
-
},
|
|
54058
|
+
}, xi = Object.assign({
|
|
54059
54059
|
appendTo: Q$,
|
|
54060
54060
|
aria: {
|
|
54061
54061
|
content: "auto",
|
|
@@ -54103,11 +54103,11 @@ var rH = {
|
|
|
54103
54103
|
touch: !0,
|
|
54104
54104
|
trigger: "mouseenter focus",
|
|
54105
54105
|
triggerTarget: null
|
|
54106
|
-
}, rH, Vve), Gve = Object.keys(
|
|
54106
|
+
}, rH, Vve), Gve = Object.keys(xi), Kve = function(t) {
|
|
54107
54107
|
process.env.NODE_ENV !== "production" && iH(t, []);
|
|
54108
54108
|
var n = Object.keys(t);
|
|
54109
54109
|
n.forEach(function(r) {
|
|
54110
|
-
|
|
54110
|
+
xi[r] = t[r];
|
|
54111
54111
|
});
|
|
54112
54112
|
};
|
|
54113
54113
|
function oH(e) {
|
|
@@ -54115,14 +54115,14 @@ function oH(e) {
|
|
|
54115
54115
|
var i = o.name, s = o.defaultValue;
|
|
54116
54116
|
if (i) {
|
|
54117
54117
|
var a;
|
|
54118
|
-
r[i] = e[i] !== void 0 ? e[i] : (a =
|
|
54118
|
+
r[i] = e[i] !== void 0 ? e[i] : (a = xi[i]) != null ? a : s;
|
|
54119
54119
|
}
|
|
54120
54120
|
return r;
|
|
54121
54121
|
}, {});
|
|
54122
54122
|
return Object.assign({}, e, n);
|
|
54123
54123
|
}
|
|
54124
54124
|
function Yve(e, t) {
|
|
54125
|
-
var n = t ? Object.keys(oH(Object.assign({},
|
|
54125
|
+
var n = t ? Object.keys(oH(Object.assign({}, xi, {
|
|
54126
54126
|
plugins: t
|
|
54127
54127
|
}))) : Gve, r = n.reduce(function(o, i) {
|
|
54128
54128
|
var s = (e.getAttribute("data-tippy-" + i) || "").trim();
|
|
@@ -54144,7 +54144,7 @@ function sT(e, t) {
|
|
|
54144
54144
|
var n = Object.assign({}, t, {
|
|
54145
54145
|
content: eH(t.content, [e])
|
|
54146
54146
|
}, t.ignoreAttributes ? {} : Yve(e, t.plugins));
|
|
54147
|
-
return n.aria = Object.assign({},
|
|
54147
|
+
return n.aria = Object.assign({}, xi.aria, n.aria), n.aria = {
|
|
54148
54148
|
expanded: n.aria.expanded === "auto" ? t.interactive : n.aria.expanded,
|
|
54149
54149
|
content: n.aria.content === "auto" ? t.interactive ? null : "describedby" : n.aria.content
|
|
54150
54150
|
}, n;
|
|
@@ -54153,7 +54153,7 @@ function iH(e, t) {
|
|
|
54153
54153
|
e === void 0 && (e = {}), t === void 0 && (t = []);
|
|
54154
54154
|
var n = Object.keys(e);
|
|
54155
54155
|
n.forEach(function(r) {
|
|
54156
|
-
var o = Ave(
|
|
54156
|
+
var o = Ave(xi, Object.keys(rH)), i = !_ve(o, r);
|
|
54157
54157
|
i && (i = t.filter(function(s) {
|
|
54158
54158
|
return s.name === r;
|
|
54159
54159
|
}).length === 0), Ga(i, ["`" + r + "`", "is not a valid prop. You may have spelled it incorrectly, or if it's", "a plugin, forgot to pass it in an array as props.plugins.", `
|
|
@@ -54207,7 +54207,7 @@ function sH(e) {
|
|
|
54207
54207
|
sH.$$tippy = !0;
|
|
54208
54208
|
var Zve = 1, Jg = [], x4 = [];
|
|
54209
54209
|
function Jve(e, t) {
|
|
54210
|
-
var n = sT(e, Object.assign({},
|
|
54210
|
+
var n = sT(e, Object.assign({}, xi, oH(tT(t)))), r, o, i, s = !1, a = !1, l = !1, u = !1, c, d, p, h = [], f = QS(B, n.interactiveDebounce), g, m = Zve++, b = null, y = Tve(n.plugins), x = {
|
|
54211
54211
|
// Is the instance currently enabled?
|
|
54212
54212
|
isEnabled: !0,
|
|
54213
54213
|
// Is the tippy currently showing and not transitioning out?
|
|
@@ -54273,7 +54273,7 @@ function Jve(e, t) {
|
|
|
54273
54273
|
return Ew(w);
|
|
54274
54274
|
}
|
|
54275
54275
|
function T(fe) {
|
|
54276
|
-
return v.state.isMounted && !v.state.isVisible || Vs.isTouch || c && c.type === "focus" ? 0 : m4(v.props.delay, fe ? 0 : 1,
|
|
54276
|
+
return v.state.isMounted && !v.state.isVisible || Vs.isTouch || c && c.type === "focus" ? 0 : m4(v.props.delay, fe ? 0 : 1, xi.delay);
|
|
54277
54277
|
}
|
|
54278
54278
|
function U(fe) {
|
|
54279
54279
|
fe === void 0 && (fe = !1), w.style.pointerEvents = v.props.interactive && !fe ? "" : "none", w.style.zIndex = "" + v.props.zIndex;
|
|
@@ -54501,7 +54501,7 @@ function Jve(e, t) {
|
|
|
54501
54501
|
}
|
|
54502
54502
|
function Fe() {
|
|
54503
54503
|
var fe = v.props.appendTo, Se, _e = M();
|
|
54504
|
-
v.props.interactive && fe === Q$ || fe === "parent" ? Se = _e.parentNode : Se = eH(fe, [_e]), Se.contains(w) || Se.appendChild(w), v.state.isMounted = !0, V(), process.env.NODE_ENV !== "production" && Ga(v.props.interactive && fe ===
|
|
54504
|
+
v.props.interactive && fe === Q$ || fe === "parent" ? Se = _e.parentNode : Se = eH(fe, [_e]), Se.contains(w) || Se.appendChild(w), v.state.isMounted = !0, V(), process.env.NODE_ENV !== "production" && Ga(v.props.interactive && fe === xi.appendTo && _e.nextElementSibling !== w, ["Interactive tippy element may not be accessible via keyboard", "navigation because it is not directly after the reference element", "in the DOM source order.", `
|
|
54505
54505
|
|
|
54506
54506
|
`, "Using a wrapper <div> or <span> tag around the reference element", "solves this by creating a new parentNode context.", `
|
|
54507
54507
|
|
|
@@ -54562,7 +54562,7 @@ function Jve(e, t) {
|
|
|
54562
54562
|
}
|
|
54563
54563
|
function pe() {
|
|
54564
54564
|
process.env.NODE_ENV !== "production" && Ga(v.state.isDestroyed, Id("show"));
|
|
54565
|
-
var fe = v.state.isVisible, Se = v.state.isDestroyed, _e = !v.state.isEnabled, Te = Vs.isTouch && !v.props.touch, Ne = m4(v.props.duration, 0,
|
|
54565
|
+
var fe = v.state.isVisible, Se = v.state.isDestroyed, _e = !v.state.isEnabled, Te = Vs.isTouch && !v.props.touch, Ne = m4(v.props.duration, 0, xi.duration);
|
|
54566
54566
|
if (!(fe || Se || _e || Te) && !M().hasAttribute("disabled") && (z("onShow", [v], !1), v.props.onShow(v) !== !1)) {
|
|
54567
54567
|
if (v.state.isVisible = !0, _() && (w.style.visibility = "visible"), U(), oe(), v.state.isMounted || (w.style.transition = "none"), _()) {
|
|
54568
54568
|
var rt = S(), ct = rt.box, gt = rt.content;
|
|
@@ -54584,7 +54584,7 @@ function Jve(e, t) {
|
|
|
54584
54584
|
}
|
|
54585
54585
|
function ye() {
|
|
54586
54586
|
process.env.NODE_ENV !== "production" && Ga(v.state.isDestroyed, Id("hide"));
|
|
54587
|
-
var fe = !v.state.isVisible, Se = v.state.isDestroyed, _e = !v.state.isEnabled, Te = m4(v.props.duration, 1,
|
|
54587
|
+
var fe = !v.state.isVisible, Se = v.state.isDestroyed, _e = !v.state.isEnabled, Te = m4(v.props.duration, 1, xi.duration);
|
|
54588
54588
|
if (!(fe || Se || _e) && (z("onHide", [v], !1), v.props.onHide(v) !== !1)) {
|
|
54589
54589
|
if (v.state.isVisible = !1, v.state.isShown = !1, u = !1, s = !1, _() && (w.style.visibility = "hidden"), P(), Y(), U(!0), _()) {
|
|
54590
54590
|
var Ne = S(), rt = Ne.box, ct = Ne.content;
|
|
@@ -54609,7 +54609,7 @@ function Jve(e, t) {
|
|
|
54609
54609
|
}
|
|
54610
54610
|
function Yu(e, t) {
|
|
54611
54611
|
t === void 0 && (t = {});
|
|
54612
|
-
var n =
|
|
54612
|
+
var n = xi.plugins.concat(t.plugins || []);
|
|
54613
54613
|
process.env.NODE_ENV !== "production" && (qve(e), iH(t, n)), Pve();
|
|
54614
54614
|
var r = Object.assign({}, t, {
|
|
54615
54615
|
plugins: n
|
|
@@ -54629,7 +54629,7 @@ function Yu(e, t) {
|
|
|
54629
54629
|
}, []);
|
|
54630
54630
|
return Jf(e) ? a[0] : a;
|
|
54631
54631
|
}
|
|
54632
|
-
Yu.defaultProps =
|
|
54632
|
+
Yu.defaultProps = xi;
|
|
54633
54633
|
Yu.setDefaultProps = Kve;
|
|
54634
54634
|
Yu.currentInput = Vs;
|
|
54635
54635
|
Object.assign({}, $$, {
|
|
@@ -57411,7 +57411,7 @@ function C6e(e) {
|
|
|
57411
57411
|
return xx(!1, e, /\r\n?/gu, `
|
|
57412
57412
|
`);
|
|
57413
57413
|
}
|
|
57414
|
-
var vd = "string", gl = "array", Xu = "cursor", Tl = "indent", jl = "align", Bl = "trim", ni = "group", Ca = "fill",
|
|
57414
|
+
var vd = "string", gl = "array", Xu = "cursor", Tl = "indent", jl = "align", Bl = "trim", ni = "group", Ca = "fill", Di = "if-break", Nl = "indent-if-break", Ml = "line-suffix", Ol = "line-suffix-boundary", Yr = "line", _a = "label", ts = "break-parent", kH = /* @__PURE__ */ new Set([Xu, Tl, jl, Bl, ni, Ca, Di, Nl, Ml, Ol, Yr, _a, ts]), _6e = (e, t, n) => {
|
|
57415
57415
|
if (!(e && t == null)) return Array.isArray(t) || typeof t == "string" ? t[n < 0 ? t.length + n : n] : t.at(n);
|
|
57416
57416
|
}, Tr = _6e;
|
|
57417
57417
|
function A6e(e) {
|
|
@@ -57464,7 +57464,7 @@ function N6e(e, t, n, r) {
|
|
|
57464
57464
|
for (let l = a.length, u = l - 1; u >= 0; --u) o.push(a[u]);
|
|
57465
57465
|
break;
|
|
57466
57466
|
}
|
|
57467
|
-
case
|
|
57467
|
+
case Di:
|
|
57468
57468
|
o.push(i.flatContents, i.breakContents);
|
|
57469
57469
|
break;
|
|
57470
57470
|
case ni:
|
|
@@ -57482,7 +57482,7 @@ function N6e(e, t, n, r) {
|
|
|
57482
57482
|
case Xu:
|
|
57483
57483
|
case Bl:
|
|
57484
57484
|
case Ol:
|
|
57485
|
-
case
|
|
57485
|
+
case Yr:
|
|
57486
57486
|
case ts:
|
|
57487
57487
|
break;
|
|
57488
57488
|
default:
|
|
@@ -57506,7 +57506,7 @@ function vx(e, t) {
|
|
|
57506
57506
|
return t(i.map(r));
|
|
57507
57507
|
case Ca:
|
|
57508
57508
|
return t({ ...i, parts: i.parts.map(r) });
|
|
57509
|
-
case
|
|
57509
|
+
case Di:
|
|
57510
57510
|
return t({ ...i, breakContents: r(i.breakContents), flatContents: r(i.flatContents) });
|
|
57511
57511
|
case ni: {
|
|
57512
57512
|
let { expandedStates: s, contents: a } = i;
|
|
@@ -57522,7 +57522,7 @@ function vx(e, t) {
|
|
|
57522
57522
|
case Xu:
|
|
57523
57523
|
case Bl:
|
|
57524
57524
|
case Ol:
|
|
57525
|
-
case
|
|
57525
|
+
case Yr:
|
|
57526
57526
|
case ts:
|
|
57527
57527
|
return t(i);
|
|
57528
57528
|
default:
|
|
@@ -57540,7 +57540,7 @@ function H8(e, t, n) {
|
|
|
57540
57540
|
return $8(e, i), r;
|
|
57541
57541
|
}
|
|
57542
57542
|
function M6e(e) {
|
|
57543
|
-
if (e.type === ni && e.break || e.type ===
|
|
57543
|
+
if (e.type === ni && e.break || e.type === Yr && e.hard || e.type === ts) return !0;
|
|
57544
57544
|
}
|
|
57545
57545
|
function O6e(e) {
|
|
57546
57546
|
return H8(e, M6e, !1);
|
|
@@ -57566,13 +57566,13 @@ function R6e(e) {
|
|
|
57566
57566
|
$8(e, r, o, !0);
|
|
57567
57567
|
}
|
|
57568
57568
|
function I6e(e) {
|
|
57569
|
-
return e.type ===
|
|
57569
|
+
return e.type === Yr && !e.hard ? e.soft ? "" : " " : e.type === Di ? e.flatContents : e;
|
|
57570
57570
|
}
|
|
57571
57571
|
function L6e(e) {
|
|
57572
57572
|
return vx(e, I6e);
|
|
57573
57573
|
}
|
|
57574
57574
|
function wT(e) {
|
|
57575
|
-
for (e = [...e]; e.length >= 2 && Tr(!1, e, -2).type ===
|
|
57575
|
+
for (e = [...e]; e.length >= 2 && Tr(!1, e, -2).type === Yr && Tr(!1, e, -1).type === ts; ) e.length -= 2;
|
|
57576
57576
|
if (e.length > 0) {
|
|
57577
57577
|
let t = G0(Tr(!1, e, -1));
|
|
57578
57578
|
e[e.length - 1] = t;
|
|
@@ -57589,7 +57589,7 @@ function G0(e) {
|
|
|
57589
57589
|
let t = G0(e.contents);
|
|
57590
57590
|
return { ...e, contents: t };
|
|
57591
57591
|
}
|
|
57592
|
-
case
|
|
57592
|
+
case Di:
|
|
57593
57593
|
return { ...e, breakContents: G0(e.breakContents), flatContents: G0(e.flatContents) };
|
|
57594
57594
|
case Ca:
|
|
57595
57595
|
return { ...e, parts: wT(e.parts) };
|
|
@@ -57601,7 +57601,7 @@ function G0(e) {
|
|
|
57601
57601
|
case Xu:
|
|
57602
57602
|
case Bl:
|
|
57603
57603
|
case Ol:
|
|
57604
|
-
case
|
|
57604
|
+
case Yr:
|
|
57605
57605
|
case ts:
|
|
57606
57606
|
break;
|
|
57607
57607
|
default:
|
|
@@ -57627,7 +57627,7 @@ function U6e(e) {
|
|
|
57627
57627
|
case Ml:
|
|
57628
57628
|
if (!e.contents) return "";
|
|
57629
57629
|
break;
|
|
57630
|
-
case
|
|
57630
|
+
case Di:
|
|
57631
57631
|
if (!e.flatContents && !e.breakContents) return "";
|
|
57632
57632
|
break;
|
|
57633
57633
|
case gl: {
|
|
@@ -57643,7 +57643,7 @@ function U6e(e) {
|
|
|
57643
57643
|
case Xu:
|
|
57644
57644
|
case Bl:
|
|
57645
57645
|
case Ol:
|
|
57646
|
-
case
|
|
57646
|
+
case Yr:
|
|
57647
57647
|
case _a:
|
|
57648
57648
|
case ts:
|
|
57649
57649
|
break;
|
|
@@ -57660,7 +57660,7 @@ function z6e(e, t = SH) {
|
|
|
57660
57660
|
`)) : n);
|
|
57661
57661
|
}
|
|
57662
57662
|
function $6e(e) {
|
|
57663
|
-
if (e.type ===
|
|
57663
|
+
if (e.type === Yr) return !0;
|
|
57664
57664
|
}
|
|
57665
57665
|
function H6e(e) {
|
|
57666
57666
|
return H8(e, $6e, !1);
|
|
@@ -57695,7 +57695,7 @@ function X6e(e) {
|
|
|
57695
57695
|
return { type: Ca, parts: e };
|
|
57696
57696
|
}
|
|
57697
57697
|
function Z6e(e, t = "", n = {}) {
|
|
57698
|
-
return { type:
|
|
57698
|
+
return { type: Di, breakContents: e, flatContents: t, groupId: n.groupId };
|
|
57699
57699
|
}
|
|
57700
57700
|
function J6e(e, t) {
|
|
57701
57701
|
return { type: Nl, contents: e, groupId: t.groupId, negate: t.negate };
|
|
@@ -57703,7 +57703,7 @@ function J6e(e, t) {
|
|
|
57703
57703
|
function Aw(e) {
|
|
57704
57704
|
return { type: Ml, contents: e };
|
|
57705
57705
|
}
|
|
57706
|
-
var Q6e = { type: Ol }, Fx = { type: ts }, e5e = { type: Bl }, W8 = { type:
|
|
57706
|
+
var Q6e = { type: Ol }, Fx = { type: ts }, e5e = { type: Bl }, W8 = { type: Yr, hard: !0 }, _H = { type: Yr, hard: !0, literal: !0 }, AH = { type: Yr }, t5e = { type: Yr, soft: !0 }, qc = [W8, Fx], SH = [_H, Fx], Ac = { type: Xu };
|
|
57707
57707
|
function TH(e, t) {
|
|
57708
57708
|
let n = [];
|
|
57709
57709
|
for (let r = 0; r < t.length; r++) r !== 0 && n.push(e), n.push(t[r]);
|
|
@@ -57732,7 +57732,7 @@ function qa(e) {
|
|
|
57732
57732
|
}
|
|
57733
57733
|
return n;
|
|
57734
57734
|
}
|
|
57735
|
-
return e.type ===
|
|
57735
|
+
return e.type === Di ? { ...e, breakContents: qa(e.breakContents), flatContents: qa(e.flatContents) } : e.type === ni ? { ...e, contents: qa(e.contents), expandedStates: (t = e.expandedStates) == null ? void 0 : t.map(qa) } : e.type === Ca ? { type: "fill", parts: e.parts.map(qa) } : e.contents ? { ...e, contents: qa(e.contents) } : e;
|
|
57736
57736
|
}
|
|
57737
57737
|
function r5e(e) {
|
|
57738
57738
|
let t = /* @__PURE__ */ Object.create(null), n = /* @__PURE__ */ new Set();
|
|
@@ -57744,15 +57744,15 @@ function r5e(e) {
|
|
|
57744
57744
|
let c = i.map(r).filter(Boolean);
|
|
57745
57745
|
return c.length === 1 ? c[0] : `[${c.join(", ")}]`;
|
|
57746
57746
|
}
|
|
57747
|
-
if (i.type ===
|
|
57747
|
+
if (i.type === Yr) {
|
|
57748
57748
|
let c = ((l = a == null ? void 0 : a[s + 1]) == null ? void 0 : l.type) === ts;
|
|
57749
57749
|
return i.literal ? c ? "literalline" : "literallineWithoutBreakParent" : i.hard ? c ? "hardline" : "hardlineWithoutBreakParent" : i.soft ? "softline" : "line";
|
|
57750
57750
|
}
|
|
57751
|
-
if (i.type === ts) return ((u = a == null ? void 0 : a[s - 1]) == null ? void 0 : u.type) ===
|
|
57751
|
+
if (i.type === ts) return ((u = a == null ? void 0 : a[s - 1]) == null ? void 0 : u.type) === Yr && a[s - 1].hard ? void 0 : "breakParent";
|
|
57752
57752
|
if (i.type === Bl) return "trim";
|
|
57753
57753
|
if (i.type === Tl) return "indent(" + r(i.contents) + ")";
|
|
57754
57754
|
if (i.type === jl) return i.n === Number.NEGATIVE_INFINITY ? "dedentToRoot(" + r(i.contents) + ")" : i.n < 0 ? "dedent(" + r(i.contents) + ")" : i.n.type === "root" ? "markAsRoot(" + r(i.contents) + ")" : "align(" + JSON.stringify(i.n) + ", " + r(i.contents) + ")";
|
|
57755
|
-
if (i.type ===
|
|
57755
|
+
if (i.type === Di) return "ifBreak(" + r(i.breakContents) + (i.flatContents ? ", " + r(i.flatContents) : "") + (i.groupId ? (i.flatContents ? "" : ', ""') + `, { groupId: ${o(i.groupId)} }` : "") + ")";
|
|
57756
57756
|
if (i.type === Nl) {
|
|
57757
57757
|
let c = [];
|
|
57758
57758
|
i.negate && c.push("negate: true"), i.groupId && c.push(`groupId: ${o(i.groupId)}`);
|
|
@@ -57901,12 +57901,12 @@ function Qg(e, t, n, r, o, i) {
|
|
|
57901
57901
|
a.push({ mode: p, doc: h });
|
|
57902
57902
|
break;
|
|
57903
57903
|
}
|
|
57904
|
-
case
|
|
57904
|
+
case Di: {
|
|
57905
57905
|
let p = (c.groupId ? o[c.groupId] || zs : u) === Lo ? c.breakContents : c.flatContents;
|
|
57906
57906
|
p && a.push({ mode: u, doc: p });
|
|
57907
57907
|
break;
|
|
57908
57908
|
}
|
|
57909
|
-
case
|
|
57909
|
+
case Yr:
|
|
57910
57910
|
if (u === Lo || c.hard) return !0;
|
|
57911
57911
|
c.soft || (l.push(" "), n--);
|
|
57912
57912
|
break;
|
|
@@ -57997,15 +57997,15 @@ function wx(e, t) {
|
|
|
57997
57997
|
Qg({ ind: p, mode: zs, doc: [x, v, N] }, [], g, u.length > 0, n, !0) ? s.push(R, C, D) : k ? s.push(R, A, D) : s.push(R, A, w);
|
|
57998
57998
|
break;
|
|
57999
57999
|
}
|
|
58000
|
-
case
|
|
58000
|
+
case Di:
|
|
58001
58001
|
case Nl: {
|
|
58002
58002
|
let g = f.groupId ? n[f.groupId] : h;
|
|
58003
58003
|
if (g === Lo) {
|
|
58004
|
-
let m = f.type ===
|
|
58004
|
+
let m = f.type === Di ? f.breakContents : f.negate ? f.contents : $b(f.contents);
|
|
58005
58005
|
m && s.push({ ind: p, mode: h, doc: m });
|
|
58006
58006
|
}
|
|
58007
58007
|
if (g === zs) {
|
|
58008
|
-
let m = f.type ===
|
|
58008
|
+
let m = f.type === Di ? f.flatContents : f.negate ? $b(f.contents) : f.contents;
|
|
58009
58009
|
m && s.push({ ind: p, mode: h, doc: m });
|
|
58010
58010
|
}
|
|
58011
58011
|
break;
|
|
@@ -58016,7 +58016,7 @@ function wx(e, t) {
|
|
|
58016
58016
|
case Ol:
|
|
58017
58017
|
u.length > 0 && s.push({ ind: p, mode: h, doc: W8 });
|
|
58018
58018
|
break;
|
|
58019
|
-
case
|
|
58019
|
+
case Yr:
|
|
58020
58020
|
switch (h) {
|
|
58021
58021
|
case zs:
|
|
58022
58022
|
if (f.hard) l = !0;
|
|
@@ -59410,11 +59410,11 @@ var jDe = Fc(zH, 0), BDe = { parse: Fc(Xwe), formatAST: Fc(Zwe), formatDoc: Fc(J
|
|
|
59410
59410
|
throw TypeError(e);
|
|
59411
59411
|
}, MDe = (e, t, n) => t in e ? uW(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, dW = (e, t) => {
|
|
59412
59412
|
for (var n in t) uW(e, n, { get: t[n], enumerable: !0 });
|
|
59413
|
-
}, XT = (e, t, n) => MDe(e, typeof t != "symbol" ? t + "" : t, n), pW = (e, t, n) => t.has(e) || cW("Cannot " + n),
|
|
59413
|
+
}, XT = (e, t, n) => MDe(e, typeof t != "symbol" ? t + "" : t, n), pW = (e, t, n) => t.has(e) || cW("Cannot " + n), Oi = (e, t, n) => (pW(e, t, "read from private field"), n ? n.call(e) : t.get(e)), hW = (e, t, n) => t.has(e) ? cW("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, n), ODe = (e, t, n, r) => (pW(e, t, "write to private field"), t.set(e, n), n), fW = {};
|
|
59414
59414
|
dW(fW, { languages: () => A9e, options: () => T9e, parsers: () => QW, printers: () => UEe });
|
|
59415
59415
|
var RDe = (e, t, n, r) => {
|
|
59416
59416
|
if (!(e && t == null)) return t.replaceAll ? t.replaceAll(n, r) : n.global ? t.replace(n, r) : t.split(n).join(r);
|
|
59417
|
-
},
|
|
59417
|
+
}, ki = RDe, gW = "string", mW = "array", bW = "cursor", t9 = "indent", n9 = "align", yW = "trim", r9 = "group", o9 = "fill", i9 = "if-break", s9 = "indent-if-break", xW = "line-suffix", vW = "line-suffix-boundary", wh = "line", FW = "label", a9 = "break-parent", wW = /* @__PURE__ */ new Set([bW, t9, n9, yW, r9, o9, i9, s9, xW, vW, wh, FW, a9]), IDe = (e, t, n) => {
|
|
59418
59418
|
if (!(e && t == null)) return Array.isArray(t) || typeof t == "string" ? t[n < 0 ? t.length + n : n] : t.at(n);
|
|
59419
59419
|
}, Y1 = IDe;
|
|
59420
59420
|
function LDe(e) {
|
|
@@ -59512,7 +59512,7 @@ function Hb(e, t = "", n = {}) {
|
|
|
59512
59512
|
function GDe(e, t) {
|
|
59513
59513
|
return { type: s9, contents: e, groupId: t.groupId, negate: t.negate };
|
|
59514
59514
|
}
|
|
59515
|
-
var X1 = { type: a9 }, KDe = { type: wh, hard: !0 }, YDe = { type: wh, hard: !0, literal: !0 }, fr = { type: wh },
|
|
59515
|
+
var X1 = { type: a9 }, KDe = { type: wh, hard: !0 }, YDe = { type: wh, hard: !0, literal: !0 }, fr = { type: wh }, oo = { type: wh, soft: !0 }, zn = [KDe, X1], XDe = [YDe, X1];
|
|
59516
59516
|
function Dh(e, t) {
|
|
59517
59517
|
let n = [];
|
|
59518
59518
|
for (let r = 0; r < t.length; r++) r !== 0 && n.push(e), n.push(t[r]);
|
|
@@ -59534,12 +59534,12 @@ var is, eke = class {
|
|
|
59534
59534
|
hW(this, is), ODe(this, is, new Set(e));
|
|
59535
59535
|
}
|
|
59536
59536
|
getLeadingWhitespaceCount(e) {
|
|
59537
|
-
let t =
|
|
59537
|
+
let t = Oi(this, is), n = 0;
|
|
59538
59538
|
for (let r = 0; r < e.length && t.has(e.charAt(r)); r++) n++;
|
|
59539
59539
|
return n;
|
|
59540
59540
|
}
|
|
59541
59541
|
getTrailingWhitespaceCount(e) {
|
|
59542
|
-
let t =
|
|
59542
|
+
let t = Oi(this, is), n = 0;
|
|
59543
59543
|
for (let r = e.length - 1; r >= 0 && t.has(e.charAt(r)); r--) n++;
|
|
59544
59544
|
return n;
|
|
59545
59545
|
}
|
|
@@ -59552,10 +59552,10 @@ var is, eke = class {
|
|
|
59552
59552
|
return e.slice(e.length - t);
|
|
59553
59553
|
}
|
|
59554
59554
|
hasLeadingWhitespace(e) {
|
|
59555
|
-
return
|
|
59555
|
+
return Oi(this, is).has(e.charAt(0));
|
|
59556
59556
|
}
|
|
59557
59557
|
hasTrailingWhitespace(e) {
|
|
59558
|
-
return
|
|
59558
|
+
return Oi(this, is).has(Y1(!1, e, -1));
|
|
59559
59559
|
}
|
|
59560
59560
|
trimStart(e) {
|
|
59561
59561
|
let t = this.getLeadingWhitespaceCount(e);
|
|
@@ -59569,19 +59569,19 @@ var is, eke = class {
|
|
|
59569
59569
|
return this.trimEnd(this.trimStart(e));
|
|
59570
59570
|
}
|
|
59571
59571
|
split(e, t = !1) {
|
|
59572
|
-
let n = `[${QDe([...
|
|
59572
|
+
let n = `[${QDe([...Oi(this, is)].join(""))}]+`, r = new RegExp(t ? `(${n})` : n, "u");
|
|
59573
59573
|
return e.split(r);
|
|
59574
59574
|
}
|
|
59575
59575
|
hasWhitespaceCharacter(e) {
|
|
59576
|
-
let t =
|
|
59576
|
+
let t = Oi(this, is);
|
|
59577
59577
|
return Array.prototype.some.call(e, (n) => t.has(n));
|
|
59578
59578
|
}
|
|
59579
59579
|
hasNonWhitespaceCharacter(e) {
|
|
59580
|
-
let t =
|
|
59580
|
+
let t = Oi(this, is);
|
|
59581
59581
|
return Array.prototype.some.call(e, (n) => !t.has(n));
|
|
59582
59582
|
}
|
|
59583
59583
|
isWhitespaceOnly(e) {
|
|
59584
|
-
let t =
|
|
59584
|
+
let t = Oi(this, is);
|
|
59585
59585
|
return Array.prototype.every.call(e, (n) => t.has(n));
|
|
59586
59586
|
}
|
|
59587
59587
|
};
|
|
@@ -59614,7 +59614,7 @@ async function cke(e, t) {
|
|
|
59614
59614
|
}
|
|
59615
59615
|
var dke = cke;
|
|
59616
59616
|
function _x(e, t = !0) {
|
|
59617
|
-
return [Aa([
|
|
59617
|
+
return [Aa([oo, e]), t ? oo : ""];
|
|
59618
59618
|
}
|
|
59619
59619
|
function kh(e, t) {
|
|
59620
59620
|
let n = e.type === "NGRoot" ? e.node.type === "NGMicrosyntax" && e.node.body.length === 1 && e.node.body[0].type === "NGMicrosyntaxExpression" ? e.node.body[0].expression : e.node : e.type === "JsExpressionRoot" ? e.node : e;
|
|
@@ -59682,7 +59682,7 @@ var Ax = kke, Eke = "inline", ij = { area: "none", base: "none", basefont: "none
|
|
|
59682
59682
|
function _ke(e) {
|
|
59683
59683
|
return e.type === "element" && !e.hasExplicitNamespace && !["html", "svg"].includes(e.namespace);
|
|
59684
59684
|
}
|
|
59685
|
-
var e1 = _ke, Ake = (e) =>
|
|
59685
|
+
var e1 = _ke, Ake = (e) => ki(!1, e, /^[\t\f\r ]*\n/gu, ""), SW = (e) => Ake(ml.trimEnd(e)), Ske = (e) => {
|
|
59686
59686
|
let t = e, n = ml.getLeadingWhitespace(t);
|
|
59687
59687
|
n && (t = t.slice(n.length));
|
|
59688
59688
|
let r = ml.getTrailingWhitespace(t);
|
|
@@ -59881,7 +59881,7 @@ function UW(e, t = Yke(e)) {
|
|
|
59881
59881
|
`);
|
|
59882
59882
|
}
|
|
59883
59883
|
function PW(e) {
|
|
59884
|
-
return
|
|
59884
|
+
return ki(!1, ki(!1, e, "'", "'"), """, '"');
|
|
59885
59885
|
}
|
|
59886
59886
|
function Ju(e) {
|
|
59887
59887
|
return PW(e.value);
|
|
@@ -60040,7 +60040,7 @@ function D8e(e) {
|
|
|
60040
60040
|
if (!o) return;
|
|
60041
60041
|
let i = {};
|
|
60042
60042
|
if (i.for = o[3].trim(), !i.for) return;
|
|
60043
|
-
let s =
|
|
60043
|
+
let s = ki(!1, o[1].trim(), r, ""), a = s.match(n);
|
|
60044
60044
|
a ? (i.alias = s.replace(n, ""), i.iterator1 = a[1].trim(), a[2] && (i.iterator2 = a[2].trim())) : i.alias = s;
|
|
60045
60045
|
let l = [i.alias, i.iterator1, i.iterator2];
|
|
60046
60046
|
if (!l.some((u, c) => !u && (c === 0 || l.slice(c + 1).some(Boolean)))) return { left: l.filter(Boolean).join(","), operator: o[2], right: i.for };
|
|
@@ -60085,7 +60085,7 @@ function A8e(e, t) {
|
|
|
60085
60085
|
function S8e(e) {
|
|
60086
60086
|
return async (t, n, r, o) => {
|
|
60087
60087
|
let i = await e(t, n, r, o);
|
|
60088
|
-
if (i) return i = kW(i, (s) => typeof s == "string" ?
|
|
60088
|
+
if (i) return i = kW(i, (s) => typeof s == "string" ? ki(!1, s, '"', """) : s), [r.node.rawName, '="', Fr(i), '"'];
|
|
60089
60089
|
};
|
|
60090
60090
|
}
|
|
60091
60091
|
var T8e = A8e, j8e = new Proxy(() => {
|
|
@@ -60168,7 +60168,7 @@ function O8e(e, t, n) {
|
|
|
60168
60168
|
let { node: o } = e;
|
|
60169
60169
|
if (!l9(o.attrs)) return o.isSelfClosing ? " " : "";
|
|
60170
60170
|
let i = ((r = o.prev) == null ? void 0 : r.type) === "comment" && M8e(o.prev.value), s = typeof i == "boolean" ? () => i : Array.isArray(i) ? (d) => i.includes(d.rawName) : () => !1, a = e.map(({ node: d }) => s(d) ? ms(t.originalText.slice(J1(d), jx(d))) : n(), "attrs"), l = o.type === "element" && o.fullName === "script" && o.attrs.length === 1 && o.attrs[0].fullName === "src" && o.children.length === 0, u = t.singleAttributePerLine && o.attrs.length > 1 && !Eh(o, t) ? zn : fr, c = [Aa([l ? " " : fr, Dh(u, a)])];
|
|
60171
|
-
return o.firstChild && Nx(o.firstChild) || o.isSelfClosing && eg(o.parent) || l ? c.push(o.isSelfClosing ? " " : "") : c.push(t.bracketSameLine ? o.isSelfClosing ? " " : "" : o.isSelfClosing ? fr :
|
|
60171
|
+
return o.firstChild && Nx(o.firstChild) || o.isSelfClosing && eg(o.parent) || l ? c.push(o.isSelfClosing ? " " : "") : c.push(t.bracketSameLine ? o.isSelfClosing ? " " : "" : o.isSelfClosing ? fr : oo), c;
|
|
60172
60172
|
}
|
|
60173
60173
|
function R8e(e) {
|
|
60174
60174
|
return e.firstChild && Nx(e.firstChild) ? "" : g9(e);
|
|
@@ -60314,7 +60314,7 @@ function r0(e, t, n) {
|
|
|
60314
60314
|
return n();
|
|
60315
60315
|
}
|
|
60316
60316
|
function rm(e, t) {
|
|
60317
|
-
return Hi(e) && Hi(t) ? e.isTrailingSpaceSensitive ? e.hasTrailingSpaces ? j4(t) ? zn : fr : "" : j4(t) ? zn :
|
|
60317
|
+
return Hi(e) && Hi(t) ? e.isTrailingSpaceSensitive ? e.hasTrailingSpaces ? j4(t) ? zn : fr : "" : j4(t) ? zn : oo : Bx(e) && (Sx(t) || t.firstChild || t.isSelfClosing || t.type === "element" && t.attrs.length > 0) || e.type === "element" && e.isSelfClosing && ld(t) ? "" : !t.isLeadingSpaceSensitive || j4(t) || ld(t) && e.lastChild && t1(e.lastChild) && e.lastChild.lastChild && t1(e.lastChild.lastChild) ? zn : t.hasLeadingSpaces ? fr : oo;
|
|
60318
60318
|
}
|
|
60319
60319
|
function m9(e, t, n) {
|
|
60320
60320
|
let { node: r } = e;
|
|
@@ -60333,7 +60333,7 @@ function m9(e, t, n) {
|
|
|
60333
60333
|
return r0(i, t, n);
|
|
60334
60334
|
}
|
|
60335
60335
|
let l = [], u = [], c = [], d = [], p = a.prev ? rm(a.prev, a) : "", h = a.next ? rm(a, a.next) : "";
|
|
60336
|
-
return p && (nm(a.prev) ? l.push(zn, zn) : p === zn ? l.push(zn) : Hi(a.prev) ? u.push(p) : u.push(Hb("",
|
|
60336
|
+
return p && (nm(a.prev) ? l.push(zn, zn) : p === zn ? l.push(zn) : Hi(a.prev) ? u.push(p) : u.push(Hb("", oo, { groupId: o[s - 1] }))), h && (nm(a) ? Hi(a.next) && d.push(zn, zn) : h === zn ? Hi(a.next) && d.push(zn) : c.push(h)), [...l, Fr([...u, Fr([r0(i, t, n), ...c], { id: o[s] })]), ...d];
|
|
60337
60337
|
}, "children");
|
|
60338
60338
|
}
|
|
60339
60339
|
function n9e(e, t, n) {
|
|
@@ -60351,23 +60351,23 @@ function r9e(e) {
|
|
|
60351
60351
|
return (t == null ? void 0 : t.type) === "angularControlFlowBlock" && !Sx(t) && !YW(t);
|
|
60352
60352
|
}
|
|
60353
60353
|
function o9e(e, t, n) {
|
|
60354
|
-
return [Aa([
|
|
60354
|
+
return [Aa([oo, Dh([";", fr], e.map(n, "children"))]), oo];
|
|
60355
60355
|
}
|
|
60356
60356
|
function i9e(e, t, n) {
|
|
60357
60357
|
let { node: r } = e;
|
|
60358
|
-
return [Z0(r, t), Fr([r.switchValue.trim(), ", ", r.clause, r.cases.length > 0 ? [",", Aa([fr, Dh(fr, e.map(n, "cases"))])] : "",
|
|
60358
|
+
return [Z0(r, t), Fr([r.switchValue.trim(), ", ", r.clause, r.cases.length > 0 ? [",", Aa([fr, Dh(fr, e.map(n, "cases"))])] : "", oo]), X0(r, t)];
|
|
60359
60359
|
}
|
|
60360
60360
|
function s9e(e, t, n) {
|
|
60361
60361
|
let { node: r } = e;
|
|
60362
|
-
return [r.value, " {", Fr([Aa([
|
|
60362
|
+
return [r.value, " {", Fr([Aa([oo, e.map(({ node: o, isLast: i }) => {
|
|
60363
60363
|
let s = [n()];
|
|
60364
60364
|
return o.type === "text" && (o.hasLeadingSpaces && s.unshift(fr), o.hasTrailingSpaces && !i && s.push(fr)), s;
|
|
60365
|
-
}, "expression")]),
|
|
60365
|
+
}, "expression")]), oo]), "}"];
|
|
60366
60366
|
}
|
|
60367
60367
|
function a9e(e, t, n) {
|
|
60368
60368
|
let { node: r } = e;
|
|
60369
60369
|
if (TW(r, t)) return [ud(r, t), Fr(Iw(e, t, n)), ms(GW(r, t)), ...Rw(r, t), ad(r, t)];
|
|
60370
|
-
let o = r.children.length === 1 && (r.firstChild.type === "interpolation" || r.firstChild.type === "angularIcuExpression") && r.firstChild.isLeadingSpaceSensitive && !r.firstChild.hasLeadingSpaces && r.lastChild.isTrailingSpaceSensitive && !r.lastChild.hasTrailingSpaces, i = Symbol("element-attr-group-id"), s = (c) => Fr([Fr(Iw(e, t, n), { id: i }), c, Rw(r, t)]), a = (c) => o ? GDe(c, { groupId: i }) : (bl(r, t) || Tx(r, t)) && r.parent.type === "root" && t.parser === "vue" && !t.vueIndentScriptAndStyle ? c : Aa(c), l = () => o ? Hb(
|
|
60370
|
+
let o = r.children.length === 1 && (r.firstChild.type === "interpolation" || r.firstChild.type === "angularIcuExpression") && r.firstChild.isLeadingSpaceSensitive && !r.firstChild.hasLeadingSpaces && r.lastChild.isTrailingSpaceSensitive && !r.lastChild.hasTrailingSpaces, i = Symbol("element-attr-group-id"), s = (c) => Fr([Fr(Iw(e, t, n), { id: i }), c, Rw(r, t)]), a = (c) => o ? GDe(c, { groupId: i }) : (bl(r, t) || Tx(r, t)) && r.parent.type === "root" && t.parser === "vue" && !t.vueIndentScriptAndStyle ? c : Aa(c), l = () => o ? Hb(oo, "", { groupId: i }) : r.firstChild.hasLeadingSpaces && r.firstChild.isLeadingSpaceSensitive ? fr : r.firstChild.type === "text" && r.isWhitespaceSensitive && r.isIndentationSensitive ? qDe(oo) : oo, u = () => (r.next ? ld(r.next) : eg(r.parent)) ? r.lastChild.hasTrailingSpaces && r.lastChild.isTrailingSpaceSensitive ? " " : "" : o ? Hb(oo, "", { groupId: i }) : r.lastChild.hasTrailingSpaces && r.lastChild.isTrailingSpaceSensitive ? fr : (r.lastChild.type === "comment" || r.lastChild.type === "text" && r.isWhitespaceSensitive && r.isIndentationSensitive) && new RegExp(`\\n[\\t ]{${t.tabWidth * (e.ancestors.length - 1)}}$`, "u").test(r.lastChild.value) ? "" : oo;
|
|
60371
60371
|
return r.children.length === 0 ? s(r.hasDanglingSpaces && r.isDanglingSpaceSensitive ? fr : "") : s([Rke(r) ? X1 : "", a([l(), m9(e, t, n)]), u()]);
|
|
60372
60372
|
}
|
|
60373
60373
|
function Wb(e) {
|
|
@@ -60621,13 +60621,13 @@ function E9e(e, t, n) {
|
|
|
60621
60621
|
return i[0] = [o, i[0]], i.push([i.pop(), s]), CW(i);
|
|
60622
60622
|
}
|
|
60623
60623
|
case "docType":
|
|
60624
|
-
return [Fr([Z0(r, t), " ",
|
|
60624
|
+
return [Fr([Z0(r, t), " ", ki(!1, r.value.replace(/^html\b/iu, "html"), /\s+/gu, " ")]), X0(r, t)];
|
|
60625
60625
|
case "comment":
|
|
60626
60626
|
return [ud(r, t), ms(t.originalText.slice(J1(r), jx(r))), ad(r, t)];
|
|
60627
60627
|
case "attribute": {
|
|
60628
60628
|
if (r.value === null) return r.rawName;
|
|
60629
60629
|
let o = PW(r.value), i = JDe(o, '"');
|
|
60630
|
-
return [r.rawName, "=", i, ms(i === '"' ?
|
|
60630
|
+
return [r.rawName, "=", i, ms(i === '"' ? ki(!1, o, '"', """) : ki(!1, o, "'", "'")), i];
|
|
60631
60631
|
}
|
|
60632
60632
|
case "cdata":
|
|
60633
60633
|
default:
|
|
@@ -61550,7 +61550,7 @@ var oq = class Pw {
|
|
|
61550
61550
|
constructor(e, t) {
|
|
61551
61551
|
this.msg = e, this.cursor = t;
|
|
61552
61552
|
}
|
|
61553
|
-
},
|
|
61553
|
+
}, yo = class iq extends JW {
|
|
61554
61554
|
static create(t, n, r) {
|
|
61555
61555
|
return new iq(t, n, r);
|
|
61556
61556
|
}
|
|
@@ -61578,7 +61578,7 @@ var oq = class Pw {
|
|
|
61578
61578
|
}
|
|
61579
61579
|
build() {
|
|
61580
61580
|
for (; this._peek.type !== 34; ) this._peek.type === 0 || this._peek.type === 4 ? this._consumeStartTag(this._advance()) : this._peek.type === 3 ? (this._closeVoidElement(), this._consumeEndTag(this._advance())) : this._peek.type === 12 ? (this._closeVoidElement(), this._consumeCdata(this._advance())) : this._peek.type === 10 ? (this._closeVoidElement(), this._consumeComment(this._advance())) : this._peek.type === 5 || this._peek.type === 7 || this._peek.type === 6 ? (this._closeVoidElement(), this._consumeText(this._advance())) : this._peek.type === 20 ? this._consumeExpansion(this._advance()) : this._peek.type === 25 ? (this._closeVoidElement(), this._consumeBlockOpen(this._advance())) : this._peek.type === 27 ? (this._closeVoidElement(), this._consumeBlockClose(this._advance())) : this._peek.type === 29 ? (this._closeVoidElement(), this._consumeIncompleteBlock(this._advance())) : this._peek.type === 30 ? (this._closeVoidElement(), this._consumeLet(this._advance())) : this._peek.type === 18 ? this._consumeDocType(this._advance()) : this._peek.type === 33 ? (this._closeVoidElement(), this._consumeIncompleteLet(this._advance())) : this._advance();
|
|
61581
|
-
for (let t of this._containerStack) t instanceof Ld && this.errors.push(
|
|
61581
|
+
for (let t of this._containerStack) t instanceof Ld && this.errors.push(yo.create(t.name, t.sourceSpan, `Unclosed block "${t.name}"`));
|
|
61582
61582
|
}
|
|
61583
61583
|
_advance() {
|
|
61584
61584
|
let t = this._peek;
|
|
@@ -61607,7 +61607,7 @@ var oq = class Pw {
|
|
|
61607
61607
|
o.push(s);
|
|
61608
61608
|
}
|
|
61609
61609
|
if (this._peek.type !== 24) {
|
|
61610
|
-
this.errors.push(
|
|
61610
|
+
this.errors.push(yo.create(null, this._peek.sourceSpan, "Invalid ICU message. Missing '}'."));
|
|
61611
61611
|
return;
|
|
61612
61612
|
}
|
|
61613
61613
|
let i = new Ht(t.sourceSpan.start, this._peek.sourceSpan.end, t.sourceSpan.fullStart);
|
|
@@ -61615,7 +61615,7 @@ var oq = class Pw {
|
|
|
61615
61615
|
}
|
|
61616
61616
|
_parseExpansionCase() {
|
|
61617
61617
|
let t = this._advance();
|
|
61618
|
-
if (this._peek.type !== 22) return this.errors.push(
|
|
61618
|
+
if (this._peek.type !== 22) return this.errors.push(yo.create(null, this._peek.sourceSpan, "Invalid ICU message. Missing '{'.")), null;
|
|
61619
61619
|
let n = this._advance(), r = this._collectExpansionExpTokens(n);
|
|
61620
61620
|
if (!r) return null;
|
|
61621
61621
|
let o = this._advance();
|
|
@@ -61630,10 +61630,10 @@ var oq = class Pw {
|
|
|
61630
61630
|
for (; ; ) {
|
|
61631
61631
|
if ((this._peek.type === 20 || this._peek.type === 22) && r.push(this._peek.type), this._peek.type === 23) if (jj(r, 22)) {
|
|
61632
61632
|
if (r.pop(), r.length === 0) return n;
|
|
61633
|
-
} else return this.errors.push(
|
|
61633
|
+
} else return this.errors.push(yo.create(null, t.sourceSpan, "Invalid ICU message. Missing '}'.")), null;
|
|
61634
61634
|
if (this._peek.type === 24) if (jj(r, 20)) r.pop();
|
|
61635
|
-
else return this.errors.push(
|
|
61636
|
-
if (this._peek.type === 34) return this.errors.push(
|
|
61635
|
+
else return this.errors.push(yo.create(null, t.sourceSpan, "Invalid ICU message. Missing '}'.")), null;
|
|
61636
|
+
if (this._peek.type === 34) return this.errors.push(yo.create(null, t.sourceSpan, "Invalid ICU message. Missing '}'.")), null;
|
|
61637
61637
|
n.push(this._advance());
|
|
61638
61638
|
}
|
|
61639
61639
|
}
|
|
@@ -61670,20 +61670,20 @@ var oq = class Pw {
|
|
|
61670
61670
|
if (this._peek.type === 2) {
|
|
61671
61671
|
this._advance(), s = !0;
|
|
61672
61672
|
let h = this.getTagDefinition(i);
|
|
61673
|
-
this.canSelfClose || h.canSelfClose || a2(i) !== null || h.isVoid || this.errors.push(
|
|
61673
|
+
this.canSelfClose || h.canSelfClose || a2(i) !== null || h.isVoid || this.errors.push(yo.create(i, t.sourceSpan, `Only void, custom and foreign elements can be self closed "${t.parts[1]}"`));
|
|
61674
61674
|
} else this._peek.type === 1 && (this._advance(), s = !1);
|
|
61675
61675
|
let a = this._peek.sourceSpan.fullStart, l = new Ht(t.sourceSpan.start, a, t.sourceSpan.fullStart), u = new Ht(t.sourceSpan.start, a, t.sourceSpan.fullStart), c = new Ht(t.sourceSpan.start.moveBy(1), t.sourceSpan.end), d = new $l(i, o, [], l, u, void 0, c), p = this._getContainer();
|
|
61676
|
-
this._pushContainer(d, p instanceof $l && this.getTagDefinition(p.name).isClosedByChild(d.name)), s ? this._popContainer(i, $l, l) : t.type === 4 && (this._popContainer(i, $l, null), this.errors.push(
|
|
61676
|
+
this._pushContainer(d, p instanceof $l && this.getTagDefinition(p.name).isClosedByChild(d.name)), s ? this._popContainer(i, $l, l) : t.type === 4 && (this._popContainer(i, $l, null), this.errors.push(yo.create(i, l, `Opening tag "${i}" not terminated.`)));
|
|
61677
61677
|
}
|
|
61678
61678
|
_pushContainer(t, n) {
|
|
61679
61679
|
n && this._containerStack.pop(), this._addToParent(t), this._containerStack.push(t);
|
|
61680
61680
|
}
|
|
61681
61681
|
_consumeEndTag(t) {
|
|
61682
61682
|
let n = this.allowHtmComponentClosingTags && t.parts.length === 0 ? null : this._getElementFullName(t.parts[0], t.parts[1], this._getClosestParentElement());
|
|
61683
|
-
if (n && this.getTagDefinition(n).isVoid) this.errors.push(
|
|
61683
|
+
if (n && this.getTagDefinition(n).isVoid) this.errors.push(yo.create(n, t.sourceSpan, `Void elements do not have end tags "${t.parts[1]}"`));
|
|
61684
61684
|
else if (!this._popContainer(n, $l, t.sourceSpan)) {
|
|
61685
61685
|
let r = `Unexpected closing tag "${n}". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags`;
|
|
61686
|
-
this.errors.push(
|
|
61686
|
+
this.errors.push(yo.create(n, t.sourceSpan, r));
|
|
61687
61687
|
}
|
|
61688
61688
|
}
|
|
61689
61689
|
_popContainer(t, n, r) {
|
|
@@ -61718,7 +61718,7 @@ var oq = class Pw {
|
|
|
61718
61718
|
this._pushContainer(s, !1);
|
|
61719
61719
|
}
|
|
61720
61720
|
_consumeBlockClose(t) {
|
|
61721
|
-
this._popContainer(null, Ld, t.sourceSpan) || this.errors.push(
|
|
61721
|
+
this._popContainer(null, Ld, t.sourceSpan) || this.errors.push(yo.create(null, t.sourceSpan, 'Unexpected closing block. The block may have been closed earlier. If you meant to write the } character, you should use the "}" HTML entity instead.'));
|
|
61722
61722
|
}
|
|
61723
61723
|
_consumeIncompleteBlock(t) {
|
|
61724
61724
|
let n = [];
|
|
@@ -61727,16 +61727,16 @@ var oq = class Pw {
|
|
|
61727
61727
|
n.push(new kj(a.parts[0], a.sourceSpan));
|
|
61728
61728
|
}
|
|
61729
61729
|
let r = this._peek.sourceSpan.fullStart, o = new Ht(t.sourceSpan.start, r, t.sourceSpan.fullStart), i = new Ht(t.sourceSpan.start, r, t.sourceSpan.fullStart), s = new Ld(t.parts[0], n, [], o, t.sourceSpan, i);
|
|
61730
|
-
this._pushContainer(s, !1), this._popContainer(null, Ld, null), this.errors.push(
|
|
61730
|
+
this._pushContainer(s, !1), this._popContainer(null, Ld, null), this.errors.push(yo.create(t.parts[0], o, `Incomplete block "${t.parts[0]}". If you meant to write the @ character, you should use the "@" HTML entity instead.`));
|
|
61731
61731
|
}
|
|
61732
61732
|
_consumeLet(t) {
|
|
61733
61733
|
let n = t.parts[0], r, o;
|
|
61734
61734
|
if (this._peek.type !== 31) {
|
|
61735
|
-
this.errors.push(
|
|
61735
|
+
this.errors.push(yo.create(t.parts[0], t.sourceSpan, `Invalid @let declaration "${n}". Declaration must have a value.`));
|
|
61736
61736
|
return;
|
|
61737
61737
|
} else r = this._advance();
|
|
61738
61738
|
if (this._peek.type !== 32) {
|
|
61739
|
-
this.errors.push(
|
|
61739
|
+
this.errors.push(yo.create(t.parts[0], t.sourceSpan, `Unterminated @let declaration "${n}". Declaration must be terminated with a semicolon.`));
|
|
61740
61740
|
return;
|
|
61741
61741
|
} else o = this._advance();
|
|
61742
61742
|
let i = o.sourceSpan.fullStart, s = new Ht(t.sourceSpan.start, i, t.sourceSpan.fullStart), a = t.sourceSpan.toString().lastIndexOf(n), l = t.sourceSpan.start.moveBy(a), u = new Ht(l, t.sourceSpan.end), c = new Ej(n, r.parts[0], s, u, r.sourceSpan);
|
|
@@ -61748,7 +61748,7 @@ var oq = class Pw {
|
|
|
61748
61748
|
let o = t.sourceSpan.toString().lastIndexOf(n), i = t.sourceSpan.start.moveBy(o), s = new Ht(i, t.sourceSpan.end), a = new Ht(t.sourceSpan.start, t.sourceSpan.start.moveBy(0)), l = new Ej(n, "", t.sourceSpan, s, a);
|
|
61749
61749
|
this._addToParent(l);
|
|
61750
61750
|
}
|
|
61751
|
-
this.errors.push(
|
|
61751
|
+
this.errors.push(yo.create(t.parts[0], t.sourceSpan, `Incomplete @let declaration${r}. @let declarations must be written as \`@let <name> = <value>;\``));
|
|
61752
61752
|
}
|
|
61753
61753
|
_getContainer() {
|
|
61754
61754
|
return this._containerStack.length > 0 ? this._containerStack[this._containerStack.length - 1] : null;
|
|
@@ -61811,7 +61811,7 @@ function yEe(e) {
|
|
|
61811
61811
|
let t = bEe(e);
|
|
61812
61812
|
if (!t) return { content: e };
|
|
61813
61813
|
let { raw: n } = t;
|
|
61814
|
-
return { frontMatter: t, content:
|
|
61814
|
+
return { frontMatter: t, content: ki(!1, n, /[^\n]/gu, " ") + e.slice(n.length) };
|
|
61815
61815
|
}
|
|
61816
61816
|
var xEe = yEe, im = { attrs: !0, children: !0, cases: !0, expression: !0 }, Mj = /* @__PURE__ */ new Set(["parent"]), tp, $w, Hw, vEe = class F0 {
|
|
61817
61817
|
constructor(t = {}) {
|
|
@@ -61866,10 +61866,10 @@ var xEe = yEe, im = { attrs: !0, children: !0, cases: !0, expression: !0 }, Mj =
|
|
|
61866
61866
|
return new F0(this);
|
|
61867
61867
|
}
|
|
61868
61868
|
get $children() {
|
|
61869
|
-
return this[
|
|
61869
|
+
return this[Oi(this, tp, $w)];
|
|
61870
61870
|
}
|
|
61871
61871
|
set $children(t) {
|
|
61872
|
-
this[
|
|
61872
|
+
this[Oi(this, tp, $w)] = t;
|
|
61873
61873
|
}
|
|
61874
61874
|
get firstChild() {
|
|
61875
61875
|
var t;
|
|
@@ -61879,11 +61879,11 @@ var xEe = yEe, im = { attrs: !0, children: !0, cases: !0, expression: !0 }, Mj =
|
|
|
61879
61879
|
return Y1(!0, this.$children, -1);
|
|
61880
61880
|
}
|
|
61881
61881
|
get prev() {
|
|
61882
|
-
let t =
|
|
61882
|
+
let t = Oi(this, tp, Hw);
|
|
61883
61883
|
return t[t.indexOf(this) - 1];
|
|
61884
61884
|
}
|
|
61885
61885
|
get next() {
|
|
61886
|
-
let t =
|
|
61886
|
+
let t = Oi(this, tp, Hw);
|
|
61887
61887
|
return t[t.indexOf(this) + 1];
|
|
61888
61888
|
}
|
|
61889
61889
|
get rawName() {
|
|
@@ -61923,11 +61923,11 @@ function EEe(e, t, n) {
|
|
|
61923
61923
|
return [!1, [{ type: "text", value: i, sourceSpan: new Ht(a, l) }]];
|
|
61924
61924
|
}
|
|
61925
61925
|
})();
|
|
61926
|
-
return { type: "ieConditionalComment", complete: u, children: c, condition:
|
|
61926
|
+
return { type: "ieConditionalComment", complete: u, children: c, condition: ki(!1, o.trim(), /\s+/gu, " "), sourceSpan: e.sourceSpan, startSourceSpan: new Ht(e.sourceSpan.start, a), endSourceSpan: new Ht(l, e.sourceSpan.end) };
|
|
61927
61927
|
}
|
|
61928
61928
|
function CEe(e, t, n) {
|
|
61929
61929
|
let [, r] = n;
|
|
61930
|
-
return { type: "ieConditionalStartComment", condition:
|
|
61930
|
+
return { type: "ieConditionalStartComment", condition: ki(!1, r.trim(), /\s+/gu, " "), sourceSpan: e.sourceSpan };
|
|
61931
61931
|
}
|
|
61932
61932
|
function _Ee(e) {
|
|
61933
61933
|
return { type: "ieConditionalEndComment", sourceSpan: e.sourceSpan };
|
|
@@ -61935,7 +61935,7 @@ function _Ee(e) {
|
|
|
61935
61935
|
var I4 = /* @__PURE__ */ new Map([["*", /* @__PURE__ */ new Set(["accesskey", "autocapitalize", "autofocus", "class", "contenteditable", "dir", "draggable", "enterkeyhint", "hidden", "id", "inert", "inputmode", "is", "itemid", "itemprop", "itemref", "itemscope", "itemtype", "lang", "nonce", "popover", "slot", "spellcheck", "style", "tabindex", "title", "translate", "writingsuggestions"])], ["a", /* @__PURE__ */ new Set(["charset", "coords", "download", "href", "hreflang", "name", "ping", "referrerpolicy", "rel", "rev", "shape", "target", "type"])], ["applet", /* @__PURE__ */ new Set(["align", "alt", "archive", "code", "codebase", "height", "hspace", "name", "object", "vspace", "width"])], ["area", /* @__PURE__ */ new Set(["alt", "coords", "download", "href", "hreflang", "nohref", "ping", "referrerpolicy", "rel", "shape", "target", "type"])], ["audio", /* @__PURE__ */ new Set(["autoplay", "controls", "crossorigin", "loop", "muted", "preload", "src"])], ["base", /* @__PURE__ */ new Set(["href", "target"])], ["basefont", /* @__PURE__ */ new Set(["color", "face", "size"])], ["blockquote", /* @__PURE__ */ new Set(["cite"])], ["body", /* @__PURE__ */ new Set(["alink", "background", "bgcolor", "link", "text", "vlink"])], ["br", /* @__PURE__ */ new Set(["clear"])], ["button", /* @__PURE__ */ new Set(["disabled", "form", "formaction", "formenctype", "formmethod", "formnovalidate", "formtarget", "name", "popovertarget", "popovertargetaction", "type", "value"])], ["canvas", /* @__PURE__ */ new Set(["height", "width"])], ["caption", /* @__PURE__ */ new Set(["align"])], ["col", /* @__PURE__ */ new Set(["align", "char", "charoff", "span", "valign", "width"])], ["colgroup", /* @__PURE__ */ new Set(["align", "char", "charoff", "span", "valign", "width"])], ["data", /* @__PURE__ */ new Set(["value"])], ["del", /* @__PURE__ */ new Set(["cite", "datetime"])], ["details", /* @__PURE__ */ new Set(["name", "open"])], ["dialog", /* @__PURE__ */ new Set(["open"])], ["dir", /* @__PURE__ */ new Set(["compact"])], ["div", /* @__PURE__ */ new Set(["align"])], ["dl", /* @__PURE__ */ new Set(["compact"])], ["embed", /* @__PURE__ */ new Set(["height", "src", "type", "width"])], ["fieldset", /* @__PURE__ */ new Set(["disabled", "form", "name"])], ["font", /* @__PURE__ */ new Set(["color", "face", "size"])], ["form", /* @__PURE__ */ new Set(["accept", "accept-charset", "action", "autocomplete", "enctype", "method", "name", "novalidate", "target"])], ["frame", /* @__PURE__ */ new Set(["frameborder", "longdesc", "marginheight", "marginwidth", "name", "noresize", "scrolling", "src"])], ["frameset", /* @__PURE__ */ new Set(["cols", "rows"])], ["h1", /* @__PURE__ */ new Set(["align"])], ["h2", /* @__PURE__ */ new Set(["align"])], ["h3", /* @__PURE__ */ new Set(["align"])], ["h4", /* @__PURE__ */ new Set(["align"])], ["h5", /* @__PURE__ */ new Set(["align"])], ["h6", /* @__PURE__ */ new Set(["align"])], ["head", /* @__PURE__ */ new Set(["profile"])], ["hr", /* @__PURE__ */ new Set(["align", "noshade", "size", "width"])], ["html", /* @__PURE__ */ new Set(["manifest", "version"])], ["iframe", /* @__PURE__ */ new Set(["align", "allow", "allowfullscreen", "allowpaymentrequest", "allowusermedia", "frameborder", "height", "loading", "longdesc", "marginheight", "marginwidth", "name", "referrerpolicy", "sandbox", "scrolling", "src", "srcdoc", "width"])], ["img", /* @__PURE__ */ new Set(["align", "alt", "border", "crossorigin", "decoding", "fetchpriority", "height", "hspace", "ismap", "loading", "longdesc", "name", "referrerpolicy", "sizes", "src", "srcset", "usemap", "vspace", "width"])], ["input", /* @__PURE__ */ new Set(["accept", "align", "alt", "autocomplete", "checked", "dirname", "disabled", "form", "formaction", "formenctype", "formmethod", "formnovalidate", "formtarget", "height", "ismap", "list", "max", "maxlength", "min", "minlength", "multiple", "name", "pattern", "placeholder", "popovertarget", "popovertargetaction", "readonly", "required", "size", "src", "step", "type", "usemap", "value", "width"])], ["ins", /* @__PURE__ */ new Set(["cite", "datetime"])], ["isindex", /* @__PURE__ */ new Set(["prompt"])], ["label", /* @__PURE__ */ new Set(["for", "form"])], ["legend", /* @__PURE__ */ new Set(["align"])], ["li", /* @__PURE__ */ new Set(["type", "value"])], ["link", /* @__PURE__ */ new Set(["as", "blocking", "charset", "color", "crossorigin", "disabled", "fetchpriority", "href", "hreflang", "imagesizes", "imagesrcset", "integrity", "media", "referrerpolicy", "rel", "rev", "sizes", "target", "type"])], ["map", /* @__PURE__ */ new Set(["name"])], ["menu", /* @__PURE__ */ new Set(["compact"])], ["meta", /* @__PURE__ */ new Set(["charset", "content", "http-equiv", "media", "name", "scheme"])], ["meter", /* @__PURE__ */ new Set(["high", "low", "max", "min", "optimum", "value"])], ["object", /* @__PURE__ */ new Set(["align", "archive", "border", "classid", "codebase", "codetype", "data", "declare", "form", "height", "hspace", "name", "standby", "type", "typemustmatch", "usemap", "vspace", "width"])], ["ol", /* @__PURE__ */ new Set(["compact", "reversed", "start", "type"])], ["optgroup", /* @__PURE__ */ new Set(["disabled", "label"])], ["option", /* @__PURE__ */ new Set(["disabled", "label", "selected", "value"])], ["output", /* @__PURE__ */ new Set(["for", "form", "name"])], ["p", /* @__PURE__ */ new Set(["align"])], ["param", /* @__PURE__ */ new Set(["name", "type", "value", "valuetype"])], ["pre", /* @__PURE__ */ new Set(["width"])], ["progress", /* @__PURE__ */ new Set(["max", "value"])], ["q", /* @__PURE__ */ new Set(["cite"])], ["script", /* @__PURE__ */ new Set(["async", "blocking", "charset", "crossorigin", "defer", "fetchpriority", "integrity", "language", "nomodule", "referrerpolicy", "src", "type"])], ["select", /* @__PURE__ */ new Set(["autocomplete", "disabled", "form", "multiple", "name", "required", "size"])], ["slot", /* @__PURE__ */ new Set(["name"])], ["source", /* @__PURE__ */ new Set(["height", "media", "sizes", "src", "srcset", "type", "width"])], ["style", /* @__PURE__ */ new Set(["blocking", "media", "type"])], ["table", /* @__PURE__ */ new Set(["align", "bgcolor", "border", "cellpadding", "cellspacing", "frame", "rules", "summary", "width"])], ["tbody", /* @__PURE__ */ new Set(["align", "char", "charoff", "valign"])], ["td", /* @__PURE__ */ new Set(["abbr", "align", "axis", "bgcolor", "char", "charoff", "colspan", "headers", "height", "nowrap", "rowspan", "scope", "valign", "width"])], ["template", /* @__PURE__ */ new Set(["shadowrootclonable", "shadowrootdelegatesfocus", "shadowrootmode"])], ["textarea", /* @__PURE__ */ new Set(["autocomplete", "cols", "dirname", "disabled", "form", "maxlength", "minlength", "name", "placeholder", "readonly", "required", "rows", "wrap"])], ["tfoot", /* @__PURE__ */ new Set(["align", "char", "charoff", "valign"])], ["th", /* @__PURE__ */ new Set(["abbr", "align", "axis", "bgcolor", "char", "charoff", "colspan", "headers", "height", "nowrap", "rowspan", "scope", "valign", "width"])], ["thead", /* @__PURE__ */ new Set(["align", "char", "charoff", "valign"])], ["time", /* @__PURE__ */ new Set(["datetime"])], ["tr", /* @__PURE__ */ new Set(["align", "bgcolor", "char", "charoff", "valign"])], ["track", /* @__PURE__ */ new Set(["default", "kind", "label", "src", "srclang"])], ["ul", /* @__PURE__ */ new Set(["compact", "type"])], ["video", /* @__PURE__ */ new Set(["autoplay", "controls", "crossorigin", "height", "loop", "muted", "playsinline", "poster", "preload", "src", "width"])]]), AEe = /* @__PURE__ */ new Set(["a", "abbr", "acronym", "address", "applet", "area", "article", "aside", "audio", "b", "base", "basefont", "bdi", "bdo", "bgsound", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "command", "content", "data", "datalist", "dd", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "em", "embed", "fieldset", "figcaption", "figure", "font", "footer", "form", "frame", "frameset", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "iframe", "image", "img", "input", "ins", "isindex", "kbd", "keygen", "label", "legend", "li", "link", "listing", "main", "map", "mark", "marquee", "math", "menu", "menuitem", "meta", "meter", "multicol", "nav", "nextid", "nobr", "noembed", "noframes", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "picture", "plaintext", "pre", "progress", "q", "rb", "rbc", "rp", "rt", "rtc", "ruby", "s", "samp", "script", "search", "section", "select", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "svg", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "title", "tr", "track", "tt", "u", "ul", "var", "video", "wbr", "xmp"]);
|
|
61936
61936
|
function SEe(e) {
|
|
61937
61937
|
if (e.type === "block") {
|
|
61938
|
-
if (e.name =
|
|
61938
|
+
if (e.name = ki(!1, e.name.toLowerCase(), /\s+/gu, " ").trim(), e.type = "angularControlFlowBlock", !l9(e.parameters)) {
|
|
61939
61939
|
delete e.parameters;
|
|
61940
61940
|
return;
|
|
61941
61941
|
}
|
|
@@ -62021,7 +62021,7 @@ function lq(e, t, n = {}, r = !0) {
|
|
|
62021
62021
|
o.sourceSpan = new Ht(p, h), u.children.unshift(o);
|
|
62022
62022
|
}
|
|
62023
62023
|
let c = new FEe(u), d = (p, h) => {
|
|
62024
|
-
let { offset: f } = h, g =
|
|
62024
|
+
let { offset: f } = h, g = ki(!1, e.slice(0, f), /[^\n\r]/gu, " "), m = lq(g + p, t, n, !1);
|
|
62025
62025
|
m.sourceSpan = new Ht(h, Y1(!1, m.children, -1).sourceSpan.end);
|
|
62026
62026
|
let b = m.children[0];
|
|
62027
62027
|
return b.length === f ? m.children.shift() : (b.sourceSpan = new Ht(b.sourceSpan.start.moveBy(f), b.sourceSpan.end), b.value = b.value.slice(f)), m;
|
|
@@ -62177,27 +62177,27 @@ function k9(e) {
|
|
|
62177
62177
|
function pq(e) {
|
|
62178
62178
|
return !!(e && e.nodeType === 1);
|
|
62179
62179
|
}
|
|
62180
|
-
function
|
|
62180
|
+
function go(e) {
|
|
62181
62181
|
var t = "[object " + e + "]";
|
|
62182
62182
|
return function(n) {
|
|
62183
62183
|
return n1.call(n) === t;
|
|
62184
62184
|
};
|
|
62185
62185
|
}
|
|
62186
|
-
const Rx =
|
|
62187
|
-
var mq =
|
|
62186
|
+
const Rx = go("String"), E9 = go("Number"), hq = go("Date"), fq = go("RegExp"), gq = go("Error"), C9 = go("Symbol"), _9 = go("ArrayBuffer");
|
|
62187
|
+
var mq = go("Function"), ZEe = Rj.document && Rj.document.childNodes;
|
|
62188
62188
|
typeof /./ != "function" && typeof Int8Array != "object" && typeof ZEe != "function" && (mq = function(e) {
|
|
62189
62189
|
return typeof e == "function" || !1;
|
|
62190
62190
|
});
|
|
62191
|
-
const
|
|
62192
|
-
var yq = VEe && (!/\[native code\]/.test(String(DataView)) || bq(new DataView(new ArrayBuffer(8)))), A9 = typeof Map < "u" && bq(/* @__PURE__ */ new Map()), JEe =
|
|
62191
|
+
const po = mq, bq = go("Object");
|
|
62192
|
+
var yq = VEe && (!/\[native code\]/.test(String(DataView)) || bq(new DataView(new ArrayBuffer(8)))), A9 = typeof Map < "u" && bq(/* @__PURE__ */ new Map()), JEe = go("DataView");
|
|
62193
62193
|
function QEe(e) {
|
|
62194
|
-
return e != null &&
|
|
62194
|
+
return e != null && po(e.getInt8) && _9(e.buffer);
|
|
62195
62195
|
}
|
|
62196
|
-
const r1 = yq ? QEe : JEe, ec = GEe ||
|
|
62196
|
+
const r1 = yq ? QEe : JEe, ec = GEe || go("Array");
|
|
62197
62197
|
function tc(e, t) {
|
|
62198
62198
|
return e != null && qEe.call(e, t);
|
|
62199
62199
|
}
|
|
62200
|
-
var Ww =
|
|
62200
|
+
var Ww = go("Arguments");
|
|
62201
62201
|
(function() {
|
|
62202
62202
|
Ww(arguments) || (Ww = function(e) {
|
|
62203
62203
|
return tc(e, "callee");
|
|
@@ -62245,7 +62245,7 @@ function r7e(e) {
|
|
|
62245
62245
|
}
|
|
62246
62246
|
function wq(e, t) {
|
|
62247
62247
|
t = r7e(t);
|
|
62248
|
-
var n = zj.length, r = e.constructor, o =
|
|
62248
|
+
var n = zj.length, r = e.constructor, o = po(r) && r.prototype || w9, i = "constructor";
|
|
62249
62249
|
for (tc(e, i) && !t.contains(i) && t.push(i); n--; )
|
|
62250
62250
|
i = zj[n], i in e && e[i] !== o[i] && !t.contains(i) && t.push(i);
|
|
62251
62251
|
}
|
|
@@ -62331,7 +62331,7 @@ function kq(e, t, n, r) {
|
|
|
62331
62331
|
if (!i) {
|
|
62332
62332
|
if (typeof e != "object" || typeof t != "object") return !1;
|
|
62333
62333
|
var a = e.constructor, l = t.constructor;
|
|
62334
|
-
if (a !== l && !(
|
|
62334
|
+
if (a !== l && !(po(a) && a instanceof a && po(l) && l instanceof l) && "constructor" in e && "constructor" in t)
|
|
62335
62335
|
return !1;
|
|
62336
62336
|
}
|
|
62337
62337
|
n = n || [], r = r || [];
|
|
@@ -62365,12 +62365,12 @@ function N9(e) {
|
|
|
62365
62365
|
var r = _h(n);
|
|
62366
62366
|
if (oi(r)) return !1;
|
|
62367
62367
|
for (var o = 0; o < t; o++)
|
|
62368
|
-
if (!
|
|
62369
|
-
return e !== Aq || !
|
|
62368
|
+
if (!po(n[e[o]])) return !1;
|
|
62369
|
+
return e !== Aq || !po(n[M9]);
|
|
62370
62370
|
};
|
|
62371
62371
|
}
|
|
62372
62372
|
var M9 = "forEach", Cq = "has", O9 = ["clear", "delete"], _q = ["get", Cq, "set"], o7e = O9.concat(M9, _q), Aq = O9.concat(_q), i7e = ["add"].concat(O9, M9, Cq);
|
|
62373
|
-
const Sq = A9 ? N9(o7e) :
|
|
62373
|
+
const Sq = A9 ? N9(o7e) : go("Map"), Tq = A9 ? N9(Aq) : go("WeakMap"), jq = A9 ? N9(i7e) : go("Set"), Bq = go("WeakSet");
|
|
62374
62374
|
function wd(e) {
|
|
62375
62375
|
for (var t = wr(e), n = t.length, r = Array(n), o = 0; o < n; o++)
|
|
62376
62376
|
r[o] = e[t[o]];
|
|
@@ -62389,7 +62389,7 @@ function R9(e) {
|
|
|
62389
62389
|
function o1(e) {
|
|
62390
62390
|
var t = [];
|
|
62391
62391
|
for (var n in e)
|
|
62392
|
-
|
|
62392
|
+
po(e[n]) && t.push(n);
|
|
62393
62393
|
return t.sort();
|
|
62394
62394
|
}
|
|
62395
62395
|
function I9(e, t) {
|
|
@@ -62488,7 +62488,7 @@ function og(e, t, n) {
|
|
|
62488
62488
|
};
|
|
62489
62489
|
}
|
|
62490
62490
|
function Uq(e, t, n) {
|
|
62491
|
-
return e == null ? Lx :
|
|
62491
|
+
return e == null ? Lx : po(e) ? og(e, t, n) : Qu(e) && !ec(e) ? cd(e) : Ux(e);
|
|
62492
62492
|
}
|
|
62493
62493
|
function Px(e, t) {
|
|
62494
62494
|
return Uq(e, t, 1 / 0);
|
|
@@ -62601,10 +62601,10 @@ function Yq(e, t, n) {
|
|
|
62601
62601
|
t = rg(t);
|
|
62602
62602
|
var r = t.length;
|
|
62603
62603
|
if (!r)
|
|
62604
|
-
return
|
|
62604
|
+
return po(n) ? n.call(e) : n;
|
|
62605
62605
|
for (var o = 0; o < r; o++) {
|
|
62606
62606
|
var i = e == null ? void 0 : e[t[o]];
|
|
62607
|
-
i === void 0 && (i = n, o = r), e =
|
|
62607
|
+
i === void 0 && (i = n, o = r), e = po(i) ? i.call(e) : i;
|
|
62608
62608
|
}
|
|
62609
62609
|
return e;
|
|
62610
62610
|
}
|
|
@@ -62633,12 +62633,12 @@ var Dd = Oo(function(e, t) {
|
|
|
62633
62633
|
});
|
|
62634
62634
|
Dd.placeholder = mn;
|
|
62635
62635
|
const W9 = Oo(function(e, t, n) {
|
|
62636
|
-
if (!
|
|
62636
|
+
if (!po(e)) throw new TypeError("Bind must be called on a function");
|
|
62637
62637
|
var r = Oo(function(o) {
|
|
62638
62638
|
return Jq(e, r, t, this, n.concat(o));
|
|
62639
62639
|
});
|
|
62640
62640
|
return r;
|
|
62641
|
-
}),
|
|
62641
|
+
}), _i = vq(oi);
|
|
62642
62642
|
function kd(e, t, n, r) {
|
|
62643
62643
|
if (r = r || [], !t && t !== 0)
|
|
62644
62644
|
t = 1 / 0;
|
|
@@ -62646,7 +62646,7 @@ function kd(e, t, n, r) {
|
|
|
62646
62646
|
return r.concat(e);
|
|
62647
62647
|
for (var o = r.length, i = 0, s = oi(e); i < s; i++) {
|
|
62648
62648
|
var a = e[i];
|
|
62649
|
-
if (
|
|
62649
|
+
if (_i(a) && (ec(a) || Ix(a)))
|
|
62650
62650
|
if (t > 1)
|
|
62651
62651
|
kd(a, t - 1, n, r), o = r.length;
|
|
62652
62652
|
else
|
|
@@ -62769,7 +62769,7 @@ function uV(e, t, n) {
|
|
|
62769
62769
|
}
|
|
62770
62770
|
const X9 = uV(1, $x, Y9), cV = uV(-1, K9);
|
|
62771
62771
|
function i1(e, t, n) {
|
|
62772
|
-
var r =
|
|
62772
|
+
var r = _i(e) ? $x : G9, o = r(e, t, n);
|
|
62773
62773
|
if (o !== void 0 && o !== -1) return e[o];
|
|
62774
62774
|
}
|
|
62775
62775
|
function dV(e, t) {
|
|
@@ -62778,7 +62778,7 @@ function dV(e, t) {
|
|
|
62778
62778
|
function _s(e, t, n) {
|
|
62779
62779
|
t = og(t, n);
|
|
62780
62780
|
var r, o;
|
|
62781
|
-
if (
|
|
62781
|
+
if (_i(e))
|
|
62782
62782
|
for (r = 0, o = e.length; r < o; r++)
|
|
62783
62783
|
t(e[r], r, e);
|
|
62784
62784
|
else {
|
|
@@ -62790,7 +62790,7 @@ function _s(e, t, n) {
|
|
|
62790
62790
|
}
|
|
62791
62791
|
function yl(e, t, n) {
|
|
62792
62792
|
t = si(t, n);
|
|
62793
|
-
for (var r = !
|
|
62793
|
+
for (var r = !_i(e) && wr(e), o = (r || e).length, i = Array(o), s = 0; s < o; s++) {
|
|
62794
62794
|
var a = r ? r[s] : s;
|
|
62795
62795
|
i[s] = t(e[a], a, e);
|
|
62796
62796
|
}
|
|
@@ -62798,7 +62798,7 @@ function yl(e, t, n) {
|
|
|
62798
62798
|
}
|
|
62799
62799
|
function pV(e) {
|
|
62800
62800
|
var t = function(n, r, o, i) {
|
|
62801
|
-
var s = !
|
|
62801
|
+
var s = !_i(n) && wr(n), a = (s || n).length, l = e > 0 ? 0 : a - 1;
|
|
62802
62802
|
for (i || (o = n[s ? s[l] : l], l += e); l >= 0 && l < a; l += e) {
|
|
62803
62803
|
var u = s ? s[l] : l;
|
|
62804
62804
|
o = r(o, n[u], u, n);
|
|
@@ -62822,7 +62822,7 @@ function hV(e, t, n) {
|
|
|
62822
62822
|
}
|
|
62823
62823
|
function Qb(e, t, n) {
|
|
62824
62824
|
t = si(t, n);
|
|
62825
|
-
for (var r = !
|
|
62825
|
+
for (var r = !_i(e) && wr(e), o = (r || e).length, i = 0; i < o; i++) {
|
|
62826
62826
|
var s = r ? r[i] : i;
|
|
62827
62827
|
if (!t(e[s], s, e)) return !1;
|
|
62828
62828
|
}
|
|
@@ -62830,18 +62830,18 @@ function Qb(e, t, n) {
|
|
|
62830
62830
|
}
|
|
62831
62831
|
function ey(e, t, n) {
|
|
62832
62832
|
t = si(t, n);
|
|
62833
|
-
for (var r = !
|
|
62833
|
+
for (var r = !_i(e) && wr(e), o = (r || e).length, i = 0; i < o; i++) {
|
|
62834
62834
|
var s = r ? r[i] : i;
|
|
62835
62835
|
if (t(e[s], s, e)) return !0;
|
|
62836
62836
|
}
|
|
62837
62837
|
return !1;
|
|
62838
62838
|
}
|
|
62839
62839
|
function Yi(e, t, n, r) {
|
|
62840
|
-
return
|
|
62840
|
+
return _i(e) || (e = wd(e)), (typeof n != "number" || r) && (n = 0), X9(e, t, n) >= 0;
|
|
62841
62841
|
}
|
|
62842
62842
|
const fV = Oo(function(e, t, n) {
|
|
62843
62843
|
var r, o;
|
|
62844
|
-
return
|
|
62844
|
+
return po(t) ? o = t : (t = rg(t), r = t.slice(0, -1), t = t[t.length - 1]), yl(e, function(i) {
|
|
62845
62845
|
var s = o;
|
|
62846
62846
|
if (!s) {
|
|
62847
62847
|
if (r && r.length && (i = z9(i, r)), i == null) return;
|
|
@@ -62859,7 +62859,7 @@ function gV(e, t) {
|
|
|
62859
62859
|
function Z9(e, t, n) {
|
|
62860
62860
|
var r = -1 / 0, o = -1 / 0, i, s;
|
|
62861
62861
|
if (t == null || typeof t == "number" && typeof e[0] != "object" && e != null) {
|
|
62862
|
-
e =
|
|
62862
|
+
e = _i(e) ? e : wd(e);
|
|
62863
62863
|
for (var a = 0, l = e.length; a < l; a++)
|
|
62864
62864
|
i = e[a], i != null && i > r && (r = i);
|
|
62865
62865
|
} else
|
|
@@ -62871,7 +62871,7 @@ function Z9(e, t, n) {
|
|
|
62871
62871
|
function mV(e, t, n) {
|
|
62872
62872
|
var r = 1 / 0, o = 1 / 0, i, s;
|
|
62873
62873
|
if (t == null || typeof t == "number" && typeof e[0] != "object" && e != null) {
|
|
62874
|
-
e =
|
|
62874
|
+
e = _i(e) ? e : wd(e);
|
|
62875
62875
|
for (var a = 0, l = e.length; a < l; a++)
|
|
62876
62876
|
i = e[a], i != null && i < r && (r = i);
|
|
62877
62877
|
} else
|
|
@@ -62882,11 +62882,11 @@ function mV(e, t, n) {
|
|
|
62882
62882
|
}
|
|
62883
62883
|
var h7e = /[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;
|
|
62884
62884
|
function J9(e) {
|
|
62885
|
-
return e ? ec(e) ? ng.call(e) : Rx(e) ? e.match(h7e) :
|
|
62885
|
+
return e ? ec(e) ? ng.call(e) : Rx(e) ? e.match(h7e) : _i(e) ? yl(e, Lx) : wd(e) : [];
|
|
62886
62886
|
}
|
|
62887
62887
|
function Q9(e, t, n) {
|
|
62888
62888
|
if (t == null || n)
|
|
62889
|
-
return
|
|
62889
|
+
return _i(e) || (e = wd(e)), e[Zb(e.length - 1)];
|
|
62890
62890
|
var r = J9(e), o = oi(r);
|
|
62891
62891
|
t = Math.max(Math.min(t, o), 0);
|
|
62892
62892
|
for (var i = o - 1, s = 0; s < t; s++) {
|
|
@@ -62934,7 +62934,7 @@ const xV = Wx(function(e, t, n) {
|
|
|
62934
62934
|
e[n ? 0 : 1].push(t);
|
|
62935
62935
|
}, !0);
|
|
62936
62936
|
function DV(e) {
|
|
62937
|
-
return e == null ? 0 :
|
|
62937
|
+
return e == null ? 0 : _i(e) ? e.length : wr(e).length;
|
|
62938
62938
|
}
|
|
62939
62939
|
function f7e(e, t, n) {
|
|
62940
62940
|
return t in n;
|
|
@@ -62942,7 +62942,7 @@ function f7e(e, t, n) {
|
|
|
62942
62942
|
const eE = Oo(function(e, t) {
|
|
62943
62943
|
var n = {}, r = t[0];
|
|
62944
62944
|
if (e == null) return n;
|
|
62945
|
-
|
|
62945
|
+
po(r) ? (t.length > 1 && (r = og(r, t[1])), t = _h(e)) : (r = f7e, t = kd(t, !1, !1), e = Object(e));
|
|
62946
62946
|
for (var o = 0, i = t.length; o < i; o++) {
|
|
62947
62947
|
var s = t[o], a = e[s];
|
|
62948
62948
|
r(a, s, e) && (n[s] = a);
|
|
@@ -62950,7 +62950,7 @@ const eE = Oo(function(e, t) {
|
|
|
62950
62950
|
return n;
|
|
62951
62951
|
}), kV = Oo(function(e, t) {
|
|
62952
62952
|
var n = t[0], r;
|
|
62953
|
-
return
|
|
62953
|
+
return po(n) ? (n = zx(n), t.length > 1 && (r = t[1])) : (t = yl(kd(t, !1, !1), String), n = function(o, i) {
|
|
62954
62954
|
return !Yi(t, i);
|
|
62955
62955
|
}), eE(e, n, r);
|
|
62956
62956
|
});
|
|
@@ -63122,7 +63122,7 @@ const g7e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
63122
63122
|
isEqual: Eq,
|
|
63123
63123
|
isError: gq,
|
|
63124
63124
|
isFinite: xq,
|
|
63125
|
-
isFunction:
|
|
63125
|
+
isFunction: po,
|
|
63126
63126
|
isMap: Sq,
|
|
63127
63127
|
isMatch: B9,
|
|
63128
63128
|
isNaN: S9,
|
|
@@ -63273,7 +63273,7 @@ const m7e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
63273
63273
|
isEqual: Eq,
|
|
63274
63274
|
isError: gq,
|
|
63275
63275
|
isFinite: xq,
|
|
63276
|
-
isFunction:
|
|
63276
|
+
isFunction: po,
|
|
63277
63277
|
isMap: Sq,
|
|
63278
63278
|
isMatch: B9,
|
|
63279
63279
|
isNaN: S9,
|
|
@@ -66683,7 +66683,7 @@ function Y7e() {
|
|
|
66683
66683
|
promise: n
|
|
66684
66684
|
};
|
|
66685
66685
|
}
|
|
66686
|
-
var Xt = {}, X7e = ur,
|
|
66686
|
+
var Xt = {}, X7e = ur, Jr = Xt.types = {
|
|
66687
66687
|
document: "document",
|
|
66688
66688
|
paragraph: "paragraph",
|
|
66689
66689
|
run: "run",
|
|
@@ -66704,7 +66704,7 @@ var Xt = {}, X7e = ur, Qr = Xt.types = {
|
|
|
66704
66704
|
};
|
|
66705
66705
|
function Z7e(e, t) {
|
|
66706
66706
|
return t = t || {}, {
|
|
66707
|
-
type:
|
|
66707
|
+
type: Jr.document,
|
|
66708
66708
|
children: e,
|
|
66709
66709
|
notes: t.notes || new qx({}),
|
|
66710
66710
|
comments: t.comments || []
|
|
@@ -66714,7 +66714,7 @@ function J7e(e, t) {
|
|
|
66714
66714
|
t = t || {};
|
|
66715
66715
|
var n = t.indent || {};
|
|
66716
66716
|
return {
|
|
66717
|
-
type:
|
|
66717
|
+
type: Jr.paragraph,
|
|
66718
66718
|
children: e,
|
|
66719
66719
|
styleId: t.styleId || null,
|
|
66720
66720
|
styleName: t.styleName || null,
|
|
@@ -66730,7 +66730,7 @@ function J7e(e, t) {
|
|
|
66730
66730
|
}
|
|
66731
66731
|
function Q7e(e, t) {
|
|
66732
66732
|
return t = t || {}, {
|
|
66733
|
-
type:
|
|
66733
|
+
type: Jr.run,
|
|
66734
66734
|
children: e,
|
|
66735
66735
|
styleId: t.styleId || null,
|
|
66736
66736
|
styleName: t.styleName || null,
|
|
@@ -66753,24 +66753,24 @@ var IV = {
|
|
|
66753
66753
|
};
|
|
66754
66754
|
function eCe(e) {
|
|
66755
66755
|
return {
|
|
66756
|
-
type:
|
|
66756
|
+
type: Jr.text,
|
|
66757
66757
|
value: e
|
|
66758
66758
|
};
|
|
66759
66759
|
}
|
|
66760
66760
|
function tCe() {
|
|
66761
66761
|
return {
|
|
66762
|
-
type:
|
|
66762
|
+
type: Jr.tab
|
|
66763
66763
|
};
|
|
66764
66764
|
}
|
|
66765
66765
|
function nCe(e) {
|
|
66766
66766
|
return {
|
|
66767
|
-
type:
|
|
66767
|
+
type: Jr.checkbox,
|
|
66768
66768
|
checked: e.checked
|
|
66769
66769
|
};
|
|
66770
66770
|
}
|
|
66771
66771
|
function rCe(e, t) {
|
|
66772
66772
|
return {
|
|
66773
|
-
type:
|
|
66773
|
+
type: Jr.hyperlink,
|
|
66774
66774
|
children: e,
|
|
66775
66775
|
href: t.href,
|
|
66776
66776
|
anchor: t.anchor,
|
|
@@ -66779,7 +66779,7 @@ function rCe(e, t) {
|
|
|
66779
66779
|
}
|
|
66780
66780
|
function oCe(e) {
|
|
66781
66781
|
return {
|
|
66782
|
-
type:
|
|
66782
|
+
type: Jr.noteReference,
|
|
66783
66783
|
noteType: e.noteType,
|
|
66784
66784
|
noteId: e.noteId
|
|
66785
66785
|
};
|
|
@@ -66797,7 +66797,7 @@ qx.prototype.findNoteByKey = function(e) {
|
|
|
66797
66797
|
};
|
|
66798
66798
|
function iCe(e) {
|
|
66799
66799
|
return {
|
|
66800
|
-
type:
|
|
66800
|
+
type: Jr.note,
|
|
66801
66801
|
noteType: e.noteType,
|
|
66802
66802
|
noteId: e.noteId,
|
|
66803
66803
|
body: e.body
|
|
@@ -66805,13 +66805,13 @@ function iCe(e) {
|
|
|
66805
66805
|
}
|
|
66806
66806
|
function sCe(e) {
|
|
66807
66807
|
return {
|
|
66808
|
-
type:
|
|
66808
|
+
type: Jr.commentReference,
|
|
66809
66809
|
commentId: e.commentId
|
|
66810
66810
|
};
|
|
66811
66811
|
}
|
|
66812
66812
|
function aCe(e) {
|
|
66813
66813
|
return {
|
|
66814
|
-
type:
|
|
66814
|
+
type: Jr.comment,
|
|
66815
66815
|
commentId: e.commentId,
|
|
66816
66816
|
body: e.body,
|
|
66817
66817
|
authorName: e.authorName,
|
|
@@ -66823,7 +66823,7 @@ function LV(e, t) {
|
|
|
66823
66823
|
}
|
|
66824
66824
|
function lCe(e) {
|
|
66825
66825
|
return {
|
|
66826
|
-
type:
|
|
66826
|
+
type: Jr.image,
|
|
66827
66827
|
// `read` is retained for backwards compatibility, but other read
|
|
66828
66828
|
// methods should be preferred.
|
|
66829
66829
|
read: function(t) {
|
|
@@ -66848,7 +66848,7 @@ function lCe(e) {
|
|
|
66848
66848
|
}
|
|
66849
66849
|
function uCe(e, t) {
|
|
66850
66850
|
return t = t || {}, {
|
|
66851
|
-
type:
|
|
66851
|
+
type: Jr.table,
|
|
66852
66852
|
children: e,
|
|
66853
66853
|
styleId: t.styleId || null,
|
|
66854
66854
|
styleName: t.styleName || null
|
|
@@ -66856,14 +66856,14 @@ function uCe(e, t) {
|
|
|
66856
66856
|
}
|
|
66857
66857
|
function cCe(e, t) {
|
|
66858
66858
|
return t = t || {}, {
|
|
66859
|
-
type:
|
|
66859
|
+
type: Jr.tableRow,
|
|
66860
66860
|
children: e,
|
|
66861
66861
|
isHeader: t.isHeader || !1
|
|
66862
66862
|
};
|
|
66863
66863
|
}
|
|
66864
66864
|
function dCe(e, t) {
|
|
66865
66865
|
return t = t || {}, {
|
|
66866
|
-
type:
|
|
66866
|
+
type: Jr.tableCell,
|
|
66867
66867
|
children: e,
|
|
66868
66868
|
colSpan: t.colSpan == null ? 1 : t.colSpan,
|
|
66869
66869
|
rowSpan: t.rowSpan == null ? 1 : t.rowSpan
|
|
@@ -66871,13 +66871,13 @@ function dCe(e, t) {
|
|
|
66871
66871
|
}
|
|
66872
66872
|
function sE(e) {
|
|
66873
66873
|
return {
|
|
66874
|
-
type:
|
|
66874
|
+
type: Jr.break,
|
|
66875
66875
|
breakType: e
|
|
66876
66876
|
};
|
|
66877
66877
|
}
|
|
66878
66878
|
function pCe(e) {
|
|
66879
66879
|
return {
|
|
66880
|
-
type:
|
|
66880
|
+
type: Jr.bookmarkStart,
|
|
66881
66881
|
name: e.name
|
|
66882
66882
|
};
|
|
66883
66883
|
}
|
|
@@ -66902,11 +66902,11 @@ Xt.pageBreak = sE("page");
|
|
|
66902
66902
|
Xt.columnBreak = sE("column");
|
|
66903
66903
|
Xt.BookmarkStart = pCe;
|
|
66904
66904
|
Xt.verticalAlignment = IV;
|
|
66905
|
-
var
|
|
66906
|
-
|
|
66907
|
-
|
|
66908
|
-
|
|
66909
|
-
|
|
66905
|
+
var Ai = {}, l1 = ur;
|
|
66906
|
+
Ai.Result = xa;
|
|
66907
|
+
Ai.success = hCe;
|
|
66908
|
+
Ai.warning = fCe;
|
|
66909
|
+
Ai.error = gCe;
|
|
66910
66910
|
function xa(e, t) {
|
|
66911
66911
|
this.value = e, this.messages = t || [];
|
|
66912
66912
|
}
|
|
@@ -69527,22 +69527,22 @@ function ai(e, t) {
|
|
|
69527
69527
|
}
|
|
69528
69528
|
n.constructor != e && (typeof e != "function" && console.error("unknown Class:" + e), n.constructor = e);
|
|
69529
69529
|
}
|
|
69530
|
-
var li = {}, Xi = li.ELEMENT_NODE = 1, eh = li.ATTRIBUTE_NODE = 2, ty = li.TEXT_NODE = 3, VV = li.CDATA_SECTION_NODE = 4, GV = li.ENTITY_REFERENCE_NODE = 5, jCe = li.ENTITY_NODE = 6, KV = li.PROCESSING_INSTRUCTION_NODE = 7, YV = li.COMMENT_NODE = 8, XV = li.DOCUMENT_NODE = 9, ZV = li.DOCUMENT_TYPE_NODE = 10, xl = li.DOCUMENT_FRAGMENT_NODE = 11, BCe = li.NOTATION_NODE = 12,
|
|
69531
|
-
|
|
69532
|
-
|
|
69533
|
-
var Go =
|
|
69534
|
-
|
|
69535
|
-
|
|
69536
|
-
|
|
69537
|
-
|
|
69538
|
-
var JV =
|
|
69539
|
-
|
|
69540
|
-
var EB =
|
|
69541
|
-
|
|
69542
|
-
|
|
69543
|
-
|
|
69544
|
-
|
|
69545
|
-
|
|
69530
|
+
var li = {}, Xi = li.ELEMENT_NODE = 1, eh = li.ATTRIBUTE_NODE = 2, ty = li.TEXT_NODE = 3, VV = li.CDATA_SECTION_NODE = 4, GV = li.ENTITY_REFERENCE_NODE = 5, jCe = li.ENTITY_NODE = 6, KV = li.PROCESSING_INSTRUCTION_NODE = 7, YV = li.COMMENT_NODE = 8, XV = li.DOCUMENT_NODE = 9, ZV = li.DOCUMENT_TYPE_NODE = 10, xl = li.DOCUMENT_FRAGMENT_NODE = 11, BCe = li.NOTATION_NODE = 12, mo = {}, Ur = {};
|
|
69531
|
+
mo.INDEX_SIZE_ERR = (Ur[1] = "Index size error", 1);
|
|
69532
|
+
mo.DOMSTRING_SIZE_ERR = (Ur[2] = "DOMString size error", 2);
|
|
69533
|
+
var Go = mo.HIERARCHY_REQUEST_ERR = (Ur[3] = "Hierarchy request error", 3);
|
|
69534
|
+
mo.WRONG_DOCUMENT_ERR = (Ur[4] = "Wrong document", 4);
|
|
69535
|
+
mo.INVALID_CHARACTER_ERR = (Ur[5] = "Invalid character", 5);
|
|
69536
|
+
mo.NO_DATA_ALLOWED_ERR = (Ur[6] = "No data allowed", 6);
|
|
69537
|
+
mo.NO_MODIFICATION_ALLOWED_ERR = (Ur[7] = "No modification allowed", 7);
|
|
69538
|
+
var JV = mo.NOT_FOUND_ERR = (Ur[8] = "Not found", 8);
|
|
69539
|
+
mo.NOT_SUPPORTED_ERR = (Ur[9] = "Not supported", 9);
|
|
69540
|
+
var EB = mo.INUSE_ATTRIBUTE_ERR = (Ur[10] = "Attribute in use", 10);
|
|
69541
|
+
mo.INVALID_STATE_ERR = (Ur[11] = "Invalid state", 11);
|
|
69542
|
+
mo.SYNTAX_ERR = (Ur[12] = "Syntax error", 12);
|
|
69543
|
+
mo.INVALID_MODIFICATION_ERR = (Ur[13] = "Invalid modification", 13);
|
|
69544
|
+
mo.NAMESPACE_ERR = (Ur[14] = "Invalid namespace", 14);
|
|
69545
|
+
mo.INVALID_ACCESS_ERR = (Ur[15] = "Invalid access", 15);
|
|
69546
69546
|
function or(e, t) {
|
|
69547
69547
|
if (t instanceof Error)
|
|
69548
69548
|
var n = t;
|
|
@@ -69551,7 +69551,7 @@ function or(e, t) {
|
|
|
69551
69551
|
return n.code = e, t && (this.message = this.message + ": " + t), n;
|
|
69552
69552
|
}
|
|
69553
69553
|
or.prototype = Error.prototype;
|
|
69554
|
-
sg(
|
|
69554
|
+
sg(mo, or);
|
|
69555
69555
|
function ll() {
|
|
69556
69556
|
}
|
|
69557
69557
|
ll.prototype = {
|
|
@@ -75639,7 +75639,7 @@ function __e(e, t) {
|
|
|
75639
75639
|
}
|
|
75640
75640
|
wE.createBodyReader = S_e;
|
|
75641
75641
|
wE._readNumberingProperties = BG;
|
|
75642
|
-
var pN = _u,
|
|
75642
|
+
var pN = _u, Ii = ur, Rn = Xt, jG = Ai.Result, La = Ai.warning, A_e = Rl, hN = rc, fN = CE;
|
|
75643
75643
|
function S_e(e) {
|
|
75644
75644
|
return {
|
|
75645
75645
|
readXmlElement: function(t) {
|
|
@@ -75762,7 +75762,7 @@ function gN(e) {
|
|
|
75762
75762
|
return Wd();
|
|
75763
75763
|
}
|
|
75764
75764
|
function C() {
|
|
75765
|
-
var te =
|
|
75765
|
+
var te = Ii.last(t.filter(function(ue) {
|
|
75766
75766
|
return ue.type === "hyperlink";
|
|
75767
75767
|
}));
|
|
75768
75768
|
return te ? te.options : null;
|
|
@@ -75821,7 +75821,7 @@ function gN(e) {
|
|
|
75821
75821
|
r.push(le);
|
|
75822
75822
|
}), Wd();
|
|
75823
75823
|
var Q = te.children;
|
|
75824
|
-
return r.length > 0 && (Q = r.concat(Q), r = []),
|
|
75824
|
+
return r.length > 0 && (Q = r.concat(Q), r = []), Xr.map(
|
|
75825
75825
|
p(ue),
|
|
75826
75826
|
c(Q),
|
|
75827
75827
|
function(le, G) {
|
|
@@ -75830,7 +75830,7 @@ function gN(e) {
|
|
|
75830
75830
|
).insertExtra();
|
|
75831
75831
|
},
|
|
75832
75832
|
"w:r": function(te) {
|
|
75833
|
-
return
|
|
75833
|
+
return Xr.map(
|
|
75834
75834
|
f(te.firstOrEmpty("w:rPr")),
|
|
75835
75835
|
c(te.children),
|
|
75836
75836
|
function(ue, B) {
|
|
@@ -75861,7 +75861,7 @@ function gN(e) {
|
|
|
75861
75861
|
var J = te.attributes["w:tgtFrame"] || null;
|
|
75862
75862
|
return new Rn.Hyperlink(
|
|
75863
75863
|
Q,
|
|
75864
|
-
|
|
75864
|
+
Ii.extend({ targetFrame: J }, V)
|
|
75865
75865
|
);
|
|
75866
75866
|
}
|
|
75867
75867
|
if (ue) {
|
|
@@ -75968,15 +75968,15 @@ function gN(e) {
|
|
|
75968
75968
|
return null;
|
|
75969
75969
|
}
|
|
75970
75970
|
function L(te) {
|
|
75971
|
-
var ue =
|
|
75971
|
+
var ue = Ii.any(te, function(le) {
|
|
75972
75972
|
return le.type !== Rn.types.tableRow;
|
|
75973
75973
|
});
|
|
75974
75974
|
if (ue)
|
|
75975
75975
|
return K(te), cm(te, [La(
|
|
75976
75976
|
"unexpected non-row element in table, cell merging may be incorrect"
|
|
75977
75977
|
)]);
|
|
75978
|
-
var B =
|
|
75979
|
-
return
|
|
75978
|
+
var B = Ii.any(te, function(le) {
|
|
75979
|
+
return Ii.any(le.children, function(G) {
|
|
75980
75980
|
return G.type !== Rn.types.tableCell;
|
|
75981
75981
|
});
|
|
75982
75982
|
});
|
|
@@ -76097,66 +76097,66 @@ var T_e = {
|
|
|
76097
76097
|
"w:tcPr": !0
|
|
76098
76098
|
};
|
|
76099
76099
|
function u0(e) {
|
|
76100
|
-
return new
|
|
76100
|
+
return new Xr(null, null, e);
|
|
76101
76101
|
}
|
|
76102
76102
|
function Wd() {
|
|
76103
|
-
return new
|
|
76103
|
+
return new Xr(null);
|
|
76104
76104
|
}
|
|
76105
76105
|
function di(e) {
|
|
76106
|
-
return new
|
|
76106
|
+
return new Xr(e);
|
|
76107
76107
|
}
|
|
76108
76108
|
function cm(e, t) {
|
|
76109
|
-
return new
|
|
76109
|
+
return new Xr(e, null, t);
|
|
76110
76110
|
}
|
|
76111
|
-
function
|
|
76111
|
+
function Xr(e, t, n) {
|
|
76112
76112
|
this.value = e || [], this.extra = t || [], this._result = new jG({
|
|
76113
76113
|
element: this.value,
|
|
76114
76114
|
extra: t
|
|
76115
76115
|
}, n), this.messages = this._result.messages;
|
|
76116
76116
|
}
|
|
76117
|
-
|
|
76118
|
-
return new
|
|
76117
|
+
Xr.prototype.toExtra = function() {
|
|
76118
|
+
return new Xr(null, c3(this.extra, this.value), this.messages);
|
|
76119
76119
|
};
|
|
76120
|
-
|
|
76120
|
+
Xr.prototype.insertExtra = function() {
|
|
76121
76121
|
var e = this.extra;
|
|
76122
|
-
return e && e.length ? new
|
|
76122
|
+
return e && e.length ? new Xr(c3(this.value, e), null, this.messages) : this;
|
|
76123
76123
|
};
|
|
76124
|
-
|
|
76124
|
+
Xr.prototype.map = function(e) {
|
|
76125
76125
|
var t = this._result.map(function(n) {
|
|
76126
76126
|
return e(n.element);
|
|
76127
76127
|
});
|
|
76128
|
-
return new
|
|
76128
|
+
return new Xr(t.value, this.extra, t.messages);
|
|
76129
76129
|
};
|
|
76130
|
-
|
|
76130
|
+
Xr.prototype.flatMap = function(e) {
|
|
76131
76131
|
var t = this._result.flatMap(function(n) {
|
|
76132
76132
|
return e(n.element)._result;
|
|
76133
76133
|
});
|
|
76134
|
-
return new
|
|
76134
|
+
return new Xr(t.value.element, c3(this.extra, t.value.extra), t.messages);
|
|
76135
76135
|
};
|
|
76136
|
-
|
|
76137
|
-
return new
|
|
76136
|
+
Xr.map = function(e, t, n) {
|
|
76137
|
+
return new Xr(
|
|
76138
76138
|
n(e.value, t.value),
|
|
76139
76139
|
c3(e.extra, t.extra),
|
|
76140
76140
|
e.messages.concat(t.messages)
|
|
76141
76141
|
);
|
|
76142
76142
|
};
|
|
76143
76143
|
function mN(e) {
|
|
76144
|
-
var t = jG.combine(
|
|
76145
|
-
return new
|
|
76146
|
-
|
|
76147
|
-
|
|
76144
|
+
var t = jG.combine(Ii.pluck(e, "_result"));
|
|
76145
|
+
return new Xr(
|
|
76146
|
+
Ii.flatten(Ii.pluck(t.value, "element")),
|
|
76147
|
+
Ii.filter(Ii.flatten(Ii.pluck(t.value, "extra")), B_e),
|
|
76148
76148
|
t.messages
|
|
76149
76149
|
);
|
|
76150
76150
|
}
|
|
76151
76151
|
function c3(e, t) {
|
|
76152
|
-
return
|
|
76152
|
+
return Ii.flatten([e, t]);
|
|
76153
76153
|
}
|
|
76154
76154
|
function B_e(e) {
|
|
76155
76155
|
return e;
|
|
76156
76156
|
}
|
|
76157
76157
|
var NG = {};
|
|
76158
76158
|
NG.DocumentXmlReader = O_e;
|
|
76159
|
-
var N_e = Xt, M_e =
|
|
76159
|
+
var N_e = Xt, M_e = Ai.Result;
|
|
76160
76160
|
function O_e(e) {
|
|
76161
76161
|
var t = e.bodyReader;
|
|
76162
76162
|
function n(r) {
|
|
@@ -76366,7 +76366,7 @@ function V_e(e, t) {
|
|
|
76366
76366
|
function OG(e) {
|
|
76367
76367
|
return e.attributes["w:styleId"];
|
|
76368
76368
|
}
|
|
76369
|
-
var TE = {}, G_e = Xt, K_e =
|
|
76369
|
+
var TE = {}, G_e = Xt, K_e = Ai.Result;
|
|
76370
76370
|
TE.createFootnotesReader = RG.bind(Nt, "footnote");
|
|
76371
76371
|
TE.createEndnotesReader = RG.bind(Nt, "endnote");
|
|
76372
76372
|
function RG(e, t) {
|
|
@@ -76385,7 +76385,7 @@ function RG(e, t) {
|
|
|
76385
76385
|
}
|
|
76386
76386
|
return n;
|
|
76387
76387
|
}
|
|
76388
|
-
var IG = {}, Y_e = Xt, X_e =
|
|
76388
|
+
var IG = {}, Y_e = Xt, X_e = Ai.Result;
|
|
76389
76389
|
function Z_e(e) {
|
|
76390
76390
|
function t(r) {
|
|
76391
76391
|
return X_e.combine(r.getElementsByTagName("w:comment").map(n));
|
|
@@ -76420,7 +76420,7 @@ cannot open linked files from a web browser`));
|
|
|
76420
76420
|
}
|
|
76421
76421
|
iE.read = sAe;
|
|
76422
76422
|
iE._findPartPaths = PG;
|
|
76423
|
-
var eAe = zr, tAe = Xt, $F =
|
|
76423
|
+
var eAe = zr, tAe = Xt, $F = Ai.Result, iy = ig, UG = lE.readXmlFromZipFile, nAe = wE.createBodyReader, rAe = NG.DocumentXmlReader, rh = d3, bN = AE, yN = p3, xN = h3, vN = TE, oAe = IG, iAe = LG.Files;
|
|
76424
76424
|
function sAe(e, t, n) {
|
|
76425
76425
|
t = t || {}, n = n || {};
|
|
76426
76426
|
var r = new iAe({
|
|
@@ -77029,7 +77029,7 @@ qG.writer = BAe;
|
|
|
77029
77029
|
function BAe(e) {
|
|
77030
77030
|
return e = e || {}, e.outputFormat === "markdown" ? jAe.writer() : TAe.writer(e);
|
|
77031
77031
|
}
|
|
77032
|
-
var nu = ur, AN = zr, u2 = Xt,
|
|
77032
|
+
var nu = ur, AN = zr, u2 = Xt, ji = g3(), Xw = Ai, NAe = NE, Qt = f3(), MAe = qG;
|
|
77033
77033
|
BE.DocumentConverter = OAe;
|
|
77034
77034
|
function OAe(e) {
|
|
77035
77035
|
return {
|
|
@@ -77045,7 +77045,7 @@ function OAe(e) {
|
|
|
77045
77045
|
function RAe(e, t) {
|
|
77046
77046
|
var n = 1, r = [], o = [];
|
|
77047
77047
|
e = nu.extend({ ignoreEmptyParagraphs: !0 }, e);
|
|
77048
|
-
var i = e.idPrefix === void 0 ? "" : e.idPrefix, s = e.ignoreEmptyParagraphs, a =
|
|
77048
|
+
var i = e.idPrefix === void 0 ? "" : e.idPrefix, s = e.ignoreEmptyParagraphs, a = ji.topLevelElement("p"), l = e.styleMap || [];
|
|
77049
77049
|
function u(z) {
|
|
77050
77050
|
var $ = [], q = d(z, $, {}), P = [];
|
|
77051
77051
|
JG(q, function(K) {
|
|
@@ -77102,15 +77102,15 @@ function RAe(e, t) {
|
|
|
77102
77102
|
var K = m({ type: "highlight", color: z.highlight });
|
|
77103
77103
|
K && L.push(K);
|
|
77104
77104
|
}
|
|
77105
|
-
z.isSmallCaps && L.push(g("smallCaps")), z.isAllCaps && L.push(g("allCaps")), z.isStrikethrough && L.push(g("strikethrough", "s")), z.isUnderline && L.push(g("underline")), z.verticalAlignment === u2.verticalAlignment.subscript && L.push(
|
|
77106
|
-
var ae =
|
|
77105
|
+
z.isSmallCaps && L.push(g("smallCaps")), z.isAllCaps && L.push(g("allCaps")), z.isStrikethrough && L.push(g("strikethrough", "s")), z.isUnderline && L.push(g("underline")), z.verticalAlignment === u2.verticalAlignment.subscript && L.push(ji.element("sub", {}, { fresh: !1 })), z.verticalAlignment === u2.verticalAlignment.superscript && L.push(ji.element("sup", {}, { fresh: !1 })), z.isItalic && L.push(g("italic", "em")), z.isBold && L.push(g("bold", "strong"));
|
|
77106
|
+
var ae = ji.empty, oe = b(z);
|
|
77107
77107
|
return oe ? ae = oe.to : z.styleId && $.push(SN("run", z)), L.push(ae), L.forEach(function(Y) {
|
|
77108
77108
|
P = Y.wrap.bind(Y, P);
|
|
77109
77109
|
}), P();
|
|
77110
77110
|
}
|
|
77111
77111
|
function g(z, $) {
|
|
77112
77112
|
var q = m({ type: z });
|
|
77113
|
-
return q || ($ ?
|
|
77113
|
+
return q || ($ ? ji.element($, {}, { fresh: !1 }) : ji.empty);
|
|
77114
77114
|
}
|
|
77115
77115
|
function m(z, $) {
|
|
77116
77116
|
var q = b(z);
|
|
@@ -77145,8 +77145,8 @@ function RAe(e, t) {
|
|
|
77145
77145
|
function k(z) {
|
|
77146
77146
|
return i + z;
|
|
77147
77147
|
}
|
|
77148
|
-
var C =
|
|
77149
|
-
|
|
77148
|
+
var C = ji.elements([
|
|
77149
|
+
ji.element("table", {}, { fresh: !0 })
|
|
77150
77150
|
]);
|
|
77151
77151
|
function A(z, $, q) {
|
|
77152
77152
|
return m(z, C).wrap(function() {
|
|
@@ -77195,7 +77195,7 @@ function RAe(e, t) {
|
|
|
77195
77195
|
];
|
|
77196
77196
|
}
|
|
77197
77197
|
function M(z, $, q) {
|
|
77198
|
-
return m(z,
|
|
77198
|
+
return m(z, ji.ignore).wrap(function() {
|
|
77199
77199
|
var P = t[z.commentId], L = o.length + 1, K = "[" + UAe(P) + L + "]";
|
|
77200
77200
|
return o.push({ label: K, comment: P }), [
|
|
77201
77201
|
Qt.freshElement("a", {
|
|
@@ -77230,7 +77230,7 @@ function RAe(e, t) {
|
|
|
77230
77230
|
}
|
|
77231
77231
|
function T(z) {
|
|
77232
77232
|
var $ = b(z);
|
|
77233
|
-
return $ ? $.to : z.breakType === "line" ?
|
|
77233
|
+
return $ ? $.to : z.breakType === "line" ? ji.topLevelElement("br") : ji.empty;
|
|
77234
77234
|
}
|
|
77235
77235
|
var U = {
|
|
77236
77236
|
document: function(z, $, q) {
|
|
@@ -77277,7 +77277,7 @@ function RAe(e, t) {
|
|
|
77277
77277
|
return [Qt.freshElement("sup", {}, [P])];
|
|
77278
77278
|
},
|
|
77279
77279
|
note: function(z, $, q) {
|
|
77280
|
-
var P = c(z.body, $, q), L = Qt.elementWithTag(
|
|
77280
|
+
var P = c(z.body, $, q), L = Qt.elementWithTag(ji.element("p", {}, { fresh: !1 }), [
|
|
77281
77281
|
Qt.text(" "),
|
|
77282
77282
|
Qt.freshElement("a", { href: "#" + v(z) }, [Qt.text("↑")])
|
|
77283
77283
|
]), K = P.concat([L]);
|
|
@@ -77428,7 +77428,7 @@ var OE = {
|
|
|
77428
77428
|
failure: function(e, t) {
|
|
77429
77429
|
if (e.length < 1)
|
|
77430
77430
|
throw new Error("Failure must have errors");
|
|
77431
|
-
return new
|
|
77431
|
+
return new ao({
|
|
77432
77432
|
status: "failure",
|
|
77433
77433
|
remaining: t,
|
|
77434
77434
|
errors: e
|
|
@@ -77437,14 +77437,14 @@ var OE = {
|
|
|
77437
77437
|
error: function(e, t) {
|
|
77438
77438
|
if (e.length < 1)
|
|
77439
77439
|
throw new Error("Failure must have errors");
|
|
77440
|
-
return new
|
|
77440
|
+
return new ao({
|
|
77441
77441
|
status: "error",
|
|
77442
77442
|
remaining: t,
|
|
77443
77443
|
errors: e
|
|
77444
77444
|
});
|
|
77445
77445
|
},
|
|
77446
77446
|
success: function(e, t, n) {
|
|
77447
|
-
return new
|
|
77447
|
+
return new ao({
|
|
77448
77448
|
status: "success",
|
|
77449
77449
|
value: e,
|
|
77450
77450
|
source: n,
|
|
@@ -77453,17 +77453,17 @@ var OE = {
|
|
|
77453
77453
|
});
|
|
77454
77454
|
},
|
|
77455
77455
|
cut: function(e) {
|
|
77456
|
-
return new
|
|
77456
|
+
return new ao({
|
|
77457
77457
|
status: "cut",
|
|
77458
77458
|
remaining: e,
|
|
77459
77459
|
errors: []
|
|
77460
77460
|
});
|
|
77461
77461
|
}
|
|
77462
|
-
},
|
|
77462
|
+
}, ao = function(e) {
|
|
77463
77463
|
this._value = e.value, this._status = e.status, this._hasValue = e.value !== void 0, this._remaining = e.remaining, this._source = e.source, this._errors = e.errors;
|
|
77464
77464
|
};
|
|
77465
|
-
|
|
77466
|
-
return this._hasValue ? new
|
|
77465
|
+
ao.prototype.map = function(e) {
|
|
77466
|
+
return this._hasValue ? new ao({
|
|
77467
77467
|
value: e(this._value, this._source),
|
|
77468
77468
|
status: this._status,
|
|
77469
77469
|
remaining: this._remaining,
|
|
@@ -77471,8 +77471,8 @@ lo.prototype.map = function(e) {
|
|
|
77471
77471
|
errors: this._errors
|
|
77472
77472
|
}) : this;
|
|
77473
77473
|
};
|
|
77474
|
-
|
|
77475
|
-
return new
|
|
77474
|
+
ao.prototype.changeRemaining = function(e) {
|
|
77475
|
+
return new ao({
|
|
77476
77476
|
value: this._value,
|
|
77477
77477
|
status: this._status,
|
|
77478
77478
|
remaining: e,
|
|
@@ -77480,28 +77480,28 @@ lo.prototype.changeRemaining = function(e) {
|
|
|
77480
77480
|
errors: this._errors
|
|
77481
77481
|
});
|
|
77482
77482
|
};
|
|
77483
|
-
|
|
77483
|
+
ao.prototype.isSuccess = function() {
|
|
77484
77484
|
return this._status === "success" || this._status === "cut";
|
|
77485
77485
|
};
|
|
77486
|
-
|
|
77486
|
+
ao.prototype.isFailure = function() {
|
|
77487
77487
|
return this._status === "failure";
|
|
77488
77488
|
};
|
|
77489
|
-
|
|
77489
|
+
ao.prototype.isError = function() {
|
|
77490
77490
|
return this._status === "error";
|
|
77491
77491
|
};
|
|
77492
|
-
|
|
77492
|
+
ao.prototype.isCut = function() {
|
|
77493
77493
|
return this._status === "cut";
|
|
77494
77494
|
};
|
|
77495
|
-
|
|
77495
|
+
ao.prototype.value = function() {
|
|
77496
77496
|
return this._value;
|
|
77497
77497
|
};
|
|
77498
|
-
|
|
77498
|
+
ao.prototype.remaining = function() {
|
|
77499
77499
|
return this._remaining;
|
|
77500
77500
|
};
|
|
77501
|
-
|
|
77501
|
+
ao.prototype.source = function() {
|
|
77502
77502
|
return this._source;
|
|
77503
77503
|
};
|
|
77504
|
-
|
|
77504
|
+
ao.prototype.errors = function() {
|
|
77505
77505
|
return this._errors;
|
|
77506
77506
|
};
|
|
77507
77507
|
var RE = {};
|
|
@@ -77964,23 +77964,23 @@ Ms.rule = function(e) {
|
|
|
77964
77964
|
return t || (t = e()), t(n);
|
|
77965
77965
|
};
|
|
77966
77966
|
};
|
|
77967
|
-
var
|
|
77968
|
-
|
|
77969
|
-
|
|
77970
|
-
|
|
77971
|
-
|
|
77972
|
-
|
|
77973
|
-
|
|
77974
|
-
|
|
77975
|
-
|
|
77976
|
-
|
|
77977
|
-
|
|
77978
|
-
|
|
77979
|
-
|
|
77980
|
-
|
|
77981
|
-
|
|
77982
|
-
|
|
77983
|
-
|
|
77967
|
+
var Qr = {};
|
|
77968
|
+
Qr.paragraph = qAe;
|
|
77969
|
+
Qr.run = VAe;
|
|
77970
|
+
Qr.table = GAe;
|
|
77971
|
+
Qr.bold = new Os("bold");
|
|
77972
|
+
Qr.italic = new Os("italic");
|
|
77973
|
+
Qr.underline = new Os("underline");
|
|
77974
|
+
Qr.strikethrough = new Os("strikethrough");
|
|
77975
|
+
Qr.allCaps = new Os("allCaps");
|
|
77976
|
+
Qr.smallCaps = new Os("smallCaps");
|
|
77977
|
+
Qr.highlight = KAe;
|
|
77978
|
+
Qr.commentReference = new Os("commentReference");
|
|
77979
|
+
Qr.lineBreak = new y3({ breakType: "line" });
|
|
77980
|
+
Qr.pageBreak = new y3({ breakType: "page" });
|
|
77981
|
+
Qr.columnBreak = new y3({ breakType: "column" });
|
|
77982
|
+
Qr.equalTo = XAe;
|
|
77983
|
+
Qr.startsWith = ZAe;
|
|
77984
77984
|
function qAe(e) {
|
|
77985
77985
|
return new Os("paragraph", e);
|
|
77986
77986
|
}
|
|
@@ -78057,7 +78057,7 @@ function nSe(e) {
|
|
|
78057
78057
|
]);
|
|
78058
78058
|
return n.tokenise(e);
|
|
78059
78059
|
}
|
|
78060
|
-
var rSe = ur, ze = Ms,
|
|
78060
|
+
var rSe = ur, ze = Ms, to = Qr, c2 = g3(), oSe = dK.tokenise, VF = Ai;
|
|
78061
78061
|
m3.readHtmlPath = lSe;
|
|
78062
78062
|
m3.readDocumentMatcher = aSe;
|
|
78063
78063
|
m3.readStyle = iSe;
|
|
@@ -78092,7 +78092,7 @@ function pK() {
|
|
|
78092
78092
|
return k;
|
|
78093
78093
|
}
|
|
78094
78094
|
);
|
|
78095
|
-
}, n = t("p",
|
|
78095
|
+
}, n = t("p", to.paragraph), r = t("r", to.run), o = ze.rules.firstOf(
|
|
78096
78096
|
"p or r or table",
|
|
78097
78097
|
n,
|
|
78098
78098
|
r
|
|
@@ -78111,7 +78111,7 @@ function pK() {
|
|
|
78111
78111
|
ze.rules.sequence.capture(dp)
|
|
78112
78112
|
).head(),
|
|
78113
78113
|
function(w) {
|
|
78114
|
-
return { styleName:
|
|
78114
|
+
return { styleName: to.equalTo(w) };
|
|
78115
78115
|
}
|
|
78116
78116
|
),
|
|
78117
78117
|
ze.rules.then(
|
|
@@ -78121,7 +78121,7 @@ function pK() {
|
|
|
78121
78121
|
ze.rules.sequence.capture(dp)
|
|
78122
78122
|
).head(),
|
|
78123
78123
|
function(w) {
|
|
78124
|
-
return { styleName:
|
|
78124
|
+
return { styleName: to.startsWith(w) };
|
|
78125
78125
|
}
|
|
78126
78126
|
)
|
|
78127
78127
|
), a = ze.rules.sequence(
|
|
@@ -78177,8 +78177,8 @@ function pK() {
|
|
|
78177
78177
|
a
|
|
78178
78178
|
]))
|
|
78179
78179
|
).map(function(w) {
|
|
78180
|
-
return
|
|
78181
|
-
}), h = t("b",
|
|
78180
|
+
return to.table(w);
|
|
78181
|
+
}), h = t("b", to.bold), f = t("i", to.italic), g = t("u", to.underline), m = t("strike", to.strikethrough), b = t("all-caps", to.allCaps), y = t("small-caps", to.smallCaps), x = e(
|
|
78182
78182
|
ze.rules.token("identifier", "highlight"),
|
|
78183
78183
|
ze.rules.sequence.capture(ze.rules.optional(ze.rules.sequence(
|
|
78184
78184
|
ze.rules.tokenOfType("open-square-bracket"),
|
|
@@ -78189,10 +78189,10 @@ function pK() {
|
|
|
78189
78189
|
ze.rules.tokenOfType("close-square-bracket")
|
|
78190
78190
|
).head()))
|
|
78191
78191
|
).map(function(w) {
|
|
78192
|
-
return
|
|
78192
|
+
return to.highlight({
|
|
78193
78193
|
color: w.valueOrElse(void 0)
|
|
78194
78194
|
});
|
|
78195
|
-
}), v = t("comment-reference",
|
|
78195
|
+
}), v = t("comment-reference", to.commentReference), D = e(
|
|
78196
78196
|
ze.rules.token("identifier", "br"),
|
|
78197
78197
|
e.cut(),
|
|
78198
78198
|
ze.rules.tokenOfType("open-square-bracket"),
|
|
@@ -78203,11 +78203,11 @@ function pK() {
|
|
|
78203
78203
|
).map(function(w) {
|
|
78204
78204
|
switch (w) {
|
|
78205
78205
|
case "line":
|
|
78206
|
-
return
|
|
78206
|
+
return to.lineBreak;
|
|
78207
78207
|
case "page":
|
|
78208
|
-
return
|
|
78208
|
+
return to.pageBreak;
|
|
78209
78209
|
case "column":
|
|
78210
|
-
return
|
|
78210
|
+
return to.columnBreak;
|
|
78211
78211
|
}
|
|
78212
78212
|
});
|
|
78213
78213
|
return ze.rules.firstOf(
|
|
@@ -78420,7 +78420,7 @@ function ESe(e) {
|
|
|
78420
78420
|
return kSe.elementWithTag(DSe.element(e), [t]);
|
|
78421
78421
|
};
|
|
78422
78422
|
}
|
|
78423
|
-
var CSe = ur, yK = iE, LE = jE, _Se = BE.DocumentConverter, ASe = QG.convertElementToRawText, SSe = m3.readStyle, TSe = v3.readOptions, F3 = mK, jSe =
|
|
78423
|
+
var CSe = ur, yK = iE, LE = jE, _Se = BE.DocumentConverter, ASe = QG.convertElementToRawText, SSe = m3.readStyle, TSe = v3.readOptions, F3 = mK, jSe = Ai.Result;
|
|
78424
78424
|
ri.convertToHtml = BSe;
|
|
78425
78425
|
ri.convertToMarkdown = NSe;
|
|
78426
78426
|
ri.convert = UE;
|
|
@@ -82129,7 +82129,7 @@ function I(e, t, n, r, o, i) {
|
|
|
82129
82129
|
replace: r
|
|
82130
82130
|
}, i && r && (Bn[e][r] = Bn[e][o]);
|
|
82131
82131
|
}
|
|
82132
|
-
var H = "math", $e = "text", Z = "main", be = "ams", $n = "accent-token", ut = "bin", Ro = "close", Bh = "inner", yt = "mathord", br = "op-token",
|
|
82132
|
+
var H = "math", $e = "text", Z = "main", be = "ams", $n = "accent-token", ut = "bin", Ro = "close", Bh = "inner", yt = "mathord", br = "op-token", Si = "open", w3 = "punct", ve = "rel", Ll = "spacing", ke = "textord";
|
|
82133
82133
|
I(H, Z, ve, "≡", "\\equiv", !0);
|
|
82134
82134
|
I(H, Z, ve, "≺", "\\prec", !0);
|
|
82135
82135
|
I(H, Z, ve, "≻", "\\succ", !0);
|
|
@@ -82187,9 +82187,9 @@ I(H, Z, ke, "‡", "\\ddag");
|
|
|
82187
82187
|
I($e, Z, ke, "‡", "\\ddag");
|
|
82188
82188
|
I($e, Z, ke, "‡", "\\textdaggerdbl");
|
|
82189
82189
|
I(H, Z, Ro, "⎱", "\\rmoustache", !0);
|
|
82190
|
-
I(H, Z,
|
|
82190
|
+
I(H, Z, Si, "⎰", "\\lmoustache", !0);
|
|
82191
82191
|
I(H, Z, Ro, "⟯", "\\rgroup", !0);
|
|
82192
|
-
I(H, Z,
|
|
82192
|
+
I(H, Z, Si, "⟮", "\\lgroup", !0);
|
|
82193
82193
|
I(H, Z, ut, "∓", "\\mp", !0);
|
|
82194
82194
|
I(H, Z, ut, "⊖", "\\ominus", !0);
|
|
82195
82195
|
I(H, Z, ut, "⊎", "\\uplus", !0);
|
|
@@ -82319,9 +82319,9 @@ I(H, be, ke, "ℸ", "\\daleth", !0);
|
|
|
82319
82319
|
I(H, be, ke, "ℷ", "\\gimel", !0);
|
|
82320
82320
|
I(H, be, ke, "ϝ", "\\digamma", !0);
|
|
82321
82321
|
I(H, be, ke, "ϰ", "\\varkappa");
|
|
82322
|
-
I(H, be,
|
|
82322
|
+
I(H, be, Si, "┌", "\\@ulcorner", !0);
|
|
82323
82323
|
I(H, be, Ro, "┐", "\\@urcorner", !0);
|
|
82324
|
-
I(H, be,
|
|
82324
|
+
I(H, be, Si, "└", "\\@llcorner", !0);
|
|
82325
82325
|
I(H, be, Ro, "┘", "\\@lrcorner", !0);
|
|
82326
82326
|
I(H, be, ve, "≦", "\\leqq", !0);
|
|
82327
82327
|
I(H, be, ve, "⩽", "\\leqslant", !0);
|
|
@@ -82540,9 +82540,9 @@ I(H, Z, ut, "∨", "\\lor");
|
|
|
82540
82540
|
I(H, Z, ut, "∧", "\\wedge", !0);
|
|
82541
82541
|
I(H, Z, ut, "∨", "\\vee", !0);
|
|
82542
82542
|
I(H, Z, ke, "√", "\\surd");
|
|
82543
|
-
I(H, Z,
|
|
82544
|
-
I(H, Z,
|
|
82545
|
-
I(H, Z,
|
|
82543
|
+
I(H, Z, Si, "⟨", "\\langle", !0);
|
|
82544
|
+
I(H, Z, Si, "∣", "\\lvert");
|
|
82545
|
+
I(H, Z, Si, "∥", "\\lVert");
|
|
82546
82546
|
I(H, Z, Ro, "?", "?");
|
|
82547
82547
|
I(H, Z, Ro, "!", "!");
|
|
82548
82548
|
I(H, Z, Ro, "⟩", "\\rangle", !0);
|
|
@@ -82600,25 +82600,25 @@ I(H, Z, ut, "⋄", "\\diamond");
|
|
|
82600
82600
|
I(H, Z, ut, "⋆", "\\star");
|
|
82601
82601
|
I(H, Z, ut, "◃", "\\triangleleft");
|
|
82602
82602
|
I(H, Z, ut, "▹", "\\triangleright");
|
|
82603
|
-
I(H, Z,
|
|
82603
|
+
I(H, Z, Si, "{", "\\{");
|
|
82604
82604
|
I($e, Z, ke, "{", "\\{");
|
|
82605
82605
|
I($e, Z, ke, "{", "\\textbraceleft");
|
|
82606
82606
|
I(H, Z, Ro, "}", "\\}");
|
|
82607
82607
|
I($e, Z, ke, "}", "\\}");
|
|
82608
82608
|
I($e, Z, ke, "}", "\\textbraceright");
|
|
82609
|
-
I(H, Z,
|
|
82609
|
+
I(H, Z, Si, "{", "\\lbrace");
|
|
82610
82610
|
I(H, Z, Ro, "}", "\\rbrace");
|
|
82611
|
-
I(H, Z,
|
|
82611
|
+
I(H, Z, Si, "[", "\\lbrack", !0);
|
|
82612
82612
|
I($e, Z, ke, "[", "\\lbrack", !0);
|
|
82613
82613
|
I(H, Z, Ro, "]", "\\rbrack", !0);
|
|
82614
82614
|
I($e, Z, ke, "]", "\\rbrack", !0);
|
|
82615
|
-
I(H, Z,
|
|
82615
|
+
I(H, Z, Si, "(", "\\lparen", !0);
|
|
82616
82616
|
I(H, Z, Ro, ")", "\\rparen", !0);
|
|
82617
82617
|
I($e, Z, ke, "<", "\\textless", !0);
|
|
82618
82618
|
I($e, Z, ke, ">", "\\textgreater", !0);
|
|
82619
|
-
I(H, Z,
|
|
82619
|
+
I(H, Z, Si, "⌊", "\\lfloor", !0);
|
|
82620
82620
|
I(H, Z, Ro, "⌋", "\\rfloor", !0);
|
|
82621
|
-
I(H, Z,
|
|
82621
|
+
I(H, Z, Si, "⌈", "\\lceil", !0);
|
|
82622
82622
|
I(H, Z, Ro, "⌉", "\\rceil", !0);
|
|
82623
82623
|
I(H, Z, ke, "\\", "\\backslash");
|
|
82624
82624
|
I(H, Z, ke, "∣", "|");
|
|
@@ -82760,9 +82760,9 @@ I($e, be, ke, "Z", "ℤ");
|
|
|
82760
82760
|
I(H, Z, yt, "h", "ℎ");
|
|
82761
82761
|
I($e, Z, yt, "h", "ℎ");
|
|
82762
82762
|
var kt = "";
|
|
82763
|
-
for (var
|
|
82764
|
-
var Xn = uy.charAt(
|
|
82765
|
-
kt = String.fromCharCode(55349, 56320 +
|
|
82763
|
+
for (var xo = 0; xo < uy.length; xo++) {
|
|
82764
|
+
var Xn = uy.charAt(xo);
|
|
82765
|
+
kt = String.fromCharCode(55349, 56320 + xo), I(H, Z, yt, Xn, kt), I($e, Z, ke, Xn, kt), kt = String.fromCharCode(55349, 56372 + xo), I(H, Z, yt, Xn, kt), I($e, Z, ke, Xn, kt), kt = String.fromCharCode(55349, 56424 + xo), I(H, Z, yt, Xn, kt), I($e, Z, ke, Xn, kt), kt = String.fromCharCode(55349, 56580 + xo), I(H, Z, yt, Xn, kt), I($e, Z, ke, Xn, kt), kt = String.fromCharCode(55349, 56684 + xo), I(H, Z, yt, Xn, kt), I($e, Z, ke, Xn, kt), kt = String.fromCharCode(55349, 56736 + xo), I(H, Z, yt, Xn, kt), I($e, Z, ke, Xn, kt), kt = String.fromCharCode(55349, 56788 + xo), I(H, Z, yt, Xn, kt), I($e, Z, ke, Xn, kt), kt = String.fromCharCode(55349, 56840 + xo), I(H, Z, yt, Xn, kt), I($e, Z, ke, Xn, kt), kt = String.fromCharCode(55349, 56944 + xo), I(H, Z, yt, Xn, kt), I($e, Z, ke, Xn, kt), xo < 26 && (kt = String.fromCharCode(55349, 56632 + xo), I(H, Z, yt, Xn, kt), I($e, Z, ke, Xn, kt), kt = String.fromCharCode(55349, 56476 + xo), I(H, Z, yt, Xn, kt), I($e, Z, ke, Xn, kt));
|
|
82766
82766
|
}
|
|
82767
82767
|
kt = "𝕜";
|
|
82768
82768
|
I(H, Z, yt, "k", kt);
|
|
@@ -83396,7 +83396,7 @@ function nD(e, t) {
|
|
|
83396
83396
|
function NK(e) {
|
|
83397
83397
|
return new cg(e);
|
|
83398
83398
|
}
|
|
83399
|
-
class
|
|
83399
|
+
class vi {
|
|
83400
83400
|
constructor(t, n, r) {
|
|
83401
83401
|
this.type = void 0, this.attributes = void 0, this.children = void 0, this.classes = void 0, this.type = t, this.attributes = {}, this.children = n || [], this.classes = r || [];
|
|
83402
83402
|
}
|
|
@@ -83504,7 +83504,7 @@ class HTe {
|
|
|
83504
83504
|
}
|
|
83505
83505
|
}
|
|
83506
83506
|
var We = {
|
|
83507
|
-
MathNode:
|
|
83507
|
+
MathNode: vi,
|
|
83508
83508
|
TextNode: ta,
|
|
83509
83509
|
SpaceNode: HTe,
|
|
83510
83510
|
newDocumentFragment: NK
|
|
@@ -83567,11 +83567,11 @@ function JF(e) {
|
|
|
83567
83567
|
var ci = function(t, n, r) {
|
|
83568
83568
|
if (t.length === 1) {
|
|
83569
83569
|
var o = Sn(t[0], n);
|
|
83570
|
-
return r && o instanceof
|
|
83570
|
+
return r && o instanceof vi && o.type === "mo" && (o.setAttribute("lspace", "0em"), o.setAttribute("rspace", "0em")), [o];
|
|
83571
83571
|
}
|
|
83572
83572
|
for (var i = [], s, a = 0; a < t.length; a++) {
|
|
83573
83573
|
var l = Sn(t[a], n);
|
|
83574
|
-
if (l instanceof
|
|
83574
|
+
if (l instanceof vi && s instanceof vi) {
|
|
83575
83575
|
if (l.type === "mtext" && s.type === "mtext" && l.getAttribute("mathvariant") === s.getAttribute("mathvariant")) {
|
|
83576
83576
|
s.children.push(...l.children);
|
|
83577
83577
|
continue;
|
|
@@ -83585,7 +83585,7 @@ var ci = function(t, n, r) {
|
|
|
83585
83585
|
l.children = [...s.children, ...l.children], i.pop();
|
|
83586
83586
|
else if ((l.type === "msup" || l.type === "msub") && l.children.length >= 1 && (s.type === "mn" || JF(s))) {
|
|
83587
83587
|
var u = l.children[0];
|
|
83588
|
-
u instanceof
|
|
83588
|
+
u instanceof vi && u.type === "mn" && (u.children = [...s.children, ...u.children], i.pop());
|
|
83589
83589
|
} else if (s.type === "mi" && s.children.length === 1) {
|
|
83590
83590
|
var c = s.children[0];
|
|
83591
83591
|
if (c instanceof ta && c.text === "̸" && (l.type === "mo" || l.type === "mi" || l.type === "mn")) {
|
|
@@ -83610,7 +83610,7 @@ var ci = function(t, n, r) {
|
|
|
83610
83610
|
};
|
|
83611
83611
|
function WN(e, t, n, r, o) {
|
|
83612
83612
|
var i = ci(e, n), s;
|
|
83613
|
-
i.length === 1 && i[0] instanceof
|
|
83613
|
+
i.length === 1 && i[0] instanceof vi && ["mrow", "mtable"].includes(i[0].type) ? s = i[0] : s = new We.MathNode("mrow", i);
|
|
83614
83614
|
var a = new We.MathNode("annotation", [new We.TextNode(t)]);
|
|
83615
83615
|
a.setAttribute("encoding", "application/x-tex");
|
|
83616
83616
|
var l = new We.MathNode("semantics", [s, a]), u = new We.MathNode("math", [l]);
|
|
@@ -86441,7 +86441,7 @@ st({
|
|
|
86441
86441
|
},
|
|
86442
86442
|
mathmlBuilder: (e, t) => {
|
|
86443
86443
|
var n = Hu(e.body, t);
|
|
86444
|
-
return n instanceof
|
|
86444
|
+
return n instanceof vi || (n = new vi("mrow", [n])), n.setAttribute("href", e.href), n;
|
|
86445
86445
|
}
|
|
86446
86446
|
});
|
|
86447
86447
|
st({
|
|
@@ -86979,13 +86979,13 @@ var oY = (e, t, n, r, o, i, s) => {
|
|
|
86979
86979
|
}, pg = (e, t) => {
|
|
86980
86980
|
var n;
|
|
86981
86981
|
if (e.symbol)
|
|
86982
|
-
n = new
|
|
86982
|
+
n = new vi("mo", [rs(e.name, e.mode)]), iY.includes(e.name) && n.setAttribute("largeop", "false");
|
|
86983
86983
|
else if (e.body)
|
|
86984
|
-
n = new
|
|
86984
|
+
n = new vi("mo", ci(e.body, t));
|
|
86985
86985
|
else {
|
|
86986
|
-
n = new
|
|
86987
|
-
var r = new
|
|
86988
|
-
e.parentIsSupSub ? n = new
|
|
86986
|
+
n = new vi("mi", [new ta(e.name.slice(1))]);
|
|
86987
|
+
var r = new vi("mo", [rs("", "text")]);
|
|
86988
|
+
e.parentIsSupSub ? n = new vi("mrow", [n, r]) : n = NK([n, r]);
|
|
86989
86989
|
}
|
|
86990
86990
|
return n;
|
|
86991
86991
|
}, xje = {
|
|
@@ -103860,7 +103860,7 @@ function sOe(e) {
|
|
|
103860
103860
|
const t = e[e.length - 1];
|
|
103861
103861
|
return typeof t == "object" && t.constructor === Object ? (e.splice(e.length - 1, 1), t) : {};
|
|
103862
103862
|
}
|
|
103863
|
-
function
|
|
103863
|
+
function vo(...e) {
|
|
103864
103864
|
return "(" + (sOe(e).capture ? "" : "?:") + e.map((r) => HY(r)).join("|") + ")";
|
|
103865
103865
|
}
|
|
103866
103866
|
const g7 = (e) => kn(
|
|
@@ -104081,7 +104081,7 @@ const g7 = (e) => kn(
|
|
|
104081
104081
|
"withVaList",
|
|
104082
104082
|
"withoutActuallyEscaping",
|
|
104083
104083
|
"zip"
|
|
104084
|
-
], WY =
|
|
104084
|
+
], WY = vo(
|
|
104085
104085
|
/[/=\-+!*%<>&|^~?]/,
|
|
104086
104086
|
/[\u00A1-\u00A7]/,
|
|
104087
104087
|
/[\u00A9\u00AB]/,
|
|
@@ -104100,7 +104100,7 @@ const g7 = (e) => kn(
|
|
|
104100
104100
|
/[\u3001-\u3003]/,
|
|
104101
104101
|
/[\u3008-\u3020]/,
|
|
104102
104102
|
/[\u3030]/
|
|
104103
|
-
), qY =
|
|
104103
|
+
), qY = vo(
|
|
104104
104104
|
WY,
|
|
104105
104105
|
/[\u0300-\u036F]/,
|
|
104106
104106
|
/[\u1DC0-\u1DFF]/,
|
|
@@ -104109,7 +104109,7 @@ const g7 = (e) => kn(
|
|
|
104109
104109
|
/[\uFE20-\uFE2F]/
|
|
104110
104110
|
// TODO: The following characters are also allowed, but the regex isn't supported yet.
|
|
104111
104111
|
// /[\u{E0100}-\u{E01EF}]/u
|
|
104112
|
-
), h6 = kn(WY, qY, "*"), VY =
|
|
104112
|
+
), h6 = kn(WY, qY, "*"), VY = vo(
|
|
104113
104113
|
/[a-zA-Z_]/,
|
|
104114
104114
|
/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,
|
|
104115
104115
|
/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,
|
|
@@ -104127,14 +104127,14 @@ const g7 = (e) => kn(
|
|
|
104127
104127
|
// /[\u{50000}-\u{5FFFD}\u{60000-\u{6FFFD}\u{70000}-\u{7FFFD}\u{80000}-\u{8FFFD}]/u,
|
|
104128
104128
|
// /[\u{90000}-\u{9FFFD}\u{A0000-\u{AFFFD}\u{B0000}-\u{BFFFD}\u{C0000}-\u{CFFFD}]/u,
|
|
104129
104129
|
// /[\u{D0000}-\u{DFFFD}\u{E0000-\u{EFFFD}]/u
|
|
104130
|
-
), fy =
|
|
104130
|
+
), fy = vo(
|
|
104131
104131
|
VY,
|
|
104132
104132
|
/\d/,
|
|
104133
104133
|
/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/
|
|
104134
104134
|
), $s = kn(VY, fy, "*"), jm = kn(/[A-Z]/, fy, "*"), dOe = [
|
|
104135
104135
|
"attached",
|
|
104136
104136
|
"autoclosure",
|
|
104137
|
-
kn(/convention\(/,
|
|
104137
|
+
kn(/convention\(/, vo("swift", "block", "c"), /\)/),
|
|
104138
104138
|
"discardableResult",
|
|
104139
104139
|
"dynamicCallable",
|
|
104140
104140
|
"dynamicMemberLookup",
|
|
@@ -104193,20 +104193,20 @@ function hOe(e) {
|
|
|
104193
104193
|
], o = {
|
|
104194
104194
|
match: [
|
|
104195
104195
|
/\./,
|
|
104196
|
-
|
|
104196
|
+
vo(...aOe, ...TM)
|
|
104197
104197
|
],
|
|
104198
104198
|
className: { 2: "keyword" }
|
|
104199
104199
|
}, i = {
|
|
104200
104200
|
// Consume .keyword to prevent highlighting properties and methods as keywords.
|
|
104201
|
-
match: kn(/\./,
|
|
104201
|
+
match: kn(/\./, vo(...p6)),
|
|
104202
104202
|
relevance: 0
|
|
104203
104203
|
}, s = p6.filter((le) => typeof le == "string").concat(["_|0"]), a = p6.filter((le) => typeof le != "string").concat(lOe).map(g7), l = { variants: [
|
|
104204
104204
|
{
|
|
104205
104205
|
className: "keyword",
|
|
104206
|
-
match:
|
|
104206
|
+
match: vo(...a, ...TM)
|
|
104207
104207
|
}
|
|
104208
104208
|
] }, u = {
|
|
104209
|
-
$pattern:
|
|
104209
|
+
$pattern: vo(
|
|
104210
104210
|
/\b\w+/,
|
|
104211
104211
|
// regular keywords
|
|
104212
104212
|
/#\w+/
|
|
@@ -104220,11 +104220,11 @@ function hOe(e) {
|
|
|
104220
104220
|
l
|
|
104221
104221
|
], d = {
|
|
104222
104222
|
// Consume .built_in to prevent highlighting properties and methods.
|
|
104223
|
-
match: kn(/\./,
|
|
104223
|
+
match: kn(/\./, vo(...BM)),
|
|
104224
104224
|
relevance: 0
|
|
104225
104225
|
}, p = {
|
|
104226
104226
|
className: "built_in",
|
|
104227
|
-
match: kn(/\b/,
|
|
104227
|
+
match: kn(/\b/, vo(...BM), /(?=\()/)
|
|
104228
104228
|
}, h = [
|
|
104229
104229
|
d,
|
|
104230
104230
|
p
|
|
@@ -104362,7 +104362,7 @@ function hOe(e) {
|
|
|
104362
104362
|
] }
|
|
104363
104363
|
}, $ = {
|
|
104364
104364
|
scope: "keyword",
|
|
104365
|
-
match: kn(/@/,
|
|
104365
|
+
match: kn(/@/, vo(...dOe), c0(vo(/\(/, /\s+/)))
|
|
104366
104366
|
}, q = {
|
|
104367
104367
|
scope: "meta",
|
|
104368
104368
|
match: kn(/@/, $s)
|
|
@@ -104446,7 +104446,7 @@ function hOe(e) {
|
|
|
104446
104446
|
L
|
|
104447
104447
|
]
|
|
104448
104448
|
}, re = {
|
|
104449
|
-
begin:
|
|
104449
|
+
begin: vo(
|
|
104450
104450
|
c0(kn($s, /\s*:/)),
|
|
104451
104451
|
c0(kn($s, /\s+/, $s, /\s*:/))
|
|
104452
104452
|
),
|
|
@@ -104483,7 +104483,7 @@ function hOe(e) {
|
|
|
104483
104483
|
match: [
|
|
104484
104484
|
/(func|macro)/,
|
|
104485
104485
|
/\s+/,
|
|
104486
|
-
|
|
104486
|
+
vo(E.match, $s, h6)
|
|
104487
104487
|
],
|
|
104488
104488
|
className: {
|
|
104489
104489
|
1: "keyword",
|
|
@@ -167988,7 +167988,7 @@ const f6 = aD.getInstance(), ZOe = (e) => ({
|
|
|
167988
167988
|
}
|
|
167989
167989
|
});
|
|
167990
167990
|
var Kr = typeof globalThis < "u" && globalThis || typeof self < "u" && self || // eslint-disable-next-line no-undef
|
|
167991
|
-
typeof global < "u" && global || {},
|
|
167991
|
+
typeof global < "u" && global || {}, Fo = {
|
|
167992
167992
|
searchParams: "URLSearchParams" in Kr,
|
|
167993
167993
|
iterable: "Symbol" in Kr && "iterator" in Symbol,
|
|
167994
167994
|
blob: "FileReader" in Kr && "Blob" in Kr && function() {
|
|
@@ -168004,7 +168004,7 @@ typeof global < "u" && global || {}, wo = {
|
|
|
168004
168004
|
function QOe(e) {
|
|
168005
168005
|
return e && DataView.prototype.isPrototypeOf(e);
|
|
168006
168006
|
}
|
|
168007
|
-
if (
|
|
168007
|
+
if (Fo.arrayBuffer)
|
|
168008
168008
|
var eRe = [
|
|
168009
168009
|
"[object Int8Array]",
|
|
168010
168010
|
"[object Uint8Array]",
|
|
@@ -168033,7 +168033,7 @@ function b7(e) {
|
|
|
168033
168033
|
return { done: n === void 0, value: n };
|
|
168034
168034
|
}
|
|
168035
168035
|
};
|
|
168036
|
-
return
|
|
168036
|
+
return Fo.iterable && (t[Symbol.iterator] = function() {
|
|
168037
168037
|
return t;
|
|
168038
168038
|
}), t;
|
|
168039
168039
|
}
|
|
@@ -168087,7 +168087,7 @@ kr.prototype.entries = function() {
|
|
|
168087
168087
|
e.push([n, t]);
|
|
168088
168088
|
}), b7(e);
|
|
168089
168089
|
};
|
|
168090
|
-
|
|
168090
|
+
Fo.iterable && (kr.prototype[Symbol.iterator] = kr.prototype.entries);
|
|
168091
168091
|
function g6(e) {
|
|
168092
168092
|
if (!e._noBody) {
|
|
168093
168093
|
if (e.bodyUsed)
|
|
@@ -168125,8 +168125,8 @@ function MM(e) {
|
|
|
168125
168125
|
}
|
|
168126
168126
|
function dX() {
|
|
168127
168127
|
return this.bodyUsed = !1, this._initBody = function(e) {
|
|
168128
|
-
this.bodyUsed = this.bodyUsed, this._bodyInit = e, e ? typeof e == "string" ? this._bodyText = e :
|
|
168129
|
-
},
|
|
168128
|
+
this.bodyUsed = this.bodyUsed, this._bodyInit = e, e ? typeof e == "string" ? this._bodyText = e : Fo.blob && Blob.prototype.isPrototypeOf(e) ? this._bodyBlob = e : Fo.formData && FormData.prototype.isPrototypeOf(e) ? this._bodyFormData = e : Fo.searchParams && URLSearchParams.prototype.isPrototypeOf(e) ? this._bodyText = e.toString() : Fo.arrayBuffer && Fo.blob && QOe(e) ? (this._bodyArrayBuffer = MM(e.buffer), this._bodyInit = new Blob([this._bodyArrayBuffer])) : Fo.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(e) || tRe(e)) ? this._bodyArrayBuffer = MM(e) : this._bodyText = e = Object.prototype.toString.call(e) : (this._noBody = !0, this._bodyText = ""), this.headers.get("content-type") || (typeof e == "string" ? this.headers.set("content-type", "text/plain;charset=UTF-8") : this._bodyBlob && this._bodyBlob.type ? this.headers.set("content-type", this._bodyBlob.type) : Fo.searchParams && URLSearchParams.prototype.isPrototypeOf(e) && this.headers.set("content-type", "application/x-www-form-urlencoded;charset=UTF-8"));
|
|
168129
|
+
}, Fo.blob && (this.blob = function() {
|
|
168130
168130
|
var e = g6(this);
|
|
168131
168131
|
if (e)
|
|
168132
168132
|
return e;
|
|
@@ -168147,7 +168147,7 @@ function dX() {
|
|
|
168147
168147
|
)
|
|
168148
168148
|
) : Promise.resolve(this._bodyArrayBuffer));
|
|
168149
168149
|
} else {
|
|
168150
|
-
if (
|
|
168150
|
+
if (Fo.blob)
|
|
168151
168151
|
return this.blob().then(nRe);
|
|
168152
168152
|
throw new Error("could not read as ArrayBuffer");
|
|
168153
168153
|
}
|
|
@@ -168162,7 +168162,7 @@ function dX() {
|
|
|
168162
168162
|
if (this._bodyFormData)
|
|
168163
168163
|
throw new Error("could not read FormData body as text");
|
|
168164
168164
|
return Promise.resolve(this._bodyText);
|
|
168165
|
-
},
|
|
168165
|
+
}, Fo.formData && (this.formData = function() {
|
|
168166
168166
|
return this.text().then(aRe);
|
|
168167
168167
|
}), this.json = function() {
|
|
168168
168168
|
return this.text().then(JSON.parse);
|
|
@@ -168306,7 +168306,7 @@ function pX(e, t) {
|
|
|
168306
168306
|
return u;
|
|
168307
168307
|
}
|
|
168308
168308
|
}
|
|
168309
|
-
if (i.open(o.method, a(o.url), !0), o.credentials === "include" ? i.withCredentials = !0 : o.credentials === "omit" && (i.withCredentials = !1), "responseType" in i && (
|
|
168309
|
+
if (i.open(o.method, a(o.url), !0), o.credentials === "include" ? i.withCredentials = !0 : o.credentials === "omit" && (i.withCredentials = !1), "responseType" in i && (Fo.blob ? i.responseType = "blob" : Fo.arrayBuffer && (i.responseType = "arraybuffer")), t && typeof t.headers == "object" && !(t.headers instanceof kr || Kr.Headers && t.headers instanceof Kr.Headers)) {
|
|
168310
168310
|
var l = [];
|
|
168311
168311
|
Object.getOwnPropertyNames(t.headers).forEach(function(u) {
|
|
168312
168312
|
l.push(Mh(u)), i.setRequestHeader(u, m7(t.headers[u]));
|
|
@@ -169592,7 +169592,7 @@ User prompt: ${u} /no_think` : `${u} /no_think`;
|
|
|
169592
169592
|
}, [Fe, l]);
|
|
169593
169593
|
const ce = Ge(!1), de = Ge(null), he = Be(
|
|
169594
169594
|
(_e) => {
|
|
169595
|
-
const Te = _e.map((Ne) =>
|
|
169595
|
+
const Te = _e.map((Ne) => so(Ne));
|
|
169596
169596
|
oa(e, ku(Te), "self");
|
|
169597
169597
|
},
|
|
169598
169598
|
[e]
|
|
@@ -169601,10 +169601,10 @@ User prompt: ${u} /no_think` : `${u} /no_think`;
|
|
|
169601
169601
|
[]
|
|
169602
169602
|
);
|
|
169603
169603
|
Re(() => {
|
|
169604
|
-
const _e = s || i != null;
|
|
169605
169604
|
if (!J || !e)
|
|
169606
169605
|
return;
|
|
169607
|
-
|
|
169606
|
+
const _e = s || i != null;
|
|
169607
|
+
if (!_e && s) {
|
|
169608
169608
|
C(!0);
|
|
169609
169609
|
return;
|
|
169610
169610
|
}
|
|
@@ -169622,7 +169622,7 @@ User prompt: ${u} /no_think` : `${u} /no_think`;
|
|
|
169622
169622
|
return;
|
|
169623
169623
|
}
|
|
169624
169624
|
C(!0), queueMicrotask(() => {
|
|
169625
|
-
if (i !== "" && (O(i) ? Array.isArray(i) ? he(i) : oa(e,
|
|
169625
|
+
if (_e && i !== "" && (O(i) ? Array.isArray(i) ? he(i) : oa(e, so(i), "self") : J.commands.setContent(
|
|
169626
169626
|
lX({
|
|
169627
169627
|
data: i,
|
|
169628
169628
|
ignoreCorruptedData: E,
|
|
@@ -169649,7 +169649,9 @@ User prompt: ${u} /no_think` : `${u} /no_think`;
|
|
|
169649
169649
|
E,
|
|
169650
169650
|
M,
|
|
169651
169651
|
he,
|
|
169652
|
-
O
|
|
169652
|
+
O,
|
|
169653
|
+
s,
|
|
169654
|
+
z
|
|
169653
169655
|
]);
|
|
169654
169656
|
const W = Ge(() => {
|
|
169655
169657
|
}), ne = Ge(null);
|
|
@@ -170141,7 +170143,7 @@ User prompt: ${u} /no_think` : `${u} /no_think`;
|
|
|
170141
170143
|
undo: i,
|
|
170142
170144
|
redo: s
|
|
170143
170145
|
};
|
|
170144
|
-
}, PM = 1e4, zM = () =>
|
|
170146
|
+
}, PM = 1e4, zM = () => ko($O(5), !0), RRe = ({
|
|
170145
170147
|
ydoc: e,
|
|
170146
170148
|
initialContent: t,
|
|
170147
170149
|
enableCollaboration: n,
|
|
@@ -170400,7 +170402,7 @@ User prompt: ${u} /no_think` : `${u} /no_think`;
|
|
|
170400
170402
|
e._dbsize = o;
|
|
170401
170403
|
})).then(() => r);
|
|
170402
170404
|
}, XRe = (e, t = !0) => vX(e).then((n) => {
|
|
170403
|
-
(t || e._dbsize >= xX) && lD(n,
|
|
170405
|
+
(t || e._dbsize >= xX) && lD(n, Pi(e.doc)).then(() => bX(n, KRe(e._dbref, !0))).then(() => mX(n).then((r) => {
|
|
170404
170406
|
e._dbsize = r;
|
|
170405
170407
|
}));
|
|
170406
170408
|
});
|
|
@@ -170417,7 +170419,7 @@ class ZRe extends eU {
|
|
|
170417
170419
|
["custom"]
|
|
170418
170420
|
])
|
|
170419
170421
|
), this.whenSynced = Pp((r) => this.on("synced", () => r(this))), this._db.then((r) => {
|
|
170420
|
-
this.db = r, vX(this, (s) => lD(s,
|
|
170422
|
+
this.db = r, vX(this, (s) => lD(s, Pi(n)), () => {
|
|
170421
170423
|
if (this._destroyed) return this;
|
|
170422
170424
|
this.synced = !0, this.emit("synced", [this]);
|
|
170423
170425
|
});
|
|
@@ -170695,13 +170697,13 @@ pr.prototype.listeners = function(e) {
|
|
|
170695
170697
|
pr.prototype.hasListeners = function(e) {
|
|
170696
170698
|
return !!this.listeners(e).length;
|
|
170697
170699
|
};
|
|
170698
|
-
const j3 = typeof Promise == "function" && typeof Promise.resolve == "function" ? (t) => Promise.resolve().then(t) : (t, n) => n(t, 0),
|
|
170700
|
+
const j3 = typeof Promise == "function" && typeof Promise.resolve == "function" ? (t) => Promise.resolve().then(t) : (t, n) => n(t, 0), Li = typeof self < "u" ? self : typeof window < "u" ? window : Function("return this")(), aIe = "arraybuffer";
|
|
170699
170701
|
function _X(e, ...t) {
|
|
170700
170702
|
return t.reduce((n, r) => (e.hasOwnProperty(r) && (n[r] = e[r]), n), {});
|
|
170701
170703
|
}
|
|
170702
|
-
const lIe =
|
|
170704
|
+
const lIe = Li.setTimeout, uIe = Li.clearTimeout;
|
|
170703
170705
|
function B3(e, t) {
|
|
170704
|
-
t.useNativeTimers ? (e.setTimeoutFn = lIe.bind(
|
|
170706
|
+
t.useNativeTimers ? (e.setTimeoutFn = lIe.bind(Li), e.clearTimeoutFn = uIe.bind(Li)) : (e.setTimeoutFn = Li.setTimeout.bind(Li), e.clearTimeoutFn = Li.clearTimeout.bind(Li));
|
|
170705
170707
|
}
|
|
170706
170708
|
const cIe = 1.33;
|
|
170707
170709
|
function dIe(e) {
|
|
@@ -171078,7 +171080,7 @@ if (typeof document < "u") {
|
|
|
171078
171080
|
if (typeof attachEvent == "function")
|
|
171079
171081
|
attachEvent("onunload", qM);
|
|
171080
171082
|
else if (typeof addEventListener == "function") {
|
|
171081
|
-
const e = "onpagehide" in
|
|
171083
|
+
const e = "onpagehide" in Li ? "pagehide" : "unload";
|
|
171082
171084
|
addEventListener(e, qM, !1);
|
|
171083
171085
|
}
|
|
171084
171086
|
}
|
|
@@ -171111,7 +171113,7 @@ function TX(e) {
|
|
|
171111
171113
|
}
|
|
171112
171114
|
if (!t)
|
|
171113
171115
|
try {
|
|
171114
|
-
return new
|
|
171116
|
+
return new Li[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP");
|
|
171115
171117
|
} catch {
|
|
171116
171118
|
}
|
|
171117
171119
|
}
|
|
@@ -171172,7 +171174,7 @@ class wIe extends k7 {
|
|
|
171172
171174
|
return this.opts.timestampRequests && (n[this.opts.timestampParam] = AX()), this.supportsBinary || (n.b64 = 1), this.createUri(t, n);
|
|
171173
171175
|
}
|
|
171174
171176
|
}
|
|
171175
|
-
const w6 =
|
|
171177
|
+
const w6 = Li.WebSocket || Li.MozWebSocket;
|
|
171176
171178
|
class DIe extends wIe {
|
|
171177
171179
|
createSocket(t, n, r) {
|
|
171178
171180
|
return jX ? new w6(t, n, r) : n ? new w6(t, n) : new w6(t);
|
|
@@ -172998,7 +173000,7 @@ const N3 = ({ name: e, prefix: t, encode: n, decode: r }) => new iLe(e, t, n, r)
|
|
|
172998
173000
|
for (; i.length * n & 7; )
|
|
172999
173001
|
i += "=";
|
|
173000
173002
|
return i;
|
|
173001
|
-
},
|
|
173003
|
+
}, eo = ({ name: e, prefix: t, bitsPerChar: n, alphabet: r }) => N3({
|
|
173002
173004
|
prefix: t,
|
|
173003
173005
|
name: e,
|
|
173004
173006
|
encode(o) {
|
|
@@ -173015,7 +173017,7 @@ const N3 = ({ name: e, prefix: t, encode: n, decode: r }) => new iLe(e, t, n, r)
|
|
|
173015
173017
|
}), uLe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
173016
173018
|
__proto__: null,
|
|
173017
173019
|
identity: lLe
|
|
173018
|
-
}, Symbol.toStringTag, { value: "Module" })), cLe =
|
|
173020
|
+
}, Symbol.toStringTag, { value: "Module" })), cLe = eo({
|
|
173019
173021
|
prefix: "0",
|
|
173020
173022
|
name: "base2",
|
|
173021
173023
|
alphabet: "01",
|
|
@@ -173023,7 +173025,7 @@ const N3 = ({ name: e, prefix: t, encode: n, decode: r }) => new iLe(e, t, n, r)
|
|
|
173023
173025
|
}), dLe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
173024
173026
|
__proto__: null,
|
|
173025
173027
|
base2: cLe
|
|
173026
|
-
}, Symbol.toStringTag, { value: "Module" })), pLe =
|
|
173028
|
+
}, Symbol.toStringTag, { value: "Module" })), pLe = eo({
|
|
173027
173029
|
prefix: "7",
|
|
173028
173030
|
name: "base8",
|
|
173029
173031
|
alphabet: "01234567",
|
|
@@ -173038,12 +173040,12 @@ const N3 = ({ name: e, prefix: t, encode: n, decode: r }) => new iLe(e, t, n, r)
|
|
|
173038
173040
|
}), gLe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
173039
173041
|
__proto__: null,
|
|
173040
173042
|
base10: fLe
|
|
173041
|
-
}, Symbol.toStringTag, { value: "Module" })), mLe =
|
|
173043
|
+
}, Symbol.toStringTag, { value: "Module" })), mLe = eo({
|
|
173042
173044
|
prefix: "f",
|
|
173043
173045
|
name: "base16",
|
|
173044
173046
|
alphabet: "0123456789abcdef",
|
|
173045
173047
|
bitsPerChar: 4
|
|
173046
|
-
}), bLe =
|
|
173048
|
+
}), bLe = eo({
|
|
173047
173049
|
prefix: "F",
|
|
173048
173050
|
name: "base16upper",
|
|
173049
173051
|
alphabet: "0123456789ABCDEF",
|
|
@@ -173052,47 +173054,47 @@ const N3 = ({ name: e, prefix: t, encode: n, decode: r }) => new iLe(e, t, n, r)
|
|
|
173052
173054
|
__proto__: null,
|
|
173053
173055
|
base16: mLe,
|
|
173054
173056
|
base16upper: bLe
|
|
173055
|
-
}, Symbol.toStringTag, { value: "Module" })), xLe =
|
|
173057
|
+
}, Symbol.toStringTag, { value: "Module" })), xLe = eo({
|
|
173056
173058
|
prefix: "b",
|
|
173057
173059
|
name: "base32",
|
|
173058
173060
|
alphabet: "abcdefghijklmnopqrstuvwxyz234567",
|
|
173059
173061
|
bitsPerChar: 5
|
|
173060
|
-
}), vLe =
|
|
173062
|
+
}), vLe = eo({
|
|
173061
173063
|
prefix: "B",
|
|
173062
173064
|
name: "base32upper",
|
|
173063
173065
|
alphabet: "ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",
|
|
173064
173066
|
bitsPerChar: 5
|
|
173065
|
-
}), FLe =
|
|
173067
|
+
}), FLe = eo({
|
|
173066
173068
|
prefix: "c",
|
|
173067
173069
|
name: "base32pad",
|
|
173068
173070
|
alphabet: "abcdefghijklmnopqrstuvwxyz234567=",
|
|
173069
173071
|
bitsPerChar: 5
|
|
173070
|
-
}), wLe =
|
|
173072
|
+
}), wLe = eo({
|
|
173071
173073
|
prefix: "C",
|
|
173072
173074
|
name: "base32padupper",
|
|
173073
173075
|
alphabet: "ABCDEFGHIJKLMNOPQRSTUVWXYZ234567=",
|
|
173074
173076
|
bitsPerChar: 5
|
|
173075
|
-
}), DLe =
|
|
173077
|
+
}), DLe = eo({
|
|
173076
173078
|
prefix: "v",
|
|
173077
173079
|
name: "base32hex",
|
|
173078
173080
|
alphabet: "0123456789abcdefghijklmnopqrstuv",
|
|
173079
173081
|
bitsPerChar: 5
|
|
173080
|
-
}), kLe =
|
|
173082
|
+
}), kLe = eo({
|
|
173081
173083
|
prefix: "V",
|
|
173082
173084
|
name: "base32hexupper",
|
|
173083
173085
|
alphabet: "0123456789ABCDEFGHIJKLMNOPQRSTUV",
|
|
173084
173086
|
bitsPerChar: 5
|
|
173085
|
-
}), ELe =
|
|
173087
|
+
}), ELe = eo({
|
|
173086
173088
|
prefix: "t",
|
|
173087
173089
|
name: "base32hexpad",
|
|
173088
173090
|
alphabet: "0123456789abcdefghijklmnopqrstuv=",
|
|
173089
173091
|
bitsPerChar: 5
|
|
173090
|
-
}), CLe =
|
|
173092
|
+
}), CLe = eo({
|
|
173091
173093
|
prefix: "T",
|
|
173092
173094
|
name: "base32hexpadupper",
|
|
173093
173095
|
alphabet: "0123456789ABCDEFGHIJKLMNOPQRSTUV=",
|
|
173094
173096
|
bitsPerChar: 5
|
|
173095
|
-
}), _Le =
|
|
173097
|
+
}), _Le = eo({
|
|
173096
173098
|
prefix: "h",
|
|
173097
173099
|
name: "base32z",
|
|
173098
173100
|
alphabet: "ybndrfg8ejkmcpqxot1uwisza345h769",
|
|
@@ -173132,22 +173134,22 @@ const N3 = ({ name: e, prefix: t, encode: n, decode: r }) => new iLe(e, t, n, r)
|
|
|
173132
173134
|
__proto__: null,
|
|
173133
173135
|
base58btc: BLe,
|
|
173134
173136
|
base58flickr: NLe
|
|
173135
|
-
}, Symbol.toStringTag, { value: "Module" })), OLe =
|
|
173137
|
+
}, Symbol.toStringTag, { value: "Module" })), OLe = eo({
|
|
173136
173138
|
prefix: "m",
|
|
173137
173139
|
name: "base64",
|
|
173138
173140
|
alphabet: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",
|
|
173139
173141
|
bitsPerChar: 6
|
|
173140
|
-
}), RLe =
|
|
173142
|
+
}), RLe = eo({
|
|
173141
173143
|
prefix: "M",
|
|
173142
173144
|
name: "base64pad",
|
|
173143
173145
|
alphabet: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
|
|
173144
173146
|
bitsPerChar: 6
|
|
173145
|
-
}), ILe =
|
|
173147
|
+
}), ILe = eo({
|
|
173146
173148
|
prefix: "u",
|
|
173147
173149
|
name: "base64url",
|
|
173148
173150
|
alphabet: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",
|
|
173149
173151
|
bitsPerChar: 6
|
|
173150
|
-
}), LLe =
|
|
173152
|
+
}), LLe = eo({
|
|
173151
173153
|
prefix: "U",
|
|
173152
173154
|
name: "base64urlpad",
|
|
173153
173155
|
alphabet: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_=",
|
|
@@ -175208,7 +175210,7 @@ const ZM = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ", XUe
|
|
|
175208
175210
|
function Bt(e, t) {
|
|
175209
175211
|
return typeof e == "object" && e != null && t in e;
|
|
175210
175212
|
}
|
|
175211
|
-
function
|
|
175213
|
+
function Zr(e) {
|
|
175212
175214
|
return typeof e == "object" && e != null;
|
|
175213
175215
|
}
|
|
175214
175216
|
function ZUe(e) {
|
|
@@ -175243,7 +175245,7 @@ function QUe(e) {
|
|
|
175243
175245
|
}
|
|
175244
175246
|
}
|
|
175245
175247
|
function ePe(e) {
|
|
175246
|
-
return
|
|
175248
|
+
return Zr(e) && Bt(e, "major") && typeof e.major == "number" && Bt(e, "minor") && typeof e.minor == "number" && Bt(e, "patch") && typeof e.patch == "number";
|
|
175247
175249
|
}
|
|
175248
175250
|
const tPe = /^0|[1-9]\d*/, nPe = (e) => (t) => {
|
|
175249
175251
|
const n = t.match(e);
|
|
@@ -175279,7 +175281,7 @@ function iPe(e, t) {
|
|
|
175279
175281
|
}
|
|
175280
175282
|
const hr = "*", iZ = "/";
|
|
175281
175283
|
function sPe(e) {
|
|
175282
|
-
return e === hr ||
|
|
175284
|
+
return e === hr || Zr(e) && Bt(e, "namespace") && typeof e.namespace == "string" && Bt(e, "segments") && Array.isArray(e.segments) && e.segments.every((t) => typeof t == "string");
|
|
175283
175285
|
}
|
|
175284
175286
|
function aPe(e) {
|
|
175285
175287
|
return e.join(iZ);
|
|
@@ -175304,7 +175306,7 @@ function uPe(e) {
|
|
|
175304
175306
|
}
|
|
175305
175307
|
const wD = ":";
|
|
175306
175308
|
function cPe(e) {
|
|
175307
|
-
return
|
|
175309
|
+
return Zr(e) && Bt(e, "scheme") && typeof e.scheme == "string" && Bt(e, "hierPart") && (e.hierPart === hr || typeof e.hierPart == "string");
|
|
175308
175310
|
}
|
|
175309
175311
|
function dPe(e) {
|
|
175310
175312
|
return {
|
|
@@ -175320,10 +175322,10 @@ function hPe(e) {
|
|
|
175320
175322
|
return { scheme: t, hierPart: n.join(wD) };
|
|
175321
175323
|
}
|
|
175322
175324
|
function v1(e) {
|
|
175323
|
-
return
|
|
175325
|
+
return Zr(e) && Bt(e, "with") && cPe(e.with) && Bt(e, "can") && sPe(e.can);
|
|
175324
175326
|
}
|
|
175325
175327
|
function sZ(e) {
|
|
175326
|
-
return
|
|
175328
|
+
return Zr(e) && Bt(e, "with") && typeof e.with == "string" && Bt(e, "can") && typeof e.can == "string";
|
|
175327
175329
|
}
|
|
175328
175330
|
function fPe(e) {
|
|
175329
175331
|
return {
|
|
@@ -175344,24 +175346,24 @@ function mPe(e) {
|
|
|
175344
175346
|
};
|
|
175345
175347
|
}
|
|
175346
175348
|
function A7(e) {
|
|
175347
|
-
return
|
|
175349
|
+
return Zr(e) && Bt(e, "jwtAlg") && typeof e.jwtAlg == "string" && Bt(e, "sign") && typeof e.sign == "function";
|
|
175348
175350
|
}
|
|
175349
175351
|
function bPe(e) {
|
|
175350
|
-
return
|
|
175352
|
+
return Zr(e) && Bt(e, "alg") && typeof e.alg == "string" && Bt(e, "typ") && typeof e.typ == "string" && Bt(e, "ucv") && ePe(e.ucv);
|
|
175351
175353
|
}
|
|
175352
175354
|
function yPe(e) {
|
|
175353
|
-
return
|
|
175355
|
+
return Zr(e) && Bt(e, "iss") && typeof e.iss == "string" && Bt(e, "aud") && typeof e.aud == "string" && Bt(e, "exp") && typeof e.exp == "number" && (!Bt(e, "nbf") || typeof e.nbf == "number") && (!Bt(e, "nnc") || typeof e.nnc == "string") && Bt(e, "att") && Array.isArray(e.att) && e.att.every((t) => v1(t) || sZ(t)) && (!Bt(e, "fct") || Array.isArray(e.fct) && e.fct.every(Zr)) && Bt(e, "prf") && Array.isArray(e.prf) && e.prf.every((t) => typeof t == "string");
|
|
175354
175356
|
}
|
|
175355
175357
|
const xPe = { major: 0, minor: 3, patch: 0 };
|
|
175356
175358
|
function vPe(e) {
|
|
175357
|
-
return
|
|
175359
|
+
return Zr(e) && Bt(e, "alg") && typeof e.alg == "string" && Bt(e, "typ") && typeof e.typ == "string" && Bt(e, "uav") && typeof e.uav == "string";
|
|
175358
175360
|
}
|
|
175359
175361
|
function FPe(e) {
|
|
175360
|
-
return
|
|
175362
|
+
return Zr(e) && Bt(e, "iss") && typeof e.iss == "string" && Bt(e, "aud") && typeof e.aud == "string" && (!Bt(e, "nbf") || typeof e.nbf == "number") && Bt(e, "exp") && typeof e.exp == "number" && Bt(e, "rsc") && (typeof e.rsc == "string" || Zr(e)) && Bt(e, "ptc") && typeof e.ptc == "string" && (!Bt(e, "prf") || typeof e.prf == "string");
|
|
175361
175363
|
}
|
|
175362
175364
|
function wPe(e, t) {
|
|
175363
175365
|
const n = (o, i) => new Error(`Can't parse UCAN ${o}: ${i}`);
|
|
175364
|
-
if (!
|
|
175366
|
+
if (!Zr(e))
|
|
175365
175367
|
throw n("header", "Invalid format: Expected a record");
|
|
175366
175368
|
let r = "0.9.1";
|
|
175367
175369
|
if (!Bt(e, "ucv") || typeof e.ucv != "string") {
|
|
@@ -175512,7 +175514,7 @@ const uZ = (e) => (t, n, r) => aZ(void 0, void 0, void 0, function* () {
|
|
|
175512
175514
|
signature: Wu(u, "base64url")
|
|
175513
175515
|
});
|
|
175514
175516
|
}), S7 = (e) => (t, n) => uZ(e)(t, n.jwtAlg, (r) => n.sign(r));
|
|
175515
|
-
function
|
|
175517
|
+
function Fi(e) {
|
|
175516
175518
|
return `${e.signedData}.${e.signature}`;
|
|
175517
175519
|
}
|
|
175518
175520
|
function _Pe(e) {
|
|
@@ -175690,7 +175692,7 @@ const Ih = (e) => function(t, n, r = () => BPe(this, void 0, void 0, function* (
|
|
|
175690
175692
|
})) {
|
|
175691
175693
|
return gg(this, arguments, function* () {
|
|
175692
175694
|
if (yield vn(r(n)))
|
|
175693
|
-
return yield yield vn(new Error(`UCAN Revoked: ${
|
|
175695
|
+
return yield yield vn(new Error(`UCAN Revoked: ${Fi(n)}`)), yield vn(void 0);
|
|
175694
175696
|
yield vn(yield* tf(el(OPe(n)))), yield vn(yield* tf(el(RPe(e, t, n, r))));
|
|
175695
175697
|
});
|
|
175696
175698
|
};
|
|
@@ -175995,10 +175997,10 @@ var WPe = function(e, t, n, r) {
|
|
|
175995
175997
|
});
|
|
175996
175998
|
};
|
|
175997
175999
|
function tO(e) {
|
|
175998
|
-
return
|
|
176000
|
+
return Zr(e) && Bt(e, "issuer") && A7(e.issuer) && Bt(e, "audience") && typeof e.audience == "string" && Bt(e, "expiration") && typeof e.expiration == "number";
|
|
175999
176001
|
}
|
|
176000
176002
|
function qPe(e) {
|
|
176001
|
-
return
|
|
176003
|
+
return Zr(e) && Bt(e, "issuer") && A7(e.issuer) && Bt(e, "expiration") && typeof e.expiration == "number";
|
|
176002
176004
|
}
|
|
176003
176005
|
const VPe = (e) => class ss {
|
|
176004
176006
|
constructor(n, r) {
|
|
@@ -176070,7 +176072,7 @@ const VPe = (e) => class ss {
|
|
|
176070
176072
|
return new ss(this.state, Object.assign(Object.assign({}, this.defaultable), { notBefore: n }));
|
|
176071
176073
|
}
|
|
176072
176074
|
withFact(n, ...r) {
|
|
176073
|
-
if (!
|
|
176075
|
+
if (!Zr(n) || r.some((o) => !Zr(o)))
|
|
176074
176076
|
throw new TypeError(`Expected fact(s) to be a record, but got ${n}`);
|
|
176075
176077
|
return new ss(this.state, Object.assign(Object.assign({}, this.defaultable), { facts: [...this.defaultable.facts, n, ...r] }));
|
|
176076
176078
|
}
|
|
@@ -176099,12 +176101,12 @@ const VPe = (e) => class ss {
|
|
|
176099
176101
|
const s = r, a = s.ucan;
|
|
176100
176102
|
if (!P3(o, n, s))
|
|
176101
176103
|
throw new Error("Can't add capability to UCAN: Given proof doesn't give required rights to delegate.");
|
|
176102
|
-
return new ss(this.state, Object.assign(Object.assign({}, this.defaultable), { capabilities: [...this.defaultable.capabilities, n], proofs: this.defaultable.proofs.find((l) =>
|
|
176104
|
+
return new ss(this.state, Object.assign(Object.assign({}, this.defaultable), { capabilities: [...this.defaultable.capabilities, n], proofs: this.defaultable.proofs.find((l) => Fi(l) === Fi(a)) == null ? [...this.defaultable.proofs, a] : this.defaultable.proofs }));
|
|
176103
176105
|
} else {
|
|
176104
176106
|
const s = r, a = this.state.issuer.did(), l = QUe(s.findWithCapability(a, n, a));
|
|
176105
176107
|
if (l != null) {
|
|
176106
|
-
const u = l.ucan, c =
|
|
176107
|
-
return new ss(this.state, Object.assign(Object.assign({}, this.defaultable), { capabilities: [...this.defaultable.capabilities, n], proofs: this.defaultable.proofs.find((d) =>
|
|
176108
|
+
const u = l.ucan, c = Fi(u);
|
|
176109
|
+
return new ss(this.state, Object.assign(Object.assign({}, this.defaultable), { capabilities: [...this.defaultable.capabilities, n], proofs: this.defaultable.proofs.find((d) => Fi(d) === c) == null ? [...this.defaultable.proofs, u] : this.defaultable.proofs }));
|
|
176108
176110
|
} else
|
|
176109
176111
|
throw new Error("Couldn't add capability to UCAN. Couldn't find anything providing this capability in given store.");
|
|
176110
176112
|
}
|
|
@@ -176120,7 +176122,7 @@ const VPe = (e) => class ss {
|
|
|
176120
176122
|
addNonce: this.defaultable.addNonce,
|
|
176121
176123
|
capabilities: this.defaultable.capabilities,
|
|
176122
176124
|
facts: this.defaultable.facts,
|
|
176123
|
-
proofs: this.defaultable.proofs.map((n) =>
|
|
176125
|
+
proofs: this.defaultable.proofs.map((n) => Fi(n))
|
|
176124
176126
|
});
|
|
176125
176127
|
}
|
|
176126
176128
|
build() {
|
|
@@ -176208,8 +176210,8 @@ const GPe = (e) => class DD {
|
|
|
176208
176210
|
add(n) {
|
|
176209
176211
|
var r, o, i;
|
|
176210
176212
|
return nO(this, void 0, void 0, function* () {
|
|
176211
|
-
const s = n.payload.aud, a = (i = this.index[s]) !== null && i !== void 0 ? i : [], l =
|
|
176212
|
-
if (a.find((p) =>
|
|
176213
|
+
const s = n.payload.aud, a = (i = this.index[s]) !== null && i !== void 0 ? i : [], l = Fi(n);
|
|
176214
|
+
if (a.find((p) => Fi(p.processedUcan) === l) != null)
|
|
176213
176215
|
return;
|
|
176214
176216
|
const u = [];
|
|
176215
176217
|
try {
|
|
@@ -176230,7 +176232,7 @@ const GPe = (e) => class DD {
|
|
|
176230
176232
|
if (r) throw r.error;
|
|
176231
176233
|
}
|
|
176232
176234
|
}
|
|
176233
|
-
a.find((p) =>
|
|
176235
|
+
a.find((p) => Fi(p.processedUcan) === l) == null && (a.push({
|
|
176234
176236
|
processedUcan: n,
|
|
176235
176237
|
capabilities: u
|
|
176236
176238
|
}), this.index[s] = a);
|
|
@@ -177303,7 +177305,7 @@ function ls(e, t) {
|
|
|
177303
177305
|
const n = e % t;
|
|
177304
177306
|
return n >= Xo ? n : t + n;
|
|
177305
177307
|
}
|
|
177306
|
-
function
|
|
177308
|
+
function Bi(e, t, n) {
|
|
177307
177309
|
let r = e;
|
|
177308
177310
|
for (; t-- > Xo; )
|
|
177309
177311
|
r *= r, r %= n;
|
|
@@ -178517,7 +178519,7 @@ const R7 = {
|
|
|
178517
178519
|
]
|
|
178518
178520
|
}, CO = /* @__PURE__ */ BigInt(2);
|
|
178519
178521
|
function Jze(e) {
|
|
178520
|
-
const t = R7.p, n = BigInt(3), r = BigInt(6), o = BigInt(11), i = BigInt(22), s = BigInt(23), a = BigInt(44), l = BigInt(88), u = e * e * e % t, c = u * u * e % t, d =
|
|
178522
|
+
const t = R7.p, n = BigInt(3), r = BigInt(6), o = BigInt(11), i = BigInt(22), s = BigInt(23), a = BigInt(44), l = BigInt(88), u = e * e * e % t, c = u * u * e % t, d = Bi(c, n, t) * c % t, p = Bi(d, n, t) * c % t, h = Bi(p, CO, t) * u % t, f = Bi(h, o, t) * h % t, g = Bi(f, i, t) * f % t, m = Bi(g, a, t) * g % t, b = Bi(m, l, t) * m % t, y = Bi(b, a, t) * g % t, x = Bi(y, n, t) * c % t, v = Bi(x, s, t) * f % t, D = Bi(v, r, t) * u % t, w = Bi(D, CO, t);
|
|
178521
178523
|
if (!AD.eql(AD.sqr(w), e))
|
|
178522
178524
|
throw new Error("Cannot find square root");
|
|
178523
178525
|
return w;
|
|
@@ -178574,7 +178576,7 @@ class e$e {
|
|
|
178574
178576
|
"SocketClient: Server did not response with the server DID"
|
|
178575
178577
|
);
|
|
178576
178578
|
if (this.collaborationUcan && this.isUcanValid(this.collaborationUcan))
|
|
178577
|
-
return
|
|
178579
|
+
return Fi(this.collaborationUcan);
|
|
178578
178580
|
const t = this.getCollaborationKeyPair();
|
|
178579
178581
|
return this.collaborationUcan = await lO({
|
|
178580
178582
|
audience: this._websocketServiceDid,
|
|
@@ -178591,7 +178593,7 @@ class e$e {
|
|
|
178591
178593
|
can: { namespace: "collaboration", segments: ["COLLABORATE"] }
|
|
178592
178594
|
}
|
|
178593
178595
|
]
|
|
178594
|
-
}),
|
|
178596
|
+
}), Fi(this.collaborationUcan);
|
|
178595
178597
|
});
|
|
178596
178598
|
et(this, "_handleHandShake", async (t, n) => {
|
|
178597
178599
|
var s, a;
|
|
@@ -178605,7 +178607,7 @@ class e$e {
|
|
|
178605
178607
|
documentId: this.roomId
|
|
178606
178608
|
};
|
|
178607
178609
|
this.roomInfo && (o.roomInfo = zo.encryptData(
|
|
178608
|
-
|
|
178610
|
+
so(this.roomKey),
|
|
178609
178611
|
new TextEncoder().encode(JSON.stringify(this.roomInfo))
|
|
178610
178612
|
)), this.ownerKeyPair && (o.ownerToken = await this.getOwnerToken()), this.ownerAddress && (o.ownerAddress = this.ownerAddress), this.contractAddress && (o.contractAddress = this.contractAddress);
|
|
178611
178613
|
const i = await this._emitWithAck("/auth", o);
|
|
@@ -178625,7 +178627,7 @@ class e$e {
|
|
|
178625
178627
|
if (n)
|
|
178626
178628
|
try {
|
|
178627
178629
|
const o = zo.decryptData(
|
|
178628
|
-
|
|
178630
|
+
so(n),
|
|
178629
178631
|
r
|
|
178630
178632
|
);
|
|
178631
178633
|
U1e(this.awareness, new Uint8Array(o), "remote");
|
|
@@ -178644,10 +178646,10 @@ class e$e {
|
|
|
178644
178646
|
});
|
|
178645
178647
|
this._socketUrl = t.wsUrl || "ws://localhost:5000";
|
|
178646
178648
|
const { secretKey: n } = cze(
|
|
178647
|
-
|
|
178649
|
+
so(t.roomKey)
|
|
178648
178650
|
);
|
|
178649
178651
|
this.roomKey = t.roomKey, this.roomId = t.roomId, this._onError = t.onError || null, this.collaborationKeyPair = x1.fromSecretKey(
|
|
178650
|
-
|
|
178652
|
+
ko(n)
|
|
178651
178653
|
), t.ownerEdSecret && (this.ownerKeyPair = x1.fromSecretKey(t.ownerEdSecret)), t.contractAddress && (this.contractAddress = t.contractAddress), t.ownerAddress && (this.ownerAddress = t.ownerAddress), t.onCollaborationConnectCallback && (this._onCollaborationConnectCallback = t.onCollaborationConnectCallback), t.roomInfo && (this.roomInfo = t.roomInfo);
|
|
178652
178654
|
}
|
|
178653
178655
|
get isConnected() {
|
|
@@ -178758,7 +178760,7 @@ class e$e {
|
|
|
178758
178760
|
async getOwnerToken() {
|
|
178759
178761
|
if (!this.ownerKeyPair || !this.contractAddress)
|
|
178760
178762
|
throw new Error("SocketClient: No owner key pair or contract address");
|
|
178761
|
-
return this.ownerUcan && this.isUcanValid(this.ownerUcan) ?
|
|
178763
|
+
return this.ownerUcan && this.isUcanValid(this.ownerUcan) ? Fi(this.ownerUcan) : (this.ownerUcan = await lO({
|
|
178762
178764
|
audience: this._websocketServiceDid,
|
|
178763
178765
|
issuer: this.ownerKeyPair,
|
|
178764
178766
|
lifetimeInSeconds: 3600,
|
|
@@ -178773,7 +178775,7 @@ class e$e {
|
|
|
178773
178775
|
can: { namespace: "collaboration", segments: ["CREATE"] }
|
|
178774
178776
|
}
|
|
178775
178777
|
]
|
|
178776
|
-
}),
|
|
178778
|
+
}), Fi(this.ownerUcan));
|
|
178777
178779
|
}
|
|
178778
178780
|
connectSocket(t) {
|
|
178779
178781
|
return this._webSocketStatus === Cr.CONNECTED || this._webSocketStatus === Cr.CONNECTING ? Promise.resolve() : (this._webSocketStatus = Cr.CONNECTING, new Promise((n, r) => {
|
|
@@ -178837,7 +178839,7 @@ class e$e {
|
|
|
178837
178839
|
if (this._webSocketStatus = Cr.CONNECTED, this.awareness && this.awareness.getLocalState()) {
|
|
178838
178840
|
const a = _z(this.awareness, [this.awareness.clientID]), l = this.roomKey;
|
|
178839
178841
|
if (l) {
|
|
178840
|
-
const u = zo.encryptData(
|
|
178842
|
+
const u = zo.encryptData(so(l), a);
|
|
178841
178843
|
this.broadcastAwareness(u);
|
|
178842
178844
|
}
|
|
178843
178845
|
}
|
|
@@ -178861,7 +178863,7 @@ const _O = (e, t) => {
|
|
|
178861
178863
|
const l = _z(e, a);
|
|
178862
178864
|
if (t.isConnected) {
|
|
178863
178865
|
const u = zo.encryptData(
|
|
178864
|
-
|
|
178866
|
+
so(n),
|
|
178865
178867
|
l
|
|
178866
178868
|
);
|
|
178867
178869
|
t.broadcastAwareness(u);
|
|
@@ -178933,8 +178935,8 @@ class n$e {
|
|
|
178933
178935
|
async connect(t) {
|
|
178934
178936
|
var r, o;
|
|
178935
178937
|
if (this._status !== nr.DISCONNECTED) return;
|
|
178936
|
-
this.roomKey = t.roomKey, this.roomKeyBytes =
|
|
178937
|
-
const n =
|
|
178938
|
+
this.roomKey = t.roomKey, this.roomKeyBytes = so(t.roomKey), this.isOwner = t.isOwner;
|
|
178939
|
+
const n = ko(Pi(this.ydoc));
|
|
178938
178940
|
this.socketClient = new e$e({
|
|
178939
178941
|
wsUrl: t.wsUrl,
|
|
178940
178942
|
roomKey: t.roomKey,
|
|
@@ -179078,7 +179080,7 @@ class n$e {
|
|
|
179078
179080
|
}
|
|
179079
179081
|
const s = await ((h = this.socketClient) == null ? void 0 : h.getUncommittedChanges()), a = (f = s == null ? void 0 : s.data) == null ? void 0 : f.history, l = [];
|
|
179080
179082
|
let u = null;
|
|
179081
|
-
if (t && (i.push(
|
|
179083
|
+
if (t && (i.push(so(t)), u = t), o && i.push(o), a && a.length > 0) {
|
|
179082
179084
|
this.isOwner && typeof this.onUnMergedUpdates == "function" && this.onUnMergedUpdates(!0);
|
|
179083
179085
|
for (const g of a)
|
|
179084
179086
|
try {
|
|
@@ -179114,7 +179116,7 @@ class n$e {
|
|
|
179114
179116
|
else {
|
|
179115
179117
|
const s = zo.encryptData(
|
|
179116
179118
|
this.roomKeyBytes,
|
|
179117
|
-
|
|
179119
|
+
Pi(this.ydoc)
|
|
179118
179120
|
), a = _O({ data: s }, "commit"), l = await this.onCollaborationCommit(a);
|
|
179119
179121
|
if (!l)
|
|
179120
179122
|
throw new Error("Failed to upload commit to IPFS: no hash returned");
|
|
@@ -179133,7 +179135,7 @@ class n$e {
|
|
|
179133
179135
|
if (n) {
|
|
179134
179136
|
const s = zo.encryptData(
|
|
179135
179137
|
this.roomKeyBytes,
|
|
179136
|
-
|
|
179138
|
+
so(n)
|
|
179137
179139
|
), a = await ((o = this.socketClient) == null ? void 0 : o.sendUpdate({
|
|
179138
179140
|
update: s
|
|
179139
179141
|
}));
|
|
@@ -179152,7 +179154,7 @@ class n$e {
|
|
|
179152
179154
|
if (!t) return;
|
|
179153
179155
|
const n = zo.encryptData(
|
|
179154
179156
|
this.roomKeyBytes,
|
|
179155
|
-
|
|
179157
|
+
so(t)
|
|
179156
179158
|
), r = await ((o = this.socketClient) == null ? void 0 : o.sendUpdate({
|
|
179157
179159
|
update: n
|
|
179158
179160
|
}));
|
|
@@ -179223,7 +179225,7 @@ class n$e {
|
|
|
179223
179225
|
const i = {
|
|
179224
179226
|
data: zo.encryptData(
|
|
179225
179227
|
this.roomKeyBytes,
|
|
179226
|
-
|
|
179228
|
+
Pi(this.ydoc)
|
|
179227
179229
|
)
|
|
179228
179230
|
}, s = _O(i, "commit"), a = await this.onCollaborationCommit(s);
|
|
179229
179231
|
if (!a)
|
|
@@ -179280,8 +179282,8 @@ class n$e {
|
|
|
179280
179282
|
}
|
|
179281
179283
|
try {
|
|
179282
179284
|
this.onLocalUpdate && typeof this.onLocalUpdate == "function" && this.onLocalUpdate(
|
|
179283
|
-
|
|
179284
|
-
|
|
179285
|
+
ko(Pi(this.ydoc)),
|
|
179286
|
+
ko(r)
|
|
179285
179287
|
);
|
|
179286
179288
|
} catch (o) {
|
|
179287
179289
|
console.error("SyncManager: onLocalUpdate callback threw", o);
|
|
@@ -179317,8 +179319,8 @@ class n$e {
|
|
|
179317
179319
|
}
|
|
179318
179320
|
try {
|
|
179319
179321
|
this.onLocalUpdate && typeof this.onLocalUpdate == "function" && this.onLocalUpdate(
|
|
179320
|
-
|
|
179321
|
-
|
|
179322
|
+
ko(Pi(this.ydoc)),
|
|
179323
|
+
ko(r)
|
|
179322
179324
|
);
|
|
179323
179325
|
} catch (o) {
|
|
179324
179326
|
console.error("SyncManager: onLocalUpdate callback threw", o);
|
|
@@ -179366,18 +179368,7 @@ const r$e = (e) => {
|
|
|
179366
179368
|
}, [e.ydoc, l, i, c]), Re(() => {
|
|
179367
179369
|
if (!s || !e.ydoc) return;
|
|
179368
179370
|
const f = (g, m) => {
|
|
179369
|
-
|
|
179370
|
-
if (e.onLocalUpdate && typeof e.onLocalUpdate == "function")
|
|
179371
|
-
try {
|
|
179372
|
-
e.onLocalUpdate(
|
|
179373
|
-
Yr(xi(e.ydoc)),
|
|
179374
|
-
Yr(g)
|
|
179375
|
-
);
|
|
179376
|
-
} catch (b) {
|
|
179377
|
-
console.error("useSyncManager: onLocalUpdate callback threw", b);
|
|
179378
|
-
}
|
|
179379
|
-
n.enqueueLocalUpdate(g);
|
|
179380
|
-
}
|
|
179371
|
+
m === "self" || !s || n.enqueueLocalUpdate(g);
|
|
179381
179372
|
};
|
|
179382
179373
|
return e.ydoc.on("update", f), () => {
|
|
179383
179374
|
e.ydoc.off("update", f);
|
|
@@ -179453,7 +179444,7 @@ const r$e = (e) => {
|
|
|
179453
179444
|
onSessionTerminated: l,
|
|
179454
179445
|
onUnMergedUpdates: u,
|
|
179455
179446
|
onLocalUpdate: e
|
|
179456
|
-
}), m = Ge(null), b = async () => {
|
|
179447
|
+
}), m = Ge(null), b = Be(async () => {
|
|
179457
179448
|
const x = m.current;
|
|
179458
179449
|
if (x && await x.destroy(), t && n)
|
|
179459
179450
|
try {
|
|
@@ -179464,15 +179455,15 @@ const r$e = (e) => {
|
|
|
179464
179455
|
v instanceof Error ? v : new Error(String(v))
|
|
179465
179456
|
);
|
|
179466
179457
|
}
|
|
179467
|
-
}, y = Ge(
|
|
179458
|
+
}, [t, n, c, r]), y = Ge(
|
|
179468
179459
|
null
|
|
179469
179460
|
);
|
|
179470
179461
|
return Re(() => {
|
|
179471
179462
|
const x = (v, D) => {
|
|
179472
179463
|
if (D === "self") return;
|
|
179473
|
-
const w =
|
|
179464
|
+
const w = ko(v);
|
|
179474
179465
|
y.current && clearTimeout(y.current), y.current = setTimeout(() => {
|
|
179475
|
-
y.current = null, e == null || e(
|
|
179466
|
+
y.current = null, e == null || e(ko(Pi(c)), w);
|
|
179476
179467
|
}, 300);
|
|
179477
179468
|
};
|
|
179478
179469
|
return c && c.on("update", x), () => {
|
|
@@ -179671,7 +179662,7 @@ const r$e = (e) => {
|
|
|
179671
179662
|
}
|
|
179672
179663
|
}, [u, e]), /* @__PURE__ */ F.jsxs(IO, { children: [
|
|
179673
179664
|
/* @__PURE__ */ F.jsxs("div", { className: "flex w-full justify-between sm:justify-evenly items-center select-none", children: [
|
|
179674
|
-
d.map((w, k) => w ? /* @__PURE__ */ F.jsx("div", { className: "flex items-center", children: w.title === "Text formating" ? /* @__PURE__ */ F.jsx(H7, { asChild: !0, children: /* @__PURE__ */ F.jsx(dh, { children: s ?
|
|
179665
|
+
d.map((w, k) => w ? /* @__PURE__ */ F.jsx("div", { className: "flex items-center", children: w.title === "Text formating" ? /* @__PURE__ */ F.jsx(H7, { asChild: !0, children: /* @__PURE__ */ F.jsx(dh, { children: s ? wo(
|
|
179675
179666
|
/* @__PURE__ */ F.jsx(
|
|
179676
179667
|
nn,
|
|
179677
179668
|
{
|
|
@@ -179689,7 +179680,7 @@ const r$e = (e) => {
|
|
|
179689
179680
|
}
|
|
179690
179681
|
),
|
|
179691
179682
|
w.title + "mobile"
|
|
179692
|
-
) }) }) : w.title === "Text color" ? /* @__PURE__ */ F.jsx(H7, { asChild: !0, children: s ?
|
|
179683
|
+
) }) }) : w.title === "Text color" ? /* @__PURE__ */ F.jsx(H7, { asChild: !0, children: s ? wo(
|
|
179693
179684
|
/* @__PURE__ */ F.jsx(
|
|
179694
179685
|
nn,
|
|
179695
179686
|
{
|
|
@@ -179707,7 +179698,7 @@ const r$e = (e) => {
|
|
|
179707
179698
|
}
|
|
179708
179699
|
),
|
|
179709
179700
|
"text-color-button"
|
|
179710
|
-
) }) : s ?
|
|
179701
|
+
) }) : s ? wo(
|
|
179711
179702
|
/* @__PURE__ */ F.jsx(nn, { className: "w-[36px] h-[36px] rounded-sm" }),
|
|
179712
179703
|
"skeleton" + w.title
|
|
179713
179704
|
) : $o(
|
|
@@ -183465,9 +183456,9 @@ const $$e = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
183465
183456
|
refreshYjsIndexedDbProvider: Lh,
|
|
183466
183457
|
mergeYjsContents: (At) => {
|
|
183467
183458
|
const Dt = ku(
|
|
183468
|
-
At.map((jt) =>
|
|
183459
|
+
At.map((jt) => so(jt))
|
|
183469
183460
|
);
|
|
183470
|
-
return oa(Er, Dt, "self"),
|
|
183461
|
+
return oa(Er, Dt, "self"), ko(Dt);
|
|
183471
183462
|
},
|
|
183472
183463
|
exportContentAsMarkDown: async (At) => {
|
|
183473
183464
|
if (Qe) {
|
|
@@ -183790,7 +183781,7 @@ const $$e = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
183790
183781
|
] }),
|
|
183791
183782
|
Qe && /* @__PURE__ */ F.jsx(M1e, { editor: Qe, appendTo: dn })
|
|
183792
183783
|
] }),
|
|
183793
|
-
!Qe || tr ?
|
|
183784
|
+
!Qe || tr ? wo(
|
|
183794
183785
|
/* @__PURE__ */ F.jsxs("div", { className: `${P7 ? "mx-10 mt-10" : "mx-20"}`, children: [
|
|
183795
183786
|
/* @__PURE__ */ F.jsx(
|
|
183796
183787
|
nn,
|
|
@@ -184163,7 +184154,7 @@ const $$e = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
184163
184154
|
isVersionHistoryMode: C == null ? void 0 : C.enabled
|
|
184164
184155
|
}
|
|
184165
184156
|
),
|
|
184166
|
-
!z || q || k ?
|
|
184157
|
+
!z || q || k ? wo(
|
|
184167
184158
|
/* @__PURE__ */ F.jsxs("div", { className: Ke(`${oe ? "mx-10 mt-10" : "mx-20"}`), children: [
|
|
184168
184159
|
/* @__PURE__ */ F.jsx(
|
|
184169
184160
|
nn,
|
|
@@ -184296,20 +184287,20 @@ const $$e = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
184296
184287
|
];
|
|
184297
184288
|
return { editor: new $y({ extensions: f, autofocus: !1 }), ydoc: p };
|
|
184298
184289
|
}, n = (p) => Array.isArray(p) || typeof p == "string" && !aX(p), r = (p, h) => {
|
|
184299
|
-
const f = p.map((g) =>
|
|
184290
|
+
const f = p.map((g) => so(g));
|
|
184300
184291
|
oa(h, ku(f));
|
|
184301
184292
|
}, o = (p) => {
|
|
184302
|
-
const h = p.map((f) =>
|
|
184303
|
-
return
|
|
184293
|
+
const h = p.map((f) => so(f));
|
|
184294
|
+
return ko(ku(h));
|
|
184304
184295
|
}, i = (p, h, f) => {
|
|
184305
184296
|
if (!h) throw new Error("cannot set content without Editor");
|
|
184306
|
-
n(p) ? Array.isArray(p) ? r(p, f) : oa(f,
|
|
184297
|
+
n(p) ? Array.isArray(p) ? r(p, f) : oa(f, so(p)) : h.commands.setContent(
|
|
184307
184298
|
lX({ data: p })
|
|
184308
184299
|
);
|
|
184309
184300
|
}, s = () => {
|
|
184310
184301
|
const { editor: p, ydoc: h } = t();
|
|
184311
184302
|
return {
|
|
184312
|
-
convertJSONContentToYjsEncodedString: (f) => (i(f, p, h),
|
|
184303
|
+
convertJSONContentToYjsEncodedString: (f) => (i(f, p, h), ko(Pi(h))),
|
|
184313
184304
|
cleanup: () => {
|
|
184314
184305
|
p && p.destroy(), h && h.destroy();
|
|
184315
184306
|
}
|
|
@@ -184362,7 +184353,7 @@ const $$e = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
184362
184353
|
}, D.onerror = (w) => v(w), D.readAsText(p);
|
|
184363
184354
|
}), { editor: g, ydoc: m } = t();
|
|
184364
184355
|
await Fp(g.view, f, h);
|
|
184365
|
-
const b =
|
|
184356
|
+
const b = Pi(m), y = ko(b);
|
|
184366
184357
|
return g.destroy(), !m.isDestroyed && m.destroy(), y;
|
|
184367
184358
|
}
|
|
184368
184359
|
return null;
|
|
@@ -184390,7 +184381,7 @@ const $$e = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
184390
184381
|
g,
|
|
184391
184382
|
h
|
|
184392
184383
|
);
|
|
184393
|
-
const y =
|
|
184384
|
+
const y = Pi(b), x = ko(y);
|
|
184394
184385
|
return m.destroy(), !b.isDestroyed && b.destroy(), x;
|
|
184395
184386
|
} catch (f) {
|
|
184396
184387
|
return console.error("Error processing DOCX file:", f), null;
|