@harbour-enterprises/superdoc 0.10.11 → 0.10.13
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/chunks/{super-editor.es-CnsRjSH0.es.js → super-editor.es-35uGypnF.es.js} +1885 -1884
- package/dist/chunks/{super-editor.es-u_aBzqU8.cjs → super-editor.es-CtJbBdCY.cjs} +34 -34
- package/dist/super-editor/chunks/{converter-D70pBYBy.js → converter-CKYZCmLh.js} +603 -602
- package/dist/super-editor/chunks/{docx-zipper-96fM1jjz.js → docx-zipper-CksbnyTX.js} +1 -1
- package/dist/super-editor/chunks/{editor-BfAhjjdV.js → editor-DEWQqVFW.js} +3 -3
- package/dist/super-editor/chunks/{toolbar-DoKK_Ie4.js → toolbar-BxidMIRu.js} +2 -2
- package/dist/super-editor/converter.es.js +1 -1
- package/dist/super-editor/core/super-converter/exporter.d.ts.map +1 -1
- package/dist/super-editor/docx-zipper.es.js +2 -2
- package/dist/super-editor/editor.es.js +3 -3
- package/dist/super-editor/file-zipper.es.js +1 -1
- package/dist/super-editor/super-editor.es.js +6 -6
- package/dist/super-editor/toolbar.es.js +2 -2
- package/dist/super-editor.cjs +1 -1
- package/dist/super-editor.es.js +1 -1
- package/dist/superdoc.cjs +2 -2
- package/dist/superdoc.es.js +3 -3
- package/dist/superdoc.umd.js +708 -707
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/superdoc.umd.js
CHANGED
|
@@ -7341,12 +7341,12 @@
|
|
|
7341
7341
|
return container;
|
|
7342
7342
|
}
|
|
7343
7343
|
var Nu$2 = Object.defineProperty;
|
|
7344
|
-
var
|
|
7344
|
+
var Li$2 = (r22) => {
|
|
7345
7345
|
throw TypeError(r22);
|
|
7346
7346
|
};
|
|
7347
7347
|
var Iu$2 = (r22, e, t) => e in r22 ? Nu$2(r22, e, { enumerable: true, configurable: true, writable: true, value: t }) : r22[e] = t;
|
|
7348
|
-
var
|
|
7349
|
-
var Nr$1 = (r22, e, t) => e.has(r22) ?
|
|
7348
|
+
var _t$1 = (r22, e, t) => Iu$2(r22, typeof e != "symbol" ? e + "" : e, t), Ru$2 = (r22, e, t) => e.has(r22) || Li$2("Cannot " + t);
|
|
7349
|
+
var Nr$1 = (r22, e, t) => e.has(r22) ? Li$2("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(r22) : e.set(r22, t);
|
|
7350
7350
|
var Ke = (r22, e, t) => (Ru$2(r22, e, "access private method"), t);
|
|
7351
7351
|
var We$3 = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
7352
7352
|
function qo$1(r22) {
|
|
@@ -7372,11 +7372,11 @@
|
|
|
7372
7372
|
}), t;
|
|
7373
7373
|
}
|
|
7374
7374
|
var Te$2 = {}, Ar$1 = {};
|
|
7375
|
-
Ar$1.byteLength =
|
|
7375
|
+
Ar$1.byteLength = _u$2;
|
|
7376
7376
|
Ar$1.toByteArray = Mu$2;
|
|
7377
7377
|
Ar$1.fromByteArray = Hu$2;
|
|
7378
7378
|
var Qe$3 = [], Ve$2 = [], Ou$2 = typeof Uint8Array < "u" ? Uint8Array : Array, Ir$1 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
|
|
7379
|
-
for (var yt$2 = 0,
|
|
7379
|
+
for (var yt$2 = 0, Lu$2 = Ir$1.length; yt$2 < Lu$2; ++yt$2)
|
|
7380
7380
|
Qe$3[yt$2] = Ir$1[yt$2], Ve$2[Ir$1.charCodeAt(yt$2)] = yt$2;
|
|
7381
7381
|
Ve$2[45] = 62;
|
|
7382
7382
|
Ve$2[95] = 63;
|
|
@@ -7389,7 +7389,7 @@
|
|
|
7389
7389
|
var n = t === e ? 0 : 4 - t % 4;
|
|
7390
7390
|
return [t, n];
|
|
7391
7391
|
}
|
|
7392
|
-
function
|
|
7392
|
+
function _u$2(r22) {
|
|
7393
7393
|
var e = Mo$2(r22), t = e[0], n = e[1];
|
|
7394
7394
|
return (t + n) * 3 / 4 - n;
|
|
7395
7395
|
}
|
|
@@ -7508,7 +7508,7 @@
|
|
|
7508
7508
|
throw new TypeError(
|
|
7509
7509
|
"The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof y
|
|
7510
7510
|
);
|
|
7511
|
-
if (
|
|
7511
|
+
if (_e2(y, o) || y && _e2(y.buffer, o) || typeof a < "u" && (_e2(y, a) || y && _e2(y.buffer, a)))
|
|
7512
7512
|
return k(y, l, d);
|
|
7513
7513
|
if (typeof y == "number")
|
|
7514
7514
|
throw new TypeError(
|
|
@@ -7563,7 +7563,7 @@
|
|
|
7563
7563
|
return d;
|
|
7564
7564
|
}
|
|
7565
7565
|
function w(y) {
|
|
7566
|
-
if (
|
|
7566
|
+
if (_e2(y, s)) {
|
|
7567
7567
|
const l = new s(y);
|
|
7568
7568
|
return k(l.buffer, l.byteOffset, l.byteLength);
|
|
7569
7569
|
}
|
|
@@ -7598,7 +7598,7 @@
|
|
|
7598
7598
|
c3.isBuffer = function(l) {
|
|
7599
7599
|
return l != null && l._isBuffer === true && l !== c3.prototype;
|
|
7600
7600
|
}, c3.compare = function(l, d) {
|
|
7601
|
-
if (
|
|
7601
|
+
if (_e2(l, s) && (l = c3.from(l, l.offset, l.byteLength)), _e2(d, s) && (d = c3.from(d, d.offset, d.byteLength)), !c3.isBuffer(l) || !c3.isBuffer(d))
|
|
7602
7602
|
throw new TypeError(
|
|
7603
7603
|
'The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array'
|
|
7604
7604
|
);
|
|
@@ -7640,7 +7640,7 @@
|
|
|
7640
7640
|
let U = 0;
|
|
7641
7641
|
for (v = 0; v < l.length; ++v) {
|
|
7642
7642
|
let G = l[v];
|
|
7643
|
-
if (
|
|
7643
|
+
if (_e2(G, s))
|
|
7644
7644
|
U + G.length > O3.length ? (c3.isBuffer(G) || (G = c3.from(G)), G.copy(O3, U)) : s.prototype.set.call(
|
|
7645
7645
|
O3,
|
|
7646
7646
|
G,
|
|
@@ -7657,7 +7657,7 @@
|
|
|
7657
7657
|
function N3(y, l) {
|
|
7658
7658
|
if (c3.isBuffer(y))
|
|
7659
7659
|
return y.length;
|
|
7660
|
-
if (o.isView(y) ||
|
|
7660
|
+
if (o.isView(y) || _e2(y, o))
|
|
7661
7661
|
return y.byteLength;
|
|
7662
7662
|
if (typeof y != "string")
|
|
7663
7663
|
throw new TypeError(
|
|
@@ -7698,7 +7698,7 @@
|
|
|
7698
7698
|
for (y || (y = "utf8"); ; )
|
|
7699
7699
|
switch (y) {
|
|
7700
7700
|
case "hex":
|
|
7701
|
-
return
|
|
7701
|
+
return L3(this, l, d);
|
|
7702
7702
|
case "utf8":
|
|
7703
7703
|
case "utf-8":
|
|
7704
7704
|
return Y(this, l, d);
|
|
@@ -7756,7 +7756,7 @@
|
|
|
7756
7756
|
const d = r22.INSPECT_MAX_BYTES;
|
|
7757
7757
|
return l = this.toString("hex", 0, d).replace(/(.{2})/g, "$1 ").trim(), this.length > d && (l += " ... "), "<Buffer " + l + ">";
|
|
7758
7758
|
}, n && (c3.prototype[n] = c3.prototype.inspect), c3.prototype.compare = function(l, d, v, O3, U) {
|
|
7759
|
-
if (
|
|
7759
|
+
if (_e2(l, s) && (l = c3.from(l, l.offset, l.byteLength)), !c3.isBuffer(l))
|
|
7760
7760
|
throw new TypeError(
|
|
7761
7761
|
'The "target" argument must be one of type Buffer or Uint8Array. Received type ' + typeof l
|
|
7762
7762
|
);
|
|
@@ -7956,7 +7956,7 @@
|
|
|
7956
7956
|
v += String.fromCharCode(y[O3]);
|
|
7957
7957
|
return v;
|
|
7958
7958
|
}
|
|
7959
|
-
function
|
|
7959
|
+
function L3(y, l, d) {
|
|
7960
7960
|
const v = y.length;
|
|
7961
7961
|
(!l || l < 0) && (l = 0), (!d || d < 0 || d > v) && (d = v);
|
|
7962
7962
|
let O3 = "";
|
|
@@ -8003,13 +8003,13 @@
|
|
|
8003
8003
|
return l = l >>> 0, d || V3(l, 4, this.length), (this[l] | this[l + 1] << 8 | this[l + 2] << 16) + this[l + 3] * 16777216;
|
|
8004
8004
|
}, c3.prototype.readUint32BE = c3.prototype.readUInt32BE = function(l, d) {
|
|
8005
8005
|
return l = l >>> 0, d || V3(l, 4, this.length), this[l] * 16777216 + (this[l + 1] << 16 | this[l + 2] << 8 | this[l + 3]);
|
|
8006
|
-
}, c3.prototype.readBigUInt64LE =
|
|
8006
|
+
}, c3.prototype.readBigUInt64LE = Le2(function(l) {
|
|
8007
8007
|
l = l >>> 0, X3(l, "offset");
|
|
8008
8008
|
const d = this[l], v = this[l + 7];
|
|
8009
8009
|
(d === void 0 || v === void 0) && ne(l, this.length - 8);
|
|
8010
8010
|
const O3 = d + this[++l] * 2 ** 8 + this[++l] * 2 ** 16 + this[++l] * 2 ** 24, U = this[++l] + this[++l] * 2 ** 8 + this[++l] * 2 ** 16 + v * 2 ** 24;
|
|
8011
8011
|
return BigInt(O3) + (BigInt(U) << BigInt(32));
|
|
8012
|
-
}), c3.prototype.readBigUInt64BE =
|
|
8012
|
+
}), c3.prototype.readBigUInt64BE = Le2(function(l) {
|
|
8013
8013
|
l = l >>> 0, X3(l, "offset");
|
|
8014
8014
|
const d = this[l], v = this[l + 7];
|
|
8015
8015
|
(d === void 0 || v === void 0) && ne(l, this.length - 8);
|
|
@@ -8041,13 +8041,13 @@
|
|
|
8041
8041
|
return l = l >>> 0, d || V3(l, 4, this.length), this[l] | this[l + 1] << 8 | this[l + 2] << 16 | this[l + 3] << 24;
|
|
8042
8042
|
}, c3.prototype.readInt32BE = function(l, d) {
|
|
8043
8043
|
return l = l >>> 0, d || V3(l, 4, this.length), this[l] << 24 | this[l + 1] << 16 | this[l + 2] << 8 | this[l + 3];
|
|
8044
|
-
}, c3.prototype.readBigInt64LE =
|
|
8044
|
+
}, c3.prototype.readBigInt64LE = Le2(function(l) {
|
|
8045
8045
|
l = l >>> 0, X3(l, "offset");
|
|
8046
8046
|
const d = this[l], v = this[l + 7];
|
|
8047
8047
|
(d === void 0 || v === void 0) && ne(l, this.length - 8);
|
|
8048
8048
|
const O3 = this[l + 4] + this[l + 5] * 2 ** 8 + this[l + 6] * 2 ** 16 + (v << 24);
|
|
8049
8049
|
return (BigInt(O3) << BigInt(32)) + BigInt(d + this[++l] * 2 ** 8 + this[++l] * 2 ** 16 + this[++l] * 2 ** 24);
|
|
8050
|
-
}), c3.prototype.readBigInt64BE =
|
|
8050
|
+
}), c3.prototype.readBigInt64BE = Le2(function(l) {
|
|
8051
8051
|
l = l >>> 0, X3(l, "offset");
|
|
8052
8052
|
const d = this[l], v = this[l + 7];
|
|
8053
8053
|
(d === void 0 || v === void 0) && ne(l, this.length - 8);
|
|
@@ -8111,9 +8111,9 @@
|
|
|
8111
8111
|
let G = Number(l >> BigInt(32) & BigInt(4294967295));
|
|
8112
8112
|
return y[d + 3] = G, G = G >> 8, y[d + 2] = G, G = G >> 8, y[d + 1] = G, G = G >> 8, y[d] = G, d + 8;
|
|
8113
8113
|
}
|
|
8114
|
-
c3.prototype.writeBigUInt64LE =
|
|
8114
|
+
c3.prototype.writeBigUInt64LE = Le2(function(l, d = 0) {
|
|
8115
8115
|
return P3(this, l, d, BigInt(0), BigInt("0xffffffffffffffff"));
|
|
8116
|
-
}), c3.prototype.writeBigUInt64BE =
|
|
8116
|
+
}), c3.prototype.writeBigUInt64BE = Le2(function(l, d = 0) {
|
|
8117
8117
|
return p3(this, l, d, BigInt(0), BigInt("0xffffffffffffffff"));
|
|
8118
8118
|
}), c3.prototype.writeIntLE = function(l, d, v, O3) {
|
|
8119
8119
|
if (l = +l, d = d >>> 0, !O3) {
|
|
@@ -8143,9 +8143,9 @@
|
|
|
8143
8143
|
return l = +l, d = d >>> 0, v || $(this, l, d, 4, 2147483647, -2147483648), this[d] = l & 255, this[d + 1] = l >>> 8, this[d + 2] = l >>> 16, this[d + 3] = l >>> 24, d + 4;
|
|
8144
8144
|
}, c3.prototype.writeInt32BE = function(l, d, v) {
|
|
8145
8145
|
return l = +l, d = d >>> 0, v || $(this, l, d, 4, 2147483647, -2147483648), l < 0 && (l = 4294967295 + l + 1), this[d] = l >>> 24, this[d + 1] = l >>> 16, this[d + 2] = l >>> 8, this[d + 3] = l & 255, d + 4;
|
|
8146
|
-
}, c3.prototype.writeBigInt64LE =
|
|
8146
|
+
}, c3.prototype.writeBigInt64LE = Le2(function(l, d = 0) {
|
|
8147
8147
|
return P3(this, l, d, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff"));
|
|
8148
|
-
}), c3.prototype.writeBigInt64BE =
|
|
8148
|
+
}), c3.prototype.writeBigInt64BE = Le2(function(l, d = 0) {
|
|
8149
8149
|
return p3(this, l, d, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff"));
|
|
8150
8150
|
});
|
|
8151
8151
|
function m(y, l, d, v, O3, U) {
|
|
@@ -8252,11 +8252,11 @@
|
|
|
8252
8252
|
"ERR_OUT_OF_RANGE",
|
|
8253
8253
|
function(y, l, d) {
|
|
8254
8254
|
let v = `The value of "${y}" is out of range.`, O3 = d;
|
|
8255
|
-
return Number.isInteger(d) && Math.abs(d) > 2 ** 32 ? O3 =
|
|
8255
|
+
return Number.isInteger(d) && Math.abs(d) > 2 ** 32 ? O3 = _(String(d)) : typeof d == "bigint" && (O3 = String(d), (d > BigInt(2) ** BigInt(32) || d < -(BigInt(2) ** BigInt(32))) && (O3 = _(O3)), O3 += "n"), v += ` It must be ${l}. Received ${O3}`, v;
|
|
8256
8256
|
},
|
|
8257
8257
|
RangeError
|
|
8258
8258
|
);
|
|
8259
|
-
function
|
|
8259
|
+
function _(y) {
|
|
8260
8260
|
let l = "", d = y.length;
|
|
8261
8261
|
const v = y[0] === "-" ? 1 : 0;
|
|
8262
8262
|
for (; d >= v + 4; d -= 3)
|
|
@@ -8368,7 +8368,7 @@
|
|
|
8368
8368
|
l[O3 + d] = y[O3];
|
|
8369
8369
|
return O3;
|
|
8370
8370
|
}
|
|
8371
|
-
function
|
|
8371
|
+
function _e2(y, l) {
|
|
8372
8372
|
return y instanceof l || y != null && y.constructor != null && y.constructor.name != null && y.constructor.name === l.name;
|
|
8373
8373
|
}
|
|
8374
8374
|
function st2(y) {
|
|
@@ -8383,7 +8383,7 @@
|
|
|
8383
8383
|
}
|
|
8384
8384
|
return l;
|
|
8385
8385
|
}();
|
|
8386
|
-
function
|
|
8386
|
+
function Le2(y) {
|
|
8387
8387
|
return typeof BigInt > "u" ? ku2 : y;
|
|
8388
8388
|
}
|
|
8389
8389
|
function ku2() {
|
|
@@ -8411,10 +8411,10 @@
|
|
|
8411
8411
|
resolveObjectURL: il$2,
|
|
8412
8412
|
transcode: sl$2
|
|
8413
8413
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
8414
|
-
var Uo$1 = {}, Yt$3 = { exports: {} },
|
|
8414
|
+
var Uo$1 = {}, Yt$3 = { exports: {} }, _i$2;
|
|
8415
8415
|
function bi$1() {
|
|
8416
|
-
if (
|
|
8417
|
-
|
|
8416
|
+
if (_i$2) return Yt$3.exports;
|
|
8417
|
+
_i$2 = 1;
|
|
8418
8418
|
var r22 = typeof Reflect == "object" ? Reflect : null, e = r22 && typeof r22.apply == "function" ? r22.apply : function(B, N3, q) {
|
|
8419
8419
|
return Function.prototype.apply.call(B, N3, q);
|
|
8420
8420
|
}, t;
|
|
@@ -8763,9 +8763,9 @@
|
|
|
8763
8763
|
return Mi$2 || (Mi$2 = 1, Rr$1 = bi$1().EventEmitter), Rr$1;
|
|
8764
8764
|
}
|
|
8765
8765
|
const Dr$1 = /* @__PURE__ */ Pu$2(ol$2);
|
|
8766
|
-
var Pr$1 = {}, Or = {},
|
|
8766
|
+
var Pr$1 = {}, Or = {}, Lr, Ui$2;
|
|
8767
8767
|
function Wo$1() {
|
|
8768
|
-
return Ui$2 || (Ui$2 = 1,
|
|
8768
|
+
return Ui$2 || (Ui$2 = 1, Lr = function() {
|
|
8769
8769
|
if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function")
|
|
8770
8770
|
return false;
|
|
8771
8771
|
if (typeof Symbol.iterator == "symbol")
|
|
@@ -8791,16 +8791,16 @@
|
|
|
8791
8791
|
return false;
|
|
8792
8792
|
}
|
|
8793
8793
|
return true;
|
|
8794
|
-
}),
|
|
8794
|
+
}), Lr;
|
|
8795
8795
|
}
|
|
8796
|
-
var
|
|
8796
|
+
var _r, ji$2;
|
|
8797
8797
|
function Er$2() {
|
|
8798
|
-
if (ji$2) return
|
|
8798
|
+
if (ji$2) return _r;
|
|
8799
8799
|
ji$2 = 1;
|
|
8800
8800
|
var r22 = Wo$1();
|
|
8801
|
-
return
|
|
8801
|
+
return _r = function() {
|
|
8802
8802
|
return r22() && !!Symbol.toStringTag;
|
|
8803
|
-
},
|
|
8803
|
+
}, _r;
|
|
8804
8804
|
}
|
|
8805
8805
|
var qr$2, Hi$2;
|
|
8806
8806
|
function Jo$2() {
|
|
@@ -9175,8 +9175,8 @@
|
|
|
9175
9175
|
var x3 = R("%AsyncGeneratorFunction%");
|
|
9176
9176
|
x3 && (b = x3.prototype);
|
|
9177
9177
|
} else if (E3 === "%AsyncIteratorPrototype%") {
|
|
9178
|
-
var
|
|
9179
|
-
|
|
9178
|
+
var _ = R("%AsyncGenerator%");
|
|
9179
|
+
_ && q && (b = q(_.prototype));
|
|
9180
9180
|
}
|
|
9181
9181
|
return ce2[E3] = b, b;
|
|
9182
9182
|
}, Y = {
|
|
@@ -9232,24 +9232,24 @@
|
|
|
9232
9232
|
"%URIErrorPrototype%": ["URIError", "prototype"],
|
|
9233
9233
|
"%WeakMapPrototype%": ["WeakMap", "prototype"],
|
|
9234
9234
|
"%WeakSetPrototype%": ["WeakSet", "prototype"]
|
|
9235
|
-
}, de2 = Kt$2(), J3 = Zo$2(), te2 = de2.call(oe2, Array.prototype.concat), ie = de2.call(K3, Array.prototype.splice),
|
|
9235
|
+
}, de2 = Kt$2(), J3 = Zo$2(), te2 = de2.call(oe2, Array.prototype.concat), ie = de2.call(K3, Array.prototype.splice), L3 = de2.call(oe2, String.prototype.replace), j = de2.call(oe2, String.prototype.slice), V3 = de2.call(oe2, RegExp.prototype.exec), $ = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, P3 = /\\(\\)?/g, p3 = function(E3) {
|
|
9236
9236
|
var b = j(E3, 0, 1), x3 = j(E3, -1);
|
|
9237
9237
|
if (b === "%" && x3 !== "%")
|
|
9238
9238
|
throw new o("invalid intrinsic syntax, expected closing `%`");
|
|
9239
9239
|
if (x3 === "%" && b !== "%")
|
|
9240
9240
|
throw new o("invalid intrinsic syntax, expected opening `%`");
|
|
9241
|
-
var
|
|
9242
|
-
return
|
|
9243
|
-
|
|
9244
|
-
}),
|
|
9241
|
+
var _ = [];
|
|
9242
|
+
return L3(E3, $, function(W, re2, X3, ne) {
|
|
9243
|
+
_[_.length] = X3 ? L3(ne, P3, "$1") : re2 || W;
|
|
9244
|
+
}), _;
|
|
9245
9245
|
}, m = function(E3, b) {
|
|
9246
|
-
var x3 = E3,
|
|
9247
|
-
if (J3(Y, x3) && (
|
|
9246
|
+
var x3 = E3, _;
|
|
9247
|
+
if (J3(Y, x3) && (_ = Y[x3], x3 = "%" + _[0] + "%"), J3(ce2, x3)) {
|
|
9248
9248
|
var W = ce2[x3];
|
|
9249
9249
|
if (W === ee && (W = se(x3)), typeof W > "u" && !b)
|
|
9250
9250
|
throw new a("intrinsic " + E3 + " exists, but is not available. Please file an issue!");
|
|
9251
9251
|
return {
|
|
9252
|
-
alias:
|
|
9252
|
+
alias: _,
|
|
9253
9253
|
name: x3,
|
|
9254
9254
|
value: W
|
|
9255
9255
|
};
|
|
@@ -9263,13 +9263,13 @@
|
|
|
9263
9263
|
throw new a('"allowMissing" argument must be a boolean');
|
|
9264
9264
|
if (V3(/^%?[^%]*%?$/, E3) === null)
|
|
9265
9265
|
throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
|
|
9266
|
-
var x3 = p3(E3),
|
|
9267
|
-
ye2 && (
|
|
9266
|
+
var x3 = p3(E3), _ = x3.length > 0 ? x3[0] : "", W = m("%" + _ + "%", b), re2 = W.name, X3 = W.value, ne = false, ye2 = W.alias;
|
|
9267
|
+
ye2 && (_ = ye2[0], ie(x3, te2([0, 1], ye2)));
|
|
9268
9268
|
for (var z = 1, Be = true; z < x3.length; z += 1) {
|
|
9269
9269
|
var Fe2 = x3[z], He2 = j(Fe2, 0, 1), ze2 = j(Fe2, -1);
|
|
9270
9270
|
if ((He2 === '"' || He2 === "'" || He2 === "`" || ze2 === '"' || ze2 === "'" || ze2 === "`") && He2 !== ze2)
|
|
9271
9271
|
throw new o("property names with quotes must have matching quotes");
|
|
9272
|
-
if ((Fe2 === "constructor" || !Be) && (ne = true),
|
|
9272
|
+
if ((Fe2 === "constructor" || !Be) && (ne = true), _ += "." + Fe2, re2 = "%" + _ + "%", J3(ce2, re2))
|
|
9273
9273
|
X3 = ce2[re2];
|
|
9274
9274
|
else if (X3 != null) {
|
|
9275
9275
|
if (!(Fe2 in X3)) {
|
|
@@ -9521,7 +9521,7 @@
|
|
|
9521
9521
|
]), Cn$2;
|
|
9522
9522
|
}
|
|
9523
9523
|
var Sn$3, Bs$1;
|
|
9524
|
-
function
|
|
9524
|
+
function Ll$2() {
|
|
9525
9525
|
if (Bs$1) return Sn$3;
|
|
9526
9526
|
Bs$1 = 1;
|
|
9527
9527
|
var r22 = Ol$2(), e = typeof globalThis > "u" ? We$3 : globalThis;
|
|
@@ -9532,7 +9532,7 @@
|
|
|
9532
9532
|
}, Sn$3;
|
|
9533
9533
|
}
|
|
9534
9534
|
var Tn$2 = { exports: {} }, Fn$2, ks$1;
|
|
9535
|
-
function
|
|
9535
|
+
function _l$2() {
|
|
9536
9536
|
if (ks$1) return Fn$2;
|
|
9537
9537
|
ks$1 = 1;
|
|
9538
9538
|
var r22 = vr$2(), e = Ko$1(), t = Jt$2(), n = It$2();
|
|
@@ -9584,7 +9584,7 @@
|
|
|
9584
9584
|
function Ml$2() {
|
|
9585
9585
|
if (Is$1) return kn$2;
|
|
9586
9586
|
Is$1 = 1;
|
|
9587
|
-
var r22 = Qo$2(), e =
|
|
9587
|
+
var r22 = Qo$2(), e = _l$2(), t = ql$2()(), n = It$2(), i3 = Jt$2(), s = r22("%Math.floor%");
|
|
9588
9588
|
return kn$2 = function(a, u) {
|
|
9589
9589
|
if (typeof a != "function")
|
|
9590
9590
|
throw new i3("`fn` is not a function");
|
|
@@ -9637,7 +9637,7 @@
|
|
|
9637
9637
|
function ea$1() {
|
|
9638
9638
|
if (Os$1) return In$3;
|
|
9639
9639
|
Os$1 = 1;
|
|
9640
|
-
var r22 = Pl$2(), e =
|
|
9640
|
+
var r22 = Pl$2(), e = Ll$2(), t = jl$2(), n = $t$2(), i3 = It$2(), s = Ei$2(), o = n("Object.prototype.toString"), a = Er$2()(), u = typeof globalThis > "u" ? We$3 : globalThis, f3 = e(), c3 = n("String.prototype.slice"), g = n("Array.prototype.indexOf", true) || function(F3, w) {
|
|
9641
9641
|
for (var k = 0; k < F3.length; k += 1)
|
|
9642
9642
|
if (F3[k] === w)
|
|
9643
9643
|
return k;
|
|
@@ -9703,18 +9703,18 @@
|
|
|
9703
9703
|
return i3 ? S(F3) : null;
|
|
9704
9704
|
}, In$3;
|
|
9705
9705
|
}
|
|
9706
|
-
var Rn$3,
|
|
9706
|
+
var Rn$3, Ls$1;
|
|
9707
9707
|
function Hl$2() {
|
|
9708
|
-
if (
|
|
9709
|
-
|
|
9708
|
+
if (Ls$1) return Rn$3;
|
|
9709
|
+
Ls$1 = 1;
|
|
9710
9710
|
var r22 = ea$1();
|
|
9711
9711
|
return Rn$3 = function(t) {
|
|
9712
9712
|
return !!r22(t);
|
|
9713
9713
|
}, Rn$3;
|
|
9714
9714
|
}
|
|
9715
|
-
var
|
|
9715
|
+
var _s$1;
|
|
9716
9716
|
function Vl$2() {
|
|
9717
|
-
return
|
|
9717
|
+
return _s$1 || (_s$1 = 1, function(r22) {
|
|
9718
9718
|
var e = Bl$2(), t = Il$2(), n = ea$1(), i3 = Hl$2();
|
|
9719
9719
|
function s(z) {
|
|
9720
9720
|
return z.call.bind(z);
|
|
@@ -9826,12 +9826,12 @@
|
|
|
9826
9826
|
return typeof ArrayBuffer > "u" ? false : te2.working ? te2(z) : z instanceof ArrayBuffer;
|
|
9827
9827
|
}
|
|
9828
9828
|
r22.isArrayBuffer = ie;
|
|
9829
|
-
function
|
|
9829
|
+
function L3(z) {
|
|
9830
9830
|
return u(z) === "[object DataView]";
|
|
9831
9831
|
}
|
|
9832
|
-
|
|
9832
|
+
L3.working = typeof ArrayBuffer < "u" && typeof DataView < "u" && L3(new DataView(new ArrayBuffer(1), 0, 1));
|
|
9833
9833
|
function j(z) {
|
|
9834
|
-
return typeof DataView > "u" ? false :
|
|
9834
|
+
return typeof DataView > "u" ? false : L3.working ? L3(z) : z instanceof DataView;
|
|
9835
9835
|
}
|
|
9836
9836
|
r22.isDataView = j;
|
|
9837
9837
|
var V3 = typeof SharedArrayBuffer < "u" ? SharedArrayBuffer : void 0;
|
|
@@ -9866,10 +9866,10 @@
|
|
|
9866
9866
|
return T3(z, f3);
|
|
9867
9867
|
}
|
|
9868
9868
|
r22.isNumberObject = x3;
|
|
9869
|
-
function
|
|
9869
|
+
function _(z) {
|
|
9870
9870
|
return T3(z, c3);
|
|
9871
9871
|
}
|
|
9872
|
-
r22.isStringObject =
|
|
9872
|
+
r22.isStringObject = _;
|
|
9873
9873
|
function W(z) {
|
|
9874
9874
|
return T3(z, g);
|
|
9875
9875
|
}
|
|
@@ -9883,7 +9883,7 @@
|
|
|
9883
9883
|
}
|
|
9884
9884
|
r22.isSymbolObject = X3;
|
|
9885
9885
|
function ne(z) {
|
|
9886
|
-
return x3(z) ||
|
|
9886
|
+
return x3(z) || _(z) || W(z) || re2(z) || X3(z);
|
|
9887
9887
|
}
|
|
9888
9888
|
r22.isBoxedPrimitive = ne;
|
|
9889
9889
|
function ye2(z) {
|
|
@@ -9913,13 +9913,13 @@
|
|
|
9913
9913
|
$[V3[P3]] = Object.getOwnPropertyDescriptor(j, V3[P3]);
|
|
9914
9914
|
return $;
|
|
9915
9915
|
}, t = /%[sdj%]/g;
|
|
9916
|
-
r22.format = function(
|
|
9917
|
-
if (!B(
|
|
9916
|
+
r22.format = function(L3) {
|
|
9917
|
+
if (!B(L3)) {
|
|
9918
9918
|
for (var j = [], V3 = 0; V3 < arguments.length; V3++)
|
|
9919
9919
|
j.push(o(arguments[V3]));
|
|
9920
9920
|
return j.join(" ");
|
|
9921
9921
|
}
|
|
9922
|
-
for (var V3 = 1, $ = arguments, P3 = $.length, p3 = String(
|
|
9922
|
+
for (var V3 = 1, $ = arguments, P3 = $.length, p3 = String(L3).replace(t, function(R) {
|
|
9923
9923
|
if (R === "%%") return "%";
|
|
9924
9924
|
if (V3 >= P3) return R;
|
|
9925
9925
|
switch (R) {
|
|
@@ -9939,12 +9939,12 @@
|
|
|
9939
9939
|
}), m = $[V3]; V3 < P3; m = $[++V3])
|
|
9940
9940
|
k(m) || !D3(m) ? p3 += " " + m : p3 += " " + o(m);
|
|
9941
9941
|
return p3;
|
|
9942
|
-
}, r22.deprecate = function(
|
|
9942
|
+
}, r22.deprecate = function(L3, j) {
|
|
9943
9943
|
if (typeof he$3 < "u" && he$3.noDeprecation === true)
|
|
9944
|
-
return
|
|
9944
|
+
return L3;
|
|
9945
9945
|
if (typeof he$3 > "u")
|
|
9946
9946
|
return function() {
|
|
9947
|
-
return r22.deprecate(
|
|
9947
|
+
return r22.deprecate(L3, j).apply(this, arguments);
|
|
9948
9948
|
};
|
|
9949
9949
|
var V3 = false;
|
|
9950
9950
|
function $() {
|
|
@@ -9953,7 +9953,7 @@
|
|
|
9953
9953
|
throw new Error(j);
|
|
9954
9954
|
he$3.traceDeprecation ? console.trace(j) : console.error(j), V3 = true;
|
|
9955
9955
|
}
|
|
9956
|
-
return
|
|
9956
|
+
return L3.apply(this, arguments);
|
|
9957
9957
|
}
|
|
9958
9958
|
return $;
|
|
9959
9959
|
};
|
|
@@ -9962,25 +9962,25 @@
|
|
|
9962
9962
|
var s = he$3.env.NODE_DEBUG;
|
|
9963
9963
|
s = s.replace(/[|\\{}()[\]^$+?.]/g, "\\$&").replace(/\*/g, ".*").replace(/,/g, "$|^").toUpperCase(), i3 = new RegExp("^" + s + "$", "i");
|
|
9964
9964
|
}
|
|
9965
|
-
r22.debuglog = function(
|
|
9966
|
-
if (
|
|
9967
|
-
if (i3.test(
|
|
9965
|
+
r22.debuglog = function(L3) {
|
|
9966
|
+
if (L3 = L3.toUpperCase(), !n[L3])
|
|
9967
|
+
if (i3.test(L3)) {
|
|
9968
9968
|
var j = he$3.pid;
|
|
9969
|
-
n[
|
|
9969
|
+
n[L3] = function() {
|
|
9970
9970
|
var V3 = r22.format.apply(r22, arguments);
|
|
9971
|
-
console.error("%s %d: %s",
|
|
9971
|
+
console.error("%s %d: %s", L3, j, V3);
|
|
9972
9972
|
};
|
|
9973
9973
|
} else
|
|
9974
|
-
n[
|
|
9974
|
+
n[L3] = function() {
|
|
9975
9975
|
};
|
|
9976
|
-
return n[
|
|
9976
|
+
return n[L3];
|
|
9977
9977
|
};
|
|
9978
|
-
function o(
|
|
9978
|
+
function o(L3, j) {
|
|
9979
9979
|
var V3 = {
|
|
9980
9980
|
seen: [],
|
|
9981
9981
|
stylize: u
|
|
9982
9982
|
};
|
|
9983
|
-
return arguments.length >= 3 && (V3.depth = arguments[2]), arguments.length >= 4 && (V3.colors = arguments[3]), w(j) ? V3.showHidden = j : j && r22._extend(V3, j), q(V3.showHidden) && (V3.showHidden = false), q(V3.depth) && (V3.depth = 2), q(V3.colors) && (V3.colors = false), q(V3.customInspect) && (V3.customInspect = true), V3.colors && (V3.stylize = a), c3(V3,
|
|
9983
|
+
return arguments.length >= 3 && (V3.depth = arguments[2]), arguments.length >= 4 && (V3.colors = arguments[3]), w(j) ? V3.showHidden = j : j && r22._extend(V3, j), q(V3.showHidden) && (V3.showHidden = false), q(V3.depth) && (V3.depth = 2), q(V3.colors) && (V3.colors = false), q(V3.customInspect) && (V3.customInspect = true), V3.colors && (V3.stylize = a), c3(V3, L3, V3.depth);
|
|
9984
9984
|
}
|
|
9985
9985
|
r22.inspect = o, o.colors = {
|
|
9986
9986
|
bold: [1, 22],
|
|
@@ -10007,80 +10007,80 @@
|
|
|
10007
10007
|
// "name": intentionally not styling
|
|
10008
10008
|
regexp: "red"
|
|
10009
10009
|
};
|
|
10010
|
-
function a(
|
|
10010
|
+
function a(L3, j) {
|
|
10011
10011
|
var V3 = o.styles[j];
|
|
10012
|
-
return V3 ? "\x1B[" + o.colors[V3][0] + "m" +
|
|
10012
|
+
return V3 ? "\x1B[" + o.colors[V3][0] + "m" + L3 + "\x1B[" + o.colors[V3][1] + "m" : L3;
|
|
10013
10013
|
}
|
|
10014
|
-
function u(
|
|
10015
|
-
return
|
|
10014
|
+
function u(L3, j) {
|
|
10015
|
+
return L3;
|
|
10016
10016
|
}
|
|
10017
|
-
function f3(
|
|
10017
|
+
function f3(L3) {
|
|
10018
10018
|
var j = {};
|
|
10019
|
-
return
|
|
10019
|
+
return L3.forEach(function(V3, $) {
|
|
10020
10020
|
j[V3] = true;
|
|
10021
10021
|
}), j;
|
|
10022
10022
|
}
|
|
10023
|
-
function c3(
|
|
10024
|
-
if (
|
|
10023
|
+
function c3(L3, j, V3) {
|
|
10024
|
+
if (L3.customInspect && j && ee(j.inspect) && // Filter out the util module, it's inspect function is special
|
|
10025
10025
|
j.inspect !== r22.inspect && // Also filter out any prototype objects using the circular check.
|
|
10026
10026
|
!(j.constructor && j.constructor.prototype === j)) {
|
|
10027
|
-
var $ = j.inspect(V3,
|
|
10028
|
-
return B($) || ($ = c3(
|
|
10027
|
+
var $ = j.inspect(V3, L3);
|
|
10028
|
+
return B($) || ($ = c3(L3, $, V3)), $;
|
|
10029
10029
|
}
|
|
10030
|
-
var P3 = g(
|
|
10030
|
+
var P3 = g(L3, j);
|
|
10031
10031
|
if (P3)
|
|
10032
10032
|
return P3;
|
|
10033
10033
|
var p3 = Object.keys(j), m = f3(p3);
|
|
10034
|
-
if (
|
|
10034
|
+
if (L3.showHidden && (p3 = Object.getOwnPropertyNames(j)), oe2(j) && (p3.indexOf("message") >= 0 || p3.indexOf("description") >= 0))
|
|
10035
10035
|
return h3(j);
|
|
10036
10036
|
if (p3.length === 0) {
|
|
10037
10037
|
if (ee(j)) {
|
|
10038
10038
|
var R = j.name ? ": " + j.name : "";
|
|
10039
|
-
return
|
|
10039
|
+
return L3.stylize("[Function" + R + "]", "special");
|
|
10040
10040
|
}
|
|
10041
10041
|
if (H3(j))
|
|
10042
|
-
return
|
|
10042
|
+
return L3.stylize(RegExp.prototype.toString.call(j), "regexp");
|
|
10043
10043
|
if (K3(j))
|
|
10044
|
-
return
|
|
10044
|
+
return L3.stylize(Date.prototype.toString.call(j), "date");
|
|
10045
10045
|
if (oe2(j))
|
|
10046
10046
|
return h3(j);
|
|
10047
10047
|
}
|
|
10048
10048
|
var E3 = "", b = false, x3 = ["{", "}"];
|
|
10049
10049
|
if (F3(j) && (b = true, x3 = ["[", "]"]), ee(j)) {
|
|
10050
|
-
var
|
|
10051
|
-
E3 = " [Function" +
|
|
10050
|
+
var _ = j.name ? ": " + j.name : "";
|
|
10051
|
+
E3 = " [Function" + _ + "]";
|
|
10052
10052
|
}
|
|
10053
10053
|
if (H3(j) && (E3 = " " + RegExp.prototype.toString.call(j)), K3(j) && (E3 = " " + Date.prototype.toUTCString.call(j)), oe2(j) && (E3 = " " + h3(j)), p3.length === 0 && (!b || j.length == 0))
|
|
10054
10054
|
return x3[0] + E3 + x3[1];
|
|
10055
10055
|
if (V3 < 0)
|
|
10056
|
-
return H3(j) ?
|
|
10057
|
-
|
|
10056
|
+
return H3(j) ? L3.stylize(RegExp.prototype.toString.call(j), "regexp") : L3.stylize("[Object]", "special");
|
|
10057
|
+
L3.seen.push(j);
|
|
10058
10058
|
var W;
|
|
10059
|
-
return b ? W = S(
|
|
10060
|
-
return T3(
|
|
10061
|
-
}),
|
|
10059
|
+
return b ? W = S(L3, j, V3, m, p3) : W = p3.map(function(re2) {
|
|
10060
|
+
return T3(L3, j, V3, m, re2, b);
|
|
10061
|
+
}), L3.seen.pop(), A(W, E3, x3);
|
|
10062
10062
|
}
|
|
10063
|
-
function g(
|
|
10063
|
+
function g(L3, j) {
|
|
10064
10064
|
if (q(j))
|
|
10065
|
-
return
|
|
10065
|
+
return L3.stylize("undefined", "undefined");
|
|
10066
10066
|
if (B(j)) {
|
|
10067
10067
|
var V3 = "'" + JSON.stringify(j).replace(/^"|"$/g, "").replace(/'/g, "\\'").replace(/\\"/g, '"') + "'";
|
|
10068
|
-
return
|
|
10068
|
+
return L3.stylize(V3, "string");
|
|
10069
10069
|
}
|
|
10070
10070
|
if (C(j))
|
|
10071
|
-
return
|
|
10071
|
+
return L3.stylize("" + j, "number");
|
|
10072
10072
|
if (w(j))
|
|
10073
|
-
return
|
|
10073
|
+
return L3.stylize("" + j, "boolean");
|
|
10074
10074
|
if (k(j))
|
|
10075
|
-
return
|
|
10075
|
+
return L3.stylize("null", "null");
|
|
10076
10076
|
}
|
|
10077
|
-
function h3(
|
|
10078
|
-
return "[" + Error.prototype.toString.call(
|
|
10077
|
+
function h3(L3) {
|
|
10078
|
+
return "[" + Error.prototype.toString.call(L3) + "]";
|
|
10079
10079
|
}
|
|
10080
|
-
function S(
|
|
10080
|
+
function S(L3, j, V3, $, P3) {
|
|
10081
10081
|
for (var p3 = [], m = 0, R = j.length; m < R; ++m)
|
|
10082
10082
|
de2(j, String(m)) ? p3.push(T3(
|
|
10083
|
-
|
|
10083
|
+
L3,
|
|
10084
10084
|
j,
|
|
10085
10085
|
V3,
|
|
10086
10086
|
$,
|
|
@@ -10089,7 +10089,7 @@
|
|
|
10089
10089
|
)) : p3.push("");
|
|
10090
10090
|
return P3.forEach(function(E3) {
|
|
10091
10091
|
E3.match(/^\d+$/) || p3.push(T3(
|
|
10092
|
-
|
|
10092
|
+
L3,
|
|
10093
10093
|
j,
|
|
10094
10094
|
V3,
|
|
10095
10095
|
$,
|
|
@@ -10098,9 +10098,9 @@
|
|
|
10098
10098
|
));
|
|
10099
10099
|
}), p3;
|
|
10100
10100
|
}
|
|
10101
|
-
function T3(
|
|
10101
|
+
function T3(L3, j, V3, $, P3, p3) {
|
|
10102
10102
|
var m, R, E3;
|
|
10103
|
-
if (E3 = Object.getOwnPropertyDescriptor(j, P3) || { value: j[P3] }, E3.get ? E3.set ? R =
|
|
10103
|
+
if (E3 = Object.getOwnPropertyDescriptor(j, P3) || { value: j[P3] }, E3.get ? E3.set ? R = L3.stylize("[Getter/Setter]", "special") : R = L3.stylize("[Getter]", "special") : E3.set && (R = L3.stylize("[Setter]", "special")), de2($, P3) || (m = "[" + P3 + "]"), R || (L3.seen.indexOf(E3.value) < 0 ? (k(V3) ? R = c3(L3, E3.value, null) : R = c3(L3, E3.value, V3 - 1), R.indexOf(`
|
|
10104
10104
|
`) > -1 && (p3 ? R = R.split(`
|
|
10105
10105
|
`).map(function(b) {
|
|
10106
10106
|
return " " + b;
|
|
@@ -10110,85 +10110,85 @@
|
|
|
10110
10110
|
`).map(function(b) {
|
|
10111
10111
|
return " " + b;
|
|
10112
10112
|
}).join(`
|
|
10113
|
-
`))) : R =
|
|
10113
|
+
`))) : R = L3.stylize("[Circular]", "special")), q(m)) {
|
|
10114
10114
|
if (p3 && P3.match(/^\d+$/))
|
|
10115
10115
|
return R;
|
|
10116
|
-
m = JSON.stringify("" + P3), m.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/) ? (m = m.slice(1, -1), m =
|
|
10116
|
+
m = JSON.stringify("" + P3), m.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/) ? (m = m.slice(1, -1), m = L3.stylize(m, "name")) : (m = m.replace(/'/g, "\\'").replace(/\\"/g, '"').replace(/(^"|"$)/g, "'"), m = L3.stylize(m, "string"));
|
|
10117
10117
|
}
|
|
10118
10118
|
return m + ": " + R;
|
|
10119
10119
|
}
|
|
10120
|
-
function A(
|
|
10121
|
-
var $ =
|
|
10120
|
+
function A(L3, j, V3) {
|
|
10121
|
+
var $ = L3.reduce(function(P3, p3) {
|
|
10122
10122
|
return p3.indexOf(`
|
|
10123
10123
|
`) >= 0, P3 + p3.replace(/\u001b\[\d\d?m/g, "").length + 1;
|
|
10124
10124
|
}, 0);
|
|
10125
10125
|
return $ > 60 ? V3[0] + (j === "" ? "" : j + `
|
|
10126
|
-
`) + " " +
|
|
10127
|
-
`) + " " + V3[1] : V3[0] + j + " " +
|
|
10126
|
+
`) + " " + L3.join(`,
|
|
10127
|
+
`) + " " + V3[1] : V3[0] + j + " " + L3.join(", ") + " " + V3[1];
|
|
10128
10128
|
}
|
|
10129
10129
|
r22.types = Vl$2();
|
|
10130
|
-
function F3(
|
|
10131
|
-
return Array.isArray(
|
|
10130
|
+
function F3(L3) {
|
|
10131
|
+
return Array.isArray(L3);
|
|
10132
10132
|
}
|
|
10133
10133
|
r22.isArray = F3;
|
|
10134
|
-
function w(
|
|
10135
|
-
return typeof
|
|
10134
|
+
function w(L3) {
|
|
10135
|
+
return typeof L3 == "boolean";
|
|
10136
10136
|
}
|
|
10137
10137
|
r22.isBoolean = w;
|
|
10138
|
-
function k(
|
|
10139
|
-
return
|
|
10138
|
+
function k(L3) {
|
|
10139
|
+
return L3 === null;
|
|
10140
10140
|
}
|
|
10141
10141
|
r22.isNull = k;
|
|
10142
|
-
function I3(
|
|
10143
|
-
return
|
|
10142
|
+
function I3(L3) {
|
|
10143
|
+
return L3 == null;
|
|
10144
10144
|
}
|
|
10145
10145
|
r22.isNullOrUndefined = I3;
|
|
10146
|
-
function C(
|
|
10147
|
-
return typeof
|
|
10146
|
+
function C(L3) {
|
|
10147
|
+
return typeof L3 == "number";
|
|
10148
10148
|
}
|
|
10149
10149
|
r22.isNumber = C;
|
|
10150
|
-
function B(
|
|
10151
|
-
return typeof
|
|
10150
|
+
function B(L3) {
|
|
10151
|
+
return typeof L3 == "string";
|
|
10152
10152
|
}
|
|
10153
10153
|
r22.isString = B;
|
|
10154
|
-
function N3(
|
|
10155
|
-
return typeof
|
|
10154
|
+
function N3(L3) {
|
|
10155
|
+
return typeof L3 == "symbol";
|
|
10156
10156
|
}
|
|
10157
10157
|
r22.isSymbol = N3;
|
|
10158
|
-
function q(
|
|
10159
|
-
return
|
|
10158
|
+
function q(L3) {
|
|
10159
|
+
return L3 === void 0;
|
|
10160
10160
|
}
|
|
10161
10161
|
r22.isUndefined = q;
|
|
10162
|
-
function H3(
|
|
10163
|
-
return D3(
|
|
10162
|
+
function H3(L3) {
|
|
10163
|
+
return D3(L3) && ce2(L3) === "[object RegExp]";
|
|
10164
10164
|
}
|
|
10165
10165
|
r22.isRegExp = H3, r22.types.isRegExp = H3;
|
|
10166
|
-
function D3(
|
|
10167
|
-
return typeof
|
|
10166
|
+
function D3(L3) {
|
|
10167
|
+
return typeof L3 == "object" && L3 !== null;
|
|
10168
10168
|
}
|
|
10169
10169
|
r22.isObject = D3;
|
|
10170
|
-
function K3(
|
|
10171
|
-
return D3(
|
|
10170
|
+
function K3(L3) {
|
|
10171
|
+
return D3(L3) && ce2(L3) === "[object Date]";
|
|
10172
10172
|
}
|
|
10173
10173
|
r22.isDate = K3, r22.types.isDate = K3;
|
|
10174
|
-
function oe2(
|
|
10175
|
-
return D3(
|
|
10174
|
+
function oe2(L3) {
|
|
10175
|
+
return D3(L3) && (ce2(L3) === "[object Error]" || L3 instanceof Error);
|
|
10176
10176
|
}
|
|
10177
10177
|
r22.isError = oe2, r22.types.isNativeError = oe2;
|
|
10178
|
-
function ee(
|
|
10179
|
-
return typeof
|
|
10178
|
+
function ee(L3) {
|
|
10179
|
+
return typeof L3 == "function";
|
|
10180
10180
|
}
|
|
10181
10181
|
r22.isFunction = ee;
|
|
10182
|
-
function Z(
|
|
10183
|
-
return
|
|
10184
|
-
typeof
|
|
10182
|
+
function Z(L3) {
|
|
10183
|
+
return L3 === null || typeof L3 == "boolean" || typeof L3 == "number" || typeof L3 == "string" || typeof L3 == "symbol" || // ES6 symbol
|
|
10184
|
+
typeof L3 > "u";
|
|
10185
10185
|
}
|
|
10186
10186
|
r22.isPrimitive = Z, r22.isBuffer = zl$2();
|
|
10187
|
-
function ce2(
|
|
10188
|
-
return Object.prototype.toString.call(
|
|
10187
|
+
function ce2(L3) {
|
|
10188
|
+
return Object.prototype.toString.call(L3);
|
|
10189
10189
|
}
|
|
10190
|
-
function ae2(
|
|
10191
|
-
return
|
|
10190
|
+
function ae2(L3) {
|
|
10191
|
+
return L3 < 10 ? "0" + L3.toString(10) : L3.toString(10);
|
|
10192
10192
|
}
|
|
10193
10193
|
var se = [
|
|
10194
10194
|
"Jan",
|
|
@@ -10205,23 +10205,23 @@
|
|
|
10205
10205
|
"Dec"
|
|
10206
10206
|
];
|
|
10207
10207
|
function Y() {
|
|
10208
|
-
var
|
|
10209
|
-
ae2(
|
|
10210
|
-
ae2(
|
|
10211
|
-
ae2(
|
|
10208
|
+
var L3 = /* @__PURE__ */ new Date(), j = [
|
|
10209
|
+
ae2(L3.getHours()),
|
|
10210
|
+
ae2(L3.getMinutes()),
|
|
10211
|
+
ae2(L3.getSeconds())
|
|
10212
10212
|
].join(":");
|
|
10213
|
-
return [
|
|
10213
|
+
return [L3.getDate(), se[L3.getMonth()], j].join(" ");
|
|
10214
10214
|
}
|
|
10215
10215
|
r22.log = function() {
|
|
10216
10216
|
console.log("%s - %s", Y(), r22.format.apply(r22, arguments));
|
|
10217
|
-
}, r22.inherits = wt$1(), r22._extend = function(
|
|
10218
|
-
if (!j || !D3(j)) return
|
|
10217
|
+
}, r22.inherits = wt$1(), r22._extend = function(L3, j) {
|
|
10218
|
+
if (!j || !D3(j)) return L3;
|
|
10219
10219
|
for (var V3 = Object.keys(j), $ = V3.length; $--; )
|
|
10220
|
-
|
|
10221
|
-
return
|
|
10220
|
+
L3[V3[$]] = j[V3[$]];
|
|
10221
|
+
return L3;
|
|
10222
10222
|
};
|
|
10223
|
-
function de2(
|
|
10224
|
-
return Object.prototype.hasOwnProperty.call(
|
|
10223
|
+
function de2(L3, j) {
|
|
10224
|
+
return Object.prototype.hasOwnProperty.call(L3, j);
|
|
10225
10225
|
}
|
|
10226
10226
|
var J3 = typeof Symbol < "u" ? Symbol("util.promisify.custom") : void 0;
|
|
10227
10227
|
r22.promisify = function(j) {
|
|
@@ -10263,15 +10263,15 @@
|
|
|
10263
10263
|
e(j)
|
|
10264
10264
|
);
|
|
10265
10265
|
}, r22.promisify.custom = J3;
|
|
10266
|
-
function te2(
|
|
10267
|
-
if (!
|
|
10266
|
+
function te2(L3, j) {
|
|
10267
|
+
if (!L3) {
|
|
10268
10268
|
var V3 = new Error("Promise was rejected with a falsy value");
|
|
10269
|
-
V3.reason =
|
|
10269
|
+
V3.reason = L3, L3 = V3;
|
|
10270
10270
|
}
|
|
10271
|
-
return j(
|
|
10271
|
+
return j(L3);
|
|
10272
10272
|
}
|
|
10273
|
-
function ie(
|
|
10274
|
-
if (typeof
|
|
10273
|
+
function ie(L3) {
|
|
10274
|
+
if (typeof L3 != "function")
|
|
10275
10275
|
throw new TypeError('The "original" argument must be of type Function');
|
|
10276
10276
|
function j() {
|
|
10277
10277
|
for (var V3 = [], $ = 0; $ < arguments.length; $++)
|
|
@@ -10282,7 +10282,7 @@
|
|
|
10282
10282
|
var p3 = this, m = function() {
|
|
10283
10283
|
return P3.apply(p3, arguments);
|
|
10284
10284
|
};
|
|
10285
|
-
|
|
10285
|
+
L3.apply(this, V3).then(
|
|
10286
10286
|
function(R) {
|
|
10287
10287
|
he$3.nextTick(m.bind(null, null, R));
|
|
10288
10288
|
},
|
|
@@ -10291,9 +10291,9 @@
|
|
|
10291
10291
|
}
|
|
10292
10292
|
);
|
|
10293
10293
|
}
|
|
10294
|
-
return Object.setPrototypeOf(j, Object.getPrototypeOf(
|
|
10294
|
+
return Object.setPrototypeOf(j, Object.getPrototypeOf(L3)), Object.defineProperties(
|
|
10295
10295
|
j,
|
|
10296
|
-
e(
|
|
10296
|
+
e(L3)
|
|
10297
10297
|
), j;
|
|
10298
10298
|
}
|
|
10299
10299
|
r22.callbackify = ie;
|
|
@@ -10464,9 +10464,9 @@
|
|
|
10464
10464
|
}]), T3;
|
|
10465
10465
|
}(), On$3;
|
|
10466
10466
|
}
|
|
10467
|
-
var
|
|
10467
|
+
var Ln$3, js$1;
|
|
10468
10468
|
function ra$1() {
|
|
10469
|
-
if (js$1) return
|
|
10469
|
+
if (js$1) return Ln$3;
|
|
10470
10470
|
js$1 = 1;
|
|
10471
10471
|
function r22(o, a) {
|
|
10472
10472
|
var u = this, f3 = this._readableState && this._readableState.destroyed, c3 = this._writableState && this._writableState.destroyed;
|
|
@@ -10490,15 +10490,15 @@
|
|
|
10490
10490
|
var u = o._readableState, f3 = o._writableState;
|
|
10491
10491
|
u && u.autoDestroy || f3 && f3.autoDestroy ? o.destroy(a) : o.emit("error", a);
|
|
10492
10492
|
}
|
|
10493
|
-
return
|
|
10493
|
+
return Ln$3 = {
|
|
10494
10494
|
destroy: r22,
|
|
10495
10495
|
undestroy: n,
|
|
10496
10496
|
errorOrDestroy: s
|
|
10497
|
-
},
|
|
10497
|
+
}, Ln$3;
|
|
10498
10498
|
}
|
|
10499
|
-
var
|
|
10499
|
+
var _n$3 = {}, Hs$1;
|
|
10500
10500
|
function Rt$1() {
|
|
10501
|
-
if (Hs$1) return
|
|
10501
|
+
if (Hs$1) return _n$3;
|
|
10502
10502
|
Hs$1 = 1;
|
|
10503
10503
|
function r22(a, u) {
|
|
10504
10504
|
a.prototype = Object.create(u.prototype), a.prototype.constructor = a, a.__proto__ = u;
|
|
@@ -10555,7 +10555,7 @@
|
|
|
10555
10555
|
return "Cannot call " + a + " after a stream was destroyed";
|
|
10556
10556
|
}), t("ERR_MULTIPLE_CALLBACK", "Callback called multiple times"), t("ERR_STREAM_CANNOT_PIPE", "Cannot pipe, not readable"), t("ERR_STREAM_WRITE_AFTER_END", "write after end"), t("ERR_STREAM_NULL_VALUES", "May not write null values to stream", TypeError), t("ERR_UNKNOWN_ENCODING", function(a) {
|
|
10557
10557
|
return "Unknown encoding: " + a;
|
|
10558
|
-
}, TypeError), t("ERR_STREAM_UNSHIFT_AFTER_END_EVENT", "stream.unshift() after end event"),
|
|
10558
|
+
}, TypeError), t("ERR_STREAM_UNSHIFT_AFTER_END_EVENT", "stream.unshift() after end event"), _n$3.codes = e, _n$3;
|
|
10559
10559
|
}
|
|
10560
10560
|
var qn$2, Vs$1;
|
|
10561
10561
|
function na$1() {
|
|
@@ -10718,8 +10718,8 @@
|
|
|
10718
10718
|
var x3 = oe2(p3, R, E3);
|
|
10719
10719
|
R !== x3 && (m = true, E3 = "buffer", R = x3);
|
|
10720
10720
|
}
|
|
10721
|
-
var
|
|
10722
|
-
p3.length +=
|
|
10721
|
+
var _ = p3.objectMode ? 1 : R.length;
|
|
10722
|
+
p3.length += _;
|
|
10723
10723
|
var W = p3.length < p3.highWaterMark;
|
|
10724
10724
|
if (W || (p3.needDrain = true), p3.writing || p3.corked) {
|
|
10725
10725
|
var re2 = p3.lastBufferedRequest;
|
|
@@ -10731,7 +10731,7 @@
|
|
|
10731
10731
|
next: null
|
|
10732
10732
|
}, re2 ? re2.next = p3.lastBufferedRequest : p3.bufferedRequest = p3.lastBufferedRequest, p3.bufferedRequestCount += 1;
|
|
10733
10733
|
} else
|
|
10734
|
-
Z(P3, p3, false,
|
|
10734
|
+
Z(P3, p3, false, _, R, E3, b);
|
|
10735
10735
|
return W;
|
|
10736
10736
|
}
|
|
10737
10737
|
function Z(P3, p3, m, R, E3, b, x3) {
|
|
@@ -10764,9 +10764,9 @@
|
|
|
10764
10764
|
if (P3._writev && m && m.next) {
|
|
10765
10765
|
var R = p3.bufferedRequestCount, E3 = new Array(R), b = p3.corkedRequestsFree;
|
|
10766
10766
|
b.entry = m;
|
|
10767
|
-
for (var x3 = 0,
|
|
10768
|
-
E3[x3] = m, m.isBuf || (
|
|
10769
|
-
E3.allBuffers =
|
|
10767
|
+
for (var x3 = 0, _ = true; m; )
|
|
10768
|
+
E3[x3] = m, m.isBuf || (_ = false), m = m.next, x3 += 1;
|
|
10769
|
+
E3.allBuffers = _, Z(P3, p3, true, p3.length, E3, "", b.finish), p3.pendingcb++, p3.lastBufferedRequest = null, b.next ? (p3.corkedRequestsFree = b.next, b.next = null) : p3.corkedRequestsFree = new r22(p3), p3.bufferedRequestCount = 0;
|
|
10770
10770
|
} else {
|
|
10771
10771
|
for (; m; ) {
|
|
10772
10772
|
var W = m.chunk, re2 = m.encoding, X3 = m.callback, ne = p3.objectMode ? 1 : W.length;
|
|
@@ -10799,12 +10799,12 @@
|
|
|
10799
10799
|
p3.pendingcb--, m && C(P3, m), p3.prefinished = true, P3.emit("prefinish"), j(P3, p3);
|
|
10800
10800
|
});
|
|
10801
10801
|
}
|
|
10802
|
-
function
|
|
10802
|
+
function L3(P3, p3) {
|
|
10803
10803
|
!p3.prefinished && !p3.finalCalled && (typeof P3._final == "function" && !p3.destroyed ? (p3.pendingcb++, p3.finalCalled = true, he$3.nextTick(ie, P3, p3)) : (p3.prefinished = true, P3.emit("prefinish")));
|
|
10804
10804
|
}
|
|
10805
10805
|
function j(P3, p3) {
|
|
10806
10806
|
var m = te2(p3);
|
|
10807
|
-
if (m && (
|
|
10807
|
+
if (m && (L3(P3, p3), p3.pendingcb === 0 && (p3.finished = true, P3.emit("finish"), p3.autoDestroy))) {
|
|
10808
10808
|
var R = P3._readableState;
|
|
10809
10809
|
(!R || R.autoDestroy && R.endEmitted) && P3.destroy();
|
|
10810
10810
|
}
|
|
@@ -11275,8 +11275,8 @@
|
|
|
11275
11275
|
Zs = 1, Wn$2 = D3;
|
|
11276
11276
|
var r22;
|
|
11277
11277
|
D3.ReadableState = H3, bi$1().EventEmitter;
|
|
11278
|
-
var e = function(x3,
|
|
11279
|
-
return x3.listeners(
|
|
11278
|
+
var e = function(x3, _) {
|
|
11279
|
+
return x3.listeners(_).length;
|
|
11280
11280
|
}, t = Go$2(), n = Dr$1.Buffer, i3 = (typeof We$3 < "u" ? We$3 : typeof window < "u" ? window : typeof self < "u" ? self : {}).Uint8Array || function() {
|
|
11281
11281
|
};
|
|
11282
11282
|
function s(b) {
|
|
@@ -11291,12 +11291,12 @@
|
|
|
11291
11291
|
var f3 = Gl$2(), c3 = ra$1(), g = na$1(), h3 = g.getHighWaterMark, S = Rt$1().codes, T3 = S.ERR_INVALID_ARG_TYPE, A = S.ERR_STREAM_PUSH_AFTER_EOF, F3 = S.ERR_METHOD_NOT_IMPLEMENTED, w = S.ERR_STREAM_UNSHIFT_AFTER_END_EVENT, k, I3, C;
|
|
11292
11292
|
wt$1()(D3, t);
|
|
11293
11293
|
var B = c3.errorOrDestroy, N3 = ["error", "close", "destroy", "pause", "resume"];
|
|
11294
|
-
function q(b, x3,
|
|
11295
|
-
if (typeof b.prependListener == "function") return b.prependListener(x3,
|
|
11296
|
-
!b._events || !b._events[x3] ? b.on(x3,
|
|
11294
|
+
function q(b, x3, _) {
|
|
11295
|
+
if (typeof b.prependListener == "function") return b.prependListener(x3, _);
|
|
11296
|
+
!b._events || !b._events[x3] ? b.on(x3, _) : Array.isArray(b._events[x3]) ? b._events[x3].unshift(_) : b._events[x3] = [_, b._events[x3]];
|
|
11297
11297
|
}
|
|
11298
|
-
function H3(b, x3,
|
|
11299
|
-
r22 = r22 || Ct$3(), b = b || {}, typeof
|
|
11298
|
+
function H3(b, x3, _) {
|
|
11299
|
+
r22 = r22 || Ct$3(), b = b || {}, typeof _ != "boolean" && (_ = x3 instanceof r22), this.objectMode = !!b.objectMode, _ && (this.objectMode = this.objectMode || !!b.readableObjectMode), this.highWaterMark = h3(this, b, "readableHighWaterMark", _), this.buffer = new f3(), this.length = 0, this.pipes = null, this.pipesCount = 0, this.flowing = null, this.ended = false, this.endEmitted = false, this.reading = false, this.sync = true, this.needReadable = false, this.emittedReadable = false, this.readableListening = false, this.resumeScheduled = false, this.paused = true, this.emitClose = b.emitClose !== false, this.autoDestroy = !!b.autoDestroy, this.destroyed = false, this.defaultEncoding = b.defaultEncoding || "utf8", this.awaitDrain = 0, this.readingMore = false, this.decoder = null, this.encoding = null, b.encoding && (k || (k = ui$2().StringDecoder), this.decoder = new k(b.encoding), this.encoding = b.encoding);
|
|
11300
11300
|
}
|
|
11301
11301
|
function D3(b) {
|
|
11302
11302
|
if (r22 = r22 || Ct$3(), !(this instanceof D3)) return new D3(b);
|
|
@@ -11317,12 +11317,12 @@
|
|
|
11317
11317
|
}), D3.prototype.destroy = c3.destroy, D3.prototype._undestroy = c3.undestroy, D3.prototype._destroy = function(b, x3) {
|
|
11318
11318
|
x3(b);
|
|
11319
11319
|
}, D3.prototype.push = function(b, x3) {
|
|
11320
|
-
var
|
|
11321
|
-
return
|
|
11320
|
+
var _ = this._readableState, W;
|
|
11321
|
+
return _.objectMode ? W = true : typeof b == "string" && (x3 = x3 || _.defaultEncoding, x3 !== _.encoding && (b = n.from(b, x3), x3 = ""), W = true), K3(this, b, x3, false, W);
|
|
11322
11322
|
}, D3.prototype.unshift = function(b) {
|
|
11323
11323
|
return K3(this, b, null, true, false);
|
|
11324
11324
|
};
|
|
11325
|
-
function K3(b, x3,
|
|
11325
|
+
function K3(b, x3, _, W, re2) {
|
|
11326
11326
|
u("readableAddChunk", x3);
|
|
11327
11327
|
var X3 = b._readableState;
|
|
11328
11328
|
if (x3 === null)
|
|
@@ -11339,18 +11339,18 @@
|
|
|
11339
11339
|
else {
|
|
11340
11340
|
if (X3.destroyed)
|
|
11341
11341
|
return false;
|
|
11342
|
-
X3.reading = false, X3.decoder && !
|
|
11342
|
+
X3.reading = false, X3.decoder && !_ ? (x3 = X3.decoder.write(x3), X3.objectMode || x3.length !== 0 ? oe2(b, X3, x3, false) : J3(b, X3)) : oe2(b, X3, x3, false);
|
|
11343
11343
|
}
|
|
11344
11344
|
else W || (X3.reading = false, J3(b, X3));
|
|
11345
11345
|
}
|
|
11346
11346
|
return !X3.ended && (X3.length < X3.highWaterMark || X3.length === 0);
|
|
11347
11347
|
}
|
|
11348
|
-
function oe2(b, x3,
|
|
11349
|
-
x3.flowing && x3.length === 0 && !x3.sync ? (x3.awaitDrain = 0, b.emit("data",
|
|
11348
|
+
function oe2(b, x3, _, W) {
|
|
11349
|
+
x3.flowing && x3.length === 0 && !x3.sync ? (x3.awaitDrain = 0, b.emit("data", _)) : (x3.length += x3.objectMode ? 1 : _.length, W ? x3.buffer.unshift(_) : x3.buffer.push(_), x3.needReadable && Y(b)), J3(b, x3);
|
|
11350
11350
|
}
|
|
11351
11351
|
function ee(b, x3) {
|
|
11352
|
-
var
|
|
11353
|
-
return !o(x3) && typeof x3 != "string" && x3 !== void 0 && !b.objectMode && (
|
|
11352
|
+
var _;
|
|
11353
|
+
return !o(x3) && typeof x3 != "string" && x3 !== void 0 && !b.objectMode && (_ = new T3("chunk", ["string", "Buffer", "Uint8Array"], x3)), _;
|
|
11354
11354
|
}
|
|
11355
11355
|
D3.prototype.isPaused = function() {
|
|
11356
11356
|
return this._readableState.flowing === false;
|
|
@@ -11358,8 +11358,8 @@
|
|
|
11358
11358
|
k || (k = ui$2().StringDecoder);
|
|
11359
11359
|
var x3 = new k(b);
|
|
11360
11360
|
this._readableState.decoder = x3, this._readableState.encoding = this._readableState.decoder.encoding;
|
|
11361
|
-
for (var
|
|
11362
|
-
W += x3.write(
|
|
11361
|
+
for (var _ = this._readableState.buffer.head, W = ""; _ !== null; )
|
|
11362
|
+
W += x3.write(_.data), _ = _.next;
|
|
11363
11363
|
return this._readableState.buffer.clear(), W !== "" && this._readableState.buffer.push(W), this._readableState.length = W.length, this;
|
|
11364
11364
|
};
|
|
11365
11365
|
var Z = 1073741824;
|
|
@@ -11371,21 +11371,21 @@
|
|
|
11371
11371
|
}
|
|
11372
11372
|
D3.prototype.read = function(b) {
|
|
11373
11373
|
u("read", b), b = parseInt(b, 10);
|
|
11374
|
-
var x3 = this._readableState,
|
|
11374
|
+
var x3 = this._readableState, _ = b;
|
|
11375
11375
|
if (b !== 0 && (x3.emittedReadable = false), b === 0 && x3.needReadable && ((x3.highWaterMark !== 0 ? x3.length >= x3.highWaterMark : x3.length > 0) || x3.ended))
|
|
11376
11376
|
return u("read: emitReadable", x3.length, x3.ended), x3.length === 0 && x3.ended ? m(this) : Y(this), null;
|
|
11377
11377
|
if (b = ae2(b, x3), b === 0 && x3.ended)
|
|
11378
11378
|
return x3.length === 0 && m(this), null;
|
|
11379
11379
|
var W = x3.needReadable;
|
|
11380
|
-
u("need readable", W), (x3.length === 0 || x3.length - b < x3.highWaterMark) && (W = true, u("length less than watermark", W)), x3.ended || x3.reading ? (W = false, u("reading or ended", W)) : W && (u("do read"), x3.reading = true, x3.sync = true, x3.length === 0 && (x3.needReadable = true), this._read(x3.highWaterMark), x3.sync = false, x3.reading || (b = ae2(
|
|
11380
|
+
u("need readable", W), (x3.length === 0 || x3.length - b < x3.highWaterMark) && (W = true, u("length less than watermark", W)), x3.ended || x3.reading ? (W = false, u("reading or ended", W)) : W && (u("do read"), x3.reading = true, x3.sync = true, x3.length === 0 && (x3.needReadable = true), this._read(x3.highWaterMark), x3.sync = false, x3.reading || (b = ae2(_, x3)));
|
|
11381
11381
|
var re2;
|
|
11382
|
-
return b > 0 ? re2 = p3(b, x3) : re2 = null, re2 === null ? (x3.needReadable = x3.length <= x3.highWaterMark, b = 0) : (x3.length -= b, x3.awaitDrain = 0), x3.length === 0 && (x3.ended || (x3.needReadable = true),
|
|
11382
|
+
return b > 0 ? re2 = p3(b, x3) : re2 = null, re2 === null ? (x3.needReadable = x3.length <= x3.highWaterMark, b = 0) : (x3.length -= b, x3.awaitDrain = 0), x3.length === 0 && (x3.ended || (x3.needReadable = true), _ !== b && x3.ended && m(this)), re2 !== null && this.emit("data", re2), re2;
|
|
11383
11383
|
};
|
|
11384
11384
|
function se(b, x3) {
|
|
11385
11385
|
if (u("onEofChunk"), !x3.ended) {
|
|
11386
11386
|
if (x3.decoder) {
|
|
11387
|
-
var
|
|
11388
|
-
|
|
11387
|
+
var _ = x3.decoder.end();
|
|
11388
|
+
_ && _.length && (x3.buffer.push(_), x3.length += x3.objectMode ? 1 : _.length);
|
|
11389
11389
|
}
|
|
11390
11390
|
x3.ended = true, x3.sync ? Y(b) : (x3.needReadable = false, x3.emittedReadable || (x3.emittedReadable = true, de2(b)));
|
|
11391
11391
|
}
|
|
@@ -11403,8 +11403,8 @@
|
|
|
11403
11403
|
}
|
|
11404
11404
|
function te2(b, x3) {
|
|
11405
11405
|
for (; !x3.reading && !x3.ended && (x3.length < x3.highWaterMark || x3.flowing && x3.length === 0); ) {
|
|
11406
|
-
var
|
|
11407
|
-
if (u("maybeReadMore read 0"), b.read(0),
|
|
11406
|
+
var _ = x3.length;
|
|
11407
|
+
if (u("maybeReadMore read 0"), b.read(0), _ === x3.length)
|
|
11408
11408
|
break;
|
|
11409
11409
|
}
|
|
11410
11410
|
x3.readingMore = false;
|
|
@@ -11412,7 +11412,7 @@
|
|
|
11412
11412
|
D3.prototype._read = function(b) {
|
|
11413
11413
|
B(this, new F3("_read()"));
|
|
11414
11414
|
}, D3.prototype.pipe = function(b, x3) {
|
|
11415
|
-
var
|
|
11415
|
+
var _ = this, W = this._readableState;
|
|
11416
11416
|
switch (W.pipesCount) {
|
|
11417
11417
|
case 0:
|
|
11418
11418
|
W.pipes = b;
|
|
@@ -11426,55 +11426,55 @@
|
|
|
11426
11426
|
}
|
|
11427
11427
|
W.pipesCount += 1, u("pipe count=%d opts=%j", W.pipesCount, x3);
|
|
11428
11428
|
var re2 = (!x3 || x3.end !== false) && b !== he$3.stdout && b !== he$3.stderr, X3 = re2 ? ye2 : st2;
|
|
11429
|
-
W.endEmitted ? he$3.nextTick(X3) :
|
|
11430
|
-
function ne(lt2,
|
|
11431
|
-
u("onunpipe"), lt2 ===
|
|
11429
|
+
W.endEmitted ? he$3.nextTick(X3) : _.once("end", X3), b.on("unpipe", ne);
|
|
11430
|
+
function ne(lt2, Le2) {
|
|
11431
|
+
u("onunpipe"), lt2 === _ && Le2 && Le2.hasUnpiped === false && (Le2.hasUnpiped = true, Fe2());
|
|
11432
11432
|
}
|
|
11433
11433
|
function ye2() {
|
|
11434
11434
|
u("onend"), b.end();
|
|
11435
11435
|
}
|
|
11436
|
-
var z = ie(
|
|
11436
|
+
var z = ie(_);
|
|
11437
11437
|
b.on("drain", z);
|
|
11438
11438
|
var Be = false;
|
|
11439
11439
|
function Fe2() {
|
|
11440
|
-
u("cleanup"), b.removeListener("close", Me2), b.removeListener("finish",
|
|
11440
|
+
u("cleanup"), b.removeListener("close", Me2), b.removeListener("finish", _e2), b.removeListener("drain", z), b.removeListener("error", ze2), b.removeListener("unpipe", ne), _.removeListener("end", ye2), _.removeListener("end", st2), _.removeListener("data", He2), Be = true, W.awaitDrain && (!b._writableState || b._writableState.needDrain) && z();
|
|
11441
11441
|
}
|
|
11442
|
-
|
|
11442
|
+
_.on("data", He2);
|
|
11443
11443
|
function He2(lt2) {
|
|
11444
11444
|
u("ondata");
|
|
11445
|
-
var
|
|
11446
|
-
u("dest.write",
|
|
11445
|
+
var Le2 = b.write(lt2);
|
|
11446
|
+
u("dest.write", Le2), Le2 === false && ((W.pipesCount === 1 && W.pipes === b || W.pipesCount > 1 && E3(W.pipes, b) !== -1) && !Be && (u("false write response, pause", W.awaitDrain), W.awaitDrain++), _.pause());
|
|
11447
11447
|
}
|
|
11448
11448
|
function ze2(lt2) {
|
|
11449
11449
|
u("onerror", lt2), st2(), b.removeListener("error", ze2), e(b, "error") === 0 && B(b, lt2);
|
|
11450
11450
|
}
|
|
11451
11451
|
q(b, "error", ze2);
|
|
11452
11452
|
function Me2() {
|
|
11453
|
-
b.removeListener("finish",
|
|
11453
|
+
b.removeListener("finish", _e2), st2();
|
|
11454
11454
|
}
|
|
11455
11455
|
b.once("close", Me2);
|
|
11456
|
-
function
|
|
11456
|
+
function _e2() {
|
|
11457
11457
|
u("onfinish"), b.removeListener("close", Me2), st2();
|
|
11458
11458
|
}
|
|
11459
|
-
b.once("finish",
|
|
11459
|
+
b.once("finish", _e2);
|
|
11460
11460
|
function st2() {
|
|
11461
|
-
u("unpipe"),
|
|
11461
|
+
u("unpipe"), _.unpipe(b);
|
|
11462
11462
|
}
|
|
11463
|
-
return b.emit("pipe",
|
|
11463
|
+
return b.emit("pipe", _), W.flowing || (u("pipe resume"), _.resume()), b;
|
|
11464
11464
|
};
|
|
11465
11465
|
function ie(b) {
|
|
11466
11466
|
return function() {
|
|
11467
|
-
var
|
|
11468
|
-
u("pipeOnDrain",
|
|
11467
|
+
var _ = b._readableState;
|
|
11468
|
+
u("pipeOnDrain", _.awaitDrain), _.awaitDrain && _.awaitDrain--, _.awaitDrain === 0 && e(b, "data") && (_.flowing = true, P3(b));
|
|
11469
11469
|
};
|
|
11470
11470
|
}
|
|
11471
11471
|
D3.prototype.unpipe = function(b) {
|
|
11472
|
-
var x3 = this._readableState,
|
|
11472
|
+
var x3 = this._readableState, _ = {
|
|
11473
11473
|
hasUnpiped: false
|
|
11474
11474
|
};
|
|
11475
11475
|
if (x3.pipesCount === 0) return this;
|
|
11476
11476
|
if (x3.pipesCount === 1)
|
|
11477
|
-
return b && b !== x3.pipes ? this : (b || (b = x3.pipes), x3.pipes = null, x3.pipesCount = 0, x3.flowing = false, b && b.emit("unpipe", this,
|
|
11477
|
+
return b && b !== x3.pipes ? this : (b || (b = x3.pipes), x3.pipes = null, x3.pipesCount = 0, x3.flowing = false, b && b.emit("unpipe", this, _), this);
|
|
11478
11478
|
if (!b) {
|
|
11479
11479
|
var W = x3.pipes, re2 = x3.pipesCount;
|
|
11480
11480
|
x3.pipes = null, x3.pipesCount = 0, x3.flowing = false;
|
|
@@ -11484,18 +11484,18 @@
|
|
|
11484
11484
|
return this;
|
|
11485
11485
|
}
|
|
11486
11486
|
var ne = E3(x3.pipes, b);
|
|
11487
|
-
return ne === -1 ? this : (x3.pipes.splice(ne, 1), x3.pipesCount -= 1, x3.pipesCount === 1 && (x3.pipes = x3.pipes[0]), b.emit("unpipe", this,
|
|
11487
|
+
return ne === -1 ? this : (x3.pipes.splice(ne, 1), x3.pipesCount -= 1, x3.pipesCount === 1 && (x3.pipes = x3.pipes[0]), b.emit("unpipe", this, _), this);
|
|
11488
11488
|
}, D3.prototype.on = function(b, x3) {
|
|
11489
|
-
var
|
|
11490
|
-
return b === "data" ? (W.readableListening = this.listenerCount("readable") > 0, W.flowing !== false && this.resume()) : b === "readable" && !W.endEmitted && !W.readableListening && (W.readableListening = W.needReadable = true, W.flowing = false, W.emittedReadable = false, u("on readable", W.length, W.reading), W.length ? Y(this) : W.reading || he$3.nextTick(j, this)),
|
|
11489
|
+
var _ = t.prototype.on.call(this, b, x3), W = this._readableState;
|
|
11490
|
+
return b === "data" ? (W.readableListening = this.listenerCount("readable") > 0, W.flowing !== false && this.resume()) : b === "readable" && !W.endEmitted && !W.readableListening && (W.readableListening = W.needReadable = true, W.flowing = false, W.emittedReadable = false, u("on readable", W.length, W.reading), W.length ? Y(this) : W.reading || he$3.nextTick(j, this)), _;
|
|
11491
11491
|
}, D3.prototype.addListener = D3.prototype.on, D3.prototype.removeListener = function(b, x3) {
|
|
11492
|
-
var
|
|
11493
|
-
return b === "readable" && he$3.nextTick(
|
|
11492
|
+
var _ = t.prototype.removeListener.call(this, b, x3);
|
|
11493
|
+
return b === "readable" && he$3.nextTick(L3, this), _;
|
|
11494
11494
|
}, D3.prototype.removeAllListeners = function(b) {
|
|
11495
11495
|
var x3 = t.prototype.removeAllListeners.apply(this, arguments);
|
|
11496
|
-
return (b === "readable" || b === void 0) && he$3.nextTick(
|
|
11496
|
+
return (b === "readable" || b === void 0) && he$3.nextTick(L3, this), x3;
|
|
11497
11497
|
};
|
|
11498
|
-
function
|
|
11498
|
+
function L3(b) {
|
|
11499
11499
|
var x3 = b._readableState;
|
|
11500
11500
|
x3.readableListening = b.listenerCount("readable") > 0, x3.resumeScheduled && !x3.paused ? x3.flowing = true : b.listenerCount("data") > 0 && b.resume();
|
|
11501
11501
|
}
|
|
@@ -11520,15 +11520,15 @@
|
|
|
11520
11520
|
for (u("flow", x3.flowing); x3.flowing && b.read() !== null; ) ;
|
|
11521
11521
|
}
|
|
11522
11522
|
D3.prototype.wrap = function(b) {
|
|
11523
|
-
var x3 = this,
|
|
11523
|
+
var x3 = this, _ = this._readableState, W = false;
|
|
11524
11524
|
b.on("end", function() {
|
|
11525
|
-
if (u("wrapped end"),
|
|
11526
|
-
var ne =
|
|
11525
|
+
if (u("wrapped end"), _.decoder && !_.ended) {
|
|
11526
|
+
var ne = _.decoder.end();
|
|
11527
11527
|
ne && ne.length && x3.push(ne);
|
|
11528
11528
|
}
|
|
11529
11529
|
x3.push(null);
|
|
11530
11530
|
}), b.on("data", function(ne) {
|
|
11531
|
-
if (u("wrapped data"),
|
|
11531
|
+
if (u("wrapped data"), _.decoder && (ne = _.decoder.write(ne)), !(_.objectMode && ne == null) && !(!_.objectMode && (!ne || !ne.length))) {
|
|
11532
11532
|
var ye2 = x3.push(ne);
|
|
11533
11533
|
ye2 || (W = true, b.pause());
|
|
11534
11534
|
}
|
|
@@ -11584,8 +11584,8 @@
|
|
|
11584
11584
|
});
|
|
11585
11585
|
function p3(b, x3) {
|
|
11586
11586
|
if (x3.length === 0) return null;
|
|
11587
|
-
var
|
|
11588
|
-
return x3.objectMode ?
|
|
11587
|
+
var _;
|
|
11588
|
+
return x3.objectMode ? _ = x3.buffer.shift() : !b || b >= x3.length ? (x3.decoder ? _ = x3.buffer.join("") : x3.buffer.length === 1 ? _ = x3.buffer.first() : _ = x3.buffer.concat(x3.length), x3.buffer.clear()) : _ = x3.buffer.consume(b, x3.decoder), _;
|
|
11589
11589
|
}
|
|
11590
11590
|
function m(b) {
|
|
11591
11591
|
var x3 = b._readableState;
|
|
@@ -11593,16 +11593,16 @@
|
|
|
11593
11593
|
}
|
|
11594
11594
|
function R(b, x3) {
|
|
11595
11595
|
if (u("endReadableNT", b.endEmitted, b.length), !b.endEmitted && b.length === 0 && (b.endEmitted = true, x3.readable = false, x3.emit("end"), b.autoDestroy)) {
|
|
11596
|
-
var
|
|
11597
|
-
(!
|
|
11596
|
+
var _ = x3._writableState;
|
|
11597
|
+
(!_ || _.autoDestroy && _.finished) && x3.destroy();
|
|
11598
11598
|
}
|
|
11599
11599
|
}
|
|
11600
11600
|
typeof Symbol == "function" && (D3.from = function(b, x3) {
|
|
11601
11601
|
return C === void 0 && (C = $l$2()), C(D3, b, x3);
|
|
11602
11602
|
});
|
|
11603
11603
|
function E3(b, x3) {
|
|
11604
|
-
for (var
|
|
11605
|
-
if (b[
|
|
11604
|
+
for (var _ = 0, W = b.length; _ < W; _++)
|
|
11605
|
+
if (b[_] === x3) return _;
|
|
11606
11606
|
return -1;
|
|
11607
11607
|
}
|
|
11608
11608
|
return Wn$2;
|
|
@@ -11856,8 +11856,8 @@
|
|
|
11856
11856
|
}
|
|
11857
11857
|
R = Math.max(R, x3);
|
|
11858
11858
|
}
|
|
11859
|
-
var
|
|
11860
|
-
p3.bufferCheckPosition =
|
|
11859
|
+
var _ = e.MAX_BUFFER_LENGTH - R;
|
|
11860
|
+
p3.bufferCheckPosition = _ + p3.position;
|
|
11861
11861
|
}
|
|
11862
11862
|
function s(p3) {
|
|
11863
11863
|
for (var m = 0, R = t.length; m < R; m++)
|
|
@@ -12378,7 +12378,7 @@ Actual: ` + p3.attribValue
|
|
|
12378
12378
|
uri: R.ns[He2]
|
|
12379
12379
|
});
|
|
12380
12380
|
});
|
|
12381
|
-
for (var x3 = 0,
|
|
12381
|
+
for (var x3 = 0, _ = p3.attribList.length; x3 < _; x3++) {
|
|
12382
12382
|
var W = p3.attribList[x3], re2 = W[0], X3 = W[1], ne = J3(re2, true), ye2 = ne.prefix, z = ne.local, Be = ye2 === "" ? "" : R.ns[ye2] || "", Fe2 = {
|
|
12383
12383
|
name: re2,
|
|
12384
12384
|
value: X3,
|
|
@@ -12392,7 +12392,7 @@ Actual: ` + p3.attribValue
|
|
|
12392
12392
|
}
|
|
12393
12393
|
p3.tag.isSelfClosing = !!m, p3.sawRoot = true, p3.tags.push(p3.tag), ee(p3, "onopentag", p3.tag), m || (!p3.noscript && p3.tagName.toLowerCase() === "script" ? p3.state = D3.SCRIPT : p3.state = D3.TEXT, p3.tag = null, p3.tagName = ""), p3.attribName = p3.attribValue = "", p3.attribList.length = 0;
|
|
12394
12394
|
}
|
|
12395
|
-
function
|
|
12395
|
+
function L3(p3) {
|
|
12396
12396
|
if (!p3.tagName) {
|
|
12397
12397
|
Y(p3, "Weird empty close tag."), p3.textNode += "</>", p3.state = D3.TEXT;
|
|
12398
12398
|
return;
|
|
@@ -12419,14 +12419,14 @@ Actual: ` + p3.attribValue
|
|
|
12419
12419
|
}
|
|
12420
12420
|
p3.tagName = R;
|
|
12421
12421
|
for (var x3 = p3.tags.length; x3-- > m; ) {
|
|
12422
|
-
var
|
|
12422
|
+
var _ = p3.tag = p3.tags.pop();
|
|
12423
12423
|
p3.tagName = p3.tag.name, ee(p3, "onclosetag", p3.tagName);
|
|
12424
12424
|
var W = {};
|
|
12425
|
-
for (var re2 in
|
|
12426
|
-
W[re2] =
|
|
12425
|
+
for (var re2 in _.ns)
|
|
12426
|
+
W[re2] = _.ns[re2];
|
|
12427
12427
|
var X3 = p3.tags[p3.tags.length - 1] || p3;
|
|
12428
|
-
p3.opt.xmlns &&
|
|
12429
|
-
var ye2 =
|
|
12428
|
+
p3.opt.xmlns && _.ns !== X3.ns && Object.keys(_.ns).forEach(function(ne) {
|
|
12429
|
+
var ye2 = _.ns[ne];
|
|
12430
12430
|
ee(p3, "onclosenamespace", { prefix: ne, uri: ye2 });
|
|
12431
12431
|
});
|
|
12432
12432
|
}
|
|
@@ -12559,7 +12559,7 @@ Actual: ` + p3.attribValue
|
|
|
12559
12559
|
q(w, E3) ? m.tagName += E3 : (de2(m), E3 === ">" ? ie(m) : E3 === "/" ? m.state = D3.OPEN_TAG_SLASH : (C(E3) || Y(m, "Invalid character in tag name"), m.state = D3.ATTRIB));
|
|
12560
12560
|
continue;
|
|
12561
12561
|
case D3.OPEN_TAG_SLASH:
|
|
12562
|
-
E3 === ">" ? (ie(m, true),
|
|
12562
|
+
E3 === ">" ? (ie(m, true), L3(m)) : (Y(m, "Forward-slash in opening tag not followed by >"), m.state = D3.ATTRIB);
|
|
12563
12563
|
continue;
|
|
12564
12564
|
case D3.ATTRIB:
|
|
12565
12565
|
if (C(E3))
|
|
@@ -12605,7 +12605,7 @@ Actual: ` + p3.attribValue
|
|
|
12605
12605
|
continue;
|
|
12606
12606
|
case D3.CLOSE_TAG:
|
|
12607
12607
|
if (m.tagName)
|
|
12608
|
-
E3 === ">" ?
|
|
12608
|
+
E3 === ">" ? L3(m) : q(w, E3) ? m.tagName += E3 : m.script ? (m.script += "</" + m.tagName, m.tagName = "", m.state = D3.SCRIPT) : (C(E3) || Y(m, "Invalid tagname in closing tag"), m.state = D3.CLOSE_TAG_SAW_WHITE);
|
|
12609
12609
|
else {
|
|
12610
12610
|
if (C(E3))
|
|
12611
12611
|
continue;
|
|
@@ -12615,27 +12615,27 @@ Actual: ` + p3.attribValue
|
|
|
12615
12615
|
case D3.CLOSE_TAG_SAW_WHITE:
|
|
12616
12616
|
if (C(E3))
|
|
12617
12617
|
continue;
|
|
12618
|
-
E3 === ">" ?
|
|
12618
|
+
E3 === ">" ? L3(m) : Y(m, "Invalid characters in closing tag");
|
|
12619
12619
|
continue;
|
|
12620
12620
|
case D3.TEXT_ENTITY:
|
|
12621
12621
|
case D3.ATTRIB_VALUE_ENTITY_Q:
|
|
12622
12622
|
case D3.ATTRIB_VALUE_ENTITY_U:
|
|
12623
|
-
var
|
|
12623
|
+
var _, W;
|
|
12624
12624
|
switch (m.state) {
|
|
12625
12625
|
case D3.TEXT_ENTITY:
|
|
12626
|
-
|
|
12626
|
+
_ = D3.TEXT, W = "textNode";
|
|
12627
12627
|
break;
|
|
12628
12628
|
case D3.ATTRIB_VALUE_ENTITY_Q:
|
|
12629
|
-
|
|
12629
|
+
_ = D3.ATTRIB_VALUE_QUOTED, W = "attribValue";
|
|
12630
12630
|
break;
|
|
12631
12631
|
case D3.ATTRIB_VALUE_ENTITY_U:
|
|
12632
|
-
|
|
12632
|
+
_ = D3.ATTRIB_VALUE_UNQUOTED, W = "attribValue";
|
|
12633
12633
|
break;
|
|
12634
12634
|
}
|
|
12635
12635
|
if (E3 === ";") {
|
|
12636
12636
|
var re2 = j(m);
|
|
12637
|
-
m.opt.unparsedEntities && !Object.values(e.XML_ENTITIES).includes(re2) ? (m.entity = "", m.state =
|
|
12638
|
-
} else q(m.entity.length ? I3 : k, E3) ? m.entity += E3 : (Y(m, "Invalid character in entity name"), m[W] += "&" + m.entity + E3, m.entity = "", m.state =
|
|
12637
|
+
m.opt.unparsedEntities && !Object.values(e.XML_ENTITIES).includes(re2) ? (m.entity = "", m.state = _, m.write(re2)) : (m[W] += re2, m.entity = "", m.state = _);
|
|
12638
|
+
} else q(m.entity.length ? I3 : k, E3) ? m.entity += E3 : (Y(m, "Invalid character in entity name"), m[W] += "&" + m.entity + E3, m.entity = "", m.state = _);
|
|
12639
12639
|
continue;
|
|
12640
12640
|
default:
|
|
12641
12641
|
throw new Error(m, "Unknown state: " + m.state);
|
|
@@ -12645,7 +12645,7 @@ Actual: ` + p3.attribValue
|
|
|
12645
12645
|
/*! http://mths.be/fromcodepoint v0.1.0 by @mathias */
|
|
12646
12646
|
String.fromCodePoint || function() {
|
|
12647
12647
|
var p3 = String.fromCharCode, m = Math.floor, R = function() {
|
|
12648
|
-
var E3 = 16384, b = [], x3,
|
|
12648
|
+
var E3 = 16384, b = [], x3, _, W = -1, re2 = arguments.length;
|
|
12649
12649
|
if (!re2)
|
|
12650
12650
|
return "";
|
|
12651
12651
|
for (var X3 = ""; ++W < re2; ) {
|
|
@@ -12655,7 +12655,7 @@ Actual: ` + p3.attribValue
|
|
|
12655
12655
|
ne > 1114111 || // not a valid Unicode code point
|
|
12656
12656
|
m(ne) !== ne)
|
|
12657
12657
|
throw RangeError("Invalid code point: " + ne);
|
|
12658
|
-
ne <= 65535 ? b.push(ne) : (ne -= 65536, x3 = (ne >> 10) + 55296,
|
|
12658
|
+
ne <= 65535 ? b.push(ne) : (ne -= 65536, x3 = (ne >> 10) + 55296, _ = ne % 1024 + 56320, b.push(x3, _)), (W + 1 === re2 || b.length > E3) && (X3 += p3.apply(null, b), b.length = 0);
|
|
12659
12659
|
}
|
|
12660
12660
|
return X3;
|
|
12661
12661
|
};
|
|
@@ -13064,16 +13064,16 @@ Actual: ` + p3.attribValue
|
|
|
13064
13064
|
`, nexist: "∄", nexists: "∄", nfr: "𝔫", Nfr: "𝔑", nge: "≱", ngE: "≧̸", ngeq: "≱", ngeqq: "≧̸", ngeqslant: "⩾̸", nges: "⩾̸", nGg: "⋙̸", ngsim: "≵", ngt: "≯", nGt: "≫⃒", ngtr: "≯", nGtv: "≫̸", nharr: "↮", nhArr: "⇎", nhpar: "⫲", ni: "∋", nis: "⋼", nisd: "⋺", niv: "∋", njcy: "њ", NJcy: "Њ", nlarr: "↚", nlArr: "⇍", nldr: "‥", nle: "≰", nlE: "≦̸", nleftarrow: "↚", nLeftarrow: "⇍", nleftrightarrow: "↮", nLeftrightarrow: "⇎", nleq: "≰", nleqq: "≦̸", nleqslant: "⩽̸", nles: "⩽̸", nless: "≮", nLl: "⋘̸", nlsim: "≴", nlt: "≮", nLt: "≪⃒", nltri: "⋪", nltrie: "⋬", nLtv: "≪̸", nmid: "∤", NoBreak: "", NonBreakingSpace: " ", nopf: "𝕟", Nopf: "ℕ", not: "¬", Not: "⫬", NotCongruent: "≢", NotCupCap: "≭", NotDoubleVerticalBar: "∦", NotElement: "∉", NotEqual: "≠", NotEqualTilde: "≂̸", NotExists: "∄", NotGreater: "≯", NotGreaterEqual: "≱", NotGreaterFullEqual: "≧̸", NotGreaterGreater: "≫̸", NotGreaterLess: "≹", NotGreaterSlantEqual: "⩾̸", NotGreaterTilde: "≵", NotHumpDownHump: "≎̸", NotHumpEqual: "≏̸", notin: "∉", notindot: "⋵̸", notinE: "⋹̸", notinva: "∉", notinvb: "⋷", notinvc: "⋶", NotLeftTriangle: "⋪", NotLeftTriangleBar: "⧏̸", NotLeftTriangleEqual: "⋬", NotLess: "≮", NotLessEqual: "≰", NotLessGreater: "≸", NotLessLess: "≪̸", NotLessSlantEqual: "⩽̸", NotLessTilde: "≴", NotNestedGreaterGreater: "⪢̸", NotNestedLessLess: "⪡̸", notni: "∌", notniva: "∌", notnivb: "⋾", notnivc: "⋽", NotPrecedes: "⊀", NotPrecedesEqual: "⪯̸", NotPrecedesSlantEqual: "⋠", NotReverseElement: "∌", NotRightTriangle: "⋫", NotRightTriangleBar: "⧐̸", NotRightTriangleEqual: "⋭", NotSquareSubset: "⊏̸", NotSquareSubsetEqual: "⋢", NotSquareSuperset: "⊐̸", NotSquareSupersetEqual: "⋣", NotSubset: "⊂⃒", NotSubsetEqual: "⊈", NotSucceeds: "⊁", NotSucceedsEqual: "⪰̸", NotSucceedsSlantEqual: "⋡", NotSucceedsTilde: "≿̸", NotSuperset: "⊃⃒", NotSupersetEqual: "⊉", NotTilde: "≁", NotTildeEqual: "≄", NotTildeFullEqual: "≇", NotTildeTilde: "≉", NotVerticalBar: "∤", npar: "∦", nparallel: "∦", nparsl: "⫽⃥", npart: "∂̸", npolint: "⨔", npr: "⊀", nprcue: "⋠", npre: "⪯̸", nprec: "⊀", npreceq: "⪯̸", nrarr: "↛", nrArr: "⇏", nrarrc: "⤳̸", nrarrw: "↝̸", nrightarrow: "↛", nRightarrow: "⇏", nrtri: "⋫", nrtrie: "⋭", nsc: "⊁", nsccue: "⋡", nsce: "⪰̸", nscr: "𝓃", Nscr: "𝒩", nshortmid: "∤", nshortparallel: "∦", nsim: "≁", nsime: "≄", nsimeq: "≄", nsmid: "∤", nspar: "∦", nsqsube: "⋢", nsqsupe: "⋣", nsub: "⊄", nsube: "⊈", nsubE: "⫅̸", nsubset: "⊂⃒", nsubseteq: "⊈", nsubseteqq: "⫅̸", nsucc: "⊁", nsucceq: "⪰̸", nsup: "⊅", nsupe: "⊉", nsupE: "⫆̸", nsupset: "⊃⃒", nsupseteq: "⊉", nsupseteqq: "⫆̸", ntgl: "≹", ntilde: "ñ", Ntilde: "Ñ", ntlg: "≸", ntriangleleft: "⋪", ntrianglelefteq: "⋬", ntriangleright: "⋫", ntrianglerighteq: "⋭", nu: "ν", Nu: "Ν", num: "#", numero: "№", numsp: " ", nvap: "≍⃒", nvdash: "⊬", nvDash: "⊭", nVdash: "⊮", nVDash: "⊯", nvge: "≥⃒", nvgt: ">⃒", nvHarr: "⤄", nvinfin: "⧞", nvlArr: "⤂", nvle: "≤⃒", nvlt: "<⃒", nvltrie: "⊴⃒", nvrArr: "⤃", nvrtrie: "⊵⃒", nvsim: "∼⃒", nwarhk: "⤣", nwarr: "↖", nwArr: "⇖", nwarrow: "↖", nwnear: "⤧", oacute: "ó", Oacute: "Ó", oast: "⊛", ocir: "⊚", ocirc: "ô", Ocirc: "Ô", ocy: "о", Ocy: "О", odash: "⊝", odblac: "ő", Odblac: "Ő", odiv: "⨸", odot: "⊙", odsold: "⦼", oelig: "œ", OElig: "Œ", ofcir: "⦿", ofr: "𝔬", Ofr: "𝔒", ogon: "˛", ograve: "ò", Ograve: "Ò", ogt: "⧁", ohbar: "⦵", ohm: "Ω", oint: "∮", olarr: "↺", olcir: "⦾", olcross: "⦻", oline: "‾", olt: "⧀", omacr: "ō", Omacr: "Ō", omega: "ω", Omega: "Ω", omicron: "ο", Omicron: "Ο", omid: "⦶", ominus: "⊖", oopf: "𝕠", Oopf: "𝕆", opar: "⦷", OpenCurlyDoubleQuote: "“", OpenCurlyQuote: "‘", operp: "⦹", oplus: "⊕", or: "∨", Or: "⩔", orarr: "↻", ord: "⩝", order: "ℴ", orderof: "ℴ", ordf: "ª", ordm: "º", origof: "⊶", oror: "⩖", orslope: "⩗", orv: "⩛", oS: "Ⓢ", oscr: "ℴ", Oscr: "𝒪", oslash: "ø", Oslash: "Ø", osol: "⊘", otilde: "õ", Otilde: "Õ", otimes: "⊗", Otimes: "⨷", otimesas: "⨶", ouml: "ö", Ouml: "Ö", ovbar: "⌽", OverBar: "‾", OverBrace: "⏞", OverBracket: "⎴", OverParenthesis: "⏜", par: "∥", para: "¶", parallel: "∥", parsim: "⫳", parsl: "⫽", part: "∂", PartialD: "∂", pcy: "п", Pcy: "П", percnt: "%", period: ".", permil: "‰", perp: "⊥", pertenk: "‱", pfr: "𝔭", Pfr: "𝔓", phi: "φ", Phi: "Φ", phiv: "ϕ", phmmat: "ℳ", phone: "☎", pi: "π", Pi: "Π", pitchfork: "⋔", piv: "ϖ", planck: "ℏ", planckh: "ℎ", plankv: "ℏ", plus: "+", plusacir: "⨣", plusb: "⊞", pluscir: "⨢", plusdo: "∔", plusdu: "⨥", pluse: "⩲", PlusMinus: "±", plusmn: "±", plussim: "⨦", plustwo: "⨧", pm: "±", Poincareplane: "ℌ", pointint: "⨕", popf: "𝕡", Popf: "ℙ", pound: "£", pr: "≺", Pr: "⪻", prap: "⪷", prcue: "≼", pre: "⪯", prE: "⪳", prec: "≺", precapprox: "⪷", preccurlyeq: "≼", Precedes: "≺", PrecedesEqual: "⪯", PrecedesSlantEqual: "≼", PrecedesTilde: "≾", preceq: "⪯", precnapprox: "⪹", precneqq: "⪵", precnsim: "⋨", precsim: "≾", prime: "′", Prime: "″", primes: "ℙ", prnap: "⪹", prnE: "⪵", prnsim: "⋨", prod: "∏", Product: "∏", profalar: "⌮", profline: "⌒", profsurf: "⌓", prop: "∝", Proportion: "∷", Proportional: "∝", propto: "∝", prsim: "≾", prurel: "⊰", pscr: "𝓅", Pscr: "𝒫", psi: "ψ", Psi: "Ψ", puncsp: " ", qfr: "𝔮", Qfr: "𝔔", qint: "⨌", qopf: "𝕢", Qopf: "ℚ", qprime: "⁗", qscr: "𝓆", Qscr: "𝒬", quaternions: "ℍ", quatint: "⨖", quest: "?", questeq: "≟", quot: '"', QUOT: '"', rAarr: "⇛", race: "∽̱", racute: "ŕ", Racute: "Ŕ", radic: "√", raemptyv: "⦳", rang: "⟩", Rang: "⟫", rangd: "⦒", range: "⦥", rangle: "⟩", raquo: "»", rarr: "→", rArr: "⇒", Rarr: "↠", rarrap: "⥵", rarrb: "⇥", rarrbfs: "⤠", rarrc: "⤳", rarrfs: "⤞", rarrhk: "↪", rarrlp: "↬", rarrpl: "⥅", rarrsim: "⥴", rarrtl: "↣", Rarrtl: "⤖", rarrw: "↝", ratail: "⤚", rAtail: "⤜", ratio: "∶", rationals: "ℚ", rbarr: "⤍", rBarr: "⤏", RBarr: "⤐", rbbrk: "❳", rbrace: "}", rbrack: "]", rbrke: "⦌", rbrksld: "⦎", rbrkslu: "⦐", rcaron: "ř", Rcaron: "Ř", rcedil: "ŗ", Rcedil: "Ŗ", rceil: "⌉", rcub: "}", rcy: "р", Rcy: "Р", rdca: "⤷", rdldhar: "⥩", rdquo: "”", rdquor: "”", rdsh: "↳", Re: "ℜ", real: "ℜ", realine: "ℛ", realpart: "ℜ", reals: "ℝ", rect: "▭", reg: "®", REG: "®", ReverseElement: "∋", ReverseEquilibrium: "⇋", ReverseUpEquilibrium: "⥯", rfisht: "⥽", rfloor: "⌋", rfr: "𝔯", Rfr: "ℜ", rHar: "⥤", rhard: "⇁", rharu: "⇀", rharul: "⥬", rho: "ρ", Rho: "Ρ", rhov: "ϱ", RightAngleBracket: "⟩", rightarrow: "→", Rightarrow: "⇒", RightArrow: "→", RightArrowBar: "⇥", RightArrowLeftArrow: "⇄", rightarrowtail: "↣", RightCeiling: "⌉", RightDoubleBracket: "⟧", RightDownTeeVector: "⥝", RightDownVector: "⇂", RightDownVectorBar: "⥕", RightFloor: "⌋", rightharpoondown: "⇁", rightharpoonup: "⇀", rightleftarrows: "⇄", rightleftharpoons: "⇌", rightrightarrows: "⇉", rightsquigarrow: "↝", RightTee: "⊢", RightTeeArrow: "↦", RightTeeVector: "⥛", rightthreetimes: "⋌", RightTriangle: "⊳", RightTriangleBar: "⧐", RightTriangleEqual: "⊵", RightUpDownVector: "⥏", RightUpTeeVector: "⥜", RightUpVector: "↾", RightUpVectorBar: "⥔", RightVector: "⇀", RightVectorBar: "⥓", ring: "˚", risingdotseq: "≓", rlarr: "⇄", rlhar: "⇌", rlm: "", rmoust: "⎱", rmoustache: "⎱", rnmid: "⫮", roang: "⟭", roarr: "⇾", robrk: "⟧", ropar: "⦆", ropf: "𝕣", Ropf: "ℝ", roplus: "⨮", rotimes: "⨵", RoundImplies: "⥰", rpar: ")", rpargt: "⦔", rppolint: "⨒", rrarr: "⇉", Rrightarrow: "⇛", rsaquo: "›", rscr: "𝓇", Rscr: "ℛ", rsh: "↱", Rsh: "↱", rsqb: "]", rsquo: "’", rsquor: "’", rthree: "⋌", rtimes: "⋊", rtri: "▹", rtrie: "⊵", rtrif: "▸", rtriltri: "⧎", RuleDelayed: "⧴", ruluhar: "⥨", rx: "℞", sacute: "ś", Sacute: "Ś", sbquo: "‚", sc: "≻", Sc: "⪼", scap: "⪸", scaron: "š", Scaron: "Š", sccue: "≽", sce: "⪰", scE: "⪴", scedil: "ş", Scedil: "Ş", scirc: "ŝ", Scirc: "Ŝ", scnap: "⪺", scnE: "⪶", scnsim: "⋩", scpolint: "⨓", scsim: "≿", scy: "с", Scy: "С", sdot: "⋅", sdotb: "⊡", sdote: "⩦", searhk: "⤥", searr: "↘", seArr: "⇘", searrow: "↘", sect: "§", semi: ";", seswar: "⤩", setminus: "∖", setmn: "∖", sext: "✶", sfr: "𝔰", Sfr: "𝔖", sfrown: "⌢", sharp: "♯", shchcy: "щ", SHCHcy: "Щ", shcy: "ш", SHcy: "Ш", ShortDownArrow: "↓", ShortLeftArrow: "←", shortmid: "∣", shortparallel: "∥", ShortRightArrow: "→", ShortUpArrow: "↑", shy: "", sigma: "σ", Sigma: "Σ", sigmaf: "ς", sigmav: "ς", sim: "∼", simdot: "⩪", sime: "≃", simeq: "≃", simg: "⪞", simgE: "⪠", siml: "⪝", simlE: "⪟", simne: "≆", simplus: "⨤", simrarr: "⥲", slarr: "←", SmallCircle: "∘", smallsetminus: "∖", smashp: "⨳", smeparsl: "⧤", smid: "∣", smile: "⌣", smt: "⪪", smte: "⪬", smtes: "⪬︀", softcy: "ь", SOFTcy: "Ь", sol: "/", solb: "⧄", solbar: "⌿", sopf: "𝕤", Sopf: "𝕊", spades: "♠", spadesuit: "♠", spar: "∥", sqcap: "⊓", sqcaps: "⊓︀", sqcup: "⊔", sqcups: "⊔︀", Sqrt: "√", sqsub: "⊏", sqsube: "⊑", sqsubset: "⊏", sqsubseteq: "⊑", sqsup: "⊐", sqsupe: "⊒", sqsupset: "⊐", sqsupseteq: "⊒", squ: "□", square: "□", Square: "□", SquareIntersection: "⊓", SquareSubset: "⊏", SquareSubsetEqual: "⊑", SquareSuperset: "⊐", SquareSupersetEqual: "⊒", SquareUnion: "⊔", squarf: "▪", squf: "▪", srarr: "→", sscr: "𝓈", Sscr: "𝒮", ssetmn: "∖", ssmile: "⌣", sstarf: "⋆", star: "☆", Star: "⋆", starf: "★", straightepsilon: "ϵ", straightphi: "ϕ", strns: "¯", sub: "⊂", Sub: "⋐", subdot: "⪽", sube: "⊆", subE: "⫅", subedot: "⫃", submult: "⫁", subne: "⊊", subnE: "⫋", subplus: "⪿", subrarr: "⥹", subset: "⊂", Subset: "⋐", subseteq: "⊆", subseteqq: "⫅", SubsetEqual: "⊆", subsetneq: "⊊", subsetneqq: "⫋", subsim: "⫇", subsub: "⫕", subsup: "⫓", succ: "≻", succapprox: "⪸", succcurlyeq: "≽", Succeeds: "≻", SucceedsEqual: "⪰", SucceedsSlantEqual: "≽", SucceedsTilde: "≿", succeq: "⪰", succnapprox: "⪺", succneqq: "⪶", succnsim: "⋩", succsim: "≿", SuchThat: "∋", sum: "∑", Sum: "∑", sung: "♪", sup: "⊃", Sup: "⋑", sup1: "¹", sup2: "²", sup3: "³", supdot: "⪾", supdsub: "⫘", supe: "⊇", supE: "⫆", supedot: "⫄", Superset: "⊃", SupersetEqual: "⊇", suphsol: "⟉", suphsub: "⫗", suplarr: "⥻", supmult: "⫂", supne: "⊋", supnE: "⫌", supplus: "⫀", supset: "⊃", Supset: "⋑", supseteq: "⊇", supseteqq: "⫆", supsetneq: "⊋", supsetneqq: "⫌", supsim: "⫈", supsub: "⫔", supsup: "⫖", swarhk: "⤦", swarr: "↙", swArr: "⇙", swarrow: "↙", swnwar: "⤪", szlig: "ß", Tab: " ", target: "⌖", tau: "τ", Tau: "Τ", tbrk: "⎴", tcaron: "ť", Tcaron: "Ť", tcedil: "ţ", Tcedil: "Ţ", tcy: "т", Tcy: "Т", tdot: "⃛", telrec: "⌕", tfr: "𝔱", Tfr: "𝔗", there4: "∴", therefore: "∴", Therefore: "∴", theta: "θ", Theta: "Θ", thetasym: "ϑ", thetav: "ϑ", thickapprox: "≈", thicksim: "∼", ThickSpace: " ", thinsp: " ", ThinSpace: " ", thkap: "≈", thksim: "∼", thorn: "þ", THORN: "Þ", tilde: "˜", Tilde: "∼", TildeEqual: "≃", TildeFullEqual: "≅", TildeTilde: "≈", times: "×", timesb: "⊠", timesbar: "⨱", timesd: "⨰", tint: "∭", toea: "⤨", top: "⊤", topbot: "⌶", topcir: "⫱", topf: "𝕥", Topf: "𝕋", topfork: "⫚", tosa: "⤩", tprime: "‴", trade: "™", TRADE: "™", triangle: "▵", triangledown: "▿", triangleleft: "◃", trianglelefteq: "⊴", triangleq: "≜", triangleright: "▹", trianglerighteq: "⊵", tridot: "◬", trie: "≜", triminus: "⨺", TripleDot: "⃛", triplus: "⨹", trisb: "⧍", tritime: "⨻", trpezium: "⏢", tscr: "𝓉", Tscr: "𝒯", tscy: "ц", TScy: "Ц", tshcy: "ћ", TSHcy: "Ћ", tstrok: "ŧ", Tstrok: "Ŧ", twixt: "≬", twoheadleftarrow: "↞", twoheadrightarrow: "↠", uacute: "ú", Uacute: "Ú", uarr: "↑", uArr: "⇑", Uarr: "↟", Uarrocir: "⥉", ubrcy: "ў", Ubrcy: "Ў", ubreve: "ŭ", Ubreve: "Ŭ", ucirc: "û", Ucirc: "Û", ucy: "у", Ucy: "У", udarr: "⇅", udblac: "ű", Udblac: "Ű", udhar: "⥮", ufisht: "⥾", ufr: "𝔲", Ufr: "𝔘", ugrave: "ù", Ugrave: "Ù", uHar: "⥣", uharl: "↿", uharr: "↾", uhblk: "▀", ulcorn: "⌜", ulcorner: "⌜", ulcrop: "⌏", ultri: "◸", umacr: "ū", Umacr: "Ū", uml: "¨", UnderBar: "_", UnderBrace: "⏟", UnderBracket: "⎵", UnderParenthesis: "⏝", Union: "⋃", UnionPlus: "⊎", uogon: "ų", Uogon: "Ų", uopf: "𝕦", Uopf: "𝕌", uparrow: "↑", Uparrow: "⇑", UpArrow: "↑", UpArrowBar: "⤒", UpArrowDownArrow: "⇅", updownarrow: "↕", Updownarrow: "⇕", UpDownArrow: "↕", UpEquilibrium: "⥮", upharpoonleft: "↿", upharpoonright: "↾", uplus: "⊎", UpperLeftArrow: "↖", UpperRightArrow: "↗", upsi: "υ", Upsi: "ϒ", upsih: "ϒ", upsilon: "υ", Upsilon: "Υ", UpTee: "⊥", UpTeeArrow: "↥", upuparrows: "⇈", urcorn: "⌝", urcorner: "⌝", urcrop: "⌎", uring: "ů", Uring: "Ů", urtri: "◹", uscr: "𝓊", Uscr: "𝒰", utdot: "⋰", utilde: "ũ", Utilde: "Ũ", utri: "▵", utrif: "▴", uuarr: "⇈", uuml: "ü", Uuml: "Ü", uwangle: "⦧", vangrt: "⦜", varepsilon: "ϵ", varkappa: "ϰ", varnothing: "∅", varphi: "ϕ", varpi: "ϖ", varpropto: "∝", varr: "↕", vArr: "⇕", varrho: "ϱ", varsigma: "ς", varsubsetneq: "⊊︀", varsubsetneqq: "⫋︀", varsupsetneq: "⊋︀", varsupsetneqq: "⫌︀", vartheta: "ϑ", vartriangleleft: "⊲", vartriangleright: "⊳", vBar: "⫨", Vbar: "⫫", vBarv: "⫩", vcy: "в", Vcy: "В", vdash: "⊢", vDash: "⊨", Vdash: "⊩", VDash: "⊫", Vdashl: "⫦", vee: "∨", Vee: "⋁", veebar: "⊻", veeeq: "≚", vellip: "⋮", verbar: "|", Verbar: "‖", vert: "|", Vert: "‖", VerticalBar: "∣", VerticalLine: "|", VerticalSeparator: "❘", VerticalTilde: "≀", VeryThinSpace: " ", vfr: "𝔳", Vfr: "𝔙", vltri: "⊲", vnsub: "⊂⃒", vnsup: "⊃⃒", vopf: "𝕧", Vopf: "𝕍", vprop: "∝", vrtri: "⊳", vscr: "𝓋", Vscr: "𝒱", vsubne: "⊊︀", vsubnE: "⫋︀", vsupne: "⊋︀", vsupnE: "⫌︀", Vvdash: "⊪", vzigzag: "⦚", wcirc: "ŵ", Wcirc: "Ŵ", wedbar: "⩟", wedge: "∧", Wedge: "⋀", wedgeq: "≙", weierp: "℘", wfr: "𝔴", Wfr: "𝔚", wopf: "𝕨", Wopf: "𝕎", wp: "℘", wr: "≀", wreath: "≀", wscr: "𝓌", Wscr: "𝒲", xcap: "⋂", xcirc: "◯", xcup: "⋃", xdtri: "▽", xfr: "𝔵", Xfr: "𝔛", xharr: "⟷", xhArr: "⟺", xi: "ξ", Xi: "Ξ", xlarr: "⟵", xlArr: "⟸", xmap: "⟼", xnis: "⋻", xodot: "⨀", xopf: "𝕩", Xopf: "𝕏", xoplus: "⨁", xotime: "⨂", xrarr: "⟶", xrArr: "⟹", xscr: "𝓍", Xscr: "𝒳", xsqcup: "⨆", xuplus: "⨄", xutri: "△", xvee: "⋁", xwedge: "⋀", yacute: "ý", Yacute: "Ý", yacy: "я", YAcy: "Я", ycirc: "ŷ", Ycirc: "Ŷ", ycy: "ы", Ycy: "Ы", yen: "¥", yfr: "𝔶", Yfr: "𝔜", yicy: "ї", YIcy: "Ї", yopf: "𝕪", Yopf: "𝕐", yscr: "𝓎", Yscr: "𝒴", yucy: "ю", YUcy: "Ю", yuml: "ÿ", Yuml: "Ÿ", zacute: "ź", Zacute: "Ź", zcaron: "ž", Zcaron: "Ž", zcy: "з", Zcy: "З", zdot: "ż", Zdot: "Ż", zeetrf: "ℨ", ZeroWidthSpace: "", zeta: "ζ", Zeta: "Ζ", zfr: "𝔷", Zfr: "ℨ", zhcy: "ж", ZHcy: "Ж", zigrarr: "⇝", zopf: "𝕫", Zopf: "ℤ", zscr: "𝓏", Zscr: "𝒵", zwj: "", zwnj: "" }, w = { aacute: "á", Aacute: "Á", acirc: "â", Acirc: "Â", acute: "´", aelig: "æ", AElig: "Æ", agrave: "à", Agrave: "À", amp: "&", AMP: "&", aring: "å", Aring: "Å", atilde: "ã", Atilde: "Ã", auml: "ä", Auml: "Ä", brvbar: "¦", ccedil: "ç", Ccedil: "Ç", cedil: "¸", cent: "¢", copy: "©", COPY: "©", curren: "¤", deg: "°", divide: "÷", eacute: "é", Eacute: "É", ecirc: "ê", Ecirc: "Ê", egrave: "è", Egrave: "È", eth: "ð", ETH: "Ð", euml: "ë", Euml: "Ë", frac12: "½", frac14: "¼", frac34: "¾", gt: ">", GT: ">", iacute: "í", Iacute: "Í", icirc: "î", Icirc: "Î", iexcl: "¡", igrave: "ì", Igrave: "Ì", iquest: "¿", iuml: "ï", Iuml: "Ï", laquo: "«", lt: "<", LT: "<", macr: "¯", micro: "µ", middot: "·", nbsp: " ", not: "¬", ntilde: "ñ", Ntilde: "Ñ", oacute: "ó", Oacute: "Ó", ocirc: "ô", Ocirc: "Ô", ograve: "ò", Ograve: "Ò", ordf: "ª", ordm: "º", oslash: "ø", Oslash: "Ø", otilde: "õ", Otilde: "Õ", ouml: "ö", Ouml: "Ö", para: "¶", plusmn: "±", pound: "£", quot: '"', QUOT: '"', raquo: "»", reg: "®", REG: "®", sect: "§", shy: "", sup1: "¹", sup2: "²", sup3: "³", szlig: "ß", thorn: "þ", THORN: "Þ", times: "×", uacute: "ú", Uacute: "Ú", ucirc: "û", Ucirc: "Û", ugrave: "ù", Ugrave: "Ù", uml: "¨", uuml: "ü", Uuml: "Ü", yacute: "ý", Yacute: "Ý", yen: "¥", yuml: "ÿ" }, k = { 0: "�", 128: "€", 130: "‚", 131: "ƒ", 132: "„", 133: "…", 134: "†", 135: "‡", 136: "ˆ", 137: "‰", 138: "Š", 139: "‹", 140: "Œ", 142: "Ž", 145: "‘", 146: "’", 147: "“", 148: "”", 149: "•", 150: "–", 151: "—", 152: "˜", 153: "™", 154: "š", 155: "›", 156: "œ", 158: "ž", 159: "Ÿ" }, I3 = [1, 2, 3, 4, 5, 6, 7, 8, 11, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 64976, 64977, 64978, 64979, 64980, 64981, 64982, 64983, 64984, 64985, 64986, 64987, 64988, 64989, 64990, 64991, 64992, 64993, 64994, 64995, 64996, 64997, 64998, 64999, 65e3, 65001, 65002, 65003, 65004, 65005, 65006, 65007, 65534, 65535, 131070, 131071, 196606, 196607, 262142, 262143, 327678, 327679, 393214, 393215, 458750, 458751, 524286, 524287, 589822, 589823, 655358, 655359, 720894, 720895, 786430, 786431, 851966, 851967, 917502, 917503, 983038, 983039, 1048574, 1048575, 1114110, 1114111], C = String.fromCharCode, B = {}, N3 = B.hasOwnProperty, q = function(J3, te2) {
|
|
13065
13065
|
return N3.call(J3, te2);
|
|
13066
13066
|
}, H3 = function(J3, te2) {
|
|
13067
|
-
for (var ie = -1,
|
|
13067
|
+
for (var ie = -1, L3 = J3.length; ++ie < L3; )
|
|
13068
13068
|
if (J3[ie] == te2)
|
|
13069
13069
|
return true;
|
|
13070
13070
|
return false;
|
|
13071
13071
|
}, D3 = function(J3, te2) {
|
|
13072
13072
|
if (!J3)
|
|
13073
13073
|
return te2;
|
|
13074
|
-
var ie = {},
|
|
13075
|
-
for (
|
|
13076
|
-
ie[
|
|
13074
|
+
var ie = {}, L3;
|
|
13075
|
+
for (L3 in te2)
|
|
13076
|
+
ie[L3] = q(J3, L3) ? J3[L3] : te2[L3];
|
|
13077
13077
|
return ie;
|
|
13078
13078
|
}, K3 = function(J3, te2) {
|
|
13079
13079
|
var ie = "";
|
|
@@ -13088,10 +13088,10 @@ Actual: ` + p3.attribValue
|
|
|
13088
13088
|
te2 = D3(te2, ce2.options);
|
|
13089
13089
|
var ie = te2.strict;
|
|
13090
13090
|
ie && T3.test(J3) && Z("forbidden code point");
|
|
13091
|
-
var
|
|
13091
|
+
var L3 = te2.encodeEverything, j = te2.useNamedReferences, V3 = te2.allowUnsafeSymbols, $ = te2.decimal ? ee : oe2, P3 = function(p3) {
|
|
13092
13092
|
return $(p3.charCodeAt(0));
|
|
13093
13093
|
};
|
|
13094
|
-
return
|
|
13094
|
+
return L3 ? (J3 = J3.replace(a, function(p3) {
|
|
13095
13095
|
return j && q(c3, p3) ? "&" + c3[p3] + ";" : P3(p3);
|
|
13096
13096
|
}), j && (J3 = J3.replace(/>\u20D2/g, ">⃒").replace(/<\u20D2/g, "<⃒").replace(/fj/g, "fj")), j && (J3 = J3.replace(f3, function(p3) {
|
|
13097
13097
|
return "&" + c3[p3] + ";";
|
|
@@ -13114,13 +13114,13 @@ Actual: ` + p3.attribValue
|
|
|
13114
13114
|
var ae2 = function(J3, te2) {
|
|
13115
13115
|
te2 = D3(te2, ae2.options);
|
|
13116
13116
|
var ie = te2.strict;
|
|
13117
|
-
return ie && S.test(J3) && Z("malformed character reference"), J3.replace(A, function(
|
|
13118
|
-
var b, x3,
|
|
13119
|
-
return j ? (re2 = j, F3[re2]) : V3 ? (re2 = V3, X3 = $, X3 && te2.isAttributeValue ? (ie && X3 == "=" && Z("`&` did not start a character reference"),
|
|
13117
|
+
return ie && S.test(J3) && Z("malformed character reference"), J3.replace(A, function(L3, j, V3, $, P3, p3, m, R, E3) {
|
|
13118
|
+
var b, x3, _, W, re2, X3;
|
|
13119
|
+
return j ? (re2 = j, F3[re2]) : V3 ? (re2 = V3, X3 = $, X3 && te2.isAttributeValue ? (ie && X3 == "=" && Z("`&` did not start a character reference"), L3) : (ie && Z(
|
|
13120
13120
|
"named character reference was not terminated by a semicolon"
|
|
13121
|
-
), w[re2] + (X3 || ""))) : P3 ? (
|
|
13121
|
+
), w[re2] + (X3 || ""))) : P3 ? (_ = P3, x3 = p3, ie && !x3 && Z("character reference was not terminated by a semicolon"), b = parseInt(_, 10), K3(b, ie)) : m ? (W = m, x3 = R, ie && !x3 && Z("character reference was not terminated by a semicolon"), b = parseInt(W, 16), K3(b, ie)) : (ie && Z(
|
|
13122
13122
|
"named character reference was not terminated by a semicolon"
|
|
13123
|
-
),
|
|
13123
|
+
), L3);
|
|
13124
13124
|
});
|
|
13125
13125
|
};
|
|
13126
13126
|
ae2.options = {
|
|
@@ -14037,7 +14037,7 @@ Actual: ` + p3.attribValue
|
|
|
14037
14037
|
return e.blockRange(this);
|
|
14038
14038
|
for (let n = this.depth - (this.parent.inlineContent || this.pos == e.pos ? 1 : 0); n >= 0; n--)
|
|
14039
14039
|
if (e.pos <= this.end(n) && (!t || t(this.node(n))))
|
|
14040
|
-
return new
|
|
14040
|
+
return new Lc$2(this, e, n);
|
|
14041
14041
|
return null;
|
|
14042
14042
|
}
|
|
14043
14043
|
/**
|
|
@@ -14105,7 +14105,7 @@ Actual: ` + p3.attribValue
|
|
|
14105
14105
|
}
|
|
14106
14106
|
};
|
|
14107
14107
|
const Oc$2 = 12, io$3 = /* @__PURE__ */ new WeakMap();
|
|
14108
|
-
let
|
|
14108
|
+
let Lc$2 = class Lc {
|
|
14109
14109
|
/**
|
|
14110
14110
|
Construct a node range. `$from` and `$to` should point into the
|
|
14111
14111
|
same node until at least the given `depth`, since a node range
|
|
@@ -14145,7 +14145,7 @@ Actual: ` + p3.attribValue
|
|
|
14145
14145
|
return this.$to.indexAfter(this.depth);
|
|
14146
14146
|
}
|
|
14147
14147
|
};
|
|
14148
|
-
const
|
|
14148
|
+
const _c$2 = /* @__PURE__ */ Object.create(null);
|
|
14149
14149
|
let rt$2 = class rt2 {
|
|
14150
14150
|
/**
|
|
14151
14151
|
@internal
|
|
@@ -14264,7 +14264,7 @@ Actual: ` + p3.attribValue
|
|
|
14264
14264
|
attributes, and marks.
|
|
14265
14265
|
*/
|
|
14266
14266
|
hasMarkup(e, t, n) {
|
|
14267
|
-
return this.type == e && fr$1(this.attrs, t || e.defaultAttrs ||
|
|
14267
|
+
return this.type == e && fr$1(this.attrs, t || e.defaultAttrs || _c$2) && ge$2.sameSet(this.marks, n || ge$2.none);
|
|
14268
14268
|
}
|
|
14269
14269
|
/**
|
|
14270
14270
|
Create a new node with the same markup as this node, containing
|
|
@@ -15193,7 +15193,7 @@ Actual: ` + p3.attribValue
|
|
|
15193
15193
|
return this.excluded.indexOf(e) > -1;
|
|
15194
15194
|
}
|
|
15195
15195
|
};
|
|
15196
|
-
let
|
|
15196
|
+
let gp$2 = class gp {
|
|
15197
15197
|
/**
|
|
15198
15198
|
Construct a schema from a schema [specification](https://prosemirror.net/docs/ref/#model.SchemaSpec).
|
|
15199
15199
|
*/
|
|
@@ -15453,7 +15453,7 @@ Actual: ` + p3.attribValue
|
|
|
15453
15453
|
script: true,
|
|
15454
15454
|
style: true,
|
|
15455
15455
|
title: true
|
|
15456
|
-
},
|
|
15456
|
+
}, La$2 = { ol: true, ul: true }, Gt$3 = 1, ci$2 = 2, or$2 = 4;
|
|
15457
15457
|
function uo$2(r22, e, t) {
|
|
15458
15458
|
return e != null ? (e ? Gt$3 : 0) | (e === "full" ? ci$2 : 0) : r22 && r22.whitespace == "pre" ? Gt$3 | ci$2 : t & -5;
|
|
15459
15459
|
}
|
|
@@ -15525,7 +15525,7 @@ Actual: ` + p3.attribValue
|
|
|
15525
15525
|
let i3 = this.localPreserveWS, s = this.top;
|
|
15526
15526
|
(e.tagName == "PRE" || /pre/.test(e.style && e.style.whiteSpace)) && (this.localPreserveWS = true);
|
|
15527
15527
|
let o = e.nodeName.toLowerCase(), a;
|
|
15528
|
-
|
|
15528
|
+
La$2.hasOwnProperty(o) && this.parser.normalizeLists && Zc$2(e);
|
|
15529
15529
|
let u = this.options.ruleFromNode && this.options.ruleFromNode(e) || (a = this.parser.matchTag(e, this, n));
|
|
15530
15530
|
e: if (u ? u.ignore : Yc$2.hasOwnProperty(o))
|
|
15531
15531
|
this.findInside(e), this.ignoreFallback(e, t);
|
|
@@ -15762,7 +15762,7 @@ Actual: ` + p3.attribValue
|
|
|
15762
15762
|
function Zc$2(r22) {
|
|
15763
15763
|
for (let e = r22.firstChild, t = null; e; e = e.nextSibling) {
|
|
15764
15764
|
let n = e.nodeType == 1 ? e.nodeName.toLowerCase() : null;
|
|
15765
|
-
n &&
|
|
15765
|
+
n && La$2.hasOwnProperty(n) && t ? (t.appendChild(e), e = t) : n == "li" ? t = e : n && (t = null);
|
|
15766
15766
|
}
|
|
15767
15767
|
}
|
|
15768
15768
|
function Qc$2(r22, e) {
|
|
@@ -15792,7 +15792,7 @@ Actual: ` + p3.attribValue
|
|
|
15792
15792
|
return true;
|
|
15793
15793
|
}
|
|
15794
15794
|
}
|
|
15795
|
-
let
|
|
15795
|
+
let _a$2 = class _a2 {
|
|
15796
15796
|
/**
|
|
15797
15797
|
Create a serializer. `nodes` should map node names to functions
|
|
15798
15798
|
that take a node and return a description of the corresponding
|
|
@@ -15879,7 +15879,7 @@ Actual: ` + p3.attribValue
|
|
|
15879
15879
|
properties in a schema's node and mark specs.
|
|
15880
15880
|
*/
|
|
15881
15881
|
static fromSchema(e) {
|
|
15882
|
-
return e.cached.domSerializer || (e.cached.domSerializer = new
|
|
15882
|
+
return e.cached.domSerializer || (e.cached.domSerializer = new _a2(this.nodesFromSchema(e), this.marksFromSchema(e)));
|
|
15883
15883
|
}
|
|
15884
15884
|
/**
|
|
15885
15885
|
Gather the serializers in a schema's node specs into an object.
|
|
@@ -16651,7 +16651,7 @@ Actual: ` + p3.attribValue
|
|
|
16651
16651
|
function af$2(r22, e, t) {
|
|
16652
16652
|
return (e == 0 || r22.canReplace(e, r22.childCount)) && (t == r22.childCount || r22.canReplace(0, t));
|
|
16653
16653
|
}
|
|
16654
|
-
function
|
|
16654
|
+
function yp$2(r22) {
|
|
16655
16655
|
let t = r22.parent.content.cutByIndex(r22.startIndex, r22.endIndex);
|
|
16656
16656
|
for (let n = r22.depth; ; --n) {
|
|
16657
16657
|
let i3 = r22.$from.node(n), s = r22.$from.index(n), o = r22.$to.indexAfter(n);
|
|
@@ -16671,7 +16671,7 @@ Actual: ` + p3.attribValue
|
|
|
16671
16671
|
A || i3.after(T3 + 1) < i3.end(T3) ? (A = true, h3 = Q$2.from(i3.node(T3).copy(h3)), S++) : f3++;
|
|
16672
16672
|
r22.step(new Je$3(u, f3, o, a, new ue(c3.append(h3), g, S), c3.size - g, true));
|
|
16673
16673
|
}
|
|
16674
|
-
function
|
|
16674
|
+
function bp$2(r22, e, t = null, n = r22) {
|
|
16675
16675
|
let i3 = lf$1(r22, e), s = i3 && cf$1(n, e);
|
|
16676
16676
|
return s ? i3.map(go$3).concat({ type: e, attrs: t }).concat(s.map(go$3)) : null;
|
|
16677
16677
|
}
|
|
@@ -16761,7 +16761,7 @@ Actual: ` + p3.attribValue
|
|
|
16761
16761
|
throw new RangeError("Invalid content for node type " + t.name);
|
|
16762
16762
|
r22.step(new Je$3(e, e + s.nodeSize, e + 1, e + s.nodeSize - 1, new ue(Q$2.from(o), 0, 0), 1, true));
|
|
16763
16763
|
}
|
|
16764
|
-
function
|
|
16764
|
+
function xp$2(r22, e, t = 1, n) {
|
|
16765
16765
|
let i3 = r22.resolve(e), s = i3.depth - t, o = n && n[n.length - 1] || i3.parent;
|
|
16766
16766
|
if (s < 0 || i3.parent.type.spec.isolating || !i3.parent.canReplace(i3.index(), i3.parent.childCount) || !o.type.validContent(i3.parent.content.cutByIndex(i3.index(), i3.parent.childCount)))
|
|
16767
16767
|
return false;
|
|
@@ -16787,7 +16787,7 @@ Actual: ` + p3.attribValue
|
|
|
16787
16787
|
}
|
|
16788
16788
|
r22.step(new Ie$2(e, e, new ue(s.append(o), t, t), true));
|
|
16789
16789
|
}
|
|
16790
|
-
function
|
|
16790
|
+
function Ap$1(r22, e) {
|
|
16791
16791
|
let t = r22.resolve(e), n = t.index();
|
|
16792
16792
|
return Ga$2(t.nodeBefore, t.nodeAfter) && t.parent.canReplace(n, n + 1);
|
|
16793
16793
|
}
|
|
@@ -16804,7 +16804,7 @@ Actual: ` + p3.attribValue
|
|
|
16804
16804
|
function Ga$2(r22, e) {
|
|
16805
16805
|
return !!(r22 && e && !r22.isLeaf && gf$1(r22, e));
|
|
16806
16806
|
}
|
|
16807
|
-
function
|
|
16807
|
+
function Dp$1(r22, e, t = -1) {
|
|
16808
16808
|
let n = r22.resolve(e);
|
|
16809
16809
|
for (let i3 = n.depth; ; i3--) {
|
|
16810
16810
|
let s, o, a = n.index(i3);
|
|
@@ -16856,7 +16856,7 @@ Actual: ` + p3.attribValue
|
|
|
16856
16856
|
}
|
|
16857
16857
|
return null;
|
|
16858
16858
|
}
|
|
16859
|
-
function
|
|
16859
|
+
function Ep$1(r22, e, t) {
|
|
16860
16860
|
let n = r22.resolve(e);
|
|
16861
16861
|
if (!t.content.size)
|
|
16862
16862
|
return e;
|
|
@@ -18226,7 +18226,7 @@ Actual: ` + p3.attribValue
|
|
|
18226
18226
|
}
|
|
18227
18227
|
return t;
|
|
18228
18228
|
}
|
|
18229
|
-
let
|
|
18229
|
+
let vp$2 = class vp {
|
|
18230
18230
|
/**
|
|
18231
18231
|
Create a plugin.
|
|
18232
18232
|
*/
|
|
@@ -18244,7 +18244,7 @@ Actual: ` + p3.attribValue
|
|
|
18244
18244
|
function Ya$2(r22) {
|
|
18245
18245
|
return r22 in si$2 ? r22 + "$" + ++si$2[r22] : (si$2[r22] = 0, r22 + "$");
|
|
18246
18246
|
}
|
|
18247
|
-
let
|
|
18247
|
+
let Cp$2 = class Cp {
|
|
18248
18248
|
/**
|
|
18249
18249
|
Create a plugin key.
|
|
18250
18250
|
*/
|
|
@@ -18265,7 +18265,7 @@ Actual: ` + p3.attribValue
|
|
|
18265
18265
|
return e[this.key];
|
|
18266
18266
|
}
|
|
18267
18267
|
};
|
|
18268
|
-
const Za$2 = (r22) => r22.replace(/[A-Z]/g, (e) => `-${e.toLowerCase()}`),
|
|
18268
|
+
const Za$2 = (r22) => r22.replace(/[A-Z]/g, (e) => `-${e.toLowerCase()}`), Sp$2 = (r22) => Za$2(r22), Tp$2 = Object.freeze({
|
|
18269
18269
|
RESOLVED: "resolved",
|
|
18270
18270
|
NEW: "new",
|
|
18271
18271
|
ADD: "add",
|
|
@@ -18278,7 +18278,7 @@ Actual: ` + p3.attribValue
|
|
|
18278
18278
|
// Tracked changes
|
|
18279
18279
|
CHANGE_ACCEPTED: "change-accepted",
|
|
18280
18280
|
CHANGE_REJECTED: "change-rejected"
|
|
18281
|
-
}),
|
|
18281
|
+
}), Fp$1 = {
|
|
18282
18282
|
mounted(r22, e, t) {
|
|
18283
18283
|
const n = (i3) => {
|
|
18284
18284
|
r22.contains(i3.target) || e.value(i3);
|
|
@@ -18289,20 +18289,20 @@ Actual: ` + p3.attribValue
|
|
|
18289
18289
|
document.removeEventListener("click", r22.__clickOutsideHandler), delete r22.__clickOutsideHandler;
|
|
18290
18290
|
}
|
|
18291
18291
|
};
|
|
18292
|
-
function
|
|
18292
|
+
function Bp$2(r22, e = null, ...t) {
|
|
18293
18293
|
return typeof r22 == "function" ? e ? r22.bind(e)(...t) : r22(...t) : r22;
|
|
18294
18294
|
}
|
|
18295
|
-
function
|
|
18295
|
+
function kp$1(r22 = {}) {
|
|
18296
18296
|
return Object.keys(r22).length === 0 && r22.constructor === Object;
|
|
18297
18297
|
}
|
|
18298
|
-
const
|
|
18298
|
+
const Np$1 = () => typeof navigator < "u" ? /Mac/.test(navigator.platform) : false, Ip$2 = () => ["iPad Simulator", "iPhone Simulator", "iPod Simulator", "iPad", "iPhone", "iPod"].includes(
|
|
18299
18299
|
navigator.platform
|
|
18300
18300
|
), Nf$1 = (r22) => Object.prototype.toString.call(r22) === "[object RegExp]";
|
|
18301
18301
|
function If$1(r22, e, t = { strict: true }) {
|
|
18302
18302
|
const n = Object.keys(e);
|
|
18303
18303
|
return n.length ? n.every((i3) => t.strict ? e[i3] === r22[i3] : Nf$1(e[i3]) ? e[i3].test(r22[i3]) : e[i3] === r22[i3]) : true;
|
|
18304
18304
|
}
|
|
18305
|
-
function
|
|
18305
|
+
function Rp$1(r22, e) {
|
|
18306
18306
|
const n = typeof e == "string" ? [e] : e;
|
|
18307
18307
|
return Object.keys(r22).reduce((i3, s) => (n.includes(s) || (i3[s] = r22[s]), i3), {});
|
|
18308
18308
|
}
|
|
@@ -18311,7 +18311,7 @@ Actual: ` + p3.attribValue
|
|
|
18311
18311
|
const e = r22.toString() || "0", t = Number.parseFloat(e), i3 = (e.match(Rf$1)?.[1] ?? "").toLowerCase();
|
|
18312
18312
|
return [t, Pf$1.includes(i3) ? i3 : null];
|
|
18313
18313
|
}
|
|
18314
|
-
function
|
|
18314
|
+
function Pp$1(r22 = 0, e = 0, t = 0) {
|
|
18315
18315
|
return Math.min(Math.max(r22, e), t);
|
|
18316
18316
|
}
|
|
18317
18317
|
function Ft$2(r22) {
|
|
@@ -18338,7 +18338,7 @@ Actual: ` + p3.attribValue
|
|
|
18338
18338
|
if (r22 != null)
|
|
18339
18339
|
return r22 * 240;
|
|
18340
18340
|
}
|
|
18341
|
-
function
|
|
18341
|
+
function Lf$1(r22) {
|
|
18342
18342
|
if (r22 != null)
|
|
18343
18343
|
return Math.round(r22 / 2);
|
|
18344
18344
|
}
|
|
@@ -18363,11 +18363,11 @@ Actual: ` + p3.attribValue
|
|
|
18363
18363
|
if (r22 != null)
|
|
18364
18364
|
return r22 / 20;
|
|
18365
18365
|
}
|
|
18366
|
-
function
|
|
18366
|
+
function _f$2(r22) {
|
|
18367
18367
|
if (r22 != null)
|
|
18368
18368
|
return r22 * 20;
|
|
18369
18369
|
}
|
|
18370
|
-
const qf$2 = async (r22) => await (await fetch(r22)).arrayBuffer(),
|
|
18370
|
+
const qf$2 = async (r22) => await (await fetch(r22)).arrayBuffer(), Op$1 = (r22) => {
|
|
18371
18371
|
const n = new window.DOMParser().parseFromString(r22, "text/xml").querySelectorAll("Default");
|
|
18372
18372
|
return Array.from(n).map((i3) => i3.getAttribute("Extension"));
|
|
18373
18373
|
}, Mf$1 = (r22) => (/* @__PURE__ */ new Map([
|
|
@@ -18403,7 +18403,7 @@ Actual: ` + p3.attribValue
|
|
|
18403
18403
|
const jf$2 = (r22) => {
|
|
18404
18404
|
const e = Number(r22).toString(16);
|
|
18405
18405
|
return e.length === 1 ? "0" + e : e;
|
|
18406
|
-
}, Hf$2 = (r22) => "#" + r22.match(/\d+/g).map(jf$2).join(""),
|
|
18406
|
+
}, Hf$2 = (r22) => "#" + r22.match(/\d+/g).map(jf$2).join(""), Lp$1 = (r22, e) => {
|
|
18407
18407
|
let [t, n] = Of$1(r22);
|
|
18408
18408
|
return Number.isNaN(t) ? {} : (n = n || e, t += n ? 4 : 0.2, `line-height: ${t}${n}`);
|
|
18409
18409
|
};
|
|
@@ -19630,6 +19630,14 @@ Actual: ` + p3.attribValue
|
|
|
19630
19630
|
console.error("Error in carbonCopy", r22, e);
|
|
19631
19631
|
return;
|
|
19632
19632
|
}
|
|
19633
|
+
}, Qf$2 = {
|
|
19634
|
+
attributes: {
|
|
19635
|
+
"w:abstractNumId": "1"
|
|
19636
|
+
}
|
|
19637
|
+
}, ed$2 = {
|
|
19638
|
+
attributes: {
|
|
19639
|
+
"w:abstractNumId": "0"
|
|
19640
|
+
}
|
|
19633
19641
|
}, nu$2 = {
|
|
19634
19642
|
declaration: {
|
|
19635
19643
|
attributes: {
|
|
@@ -20880,7 +20888,7 @@ Actual: ` + p3.attribValue
|
|
|
20880
20888
|
u && (f3 = r22.comments.find((S) => S.commentId === u || S.importedId === u));
|
|
20881
20889
|
const c3 = f3?.isInternal || o.isInternal;
|
|
20882
20890
|
if (n === "external" && c3 || !!o.resolvedTime) return;
|
|
20883
|
-
let h3 =
|
|
20891
|
+
let h3 = td$2(e, a);
|
|
20884
20892
|
if (e === "End") {
|
|
20885
20893
|
const S = {
|
|
20886
20894
|
name: "w:r",
|
|
@@ -20890,21 +20898,21 @@ Actual: ` + p3.attribValue
|
|
|
20890
20898
|
}
|
|
20891
20899
|
return h3;
|
|
20892
20900
|
}
|
|
20893
|
-
const
|
|
20901
|
+
const td$2 = (r22, e) => ({
|
|
20894
20902
|
name: `w:commentRange${r22}`,
|
|
20895
20903
|
attributes: {
|
|
20896
20904
|
"w:id": String(e)
|
|
20897
20905
|
}
|
|
20898
|
-
}),
|
|
20906
|
+
}), rd$2 = (r22) => ({
|
|
20899
20907
|
...r22,
|
|
20900
20908
|
commentParaId: ru$2()
|
|
20901
|
-
}),
|
|
20909
|
+
}), nd$2 = (r22, e, t) => {
|
|
20902
20910
|
const n = su$2({ node: r22.commentJSON }), i3 = {
|
|
20903
20911
|
"w:id": String(e),
|
|
20904
20912
|
"w:author": r22.creatorName || r22.importedAuthor?.name,
|
|
20905
20913
|
"w:email": r22.creatorEmail || r22.importedAuthor?.email,
|
|
20906
20914
|
"w:date": iu$2(r22.createdTime),
|
|
20907
|
-
"w:initials":
|
|
20915
|
+
"w:initials": id$2(r22.creatorName),
|
|
20908
20916
|
"w:done": r22.resolvedTime ? "1" : "0",
|
|
20909
20917
|
"w15:paraId": r22.commentParaId,
|
|
20910
20918
|
"custom:internalId": r22.commentId || r22.internalId,
|
|
@@ -20923,7 +20931,7 @@ Actual: ` + p3.attribValue
|
|
|
20923
20931
|
attributes: i3,
|
|
20924
20932
|
elements: [n]
|
|
20925
20933
|
};
|
|
20926
|
-
},
|
|
20934
|
+
}, id$2 = (r22) => r22 ? r22.replace("(imported)", "").trim().split(" ").map((n) => n[0]).join("") : null, iu$2 = (r22) => new Date(r22 || Date.now()).toISOString().replace(/\.\d{3}Z$/, "Z"), sd$2 = (r22 = [], e) => {
|
|
20927
20935
|
const t = je$2(e);
|
|
20928
20936
|
return r22.forEach((n) => {
|
|
20929
20937
|
n.elements[0].elements.unshift(Wf$2);
|
|
@@ -20942,7 +20950,7 @@ Actual: ` + p3.attribValue
|
|
|
20942
20950
|
"xmlns:custom": "http://schemas.openxmlformats.org/wordprocessingml/2006/main"
|
|
20943
20951
|
};
|
|
20944
20952
|
}), t.elements[0].elements = r22, t;
|
|
20945
|
-
},
|
|
20953
|
+
}, od$2 = (r22 = [], e) => {
|
|
20946
20954
|
const t = je$2(e), n = r22.map((i3) => {
|
|
20947
20955
|
const s = {
|
|
20948
20956
|
"w15:paraId": i3.commentParaId,
|
|
@@ -20959,7 +20967,7 @@ Actual: ` + p3.attribValue
|
|
|
20959
20967
|
};
|
|
20960
20968
|
});
|
|
20961
20969
|
return t.elements[0].elements = n, t;
|
|
20962
|
-
},
|
|
20970
|
+
}, ad$2 = (r22 = [], e, t) => {
|
|
20963
20971
|
const n = je$2(e), i3 = je$2(t);
|
|
20964
20972
|
return n.elements[0].elements = [], i3.elements[0].elements = [], r22.forEach((s) => {
|
|
20965
20973
|
const o = ru$2(), a = {
|
|
@@ -20984,13 +20992,13 @@ Actual: ` + p3.attribValue
|
|
|
20984
20992
|
documentIdsUpdated: n,
|
|
20985
20993
|
extensibleUpdated: i3
|
|
20986
20994
|
};
|
|
20987
|
-
},
|
|
20995
|
+
}, ud$2 = (r22) => {
|
|
20988
20996
|
const e = je$2(r22);
|
|
20989
20997
|
return e["word/comments.xml"] = xt$1.COMMENTS_XML_DEF, e["word/commentsExtended.xml"] = xt$1.COMMENTS_EXTENDED_XML_DEF, e["word/commentsExtensible.xml"] = xt$1.COMMENTS_EXTENSIBLE_XML_DEF, e["word/commentsIds.xml"] = xt$1.COMMENTS_IDS_XML_DEF, e["[Content_Types].xml"] = xt$1.CONTENT_TYPES, e;
|
|
20990
|
-
},
|
|
20998
|
+
}, ld$2 = (r22) => {
|
|
20991
20999
|
const e = je$2(r22);
|
|
20992
21000
|
return delete e["word/comments.xml"], delete e["word/commentsExtended.xml"], delete e["word/commentsExtensible.xml"], delete e["word/commentsIds.xml"], e;
|
|
20993
|
-
}, nr$2 = (r22) => ({ ...xt$1.DOCUMENT_RELS_XML_DEF.elements[0].elements.find((n) => n.attributes.Target === r22) }),
|
|
21001
|
+
}, nr$2 = (r22) => ({ ...xt$1.DOCUMENT_RELS_XML_DEF.elements[0].elements.find((n) => n.attributes.Target === r22) }), cd$2 = ({
|
|
20994
21002
|
convertedXml: r22,
|
|
20995
21003
|
defs: e,
|
|
20996
21004
|
commentsWithParaIds: t,
|
|
@@ -20999,16 +21007,16 @@ Actual: ` + p3.attribValue
|
|
|
20999
21007
|
}) => {
|
|
21000
21008
|
const s = [];
|
|
21001
21009
|
if (n === "clean")
|
|
21002
|
-
return { documentXml:
|
|
21003
|
-
const o =
|
|
21004
|
-
o["word/comments.xml"] =
|
|
21010
|
+
return { documentXml: ld$2(r22), relationships: s };
|
|
21011
|
+
const o = ud$2(r22);
|
|
21012
|
+
o["word/comments.xml"] = sd$2(
|
|
21005
21013
|
e,
|
|
21006
21014
|
o["word/comments.xml"]
|
|
21007
|
-
), s.push(nr$2("comments.xml")), o["word/commentsExtended.xml"] =
|
|
21015
|
+
), s.push(nr$2("comments.xml")), o["word/commentsExtended.xml"] = od$2(
|
|
21008
21016
|
t,
|
|
21009
21017
|
o["word/commentsExtended.xml"]
|
|
21010
21018
|
), s.push(nr$2("commentsExtended.xml"));
|
|
21011
|
-
const { documentIdsUpdated: a, extensibleUpdated: u } =
|
|
21019
|
+
const { documentIdsUpdated: a, extensibleUpdated: u } = ad$2(
|
|
21012
21020
|
t,
|
|
21013
21021
|
o["word/commentsIds.xml"],
|
|
21014
21022
|
o["word/commentsExtensible.xml"]
|
|
@@ -21017,7 +21025,7 @@ Actual: ` + p3.attribValue
|
|
|
21017
21025
|
relationships: s,
|
|
21018
21026
|
documentXml: o
|
|
21019
21027
|
};
|
|
21020
|
-
},
|
|
21028
|
+
}, fd$2 = (r22, e) => e ? ["width", `${Math.max(e, r22)}px`] : ["min-width", `${r22}px`], dd$2 = (r22, e, t, n) => {
|
|
21021
21029
|
let i3 = 0, s = true;
|
|
21022
21030
|
const o = [], a = [], u = r22.firstChild;
|
|
21023
21031
|
if (!u) return {};
|
|
@@ -21026,7 +21034,7 @@ Actual: ` + p3.attribValue
|
|
|
21026
21034
|
for (let w = 0; w < A; w++, T3++) {
|
|
21027
21035
|
const k = t === T3 ? n : F3 && F3[w];
|
|
21028
21036
|
i3 += k || e, k || (s = false);
|
|
21029
|
-
const [I3, C] =
|
|
21037
|
+
const [I3, C] = fd$2(e, k);
|
|
21030
21038
|
o.push(["col", { style: `${I3}: ${C}` }]), a.push(parseInt(C, 10));
|
|
21031
21039
|
}
|
|
21032
21040
|
}
|
|
@@ -21040,28 +21048,28 @@ Actual: ` + p3.attribValue
|
|
|
21040
21048
|
};
|
|
21041
21049
|
function Pt$2(r22) {
|
|
21042
21050
|
const { type: e } = r22.node || {}, t = {
|
|
21043
|
-
doc:
|
|
21044
|
-
body:
|
|
21051
|
+
doc: hd$2,
|
|
21052
|
+
body: md$2,
|
|
21045
21053
|
paragraph: su$2,
|
|
21046
|
-
text:
|
|
21054
|
+
text: gd$2,
|
|
21047
21055
|
bulletList: To$2,
|
|
21048
21056
|
orderedList: To$2,
|
|
21049
|
-
lineBreak:
|
|
21050
|
-
table:
|
|
21051
|
-
tableRow:
|
|
21052
|
-
tableCell:
|
|
21053
|
-
bookmarkStart:
|
|
21054
|
-
fieldAnnotation:
|
|
21055
|
-
tab:
|
|
21057
|
+
lineBreak: vd$2,
|
|
21058
|
+
table: Cd$2,
|
|
21059
|
+
tableRow: Nd$2,
|
|
21060
|
+
tableCell: Rd$2,
|
|
21061
|
+
bookmarkStart: Ld$2,
|
|
21062
|
+
fieldAnnotation: zd$2,
|
|
21063
|
+
tab: Td$2,
|
|
21056
21064
|
image: uu$2,
|
|
21057
|
-
hardBreak:
|
|
21065
|
+
hardBreak: Gd$2,
|
|
21058
21066
|
commentRangeStart: () => Co$2(r22, "Start"),
|
|
21059
21067
|
commentRangeEnd: () => Co$2(r22, "End"),
|
|
21060
21068
|
commentReference: () => null
|
|
21061
21069
|
};
|
|
21062
21070
|
return t[e] ? t[e](r22) : (console.error("No translation function found for node type:", e), null);
|
|
21063
21071
|
}
|
|
21064
|
-
function
|
|
21072
|
+
function md$2(r22) {
|
|
21065
21073
|
const e = r22.bodyNode?.elements.find((n) => n.name === "w:sectPr") || {};
|
|
21066
21074
|
if (r22.converter) {
|
|
21067
21075
|
const n = r22.converter.pageStyles.pageMargins, i3 = e.elements.find((o) => o.name === "w:pgMar"), { attributes: s } = i3;
|
|
@@ -21079,7 +21087,7 @@ Actual: ` + p3.attribValue
|
|
|
21079
21087
|
const e = Ot$2(r22), t = e.find((s) => s.name === "htmlAnnotation");
|
|
21080
21088
|
if (e.length === 1 && t)
|
|
21081
21089
|
return t.elements;
|
|
21082
|
-
const n =
|
|
21090
|
+
const n = pd$2(r22.node);
|
|
21083
21091
|
n && e.unshift(n);
|
|
21084
21092
|
let i3 = {};
|
|
21085
21093
|
return r22.node.attrs?.rsidRDefault && (i3["w:rsidRDefault"] = r22.node.attrs.rsidRDefault), {
|
|
@@ -21088,13 +21096,13 @@ Actual: ` + p3.attribValue
|
|
|
21088
21096
|
attributes: i3
|
|
21089
21097
|
};
|
|
21090
21098
|
}
|
|
21091
|
-
function
|
|
21099
|
+
function pd$2(r22) {
|
|
21092
21100
|
const { attrs: e = {} } = r22, t = [], { styleId: n } = e;
|
|
21093
21101
|
n && t.push({ name: "w:pStyle", attributes: { "w:val": n } });
|
|
21094
21102
|
const { spacing: i3, indent: s, textAlign: o, textIndent: a, lineHeight: u, marksAttrs: f3, keepLines: c3, keepNext: g } = e;
|
|
21095
21103
|
if (i3) {
|
|
21096
21104
|
const { lineSpaceBefore: h3, lineSpaceAfter: S, line: T3, lineRule: A } = i3, F3 = {};
|
|
21097
|
-
h3 >= 0 && (F3["w:before"] = Se$1(h3)), S >= 0 && (F3["w:after"] = Se$1(S)), A === "exact" ? u && (F3["w:line"] =
|
|
21105
|
+
h3 >= 0 && (F3["w:before"] = Se$1(h3)), S >= 0 && (F3["w:after"] = Se$1(S)), A === "exact" ? u && (F3["w:line"] = _f$2(parseFloat(u))) : u && (F3["w:line"] = mi$2(u)), F3["w:lineRule"] = A || "auto";
|
|
21098
21106
|
const w = {
|
|
21099
21107
|
name: "w:spacing",
|
|
21100
21108
|
attributes: F3
|
|
@@ -21149,7 +21157,7 @@ Actual: ` + p3.attribValue
|
|
|
21149
21157
|
elements: t
|
|
21150
21158
|
} : null;
|
|
21151
21159
|
}
|
|
21152
|
-
function
|
|
21160
|
+
function hd$2(r22) {
|
|
21153
21161
|
const e = {
|
|
21154
21162
|
type: "body",
|
|
21155
21163
|
content: r22.node.content
|
|
@@ -21177,14 +21185,14 @@ Actual: ` + p3.attribValue
|
|
|
21177
21185
|
attributes: i3
|
|
21178
21186
|
}, s);
|
|
21179
21187
|
}
|
|
21180
|
-
function
|
|
21188
|
+
function gd$2(r22) {
|
|
21181
21189
|
const { node: e } = r22, t = [yr$2, Ri$2];
|
|
21182
|
-
if (e.marks?.some((a) => t.includes(a.type))) return
|
|
21183
|
-
if (e.marks?.some((a) => a.type === "link")) return
|
|
21190
|
+
if (e.marks?.some((a) => t.includes(a.type))) return yd$2(r22);
|
|
21191
|
+
if (e.marks?.some((a) => a.type === "link")) return bd$2(r22);
|
|
21184
21192
|
const { text: s, marks: o = [] } = e;
|
|
21185
21193
|
return Fr$1(s, o);
|
|
21186
21194
|
}
|
|
21187
|
-
function
|
|
21195
|
+
function wd$2(r22) {
|
|
21188
21196
|
const e = r22.find((t) => t.type === Pi$2);
|
|
21189
21197
|
if (e)
|
|
21190
21198
|
return {
|
|
@@ -21199,8 +21207,8 @@ Actual: ` + p3.attribValue
|
|
|
21199
21207
|
elements: e.attrs.before.map((n) => Br$1([n])).filter((n) => n !== void 0)
|
|
21200
21208
|
};
|
|
21201
21209
|
}
|
|
21202
|
-
function
|
|
21203
|
-
const { node: e } = r22, t = e.marks, n = [yr$2, Ri$2, Pi$2], i3 = t.find((f3) => n.includes(f3.type)), s = i3.type === yr$2, o =
|
|
21210
|
+
function yd$2(r22) {
|
|
21211
|
+
const { node: e } = r22, t = e.marks, n = [yr$2, Ri$2, Pi$2], i3 = t.find((f3) => n.includes(f3.type)), s = i3.type === yr$2, o = wd$2(t);
|
|
21204
21212
|
e.marks = t.filter((f3) => !n.includes(f3.type)), o && e.marks.push(o);
|
|
21205
21213
|
const a = Pt$2({ ...r22, node: e });
|
|
21206
21214
|
if (!s) {
|
|
@@ -21238,7 +21246,7 @@ Actual: ` + p3.attribValue
|
|
|
21238
21246
|
return Fo$2(i3);
|
|
21239
21247
|
}) : Fo$2(e));
|
|
21240
21248
|
}
|
|
21241
|
-
function
|
|
21249
|
+
function bd$2(r22) {
|
|
21242
21250
|
const { node: e } = r22, t = e.marks.find((a) => a.type === "link"), n = t.attrs.href;
|
|
21243
21251
|
let i3 = t.attrs.rId;
|
|
21244
21252
|
i3 || (i3 = au$2(r22, n)), e.marks = e.marks.filter((a) => a.type !== "link");
|
|
@@ -21278,9 +21286,9 @@ Actual: ` + p3.attribValue
|
|
|
21278
21286
|
return r22.relationships.push(n), t;
|
|
21279
21287
|
}
|
|
21280
21288
|
function To$2(r22) {
|
|
21281
|
-
const { type: e } = r22.node, t =
|
|
21289
|
+
const { type: e } = r22.node, t = Ed$2(r22), n = [];
|
|
21282
21290
|
return t.forEach((i3) => {
|
|
21283
|
-
const { level: s, listType: o, pPrs: a, content: u, attrs: f3 = {} } = i3, h3 = (i3.attrs.numId || i3.listId) ??
|
|
21291
|
+
const { level: s, listType: o, pPrs: a, content: u, attrs: f3 = {} } = i3, h3 = (i3.attrs.numId || i3.listId) ?? xd$2(r22, o), S = Dd$2(s, h3, a);
|
|
21284
21292
|
u.forEach((T3, A) => {
|
|
21285
21293
|
const F3 = Object.assign({}, T3);
|
|
21286
21294
|
F3.attrs = {
|
|
@@ -21316,30 +21324,22 @@ Actual: ` + p3.attribValue
|
|
|
21316
21324
|
});
|
|
21317
21325
|
}), n;
|
|
21318
21326
|
}
|
|
21319
|
-
function
|
|
21320
|
-
const t = {
|
|
21321
|
-
...definition,
|
|
21322
|
-
attributes: {
|
|
21323
|
-
...definition.attributes,
|
|
21324
|
-
"w:abstractNumId": r22
|
|
21325
|
-
}
|
|
21326
|
-
}, n = {
|
|
21327
|
+
function xd$2(r22, e) {
|
|
21328
|
+
const t = Ad$2(r22.converter?.numbering?.definitions), n = e === "bullet" ? ed$2 : Qf$2, i3 = t, s = n.attributes["w:abstractNumId"], o = {
|
|
21327
21329
|
type: "element",
|
|
21328
21330
|
name: "w:num",
|
|
21329
21331
|
attributes: {
|
|
21330
|
-
"w:numId": String(
|
|
21332
|
+
"w:numId": String(i3),
|
|
21331
21333
|
"w16cid:durableId": "485517411"
|
|
21332
21334
|
},
|
|
21333
21335
|
elements: [
|
|
21334
|
-
{ name: "w:abstractNumId", attributes: { "w:val": String(
|
|
21336
|
+
{ name: "w:abstractNumId", attributes: { "w:val": String(s) } }
|
|
21335
21337
|
]
|
|
21336
21338
|
};
|
|
21337
|
-
return
|
|
21338
|
-
newAbstractDef: t,
|
|
21339
|
-
newNumDef: n
|
|
21340
|
-
};
|
|
21339
|
+
return r22.converter.numbering.definitions[i3] = o, i3;
|
|
21341
21340
|
}
|
|
21342
|
-
|
|
21341
|
+
const Ad$2 = (r22) => !r22 || !Object.keys(r22).length ? 0 : Math.max(...Object.keys(r22).map((t) => parseInt(t, 10))) + 1;
|
|
21342
|
+
function Dd$2(r22, e, t = []) {
|
|
21343
21343
|
return {
|
|
21344
21344
|
name: "w:pPr",
|
|
21345
21345
|
type: "element",
|
|
@@ -21364,7 +21364,7 @@ Actual: ` + p3.attribValue
|
|
|
21364
21364
|
]
|
|
21365
21365
|
};
|
|
21366
21366
|
}
|
|
21367
|
-
function
|
|
21367
|
+
function Ed$2({ node: r22 }) {
|
|
21368
21368
|
const { content: e, attrs: t = {} } = r22, { listId: n, syncId: i3 } = r22.attrs || {}, s = r22.attrs["list-style-type"], { attributes: o = {} } = t, a = o?.parentAttributes?.paragraphProperties?.elements?.filter((c3) => c3.name !== "w:numPr") || [], u = [];
|
|
21369
21369
|
function f3(c3, g = 0) {
|
|
21370
21370
|
!c3 || !c3.length || c3.forEach((h3) => {
|
|
@@ -21385,22 +21385,22 @@ Actual: ` + p3.attribValue
|
|
|
21385
21385
|
}
|
|
21386
21386
|
return f3(e), u;
|
|
21387
21387
|
}
|
|
21388
|
-
function
|
|
21388
|
+
function vd$2(r22) {
|
|
21389
21389
|
const e = {}, { lineBreakType: t } = r22.node?.attrs || {};
|
|
21390
21390
|
return t && (e["w:type"] = t), {
|
|
21391
21391
|
name: "w:br",
|
|
21392
21392
|
attributes: e
|
|
21393
21393
|
};
|
|
21394
21394
|
}
|
|
21395
|
-
function
|
|
21396
|
-
r22.node =
|
|
21397
|
-
const e = Ot$2(r22), t =
|
|
21395
|
+
function Cd$2(r22) {
|
|
21396
|
+
r22.node = Sd$2(r22.node, r22);
|
|
21397
|
+
const e = Ot$2(r22), t = Fd$2(r22.node), n = kd$2(r22.node, r22);
|
|
21398
21398
|
return e.unshift(t), e.unshift(n), {
|
|
21399
21399
|
name: "w:tbl",
|
|
21400
21400
|
elements: e
|
|
21401
21401
|
};
|
|
21402
21402
|
}
|
|
21403
|
-
function
|
|
21403
|
+
function Sd$2(r22, { editorSchema: e }) {
|
|
21404
21404
|
const { content: t } = r22;
|
|
21405
21405
|
for (let n = 0; n < t.length; n++) {
|
|
21406
21406
|
const i3 = t[n];
|
|
@@ -21436,13 +21436,13 @@ Actual: ` + p3.attribValue
|
|
|
21436
21436
|
}
|
|
21437
21437
|
return r22;
|
|
21438
21438
|
}
|
|
21439
|
-
function
|
|
21439
|
+
function Td$2(r22) {
|
|
21440
21440
|
const { marks: e = [] } = r22.node, t = Br$1(e);
|
|
21441
21441
|
return Oi$2({
|
|
21442
21442
|
name: "w:tab"
|
|
21443
21443
|
}, t);
|
|
21444
21444
|
}
|
|
21445
|
-
function
|
|
21445
|
+
function Fd$2(r22) {
|
|
21446
21446
|
const e = [], { attrs: t } = r22, { tableWidth: n, tableWidthType: i3, tableStyleId: s, borders: o, tableIndent: a, tableLayout: u, tableCellSpacing: f3 } = t;
|
|
21447
21447
|
if (s) {
|
|
21448
21448
|
const c3 = {
|
|
@@ -21452,7 +21452,7 @@ Actual: ` + p3.attribValue
|
|
|
21452
21452
|
e.push(c3);
|
|
21453
21453
|
}
|
|
21454
21454
|
if (o) {
|
|
21455
|
-
const c3 =
|
|
21455
|
+
const c3 = Bd$2(r22);
|
|
21456
21456
|
e.push(c3);
|
|
21457
21457
|
}
|
|
21458
21458
|
if (a) {
|
|
@@ -21487,7 +21487,7 @@ Actual: ` + p3.attribValue
|
|
|
21487
21487
|
elements: e
|
|
21488
21488
|
};
|
|
21489
21489
|
}
|
|
21490
|
-
function
|
|
21490
|
+
function Bd$2(r22) {
|
|
21491
21491
|
const { borders: e } = r22.attrs, t = [];
|
|
21492
21492
|
return e ? (["top", "bottom", "left", "right", "insideH", "insideV"].forEach((i3) => {
|
|
21493
21493
|
const s = e[i3];
|
|
@@ -21511,11 +21511,11 @@ Actual: ` + p3.attribValue
|
|
|
21511
21511
|
elements: t
|
|
21512
21512
|
}) : void 0;
|
|
21513
21513
|
}
|
|
21514
|
-
function
|
|
21514
|
+
function kd$2(r22, e) {
|
|
21515
21515
|
const { editorSchema: t } = e;
|
|
21516
21516
|
let n = [];
|
|
21517
21517
|
try {
|
|
21518
|
-
const s = t.nodeFromJSON(r22), o = 25, { colgroupValues: a } =
|
|
21518
|
+
const s = t.nodeFromJSON(r22), o = 25, { colgroupValues: a } = dd$2(
|
|
21519
21519
|
s,
|
|
21520
21520
|
o
|
|
21521
21521
|
);
|
|
@@ -21534,14 +21534,14 @@ Actual: ` + p3.attribValue
|
|
|
21534
21534
|
elements: i3
|
|
21535
21535
|
};
|
|
21536
21536
|
}
|
|
21537
|
-
function
|
|
21538
|
-
const e = Ot$2(r22), t =
|
|
21537
|
+
function Nd$2(r22) {
|
|
21538
|
+
const e = Ot$2(r22), t = Id$2(r22.node);
|
|
21539
21539
|
return t.elements.length && e.unshift(t), {
|
|
21540
21540
|
name: "w:tr",
|
|
21541
21541
|
elements: e
|
|
21542
21542
|
};
|
|
21543
21543
|
}
|
|
21544
|
-
function
|
|
21544
|
+
function Id$2(r22) {
|
|
21545
21545
|
const { attrs: e } = r22, t = [], { rowHeight: n, rowHeightType: i3 } = e;
|
|
21546
21546
|
if (n) {
|
|
21547
21547
|
const s = { "w:val": Se$1(n) };
|
|
@@ -21557,17 +21557,17 @@ Actual: ` + p3.attribValue
|
|
|
21557
21557
|
elements: t
|
|
21558
21558
|
};
|
|
21559
21559
|
}
|
|
21560
|
-
function
|
|
21560
|
+
function Rd$2(r22) {
|
|
21561
21561
|
const e = Ot$2({
|
|
21562
21562
|
...r22,
|
|
21563
21563
|
tableCell: r22.node
|
|
21564
|
-
}), t =
|
|
21564
|
+
}), t = Pd$2(r22.node);
|
|
21565
21565
|
return e.unshift(t), {
|
|
21566
21566
|
name: "w:tc",
|
|
21567
21567
|
elements: e
|
|
21568
21568
|
};
|
|
21569
21569
|
}
|
|
21570
|
-
function
|
|
21570
|
+
function Pd$2(r22) {
|
|
21571
21571
|
const e = [], { attrs: t } = r22, { colwidth: n = [], cellWidthType: i3 = "dxa", background: s = {}, colspan: o, rowspan: a, widthUnit: u } = t, f3 = n.reduce((A, F3) => A + F3, 0), c3 = {
|
|
21572
21572
|
name: "w:tcW",
|
|
21573
21573
|
attributes: { "w:w": u === "px" ? Se$1(f3) : Ft$2(f3), "w:type": i3 }
|
|
@@ -21591,7 +21591,7 @@ Actual: ` + p3.attribValue
|
|
|
21591
21591
|
if (h3) {
|
|
21592
21592
|
const A = {
|
|
21593
21593
|
name: "w:tcMar",
|
|
21594
|
-
elements:
|
|
21594
|
+
elements: Od$2(h3)
|
|
21595
21595
|
};
|
|
21596
21596
|
e.push(A);
|
|
21597
21597
|
}
|
|
@@ -21643,11 +21643,11 @@ Actual: ` + p3.attribValue
|
|
|
21643
21643
|
elements: e
|
|
21644
21644
|
};
|
|
21645
21645
|
}
|
|
21646
|
-
function
|
|
21646
|
+
function Od$2(r22) {
|
|
21647
21647
|
const e = [], { top: t, right: n, bottom: i3, left: s } = r22;
|
|
21648
21648
|
return t != null && e.push({ name: "w:top", attributes: { "w:w": Se$1(t) } }), n != null && e.push({ name: "w:right", attributes: { "w:w": Se$1(n) } }), i3 != null && e.push({ name: "w:bottom", attributes: { "w:w": Se$1(i3) } }), s != null && e.push({ name: "w:left", attributes: { "w:w": Se$1(s) } }), e;
|
|
21649
21649
|
}
|
|
21650
|
-
function
|
|
21650
|
+
function Ld$2(r22) {
|
|
21651
21651
|
const e = {
|
|
21652
21652
|
name: "w:bookmarkStart",
|
|
21653
21653
|
attributes: {
|
|
@@ -21703,7 +21703,7 @@ Actual: ` + p3.attribValue
|
|
|
21703
21703
|
}
|
|
21704
21704
|
return t;
|
|
21705
21705
|
}
|
|
21706
|
-
function
|
|
21706
|
+
function _d$2(r22) {
|
|
21707
21707
|
if (!r22) return {};
|
|
21708
21708
|
const e = r22.split(";")[0].split("/")[1];
|
|
21709
21709
|
if (!r22 || e !== "png")
|
|
@@ -21717,7 +21717,7 @@ Actual: ` + p3.attribValue
|
|
|
21717
21717
|
originalHeight: i3.getInt32(20)
|
|
21718
21718
|
};
|
|
21719
21719
|
}
|
|
21720
|
-
function
|
|
21720
|
+
function qd$2(r22, e, t, n) {
|
|
21721
21721
|
let i3 = r22, s = e, o = Math.min(t / r22, n / e);
|
|
21722
21722
|
return i3 = Math.round(i3 * o), s = Math.round(s * o), { scaledWidth: i3, scaledHeight: s };
|
|
21723
21723
|
}
|
|
@@ -21727,20 +21727,20 @@ Actual: ` + p3.attribValue
|
|
|
21727
21727
|
tableCell: i3
|
|
21728
21728
|
} = r22;
|
|
21729
21729
|
let s = t.rId;
|
|
21730
|
-
const o = t.src || t.imageSrc, { originalWidth: a, originalHeight: u } =
|
|
21730
|
+
const o = t.src || t.imageSrc, { originalWidth: a, originalHeight: u } = _d$2(o);
|
|
21731
21731
|
let f3 = t.size ? {
|
|
21732
21732
|
w: qt$2(t.size.width),
|
|
21733
21733
|
h: qt$2(t.size.height)
|
|
21734
21734
|
} : e;
|
|
21735
21735
|
if (a && u) {
|
|
21736
|
-
const S = $e$3(f3.w), T3 = $e$3(f3.h), { scaledWidth: A, scaledHeight: F3 } =
|
|
21736
|
+
const S = $e$3(f3.w), T3 = $e$3(f3.h), { scaledWidth: A, scaledHeight: F3 } = qd$2(a, u, S, T3);
|
|
21737
21737
|
f3 = {
|
|
21738
21738
|
w: qt$2(A),
|
|
21739
21739
|
h: qt$2(F3)
|
|
21740
21740
|
};
|
|
21741
21741
|
}
|
|
21742
21742
|
if (i3) {
|
|
21743
|
-
const S = i3.attrs.colwidth.reduce((I3, C) => I3 + C, 0), T3 = i3.attrs.cellMargins?.left || 8, A = i3.attrs.cellMargins?.right || 8, F3 = qt$2(S - (T3 + A)), { width: w, height: k } =
|
|
21743
|
+
const S = i3.attrs.colwidth.reduce((I3, C) => I3 + C, 0), T3 = i3.attrs.cellMargins?.left || 8, A = i3.attrs.cellMargins?.right || 8, F3 = qt$2(S - (T3 + A)), { width: w, height: k } = Wd$2(f3.w, f3.h, F3);
|
|
21744
21744
|
w && k && (f3 = { w, h: k });
|
|
21745
21745
|
}
|
|
21746
21746
|
if (r22.node.type === "image" && !s) {
|
|
@@ -21907,16 +21907,16 @@ Actual: ` + p3.attribValue
|
|
|
21907
21907
|
function lu$2(r22) {
|
|
21908
21908
|
const {
|
|
21909
21909
|
node: { attrs: e = {}, marks: t = [] }
|
|
21910
|
-
} = r22, n =
|
|
21910
|
+
} = r22, n = Vd$2(e);
|
|
21911
21911
|
return Fr$1(e.displayLabel, [...t, ...n]);
|
|
21912
21912
|
}
|
|
21913
|
-
function
|
|
21913
|
+
function Md$2(r22) {
|
|
21914
21914
|
const {
|
|
21915
21915
|
node: { attrs: e = {}, marks: t = [] }
|
|
21916
21916
|
} = r22, n = Nc$2.decode(e.displayLabel);
|
|
21917
21917
|
return Fr$1(n, t);
|
|
21918
21918
|
}
|
|
21919
|
-
function
|
|
21919
|
+
function Ud$2(r22) {
|
|
21920
21920
|
const {
|
|
21921
21921
|
node: { attrs: e = {} }
|
|
21922
21922
|
} = r22, n = new window.DOMParser().parseFromString(e.rawHtml, "text/html"), s = At.create({
|
|
@@ -21925,6 +21925,7 @@ Actual: ` + p3.attribValue
|
|
|
21925
21925
|
return {
|
|
21926
21926
|
name: "htmlAnnotation",
|
|
21927
21927
|
elements: Ot$2({
|
|
21928
|
+
...r22,
|
|
21928
21929
|
node: s
|
|
21929
21930
|
})
|
|
21930
21931
|
};
|
|
@@ -21932,7 +21933,7 @@ Actual: ` + p3.attribValue
|
|
|
21932
21933
|
function Bo$2(r22, e) {
|
|
21933
21934
|
return uu$2(r22, e);
|
|
21934
21935
|
}
|
|
21935
|
-
function
|
|
21936
|
+
function jd$2(r22) {
|
|
21936
21937
|
const {
|
|
21937
21938
|
node: { attrs: e = {}, marks: t = [] }
|
|
21938
21939
|
} = r22, n = au$2(r22, e.linkUrl), i3 = Fr$1(e.linkUrl, t);
|
|
@@ -21946,7 +21947,7 @@ Actual: ` + p3.attribValue
|
|
|
21946
21947
|
elements: [i3]
|
|
21947
21948
|
};
|
|
21948
21949
|
}
|
|
21949
|
-
function
|
|
21950
|
+
function Hd$2(r22) {
|
|
21950
21951
|
const e = {
|
|
21951
21952
|
w: 4286250,
|
|
21952
21953
|
h: 4286250
|
|
@@ -21958,12 +21959,12 @@ Actual: ` + p3.attribValue
|
|
|
21958
21959
|
text: lu$2,
|
|
21959
21960
|
image: (i3) => Bo$2(i3, e),
|
|
21960
21961
|
signature: (i3) => Bo$2(i3, t),
|
|
21961
|
-
checkbox:
|
|
21962
|
-
html:
|
|
21963
|
-
link:
|
|
21962
|
+
checkbox: Md$2,
|
|
21963
|
+
html: Ud$2,
|
|
21964
|
+
link: jd$2
|
|
21964
21965
|
}[r22];
|
|
21965
21966
|
}
|
|
21966
|
-
const
|
|
21967
|
+
const Vd$2 = (r22 = {}) => {
|
|
21967
21968
|
const {
|
|
21968
21969
|
fontFamily: e,
|
|
21969
21970
|
fontSize: t,
|
|
@@ -21973,8 +21974,8 @@ Actual: ` + p3.attribValue
|
|
|
21973
21974
|
} = r22, o = [];
|
|
21974
21975
|
return e && o.push({ type: "fontFamily", attrs: { fontFamily: e } }), t && o.push({ type: "fontSize", attrs: { fontSize: t } }), n && o.push({ type: "bold", attrs: {} }), i3 && o.push({ type: "underline", attrs: {} }), s && o.push({ type: "italic", attrs: {} }), o;
|
|
21975
21976
|
};
|
|
21976
|
-
function
|
|
21977
|
-
const { node: e, isFinalDoc: t } = r22, { attrs: n = {} } = e, i3 =
|
|
21977
|
+
function zd$2(r22) {
|
|
21978
|
+
const { node: e, isFinalDoc: t } = r22, { attrs: n = {} } = e, i3 = Hd$2(n.type);
|
|
21978
21979
|
if (!i3) return {};
|
|
21979
21980
|
let s, o;
|
|
21980
21981
|
if (t)
|
|
@@ -22026,7 +22027,7 @@ Actual: ` + p3.attribValue
|
|
|
22026
22027
|
]
|
|
22027
22028
|
};
|
|
22028
22029
|
}
|
|
22029
|
-
function
|
|
22030
|
+
function Gd$2() {
|
|
22030
22031
|
return {
|
|
22031
22032
|
name: "w:r",
|
|
22032
22033
|
elements: [{
|
|
@@ -22078,28 +22079,28 @@ Actual: ` + p3.attribValue
|
|
|
22078
22079
|
}
|
|
22079
22080
|
return a || u.push(`</${n}>`), u;
|
|
22080
22081
|
};
|
|
22081
|
-
function
|
|
22082
|
+
function Wd$2(r22, e, t) {
|
|
22082
22083
|
if (r22 > t) {
|
|
22083
22084
|
let n = t / r22, i3 = Math.round(e * n);
|
|
22084
22085
|
return { width: t, height: i3 };
|
|
22085
22086
|
}
|
|
22086
22087
|
return { width: r22, height: e };
|
|
22087
22088
|
}
|
|
22088
|
-
const
|
|
22089
|
+
const Jd$2 = '<w:document xmlns:wpc="http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas" xmlns:cx="http://schemas.microsoft.com/office/drawing/2014/chartex" xmlns:cx1="http://schemas.microsoft.com/office/drawing/2015/9/8/chartex" xmlns:cx2="http://schemas.microsoft.com/office/drawing/2015/10/21/chartex" xmlns:cx3="http://schemas.microsoft.com/office/drawing/2016/5/9/chartex" xmlns:cx4="http://schemas.microsoft.com/office/drawing/2016/5/10/chartex" xmlns:cx5="http://schemas.microsoft.com/office/drawing/2016/5/11/chartex" xmlns:cx6="http://schemas.microsoft.com/office/drawing/2016/5/12/chartex" xmlns:cx7="http://schemas.microsoft.com/office/drawing/2016/5/13/chartex" xmlns:cx8="http://schemas.microsoft.com/office/drawing/2016/5/14/chartex" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:aink="http://schemas.microsoft.com/office/drawing/2016/ink" xmlns:am3d="http://schemas.microsoft.com/office/drawing/2017/model3d" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:oel="http://schemas.microsoft.com/office/2019/extlst" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:m="http://schemas.openxmlformats.org/officeDocument/2006/math" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:wp14="http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing" xmlns:wp="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing" xmlns:w10="urn:schemas-microsoft-com:office:word" xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main" xmlns:w14="http://schemas.microsoft.com/office/word/2010/wordml" xmlns:w15="http://schemas.microsoft.com/office/word/2012/wordml" xmlns:w16cex="http://schemas.microsoft.com/office/word/2018/wordml/cex" xmlns:w16cid="http://schemas.microsoft.com/office/word/2016/wordml/cid" xmlns:w16="http://schemas.microsoft.com/office/word/2018/wordml" xmlns:w16sdtdh="http://schemas.microsoft.com/office/word/2020/wordml/sdtdatahash" xmlns:w16se="http://schemas.microsoft.com/office/word/2015/wordml/symex" xmlns:wpg="http://schemas.microsoft.com/office/word/2010/wordprocessingGroup" xmlns:wpi="http://schemas.microsoft.com/office/word/2010/wordprocessingInk" xmlns:wne="http://schemas.microsoft.com/office/word/2006/wordml" xmlns:wps="http://schemas.microsoft.com/office/word/2010/wordprocessingShape" mc:Ignorable="w14 w15 w16se w16cid w16 w16cex w16sdtdh wp14"><w:body></w:body></w:document>', Kd$2 = (r22) => JSON.parse(ba$2.xml2json(r22, null, 2)), $d$2 = (r22, e = Jd$2) => r22["word/document.xml"] || Kd$2(e), Xd$2 = (r22) => {
|
|
22089
22090
|
const { nodes: e } = r22;
|
|
22090
22091
|
if (e.length === 0)
|
|
22091
22092
|
return { nodes: [], consumed: 0 };
|
|
22092
22093
|
const t = e[0];
|
|
22093
22094
|
switch (t.name) {
|
|
22094
22095
|
case "w:tbl":
|
|
22095
|
-
return { nodes: [$
|
|
22096
|
+
return { nodes: [Zd$2(t, r22)], consumed: 1 };
|
|
22096
22097
|
}
|
|
22097
22098
|
return { nodes: [], consumed: 0 };
|
|
22098
|
-
},
|
|
22099
|
+
}, Yd$2 = {
|
|
22099
22100
|
handlerName: "tableNodeHandler",
|
|
22100
|
-
handler:
|
|
22101
|
+
handler: Xd$2
|
|
22101
22102
|
};
|
|
22102
|
-
function $
|
|
22103
|
+
function Zd$2(r22, e) {
|
|
22103
22104
|
const { docx: t, nodeListHandler: n } = e, i3 = r22.elements.find((B) => B.name === "w:tblPr"), o = i3.elements.find((B) => B.name === "w:tblBorders")?.elements || [], { borders: a, rowBorders: u } = du$2(o), f3 = i3.elements.find((B) => B.name === "w:tblStyle"), g = { tableStyleId: f3?.attributes["w:val"] }, h3 = i3?.elements.find((B) => B.name === "w:tblInd");
|
|
22104
22105
|
if (h3) {
|
|
22105
22106
|
const { "w:w": B, "w:type": N3 } = h3.attributes;
|
|
@@ -22124,7 +22125,7 @@ Actual: ` + p3.attribValue
|
|
|
22124
22125
|
g.borders = k;
|
|
22125
22126
|
const C = [];
|
|
22126
22127
|
return w.forEach((B) => {
|
|
22127
|
-
const N3 =
|
|
22128
|
+
const N3 = tm$1(B, r22, I3, f3, e);
|
|
22128
22129
|
N3.content?.length && C.push(N3);
|
|
22129
22130
|
}), {
|
|
22130
22131
|
type: "table",
|
|
@@ -22132,15 +22133,15 @@ Actual: ` + p3.attribValue
|
|
|
22132
22133
|
attrs: g
|
|
22133
22134
|
};
|
|
22134
22135
|
}
|
|
22135
|
-
function
|
|
22136
|
-
const { docx: u, nodeListHandler: f3 } = o, c3 = r22.elements.find((ae2) => ae2.name === "w:tcPr"), g = c3?.elements?.find((ae2) => ae2.name === "w:tcBorders"), h3 =
|
|
22136
|
+
function Qd$2(r22, e, t, n, i3 = null, s, o, a) {
|
|
22137
|
+
const { docx: u, nodeListHandler: f3 } = o, c3 = r22.elements.find((ae2) => ae2.name === "w:tcPr"), g = c3?.elements?.find((ae2) => ae2.name === "w:tcBorders"), h3 = em$1(g, n), S = mu$2(t), T3 = c3?.elements?.find((ae2) => ae2.name === "w:tcW");
|
|
22137
22138
|
let A = T3 ? xe$1(T3.attributes["w:w"]) : null;
|
|
22138
22139
|
const F3 = T3?.attributes["w:type"];
|
|
22139
22140
|
!A && i3 && (A = i3);
|
|
22140
22141
|
const w = No$2(r22), { attributes: k } = w || {}, C = {
|
|
22141
22142
|
color: c3?.elements?.find((ae2) => ae2.name === "w:shd")?.attributes["w:fill"]
|
|
22142
22143
|
}, N3 = c3?.elements?.find((ae2) => ae2.name === "w:gridSpan")?.attributes["w:val"], q = c3?.elements?.find((ae2) => ae2.name === "w:tcMar"), D3 = c3?.elements?.find((ae2) => ae2.name === "w:vAlign")?.attributes["w:val"] || "top", K3 = {}, oe2 = fu$1(s, u) || {};
|
|
22143
|
-
K3.cellMargins =
|
|
22144
|
+
K3.cellMargins = rm$1(q, oe2);
|
|
22144
22145
|
const { fontSize: ee, fonts: Z = {} } = oe2, ce2 = Z.ascii;
|
|
22145
22146
|
if (A) {
|
|
22146
22147
|
K3.colwidth = [A], K3.widthUnit = "px";
|
|
@@ -22158,12 +22159,12 @@ Actual: ` + p3.attribValue
|
|
|
22158
22159
|
const ae2 = t.elements.filter((ie) => ie.name === "w:tr"), se = ae2.findIndex((ie) => ie === e), Y = ae2.slice(se + 1);
|
|
22159
22160
|
let J3 = e.elements.filter((ie) => ie.name === "w:tc").findIndex((ie) => ie === r22), te2 = 1;
|
|
22160
22161
|
for (let ie of Y) {
|
|
22161
|
-
const
|
|
22162
|
+
const L3 = ie.elements.findIndex((P3) => P3.name === "w:tc"), j = ie.elements[L3 + J3];
|
|
22162
22163
|
if (!j) break;
|
|
22163
22164
|
const V3 = No$2(j), { attributes: $ } = V3 || {};
|
|
22164
22165
|
if (!V3 && !$ || $ && $["w:val"] === "restart")
|
|
22165
22166
|
break;
|
|
22166
|
-
te2++, ie.elements.splice(
|
|
22167
|
+
te2++, ie.elements.splice(L3 + J3, 1);
|
|
22167
22168
|
}
|
|
22168
22169
|
K3.rowspan = te2;
|
|
22169
22170
|
}
|
|
@@ -22186,7 +22187,7 @@ Actual: ` + p3.attribValue
|
|
|
22186
22187
|
return Object.keys(i3) ? (i3.val = "none", i3) : null;
|
|
22187
22188
|
}
|
|
22188
22189
|
return null;
|
|
22189
|
-
},
|
|
22190
|
+
}, em$1 = (r22, e) => {
|
|
22190
22191
|
if (!r22) return null;
|
|
22191
22192
|
const t = {}, n = ir$2(r22, "bottom", e);
|
|
22192
22193
|
n && (t.bottom = n);
|
|
@@ -22224,7 +22225,7 @@ Actual: ` + p3.attribValue
|
|
|
22224
22225
|
n.fonts = { ascii: w, hAnsi: k, cs: I3 };
|
|
22225
22226
|
}
|
|
22226
22227
|
const F3 = S.elements.find((w) => w.name === "w:sz");
|
|
22227
|
-
F3?.attributes && (n.fontSize =
|
|
22228
|
+
F3?.attributes && (n.fontSize = Lf$1(F3.attributes["w:val"]) + "pt");
|
|
22228
22229
|
}
|
|
22229
22230
|
const T3 = f3.elements.find((A) => A.name === "w:tblPr");
|
|
22230
22231
|
if (T3 && T3.elements) {
|
|
@@ -22254,7 +22255,7 @@ Actual: ` + p3.attribValue
|
|
|
22254
22255
|
rowBorders: t
|
|
22255
22256
|
};
|
|
22256
22257
|
}
|
|
22257
|
-
function
|
|
22258
|
+
function tm$1(r22, e, t, n, i3) {
|
|
22258
22259
|
const s = {}, a = r22.elements.find((T3) => T3.name === "w:trPr")?.elements?.find((T3) => T3.name === "w:trHeight"), u = a?.attributes["w:val"];
|
|
22259
22260
|
a?.attributes["w:hRule"];
|
|
22260
22261
|
const f3 = {};
|
|
@@ -22264,12 +22265,12 @@ Actual: ` + p3.attribValue
|
|
|
22264
22265
|
type: "tableRow",
|
|
22265
22266
|
content: g?.map((T3, A) => {
|
|
22266
22267
|
const F3 = g.length > 1 ? c3[A] : null;
|
|
22267
|
-
return
|
|
22268
|
+
return Qd$2(T3, r22, e, f3, F3, n, i3, A);
|
|
22268
22269
|
}) || [],
|
|
22269
22270
|
attrs: s
|
|
22270
22271
|
};
|
|
22271
22272
|
}
|
|
22272
|
-
const
|
|
22273
|
+
const rm$1 = (r22, e) => {
|
|
22273
22274
|
const t = r22?.elements?.find((F3) => F3.name === "w:left"), n = r22?.elements?.find((F3) => F3.name === "w:right"), i3 = r22?.elements?.find((F3) => F3.name === "w:top"), s = r22?.elements?.find((F3) => F3.name === "w:bottom"), o = t?.attributes["w:w"], a = n?.attributes["w:w"], u = i3?.attributes["w:w"], f3 = s?.attributes["w:w"], { cellMargins: c3 = {} } = e, {
|
|
22274
22275
|
marginLeft: g,
|
|
22275
22276
|
marginRight: h3,
|
|
@@ -22282,7 +22283,7 @@ Actual: ` + p3.attribValue
|
|
|
22282
22283
|
top: xe$1(u ?? S),
|
|
22283
22284
|
bottom: xe$1(f3 ?? T3)
|
|
22284
22285
|
};
|
|
22285
|
-
}, mu$2 = (r22) => r22.elements.find((t) => t.name === "w:tblGrid")?.elements?.flatMap((t) => t.name !== "w:gridCol" ? [] : xe$1(t.attributes["w:w"])) || [],
|
|
22286
|
+
}, mu$2 = (r22) => r22.elements.find((t) => t.name === "w:tblGrid")?.elements?.flatMap((t) => t.name !== "w:gridCol" ? [] : xe$1(t.attributes["w:w"])) || [], nm$1 = (r22) => {
|
|
22286
22287
|
const { nodes: e, filename: t } = r22;
|
|
22287
22288
|
if (e.length === 0 || e[0].name !== "w:drawing")
|
|
22288
22289
|
return { nodes: [], consumed: 0 };
|
|
@@ -22330,9 +22331,9 @@ Actual: ` + p3.attribValue
|
|
|
22330
22331
|
}
|
|
22331
22332
|
};
|
|
22332
22333
|
}
|
|
22333
|
-
const
|
|
22334
|
+
const im$1 = {
|
|
22334
22335
|
handlerName: "drawingNodeHandler",
|
|
22335
|
-
handler:
|
|
22336
|
+
handler: nm$1
|
|
22336
22337
|
};
|
|
22337
22338
|
function Bt$2(r22, e = [], t = null) {
|
|
22338
22339
|
const n = [], i3 = /* @__PURE__ */ new Set();
|
|
@@ -22357,7 +22358,7 @@ Actual: ` + p3.attribValue
|
|
|
22357
22358
|
const { attributes: u = {} } = s, f3 = { type: a.type };
|
|
22358
22359
|
if (!(u["w:val"] == "0" || u["w:val"] === "none")) {
|
|
22359
22360
|
if (a.mark && (f3.type = a.mark), Object.keys(u).length) {
|
|
22360
|
-
const c3 =
|
|
22361
|
+
const c3 = om$1(a.type, u, t);
|
|
22361
22362
|
if (c3 == null) return;
|
|
22362
22363
|
f3.attrs = {}, f3.attrs[a.property] = c3;
|
|
22363
22364
|
}
|
|
@@ -22366,7 +22367,7 @@ Actual: ` + p3.attribValue
|
|
|
22366
22367
|
});
|
|
22367
22368
|
}), gi$2(n);
|
|
22368
22369
|
}
|
|
22369
|
-
function
|
|
22370
|
+
function sm$1(r22, e) {
|
|
22370
22371
|
const t = r22.elements?.find((o) => o.name === "w:rPrChange");
|
|
22371
22372
|
if (!t)
|
|
22372
22373
|
return [];
|
|
@@ -22387,25 +22388,25 @@ Actual: ` + p3.attribValue
|
|
|
22387
22388
|
});
|
|
22388
22389
|
}), [...t, { type: "textStyle", attrs: n }];
|
|
22389
22390
|
}
|
|
22390
|
-
function
|
|
22391
|
+
function om$1(r22, e, t) {
|
|
22391
22392
|
r22 === "tabs" && (r22 = "textIndent");
|
|
22392
22393
|
const n = {
|
|
22393
22394
|
color: () => `#${e["w:val"]}`,
|
|
22394
22395
|
fontSize: () => `${e["w:val"] / 2}pt`,
|
|
22395
|
-
textIndent: () =>
|
|
22396
|
-
fontFamily: () =>
|
|
22397
|
-
lineHeight: () =>
|
|
22396
|
+
textIndent: () => um$1(e),
|
|
22397
|
+
fontFamily: () => am$1(e, t),
|
|
22398
|
+
lineHeight: () => lm$1(e),
|
|
22398
22399
|
textAlign: () => e["w:val"],
|
|
22399
22400
|
link: () => e.href,
|
|
22400
22401
|
underline: () => e["w:val"],
|
|
22401
22402
|
bold: () => e?.["w:val"] || null,
|
|
22402
22403
|
italic: () => e?.["w:val"] || null,
|
|
22403
|
-
highlight: () =>
|
|
22404
|
+
highlight: () => cm$1(e)
|
|
22404
22405
|
};
|
|
22405
22406
|
if (r22 in n || console.debug("❗️❗️ No value mapper for:", r22, "Attributes:", e), r22 in n)
|
|
22406
22407
|
return n[r22], n[r22]();
|
|
22407
22408
|
}
|
|
22408
|
-
function
|
|
22409
|
+
function am$1(r22, e) {
|
|
22409
22410
|
const t = r22["w:ascii"], n = r22["w:asciiTheme"];
|
|
22410
22411
|
if (!e || !n) return t;
|
|
22411
22412
|
const i3 = e["word/theme/theme1.xml"];
|
|
@@ -22413,20 +22414,20 @@ Actual: ` + p3.attribValue
|
|
|
22413
22414
|
const { elements: s } = i3, { elements: o } = s[0];
|
|
22414
22415
|
return o.find((h3) => h3.name === "a:themeElements").elements.find((h3) => h3.name === "a:fontScheme").elements.find((h3) => h3.name === "a:majorFont").elements.find((h3) => h3.name === "a:latin").attributes.typeface;
|
|
22415
22416
|
}
|
|
22416
|
-
function
|
|
22417
|
+
function um$1(r22) {
|
|
22417
22418
|
let e = r22["w:left"];
|
|
22418
22419
|
return e ? `${qe$2(e)}in` : null;
|
|
22419
22420
|
}
|
|
22420
|
-
function
|
|
22421
|
+
function lm$1(r22) {
|
|
22421
22422
|
const e = r22["w:line"], t = r22["w:lineRule"];
|
|
22422
22423
|
return !e || e === "0" ? null : t === "exact" ? `${tu$2(e)}pt` : `${Ni$2(e)}`;
|
|
22423
22424
|
}
|
|
22424
|
-
function
|
|
22425
|
+
function cm$1(r22) {
|
|
22425
22426
|
return r22["w:fill"] ? `#${r22["w:fill"]}` : Uf$2(r22?.["w:val"]) ? `#${r22["w:val"]}` : Mf$1(r22?.["w:val"]) || null;
|
|
22426
22427
|
}
|
|
22427
|
-
function
|
|
22428
|
-
const t = [], n = [], { attributes: i3 = {}, elements: s = [] } = r22, { nodes: o, paragraphProperties: a = {}, runProperties: u = {} } =
|
|
22429
|
-
return s.find((c3) => c3.name === "w:r") && (a.elements = a?.elements?.filter((c3) => c3.name !== "w:rPr")), u && u?.elements?.length && t.push(...Bt$2(u, n)), a && a.elements?.length && t.push(...Bt$2(a, n)), t.push(...
|
|
22428
|
+
function Lt$2(r22, e) {
|
|
22429
|
+
const t = [], n = [], { attributes: i3 = {}, elements: s = [] } = r22, { nodes: o, paragraphProperties: a = {}, runProperties: u = {} } = fm$1(s);
|
|
22430
|
+
return s.find((c3) => c3.name === "w:r") && (a.elements = a?.elements?.filter((c3) => c3.name !== "w:rPr")), u && u?.elements?.length && t.push(...Bt$2(u, n)), a && a.elements?.length && t.push(...Bt$2(a, n)), t.push(...sm$1(u, t)), a && a.elements?.length && (i3.paragraphProperties = a), t && r22.name === "w:p" && t.forEach((c3) => {
|
|
22430
22431
|
const g = Object.keys(c3.attrs ?? {})[0];
|
|
22431
22432
|
if (g) {
|
|
22432
22433
|
const h3 = c3.attrs[g];
|
|
@@ -22434,7 +22435,7 @@ Actual: ` + p3.attribValue
|
|
|
22434
22435
|
}
|
|
22435
22436
|
}), { elements: o, attributes: i3, marks: t, unknownMarks: n };
|
|
22436
22437
|
}
|
|
22437
|
-
function
|
|
22438
|
+
function fm$1(r22) {
|
|
22438
22439
|
const e = r22.find((s) => s.name === "w:pPr"), t = r22.find((s) => s.name === "w:rPr"), n = r22.find((s) => s.name === "w:sectPr");
|
|
22439
22440
|
return {
|
|
22440
22441
|
nodes: r22.filter((s) => s.name !== "w:pPr" && s.name !== "w:rPr" && s.name !== "w:sectPr"),
|
|
@@ -22446,15 +22447,15 @@ Actual: ` + p3.attribValue
|
|
|
22446
22447
|
function lr$2(r22) {
|
|
22447
22448
|
return Nt$4.allowedElements[r22.name || r22.type];
|
|
22448
22449
|
}
|
|
22449
|
-
const
|
|
22450
|
+
const dm$1 = (r22) => !!Nt$4.propertyTypes[r22.name || r22.type];
|
|
22450
22451
|
function pu$2(r22) {
|
|
22451
22452
|
return r22.filter((n) => n.name === "w:r").some((n) => n.elements.some((i3) => i3.name === "w:t"));
|
|
22452
22453
|
}
|
|
22453
|
-
const
|
|
22454
|
+
const mm$1 = (r22) => {
|
|
22454
22455
|
const { nodes: e, nodeListHandler: t } = r22;
|
|
22455
22456
|
if (e.length === 0 || !(e[0].name === "w:del" || e[0].name === "w:ins"))
|
|
22456
22457
|
return { nodes: [], consumed: 0 };
|
|
22457
|
-
const n = e[0], { name: i3 } = n, { attributes: s, elements: o } =
|
|
22458
|
+
const n = e[0], { name: i3 } = n, { attributes: s, elements: o } = Lt$2(n), a = t.handler({ ...r22, insideTrackChange: true, nodes: o }), u = i3 === "w:del" ? Ri$2 : yr$2, f3 = {
|
|
22458
22459
|
id: s["w:id"],
|
|
22459
22460
|
date: s["w:date"],
|
|
22460
22461
|
author: s["w:author"],
|
|
@@ -22463,10 +22464,10 @@ Actual: ` + p3.attribValue
|
|
|
22463
22464
|
return a.forEach((c3) => {
|
|
22464
22465
|
c3.marks === void 0 && (c3.marks = []), c3.marks.push({ type: u, attrs: f3 });
|
|
22465
22466
|
}), { nodes: a, consumed: 1 };
|
|
22466
|
-
},
|
|
22467
|
+
}, pm$1 = {
|
|
22467
22468
|
handlerName: "trackChangeNodeHandler",
|
|
22468
|
-
handler:
|
|
22469
|
-
},
|
|
22469
|
+
handler: mm$1
|
|
22470
|
+
}, hm$1 = (r22) => {
|
|
22470
22471
|
const { nodes: e, docx: t, nodeListHandler: n } = r22;
|
|
22471
22472
|
if (e.length === 0 || e[0].name !== "w:hyperlink")
|
|
22472
22473
|
return { nodes: [], consumed: 0 };
|
|
@@ -22485,35 +22486,35 @@ Actual: ` + p3.attribValue
|
|
|
22485
22486
|
}
|
|
22486
22487
|
}
|
|
22487
22488
|
return { nodes: n.handler({ ...r22, nodes: T3 }), consumed: 1 };
|
|
22488
|
-
},
|
|
22489
|
+
}, gm$1 = {
|
|
22489
22490
|
handlerName: "hyperlinkNodeHandler",
|
|
22490
|
-
handler:
|
|
22491
|
-
},
|
|
22491
|
+
handler: hm$1
|
|
22492
|
+
}, wm$1 = (r22) => {
|
|
22492
22493
|
const { nodes: e, nodeListHandler: t, parentStyleId: n, docx: i3 } = r22;
|
|
22493
22494
|
if (e.length === 0 || e[0].name !== "w:r")
|
|
22494
22495
|
return { nodes: [], consumed: 0 };
|
|
22495
22496
|
const s = e[0], o = { ...r22, nodes: s.elements };
|
|
22496
22497
|
let a = t.handler(o)?.filter((c3) => c3) || [];
|
|
22497
|
-
const u = s.elements?.some((c3) => c3.name === "w:rPr"), f3 =
|
|
22498
|
+
const u = s.elements?.some((c3) => c3.name === "w:rPr"), f3 = ym$1(i3, n);
|
|
22498
22499
|
if (u) {
|
|
22499
|
-
const { marks: c3 = [], attributes: g = {} } =
|
|
22500
|
+
const { marks: c3 = [], attributes: g = {} } = Lt$2(s), h3 = c3.find((T3) => T3.type === "textStyle"), S = h3 && Object.keys(h3.attrs).length > 0;
|
|
22500
22501
|
f3.marks && !S && c3.push(...f3.marks), s.marks && c3.push(...s.marks), a = a.map((T3) => ({ ...T3, marks: gi$2(c3), attributes: g }));
|
|
22501
22502
|
} else f3.marks && (a = a.map((c3) => ({ ...c3, marks: gi$2(f3.marks) })));
|
|
22502
22503
|
return { nodes: a, consumed: 1 };
|
|
22503
|
-
},
|
|
22504
|
+
}, ym$1 = (r22, e) => {
|
|
22504
22505
|
const t = r22?.["word/styles.xml"];
|
|
22505
22506
|
if (!t)
|
|
22506
22507
|
return {};
|
|
22507
22508
|
const i3 = t.elements[0].elements.filter((s) => s.name === "w:style").find((s) => s.attributes["w:styleId"] === e) || {};
|
|
22508
|
-
return i3 ?
|
|
22509
|
-
},
|
|
22509
|
+
return i3 ? Lt$2(i3) : {};
|
|
22510
|
+
}, bm$1 = {
|
|
22510
22511
|
handlerName: "runNodeHandler",
|
|
22511
|
-
handler:
|
|
22512
|
-
},
|
|
22512
|
+
handler: wm$1
|
|
22513
|
+
}, xm$1 = (r22) => {
|
|
22513
22514
|
const { nodes: e, insideTrackChange: t } = r22;
|
|
22514
22515
|
if (e.length === 0 || !(e[0].name === "w:t" || t && e[0].name === "w:delText"))
|
|
22515
22516
|
return { nodes: [], consumed: 0 };
|
|
22516
|
-
const n = e[0], { type: i3 } = n, { attributes: s, elements: o, marks: a = [] } =
|
|
22517
|
+
const n = e[0], { type: i3 } = n, { attributes: s, elements: o, marks: a = [] } = Lt$2(n);
|
|
22517
22518
|
let u;
|
|
22518
22519
|
if (o.length === 1) u = o[0].text;
|
|
22519
22520
|
else if (!o.length && "attributes" in n && n.attributes["xml:space"] === "preserve")
|
|
@@ -22530,36 +22531,36 @@ Actual: ` + p3.attribValue
|
|
|
22530
22531
|
],
|
|
22531
22532
|
consumed: 1
|
|
22532
22533
|
};
|
|
22533
|
-
},
|
|
22534
|
+
}, Am$1 = {
|
|
22534
22535
|
handlerName: "textNodeHandler",
|
|
22535
|
-
handler:
|
|
22536
|
+
handler: xm$1
|
|
22536
22537
|
}, hu$2 = (r22) => {
|
|
22537
22538
|
if (!r22 || !Array.isArray(r22))
|
|
22538
22539
|
return r22;
|
|
22539
22540
|
let e = [], t = null;
|
|
22540
22541
|
for (let n of r22)
|
|
22541
|
-
n.type === "text" ? t &&
|
|
22542
|
+
n.type === "text" ? t && Dm$1(t, n) ? t = {
|
|
22542
22543
|
...t,
|
|
22543
22544
|
text: t.text += n.text
|
|
22544
22545
|
} : (t && e.push(t), t = { ...n }) : (t && (e.push(t), t = null), e.push(n));
|
|
22545
22546
|
return t && e.push(t), e;
|
|
22546
|
-
},
|
|
22547
|
+
}, Dm$1 = (r22, e) => {
|
|
22547
22548
|
if (!r22 || !e) return false;
|
|
22548
22549
|
let t = r22.marks ?? [], n = e.marks ?? [];
|
|
22549
22550
|
if (t.length !== n.length)
|
|
22550
22551
|
return false;
|
|
22551
22552
|
for (let i3 = 0; i3 < t.length; i3++)
|
|
22552
|
-
if (t[i3].type !== n[i3].type || !
|
|
22553
|
+
if (t[i3].type !== n[i3].type || !Em$1(t[i3].attrs, n[i3].attrs))
|
|
22553
22554
|
return false;
|
|
22554
22555
|
return true;
|
|
22555
|
-
},
|
|
22556
|
+
}, Em$1 = (r22 = {}, e = {}) => If$1(r22, e);
|
|
22556
22557
|
function gu$2(r22, e, t) {
|
|
22557
22558
|
this.name = r22, this.message = e || "", this.details = t;
|
|
22558
22559
|
const n = new Error(this.message);
|
|
22559
22560
|
this.stack = n.stack, n.name = this.name;
|
|
22560
22561
|
}
|
|
22561
22562
|
gu$2.prototype = Object.create(Error.prototype);
|
|
22562
|
-
const
|
|
22563
|
+
const vm$1 = (r22) => {
|
|
22563
22564
|
const { nodes: e, lists: t, docx: n } = r22;
|
|
22564
22565
|
if (e.length === 0 || e[0].name !== "w:p")
|
|
22565
22566
|
return { nodes: [], consumed: 0 };
|
|
@@ -22578,9 +22579,9 @@ Actual: ` + p3.attribValue
|
|
|
22578
22579
|
};
|
|
22579
22580
|
} else
|
|
22580
22581
|
return { nodes: [], consumed: 0, lists: t };
|
|
22581
|
-
},
|
|
22582
|
+
}, Cm$1 = {
|
|
22582
22583
|
handlerName: "listHandler",
|
|
22583
|
-
handler:
|
|
22584
|
+
handler: vm$1
|
|
22584
22585
|
};
|
|
22585
22586
|
function wu$2({
|
|
22586
22587
|
listItems: r22,
|
|
@@ -22609,7 +22610,7 @@ Actual: ` + p3.attribValue
|
|
|
22609
22610
|
P3 && g[g.length - 1]?.content.push(P3), N3.seen = true;
|
|
22610
22611
|
continue;
|
|
22611
22612
|
}
|
|
22612
|
-
const { attributes: q, elements: H3, marks: D3 = [] } =
|
|
22613
|
+
const { attributes: q, elements: H3, marks: D3 = [] } = Lt$2(N3), K3 = D3.find((P3) => P3.type === "textStyle"), {
|
|
22613
22614
|
listType: oe2,
|
|
22614
22615
|
listOrderingType: ee,
|
|
22615
22616
|
ilvl: Z,
|
|
@@ -22619,15 +22620,15 @@ Actual: ` + p3.attribValue
|
|
|
22619
22620
|
lvlText: Y,
|
|
22620
22621
|
lvlJc: de2,
|
|
22621
22622
|
numId: J3
|
|
22622
|
-
} =
|
|
22623
|
+
} = Bm$1(N3, n, u);
|
|
22623
22624
|
S = ee;
|
|
22624
|
-
const te2 = parseInt(Z), ie = i3 === te2 && J3 === s,
|
|
22625
|
+
const te2 = parseInt(Z), ie = i3 === te2 && J3 === s, L3 = Fm$1({
|
|
22625
22626
|
firstListId: J3,
|
|
22626
22627
|
secondListId: s,
|
|
22627
22628
|
level: te2,
|
|
22628
22629
|
pStyleId: null,
|
|
22629
22630
|
docx: u
|
|
22630
|
-
}), j = J3 !== s && !
|
|
22631
|
+
}), j = J3 !== s && !L3, V3 = n < te2 || n === te2 && j && I3 === n;
|
|
22631
22632
|
c3[s] || (c3[s] = {}), c3[s][n] || (c3[s][n] = 0);
|
|
22632
22633
|
const $ = {};
|
|
22633
22634
|
if (ie && !V3) {
|
|
@@ -22635,7 +22636,7 @@ Actual: ` + p3.attribValue
|
|
|
22635
22636
|
const P3 = [];
|
|
22636
22637
|
let p3 = {
|
|
22637
22638
|
type: "paragraph",
|
|
22638
|
-
content: f3.handler({ ...t, nodes: [q.paragraphProperties, ...H3] })?.filter((
|
|
22639
|
+
content: f3.handler({ ...t, nodes: [q.paragraphProperties, ...H3] })?.filter((_) => _)
|
|
22639
22640
|
};
|
|
22640
22641
|
p3.content && (p3 = {
|
|
22641
22642
|
...p3,
|
|
@@ -22647,23 +22648,23 @@ Actual: ` + p3.attribValue
|
|
|
22647
22648
|
}), P3.push(p3), I3 = n;
|
|
22648
22649
|
let m = [];
|
|
22649
22650
|
if (S !== "bullet" && (m = [...o, c3[s][n]]), !o.length && i3 > 0) {
|
|
22650
|
-
const
|
|
22651
|
-
if (
|
|
22651
|
+
const _ = c3[s];
|
|
22652
|
+
if (_) {
|
|
22652
22653
|
const W = [];
|
|
22653
|
-
Object.keys(
|
|
22654
|
-
W.push(
|
|
22654
|
+
Object.keys(_).forEach((re2) => {
|
|
22655
|
+
W.push(_[re2]);
|
|
22655
22656
|
}), m = W;
|
|
22656
22657
|
}
|
|
22657
22658
|
}
|
|
22658
|
-
const E3 = N3.elements.find((
|
|
22659
|
+
const E3 = N3.elements.find((_) => _.name === "w:pPr")?.elements.find((_) => _.name === "w:ind");
|
|
22659
22660
|
if (E3) {
|
|
22660
|
-
const
|
|
22661
|
-
E3.attributes["w:left"] !== void 0 && (
|
|
22661
|
+
const _ = {};
|
|
22662
|
+
E3.attributes["w:left"] !== void 0 && (_.left = xe$1(E3.attributes["w:left"])), E3.attributes["w:right"] !== void 0 && (_.right = xe$1(E3.attributes["w:right"])), E3.attributes["w:firstLine"] !== void 0 && (_.firstLine = xe$1(E3.attributes["w:firstLine"])), E3.attributes["w:hanging"] !== void 0 && (_.hanging = xe$1(E3.attributes["w:hanging"])), $.indent = _;
|
|
22662
22663
|
}
|
|
22663
22664
|
ae2 && ($.listParagraphProperties = ae2), ce2 && ($.listRunProperties = ce2), $.textStyle = K3, $.order = se, $.lvlText = Y, $.lvlJc = K3?.attrs.textAlign, $.listLevel = m, $.listNumberingType = ee, $.attributes = {
|
|
22664
22665
|
parentAttributes: N3?.attributes || null
|
|
22665
22666
|
};
|
|
22666
|
-
const b = e?.elements?.find((
|
|
22667
|
+
const b = e?.elements?.find((_) => _.name === "w:rPr");
|
|
22667
22668
|
b && ($.attributes.originalInlineRunProps = b), $.numId = J3, u && ($.spacing = xu$2(N3, u));
|
|
22668
22669
|
const x3 = Ro$2(P3, $, []);
|
|
22669
22670
|
g.push(x3);
|
|
@@ -22742,7 +22743,7 @@ Actual: ` + p3.attribValue
|
|
|
22742
22743
|
marks: t
|
|
22743
22744
|
};
|
|
22744
22745
|
}
|
|
22745
|
-
const
|
|
22746
|
+
const Sm$1 = [
|
|
22746
22747
|
"decimal",
|
|
22747
22748
|
// eg: 1, 2, 3, 4, 5, ...
|
|
22748
22749
|
"decimalZero",
|
|
@@ -22767,7 +22768,7 @@ Actual: ` + p3.attribValue
|
|
|
22767
22768
|
// eg: (0, 1, 2, ..., 9, 10, 11, 12, ..., 19, 1A, 1B, 1C, ..., 1Z, 20, 21, ..., 2Z)
|
|
22768
22769
|
"none"
|
|
22769
22770
|
// No bullet
|
|
22770
|
-
],
|
|
22771
|
+
], Tm$1 = [
|
|
22771
22772
|
"bullet",
|
|
22772
22773
|
// A standard bullet point (•)
|
|
22773
22774
|
"square",
|
|
@@ -22776,7 +22777,7 @@ Actual: ` + p3.attribValue
|
|
|
22776
22777
|
// Circle bullets (◦)
|
|
22777
22778
|
"disc"
|
|
22778
22779
|
// Disc bullets (●)
|
|
22779
|
-
],
|
|
22780
|
+
], Fm$1 = ({ firstListId: r22, secondListId: e, level: t, pStyleId: n, docx: i3 }) => {
|
|
22780
22781
|
const { numFmt: s, lvlText: o, lvlJc: a } = br$2(r22, t, n, i3), {
|
|
22781
22782
|
numFmt: u,
|
|
22782
22783
|
lvlText: f3,
|
|
@@ -22806,7 +22807,7 @@ Actual: ` + p3.attribValue
|
|
|
22806
22807
|
}
|
|
22807
22808
|
const a = o.elements, u = a.filter((N3) => N3.name === "w:abstractNum"), g = a.filter((N3) => N3.name === "w:num").find((N3) => N3.attributes["w:numId"] === r22)?.elements[0].attributes["w:val"], h3 = u?.find(
|
|
22808
22809
|
(N3) => N3.attributes["w:abstractNumId"] === g
|
|
22809
|
-
), S =
|
|
22810
|
+
), S = km$1(h3, e), A = h3?.elements?.find((N3) => N3.name === "w:numStyleLink")?.attributes["w:val"];
|
|
22810
22811
|
if (A) {
|
|
22811
22812
|
const N3 = Po$2(A, n);
|
|
22812
22813
|
return br$2(N3.numId, e, null, n);
|
|
@@ -22814,7 +22815,7 @@ Actual: ` + p3.attribValue
|
|
|
22814
22815
|
const F3 = S?.elements?.find((N3) => N3.name === "w:start")?.attributes["w:val"], w = S?.elements?.find((N3) => N3.name === "w:numFmt")?.attributes["w:val"], k = S?.elements?.find((N3) => N3.name === "w:lvlText").attributes["w:val"], I3 = S?.elements?.find((N3) => N3.name === "w:lvlJc").attributes["w:val"], C = S?.elements?.find((N3) => N3.name === "w:pPr"), B = S?.elements?.find((N3) => N3.name === "w:rPr");
|
|
22815
22816
|
return { start: F3, numFmt: w, lvlText: k, lvlJc: I3, pPr: C, rPr: B };
|
|
22816
22817
|
};
|
|
22817
|
-
function
|
|
22818
|
+
function Bm$1(r22, e, t) {
|
|
22818
22819
|
if (!r22) return;
|
|
22819
22820
|
const { attributes: n } = r22, { paragraphProperties: i3 = {} } = n, { elements: s = [] } = i3, u = r22.elements.find((D3) => D3.name === "w:pPr")?.elements?.find((D3) => D3.name === "w:pStyle")?.attributes["w:val"], f3 = kr$1({ node: r22, styleId: u, docx: t });
|
|
22820
22821
|
if (!f3) return {};
|
|
@@ -22827,10 +22828,10 @@ Actual: ` + p3.attribValue
|
|
|
22827
22828
|
rPr: B
|
|
22828
22829
|
} = br$2(g, e, A, t);
|
|
22829
22830
|
let N3, q;
|
|
22830
|
-
C && (N3 =
|
|
22831
|
+
C && (N3 = Nm$1(C)), B && (q = Im$1(B));
|
|
22831
22832
|
let H3;
|
|
22832
|
-
if (
|
|
22833
|
-
else if (
|
|
22833
|
+
if (Tm$1.includes(w?.toLowerCase())) H3 = "bulletList";
|
|
22834
|
+
else if (Sm$1.includes(w)) H3 = "orderedList";
|
|
22834
22835
|
else
|
|
22835
22836
|
throw new gu$2("ListParsingError", `Unknown list type found during import: ${w}`, {
|
|
22836
22837
|
listOrderingType: w,
|
|
@@ -22844,10 +22845,10 @@ Actual: ` + p3.attribValue
|
|
|
22844
22845
|
});
|
|
22845
22846
|
return { listType: H3, listOrderingType: w, ilvl: S, numId: g, listrPrs: q, listpPrs: N3, start: F3, lvlText: k, lvlJc: I3 };
|
|
22846
22847
|
}
|
|
22847
|
-
function
|
|
22848
|
+
function km$1(r22, e) {
|
|
22848
22849
|
return r22?.elements?.find((t) => Number(t.attributes["w:ilvl"]) === e);
|
|
22849
22850
|
}
|
|
22850
|
-
function
|
|
22851
|
+
function Nm$1(r22) {
|
|
22851
22852
|
const { elements: e } = r22, t = ["w:ind", "w:jc", "w:tabs"], n = {};
|
|
22852
22853
|
return e && e.forEach((i3) => {
|
|
22853
22854
|
t.includes(i3.name);
|
|
@@ -22857,7 +22858,7 @@ Actual: ` + p3.attribValue
|
|
|
22857
22858
|
});
|
|
22858
22859
|
}), n;
|
|
22859
22860
|
}
|
|
22860
|
-
function
|
|
22861
|
+
function Im$1(r22) {
|
|
22861
22862
|
const { elements: e } = r22, t = [
|
|
22862
22863
|
"w:rFonts",
|
|
22863
22864
|
"w:b",
|
|
@@ -22888,7 +22889,7 @@ Actual: ` + p3.attribValue
|
|
|
22888
22889
|
});
|
|
22889
22890
|
}), n;
|
|
22890
22891
|
}
|
|
22891
|
-
const
|
|
22892
|
+
const Rm$1 = (r22) => {
|
|
22892
22893
|
const { nodes: e, docx: t, nodeListHandler: n, filename: i3 } = r22;
|
|
22893
22894
|
if (e.length === 0 || e[0].name !== "w:p")
|
|
22894
22895
|
return { nodes: [], consumed: 0 };
|
|
@@ -22905,7 +22906,7 @@ Actual: ` + p3.attribValue
|
|
|
22905
22906
|
c3.nodes.length === 1 && (o = c3.nodes[0]);
|
|
22906
22907
|
const g = s.elements?.find((w) => w.name === "w:pPr"), h3 = g?.elements?.find((w) => w.name === "w:pStyle"), S = g?.elements?.find((w) => w.name === "w:rPr");
|
|
22907
22908
|
if (S && (o.attrs.marksAttrs = Bt$2(S, [])), h3 && (o.attrs.styleId = h3.attributes["w:val"]), t) {
|
|
22908
|
-
const w =
|
|
22909
|
+
const w = Pm$1(s, t, o.attrs.styleId);
|
|
22909
22910
|
o.attrs.indent || (o.attrs.indent = {}), w.left && (o.attrs.indent.left = w.left), w.right && (o.attrs.indent.right = w.right), w.firstLine && (o.attrs.indent.firstLine = w.firstLine), w.hanging && (o.attrs.indent.hanging = w.hanging), w.textIndent && (o.attrs.textIndent = `${w.textIndent}in`);
|
|
22910
22911
|
}
|
|
22911
22912
|
const T3 = g?.elements?.find((w) => w.name === "w:jc");
|
|
@@ -22921,7 +22922,7 @@ Actual: ` + p3.attribValue
|
|
|
22921
22922
|
...o,
|
|
22922
22923
|
content: hu$2(o.content)
|
|
22923
22924
|
}), { nodes: o ? [o] : [], consumed: 1 };
|
|
22924
|
-
},
|
|
22925
|
+
}, Pm$1 = (r22, e, t = "") => {
|
|
22925
22926
|
const n = {
|
|
22926
22927
|
left: 0,
|
|
22927
22928
|
right: 0,
|
|
@@ -22963,11 +22964,11 @@ Actual: ` + p3.attribValue
|
|
|
22963
22964
|
spacing: F3 || T3 || A,
|
|
22964
22965
|
indent: I3 || w || k
|
|
22965
22966
|
};
|
|
22966
|
-
},
|
|
22967
|
+
}, Om$1 = {
|
|
22967
22968
|
handlerName: "paragraphNodeHandler",
|
|
22968
|
-
handler:
|
|
22969
|
+
handler: Rm$1
|
|
22969
22970
|
};
|
|
22970
|
-
function
|
|
22971
|
+
function Lm$1(r22, e) {
|
|
22971
22972
|
const t = { lineSpaceBefore: null, lineSpaceAfter: null };
|
|
22972
22973
|
if (!r22) return t;
|
|
22973
22974
|
const n = e["word/styles.xml"];
|
|
@@ -23077,29 +23078,29 @@ Actual: ` + p3.attribValue
|
|
|
23077
23078
|
});
|
|
23078
23079
|
}
|
|
23079
23080
|
return e;
|
|
23080
|
-
},
|
|
23081
|
+
}, _m$1 = (r22) => nodeListHandler.handler({ ...r22, nodes: node.elements }), qm$1 = (r22) => {
|
|
23081
23082
|
const { nodes: e } = r22;
|
|
23082
23083
|
if (e.length === 0 || e[0].name !== "w:sdt")
|
|
23083
23084
|
return { nodes: [], consumed: 0 };
|
|
23084
23085
|
const t = e[0], o = t.elements.find((c3) => c3.name === "w:sdtPr")?.elements.find((c3) => c3.name === "w:docPartObj")?.elements.find((c3) => c3.name === "w:docPartGallery")?.attributes["w:val"];
|
|
23085
23086
|
if (!o)
|
|
23086
23087
|
return { nodes: [], consumed: 0 };
|
|
23087
|
-
if (!
|
|
23088
|
+
if (!Lo$2[o])
|
|
23088
23089
|
return { nodes: [], consumed: 0 };
|
|
23089
|
-
const a = t?.elements.find((c3) => c3.name === "w:sdtContent"), u =
|
|
23090
|
+
const a = t?.elements.find((c3) => c3.name === "w:sdtContent"), u = Lo$2[o];
|
|
23090
23091
|
return {
|
|
23091
23092
|
nodes: u({ ...r22, nodes: [a] }),
|
|
23092
23093
|
consumed: 1
|
|
23093
23094
|
};
|
|
23094
|
-
},
|
|
23095
|
-
"Table of Contents":
|
|
23096
|
-
},
|
|
23095
|
+
}, Lo$2 = {
|
|
23096
|
+
"Table of Contents": _m$1
|
|
23097
|
+
}, Mm$1 = (r22) => {
|
|
23097
23098
|
const { nodes: e, docx: t, nodeListHandler: n, insideTrackChange: i3 } = r22;
|
|
23098
23099
|
if (e.length === 0 || e[0].name !== "w:sdt")
|
|
23099
23100
|
return { nodes: [], consumed: 0 };
|
|
23100
|
-
const s = e[0], o = s.elements.find((I3) => I3.name === "w:sdtPr"), a = s.elements.find((I3) => I3.name === "w:sdtContent"), { attrs: u, marks: f3 } =
|
|
23101
|
+
const s = e[0], o = s.elements.find((I3) => I3.name === "w:sdtPr"), a = s.elements.find((I3) => I3.name === "w:sdtContent"), { attrs: u, marks: f3 } = Um$1(a);
|
|
23101
23102
|
if (o?.elements.find((I3) => I3.name === "w:docPartObj"))
|
|
23102
|
-
return
|
|
23103
|
+
return qm$1({ nodes: e, docx: t, nodeListHandler: n, insideTrackChange: i3 });
|
|
23103
23104
|
const g = o?.elements.find((I3) => I3.name === "w:alias"), h3 = o?.elements.find((I3) => I3.name === "w:tag"), S = o?.elements.find((I3) => I3.name === "w:fieldType")?.attributes["w:val"], T3 = o?.elements.find((I3) => I3.name === "w:fieldTypeShort")?.attributes["w:val"], A = o?.elements.find((I3) => I3.name === "w:fieldColor")?.attributes["w:val"], F3 = o?.elements.find((I3) => I3.name === "w:fieldMultipleImage")?.attributes["w:val"], w = {
|
|
23104
23105
|
type: T3,
|
|
23105
23106
|
fieldId: h3?.attributes["w:val"],
|
|
@@ -23123,7 +23124,7 @@ Actual: ` + p3.attribValue
|
|
|
23123
23124
|
nodes: [k],
|
|
23124
23125
|
consumed: 1
|
|
23125
23126
|
};
|
|
23126
|
-
},
|
|
23127
|
+
}, Um$1 = (r22 = {}) => {
|
|
23127
23128
|
const t = r22.elements?.find((a) => a.name === "w:r")?.elements?.find((a) => a.name === "w:rPr");
|
|
23128
23129
|
if (!t) return {};
|
|
23129
23130
|
const i3 = Bt$2(t, []) || [], s = [];
|
|
@@ -23145,17 +23146,17 @@ Actual: ` + p3.attribValue
|
|
|
23145
23146
|
attrs: o,
|
|
23146
23147
|
marks: i3
|
|
23147
23148
|
};
|
|
23148
|
-
},
|
|
23149
|
+
}, jm$1 = {
|
|
23149
23150
|
handlerName: "annotationNodeHandler",
|
|
23150
|
-
handler:
|
|
23151
|
-
},
|
|
23151
|
+
handler: Mm$1
|
|
23152
|
+
}, Hm$1 = (r22) => {
|
|
23152
23153
|
const { nodes: e, docx: t, nodeListHandler: n } = r22;
|
|
23153
23154
|
if (!e || e.length === 0)
|
|
23154
23155
|
return { nodes: [], consumed: 0 };
|
|
23155
|
-
const i3 = e[0], { name: s } = i3, { attributes: o, elements: a, marks: u = [] } =
|
|
23156
|
+
const i3 = e[0], { name: s } = i3, { attributes: o, elements: a, marks: u = [] } = Lt$2(i3);
|
|
23156
23157
|
if (s === "w:sdt")
|
|
23157
23158
|
return { nodes: [], consumed: 0 };
|
|
23158
|
-
if (
|
|
23159
|
+
if (dm$1(i3))
|
|
23159
23160
|
return {
|
|
23160
23161
|
nodes: [{
|
|
23161
23162
|
type: lr$2(i3),
|
|
@@ -23175,7 +23176,7 @@ Actual: ` + p3.attribValue
|
|
|
23175
23176
|
consumed: 0,
|
|
23176
23177
|
unhandled: true
|
|
23177
23178
|
};
|
|
23178
|
-
const f3 = [], c3 =
|
|
23179
|
+
const f3 = [], c3 = Vm$1(i3);
|
|
23179
23180
|
if (a && a.length) {
|
|
23180
23181
|
const h3 = a.map((A) => (A.marks || (A.marks = []), A.marks.push(...u), A)), S = { ...r22, nodes: h3, parentStyleId: c3 }, T3 = n.handler(S);
|
|
23181
23182
|
f3.push(...T3);
|
|
@@ -23186,13 +23187,13 @@ Actual: ` + p3.attribValue
|
|
|
23186
23187
|
attrs: { ...o },
|
|
23187
23188
|
marks: []
|
|
23188
23189
|
}], consumed: 1 };
|
|
23189
|
-
},
|
|
23190
|
+
}, Vm$1 = (r22) => {
|
|
23190
23191
|
const t = r22.elements?.find((n) => n.name === "w:pPr")?.elements?.find((n) => n.name === "w:pStyle");
|
|
23191
23192
|
return t ? t.attributes["w:val"] : null;
|
|
23192
|
-
},
|
|
23193
|
+
}, zm$1 = {
|
|
23193
23194
|
handlerName: "standardNodeHandler",
|
|
23194
|
-
handler:
|
|
23195
|
-
},
|
|
23195
|
+
handler: Hm$1
|
|
23196
|
+
}, Gm$1 = (r22) => {
|
|
23196
23197
|
const { nodes: e } = r22;
|
|
23197
23198
|
return e.length === 0 || e[0].name !== "w:br" ? { nodes: [], consumed: 0 } : {
|
|
23198
23199
|
nodes: [{
|
|
@@ -23200,10 +23201,10 @@ Actual: ` + p3.attribValue
|
|
|
23200
23201
|
}],
|
|
23201
23202
|
consumed: 1
|
|
23202
23203
|
};
|
|
23203
|
-
},
|
|
23204
|
+
}, Wm$1 = {
|
|
23204
23205
|
handlerName: "lineBreakNodeHandler",
|
|
23205
|
-
handler:
|
|
23206
|
-
},
|
|
23206
|
+
handler: Gm$1
|
|
23207
|
+
}, Jm$1 = (r22) => {
|
|
23207
23208
|
const { nodes: e, nodeListHandler: t } = r22;
|
|
23208
23209
|
if (e.length === 0 || e[0].name !== "w:bookmarkStart")
|
|
23209
23210
|
return { nodes: [], consumed: 0 };
|
|
@@ -23214,26 +23215,26 @@ Actual: ` + p3.attribValue
|
|
|
23214
23215
|
return console.error("Standard node handler not found"), { nodes: [], consumed: 0 };
|
|
23215
23216
|
const s = { ...r22, nodes: [n] }, o = i3(s);
|
|
23216
23217
|
return o.nodes.length === 1 && (o.nodes[0].attrs.name = n.attributes["w:name"], o.nodes[0].attrs.id = n.attributes["w:id"]), o;
|
|
23217
|
-
},
|
|
23218
|
+
}, Km$1 = {
|
|
23218
23219
|
handlerName: "bookmarkNodeHandler",
|
|
23219
|
-
handler:
|
|
23220
|
-
},
|
|
23220
|
+
handler: Jm$1
|
|
23221
|
+
}, $m$1 = (r22) => {
|
|
23221
23222
|
const { nodes: e } = r22;
|
|
23222
23223
|
return e.length === 0 || e[0].name !== "sd:autoPageNumber" ? { nodes: [], consumed: 0 } : { nodes: [{
|
|
23223
23224
|
type: "page-number"
|
|
23224
23225
|
}], consumed: 1 };
|
|
23225
|
-
},
|
|
23226
|
+
}, Xm$1 = {
|
|
23226
23227
|
handlerName: "autoPageNumberHandler",
|
|
23227
|
-
handler:
|
|
23228
|
-
},
|
|
23228
|
+
handler: $m$1
|
|
23229
|
+
}, Ym$1 = (r22) => {
|
|
23229
23230
|
const { nodes: e } = r22;
|
|
23230
23231
|
return e.length === 0 || e[0].name !== "sd:totalPageNumber" ? { nodes: [], consumed: 0 } : { nodes: [{
|
|
23231
23232
|
type: "total-page-number"
|
|
23232
23233
|
}], consumed: 1 };
|
|
23233
|
-
}, $
|
|
23234
|
+
}, Zm$1 = {
|
|
23234
23235
|
handlerName: "autoTotalPageCountEntity",
|
|
23235
|
-
handler:
|
|
23236
|
-
},
|
|
23236
|
+
handler: Ym$1
|
|
23237
|
+
}, Qm$1 = (r22) => {
|
|
23237
23238
|
const { nodes: e } = r22;
|
|
23238
23239
|
if (e.length === 0 || e[0].name !== "w:tab")
|
|
23239
23240
|
return { nodes: [], consumed: 0 };
|
|
@@ -23245,11 +23246,11 @@ Actual: ` + p3.attribValue
|
|
|
23245
23246
|
},
|
|
23246
23247
|
content: []
|
|
23247
23248
|
}], consumed: 1 };
|
|
23248
|
-
},
|
|
23249
|
+
}, ep$2 = {
|
|
23249
23250
|
handlerName: "tabNodeHandler",
|
|
23250
|
-
handler:
|
|
23251
|
+
handler: Qm$1
|
|
23251
23252
|
};
|
|
23252
|
-
function
|
|
23253
|
+
function tp$2({ docx: r22 }) {
|
|
23253
23254
|
const e = xr$2(), t = r22["word/comments.xml"];
|
|
23254
23255
|
if (!t) return;
|
|
23255
23256
|
const { elements: n } = t;
|
|
@@ -23275,16 +23276,16 @@ Actual: ` + p3.attribValue
|
|
|
23275
23276
|
trackedDeletedText: k
|
|
23276
23277
|
};
|
|
23277
23278
|
});
|
|
23278
|
-
return
|
|
23279
|
+
return rp$2({ docx: r22, comments: s });
|
|
23279
23280
|
}
|
|
23280
|
-
const
|
|
23281
|
+
const rp$2 = ({ docx: r22, comments: e }) => {
|
|
23281
23282
|
const t = r22["word/commentsExtended.xml"];
|
|
23282
23283
|
if (!t) return [];
|
|
23283
23284
|
const { elements: n } = t, { elements: i3 } = n[0], s = i3.filter((o) => o.name === "w15:commentEx");
|
|
23284
23285
|
return e.map((o) => {
|
|
23285
23286
|
const a = s.find((h3) => h3.attributes["w15:paraId"] === o.paraId);
|
|
23286
23287
|
if (!a) return { ...o };
|
|
23287
|
-
const { isDone: u, paraIdParent: f3 } =
|
|
23288
|
+
const { isDone: u, paraIdParent: f3 } = np$2(a);
|
|
23288
23289
|
let c3;
|
|
23289
23290
|
return f3 && (c3 = e.find((h3) => h3.paraId === f3)), {
|
|
23290
23291
|
...o,
|
|
@@ -23292,11 +23293,11 @@ Actual: ` + p3.attribValue
|
|
|
23292
23293
|
parentCommentId: c3?.commentId
|
|
23293
23294
|
};
|
|
23294
23295
|
});
|
|
23295
|
-
},
|
|
23296
|
+
}, np$2 = (r22) => {
|
|
23296
23297
|
const { attributes: e } = r22, t = e["w15:paraId"], n = e["w15:done"] === "1", i3 = e["w15:paraIdParent"];
|
|
23297
23298
|
return { paraId: t, isDone: n, paraIdParent: i3 };
|
|
23298
|
-
},
|
|
23299
|
-
const n = je$2(
|
|
23299
|
+
}, ip$2 = (r22, e, t) => {
|
|
23300
|
+
const n = je$2($d$2(r22));
|
|
23300
23301
|
if (!n) return null;
|
|
23301
23302
|
if (e?.telemetry) {
|
|
23302
23303
|
const o = Object.keys(r22).map((a) => {
|
|
@@ -23321,7 +23322,7 @@ Actual: ` + p3.attribValue
|
|
|
23321
23322
|
}
|
|
23322
23323
|
const i3 = xr$2(), s = n.elements[0].elements.find((o) => o.name === "w:body");
|
|
23323
23324
|
if (s) {
|
|
23324
|
-
const o = s, a = ["w:sectPr"], u = o.elements?.filter((S) => !a.includes(S.name)) ?? [], f3 =
|
|
23325
|
+
const o = s, a = ["w:sectPr"], u = o.elements?.filter((S) => !a.includes(S.name)) ?? [], f3 = tp$2({ docx: r22 }), c3 = {}, h3 = {
|
|
23325
23326
|
type: "doc",
|
|
23326
23327
|
content: i3.handler({
|
|
23327
23328
|
nodes: u,
|
|
@@ -23344,37 +23345,37 @@ Actual: ` + p3.attribValue
|
|
|
23344
23345
|
), {
|
|
23345
23346
|
pmDoc: h3,
|
|
23346
23347
|
savedTagsToRestore: o,
|
|
23347
|
-
pageStyles:
|
|
23348
|
+
pageStyles: op$2(o, r22, e, t),
|
|
23348
23349
|
comments: f3,
|
|
23349
|
-
linkedStyles:
|
|
23350
|
-
numbering:
|
|
23350
|
+
linkedStyles: ap$2(r22),
|
|
23351
|
+
numbering: cp$2(r22)
|
|
23351
23352
|
};
|
|
23352
23353
|
}
|
|
23353
23354
|
return null;
|
|
23354
23355
|
}, xr$2 = () => {
|
|
23355
23356
|
const r22 = [
|
|
23357
|
+
bm$1,
|
|
23358
|
+
Om$1,
|
|
23359
|
+
Cm$1,
|
|
23360
|
+
Am$1,
|
|
23361
|
+
Wm$1,
|
|
23362
|
+
jm$1,
|
|
23363
|
+
Km$1,
|
|
23356
23364
|
gm$1,
|
|
23357
|
-
|
|
23358
|
-
|
|
23359
|
-
|
|
23360
|
-
|
|
23361
|
-
|
|
23362
|
-
|
|
23363
|
-
|
|
23364
|
-
tm$1,
|
|
23365
|
-
fm$1,
|
|
23366
|
-
Kd$2,
|
|
23367
|
-
Ym$1,
|
|
23368
|
-
Jm$1,
|
|
23369
|
-
$m$1,
|
|
23370
|
-
jm$1
|
|
23365
|
+
im$1,
|
|
23366
|
+
pm$1,
|
|
23367
|
+
Yd$2,
|
|
23368
|
+
ep$2,
|
|
23369
|
+
Xm$1,
|
|
23370
|
+
Zm$1,
|
|
23371
|
+
zm$1
|
|
23371
23372
|
//this should be the last one, bcs this parses everything!!!
|
|
23372
23373
|
];
|
|
23373
23374
|
return {
|
|
23374
|
-
handler:
|
|
23375
|
+
handler: sp$2(r22),
|
|
23375
23376
|
handlerEntities: r22
|
|
23376
23377
|
};
|
|
23377
|
-
},
|
|
23378
|
+
}, sp$2 = (r22) => {
|
|
23378
23379
|
const e = (n, i3, s, o) => !n || i3 < 0 || i3 >= n.length ? {
|
|
23379
23380
|
elementIndex: i3,
|
|
23380
23381
|
error: "index_out_of_bounds",
|
|
@@ -23459,7 +23460,7 @@ Actual: ` + p3.attribValue
|
|
|
23459
23460
|
};
|
|
23460
23461
|
return t;
|
|
23461
23462
|
};
|
|
23462
|
-
function
|
|
23463
|
+
function op$2(r22, e, t, n) {
|
|
23463
23464
|
const i3 = r22.elements?.find((o) => o.name === "w:sectPr"), s = {};
|
|
23464
23465
|
return i3?.elements?.forEach((o) => {
|
|
23465
23466
|
const { name: a, attributes: u } = o;
|
|
@@ -23497,9 +23498,9 @@ Actual: ` + p3.attribValue
|
|
|
23497
23498
|
case "w:titlePg":
|
|
23498
23499
|
t.headerIds.titlePg = true;
|
|
23499
23500
|
}
|
|
23500
|
-
}),
|
|
23501
|
+
}), lp$2(e, t, n), s.alternateHeaders = fp$2(e), s;
|
|
23501
23502
|
}
|
|
23502
|
-
function
|
|
23503
|
+
function ap$2(r22) {
|
|
23503
23504
|
const e = r22["word/styles.xml"];
|
|
23504
23505
|
if (!e) return [];
|
|
23505
23506
|
const { elements: t } = e.elements[0], n = t.filter((o) => o.name === "w:style");
|
|
@@ -23509,7 +23510,7 @@ Actual: ` + p3.attribValue
|
|
|
23509
23510
|
});
|
|
23510
23511
|
const s = [];
|
|
23511
23512
|
return n.forEach((o) => {
|
|
23512
|
-
const a = o.attributes["w:styleId"], u =
|
|
23513
|
+
const a = o.attributes["w:styleId"], u = Lm$1(a, r22), f3 = {
|
|
23513
23514
|
id: o.attributes["w:styleId"],
|
|
23514
23515
|
type: o.attributes["w:type"],
|
|
23515
23516
|
definition: u,
|
|
@@ -23518,7 +23519,7 @@ Actual: ` + p3.attribValue
|
|
|
23518
23519
|
s.push(f3);
|
|
23519
23520
|
}), s;
|
|
23520
23521
|
}
|
|
23521
|
-
function
|
|
23522
|
+
function up$2(r22) {
|
|
23522
23523
|
if (!r22) return null;
|
|
23523
23524
|
const e = je$2(r22), { elements: t } = e.elements[0];
|
|
23524
23525
|
return Object.keys(vo$3).forEach((n) => {
|
|
@@ -23528,10 +23529,10 @@ Actual: ` + p3.attribValue
|
|
|
23528
23529
|
}
|
|
23529
23530
|
}), e;
|
|
23530
23531
|
}
|
|
23531
|
-
const
|
|
23532
|
+
const lp$2 = (r22, e, t) => {
|
|
23532
23533
|
const i3 = r22["word/_rels/document.xml.rels"].elements.find((h3) => h3.name === "Relationships"), { elements: s } = i3, o = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/header", a = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer", u = s.filter((h3) => h3.attributes.Type === o), f3 = s.filter((h3) => h3.attributes.Type === a), g = (Eu$2(r22["word/document.xml"]) || []).flatMap((h3) => h3.elements);
|
|
23533
23534
|
u.forEach((h3) => {
|
|
23534
|
-
const { rId: S, referenceFile: T3, currentFileName: A } =
|
|
23535
|
+
const { rId: S, referenceFile: T3, currentFileName: A } = _o$2(h3, r22), w = g.find((C) => C.name === "w:headerReference" && C.attributes["r:id"] === S)?.attributes["w:type"], k = xr$2(), I3 = k.handler({
|
|
23535
23536
|
nodes: T3.elements[0].elements,
|
|
23536
23537
|
nodeListHandler: k,
|
|
23537
23538
|
docx: r22,
|
|
@@ -23541,7 +23542,7 @@ Actual: ` + p3.attribValue
|
|
|
23541
23542
|
});
|
|
23542
23543
|
e.headers[S] = { type: "doc", content: [...I3] }, e.headerIds[w] = S;
|
|
23543
23544
|
}), f3.forEach((h3) => {
|
|
23544
|
-
const { rId: S, referenceFile: T3, currentFileName: A } =
|
|
23545
|
+
const { rId: S, referenceFile: T3, currentFileName: A } = _o$2(h3, r22), w = g.find((C) => C.name === "w:footerReference" && C.attributes["r:id"] === S)?.attributes["w:type"], k = xr$2(), I3 = k.handler({
|
|
23545
23546
|
nodes: T3.elements[0].elements,
|
|
23546
23547
|
nodeListHandler: k,
|
|
23547
23548
|
docx: r22,
|
|
@@ -23555,7 +23556,7 @@ Actual: ` + p3.attribValue
|
|
|
23555
23556
|
for (const t in r22)
|
|
23556
23557
|
r22[t] === "w:sectPr" ? e.push(r22) : typeof r22[t] == "object" && Eu$2(r22[t], e);
|
|
23557
23558
|
return e;
|
|
23558
|
-
},
|
|
23559
|
+
}, _o$2 = (r22, e) => {
|
|
23559
23560
|
const t = r22.attributes.Id, n = r22.attributes.Target, i3 = e[`word/${n}`];
|
|
23560
23561
|
return {
|
|
23561
23562
|
rId: t,
|
|
@@ -23563,7 +23564,7 @@ Actual: ` + p3.attribValue
|
|
|
23563
23564
|
currentFileName: n
|
|
23564
23565
|
};
|
|
23565
23566
|
};
|
|
23566
|
-
function
|
|
23567
|
+
function cp$2(r22) {
|
|
23567
23568
|
let e = r22["word/numbering.xml"];
|
|
23568
23569
|
(!e || !e.elements?.length || !e.elements[0].elements?.length) && (e = nu$2);
|
|
23569
23570
|
const t = e.elements[0].elements, n = t.filter((a) => a.name === "w:abstractNum"), i3 = t.filter((a) => a.name === "w:num"), s = {};
|
|
@@ -23580,7 +23581,7 @@ Actual: ` + p3.attribValue
|
|
|
23580
23581
|
definitions: o
|
|
23581
23582
|
};
|
|
23582
23583
|
}
|
|
23583
|
-
const
|
|
23584
|
+
const fp$2 = (r22) => {
|
|
23584
23585
|
const e = r22["word/settings.xml"];
|
|
23585
23586
|
if (!e || !e.elements?.length) return false;
|
|
23586
23587
|
const { elements: t = [] } = e.elements[0];
|
|
@@ -23594,7 +23595,7 @@ Actual: ` + p3.attribValue
|
|
|
23594
23595
|
}
|
|
23595
23596
|
parseFromXml() {
|
|
23596
23597
|
this.docx?.forEach((e) => {
|
|
23597
|
-
this.convertedXml[e.name] = this.parseXmlToJson(e.content), e.name === "word/document.xml" && (this.documentAttributes = this.convertedXml[e.name].elements[0]?.attributes), e.name === "word/styles.xml" && (this.convertedXml[e.name] =
|
|
23598
|
+
this.convertedXml[e.name] = this.parseXmlToJson(e.content), e.name === "word/document.xml" && (this.documentAttributes = this.convertedXml[e.name].elements[0]?.attributes), e.name === "word/styles.xml" && (this.convertedXml[e.name] = up$2(this.convertedXml[e.name]));
|
|
23598
23599
|
}), this.initialJSON = this.convertedXml["word/document.xml"], this.initialJSON || (this.initialJSON = this.parseXmlToJson(this.xml)), this.declaration = this.initialJSON?.declaration;
|
|
23599
23600
|
}
|
|
23600
23601
|
parseXmlToJson(e) {
|
|
@@ -23613,7 +23614,7 @@ Actual: ` + p3.attribValue
|
|
|
23613
23614
|
return;
|
|
23614
23615
|
}
|
|
23615
23616
|
}
|
|
23616
|
-
static updateDocumentVersion(e = this.convertedXml, t = "0.10.
|
|
23617
|
+
static updateDocumentVersion(e = this.convertedXml, t = "0.10.13") {
|
|
23617
23618
|
const n = "docProps/custom.xml";
|
|
23618
23619
|
e[n] || (e[n] = Fu$2());
|
|
23619
23620
|
const i3 = e["docProps/custom.xml"];
|
|
@@ -23680,14 +23681,14 @@ Actual: ` + p3.attribValue
|
|
|
23680
23681
|
}
|
|
23681
23682
|
getSchema(e) {
|
|
23682
23683
|
this.getDocumentInternalId();
|
|
23683
|
-
const t =
|
|
23684
|
+
const t = ip$2({ ...this.convertedXml, media: this.media }, this, e);
|
|
23684
23685
|
return t ? (this.savedTagsToRestore.push({ ...t.savedTagsToRestore }), this.pageStyles = t.pageStyles, this.numbering = t.numbering, this.comments = t.comments, this.linkedStyles = t.linkedStyles, t.pmDoc) : null;
|
|
23685
23686
|
}
|
|
23686
23687
|
schemaToXml(e, t = false) {
|
|
23687
23688
|
return new ko$2(this).schemaToXml(e, t);
|
|
23688
23689
|
}
|
|
23689
23690
|
async exportToDocx(e, t, n, i3 = false, s, o = []) {
|
|
23690
|
-
const a = o.map((A) =>
|
|
23691
|
+
const a = o.map((A) => rd$2(A)), u = a.map((A, F3) => nd$2(A, F3, a)), { result: f3, params: c3 } = this.exportToXmlJson({
|
|
23691
23692
|
data: e,
|
|
23692
23693
|
editorSchema: t,
|
|
23693
23694
|
comments: o,
|
|
@@ -23709,7 +23710,7 @@ Actual: ` + p3.attribValue
|
|
|
23709
23710
|
});
|
|
23710
23711
|
S = { ...A }, T3 = F3;
|
|
23711
23712
|
}
|
|
23712
|
-
return this.convertedXml = { ...this.convertedXml, ...S }, Ke(this, it$1, Su$2).call(this, [...c3.relationships, ...T3]),
|
|
23713
|
+
return this.convertedXml = { ...this.convertedXml, ...S }, Ke(this, it$1, Su$2).call(this, [...c3.relationships, ...T3]), dp$2(this.convertedXml), Ke(this, it$1, vu$2).call(this, c3), h3;
|
|
23713
23714
|
}
|
|
23714
23715
|
exportToXmlJson({
|
|
23715
23716
|
data: e,
|
|
@@ -23747,7 +23748,7 @@ Actual: ` + p3.attribValue
|
|
|
23747
23748
|
* Update comments files and relationships depending on export type
|
|
23748
23749
|
*/
|
|
23749
23750
|
Cu$2 = function({ defs: e, exportType: t, commentsWithParaIds: n }) {
|
|
23750
|
-
const { documentXml: i3, relationships: s } =
|
|
23751
|
+
const { documentXml: i3, relationships: s } = cd$2({
|
|
23751
23752
|
exportType: t,
|
|
23752
23753
|
convertedXml: this.convertedXml,
|
|
23753
23754
|
defs: e,
|
|
@@ -23773,7 +23774,7 @@ Actual: ` + p3.attribValue
|
|
|
23773
23774
|
...this.convertedXml.media,
|
|
23774
23775
|
...t
|
|
23775
23776
|
}, this.media = this.convertedXml.media, this.addedMedia = t;
|
|
23776
|
-
},
|
|
23777
|
+
}, _t$1(dt$1, "allowedElements", Object.freeze({
|
|
23777
23778
|
"w:document": "doc",
|
|
23778
23779
|
"w:body": "body",
|
|
23779
23780
|
"w:p": "paragraph",
|
|
@@ -23794,7 +23795,7 @@ Actual: ` + p3.attribValue
|
|
|
23794
23795
|
"w:commentRangeStart": "commentRangeStart",
|
|
23795
23796
|
"w:commentRangeEnd": "commentRangeEnd",
|
|
23796
23797
|
"w:commentReference": "commentReference"
|
|
23797
|
-
})),
|
|
23798
|
+
})), _t$1(dt$1, "markTypes", [
|
|
23798
23799
|
{ name: "w:b", type: "bold" },
|
|
23799
23800
|
{ name: "w:bCs", type: "bold" },
|
|
23800
23801
|
{ name: "w:i", type: "italic" },
|
|
@@ -23811,15 +23812,15 @@ Actual: ` + p3.attribValue
|
|
|
23811
23812
|
{ name: "link", type: "link", mark: "link", property: "href" },
|
|
23812
23813
|
{ name: "w:highlight", type: "highlight", mark: "highlight", property: "color" }
|
|
23813
23814
|
// { name: 'w:shd', type: 'highlight', mark: 'highlight', property: 'color'}
|
|
23814
|
-
]),
|
|
23815
|
+
]), _t$1(dt$1, "propertyTypes", Object.freeze({
|
|
23815
23816
|
"w:pPr": "paragraphProperties",
|
|
23816
23817
|
"w:rPr": "runProperties",
|
|
23817
23818
|
"w:sectPr": "sectionProperties",
|
|
23818
23819
|
"w:numPr": "numberingProperties",
|
|
23819
23820
|
"w:tcPr": "tableCellProperties"
|
|
23820
|
-
})),
|
|
23821
|
+
})), _t$1(dt$1, "elements", /* @__PURE__ */ new Set(["w:document", "w:body", "w:p", "w:r", "w:t", "w:delText"]));
|
|
23821
23822
|
let Nt$4 = dt$1;
|
|
23822
|
-
function
|
|
23823
|
+
function dp$2(r22) {
|
|
23823
23824
|
const e = "docProps/custom.xml";
|
|
23824
23825
|
r22[e] || (r22[e] = Fu$2());
|
|
23825
23826
|
const n = r22[e].elements.find((a) => a.name === "Properties");
|
|
@@ -23838,7 +23839,7 @@ Actual: ` + p3.attribValue
|
|
|
23838
23839
|
function Fu$2() {
|
|
23839
23840
|
return zf$2;
|
|
23840
23841
|
}
|
|
23841
|
-
function Bu$2(r22 = 2, e = "0.10.
|
|
23842
|
+
function Bu$2(r22 = 2, e = "0.10.13") {
|
|
23842
23843
|
return {
|
|
23843
23844
|
type: "element",
|
|
23844
23845
|
name: "property",
|
|
@@ -26225,7 +26226,7 @@ Actual: ` + p3.attribValue
|
|
|
26225
26226
|
async updateContentTypes(nt2, _) {
|
|
26226
26227
|
const R = Object.keys(_).map((c3) => this.getFileExtension(c3)), y = "[Content_Types].xml", l = await nt2.file(y).async("string");
|
|
26227
26228
|
let a = "";
|
|
26228
|
-
const r =
|
|
26229
|
+
const r = Op$1(l), h3 = /* @__PURE__ */ new Set();
|
|
26229
26230
|
for (let c3 of R) {
|
|
26230
26231
|
if (r.includes(c3) || h3.has(c3)) continue;
|
|
26231
26232
|
const b = `<Default Extension="${c3}" ContentType="image/${c3}"/>`;
|
|
@@ -26668,12 +26669,12 @@ Actual: ` + p3.attribValue
|
|
|
26668
26669
|
}
|
|
26669
26670
|
return Yo$1;
|
|
26670
26671
|
}
|
|
26671
|
-
const vt = new
|
|
26672
|
+
const vt = new Cp$2("history"), Kf$1 = new Cp$2("closeHistory");
|
|
26672
26673
|
function Xf$1(t = {}) {
|
|
26673
26674
|
return t = {
|
|
26674
26675
|
depth: t.depth || 100,
|
|
26675
26676
|
newGroupDelay: t.newGroupDelay || 500
|
|
26676
|
-
}, new
|
|
26677
|
+
}, new vp$2({
|
|
26677
26678
|
key: vt,
|
|
26678
26679
|
state: {
|
|
26679
26680
|
init() {
|
|
@@ -26730,11 +26731,11 @@ Actual: ` + p3.attribValue
|
|
|
26730
26731
|
this.config = {
|
|
26731
26732
|
...this.config,
|
|
26732
26733
|
...e
|
|
26733
|
-
}, this.name = this.config.name, this.config.addOptions && (this.options =
|
|
26734
|
+
}, this.name = this.config.name, this.config.addOptions && (this.options = Bp$2(
|
|
26734
26735
|
E(this, "addOptions", {
|
|
26735
26736
|
name: this.name
|
|
26736
26737
|
})
|
|
26737
|
-
)), this.storage =
|
|
26738
|
+
)), this.storage = Bp$2(
|
|
26738
26739
|
E(this, "addStorage", {
|
|
26739
26740
|
name: this.name,
|
|
26740
26741
|
options: this.options
|
|
@@ -27623,7 +27624,7 @@ Actual: ` + p3.attribValue
|
|
|
27623
27624
|
}
|
|
27624
27625
|
static create(e, n, r, o) {
|
|
27625
27626
|
let i3 = o.nodeViews[n.type.name], s = i3 && i3(n, o, r);
|
|
27626
|
-
return (!s || !s.dom) && (s =
|
|
27627
|
+
return (!s || !s.dom) && (s = _a$2.renderSpec(document, n.type.spec.toDOM(n, r), null, n.attrs)), new ln2(e, n, s.dom, s.contentDOM || s.dom, s);
|
|
27627
27628
|
}
|
|
27628
27629
|
parseRule() {
|
|
27629
27630
|
return this.dirty & it || this.mark.type.spec.reparseInView ? null : { mark: this.mark.type.name, attrs: this.mark.attrs, contentElement: this.contentDOM };
|
|
@@ -27678,7 +27679,7 @@ Actual: ` + p3.attribValue
|
|
|
27678
27679
|
d = document.createTextNode(n.text);
|
|
27679
27680
|
else if (d.nodeType != 3)
|
|
27680
27681
|
throw new RangeError("Text must be rendered as a DOM text node");
|
|
27681
|
-
} else d || ({ dom: d, contentDOM: u } =
|
|
27682
|
+
} else d || ({ dom: d, contentDOM: u } = _a$2.renderSpec(document, n.type.spec.toDOM(n), null, n.attrs));
|
|
27682
27683
|
!u && !n.isText && d.nodeName != "BR" && (d.hasAttribute("contenteditable") || (d.contentEditable = "false"), n.type.spec.draggable && (d.draggable = true));
|
|
27683
27684
|
let f3 = d;
|
|
27684
27685
|
return d = vc$1(d, r, n), c3 ? l = new kp(e, n, r, o, d, u || null, f3, c3, i3, s + 1) : n.isText ? new Po$1(e, n, r, o, d, f3, i3) : new Ft2(e, n, r, o, d, u || null, f3, i3, s + 1);
|
|
@@ -28619,7 +28620,7 @@ Actual: ` + p3.attribValue
|
|
|
28619
28620
|
let p3 = r.firstChild;
|
|
28620
28621
|
n.push(p3.type.name, p3.attrs != p3.type.defaultAttrs ? p3.attrs : null), r = p3.content;
|
|
28621
28622
|
}
|
|
28622
|
-
let s = t.someProp("clipboardSerializer") ||
|
|
28623
|
+
let s = t.someProp("clipboardSerializer") || _a$2.fromSchema(t.state.schema), a = Nc$1(), l = a.createElement("div");
|
|
28623
28624
|
l.appendChild(s.serializeFragment(r, { document: a }));
|
|
28624
28625
|
let c3 = l.firstChild, d, u = 0;
|
|
28625
28626
|
for (; c3 && c3.nodeType == 1 && (d = Dc$1[c3.nodeName.toLowerCase()]); ) {
|
|
@@ -28652,7 +28653,7 @@ Actual: ` + p3.attribValue
|
|
|
28652
28653
|
if (u)
|
|
28653
28654
|
a = u;
|
|
28654
28655
|
else {
|
|
28655
|
-
let f3 = o.marks(), { schema: p3 } = t.state, h3 =
|
|
28656
|
+
let f3 = o.marks(), { schema: p3 } = t.state, h3 = _a$2.fromSchema(p3);
|
|
28656
28657
|
s = document.createElement("div"), e.split(/(?:\r\n?|\n)+/).forEach((m) => {
|
|
28657
28658
|
let g = s.appendChild(document.createElement("p"));
|
|
28658
28659
|
m && g.appendChild(h3.serializeNode(p3.text(m, f3)));
|
|
@@ -29184,7 +29185,7 @@ Actual: ` + p3.attribValue
|
|
|
29184
29185
|
if (!s)
|
|
29185
29186
|
return;
|
|
29186
29187
|
n.preventDefault();
|
|
29187
|
-
let l = s ?
|
|
29188
|
+
let l = s ? Ep$1(t.state.doc, i3.pos, s) : i3.pos;
|
|
29188
29189
|
l == null && (l = i3.pos);
|
|
29189
29190
|
let c3 = t.state.tr;
|
|
29190
29191
|
if (a) {
|
|
@@ -30656,7 +30657,7 @@ Actual: ` + p3.attribValue
|
|
|
30656
30657
|
remove: t.length - n - r,
|
|
30657
30658
|
insert: e.slice(n, e.length - r)
|
|
30658
30659
|
};
|
|
30659
|
-
}, mm = hm, te = new
|
|
30660
|
+
}, mm = hm, te = new Cp$2("y-sync"), _t = new Cp$2("y-undo"), qr$1 = new Cp$2("yjs-cursor"), gm = Math.random, ym = (t) => t[hr$1(gm() * t.length)], qa$1 = (t) => t === void 0 ? null : t;
|
|
30660
30661
|
class bm {
|
|
30661
30662
|
constructor() {
|
|
30662
30663
|
this.map = /* @__PURE__ */ new Map();
|
|
@@ -30875,7 +30876,7 @@ Actual: ` + p3.attribValue
|
|
|
30875
30876
|
mapping: i3
|
|
30876
30877
|
} = {}) => {
|
|
30877
30878
|
let s = false;
|
|
30878
|
-
const a = new Um(t, i3), l = new
|
|
30879
|
+
const a = new Um(t, i3), l = new vp$2({
|
|
30879
30880
|
props: {
|
|
30880
30881
|
editable: (c3) => {
|
|
30881
30882
|
const d = te.getState(c3);
|
|
@@ -31672,7 +31673,7 @@ Actual: ` + p3.attribValue
|
|
|
31672
31673
|
cursorBuilder: n = ig,
|
|
31673
31674
|
selectionBuilder: r = sg,
|
|
31674
31675
|
getSelection: o = (s) => s.selection
|
|
31675
|
-
} = {}, i3 = "cursor") => new
|
|
31676
|
+
} = {}, i3 = "cursor") => new vp$2({
|
|
31676
31677
|
key: qr$1,
|
|
31677
31678
|
state: {
|
|
31678
31679
|
init(s, a) {
|
|
@@ -31745,7 +31746,7 @@ Actual: ` + p3.attribValue
|
|
|
31745
31746
|
const e = _t.getState(t).undoManager;
|
|
31746
31747
|
if (e != null)
|
|
31747
31748
|
return e.redo(), true;
|
|
31748
|
-
}, ug = /* @__PURE__ */ new Set(["paragraph"]), fg = (t, e) => !(t instanceof T.Item) || !(t.content instanceof T.ContentType) || !(t.content.type instanceof T.Text || t.content.type instanceof T.XmlElement && e.has(t.content.type.nodeName)) || t.content.type._length === 0, pg = ({ protectedNodes: t = ug, trackedOrigins: e = [], undoManager: n = null } = {}) => new
|
|
31749
|
+
}, ug = /* @__PURE__ */ new Set(["paragraph"]), fg = (t, e) => !(t instanceof T.Item) || !(t.content instanceof T.ContentType) || !(t.content.type instanceof T.Text || t.content.type instanceof T.XmlElement && e.has(t.content.type.nodeName)) || t.content.type._length === 0, pg = ({ protectedNodes: t = ug, trackedOrigins: e = [], undoManager: n = null } = {}) => new vp$2({
|
|
31749
31750
|
key: _t,
|
|
31750
31751
|
state: {
|
|
31751
31752
|
init: (r, o) => {
|
|
@@ -31958,7 +31959,7 @@ Actual: ` + p3.attribValue
|
|
|
31958
31959
|
return e.altKey && (t = "Alt-" + t), e.ctrlKey && (t = "Ctrl-" + t), e.metaKey && (t = "Meta-" + t), n && e.shiftKey && (t = "Shift-" + t), t;
|
|
31959
31960
|
}
|
|
31960
31961
|
function kg(t) {
|
|
31961
|
-
return new
|
|
31962
|
+
return new vp$2({ props: { handleKeyDown: Ns(t) } });
|
|
31962
31963
|
}
|
|
31963
31964
|
function Ns(t) {
|
|
31964
31965
|
let e = vg(t);
|
|
@@ -32181,7 +32182,7 @@ Actual: ` + p3.attribValue
|
|
|
32181
32182
|
return r;
|
|
32182
32183
|
}, ft(N, Bn$1);
|
|
32183
32184
|
function Bi$1(t) {
|
|
32184
|
-
const e = Object.entries(t).filter(([n, r]) => n === "attrs" &&
|
|
32185
|
+
const e = Object.entries(t).filter(([n, r]) => n === "attrs" && kp$1(r) ? false : r != null);
|
|
32185
32186
|
return Object.fromEntries(e);
|
|
32186
32187
|
}
|
|
32187
32188
|
var zn$2, td$1, nd$1;
|
|
@@ -32195,7 +32196,7 @@ Actual: ` + p3.attribValue
|
|
|
32195
32196
|
static createSchemaByExtensions(e, n) {
|
|
32196
32197
|
var c3, d;
|
|
32197
32198
|
const r = e.filter((u) => u.type === "node"), o = e.filter((u) => u.type === "mark"), i3 = r.find((u) => E(u, "topNode"))?.name, s = N.getAttributesFromExtensions(e), a = D(c3 = lr2, zn$2, td$1).call(c3, r, s, n), l = D(d = lr2, zn$2, nd$1).call(d, o, s, n);
|
|
32198
|
-
return new
|
|
32199
|
+
return new gp$2({ topNode: i3, nodes: a, marks: l });
|
|
32199
32200
|
}
|
|
32200
32201
|
};
|
|
32201
32202
|
zn$2 = /* @__PURE__ */ new WeakSet(), td$1 = function(e, n, r) {
|
|
@@ -32214,19 +32215,19 @@ Actual: ` + p3.attribValue
|
|
|
32214
32215
|
...g ? g(i3) : {}
|
|
32215
32216
|
};
|
|
32216
32217
|
}, {}), d = Bi$1({
|
|
32217
|
-
content:
|
|
32218
|
-
group:
|
|
32219
|
-
marks:
|
|
32220
|
-
inline:
|
|
32221
|
-
atom:
|
|
32222
|
-
selectable:
|
|
32223
|
-
draggable:
|
|
32224
|
-
code:
|
|
32225
|
-
defining:
|
|
32226
|
-
isolating:
|
|
32218
|
+
content: Bp$2(E(i3, "content", a)),
|
|
32219
|
+
group: Bp$2(E(i3, "group", a)),
|
|
32220
|
+
marks: Bp$2(E(i3, "marks", a)),
|
|
32221
|
+
inline: Bp$2(E(i3, "inline", a)),
|
|
32222
|
+
atom: Bp$2(E(i3, "atom", a)),
|
|
32223
|
+
selectable: Bp$2(E(i3, "selectable", a)),
|
|
32224
|
+
draggable: Bp$2(E(i3, "draggable", a)),
|
|
32225
|
+
code: Bp$2(E(i3, "code", a)),
|
|
32226
|
+
defining: Bp$2(E(i3, "defining", a)),
|
|
32227
|
+
isolating: Bp$2(E(i3, "isolating", a)),
|
|
32227
32228
|
attrs: l,
|
|
32228
32229
|
...c3
|
|
32229
|
-
}), u =
|
|
32230
|
+
}), u = Bp$2(E(i3, "parseDOM", a));
|
|
32230
32231
|
u && (d.parseDOM = u.map((h3) => N.insertExtensionAttrsToParseRule(h3, s)));
|
|
32231
32232
|
const f3 = E(i3, "renderDOM", a);
|
|
32232
32233
|
f3 && (d.toDOM = (h3) => f3({
|
|
@@ -32247,13 +32248,13 @@ Actual: ` + p3.attribValue
|
|
|
32247
32248
|
}, l = Object.fromEntries(
|
|
32248
32249
|
s.map((f3) => [f3.name, { default: f3?.attribute?.default }])
|
|
32249
32250
|
), c3 = Bi$1({
|
|
32250
|
-
group:
|
|
32251
|
-
inclusive:
|
|
32252
|
-
excludes:
|
|
32253
|
-
spanning:
|
|
32254
|
-
code:
|
|
32251
|
+
group: Bp$2(E(i3, "group", a)),
|
|
32252
|
+
inclusive: Bp$2(E(i3, "inclusive", a)),
|
|
32253
|
+
excludes: Bp$2(E(i3, "excludes", a)),
|
|
32254
|
+
spanning: Bp$2(E(i3, "spanning", a)),
|
|
32255
|
+
code: Bp$2(E(i3, "code", a)),
|
|
32255
32256
|
attrs: l
|
|
32256
|
-
}), d =
|
|
32257
|
+
}), d = Bp$2(E(i3, "parseDOM", a));
|
|
32257
32258
|
d && (c3.parseDOM = d.map((f3) => N.insertExtensionAttrsToParseRule(f3, s)));
|
|
32258
32259
|
const u = E(i3, "renderDOM", a);
|
|
32259
32260
|
return u && (c3.toDOM = (f3) => u({
|
|
@@ -32389,7 +32390,7 @@ Actual: ` + p3.attribValue
|
|
|
32389
32390
|
}
|
|
32390
32391
|
};
|
|
32391
32392
|
function Sg(t, e) {
|
|
32392
|
-
const n =
|
|
32393
|
+
const n = _a$2.fromSchema(e).serializeFragment(t), o = document.implementation.createHTMLDocument().createElement("div");
|
|
32393
32394
|
return o.appendChild(n), o.innerHTML;
|
|
32394
32395
|
}
|
|
32395
32396
|
const xg = (t, e = 500) => {
|
|
@@ -32470,8 +32471,8 @@ Actual: ` + p3.attribValue
|
|
|
32470
32471
|
}), a.dispatch(p3), c3 = true);
|
|
32471
32472
|
}), c3;
|
|
32472
32473
|
}, Og = ({ editor: t, rules: e }) => {
|
|
32473
|
-
const n = new
|
|
32474
|
-
key: new
|
|
32474
|
+
const n = new vp$2({
|
|
32475
|
+
key: new Cp$2("inputRulesPlugin"),
|
|
32475
32476
|
state: {
|
|
32476
32477
|
init() {
|
|
32477
32478
|
return null;
|
|
@@ -32674,7 +32675,7 @@ Actual: ` + p3.attribValue
|
|
|
32674
32675
|
editor: this.editor,
|
|
32675
32676
|
type: Yn$2(e.name, this.schema)
|
|
32676
32677
|
};
|
|
32677
|
-
e.type === "mark" && (
|
|
32678
|
+
e.type === "mark" && (Bp$2(E(e, "keepOnSplit", n)) ?? true) && this.splittableMarks.push(e.name), D(this, _n$2, od$1).call(this, e);
|
|
32678
32679
|
}
|
|
32679
32680
|
}, /**
|
|
32680
32681
|
* Attach editor events to extension
|
|
@@ -32712,7 +32713,7 @@ Actual: ` + p3.attribValue
|
|
|
32712
32713
|
return false;
|
|
32713
32714
|
let o = ad$1(r);
|
|
32714
32715
|
if (!o) {
|
|
32715
|
-
let s = r.blockRange(), a = s &&
|
|
32716
|
+
let s = r.blockRange(), a = s && yp$2(s);
|
|
32716
32717
|
return a == null ? false : (e && e(t.tr.lift(s, a).scrollIntoView()), true);
|
|
32717
32718
|
}
|
|
32718
32719
|
let i3 = o.nodeBefore;
|
|
@@ -32815,10 +32816,10 @@ Actual: ` + p3.attribValue
|
|
|
32815
32816
|
const Lg = (t, e) => {
|
|
32816
32817
|
let n = t.selection, r = n instanceof Ge$1, o;
|
|
32817
32818
|
if (r) {
|
|
32818
|
-
if (n.node.isTextblock || !
|
|
32819
|
+
if (n.node.isTextblock || !Ap$1(t.doc, n.from))
|
|
32819
32820
|
return false;
|
|
32820
32821
|
o = n.from;
|
|
32821
|
-
} else if (o =
|
|
32822
|
+
} else if (o = Dp$1(t.doc, n.from, -1), o == null)
|
|
32822
32823
|
return false;
|
|
32823
32824
|
if (e) {
|
|
32824
32825
|
let i3 = t.tr.join(o);
|
|
@@ -32828,10 +32829,10 @@ Actual: ` + p3.attribValue
|
|
|
32828
32829
|
}, Fg = (t, e) => {
|
|
32829
32830
|
let n = t.selection, r;
|
|
32830
32831
|
if (n instanceof Ge$1) {
|
|
32831
|
-
if (n.node.isTextblock || !
|
|
32832
|
+
if (n.node.isTextblock || !Ap$1(t.doc, n.to))
|
|
32832
32833
|
return false;
|
|
32833
32834
|
r = n.to;
|
|
32834
|
-
} else if (r =
|
|
32835
|
+
} else if (r = Dp$1(t.doc, n.to, 1), r == null)
|
|
32835
32836
|
return false;
|
|
32836
32837
|
return e && e(t.tr.join(r).scrollIntoView()), true;
|
|
32837
32838
|
}, ud$1 = (t, e) => {
|
|
@@ -32877,17 +32878,17 @@ Actual: ` + p3.attribValue
|
|
|
32877
32878
|
return false;
|
|
32878
32879
|
if (n.depth > 1 && n.after() != n.end(-1)) {
|
|
32879
32880
|
let i3 = n.before();
|
|
32880
|
-
if (
|
|
32881
|
+
if (xp$2(t.doc, i3))
|
|
32881
32882
|
return e && e(t.tr.split(i3).scrollIntoView()), true;
|
|
32882
32883
|
}
|
|
32883
|
-
let r = n.blockRange(), o = r &&
|
|
32884
|
+
let r = n.blockRange(), o = r && yp$2(r);
|
|
32884
32885
|
return o == null ? false : (e && e(t.tr.lift(r, o).scrollIntoView()), true);
|
|
32885
32886
|
};
|
|
32886
32887
|
function zg(t) {
|
|
32887
32888
|
return (e, n) => {
|
|
32888
32889
|
let { $from: r, $to: o } = e.selection;
|
|
32889
32890
|
if (e.selection instanceof Ge$1 && e.selection.node.isBlock)
|
|
32890
|
-
return !r.parentOffset || !
|
|
32891
|
+
return !r.parentOffset || !xp$2(e.doc, r.pos) ? false : (n && n(e.tr.split(r.pos).scrollIntoView()), true);
|
|
32891
32892
|
if (!r.depth)
|
|
32892
32893
|
return false;
|
|
32893
32894
|
let i3 = [], s, a, l = false, c3 = false;
|
|
@@ -32902,8 +32903,8 @@ Actual: ` + p3.attribValue
|
|
|
32902
32903
|
}
|
|
32903
32904
|
let d = e.tr;
|
|
32904
32905
|
(e.selection instanceof tt$3 || e.selection instanceof at$2) && d.deleteSelection();
|
|
32905
|
-
let u = d.mapping.map(r.pos), f3 =
|
|
32906
|
-
if (f3 || (i3[0] = a ? { type: a } : null, f3 =
|
|
32906
|
+
let u = d.mapping.map(r.pos), f3 = xp$2(d.doc, u, i3.length, i3);
|
|
32907
|
+
if (f3 || (i3[0] = a ? { type: a } : null, f3 = xp$2(d.doc, u, i3.length, i3)), d.split(u, i3.length, i3), !l && c3 && r.node(s).type != a) {
|
|
32907
32908
|
let p3 = d.mapping.map(r.before(s)), h3 = d.doc.resolve(p3);
|
|
32908
32909
|
a && r.node(s - 1).canReplaceWith(h3.index(), h3.index() + 1, a) && d.setNodeMarkup(d.mapping.map(r.before(s)), a);
|
|
32909
32910
|
}
|
|
@@ -32913,7 +32914,7 @@ Actual: ` + p3.attribValue
|
|
|
32913
32914
|
const _g = zg(), Vg = (t, e) => (e && e(t.tr.setSelection(new at$2(t.doc))), true);
|
|
32914
32915
|
function $g(t, e, n) {
|
|
32915
32916
|
let r = e.nodeBefore, o = e.nodeAfter, i3 = e.index();
|
|
32916
|
-
return !r || !o || !r.type.compatibleContent(o.type) ? false : !r.content.size && e.parent.canReplace(i3 - 1, i3) ? (n && n(t.tr.delete(e.pos - r.nodeSize, e.pos).scrollIntoView()), true) : !e.parent.canReplace(i3, i3 + 1) || !(o.isTextblock ||
|
|
32917
|
+
return !r || !o || !r.type.compatibleContent(o.type) ? false : !r.content.size && e.parent.canReplace(i3 - 1, i3) ? (n && n(t.tr.delete(e.pos - r.nodeSize, e.pos).scrollIntoView()), true) : !e.parent.canReplace(i3, i3 + 1) || !(o.isTextblock || Ap$1(t.doc, e.pos)) ? false : (n && n(t.tr.join(e.pos).scrollIntoView()), true);
|
|
32917
32918
|
}
|
|
32918
32919
|
function hd$1(t, e, n, r) {
|
|
32919
32920
|
let o = e.nodeBefore, i3 = e.nodeAfter, s, a, l = o.type.spec.isolating || i3.type.spec.isolating;
|
|
@@ -32927,11 +32928,11 @@ Actual: ` + p3.attribValue
|
|
|
32927
32928
|
h3 = Q$2.from(s[b].create(null, h3));
|
|
32928
32929
|
h3 = Q$2.from(o.copy(h3));
|
|
32929
32930
|
let m = t.tr.step(new Je$3(e.pos - 1, p3, e.pos, p3, new ue(h3, 1, 0), s.length, true)), g = m.doc.resolve(p3 + 2 * s.length);
|
|
32930
|
-
g.nodeAfter && g.nodeAfter.type == o.type &&
|
|
32931
|
+
g.nodeAfter && g.nodeAfter.type == o.type && Ap$1(m.doc, g.pos) && m.join(g.pos), n(m.scrollIntoView());
|
|
32931
32932
|
}
|
|
32932
32933
|
return true;
|
|
32933
32934
|
}
|
|
32934
|
-
let d = i3.type.spec.isolating || r > 0 && l ? null : ve$1.findFrom(e, 1), u = d && d.$from.blockRange(d.$to), f3 = u &&
|
|
32935
|
+
let d = i3.type.spec.isolating || r > 0 && l ? null : ve$1.findFrom(e, 1), u = d && d.$from.blockRange(d.$to), f3 = u && yp$2(u);
|
|
32935
32936
|
if (f3 != null && f3 >= e.depth)
|
|
32936
32937
|
return n && n(t.tr.lift(u, f3).scrollIntoView()), true;
|
|
32937
32938
|
if (c3 && In$2(i3, "start", true) && In$2(o, "end")) {
|
|
@@ -33024,14 +33025,14 @@ Actual: ` + p3.attribValue
|
|
|
33024
33025
|
}, Wg = ({ keepMarks: t = true } = {}) => (e) => {
|
|
33025
33026
|
const { tr: n, state: r, dispatch: o, editor: i3 } = e, { selection: s, doc: a } = n, { $from: l, $to: c3 } = s, d = i3.extensionService.attributes, u = N.getSplittedAttributes(d, l.node().type.name, l.node().attrs);
|
|
33026
33027
|
if (s instanceof Ge$1 && s.node.isBlock)
|
|
33027
|
-
return !l.parentOffset || !
|
|
33028
|
+
return !l.parentOffset || !xp$2(a, l.pos) ? false : (o && (t && Ga$1(r, i3.extensionService.splittableMarks), n.split(l.pos).scrollIntoView()), true);
|
|
33028
33029
|
if (!l.parent.isBlock) return false;
|
|
33029
33030
|
if (o) {
|
|
33030
33031
|
const f3 = c3.parentOffset === c3.parent.content.size;
|
|
33031
33032
|
s instanceof tt$3 && n.deleteSelection();
|
|
33032
33033
|
const p3 = l.depth === 0 ? null : gd$1(l.node(-1).contentMatchAt(l.indexAfter(-1)));
|
|
33033
|
-
let h3 = f3 && p3 ? [{ type: p3, attrs: u }] : void 0, m =
|
|
33034
|
-
if (!h3 && !m &&
|
|
33034
|
+
let h3 = f3 && p3 ? [{ type: p3, attrs: u }] : void 0, m = xp$2(n.doc, n.mapping.map(l.pos), 1, h3);
|
|
33035
|
+
if (!h3 && !m && xp$2(n.doc, n.mapping.map(l.pos), 1, p3 ? [{ type: p3 }] : void 0) && (m = true, h3 = p3 ? [{ type: p3, attrs: u }] : void 0), m && (n.split(n.mapping.map(l.pos), 1, h3), p3 && !f3 && !l.parentOffset && l.parent.type !== p3)) {
|
|
33035
33036
|
const g = n.mapping.map(l.before()), b = n.doc.resolve(g);
|
|
33036
33037
|
l.node(-1).canReplaceWith(b.index(), b.index() + 1, p3) && n.setNodeMarkup(n.mapping.map(l.before()), p3);
|
|
33037
33038
|
}
|
|
@@ -33159,7 +33160,7 @@ Actual: ` + p3.attribValue
|
|
|
33159
33160
|
if (a.type.isText) return;
|
|
33160
33161
|
const { doc: c3, mapping: d } = e, u = c3.resolve(d.map(l)), f3 = c3.resolve(d.map(l + a.nodeSize)), p3 = u.blockRange(f3);
|
|
33161
33162
|
if (!p3) return;
|
|
33162
|
-
const h3 =
|
|
33163
|
+
const h3 = yp$2(p3);
|
|
33163
33164
|
if (a.type.isTextblock) {
|
|
33164
33165
|
const { defaultType: m } = u.parent.contentMatchAt(u.index());
|
|
33165
33166
|
e.setNodeMarkup(p3.start, m);
|
|
@@ -33213,8 +33214,8 @@ Actual: ` + p3.attribValue
|
|
|
33213
33214
|
);
|
|
33214
33215
|
return a ? (a === "node" && (i3 = le$1(t, r.schema)), a === "mark" && (s = St$1(t, r.schema)), o && n.selection.ranges.forEach((l) => {
|
|
33215
33216
|
r.doc.nodesBetween(l.$from.pos, l.$to.pos, (c3, d) => {
|
|
33216
|
-
i3 && i3 === c3.type && n.setNodeMarkup(d, void 0,
|
|
33217
|
-
s === u.type && n.addMark(d, d + c3.nodeSize, s.create(
|
|
33217
|
+
i3 && i3 === c3.type && n.setNodeMarkup(d, void 0, Rp$1(c3.attrs, e)), s && c3.marks.length && c3.marks.forEach((u) => {
|
|
33218
|
+
s === u.type && n.addMark(d, d + c3.nodeSize, s.create(Rp$1(u.attrs, e)));
|
|
33218
33219
|
});
|
|
33219
33220
|
});
|
|
33220
33221
|
}), true) : false;
|
|
@@ -33251,7 +33252,7 @@ Actual: ` + p3.attribValue
|
|
|
33251
33252
|
if (o) {
|
|
33252
33253
|
if (n.errorOnInvalidContent) {
|
|
33253
33254
|
let s = false, a = "";
|
|
33254
|
-
const l = new
|
|
33255
|
+
const l = new gp$2({
|
|
33255
33256
|
topNode: e.spec.topNode,
|
|
33256
33257
|
marks: e.spec.marks,
|
|
33257
33258
|
// Prosemirror's schemas are executed such that: the last to execute, matches last
|
|
@@ -33366,9 +33367,9 @@ Actual: ` + p3.attribValue
|
|
|
33366
33367
|
if (e.$from.index(e.depth - 1) == 0)
|
|
33367
33368
|
return false;
|
|
33368
33369
|
let l = s.resolve(e.start - 2);
|
|
33369
|
-
i3 = new
|
|
33370
|
+
i3 = new Lc$2(l, l, e.depth), e.endIndex < e.parent.childCount && (e = new Lc$2(e.$from, s.resolve(e.$to.end(e.depth)), e.depth)), o = true;
|
|
33370
33371
|
}
|
|
33371
|
-
let a =
|
|
33372
|
+
let a = bp$2(i3, n, r, e);
|
|
33372
33373
|
return a ? (t && Sy(t, e, a, o, n), true) : false;
|
|
33373
33374
|
}
|
|
33374
33375
|
function Sy(t, e, n, r, o) {
|
|
@@ -33381,7 +33382,7 @@ Actual: ` + p3.attribValue
|
|
|
33381
33382
|
n[d].type == o && (s = d + 1);
|
|
33382
33383
|
let a = n.length - s, l = e.start + n.length - (r ? 2 : 0), c3 = e.parent;
|
|
33383
33384
|
for (let d = e.startIndex, u = e.endIndex, f3 = true; d < u; d++, f3 = false)
|
|
33384
|
-
!f3 &&
|
|
33385
|
+
!f3 && xp$2(t.doc, l, a) && (t.split(l, a), l += 2 * a), l += c3.child(d).nodeSize;
|
|
33385
33386
|
return t;
|
|
33386
33387
|
}
|
|
33387
33388
|
function xy(t) {
|
|
@@ -33392,13 +33393,13 @@ Actual: ` + p3.attribValue
|
|
|
33392
33393
|
}
|
|
33393
33394
|
function My(t, e, n, r) {
|
|
33394
33395
|
let o = t.tr, i3 = r.end, s = r.$to.end(r.depth);
|
|
33395
|
-
i3 < s && (o.step(new Je$3(i3 - 1, s, i3, s, new ue(Q$2.from(n.create(null, r.parent.copy())), 1, 0), 1, true)), r = new
|
|
33396
|
-
const a =
|
|
33396
|
+
i3 < s && (o.step(new Je$3(i3 - 1, s, i3, s, new ue(Q$2.from(n.create(null, r.parent.copy())), 1, 0), 1, true)), r = new Lc$2(o.doc.resolve(r.$from.pos), o.doc.resolve(s), r.depth));
|
|
33397
|
+
const a = yp$2(r);
|
|
33397
33398
|
if (a == null)
|
|
33398
33399
|
return false;
|
|
33399
33400
|
o.lift(r, a);
|
|
33400
33401
|
let l = o.doc.resolve(o.mapping.map(i3, -1) - 1);
|
|
33401
|
-
return
|
|
33402
|
+
return Ap$1(o.doc, l.pos) && l.nodeBefore.type == l.nodeAfter.type && o.join(l.pos), e(o.scrollIntoView()), true;
|
|
33402
33403
|
}
|
|
33403
33404
|
function Ay(t, e, n) {
|
|
33404
33405
|
let r = t.tr, o = n.parent;
|
|
@@ -33452,7 +33453,7 @@ Actual: ` + p3.attribValue
|
|
|
33452
33453
|
name: r.name,
|
|
33453
33454
|
options: r.options,
|
|
33454
33455
|
storage: r.storage
|
|
33455
|
-
}, i3 =
|
|
33456
|
+
}, i3 = Bp$2(E(r, "group", o));
|
|
33456
33457
|
return typeof i3 != "string" ? false : i3.split(" ").includes("list");
|
|
33457
33458
|
}, Dy = {
|
|
33458
33459
|
type: "element",
|
|
@@ -34603,14 +34604,14 @@ Actual: ` + p3.attribValue
|
|
|
34603
34604
|
const r = t.doc.resolve(Math.max(0, n.pos - 1)).before(n.depth);
|
|
34604
34605
|
if (r === void 0) return true;
|
|
34605
34606
|
const o = t.doc.nodeAt(r);
|
|
34606
|
-
return n.node.type === o?.type &&
|
|
34607
|
+
return n.node.type === o?.type && Ap$1(t.doc, n.pos) && t.join(n.pos), true;
|
|
34607
34608
|
}, li$1 = (t, e) => {
|
|
34608
34609
|
const n = He$2((s) => s.type === e)(t.selection);
|
|
34609
34610
|
if (!n) return true;
|
|
34610
34611
|
const r = t.doc.resolve(n.start).after(n.depth);
|
|
34611
34612
|
if (r === void 0) return true;
|
|
34612
34613
|
const o = t.doc.nodeAt(r);
|
|
34613
|
-
return n.node.type === o?.type &&
|
|
34614
|
+
return n.node.type === o?.type && Ap$1(t.doc, r) && t.join(r), true;
|
|
34614
34615
|
}, Ey = (t, e, n, r = {}) => (o) => {
|
|
34615
34616
|
const { editor: i3, tr: s, state: a, dispatch: l, chain: c3, can: d, commands: u } = o, { extensions: f3, splittableMarks: p3 } = i3.extensionService, h3 = le$1(t, a.schema), m = le$1(e, a.schema), { selection: g, storedMarks: b } = a, { $from: w, $to: C } = g, y = w.blockRange(C), S = b || g.$to.parentOffset && g.$from.marks();
|
|
34616
34617
|
if (!y) return false;
|
|
@@ -34699,7 +34700,7 @@ Actual: ` + p3.attribValue
|
|
|
34699
34700
|
{ type: s, attrs: p3 },
|
|
34700
34701
|
{ type: f3, attrs: h3 }
|
|
34701
34702
|
] : [{ type: s, attrs: p3 }];
|
|
34702
|
-
if (!
|
|
34703
|
+
if (!xp$2(n.doc, a.pos, 2))
|
|
34703
34704
|
return false;
|
|
34704
34705
|
if (o) {
|
|
34705
34706
|
const { selection: g, storedMarks: b } = r, { splittableMarks: w } = i3.extensionService, C = b || g.$to.parentOffset && g.$from.marks();
|
|
@@ -34806,13 +34807,13 @@ Actual: ` + p3.attribValue
|
|
|
34806
34807
|
"Ctrl-e": () => this.editor.commands.selectTextblockEnd(),
|
|
34807
34808
|
"Ctrl-t": () => this.editor.commands.insertTabChar()
|
|
34808
34809
|
};
|
|
34809
|
-
return
|
|
34810
|
+
return Np$1() || Ip$2() ? n : e;
|
|
34810
34811
|
}
|
|
34811
34812
|
}), $y = Q$1.create({
|
|
34812
34813
|
name: "editable",
|
|
34813
34814
|
addPmPlugins() {
|
|
34814
|
-
return [new
|
|
34815
|
-
key: new
|
|
34815
|
+
return [new vp$2({
|
|
34816
|
+
key: new Cp$2("editable"),
|
|
34816
34817
|
props: {
|
|
34817
34818
|
editable: () => this.editor.options.editable
|
|
34818
34819
|
}
|
|
@@ -34822,8 +34823,8 @@ Actual: ` + p3.attribValue
|
|
|
34822
34823
|
name: "editorFocus",
|
|
34823
34824
|
addPmPlugins() {
|
|
34824
34825
|
const t = this.editor;
|
|
34825
|
-
return [new
|
|
34826
|
-
key: new
|
|
34826
|
+
return [new vp$2({
|
|
34827
|
+
key: new Cp$2("editorFocus"),
|
|
34827
34828
|
props: {
|
|
34828
34829
|
handleDOMEvents: {
|
|
34829
34830
|
focus: (n, r) => {
|
|
@@ -35010,7 +35011,7 @@ Actual: ` + p3.attribValue
|
|
|
35010
35011
|
}), n;
|
|
35011
35012
|
}
|
|
35012
35013
|
function xd$1(t, e, n) {
|
|
35013
|
-
const o = t.state.doc.content.size, i3 =
|
|
35014
|
+
const o = t.state.doc.content.size, i3 = Pp$1(e, 0, o), s = Pp$1(n, 0, o), a = t.coordsAtPos(i3), l = t.coordsAtPos(s, -1), c3 = Math.min(a.top, l.top), d = Math.max(a.bottom, l.bottom), u = Math.min(a.left, l.left), f3 = Math.max(a.right, l.right), p3 = f3 - u, h3 = d - c3, b = {
|
|
35014
35015
|
top: c3,
|
|
35015
35016
|
bottom: d,
|
|
35016
35017
|
left: u,
|
|
@@ -35108,7 +35109,7 @@ Actual: ` + p3.attribValue
|
|
|
35108
35109
|
});
|
|
35109
35110
|
});
|
|
35110
35111
|
}), e ? n.filter(({ mark: o }) => o.attrs.id === e) : n) : n;
|
|
35111
|
-
}, de = new
|
|
35112
|
+
}, de = new Cp$2("TrackChangesBase"), Ky = (t = {}) => new vp$2({
|
|
35112
35113
|
key: de,
|
|
35113
35114
|
state: {
|
|
35114
35115
|
init(e, n) {
|
|
@@ -35337,7 +35338,7 @@ Actual: ` + p3.attribValue
|
|
|
35337
35338
|
if (!r.options.isInternal && n) return "transparent";
|
|
35338
35339
|
const o = he$2.getState(r.state), i3 = n ? o.internalColor : o.externalColor, s = t == e ? "44" : "22";
|
|
35339
35340
|
return `${i3}${s}`;
|
|
35340
|
-
}, rn$2 = new
|
|
35341
|
+
}, rn$2 = new Cp$2("paginationPlugin"), Qy = async (t) => {
|
|
35341
35342
|
if (!t.converter) return;
|
|
35342
35343
|
const e = { headers: {}, footers: {} }, n = t.converter.headerIds, r = t.converter.footerIds;
|
|
35343
35344
|
for (let o in n) {
|
|
@@ -35403,7 +35404,7 @@ Actual: ` + p3.attribValue
|
|
|
35403
35404
|
}), n({ height: d, sectionEditor: c3, sectionContainer: r });
|
|
35404
35405
|
});
|
|
35405
35406
|
});
|
|
35406
|
-
}), _s = [yr$2, Ri$2, Pi$2], he$2 = new
|
|
35407
|
+
}), _s = [yr$2, Ri$2, Pi$2], he$2 = new Cp$2("comments"), eb = Q$1.create({
|
|
35407
35408
|
name: "comments",
|
|
35408
35409
|
addCommands() {
|
|
35409
35410
|
return {
|
|
@@ -35452,7 +35453,7 @@ Actual: ` + p3.attribValue
|
|
|
35452
35453
|
addPmPlugins() {
|
|
35453
35454
|
const t = this.editor;
|
|
35454
35455
|
let e, n;
|
|
35455
|
-
return t.options.isHeadless ? [] : [new
|
|
35456
|
+
return t.options.isHeadless ? [] : [new vp$2({
|
|
35456
35457
|
key: he$2,
|
|
35457
35458
|
state: {
|
|
35458
35459
|
init() {
|
|
@@ -35491,7 +35492,7 @@ Actual: ` + p3.attribValue
|
|
|
35491
35492
|
if (h3 && (g = d.activeThreadId), n !== g) {
|
|
35492
35493
|
n = g;
|
|
35493
35494
|
const w = {
|
|
35494
|
-
type:
|
|
35495
|
+
type: Tp$2.SELECTED,
|
|
35495
35496
|
activeCommentId: n || null
|
|
35496
35497
|
};
|
|
35497
35498
|
e = true, t.emit("commentsUpdate", w);
|
|
@@ -35721,7 +35722,7 @@ Actual: ` + p3.attribValue
|
|
|
35721
35722
|
if (!b && !w)
|
|
35722
35723
|
return;
|
|
35723
35724
|
const C = {
|
|
35724
|
-
event:
|
|
35725
|
+
event: Tp$2.ADD,
|
|
35725
35726
|
type: "trackedChange",
|
|
35726
35727
|
documentId: i3,
|
|
35727
35728
|
changeId: p3,
|
|
@@ -35732,7 +35733,7 @@ Actual: ` + p3.attribValue
|
|
|
35732
35733
|
authorEmail: u,
|
|
35733
35734
|
date: f3
|
|
35734
35735
|
};
|
|
35735
|
-
return t === "add" ? C.event =
|
|
35736
|
+
return t === "add" ? C.event = Tp$2.ADD : t === "update" && (C.event = Tp$2.UPDATE), C;
|
|
35736
35737
|
};
|
|
35737
35738
|
function ib(t, e) {
|
|
35738
35739
|
let n = null;
|
|
@@ -36226,7 +36227,7 @@ Actual: ` + p3.attribValue
|
|
|
36226
36227
|
* Get HTML string of the document
|
|
36227
36228
|
*/
|
|
36228
36229
|
getHTML() {
|
|
36229
|
-
const n = document.createElement("div"), r =
|
|
36230
|
+
const n = document.createElement("div"), r = _a$2.fromSchema(this.schema).serializeFragment(this.state.doc.content);
|
|
36230
36231
|
return n.appendChild(r), n.innerHTML;
|
|
36231
36232
|
}
|
|
36232
36233
|
/**
|
|
@@ -36304,7 +36305,7 @@ Actual: ` + p3.attribValue
|
|
|
36304
36305
|
* @returns {Y.Doc | undefined} Updated Y.Doc if any, otherwise undefined
|
|
36305
36306
|
*/
|
|
36306
36307
|
processCollaborationMigrations() {
|
|
36307
|
-
if (console.debug("[checkVersionMigrations] Current editor version", "0.10.
|
|
36308
|
+
if (console.debug("[checkVersionMigrations] Current editor version", "0.10.13"), !this.options.ydoc) return;
|
|
36308
36309
|
let r = this.options.ydoc.getMap("meta").get("version");
|
|
36309
36310
|
r || (r = "initial"), console.debug("[checkVersionMigrations] Document version", r);
|
|
36310
36311
|
const o = nl$1(r) || [], s = this.state.plugins.find((c3) => c3.key.startsWith("y-sync"));
|
|
@@ -36554,11 +36555,11 @@ Actual: ` + p3.attribValue
|
|
|
36554
36555
|
this.config = {
|
|
36555
36556
|
...this.config,
|
|
36556
36557
|
...e
|
|
36557
|
-
}, this.name = this.config.name, this.config.addOptions && (this.options =
|
|
36558
|
+
}, this.name = this.config.name, this.config.addOptions && (this.options = Bp$2(
|
|
36558
36559
|
E(this, "addOptions", {
|
|
36559
36560
|
name: this.name
|
|
36560
36561
|
})
|
|
36561
|
-
)), this.storage =
|
|
36562
|
+
)), this.storage = Bp$2(
|
|
36562
36563
|
E(this, "addStorage", {
|
|
36563
36564
|
name: this.name,
|
|
36564
36565
|
options: this.options
|
|
@@ -36585,11 +36586,11 @@ Actual: ` + p3.attribValue
|
|
|
36585
36586
|
this.config = {
|
|
36586
36587
|
...this.config,
|
|
36587
36588
|
...e
|
|
36588
|
-
}, this.name = this.config.name, this.config.addOptions && (this.options =
|
|
36589
|
+
}, this.name = this.config.name, this.config.addOptions && (this.options = Bp$2(
|
|
36589
36590
|
E(this, "addOptions", {
|
|
36590
36591
|
name: this.name
|
|
36591
36592
|
})
|
|
36592
|
-
)), this.storage =
|
|
36593
|
+
)), this.storage = Bp$2(
|
|
36593
36594
|
E(this, "addStorage", {
|
|
36594
36595
|
name: this.name,
|
|
36595
36596
|
options: this.options
|
|
@@ -36696,7 +36697,7 @@ Actual: ` + p3.attribValue
|
|
|
36696
36697
|
if (Number.isNaN(n))
|
|
36697
36698
|
return false;
|
|
36698
36699
|
let { min: o, max: i3, unit: s } = this.options.defaults;
|
|
36699
|
-
return n =
|
|
36700
|
+
return n = Pp$1(n, o, i3), r = r || s, e().setMark("textStyle", { fontSize: `${n}${r}` }).run();
|
|
36700
36701
|
},
|
|
36701
36702
|
unsetFontSize: () => ({ chain: t }) => t().setMark("textStyle", { fontSize: null }).removeEmptyTextStyle().run()
|
|
36702
36703
|
};
|
|
@@ -36818,7 +36819,7 @@ Actual: ` + p3.attribValue
|
|
|
36818
36819
|
lineHeight: {
|
|
36819
36820
|
default: null,
|
|
36820
36821
|
parseDOM: (t) => t.style.lineHeight,
|
|
36821
|
-
renderDOM: (t) => t.lineHeight ? { style:
|
|
36822
|
+
renderDOM: (t) => t.lineHeight ? { style: Lp$1(t.lineHeight, this.options.defaults.unit) } : {}
|
|
36822
36823
|
}
|
|
36823
36824
|
}
|
|
36824
36825
|
}
|
|
@@ -36885,7 +36886,7 @@ Actual: ` + p3.attribValue
|
|
|
36885
36886
|
}
|
|
36886
36887
|
});
|
|
36887
36888
|
function db(t = {}) {
|
|
36888
|
-
return new
|
|
36889
|
+
return new vp$2({
|
|
36889
36890
|
view(e) {
|
|
36890
36891
|
return new ub(e, t);
|
|
36891
36892
|
}
|
|
@@ -36947,7 +36948,7 @@ Actual: ` + p3.attribValue
|
|
|
36947
36948
|
if (n && !i3) {
|
|
36948
36949
|
let s = n.pos;
|
|
36949
36950
|
if (this.editorView.dragging && this.editorView.dragging.slice) {
|
|
36950
|
-
let a =
|
|
36951
|
+
let a = Ep$1(this.editorView.state.doc, s, this.editorView.dragging.slice);
|
|
36951
36952
|
a != null && (s = a);
|
|
36952
36953
|
}
|
|
36953
36954
|
this.setCursor(s), this.scheduleRemoval(5e3);
|
|
@@ -37111,7 +37112,7 @@ Actual: ` + p3.attribValue
|
|
|
37111
37112
|
return true;
|
|
37112
37113
|
}
|
|
37113
37114
|
function hb() {
|
|
37114
|
-
return new
|
|
37115
|
+
return new vp$2({
|
|
37115
37116
|
props: {
|
|
37116
37117
|
decorations: bb,
|
|
37117
37118
|
createSelectionBetween(t, e, n) {
|
|
@@ -37178,14 +37179,14 @@ Actual: ` + p3.attribValue
|
|
|
37178
37179
|
},
|
|
37179
37180
|
extendNodeSchema(t) {
|
|
37180
37181
|
return {
|
|
37181
|
-
allowGapCursor:
|
|
37182
|
+
allowGapCursor: Bp$2(E(t, "allowGapCursor", {
|
|
37182
37183
|
name: t.name,
|
|
37183
37184
|
options: t.options,
|
|
37184
37185
|
storage: t.storage
|
|
37185
37186
|
})) ?? null
|
|
37186
37187
|
};
|
|
37187
37188
|
}
|
|
37188
|
-
}), vb = new
|
|
37189
|
+
}), vb = new Cp$2("collaboration"), kb = Q$1.create({
|
|
37189
37190
|
name: "collaboration",
|
|
37190
37191
|
priority: 1e3,
|
|
37191
37192
|
addOptions() {
|
|
@@ -37333,7 +37334,7 @@ Actual: ` + p3.attribValue
|
|
|
37333
37334
|
match: r,
|
|
37334
37335
|
chain: o
|
|
37335
37336
|
}) => {
|
|
37336
|
-
const i3 =
|
|
37337
|
+
const i3 = Bp$2(t.getAttributes, null, r) || {}, s = e.tr.delete(n.from, n.to), l = s.doc.resolve(n.from).blockRange(), c3 = l && bp$2(l, t.type, i3);
|
|
37337
37338
|
if (!c3)
|
|
37338
37339
|
return null;
|
|
37339
37340
|
if (s.wrap(l, c3), t.keepMarks && t.editor) {
|
|
@@ -37348,7 +37349,7 @@ Actual: ` + p3.attribValue
|
|
|
37348
37349
|
o().updateAttributes(u, i3).run();
|
|
37349
37350
|
}
|
|
37350
37351
|
const d = s.doc.resolve(n.from - 1).nodeBefore;
|
|
37351
|
-
d && d.type === t.type &&
|
|
37352
|
+
d && d.type === t.type && Ap$1(s.doc, n.from - 1) && (!t.joinPredicate || t.joinPredicate(r, d)) && s.join(n.from - 1);
|
|
37352
37353
|
}
|
|
37353
37354
|
});
|
|
37354
37355
|
}
|
|
@@ -37419,8 +37420,8 @@ Actual: ` + p3.attribValue
|
|
|
37419
37420
|
}
|
|
37420
37421
|
});
|
|
37421
37422
|
function Db(t = {}) {
|
|
37422
|
-
return new
|
|
37423
|
-
key: new
|
|
37423
|
+
return new vp$2({
|
|
37424
|
+
key: new Cp$2("orderedListSync"),
|
|
37424
37425
|
appendTransaction: (e, n, r) => {
|
|
37425
37426
|
if (!(e.some((d) => d.docChanged) && !n.doc.eq(r.doc)))
|
|
37426
37427
|
return;
|
|
@@ -37459,8 +37460,8 @@ Actual: ` + p3.attribValue
|
|
|
37459
37460
|
return Math.floor(Math.random() * 4294967295).toString();
|
|
37460
37461
|
}
|
|
37461
37462
|
function Eb(t) {
|
|
37462
|
-
return new
|
|
37463
|
-
key: new
|
|
37463
|
+
return new vp$2({
|
|
37464
|
+
key: new Cp$2("orderedListMarker"),
|
|
37464
37465
|
appendTransaction: (e, n, r) => {
|
|
37465
37466
|
if (!(e.some((c3) => c3.docChanged) && !n.doc.eq(r.doc)))
|
|
37466
37467
|
return;
|
|
@@ -37608,7 +37609,7 @@ Actual: ` + p3.attribValue
|
|
|
37608
37609
|
renderDOM: (t) => {
|
|
37609
37610
|
let e = t["list-style-type"];
|
|
37610
37611
|
return e ? (e === "lowerLetter" && (e = "lowerAlpha"), {
|
|
37611
|
-
style: `list-style-type: ${
|
|
37612
|
+
style: `list-style-type: ${Sp$2(e)};`
|
|
37612
37613
|
}) : {};
|
|
37613
37614
|
}
|
|
37614
37615
|
},
|
|
@@ -37770,8 +37771,8 @@ Actual: ` + p3.attribValue
|
|
|
37770
37771
|
return e;
|
|
37771
37772
|
};
|
|
37772
37773
|
function Wb(t = {}) {
|
|
37773
|
-
return new
|
|
37774
|
-
key: new
|
|
37774
|
+
return new vp$2({
|
|
37775
|
+
key: new Cp$2("styledListMarker"),
|
|
37775
37776
|
state: {
|
|
37776
37777
|
init(e, n) {
|
|
37777
37778
|
const r = [
|
|
@@ -37836,7 +37837,7 @@ Actual: ` + p3.attribValue
|
|
|
37836
37837
|
style: `
|
|
37837
37838
|
${l ? `margin-top: ${l}px;` : ""}
|
|
37838
37839
|
${c3 ? `margin-bottom: ${c3}px;` : ""}
|
|
37839
|
-
${d ?
|
|
37840
|
+
${d ? Lp$1(d, "") : ""}
|
|
37840
37841
|
`.trim()
|
|
37841
37842
|
};
|
|
37842
37843
|
}
|
|
@@ -37981,7 +37982,7 @@ Actual: ` + p3.attribValue
|
|
|
37981
37982
|
addPmPlugins() {
|
|
37982
37983
|
return [Wb()];
|
|
37983
37984
|
}
|
|
37984
|
-
}), io$2 = new
|
|
37985
|
+
}), io$2 = new Cp$2("linkedStyles"), Kb = Q$1.create({
|
|
37985
37986
|
name: "linkedStyles",
|
|
37986
37987
|
addPmPlugins() {
|
|
37987
37988
|
return [Xb(this.editor)];
|
|
@@ -38004,7 +38005,7 @@ Actual: ` + p3.attribValue
|
|
|
38004
38005
|
}
|
|
38005
38006
|
};
|
|
38006
38007
|
}
|
|
38007
|
-
}), Xb = (t) => new
|
|
38008
|
+
}), Xb = (t) => new vp$2({
|
|
38008
38009
|
key: io$2,
|
|
38009
38010
|
state: {
|
|
38010
38011
|
init(e, { doc: n, selection: r }) {
|
|
@@ -38073,7 +38074,7 @@ Actual: ` + p3.attribValue
|
|
|
38073
38074
|
return {
|
|
38074
38075
|
"margin-top": e + "px",
|
|
38075
38076
|
"margin-bottom": n + "px",
|
|
38076
|
-
...
|
|
38077
|
+
...Lp$1(r, "")
|
|
38077
38078
|
};
|
|
38078
38079
|
}, Zb = (t) => {
|
|
38079
38080
|
const { lineSpaceBefore: e, lineSpaceAfter: n } = t;
|
|
@@ -38361,9 +38362,9 @@ Actual: ` + p3.attribValue
|
|
|
38361
38362
|
},
|
|
38362
38363
|
addPmPlugins() {
|
|
38363
38364
|
const { view: t } = this.editor;
|
|
38364
|
-
return [new
|
|
38365
|
+
return [new vp$2({
|
|
38365
38366
|
name: "tabPlugin",
|
|
38366
|
-
key: new
|
|
38367
|
+
key: new Cp$2("tabPlugin"),
|
|
38367
38368
|
state: {
|
|
38368
38369
|
init(n, r) {
|
|
38369
38370
|
let o = cl$1(r, t);
|
|
@@ -38478,12 +38479,12 @@ Actual: ` + p3.attribValue
|
|
|
38478
38479
|
const m = o === u ? i3 : p3 && p3[h3], g = m ? `${m}px` : "";
|
|
38479
38480
|
if (s += m || r, m || (a = false), l) {
|
|
38480
38481
|
if (l.style.width !== g) {
|
|
38481
|
-
const [b, w] =
|
|
38482
|
+
const [b, w] = fd$2(r, m);
|
|
38482
38483
|
l.style.setProperty(b, w);
|
|
38483
38484
|
}
|
|
38484
38485
|
l = l.nextSibling;
|
|
38485
38486
|
} else {
|
|
38486
|
-
const b = document.createElement("col"), [w, C] =
|
|
38487
|
+
const b = document.createElement("col"), [w, C] = fd$2(r, m);
|
|
38487
38488
|
b.style.setProperty(w, C), e.appendChild(b);
|
|
38488
38489
|
}
|
|
38489
38490
|
}
|
|
@@ -38754,7 +38755,7 @@ Actual: ` + p3.attribValue
|
|
|
38754
38755
|
}
|
|
38755
38756
|
return e;
|
|
38756
38757
|
}
|
|
38757
|
-
var Et = new
|
|
38758
|
+
var Et = new Cp$2("selectingCells");
|
|
38758
38759
|
function $n$2(t) {
|
|
38759
38760
|
for (let e = t.depth - 1; e > 0; e--)
|
|
38760
38761
|
if (t.node(e).type.spec.tableRole == "row")
|
|
@@ -39058,7 +39059,7 @@ Actual: ` + p3.attribValue
|
|
|
39058
39059
|
} else r instanceof tt$3 && w0(r) ? i3 = tt$3.create(o, r.from) : r instanceof tt$3 && v0(r) && (i3 = tt$3.create(o, r.$from.start(), r.$from.end()));
|
|
39059
39060
|
return i3 && (e || (e = t.tr)).setSelection(i3), e;
|
|
39060
39061
|
}
|
|
39061
|
-
var C0 = new
|
|
39062
|
+
var C0 = new Cp$2("fix-tables");
|
|
39062
39063
|
function pu$1(t, e, n, r) {
|
|
39063
39064
|
const o = t.childCount, i3 = e.childCount;
|
|
39064
39065
|
e: for (let s = 0, a = 0; s < i3; s++) {
|
|
@@ -39972,7 +39973,7 @@ Actual: ` + p3.attribValue
|
|
|
39972
39973
|
l ? (n.style.width = a + "px", n.style.minWidth = "") : (n.style.width = "", n.style.minWidth = a + "px");
|
|
39973
39974
|
}
|
|
39974
39975
|
}
|
|
39975
|
-
var Ee$2 = new
|
|
39976
|
+
var Ee$2 = new Cp$2(
|
|
39976
39977
|
"tableColumnResizing"
|
|
39977
39978
|
);
|
|
39978
39979
|
function J0({
|
|
@@ -39982,7 +39983,7 @@ Actual: ` + p3.attribValue
|
|
|
39982
39983
|
View: r = X0,
|
|
39983
39984
|
lastColumnResizable: o = true
|
|
39984
39985
|
} = {}) {
|
|
39985
|
-
const i3 = new
|
|
39986
|
+
const i3 = new vp$2({
|
|
39986
39987
|
key: Ee$2,
|
|
39987
39988
|
state: {
|
|
39988
39989
|
init(s, a) {
|
|
@@ -40196,7 +40197,7 @@ Actual: ` + p3.attribValue
|
|
|
40196
40197
|
function iw({
|
|
40197
40198
|
allowTableNodeSelection: t = false
|
|
40198
40199
|
} = {}) {
|
|
40199
|
-
return new
|
|
40200
|
+
return new vp$2({
|
|
40200
40201
|
key: Et,
|
|
40201
40202
|
// This piece of state is used to remember when a mouse-drag
|
|
40202
40203
|
// cell-selection is happening, so that it can continue even as
|
|
@@ -40322,7 +40323,7 @@ Actual: ` + p3.attribValue
|
|
|
40322
40323
|
return [{ tag: "table" }];
|
|
40323
40324
|
},
|
|
40324
40325
|
renderDOM({ node: t, htmlAttributes: e }) {
|
|
40325
|
-
const { colgroup: n, tableWidth: r, tableMinWidth: o } =
|
|
40326
|
+
const { colgroup: n, tableWidth: r, tableMinWidth: o } = dd$2(
|
|
40326
40327
|
t,
|
|
40327
40328
|
this.options.cellMinWidth
|
|
40328
40329
|
);
|
|
@@ -40412,7 +40413,7 @@ Actual: ` + p3.attribValue
|
|
|
40412
40413
|
},
|
|
40413
40414
|
extendNodeSchema(t) {
|
|
40414
40415
|
return {
|
|
40415
|
-
tableRole:
|
|
40416
|
+
tableRole: Bp$2(E(t, "tableRole", {
|
|
40416
40417
|
name: t.name,
|
|
40417
40418
|
options: t.options,
|
|
40418
40419
|
storage: t.storage
|
|
@@ -40736,8 +40737,8 @@ Actual: ` + p3.attribValue
|
|
|
40736
40737
|
}
|
|
40737
40738
|
const cw = (t = {}) => {
|
|
40738
40739
|
let { editor: e, annotationClass: n } = t;
|
|
40739
|
-
return new
|
|
40740
|
-
key: new
|
|
40740
|
+
return new vp$2({
|
|
40741
|
+
key: new Cp$2("fieldAnnotation"),
|
|
40741
40742
|
state: {
|
|
40742
40743
|
init() {
|
|
40743
40744
|
return null;
|
|
@@ -41409,7 +41410,7 @@ Actual: ` + p3.attribValue
|
|
|
41409
41410
|
if (!c3.length)
|
|
41410
41411
|
return true;
|
|
41411
41412
|
let [d, u] = Of$1(t), f3 = 8, p3 = 96, h3 = "pt";
|
|
41412
|
-
return Number.isNaN(d) ? false : (d =
|
|
41413
|
+
return Number.isNaN(d) ? false : (d = Pp$1(d, f3, p3), u = u || h3, n && (c3.forEach((m) => {
|
|
41413
41414
|
i3.updateFieldAnnotationsAttributes([m], {
|
|
41414
41415
|
fontSize: `${d}${u}`
|
|
41415
41416
|
});
|
|
@@ -41453,7 +41454,7 @@ Actual: ` + p3.attribValue
|
|
|
41453
41454
|
}
|
|
41454
41455
|
return e;
|
|
41455
41456
|
}
|
|
41456
|
-
const Ao$1 = new
|
|
41457
|
+
const Ao$1 = new Cp$2("ImagePlaceholder"), Dw = (t = {}) => new vp$2({
|
|
41457
41458
|
key: Ao$1,
|
|
41458
41459
|
state: {
|
|
41459
41460
|
init() {
|
|
@@ -42295,8 +42296,8 @@ Actual: ` + p3.attribValue
|
|
|
42295
42296
|
});
|
|
42296
42297
|
return F.create(n.doc, [i3]);
|
|
42297
42298
|
};
|
|
42298
|
-
return [new
|
|
42299
|
-
key: new
|
|
42299
|
+
return [new vp$2({
|
|
42300
|
+
key: new Cp$2("placeholder"),
|
|
42300
42301
|
state: {
|
|
42301
42302
|
init: (n, r) => t(r),
|
|
42302
42303
|
apply: (n, r, o, i3) => t(i3)
|
|
@@ -44083,10 +44084,10 @@ Actual: ` + p3.attribValue
|
|
|
44083
44084
|
], 42, wk))), 128))
|
|
44084
44085
|
], 544));
|
|
44085
44086
|
}
|
|
44086
|
-
}, Mk = /* @__PURE__ */ bk(xk, [["__scopeId", "data-v-0a2a8b4e"]]), Jl$1 = new
|
|
44087
|
+
}, Mk = /* @__PURE__ */ bk(xk, [["__scopeId", "data-v-0a2a8b4e"]]), Jl$1 = new Cp$2("popoverPlugin"), Ak = Q$1.create({
|
|
44087
44088
|
name: "popoverPlugin",
|
|
44088
44089
|
addPmPlugins() {
|
|
44089
|
-
return [new
|
|
44090
|
+
return [new vp$2({
|
|
44090
44091
|
key: Jl$1,
|
|
44091
44092
|
state: {
|
|
44092
44093
|
init: () => ({}),
|
|
@@ -44214,7 +44215,7 @@ Actual: ` + p3.attribValue
|
|
|
44214
44215
|
addPmPlugins() {
|
|
44215
44216
|
const t = this.editor;
|
|
44216
44217
|
let e = false, n = false, r = false, o = false;
|
|
44217
|
-
return [new
|
|
44218
|
+
return [new vp$2({
|
|
44218
44219
|
key: rn$2,
|
|
44219
44220
|
state: {
|
|
44220
44221
|
isReadyToInit: false,
|
|
@@ -53391,7 +53392,7 @@ ${t}
|
|
|
53391
53392
|
console.warn(`[super-toolbar 🎨] Element not found: ${this.config.selector}`);
|
|
53392
53393
|
return;
|
|
53393
53394
|
}
|
|
53394
|
-
this.app = createApp(Ip), this.app.directive("click-outside",
|
|
53395
|
+
this.app = createApp(Ip), this.app.directive("click-outside", Fp$1), this.app.config.globalProperties.$toolbar = this, n && (this.toolbar = this.app.mount(n)), this.activeEditor = o.editor || null, this.updateToolbarState();
|
|
53395
53396
|
}
|
|
53396
53397
|
log(...o) {
|
|
53397
53398
|
console.debug("[🎨 super-toolbar]", ...o);
|
|
@@ -68638,7 +68639,7 @@ ${style2}
|
|
|
68638
68639
|
this.config.colors = shuffleArray(this.config.colors);
|
|
68639
68640
|
this.userColorMap = /* @__PURE__ */ new Map();
|
|
68640
68641
|
this.colorIndex = 0;
|
|
68641
|
-
this.version = "0.10.
|
|
68642
|
+
this.version = "0.10.13";
|
|
68642
68643
|
console.debug("🦋 [superdoc] Using SuperDoc version:", this.version);
|
|
68643
68644
|
this.superdocId = config.superdocId || v4();
|
|
68644
68645
|
this.colors = this.config.colors;
|