@fileverse-dev/ddoc 3.2.6-sg-2 → 3.2.6-sg-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 +826 -814
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -4,7 +4,7 @@ var Qe = (e, t, n) => Kte(e, typeof t != "symbol" ? t + "" : t, n);
|
|
|
4
4
|
import * as Bn from "react";
|
|
5
5
|
import St, { createRef as Gte, memo as pg, createContext as Gd, createElement as hb, useContext as Xd, version as N_, useRef as je, useState as Me, useDebugValue as i8, useEffect as _e, forwardRef as lr, useLayoutEffect as Xh, useCallback as Ae, useMemo as Dt, Fragment as Xte, useReducer as Yte, cloneElement as oL, useImperativeHandle as iL } from "react";
|
|
6
6
|
import sL, { flushSync as Zte, createPortal as Fx } from "react-dom";
|
|
7
|
-
import { Drawer as aL, DrawerContent as Jte, DrawerHeader as Qte, DrawerTitle as ene, DrawerClose as tne, LucideIcon as Ue, TextField as Vu, Button as It, useTheme as nne, DynamicDropdown as
|
|
7
|
+
import { Drawer as aL, DrawerContent as Jte, DrawerHeader as Qte, DrawerTitle as ene, DrawerClose as tne, LucideIcon as Ue, TextField as Vu, Button as It, useTheme as nne, DynamicDropdown as Fr, Tooltip as hn, IconButton as on, Dialog as rne, DialogContent as one, cn as Ke, DialogHeader as ine, DialogTitle as sne, DialogFooter as ane, DialogClose as lne, Avatar as qs, Skeleton as wr, PopoverClose as s8, TextAreaFieldV2 as Ku, DynamicModal as a8, Select as vd, SelectTrigger as Fd, SelectValue as fh, SelectContent as wd, SelectItem as Dd, DynamicDropdownV2 as wx, Popover as J0, PopoverTrigger as Q0, PopoverContent as e1, toast as l8, ButtonGroup as une, Divider as fb, UltimateIcons as cne, SelectGroup as lL, SelectLabel as dne, Checkbox as pne, DrawerTrigger as M_, AnimatedLoader as hne, Label as fne, DynamicDrawerV2 as gne, BottomDrawer as mne, Tag as gb, TagInput as uL } from "@fileverse/ui";
|
|
8
8
|
import { isAddress as bne, createPublicClient as yne, http as xne, isHex as vne } from "viem";
|
|
9
9
|
import { mainnet as Fne } from "viem/chains";
|
|
10
10
|
import { motion as bl, AnimatePresence as Yh, MotionConfig as wne } from "framer-motion";
|
|
@@ -225,18 +225,18 @@ function Rne() {
|
|
|
225
225
|
N < 0 && y("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
226
226
|
}
|
|
227
227
|
}
|
|
228
|
-
var J = b.ReactCurrentDispatcher,
|
|
228
|
+
var J = b.ReactCurrentDispatcher, ie;
|
|
229
229
|
function K(me, Be, qe) {
|
|
230
230
|
{
|
|
231
|
-
if (
|
|
231
|
+
if (ie === void 0)
|
|
232
232
|
try {
|
|
233
233
|
throw Error();
|
|
234
234
|
} catch (Ct) {
|
|
235
235
|
var at = Ct.stack.trim().match(/\n( *(at )?)/);
|
|
236
|
-
|
|
236
|
+
ie = at && at[1] || "";
|
|
237
237
|
}
|
|
238
238
|
return `
|
|
239
|
-
` +
|
|
239
|
+
` + ie + me;
|
|
240
240
|
}
|
|
241
241
|
}
|
|
242
242
|
var Z = !1, T;
|
|
@@ -322,7 +322,7 @@ function Rne() {
|
|
|
322
322
|
var Be = me.prototype;
|
|
323
323
|
return !!(Be && Be.isReactComponent);
|
|
324
324
|
}
|
|
325
|
-
function
|
|
325
|
+
function se(me, Be, qe) {
|
|
326
326
|
if (me == null)
|
|
327
327
|
return "";
|
|
328
328
|
if (typeof me == "function")
|
|
@@ -340,28 +340,28 @@ function Rne() {
|
|
|
340
340
|
case l:
|
|
341
341
|
return re(me.render);
|
|
342
342
|
case d:
|
|
343
|
-
return
|
|
343
|
+
return se(me.type, Be, qe);
|
|
344
344
|
case p: {
|
|
345
345
|
var at = me, Ct = at._payload, jt = at._init;
|
|
346
346
|
try {
|
|
347
|
-
return
|
|
347
|
+
return se(jt(Ct), Be, qe);
|
|
348
348
|
} catch {
|
|
349
349
|
}
|
|
350
350
|
}
|
|
351
351
|
}
|
|
352
352
|
return "";
|
|
353
353
|
}
|
|
354
|
-
var
|
|
354
|
+
var oe = Object.prototype.hasOwnProperty, Y = {}, Q = b.ReactDebugCurrentFrame;
|
|
355
355
|
function le(me) {
|
|
356
356
|
if (me) {
|
|
357
|
-
var Be = me._owner, qe =
|
|
357
|
+
var Be = me._owner, qe = se(me.type, me._source, Be ? Be.type : null);
|
|
358
358
|
Q.setExtraStackFrame(qe);
|
|
359
359
|
} else
|
|
360
360
|
Q.setExtraStackFrame(null);
|
|
361
361
|
}
|
|
362
362
|
function ge(me, Be, qe, at, Ct) {
|
|
363
363
|
{
|
|
364
|
-
var jt = Function.call.bind(
|
|
364
|
+
var jt = Function.call.bind(oe);
|
|
365
365
|
for (var At in me)
|
|
366
366
|
if (jt(me, At)) {
|
|
367
367
|
var Nt = void 0;
|
|
@@ -409,7 +409,7 @@ function Rne() {
|
|
|
409
409
|
__source: !0
|
|
410
410
|
}, ue, he;
|
|
411
411
|
function xe(me) {
|
|
412
|
-
if (
|
|
412
|
+
if (oe.call(me, "ref")) {
|
|
413
413
|
var Be = Object.getOwnPropertyDescriptor(me, "ref").get;
|
|
414
414
|
if (Be && Be.isReactWarning)
|
|
415
415
|
return !1;
|
|
@@ -417,7 +417,7 @@ function Rne() {
|
|
|
417
417
|
return me.ref !== void 0;
|
|
418
418
|
}
|
|
419
419
|
function ke(me) {
|
|
420
|
-
if (
|
|
420
|
+
if (oe.call(me, "key")) {
|
|
421
421
|
var Be = Object.getOwnPropertyDescriptor(me, "key").get;
|
|
422
422
|
if (Be && Be.isReactWarning)
|
|
423
423
|
return !1;
|
|
@@ -483,7 +483,7 @@ function Rne() {
|
|
|
483
483
|
var jt, At = {}, Nt = null, Hn = null;
|
|
484
484
|
qe !== void 0 && (I(qe), Nt = "" + qe), ke(Be) && (I(Be.key), Nt = "" + Be.key), xe(Be) && (Hn = Be.ref, Ee(Be, Ct));
|
|
485
485
|
for (jt in Be)
|
|
486
|
-
|
|
486
|
+
oe.call(Be, jt) && !ee.hasOwnProperty(jt) && (At[jt] = Be[jt]);
|
|
487
487
|
if (me && me.defaultProps) {
|
|
488
488
|
var tt = me.defaultProps;
|
|
489
489
|
for (jt in tt)
|
|
@@ -499,7 +499,7 @@ function Rne() {
|
|
|
499
499
|
var Pe = b.ReactCurrentOwner, ut = b.ReactDebugCurrentFrame;
|
|
500
500
|
function pt(me) {
|
|
501
501
|
if (me) {
|
|
502
|
-
var Be = me._owner, qe =
|
|
502
|
+
var Be = me._owner, qe = se(me.type, me._source, Be ? Be.type : null);
|
|
503
503
|
ut.setExtraStackFrame(qe);
|
|
504
504
|
} else
|
|
505
505
|
ut.setExtraStackFrame(null);
|
|
@@ -634,18 +634,18 @@ Check the top-level render call using <` + qe + ">.");
|
|
|
634
634
|
else
|
|
635
635
|
Kt(Re, me);
|
|
636
636
|
}
|
|
637
|
-
if (
|
|
637
|
+
if (oe.call(Be, "key")) {
|
|
638
638
|
var cn = B(me), dn = Object.keys(Be).filter(function(qo) {
|
|
639
639
|
return qo !== "key";
|
|
640
640
|
}), jn = dn.length > 0 ? "{key: someKey, " + dn.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
641
641
|
if (!ln[cn + jn]) {
|
|
642
|
-
var
|
|
642
|
+
var Sr = dn.length > 0 ? "{" + dn.join(": ..., ") + ": ...}" : "{}";
|
|
643
643
|
y(`A props object containing a "key" prop is being spread into JSX:
|
|
644
644
|
let props = %s;
|
|
645
645
|
<%s {...props} />
|
|
646
646
|
React keys must be passed directly to JSX without using spread:
|
|
647
647
|
let props = %s;
|
|
648
|
-
<%s key={someKey} {...props} />`, jn, cn,
|
|
648
|
+
<%s key={someKey} {...props} />`, jn, cn, Sr, cn), ln[cn + jn] = !0;
|
|
649
649
|
}
|
|
650
650
|
}
|
|
651
651
|
return me === r ? Et(we) : Xt(we), we;
|
|
@@ -4087,7 +4087,7 @@ class Ed extends wo {
|
|
|
4087
4087
|
}
|
|
4088
4088
|
}
|
|
4089
4089
|
wo.jsonID("removeNodeMark", Ed);
|
|
4090
|
-
class
|
|
4090
|
+
class Dr extends wo {
|
|
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
|
|
@@ -4107,21 +4107,21 @@ class wr extends wo {
|
|
|
4107
4107
|
return new Ci([this.from, this.to - this.from, this.slice.size]);
|
|
4108
4108
|
}
|
|
4109
4109
|
invert(t) {
|
|
4110
|
-
return new
|
|
4110
|
+
return new Dr(this.from, this.from + this.slice.size, t.slice(this.from, this.to));
|
|
4111
4111
|
}
|
|
4112
4112
|
map(t) {
|
|
4113
4113
|
let n = t.mapResult(this.from, 1), r = t.mapResult(this.to, -1);
|
|
4114
|
-
return n.deletedAcross && r.deletedAcross ? null : new
|
|
4114
|
+
return n.deletedAcross && r.deletedAcross ? null : new Dr(n.pos, Math.max(n.pos, r.pos), this.slice, this.structure);
|
|
4115
4115
|
}
|
|
4116
4116
|
merge(t) {
|
|
4117
|
-
if (!(t instanceof
|
|
4117
|
+
if (!(t instanceof Dr) || t.structure || this.structure)
|
|
4118
4118
|
return null;
|
|
4119
4119
|
if (this.from + this.slice.size == t.from && !this.slice.openEnd && !t.slice.openStart) {
|
|
4120
4120
|
let n = this.slice.size + t.slice.size == 0 ? ot.empty : new ot(this.slice.content.append(t.slice.content), this.slice.openStart, t.slice.openEnd);
|
|
4121
|
-
return new
|
|
4121
|
+
return new Dr(this.from, this.to + (t.to - t.from), n, this.structure);
|
|
4122
4122
|
} else if (t.to == this.from && !this.slice.openStart && !t.slice.openEnd) {
|
|
4123
4123
|
let n = this.slice.size + t.slice.size == 0 ? ot.empty : new ot(t.slice.content.append(this.slice.content), t.slice.openStart, this.slice.openEnd);
|
|
4124
|
-
return new
|
|
4124
|
+
return new Dr(t.from, this.to, n, this.structure);
|
|
4125
4125
|
} else
|
|
4126
4126
|
return null;
|
|
4127
4127
|
}
|
|
@@ -4135,10 +4135,10 @@ class wr extends wo {
|
|
|
4135
4135
|
static fromJSON(t, n) {
|
|
4136
4136
|
if (typeof n.from != "number" || typeof n.to != "number")
|
|
4137
4137
|
throw new RangeError("Invalid input for ReplaceStep.fromJSON");
|
|
4138
|
-
return new
|
|
4138
|
+
return new Dr(n.from, n.to, ot.fromJSON(t, n.slice), !!n.structure);
|
|
4139
4139
|
}
|
|
4140
4140
|
}
|
|
4141
|
-
wo.jsonID("replace",
|
|
4141
|
+
wo.jsonID("replace", Dr);
|
|
4142
4142
|
class Rr extends wo {
|
|
4143
4143
|
/**
|
|
4144
4144
|
Create a replace-around step with the given range and gap.
|
|
@@ -4255,7 +4255,7 @@ function d8(e, t, n, r = n.contentMatch, o = !0) {
|
|
|
4255
4255
|
for (let l = 0; l < i.childCount; l++) {
|
|
4256
4256
|
let u = i.child(l), c = a + u.nodeSize, d = r.matchType(u.type);
|
|
4257
4257
|
if (!d)
|
|
4258
|
-
s.push(new
|
|
4258
|
+
s.push(new Dr(a, c, ot.empty));
|
|
4259
4259
|
else {
|
|
4260
4260
|
r = d;
|
|
4261
4261
|
for (let p = 0; p < u.marks.length; p++)
|
|
@@ -4263,7 +4263,7 @@ function d8(e, t, n, r = n.contentMatch, o = !0) {
|
|
|
4263
4263
|
if (o && u.isText && n.whitespace != "pre") {
|
|
4264
4264
|
let p, h = /\r?\n|\r/g, f;
|
|
4265
4265
|
for (; p = h.exec(u.text); )
|
|
4266
|
-
f || (f = new ot(Ie.from(n.schema.text(" ", n.allowedMarks(u.marks))), 0, 0)), s.push(new
|
|
4266
|
+
f || (f = new ot(Ie.from(n.schema.text(" ", n.allowedMarks(u.marks))), 0, 0)), s.push(new Dr(a + p.index, a + p.index + p[0].length, f));
|
|
4267
4267
|
}
|
|
4268
4268
|
}
|
|
4269
4269
|
a = c;
|
|
@@ -4413,7 +4413,7 @@ function wre(e, t, n = 1, r) {
|
|
|
4413
4413
|
let c = r && r[u];
|
|
4414
4414
|
s = Ie.from(c ? c.type.create(c.attrs, s) : o.node(a).copy(s));
|
|
4415
4415
|
}
|
|
4416
|
-
e.step(new
|
|
4416
|
+
e.step(new Dr(t, t, new ot(i.append(s), n, n), !0));
|
|
4417
4417
|
}
|
|
4418
4418
|
function hc(e, t) {
|
|
4419
4419
|
let n = e.resolve(t), r = n.index();
|
|
@@ -4456,7 +4456,7 @@ function kre(e, t, n) {
|
|
|
4456
4456
|
}
|
|
4457
4457
|
s.inlineContent && d8(e, t + n - 1, s, i.node().contentMatchAt(i.index()), r == null);
|
|
4458
4458
|
let l = e.mapping.slice(a), u = l.map(t - n);
|
|
4459
|
-
if (e.step(new
|
|
4459
|
+
if (e.step(new Dr(u, l.map(t + n, -1), ot.empty, !0)), r === !0) {
|
|
4460
4460
|
let c = e.doc.resolve(u);
|
|
4461
4461
|
ML(e, c.node(), c.before(), e.steps.length);
|
|
4462
4462
|
}
|
|
@@ -4509,7 +4509,7 @@ function Ex(e, t, n = t, r = ot.empty) {
|
|
|
4509
4509
|
if (t == n && !r.size)
|
|
4510
4510
|
return null;
|
|
4511
4511
|
let o = e.resolve(t), i = e.resolve(n);
|
|
4512
|
-
return LL(o, i, r) ? new
|
|
4512
|
+
return LL(o, i, r) ? new Dr(t, n, r) : new Cre(o, i, r).fit();
|
|
4513
4513
|
}
|
|
4514
4514
|
function LL(e, t, n) {
|
|
4515
4515
|
return !n.openStart && !n.openEnd && e.start() == t.start() && e.parent.canReplace(e.index(), t.index(), n.content);
|
|
@@ -4542,7 +4542,7 @@ class Cre {
|
|
|
4542
4542
|
for (; s && a && i.childCount == 1; )
|
|
4543
4543
|
i = i.firstChild.content, s--, a--;
|
|
4544
4544
|
let l = new ot(i, s, a);
|
|
4545
|
-
return t > -1 ? new Rr(r.pos, t, this.$to.pos, this.$to.end(), l, n) : l.size || r.pos != this.$to.pos ? new
|
|
4545
|
+
return t > -1 ? new Rr(r.pos, t, this.$to.pos, this.$to.end(), l, n) : l.size || r.pos != this.$to.pos ? new Dr(r.pos, o.pos, l) : null;
|
|
4546
4546
|
}
|
|
4547
4547
|
// Find a position on the start spine of `this.unplaced` that has
|
|
4548
4548
|
// content that can be moved somewhere on the frontier. Returns two
|
|
@@ -4699,7 +4699,7 @@ function Sre(e, t, n, r) {
|
|
|
4699
4699
|
return e.deleteRange(t, n);
|
|
4700
4700
|
let o = e.doc.resolve(t), i = e.doc.resolve(n);
|
|
4701
4701
|
if (LL(o, i, r))
|
|
4702
|
-
return e.step(new
|
|
4702
|
+
return e.step(new Dr(t, n, r));
|
|
4703
4703
|
let s = zL(o, i);
|
|
4704
4704
|
s[s.length - 1] == 0 && s.pop();
|
|
4705
4705
|
let a = -(o.depth + 1);
|
|
@@ -5477,7 +5477,7 @@ function eA(e, t, n) {
|
|
|
5477
5477
|
if (r < t)
|
|
5478
5478
|
return;
|
|
5479
5479
|
let o = e.steps[r];
|
|
5480
|
-
if (!(o instanceof
|
|
5480
|
+
if (!(o instanceof Dr || o instanceof Rr))
|
|
5481
5481
|
return;
|
|
5482
5482
|
let i = e.mapping.maps[r], s;
|
|
5483
5483
|
i.forEach((a, l, u, c) => {
|
|
@@ -5962,7 +5962,7 @@ function VL(e, t, n) {
|
|
|
5962
5962
|
a = c;
|
|
5963
5963
|
}
|
|
5964
5964
|
let u = Ex(e.doc, i, l, ot.empty);
|
|
5965
|
-
if (!u || u.from != i || u instanceof
|
|
5965
|
+
if (!u || u.from != i || u instanceof Dr && u.slice.size >= l - i)
|
|
5966
5966
|
return !1;
|
|
5967
5967
|
if (n) {
|
|
5968
5968
|
let c = e.tr.step(u);
|
|
@@ -10617,7 +10617,7 @@ function lse(e, t, n) {
|
|
|
10617
10617
|
if (r < t)
|
|
10618
10618
|
return;
|
|
10619
10619
|
const o = e.steps[r];
|
|
10620
|
-
if (!(o instanceof
|
|
10620
|
+
if (!(o instanceof Dr || o instanceof Rr))
|
|
10621
10621
|
return;
|
|
10622
10622
|
const i = e.mapping.maps[r];
|
|
10623
10623
|
let s = 0;
|
|
@@ -18405,11 +18405,11 @@ function mce(e, t, n, r, o, i, s, a, l, u, c, d, p, h, f, g, m, b, y) {
|
|
|
18405
18405
|
let B = !1, C = 0, N = 0, j = !1, R = !1, L = !1, $ = !1;
|
|
18406
18406
|
function H(G) {
|
|
18407
18407
|
if (!y) return;
|
|
18408
|
-
function re(
|
|
18409
|
-
(Gx(y) || y(G,
|
|
18408
|
+
function re(se) {
|
|
18409
|
+
(Gx(y) || y(G, se)) && J(se);
|
|
18410
18410
|
}
|
|
18411
18411
|
const M = t;
|
|
18412
|
-
k.add(M, "dragstart", (
|
|
18412
|
+
k.add(M, "dragstart", (se) => se.preventDefault(), D).add(M, "touchmove", () => {
|
|
18413
18413
|
}, D).add(M, "touchend", () => {
|
|
18414
18414
|
}).add(M, "touchstart", re).add(M, "mousedown", re).add(M, "touchcancel", K).add(M, "contextmenu", K).add(M, "click", Z, !0);
|
|
18415
18415
|
}
|
|
@@ -18418,7 +18418,7 @@ function mce(e, t, n, r, o, i, s, a, l, u, c, d, p, h, f, g, m, b, y) {
|
|
|
18418
18418
|
}
|
|
18419
18419
|
function U() {
|
|
18420
18420
|
const G = $ ? n : t;
|
|
18421
|
-
E.add(G, "touchmove",
|
|
18421
|
+
E.add(G, "touchmove", ie, D).add(G, "touchend", K).add(G, "mousemove", ie, D).add(G, "mouseup", K);
|
|
18422
18422
|
}
|
|
18423
18423
|
function X(G) {
|
|
18424
18424
|
const re = G.nodeName || "";
|
|
@@ -18428,24 +18428,24 @@ function mce(e, t, n, r, o, i, s, a, l, u, c, d, p, h, f, g, m, b, y) {
|
|
|
18428
18428
|
return (f ? S : O)[$ ? "mouse" : "touch"];
|
|
18429
18429
|
}
|
|
18430
18430
|
function te(G, re) {
|
|
18431
|
-
const M = d.add(Q8(G) * -1),
|
|
18432
|
-
return f || Yn(G) < A ?
|
|
18431
|
+
const M = d.add(Q8(G) * -1), se = c.byDistance(G, !f).distance;
|
|
18432
|
+
return f || Yn(G) < A ? se : m && re ? se * 0.5 : c.byIndex(M.get(), 0).distance;
|
|
18433
18433
|
}
|
|
18434
18434
|
function J(G) {
|
|
18435
18435
|
const re = T5(G, r);
|
|
18436
18436
|
$ = re, L = f && re && !G.buttons && B, B = D0(o.get(), s.get()) >= 2, !(re && G.button !== 0) && (X(G.target) || (j = !0, i.pointerDown(G), u.useFriction(0).useDuration(0), o.set(s), U(), C = i.readPoint(G), N = i.readPoint(G, F), p.emit("pointerDown")));
|
|
18437
18437
|
}
|
|
18438
|
-
function
|
|
18438
|
+
function ie(G) {
|
|
18439
18439
|
if (!T5(G, r) && G.touches.length >= 2) return K(G);
|
|
18440
|
-
const M = i.readPoint(G),
|
|
18441
|
-
if (!R && !$ && (!G.cancelable || (R =
|
|
18440
|
+
const M = i.readPoint(G), se = i.readPoint(G, F), oe = D0(M, C), Y = D0(se, N);
|
|
18441
|
+
if (!R && !$ && (!G.cancelable || (R = oe > Y, !R)))
|
|
18442
18442
|
return K(G);
|
|
18443
18443
|
const Q = i.pointerMove(G);
|
|
18444
|
-
|
|
18444
|
+
oe > g && (L = !0), u.useFriction(0.3).useDuration(0.75), a.start(), o.add(v(Q)), G.preventDefault();
|
|
18445
18445
|
}
|
|
18446
18446
|
function K(G) {
|
|
18447
|
-
const M = c.byDistance(0, !1).index !== d.get(),
|
|
18448
|
-
R = !1, j = !1, E.clear(), u.useDuration(Q).useFriction(le), l.distance(
|
|
18447
|
+
const M = c.byDistance(0, !1).index !== d.get(), se = i.pointerUp(G) * ae(), oe = te(v(se), M), Y = dce(se, oe), Q = _ - 10 * Y, le = b + Y / 50;
|
|
18448
|
+
R = !1, j = !1, E.clear(), u.useDuration(Q).useFriction(le), l.distance(oe, !f), $ = !1, p.emit("pointerUp");
|
|
18449
18449
|
}
|
|
18450
18450
|
function Z(G) {
|
|
18451
18451
|
L && (G.stopPropagation(), G.preventDefault(), L = !1);
|
|
@@ -19088,9 +19088,9 @@ function Rce(e, t, n, r, o, i, s) {
|
|
|
19088
19088
|
} = _ce(S, C, A, O, z), ae = -js(U) + js(L), {
|
|
19089
19089
|
snapsContained: te,
|
|
19090
19090
|
scrollContainLimit: J
|
|
19091
|
-
} = Dce(_, ae, X, y, k),
|
|
19091
|
+
} = Dce(_, ae, X, y, k), ie = N ? te : X, {
|
|
19092
19092
|
limit: K
|
|
19093
|
-
} = kce(ae,
|
|
19093
|
+
} = kce(ae, ie, d), Z = iz(xg(ie), c, d), T = Z.clone(), V = f1(n), G = ({
|
|
19094
19094
|
dragHandler: he,
|
|
19095
19095
|
scrollBody: xe,
|
|
19096
19096
|
scrollBounds: ke,
|
|
@@ -19119,9 +19119,9 @@ function Rce(e, t, n, r, o, i, s) {
|
|
|
19119
19119
|
Ve && Pe.stop();
|
|
19120
19120
|
const vt = ke.get() * xt + be.get() * (1 - xt);
|
|
19121
19121
|
Ee.set(vt), ct && (Te.loop(he.direction()), Oe.loop()), xe.to(Ee.get()), Ve && ut.emit("settle"), ht || ut.emit("scroll");
|
|
19122
|
-
}, M = fce(r, o, () => G(ue), (he) => re(ue, he)),
|
|
19122
|
+
}, M = fce(r, o, () => G(ue), (he) => re(ue, he)), se = 0.68, oe = ie[Z.get()], Y = u0(oe), Q = u0(oe), le = u0(oe), ge = u0(oe), De = Fce(Y, le, Q, ge, p, se), ye = Sce(d, ie, ae, K, ge), pe = Tce(M, Z, T, De, ye, ge, s), de = Cce(K), fe = m1(), I = Mce(t, n, s, g), {
|
|
19123
19123
|
slideRegistry: W
|
|
19124
|
-
} = Ace(N, y,
|
|
19124
|
+
} = Ace(N, y, ie, J, z, V), ee = jce(e, n, W, pe, De, fe, s, D), ue = {
|
|
19125
19125
|
ownerDocument: r,
|
|
19126
19126
|
ownerWindow: o,
|
|
19127
19127
|
eventHandler: s,
|
|
@@ -19129,7 +19129,7 @@ function Rce(e, t, n, r, o, i, s) {
|
|
|
19129
19129
|
slideRects: O,
|
|
19130
19130
|
animation: M,
|
|
19131
19131
|
axis: S,
|
|
19132
|
-
dragHandler: mce(S, e, r, o, ge, bce(S, o), Y, M, pe, De, ye, Z, s, B, h, f, b,
|
|
19132
|
+
dragHandler: mce(S, e, r, o, ge, bce(S, o), Y, M, pe, De, ye, Z, s, B, h, f, b, se, w),
|
|
19133
19133
|
eventStore: fe,
|
|
19134
19134
|
percentOfView: B,
|
|
19135
19135
|
index: Z,
|
|
@@ -19144,11 +19144,11 @@ function Rce(e, t, n, r, o, i, s) {
|
|
|
19144
19144
|
scrollBounds: wce(K, le, ge, De, B),
|
|
19145
19145
|
scrollLooper: Ece(ae, K, le, [Y, le, Q, ge]),
|
|
19146
19146
|
scrollProgress: de,
|
|
19147
|
-
scrollSnapList:
|
|
19148
|
-
scrollSnaps:
|
|
19147
|
+
scrollSnapList: ie.map(de.get),
|
|
19148
|
+
scrollSnaps: ie,
|
|
19149
19149
|
scrollTarget: ye,
|
|
19150
19150
|
scrollTo: pe,
|
|
19151
|
-
slideLooper: Bce(S, _, ae, R, L, U,
|
|
19151
|
+
slideLooper: Bce(S, _, ae, R, L, U, ie, le, n),
|
|
19152
19152
|
slideFocus: ee,
|
|
19153
19153
|
slidesHandler: Nce(t, s, v),
|
|
19154
19154
|
slidesInView: I,
|
|
@@ -19333,7 +19333,7 @@ function Tb(e, t, n) {
|
|
|
19333
19333
|
function J() {
|
|
19334
19334
|
return b;
|
|
19335
19335
|
}
|
|
19336
|
-
function
|
|
19336
|
+
function ie() {
|
|
19337
19337
|
return e;
|
|
19338
19338
|
}
|
|
19339
19339
|
function K() {
|
|
@@ -19354,7 +19354,7 @@ function Tb(e, t, n) {
|
|
|
19354
19354
|
plugins: te,
|
|
19355
19355
|
previousScrollSnap: U,
|
|
19356
19356
|
reInit: g,
|
|
19357
|
-
rootNode:
|
|
19357
|
+
rootNode: ie,
|
|
19358
19358
|
scrollNext: N,
|
|
19359
19359
|
scrollPrev: j,
|
|
19360
19360
|
scrollProgress: H,
|
|
@@ -19774,30 +19774,30 @@ for (const e in B5) Object.freeze(B5[e]);
|
|
|
19774
19774
|
const k0 = Object.freeze(B5), pz = /* @__PURE__ */ Object.create(null);
|
|
19775
19775
|
for (const e in k0)
|
|
19776
19776
|
Object.hasOwn(k0, e) && (pz[k0[e]] = e);
|
|
19777
|
-
const
|
|
19777
|
+
const kr = {
|
|
19778
19778
|
to: {},
|
|
19779
19779
|
get: {}
|
|
19780
19780
|
};
|
|
19781
|
-
|
|
19781
|
+
kr.get = function(e) {
|
|
19782
19782
|
const t = e.slice(0, 3).toLowerCase();
|
|
19783
19783
|
let n, r;
|
|
19784
19784
|
switch (t) {
|
|
19785
19785
|
case "hsl": {
|
|
19786
|
-
n =
|
|
19786
|
+
n = kr.get.hsl(e), r = "hsl";
|
|
19787
19787
|
break;
|
|
19788
19788
|
}
|
|
19789
19789
|
case "hwb": {
|
|
19790
|
-
n =
|
|
19790
|
+
n = kr.get.hwb(e), r = "hwb";
|
|
19791
19791
|
break;
|
|
19792
19792
|
}
|
|
19793
19793
|
default: {
|
|
19794
|
-
n =
|
|
19794
|
+
n = kr.get.rgb(e), r = "rgb";
|
|
19795
19795
|
break;
|
|
19796
19796
|
}
|
|
19797
19797
|
}
|
|
19798
19798
|
return n ? { model: r, value: n } : null;
|
|
19799
19799
|
};
|
|
19800
|
-
|
|
19800
|
+
kr.get.rgb = function(e) {
|
|
19801
19801
|
if (!e)
|
|
19802
19802
|
return null;
|
|
19803
19803
|
const t = /^#([a-f\d]{3,4})$/i, n = /^#([a-f\d]{6})([a-f\d]{2})?$/i, r = /^rgba?\(\s*([+-]?(?:\d*\.)?\d+(?:e\d+)?)(?=[\s,])\s*(?:,\s*)?([+-]?(?:\d*\.)?\d+(?:e\d+)?)(?=[\s,])\s*(?:,\s*)?([+-]?(?:\d*\.)?\d+(?:e\d+)?)\s*(?:[\s,|/]\s*([+-]?(?:\d*\.)?\d+(?:e\d+)?)(%?)\s*)?\)$/i, o = /^rgba?\(\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*(?:[\s,|/]\s*([+-]?[\d.]+)(%?)\s*)?\)$/i, i = /^(\w+)$/;
|
|
@@ -19825,7 +19825,7 @@ Dr.get.rgb = function(e) {
|
|
|
19825
19825
|
s[l] = Uu(s[l], 0, 255);
|
|
19826
19826
|
return s[3] = Uu(s[3], 0, 1), s;
|
|
19827
19827
|
};
|
|
19828
|
-
|
|
19828
|
+
kr.get.hsl = function(e) {
|
|
19829
19829
|
if (!e)
|
|
19830
19830
|
return null;
|
|
19831
19831
|
const t = /^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*(?:[,|/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:e[+-]?\d+)?)\s*)?\)$/i, n = e.match(t);
|
|
@@ -19835,7 +19835,7 @@ Dr.get.hsl = function(e) {
|
|
|
19835
19835
|
}
|
|
19836
19836
|
return null;
|
|
19837
19837
|
};
|
|
19838
|
-
|
|
19838
|
+
kr.get.hwb = function(e) {
|
|
19839
19839
|
if (!e)
|
|
19840
19840
|
return null;
|
|
19841
19841
|
const t = /^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*[\s,]\s*([+-]?[\d.]+)%\s*[\s,]\s*([+-]?[\d.]+)%\s*(?:[\s,]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:e[+-]?\d+)?)\s*)?\)$/i, n = e.match(t);
|
|
@@ -19845,24 +19845,24 @@ Dr.get.hwb = function(e) {
|
|
|
19845
19845
|
}
|
|
19846
19846
|
return null;
|
|
19847
19847
|
};
|
|
19848
|
-
|
|
19848
|
+
kr.to.hex = function(...e) {
|
|
19849
19849
|
return "#" + Dm(e[0]) + Dm(e[1]) + Dm(e[2]) + (e[3] < 1 ? Dm(Math.round(e[3] * 255)) : "");
|
|
19850
19850
|
};
|
|
19851
|
-
|
|
19851
|
+
kr.to.rgb = function(...e) {
|
|
19852
19852
|
return e.length < 4 || e[3] === 1 ? "rgb(" + Math.round(e[0]) + ", " + Math.round(e[1]) + ", " + Math.round(e[2]) + ")" : "rgba(" + Math.round(e[0]) + ", " + Math.round(e[1]) + ", " + Math.round(e[2]) + ", " + e[3] + ")";
|
|
19853
19853
|
};
|
|
19854
|
-
|
|
19854
|
+
kr.to.rgb.percent = function(...e) {
|
|
19855
19855
|
const t = Math.round(e[0] / 255 * 100), n = Math.round(e[1] / 255 * 100), r = Math.round(e[2] / 255 * 100);
|
|
19856
19856
|
return e.length < 4 || e[3] === 1 ? "rgb(" + t + "%, " + n + "%, " + r + "%)" : "rgba(" + t + "%, " + n + "%, " + r + "%, " + e[3] + ")";
|
|
19857
19857
|
};
|
|
19858
|
-
|
|
19858
|
+
kr.to.hsl = function(...e) {
|
|
19859
19859
|
return e.length < 4 || e[3] === 1 ? "hsl(" + e[0] + ", " + e[1] + "%, " + e[2] + "%)" : "hsla(" + e[0] + ", " + e[1] + "%, " + e[2] + "%, " + e[3] + ")";
|
|
19860
19860
|
};
|
|
19861
|
-
|
|
19861
|
+
kr.to.hwb = function(...e) {
|
|
19862
19862
|
let t = "";
|
|
19863
19863
|
return e.length >= 4 && e[3] !== 1 && (t = ", " + e[3]), "hwb(" + e[0] + ", " + e[1] + "%, " + e[2] + "%" + t + ")";
|
|
19864
19864
|
};
|
|
19865
|
-
|
|
19865
|
+
kr.to.keyword = function(...e) {
|
|
19866
19866
|
return pz[e.slice(0, 3)];
|
|
19867
19867
|
};
|
|
19868
19868
|
function Uu(e, t, n) {
|
|
@@ -20534,7 +20534,7 @@ function Br(e, t) {
|
|
|
20534
20534
|
else if (e instanceof Br)
|
|
20535
20535
|
this.model = e.model, this.color = [...e.color], this.valpha = e.valpha;
|
|
20536
20536
|
else if (typeof e == "string") {
|
|
20537
|
-
const o =
|
|
20537
|
+
const o = kr.get(e);
|
|
20538
20538
|
if (o === null)
|
|
20539
20539
|
throw new Error("Unable to parse color from string: " + e);
|
|
20540
20540
|
this.model = o.model, r = Mr[this.model].channels, this.color = o.value.slice(0, r), this.valpha = typeof o.value[r] == "number" ? o.value[r] : 1;
|
|
@@ -20576,14 +20576,14 @@ Br.prototype = {
|
|
|
20576
20576
|
return this[this.model]();
|
|
20577
20577
|
},
|
|
20578
20578
|
string(e) {
|
|
20579
|
-
let t = this.model in
|
|
20579
|
+
let t = this.model in kr.to ? this : this.rgb();
|
|
20580
20580
|
t = t.round(typeof e == "number" ? e : 1);
|
|
20581
20581
|
const n = t.valpha === 1 ? t.color : [...t.color, this.valpha];
|
|
20582
|
-
return
|
|
20582
|
+
return kr.to[t.model](...n);
|
|
20583
20583
|
},
|
|
20584
20584
|
percentString(e) {
|
|
20585
20585
|
const t = this.rgb().round(typeof e == "number" ? e : 1), n = t.valpha === 1 ? t.color : [...t.color, this.valpha];
|
|
20586
|
-
return
|
|
20586
|
+
return kr.to.rgb.percent(...n);
|
|
20587
20587
|
},
|
|
20588
20588
|
array() {
|
|
20589
20589
|
return this.valpha === 1 ? [...this.color] : [...this.color, this.valpha];
|
|
@@ -20635,14 +20635,14 @@ Br.prototype = {
|
|
|
20635
20635
|
return e !== void 0 ? new Br(e) : Mr[this.model].keyword(this.color);
|
|
20636
20636
|
},
|
|
20637
20637
|
hex(e) {
|
|
20638
|
-
return e !== void 0 ? new Br(e) :
|
|
20638
|
+
return e !== void 0 ? new Br(e) : kr.to.hex(...this.rgb().round().color);
|
|
20639
20639
|
},
|
|
20640
20640
|
hexa(e) {
|
|
20641
20641
|
if (e !== void 0)
|
|
20642
20642
|
return new Br(e);
|
|
20643
20643
|
const t = this.rgb().round().color;
|
|
20644
20644
|
let n = Math.round(this.valpha * 255).toString(16).toUpperCase();
|
|
20645
|
-
return n.length === 1 && (n = "0" + n),
|
|
20645
|
+
return n.length === 1 && (n = "0" + n), kr.to.hex(...t) + n;
|
|
20646
20646
|
},
|
|
20647
20647
|
rgbNumber() {
|
|
20648
20648
|
const e = this.rgb().color;
|
|
@@ -26132,7 +26132,7 @@ var Ob = function(t) {
|
|
|
26132
26132
|
mclose: "mclose",
|
|
26133
26133
|
mpunct: "mpunct",
|
|
26134
26134
|
minner: "minner"
|
|
26135
|
-
},
|
|
26135
|
+
}, Cr = function(t, n, r, o) {
|
|
26136
26136
|
o === void 0 && (o = [null, null]);
|
|
26137
26137
|
for (var i = [], s = 0; s < t.length; s++) {
|
|
26138
26138
|
var a = gn(t[s], n);
|
|
@@ -26220,7 +26220,7 @@ function Sm(e, t) {
|
|
|
26220
26220
|
function $5(e, t) {
|
|
26221
26221
|
var n = null;
|
|
26222
26222
|
e.length === 1 && e[0].type === "tag" && (n = e[0].tag, e = e[0].body);
|
|
26223
|
-
var r =
|
|
26223
|
+
var r = Cr(e, t, "root"), o;
|
|
26224
26224
|
r.length === 2 && r[1].hasClass("tag") && (o = r.pop());
|
|
26225
26225
|
for (var i = [], s = [], a = 0; a < r.length; a++)
|
|
26226
26226
|
if (s.push(r[a]), r[a].hasClass("mbin") || r[a].hasClass("mrel") || r[a].hasClass("allowbreak")) {
|
|
@@ -26230,7 +26230,7 @@ function $5(e, t) {
|
|
|
26230
26230
|
} else r[a].hasClass("newline") && (s.pop(), s.length > 0 && (i.push(Sm(s, t)), s = []), i.push(r[a]));
|
|
26231
26231
|
s.length > 0 && i.push(Sm(s, t));
|
|
26232
26232
|
var u;
|
|
26233
|
-
n ? (u = Sm(
|
|
26233
|
+
n ? (u = Sm(Cr(n, t, !0)), u.classes = ["tag"], i.push(u)) : o && i.push(o);
|
|
26234
26234
|
var c = Al(["katex-html"], i);
|
|
26235
26235
|
if (c.setAttribute("aria-hidden", "true"), u) {
|
|
26236
26236
|
var d = u.children[0];
|
|
@@ -26953,7 +26953,7 @@ ft({
|
|
|
26953
26953
|
});
|
|
26954
26954
|
var wpe = Se.makeSpan;
|
|
26955
26955
|
function Rz(e, t) {
|
|
26956
|
-
var n =
|
|
26956
|
+
var n = Cr(e.body, t, !0);
|
|
26957
26957
|
return wpe([e.mclass], n, t);
|
|
26958
26958
|
}
|
|
26959
26959
|
function Lz(e, t) {
|
|
@@ -27065,7 +27065,7 @@ ft({
|
|
|
27065
27065
|
};
|
|
27066
27066
|
},
|
|
27067
27067
|
htmlBuilder(e, t) {
|
|
27068
|
-
var n =
|
|
27068
|
+
var n = Cr(e.body, t, !0), r = Se.makeSpan([e.mclass], n, t);
|
|
27069
27069
|
return r.style.textShadow = "0.02em 0.01em 0.04px", r;
|
|
27070
27070
|
},
|
|
27071
27071
|
mathmlBuilder(e, t) {
|
|
@@ -27279,7 +27279,7 @@ ft({
|
|
|
27279
27279
|
}
|
|
27280
27280
|
});
|
|
27281
27281
|
var Uz = (e, t) => {
|
|
27282
|
-
var n =
|
|
27282
|
+
var n = Cr(e.body, t.withColor(e.color), !1);
|
|
27283
27283
|
return Se.makeFragment(n);
|
|
27284
27284
|
}, Pz = (e, t) => {
|
|
27285
27285
|
var n = fi(e.body, t.withColor(e.color)), r = new Ge.MathNode("mstyle", n);
|
|
@@ -27861,7 +27861,7 @@ ft({
|
|
|
27861
27861
|
},
|
|
27862
27862
|
htmlBuilder: (e, t) => {
|
|
27863
27863
|
PS(e);
|
|
27864
|
-
for (var n =
|
|
27864
|
+
for (var n = Cr(e.body, t, !0, ["mopen", "mclose"]), r = 0, o = 0, i = !1, s = 0; s < n.length; s++)
|
|
27865
27865
|
n[s].isMiddle ? i = !0 : (r = Math.max(n[s].height, r), o = Math.max(n[s].depth, o));
|
|
27866
27866
|
r *= t.sizeMultiplier, o *= t.sizeMultiplier;
|
|
27867
27867
|
var a;
|
|
@@ -28302,7 +28302,7 @@ var Ua = function(t, n) {
|
|
|
28302
28302
|
if (t.tags && t.tags.some((Q) => Q))
|
|
28303
28303
|
for (r = 0; r < i; ++r) {
|
|
28304
28304
|
var L = l[r], $ = L.pos - _, H = t.tags[r], z = void 0;
|
|
28305
|
-
H === !0 ? z = Se.makeSpan(["eqn-num"], [], n) : H === !1 ? z = Se.makeSpan([], [], n) : z = Se.makeSpan([],
|
|
28305
|
+
H === !0 ? z = Se.makeSpan(["eqn-num"], [], n) : H === !1 ? z = Se.makeSpan([], [], n) : z = Se.makeSpan([], Cr(H, n, !0), n), z.depth = L.depth, z.height = L.height, R.push({
|
|
28306
28306
|
type: "elem",
|
|
28307
28307
|
elem: z,
|
|
28308
28308
|
shift: $
|
|
@@ -28326,8 +28326,8 @@ var Ua = function(t, n) {
|
|
|
28326
28326
|
j++, U = B[j] || {}, X = !1;
|
|
28327
28327
|
}
|
|
28328
28328
|
if (!(o >= a)) {
|
|
28329
|
-
var
|
|
28330
|
-
(o > 0 || t.hskipBeforeAndAfter) && (
|
|
28329
|
+
var ie = void 0;
|
|
28330
|
+
(o > 0 || t.hskipBeforeAndAfter) && (ie = mn.deflt(U.pregap, p), ie !== 0 && (N = Se.makeSpan(["arraycolsep"], []), N.style.width = rt(ie), C.push(N)));
|
|
28331
28331
|
var K = [];
|
|
28332
28332
|
for (r = 0; r < i; ++r) {
|
|
28333
28333
|
var Z = l[r], T = Z[o];
|
|
@@ -28343,7 +28343,7 @@ var Ua = function(t, n) {
|
|
|
28343
28343
|
K = Se.makeVList({
|
|
28344
28344
|
positionType: "individualShift",
|
|
28345
28345
|
children: K
|
|
28346
|
-
}, n), K = Se.makeSpan(["col-align-" + (U.align || "c")], [K]), C.push(K), (o < a - 1 || t.hskipBeforeAndAfter) && (
|
|
28346
|
+
}, n), K = Se.makeSpan(["col-align-" + (U.align || "c")], [K]), C.push(K), (o < a - 1 || t.hskipBeforeAndAfter) && (ie = mn.deflt(U.postgap, p), ie !== 0 && (N = Se.makeSpan(["arraycolsep"], []), N.style.width = rt(ie), C.push(N)));
|
|
28347
28347
|
}
|
|
28348
28348
|
}
|
|
28349
28349
|
if (l = Se.makeSpan(["mtable"], C), u.length > 0) {
|
|
@@ -28352,15 +28352,15 @@ var Ua = function(t, n) {
|
|
|
28352
28352
|
elem: l,
|
|
28353
28353
|
shift: 0
|
|
28354
28354
|
}]; u.length > 0; ) {
|
|
28355
|
-
var
|
|
28356
|
-
|
|
28355
|
+
var se = u.pop(), oe = se.pos - _;
|
|
28356
|
+
se.isDashed ? M.push({
|
|
28357
28357
|
type: "elem",
|
|
28358
28358
|
elem: re,
|
|
28359
|
-
shift:
|
|
28359
|
+
shift: oe
|
|
28360
28360
|
}) : M.push({
|
|
28361
28361
|
type: "elem",
|
|
28362
28362
|
elem: G,
|
|
28363
|
-
shift:
|
|
28363
|
+
shift: oe
|
|
28364
28364
|
});
|
|
28365
28365
|
}
|
|
28366
28366
|
l = Se.makeVList({
|
|
@@ -29281,7 +29281,7 @@ ft({
|
|
|
29281
29281
|
} : n.formatUnsupportedCmd("\\href");
|
|
29282
29282
|
},
|
|
29283
29283
|
htmlBuilder: (e, t) => {
|
|
29284
|
-
var n =
|
|
29284
|
+
var n = Cr(e.body, t, !1);
|
|
29285
29285
|
return Se.makeAnchor(e.href, [], n, t);
|
|
29286
29286
|
},
|
|
29287
29287
|
mathmlBuilder: (e, t) => {
|
|
@@ -29348,7 +29348,7 @@ ft({
|
|
|
29348
29348
|
};
|
|
29349
29349
|
},
|
|
29350
29350
|
htmlBuilder(e, t) {
|
|
29351
|
-
var n =
|
|
29351
|
+
var n = Cr(e.body, t, !1);
|
|
29352
29352
|
return Se.makeFragment(n);
|
|
29353
29353
|
},
|
|
29354
29354
|
mathmlBuilder(e, t) {
|
|
@@ -29414,7 +29414,7 @@ ft({
|
|
|
29414
29414
|
} : n.formatUnsupportedCmd(r);
|
|
29415
29415
|
},
|
|
29416
29416
|
htmlBuilder: (e, t) => {
|
|
29417
|
-
var n =
|
|
29417
|
+
var n = Cr(e.body, t, !1), r = ["enclosing"];
|
|
29418
29418
|
e.attributes.class && r.push(...e.attributes.class.trim().split(/\s+/));
|
|
29419
29419
|
var o = Se.makeSpan(r, n, t);
|
|
29420
29420
|
for (var i in e.attributes)
|
|
@@ -29442,7 +29442,7 @@ ft({
|
|
|
29442
29442
|
};
|
|
29443
29443
|
},
|
|
29444
29444
|
htmlBuilder: (e, t) => {
|
|
29445
|
-
var n =
|
|
29445
|
+
var n = Cr(e.html, t, !1);
|
|
29446
29446
|
return Se.makeFragment(n);
|
|
29447
29447
|
},
|
|
29448
29448
|
mathmlBuilder: (e, t) => ec(e.mathml, t)
|
|
@@ -29684,7 +29684,7 @@ ft({
|
|
|
29684
29684
|
};
|
|
29685
29685
|
},
|
|
29686
29686
|
htmlBuilder: (e, t) => {
|
|
29687
|
-
var n = VS(e, t), r =
|
|
29687
|
+
var n = VS(e, t), r = Cr(n, t, !1);
|
|
29688
29688
|
return Se.makeFragment(r);
|
|
29689
29689
|
},
|
|
29690
29690
|
mathmlBuilder: (e, t) => {
|
|
@@ -29812,7 +29812,7 @@ var o$ = (e, t, n, r, o, i, s) => {
|
|
|
29812
29812
|
}, t), i.name = "\\" + c, l.classes.unshift("mop"), l.italic = d;
|
|
29813
29813
|
}
|
|
29814
29814
|
} else if (i.body) {
|
|
29815
|
-
var h =
|
|
29815
|
+
var h = Cr(i.body, t, !0);
|
|
29816
29816
|
h.length === 1 && h[0] instanceof ds ? (l = h[0], l.classes[0] = "mop") : l = Se.makeSpan(["mop"], h, t);
|
|
29817
29817
|
} else {
|
|
29818
29818
|
for (var f = [], g = 1; g < i.name.length; g++)
|
|
@@ -29982,7 +29982,7 @@ var s$ = (e, t) => {
|
|
|
29982
29982
|
mode: d.mode,
|
|
29983
29983
|
text: p
|
|
29984
29984
|
} : d;
|
|
29985
|
-
}), l =
|
|
29985
|
+
}), l = Cr(a, t.withFont("mathrm"), !0), u = 0; u < l.length; u++) {
|
|
29986
29986
|
var c = l[u];
|
|
29987
29987
|
c instanceof ds && (c.text = c.text.replace(/\u2212/, "-").replace(/\u2217/, "*"));
|
|
29988
29988
|
}
|
|
@@ -30048,7 +30048,7 @@ ce("\\operatorname", "\\@ifstar\\operatornamewithlimits\\operatorname@");
|
|
|
30048
30048
|
Zd({
|
|
30049
30049
|
type: "ordgroup",
|
|
30050
30050
|
htmlBuilder(e, t) {
|
|
30051
|
-
return e.semisimple ? Se.makeFragment(
|
|
30051
|
+
return e.semisimple ? Se.makeFragment(Cr(e.body, t, !1)) : Se.makeSpan(["mord"], Cr(e.body, t, !0), t);
|
|
30052
30052
|
},
|
|
30053
30053
|
mathmlBuilder(e, t) {
|
|
30054
30054
|
return ec(e.body, t, !0);
|
|
@@ -30114,7 +30114,7 @@ ft({
|
|
|
30114
30114
|
};
|
|
30115
30115
|
},
|
|
30116
30116
|
htmlBuilder: (e, t) => {
|
|
30117
|
-
var n =
|
|
30117
|
+
var n = Cr(e.body, t.withPhantom(), !1);
|
|
30118
30118
|
return Se.makeFragment(n);
|
|
30119
30119
|
},
|
|
30120
30120
|
mathmlBuilder: (e, t) => {
|
|
@@ -30270,7 +30270,7 @@ ft({
|
|
|
30270
30270
|
}
|
|
30271
30271
|
});
|
|
30272
30272
|
function a$(e, t, n) {
|
|
30273
|
-
for (var r =
|
|
30273
|
+
for (var r = Cr(e, t, !1), o = t.sizeMultiplier / n.sizeMultiplier, i = 0; i < r.length; i++) {
|
|
30274
30274
|
var s = r[i].classes.indexOf("sizing");
|
|
30275
30275
|
s < 0 ? Array.prototype.push.apply(r[i].classes, t.sizingClasses(n)) : r[i].classes[s + 1] === "reset-size" + t.size && (r[i].classes[s + 1] = "reset-size" + n.size), r[i].height *= o, r[i].depth *= o;
|
|
30276
30276
|
}
|
|
@@ -30752,7 +30752,7 @@ ft({
|
|
|
30752
30752
|
};
|
|
30753
30753
|
},
|
|
30754
30754
|
htmlBuilder(e, t) {
|
|
30755
|
-
var n = JS(e, t), r =
|
|
30755
|
+
var n = JS(e, t), r = Cr(e.body, n, !0);
|
|
30756
30756
|
return Se.makeSpan(["mord", "text"], r, n);
|
|
30757
30757
|
},
|
|
30758
30758
|
mathmlBuilder(e, t) {
|
|
@@ -42194,7 +42194,7 @@ Kb.exports;
|
|
|
42194
42194
|
O && (A = E, E = null);
|
|
42195
42195
|
var S = A.navigator || {}, _ = S.userAgent || "";
|
|
42196
42196
|
E || (E = _);
|
|
42197
|
-
var B = O ? !!S.likeChrome : /\bChrome\b/.test(E) && !/internal|\n/i.test(d.toString()), C = "Object", N = O ? C : "ScriptBridgingProxyObject", j = O ? C : "Environment", R = O && A.java ? "JavaPackage" : b(A.java), L = O ? C : "RuntimeObject", $ = /\bJava/.test(R) && A.java, H = $ && b(A.environment) == j, z = $ ? "a" : "α", U = $ ? "b" : "β", X = A.document || {}, ae = A.operamini || A.opera, te = l.test(te = O && ae ? ae["[[Class]]"] : b(ae)) ? te : ae = null, J,
|
|
42197
|
+
var B = O ? !!S.likeChrome : /\bChrome\b/.test(E) && !/internal|\n/i.test(d.toString()), C = "Object", N = O ? C : "ScriptBridgingProxyObject", j = O ? C : "Environment", R = O && A.java ? "JavaPackage" : b(A.java), L = O ? C : "RuntimeObject", $ = /\bJava/.test(R) && A.java, H = $ && b(A.environment) == j, z = $ ? "a" : "α", U = $ ? "b" : "β", X = A.document || {}, ae = A.operamini || A.opera, te = l.test(te = O && ae ? ae["[[Class]]"] : b(ae)) ? te : ae = null, J, ie = E, K = [], Z = null, T = E == _, V = T && ae && typeof ae.version == "function" && ae.version(), G, re = Q([
|
|
42198
42198
|
{ label: "EdgeHTML", pattern: "Edge" },
|
|
42199
42199
|
"Trident",
|
|
42200
42200
|
{ label: "WebKit", pattern: "AppleWebKit" },
|
|
@@ -42256,7 +42256,7 @@ Kb.exports;
|
|
|
42256
42256
|
{ label: "IE", pattern: "IEMobile" },
|
|
42257
42257
|
{ label: "IE", pattern: "MSIE" },
|
|
42258
42258
|
"Safari"
|
|
42259
|
-
]),
|
|
42259
|
+
]), se = ye([
|
|
42260
42260
|
{ label: "BlackBerry", pattern: "BB10" },
|
|
42261
42261
|
"BlackBerry",
|
|
42262
42262
|
{ label: "Galaxy S", pattern: "GT-I9000" },
|
|
@@ -42287,7 +42287,7 @@ Kb.exports;
|
|
|
42287
42287
|
"Xbox One",
|
|
42288
42288
|
{ label: "Xbox 360", pattern: "Xbox" },
|
|
42289
42289
|
"Xoom"
|
|
42290
|
-
]),
|
|
42290
|
+
]), oe = le({
|
|
42291
42291
|
Apple: { iPad: 1, iPhone: 1, iPod: 1 },
|
|
42292
42292
|
Alcatel: {},
|
|
42293
42293
|
Archos: {},
|
|
@@ -42349,7 +42349,7 @@ Kb.exports;
|
|
|
42349
42349
|
}
|
|
42350
42350
|
function le(I) {
|
|
42351
42351
|
return v(I, function(W, ee, ue) {
|
|
42352
|
-
return W || (ee[
|
|
42352
|
+
return W || (ee[se] || ee[/^[a-z]+(?: +[a-z]+\b)*/i.exec(se)] || RegExp("\\b" + F(ue) + "(?:\\b|\\w*\\d)", "i").exec(E)) && ue;
|
|
42353
42353
|
});
|
|
42354
42354
|
}
|
|
42355
42355
|
function ge(I) {
|
|
@@ -42377,21 +42377,21 @@ Kb.exports;
|
|
|
42377
42377
|
function de() {
|
|
42378
42378
|
return this.description || "";
|
|
42379
42379
|
}
|
|
42380
|
-
if (re && (re = [re]), /\bAndroid\b/.test(Y) && !
|
|
42380
|
+
if (re && (re = [re]), /\bAndroid\b/.test(Y) && !se && (J = /\bAndroid[^;]*;(.*?)(?:Build|\) AppleWebKit)\b/i.exec(E)) && (se = w(J[1]).replace(/^[a-z]{2}-[a-z]{2};\s*/i, "") || null), oe && !se ? se = ye([oe]) : oe && se && (se = se.replace(RegExp("^(" + F(oe) + ")[-_.\\s]", "i"), oe + " ").replace(RegExp("^(" + F(oe) + ")[-_.]?(\\w)", "i"), oe + " $2")), (J = /\bGoogle TV\b/.exec(se)) && (se = J[0]), /\bSimulator\b/i.test(E) && (se = (se ? se + " " : "") + "Simulator"), M == "Opera Mini" && /\bOPiOS\b/.test(E) && K.push("running in Turbo/Uncompressed mode"), M == "IE" && /\blike iPhone OS\b/.test(E) ? (J = D(E.replace(/like iPhone OS/, "")), oe = J.manufacturer, se = J.product) : /^iP/.test(se) ? (M || (M = "Safari"), Y = "iOS" + ((J = / OS ([\d_]+)/i.exec(E)) ? " " + J[1].replace(/_/g, ".") : "")) : M == "Konqueror" && /^Linux\b/i.test(Y) ? Y = "Kubuntu" : oe && oe != "Google" && (/Chrome/.test(M) && !/\bMobile Safari\b/i.test(E) || /\bVita\b/.test(se)) || /\bAndroid\b/.test(Y) && /^Chrome/.test(M) && /\bVersion\//i.test(E) ? (M = "Android Browser", Y = /\bAndroid\b/.test(Y) ? Y : "Android") : M == "Silk" ? (/\bMobi/i.test(E) || (Y = "Android", K.unshift("desktop mode")), /Accelerated *= *true/i.test(E) && K.unshift("accelerated")) : M == "UC Browser" && /\bUCWEB\b/.test(E) ? K.push("speed mode") : M == "PaleMoon" && (J = /\bFirefox\/([\d.]+)\b/.exec(E)) ? K.push("identifying as Firefox " + J[1]) : M == "Firefox" && (J = /\b(Mobile|Tablet|TV)\b/i.exec(E)) ? (Y || (Y = "Firefox OS"), se || (se = J[1])) : !M || (J = !/\bMinefield\b/i.test(E) && /\b(?:Firefox|Safari)\b/.exec(M)) ? (M && !se && /[\/,]|^[^(]+?\)/.test(E.slice(E.indexOf(J + "/") + 8)) && (M = null), (J = se || oe || Y) && (se || oe || /\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(Y)) && (M = /[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(Y) ? Y : J) + " Browser")) : M == "Electron" && (J = (/\bChrome\/([\d.]+)\b/.exec(E) || 0)[1]) && K.push("Chromium " + J), V || (V = pe([
|
|
42381
42381
|
"(?:Cloud9|CriOS|CrMo|Edge|Edg|EdgA|EdgiOS|FxiOS|HeadlessChrome|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|SamsungBrowser|Silk(?!/[\\d.]+$)|UCBrowser|YaBrowser)",
|
|
42382
42382
|
"Version",
|
|
42383
42383
|
F(M),
|
|
42384
42384
|
"(?:Firefox|Minefield|NetFront)"
|
|
42385
42385
|
])), (J = re == "iCab" && parseFloat(V) > 3 && "WebKit" || /\bOpera\b/.test(M) && (/\bOPR\b/.test(E) ? "Blink" : "Presto") || /\b(?:Midori|Nook|Safari)\b/i.test(E) && !/^(?:Trident|EdgeHTML)$/.test(re) && "WebKit" || !re && /\bMSIE\b/i.test(E) && (Y == "Mac OS" ? "Tasman" : "Trident") || re == "WebKit" && /\bPlayStation\b(?! Vita\b)/i.test(M) && "NetFront") && (re = [J]), M == "IE" && (J = (/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(E) || 0)[1]) ? (M += " Mobile", Y = "Windows Phone " + (/\+$/.test(J) ? J : J + ".x"), K.unshift("desktop mode")) : /\bWPDesktop\b/i.test(E) ? (M = "IE Mobile", Y = "Windows Phone 8.x", K.unshift("desktop mode"), V || (V = (/\brv:([\d.]+)/.exec(E) || 0)[1])) : M != "IE" && re == "Trident" && (J = /\brv:([\d.]+)/.exec(E)) && (M && K.push("identifying as " + M + (V ? " " + V : "")), M = "IE", V = J[1]), T) {
|
|
42386
42386
|
if (y(A, "global"))
|
|
42387
|
-
if ($ && (J = $.lang.System,
|
|
42387
|
+
if ($ && (J = $.lang.System, ie = J.getProperty("os.arch"), Y = Y || J.getProperty("os.name") + " " + J.getProperty("os.version")), H) {
|
|
42388
42388
|
try {
|
|
42389
42389
|
V = A.require("ringo/engine").version.join("."), M = "RingoJS";
|
|
42390
42390
|
} catch {
|
|
42391
42391
|
(J = A.system) && J.global.system == A.system && (M = "Narwhal", Y || (Y = J[0].os || null));
|
|
42392
42392
|
}
|
|
42393
42393
|
M || (M = "Rhino");
|
|
42394
|
-
} else typeof A.process == "object" && !A.process.browser && (J = A.process) && (typeof J.versions == "object" && (typeof J.versions.electron == "string" ? (K.push("Node " + J.versions.node), M = "Electron", V = J.versions.electron) : typeof J.versions.nw == "string" && (K.push("Chromium " + V, "Node " + J.versions.node), M = "NW.js", V = J.versions.nw)), M || (M = "Node.js",
|
|
42394
|
+
} else typeof A.process == "object" && !A.process.browser && (J = A.process) && (typeof J.versions == "object" && (typeof J.versions.electron == "string" ? (K.push("Node " + J.versions.node), M = "Electron", V = J.versions.electron) : typeof J.versions.nw == "string" && (K.push("Chromium " + V, "Node " + J.versions.node), M = "NW.js", V = J.versions.nw)), M || (M = "Node.js", ie = J.arch, Y = J.platform, V = /[\d.]+/.exec(J.version), V = V ? V[0] : null));
|
|
42395
42395
|
else b(J = A.runtime) == N ? (M = "Adobe AIR", Y = J.flash.system.Capabilities.os) : b(J = A.phantom) == L ? (M = "PhantomJS", V = (J = J.version || null) && J.major + "." + J.minor + "." + J.patch) : typeof X.documentMode == "number" && (J = /\bTrident\/(\d+)/i.exec(E)) ? (V = [V, X.documentMode], (J = +J[1] + 4) != V[1] && (K.push("IE " + V[1] + " mode"), re && (re[1] = ""), V[1] = J), V = M == "IE" ? String(V[1].toFixed(1)) : V[0]) : typeof X.documentMode == "number" && /^(?:Chrome|Firefox)\b/.test(M) && (K.push("masking as " + M + " " + V), M = "IE", V = "11.0", re = ["Trident"], Y = "Windows");
|
|
42396
42396
|
Y = Y && g(Y);
|
|
42397
42397
|
}
|
|
@@ -42399,9 +42399,9 @@ Kb.exports;
|
|
|
42399
42399
|
M = "Firefox Mobile";
|
|
42400
42400
|
else if (M == "Maxthon" && V)
|
|
42401
42401
|
V = V.replace(/\.[\d.]+/, ".x");
|
|
42402
|
-
else if (/\bXbox\b/i.test(
|
|
42403
|
-
|
|
42404
|
-
else if ((/^(?:Chrome|IE|Opera)$/.test(M) || M && !
|
|
42402
|
+
else if (/\bXbox\b/i.test(se))
|
|
42403
|
+
se == "Xbox 360" && (Y = null), se == "Xbox 360" && /\bIEMobile\b/.test(E) && K.unshift("mobile mode");
|
|
42404
|
+
else if ((/^(?:Chrome|IE|Opera)$/.test(M) || M && !se && !/Browser|Mobi/.test(M)) && (Y == "Windows CE" || /Mobi/i.test(E)))
|
|
42405
42405
|
M += " Mobile";
|
|
42406
42406
|
else if (M == "IE" && T)
|
|
42407
42407
|
try {
|
|
@@ -42409,8 +42409,8 @@ Kb.exports;
|
|
|
42409
42409
|
} catch {
|
|
42410
42410
|
K.unshift("embedded");
|
|
42411
42411
|
}
|
|
42412
|
-
else (/\bBlackBerry\b/.test(
|
|
42413
|
-
(J = (/\bAppleWebKit\/([\d.]+\+?)/i.exec(E) || 0)[1]) && (J = [parseFloat(J.replace(/\.(\d)$/, ".0$1")), J], M == "Safari" && J[1].slice(-1) == "+" ? (M = "WebKit Nightly", Z = "alpha", V = J[1].slice(0, -1)) : (V == J[1] || V == (J[2] = (/\bSafari\/([\d.]+\+?)/i.exec(E) || 0)[1])) && (V = null), J[1] = (/\b(?:Headless)?Chrome\/([\d.]+)/i.exec(E) || 0)[1], J[0] == 537.36 && J[2] == 537.36 && parseFloat(J[1]) >= 28 && re == "WebKit" && (re = ["Blink"]), !T || !B && !J[1] ? (re && (re[1] = "like Safari"), J = (J = J[0], J < 400 ? 1 : J < 500 ? 2 : J < 526 ? 3 : J < 533 ? 4 : J < 534 ? "4+" : J < 535 ? 5 : J < 537 ? 6 : J < 538 ? 7 : J < 601 ? 8 : J < 602 ? 9 : J < 604 ? 10 : J < 606 ? 11 : J < 608 ? 12 : "12")) : (re && (re[1] = "like Chrome"), J = J[1] || (J = J[0], J < 530 ? 1 : J < 532 ? 2 : J < 532.05 ? 3 : J < 533 ? 4 : J < 534.03 ? 5 : J < 534.07 ? 6 : J < 534.1 ? 7 : J < 534.13 ? 8 : J < 534.16 ? 9 : J < 534.24 ? 10 : J < 534.3 ? 11 : J < 535.01 ? 12 : J < 535.02 ? "13+" : J < 535.07 ? 15 : J < 535.11 ? 16 : J < 535.19 ? 17 : J < 536.05 ? 18 : J < 536.1 ? 19 : J < 537.01 ? 20 : J < 537.11 ? "21+" : J < 537.13 ? 23 : J < 537.18 ? 24 : J < 537.24 ? 25 : J < 537.36 ? 26 : re != "Blink" ? "27" : "28")), re && (re[1] += " " + (J += typeof J == "number" ? ".x" : /[.+]/.test(J) ? "" : "+")), M == "Safari" && (!V || parseInt(V) > 45) ? V = J : M == "Chrome" && /\bHeadlessChrome/i.test(E) && K.unshift("headless")), M == "Opera" && (J = /\bzbov|zvav$/.exec(Y)) ? (M += " ", K.unshift("desktop mode"), J == "zvav" ? (M += "Mini", V = null) : M += "Mobile", Y = Y.replace(RegExp(" *" + J + "$"), "")) : M == "Safari" && /\bChrome\b/.exec(re && re[1]) ? (K.unshift("desktop mode"), M = "Chrome Mobile", V = null, /\bOS X\b/.test(Y) ? (
|
|
42412
|
+
else (/\bBlackBerry\b/.test(se) || /\bBB10\b/.test(E)) && (J = (RegExp(se.replace(/ +/g, " *") + "/([.\\d]+)", "i").exec(E) || 0)[1] || V) ? (J = [J, /BB10/.test(E)], Y = (J[1] ? (se = null, oe = "BlackBerry") : "Device Software") + " " + J[0], V = null) : this != m && se != "Wii" && (T && ae || /Opera/.test(M) && /\b(?:MSIE|Firefox)\b/i.test(E) || M == "Firefox" && /\bOS X (?:\d+\.){2,}/.test(Y) || M == "IE" && (Y && !/^Win/.test(Y) && V > 5.5 || /\bWindows XP\b/.test(Y) && V > 8 || V == 8 && !/\bTrident\b/.test(E))) && !l.test(J = D.call(m, E.replace(l, "") + ";")) && J.name && (J = "ing as " + J.name + ((J = J.version) ? " " + J : ""), l.test(M) ? (/\bIE\b/.test(J) && Y == "Mac OS" && (Y = null), J = "identify" + J) : (J = "mask" + J, te ? M = g(te.replace(/([a-z])([A-Z])/g, "$1 $2")) : M = "Opera", /\bIE\b/.test(J) && (Y = null), T || (V = null)), re = ["Presto"], K.push(J));
|
|
42413
|
+
(J = (/\bAppleWebKit\/([\d.]+\+?)/i.exec(E) || 0)[1]) && (J = [parseFloat(J.replace(/\.(\d)$/, ".0$1")), J], M == "Safari" && J[1].slice(-1) == "+" ? (M = "WebKit Nightly", Z = "alpha", V = J[1].slice(0, -1)) : (V == J[1] || V == (J[2] = (/\bSafari\/([\d.]+\+?)/i.exec(E) || 0)[1])) && (V = null), J[1] = (/\b(?:Headless)?Chrome\/([\d.]+)/i.exec(E) || 0)[1], J[0] == 537.36 && J[2] == 537.36 && parseFloat(J[1]) >= 28 && re == "WebKit" && (re = ["Blink"]), !T || !B && !J[1] ? (re && (re[1] = "like Safari"), J = (J = J[0], J < 400 ? 1 : J < 500 ? 2 : J < 526 ? 3 : J < 533 ? 4 : J < 534 ? "4+" : J < 535 ? 5 : J < 537 ? 6 : J < 538 ? 7 : J < 601 ? 8 : J < 602 ? 9 : J < 604 ? 10 : J < 606 ? 11 : J < 608 ? 12 : "12")) : (re && (re[1] = "like Chrome"), J = J[1] || (J = J[0], J < 530 ? 1 : J < 532 ? 2 : J < 532.05 ? 3 : J < 533 ? 4 : J < 534.03 ? 5 : J < 534.07 ? 6 : J < 534.1 ? 7 : J < 534.13 ? 8 : J < 534.16 ? 9 : J < 534.24 ? 10 : J < 534.3 ? 11 : J < 535.01 ? 12 : J < 535.02 ? "13+" : J < 535.07 ? 15 : J < 535.11 ? 16 : J < 535.19 ? 17 : J < 536.05 ? 18 : J < 536.1 ? 19 : J < 537.01 ? 20 : J < 537.11 ? "21+" : J < 537.13 ? 23 : J < 537.18 ? 24 : J < 537.24 ? 25 : J < 537.36 ? 26 : re != "Blink" ? "27" : "28")), re && (re[1] += " " + (J += typeof J == "number" ? ".x" : /[.+]/.test(J) ? "" : "+")), M == "Safari" && (!V || parseInt(V) > 45) ? V = J : M == "Chrome" && /\bHeadlessChrome/i.test(E) && K.unshift("headless")), M == "Opera" && (J = /\bzbov|zvav$/.exec(Y)) ? (M += " ", K.unshift("desktop mode"), J == "zvav" ? (M += "Mini", V = null) : M += "Mobile", Y = Y.replace(RegExp(" *" + J + "$"), "")) : M == "Safari" && /\bChrome\b/.exec(re && re[1]) ? (K.unshift("desktop mode"), M = "Chrome Mobile", V = null, /\bOS X\b/.test(Y) ? (oe = "Apple", Y = "iOS 4.3+") : Y = null) : /\bSRWare Iron\b/.test(M) && !V && (V = pe("Chrome")), V && V.indexOf(J = /[\d.]+$/.exec(Y)) == 0 && E.indexOf("/" + J + "-") > -1 && (Y = w(Y.replace(J, ""))), Y && Y.indexOf(M) != -1 && !RegExp(M + " OS").test(Y) && (Y = Y.replace(RegExp(" *" + F(M) + " *"), "")), re && !/\b(?:Avant|Nook)\b/.test(M) && (/Browser|Lunascape|Maxthon/.test(M) || M != "Safari" && /^iOS/.test(Y) && /\bSafari\b/.test(re[1]) || /^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|SRWare Iron|Vivaldi|Web)/.test(M) && re[1]) && (J = re[re.length - 1]) && K.push(J), K.length && (K = ["(" + K.join("; ") + ")"]), oe && se && se.indexOf(oe) < 0 && K.push("on " + oe), se && K.push((/^on /.test(K[K.length - 1]) ? "" : "on ") + se), Y && (J = / ([\d.+]+)$/.exec(Y), G = J && Y.charAt(Y.length - J[0].length - 1) == "/", Y = {
|
|
42414
42414
|
architecture: 32,
|
|
42415
42415
|
family: J && !G ? Y.replace(J[0], "") : Y,
|
|
42416
42416
|
version: J ? J[1] : null,
|
|
@@ -42418,9 +42418,9 @@ Kb.exports;
|
|
|
42418
42418
|
var I = this.version;
|
|
42419
42419
|
return this.family + (I && !G ? " " + I : "") + (this.architecture == 64 ? " 64-bit" : "");
|
|
42420
42420
|
}
|
|
42421
|
-
}), (J = /\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(
|
|
42421
|
+
}), (J = /\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(ie)) && !/\bi686\b/i.test(ie) ? (Y && (Y.architecture = 64, Y.family = Y.family.replace(RegExp(" *" + J), "")), M && (/\bWOW64\b/i.test(E) || T && /\w(?:86|32)$/.test(S.cpuClass || S.platform) && !/\bWin64; x64\b/i.test(E)) && K.unshift("32-bit")) : Y && /^OS X/.test(Y.family) && M == "Chrome" && parseFloat(V) >= 39 && (Y.architecture = 64), E || (E = null);
|
|
42422
42422
|
var fe = {};
|
|
42423
|
-
return fe.description = E, fe.layout = re && re[0], fe.manufacturer =
|
|
42423
|
+
return fe.description = E, fe.layout = re && re[0], fe.manufacturer = oe, fe.name = M, fe.prerelease = Z, fe.product = se, fe.ua = E, fe.version = M && V, fe.os = Y || {
|
|
42424
42424
|
/**
|
|
42425
42425
|
* The CPU architecture the OS is built for.
|
|
42426
42426
|
*
|
|
@@ -42456,7 +42456,7 @@ Kb.exports;
|
|
|
42456
42456
|
toString: function() {
|
|
42457
42457
|
return "null";
|
|
42458
42458
|
}
|
|
42459
|
-
}, fe.parse = D, fe.toString = de, fe.version && K.unshift(V), fe.name && K.unshift(M), Y && M && !(Y == String(Y).split(" ")[0] && (Y == M.split(" ")[0] ||
|
|
42459
|
+
}, fe.parse = D, fe.toString = de, fe.version && K.unshift(V), fe.name && K.unshift(M), Y && M && !(Y == String(Y).split(" ")[0] && (Y == M.split(" ")[0] || se)) && K.push(se ? "(" + Y + ")" : "on " + Y), K.length && (fe.description = K.join(" ")), fe;
|
|
42460
42460
|
}
|
|
42461
42461
|
var k = D();
|
|
42462
42462
|
o && i ? m(k, function(E, A) {
|
|
@@ -44388,7 +44388,7 @@ const Dme = ({
|
|
|
44388
44388
|
isLoading: N = !1,
|
|
44389
44389
|
isDDocOwner: j = !1
|
|
44390
44390
|
}) => {
|
|
44391
|
-
const R = Dt(() => wme(), []), { isBelow1280px: L, isNativeMobile: $ } = Ui(), H = !L && !$ && !r, z = je(null), U = je(/* @__PURE__ */ new Map()), [X, ae] = Me(() => /* @__PURE__ */ new Set()), [te, J] = Me(B),
|
|
44391
|
+
const R = Dt(() => wme(), []), { isBelow1280px: L, isNativeMobile: $ } = Ui(), H = !L && !$ && !r, z = je(null), U = je(/* @__PURE__ */ new Map()), [X, ae] = Me(() => /* @__PURE__ */ new Set()), [te, J] = Me(B), ie = je(B), K = je(""), Z = je(null), T = je(null), V = Ae(() => {
|
|
44392
44392
|
Z.current !== null && (window.cancelAnimationFrame(Z.current), Z.current = null), T.current !== null && (window.cancelAnimationFrame(
|
|
44393
44393
|
T.current
|
|
44394
44394
|
), T.current = null);
|
|
@@ -44416,7 +44416,7 @@ const Dme = ({
|
|
|
44416
44416
|
const fe = t && w ? w.current.filter(
|
|
44417
44417
|
(ee) => !ee.deleted && !!ri(ee, t.state)
|
|
44418
44418
|
).map((ee) => ee.id) : [], I = `${B}:${fe.join(",")}`;
|
|
44419
|
-
(I !== K.current ||
|
|
44419
|
+
(I !== K.current || ie.current !== B) && (K.current = I, ae(new Set(fe)), ie.current = B, J(B));
|
|
44420
44420
|
}, [B, w, t]), M = je({
|
|
44421
44421
|
editor: t,
|
|
44422
44422
|
ydoc: n,
|
|
@@ -44531,19 +44531,19 @@ const Dme = ({
|
|
|
44531
44531
|
}, [t, R]), _e(() => {
|
|
44532
44532
|
R.getState().setInitialComments(O);
|
|
44533
44533
|
}, [O, R]);
|
|
44534
|
-
const
|
|
44534
|
+
const se = Dt(
|
|
44535
44535
|
() => qH(E),
|
|
44536
44536
|
[E]
|
|
44537
|
-
),
|
|
44538
|
-
w != null && w.current.length ?
|
|
44537
|
+
), oe = je(
|
|
44538
|
+
w != null && w.current.length ? se : null
|
|
44539
44539
|
);
|
|
44540
44540
|
_e(() => {
|
|
44541
|
-
w &&
|
|
44541
|
+
w && se !== oe.current && (oe.current = se, w.current = VH(
|
|
44542
44542
|
E
|
|
44543
44543
|
), t && (ao(t), re()));
|
|
44544
44544
|
}, [
|
|
44545
44545
|
E,
|
|
44546
|
-
|
|
44546
|
+
se,
|
|
44547
44547
|
w,
|
|
44548
44548
|
t,
|
|
44549
44549
|
re
|
|
@@ -44557,7 +44557,7 @@ const Dme = ({
|
|
|
44557
44557
|
}, [_, H, R]), _e(() => {
|
|
44558
44558
|
R.getState().setActiveTabId(B);
|
|
44559
44559
|
}, [B, R]), _e(() => {
|
|
44560
|
-
|
|
44560
|
+
ie.current = null, J(null);
|
|
44561
44561
|
let fe = null;
|
|
44562
44562
|
const I = window.requestAnimationFrame(() => {
|
|
44563
44563
|
fe = window.requestAnimationFrame(() => {
|
|
@@ -45112,21 +45112,21 @@ function qme(e) {
|
|
|
45112
45112
|
function Vme(e) {
|
|
45113
45113
|
return e === Or.EQUALS || qme(e);
|
|
45114
45114
|
}
|
|
45115
|
-
var
|
|
45115
|
+
var Tr;
|
|
45116
45116
|
(function(e) {
|
|
45117
45117
|
e[e.EntityStart = 0] = "EntityStart", e[e.NumericStart = 1] = "NumericStart", e[e.NumericDecimal = 2] = "NumericDecimal", e[e.NumericHex = 3] = "NumericHex", e[e.NamedEntity = 4] = "NamedEntity";
|
|
45118
|
-
})(
|
|
45118
|
+
})(Tr || (Tr = {}));
|
|
45119
45119
|
var Du;
|
|
45120
45120
|
(function(e) {
|
|
45121
45121
|
e[e.Legacy = 0] = "Legacy", e[e.Strict = 1] = "Strict", e[e.Attribute = 2] = "Attribute";
|
|
45122
45122
|
})(Du || (Du = {}));
|
|
45123
45123
|
class Kme {
|
|
45124
45124
|
constructor(t, n, r) {
|
|
45125
|
-
this.decodeTree = t, this.emitCodePoint = n, this.errors = r, this.state =
|
|
45125
|
+
this.decodeTree = t, this.emitCodePoint = n, this.errors = r, this.state = Tr.EntityStart, this.consumed = 1, this.result = 0, this.treeIndex = 0, this.excess = 1, this.decodeMode = Du.Strict;
|
|
45126
45126
|
}
|
|
45127
45127
|
/** Resets the instance to make it reusable. */
|
|
45128
45128
|
startEntity(t) {
|
|
45129
|
-
this.decodeMode = t, this.state =
|
|
45129
|
+
this.decodeMode = t, this.state = Tr.EntityStart, this.result = 0, this.treeIndex = 0, this.excess = 1, this.consumed = 1;
|
|
45130
45130
|
}
|
|
45131
45131
|
/**
|
|
45132
45132
|
* Write an entity to the decoder. This can be called multiple times with partial entities.
|
|
@@ -45141,15 +45141,15 @@ class Kme {
|
|
|
45141
45141
|
*/
|
|
45142
45142
|
write(t, n) {
|
|
45143
45143
|
switch (this.state) {
|
|
45144
|
-
case
|
|
45145
|
-
return t.charCodeAt(n) === Or.NUM ? (this.state =
|
|
45146
|
-
case
|
|
45144
|
+
case Tr.EntityStart:
|
|
45145
|
+
return t.charCodeAt(n) === Or.NUM ? (this.state = Tr.NumericStart, this.consumed += 1, this.stateNumericStart(t, n + 1)) : (this.state = Tr.NamedEntity, this.stateNamedEntity(t, n));
|
|
45146
|
+
case Tr.NumericStart:
|
|
45147
45147
|
return this.stateNumericStart(t, n);
|
|
45148
|
-
case
|
|
45148
|
+
case Tr.NumericDecimal:
|
|
45149
45149
|
return this.stateNumericDecimal(t, n);
|
|
45150
|
-
case
|
|
45150
|
+
case Tr.NumericHex:
|
|
45151
45151
|
return this.stateNumericHex(t, n);
|
|
45152
|
-
case
|
|
45152
|
+
case Tr.NamedEntity:
|
|
45153
45153
|
return this.stateNamedEntity(t, n);
|
|
45154
45154
|
}
|
|
45155
45155
|
}
|
|
@@ -45163,7 +45163,7 @@ class Kme {
|
|
|
45163
45163
|
* @returns The number of characters that were consumed, or -1 if the entity is incomplete.
|
|
45164
45164
|
*/
|
|
45165
45165
|
stateNumericStart(t, n) {
|
|
45166
|
-
return n >= t.length ? -1 : (t.charCodeAt(n) | Hme) === Or.LOWER_X ? (this.state =
|
|
45166
|
+
return n >= t.length ? -1 : (t.charCodeAt(n) | Hme) === Or.LOWER_X ? (this.state = Tr.NumericHex, this.consumed += 1, this.stateNumericHex(t, n + 1)) : (this.state = Tr.NumericDecimal, this.stateNumericDecimal(t, n));
|
|
45167
45167
|
}
|
|
45168
45168
|
addToNumericResult(t, n, r, o) {
|
|
45169
45169
|
if (n !== r) {
|
|
@@ -45294,15 +45294,15 @@ class Kme {
|
|
|
45294
45294
|
end() {
|
|
45295
45295
|
var t;
|
|
45296
45296
|
switch (this.state) {
|
|
45297
|
-
case
|
|
45297
|
+
case Tr.NamedEntity:
|
|
45298
45298
|
return this.result !== 0 && (this.decodeMode !== Du.Attribute || this.result === this.treeIndex) ? this.emitNotTerminatedNamedEntity() : 0;
|
|
45299
|
-
case
|
|
45299
|
+
case Tr.NumericDecimal:
|
|
45300
45300
|
return this.emitNumericEntity(0, 2);
|
|
45301
|
-
case
|
|
45301
|
+
case Tr.NumericHex:
|
|
45302
45302
|
return this.emitNumericEntity(0, 3);
|
|
45303
|
-
case
|
|
45303
|
+
case Tr.NumericStart:
|
|
45304
45304
|
return (t = this.errors) === null || t === void 0 || t.absenceOfDigitsInNumericCharacterReference(this.consumed), 0;
|
|
45305
|
-
case
|
|
45305
|
+
case Tr.EntityStart:
|
|
45306
45306
|
return 0;
|
|
45307
45307
|
}
|
|
45308
45308
|
}
|
|
@@ -48147,7 +48147,7 @@ function NW() {
|
|
|
48147
48147
|
enumerable: !0,
|
|
48148
48148
|
value: !1
|
|
48149
48149
|
}
|
|
48150
|
-
})), J = null,
|
|
48150
|
+
})), J = null, ie = null;
|
|
48151
48151
|
const K = Object.seal(xD(null, {
|
|
48152
48152
|
tagCheck: {
|
|
48153
48153
|
writable: !0,
|
|
@@ -48162,7 +48162,7 @@ function NW() {
|
|
|
48162
48162
|
value: null
|
|
48163
48163
|
}
|
|
48164
48164
|
}));
|
|
48165
|
-
let Z = !0, T = !0, V = !1, G = !0, re = !1, M = !0,
|
|
48165
|
+
let Z = !0, T = !0, V = !1, G = !0, re = !1, M = !0, se = !1, oe = !1, Y = !1, Q = !1, le = !1, ge = !1, De = !0, ye = !1;
|
|
48166
48166
|
const pe = "user-content-";
|
|
48167
48167
|
let de = !0, fe = !1, I = {}, W = null;
|
|
48168
48168
|
const ee = an({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
|
|
@@ -48183,7 +48183,7 @@ function NW() {
|
|
|
48183
48183
|
let we = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
48184
48184
|
if (!(vt && vt === we)) {
|
|
48185
48185
|
if ((!we || typeof we != "object") && (we = {}), we = il(we), it = // eslint-disable-next-line unicorn/prefer-includes
|
|
48186
|
-
Je.indexOf(we.PARSER_MEDIA_TYPE) === -1 ? ht : we.PARSER_MEDIA_TYPE, Ve = it === "application/xhtml+xml" ? tF : Y2, z = vs(we, "ALLOWED_TAGS") ? an({}, we.ALLOWED_TAGS, Ve) : U, X = vs(we, "ALLOWED_ATTR") ? an({}, we.ALLOWED_ATTR, Ve) : ae, Pe = vs(we, "ALLOWED_NAMESPACES") ? an({}, we.ALLOWED_NAMESPACES, tF) : ut, xe = vs(we, "ADD_URI_SAFE_ATTR") ? an(il(ke), we.ADD_URI_SAFE_ATTR, Ve) : ke, ue = vs(we, "ADD_DATA_URI_TAGS") ? an(il(he), we.ADD_DATA_URI_TAGS, Ve) : he, W = vs(we, "FORBID_CONTENTS") ? an({}, we.FORBID_CONTENTS, Ve) : ee, J = vs(we, "FORBID_TAGS") ? an({}, we.FORBID_TAGS, Ve) : il({}),
|
|
48186
|
+
Je.indexOf(we.PARSER_MEDIA_TYPE) === -1 ? ht : we.PARSER_MEDIA_TYPE, Ve = it === "application/xhtml+xml" ? tF : Y2, z = vs(we, "ALLOWED_TAGS") ? an({}, we.ALLOWED_TAGS, Ve) : U, X = vs(we, "ALLOWED_ATTR") ? an({}, we.ALLOWED_ATTR, Ve) : ae, Pe = vs(we, "ALLOWED_NAMESPACES") ? an({}, we.ALLOWED_NAMESPACES, tF) : ut, xe = vs(we, "ADD_URI_SAFE_ATTR") ? an(il(ke), we.ADD_URI_SAFE_ATTR, Ve) : ke, ue = vs(we, "ADD_DATA_URI_TAGS") ? an(il(he), we.ADD_DATA_URI_TAGS, Ve) : he, W = vs(we, "FORBID_CONTENTS") ? an({}, we.FORBID_CONTENTS, Ve) : ee, J = vs(we, "FORBID_TAGS") ? an({}, we.FORBID_TAGS, Ve) : il({}), ie = vs(we, "FORBID_ATTR") ? an({}, we.FORBID_ATTR, Ve) : il({}), I = vs(we, "USE_PROFILES") ? we.USE_PROFILES : !1, Z = we.ALLOW_ARIA_ATTR !== !1, T = we.ALLOW_DATA_ATTR !== !1, V = we.ALLOW_UNKNOWN_PROTOCOLS || !1, G = we.ALLOW_SELF_CLOSE_IN_ATTR !== !1, re = we.SAFE_FOR_TEMPLATES || !1, M = we.SAFE_FOR_XML !== !1, se = we.WHOLE_DOCUMENT || !1, Q = we.RETURN_DOM || !1, le = we.RETURN_DOM_FRAGMENT || !1, ge = we.RETURN_TRUSTED_TYPE || !1, Y = we.FORCE_BODY || !1, De = we.SANITIZE_DOM !== !1, ye = we.SANITIZE_NAMED_PROPS || !1, de = we.KEEP_CONTENT !== !1, fe = we.IN_PLACE || !1, H = we.ALLOWED_URI_REGEXP || jW, Oe = we.NAMESPACE || Te, pt = we.MATHML_TEXT_INTEGRATION_POINTS || pt, ct = we.HTML_INTEGRATION_POINTS || ct, te = we.CUSTOM_ELEMENT_HANDLING || {}, we.CUSTOM_ELEMENT_HANDLING && Xt(we.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (te.tagNameCheck = we.CUSTOM_ELEMENT_HANDLING.tagNameCheck), we.CUSTOM_ELEMENT_HANDLING && Xt(we.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (te.attributeNameCheck = we.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), we.CUSTOM_ELEMENT_HANDLING && typeof we.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (te.allowCustomizedBuiltInElements = we.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), re && (T = !1), le && (Q = !0), I && (z = an({}, kj), X = [], I.html === !0 && (an(z, Dj), an(X, Ej)), I.svg === !0 && (an(z, rF), an(X, sF), an(X, $m)), I.svgFilters === !0 && (an(z, oF), an(X, sF), an(X, $m)), I.mathMl === !0 && (an(z, iF), an(X, Cj), an(X, $m))), we.ADD_TAGS && (typeof we.ADD_TAGS == "function" ? K.tagCheck = we.ADD_TAGS : (z === U && (z = il(z)), an(z, we.ADD_TAGS, Ve))), we.ADD_ATTR && (typeof we.ADD_ATTR == "function" ? K.attributeCheck = we.ADD_ATTR : (X === ae && (X = il(X)), an(X, we.ADD_ATTR, Ve))), we.ADD_URI_SAFE_ATTR && an(xe, we.ADD_URI_SAFE_ATTR, Ve), we.FORBID_CONTENTS && (W === ee && (W = il(W)), an(W, we.FORBID_CONTENTS, Ve)), de && (z["#text"] = !0), se && an(z, ["html", "head", "body"]), z.table && (an(z, ["tbody"]), delete J.tbody), we.TRUSTED_TYPES_POLICY) {
|
|
48187
48187
|
if (typeof we.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
48188
48188
|
throw Rf('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
48189
48189
|
if (typeof we.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
@@ -48256,7 +48256,7 @@ function NW() {
|
|
|
48256
48256
|
}
|
|
48257
48257
|
}
|
|
48258
48258
|
const dn = Re.body || Re.documentElement;
|
|
48259
|
-
return we && gt && dn.insertBefore(n.createTextNode(gt), dn.childNodes[0] || null), Oe === Te ? A.call(Re,
|
|
48259
|
+
return we && gt && dn.insertBefore(n.createTextNode(gt), dn.childNodes[0] || null), Oe === Te ? A.call(Re, se ? "html" : "body")[0] : se ? Re.documentElement : dn;
|
|
48260
48260
|
}, me = function(we) {
|
|
48261
48261
|
return k.call(
|
|
48262
48262
|
we.ownerDocument || we,
|
|
@@ -48292,8 +48292,8 @@ function NW() {
|
|
|
48292
48292
|
const cn = F(we) || we.parentNode, dn = y(we) || we.childNodes;
|
|
48293
48293
|
if (dn && cn) {
|
|
48294
48294
|
const jn = dn.length;
|
|
48295
|
-
for (let
|
|
48296
|
-
const qo = g(dn[
|
|
48295
|
+
for (let Sr = jn - 1; Sr >= 0; --Sr) {
|
|
48296
|
+
const qo = g(dn[Sr], !0);
|
|
48297
48297
|
qo.__removalCount = (we.__removalCount || 0) + 1, cn.insertBefore(qo, b(we));
|
|
48298
48298
|
}
|
|
48299
48299
|
}
|
|
@@ -48308,10 +48308,10 @@ function NW() {
|
|
|
48308
48308
|
}, jt = function(we, Re, gt) {
|
|
48309
48309
|
if (De && (Re === "id" || Re === "name") && (gt in n || gt in Kt))
|
|
48310
48310
|
return !1;
|
|
48311
|
-
if (!(T && !
|
|
48311
|
+
if (!(T && !ie[Re] && _o(N, Re))) {
|
|
48312
48312
|
if (!(Z && _o(j, Re))) {
|
|
48313
48313
|
if (!(K.attributeCheck instanceof Function && K.attributeCheck(Re, we))) {
|
|
48314
|
-
if (!X[Re] ||
|
|
48314
|
+
if (!X[Re] || ie[Re]) {
|
|
48315
48315
|
if (
|
|
48316
48316
|
// First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
|
48317
48317
|
// b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
@@ -48354,7 +48354,7 @@ function NW() {
|
|
|
48354
48354
|
for (; cn--; ) {
|
|
48355
48355
|
const dn = Re[cn], {
|
|
48356
48356
|
name: jn,
|
|
48357
|
-
namespaceURI:
|
|
48357
|
+
namespaceURI: Sr,
|
|
48358
48358
|
value: qo
|
|
48359
48359
|
} = dn, Ql = Ve(jn), _f = qo;
|
|
48360
48360
|
let yt = jn === "value" ? _f : mye(_f);
|
|
@@ -48384,7 +48384,7 @@ function NW() {
|
|
|
48384
48384
|
Ft(jn, we);
|
|
48385
48385
|
continue;
|
|
48386
48386
|
}
|
|
48387
|
-
if (v && typeof h == "object" && typeof h.getAttributeType == "function" && !
|
|
48387
|
+
if (v && typeof h == "object" && typeof h.getAttributeType == "function" && !Sr)
|
|
48388
48388
|
switch (h.getAttributeType(eu, Ql)) {
|
|
48389
48389
|
case "TrustedHTML": {
|
|
48390
48390
|
yt = v.createHTML(yt);
|
|
@@ -48397,7 +48397,7 @@ function NW() {
|
|
|
48397
48397
|
}
|
|
48398
48398
|
if (yt !== _f)
|
|
48399
48399
|
try {
|
|
48400
|
-
|
|
48400
|
+
Sr ? we.setAttributeNS(Sr, jn, yt) : we.setAttribute(jn, yt), Be(we) ? dt(we) : wj(t.removed);
|
|
48401
48401
|
} catch {
|
|
48402
48402
|
Ft(jn, we);
|
|
48403
48403
|
}
|
|
@@ -48420,7 +48420,7 @@ function NW() {
|
|
|
48420
48420
|
throw Rf("toString is not a function");
|
|
48421
48421
|
if (!t.isSupported)
|
|
48422
48422
|
return tt;
|
|
48423
|
-
if (
|
|
48423
|
+
if (oe || Et(we), t.removed = [], typeof tt == "string" && (fe = !1), fe) {
|
|
48424
48424
|
if (tt.nodeName) {
|
|
48425
48425
|
const qo = Ve(tt.nodeName);
|
|
48426
48426
|
if (!z[qo] || J[qo])
|
|
@@ -48429,7 +48429,7 @@ function NW() {
|
|
|
48429
48429
|
} else if (tt instanceof a)
|
|
48430
48430
|
Re = Rt("<!---->"), gt = Re.ownerDocument.importNode(tt, !0), gt.nodeType === Uf.element && gt.nodeName === "BODY" || gt.nodeName === "HTML" ? Re = gt : Re.appendChild(gt);
|
|
48431
48431
|
else {
|
|
48432
|
-
if (!Q && !re && !
|
|
48432
|
+
if (!Q && !re && !se && // eslint-disable-next-line unicorn/prefer-includes
|
|
48433
48433
|
tt.indexOf("<") === -1)
|
|
48434
48434
|
return v && ge ? v.createHTML(tt) : tt;
|
|
48435
48435
|
if (Re = Rt(tt), !Re)
|
|
@@ -48449,16 +48449,16 @@ function NW() {
|
|
|
48449
48449
|
dn = Re;
|
|
48450
48450
|
return (X.shadowroot || X.shadowrootmode) && (dn = O.call(r, dn, !0)), dn;
|
|
48451
48451
|
}
|
|
48452
|
-
let
|
|
48453
|
-
return
|
|
48454
|
-
` +
|
|
48455
|
-
|
|
48456
|
-
}), v && ge ? v.createHTML(
|
|
48452
|
+
let Sr = se ? Re.outerHTML : Re.innerHTML;
|
|
48453
|
+
return se && z["!doctype"] && Re.ownerDocument && Re.ownerDocument.doctype && Re.ownerDocument.doctype.name && _o(BW, Re.ownerDocument.doctype.name) && (Sr = "<!DOCTYPE " + Re.ownerDocument.doctype.name + `>
|
|
48454
|
+
` + Sr), re && zm([_, B, C], (qo) => {
|
|
48455
|
+
Sr = If(Sr, qo, " ");
|
|
48456
|
+
}), v && ge ? v.createHTML(Sr) : Sr;
|
|
48457
48457
|
}, t.setConfig = function() {
|
|
48458
48458
|
let tt = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
48459
|
-
Et(tt),
|
|
48459
|
+
Et(tt), oe = !0;
|
|
48460
48460
|
}, t.clearConfig = function() {
|
|
48461
|
-
vt = null,
|
|
48461
|
+
vt = null, oe = !1;
|
|
48462
48462
|
}, t.isValidAttribute = function(tt, we, Re) {
|
|
48463
48463
|
vt || Et({});
|
|
48464
48464
|
const gt = Ve(tt), cn = Ve(we);
|
|
@@ -49886,7 +49886,7 @@ var Sxe = sc.ArrayBuffer, cF = sc.FileReader, Nc = sc.URL || sc.webkitURL, Txe =
|
|
|
49886
49886
|
E = Math.floor(Ij(Math.min(Math.max(E, w), F))), A = Math.floor(Ij(Math.min(Math.max(A, D), v)));
|
|
49887
49887
|
var $ = -E / 2, H = -A / 2, z = E, U = A, X = [];
|
|
49888
49888
|
if (y) {
|
|
49889
|
-
var ae = 0, te = 0, J = o,
|
|
49889
|
+
var ae = 0, te = 0, J = o, ie = i, K = Pf({
|
|
49890
49890
|
aspectRatio: k,
|
|
49891
49891
|
width: o,
|
|
49892
49892
|
height: i
|
|
@@ -49894,7 +49894,7 @@ var Sxe = sc.ArrayBuffer, cF = sc.FileReader, Nc = sc.URL || sc.webkitURL, Txe =
|
|
|
49894
49894
|
contain: "cover",
|
|
49895
49895
|
cover: "contain"
|
|
49896
49896
|
}[f.resize]);
|
|
49897
|
-
J = K.width,
|
|
49897
|
+
J = K.width, ie = K.height, ae = (o - J) / 2, te = (i - ie) / 2, X.push(ae, te, J, ie);
|
|
49898
49898
|
}
|
|
49899
49899
|
if (X.push($, H, z, U), b) {
|
|
49900
49900
|
var Z = [A, E];
|
|
@@ -49907,7 +49907,7 @@ var Sxe = sc.ArrayBuffer, cF = sc.FileReader, Nc = sc.URL || sc.webkitURL, Txe =
|
|
|
49907
49907
|
if (V && (T = "#fff"), m.fillStyle = T, m.fillRect(0, 0, E, A), f.beforeDraw && f.beforeDraw.call(this, m, g), !this.aborted && (m.save(), m.translate(E / 2, A / 2), m.rotate(a * Math.PI / 180), m.scale(u, d), m.drawImage.apply(m, [h].concat(X)), m.restore(), f.drew && f.drew.call(this, m, g), !this.aborted)) {
|
|
49908
49908
|
var G = function(M) {
|
|
49909
49909
|
if (!r.aborted) {
|
|
49910
|
-
var
|
|
49910
|
+
var se = function(le) {
|
|
49911
49911
|
return r.done({
|
|
49912
49912
|
naturalWidth: o,
|
|
49913
49913
|
naturalHeight: i,
|
|
@@ -49915,18 +49915,18 @@ var Sxe = sc.ArrayBuffer, cF = sc.FileReader, Nc = sc.URL || sc.webkitURL, Txe =
|
|
|
49915
49915
|
});
|
|
49916
49916
|
};
|
|
49917
49917
|
if (M && V && f.retainExif && r.exif && r.exif.length > 0) {
|
|
49918
|
-
var
|
|
49919
|
-
return
|
|
49918
|
+
var oe = function(le) {
|
|
49919
|
+
return se(Nj(Oj(Axe(le, r.exif), f.mimeType)));
|
|
49920
49920
|
};
|
|
49921
49921
|
if (M.arrayBuffer)
|
|
49922
|
-
M.arrayBuffer().then(
|
|
49922
|
+
M.arrayBuffer().then(oe).catch(function() {
|
|
49923
49923
|
r.fail(new Error("Failed to read the compressed image with Blob.arrayBuffer()."));
|
|
49924
49924
|
});
|
|
49925
49925
|
else {
|
|
49926
49926
|
var Y = new cF();
|
|
49927
49927
|
r.reader = Y, Y.onload = function(Q) {
|
|
49928
49928
|
var le = Q.target;
|
|
49929
|
-
|
|
49929
|
+
oe(le.result);
|
|
49930
49930
|
}, Y.onabort = function() {
|
|
49931
49931
|
r.fail(new Error("Aborted to read the compressed image with FileReader."));
|
|
49932
49932
|
}, Y.onerror = function() {
|
|
@@ -49936,7 +49936,7 @@ var Sxe = sc.ArrayBuffer, cF = sc.FileReader, Nc = sc.URL || sc.webkitURL, Txe =
|
|
|
49936
49936
|
}, Y.readAsArrayBuffer(M);
|
|
49937
49937
|
}
|
|
49938
49938
|
} else
|
|
49939
|
-
|
|
49939
|
+
se(M);
|
|
49940
49940
|
}
|
|
49941
49941
|
};
|
|
49942
49942
|
g.toBlob ? g.toBlob(G, f.mimeType, f.quality) : G(Nj(g.toDataURL(f.mimeType, f.quality)));
|
|
@@ -52676,7 +52676,7 @@ const qp = (e) => {
|
|
|
52676
52676
|
name: "Multiple"
|
|
52677
52677
|
};
|
|
52678
52678
|
return /* @__PURE__ */ x.jsx(
|
|
52679
|
-
|
|
52679
|
+
Fr,
|
|
52680
52680
|
{
|
|
52681
52681
|
sideOffset: 15,
|
|
52682
52682
|
anchorTrigger: /* @__PURE__ */ x.jsxs(
|
|
@@ -52936,7 +52936,7 @@ const qp = (e) => {
|
|
|
52936
52936
|
(T, V) => new Date(T.createdAt || /* @__PURE__ */ new Date()).getTime() - new Date(V.createdAt || /* @__PURE__ */ new Date()).getTime()
|
|
52937
52937
|
);
|
|
52938
52938
|
!g && ae.length > 3 && (te = te.slice(-2));
|
|
52939
|
-
const J = k && !R ? ae.length > 0 : ae.length > 3 && !g,
|
|
52939
|
+
const J = k && !R ? ae.length > 0 : ae.length > 3 && !g, ie = !!a && R && !g, K = J || H && ae.length > 3 && g || !!a && R && g, Z = g ? "Hide replies" : `${ae.length - z} ${z > 0 ? "more " : ""}replies in this thread`;
|
|
52940
52940
|
return {
|
|
52941
52941
|
commentsContainerRef: f,
|
|
52942
52942
|
displayedComment: X,
|
|
@@ -52958,7 +52958,7 @@ const qp = (e) => {
|
|
|
52958
52958
|
replyToggleLabel: Z,
|
|
52959
52959
|
shouldShowReplyThread: H,
|
|
52960
52960
|
shouldShowReplyToggle: K,
|
|
52961
|
-
shouldShowResolvedMobileReplyCount:
|
|
52961
|
+
shouldShowResolvedMobileReplyCount: ie,
|
|
52962
52962
|
showAllReplies: g,
|
|
52963
52963
|
visibleReplies: ae
|
|
52964
52964
|
};
|
|
@@ -53058,7 +53058,7 @@ const qp = (e) => {
|
|
|
53058
53058
|
className: "opacity-0 group-hover:opacity-100",
|
|
53059
53059
|
onClick: (v) => v.stopPropagation(),
|
|
53060
53060
|
children: /* @__PURE__ */ x.jsx(
|
|
53061
|
-
|
|
53061
|
+
Fr,
|
|
53062
53062
|
{
|
|
53063
53063
|
align: "end",
|
|
53064
53064
|
sideOffset: 4,
|
|
@@ -53296,7 +53296,7 @@ const qp = (e) => {
|
|
|
53296
53296
|
}
|
|
53297
53297
|
),
|
|
53298
53298
|
u && /* @__PURE__ */ x.jsx("div", { onClick: (ae) => ae.stopPropagation(), children: /* @__PURE__ */ x.jsx(
|
|
53299
|
-
|
|
53299
|
+
Fr,
|
|
53300
53300
|
{
|
|
53301
53301
|
align: "end",
|
|
53302
53302
|
sideOffset: 4,
|
|
@@ -53419,8 +53419,8 @@ const qp = (e) => {
|
|
|
53419
53419
|
}
|
|
53420
53420
|
);
|
|
53421
53421
|
}, a3e = () => /* @__PURE__ */ x.jsxs("div", { className: "flex justify-start items-center gap-2", children: [
|
|
53422
|
-
/* @__PURE__ */ x.jsx(
|
|
53423
|
-
/* @__PURE__ */ x.jsx(
|
|
53422
|
+
/* @__PURE__ */ x.jsx(wr, { className: "w-6 h-6 rounded-full" }),
|
|
53423
|
+
/* @__PURE__ */ x.jsx(wr, { className: "w-32 h-4 rounded" })
|
|
53424
53424
|
] }), pq = ({
|
|
53425
53425
|
activeCommentId: e,
|
|
53426
53426
|
isBubbleMenu: t = !1,
|
|
@@ -53482,7 +53482,7 @@ const qp = (e) => {
|
|
|
53482
53482
|
}, [e, b, m, F]), _e(() => {
|
|
53483
53483
|
!w || !e || w.commentId === e && (i(""), v());
|
|
53484
53484
|
}, [e, v, w]);
|
|
53485
|
-
const
|
|
53485
|
+
const ie = () => /* @__PURE__ */ x.jsxs("div", { className: "p-3 flex flex-col gap-2 color-bg-secondary rounded-md", children: [
|
|
53486
53486
|
/* @__PURE__ */ x.jsx(
|
|
53487
53487
|
Ku,
|
|
53488
53488
|
{
|
|
@@ -53533,7 +53533,7 @@ const qp = (e) => {
|
|
|
53533
53533
|
position: "top",
|
|
53534
53534
|
children: [
|
|
53535
53535
|
/* @__PURE__ */ x.jsx(
|
|
53536
|
-
|
|
53536
|
+
Fr,
|
|
53537
53537
|
{
|
|
53538
53538
|
align: "end",
|
|
53539
53539
|
sideOffset: 4,
|
|
@@ -53662,7 +53662,7 @@ const qp = (e) => {
|
|
|
53662
53662
|
children: T
|
|
53663
53663
|
}
|
|
53664
53664
|
);
|
|
53665
|
-
return t ? f ? Z(K()) : null : f ? null : Z(
|
|
53665
|
+
return t ? f ? Z(K()) : null : f ? null : Z(ie());
|
|
53666
53666
|
}, l3e = (e) => {
|
|
53667
53667
|
var r;
|
|
53668
53668
|
const t = window.getSelection(), n = (r = e.view) == null ? void 0 : r.dom;
|
|
@@ -53949,7 +53949,7 @@ const qp = (e) => {
|
|
|
53949
53949
|
classNames: "disabled:!bg-transparent"
|
|
53950
53950
|
}
|
|
53951
53951
|
) : /* @__PURE__ */ x.jsx(
|
|
53952
|
-
|
|
53952
|
+
Fr,
|
|
53953
53953
|
{
|
|
53954
53954
|
side: "bottom",
|
|
53955
53955
|
sideOffset: 15,
|
|
@@ -53976,7 +53976,7 @@ const qp = (e) => {
|
|
|
53976
53976
|
},
|
|
53977
53977
|
"Comment"
|
|
53978
53978
|
) : U ? /* @__PURE__ */ x.jsx(St.Fragment, { children: /* @__PURE__ */ x.jsx(
|
|
53979
|
-
|
|
53979
|
+
Fr,
|
|
53980
53980
|
{
|
|
53981
53981
|
sideOffset: 15,
|
|
53982
53982
|
anchorTrigger: /* @__PURE__ */ x.jsx(
|
|
@@ -54004,7 +54004,7 @@ const qp = (e) => {
|
|
|
54004
54004
|
/* @__PURE__ */ x.jsx(r3e, { editor: t, elementRef: w }),
|
|
54005
54005
|
/* @__PURE__ */ x.jsx("div", { className: "w-[1px] h-4 vertical-divider" }),
|
|
54006
54006
|
/* @__PURE__ */ x.jsx(
|
|
54007
|
-
|
|
54007
|
+
Fr,
|
|
54008
54008
|
{
|
|
54009
54009
|
sideOffset: 8,
|
|
54010
54010
|
anchorTrigger: /* @__PURE__ */ x.jsxs(
|
|
@@ -54036,7 +54036,7 @@ const qp = (e) => {
|
|
|
54036
54036
|
et.FONT_SIZE
|
|
54037
54037
|
),
|
|
54038
54038
|
/* @__PURE__ */ x.jsx(
|
|
54039
|
-
|
|
54039
|
+
Fr,
|
|
54040
54040
|
{
|
|
54041
54041
|
sideOffset: 15,
|
|
54042
54042
|
anchorTrigger: /* @__PURE__ */ x.jsx(
|
|
@@ -54074,7 +54074,7 @@ const qp = (e) => {
|
|
|
54074
54074
|
ae === 3 && /* @__PURE__ */ x.jsx("div", { className: "w-[1px] h-4 vertical-divider ml-2" })
|
|
54075
54075
|
] }, ae) : X.name === "Alignment" ? /* @__PURE__ */ x.jsxs(St.Fragment, { children: [
|
|
54076
54076
|
/* @__PURE__ */ x.jsx(
|
|
54077
|
-
|
|
54077
|
+
Fr,
|
|
54078
54078
|
{
|
|
54079
54079
|
sideOffset: 15,
|
|
54080
54080
|
anchorTrigger: /* @__PURE__ */ x.jsx(
|
|
@@ -54097,7 +54097,7 @@ const qp = (e) => {
|
|
|
54097
54097
|
et.TEXT_COLOR
|
|
54098
54098
|
),
|
|
54099
54099
|
/* @__PURE__ */ x.jsx(
|
|
54100
|
-
|
|
54100
|
+
Fr,
|
|
54101
54101
|
{
|
|
54102
54102
|
sideOffset: 15,
|
|
54103
54103
|
anchorTrigger: /* @__PURE__ */ x.jsx(
|
|
@@ -54121,7 +54121,7 @@ const qp = (e) => {
|
|
|
54121
54121
|
),
|
|
54122
54122
|
/* @__PURE__ */ x.jsx("div", { className: "w-[1px] h-4 vertical-divider" }),
|
|
54123
54123
|
/* @__PURE__ */ x.jsx(
|
|
54124
|
-
|
|
54124
|
+
Fr,
|
|
54125
54125
|
{
|
|
54126
54126
|
sideOffset: 15,
|
|
54127
54127
|
anchorTrigger: /* @__PURE__ */ x.jsx(
|
|
@@ -54139,7 +54139,7 @@ const qp = (e) => {
|
|
|
54139
54139
|
X.name
|
|
54140
54140
|
)
|
|
54141
54141
|
] }, ae) : X.name === "Link" || X.name === "Scripts" ? /* @__PURE__ */ x.jsx(St.Fragment, { children: /* @__PURE__ */ x.jsx(
|
|
54142
|
-
|
|
54142
|
+
Fr,
|
|
54143
54143
|
{
|
|
54144
54144
|
sideOffset: 15,
|
|
54145
54145
|
anchorTrigger: /* @__PURE__ */ x.jsx(
|
|
@@ -54170,7 +54170,7 @@ const qp = (e) => {
|
|
|
54170
54170
|
},
|
|
54171
54171
|
"Comment"
|
|
54172
54172
|
) : /* @__PURE__ */ x.jsx(
|
|
54173
|
-
|
|
54173
|
+
Fr,
|
|
54174
54174
|
{
|
|
54175
54175
|
side: "bottom",
|
|
54176
54176
|
sideOffset: 15,
|
|
@@ -54979,9 +54979,9 @@ var S3e = /* @__PURE__ */ B0(Id, 9, 0), T3e = /* @__PURE__ */ B0(iy, 5, 0), wq =
|
|
|
54979
54979
|
if (te > L) {
|
|
54980
54980
|
if (L = te, $ = z, te > U)
|
|
54981
54981
|
break;
|
|
54982
|
-
for (var J = Math.min(z, te - 2),
|
|
54982
|
+
for (var J = Math.min(z, te - 2), ie = 0, R = 0; R < J; ++R) {
|
|
54983
54983
|
var K = A - z + R & 32767, Z = g[K], T = K - Z & 32767;
|
|
54984
|
-
T >
|
|
54984
|
+
T > ie && (ie = T, N = K);
|
|
54985
54985
|
}
|
|
54986
54986
|
}
|
|
54987
54987
|
}
|
|
@@ -57557,10 +57557,10 @@ ${N.getHTML()}`
|
|
|
57557
57557
|
isLoading: t,
|
|
57558
57558
|
renderContent: n
|
|
57559
57559
|
}) => t ? Bo(
|
|
57560
|
-
/* @__PURE__ */ x.jsx(
|
|
57560
|
+
/* @__PURE__ */ x.jsx(wr, { className: "w-[36px] h-[36px] rounded-sm" }),
|
|
57561
57561
|
e.title + "skeleton"
|
|
57562
57562
|
) : /* @__PURE__ */ x.jsx(
|
|
57563
|
-
|
|
57563
|
+
Fr,
|
|
57564
57564
|
{
|
|
57565
57565
|
sideOffset: 8,
|
|
57566
57566
|
anchorTrigger: /* @__PURE__ */ x.jsx(hn, { text: e.title, children: /* @__PURE__ */ x.jsx(on, { icon: e.icon, variant: "ghost", size: "sm" }) }),
|
|
@@ -57623,10 +57623,10 @@ ${N.getHTML()}`
|
|
|
57623
57623
|
fetchV1ImageFn: m
|
|
57624
57624
|
}), C = fq(e), N = e ? C.currentSize : void 0, j = e ? C.onSetFontSize : () => {
|
|
57625
57625
|
}, R = e ? C.currentLineHeight : void 0, L = e ? C.onSetLineHeight : () => {
|
|
57626
|
-
}, $ = or("(max-width: 1560px)"), H = or("(max-width: 1370px)"), z = or("(max-width: 1270px)"), U = or("(max-width: 1160px)"), X = or("(max-width: 1030px)"), [ae, te] = Me(!1), [J,
|
|
57626
|
+
}, $ = or("(max-width: 1560px)"), H = or("(max-width: 1370px)"), z = or("(max-width: 1270px)"), U = or("(max-width: 1160px)"), X = or("(max-width: 1030px)"), [ae, te] = Me(!1), [J, ie] = Me("Default"), K = eq.find((V) => V.value === J);
|
|
57627
57627
|
_e(() => {
|
|
57628
57628
|
if (!e) return;
|
|
57629
|
-
const V = () =>
|
|
57629
|
+
const V = () => ie(t4e(e));
|
|
57630
57630
|
return e.on("selectionUpdate", V), e.on("transaction", ({ transaction: G }) => {
|
|
57631
57631
|
(G.selectionSet || G.storedMarksSet || G.docChanged) && V();
|
|
57632
57632
|
}), V(), () => {
|
|
@@ -57690,7 +57690,7 @@ ${N.getHTML()}`
|
|
|
57690
57690
|
return /* @__PURE__ */ x.jsx(Yh, { mode: "wait", children: /* @__PURE__ */ x.jsxs("div", { className: "w-full bg-transparent py-2 px-4 items-center h-9 flex justify-between relative", children: [
|
|
57691
57691
|
/* @__PURE__ */ x.jsxs("div", { className: "flex h-9 items-center gap-1 justify-center", children: [
|
|
57692
57692
|
f ? Bo(
|
|
57693
|
-
/* @__PURE__ */ x.jsx(
|
|
57693
|
+
/* @__PURE__ */ x.jsx(wr, { className: "w-[36px] h-[36px] rounded-sm" }),
|
|
57694
57694
|
"markdown-transition"
|
|
57695
57695
|
) : Yo(
|
|
57696
57696
|
/* @__PURE__ */ x.jsx(
|
|
@@ -57712,7 +57712,7 @@ ${N.getHTML()}`
|
|
|
57712
57712
|
/* @__PURE__ */ x.jsx("div", { className: "w-[1px] h-4 vertical-divider mx-1" }),
|
|
57713
57713
|
/* @__PURE__ */ x.jsx("div", { className: "flex gap-1 justify-center items-center", children: A.map((V, G) => V ? /* @__PURE__ */ x.jsx(hn, { text: V.title, children: f ? Bo(
|
|
57714
57714
|
/* @__PURE__ */ x.jsx(
|
|
57715
|
-
|
|
57715
|
+
wr,
|
|
57716
57716
|
{
|
|
57717
57717
|
className: "w-[30px] h-[30px] rounded-sm"
|
|
57718
57718
|
}
|
|
@@ -57739,7 +57739,7 @@ ${N.getHTML()}`
|
|
|
57739
57739
|
G
|
|
57740
57740
|
)) }),
|
|
57741
57741
|
f ? Bo(
|
|
57742
|
-
/* @__PURE__ */ x.jsx(
|
|
57742
|
+
/* @__PURE__ */ x.jsx(wr, { className: "w-[80px] h-[36px] rounded-sm" }),
|
|
57743
57743
|
"zoom-skeleton-transition"
|
|
57744
57744
|
) : Yo(
|
|
57745
57745
|
/* @__PURE__ */ x.jsx(
|
|
@@ -57781,11 +57781,11 @@ ${N.getHTML()}`
|
|
|
57781
57781
|
),
|
|
57782
57782
|
/* @__PURE__ */ x.jsx("div", { className: "w-[1px] h-4 vertical-divider mx-1" }),
|
|
57783
57783
|
f ? Bo(
|
|
57784
|
-
/* @__PURE__ */ x.jsx(
|
|
57784
|
+
/* @__PURE__ */ x.jsx(wr, { className: "w-[96px] h-[36px] rounded-sm" }),
|
|
57785
57785
|
"font-family-skeleton"
|
|
57786
57786
|
) : Yo(
|
|
57787
57787
|
/* @__PURE__ */ x.jsx(
|
|
57788
|
-
|
|
57788
|
+
Fr,
|
|
57789
57789
|
{
|
|
57790
57790
|
sideOffset: 8,
|
|
57791
57791
|
anchorTrigger: /* @__PURE__ */ x.jsxs(
|
|
@@ -57830,11 +57830,11 @@ ${N.getHTML()}`
|
|
|
57830
57830
|
),
|
|
57831
57831
|
/* @__PURE__ */ x.jsx("div", { className: "w-[1px] h-4 vertical-divider mx-1" }),
|
|
57832
57832
|
f ? Bo(
|
|
57833
|
-
/* @__PURE__ */ x.jsx(
|
|
57833
|
+
/* @__PURE__ */ x.jsx(wr, { className: "w-[112px] h-[36px] rounded-sm" }),
|
|
57834
57834
|
"heading-skeleton"
|
|
57835
57835
|
) : Yo(
|
|
57836
57836
|
/* @__PURE__ */ x.jsx(
|
|
57837
|
-
|
|
57837
|
+
Fr,
|
|
57838
57838
|
{
|
|
57839
57839
|
sideOffset: 8,
|
|
57840
57840
|
anchorTrigger: /* @__PURE__ */ x.jsxs(
|
|
@@ -57868,11 +57868,11 @@ ${N.getHTML()}`
|
|
|
57868
57868
|
),
|
|
57869
57869
|
/* @__PURE__ */ x.jsx("div", { className: "w-[1px] h-4 vertical-divider mx-1" }),
|
|
57870
57870
|
f ? Bo(
|
|
57871
|
-
/* @__PURE__ */ x.jsx(
|
|
57871
|
+
/* @__PURE__ */ x.jsx(wr, { className: "w-[112px] h-[36px] rounded-sm" }),
|
|
57872
57872
|
"font-size-skeleton"
|
|
57873
57873
|
) : Yo(
|
|
57874
57874
|
/* @__PURE__ */ x.jsx(
|
|
57875
|
-
|
|
57875
|
+
Fr,
|
|
57876
57876
|
{
|
|
57877
57877
|
sideOffset: 8,
|
|
57878
57878
|
anchorTrigger: /* @__PURE__ */ x.jsxs(
|
|
@@ -57926,13 +57926,13 @@ ${N.getHTML()}`
|
|
|
57926
57926
|
break;
|
|
57927
57927
|
}
|
|
57928
57928
|
return V ? V.group === "More" && (V.notVisible ?? 0) >= re ? E.findIndex(
|
|
57929
|
-
(
|
|
57929
|
+
(oe) => (oe == null ? void 0 : oe.group) === "More" && ((oe == null ? void 0 : oe.notVisible) ?? 0) >= re
|
|
57930
57930
|
) === G ? f ? Bo(
|
|
57931
|
-
/* @__PURE__ */ x.jsx(
|
|
57931
|
+
/* @__PURE__ */ x.jsx(wr, { className: "w-[36px] h-[36px] rounded-sm" }),
|
|
57932
57932
|
V.title + "loader"
|
|
57933
57933
|
) : Yo(
|
|
57934
57934
|
/* @__PURE__ */ x.jsx(
|
|
57935
|
-
|
|
57935
|
+
Fr,
|
|
57936
57936
|
{
|
|
57937
57937
|
align: "end",
|
|
57938
57938
|
sideOffset: 8,
|
|
@@ -57946,27 +57946,27 @@ ${N.getHTML()}`
|
|
|
57946
57946
|
}
|
|
57947
57947
|
) }),
|
|
57948
57948
|
content: /* @__PURE__ */ x.jsx("div", { className: "flex p-1 gap-1", children: E.filter(
|
|
57949
|
-
(
|
|
57950
|
-
).map((
|
|
57951
|
-
if (
|
|
57952
|
-
return
|
|
57949
|
+
(oe) => (oe == null ? void 0 : oe.group) === "More" && ((oe == null ? void 0 : oe.notVisible) ?? 0) >= re
|
|
57950
|
+
).map((oe) => {
|
|
57951
|
+
if (oe !== null)
|
|
57952
|
+
return oe.title === "Highlight" || oe.title === "Text Color" || oe.title === "Alignment" || oe.title === "Line Height" || oe.title === "Link" ? /* @__PURE__ */ x.jsx(
|
|
57953
57953
|
rB,
|
|
57954
57954
|
{
|
|
57955
57955
|
isLoading: f,
|
|
57956
57956
|
renderContent: Z,
|
|
57957
|
-
tool:
|
|
57957
|
+
tool: oe
|
|
57958
57958
|
},
|
|
57959
|
-
|
|
57959
|
+
oe.title
|
|
57960
57960
|
) : /* @__PURE__ */ x.jsx(
|
|
57961
57961
|
tr,
|
|
57962
57962
|
{
|
|
57963
57963
|
size: "sm",
|
|
57964
|
-
icon:
|
|
57965
|
-
onClick:
|
|
57964
|
+
icon: oe.icon,
|
|
57965
|
+
onClick: oe.onClick || (() => {
|
|
57966
57966
|
}),
|
|
57967
|
-
isActive:
|
|
57967
|
+
isActive: oe.isActive || !1
|
|
57968
57968
|
},
|
|
57969
|
-
|
|
57969
|
+
oe.title
|
|
57970
57970
|
);
|
|
57971
57971
|
}) })
|
|
57972
57972
|
},
|
|
@@ -57982,7 +57982,7 @@ ${N.getHTML()}`
|
|
|
57982
57982
|
},
|
|
57983
57983
|
V.title
|
|
57984
57984
|
) : f ? Bo(
|
|
57985
|
-
/* @__PURE__ */ x.jsx(
|
|
57985
|
+
/* @__PURE__ */ x.jsx(wr, { className: "w-[36px] h-[36px] rounded-sm" }),
|
|
57986
57986
|
V.title + "skeleton"
|
|
57987
57987
|
) : Yo(
|
|
57988
57988
|
/* @__PURE__ */ x.jsx(hn, { text: V.title, children: /* @__PURE__ */ x.jsx(
|
|
@@ -58017,7 +58017,7 @@ ${N.getHTML()}`
|
|
|
58017
58017
|
}
|
|
58018
58018
|
) }),
|
|
58019
58019
|
f ? Bo(
|
|
58020
|
-
/* @__PURE__ */ x.jsx(
|
|
58020
|
+
/* @__PURE__ */ x.jsx(wr, { className: "w-[36px] h-[36px] rounded-sm" }),
|
|
58021
58021
|
"chevronUp-skeleton"
|
|
58022
58022
|
) : Yo(
|
|
58023
58023
|
/* @__PURE__ */ x.jsx(
|
|
@@ -62289,7 +62289,7 @@ const r6e = w4e.extend({
|
|
|
62289
62289
|
height: a,
|
|
62290
62290
|
ref: u
|
|
62291
62291
|
}
|
|
62292
|
-
) : /* @__PURE__ */ x.jsx(
|
|
62292
|
+
) : /* @__PURE__ */ x.jsx(wr, { className: "w-[500px] h-[300px] rounded-lg" });
|
|
62293
62293
|
}
|
|
62294
62294
|
), l6e = lr(
|
|
62295
62295
|
({
|
|
@@ -62335,7 +62335,7 @@ const r6e = w4e.extend({
|
|
|
62335
62335
|
height: s,
|
|
62336
62336
|
ref: d
|
|
62337
62337
|
}
|
|
62338
|
-
) : /* @__PURE__ */ x.jsx(
|
|
62338
|
+
) : /* @__PURE__ */ x.jsx(wr, { className: "w-[500px] h-[300px] rounded-lg" });
|
|
62339
62339
|
}
|
|
62340
62340
|
), NV = (e, t) => ({
|
|
62341
62341
|
node: n,
|
|
@@ -62407,7 +62407,7 @@ const r6e = w4e.extend({
|
|
|
62407
62407
|
}, L = () => {
|
|
62408
62408
|
F.current = -1, document.removeEventListener("mousemove", j), document.removeEventListener("mouseup", L), document.removeEventListener("touchmove", j), document.removeEventListener("touchend", L), w(!1);
|
|
62409
62409
|
}, $ = (Z, T) => {
|
|
62410
|
-
var M,
|
|
62410
|
+
var M, se;
|
|
62411
62411
|
if (!y.current) {
|
|
62412
62412
|
console.error("Media ref is undefined|null", {
|
|
62413
62413
|
resizableImg: y.current
|
|
@@ -62416,7 +62416,7 @@ const r6e = w4e.extend({
|
|
|
62416
62416
|
}
|
|
62417
62417
|
const V = {
|
|
62418
62418
|
width: (M = y.current) == null ? void 0 : M.width,
|
|
62419
|
-
height: (
|
|
62419
|
+
height: (se = y.current) == null ? void 0 : se.height
|
|
62420
62420
|
}, G = {
|
|
62421
62421
|
width: -1,
|
|
62422
62422
|
height: -1
|
|
@@ -62425,8 +62425,8 @@ const r6e = w4e.extend({
|
|
|
62425
62425
|
if (isNaN(re) && (re = 0), Z === "left" ? G.width = re - Math.abs(T) : G.width = re + Math.abs(T), G.width > f && (G.width = f), u === "iframe")
|
|
62426
62426
|
d ? G.height = 166 : G.height = G.width / (16 / 9);
|
|
62427
62427
|
else {
|
|
62428
|
-
const
|
|
62429
|
-
G.height = G.width /
|
|
62428
|
+
const oe = isNaN(p) ? 1 : p;
|
|
62429
|
+
G.height = G.width / oe;
|
|
62430
62430
|
}
|
|
62431
62431
|
G.width = isNaN(G.width) ? 0 : G.width, G.height = isNaN(G.height) ? 0 : G.height, !N(G, {
|
|
62432
62432
|
isSoundcloud: d
|
|
@@ -62458,7 +62458,7 @@ const r6e = w4e.extend({
|
|
|
62458
62458
|
return;
|
|
62459
62459
|
}
|
|
62460
62460
|
Z.stopPropagation();
|
|
62461
|
-
},
|
|
62461
|
+
}, ie = () => {
|
|
62462
62462
|
E && (clearTimeout(E), A(null)), k(!1), O.current = null;
|
|
62463
62463
|
};
|
|
62464
62464
|
_e(() => () => {
|
|
@@ -62468,11 +62468,11 @@ const r6e = w4e.extend({
|
|
|
62468
62468
|
T.stopPropagation(), T.preventDefault();
|
|
62469
62469
|
const V = "touches" in T ? T.touches[0].clientX : T.clientX;
|
|
62470
62470
|
F.current = V;
|
|
62471
|
-
const G = Z === "tl" || Z === "bl" ? "left" : "right", re = (
|
|
62472
|
-
const
|
|
62471
|
+
const G = Z === "tl" || Z === "bl" ? "left" : "right", re = (se) => {
|
|
62472
|
+
const oe = "touches" in se ? se.touches[0].clientX : se.clientX, Y = F.current - oe;
|
|
62473
62473
|
if (Y === 0) return;
|
|
62474
62474
|
const Q = G === "left" ? Y > 0 ? "right" : "left" : Y > 0 ? "left" : "right";
|
|
62475
|
-
$(Q, Math.abs(Y)), F.current =
|
|
62475
|
+
$(Q, Math.abs(Y)), F.current = oe;
|
|
62476
62476
|
}, M = () => {
|
|
62477
62477
|
F.current = -1, document.removeEventListener("mousemove", re), document.removeEventListener("mouseup", M), document.removeEventListener("touchmove", re), document.removeEventListener("touchend", M), w(!1);
|
|
62478
62478
|
};
|
|
@@ -62498,8 +62498,8 @@ const r6e = w4e.extend({
|
|
|
62498
62498
|
),
|
|
62499
62499
|
onTouchStart: te,
|
|
62500
62500
|
onTouchMove: J,
|
|
62501
|
-
onTouchEnd:
|
|
62502
|
-
onTouchCancel:
|
|
62501
|
+
onTouchEnd: ie,
|
|
62502
|
+
onTouchCancel: ie,
|
|
62503
62503
|
children: [
|
|
62504
62504
|
/* @__PURE__ */ x.jsxs(
|
|
62505
62505
|
"div",
|
|
@@ -64012,12 +64012,12 @@ const BF = St.use || // This extra generic is to avoid TypeScript mixing up the
|
|
|
64012
64012
|
dedupe: !0
|
|
64013
64013
|
}, jB = Promise.resolve(co), W5e = (e, t, n) => {
|
|
64014
64014
|
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] = dl.get(r), [b, y] = NE(e), F = je(!1), v = je(!1), w = je(b), D = je(t), k = je(n), E = () => k.current, A = () => E().isVisible() && E().isOnline(), [O, S, _, B] = qV(r, b), C = je({}).current, N = fn(s) ? fn(n.fallback) ? co : n.fallback[b] : s, j = (re, M) => {
|
|
64015
|
-
for (const
|
|
64016
|
-
const
|
|
64017
|
-
if (
|
|
64018
|
-
if (!o(re[
|
|
64015
|
+
for (const se in C) {
|
|
64016
|
+
const oe = se;
|
|
64017
|
+
if (oe === "data") {
|
|
64018
|
+
if (!o(re[oe], M[oe]) && (!fn(re[oe]) || !o(te, M[oe])))
|
|
64019
64019
|
return !1;
|
|
64020
|
-
} else if (M[
|
|
64020
|
+
} else if (M[oe] !== re[oe])
|
|
64021
64021
|
return !1;
|
|
64022
64022
|
}
|
|
64023
64023
|
return !0;
|
|
@@ -64029,7 +64029,7 @@ const BF = St.use || // This extra generic is to avoid TypeScript mixing up the
|
|
|
64029
64029
|
isLoading: !0,
|
|
64030
64030
|
...De
|
|
64031
64031
|
} : De;
|
|
64032
|
-
},
|
|
64032
|
+
}, se = O(), oe = B(), Y = M(se), Q = se === oe ? Y : M(oe);
|
|
64033
64033
|
let le = Y;
|
|
64034
64034
|
return [
|
|
64035
64035
|
() => {
|
|
@@ -64042,20 +64042,20 @@ const BF = St.use || // This extra generic is to avoid TypeScript mixing up the
|
|
|
64042
64042
|
r,
|
|
64043
64043
|
b
|
|
64044
64044
|
]), L = hg.useSyncExternalStore(Ae(
|
|
64045
|
-
(re) => _(b, (M,
|
|
64046
|
-
j(
|
|
64045
|
+
(re) => _(b, (M, se) => {
|
|
64046
|
+
j(se, M) || re();
|
|
64047
64047
|
}),
|
|
64048
64048
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
64049
64049
|
[
|
|
64050
64050
|
r,
|
|
64051
64051
|
b
|
|
64052
64052
|
]
|
|
64053
|
-
), R[0], R[1]), $ = !F.current, H = h[b] && h[b].length > 0, z = L.data, U = fn(z) ? N && WV(N) ? BF(N) : N : z, X = L.error, ae = je(U), te = p ? fn(z) ? fn(ae.current) ? U : ae.current : z : U, J = H && !fn(X) ? !1 : $ && !fn(a) ? a : E().isPaused() ? !1 : i ? fn(U) ? !1 : l : fn(U) || l,
|
|
64053
|
+
), R[0], R[1]), $ = !F.current, H = h[b] && h[b].length > 0, z = L.data, U = fn(z) ? N && WV(N) ? BF(N) : N : z, X = L.error, ae = je(U), te = p ? fn(z) ? fn(ae.current) ? U : ae.current : z : U, J = H && !fn(X) ? !1 : $ && !fn(a) ? a : E().isPaused() ? !1 : i ? fn(U) ? !1 : l : fn(U) || l, ie = !!(b && t && $ && J), K = fn(L.isValidating) ? ie : L.isValidating, Z = fn(L.isLoading) ? ie : L.isLoading, T = Ae(
|
|
64054
64054
|
async (re) => {
|
|
64055
64055
|
const M = D.current;
|
|
64056
64056
|
if (!b || !M || v.current || E().isPaused())
|
|
64057
64057
|
return !1;
|
|
64058
|
-
let
|
|
64058
|
+
let se, oe, Y = !0;
|
|
64059
64059
|
const Q = re || {}, le = !g[b] || !Q.dedupe, ge = () => AB ? !v.current && b === w.current && F.current : b === w.current, De = {
|
|
64060
64060
|
isValidating: !1,
|
|
64061
64061
|
isLoading: !1
|
|
@@ -64063,7 +64063,7 @@ const BF = St.use || // This extra generic is to avoid TypeScript mixing up the
|
|
|
64063
64063
|
S(De);
|
|
64064
64064
|
}, pe = () => {
|
|
64065
64065
|
const fe = g[b];
|
|
64066
|
-
fe && fe[1] ===
|
|
64066
|
+
fe && fe[1] === oe && delete g[b];
|
|
64067
64067
|
}, de = {
|
|
64068
64068
|
isValidating: !0
|
|
64069
64069
|
};
|
|
@@ -64074,17 +64074,17 @@ const BF = St.use || // This extra generic is to avoid TypeScript mixing up the
|
|
|
64074
64074
|
}, n.loadingTimeout), g[b] = [
|
|
64075
64075
|
M(y),
|
|
64076
64076
|
QD()
|
|
64077
|
-
]), [
|
|
64077
|
+
]), [se, oe] = g[b], se = await se, le && setTimeout(pe, n.dedupingInterval), !g[b] || g[b][1] !== oe)
|
|
64078
64078
|
return le && ge() && E().onDiscarded(b), !1;
|
|
64079
64079
|
De.error = co;
|
|
64080
64080
|
const fe = f[b];
|
|
64081
64081
|
if (!fn(fe) && // case 1
|
|
64082
|
-
(
|
|
64083
|
-
|
|
64082
|
+
(oe <= fe[0] || // case 2
|
|
64083
|
+
oe <= fe[1] || // case 3
|
|
64084
64084
|
fe[1] === 0))
|
|
64085
64085
|
return ye(), le && ge() && E().onDiscarded(b), !1;
|
|
64086
64086
|
const I = O().data;
|
|
64087
|
-
De.data = o(I,
|
|
64087
|
+
De.data = o(I, se) ? I : se, le && ge() && E().onSuccess(se, b, n);
|
|
64088
64088
|
} catch (fe) {
|
|
64089
64089
|
pe();
|
|
64090
64090
|
const I = E(), { shouldRetryOnError: W } = I;
|
|
@@ -64126,7 +64126,7 @@ const BF = St.use || // This extra generic is to avoid TypeScript mixing up the
|
|
|
64126
64126
|
const re = T.bind(co, NF);
|
|
64127
64127
|
let M = 0;
|
|
64128
64128
|
E().revalidateOnFocus && (M = Date.now() + E().focusThrottleInterval);
|
|
64129
|
-
const
|
|
64129
|
+
const oe = H5e(b, h, (Y, Q = {}) => {
|
|
64130
64130
|
if (Y == zV) {
|
|
64131
64131
|
const le = Date.now();
|
|
64132
64132
|
E().revalidateOnFocus && le > M && A() && (M = le + E().focusThrottleInterval, re());
|
|
@@ -64142,17 +64142,17 @@ const BF = St.use || // This extra generic is to avoid TypeScript mixing up the
|
|
|
64142
64142
|
return v.current = !1, w.current = b, F.current = !0, S({
|
|
64143
64143
|
_k: y
|
|
64144
64144
|
}), J && (g[b] || (fn(U) || $1 ? re() : k5e(re))), () => {
|
|
64145
|
-
v.current = !0,
|
|
64145
|
+
v.current = !0, oe();
|
|
64146
64146
|
};
|
|
64147
64147
|
}, [
|
|
64148
64148
|
b
|
|
64149
64149
|
]), SF(() => {
|
|
64150
64150
|
let re;
|
|
64151
64151
|
function M() {
|
|
64152
|
-
const
|
|
64153
|
-
|
|
64152
|
+
const oe = pa(u) ? u(O().data) : u;
|
|
64153
|
+
oe && re !== -1 && (re = setTimeout(se, oe));
|
|
64154
64154
|
}
|
|
64155
|
-
function
|
|
64155
|
+
function se() {
|
|
64156
64156
|
!O().error && (c || E().isVisible()) && (d || E().isOnline()) ? T(NF).then(M) : M();
|
|
64157
64157
|
}
|
|
64158
64158
|
return M(), () => {
|
|
@@ -64168,11 +64168,11 @@ const BF = St.use || // This extra generic is to avoid TypeScript mixing up the
|
|
|
64168
64168
|
if (!AB && $1 && re)
|
|
64169
64169
|
throw new Error("Fallback data is required when using Suspense in SSR.");
|
|
64170
64170
|
re && (D.current = t, k.current = n, v.current = !1);
|
|
64171
|
-
const M = m[b],
|
|
64172
|
-
if (BF(
|
|
64171
|
+
const M = m[b], se = !fn(M) && re ? V(M) : jB;
|
|
64172
|
+
if (BF(se), !fn(X) && re)
|
|
64173
64173
|
throw X;
|
|
64174
|
-
const
|
|
64175
|
-
!fn(te) && re && (
|
|
64174
|
+
const oe = re ? T(NF) : jB;
|
|
64175
|
+
!fn(te) && re && (oe.status = "fulfilled", oe.value = !0), BF(oe);
|
|
64176
64176
|
}
|
|
64177
64177
|
return {
|
|
64178
64178
|
mutate: V,
|
|
@@ -67547,7 +67547,7 @@ const iDe = (e) => {
|
|
|
67547
67547
|
l
|
|
67548
67548
|
)),
|
|
67549
67549
|
/* @__PURE__ */ x.jsx(
|
|
67550
|
-
|
|
67550
|
+
Fr,
|
|
67551
67551
|
{
|
|
67552
67552
|
align: "end",
|
|
67553
67553
|
sideOffset: 10,
|
|
@@ -68004,8 +68004,8 @@ const IDe = St.memo(
|
|
|
68004
68004
|
] }) })
|
|
68005
68005
|
), nK = St.memo(
|
|
68006
68006
|
({ node: e, getPos: t, editor: n, deleteNode: r, ...o }) => {
|
|
68007
|
-
var J,
|
|
68008
|
-
const i = (
|
|
68007
|
+
var J, ie, K, Z;
|
|
68008
|
+
const i = (ie = (J = o.extension) == null ? void 0 : J.options) == null ? void 0 : ie.onCopyHeadingLink, s = or("(max-width: 1024px)"), [a, l] = Me(!1), [u, c] = Me(!1), [d, p] = Me(2), h = oDe(n, e, t()), {
|
|
68009
68009
|
isPreviewMode: f,
|
|
68010
68010
|
isPresentationMode: g,
|
|
68011
68011
|
isCollaboratorsDoc: m,
|
|
@@ -68021,8 +68021,8 @@ const IDe = St.memo(
|
|
|
68021
68021
|
getPos: t,
|
|
68022
68022
|
editor: n
|
|
68023
68023
|
}), k = Ae(() => {
|
|
68024
|
-
const { content: T } = e.content, V = T[0].attrs.id, G = T[0].content.content[0].text, re = ME(G), M = V.replace(/-/g, "").substring(0, 8),
|
|
68025
|
-
i == null || i(
|
|
68024
|
+
const { content: T } = e.content, V = T[0].attrs.id, G = T[0].content.content[0].text, re = ME(G), M = V.replace(/-/g, "").substring(0, 8), se = `heading=${re}-${M}`;
|
|
68025
|
+
i == null || i(se);
|
|
68026
68026
|
}, [e.content, i]), E = Dt(() => {
|
|
68027
68027
|
const { content: T } = e.content;
|
|
68028
68028
|
return T[0].type.name === "table";
|
|
@@ -68046,11 +68046,11 @@ const IDe = St.memo(
|
|
|
68046
68046
|
var T, V, G, re, M;
|
|
68047
68047
|
if (A)
|
|
68048
68048
|
try {
|
|
68049
|
-
const { content:
|
|
68050
|
-
if (!
|
|
68049
|
+
const { content: se } = e.content, oe = (M = (re = (G = (V = (T = se[0]) == null ? void 0 : T.content) == null ? void 0 : V.content[0]) == null ? void 0 : G.marks[0]) == null ? void 0 : re.attrs) == null ? void 0 : M.href;
|
|
68050
|
+
if (!oe)
|
|
68051
68051
|
return;
|
|
68052
|
-
if (
|
|
68053
|
-
B("img",
|
|
68052
|
+
if (oe && /\.(jpeg|jpg|gif|png)$/i.test(oe)) {
|
|
68053
|
+
B("img", oe);
|
|
68054
68054
|
return;
|
|
68055
68055
|
}
|
|
68056
68056
|
if (A.includes("<iframe")) {
|
|
@@ -68059,11 +68059,11 @@ const IDe = St.memo(
|
|
|
68059
68059
|
}
|
|
68060
68060
|
const Y = A.match(
|
|
68061
68061
|
/youtu\.?be(?:\.com)?\/(?:.*v(?:\/|=)|(?:.*\/)?)([a-zA-Z0-9-_]+)/
|
|
68062
|
-
) ||
|
|
68062
|
+
) || oe.match(
|
|
68063
68063
|
/youtu\.?be(?:\.com)?\/(?:.*v(?:\/|=)|(?:.*\/)?)([a-zA-Z0-9-_]+)/
|
|
68064
68064
|
);
|
|
68065
68065
|
if (Y) {
|
|
68066
|
-
const le = A.trim(), ge =
|
|
68066
|
+
const le = A.trim(), ge = oe.trim();
|
|
68067
68067
|
if (le === ge) {
|
|
68068
68068
|
const De = `https://www.youtube.com/embed/${Y[1]}`;
|
|
68069
68069
|
B("iframe", De);
|
|
@@ -68080,8 +68080,8 @@ const IDe = St.memo(
|
|
|
68080
68080
|
return;
|
|
68081
68081
|
}
|
|
68082
68082
|
console.warn("No matching media type found for:", A);
|
|
68083
|
-
} catch (
|
|
68084
|
-
console.error("Error in mediaRender:",
|
|
68083
|
+
} catch (se) {
|
|
68084
|
+
console.error("Error in mediaRender:", se);
|
|
68085
68085
|
}
|
|
68086
68086
|
}, B = (T, V) => {
|
|
68087
68087
|
const G = t(), re = G + e.nodeSize;
|
|
@@ -68144,12 +68144,12 @@ const IDe = St.memo(
|
|
|
68144
68144
|
if (G === void 0) return !1;
|
|
68145
68145
|
const re = T.nodeAt(G);
|
|
68146
68146
|
if (!re || re.type.name !== "dBlock") return !1;
|
|
68147
|
-
const M = re === T.firstChild,
|
|
68148
|
-
if (!((
|
|
68147
|
+
const M = re === T.firstChild, se = re.content.firstChild;
|
|
68148
|
+
if (!((se == null ? void 0 : se.type.name) === "paragraph")) return !1;
|
|
68149
68149
|
const Y = V.$anchor.pos >= G && V.$anchor.pos <= G + re.nodeSize;
|
|
68150
68150
|
if (!M || !Y || T.childCount > 1) return !1;
|
|
68151
68151
|
let Q = !1;
|
|
68152
|
-
return
|
|
68152
|
+
return se.content.forEach((le) => {
|
|
68153
68153
|
var ge;
|
|
68154
68154
|
(le.isText && ((ge = le.text) != null && ge.trim()) || !le.isText) && (Q = !0);
|
|
68155
68155
|
}), !Q;
|
|
@@ -69552,8 +69552,8 @@ function Eke(e) {
|
|
|
69552
69552
|
}
|
|
69553
69553
|
if (E)
|
|
69554
69554
|
for (var H = f ? 3 : 1, z = function(te) {
|
|
69555
|
-
var J = v.find(function(
|
|
69556
|
-
var K = k.get(
|
|
69555
|
+
var J = v.find(function(ie) {
|
|
69556
|
+
var K = k.get(ie);
|
|
69557
69557
|
if (K)
|
|
69558
69558
|
return K.slice(0, te).every(function(Z) {
|
|
69559
69559
|
return Z;
|
|
@@ -69683,8 +69683,8 @@ function Oke(e) {
|
|
|
69683
69683
|
var B, C = v === "y" ? ai : li, N = v === "y" ? gs : ms, j = v === "y" ? "height" : "width", R = D[v], L = R + m[C], $ = R - m[N], H = h ? -E[j] / 2 : 0, z = y === Nh ? k[j] : E[j], U = y === Nh ? -E[j] : -k[j], X = t.elements.arrow, ae = h && X ? RE(X) : {
|
|
69684
69684
|
width: 0,
|
|
69685
69685
|
height: 0
|
|
69686
|
-
}, te = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : uK(), J = te[C],
|
|
69687
|
-
D[v] =
|
|
69686
|
+
}, te = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : uK(), J = te[C], ie = te[N], K = z0(0, k[j], ae[j]), Z = F ? k[j] / 2 - H - K - J - O.mainAxis : z - K - J - O.mainAxis, T = F ? -k[j] / 2 + H + K + ie + O.mainAxis : U + K + ie + O.mainAxis, V = t.elements.arrow && Lg(t.elements.arrow), G = V ? v === "y" ? V.clientTop || 0 : V.clientLeft || 0 : 0, re = (B = S == null ? void 0 : S[v]) != null ? B : 0, M = R + Z - re - G, se = R + T - re, oe = z0(h ? Ry(L, M) : L, R, h ? md($, se) : $);
|
|
69687
|
+
D[v] = oe, _[v] = oe - R;
|
|
69688
69688
|
}
|
|
69689
69689
|
if (a) {
|
|
69690
69690
|
var Y, Q = v === "x" ? ai : li, le = v === "x" ? gs : ms, ge = D[w], De = w === "y" ? "height" : "width", ye = ge + m[Q], pe = ge - m[le], de = [ai, li].indexOf(b) !== -1, fe = (Y = S == null ? void 0 : S[w]) != null ? Y : 0, I = de ? ye : ge - k[De] - E[De] - fe + O.altAxis, W = de ? ge + k[De] + E[De] - fe - O.altAxis : pe, ee = h && de ? ike(I, ge, W) : z0(h ? I : ye, ge, h ? W : pe);
|
|
@@ -70393,7 +70393,7 @@ function F8e(e, t) {
|
|
|
70393
70393
|
var be = C();
|
|
70394
70394
|
be.removeEventListener("mousedown", U, !0), be.removeEventListener("touchend", U, Pc), be.removeEventListener("touchstart", ae, Pc), be.removeEventListener("touchmove", X, Pc);
|
|
70395
70395
|
}
|
|
70396
|
-
function
|
|
70396
|
+
function ie(be, Te) {
|
|
70397
70397
|
Z(be, function() {
|
|
70398
70398
|
!v.state.isVisible && D.parentNode && D.parentNode.contains(D) && Te();
|
|
70399
70399
|
});
|
|
@@ -70425,19 +70425,19 @@ function F8e(e, t) {
|
|
|
70425
70425
|
function V() {
|
|
70426
70426
|
S() && (T("touchstart", re, {
|
|
70427
70427
|
passive: !0
|
|
70428
|
-
}), T("touchend",
|
|
70428
|
+
}), T("touchend", se, {
|
|
70429
70429
|
passive: !0
|
|
70430
70430
|
})), Jke(v.props.trigger).forEach(function(be) {
|
|
70431
70431
|
if (be !== "manual")
|
|
70432
70432
|
switch (T(be, re), be) {
|
|
70433
70433
|
case "mouseenter":
|
|
70434
|
-
T("mouseleave",
|
|
70434
|
+
T("mouseleave", se);
|
|
70435
70435
|
break;
|
|
70436
70436
|
case "focus":
|
|
70437
|
-
T(d8e ? "focusout" : "blur",
|
|
70437
|
+
T(d8e ? "focusout" : "blur", oe);
|
|
70438
70438
|
break;
|
|
70439
70439
|
case "focusin":
|
|
70440
|
-
T("focusout",
|
|
70440
|
+
T("focusout", oe);
|
|
70441
70441
|
break;
|
|
70442
70442
|
}
|
|
70443
70443
|
});
|
|
@@ -70471,7 +70471,7 @@ function F8e(e, t) {
|
|
|
70471
70471
|
s8e(Le, be) && (z(), pe(be));
|
|
70472
70472
|
}
|
|
70473
70473
|
}
|
|
70474
|
-
function
|
|
70474
|
+
function se(be) {
|
|
70475
70475
|
var Te = Y(be) || v.props.trigger.indexOf("click") >= 0 && s;
|
|
70476
70476
|
if (!Te) {
|
|
70477
70477
|
if (v.props.interactive) {
|
|
@@ -70481,7 +70481,7 @@ function F8e(e, t) {
|
|
|
70481
70481
|
pe(be);
|
|
70482
70482
|
}
|
|
70483
70483
|
}
|
|
70484
|
-
function
|
|
70484
|
+
function oe(be) {
|
|
70485
70485
|
v.props.trigger.indexOf("focusin") < 0 && be.target !== B() || v.props.interactive && be.relatedTarget && D.contains(be.relatedTarget) || pe(be);
|
|
70486
70486
|
}
|
|
70487
70487
|
function Y(be) {
|
|
@@ -70638,7 +70638,7 @@ function F8e(e, t) {
|
|
|
70638
70638
|
var Pe = N(), ut = Pe.box, pt = Pe.content;
|
|
70639
70639
|
v.props.animation && (LF([ut, pt], Le), rN([ut, pt], "hidden"));
|
|
70640
70640
|
}
|
|
70641
|
-
$(), H(), v.props.animation ? _() &&
|
|
70641
|
+
$(), H(), v.props.animation ? _() && ie(Le, v.unmount) : v.unmount();
|
|
70642
70642
|
}
|
|
70643
70643
|
}
|
|
70644
70644
|
function xe(be) {
|
|
@@ -75575,7 +75575,7 @@ function Va(e) {
|
|
|
75575
75575
|
function HG(e, t) {
|
|
75576
75576
|
return { type: a7, contents: t, n: e };
|
|
75577
75577
|
}
|
|
75578
|
-
function
|
|
75578
|
+
function Er(e, t = {}) {
|
|
75579
75579
|
return hAe(t.expandedStates), { type: l7, id: t.id, contents: e, break: !!t.shouldBreak, expandedStates: t.expandedStates };
|
|
75580
75580
|
}
|
|
75581
75581
|
function fAe(e) {
|
|
@@ -75708,7 +75708,7 @@ async function $s(e, t, n, r) {
|
|
|
75708
75708
|
o = r(s, a);
|
|
75709
75709
|
});
|
|
75710
75710
|
let i = await t(e, n, t);
|
|
75711
|
-
return o ?
|
|
75711
|
+
return o ? Er(i) : I3(i);
|
|
75712
75712
|
}
|
|
75713
75713
|
function OAe(e, t, n, r) {
|
|
75714
75714
|
let { node: o } = n, i = r.originalText.slice(o.sourceSpan.start.offset, o.sourceSpan.end.offset);
|
|
@@ -75998,7 +75998,7 @@ async function wSe(e, t) {
|
|
|
75998
75998
|
let n = [];
|
|
75999
75999
|
for (let [r, o] of e.split(aX).entries()) if (r % 2 === 0) n.push(Ss(o));
|
|
76000
76000
|
else try {
|
|
76001
|
-
n.push(
|
|
76001
|
+
n.push(Er(["{{", Va([gr, await $s(o, t, { parser: "__ng_interpolation", __isInHtmlInterpolation: !0 })]), gr, "}}"]));
|
|
76002
76002
|
} catch {
|
|
76003
76003
|
n.push("{{", Ss(o), "}}");
|
|
76004
76004
|
}
|
|
@@ -76114,7 +76114,7 @@ function WSe(e, t, { parseWithTs: n }) {
|
|
|
76114
76114
|
}
|
|
76115
76115
|
async function qSe(e, t, n, r) {
|
|
76116
76116
|
let o = Fc(n.node), { left: i, operator: s, right: a } = VSe(o), l = b7(n, r);
|
|
76117
|
-
return [
|
|
76117
|
+
return [Er(await $s(`function _(${i}) {}`, e, { parser: l ? "babel-ts" : "babel", __isVueForBindingLeft: !0 })), " ", s, " ", await $s(a, e, { parser: l ? "__ts_expression" : "__js_expression" })];
|
|
76118
76118
|
}
|
|
76119
76119
|
function VSe(e) {
|
|
76120
76120
|
let t = /(.*?)\s+(in|of)\s+(.*)/su, n = /,([^,\]}]*)(?:,([^,\]}]*))?$/u, r = /^\(|\)$/gu, o = e.match(t);
|
|
@@ -76166,7 +76166,7 @@ function ZSe(e, t) {
|
|
|
76166
76166
|
function JSe(e) {
|
|
76167
76167
|
return async (t, n, r, o) => {
|
|
76168
76168
|
let i = await e(t, n, r, o);
|
|
76169
|
-
if (i) return i = $G(i, (s) => typeof s == "string" ? Oi(!1, s, '"', """) : s), [r.node.rawName, '="',
|
|
76169
|
+
if (i) return i = $G(i, (s) => typeof s == "string" ? Oi(!1, s, '"', """) : s), [r.node.rawName, '="', Er(i), '"'];
|
|
76170
76170
|
};
|
|
76171
76171
|
}
|
|
76172
76172
|
var QSe = ZSe, eTe = new Proxy(() => {
|
|
@@ -76317,7 +76317,7 @@ function lTe(e, t) {
|
|
|
76317
76317
|
let r = lM(n, t);
|
|
76318
76318
|
return r ? async (o, i) => {
|
|
76319
76319
|
let s = dX(n, t), a = /^\s*$/u.test(s), l = "";
|
|
76320
|
-
return a || (l = await o(KG(s), { parser: r, __embeddedInHtml: !0 }), a = l === ""), [zd(n, t),
|
|
76320
|
+
return a || (l = await o(KG(s), { parser: r, __embeddedInHtml: !0 }), a = l === ""), [zd(n, t), Er(yk(e, t, i)), a ? "" : qn, l, a ? "" : qn, bk(n, t), Ud(n, t)];
|
|
76321
76321
|
} : void 0;
|
|
76322
76322
|
}
|
|
76323
76323
|
break;
|
|
@@ -76414,14 +76414,14 @@ function F7(e, t, n) {
|
|
|
76414
76414
|
return Xf(i, t, n);
|
|
76415
76415
|
}
|
|
76416
76416
|
let l = [], u = [], c = [], d = [], p = a.prev ? i2(a.prev, a) : "", h = a.next ? i2(a, a.next) : "";
|
|
76417
|
-
return p && (o2(a.prev) ? l.push(qn, qn) : p === qn ? l.push(qn) : ns(a.prev) ? u.push(p) : u.push($y("", po, { groupId: o[s - 1] }))), h && (o2(a) ? ns(a.next) && d.push(qn, qn) : h === qn ? ns(a.next) && d.push(qn) : c.push(h)), [...l,
|
|
76417
|
+
return p && (o2(a.prev) ? l.push(qn, qn) : p === qn ? l.push(qn) : ns(a.prev) ? u.push(p) : u.push($y("", po, { groupId: o[s - 1] }))), h && (o2(a) ? ns(a.next) && d.push(qn, qn) : h === qn ? ns(a.next) && d.push(qn) : c.push(h)), [...l, Er([...u, Er([Xf(i, t, n), ...c], { id: o[s] })]), ...d];
|
|
76418
76418
|
}, "children");
|
|
76419
76419
|
}
|
|
76420
76420
|
function ETe(e, t, n) {
|
|
76421
76421
|
let { node: r } = e, o = [];
|
|
76422
|
-
CTe(e) && o.push("} "), o.push("@", r.name), r.parameters && o.push(" (",
|
|
76422
|
+
CTe(e) && o.push("} "), o.push("@", r.name), r.parameters && o.push(" (", Er(n("parameters")), ")"), o.push(" {");
|
|
76423
76423
|
let i = hX(r);
|
|
76424
|
-
return r.children.length > 0 ? (r.firstChild.hasLeadingSpaces = !0, r.lastChild.hasTrailingSpaces = !0, o.push(Va([qn, F7(e, t, n)])), i && o.push(qn, "}")) : i && o.push("}"),
|
|
76424
|
+
return r.children.length > 0 ? (r.firstChild.hasLeadingSpaces = !0, r.lastChild.hasTrailingSpaces = !0, o.push(Va([qn, F7(e, t, n)])), i && o.push(qn, "}")) : i && o.push("}"), Er(o, { shouldBreak: !0 });
|
|
76425
76425
|
}
|
|
76426
76426
|
function hX(e) {
|
|
76427
76427
|
var t, n;
|
|
@@ -76436,19 +76436,19 @@ function _Te(e, t, n) {
|
|
|
76436
76436
|
}
|
|
76437
76437
|
function ATe(e, t, n) {
|
|
76438
76438
|
let { node: r } = e;
|
|
76439
|
-
return [G0(r, t),
|
|
76439
|
+
return [G0(r, t), Er([r.switchValue.trim(), ", ", r.clause, r.cases.length > 0 ? [",", Va([gr, ff(gr, e.map(n, "cases"))])] : "", po]), K0(r, t)];
|
|
76440
76440
|
}
|
|
76441
76441
|
function STe(e, t, n) {
|
|
76442
76442
|
let { node: r } = e;
|
|
76443
|
-
return [r.value, " {",
|
|
76443
|
+
return [r.value, " {", Er([Va([po, e.map(({ node: o, isLast: i }) => {
|
|
76444
76444
|
let s = [n()];
|
|
76445
76445
|
return o.type === "text" && (o.hasLeadingSpaces && s.unshift(gr), o.hasTrailingSpaces && !i && s.push(gr)), s;
|
|
76446
76446
|
}, "expression")]), po]), "}"];
|
|
76447
76447
|
}
|
|
76448
76448
|
function TTe(e, t, n) {
|
|
76449
76449
|
let { node: r } = e;
|
|
76450
|
-
if (GG(r, t)) return [zd(r, t),
|
|
76451
|
-
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) =>
|
|
76450
|
+
if (GG(r, t)) return [zd(r, t), Er(yk(e, t, n)), Ss(dX(r, t)), ...bk(r, t), Ud(r, t)];
|
|
76451
|
+
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) => Er([Er(yk(e, t, n), { id: i }), c, bk(r, t)]), a = (c) => o ? mAe(c, { groupId: i }) : (Ol(r, t) || U3(r, t)) && r.parent.type === "root" && t.parser === "vue" && !t.vueIndentScriptAndStyle ? c : Va(c), l = () => o ? $y(po, "", { groupId: i }) : r.firstChild.hasLeadingSpaces && r.firstChild.isLeadingSpaceSensitive ? gr : r.firstChild.type === "text" && r.isWhitespaceSensitive && r.isIndentationSensitive ? fAe(po) : po, u = () => (r.next ? Pd(r.next) : Vg(r.parent)) ? r.lastChild.hasTrailingSpaces && r.lastChild.isTrailingSpaceSensitive ? " " : "" : o ? $y(po, "", { groupId: i }) : r.lastChild.hasTrailingSpaces && r.lastChild.isTrailingSpaceSensitive ? gr : (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) ? "" : po;
|
|
76452
76452
|
return r.children.length === 0 ? s(r.hasDanglingSpaces && r.isDanglingSpaceSensitive ? gr : "") : s([iSe(r) ? $g : "", a([l(), F7(e, t, n)]), u()]);
|
|
76453
76453
|
}
|
|
76454
76454
|
function Hy(e) {
|
|
@@ -76670,7 +76670,7 @@ function GTe(e, t, n) {
|
|
|
76670
76670
|
case "front-matter":
|
|
76671
76671
|
return Ss(r.raw);
|
|
76672
76672
|
case "root":
|
|
76673
|
-
return t.__onHtmlRoot && t.__onHtmlRoot(r), [
|
|
76673
|
+
return t.__onHtmlRoot && t.__onHtmlRoot(r), [Er(F7(e, t, n)), qn];
|
|
76674
76674
|
case "element":
|
|
76675
76675
|
case "ieConditionalComment":
|
|
76676
76676
|
return TTe(e, t, n);
|
|
@@ -76681,7 +76681,7 @@ function GTe(e, t, n) {
|
|
|
76681
76681
|
case "angularControlFlowBlockParameter":
|
|
76682
76682
|
return Ml.trim(r.expression);
|
|
76683
76683
|
case "angularLetDeclaration":
|
|
76684
|
-
return
|
|
76684
|
+
return Er(["@let ", Er([r.id, " =", Er(Va([gr, n("init")]))]), ";"]);
|
|
76685
76685
|
case "angularLetDeclarationInitializer":
|
|
76686
76686
|
return r.value;
|
|
76687
76687
|
case "angularIcuExpression":
|
|
@@ -76702,7 +76702,7 @@ function GTe(e, t, n) {
|
|
|
76702
76702
|
return i[0] = [o, i[0]], i.push([i.pop(), s]), WG(i);
|
|
76703
76703
|
}
|
|
76704
76704
|
case "docType":
|
|
76705
|
-
return [
|
|
76705
|
+
return [Er([G0(r, t), " ", Oi(!1, r.value.replace(/^html\b/iu, "html"), /\s+/gu, " ")]), K0(r, t)];
|
|
76706
76706
|
case "comment":
|
|
76707
76707
|
return [zd(r, t), Ss(t.originalText.slice(Wg(r), P3(r))), Ud(r, t)];
|
|
76708
76708
|
case "attribute": {
|
|
@@ -78330,7 +78330,7 @@ function PX(e, t) {
|
|
|
78330
78330
|
for (kc(e, i) && !t.contains(i) && t.push(i); n--; )
|
|
78331
78331
|
i = $M[n], i in e && e[i] !== o[i] && !t.contains(i) && t.push(i);
|
|
78332
78332
|
}
|
|
78333
|
-
function
|
|
78333
|
+
function _r(e) {
|
|
78334
78334
|
if (!wc(e)) return [];
|
|
78335
78335
|
if (UM) return UM(e);
|
|
78336
78336
|
var t = [];
|
|
@@ -78340,10 +78340,10 @@ function Cr(e) {
|
|
|
78340
78340
|
function zX(e) {
|
|
78341
78341
|
if (e == null) return !0;
|
|
78342
78342
|
var t = pi(e);
|
|
78343
|
-
return typeof t == "number" && (Dc(e) || q3(e) || V3(e)) ? t === 0 : pi(
|
|
78343
|
+
return typeof t == "number" && (Dc(e) || q3(e) || V3(e)) ? t === 0 : pi(_r(e)) === 0;
|
|
78344
78344
|
}
|
|
78345
78345
|
function R7(e, t) {
|
|
78346
|
-
var n =
|
|
78346
|
+
var n = _r(t), r = n.length;
|
|
78347
78347
|
if (e == null) return !r;
|
|
78348
78348
|
for (var o = Object(e), i = 0; i < r; i++) {
|
|
78349
78349
|
var s = n[i];
|
|
@@ -78423,8 +78423,8 @@ function $X(e, t, n, r) {
|
|
|
78423
78423
|
for (; u--; )
|
|
78424
78424
|
if (!Ck(e[u], t[u], n, r)) return !1;
|
|
78425
78425
|
} else {
|
|
78426
|
-
var c =
|
|
78427
|
-
if (u = c.length,
|
|
78426
|
+
var c = _r(e), d;
|
|
78427
|
+
if (u = c.length, _r(t).length !== u) return !1;
|
|
78428
78428
|
for (; u--; )
|
|
78429
78429
|
if (d = c[u], !(kc(t, d) && Ck(e[d], t[d], n, r))) return !1;
|
|
78430
78430
|
}
|
|
@@ -78453,17 +78453,17 @@ function L7(e) {
|
|
|
78453
78453
|
var U7 = "forEach", WX = "has", P7 = ["clear", "delete"], qX = ["get", WX, "set"], _Be = P7.concat(U7, qX), VX = P7.concat(qX), ABe = ["add"].concat(P7, U7, WX);
|
|
78454
78454
|
const KX = N7 ? L7(_Be) : ko("Map"), GX = N7 ? L7(VX) : ko("WeakMap"), XX = N7 ? L7(ABe) : ko("Set"), YX = ko("WeakSet");
|
|
78455
78455
|
function ip(e) {
|
|
78456
|
-
for (var t =
|
|
78456
|
+
for (var t = _r(e), n = t.length, r = Array(n), o = 0; o < n; o++)
|
|
78457
78457
|
r[o] = e[t[o]];
|
|
78458
78458
|
return r;
|
|
78459
78459
|
}
|
|
78460
78460
|
function ZX(e) {
|
|
78461
|
-
for (var t =
|
|
78461
|
+
for (var t = _r(e), n = t.length, r = Array(n), o = 0; o < n; o++)
|
|
78462
78462
|
r[o] = [t[o], e[t[o]]];
|
|
78463
78463
|
return r;
|
|
78464
78464
|
}
|
|
78465
78465
|
function z7(e) {
|
|
78466
|
-
for (var t = {}, n =
|
|
78466
|
+
for (var t = {}, n = _r(e), r = 0, o = n.length; r < o; r++)
|
|
78467
78467
|
t[e[n[r]]] = n[r];
|
|
78468
78468
|
return t;
|
|
78469
78469
|
}
|
|
@@ -78485,7 +78485,7 @@ function $7(e, t) {
|
|
|
78485
78485
|
return n;
|
|
78486
78486
|
};
|
|
78487
78487
|
}
|
|
78488
|
-
const H7 = $7(yf), Ph = $7(
|
|
78488
|
+
const H7 = $7(yf), Ph = $7(_r), W7 = $7(yf, !0);
|
|
78489
78489
|
function SBe() {
|
|
78490
78490
|
return function() {
|
|
78491
78491
|
};
|
|
@@ -78580,7 +78580,7 @@ function gi(e, t, n) {
|
|
|
78580
78580
|
}
|
|
78581
78581
|
function oY(e, t, n) {
|
|
78582
78582
|
t = gi(t, n);
|
|
78583
|
-
for (var r =
|
|
78583
|
+
for (var r = _r(e), o = r.length, i = {}, s = 0; s < o; s++) {
|
|
78584
78584
|
var a = r[s];
|
|
78585
78585
|
i[a] = t(e[a], a, e);
|
|
78586
78586
|
}
|
|
@@ -78608,7 +78608,7 @@ const zh = Date.now || function() {
|
|
|
78608
78608
|
function aY(e) {
|
|
78609
78609
|
var t = function(i) {
|
|
78610
78610
|
return e[i];
|
|
78611
|
-
}, n = "(?:" +
|
|
78611
|
+
}, n = "(?:" + _r(e).join("|") + ")", r = RegExp(n), o = RegExp(n, "g");
|
|
78612
78612
|
return function(i) {
|
|
78613
78613
|
return i = i == null ? "" : "" + i, r.test(i) ? i.replace(o, t) : i;
|
|
78614
78614
|
};
|
|
@@ -78814,7 +78814,7 @@ function Z7(e, t) {
|
|
|
78814
78814
|
const EY = sp(Z7, 2);
|
|
78815
78815
|
function J7(e, t, n) {
|
|
78816
78816
|
t = gi(t, n);
|
|
78817
|
-
for (var r =
|
|
78817
|
+
for (var r = _r(e), o, i = 0, s = r.length; i < s; i++)
|
|
78818
78818
|
if (o = r[i], t(e[o], o, e)) return o;
|
|
78819
78819
|
}
|
|
78820
78820
|
function CY(e) {
|
|
@@ -78863,7 +78863,7 @@ function Hs(e, t, n) {
|
|
|
78863
78863
|
for (r = 0, o = e.length; r < o; r++)
|
|
78864
78864
|
t(e[r], r, e);
|
|
78865
78865
|
else {
|
|
78866
|
-
var i =
|
|
78866
|
+
var i = _r(e);
|
|
78867
78867
|
for (r = 0, o = i.length; r < o; r++)
|
|
78868
78868
|
t(e[i[r]], i[r], e);
|
|
78869
78869
|
}
|
|
@@ -78871,7 +78871,7 @@ function Hs(e, t, n) {
|
|
|
78871
78871
|
}
|
|
78872
78872
|
function Il(e, t, n) {
|
|
78873
78873
|
t = gi(t, n);
|
|
78874
|
-
for (var r = !zi(e) &&
|
|
78874
|
+
for (var r = !zi(e) && _r(e), o = (r || e).length, i = Array(o), s = 0; s < o; s++) {
|
|
78875
78875
|
var a = r ? r[s] : s;
|
|
78876
78876
|
i[s] = t(e[a], a, e);
|
|
78877
78877
|
}
|
|
@@ -78879,7 +78879,7 @@ function Il(e, t, n) {
|
|
|
78879
78879
|
}
|
|
78880
78880
|
function TY(e) {
|
|
78881
78881
|
var t = function(n, r, o, i) {
|
|
78882
|
-
var s = !zi(n) &&
|
|
78882
|
+
var s = !zi(n) && _r(n), a = (s || n).length, l = e > 0 ? 0 : a - 1;
|
|
78883
78883
|
for (i || (o = n[s ? s[l] : l], l += e); l >= 0 && l < a; l += e) {
|
|
78884
78884
|
var u = s ? s[l] : l;
|
|
78885
78885
|
o = r(o, n[u], u, n);
|
|
@@ -78903,7 +78903,7 @@ function jY(e, t, n) {
|
|
|
78903
78903
|
}
|
|
78904
78904
|
function Jy(e, t, n) {
|
|
78905
78905
|
t = gi(t, n);
|
|
78906
|
-
for (var r = !zi(e) &&
|
|
78906
|
+
for (var r = !zi(e) && _r(e), o = (r || e).length, i = 0; i < o; i++) {
|
|
78907
78907
|
var s = r ? r[i] : i;
|
|
78908
78908
|
if (!t(e[s], s, e)) return !1;
|
|
78909
78909
|
}
|
|
@@ -78911,7 +78911,7 @@ function Jy(e, t, n) {
|
|
|
78911
78911
|
}
|
|
78912
78912
|
function Qy(e, t, n) {
|
|
78913
78913
|
t = gi(t, n);
|
|
78914
|
-
for (var r = !zi(e) &&
|
|
78914
|
+
for (var r = !zi(e) && _r(e), o = (r || e).length, i = 0; i < o; i++) {
|
|
78915
78915
|
var s = r ? r[i] : i;
|
|
78916
78916
|
if (t(e[s], s, e)) return !0;
|
|
78917
78917
|
}
|
|
@@ -79015,7 +79015,7 @@ const RY = Q3(function(e, t, n) {
|
|
|
79015
79015
|
e[n ? 0 : 1].push(t);
|
|
79016
79016
|
}, !0);
|
|
79017
79017
|
function zY(e) {
|
|
79018
|
-
return e == null ? 0 : zi(e) ? e.length :
|
|
79018
|
+
return e == null ? 0 : zi(e) ? e.length : _r(e).length;
|
|
79019
79019
|
}
|
|
79020
79020
|
function RBe(e, t, n) {
|
|
79021
79021
|
return t in n;
|
|
@@ -79219,7 +79219,7 @@ const LBe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
79219
79219
|
isWeakMap: GX,
|
|
79220
79220
|
isWeakSet: YX,
|
|
79221
79221
|
iteratee: X3,
|
|
79222
|
-
keys:
|
|
79222
|
+
keys: _r,
|
|
79223
79223
|
last: HY,
|
|
79224
79224
|
lastIndexOf: AY,
|
|
79225
79225
|
map: Il,
|
|
@@ -79370,7 +79370,7 @@ const UBe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
79370
79370
|
isWeakMap: GX,
|
|
79371
79371
|
isWeakSet: YX,
|
|
79372
79372
|
iteratee: X3,
|
|
79373
|
-
keys:
|
|
79373
|
+
keys: _r,
|
|
79374
79374
|
last: HY,
|
|
79375
79375
|
lastIndexOf: AY,
|
|
79376
79376
|
map: Il,
|
|
@@ -79562,48 +79562,48 @@ function Ln() {
|
|
|
79562
79562
|
Object.prototype,
|
|
79563
79563
|
Function.prototype
|
|
79564
79564
|
], X = function(J) {
|
|
79565
|
-
for (var
|
|
79566
|
-
if (U[
|
|
79565
|
+
for (var ie = 0; ie < U.length; ++ie)
|
|
79566
|
+
if (U[ie] === J)
|
|
79567
79567
|
return !0;
|
|
79568
79568
|
return !1;
|
|
79569
79569
|
};
|
|
79570
79570
|
if (e.isES5) {
|
|
79571
79571
|
var ae = Object.getOwnPropertyNames;
|
|
79572
79572
|
return function(J) {
|
|
79573
|
-
for (var
|
|
79573
|
+
for (var ie = [], K = /* @__PURE__ */ Object.create(null); J != null && !X(J); ) {
|
|
79574
79574
|
var Z;
|
|
79575
79575
|
try {
|
|
79576
79576
|
Z = ae(J);
|
|
79577
79577
|
} catch {
|
|
79578
|
-
return
|
|
79578
|
+
return ie;
|
|
79579
79579
|
}
|
|
79580
79580
|
for (var T = 0; T < Z.length; ++T) {
|
|
79581
79581
|
var V = Z[T];
|
|
79582
79582
|
if (!K[V]) {
|
|
79583
79583
|
K[V] = !0;
|
|
79584
79584
|
var G = Object.getOwnPropertyDescriptor(J, V);
|
|
79585
|
-
G != null && G.get == null && G.set == null &&
|
|
79585
|
+
G != null && G.get == null && G.set == null && ie.push(V);
|
|
79586
79586
|
}
|
|
79587
79587
|
}
|
|
79588
79588
|
J = e.getPrototypeOf(J);
|
|
79589
79589
|
}
|
|
79590
|
-
return
|
|
79590
|
+
return ie;
|
|
79591
79591
|
};
|
|
79592
79592
|
} else {
|
|
79593
79593
|
var te = {}.hasOwnProperty;
|
|
79594
79594
|
return function(J) {
|
|
79595
79595
|
if (X(J)) return [];
|
|
79596
|
-
var
|
|
79596
|
+
var ie = [];
|
|
79597
79597
|
e: for (var K in J)
|
|
79598
79598
|
if (te.call(J, K))
|
|
79599
|
-
|
|
79599
|
+
ie.push(K);
|
|
79600
79600
|
else {
|
|
79601
79601
|
for (var Z = 0; Z < U.length; ++Z)
|
|
79602
79602
|
if (te.call(U[Z], K))
|
|
79603
79603
|
continue e;
|
|
79604
|
-
|
|
79604
|
+
ie.push(K);
|
|
79605
79605
|
}
|
|
79606
|
-
return
|
|
79606
|
+
return ie;
|
|
79607
79607
|
};
|
|
79608
79608
|
}
|
|
79609
79609
|
}(), m = /this\s*\.\s*\S+\s*=/;
|
|
@@ -79670,10 +79670,10 @@ function Ln() {
|
|
|
79670
79670
|
}
|
|
79671
79671
|
function B(U, X, ae) {
|
|
79672
79672
|
for (var te = e.names(U), J = 0; J < te.length; ++J) {
|
|
79673
|
-
var
|
|
79674
|
-
if (ae(
|
|
79673
|
+
var ie = te[J];
|
|
79674
|
+
if (ae(ie))
|
|
79675
79675
|
try {
|
|
79676
|
-
e.defineProperty(X,
|
|
79676
|
+
e.defineProperty(X, ie, e.getDescriptor(U, ie));
|
|
79677
79677
|
} catch {
|
|
79678
79678
|
}
|
|
79679
79679
|
}
|
|
@@ -80260,7 +80260,7 @@ function VBe() {
|
|
|
80260
80260
|
|
|
80261
80261
|
See http://goo.gl/MqrFmX
|
|
80262
80262
|
`);
|
|
80263
|
-
if (!ye.longStackTraces &&
|
|
80263
|
+
if (!ye.longStackTraces && se()) {
|
|
80264
80264
|
var pe = e.prototype._captureStackTrace, de = e.prototype._attachExtraTrace;
|
|
80265
80265
|
ye.longStackTraces = !0, v = function() {
|
|
80266
80266
|
if (r.haveItemsQueued() && !ye.longStackTraces)
|
|
@@ -80272,7 +80272,7 @@ function VBe() {
|
|
|
80272
80272
|
}, e.prototype._captureStackTrace = H, e.prototype._attachExtraTrace = z, t.activateLongStackTraces(), r.disableTrampolineIfNecessary();
|
|
80273
80273
|
}
|
|
80274
80274
|
}, e.hasLongStackTraces = function() {
|
|
80275
|
-
return ye.longStackTraces &&
|
|
80275
|
+
return ye.longStackTraces && se();
|
|
80276
80276
|
};
|
|
80277
80277
|
var w = function() {
|
|
80278
80278
|
try {
|
|
@@ -80511,7 +80511,7 @@ function VBe() {
|
|
|
80511
80511
|
for (var de = 0; de < pe.length; ++de)
|
|
80512
80512
|
(pe[de].length === 0 || de + 1 < pe.length && pe[de][0] === pe[de + 1][0]) && (pe.splice(de, 1), de--);
|
|
80513
80513
|
}
|
|
80514
|
-
function
|
|
80514
|
+
function ie(pe) {
|
|
80515
80515
|
for (var de = pe[0], fe = 1; fe < pe.length; ++fe) {
|
|
80516
80516
|
for (var I = pe[fe], W = de.length - 1, ee = de[W], ue = -1, he = I.length - 1; he >= 0; --he)
|
|
80517
80517
|
if (I[he] === ee) {
|
|
@@ -80530,7 +80530,7 @@ function VBe() {
|
|
|
80530
80530
|
}
|
|
80531
80531
|
function K(pe) {
|
|
80532
80532
|
for (var de = [], fe = 0; fe < pe.length; ++fe) {
|
|
80533
|
-
var I = pe[fe], W = I === " (No stack trace)" || p.test(I), ee = W &&
|
|
80533
|
+
var I = pe[fe], W = I === " (No stack trace)" || p.test(I), ee = W && oe(I);
|
|
80534
80534
|
W && !ee && (f && I.charAt(0) !== " " && (I = " " + I), de.push(I));
|
|
80535
80535
|
}
|
|
80536
80536
|
return de;
|
|
@@ -80592,10 +80592,10 @@ function VBe() {
|
|
|
80592
80592
|
var de = 41;
|
|
80593
80593
|
return pe.length < de ? pe : pe.substr(0, de - 3) + "...";
|
|
80594
80594
|
}
|
|
80595
|
-
function
|
|
80595
|
+
function se() {
|
|
80596
80596
|
return typeof De == "function";
|
|
80597
80597
|
}
|
|
80598
|
-
var
|
|
80598
|
+
var oe = function() {
|
|
80599
80599
|
return !1;
|
|
80600
80600
|
}, Y = /[\/<\(]([^:\/]+):(\d+):(?:\d+)\)?\s*$/;
|
|
80601
80601
|
function Q(pe) {
|
|
@@ -80607,7 +80607,7 @@ function VBe() {
|
|
|
80607
80607
|
};
|
|
80608
80608
|
}
|
|
80609
80609
|
function le(pe, de) {
|
|
80610
|
-
if (
|
|
80610
|
+
if (se()) {
|
|
80611
80611
|
for (var fe = pe.stack.split(`
|
|
80612
80612
|
`), I = de.stack.split(`
|
|
80613
80613
|
`), W = -1, ee = -1, ue, he, xe = 0; xe < fe.length; ++xe) {
|
|
@@ -80624,7 +80624,7 @@ function VBe() {
|
|
|
80624
80624
|
break;
|
|
80625
80625
|
}
|
|
80626
80626
|
}
|
|
80627
|
-
W < 0 || ee < 0 || !ue || !he || ue !== he || W >= ee || (
|
|
80627
|
+
W < 0 || ee < 0 || !ue || !he || ue !== he || W >= ee || (oe = function(Ee) {
|
|
80628
80628
|
if (u.test(Ee)) return !0;
|
|
80629
80629
|
var be = Q(Ee);
|
|
80630
80630
|
return !!(be && be.fileName === ue && W <= be.line && be.line <= ee);
|
|
@@ -80664,7 +80664,7 @@ function VBe() {
|
|
|
80664
80664
|
for (var de = T(pe), fe = de.message, I = [de.stack], W = this; W !== void 0; )
|
|
80665
80665
|
I.push(K(W.stack.split(`
|
|
80666
80666
|
`))), W = W._parent;
|
|
80667
|
-
|
|
80667
|
+
ie(I), J(I), i.notEnumerableProp(pe, "stack", te(fe, I)), i.notEnumerableProp(pe, "__stackCleaned__", !0);
|
|
80668
80668
|
}
|
|
80669
80669
|
};
|
|
80670
80670
|
var De = function() {
|
|
@@ -80674,7 +80674,7 @@ function VBe() {
|
|
|
80674
80674
|
if (typeof Error.stackTraceLimit == "number" && typeof Error.captureStackTrace == "function") {
|
|
80675
80675
|
Error.stackTraceLimit += 6, p = de, h = fe;
|
|
80676
80676
|
var I = Error.captureStackTrace;
|
|
80677
|
-
return
|
|
80677
|
+
return oe = function(ue) {
|
|
80678
80678
|
return u.test(ue);
|
|
80679
80679
|
}, function(ue, he) {
|
|
80680
80680
|
Error.stackTraceLimit += 6, I(ue, he), Error.stackTraceLimit -= 6;
|
|
@@ -81899,15 +81899,15 @@ function aNe() {
|
|
|
81899
81899
|
v = function(B, C, N, j, R, L) {
|
|
81900
81900
|
var $ = Math.max(0, E(j) - 1), H = w($), z = typeof B == "string" || C === n;
|
|
81901
81901
|
function U(J) {
|
|
81902
|
-
var
|
|
81902
|
+
var ie = D(J).join(", "), K = J > 0 ? ", " : "", Z;
|
|
81903
81903
|
return z ? Z = `ret = callback.call(this, {{args}}, nodeback); break;
|
|
81904
81904
|
` : Z = C === void 0 ? `ret = callback({{args}}, nodeback); break;
|
|
81905
81905
|
` : `ret = callback.call(receiver, {{args}}, nodeback); break;
|
|
81906
|
-
`, Z.replace("{{args}}",
|
|
81906
|
+
`, Z.replace("{{args}}", ie).replace(", ", K);
|
|
81907
81907
|
}
|
|
81908
81908
|
function X() {
|
|
81909
|
-
for (var J = "",
|
|
81910
|
-
J += "case " + H[
|
|
81909
|
+
for (var J = "", ie = 0; ie < H.length; ++ie)
|
|
81910
|
+
J += "case " + H[ie] + ":" + U(H[ie]);
|
|
81911
81911
|
return J += `
|
|
81912
81912
|
default:
|
|
81913
81913
|
var args = new Array(len + 1);
|
|
@@ -82506,12 +82506,12 @@ function gNe() {
|
|
|
82506
82506
|
z || (U._propagateFrom(this, 3), U._captureStackTrace(), $ === void 0 && this._bitField & 2097152 && (ae & 50397184 ? $ = this._boundValue() : $ = X === this ? void 0 : this._boundTo), this._fireEvent("promiseChained", this, U));
|
|
82507
82507
|
var te = a();
|
|
82508
82508
|
if (ae & 50397184) {
|
|
82509
|
-
var J,
|
|
82510
|
-
ae & 33554432 ? (
|
|
82509
|
+
var J, ie, K = X._settlePromiseCtx;
|
|
82510
|
+
ae & 33554432 ? (ie = X._rejectionHandler0, J = j) : ae & 16777216 ? (ie = X._fulfillmentHandler0, J = R, X._unsetRejectionIsUnhandled()) : (K = X._settlePromiseLateCancellationObserver, ie = new h("late cancellation observer"), X._attachExtraTrace(ie), J = R), c.invoke(K, X, {
|
|
82511
82511
|
handler: te === null ? J : typeof J == "function" && s.domainBind(te, J),
|
|
82512
82512
|
promise: U,
|
|
82513
82513
|
receiver: $,
|
|
82514
|
-
value:
|
|
82514
|
+
value: ie
|
|
82515
82515
|
});
|
|
82516
82516
|
} else
|
|
82517
82517
|
X._addCallbacks(j, R, U, $, te);
|
|
@@ -83173,8 +83173,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
83173
83173
|
f && (z |= 8), k || !B && !C || (z |= 2048);
|
|
83174
83174
|
var U = 0, X = 0;
|
|
83175
83175
|
L && (U |= 16), b === "UNIX" ? (X = 798, U |= function(te, J) {
|
|
83176
|
-
var
|
|
83177
|
-
return te || (
|
|
83176
|
+
var ie = te;
|
|
83177
|
+
return te || (ie = J ? 16893 : 33204), (65535 & ie) << 16;
|
|
83178
83178
|
}(w.unixPermissions, L)) : (X = 20, U |= function(te) {
|
|
83179
83179
|
return 63 & (te || 0);
|
|
83180
83180
|
}(w.dosPermissions)), F = $.getUTCHours(), F <<= 6, F |= $.getUTCMinutes(), F <<= 5, F |= $.getUTCSeconds() / 2, v = $.getUTCFullYear() - 1980, v <<= 4, v |= $.getUTCMonth() + 1, v <<= 5, v |= $.getUTCDate(), B && (j = i(1, 1) + i(c(E), 4) + A, N += "up" + i(j.length, 2) + j), C && (R = i(1, 1) + i(c(S), 4) + _, N += "uc" + i(R.length, 2) + R);
|
|
@@ -84405,132 +84405,132 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
84405
84405
|
};
|
|
84406
84406
|
}, {}], 46: [function(n, r, o) {
|
|
84407
84407
|
var i, s = n("../utils/common"), a = n("./trees"), l = n("./adler32"), u = n("./crc32"), c = n("./messages"), d = 0, p = 4, h = 0, f = -2, g = -1, m = 4, b = 2, y = 8, F = 9, v = 286, w = 30, D = 19, k = 2 * v + 1, E = 15, A = 3, O = 258, S = O + A + 1, _ = 42, B = 113, C = 1, N = 2, j = 3, R = 4;
|
|
84408
|
-
function L(M,
|
|
84409
|
-
return M.msg = c[
|
|
84408
|
+
function L(M, se) {
|
|
84409
|
+
return M.msg = c[se], se;
|
|
84410
84410
|
}
|
|
84411
84411
|
function $(M) {
|
|
84412
84412
|
return (M << 1) - (4 < M ? 9 : 0);
|
|
84413
84413
|
}
|
|
84414
84414
|
function H(M) {
|
|
84415
|
-
for (var
|
|
84415
|
+
for (var se = M.length; 0 <= --se; ) M[se] = 0;
|
|
84416
84416
|
}
|
|
84417
84417
|
function z(M) {
|
|
84418
|
-
var
|
|
84419
|
-
|
|
84418
|
+
var se = M.state, oe = se.pending;
|
|
84419
|
+
oe > M.avail_out && (oe = M.avail_out), oe !== 0 && (s.arraySet(M.output, se.pending_buf, se.pending_out, oe, M.next_out), M.next_out += oe, se.pending_out += oe, M.total_out += oe, M.avail_out -= oe, se.pending -= oe, se.pending === 0 && (se.pending_out = 0));
|
|
84420
84420
|
}
|
|
84421
|
-
function U(M,
|
|
84422
|
-
a._tr_flush_block(M, 0 <= M.block_start ? M.block_start : -1, M.strstart - M.block_start,
|
|
84421
|
+
function U(M, se) {
|
|
84422
|
+
a._tr_flush_block(M, 0 <= M.block_start ? M.block_start : -1, M.strstart - M.block_start, se), M.block_start = M.strstart, z(M.strm);
|
|
84423
84423
|
}
|
|
84424
|
-
function X(M,
|
|
84425
|
-
M.pending_buf[M.pending++] =
|
|
84424
|
+
function X(M, se) {
|
|
84425
|
+
M.pending_buf[M.pending++] = se;
|
|
84426
84426
|
}
|
|
84427
|
-
function ae(M,
|
|
84428
|
-
M.pending_buf[M.pending++] =
|
|
84427
|
+
function ae(M, se) {
|
|
84428
|
+
M.pending_buf[M.pending++] = se >>> 8 & 255, M.pending_buf[M.pending++] = 255 & se;
|
|
84429
84429
|
}
|
|
84430
|
-
function te(M,
|
|
84431
|
-
var
|
|
84430
|
+
function te(M, se) {
|
|
84431
|
+
var oe, Y, Q = M.max_chain_length, le = M.strstart, ge = M.prev_length, De = M.nice_match, ye = M.strstart > M.w_size - S ? M.strstart - (M.w_size - S) : 0, pe = M.window, de = M.w_mask, fe = M.prev, I = M.strstart + O, W = pe[le + ge - 1], ee = pe[le + ge];
|
|
84432
84432
|
M.prev_length >= M.good_match && (Q >>= 2), De > M.lookahead && (De = M.lookahead);
|
|
84433
84433
|
do
|
|
84434
|
-
if (pe[(
|
|
84435
|
-
le += 2,
|
|
84434
|
+
if (pe[(oe = se) + ge] === ee && pe[oe + ge - 1] === W && pe[oe] === pe[le] && pe[++oe] === pe[le + 1]) {
|
|
84435
|
+
le += 2, oe++;
|
|
84436
84436
|
do
|
|
84437
84437
|
;
|
|
84438
|
-
while (pe[++le] === pe[++
|
|
84438
|
+
while (pe[++le] === pe[++oe] && pe[++le] === pe[++oe] && pe[++le] === pe[++oe] && pe[++le] === pe[++oe] && pe[++le] === pe[++oe] && pe[++le] === pe[++oe] && pe[++le] === pe[++oe] && pe[++le] === pe[++oe] && le < I);
|
|
84439
84439
|
if (Y = O - (I - le), le = I - O, ge < Y) {
|
|
84440
|
-
if (M.match_start =
|
|
84440
|
+
if (M.match_start = se, De <= (ge = Y)) break;
|
|
84441
84441
|
W = pe[le + ge - 1], ee = pe[le + ge];
|
|
84442
84442
|
}
|
|
84443
84443
|
}
|
|
84444
|
-
while ((
|
|
84444
|
+
while ((se = fe[se & de]) > ye && --Q != 0);
|
|
84445
84445
|
return ge <= M.lookahead ? ge : M.lookahead;
|
|
84446
84446
|
}
|
|
84447
84447
|
function J(M) {
|
|
84448
|
-
var
|
|
84448
|
+
var se, oe, Y, Q, le, ge, De, ye, pe, de, fe = M.w_size;
|
|
84449
84449
|
do {
|
|
84450
84450
|
if (Q = M.window_size - M.lookahead - M.strstart, M.strstart >= fe + (fe - S)) {
|
|
84451
|
-
for (s.arraySet(M.window, M.window, fe, fe, 0), M.match_start -= fe, M.strstart -= fe, M.block_start -= fe,
|
|
84452
|
-
for (
|
|
84451
|
+
for (s.arraySet(M.window, M.window, fe, fe, 0), M.match_start -= fe, M.strstart -= fe, M.block_start -= fe, se = oe = M.hash_size; Y = M.head[--se], M.head[se] = fe <= Y ? Y - fe : 0, --oe; ) ;
|
|
84452
|
+
for (se = oe = fe; Y = M.prev[--se], M.prev[se] = fe <= Y ? Y - fe : 0, --oe; ) ;
|
|
84453
84453
|
Q += fe;
|
|
84454
84454
|
}
|
|
84455
84455
|
if (M.strm.avail_in === 0) break;
|
|
84456
|
-
if (ge = M.strm, De = M.window, ye = M.strstart + M.lookahead, pe = Q, de = void 0, de = ge.avail_in, pe < de && (de = pe),
|
|
84456
|
+
if (ge = M.strm, De = M.window, ye = M.strstart + M.lookahead, pe = Q, de = void 0, de = ge.avail_in, pe < de && (de = pe), oe = de === 0 ? 0 : (ge.avail_in -= de, s.arraySet(De, ge.input, ge.next_in, de, ye), ge.state.wrap === 1 ? ge.adler = l(ge.adler, De, de, ye) : ge.state.wrap === 2 && (ge.adler = u(ge.adler, De, de, ye)), ge.next_in += de, ge.total_in += de, de), M.lookahead += oe, M.lookahead + M.insert >= A) for (le = M.strstart - M.insert, M.ins_h = M.window[le], M.ins_h = (M.ins_h << M.hash_shift ^ M.window[le + 1]) & M.hash_mask; M.insert && (M.ins_h = (M.ins_h << M.hash_shift ^ M.window[le + A - 1]) & M.hash_mask, M.prev[le & M.w_mask] = M.head[M.ins_h], M.head[M.ins_h] = le, le++, M.insert--, !(M.lookahead + M.insert < A)); ) ;
|
|
84457
84457
|
} while (M.lookahead < S && M.strm.avail_in !== 0);
|
|
84458
84458
|
}
|
|
84459
|
-
function
|
|
84460
|
-
for (var
|
|
84459
|
+
function ie(M, se) {
|
|
84460
|
+
for (var oe, Y; ; ) {
|
|
84461
84461
|
if (M.lookahead < S) {
|
|
84462
|
-
if (J(M), M.lookahead < S &&
|
|
84462
|
+
if (J(M), M.lookahead < S && se === d) return C;
|
|
84463
84463
|
if (M.lookahead === 0) break;
|
|
84464
84464
|
}
|
|
84465
|
-
if (
|
|
84466
|
-
for (M.match_length--; M.strstart++, M.ins_h = (M.ins_h << M.hash_shift ^ M.window[M.strstart + A - 1]) & M.hash_mask,
|
|
84465
|
+
if (oe = 0, M.lookahead >= A && (M.ins_h = (M.ins_h << M.hash_shift ^ M.window[M.strstart + A - 1]) & M.hash_mask, oe = M.prev[M.strstart & M.w_mask] = M.head[M.ins_h], M.head[M.ins_h] = M.strstart), oe !== 0 && M.strstart - oe <= M.w_size - S && (M.match_length = te(M, oe)), M.match_length >= A) if (Y = a._tr_tally(M, M.strstart - M.match_start, M.match_length - A), M.lookahead -= M.match_length, M.match_length <= M.max_lazy_match && M.lookahead >= A) {
|
|
84466
|
+
for (M.match_length--; M.strstart++, M.ins_h = (M.ins_h << M.hash_shift ^ M.window[M.strstart + A - 1]) & M.hash_mask, oe = M.prev[M.strstart & M.w_mask] = M.head[M.ins_h], M.head[M.ins_h] = M.strstart, --M.match_length != 0; ) ;
|
|
84467
84467
|
M.strstart++;
|
|
84468
84468
|
} else M.strstart += M.match_length, M.match_length = 0, M.ins_h = M.window[M.strstart], M.ins_h = (M.ins_h << M.hash_shift ^ M.window[M.strstart + 1]) & M.hash_mask;
|
|
84469
84469
|
else Y = a._tr_tally(M, 0, M.window[M.strstart]), M.lookahead--, M.strstart++;
|
|
84470
84470
|
if (Y && (U(M, !1), M.strm.avail_out === 0)) return C;
|
|
84471
84471
|
}
|
|
84472
|
-
return M.insert = M.strstart < A - 1 ? M.strstart : A - 1,
|
|
84472
|
+
return M.insert = M.strstart < A - 1 ? M.strstart : A - 1, se === p ? (U(M, !0), M.strm.avail_out === 0 ? j : R) : M.last_lit && (U(M, !1), M.strm.avail_out === 0) ? C : N;
|
|
84473
84473
|
}
|
|
84474
|
-
function K(M,
|
|
84475
|
-
for (var
|
|
84474
|
+
function K(M, se) {
|
|
84475
|
+
for (var oe, Y, Q; ; ) {
|
|
84476
84476
|
if (M.lookahead < S) {
|
|
84477
|
-
if (J(M), M.lookahead < S &&
|
|
84477
|
+
if (J(M), M.lookahead < S && se === d) return C;
|
|
84478
84478
|
if (M.lookahead === 0) break;
|
|
84479
84479
|
}
|
|
84480
|
-
if (
|
|
84481
|
-
for (Q = M.strstart + M.lookahead - A, Y = a._tr_tally(M, M.strstart - 1 - M.prev_match, M.prev_length - A), M.lookahead -= M.prev_length - 1, M.prev_length -= 2; ++M.strstart <= Q && (M.ins_h = (M.ins_h << M.hash_shift ^ M.window[M.strstart + A - 1]) & M.hash_mask,
|
|
84480
|
+
if (oe = 0, M.lookahead >= A && (M.ins_h = (M.ins_h << M.hash_shift ^ M.window[M.strstart + A - 1]) & M.hash_mask, oe = M.prev[M.strstart & M.w_mask] = M.head[M.ins_h], M.head[M.ins_h] = M.strstart), M.prev_length = M.match_length, M.prev_match = M.match_start, M.match_length = A - 1, oe !== 0 && M.prev_length < M.max_lazy_match && M.strstart - oe <= M.w_size - S && (M.match_length = te(M, oe), M.match_length <= 5 && (M.strategy === 1 || M.match_length === A && 4096 < M.strstart - M.match_start) && (M.match_length = A - 1)), M.prev_length >= A && M.match_length <= M.prev_length) {
|
|
84481
|
+
for (Q = M.strstart + M.lookahead - A, Y = a._tr_tally(M, M.strstart - 1 - M.prev_match, M.prev_length - A), M.lookahead -= M.prev_length - 1, M.prev_length -= 2; ++M.strstart <= Q && (M.ins_h = (M.ins_h << M.hash_shift ^ M.window[M.strstart + A - 1]) & M.hash_mask, oe = M.prev[M.strstart & M.w_mask] = M.head[M.ins_h], M.head[M.ins_h] = M.strstart), --M.prev_length != 0; ) ;
|
|
84482
84482
|
if (M.match_available = 0, M.match_length = A - 1, M.strstart++, Y && (U(M, !1), M.strm.avail_out === 0)) return C;
|
|
84483
84483
|
} else if (M.match_available) {
|
|
84484
84484
|
if ((Y = a._tr_tally(M, 0, M.window[M.strstart - 1])) && U(M, !1), M.strstart++, M.lookahead--, M.strm.avail_out === 0) return C;
|
|
84485
84485
|
} else M.match_available = 1, M.strstart++, M.lookahead--;
|
|
84486
84486
|
}
|
|
84487
|
-
return M.match_available && (Y = a._tr_tally(M, 0, M.window[M.strstart - 1]), M.match_available = 0), M.insert = M.strstart < A - 1 ? M.strstart : A - 1,
|
|
84487
|
+
return M.match_available && (Y = a._tr_tally(M, 0, M.window[M.strstart - 1]), M.match_available = 0), M.insert = M.strstart < A - 1 ? M.strstart : A - 1, se === p ? (U(M, !0), M.strm.avail_out === 0 ? j : R) : M.last_lit && (U(M, !1), M.strm.avail_out === 0) ? C : N;
|
|
84488
84488
|
}
|
|
84489
|
-
function Z(M,
|
|
84490
|
-
this.good_length = M, this.max_lazy =
|
|
84489
|
+
function Z(M, se, oe, Y, Q) {
|
|
84490
|
+
this.good_length = M, this.max_lazy = se, this.nice_length = oe, this.max_chain = Y, this.func = Q;
|
|
84491
84491
|
}
|
|
84492
84492
|
function T() {
|
|
84493
84493
|
this.strm = null, this.status = 0, this.pending_buf = null, this.pending_buf_size = 0, this.pending_out = 0, this.pending = 0, this.wrap = 0, this.gzhead = null, this.gzindex = 0, this.method = y, this.last_flush = -1, this.w_size = 0, this.w_bits = 0, this.w_mask = 0, this.window = null, this.window_size = 0, this.prev = null, this.head = null, this.ins_h = 0, this.hash_size = 0, this.hash_bits = 0, this.hash_mask = 0, this.hash_shift = 0, this.block_start = 0, this.match_length = 0, this.prev_match = 0, this.match_available = 0, this.strstart = 0, this.match_start = 0, this.lookahead = 0, this.prev_length = 0, this.max_chain_length = 0, this.max_lazy_match = 0, this.level = 0, this.strategy = 0, this.good_match = 0, this.nice_match = 0, this.dyn_ltree = new s.Buf16(2 * k), this.dyn_dtree = new s.Buf16(2 * (2 * w + 1)), this.bl_tree = new s.Buf16(2 * (2 * D + 1)), H(this.dyn_ltree), H(this.dyn_dtree), H(this.bl_tree), this.l_desc = null, this.d_desc = null, this.bl_desc = null, this.bl_count = new s.Buf16(E + 1), this.heap = new s.Buf16(2 * v + 1), H(this.heap), this.heap_len = 0, this.heap_max = 0, this.depth = new s.Buf16(2 * v + 1), H(this.depth), this.l_buf = 0, this.lit_bufsize = 0, this.last_lit = 0, this.d_buf = 0, this.opt_len = 0, this.static_len = 0, this.matches = 0, this.insert = 0, this.bi_buf = 0, this.bi_valid = 0;
|
|
84494
84494
|
}
|
|
84495
84495
|
function V(M) {
|
|
84496
|
-
var
|
|
84497
|
-
return M && M.state ? (M.total_in = M.total_out = 0, M.data_type = b, (
|
|
84496
|
+
var se;
|
|
84497
|
+
return M && M.state ? (M.total_in = M.total_out = 0, M.data_type = b, (se = M.state).pending = 0, se.pending_out = 0, se.wrap < 0 && (se.wrap = -se.wrap), se.status = se.wrap ? _ : B, M.adler = se.wrap === 2 ? 0 : 1, se.last_flush = d, a._tr_init(se), h) : L(M, f);
|
|
84498
84498
|
}
|
|
84499
84499
|
function G(M) {
|
|
84500
|
-
var
|
|
84501
|
-
return
|
|
84502
|
-
|
|
84503
|
-
}(M.state),
|
|
84500
|
+
var se = V(M);
|
|
84501
|
+
return se === h && function(oe) {
|
|
84502
|
+
oe.window_size = 2 * oe.w_size, H(oe.head), oe.max_lazy_match = i[oe.level].max_lazy, oe.good_match = i[oe.level].good_length, oe.nice_match = i[oe.level].nice_length, oe.max_chain_length = i[oe.level].max_chain, oe.strstart = 0, oe.block_start = 0, oe.lookahead = 0, oe.insert = 0, oe.match_length = oe.prev_length = A - 1, oe.match_available = 0, oe.ins_h = 0;
|
|
84503
|
+
}(M.state), se;
|
|
84504
84504
|
}
|
|
84505
|
-
function re(M,
|
|
84505
|
+
function re(M, se, oe, Y, Q, le) {
|
|
84506
84506
|
if (!M) return f;
|
|
84507
84507
|
var ge = 1;
|
|
84508
|
-
if (
|
|
84508
|
+
if (se === g && (se = 6), Y < 0 ? (ge = 0, Y = -Y) : 15 < Y && (ge = 2, Y -= 16), Q < 1 || F < Q || oe !== y || Y < 8 || 15 < Y || se < 0 || 9 < se || le < 0 || m < le) return L(M, f);
|
|
84509
84509
|
Y === 8 && (Y = 9);
|
|
84510
84510
|
var De = new T();
|
|
84511
|
-
return (M.state = De).strm = M, De.wrap = ge, De.gzhead = null, De.w_bits = Y, De.w_size = 1 << De.w_bits, De.w_mask = De.w_size - 1, De.hash_bits = Q + 7, De.hash_size = 1 << De.hash_bits, De.hash_mask = De.hash_size - 1, De.hash_shift = ~~((De.hash_bits + A - 1) / A), De.window = new s.Buf8(2 * De.w_size), De.head = new s.Buf16(De.hash_size), De.prev = new s.Buf16(De.w_size), De.lit_bufsize = 1 << Q + 6, De.pending_buf_size = 4 * De.lit_bufsize, De.pending_buf = new s.Buf8(De.pending_buf_size), De.d_buf = 1 * De.lit_bufsize, De.l_buf = 3 * De.lit_bufsize, De.level =
|
|
84511
|
+
return (M.state = De).strm = M, De.wrap = ge, De.gzhead = null, De.w_bits = Y, De.w_size = 1 << De.w_bits, De.w_mask = De.w_size - 1, De.hash_bits = Q + 7, De.hash_size = 1 << De.hash_bits, De.hash_mask = De.hash_size - 1, De.hash_shift = ~~((De.hash_bits + A - 1) / A), De.window = new s.Buf8(2 * De.w_size), De.head = new s.Buf16(De.hash_size), De.prev = new s.Buf16(De.w_size), De.lit_bufsize = 1 << Q + 6, De.pending_buf_size = 4 * De.lit_bufsize, De.pending_buf = new s.Buf8(De.pending_buf_size), De.d_buf = 1 * De.lit_bufsize, De.l_buf = 3 * De.lit_bufsize, De.level = se, De.strategy = le, De.method = oe, G(M);
|
|
84512
84512
|
}
|
|
84513
|
-
i = [new Z(0, 0, 0, 0, function(M,
|
|
84514
|
-
var
|
|
84515
|
-
for (
|
|
84513
|
+
i = [new Z(0, 0, 0, 0, function(M, se) {
|
|
84514
|
+
var oe = 65535;
|
|
84515
|
+
for (oe > M.pending_buf_size - 5 && (oe = M.pending_buf_size - 5); ; ) {
|
|
84516
84516
|
if (M.lookahead <= 1) {
|
|
84517
|
-
if (J(M), M.lookahead === 0 &&
|
|
84517
|
+
if (J(M), M.lookahead === 0 && se === d) return C;
|
|
84518
84518
|
if (M.lookahead === 0) break;
|
|
84519
84519
|
}
|
|
84520
84520
|
M.strstart += M.lookahead, M.lookahead = 0;
|
|
84521
|
-
var Y = M.block_start +
|
|
84521
|
+
var Y = M.block_start + oe;
|
|
84522
84522
|
if ((M.strstart === 0 || M.strstart >= Y) && (M.lookahead = M.strstart - Y, M.strstart = Y, U(M, !1), M.strm.avail_out === 0) || M.strstart - M.block_start >= M.w_size - S && (U(M, !1), M.strm.avail_out === 0)) return C;
|
|
84523
84523
|
}
|
|
84524
|
-
return M.insert = 0,
|
|
84525
|
-
}), new Z(4, 4, 8, 4,
|
|
84526
|
-
return re(M,
|
|
84527
|
-
}, o.deflateInit2 = re, o.deflateReset = G, o.deflateResetKeep = V, o.deflateSetHeader = function(M,
|
|
84528
|
-
return M && M.state ? M.state.wrap !== 2 ? f : (M.state.gzhead =
|
|
84529
|
-
}, o.deflate = function(M,
|
|
84530
|
-
var
|
|
84531
|
-
if (!M || !M.state || 5 <
|
|
84532
|
-
if (Y = M.state, !M.output || !M.input && M.avail_in !== 0 || Y.status === 666 &&
|
|
84533
|
-
if (Y.strm = M,
|
|
84524
|
+
return M.insert = 0, se === p ? (U(M, !0), M.strm.avail_out === 0 ? j : R) : (M.strstart > M.block_start && (U(M, !1), M.strm.avail_out), C);
|
|
84525
|
+
}), new Z(4, 4, 8, 4, ie), new Z(4, 5, 16, 8, ie), new Z(4, 6, 32, 32, ie), new Z(4, 4, 16, 16, K), new Z(8, 16, 32, 32, K), new Z(8, 16, 128, 128, K), new Z(8, 32, 128, 256, K), new Z(32, 128, 258, 1024, K), new Z(32, 258, 258, 4096, K)], o.deflateInit = function(M, se) {
|
|
84526
|
+
return re(M, se, y, 15, 8, 0);
|
|
84527
|
+
}, o.deflateInit2 = re, o.deflateReset = G, o.deflateResetKeep = V, o.deflateSetHeader = function(M, se) {
|
|
84528
|
+
return M && M.state ? M.state.wrap !== 2 ? f : (M.state.gzhead = se, h) : f;
|
|
84529
|
+
}, o.deflate = function(M, se) {
|
|
84530
|
+
var oe, Y, Q, le;
|
|
84531
|
+
if (!M || !M.state || 5 < se || se < 0) return M ? L(M, f) : f;
|
|
84532
|
+
if (Y = M.state, !M.output || !M.input && M.avail_in !== 0 || Y.status === 666 && se !== p) return L(M, M.avail_out === 0 ? -5 : f);
|
|
84533
|
+
if (Y.strm = M, oe = Y.last_flush, Y.last_flush = se, Y.status === _) if (Y.wrap === 2) M.adler = 0, X(Y, 31), X(Y, 139), X(Y, 8), Y.gzhead ? (X(Y, (Y.gzhead.text ? 1 : 0) + (Y.gzhead.hcrc ? 2 : 0) + (Y.gzhead.extra ? 4 : 0) + (Y.gzhead.name ? 8 : 0) + (Y.gzhead.comment ? 16 : 0)), X(Y, 255 & Y.gzhead.time), X(Y, Y.gzhead.time >> 8 & 255), X(Y, Y.gzhead.time >> 16 & 255), X(Y, Y.gzhead.time >> 24 & 255), X(Y, Y.level === 9 ? 2 : 2 <= Y.strategy || Y.level < 2 ? 4 : 0), X(Y, 255 & Y.gzhead.os), Y.gzhead.extra && Y.gzhead.extra.length && (X(Y, 255 & Y.gzhead.extra.length), X(Y, Y.gzhead.extra.length >> 8 & 255)), Y.gzhead.hcrc && (M.adler = u(M.adler, Y.pending_buf, Y.pending, 0)), Y.gzindex = 0, Y.status = 69) : (X(Y, 0), X(Y, 0), X(Y, 0), X(Y, 0), X(Y, 0), X(Y, Y.level === 9 ? 2 : 2 <= Y.strategy || Y.level < 2 ? 4 : 0), X(Y, 3), Y.status = B);
|
|
84534
84534
|
else {
|
|
84535
84535
|
var ge = y + (Y.w_bits - 8 << 4) << 8;
|
|
84536
84536
|
ge |= (2 <= Y.strategy || Y.level < 2 ? 0 : Y.level < 6 ? 1 : Y.level === 6 ? 2 : 3) << 6, Y.strstart !== 0 && (ge |= 32), ge += 31 - ge % 31, Y.status = B, ae(Y, ge), Y.strstart !== 0 && (ae(Y, M.adler >>> 16), ae(Y, 65535 & M.adler)), M.adler = 1;
|
|
@@ -84563,9 +84563,9 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
84563
84563
|
} else Y.status = 103;
|
|
84564
84564
|
if (Y.status === 103 && (Y.gzhead.hcrc ? (Y.pending + 2 > Y.pending_buf_size && z(M), Y.pending + 2 <= Y.pending_buf_size && (X(Y, 255 & M.adler), X(Y, M.adler >> 8 & 255), M.adler = 0, Y.status = B)) : Y.status = B), Y.pending !== 0) {
|
|
84565
84565
|
if (z(M), M.avail_out === 0) return Y.last_flush = -1, h;
|
|
84566
|
-
} else if (M.avail_in === 0 && $(
|
|
84566
|
+
} else if (M.avail_in === 0 && $(se) <= $(oe) && se !== p) return L(M, -5);
|
|
84567
84567
|
if (Y.status === 666 && M.avail_in !== 0) return L(M, -5);
|
|
84568
|
-
if (M.avail_in !== 0 || Y.lookahead !== 0 ||
|
|
84568
|
+
if (M.avail_in !== 0 || Y.lookahead !== 0 || se !== d && Y.status !== 666) {
|
|
84569
84569
|
var De = Y.strategy === 2 ? function(ye, pe) {
|
|
84570
84570
|
for (var de; ; ) {
|
|
84571
84571
|
if (ye.lookahead === 0 && (J(ye), ye.lookahead === 0)) {
|
|
@@ -84575,7 +84575,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
84575
84575
|
if (ye.match_length = 0, de = a._tr_tally(ye, 0, ye.window[ye.strstart]), ye.lookahead--, ye.strstart++, de && (U(ye, !1), ye.strm.avail_out === 0)) return C;
|
|
84576
84576
|
}
|
|
84577
84577
|
return ye.insert = 0, pe === p ? (U(ye, !0), ye.strm.avail_out === 0 ? j : R) : ye.last_lit && (U(ye, !1), ye.strm.avail_out === 0) ? C : N;
|
|
84578
|
-
}(Y,
|
|
84578
|
+
}(Y, se) : Y.strategy === 3 ? function(ye, pe) {
|
|
84579
84579
|
for (var de, fe, I, W, ee = ye.window; ; ) {
|
|
84580
84580
|
if (ye.lookahead <= O) {
|
|
84581
84581
|
if (J(ye), ye.lookahead <= O && pe === d) return C;
|
|
@@ -84591,22 +84591,22 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
84591
84591
|
if (ye.match_length >= A ? (de = a._tr_tally(ye, 1, ye.match_length - A), ye.lookahead -= ye.match_length, ye.strstart += ye.match_length, ye.match_length = 0) : (de = a._tr_tally(ye, 0, ye.window[ye.strstart]), ye.lookahead--, ye.strstart++), de && (U(ye, !1), ye.strm.avail_out === 0)) return C;
|
|
84592
84592
|
}
|
|
84593
84593
|
return ye.insert = 0, pe === p ? (U(ye, !0), ye.strm.avail_out === 0 ? j : R) : ye.last_lit && (U(ye, !1), ye.strm.avail_out === 0) ? C : N;
|
|
84594
|
-
}(Y,
|
|
84594
|
+
}(Y, se) : i[Y.level].func(Y, se);
|
|
84595
84595
|
if (De !== j && De !== R || (Y.status = 666), De === C || De === j) return M.avail_out === 0 && (Y.last_flush = -1), h;
|
|
84596
|
-
if (De === N && (
|
|
84596
|
+
if (De === N && (se === 1 ? a._tr_align(Y) : se !== 5 && (a._tr_stored_block(Y, 0, 0, !1), se === 3 && (H(Y.head), Y.lookahead === 0 && (Y.strstart = 0, Y.block_start = 0, Y.insert = 0))), z(M), M.avail_out === 0)) return Y.last_flush = -1, h;
|
|
84597
84597
|
}
|
|
84598
|
-
return
|
|
84598
|
+
return se !== p ? h : Y.wrap <= 0 ? 1 : (Y.wrap === 2 ? (X(Y, 255 & M.adler), X(Y, M.adler >> 8 & 255), X(Y, M.adler >> 16 & 255), X(Y, M.adler >> 24 & 255), X(Y, 255 & M.total_in), X(Y, M.total_in >> 8 & 255), X(Y, M.total_in >> 16 & 255), X(Y, M.total_in >> 24 & 255)) : (ae(Y, M.adler >>> 16), ae(Y, 65535 & M.adler)), z(M), 0 < Y.wrap && (Y.wrap = -Y.wrap), Y.pending !== 0 ? h : 1);
|
|
84599
84599
|
}, o.deflateEnd = function(M) {
|
|
84600
|
-
var
|
|
84601
|
-
return M && M.state ? (
|
|
84602
|
-
}, o.deflateSetDictionary = function(M,
|
|
84603
|
-
var
|
|
84604
|
-
if (!M || !M.state || (le = (
|
|
84605
|
-
for (le === 1 && (M.adler = l(M.adler,
|
|
84606
|
-
for (Y =
|
|
84607
|
-
|
|
84608
|
-
}
|
|
84609
|
-
return
|
|
84600
|
+
var se;
|
|
84601
|
+
return M && M.state ? (se = M.state.status) !== _ && se !== 69 && se !== 73 && se !== 91 && se !== 103 && se !== B && se !== 666 ? L(M, f) : (M.state = null, se === B ? L(M, -3) : h) : f;
|
|
84602
|
+
}, o.deflateSetDictionary = function(M, se) {
|
|
84603
|
+
var oe, Y, Q, le, ge, De, ye, pe, de = se.length;
|
|
84604
|
+
if (!M || !M.state || (le = (oe = M.state).wrap) === 2 || le === 1 && oe.status !== _ || oe.lookahead) return f;
|
|
84605
|
+
for (le === 1 && (M.adler = l(M.adler, se, de, 0)), oe.wrap = 0, de >= oe.w_size && (le === 0 && (H(oe.head), oe.strstart = 0, oe.block_start = 0, oe.insert = 0), pe = new s.Buf8(oe.w_size), s.arraySet(pe, se, de - oe.w_size, oe.w_size, 0), se = pe, de = oe.w_size), ge = M.avail_in, De = M.next_in, ye = M.input, M.avail_in = de, M.next_in = 0, M.input = se, J(oe); oe.lookahead >= A; ) {
|
|
84606
|
+
for (Y = oe.strstart, Q = oe.lookahead - (A - 1); oe.ins_h = (oe.ins_h << oe.hash_shift ^ oe.window[Y + A - 1]) & oe.hash_mask, oe.prev[Y & oe.w_mask] = oe.head[oe.ins_h], oe.head[oe.ins_h] = Y, Y++, --Q; ) ;
|
|
84607
|
+
oe.strstart = Y, oe.lookahead = A - 1, J(oe);
|
|
84608
|
+
}
|
|
84609
|
+
return oe.strstart += oe.lookahead, oe.block_start = oe.strstart, oe.insert = oe.lookahead, oe.lookahead = 0, oe.match_length = oe.prev_length = A - 1, oe.match_available = 0, M.next_in = De, M.input = ye, M.avail_in = ge, oe.wrap = le, h;
|
|
84610
84610
|
}, o.deflateInfo = "pako deflate (from Nodeca project)";
|
|
84611
84611
|
}, { "../utils/common": 41, "./adler32": 43, "./crc32": 45, "./messages": 51, "./trees": 52 }], 47: [function(n, r, o) {
|
|
84612
84612
|
r.exports = function() {
|
|
@@ -84727,9 +84727,9 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
84727
84727
|
o.inflateReset = v, o.inflateReset2 = w, o.inflateResetKeep = F, o.inflateInit = function(_) {
|
|
84728
84728
|
return D(_, 15);
|
|
84729
84729
|
}, o.inflateInit2 = D, o.inflate = function(_, B) {
|
|
84730
|
-
var C, N, j, R, L, $, H, z, U, X, ae, te, J,
|
|
84730
|
+
var C, N, j, R, L, $, H, z, U, X, ae, te, J, ie, K, Z, T, V, G, re, M, se, oe, Y, Q = 0, le = new i.Buf8(4), ge = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15];
|
|
84731
84731
|
if (!_ || !_.state || !_.output || !_.input && _.avail_in !== 0) return h;
|
|
84732
|
-
(C = _.state).mode === 12 && (C.mode = 13), L = _.next_out, j = _.output, H = _.avail_out, R = _.next_in, N = _.input, $ = _.avail_in, z = C.hold, U = C.bits, X = $, ae = H,
|
|
84732
|
+
(C = _.state).mode === 12 && (C.mode = 13), L = _.next_out, j = _.output, H = _.avail_out, R = _.next_in, N = _.input, $ = _.avail_in, z = C.hold, U = C.bits, X = $, ae = H, se = p;
|
|
84733
84733
|
e: for (; ; ) switch (C.mode) {
|
|
84734
84734
|
case f:
|
|
84735
84735
|
if (C.wrap === 0) {
|
|
@@ -84900,7 +84900,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
84900
84900
|
C.lens[ge[C.have++]] = 7 & z, z >>>= 3, U -= 3;
|
|
84901
84901
|
}
|
|
84902
84902
|
for (; C.have < 19; ) C.lens[ge[C.have++]] = 0;
|
|
84903
|
-
if (C.lencode = C.lendyn, C.lenbits = 7,
|
|
84903
|
+
if (C.lencode = C.lendyn, C.lenbits = 7, oe = { bits: C.lenbits }, se = u(0, C.lens, 0, 19, C.lencode, 0, C.work, oe), C.lenbits = oe.bits, se) {
|
|
84904
84904
|
_.msg = "invalid code lengths set", C.mode = 30;
|
|
84905
84905
|
break;
|
|
84906
84906
|
}
|
|
@@ -84948,11 +84948,11 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
84948
84948
|
_.msg = "invalid code -- missing end-of-block", C.mode = 30;
|
|
84949
84949
|
break;
|
|
84950
84950
|
}
|
|
84951
|
-
if (C.lenbits = 9,
|
|
84951
|
+
if (C.lenbits = 9, oe = { bits: C.lenbits }, se = u(c, C.lens, 0, C.nlen, C.lencode, 0, C.work, oe), C.lenbits = oe.bits, se) {
|
|
84952
84952
|
_.msg = "invalid literal/lengths set", C.mode = 30;
|
|
84953
84953
|
break;
|
|
84954
84954
|
}
|
|
84955
|
-
if (C.distbits = 6, C.distcode = C.distdyn,
|
|
84955
|
+
if (C.distbits = 6, C.distcode = C.distdyn, oe = { bits: C.distbits }, se = u(d, C.lens, C.nlen, C.ndist, C.distcode, 0, C.work, oe), C.distbits = oe.bits, se) {
|
|
84956
84956
|
_.msg = "invalid distances set", C.mode = 30;
|
|
84957
84957
|
break;
|
|
84958
84958
|
}
|
|
@@ -85034,9 +85034,9 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
85034
85034
|
_.msg = "invalid distance too far back", C.mode = 30;
|
|
85035
85035
|
break;
|
|
85036
85036
|
}
|
|
85037
|
-
J = te > C.wnext ? (te -= C.wnext, C.wsize - te) : C.wnext - te, te > C.length && (te = C.length),
|
|
85038
|
-
} else
|
|
85039
|
-
for (H < te && (te = H), H -= te, C.length -= te; j[L++] =
|
|
85037
|
+
J = te > C.wnext ? (te -= C.wnext, C.wsize - te) : C.wnext - te, te > C.length && (te = C.length), ie = C.window;
|
|
85038
|
+
} else ie = j, J = L - C.offset, te = C.length;
|
|
85039
|
+
for (H < te && (te = H), H -= te, C.length -= te; j[L++] = ie[J++], --te; ) ;
|
|
85040
85040
|
C.length === 0 && (C.mode = 21);
|
|
85041
85041
|
break;
|
|
85042
85042
|
case 26:
|
|
@@ -85070,10 +85070,10 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
85070
85070
|
}
|
|
85071
85071
|
C.mode = 29;
|
|
85072
85072
|
case 29:
|
|
85073
|
-
|
|
85073
|
+
se = 1;
|
|
85074
85074
|
break e;
|
|
85075
85075
|
case 30:
|
|
85076
|
-
|
|
85076
|
+
se = -3;
|
|
85077
85077
|
break e;
|
|
85078
85078
|
case 31:
|
|
85079
85079
|
return -4;
|
|
@@ -85081,7 +85081,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
85081
85081
|
default:
|
|
85082
85082
|
return h;
|
|
85083
85083
|
}
|
|
85084
|
-
return _.next_out = L, _.avail_out = H, _.next_in = R, _.avail_in = $, C.hold = z, C.bits = U, (C.wsize || ae !== _.avail_out && C.mode < 30 && (C.mode < 27 || B !== 4)) && S(_, _.output, _.next_out, ae - _.avail_out) ? (C.mode = 31, -4) : (X -= _.avail_in, ae -= _.avail_out, _.total_in += X, _.total_out += ae, C.total += ae, C.wrap && ae && (_.adler = C.check = C.flags ? a(C.check, j, ae, _.next_out - ae) : s(C.check, j, ae, _.next_out - ae)), _.data_type = C.bits + (C.last ? 64 : 0) + (C.mode === 12 ? 128 : 0) + (C.mode === 20 || C.mode === 15 ? 256 : 0), (X == 0 && ae === 0 || B === 4) &&
|
|
85084
|
+
return _.next_out = L, _.avail_out = H, _.next_in = R, _.avail_in = $, C.hold = z, C.bits = U, (C.wsize || ae !== _.avail_out && C.mode < 30 && (C.mode < 27 || B !== 4)) && S(_, _.output, _.next_out, ae - _.avail_out) ? (C.mode = 31, -4) : (X -= _.avail_in, ae -= _.avail_out, _.total_in += X, _.total_out += ae, C.total += ae, C.wrap && ae && (_.adler = C.check = C.flags ? a(C.check, j, ae, _.next_out - ae) : s(C.check, j, ae, _.next_out - ae)), _.data_type = C.bits + (C.last ? 64 : 0) + (C.mode === 12 ? 128 : 0) + (C.mode === 20 || C.mode === 15 ? 256 : 0), (X == 0 && ae === 0 || B === 4) && se === p && (se = -5), se);
|
|
85085
85085
|
}, o.inflateEnd = function(_) {
|
|
85086
85086
|
if (!_ || !_.state) return h;
|
|
85087
85087
|
var B = _.state;
|
|
@@ -85096,7 +85096,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
85096
85096
|
}, { "../utils/common": 41, "./adler32": 43, "./crc32": 45, "./inffast": 48, "./inftrees": 50 }], 50: [function(n, r, o) {
|
|
85097
85097
|
var i = n("../utils/common"), s = [3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27, 31, 35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258, 0, 0], a = [16, 16, 16, 16, 16, 16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 18, 19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 16, 72, 78], l = [1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193, 257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145, 8193, 12289, 16385, 24577, 0, 0], u = [16, 16, 16, 16, 17, 17, 18, 18, 19, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 24, 25, 25, 26, 26, 27, 27, 28, 28, 29, 29, 64, 64];
|
|
85098
85098
|
r.exports = function(c, d, p, h, f, g, m, b) {
|
|
85099
|
-
var y, F, v, w, D, k, E, A, O, S = b.bits, _ = 0, B = 0, C = 0, N = 0, j = 0, R = 0, L = 0, $ = 0, H = 0, z = 0, U = null, X = 0, ae = new i.Buf16(16), te = new i.Buf16(16), J = null,
|
|
85099
|
+
var y, F, v, w, D, k, E, A, O, S = b.bits, _ = 0, B = 0, C = 0, N = 0, j = 0, R = 0, L = 0, $ = 0, H = 0, z = 0, U = null, X = 0, ae = new i.Buf16(16), te = new i.Buf16(16), J = null, ie = 0;
|
|
85100
85100
|
for (_ = 0; _ <= 15; _++) ae[_] = 0;
|
|
85101
85101
|
for (B = 0; B < h; B++) ae[d[p + B]]++;
|
|
85102
85102
|
for (j = S, N = 15; 1 <= N && ae[N] === 0; N--) ;
|
|
@@ -85106,9 +85106,9 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
85106
85106
|
if (0 < $ && (c === 0 || N !== 1)) return -1;
|
|
85107
85107
|
for (te[1] = 0, _ = 1; _ < 15; _++) te[_ + 1] = te[_] + ae[_];
|
|
85108
85108
|
for (B = 0; B < h; B++) d[p + B] !== 0 && (m[te[d[p + B]]++] = B);
|
|
85109
|
-
if (k = c === 0 ? (U = J = m, 19) : c === 1 ? (U = s, X -= 257, J = a,
|
|
85109
|
+
if (k = c === 0 ? (U = J = m, 19) : c === 1 ? (U = s, X -= 257, J = a, ie -= 257, 256) : (U = l, J = u, -1), _ = C, D = g, L = B = z = 0, v = -1, w = (H = 1 << (R = j)) - 1, c === 1 && 852 < H || c === 2 && 592 < H) return 1;
|
|
85110
85110
|
for (; ; ) {
|
|
85111
|
-
for (E = _ - L, O = m[B] < k ? (A = 0, m[B]) : m[B] > k ? (A = J[
|
|
85111
|
+
for (E = _ - L, O = m[B] < k ? (A = 0, m[B]) : m[B] > k ? (A = J[ie + m[B]], U[X + m[B]]) : (A = 96, 0), y = 1 << _ - L, C = F = 1 << R; f[D + (z >> L) + (F -= y)] = E << 24 | A << 16 | O | 0, F !== 0; ) ;
|
|
85112
85112
|
for (y = 1 << _ - 1; z & y; ) y >>= 1;
|
|
85113
85113
|
if (y !== 0 ? (z &= y - 1, z += y) : z = 0, B++, --ae[_] == 0) {
|
|
85114
85114
|
if (_ === N) break;
|
|
@@ -85162,7 +85162,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
85162
85162
|
for (var ge = 0; ge |= 1 & Q, Q >>>= 1, ge <<= 1, 0 < --le; ) ;
|
|
85163
85163
|
return ge >>> 1;
|
|
85164
85164
|
}
|
|
85165
|
-
function
|
|
85165
|
+
function ie(Q, le, ge) {
|
|
85166
85166
|
var De, ye, pe = new Array(m + 1), de = 0;
|
|
85167
85167
|
for (De = 1; De <= m; De++) pe[De] = de = de + ge[De - 1] << 1;
|
|
85168
85168
|
for (ye = 0; ye <= le; ye++) {
|
|
@@ -85210,13 +85210,13 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
85210
85210
|
} while (0 < it);
|
|
85211
85211
|
for (Ee = xt; Ee !== 0; Ee--) for (xe = ee.bl_count[Ee]; xe !== 0; ) Le < (ke = ee.heap[--he]) || (Oe[2 * ke + 1] !== Ee && (ee.opt_len += (Ee - Oe[2 * ke + 1]) * Oe[2 * ke], Oe[2 * ke + 1] = Ee), xe--);
|
|
85212
85212
|
}
|
|
85213
|
-
}(Q, le),
|
|
85213
|
+
}(Q, le), ie(pe, W, Q.bl_count);
|
|
85214
85214
|
}
|
|
85215
85215
|
function M(Q, le, ge) {
|
|
85216
85216
|
var De, ye, pe = -1, de = le[1], fe = 0, I = 7, W = 4;
|
|
85217
85217
|
for (de === 0 && (I = 138, W = 3), le[2 * (ge + 1) + 1] = 65535, De = 0; De <= ge; De++) ye = de, de = le[2 * (De + 1) + 1], ++fe < I && ye === de || (fe < W ? Q.bl_tree[2 * ye] += fe : ye !== 0 ? (ye !== pe && Q.bl_tree[2 * ye]++, Q.bl_tree[2 * v]++) : fe <= 10 ? Q.bl_tree[2 * w]++ : Q.bl_tree[2 * D]++, pe = ye, W = (fe = 0) === de ? (I = 138, 3) : ye === de ? (I = 6, 3) : (I = 7, 4));
|
|
85218
85218
|
}
|
|
85219
|
-
function
|
|
85219
|
+
function se(Q, le, ge) {
|
|
85220
85220
|
var De, ye, pe = -1, de = le[1], fe = 0, I = 7, W = 4;
|
|
85221
85221
|
for (de === 0 && (I = 138, W = 3), De = 0; De <= ge; De++) if (ye = de, de = le[2 * (De + 1) + 1], !(++fe < I && ye === de)) {
|
|
85222
85222
|
if (fe < W) for (; te(Q, ye, Q.bl_tree), --fe != 0; ) ;
|
|
@@ -85225,14 +85225,14 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
85225
85225
|
}
|
|
85226
85226
|
}
|
|
85227
85227
|
l($);
|
|
85228
|
-
var
|
|
85228
|
+
var oe = !1;
|
|
85229
85229
|
function Y(Q, le, ge, De) {
|
|
85230
85230
|
ae(Q, (u << 1) + (De ? 1 : 0), 3), function(ye, pe, de, fe) {
|
|
85231
85231
|
Z(ye), X(ye, de), X(ye, ~de), i.arraySet(ye.pending_buf, ye.window, pe, de, ye.pending), ye.pending += de;
|
|
85232
85232
|
}(Q, le, ge);
|
|
85233
85233
|
}
|
|
85234
85234
|
o._tr_init = function(Q) {
|
|
85235
|
-
|
|
85235
|
+
oe || (function() {
|
|
85236
85236
|
var le, ge, De, ye, pe, de = new Array(m + 1);
|
|
85237
85237
|
for (ye = De = 0; ye < c - 1; ye++) for (N[ye] = De, le = 0; le < 1 << k[ye]; le++) C[De++] = ye;
|
|
85238
85238
|
for (C[De - 1] = ye, ye = pe = 0; ye < 16; ye++) for ($[ye] = pe, le = 0; le < 1 << E[ye]; le++) B[pe++] = ye;
|
|
@@ -85242,9 +85242,9 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
85242
85242
|
for (; le <= 255; ) S[2 * le + 1] = 9, le++, de[9]++;
|
|
85243
85243
|
for (; le <= 279; ) S[2 * le + 1] = 7, le++, de[7]++;
|
|
85244
85244
|
for (; le <= 287; ) S[2 * le + 1] = 8, le++, de[8]++;
|
|
85245
|
-
for (
|
|
85245
|
+
for (ie(S, p + 1, de), le = 0; le < h; le++) _[2 * le + 1] = 5, _[2 * le] = J(le, 5);
|
|
85246
85246
|
j = new H(S, k, d + 1, p, m), R = new H(_, E, 0, h, m), L = new H(new Array(0), A, 0, f, y);
|
|
85247
|
-
}(),
|
|
85247
|
+
}(), oe = !0), Q.l_desc = new z(Q.dyn_ltree, j), Q.d_desc = new z(Q.dyn_dtree, R), Q.bl_desc = new z(Q.bl_tree, L), Q.bi_buf = 0, Q.bi_valid = 0, K(Q);
|
|
85248
85248
|
}, o._tr_stored_block = Y, o._tr_flush_block = function(Q, le, ge, De) {
|
|
85249
85249
|
var ye, pe, de = 0;
|
|
85250
85250
|
0 < Q.level ? (Q.strm.data_type === 2 && (Q.strm.data_type = function(fe) {
|
|
@@ -85260,7 +85260,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
85260
85260
|
}(Q), ye = Q.opt_len + 3 + 7 >>> 3, (pe = Q.static_len + 3 + 7 >>> 3) <= ye && (ye = pe)) : ye = pe = ge + 5, ge + 4 <= ye && le !== -1 ? Y(Q, le, ge, De) : Q.strategy === 4 || pe === ye ? (ae(Q, 2 + (De ? 1 : 0), 3), G(Q, S, _)) : (ae(Q, 4 + (De ? 1 : 0), 3), function(fe, I, W, ee) {
|
|
85261
85261
|
var ue;
|
|
85262
85262
|
for (ae(fe, I - 257, 5), ae(fe, W - 1, 5), ae(fe, ee - 4, 4), ue = 0; ue < ee; ue++) ae(fe, fe.bl_tree[2 * O[ue] + 1], 3);
|
|
85263
|
-
|
|
85263
|
+
se(fe, fe.dyn_ltree, I - 1), se(fe, fe.dyn_dtree, W - 1);
|
|
85264
85264
|
}(Q, Q.l_desc.max_code + 1, Q.d_desc.max_code + 1, de + 1), G(Q, Q.dyn_ltree, Q.dyn_dtree)), K(Q), De && Z(Q);
|
|
85265
85265
|
}, o._tr_tally = function(Q, le, ge) {
|
|
85266
85266
|
return Q.pending_buf[Q.d_buf + 2 * Q.last_lit] = le >>> 8 & 255, Q.pending_buf[Q.d_buf + 2 * Q.last_lit + 1] = 255 & le, Q.pending_buf[Q.l_buf + Q.last_lit] = 255 & ge, Q.last_lit++, le === 0 ? Q.dyn_ltree[2 * ge]++ : (Q.matches++, le--, Q.dyn_ltree[2 * (C[ge] + d + 1)]++, Q.dyn_dtree[2 * U(le)]++), Q.last_lit === Q.lit_bufsize - 1;
|
|
@@ -91771,14 +91771,14 @@ function mI(e) {
|
|
|
91771
91771
|
}
|
|
91772
91772
|
function f(G) {
|
|
91773
91773
|
return v(G).map(function(re) {
|
|
91774
|
-
var M = G.firstOrEmpty("w:sz").attributes["w:val"],
|
|
91774
|
+
var M = G.firstOrEmpty("w:sz").attributes["w:val"], se = /^[0-9]+$/.test(M) ? parseInt(M, 10) / 2 : null;
|
|
91775
91775
|
return {
|
|
91776
91776
|
type: "runProperties",
|
|
91777
91777
|
styleId: re.styleId,
|
|
91778
91778
|
styleName: re.name,
|
|
91779
91779
|
verticalAlignment: G.firstOrEmpty("w:vertAlign").attributes["w:val"],
|
|
91780
91780
|
font: G.firstOrEmpty("w:rFonts").attributes["w:ascii"],
|
|
91781
|
-
fontSize:
|
|
91781
|
+
fontSize: se,
|
|
91782
91782
|
isBold: m(G.first("w:b")),
|
|
91783
91783
|
isUnderline: g(G.first("w:u")),
|
|
91784
91784
|
isItalic: m(G.first("w:i")),
|
|
@@ -91818,13 +91818,13 @@ function mI(e) {
|
|
|
91818
91818
|
function w(G) {
|
|
91819
91819
|
return D(G, "w:tblStyle", "Table", u.findTableStyleById);
|
|
91820
91820
|
}
|
|
91821
|
-
function D(G, re, M,
|
|
91822
|
-
var
|
|
91821
|
+
function D(G, re, M, se) {
|
|
91822
|
+
var oe = [], Y = G.first(re), Q = null, le = null;
|
|
91823
91823
|
if (Y && (Q = Y.attributes["w:val"], Q)) {
|
|
91824
|
-
var ge =
|
|
91825
|
-
ge ? le = ge.name :
|
|
91824
|
+
var ge = se(Q);
|
|
91825
|
+
ge ? le = ge.name : oe.push(V(M, Q));
|
|
91826
91826
|
}
|
|
91827
|
-
return p2({ styleId: Q, name: le },
|
|
91827
|
+
return p2({ styleId: Q, name: le }, oe);
|
|
91828
91828
|
}
|
|
91829
91829
|
function k(G) {
|
|
91830
91830
|
var re = G.attributes["w:fldCharType"];
|
|
@@ -91837,8 +91837,8 @@ function mI(e) {
|
|
|
91837
91837
|
checked: M.checked
|
|
91838
91838
|
}));
|
|
91839
91839
|
} else if (re === "separate") {
|
|
91840
|
-
var
|
|
91841
|
-
t.push(
|
|
91840
|
+
var se = t.pop(), oe = A(se);
|
|
91841
|
+
t.push(oe);
|
|
91842
91842
|
}
|
|
91843
91843
|
return Cp();
|
|
91844
91844
|
}
|
|
@@ -91858,11 +91858,11 @@ function mI(e) {
|
|
|
91858
91858
|
var M = /\s*HYPERLINK "(.*)"/.exec(G);
|
|
91859
91859
|
if (M)
|
|
91860
91860
|
return { type: "hyperlink", options: { href: M[1] } };
|
|
91861
|
-
var
|
|
91862
|
-
if (
|
|
91863
|
-
return { type: "hyperlink", options: { anchor:
|
|
91864
|
-
var
|
|
91865
|
-
if (
|
|
91861
|
+
var se = /\s*HYPERLINK\s+\\l\s+"(.*)"/.exec(G);
|
|
91862
|
+
if (se)
|
|
91863
|
+
return { type: "hyperlink", options: { anchor: se[1] } };
|
|
91864
|
+
var oe = /\s*FORMCHECKBOX\s*/.exec(G);
|
|
91865
|
+
if (oe) {
|
|
91866
91866
|
var Y = re.firstOrEmpty("w:ffData").firstOrEmpty("w:checkBox"), Q = Y.first("w:checked"), le = Q == null ? m(Y.first("w:default")) : m(Q);
|
|
91867
91867
|
return { type: "checkbox", checked: le };
|
|
91868
91868
|
}
|
|
@@ -91872,10 +91872,10 @@ function mI(e) {
|
|
|
91872
91872
|
return n.push(G.text()), Cp();
|
|
91873
91873
|
}
|
|
91874
91874
|
function _(G) {
|
|
91875
|
-
var re = G.attributes["w:font"], M = G.attributes["w:char"],
|
|
91876
|
-
return
|
|
91875
|
+
var re = G.attributes["w:font"], M = G.attributes["w:char"], se = hI.hex(re, M);
|
|
91876
|
+
return se == null && /^F0..$/.test(M) && (se = hI.hex(re, M.substring(2))), se == null ? t0([tl(
|
|
91877
91877
|
"A w:sym element with an unsupported character was ignored: char " + M + " in font " + re
|
|
91878
|
-
)]) : xi(new Pn.Text(
|
|
91878
|
+
)]) : xi(new Pn.Text(se.string));
|
|
91879
91879
|
}
|
|
91880
91880
|
function B(G) {
|
|
91881
91881
|
return function(re) {
|
|
@@ -91898,15 +91898,15 @@ function mI(e) {
|
|
|
91898
91898
|
"w:p": function(G) {
|
|
91899
91899
|
var re = G.firstOrEmpty("w:pPr"), M = !!re.firstOrEmpty("w:rPr").first("w:del");
|
|
91900
91900
|
if (M)
|
|
91901
|
-
return G.children.forEach(function(
|
|
91902
|
-
r.push(
|
|
91901
|
+
return G.children.forEach(function(oe) {
|
|
91902
|
+
r.push(oe);
|
|
91903
91903
|
}), Cp();
|
|
91904
|
-
var
|
|
91905
|
-
return r.length > 0 && (
|
|
91904
|
+
var se = G.children;
|
|
91905
|
+
return r.length > 0 && (se = r.concat(se), r = []), to.map(
|
|
91906
91906
|
p(re),
|
|
91907
|
-
c(
|
|
91908
|
-
function(
|
|
91909
|
-
return new Pn.Paragraph(Y,
|
|
91907
|
+
c(se),
|
|
91908
|
+
function(oe, Y) {
|
|
91909
|
+
return new Pn.Paragraph(Y, oe);
|
|
91910
91910
|
}
|
|
91911
91911
|
).insertExtra();
|
|
91912
91912
|
},
|
|
@@ -91915,8 +91915,8 @@ function mI(e) {
|
|
|
91915
91915
|
f(G.firstOrEmpty("w:rPr")),
|
|
91916
91916
|
c(G.children),
|
|
91917
91917
|
function(re, M) {
|
|
91918
|
-
var
|
|
91919
|
-
return
|
|
91918
|
+
var se = E();
|
|
91919
|
+
return se !== null && (M = [new Pn.Hyperlink(M, se)]), new Pn.Run(M, re);
|
|
91920
91920
|
}
|
|
91921
91921
|
);
|
|
91922
91922
|
},
|
|
@@ -91937,18 +91937,18 @@ function mI(e) {
|
|
|
91937
91937
|
"w:sym": _,
|
|
91938
91938
|
"w:hyperlink": function(G) {
|
|
91939
91939
|
var re = G.attributes["r:id"], M = G.attributes["w:anchor"];
|
|
91940
|
-
return c(G.children).map(function(
|
|
91941
|
-
function
|
|
91940
|
+
return c(G.children).map(function(se) {
|
|
91941
|
+
function oe(Q) {
|
|
91942
91942
|
var le = G.attributes["w:tgtFrame"] || null;
|
|
91943
91943
|
return new Pn.Hyperlink(
|
|
91944
|
-
|
|
91944
|
+
se,
|
|
91945
91945
|
Zi.extend({ targetFrame: le }, Q)
|
|
91946
91946
|
);
|
|
91947
91947
|
}
|
|
91948
91948
|
if (re) {
|
|
91949
91949
|
var Y = o.findTargetByRelationshipId(re);
|
|
91950
|
-
return M && (Y = gI.replaceFragment(Y, M)),
|
|
91951
|
-
} else return M ?
|
|
91950
|
+
return M && (Y = gI.replaceFragment(Y, M)), oe({ href: Y });
|
|
91951
|
+
} else return M ? oe({ anchor: M }) : se;
|
|
91952
91952
|
});
|
|
91953
91953
|
},
|
|
91954
91954
|
"w:tbl": R,
|
|
@@ -91971,10 +91971,10 @@ function mI(e) {
|
|
|
91971
91971
|
"w:sdt": function(G) {
|
|
91972
91972
|
var re = c(G.firstOrEmpty("w:sdtContent").children);
|
|
91973
91973
|
return re.map(function(M) {
|
|
91974
|
-
var
|
|
91975
|
-
if (
|
|
91976
|
-
var
|
|
91977
|
-
|
|
91974
|
+
var se = G.firstOrEmpty("w:sdtPr").first("wordml:checkbox");
|
|
91975
|
+
if (se) {
|
|
91976
|
+
var oe = se.first("wordml:checked"), Y = !!oe && b(
|
|
91977
|
+
oe.attributes["wordml:val"]
|
|
91978
91978
|
), Q = Pn.checkbox({
|
|
91979
91979
|
checked: Y
|
|
91980
91980
|
}), le = !1, ge = M.map(fI._elementsOfType(
|
|
@@ -92012,8 +92012,8 @@ function mI(e) {
|
|
|
92012
92012
|
function R(G) {
|
|
92013
92013
|
var re = L(G.firstOrEmpty("w:tblPr"));
|
|
92014
92014
|
return c(G.children).flatMap(U).flatMap(function(M) {
|
|
92015
|
-
return re.map(function(
|
|
92016
|
-
return Pn.Table(M,
|
|
92015
|
+
return re.map(function(se) {
|
|
92016
|
+
return Pn.Table(M, se);
|
|
92017
92017
|
});
|
|
92018
92018
|
});
|
|
92019
92019
|
}
|
|
@@ -92029,14 +92029,14 @@ function mI(e) {
|
|
|
92029
92029
|
var re = G.firstOrEmpty("w:trPr"), M = !!re.first("w:del");
|
|
92030
92030
|
if (M)
|
|
92031
92031
|
return Cp();
|
|
92032
|
-
var
|
|
92033
|
-
return c(G.children).map(function(
|
|
92034
|
-
return Pn.TableRow(
|
|
92032
|
+
var se = !!re.first("w:tblHeader");
|
|
92033
|
+
return c(G.children).map(function(oe) {
|
|
92034
|
+
return Pn.TableRow(oe, { isHeader: se });
|
|
92035
92035
|
});
|
|
92036
92036
|
}
|
|
92037
92037
|
function H(G) {
|
|
92038
92038
|
return c(G.children).map(function(re) {
|
|
92039
|
-
var M = G.firstOrEmpty("w:tcPr"),
|
|
92039
|
+
var M = G.firstOrEmpty("w:tcPr"), se = M.firstOrEmpty("w:gridSpan").attributes["w:val"], oe = se ? parseInt(se, 10) : 1, Y = Pn.TableCell(re, { colSpan: oe });
|
|
92040
92040
|
return Y._vMerge = z(M), Y;
|
|
92041
92041
|
});
|
|
92042
92042
|
}
|
|
@@ -92049,15 +92049,15 @@ function mI(e) {
|
|
|
92049
92049
|
return null;
|
|
92050
92050
|
}
|
|
92051
92051
|
function U(G) {
|
|
92052
|
-
var re = Zi.any(G, function(
|
|
92053
|
-
return
|
|
92052
|
+
var re = Zi.any(G, function(oe) {
|
|
92053
|
+
return oe.type !== Pn.types.tableRow;
|
|
92054
92054
|
});
|
|
92055
92055
|
if (re)
|
|
92056
92056
|
return X(G), p2(G, [tl(
|
|
92057
92057
|
"unexpected non-row element in table, cell merging may be incorrect"
|
|
92058
92058
|
)]);
|
|
92059
|
-
var M = Zi.any(G, function(
|
|
92060
|
-
return Zi.any(
|
|
92059
|
+
var M = Zi.any(G, function(oe) {
|
|
92060
|
+
return Zi.any(oe.children, function(Y) {
|
|
92061
92061
|
return Y.type !== Pn.types.tableCell;
|
|
92062
92062
|
});
|
|
92063
92063
|
});
|
|
@@ -92065,16 +92065,16 @@ function mI(e) {
|
|
|
92065
92065
|
return X(G), p2(G, [tl(
|
|
92066
92066
|
"unexpected non-cell element in table row, cell merging may be incorrect"
|
|
92067
92067
|
)]);
|
|
92068
|
-
var
|
|
92069
|
-
return G.forEach(function(
|
|
92068
|
+
var se = {};
|
|
92069
|
+
return G.forEach(function(oe) {
|
|
92070
92070
|
var Y = 0;
|
|
92071
|
-
|
|
92072
|
-
Q._vMerge &&
|
|
92071
|
+
oe.children.forEach(function(Q) {
|
|
92072
|
+
Q._vMerge && se[Y] ? se[Y].rowSpan++ : (se[Y] = Q, Q._vMerge = !1), Y += Q.colSpan;
|
|
92073
92073
|
});
|
|
92074
|
-
}), G.forEach(function(
|
|
92075
|
-
|
|
92074
|
+
}), G.forEach(function(oe) {
|
|
92075
|
+
oe.children = oe.children.filter(function(Y) {
|
|
92076
92076
|
return !Y._vMerge;
|
|
92077
|
-
}),
|
|
92077
|
+
}), oe.children.forEach(function(Y) {
|
|
92078
92078
|
delete Y._vMerge;
|
|
92079
92079
|
});
|
|
92080
92080
|
}), xi(G);
|
|
@@ -92082,8 +92082,8 @@ function mI(e) {
|
|
|
92082
92082
|
function X(G) {
|
|
92083
92083
|
G.forEach(function(re) {
|
|
92084
92084
|
var M = fI.getDescendantsOfType(re, Pn.types.tableCell);
|
|
92085
|
-
M.forEach(function(
|
|
92086
|
-
delete
|
|
92085
|
+
M.forEach(function(se) {
|
|
92086
|
+
delete se._vMerge;
|
|
92087
92087
|
});
|
|
92088
92088
|
});
|
|
92089
92089
|
}
|
|
@@ -92092,21 +92092,21 @@ function mI(e) {
|
|
|
92092
92092
|
return bI(re.map(te.bind(null, G)));
|
|
92093
92093
|
}
|
|
92094
92094
|
function te(G, re) {
|
|
92095
|
-
var M = G.first("wp:docPr").attributes,
|
|
92096
|
-
return
|
|
92095
|
+
var M = G.first("wp:docPr").attributes, se = J(M.descr) ? M.title : M.descr, oe = ie(re);
|
|
92096
|
+
return oe === null ? t0([tl("Could not find image file for a:blip element")]) : T(oe, se);
|
|
92097
92097
|
}
|
|
92098
92098
|
function J(G) {
|
|
92099
92099
|
return G == null || /^\s*$/.test(G);
|
|
92100
92100
|
}
|
|
92101
|
-
function
|
|
92101
|
+
function ie(G) {
|
|
92102
92102
|
var re = G.attributes["r:embed"], M = G.attributes["r:link"];
|
|
92103
92103
|
if (re)
|
|
92104
92104
|
return Z(re);
|
|
92105
92105
|
if (M) {
|
|
92106
|
-
var
|
|
92106
|
+
var se = o.findTargetByRelationshipId(M);
|
|
92107
92107
|
return {
|
|
92108
|
-
path:
|
|
92109
|
-
read: a.read.bind(a,
|
|
92108
|
+
path: se,
|
|
92109
|
+
read: a.read.bind(a, se)
|
|
92110
92110
|
};
|
|
92111
92111
|
} else
|
|
92112
92112
|
return null;
|
|
@@ -92126,12 +92126,12 @@ function mI(e) {
|
|
|
92126
92126
|
};
|
|
92127
92127
|
}
|
|
92128
92128
|
function T(G, re) {
|
|
92129
|
-
var M = i.findContentType(G.path),
|
|
92129
|
+
var M = i.findContentType(G.path), se = Pn.Image({
|
|
92130
92130
|
readImage: G.read,
|
|
92131
92131
|
altText: re,
|
|
92132
92132
|
contentType: M
|
|
92133
|
-
}),
|
|
92134
|
-
return p2(
|
|
92133
|
+
}), oe = QMe[M] ? [] : tl("Image of type " + M + " is unlikely to display in web browsers");
|
|
92134
|
+
return p2(se, oe);
|
|
92135
92135
|
}
|
|
92136
92136
|
function V(G, re) {
|
|
92137
92137
|
return tl(
|
|
@@ -97241,13 +97241,13 @@ https://github.com/highlightjs/highlight.js/issues/2277`), H = j, $ = R), L ===
|
|
|
97241
97241
|
let W = Q.keywordPatternRe.exec(De), ee = "";
|
|
97242
97242
|
for (; W; ) {
|
|
97243
97243
|
ee += De.substring(I, W.index);
|
|
97244
|
-
const ue =
|
|
97244
|
+
const ue = se.case_insensitive ? W[0].toLowerCase() : W[0], he = z(Q, ue);
|
|
97245
97245
|
if (he) {
|
|
97246
97246
|
const [xe, ke] = he;
|
|
97247
97247
|
if (ge.addText(ee), ee = "", H[ue] = (H[ue] || 0) + 1, H[ue] <= gUe && (ye += ke), xe.startsWith("_"))
|
|
97248
97248
|
ee += W[0];
|
|
97249
97249
|
else {
|
|
97250
|
-
const Ee =
|
|
97250
|
+
const Ee = se.classNameAliases[xe] || xe;
|
|
97251
97251
|
te(W[0], Ee);
|
|
97252
97252
|
}
|
|
97253
97253
|
} else
|
|
@@ -97284,12 +97284,12 @@ https://github.com/highlightjs/highlight.js/issues/2277`), H = j, $ = R), L ===
|
|
|
97284
97284
|
ee++;
|
|
97285
97285
|
continue;
|
|
97286
97286
|
}
|
|
97287
|
-
const he =
|
|
97287
|
+
const he = se.classNameAliases[I[ee]] || I[ee], xe = W[ee];
|
|
97288
97288
|
he ? te(xe, he) : (De = xe, U(), De = ""), ee++;
|
|
97289
97289
|
}
|
|
97290
97290
|
}
|
|
97291
|
-
function
|
|
97292
|
-
return I.scope && typeof I.scope == "string" && ge.openNode(
|
|
97291
|
+
function ie(I, W) {
|
|
97292
|
+
return I.scope && typeof I.scope == "string" && ge.openNode(se.classNameAliases[I.scope] || I.scope), I.beginScope && (I.beginScope._wrap ? (te(De, se.classNameAliases[I.beginScope._wrap] || I.beginScope._wrap), De = "") : I.beginScope._multi && (J(I.beginScope, W), De = "")), Q = Object.create(I, { parent: { value: Q } }), Q;
|
|
97293
97293
|
}
|
|
97294
97294
|
function K(I, W, ee) {
|
|
97295
97295
|
let ue = jLe(I.endRe, ee);
|
|
@@ -97315,7 +97315,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), H = j, $ = R), L ===
|
|
|
97315
97315
|
for (const xe of he)
|
|
97316
97316
|
if (xe && (xe(I, ue), ue.isMatchIgnored))
|
|
97317
97317
|
return Z(W);
|
|
97318
|
-
return ee.skip ? De += W : (ee.excludeBegin && (De += W), ae(), !ee.returnBegin && !ee.excludeBegin && (De = W)),
|
|
97318
|
+
return ee.skip ? De += W : (ee.excludeBegin && (De += W), ae(), !ee.returnBegin && !ee.excludeBegin && (De = W)), ie(ee, I), ee.returnBegin ? 0 : W.length;
|
|
97319
97319
|
}
|
|
97320
97320
|
function V(I) {
|
|
97321
97321
|
const W = I[0], ee = R.substring(I.index), ue = K(Q, I, ee);
|
|
@@ -97326,11 +97326,11 @@ https://github.com/highlightjs/highlight.js/issues/2277`), H = j, $ = R), L ===
|
|
|
97326
97326
|
do
|
|
97327
97327
|
Q.scope && ge.closeNode(), !Q.skip && !Q.subLanguage && (ye += Q.relevance), Q = Q.parent;
|
|
97328
97328
|
while (Q !== ue.parent);
|
|
97329
|
-
return ue.starts &&
|
|
97329
|
+
return ue.starts && ie(ue.starts, I), he.returnEnd ? 0 : W.length;
|
|
97330
97330
|
}
|
|
97331
97331
|
function G() {
|
|
97332
97332
|
const I = [];
|
|
97333
|
-
for (let W = Q; W !==
|
|
97333
|
+
for (let W = Q; W !== se; W = W.parent)
|
|
97334
97334
|
W.scope && I.unshift(W.scope);
|
|
97335
97335
|
I.forEach((W) => ge.openNode(W));
|
|
97336
97336
|
}
|
|
@@ -97363,17 +97363,17 @@ https://github.com/highlightjs/highlight.js/issues/2277`), H = j, $ = R), L ===
|
|
|
97363
97363
|
throw new Error("potential infinite loop, way more iterations than matches");
|
|
97364
97364
|
return De += ee, ee.length;
|
|
97365
97365
|
}
|
|
97366
|
-
const
|
|
97367
|
-
if (!
|
|
97366
|
+
const se = E(j);
|
|
97367
|
+
if (!se)
|
|
97368
97368
|
throw xd(i.replace("{}", j)), new Error('Unknown language: "' + j + '"');
|
|
97369
|
-
const
|
|
97370
|
-
let Y = "", Q = $ ||
|
|
97369
|
+
const oe = dUe(se);
|
|
97370
|
+
let Y = "", Q = $ || oe;
|
|
97371
97371
|
const le = {}, ge = new a.__emitter(a);
|
|
97372
97372
|
G();
|
|
97373
97373
|
let De = "", ye = 0, pe = 0, de = 0, fe = !1;
|
|
97374
97374
|
try {
|
|
97375
|
-
if (
|
|
97376
|
-
|
|
97375
|
+
if (se.__emitTokens)
|
|
97376
|
+
se.__emitTokens(R, ge);
|
|
97377
97377
|
else {
|
|
97378
97378
|
for (Q.matcher.considerAll(); ; ) {
|
|
97379
97379
|
de++, fe ? fe = !1 : Q.matcher.considerAll(), Q.matcher.lastIndex = pe;
|
|
@@ -108932,7 +108932,7 @@ function UPe(e) {
|
|
|
108932
108932
|
// Consume .keyword to prevent highlighting properties and methods as keywords.
|
|
108933
108933
|
match: Sn(/\./, To(...yw)),
|
|
108934
108934
|
relevance: 0
|
|
108935
|
-
}, s = yw.filter((
|
|
108935
|
+
}, s = yw.filter((oe) => typeof oe == "string").concat(["_|0"]), a = yw.filter((oe) => typeof oe != "string").concat(MPe).map(e_), l = { variants: [
|
|
108936
108936
|
{
|
|
108937
108937
|
className: "keyword",
|
|
108938
108938
|
match: To(...a, ...ZI)
|
|
@@ -108992,34 +108992,34 @@ function UPe(e) {
|
|
|
108992
108992
|
// binary-literal
|
|
108993
108993
|
{ match: /\b0b([01]_*)+\b/ }
|
|
108994
108994
|
]
|
|
108995
|
-
}, v = (
|
|
108995
|
+
}, v = (oe = "") => ({
|
|
108996
108996
|
className: "subst",
|
|
108997
108997
|
variants: [
|
|
108998
|
-
{ match: Sn(/\\/,
|
|
108999
|
-
{ match: Sn(/\\/,
|
|
108998
|
+
{ match: Sn(/\\/, oe, /[0\\tnr"']/) },
|
|
108999
|
+
{ match: Sn(/\\/, oe, /u\{[0-9a-fA-F]{1,8}\}/) }
|
|
109000
109000
|
]
|
|
109001
|
-
}), w = (
|
|
109001
|
+
}), w = (oe = "") => ({
|
|
109002
109002
|
className: "subst",
|
|
109003
|
-
match: Sn(/\\/,
|
|
109004
|
-
}), D = (
|
|
109003
|
+
match: Sn(/\\/, oe, /[\t ]*(?:[\r\n]|\r\n)/)
|
|
109004
|
+
}), D = (oe = "") => ({
|
|
109005
109005
|
className: "subst",
|
|
109006
109006
|
label: "interpol",
|
|
109007
|
-
begin: Sn(/\\/,
|
|
109007
|
+
begin: Sn(/\\/, oe, /\(/),
|
|
109008
109008
|
end: /\)/
|
|
109009
|
-
}), k = (
|
|
109010
|
-
begin: Sn(
|
|
109011
|
-
end: Sn(/"""/,
|
|
109009
|
+
}), k = (oe = "") => ({
|
|
109010
|
+
begin: Sn(oe, /"""/),
|
|
109011
|
+
end: Sn(/"""/, oe),
|
|
109012
109012
|
contains: [
|
|
109013
|
-
v(
|
|
109014
|
-
w(
|
|
109015
|
-
D(
|
|
109013
|
+
v(oe),
|
|
109014
|
+
w(oe),
|
|
109015
|
+
D(oe)
|
|
109016
109016
|
]
|
|
109017
|
-
}), E = (
|
|
109018
|
-
begin: Sn(
|
|
109019
|
-
end: Sn(/"/,
|
|
109017
|
+
}), E = (oe = "") => ({
|
|
109018
|
+
begin: Sn(oe, /"/),
|
|
109019
|
+
end: Sn(/"/, oe),
|
|
109020
109020
|
contains: [
|
|
109021
|
-
v(
|
|
109022
|
-
D(
|
|
109021
|
+
v(oe),
|
|
109022
|
+
D(oe)
|
|
109023
109023
|
]
|
|
109024
109024
|
}), A = {
|
|
109025
109025
|
className: "string",
|
|
@@ -109045,8 +109045,8 @@ function UPe(e) {
|
|
|
109045
109045
|
begin: /\/[^\s](?=[^/\n]*\/)/,
|
|
109046
109046
|
end: /\//,
|
|
109047
109047
|
contains: O
|
|
109048
|
-
}, _ = (
|
|
109049
|
-
const Y = Sn(
|
|
109048
|
+
}, _ = (oe) => {
|
|
109049
|
+
const Y = Sn(oe, /\//), Q = Sn(/\//, oe);
|
|
109050
109050
|
return {
|
|
109051
109051
|
begin: Y,
|
|
109052
109052
|
end: Q,
|
|
@@ -109177,7 +109177,7 @@ function UPe(e) {
|
|
|
109177
109177
|
...r,
|
|
109178
109178
|
U
|
|
109179
109179
|
]
|
|
109180
|
-
},
|
|
109180
|
+
}, ie = {
|
|
109181
109181
|
begin: To(
|
|
109182
109182
|
n0(Sn(oa, /\s*:/)),
|
|
109183
109183
|
n0(Sn(oa, /\s+/, oa, /\s*:/))
|
|
@@ -109199,7 +109199,7 @@ function UPe(e) {
|
|
|
109199
109199
|
end: /\)/,
|
|
109200
109200
|
keywords: u,
|
|
109201
109201
|
contains: [
|
|
109202
|
-
|
|
109202
|
+
ie,
|
|
109203
109203
|
...r,
|
|
109204
109204
|
...c,
|
|
109205
109205
|
...m,
|
|
@@ -109291,7 +109291,7 @@ function UPe(e) {
|
|
|
109291
109291
|
1: "keyword",
|
|
109292
109292
|
3: "keyword"
|
|
109293
109293
|
}
|
|
109294
|
-
},
|
|
109294
|
+
}, se = {
|
|
109295
109295
|
begin: [
|
|
109296
109296
|
/(struct|protocol|class|extension|enum|actor)/,
|
|
109297
109297
|
/\s+/,
|
|
@@ -109321,8 +109321,8 @@ function UPe(e) {
|
|
|
109321
109321
|
}
|
|
109322
109322
|
]
|
|
109323
109323
|
};
|
|
109324
|
-
for (const
|
|
109325
|
-
const Y =
|
|
109324
|
+
for (const oe of A.variants) {
|
|
109325
|
+
const Y = oe.contains.find((le) => le.label === "interpol");
|
|
109326
109326
|
Y.keywords = u;
|
|
109327
109327
|
const Q = [
|
|
109328
109328
|
...c,
|
|
@@ -109353,7 +109353,7 @@ function UPe(e) {
|
|
|
109353
109353
|
T,
|
|
109354
109354
|
re,
|
|
109355
109355
|
M,
|
|
109356
|
-
|
|
109356
|
+
se,
|
|
109357
109357
|
V,
|
|
109358
109358
|
G,
|
|
109359
109359
|
{
|
|
@@ -172596,7 +172596,7 @@ const jze = _t.create({
|
|
|
172596
172596
|
const o = n.selection.from < n.selection.to;
|
|
172597
172597
|
let i = null, s = "", a = !1;
|
|
172598
172598
|
for (const l of t.steps) {
|
|
172599
|
-
if (!(l instanceof
|
|
172599
|
+
if (!(l instanceof Dr)) {
|
|
172600
172600
|
a = !0;
|
|
172601
172601
|
continue;
|
|
172602
172602
|
}
|
|
@@ -172745,8 +172745,8 @@ function r_(e) {
|
|
|
172745
172745
|
return t;
|
|
172746
172746
|
}), t;
|
|
172747
172747
|
}
|
|
172748
|
-
function
|
|
172749
|
-
this.map = {}, e instanceof
|
|
172748
|
+
function Ar(e) {
|
|
172749
|
+
this.map = {}, e instanceof Ar ? e.forEach(function(t, n) {
|
|
172750
172750
|
this.append(n, t);
|
|
172751
172751
|
}, this) : Array.isArray(e) ? e.forEach(function(t) {
|
|
172752
172752
|
if (t.length != 2)
|
|
@@ -172756,46 +172756,46 @@ function _r(e) {
|
|
|
172756
172756
|
this.append(t, e[t]);
|
|
172757
172757
|
}, this);
|
|
172758
172758
|
}
|
|
172759
|
-
|
|
172759
|
+
Ar.prototype.append = function(e, t) {
|
|
172760
172760
|
e = Df(e), t = n_(t);
|
|
172761
172761
|
var n = this.map[e];
|
|
172762
172762
|
this.map[e] = n ? n + ", " + t : t;
|
|
172763
172763
|
};
|
|
172764
|
-
|
|
172764
|
+
Ar.prototype.delete = function(e) {
|
|
172765
172765
|
delete this.map[Df(e)];
|
|
172766
172766
|
};
|
|
172767
|
-
|
|
172767
|
+
Ar.prototype.get = function(e) {
|
|
172768
172768
|
return e = Df(e), this.has(e) ? this.map[e] : null;
|
|
172769
172769
|
};
|
|
172770
|
-
|
|
172770
|
+
Ar.prototype.has = function(e) {
|
|
172771
172771
|
return this.map.hasOwnProperty(Df(e));
|
|
172772
172772
|
};
|
|
172773
|
-
|
|
172773
|
+
Ar.prototype.set = function(e, t) {
|
|
172774
172774
|
this.map[Df(e)] = n_(t);
|
|
172775
172775
|
};
|
|
172776
|
-
|
|
172776
|
+
Ar.prototype.forEach = function(e, t) {
|
|
172777
172777
|
for (var n in this.map)
|
|
172778
172778
|
this.map.hasOwnProperty(n) && e.call(t, this.map[n], n, this);
|
|
172779
172779
|
};
|
|
172780
|
-
|
|
172780
|
+
Ar.prototype.keys = function() {
|
|
172781
172781
|
var e = [];
|
|
172782
172782
|
return this.forEach(function(t, n) {
|
|
172783
172783
|
e.push(n);
|
|
172784
172784
|
}), r_(e);
|
|
172785
172785
|
};
|
|
172786
|
-
|
|
172786
|
+
Ar.prototype.values = function() {
|
|
172787
172787
|
var e = [];
|
|
172788
172788
|
return this.forEach(function(t) {
|
|
172789
172789
|
e.push(t);
|
|
172790
172790
|
}), r_(e);
|
|
172791
172791
|
};
|
|
172792
|
-
|
|
172792
|
+
Ar.prototype.entries = function() {
|
|
172793
172793
|
var e = [];
|
|
172794
172794
|
return this.forEach(function(t, n) {
|
|
172795
172795
|
e.push([n, t]);
|
|
172796
172796
|
}), r_(e);
|
|
172797
172797
|
};
|
|
172798
|
-
jo.iterable && (
|
|
172798
|
+
jo.iterable && (Ar.prototype[Symbol.iterator] = Ar.prototype.entries);
|
|
172799
172799
|
function Fw(e) {
|
|
172800
172800
|
if (!e._noBody) {
|
|
172801
172801
|
if (e.bodyUsed)
|
|
@@ -172889,10 +172889,10 @@ function Kd(e, t) {
|
|
|
172889
172889
|
if (e instanceof Kd) {
|
|
172890
172890
|
if (e.bodyUsed)
|
|
172891
172891
|
throw new TypeError("Already read");
|
|
172892
|
-
this.url = e.url, this.credentials = e.credentials, t.headers || (this.headers = new
|
|
172892
|
+
this.url = e.url, this.credentials = e.credentials, t.headers || (this.headers = new Ar(e.headers)), this.method = e.method, this.mode = e.mode, this.signal = e.signal, !n && e._bodyInit != null && (n = e._bodyInit, e.bodyUsed = !0);
|
|
172893
172893
|
} else
|
|
172894
172894
|
this.url = String(e);
|
|
172895
|
-
if (this.credentials = t.credentials || this.credentials || "same-origin", (t.headers || !this.headers) && (this.headers = new
|
|
172895
|
+
if (this.credentials = t.credentials || this.credentials || "same-origin", (t.headers || !this.headers) && (this.headers = new Ar(t.headers)), this.method = Uze(t.method || this.method || "GET"), this.mode = t.mode || this.mode || null, this.signal = t.signal || this.signal || function() {
|
|
172896
172896
|
if ("AbortController" in Jr) {
|
|
172897
172897
|
var i = new AbortController();
|
|
172898
172898
|
return i.signal;
|
|
@@ -172922,7 +172922,7 @@ function Pze(e) {
|
|
|
172922
172922
|
}), t;
|
|
172923
172923
|
}
|
|
172924
172924
|
function zze(e) {
|
|
172925
|
-
var t = new
|
|
172925
|
+
var t = new Ar(), n = e.replace(/\r?\n[\t ]+/g, " ");
|
|
172926
172926
|
return n.split("\r").map(function(r) {
|
|
172927
172927
|
return r.indexOf(`
|
|
172928
172928
|
`) === 0 ? r.substr(1, r.length) : r;
|
|
@@ -172944,14 +172944,14 @@ function Ma(e, t) {
|
|
|
172944
172944
|
throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');
|
|
172945
172945
|
if (t || (t = {}), this.type = "default", this.status = t.status === void 0 ? 200 : t.status, this.status < 200 || this.status > 599)
|
|
172946
172946
|
throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");
|
|
172947
|
-
this.ok = this.status >= 200 && this.status < 300, this.statusText = t.statusText === void 0 ? "" : "" + t.statusText, this.headers = new
|
|
172947
|
+
this.ok = this.status >= 200 && this.status < 300, this.statusText = t.statusText === void 0 ? "" : "" + t.statusText, this.headers = new Ar(t.headers), this.url = t.url || "", this._initBody(e);
|
|
172948
172948
|
}
|
|
172949
172949
|
TQ.call(Ma.prototype);
|
|
172950
172950
|
Ma.prototype.clone = function() {
|
|
172951
172951
|
return new Ma(this._bodyInit, {
|
|
172952
172952
|
status: this.status,
|
|
172953
172953
|
statusText: this.statusText,
|
|
172954
|
-
headers: new
|
|
172954
|
+
headers: new Ar(this.headers),
|
|
172955
172955
|
url: this.url
|
|
172956
172956
|
});
|
|
172957
172957
|
};
|
|
@@ -173014,7 +173014,7 @@ function jQ(e, t) {
|
|
|
173014
173014
|
return u;
|
|
173015
173015
|
}
|
|
173016
173016
|
}
|
|
173017
|
-
if (i.open(o.method, a(o.url), !0), o.credentials === "include" ? i.withCredentials = !0 : o.credentials === "omit" && (i.withCredentials = !1), "responseType" in i && (jo.blob ? i.responseType = "blob" : jo.arrayBuffer && (i.responseType = "arraybuffer")), t && typeof t.headers == "object" && !(t.headers instanceof
|
|
173017
|
+
if (i.open(o.method, a(o.url), !0), o.credentials === "include" ? i.withCredentials = !0 : o.credentials === "omit" && (i.withCredentials = !1), "responseType" in i && (jo.blob ? i.responseType = "blob" : jo.arrayBuffer && (i.responseType = "arraybuffer")), t && typeof t.headers == "object" && !(t.headers instanceof Ar || Jr.Headers && t.headers instanceof Jr.Headers)) {
|
|
173018
173018
|
var l = [];
|
|
173019
173019
|
Object.getOwnPropertyNames(t.headers).forEach(function(u) {
|
|
173020
173020
|
l.push(Df(u)), i.setRequestHeader(u, n_(t.headers[u]));
|
|
@@ -173031,7 +173031,7 @@ function jQ(e, t) {
|
|
|
173031
173031
|
});
|
|
173032
173032
|
}
|
|
173033
173033
|
jQ.polyfill = !0;
|
|
173034
|
-
Jr.fetch || (Jr.fetch = jQ, Jr.Headers =
|
|
173034
|
+
Jr.fetch || (Jr.fetch = jQ, Jr.Headers = Ar, Jr.Request = Kd, Jr.Response = Ma);
|
|
173035
173035
|
const BQ = "11434", NQ = `http://127.0.0.1:${BQ}`, Hze = "0.5.18";
|
|
173036
173036
|
var Wze = Object.defineProperty, qze = (e, t, n) => t in e ? Wze(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, ww = (e, t, n) => (qze(e, typeof t != "symbol" ? t + "" : t, n), n);
|
|
173037
173037
|
class o_ extends Error {
|
|
@@ -173731,7 +173731,7 @@ User prompt: ${u} /no_think` : `${u} /no_think`;
|
|
|
173731
173731
|
}, 150);
|
|
173732
173732
|
return () => clearTimeout(le);
|
|
173733
173733
|
}
|
|
173734
|
-
}, [n, t, e.nodeSize, O, o]),
|
|
173734
|
+
}, [n, t, e.nodeSize, O, o]), ie = Ae(() => {
|
|
173735
173735
|
if (typeof n == "function") {
|
|
173736
173736
|
m(!0);
|
|
173737
173737
|
const le = setTimeout(() => {
|
|
@@ -173781,9 +173781,9 @@ User prompt: ${u} /no_think` : `${u} /no_think`;
|
|
|
173781
173781
|
}
|
|
173782
173782
|
}, [U, r]), M = Ae(() => {
|
|
173783
173783
|
y(!1), U && U.commands.setContent(h || O || "");
|
|
173784
|
-
}, [U, h, O]),
|
|
173784
|
+
}, [U, h, O]), se = Ae(
|
|
173785
173785
|
(le) => {
|
|
173786
|
-
le.key === "Enter" && (le.ctrlKey || le.metaKey) && !le.shiftKey ? (le.preventDefault(), d && J()) : le.key === "Enter" && !le.shiftKey && !b ? (le.preventDefault(), u.trim() && ae()) : le.key === "Escape" ? (le.preventDefault(), a ? te() :
|
|
173786
|
+
le.key === "Enter" && (le.ctrlKey || le.metaKey) && !le.shiftKey ? (le.preventDefault(), d && J()) : le.key === "Enter" && !le.shiftKey && !b ? (le.preventDefault(), u.trim() && ae()) : le.key === "Escape" ? (le.preventDefault(), a ? te() : ie()) : le.key === " " && !u.trim() ? (le.preventDefault(), ie()) : le.key === "r" && (le.ctrlKey || le.metaKey) ? (le.preventDefault(), V()) : le.key === "e" && (le.ctrlKey || le.metaKey) && (le.preventDefault(), G());
|
|
173787
173787
|
},
|
|
173788
173788
|
[
|
|
173789
173789
|
b,
|
|
@@ -173791,13 +173791,13 @@ User prompt: ${u} /no_think` : `${u} /no_think`;
|
|
|
173791
173791
|
ae,
|
|
173792
173792
|
d,
|
|
173793
173793
|
J,
|
|
173794
|
-
|
|
173794
|
+
ie,
|
|
173795
173795
|
V,
|
|
173796
173796
|
G,
|
|
173797
173797
|
a,
|
|
173798
173798
|
te
|
|
173799
173799
|
]
|
|
173800
|
-
),
|
|
173800
|
+
), oe = Ae((le) => {
|
|
173801
173801
|
le ? localStorage.setItem("include-ddoc-context", "true") : localStorage.removeItem("include-ddoc-context");
|
|
173802
173802
|
}, []);
|
|
173803
173803
|
_e(() => {
|
|
@@ -173806,13 +173806,13 @@ User prompt: ${u} /no_think` : `${u} /no_think`;
|
|
|
173806
173806
|
ge.preventDefault(), te();
|
|
173807
173807
|
return;
|
|
173808
173808
|
}
|
|
173809
|
-
d && (ge.key === "Enter" && (ge.ctrlKey || ge.metaKey) && !ge.shiftKey ? (ge.preventDefault(), J()) : ge.key === "Escape" ? (ge.preventDefault(),
|
|
173809
|
+
d && (ge.key === "Enter" && (ge.ctrlKey || ge.metaKey) && !ge.shiftKey ? (ge.preventDefault(), J()) : ge.key === "Escape" ? (ge.preventDefault(), ie()) : ge.key === "r" && (ge.ctrlKey || ge.metaKey) ? (ge.preventDefault(), V()) : ge.key === "e" && (ge.ctrlKey || ge.metaKey) && (ge.preventDefault(), G()));
|
|
173810
173810
|
};
|
|
173811
173811
|
return window.addEventListener("keydown", le), () => window.removeEventListener("keydown", le);
|
|
173812
173812
|
}, [
|
|
173813
173813
|
d,
|
|
173814
173814
|
J,
|
|
173815
|
-
|
|
173815
|
+
ie,
|
|
173816
173816
|
V,
|
|
173817
173817
|
t,
|
|
173818
173818
|
G,
|
|
@@ -173925,7 +173925,7 @@ User prompt: ${u} /no_think` : `${u} /no_think`;
|
|
|
173925
173925
|
value: u,
|
|
173926
173926
|
onChange: K,
|
|
173927
173927
|
onBlur: Z,
|
|
173928
|
-
onKeyDown:
|
|
173928
|
+
onKeyDown: se,
|
|
173929
173929
|
placeholder: "Ask your Wizard anything...",
|
|
173930
173930
|
className: "w-full pt-1 bg-transparent outline-none text-body-sm color-text-default px-1 resize-none min-h-[24px]",
|
|
173931
173931
|
disabled: i,
|
|
@@ -173971,7 +173971,7 @@ User prompt: ${u} /no_think` : `${u} /no_think`;
|
|
|
173971
173971
|
disabled: i,
|
|
173972
173972
|
onCheckedChange: () => D((le) => {
|
|
173973
173973
|
const ge = !le;
|
|
173974
|
-
return
|
|
173974
|
+
return oe(ge), ge;
|
|
173975
173975
|
}),
|
|
173976
173976
|
className: "border text-body-sm scale-[.8]"
|
|
173977
173977
|
},
|
|
@@ -174007,7 +174007,7 @@ User prompt: ${u} /no_think` : `${u} /no_think`;
|
|
|
174007
174007
|
It,
|
|
174008
174008
|
{
|
|
174009
174009
|
variant: "ghost",
|
|
174010
|
-
onClick:
|
|
174010
|
+
onClick: ie,
|
|
174011
174011
|
className: "min-w-fit gap-2 !bg-transparent color-text-secondary text-body-sm !px-3",
|
|
174012
174012
|
children: [
|
|
174013
174013
|
/* @__PURE__ */ x.jsx("span", { className: "text-helper-text-sm border color-border-default rounded-lg px-1.5 py-1 hidden sm:block", children: "Esc" }),
|
|
@@ -174200,9 +174200,9 @@ User prompt: ${u} /no_think` : `${u} /no_think`;
|
|
|
174200
174200
|
activeTabId: ae,
|
|
174201
174201
|
theme: te,
|
|
174202
174202
|
editorRef: J,
|
|
174203
|
-
initialCommentAnchors:
|
|
174203
|
+
initialCommentAnchors: ie
|
|
174204
174204
|
}) => {
|
|
174205
|
-
const K = (a == null ? void 0 : a.enabled) === !0, Z = K ? a.connection : null, { activeCommentId: T, setActiveCommentId: V, focusCommentWithActiveId: G } = c$e(), re = !!(w && k), { tocItems: M, setTocItems:
|
|
174205
|
+
const K = (a == null ? void 0 : a.enabled) === !0, Z = K ? a.connection : null, { activeCommentId: T, setActiveCommentId: V, focusCommentWithActiveId: G } = c$e(), re = !!(w && k), { tocItems: M, setTocItems: se, handleTocUpdate: oe } = d$e(ae), Y = !!(o && i === "suggest"), { extensions: Q, commentAnchorsRef: le, draftAnchorsRef: ge, storeApiRef: De } = p$e({
|
|
174206
174206
|
ydoc: e,
|
|
174207
174207
|
onError: f,
|
|
174208
174208
|
ipfsImageUploadFn: g,
|
|
@@ -174221,10 +174221,10 @@ User prompt: ${u} /no_think` : `${u} /no_think`;
|
|
|
174221
174221
|
onCommentActivated: (Ze) => {
|
|
174222
174222
|
V(Ze || null), Ze && setTimeout(() => G(Ze));
|
|
174223
174223
|
},
|
|
174224
|
-
onTocUpdate:
|
|
174224
|
+
onTocUpdate: oe,
|
|
174225
174225
|
externalExtensions: U,
|
|
174226
174226
|
activeTabId: ae,
|
|
174227
|
-
initialCommentAnchors:
|
|
174227
|
+
initialCommentAnchors: ie,
|
|
174228
174228
|
isSuggestionMode: Y
|
|
174229
174229
|
}), { handleCommentInteraction: ye, handleCommentClick: pe } = h$e({
|
|
174230
174230
|
isFocusMode: p,
|
|
@@ -174645,7 +174645,7 @@ User prompt: ${u} /no_think` : `${u} /no_think`;
|
|
|
174645
174645
|
slides: W,
|
|
174646
174646
|
setSlides: ee,
|
|
174647
174647
|
tocItems: M,
|
|
174648
|
-
setTocItems:
|
|
174648
|
+
setTocItems: se,
|
|
174649
174649
|
activeCommentId: T,
|
|
174650
174650
|
setActiveCommentId: V,
|
|
174651
174651
|
focusCommentWithActiveId: G,
|
|
@@ -175169,8 +175169,8 @@ User prompt: ${u} /no_think` : `${u} /no_think`;
|
|
|
175169
175169
|
H.tabState.set("activeTabId", D.current);
|
|
175170
175170
|
}, "self");
|
|
175171
175171
|
const z = ia(e), U = (J = H) => {
|
|
175172
|
-
const
|
|
175173
|
-
F(
|
|
175172
|
+
const ie = WH(J), K = J.order.toArray(), Z = s ? K.includes(s) : !1;
|
|
175173
|
+
F(ie);
|
|
175174
175174
|
const T = X2(J), V = K.length > 0 ? K[0] : Cn;
|
|
175175
175175
|
if (i) {
|
|
175176
175176
|
const G = T || V;
|
|
@@ -175182,7 +175182,7 @@ User prompt: ${u} /no_think` : `${u} /no_think`;
|
|
|
175182
175182
|
(G) => G === s ? G : s
|
|
175183
175183
|
);
|
|
175184
175184
|
else {
|
|
175185
|
-
const G = new Set(
|
|
175185
|
+
const G = new Set(ie.map((re) => re.id));
|
|
175186
175186
|
b((re) => G.has(re) ? re : V);
|
|
175187
175187
|
}
|
|
175188
175188
|
}, X = () => {
|
|
@@ -175234,10 +175234,10 @@ User prompt: ${u} /no_think` : `${u} /no_think`;
|
|
|
175234
175234
|
orderIndex: X,
|
|
175235
175235
|
timestamp: Date.now()
|
|
175236
175236
|
});
|
|
175237
|
-
const J = (X2(z) || "") === H,
|
|
175237
|
+
const J = (X2(z) || "") === H, ie = J ? U.get(X + 1) ?? U.get(X - 1) ?? Cn : null;
|
|
175238
175238
|
e.transact(() => {
|
|
175239
|
-
z.nameById.delete(H), z.emojiById.delete(H), z.deletedById.set(H, !0), J &&
|
|
175240
|
-
}), J &&
|
|
175239
|
+
z.nameById.delete(H), z.emojiById.delete(H), z.deletedById.set(H, !0), J && ie && i && z.tabState.set("activeTabId", ie), U.delete(X, 1);
|
|
175240
|
+
}), J && ie && b(ie), u == null || u();
|
|
175241
175241
|
},
|
|
175242
175242
|
[e, i, u]
|
|
175243
175243
|
), C = Ae(() => {
|
|
@@ -175294,7 +175294,7 @@ User prompt: ${u} /no_think` : `${u} /no_think`;
|
|
|
175294
175294
|
}
|
|
175295
175295
|
const ae = dR(), te = `${X.name} (Copy)`, J = X.emoji;
|
|
175296
175296
|
return e.transact(() => {
|
|
175297
|
-
const
|
|
175297
|
+
const ie = e.getXmlFragment(H), K = e.getXmlFragment(ae), Z = Yge(ie);
|
|
175298
175298
|
Z.length > 0 && K.insert(0, Z);
|
|
175299
175299
|
const T = U.toArray().indexOf(H);
|
|
175300
175300
|
U.insert(T + 1, [ae]), z.nameById.set(ae, te), z.emojiById.set(ae, J), i && z.tabState.set("activeTabId", ae);
|
|
@@ -178758,8 +178758,8 @@ var hee = {};
|
|
|
178758
178758
|
a[U] = t.readUint32BE(d, X), l[U] = t.readUint32BE(d, X + 4);
|
|
178759
178759
|
}
|
|
178760
178760
|
for (var U = 0; U < 80; U++) {
|
|
178761
|
-
var ae = f, te = g, J = m,
|
|
178762
|
-
if (C = w, N = B, L = N & 65535, $ = N >>> 16, H = C & 65535, z = C >>> 16, C = (y >>> 14 | O << 18) ^ (y >>> 18 | O << 14) ^ (O >>> 9 | y << 23), N = (O >>> 14 | y << 18) ^ (O >>> 18 | y << 14) ^ (y >>> 9 | O << 23), L += N & 65535, $ += N >>> 16, H += C & 65535, z += C >>> 16, C = y & F ^ ~y & v, N = O & S ^ ~O & _, L += N & 65535, $ += N >>> 16, H += C & 65535, z += C >>> 16, C = o[U * 2], N = o[U * 2 + 1], L += N & 65535, $ += N >>> 16, H += C & 65535, z += C >>> 16, C = a[U % 16], N = l[U % 16], L += N & 65535, $ += N >>> 16, H += C & 65535, z += C >>> 16, $ += L >>> 16, H += $ >>> 16, z += H >>> 16, j = H & 65535 | z << 16, R = L & 65535 | $ << 16, C = j, N = R, L = N & 65535, $ = N >>> 16, H = C & 65535, z = C >>> 16, C = (f >>> 28 | D << 4) ^ (D >>> 2 | f << 30) ^ (D >>> 7 | f << 25), N = (D >>> 28 | f << 4) ^ (f >>> 2 | D << 30) ^ (f >>> 7 | D << 25), L += N & 65535, $ += N >>> 16, H += C & 65535, z += C >>> 16, C = f & g ^ f & m ^ g & m, N = D & k ^ D & E ^ k & E, L += N & 65535, $ += N >>> 16, H += C & 65535, z += C >>> 16, $ += L >>> 16, H += $ >>> 16, z += H >>> 16, V = H & 65535 | z << 16, le = L & 65535 | $ << 16, C =
|
|
178761
|
+
var ae = f, te = g, J = m, ie = b, K = y, Z = F, T = v, V = w, G = D, re = k, M = E, se = A, oe = O, Y = S, Q = _, le = B;
|
|
178762
|
+
if (C = w, N = B, L = N & 65535, $ = N >>> 16, H = C & 65535, z = C >>> 16, C = (y >>> 14 | O << 18) ^ (y >>> 18 | O << 14) ^ (O >>> 9 | y << 23), N = (O >>> 14 | y << 18) ^ (O >>> 18 | y << 14) ^ (y >>> 9 | O << 23), L += N & 65535, $ += N >>> 16, H += C & 65535, z += C >>> 16, C = y & F ^ ~y & v, N = O & S ^ ~O & _, L += N & 65535, $ += N >>> 16, H += C & 65535, z += C >>> 16, C = o[U * 2], N = o[U * 2 + 1], L += N & 65535, $ += N >>> 16, H += C & 65535, z += C >>> 16, C = a[U % 16], N = l[U % 16], L += N & 65535, $ += N >>> 16, H += C & 65535, z += C >>> 16, $ += L >>> 16, H += $ >>> 16, z += H >>> 16, j = H & 65535 | z << 16, R = L & 65535 | $ << 16, C = j, N = R, L = N & 65535, $ = N >>> 16, H = C & 65535, z = C >>> 16, C = (f >>> 28 | D << 4) ^ (D >>> 2 | f << 30) ^ (D >>> 7 | f << 25), N = (D >>> 28 | f << 4) ^ (f >>> 2 | D << 30) ^ (f >>> 7 | D << 25), L += N & 65535, $ += N >>> 16, H += C & 65535, z += C >>> 16, C = f & g ^ f & m ^ g & m, N = D & k ^ D & E ^ k & E, L += N & 65535, $ += N >>> 16, H += C & 65535, z += C >>> 16, $ += L >>> 16, H += $ >>> 16, z += H >>> 16, V = H & 65535 | z << 16, le = L & 65535 | $ << 16, C = ie, N = se, L = N & 65535, $ = N >>> 16, H = C & 65535, z = C >>> 16, C = j, N = R, L += N & 65535, $ += N >>> 16, H += C & 65535, z += C >>> 16, $ += L >>> 16, H += $ >>> 16, z += H >>> 16, ie = H & 65535 | z << 16, se = L & 65535 | $ << 16, g = ae, m = te, b = J, y = ie, F = K, v = Z, w = T, f = V, k = G, E = re, A = M, O = se, S = oe, _ = Y, B = Q, D = le, U % 16 === 15)
|
|
178763
178763
|
for (var X = 0; X < 16; X++)
|
|
178764
178764
|
C = a[X], N = l[X], L = N & 65535, $ = N >>> 16, H = C & 65535, z = C >>> 16, C = a[(X + 9) % 16], N = l[(X + 9) % 16], L += N & 65535, $ += N >>> 16, H += C & 65535, z += C >>> 16, j = a[(X + 1) % 16], R = l[(X + 1) % 16], C = (j >>> 1 | R << 31) ^ (j >>> 8 | R << 24) ^ j >>> 7, N = (R >>> 1 | j << 31) ^ (R >>> 8 | j << 24) ^ (R >>> 7 | j << 25), L += N & 65535, $ += N >>> 16, H += C & 65535, z += C >>> 16, j = a[(X + 14) % 16], R = l[(X + 14) % 16], C = (j >>> 19 | R << 13) ^ (R >>> 29 | j << 3) ^ j >>> 6, N = (R >>> 19 | j << 13) ^ (j >>> 29 | R << 3) ^ (R >>> 6 | j << 26), L += N & 65535, $ += N >>> 16, H += C & 65535, z += C >>> 16, $ += L >>> 16, H += $ >>> 16, z += H >>> 16, a[X] = H & 65535 | z << 16, l[X] = L & 65535 | $ << 16;
|
|
178765
178765
|
}
|
|
@@ -178779,11 +178779,11 @@ var hee = {};
|
|
|
178779
178779
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.convertSecretKeyToX25519 = e.convertPublicKeyToX25519 = e.verify = e.sign = e.extractPublicKeyFromSecretKey = e.generateKeyPair = e.generateKeyPairFromSeed = e.SEED_LENGTH = e.SECRET_KEY_LENGTH = e.PUBLIC_KEY_LENGTH = e.SIGNATURE_LENGTH = void 0;
|
|
178780
178780
|
const t = see, n = hee, r = Ef;
|
|
178781
178781
|
e.SIGNATURE_LENGTH = 64, e.PUBLIC_KEY_LENGTH = 32, e.SECRET_KEY_LENGTH = 64, e.SEED_LENGTH = 32;
|
|
178782
|
-
function o(
|
|
178782
|
+
function o(ie) {
|
|
178783
178783
|
const K = new Float64Array(16);
|
|
178784
|
-
if (
|
|
178785
|
-
for (let Z = 0; Z <
|
|
178786
|
-
K[Z] =
|
|
178784
|
+
if (ie)
|
|
178785
|
+
for (let Z = 0; Z < ie.length; Z++)
|
|
178786
|
+
K[Z] = ie[Z];
|
|
178787
178787
|
return K;
|
|
178788
178788
|
}
|
|
178789
178789
|
const i = new Uint8Array(32);
|
|
@@ -178874,26 +178874,26 @@ var hee = {};
|
|
|
178874
178874
|
9344,
|
|
178875
178875
|
11139
|
|
178876
178876
|
]);
|
|
178877
|
-
function h(
|
|
178877
|
+
function h(ie, K) {
|
|
178878
178878
|
for (let Z = 0; Z < 16; Z++)
|
|
178879
|
-
|
|
178879
|
+
ie[Z] = K[Z] | 0;
|
|
178880
178880
|
}
|
|
178881
|
-
function f(
|
|
178881
|
+
function f(ie) {
|
|
178882
178882
|
let K = 1;
|
|
178883
178883
|
for (let Z = 0; Z < 16; Z++) {
|
|
178884
|
-
let T =
|
|
178885
|
-
K = Math.floor(T / 65536),
|
|
178884
|
+
let T = ie[Z] + K + 65535;
|
|
178885
|
+
K = Math.floor(T / 65536), ie[Z] = T - K * 65536;
|
|
178886
178886
|
}
|
|
178887
|
-
|
|
178887
|
+
ie[0] += K - 1 + 37 * (K - 1);
|
|
178888
178888
|
}
|
|
178889
|
-
function g(
|
|
178889
|
+
function g(ie, K, Z) {
|
|
178890
178890
|
const T = ~(Z - 1);
|
|
178891
178891
|
for (let V = 0; V < 16; V++) {
|
|
178892
|
-
const G = T & (
|
|
178893
|
-
|
|
178892
|
+
const G = T & (ie[V] ^ K[V]);
|
|
178893
|
+
ie[V] ^= G, K[V] ^= G;
|
|
178894
178894
|
}
|
|
178895
178895
|
}
|
|
178896
|
-
function m(
|
|
178896
|
+
function m(ie, K) {
|
|
178897
178897
|
const Z = o(), T = o();
|
|
178898
178898
|
for (let V = 0; V < 16; V++)
|
|
178899
178899
|
T[V] = K[V];
|
|
@@ -178907,43 +178907,43 @@ var hee = {};
|
|
|
178907
178907
|
Z[14] &= 65535, g(T, Z, 1 - G);
|
|
178908
178908
|
}
|
|
178909
178909
|
for (let V = 0; V < 16; V++)
|
|
178910
|
-
|
|
178910
|
+
ie[2 * V] = T[V] & 255, ie[2 * V + 1] = T[V] >> 8;
|
|
178911
178911
|
}
|
|
178912
|
-
function b(
|
|
178912
|
+
function b(ie, K) {
|
|
178913
178913
|
let Z = 0;
|
|
178914
178914
|
for (let T = 0; T < 32; T++)
|
|
178915
|
-
Z |=
|
|
178915
|
+
Z |= ie[T] ^ K[T];
|
|
178916
178916
|
return (1 & Z - 1 >>> 8) - 1;
|
|
178917
178917
|
}
|
|
178918
|
-
function y(
|
|
178918
|
+
function y(ie, K) {
|
|
178919
178919
|
const Z = new Uint8Array(32), T = new Uint8Array(32);
|
|
178920
|
-
return m(Z,
|
|
178920
|
+
return m(Z, ie), m(T, K), b(Z, T);
|
|
178921
178921
|
}
|
|
178922
|
-
function F(
|
|
178922
|
+
function F(ie) {
|
|
178923
178923
|
const K = new Uint8Array(32);
|
|
178924
|
-
return m(K,
|
|
178924
|
+
return m(K, ie), K[0] & 1;
|
|
178925
178925
|
}
|
|
178926
|
-
function v(
|
|
178926
|
+
function v(ie, K) {
|
|
178927
178927
|
for (let Z = 0; Z < 16; Z++)
|
|
178928
|
-
|
|
178929
|
-
|
|
178928
|
+
ie[Z] = K[2 * Z] + (K[2 * Z + 1] << 8);
|
|
178929
|
+
ie[15] &= 32767;
|
|
178930
178930
|
}
|
|
178931
|
-
function w(
|
|
178931
|
+
function w(ie, K, Z) {
|
|
178932
178932
|
for (let T = 0; T < 16; T++)
|
|
178933
|
-
|
|
178933
|
+
ie[T] = K[T] + Z[T];
|
|
178934
178934
|
}
|
|
178935
|
-
function D(
|
|
178935
|
+
function D(ie, K, Z) {
|
|
178936
178936
|
for (let T = 0; T < 16; T++)
|
|
178937
|
-
|
|
178937
|
+
ie[T] = K[T] - Z[T];
|
|
178938
178938
|
}
|
|
178939
|
-
function k(
|
|
178940
|
-
let T, V, G = 0, re = 0, M = 0,
|
|
178941
|
-
T = K[0], G += T * it, re += T * Je, M += T * ht,
|
|
178939
|
+
function k(ie, K, Z) {
|
|
178940
|
+
let T, V, G = 0, re = 0, M = 0, se = 0, oe = 0, Y = 0, Q = 0, le = 0, ge = 0, De = 0, ye = 0, pe = 0, de = 0, fe = 0, I = 0, W = 0, ee = 0, ue = 0, he = 0, xe = 0, ke = 0, Ee = 0, be = 0, Te = 0, Oe = 0, Le = 0, Pe = 0, ut = 0, pt = 0, ct = 0, xt = 0, it = Z[0], Je = Z[1], ht = Z[2], Ve = Z[3], vt = Z[4], Kt = Z[5], Xt = Z[6], Et = Z[7], ln = Z[8], Ze = Z[9], ze = Z[10], dt = Z[11], Ft = Z[12], Rt = Z[13], me = Z[14], Be = Z[15];
|
|
178941
|
+
T = K[0], G += T * it, re += T * Je, M += T * ht, se += T * Ve, oe += T * vt, Y += T * Kt, Q += T * Xt, le += T * Et, ge += T * ln, De += T * Ze, ye += T * ze, pe += T * dt, de += T * Ft, fe += T * Rt, I += T * me, W += T * Be, T = K[1], re += T * it, M += T * Je, se += T * ht, oe += T * Ve, Y += T * vt, Q += T * Kt, le += T * Xt, ge += T * Et, De += T * ln, ye += T * Ze, pe += T * ze, de += T * dt, fe += T * Ft, I += T * Rt, W += T * me, ee += T * Be, T = K[2], M += T * it, se += T * Je, oe += T * ht, Y += T * Ve, Q += T * vt, le += T * Kt, ge += T * Xt, De += T * Et, ye += T * ln, pe += T * Ze, de += T * ze, fe += T * dt, I += T * Ft, W += T * Rt, ee += T * me, ue += T * Be, T = K[3], se += T * it, oe += T * Je, Y += T * ht, Q += T * Ve, le += T * vt, ge += T * Kt, De += T * Xt, ye += T * Et, pe += T * ln, de += T * Ze, fe += T * ze, I += T * dt, W += T * Ft, ee += T * Rt, ue += T * me, he += T * Be, T = K[4], oe += T * it, Y += T * Je, Q += T * ht, le += T * Ve, ge += T * vt, De += T * Kt, ye += T * Xt, pe += T * Et, de += T * ln, fe += T * Ze, I += T * ze, W += T * dt, ee += T * Ft, ue += T * Rt, he += T * me, xe += T * Be, T = K[5], Y += T * it, Q += T * Je, le += T * ht, ge += T * Ve, De += T * vt, ye += T * Kt, pe += T * Xt, de += T * Et, fe += T * ln, I += T * Ze, W += T * ze, ee += T * dt, ue += T * Ft, he += T * Rt, xe += T * me, ke += T * Be, T = K[6], Q += T * it, le += T * Je, ge += T * ht, De += T * Ve, ye += T * vt, pe += T * Kt, de += T * Xt, fe += T * Et, I += T * ln, W += T * Ze, ee += T * ze, ue += T * dt, he += T * Ft, xe += T * Rt, ke += T * me, Ee += T * Be, T = K[7], le += T * it, ge += T * Je, De += T * ht, ye += T * Ve, pe += T * vt, de += T * Kt, fe += T * Xt, I += T * Et, W += T * ln, ee += T * Ze, ue += T * ze, he += T * dt, xe += T * Ft, ke += T * Rt, Ee += T * me, be += T * Be, T = K[8], ge += T * it, De += T * Je, ye += T * ht, pe += T * Ve, de += T * vt, fe += T * Kt, I += T * Xt, W += T * Et, ee += T * ln, ue += T * Ze, he += T * ze, xe += T * dt, ke += T * Ft, Ee += T * Rt, be += T * me, Te += T * Be, T = K[9], De += T * it, ye += T * Je, pe += T * ht, de += T * Ve, fe += T * vt, I += T * Kt, W += T * Xt, ee += T * Et, ue += T * ln, he += T * Ze, xe += T * ze, ke += T * dt, Ee += T * Ft, be += T * Rt, Te += T * me, Oe += T * Be, T = K[10], ye += T * it, pe += T * Je, de += T * ht, fe += T * Ve, I += T * vt, W += T * Kt, ee += T * Xt, ue += T * Et, he += T * ln, xe += T * Ze, ke += T * ze, Ee += T * dt, be += T * Ft, Te += T * Rt, Oe += T * me, Le += T * Be, T = K[11], pe += T * it, de += T * Je, fe += T * ht, I += T * Ve, W += T * vt, ee += T * Kt, ue += T * Xt, he += T * Et, xe += T * ln, ke += T * Ze, Ee += T * ze, be += T * dt, Te += T * Ft, Oe += T * Rt, Le += T * me, Pe += T * Be, T = K[12], de += T * it, fe += T * Je, I += T * ht, W += T * Ve, ee += T * vt, ue += T * Kt, he += T * Xt, xe += T * Et, ke += T * ln, Ee += T * Ze, be += T * ze, Te += T * dt, Oe += T * Ft, Le += T * Rt, Pe += T * me, ut += T * Be, T = K[13], fe += T * it, I += T * Je, W += T * ht, ee += T * Ve, ue += T * vt, he += T * Kt, xe += T * Xt, ke += T * Et, Ee += T * ln, be += T * Ze, Te += T * ze, Oe += T * dt, Le += T * Ft, Pe += T * Rt, ut += T * me, pt += T * Be, T = K[14], I += T * it, W += T * Je, ee += T * ht, ue += T * Ve, he += T * vt, xe += T * Kt, ke += T * Xt, Ee += T * Et, be += T * ln, Te += T * Ze, Oe += T * ze, Le += T * dt, Pe += T * Ft, ut += T * Rt, pt += T * me, ct += T * Be, T = K[15], W += T * it, ee += T * Je, ue += T * ht, he += T * Ve, xe += T * vt, ke += T * Kt, Ee += T * Xt, be += T * Et, Te += T * ln, Oe += T * Ze, Le += T * ze, Pe += T * dt, ut += T * Ft, pt += T * Rt, ct += T * me, xt += T * Be, G += 38 * ee, re += 38 * ue, M += 38 * he, se += 38 * xe, oe += 38 * ke, Y += 38 * Ee, Q += 38 * be, le += 38 * Te, ge += 38 * Oe, De += 38 * Le, ye += 38 * Pe, pe += 38 * ut, de += 38 * pt, fe += 38 * ct, I += 38 * xt, V = 1, T = G + V + 65535, V = Math.floor(T / 65536), G = T - V * 65536, T = re + V + 65535, V = Math.floor(T / 65536), re = T - V * 65536, T = M + V + 65535, V = Math.floor(T / 65536), M = T - V * 65536, T = se + V + 65535, V = Math.floor(T / 65536), se = T - V * 65536, T = oe + V + 65535, V = Math.floor(T / 65536), oe = T - V * 65536, T = Y + V + 65535, V = Math.floor(T / 65536), Y = T - V * 65536, T = Q + V + 65535, V = Math.floor(T / 65536), Q = T - V * 65536, T = le + V + 65535, V = Math.floor(T / 65536), le = T - V * 65536, T = ge + V + 65535, V = Math.floor(T / 65536), ge = T - V * 65536, T = De + V + 65535, V = Math.floor(T / 65536), De = T - V * 65536, T = ye + V + 65535, V = Math.floor(T / 65536), ye = T - V * 65536, T = pe + V + 65535, V = Math.floor(T / 65536), pe = T - V * 65536, T = de + V + 65535, V = Math.floor(T / 65536), de = T - V * 65536, T = fe + V + 65535, V = Math.floor(T / 65536), fe = T - V * 65536, T = I + V + 65535, V = Math.floor(T / 65536), I = T - V * 65536, T = W + V + 65535, V = Math.floor(T / 65536), W = T - V * 65536, G += V - 1 + 37 * (V - 1), V = 1, T = G + V + 65535, V = Math.floor(T / 65536), G = T - V * 65536, T = re + V + 65535, V = Math.floor(T / 65536), re = T - V * 65536, T = M + V + 65535, V = Math.floor(T / 65536), M = T - V * 65536, T = se + V + 65535, V = Math.floor(T / 65536), se = T - V * 65536, T = oe + V + 65535, V = Math.floor(T / 65536), oe = T - V * 65536, T = Y + V + 65535, V = Math.floor(T / 65536), Y = T - V * 65536, T = Q + V + 65535, V = Math.floor(T / 65536), Q = T - V * 65536, T = le + V + 65535, V = Math.floor(T / 65536), le = T - V * 65536, T = ge + V + 65535, V = Math.floor(T / 65536), ge = T - V * 65536, T = De + V + 65535, V = Math.floor(T / 65536), De = T - V * 65536, T = ye + V + 65535, V = Math.floor(T / 65536), ye = T - V * 65536, T = pe + V + 65535, V = Math.floor(T / 65536), pe = T - V * 65536, T = de + V + 65535, V = Math.floor(T / 65536), de = T - V * 65536, T = fe + V + 65535, V = Math.floor(T / 65536), fe = T - V * 65536, T = I + V + 65535, V = Math.floor(T / 65536), I = T - V * 65536, T = W + V + 65535, V = Math.floor(T / 65536), W = T - V * 65536, G += V - 1 + 37 * (V - 1), ie[0] = G, ie[1] = re, ie[2] = M, ie[3] = se, ie[4] = oe, ie[5] = Y, ie[6] = Q, ie[7] = le, ie[8] = ge, ie[9] = De, ie[10] = ye, ie[11] = pe, ie[12] = de, ie[13] = fe, ie[14] = I, ie[15] = W;
|
|
178942
178942
|
}
|
|
178943
|
-
function E(
|
|
178944
|
-
k(
|
|
178943
|
+
function E(ie, K) {
|
|
178944
|
+
k(ie, K, K);
|
|
178945
178945
|
}
|
|
178946
|
-
function A(
|
|
178946
|
+
function A(ie, K) {
|
|
178947
178947
|
const Z = o();
|
|
178948
178948
|
let T;
|
|
178949
178949
|
for (T = 0; T < 16; T++)
|
|
@@ -178951,9 +178951,9 @@ var hee = {};
|
|
|
178951
178951
|
for (T = 253; T >= 0; T--)
|
|
178952
178952
|
E(Z, Z), T !== 2 && T !== 4 && k(Z, Z, K);
|
|
178953
178953
|
for (T = 0; T < 16; T++)
|
|
178954
|
-
|
|
178954
|
+
ie[T] = Z[T];
|
|
178955
178955
|
}
|
|
178956
|
-
function O(
|
|
178956
|
+
function O(ie, K) {
|
|
178957
178957
|
const Z = o();
|
|
178958
178958
|
let T;
|
|
178959
178959
|
for (T = 0; T < 16; T++)
|
|
@@ -178961,54 +178961,54 @@ var hee = {};
|
|
|
178961
178961
|
for (T = 250; T >= 0; T--)
|
|
178962
178962
|
E(Z, Z), T !== 1 && k(Z, Z, K);
|
|
178963
178963
|
for (T = 0; T < 16; T++)
|
|
178964
|
-
|
|
178964
|
+
ie[T] = Z[T];
|
|
178965
178965
|
}
|
|
178966
|
-
function S(
|
|
178967
|
-
const Z = o(), T = o(), V = o(), G = o(), re = o(), M = o(),
|
|
178968
|
-
D(Z,
|
|
178966
|
+
function S(ie, K) {
|
|
178967
|
+
const Z = o(), T = o(), V = o(), G = o(), re = o(), M = o(), se = o(), oe = o(), Y = o();
|
|
178968
|
+
D(Z, ie[1], ie[0]), D(Y, K[1], K[0]), k(Z, Z, Y), w(T, ie[0], ie[1]), w(Y, K[0], K[1]), k(T, T, Y), k(V, ie[3], K[3]), k(V, V, u), k(G, ie[2], K[2]), w(G, G, G), D(re, T, Z), D(M, G, V), w(se, G, V), w(oe, T, Z), k(ie[0], re, M), k(ie[1], oe, se), k(ie[2], se, M), k(ie[3], re, oe);
|
|
178969
178969
|
}
|
|
178970
|
-
function _(
|
|
178970
|
+
function _(ie, K, Z) {
|
|
178971
178971
|
for (let T = 0; T < 4; T++)
|
|
178972
|
-
g(
|
|
178972
|
+
g(ie[T], K[T], Z);
|
|
178973
178973
|
}
|
|
178974
|
-
function B(
|
|
178974
|
+
function B(ie, K) {
|
|
178975
178975
|
const Z = o(), T = o(), V = o();
|
|
178976
|
-
A(V, K[2]), k(Z, K[0], V), k(T, K[1], V), m(
|
|
178976
|
+
A(V, K[2]), k(Z, K[0], V), k(T, K[1], V), m(ie, T), ie[31] ^= F(Z) << 7;
|
|
178977
178977
|
}
|
|
178978
|
-
function C(
|
|
178979
|
-
h(
|
|
178978
|
+
function C(ie, K, Z) {
|
|
178979
|
+
h(ie[0], s), h(ie[1], a), h(ie[2], a), h(ie[3], s);
|
|
178980
178980
|
for (let T = 255; T >= 0; --T) {
|
|
178981
178981
|
const V = Z[T / 8 | 0] >> (T & 7) & 1;
|
|
178982
|
-
_(
|
|
178982
|
+
_(ie, K, V), S(K, ie), S(ie, ie), _(ie, K, V);
|
|
178983
178983
|
}
|
|
178984
178984
|
}
|
|
178985
|
-
function N(
|
|
178985
|
+
function N(ie, K) {
|
|
178986
178986
|
const Z = [o(), o(), o(), o()];
|
|
178987
|
-
h(Z[0], c), h(Z[1], d), h(Z[2], a), k(Z[3], c, d), C(
|
|
178987
|
+
h(Z[0], c), h(Z[1], d), h(Z[2], a), k(Z[3], c, d), C(ie, Z, K);
|
|
178988
178988
|
}
|
|
178989
|
-
function j(
|
|
178990
|
-
if (
|
|
178989
|
+
function j(ie) {
|
|
178990
|
+
if (ie.length !== e.SEED_LENGTH)
|
|
178991
178991
|
throw new Error(`ed25519: seed must be ${e.SEED_LENGTH} bytes`);
|
|
178992
|
-
const K = (0, n.hash)(
|
|
178992
|
+
const K = (0, n.hash)(ie);
|
|
178993
178993
|
K[0] &= 248, K[31] &= 127, K[31] |= 64;
|
|
178994
178994
|
const Z = new Uint8Array(32), T = [o(), o(), o(), o()];
|
|
178995
178995
|
N(T, K), B(Z, T);
|
|
178996
178996
|
const V = new Uint8Array(64);
|
|
178997
|
-
return V.set(
|
|
178997
|
+
return V.set(ie), V.set(Z, 32), {
|
|
178998
178998
|
publicKey: Z,
|
|
178999
178999
|
secretKey: V
|
|
179000
179000
|
};
|
|
179001
179001
|
}
|
|
179002
179002
|
e.generateKeyPairFromSeed = j;
|
|
179003
|
-
function R(
|
|
179004
|
-
const K = (0, t.randomBytes)(32,
|
|
179003
|
+
function R(ie) {
|
|
179004
|
+
const K = (0, t.randomBytes)(32, ie), Z = j(K);
|
|
179005
179005
|
return (0, r.wipe)(K), Z;
|
|
179006
179006
|
}
|
|
179007
179007
|
e.generateKeyPair = R;
|
|
179008
|
-
function L(
|
|
179009
|
-
if (
|
|
179008
|
+
function L(ie) {
|
|
179009
|
+
if (ie.length !== e.SECRET_KEY_LENGTH)
|
|
179010
179010
|
throw new Error(`ed25519: secret key must be ${e.SECRET_KEY_LENGTH} bytes`);
|
|
179011
|
-
return new Uint8Array(
|
|
179011
|
+
return new Uint8Array(ie.subarray(32));
|
|
179012
179012
|
}
|
|
179013
179013
|
e.extractPublicKeyFromSecretKey = L;
|
|
179014
179014
|
const $ = new Float64Array([
|
|
@@ -179045,7 +179045,7 @@ var hee = {};
|
|
|
179045
179045
|
0,
|
|
179046
179046
|
16
|
|
179047
179047
|
]);
|
|
179048
|
-
function H(
|
|
179048
|
+
function H(ie, K) {
|
|
179049
179049
|
let Z, T, V, G;
|
|
179050
179050
|
for (T = 63; T >= 32; --T) {
|
|
179051
179051
|
for (Z = 0, V = T - 32, G = T - 12; V < G; ++V)
|
|
@@ -179057,54 +179057,54 @@ var hee = {};
|
|
|
179057
179057
|
for (V = 0; V < 32; V++)
|
|
179058
179058
|
K[V] -= Z * $[V];
|
|
179059
179059
|
for (T = 0; T < 32; T++)
|
|
179060
|
-
K[T + 1] += K[T] >> 8,
|
|
179060
|
+
K[T + 1] += K[T] >> 8, ie[T] = K[T] & 255;
|
|
179061
179061
|
}
|
|
179062
|
-
function z(
|
|
179062
|
+
function z(ie) {
|
|
179063
179063
|
const K = new Float64Array(64);
|
|
179064
179064
|
for (let Z = 0; Z < 64; Z++)
|
|
179065
|
-
K[Z] =
|
|
179065
|
+
K[Z] = ie[Z];
|
|
179066
179066
|
for (let Z = 0; Z < 64; Z++)
|
|
179067
|
-
|
|
179068
|
-
H(
|
|
179067
|
+
ie[Z] = 0;
|
|
179068
|
+
H(ie, K);
|
|
179069
179069
|
}
|
|
179070
|
-
function U(
|
|
179071
|
-
const Z = new Float64Array(64), T = [o(), o(), o(), o()], V = (0, n.hash)(
|
|
179070
|
+
function U(ie, K) {
|
|
179071
|
+
const Z = new Float64Array(64), T = [o(), o(), o(), o()], V = (0, n.hash)(ie.subarray(0, 32));
|
|
179072
179072
|
V[0] &= 248, V[31] &= 127, V[31] |= 64;
|
|
179073
179073
|
const G = new Uint8Array(64);
|
|
179074
179074
|
G.set(V.subarray(32), 32);
|
|
179075
179075
|
const re = new n.SHA512();
|
|
179076
179076
|
re.update(G.subarray(32)), re.update(K);
|
|
179077
179077
|
const M = re.digest();
|
|
179078
|
-
re.clean(), z(M), N(T, M), B(G, T), re.reset(), re.update(G.subarray(0, 32)), re.update(
|
|
179079
|
-
const
|
|
179080
|
-
z(
|
|
179081
|
-
for (let
|
|
179082
|
-
Z[
|
|
179083
|
-
for (let
|
|
179078
|
+
re.clean(), z(M), N(T, M), B(G, T), re.reset(), re.update(G.subarray(0, 32)), re.update(ie.subarray(32)), re.update(K);
|
|
179079
|
+
const se = re.digest();
|
|
179080
|
+
z(se);
|
|
179081
|
+
for (let oe = 0; oe < 32; oe++)
|
|
179082
|
+
Z[oe] = M[oe];
|
|
179083
|
+
for (let oe = 0; oe < 32; oe++)
|
|
179084
179084
|
for (let Y = 0; Y < 32; Y++)
|
|
179085
|
-
Z[
|
|
179085
|
+
Z[oe + Y] += se[oe] * V[Y];
|
|
179086
179086
|
return H(G.subarray(32), Z), G;
|
|
179087
179087
|
}
|
|
179088
179088
|
e.sign = U;
|
|
179089
|
-
function X(
|
|
179090
|
-
const Z = o(), T = o(), V = o(), G = o(), re = o(), M = o(),
|
|
179091
|
-
return h(
|
|
179089
|
+
function X(ie, K) {
|
|
179090
|
+
const Z = o(), T = o(), V = o(), G = o(), re = o(), M = o(), se = o();
|
|
179091
|
+
return h(ie[2], a), v(ie[1], K), E(V, ie[1]), k(G, V, l), D(V, V, ie[2]), w(G, ie[2], G), E(re, G), E(M, re), k(se, M, re), k(Z, se, V), k(Z, Z, G), O(Z, Z), k(Z, Z, V), k(Z, Z, G), k(Z, Z, G), k(ie[0], Z, G), E(T, ie[0]), k(T, T, G), y(T, V) && k(ie[0], ie[0], p), E(T, ie[0]), k(T, T, G), y(T, V) ? -1 : (F(ie[0]) === K[31] >> 7 && D(ie[0], s, ie[0]), k(ie[3], ie[0], ie[1]), 0);
|
|
179092
179092
|
}
|
|
179093
|
-
function ae(
|
|
179093
|
+
function ae(ie, K, Z) {
|
|
179094
179094
|
const T = new Uint8Array(32), V = [o(), o(), o(), o()], G = [o(), o(), o(), o()];
|
|
179095
179095
|
if (Z.length !== e.SIGNATURE_LENGTH)
|
|
179096
179096
|
throw new Error(`ed25519: signature must be ${e.SIGNATURE_LENGTH} bytes`);
|
|
179097
|
-
if (X(G,
|
|
179097
|
+
if (X(G, ie))
|
|
179098
179098
|
return !1;
|
|
179099
179099
|
const re = new n.SHA512();
|
|
179100
|
-
re.update(Z.subarray(0, 32)), re.update(
|
|
179100
|
+
re.update(Z.subarray(0, 32)), re.update(ie), re.update(K);
|
|
179101
179101
|
const M = re.digest();
|
|
179102
179102
|
return z(M), C(V, G, M), N(G, Z.subarray(32)), S(V, G), B(T, V), !b(Z, T);
|
|
179103
179103
|
}
|
|
179104
179104
|
e.verify = ae;
|
|
179105
|
-
function te(
|
|
179105
|
+
function te(ie) {
|
|
179106
179106
|
let K = [o(), o(), o(), o()];
|
|
179107
|
-
if (X(K,
|
|
179107
|
+
if (X(K, ie))
|
|
179108
179108
|
throw new Error("Ed25519: invalid public key");
|
|
179109
179109
|
let Z = o(), T = o(), V = K[1];
|
|
179110
179110
|
w(Z, a, V), D(T, a, V), A(T, T), k(Z, Z, T);
|
|
@@ -179112,8 +179112,8 @@ var hee = {};
|
|
|
179112
179112
|
return m(G, Z), G;
|
|
179113
179113
|
}
|
|
179114
179114
|
e.convertPublicKeyToX25519 = te;
|
|
179115
|
-
function J(
|
|
179116
|
-
const K = (0, n.hash)(
|
|
179115
|
+
function J(ie) {
|
|
179116
|
+
const K = (0, n.hash)(ie.subarray(0, 32));
|
|
179117
179117
|
K[0] &= 248, K[31] &= 127, K[31] |= 64;
|
|
179118
179118
|
const Z = new Uint8Array(K.subarray(0, 32));
|
|
179119
179119
|
return (0, r.wipe)(K), Z;
|
|
@@ -179743,7 +179743,7 @@ var vee = { exports: {} };
|
|
|
179743
179743
|
}
|
|
179744
179744
|
return W = $(ue, X[ee]), W[1].isNegative() ? W[0].prev() : W[0];
|
|
179745
179745
|
}, p.prototype.shiftRight = d.prototype.shiftRight = c.prototype.shiftRight;
|
|
179746
|
-
function
|
|
179746
|
+
function ie(I, W, ee) {
|
|
179747
179747
|
W = de(W);
|
|
179748
179748
|
for (var ue = I.isNegative(), he = W.isNegative(), xe = ue ? I.not() : I, ke = he ? W.not() : W, Ee = 0, be = 0, Te = null, Oe = null, Le = []; !xe.isZero() || !ke.isZero(); )
|
|
179749
179749
|
Te = $(xe, te), Ee = Te[1].toJSNumber(), ue && (Ee = te - 1 - Ee), Oe = $(ke, te), be = Oe[1].toJSNumber(), he && (be = te - 1 - be), xe = Te[0], ke = Oe[0], Le.push(ee(Ee, be));
|
|
@@ -179754,15 +179754,15 @@ var vee = { exports: {} };
|
|
|
179754
179754
|
c.prototype.not = function() {
|
|
179755
179755
|
return this.negate().prev();
|
|
179756
179756
|
}, p.prototype.not = d.prototype.not = c.prototype.not, c.prototype.and = function(I) {
|
|
179757
|
-
return
|
|
179757
|
+
return ie(this, I, function(W, ee) {
|
|
179758
179758
|
return W & ee;
|
|
179759
179759
|
});
|
|
179760
179760
|
}, p.prototype.and = d.prototype.and = c.prototype.and, c.prototype.or = function(I) {
|
|
179761
|
-
return
|
|
179761
|
+
return ie(this, I, function(W, ee) {
|
|
179762
179762
|
return W | ee;
|
|
179763
179763
|
});
|
|
179764
179764
|
}, p.prototype.or = d.prototype.or = c.prototype.or, c.prototype.xor = function(I) {
|
|
179765
|
-
return
|
|
179765
|
+
return ie(this, I, function(W, ee) {
|
|
179766
179766
|
return W ^ ee;
|
|
179767
179767
|
});
|
|
179768
179768
|
}, p.prototype.xor = d.prototype.xor = c.prototype.xor;
|
|
@@ -179803,10 +179803,10 @@ var vee = { exports: {} };
|
|
|
179803
179803
|
} while (!W.isZero());
|
|
179804
179804
|
return ee.isUnit() ? I : I.multiply(ee);
|
|
179805
179805
|
}
|
|
179806
|
-
function
|
|
179806
|
+
function se(I, W) {
|
|
179807
179807
|
return I = de(I).abs(), W = de(W).abs(), I.divide(M(I, W)).multiply(W);
|
|
179808
179808
|
}
|
|
179809
|
-
function
|
|
179809
|
+
function oe(I, W, ee) {
|
|
179810
179810
|
I = de(I), W = de(W);
|
|
179811
179811
|
var ue = ee || Math.random, he = re(I, W), xe = G(I, W), ke = xe.subtract(he).add(1);
|
|
179812
179812
|
if (ke.isSmall) return he.add(Math.floor(ue() * ke));
|
|
@@ -179955,9 +179955,9 @@ var vee = { exports: {} };
|
|
|
179955
179955
|
}
|
|
179956
179956
|
for (var fe = 0; fe < 1e3; fe++)
|
|
179957
179957
|
u[fe] = de(fe), fe > 0 && (u[-fe] = de(-fe));
|
|
179958
|
-
return u.one = u[1], u.zero = u[0], u.minusOne = u[-1], u.max = G, u.min = re, u.gcd = M, u.lcm =
|
|
179958
|
+
return u.one = u[1], u.zero = u[0], u.minusOne = u[-1], u.max = G, u.min = re, u.gcd = M, u.lcm = se, u.isInstance = function(I) {
|
|
179959
179959
|
return I instanceof c || I instanceof d || I instanceof p;
|
|
179960
|
-
}, u.randBetween =
|
|
179960
|
+
}, u.randBetween = oe, u.fromArray = function(I, W, ee) {
|
|
179961
179961
|
return Q(I.map(de), de(W || 10), ee);
|
|
179962
179962
|
}, u;
|
|
179963
179963
|
}();
|
|
@@ -181603,8 +181603,8 @@ function Mw(e, t, n, r, o, i, s) {
|
|
|
181603
181603
|
e[N] = NR(o, j), t[N] = NR(o, j + 4);
|
|
181604
181604
|
}
|
|
181605
181605
|
for (let N = 0; N < 80; N++) {
|
|
181606
|
-
let j = a, R = l, L = u, $ = c, H = d, z = p, U = h, X = f, ae = g, te = m, J = b,
|
|
181607
|
-
if (k = f, E = D, S = E & 65535, _ = E >>> 16, B = k & 65535, C = k >>> 16, k = (d >>> 14 | F << 18) ^ (d >>> 18 | F << 14) ^ (F >>> 9 | d << 23), E = (F >>> 14 | d << 18) ^ (F >>> 18 | d << 14) ^ (d >>> 9 | F << 23), S += E & 65535, _ += E >>> 16, B += k & 65535, C += k >>> 16, k = d & p ^ ~d & h, E = F & v ^ ~F & w, S += E & 65535, _ += E >>> 16, B += k & 65535, C += k >>> 16, k = OR[N * 2], E = OR[N * 2 + 1], S += E & 65535, _ += E >>> 16, B += k & 65535, C += k >>> 16, k = e[N % 16], E = t[N % 16], S += E & 65535, _ += E >>> 16, B += k & 65535, C += k >>> 16, _ += S >>> 16, B += _ >>> 16, C += B >>> 16, A = B & 65535 | C << 16, O = S & 65535 | _ << 16, k = A, E = O, S = E & 65535, _ = E >>> 16, B = k & 65535, C = k >>> 16, k = (a >>> 28 | g << 4) ^ (g >>> 2 | a << 30) ^ (g >>> 7 | a << 25), E = (g >>> 28 | a << 4) ^ (a >>> 2 | g << 30) ^ (a >>> 7 | g << 25), S += E & 65535, _ += E >>> 16, B += k & 65535, C += k >>> 16, k = a & l ^ a & u ^ l & u, E = g & m ^ g & b ^ m & b, S += E & 65535, _ += E >>> 16, B += k & 65535, C += k >>> 16, _ += S >>> 16, B += _ >>> 16, C += B >>> 16, X = B & 65535 | C << 16, V = S & 65535 | _ << 16, k = $, E =
|
|
181606
|
+
let j = a, R = l, L = u, $ = c, H = d, z = p, U = h, X = f, ae = g, te = m, J = b, ie = y, K = F, Z = v, T = w, V = D;
|
|
181607
|
+
if (k = f, E = D, S = E & 65535, _ = E >>> 16, B = k & 65535, C = k >>> 16, k = (d >>> 14 | F << 18) ^ (d >>> 18 | F << 14) ^ (F >>> 9 | d << 23), E = (F >>> 14 | d << 18) ^ (F >>> 18 | d << 14) ^ (d >>> 9 | F << 23), S += E & 65535, _ += E >>> 16, B += k & 65535, C += k >>> 16, k = d & p ^ ~d & h, E = F & v ^ ~F & w, S += E & 65535, _ += E >>> 16, B += k & 65535, C += k >>> 16, k = OR[N * 2], E = OR[N * 2 + 1], S += E & 65535, _ += E >>> 16, B += k & 65535, C += k >>> 16, k = e[N % 16], E = t[N % 16], S += E & 65535, _ += E >>> 16, B += k & 65535, C += k >>> 16, _ += S >>> 16, B += _ >>> 16, C += B >>> 16, A = B & 65535 | C << 16, O = S & 65535 | _ << 16, k = A, E = O, S = E & 65535, _ = E >>> 16, B = k & 65535, C = k >>> 16, k = (a >>> 28 | g << 4) ^ (g >>> 2 | a << 30) ^ (g >>> 7 | a << 25), E = (g >>> 28 | a << 4) ^ (a >>> 2 | g << 30) ^ (a >>> 7 | g << 25), S += E & 65535, _ += E >>> 16, B += k & 65535, C += k >>> 16, k = a & l ^ a & u ^ l & u, E = g & m ^ g & b ^ m & b, S += E & 65535, _ += E >>> 16, B += k & 65535, C += k >>> 16, _ += S >>> 16, B += _ >>> 16, C += B >>> 16, X = B & 65535 | C << 16, V = S & 65535 | _ << 16, k = $, E = ie, S = E & 65535, _ = E >>> 16, B = k & 65535, C = k >>> 16, k = A, E = O, S += E & 65535, _ += E >>> 16, B += k & 65535, C += k >>> 16, _ += S >>> 16, B += _ >>> 16, C += B >>> 16, $ = B & 65535 | C << 16, ie = S & 65535 | _ << 16, l = j, u = R, c = L, d = $, p = H, h = z, f = U, a = X, m = ae, b = te, y = J, F = ie, v = K, w = Z, D = T, g = V, N % 16 === 15)
|
|
181608
181608
|
for (let G = 0; G < 16; G++)
|
|
181609
181609
|
k = e[G], E = t[G], S = E & 65535, _ = E >>> 16, B = k & 65535, C = k >>> 16, k = e[(G + 9) % 16], E = t[(G + 9) % 16], S += E & 65535, _ += E >>> 16, B += k & 65535, C += k >>> 16, A = e[(G + 1) % 16], O = t[(G + 1) % 16], k = (A >>> 1 | O << 31) ^ (A >>> 8 | O << 24) ^ A >>> 7, E = (O >>> 1 | A << 31) ^ (O >>> 8 | A << 24) ^ (O >>> 7 | A << 25), S += E & 65535, _ += E >>> 16, B += k & 65535, C += k >>> 16, A = e[(G + 14) % 16], O = t[(G + 14) % 16], k = (A >>> 19 | O << 13) ^ (O >>> 29 | A << 3) ^ A >>> 6, E = (O >>> 19 | A << 13) ^ (A >>> 29 | O << 3) ^ (O >>> 6 | A << 26), S += E & 65535, _ += E >>> 16, B += k & 65535, C += k >>> 16, _ += S >>> 16, B += _ >>> 16, C += B >>> 16, e[G] = B & 65535 | C << 16, t[G] = S & 65535 | _ << 16;
|
|
181610
181610
|
}
|
|
@@ -181765,8 +181765,8 @@ function T2(e, t, n) {
|
|
|
181765
181765
|
e[r] = t[r] - n[r];
|
|
181766
181766
|
}
|
|
181767
181767
|
function Jo(e, t, n) {
|
|
181768
|
-
let r, o, i = 0, s = 0, a = 0, l = 0, u = 0, c = 0, d = 0, p = 0, h = 0, f = 0, g = 0, m = 0, b = 0, y = 0, F = 0, v = 0, w = 0, D = 0, k = 0, E = 0, A = 0, O = 0, S = 0, _ = 0, B = 0, C = 0, N = 0, j = 0, R = 0, L = 0, $ = 0, H = n[0], z = n[1], U = n[2], X = n[3], ae = n[4], te = n[5], J = n[6],
|
|
181769
|
-
r = t[0], i += r * H, s += r * z, a += r * U, l += r * X, u += r * ae, c += r * te, d += r * J, p += r *
|
|
181768
|
+
let r, o, i = 0, s = 0, a = 0, l = 0, u = 0, c = 0, d = 0, p = 0, h = 0, f = 0, g = 0, m = 0, b = 0, y = 0, F = 0, v = 0, w = 0, D = 0, k = 0, E = 0, A = 0, O = 0, S = 0, _ = 0, B = 0, C = 0, N = 0, j = 0, R = 0, L = 0, $ = 0, H = n[0], z = n[1], U = n[2], X = n[3], ae = n[4], te = n[5], J = n[6], ie = n[7], K = n[8], Z = n[9], T = n[10], V = n[11], G = n[12], re = n[13], M = n[14], se = n[15];
|
|
181769
|
+
r = t[0], i += r * H, s += r * z, a += r * U, l += r * X, u += r * ae, c += r * te, d += r * J, p += r * ie, h += r * K, f += r * Z, g += r * T, m += r * V, b += r * G, y += r * re, F += r * M, v += r * se, r = t[1], s += r * H, a += r * z, l += r * U, u += r * X, c += r * ae, d += r * te, p += r * J, h += r * ie, f += r * K, g += r * Z, m += r * T, b += r * V, y += r * G, F += r * re, v += r * M, w += r * se, r = t[2], a += r * H, l += r * z, u += r * U, c += r * X, d += r * ae, p += r * te, h += r * J, f += r * ie, g += r * K, m += r * Z, b += r * T, y += r * V, F += r * G, v += r * re, w += r * M, D += r * se, r = t[3], l += r * H, u += r * z, c += r * U, d += r * X, p += r * ae, h += r * te, f += r * J, g += r * ie, m += r * K, b += r * Z, y += r * T, F += r * V, v += r * G, w += r * re, D += r * M, k += r * se, r = t[4], u += r * H, c += r * z, d += r * U, p += r * X, h += r * ae, f += r * te, g += r * J, m += r * ie, b += r * K, y += r * Z, F += r * T, v += r * V, w += r * G, D += r * re, k += r * M, E += r * se, r = t[5], c += r * H, d += r * z, p += r * U, h += r * X, f += r * ae, g += r * te, m += r * J, b += r * ie, y += r * K, F += r * Z, v += r * T, w += r * V, D += r * G, k += r * re, E += r * M, A += r * se, r = t[6], d += r * H, p += r * z, h += r * U, f += r * X, g += r * ae, m += r * te, b += r * J, y += r * ie, F += r * K, v += r * Z, w += r * T, D += r * V, k += r * G, E += r * re, A += r * M, O += r * se, r = t[7], p += r * H, h += r * z, f += r * U, g += r * X, m += r * ae, b += r * te, y += r * J, F += r * ie, v += r * K, w += r * Z, D += r * T, k += r * V, E += r * G, A += r * re, O += r * M, S += r * se, r = t[8], h += r * H, f += r * z, g += r * U, m += r * X, b += r * ae, y += r * te, F += r * J, v += r * ie, w += r * K, D += r * Z, k += r * T, E += r * V, A += r * G, O += r * re, S += r * M, _ += r * se, r = t[9], f += r * H, g += r * z, m += r * U, b += r * X, y += r * ae, F += r * te, v += r * J, w += r * ie, D += r * K, k += r * Z, E += r * T, A += r * V, O += r * G, S += r * re, _ += r * M, B += r * se, r = t[10], g += r * H, m += r * z, b += r * U, y += r * X, F += r * ae, v += r * te, w += r * J, D += r * ie, k += r * K, E += r * Z, A += r * T, O += r * V, S += r * G, _ += r * re, B += r * M, C += r * se, r = t[11], m += r * H, b += r * z, y += r * U, F += r * X, v += r * ae, w += r * te, D += r * J, k += r * ie, E += r * K, A += r * Z, O += r * T, S += r * V, _ += r * G, B += r * re, C += r * M, N += r * se, r = t[12], b += r * H, y += r * z, F += r * U, v += r * X, w += r * ae, D += r * te, k += r * J, E += r * ie, A += r * K, O += r * Z, S += r * T, _ += r * V, B += r * G, C += r * re, N += r * M, j += r * se, r = t[13], y += r * H, F += r * z, v += r * U, w += r * X, D += r * ae, k += r * te, E += r * J, A += r * ie, O += r * K, S += r * Z, _ += r * T, B += r * V, C += r * G, N += r * re, j += r * M, R += r * se, r = t[14], F += r * H, v += r * z, w += r * U, D += r * X, k += r * ae, E += r * te, A += r * J, O += r * ie, S += r * K, _ += r * Z, B += r * T, C += r * V, N += r * G, j += r * re, R += r * M, L += r * se, r = t[15], v += r * H, w += r * z, D += r * U, k += r * X, E += r * ae, A += r * te, O += r * J, S += r * ie, _ += r * K, B += r * Z, C += r * T, N += r * V, j += r * G, R += r * re, L += r * M, $ += r * se, i += 38 * w, s += 38 * D, a += 38 * k, l += 38 * E, u += 38 * A, c += 38 * O, d += 38 * S, p += 38 * _, h += 38 * B, f += 38 * C, g += 38 * N, m += 38 * j, b += 38 * R, y += 38 * L, F += 38 * $, o = 1, r = i + o + 65535, o = Math.floor(r / 65536), i = r - o * 65536, r = s + o + 65535, o = Math.floor(r / 65536), s = r - o * 65536, r = a + o + 65535, o = Math.floor(r / 65536), a = r - o * 65536, r = l + o + 65535, o = Math.floor(r / 65536), l = r - o * 65536, r = u + o + 65535, o = Math.floor(r / 65536), u = r - o * 65536, r = c + o + 65535, o = Math.floor(r / 65536), c = r - o * 65536, r = d + o + 65535, o = Math.floor(r / 65536), d = r - o * 65536, r = p + o + 65535, o = Math.floor(r / 65536), p = r - o * 65536, r = h + o + 65535, o = Math.floor(r / 65536), h = r - o * 65536, r = f + o + 65535, o = Math.floor(r / 65536), f = r - o * 65536, r = g + o + 65535, o = Math.floor(r / 65536), g = r - o * 65536, r = m + o + 65535, o = Math.floor(r / 65536), m = r - o * 65536, r = b + o + 65535, o = Math.floor(r / 65536), b = r - o * 65536, r = y + o + 65535, o = Math.floor(r / 65536), y = r - o * 65536, r = F + o + 65535, o = Math.floor(r / 65536), F = r - o * 65536, r = v + o + 65535, o = Math.floor(r / 65536), v = r - o * 65536, i += o - 1 + 37 * (o - 1), o = 1, r = i + o + 65535, o = Math.floor(r / 65536), i = r - o * 65536, r = s + o + 65535, o = Math.floor(r / 65536), s = r - o * 65536, r = a + o + 65535, o = Math.floor(r / 65536), a = r - o * 65536, r = l + o + 65535, o = Math.floor(r / 65536), l = r - o * 65536, r = u + o + 65535, o = Math.floor(r / 65536), u = r - o * 65536, r = c + o + 65535, o = Math.floor(r / 65536), c = r - o * 65536, r = d + o + 65535, o = Math.floor(r / 65536), d = r - o * 65536, r = p + o + 65535, o = Math.floor(r / 65536), p = r - o * 65536, r = h + o + 65535, o = Math.floor(r / 65536), h = r - o * 65536, r = f + o + 65535, o = Math.floor(r / 65536), f = r - o * 65536, r = g + o + 65535, o = Math.floor(r / 65536), g = r - o * 65536, r = m + o + 65535, o = Math.floor(r / 65536), m = r - o * 65536, r = b + o + 65535, o = Math.floor(r / 65536), b = r - o * 65536, r = y + o + 65535, o = Math.floor(r / 65536), y = r - o * 65536, r = F + o + 65535, o = Math.floor(r / 65536), F = r - o * 65536, r = v + o + 65535, o = Math.floor(r / 65536), v = r - o * 65536, i += o - 1 + 37 * (o - 1), e[0] = i, e[1] = s, e[2] = a, e[3] = l, e[4] = u, e[5] = c, e[6] = d, e[7] = p, e[8] = h, e[9] = f, e[10] = g, e[11] = m, e[12] = b, e[13] = y, e[14] = F, e[15] = v;
|
|
181770
181770
|
}
|
|
181771
181771
|
function PVe(e, t) {
|
|
181772
181772
|
Jo(e, t, t);
|
|
@@ -183012,10 +183012,10 @@ function kKe(e, t = {}) {
|
|
|
183012
183012
|
const { X: C, Y: N, Z: j } = this, { X: R, Y: L, Z: $ } = B;
|
|
183013
183013
|
let H = r.ZERO, z = r.ZERO, U = r.ZERO;
|
|
183014
183014
|
const X = i.a, ae = r.mul(i.b, B2);
|
|
183015
|
-
let te = r.mul(C, R), J = r.mul(N, L),
|
|
183015
|
+
let te = r.mul(C, R), J = r.mul(N, L), ie = r.mul(j, $), K = r.add(C, N), Z = r.add(R, L);
|
|
183016
183016
|
K = r.mul(K, Z), Z = r.add(te, J), K = r.sub(K, Z), Z = r.add(C, j);
|
|
183017
183017
|
let T = r.add(R, $);
|
|
183018
|
-
return Z = r.mul(Z, T), T = r.add(te,
|
|
183018
|
+
return Z = r.mul(Z, T), T = r.add(te, ie), Z = r.sub(Z, T), T = r.add(N, j), H = r.add(L, $), T = r.mul(T, H), H = r.add(J, ie), T = r.sub(T, H), U = r.mul(X, Z), H = r.mul(ae, ie), U = r.add(H, U), H = r.sub(J, U), U = r.add(J, U), z = r.mul(H, U), J = r.add(te, te), J = r.add(J, te), ie = r.mul(X, ie), Z = r.mul(ae, Z), J = r.add(J, ie), ie = r.sub(te, ie), ie = r.mul(X, ie), Z = r.add(Z, ie), te = r.mul(J, Z), z = r.add(z, te), te = r.mul(T, Z), H = r.mul(K, H), H = r.sub(H, te), te = r.mul(K, J), U = r.mul(T, U), U = r.add(U, te), new A(H, z, U);
|
|
183019
183019
|
}
|
|
183020
183020
|
subtract(B) {
|
|
183021
183021
|
return this.add(B.negate());
|
|
@@ -183264,7 +183264,7 @@ function CKe(e, t, n = {}) {
|
|
|
183264
183264
|
const z = $ === 2 || $ === 3 ? R + a : R;
|
|
183265
183265
|
if (!i.isValid(z))
|
|
183266
183266
|
throw new Error("recovery id 2 or 3 invalid");
|
|
183267
|
-
const U = i.toBytes(z), X = e.fromBytes(Eu(nte(($ & 1) === 0), U)), ae = s.inv(z), te = w(Xo("msgHash", N)), J = s.create(-te * ae),
|
|
183267
|
+
const U = i.toBytes(z), X = e.fromBytes(Eu(nte(($ & 1) === 0), U)), ae = s.inv(z), te = w(Xo("msgHash", N)), J = s.create(-te * ae), ie = s.create(L * ae), K = e.BASE.multiplyUnsafe(J).add(X.multiplyUnsafe(ie));
|
|
183268
183268
|
if (K.is0())
|
|
183269
183269
|
throw new Error("point at infinify");
|
|
183270
183270
|
return K.assertValidity(), K;
|
|
@@ -183338,10 +183338,10 @@ function CKe(e, t, n = {}) {
|
|
|
183338
183338
|
}
|
|
183339
183339
|
const X = Eu(...U), ae = H;
|
|
183340
183340
|
function te(J) {
|
|
183341
|
-
const
|
|
183342
|
-
if (!s.isValidNot0(
|
|
183341
|
+
const ie = v(J);
|
|
183342
|
+
if (!s.isValidNot0(ie))
|
|
183343
183343
|
return;
|
|
183344
|
-
const K = s.inv(
|
|
183344
|
+
const K = s.inv(ie), Z = e.BASE.multiply(ie).toAffine(), T = s.create(Z.x);
|
|
183345
183345
|
if (T === ml)
|
|
183346
183346
|
return;
|
|
183347
183347
|
const V = s.create(K * s.create(ae + T * z));
|
|
@@ -183391,7 +183391,7 @@ function CKe(e, t, n = {}) {
|
|
|
183391
183391
|
const U = e.fromBytes(j);
|
|
183392
183392
|
if (L && z.hasHighS())
|
|
183393
183393
|
return !1;
|
|
183394
|
-
const { r: X, s: ae } = z, te = w(N), J = s.inv(ae),
|
|
183394
|
+
const { r: X, s: ae } = z, te = w(N), J = s.inv(ae), ie = s.create(te * J), K = s.create(X * J), Z = e.BASE.multiplyUnsafe(ie).add(U.multiplyUnsafe(K));
|
|
183395
183395
|
return Z.is0() ? !1 : s.create(Z.x) === X;
|
|
183396
183396
|
} catch {
|
|
183397
183397
|
return !1;
|
|
@@ -184732,20 +184732,20 @@ const UKe = { status: "idle" }, PKe = (e) => {
|
|
|
184732
184732
|
...L
|
|
184733
184733
|
}) => {
|
|
184734
184734
|
var re;
|
|
184735
|
-
const [$, H] = Me(!0), [z, U] = Me(!0), X = je(null), ae = !!(r != null && r.enabled), te = (r == null ? void 0 : r.content) ?? n, J = (o == null ? void 0 : o.enabled) === !0,
|
|
184735
|
+
const [$, H] = Me(!0), [z, U] = Me(!0), X = je(null), ae = !!(r != null && r.enabled), te = (r == null ? void 0 : r.content) ?? n, J = (o == null ? void 0 : o.enabled) === !0, ie = zKe({
|
|
184736
184736
|
onChange: i,
|
|
184737
184737
|
enableIndexeddbSync: f,
|
|
184738
184738
|
ddocId: h,
|
|
184739
184739
|
collaboration: o,
|
|
184740
184740
|
onIndexedDbError: N
|
|
184741
184741
|
}), K = !!(f && !J && L.isDDocOwner && !ae && !e && !te), Z = b$e({
|
|
184742
|
-
ydoc:
|
|
184742
|
+
ydoc: ie.ydoc,
|
|
184743
184743
|
initialContent: te,
|
|
184744
184744
|
enableCollaboration: J,
|
|
184745
184745
|
isDDocOwner: L.isDDocOwner || !1,
|
|
184746
184746
|
createDefaultTabIfMissing: !!(!ae && !e && L.isDDocOwner && !J && // Wait for y-indexedDB sync before deciding whether an unsaved local doc
|
|
184747
184747
|
// still needs a default tab, otherwise refresh keeps bootstrapping one.
|
|
184748
|
-
(!K ||
|
|
184748
|
+
(!K || ie.isIndexeddbSynced)),
|
|
184749
184749
|
defaultTabId: (re = L.tabConfig) == null ? void 0 : re.defaultTabId,
|
|
184750
184750
|
shouldSyncActiveTab: !!(!ae && !e && !J && L.isDDocOwner),
|
|
184751
184751
|
// Viewers (non-owners) should land on the first tab, not whatever the
|
|
@@ -184753,17 +184753,17 @@ const UKe = { status: "idle" }, PKe = (e) => {
|
|
|
184753
184753
|
preferFirstTabOnInit: !L.isDDocOwner,
|
|
184754
184754
|
onVersionHistoryActiveTabChange: r == null ? void 0 : r.onActiveTabChange,
|
|
184755
184755
|
getEditor: () => X.current,
|
|
184756
|
-
flushPendingUpdate:
|
|
184756
|
+
flushPendingUpdate: ie.flushPendingUpdate
|
|
184757
184757
|
}), T = u$e({
|
|
184758
|
-
ydoc:
|
|
184758
|
+
ydoc: ie.ydoc,
|
|
184759
184759
|
isPreviewMode: e,
|
|
184760
184760
|
viewerMode: t,
|
|
184761
184761
|
initialContent: te,
|
|
184762
184762
|
collaboration: o,
|
|
184763
184763
|
versionId: r == null ? void 0 : r.versionId,
|
|
184764
|
-
isReady:
|
|
184765
|
-
isSyncing:
|
|
184766
|
-
awareness:
|
|
184764
|
+
isReady: ie.isReady,
|
|
184765
|
+
isSyncing: ie.isSyncing,
|
|
184766
|
+
awareness: ie.awareness,
|
|
184767
184767
|
disableInlineComment: j,
|
|
184768
184768
|
isFocusMode: m,
|
|
184769
184769
|
onCommentInteraction: a,
|
|
@@ -184789,9 +184789,9 @@ const UKe = { status: "idle" }, PKe = (e) => {
|
|
|
184789
184789
|
onInvalidContentError: F,
|
|
184790
184790
|
ignoreCorruptedData: v,
|
|
184791
184791
|
onCollaboratorChange: s,
|
|
184792
|
-
onConnect:
|
|
184793
|
-
hasCollabContentInitialised:
|
|
184794
|
-
initialiseYjsIndexedDbProvider:
|
|
184792
|
+
onConnect: ie.onConnect,
|
|
184793
|
+
hasCollabContentInitialised: ie.hasCollabContentInitialised,
|
|
184794
|
+
initialiseYjsIndexedDbProvider: ie.initialiseYjsIndexedDbProvider,
|
|
184795
184795
|
externalExtensions: k,
|
|
184796
184796
|
activeTabId: Z.activeTabId,
|
|
184797
184797
|
hasTabState: Z.hasTabState,
|
|
@@ -184802,11 +184802,11 @@ const UKe = { status: "idle" }, PKe = (e) => {
|
|
|
184802
184802
|
}), V = J ? o.connection.isOwner : !0, G = J && !V ? T.isContentLoading || z : T.isContentLoading;
|
|
184803
184803
|
return {
|
|
184804
184804
|
...T,
|
|
184805
|
-
...
|
|
184806
|
-
ydoc:
|
|
184807
|
-
awareness:
|
|
184808
|
-
refreshYjsIndexedDbProvider:
|
|
184809
|
-
terminateSession:
|
|
184805
|
+
...ie,
|
|
184806
|
+
ydoc: ie.ydoc,
|
|
184807
|
+
awareness: ie.awareness,
|
|
184808
|
+
refreshYjsIndexedDbProvider: ie.refreshYjsIndexedDbProvider,
|
|
184809
|
+
terminateSession: ie.terminateSession,
|
|
184810
184810
|
isContentLoading: !!G,
|
|
184811
184811
|
tabs: Z.tabs,
|
|
184812
184812
|
hasTabState: Z.hasTabState,
|
|
@@ -184889,7 +184889,7 @@ const UKe = { status: "idle" }, PKe = (e) => {
|
|
|
184889
184889
|
/* @__PURE__ */ x.jsxs("div", { className: "flex w-full justify-between sm:justify-evenly items-center select-none", children: [
|
|
184890
184890
|
d.map((D, k) => D ? /* @__PURE__ */ x.jsx("div", { className: "flex items-center", children: D.title === "Text formating" ? /* @__PURE__ */ x.jsx(M_, { asChild: !0, children: /* @__PURE__ */ x.jsx(Yh, { children: s ? Bo(
|
|
184891
184891
|
/* @__PURE__ */ x.jsx(
|
|
184892
|
-
|
|
184892
|
+
wr,
|
|
184893
184893
|
{
|
|
184894
184894
|
className: "w-[36px] h-[36px] rounded-sm"
|
|
184895
184895
|
}
|
|
@@ -184907,7 +184907,7 @@ const UKe = { status: "idle" }, PKe = (e) => {
|
|
|
184907
184907
|
D.title + "mobile"
|
|
184908
184908
|
) }) }) : D.title === "Text color" ? /* @__PURE__ */ x.jsx(M_, { asChild: !0, children: s ? Bo(
|
|
184909
184909
|
/* @__PURE__ */ x.jsx(
|
|
184910
|
-
|
|
184910
|
+
wr,
|
|
184911
184911
|
{
|
|
184912
184912
|
className: "w-[36px] h-[36px] rounded-sm"
|
|
184913
184913
|
}
|
|
@@ -184924,7 +184924,7 @@ const UKe = { status: "idle" }, PKe = (e) => {
|
|
|
184924
184924
|
),
|
|
184925
184925
|
"text-color-button"
|
|
184926
184926
|
) }) : s ? Bo(
|
|
184927
|
-
/* @__PURE__ */ x.jsx(
|
|
184927
|
+
/* @__PURE__ */ x.jsx(wr, { className: "w-[36px] h-[36px] rounded-sm" }),
|
|
184928
184928
|
"skeleton" + D.title
|
|
184929
184929
|
) : Yo(
|
|
184930
184930
|
/* @__PURE__ */ x.jsx(
|
|
@@ -185694,11 +185694,11 @@ const rGe = ({
|
|
|
185694
185694
|
maxCharsPerSlide: 1e3,
|
|
185695
185695
|
maxWordsPerSlide: 250,
|
|
185696
185696
|
maxLinesPerSlide: 7
|
|
185697
|
-
}),
|
|
185698
|
-
|
|
185697
|
+
}), ie = document.createElement("div");
|
|
185698
|
+
ie.innerHTML = J;
|
|
185699
185699
|
const K = [];
|
|
185700
185700
|
let Z = [];
|
|
185701
|
-
if (
|
|
185701
|
+
if (ie.childNodes.forEach((V) => {
|
|
185702
185702
|
if (V instanceof HTMLElement && V.getAttribute("data-type") === "page-break" && V.getAttribute("data-page-break") === "true") {
|
|
185703
185703
|
if (Z.length > 0) {
|
|
185704
185704
|
const G = document.createElement("div");
|
|
@@ -185745,8 +185745,8 @@ const rGe = ({
|
|
|
185745
185745
|
_(te.targetTouches[0].clientX);
|
|
185746
185746
|
}, X = Ae(() => {
|
|
185747
185747
|
if (!A || !S) return;
|
|
185748
|
-
const te = A - S, J = te > B,
|
|
185749
|
-
J && (N("forward"), w((K) => Math.min(K + 1, c.length - 1))),
|
|
185748
|
+
const te = A - S, J = te > B, ie = te < -B;
|
|
185749
|
+
J && (N("forward"), w((K) => Math.min(K + 1, c.length - 1))), ie && (N("backward"), w((K) => Math.max(K - 1, 0)));
|
|
185750
185750
|
}, [A, S, c.length, B]), ae = () => {
|
|
185751
185751
|
if (s) {
|
|
185752
185752
|
JKe(s), F(!0), u == null || u();
|
|
@@ -186344,7 +186344,7 @@ const ste = ({
|
|
|
186344
186344
|
j && F === V && L(V), N && H(V), v(V);
|
|
186345
186345
|
},
|
|
186346
186346
|
onUnresolve: w,
|
|
186347
|
-
onDelete:
|
|
186347
|
+
onDelete: ie,
|
|
186348
186348
|
onSetOpenReplyId: y,
|
|
186349
186349
|
isCollaborationEnabled: p
|
|
186350
186350
|
},
|
|
@@ -186352,7 +186352,7 @@ const ste = ({
|
|
|
186352
186352
|
))
|
|
186353
186353
|
] }), J = (K) => {
|
|
186354
186354
|
K.id && (c ? c(K.id, K.tabId || Cn) : m(K.id));
|
|
186355
|
-
},
|
|
186355
|
+
}, ie = (K) => {
|
|
186356
186356
|
if (r && F === K) {
|
|
186357
186357
|
const Z = z.findIndex(
|
|
186358
186358
|
(G) => G.id === K
|
|
@@ -187418,7 +187418,7 @@ const ste = ({
|
|
|
187418
187418
|
activeDraft: ae,
|
|
187419
187419
|
activeDraftId: te,
|
|
187420
187420
|
activeSuggestionDraftCard: J,
|
|
187421
|
-
handleCreateComment:
|
|
187421
|
+
handleCreateComment: ie,
|
|
187422
187422
|
handleDiscardSuggestionDraft: K,
|
|
187423
187423
|
handleStartNewMobileComment: Z,
|
|
187424
187424
|
handleSubmitSuggestionDraft: T,
|
|
@@ -187426,8 +187426,8 @@ const ste = ({
|
|
|
187426
187426
|
isDiscardSuggestionOverlayVisible: G,
|
|
187427
187427
|
isInlineDraftOpen: re,
|
|
187428
187428
|
setIsDiscardCommentOverlayVisible: M,
|
|
187429
|
-
setIsDiscardSuggestionOverlayVisible:
|
|
187430
|
-
updateInlineDraftText:
|
|
187429
|
+
setIsDiscardSuggestionOverlayVisible: se,
|
|
187430
|
+
updateInlineDraftText: oe
|
|
187431
187431
|
} = xGe({ selectedCommentTabId: R, setOpenReplyId: m }), Y = f && re, Q = e || J !== null, { clearPendingCommentFocus: le, handleCommentFocus: ge } = wGe({
|
|
187432
187432
|
activeTabId: i,
|
|
187433
187433
|
comments: c,
|
|
@@ -187459,10 +187459,10 @@ const ste = ({
|
|
|
187459
187459
|
isOpen: e,
|
|
187460
187460
|
onClose: t,
|
|
187461
187461
|
setIsDiscardCommentOverlayVisible: M,
|
|
187462
|
-
setIsDiscardSuggestionOverlayVisible:
|
|
187462
|
+
setIsDiscardSuggestionOverlayVisible: se
|
|
187463
187463
|
});
|
|
187464
187464
|
const ee = () => {
|
|
187465
|
-
m(null), M(!1),
|
|
187465
|
+
m(null), M(!1), se(!1), le(), b(!1), t();
|
|
187466
187466
|
};
|
|
187467
187467
|
return /* @__PURE__ */ x.jsx("div", { ref: v, "data-testid": "comment-drawer", children: F ? /* @__PURE__ */ x.jsx(
|
|
187468
187468
|
yGe,
|
|
@@ -187487,12 +187487,12 @@ const ste = ({
|
|
|
187487
187487
|
mobileDraftRef: w,
|
|
187488
187488
|
mobileFocusedCommentIndex: W,
|
|
187489
187489
|
onAttemptCloseNewComment: () => M(!0),
|
|
187490
|
-
onAttemptCloseSuggestionDraft: () =>
|
|
187490
|
+
onAttemptCloseSuggestionDraft: () => se(!0),
|
|
187491
187491
|
onCancelDiscardComment: () => M(!1),
|
|
187492
|
-
onCancelDiscardSuggestion: () =>
|
|
187492
|
+
onCancelDiscardSuggestion: () => se(!1),
|
|
187493
187493
|
onCloseDrawer: ee,
|
|
187494
187494
|
onCommentFocus: ge,
|
|
187495
|
-
onCreateComment:
|
|
187495
|
+
onCreateComment: ie,
|
|
187496
187496
|
onDiscardSuggestionDraft: K,
|
|
187497
187497
|
onFocusSuggestionDraft: () => {
|
|
187498
187498
|
J && h(
|
|
@@ -187503,7 +187503,7 @@ const ste = ({
|
|
|
187503
187503
|
onPreviousMobileComment: de,
|
|
187504
187504
|
onStartNewMobileComment: Z,
|
|
187505
187505
|
onSubmitSuggestionDraft: T,
|
|
187506
|
-
onUpdateInlineDraftText:
|
|
187506
|
+
onUpdateInlineDraftText: oe,
|
|
187507
187507
|
onViewAllComments: fe,
|
|
187508
187508
|
tabNameById: X,
|
|
187509
187509
|
username: y
|
|
@@ -187623,7 +187623,7 @@ const ste = ({
|
|
|
187623
187623
|
}
|
|
187624
187624
|
);
|
|
187625
187625
|
}, ate = 8;
|
|
187626
|
-
var
|
|
187626
|
+
var vr = /* @__PURE__ */ ((e) => (e[e.None = 0] = "None", e[e.Anchor = 1] = "Anchor", e[e.Viewport = 2] = "Viewport", e[e.Height = 4] = "Height", e[e.Visibility = 8] = "Visibility", e))(vr || {});
|
|
187627
187627
|
const AGe = Number.POSITIVE_INFINITY, pb = (e) => e.isVisible && e.isMeasured && e.anchorTop !== null && e.height > 0, lte = (e) => e === null ? null : Math.round(e), ute = (e) => e.lastCommittedTranslateY ?? e.anchorTop ?? null, t8 = (e) => e.invalidationFlags !== 0, n8 = (e, t) => lte(t) !== e.lastCommittedTranslateY, r8 = (e, t) => {
|
|
187628
187628
|
e.set(t.floatingCardId, {
|
|
187629
187629
|
translateY: ute(t),
|
|
@@ -187929,7 +187929,7 @@ const AGe = Number.POSITIVE_INFINITY, pb = (e) => e.isVisible && e.isMeasured &&
|
|
|
187929
187929
|
);
|
|
187930
187930
|
g(
|
|
187931
187931
|
_.floatingCardId,
|
|
187932
|
-
|
|
187932
|
+
vr.Anchor
|
|
187933
187933
|
), b(U ?? 0);
|
|
187934
187934
|
}
|
|
187935
187935
|
}), t.current.clear();
|
|
@@ -187986,7 +187986,7 @@ const AGe = Number.POSITIVE_INFINITY, pb = (e) => e.isVisible && e.isMeasured &&
|
|
|
187986
187986
|
lastCommittedTranslateY: null,
|
|
187987
187987
|
lastCommittedVisible: !1,
|
|
187988
187988
|
needsTransformSync: !0,
|
|
187989
|
-
invalidationFlags:
|
|
187989
|
+
invalidationFlags: vr.Anchor
|
|
187990
187990
|
};
|
|
187991
187991
|
return e.current.set(v, D), D;
|
|
187992
187992
|
}, []), c = Ae((v) => n.current.get(v) ?? null, []), d = Ae((v) => {
|
|
@@ -188058,7 +188058,7 @@ const AGe = Number.POSITIVE_INFINITY, pb = (e) => e.isVisible && e.isMeasured &&
|
|
|
188058
188058
|
if (D > v)
|
|
188059
188059
|
return;
|
|
188060
188060
|
const k = e.current.get(w);
|
|
188061
|
-
k && (k.invalidationFlags =
|
|
188061
|
+
k && (k.invalidationFlags = vr.None);
|
|
188062
188062
|
});
|
|
188063
188063
|
},
|
|
188064
188064
|
[]
|
|
@@ -188137,7 +188137,7 @@ const AGe = Number.POSITIVE_INFINITY, pb = (e) => e.isVisible && e.isMeasured &&
|
|
|
188137
188137
|
), z = je(null), U = je({
|
|
188138
188138
|
cardNodes: /* @__PURE__ */ new Map(),
|
|
188139
188139
|
nodeToFloatingCardId: /* @__PURE__ */ new WeakMap()
|
|
188140
|
-
}), X = je(null), ae = je(null), te = je(!1), J = je(null),
|
|
188140
|
+
}), X = je(null), ae = je(null), te = je(!1), J = je(null), ie = je(null), K = je({
|
|
188141
188141
|
scroll: 0,
|
|
188142
188142
|
appliedScroll: -1,
|
|
188143
188143
|
doc: 0,
|
|
@@ -188157,14 +188157,14 @@ const AGe = Number.POSITIVE_INFINITY, pb = (e) => e.isVisible && e.isMeasured &&
|
|
|
188157
188157
|
const T = Ae(() => {
|
|
188158
188158
|
Z.current.rafId === null && (Z.current.rafId = window.requestAnimationFrame(() => {
|
|
188159
188159
|
Z.current.rafId = null;
|
|
188160
|
-
const G = $.current, re = Ww(n), M = u.current,
|
|
188161
|
-
if (!re || !M || !
|
|
188160
|
+
const G = $.current, re = Ww(n), M = u.current, se = L.current;
|
|
188161
|
+
if (!re || !M || !se || !G.length || !a) {
|
|
188162
188162
|
S.current.length > 0 && j([]);
|
|
188163
188163
|
return;
|
|
188164
188164
|
}
|
|
188165
188165
|
if (te.current && !z.current)
|
|
188166
188166
|
return;
|
|
188167
|
-
const
|
|
188167
|
+
const oe = ++Z.current.cycle, Y = K.current.doc;
|
|
188168
188168
|
let Q = !1;
|
|
188169
188169
|
K.current.appliedDoc !== Y && f(G), K.current.appliedDoc = Y;
|
|
188170
188170
|
const {
|
|
@@ -188173,7 +188173,7 @@ const AGe = Number.POSITIVE_INFINITY, pb = (e) => e.isVisible && e.isMeasured &&
|
|
|
188173
188173
|
floatingCardIdsToClose: ye,
|
|
188174
188174
|
shouldScheduleFollowUp: pe
|
|
188175
188175
|
} = m({
|
|
188176
|
-
currentCycle:
|
|
188176
|
+
currentCycle: oe,
|
|
188177
188177
|
currentDocVersion: Y,
|
|
188178
188178
|
editor: n,
|
|
188179
188179
|
editorRoot: re,
|
|
@@ -188192,14 +188192,14 @@ const AGe = Number.POSITIVE_INFINITY, pb = (e) => e.isVisible && e.isMeasured &&
|
|
|
188192
188192
|
const ct = de[fe];
|
|
188193
188193
|
ct && E(
|
|
188194
188194
|
ct,
|
|
188195
|
-
|
|
188195
|
+
vr.Anchor
|
|
188196
188196
|
);
|
|
188197
188197
|
}
|
|
188198
188198
|
B(new Set(De.keys()));
|
|
188199
|
-
const I = M.getBoundingClientRect(), W =
|
|
188200
|
-
(
|
|
188201
|
-
|
|
188202
|
-
) > 0.5) && (
|
|
188199
|
+
const I = M.getBoundingClientRect(), W = se.getBoundingClientRect();
|
|
188200
|
+
(ie.current === null || Math.abs(
|
|
188201
|
+
ie.current - W.top
|
|
188202
|
+
) > 0.5) && (ie.current = W.top, K.current.containerOffset += 1);
|
|
188203
188203
|
const ee = I.height, ue = I.top - W.top, he = ue + ee, xe = K.current.appliedScroll !== K.current.scroll, ke = K.current.appliedContainerOffset !== K.current.containerOffset;
|
|
188204
188204
|
_.current.forEach((ct, xt) => {
|
|
188205
188205
|
const it = De.get(ct);
|
|
@@ -188209,7 +188209,7 @@ const AGe = Number.POSITIVE_INFINITY, pb = (e) => e.isVisible && e.isMeasured &&
|
|
|
188209
188209
|
if (!Ve) {
|
|
188210
188210
|
Je.isInViewport && (Je.isInViewport = !1, E(
|
|
188211
188211
|
ct,
|
|
188212
|
-
|
|
188212
|
+
vr.Visibility
|
|
188213
188213
|
), O(xt)), Je.anchorTop = null, Je.anchorHeight = 0;
|
|
188214
188214
|
return;
|
|
188215
188215
|
}
|
|
@@ -188242,7 +188242,7 @@ const AGe = Number.POSITIVE_INFINITY, pb = (e) => e.isVisible && e.isMeasured &&
|
|
|
188242
188242
|
const Ze = Je.isInViewport;
|
|
188243
188243
|
Je.isInViewport = ln, E(
|
|
188244
188244
|
ct,
|
|
188245
|
-
|
|
188245
|
+
vr.Visibility
|
|
188246
188246
|
), O(xt), !Ze && ln && (Je.needsTransformSync = !0, D.current.add(ct), Q = !0);
|
|
188247
188247
|
}
|
|
188248
188248
|
}), K.current.appliedScroll = K.current.scroll, K.current.appliedContainerOffset = K.current.containerOffset;
|
|
@@ -188257,7 +188257,7 @@ const AGe = Number.POSITIVE_INFINITY, pb = (e) => e.isVisible && e.isMeasured &&
|
|
|
188257
188257
|
const xt = v(ct);
|
|
188258
188258
|
E(
|
|
188259
188259
|
ct,
|
|
188260
|
-
|
|
188260
|
+
vr.Height | vr.Visibility
|
|
188261
188261
|
), O(xt ?? 0), Q = !0;
|
|
188262
188262
|
}), D.current.forEach((ct) => {
|
|
188263
188263
|
const xt = U.current.cardNodes.get(ct), it = y.current.get(ct);
|
|
@@ -188269,7 +188269,7 @@ const AGe = Number.POSITIVE_INFINITY, pb = (e) => e.isVisible && e.isMeasured &&
|
|
|
188269
188269
|
const ht = v(ct);
|
|
188270
188270
|
E(
|
|
188271
188271
|
ct,
|
|
188272
|
-
|
|
188272
|
+
vr.Height
|
|
188273
188273
|
), O(ht ?? 0);
|
|
188274
188274
|
}
|
|
188275
188275
|
}), D.current.clear();
|
|
@@ -188277,7 +188277,7 @@ const AGe = Number.POSITIVE_INFINITY, pb = (e) => e.isVisible && e.isMeasured &&
|
|
|
188277
188277
|
const Le = _.current.reduce(
|
|
188278
188278
|
(ct, xt, it) => {
|
|
188279
188279
|
const Je = y.current.get(xt);
|
|
188280
|
-
return !Je || Je.invalidationFlags ===
|
|
188280
|
+
return !Je || Je.invalidationFlags === vr.None ? ct : (Oe = Math.min(Oe, it), it);
|
|
188281
188281
|
},
|
|
188282
188282
|
-1
|
|
188283
188283
|
), Pe = Math.min(
|
|
@@ -188303,7 +188303,7 @@ const AGe = Number.POSITIVE_INFINITY, pb = (e) => e.isVisible && e.isMeasured &&
|
|
|
188303
188303
|
const ht = lte(Je.translateY);
|
|
188304
188304
|
(xt.needsTransformSync && ht !== null || ht !== xt.lastCommittedTranslateY) && ht !== null && (it.style.transform = `translateY(${ht}px)`, xt.lastCommittedTranslateY = ht, xt.needsTransformSync = !1);
|
|
188305
188305
|
const vt = !!Je.isVisible && xt.isMeasured && xt.anchorTop !== null && !l;
|
|
188306
|
-
(vt !== xt.lastCommittedVisible || (xt.invalidationFlags & (
|
|
188306
|
+
(vt !== xt.lastCommittedVisible || (xt.invalidationFlags & (vr.Visibility | vr.Height)) !== 0) && (it.style.visibility = vt ? "visible" : "hidden", it.style.opacity = vt ? "1" : "0", xt.lastCommittedVisible = vt);
|
|
188307
188307
|
}), b(pt.stopIndex), k.current.recomputeFromIndex = _.current.length, ye.size > 0 && ye.forEach((ct) => {
|
|
188308
188308
|
t(ct);
|
|
188309
188309
|
}), Q && ge.length > 0 && T();
|
|
@@ -188335,9 +188335,9 @@ const AGe = Number.POSITIVE_INFINITY, pb = (e) => e.isVisible && e.isMeasured &&
|
|
|
188335
188335
|
p
|
|
188336
188336
|
]), V = Ae(
|
|
188337
188337
|
(G, re) => {
|
|
188338
|
-
var
|
|
188338
|
+
var se, oe;
|
|
188339
188339
|
const M = U.current.cardNodes.get(G);
|
|
188340
|
-
if (M && ((
|
|
188340
|
+
if (M && ((se = J.current) == null || se.unobserve(M), U.current.nodeToFloatingCardId.delete(M)), !re) {
|
|
188341
188341
|
U.current.cardNodes.delete(G), X.current === M && (X.current = null);
|
|
188342
188342
|
return;
|
|
188343
188343
|
}
|
|
@@ -188345,12 +188345,12 @@ const AGe = Number.POSITIVE_INFINITY, pb = (e) => e.isVisible && e.isMeasured &&
|
|
|
188345
188345
|
const Y = w(G);
|
|
188346
188346
|
Y.needsTransformSync = !0, E(
|
|
188347
188347
|
G,
|
|
188348
|
-
|
|
188348
|
+
vr.Height | vr.Visibility
|
|
188349
188349
|
), O(
|
|
188350
188350
|
v(G) ?? 0
|
|
188351
188351
|
);
|
|
188352
188352
|
}
|
|
188353
|
-
D.current.add(G), (
|
|
188353
|
+
D.current.add(G), (oe = J.current) == null || oe.observe(re), T();
|
|
188354
188354
|
},
|
|
188355
188355
|
[
|
|
188356
188356
|
s,
|
|
@@ -188368,15 +188368,25 @@ const AGe = Number.POSITIVE_INFINITY, pb = (e) => e.isVisible && e.isMeasured &&
|
|
|
188368
188368
|
if (!a)
|
|
188369
188369
|
return;
|
|
188370
188370
|
const G = ae.current;
|
|
188371
|
-
if (ae.current = s, G === s
|
|
188371
|
+
if (ae.current = s, G === s)
|
|
188372
188372
|
return;
|
|
188373
|
-
const
|
|
188373
|
+
const re = G !== null && s === null;
|
|
188374
|
+
if (G !== null && s !== null && G !== s && (te.current = !0), !s) {
|
|
188375
|
+
re && (te.current = !1, $.current.forEach((oe) => {
|
|
188376
|
+
E(
|
|
188377
|
+
oe.floatingCardId,
|
|
188378
|
+
vr.Anchor
|
|
188379
|
+
);
|
|
188380
|
+
}), O(0), T());
|
|
188381
|
+
return;
|
|
188382
|
+
}
|
|
188383
|
+
const se = v(
|
|
188374
188384
|
s
|
|
188375
188385
|
);
|
|
188376
188386
|
E(
|
|
188377
188387
|
s,
|
|
188378
|
-
|
|
188379
|
-
), O(
|
|
188388
|
+
vr.Anchor
|
|
188389
|
+
), O(se ?? 0), T();
|
|
188380
188390
|
}, [
|
|
188381
188391
|
R,
|
|
188382
188392
|
s,
|
|
@@ -188422,21 +188432,21 @@ const AGe = Number.POSITIVE_INFINITY, pb = (e) => e.isVisible && e.isMeasured &&
|
|
|
188422
188432
|
appliedDoc: -1,
|
|
188423
188433
|
containerOffset: 0,
|
|
188424
188434
|
appliedContainerOffset: -1
|
|
188425
|
-
},
|
|
188435
|
+
}, ie.current = null, X.current = null, ae.current = null, te.current = !1, g(), N();
|
|
188426
188436
|
}, [a, g, N]), _e(() => {
|
|
188427
188437
|
if (!a)
|
|
188428
188438
|
return;
|
|
188429
188439
|
const G = new Set(
|
|
188430
188440
|
$.current.map(
|
|
188431
|
-
(
|
|
188441
|
+
(se) => se.floatingCardId
|
|
188432
188442
|
)
|
|
188433
188443
|
), re = S.current.filter(
|
|
188434
|
-
(
|
|
188444
|
+
(se) => G.has(se)
|
|
188435
188445
|
), M = te.current && !z.current;
|
|
188436
|
-
j(re), f($.current), A(), M && re.length === 0 && (te.current = !1), !M && ($.current.forEach((
|
|
188446
|
+
j(re), f($.current), A(), M && re.length === 0 && (te.current = !1), !M && ($.current.forEach((se) => {
|
|
188437
188447
|
E(
|
|
188438
|
-
|
|
188439
|
-
|
|
188448
|
+
se.floatingCardId,
|
|
188449
|
+
vr.Anchor
|
|
188440
188450
|
);
|
|
188441
188451
|
}), O(0), T());
|
|
188442
188452
|
}, [
|
|
@@ -188453,7 +188463,7 @@ const AGe = Number.POSITIVE_INFINITY, pb = (e) => e.isVisible && e.isMeasured &&
|
|
|
188453
188463
|
!a || !$.current.length || ($.current.forEach((G) => {
|
|
188454
188464
|
E(
|
|
188455
188465
|
G.floatingCardId,
|
|
188456
|
-
|
|
188466
|
+
vr.Visibility
|
|
188457
188467
|
);
|
|
188458
188468
|
}), O(0), T());
|
|
188459
188469
|
}, [
|
|
@@ -188475,17 +188485,17 @@ const AGe = Number.POSITIVE_INFINITY, pb = (e) => e.isVisible && e.isMeasured &&
|
|
|
188475
188485
|
}
|
|
188476
188486
|
if (S.current.length === 0)
|
|
188477
188487
|
return;
|
|
188478
|
-
const
|
|
188479
|
-
if (!
|
|
188488
|
+
const se = Ww(n);
|
|
188489
|
+
if (!se)
|
|
188480
188490
|
return;
|
|
188481
|
-
let
|
|
188491
|
+
let oe = !1;
|
|
188482
188492
|
S.current.forEach((Y) => {
|
|
188483
188493
|
const Q = H.current.get(Y);
|
|
188484
188494
|
if (!Q)
|
|
188485
188495
|
return;
|
|
188486
188496
|
const { anchorId: le } = xx(Q), ge = p.current.get(le);
|
|
188487
|
-
(!ge || !tL(ge,
|
|
188488
|
-
}),
|
|
188497
|
+
(!ge || !tL(ge, se)) && (h(Y), oe = !0);
|
|
188498
|
+
}), oe && T();
|
|
188489
188499
|
};
|
|
188490
188500
|
return n.on("transaction", G), () => {
|
|
188491
188501
|
n.off("transaction", G);
|
|
@@ -188502,13 +188512,15 @@ const AGe = Number.POSITIVE_INFINITY, pb = (e) => e.isVisible && e.isMeasured &&
|
|
|
188502
188512
|
return;
|
|
188503
188513
|
const G = new ResizeObserver((re) => {
|
|
188504
188514
|
re.forEach((M) => {
|
|
188505
|
-
const
|
|
188515
|
+
const se = U.current.nodeToFloatingCardId.get(
|
|
188506
188516
|
M.target
|
|
188507
188517
|
);
|
|
188508
|
-
|
|
188518
|
+
se ? D.current.add(se) : K.current.containerOffset += 1;
|
|
188509
188519
|
}), T();
|
|
188510
188520
|
});
|
|
188511
|
-
return J.current = G, L.current && G.observe(L.current), r.current && G.observe(r.current), () => {
|
|
188521
|
+
return J.current = G, L.current && G.observe(L.current), r.current && G.observe(r.current), U.current.cardNodes.forEach((re) => {
|
|
188522
|
+
G.observe(re);
|
|
188523
|
+
}), () => {
|
|
188512
188524
|
G.disconnect(), J.current = null;
|
|
188513
188525
|
};
|
|
188514
188526
|
}, [
|
|
@@ -188790,7 +188802,7 @@ const ZGe = ({
|
|
|
188790
188802
|
}
|
|
188791
188803
|
),
|
|
188792
188804
|
/* @__PURE__ */ x.jsxs("span", { className: "text-body-sm-bold inline-flex items-center gap-1 whitespace-nowrap", children: [
|
|
188793
|
-
cf(p.name),
|
|
188805
|
+
/* @__PURE__ */ x.jsx("p", { className: "truncate max-w-[230px]", children: cf(p.name) }),
|
|
188794
188806
|
p.isEns && /* @__PURE__ */ x.jsx(
|
|
188795
188807
|
"img",
|
|
188796
188808
|
{
|
|
@@ -188941,7 +188953,7 @@ const ZGe = ({
|
|
|
188941
188953
|
}
|
|
188942
188954
|
),
|
|
188943
188955
|
/* @__PURE__ */ x.jsxs("span", { className: "text-body-sm-bold inline-flex items-center gap-1 whitespace-nowrap", children: [
|
|
188944
|
-
cf(s.name),
|
|
188956
|
+
/* @__PURE__ */ x.jsx("p", { className: "truncate max-w-[230px]", children: cf(s.name) }),
|
|
188945
188957
|
s.isEns && /* @__PURE__ */ x.jsx("img", { src: df, alt: "verified", className: "w-3.5 h-3.5" })
|
|
188946
188958
|
] }),
|
|
188947
188959
|
/* @__PURE__ */ x.jsx("span", { className: "text-helper-text-sm color-text-secondary whitespace-nowrap", children: t && b3(t) }),
|
|
@@ -190727,7 +190739,7 @@ const wXe = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
190727
190739
|
isConnected: g,
|
|
190728
190740
|
isFocusMode: m
|
|
190729
190741
|
}) => {
|
|
190730
|
-
var
|
|
190742
|
+
var ie;
|
|
190731
190743
|
const [b, y] = Me(!1), [F, v] = Me(null), [w, D] = Me(!1), [k, E] = Me(""), A = je(""), O = je(!1), S = je(null), _ = e.findIndex((K) => K.id === t), B = e.find((K) => K.id === t), C = e.length > 1, N = _ > 0, j = _ >= 0 && _ < e.length - 1;
|
|
190732
190744
|
_e(() => {
|
|
190733
190745
|
O.current = w;
|
|
@@ -190958,7 +190970,7 @@ const wXe = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
190958
190970
|
{
|
|
190959
190971
|
"data-testid": "mobile-tab-active-name",
|
|
190960
190972
|
className: "text-heading-xsm max-w-[150px] truncate",
|
|
190961
|
-
children: ((
|
|
190973
|
+
children: ((ie = e.find((K) => K.id === t)) == null ? void 0 : ie.name) ?? "Tab name"
|
|
190962
190974
|
}
|
|
190963
190975
|
)
|
|
190964
190976
|
] }),
|
|
@@ -191584,7 +191596,7 @@ const wXe = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
191584
191596
|
onMarkdownImport: ae,
|
|
191585
191597
|
onPdfExport: te,
|
|
191586
191598
|
onHtmlExport: J,
|
|
191587
|
-
onTxtExport:
|
|
191599
|
+
onTxtExport: ie,
|
|
191588
191600
|
onOdtExport: K,
|
|
191589
191601
|
onDocxImport: Z,
|
|
191590
191602
|
editorCanvasClassNames: T,
|
|
@@ -191592,8 +191604,8 @@ const wXe = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
191592
191604
|
documentName: G,
|
|
191593
191605
|
onInvalidContentError: re,
|
|
191594
191606
|
ignoreCorruptedData: M,
|
|
191595
|
-
commentDrawerOpen:
|
|
191596
|
-
setCommentDrawerOpen:
|
|
191607
|
+
commentDrawerOpen: se,
|
|
191608
|
+
setCommentDrawerOpen: oe,
|
|
191597
191609
|
initialComments: Y = [],
|
|
191598
191610
|
initialCommentAnchors: Q,
|
|
191599
191611
|
onNewComment: le,
|
|
@@ -191634,7 +191646,7 @@ const wXe = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
191634
191646
|
var B_;
|
|
191635
191647
|
const { isFocusMode: ze, toggleFocusMode: dt } = NXe({
|
|
191636
191648
|
onFocusMode: (mt) => {
|
|
191637
|
-
|
|
191649
|
+
se && (oe == null || oe(!1)), U == null || U(mt);
|
|
191638
191650
|
}
|
|
191639
191651
|
}), [Ft, Rt] = Me(!1), [me, Be] = Me(!1), qe = je(null), Ct = (() => {
|
|
191640
191652
|
if (!Et)
|
|
@@ -191665,7 +191677,7 @@ const wXe = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
191665
191677
|
canvas: Object.keys(mt).length > 0 ? mt : void 0,
|
|
191666
191678
|
background: Object.keys($t).length > 0 ? $t : void 0
|
|
191667
191679
|
};
|
|
191668
|
-
})(), jt = () => Ct.canvas, At = () => Ct.background, Nt = je(null), Hn = je(null), tt = je(null), { isBelow1280px: we, isNativeMobile: Re, isIOS: gt } = Ui(), [cn, dn] = Me(!1), jn = je(null),
|
|
191680
|
+
})(), jt = () => Ct.canvas, At = () => Ct.background, Nt = je(null), Hn = je(null), tt = je(null), { isBelow1280px: we, isNativeMobile: Re, isIOS: gt } = Ui(), [cn, dn] = Me(!1), jn = je(null), Sr = (D == null ? void 0 : D.slice(0, 4)) || [], qo = D ? Math.max(0, D.length - 4) : 0;
|
|
191669
191681
|
ef(jn, () => {
|
|
191670
191682
|
dn(!1);
|
|
191671
191683
|
}), _e(() => {
|
|
@@ -191918,7 +191930,7 @@ const wXe = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
191918
191930
|
onMarkdownImport: ae,
|
|
191919
191931
|
onPdfExport: te,
|
|
191920
191932
|
onHtmlExport: J,
|
|
191921
|
-
onTxtExport:
|
|
191933
|
+
onTxtExport: ie,
|
|
191922
191934
|
onOdtExport: K,
|
|
191923
191935
|
onDocxImport: Z,
|
|
191924
191936
|
isLoading: !yt || _c,
|
|
@@ -191950,7 +191962,7 @@ const wXe = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
191950
191962
|
onMarkdownImport: ae,
|
|
191951
191963
|
onPdfExport: te,
|
|
191952
191964
|
onHtmlExport: J,
|
|
191953
|
-
onTxtExport:
|
|
191965
|
+
onTxtExport: ie,
|
|
191954
191966
|
onOdtExport: K,
|
|
191955
191967
|
ipfsImageFetchFn: ht,
|
|
191956
191968
|
onDocxImport: Z,
|
|
@@ -191966,7 +191978,7 @@ const wXe = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
191966
191978
|
isFullscreen: me,
|
|
191967
191979
|
setIsFullscreen: Be,
|
|
191968
191980
|
onError: b,
|
|
191969
|
-
setCommentDrawerOpen:
|
|
191981
|
+
setCommentDrawerOpen: oe,
|
|
191970
191982
|
sharedSlidesLink: V,
|
|
191971
191983
|
isPreviewMode: e,
|
|
191972
191984
|
documentName: G,
|
|
@@ -192137,7 +192149,7 @@ const wXe = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
192137
192149
|
username: o,
|
|
192138
192150
|
walletAddress: a,
|
|
192139
192151
|
onInlineComment: z,
|
|
192140
|
-
setCommentDrawerOpen:
|
|
192152
|
+
setCommentDrawerOpen: oe,
|
|
192141
192153
|
activeCommentId: cm,
|
|
192142
192154
|
isCollabDocumentPublished: Le,
|
|
192143
192155
|
ipfsImageFetchFn: ht,
|
|
@@ -192163,7 +192175,7 @@ const wXe = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
192163
192175
|
{
|
|
192164
192176
|
className: `${ea ? "mx-10 mt-10" : "mx-20"}`,
|
|
192165
192177
|
children: e ? /* @__PURE__ */ x.jsx(vte, {}) : /* @__PURE__ */ x.jsx(
|
|
192166
|
-
|
|
192178
|
+
wr,
|
|
192167
192179
|
{
|
|
192168
192180
|
className: `${ea ? "w-full" : "w-[400px]"} h-[32px] rounded-sm mb-4`
|
|
192169
192181
|
}
|
|
@@ -192191,7 +192203,7 @@ const wXe = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
192191
192203
|
style: jt()
|
|
192192
192204
|
},
|
|
192193
192205
|
children: [
|
|
192194
|
-
|
|
192206
|
+
Sr.map((mt, $t) => /* @__PURE__ */ x.jsx(
|
|
192195
192207
|
gb,
|
|
192196
192208
|
{
|
|
192197
192209
|
style: {
|
|
@@ -192286,7 +192298,7 @@ const wXe = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
192286
192298
|
editorWrapperRef: tt,
|
|
192287
192299
|
scrollContainerRef: Hn,
|
|
192288
192300
|
tabName: Rte,
|
|
192289
|
-
isHidden: !!
|
|
192301
|
+
isHidden: !!se || !!Pe,
|
|
192290
192302
|
isCollaborationEnabled: r == null ? void 0 : r.enabled
|
|
192291
192303
|
}
|
|
192292
192304
|
) })
|
|
@@ -192358,8 +192370,8 @@ const wXe = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
192358
192370
|
yt && /* @__PURE__ */ x.jsx(
|
|
192359
192371
|
CGe,
|
|
192360
192372
|
{
|
|
192361
|
-
isOpen:
|
|
192362
|
-
onClose: () =>
|
|
192373
|
+
isOpen: se,
|
|
192374
|
+
onClose: () => oe == null ? void 0 : oe(!1),
|
|
192363
192375
|
isNavbarVisible: L,
|
|
192364
192376
|
isPresentationMode: j,
|
|
192365
192377
|
activeCommentId: cm,
|
|
@@ -192375,7 +192387,7 @@ const wXe = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
192375
192387
|
{
|
|
192376
192388
|
editor: yt,
|
|
192377
192389
|
activeCommentId: cm,
|
|
192378
|
-
commentDrawerOpen:
|
|
192390
|
+
commentDrawerOpen: se,
|
|
192379
192391
|
isCollabDocumentPublished: Le,
|
|
192380
192392
|
disableInlineComment: Pe
|
|
192381
192393
|
}
|
|
@@ -192455,7 +192467,7 @@ const wXe = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
192455
192467
|
isDDocOwner: Oe,
|
|
192456
192468
|
onInlineComment: z,
|
|
192457
192469
|
onComment: H,
|
|
192458
|
-
setCommentDrawerOpen:
|
|
192470
|
+
setCommentDrawerOpen: oe,
|
|
192459
192471
|
commentAnchorsRef: Mte,
|
|
192460
192472
|
draftAnchorsRef: Ote,
|
|
192461
192473
|
storeApiRef: Ite,
|
|
@@ -192541,24 +192553,24 @@ const wXe = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
192541
192553
|
() => ({
|
|
192542
192554
|
getEditor: () => $,
|
|
192543
192555
|
getYdoc: () => U,
|
|
192544
|
-
exportContentAsMarkDown: async (
|
|
192556
|
+
exportContentAsMarkDown: async (ie) => {
|
|
192545
192557
|
if ($) {
|
|
192546
192558
|
const K = await $.commands.exportMarkdownFile();
|
|
192547
192559
|
if (K) {
|
|
192548
192560
|
const Z = K, T = document.createElement("a");
|
|
192549
|
-
T.href = Z, T.download =
|
|
192561
|
+
T.href = Z, T.download = ie, document.body.appendChild(T), T.click(), document.body.removeChild(T), URL.revokeObjectURL(Z);
|
|
192550
192562
|
}
|
|
192551
192563
|
}
|
|
192552
192564
|
}
|
|
192553
192565
|
}),
|
|
192554
192566
|
[$, U]
|
|
192555
192567
|
);
|
|
192556
|
-
const ae = (
|
|
192557
|
-
const K =
|
|
192568
|
+
const ae = (ie) => {
|
|
192569
|
+
const K = ie.name.split(",").map((Z) => {
|
|
192558
192570
|
const T = Z.trim();
|
|
192559
192571
|
return (f == null ? void 0 : f.find(
|
|
192560
192572
|
(G) => G.name.toLowerCase() === T.toLowerCase()
|
|
192561
|
-
)) || { name: T, color:
|
|
192573
|
+
)) || { name: T, color: ie.color };
|
|
192562
192574
|
});
|
|
192563
192575
|
m == null || m((Z) => {
|
|
192564
192576
|
const T = [...Z];
|
|
@@ -192568,9 +192580,9 @@ const wXe = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
192568
192580
|
) || T.push(V);
|
|
192569
192581
|
}), T;
|
|
192570
192582
|
});
|
|
192571
|
-
}, te = (
|
|
192583
|
+
}, te = (ie) => {
|
|
192572
192584
|
m == null || m(
|
|
192573
|
-
(K) => K.filter((Z) => Z.name !==
|
|
192585
|
+
(K) => K.filter((Z) => Z.name !== ie)
|
|
192574
192586
|
);
|
|
192575
192587
|
}, J = or("(max-width: 768px)");
|
|
192576
192588
|
return /* @__PURE__ */ x.jsxs(x.Fragment, { children: [
|
|
@@ -192601,7 +192613,7 @@ const wXe = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
192601
192613
|
!$ || z || D ? Bo(
|
|
192602
192614
|
/* @__PURE__ */ x.jsxs("div", { className: Ke(`${J ? "mx-10 mt-10" : "mx-20"}`), children: [
|
|
192603
192615
|
/* @__PURE__ */ x.jsx(
|
|
192604
|
-
|
|
192616
|
+
wr,
|
|
192605
192617
|
{
|
|
192606
192618
|
className: `${e || J ? "w-full" : "w-[400px]"} h-[32px] rounded-sm mb-4`
|
|
192607
192619
|
}
|
|
@@ -192632,14 +192644,14 @@ const wXe = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
192632
192644
|
ref: j,
|
|
192633
192645
|
className: "flex flex-wrap px-4 md:px-[80px] lg:!px-[124px] items-center gap-1 mb-4 mt-4 lg:!mt-0",
|
|
192634
192646
|
children: [
|
|
192635
|
-
R.map((
|
|
192647
|
+
R.map((ie, K) => /* @__PURE__ */ x.jsx(
|
|
192636
192648
|
gb,
|
|
192637
192649
|
{
|
|
192638
|
-
style: { backgroundColor:
|
|
192639
|
-
onRemove: () => te(
|
|
192650
|
+
style: { backgroundColor: ie == null ? void 0 : ie.color },
|
|
192651
|
+
onRemove: () => te(ie == null ? void 0 : ie.name),
|
|
192640
192652
|
isRemovable: !e,
|
|
192641
192653
|
className: "!h-6 rounded",
|
|
192642
|
-
children:
|
|
192654
|
+
children: ie == null ? void 0 : ie.name
|
|
192643
192655
|
},
|
|
192644
192656
|
K
|
|
192645
192657
|
)),
|
|
@@ -192663,14 +192675,14 @@ const wXe = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
192663
192675
|
exit: { opacity: 0, height: 0 },
|
|
192664
192676
|
transition: { duration: 0.3 },
|
|
192665
192677
|
className: "flex flex-wrap items-center gap-1",
|
|
192666
|
-
children: g == null ? void 0 : g.slice(4).map((
|
|
192678
|
+
children: g == null ? void 0 : g.slice(4).map((ie, K) => /* @__PURE__ */ x.jsx(
|
|
192667
192679
|
gb,
|
|
192668
192680
|
{
|
|
192669
|
-
style: { backgroundColor:
|
|
192670
|
-
onRemove: () => te(
|
|
192681
|
+
style: { backgroundColor: ie == null ? void 0 : ie.color },
|
|
192682
|
+
onRemove: () => te(ie == null ? void 0 : ie.name),
|
|
192671
192683
|
isRemovable: !e,
|
|
192672
192684
|
className: "!h-6 rounded",
|
|
192673
|
-
children:
|
|
192685
|
+
children: ie == null ? void 0 : ie.name
|
|
192674
192686
|
},
|
|
192675
192687
|
K + 4
|
|
192676
192688
|
))
|