@harbour-enterprises/superdoc 0.10.11 → 0.10.12
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-CgDodfKP.es.js} +1884 -1884
- package/dist/chunks/{super-editor.es-u_aBzqU8.cjs → super-editor.es-zYO4DHS9.cjs} +34 -34
- package/dist/super-editor/chunks/{converter-D70pBYBy.js → converter-eVBEEpVi.js} +602 -602
- package/dist/super-editor/chunks/{docx-zipper-96fM1jjz.js → docx-zipper-B3LMPep2.js} +1 -1
- package/dist/super-editor/chunks/{editor-BfAhjjdV.js → editor-9ohgWjJk.js} +3 -3
- package/dist/super-editor/chunks/{toolbar-DoKK_Ie4.js → toolbar-BXJKidtq.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 +707 -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({
|
|
@@ -21932,7 +21932,7 @@ Actual: ` + p3.attribValue
|
|
|
21932
21932
|
function Bo$2(r22, e) {
|
|
21933
21933
|
return uu$2(r22, e);
|
|
21934
21934
|
}
|
|
21935
|
-
function
|
|
21935
|
+
function jd$2(r22) {
|
|
21936
21936
|
const {
|
|
21937
21937
|
node: { attrs: e = {}, marks: t = [] }
|
|
21938
21938
|
} = r22, n = au$2(r22, e.linkUrl), i3 = Fr$1(e.linkUrl, t);
|
|
@@ -21946,7 +21946,7 @@ Actual: ` + p3.attribValue
|
|
|
21946
21946
|
elements: [i3]
|
|
21947
21947
|
};
|
|
21948
21948
|
}
|
|
21949
|
-
function
|
|
21949
|
+
function Hd$2(r22) {
|
|
21950
21950
|
const e = {
|
|
21951
21951
|
w: 4286250,
|
|
21952
21952
|
h: 4286250
|
|
@@ -21958,12 +21958,12 @@ Actual: ` + p3.attribValue
|
|
|
21958
21958
|
text: lu$2,
|
|
21959
21959
|
image: (i3) => Bo$2(i3, e),
|
|
21960
21960
|
signature: (i3) => Bo$2(i3, t),
|
|
21961
|
-
checkbox:
|
|
21962
|
-
html:
|
|
21963
|
-
link:
|
|
21961
|
+
checkbox: Md$2,
|
|
21962
|
+
html: Ud$2,
|
|
21963
|
+
link: jd$2
|
|
21964
21964
|
}[r22];
|
|
21965
21965
|
}
|
|
21966
|
-
const
|
|
21966
|
+
const Vd$2 = (r22 = {}) => {
|
|
21967
21967
|
const {
|
|
21968
21968
|
fontFamily: e,
|
|
21969
21969
|
fontSize: t,
|
|
@@ -21973,8 +21973,8 @@ Actual: ` + p3.attribValue
|
|
|
21973
21973
|
} = r22, o = [];
|
|
21974
21974
|
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
21975
|
};
|
|
21976
|
-
function
|
|
21977
|
-
const { node: e, isFinalDoc: t } = r22, { attrs: n = {} } = e, i3 =
|
|
21976
|
+
function zd$2(r22) {
|
|
21977
|
+
const { node: e, isFinalDoc: t } = r22, { attrs: n = {} } = e, i3 = Hd$2(n.type);
|
|
21978
21978
|
if (!i3) return {};
|
|
21979
21979
|
let s, o;
|
|
21980
21980
|
if (t)
|
|
@@ -22026,7 +22026,7 @@ Actual: ` + p3.attribValue
|
|
|
22026
22026
|
]
|
|
22027
22027
|
};
|
|
22028
22028
|
}
|
|
22029
|
-
function
|
|
22029
|
+
function Gd$2() {
|
|
22030
22030
|
return {
|
|
22031
22031
|
name: "w:r",
|
|
22032
22032
|
elements: [{
|
|
@@ -22078,28 +22078,28 @@ Actual: ` + p3.attribValue
|
|
|
22078
22078
|
}
|
|
22079
22079
|
return a || u.push(`</${n}>`), u;
|
|
22080
22080
|
};
|
|
22081
|
-
function
|
|
22081
|
+
function Wd$2(r22, e, t) {
|
|
22082
22082
|
if (r22 > t) {
|
|
22083
22083
|
let n = t / r22, i3 = Math.round(e * n);
|
|
22084
22084
|
return { width: t, height: i3 };
|
|
22085
22085
|
}
|
|
22086
22086
|
return { width: r22, height: e };
|
|
22087
22087
|
}
|
|
22088
|
-
const
|
|
22088
|
+
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
22089
|
const { nodes: e } = r22;
|
|
22090
22090
|
if (e.length === 0)
|
|
22091
22091
|
return { nodes: [], consumed: 0 };
|
|
22092
22092
|
const t = e[0];
|
|
22093
22093
|
switch (t.name) {
|
|
22094
22094
|
case "w:tbl":
|
|
22095
|
-
return { nodes: [$
|
|
22095
|
+
return { nodes: [Zd$2(t, r22)], consumed: 1 };
|
|
22096
22096
|
}
|
|
22097
22097
|
return { nodes: [], consumed: 0 };
|
|
22098
|
-
},
|
|
22098
|
+
}, Yd$2 = {
|
|
22099
22099
|
handlerName: "tableNodeHandler",
|
|
22100
|
-
handler:
|
|
22100
|
+
handler: Xd$2
|
|
22101
22101
|
};
|
|
22102
|
-
function $
|
|
22102
|
+
function Zd$2(r22, e) {
|
|
22103
22103
|
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
22104
|
if (h3) {
|
|
22105
22105
|
const { "w:w": B, "w:type": N3 } = h3.attributes;
|
|
@@ -22124,7 +22124,7 @@ Actual: ` + p3.attribValue
|
|
|
22124
22124
|
g.borders = k;
|
|
22125
22125
|
const C = [];
|
|
22126
22126
|
return w.forEach((B) => {
|
|
22127
|
-
const N3 =
|
|
22127
|
+
const N3 = tm$1(B, r22, I3, f3, e);
|
|
22128
22128
|
N3.content?.length && C.push(N3);
|
|
22129
22129
|
}), {
|
|
22130
22130
|
type: "table",
|
|
@@ -22132,15 +22132,15 @@ Actual: ` + p3.attribValue
|
|
|
22132
22132
|
attrs: g
|
|
22133
22133
|
};
|
|
22134
22134
|
}
|
|
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 =
|
|
22135
|
+
function Qd$2(r22, e, t, n, i3 = null, s, o, a) {
|
|
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 = em$1(g, n), S = mu$2(t), T3 = c3?.elements?.find((ae2) => ae2.name === "w:tcW");
|
|
22137
22137
|
let A = T3 ? xe$1(T3.attributes["w:w"]) : null;
|
|
22138
22138
|
const F3 = T3?.attributes["w:type"];
|
|
22139
22139
|
!A && i3 && (A = i3);
|
|
22140
22140
|
const w = No$2(r22), { attributes: k } = w || {}, C = {
|
|
22141
22141
|
color: c3?.elements?.find((ae2) => ae2.name === "w:shd")?.attributes["w:fill"]
|
|
22142
22142
|
}, 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 =
|
|
22143
|
+
K3.cellMargins = rm$1(q, oe2);
|
|
22144
22144
|
const { fontSize: ee, fonts: Z = {} } = oe2, ce2 = Z.ascii;
|
|
22145
22145
|
if (A) {
|
|
22146
22146
|
K3.colwidth = [A], K3.widthUnit = "px";
|
|
@@ -22158,12 +22158,12 @@ Actual: ` + p3.attribValue
|
|
|
22158
22158
|
const ae2 = t.elements.filter((ie) => ie.name === "w:tr"), se = ae2.findIndex((ie) => ie === e), Y = ae2.slice(se + 1);
|
|
22159
22159
|
let J3 = e.elements.filter((ie) => ie.name === "w:tc").findIndex((ie) => ie === r22), te2 = 1;
|
|
22160
22160
|
for (let ie of Y) {
|
|
22161
|
-
const
|
|
22161
|
+
const L3 = ie.elements.findIndex((P3) => P3.name === "w:tc"), j = ie.elements[L3 + J3];
|
|
22162
22162
|
if (!j) break;
|
|
22163
22163
|
const V3 = No$2(j), { attributes: $ } = V3 || {};
|
|
22164
22164
|
if (!V3 && !$ || $ && $["w:val"] === "restart")
|
|
22165
22165
|
break;
|
|
22166
|
-
te2++, ie.elements.splice(
|
|
22166
|
+
te2++, ie.elements.splice(L3 + J3, 1);
|
|
22167
22167
|
}
|
|
22168
22168
|
K3.rowspan = te2;
|
|
22169
22169
|
}
|
|
@@ -22186,7 +22186,7 @@ Actual: ` + p3.attribValue
|
|
|
22186
22186
|
return Object.keys(i3) ? (i3.val = "none", i3) : null;
|
|
22187
22187
|
}
|
|
22188
22188
|
return null;
|
|
22189
|
-
},
|
|
22189
|
+
}, em$1 = (r22, e) => {
|
|
22190
22190
|
if (!r22) return null;
|
|
22191
22191
|
const t = {}, n = ir$2(r22, "bottom", e);
|
|
22192
22192
|
n && (t.bottom = n);
|
|
@@ -22224,7 +22224,7 @@ Actual: ` + p3.attribValue
|
|
|
22224
22224
|
n.fonts = { ascii: w, hAnsi: k, cs: I3 };
|
|
22225
22225
|
}
|
|
22226
22226
|
const F3 = S.elements.find((w) => w.name === "w:sz");
|
|
22227
|
-
F3?.attributes && (n.fontSize =
|
|
22227
|
+
F3?.attributes && (n.fontSize = Lf$1(F3.attributes["w:val"]) + "pt");
|
|
22228
22228
|
}
|
|
22229
22229
|
const T3 = f3.elements.find((A) => A.name === "w:tblPr");
|
|
22230
22230
|
if (T3 && T3.elements) {
|
|
@@ -22254,7 +22254,7 @@ Actual: ` + p3.attribValue
|
|
|
22254
22254
|
rowBorders: t
|
|
22255
22255
|
};
|
|
22256
22256
|
}
|
|
22257
|
-
function
|
|
22257
|
+
function tm$1(r22, e, t, n, i3) {
|
|
22258
22258
|
const s = {}, a = r22.elements.find((T3) => T3.name === "w:trPr")?.elements?.find((T3) => T3.name === "w:trHeight"), u = a?.attributes["w:val"];
|
|
22259
22259
|
a?.attributes["w:hRule"];
|
|
22260
22260
|
const f3 = {};
|
|
@@ -22264,12 +22264,12 @@ Actual: ` + p3.attribValue
|
|
|
22264
22264
|
type: "tableRow",
|
|
22265
22265
|
content: g?.map((T3, A) => {
|
|
22266
22266
|
const F3 = g.length > 1 ? c3[A] : null;
|
|
22267
|
-
return
|
|
22267
|
+
return Qd$2(T3, r22, e, f3, F3, n, i3, A);
|
|
22268
22268
|
}) || [],
|
|
22269
22269
|
attrs: s
|
|
22270
22270
|
};
|
|
22271
22271
|
}
|
|
22272
|
-
const
|
|
22272
|
+
const rm$1 = (r22, e) => {
|
|
22273
22273
|
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
22274
|
marginLeft: g,
|
|
22275
22275
|
marginRight: h3,
|
|
@@ -22282,7 +22282,7 @@ Actual: ` + p3.attribValue
|
|
|
22282
22282
|
top: xe$1(u ?? S),
|
|
22283
22283
|
bottom: xe$1(f3 ?? T3)
|
|
22284
22284
|
};
|
|
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"])) || [],
|
|
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"])) || [], nm$1 = (r22) => {
|
|
22286
22286
|
const { nodes: e, filename: t } = r22;
|
|
22287
22287
|
if (e.length === 0 || e[0].name !== "w:drawing")
|
|
22288
22288
|
return { nodes: [], consumed: 0 };
|
|
@@ -22330,9 +22330,9 @@ Actual: ` + p3.attribValue
|
|
|
22330
22330
|
}
|
|
22331
22331
|
};
|
|
22332
22332
|
}
|
|
22333
|
-
const
|
|
22333
|
+
const im$1 = {
|
|
22334
22334
|
handlerName: "drawingNodeHandler",
|
|
22335
|
-
handler:
|
|
22335
|
+
handler: nm$1
|
|
22336
22336
|
};
|
|
22337
22337
|
function Bt$2(r22, e = [], t = null) {
|
|
22338
22338
|
const n = [], i3 = /* @__PURE__ */ new Set();
|
|
@@ -22357,7 +22357,7 @@ Actual: ` + p3.attribValue
|
|
|
22357
22357
|
const { attributes: u = {} } = s, f3 = { type: a.type };
|
|
22358
22358
|
if (!(u["w:val"] == "0" || u["w:val"] === "none")) {
|
|
22359
22359
|
if (a.mark && (f3.type = a.mark), Object.keys(u).length) {
|
|
22360
|
-
const c3 =
|
|
22360
|
+
const c3 = om$1(a.type, u, t);
|
|
22361
22361
|
if (c3 == null) return;
|
|
22362
22362
|
f3.attrs = {}, f3.attrs[a.property] = c3;
|
|
22363
22363
|
}
|
|
@@ -22366,7 +22366,7 @@ Actual: ` + p3.attribValue
|
|
|
22366
22366
|
});
|
|
22367
22367
|
}), gi$2(n);
|
|
22368
22368
|
}
|
|
22369
|
-
function
|
|
22369
|
+
function sm$1(r22, e) {
|
|
22370
22370
|
const t = r22.elements?.find((o) => o.name === "w:rPrChange");
|
|
22371
22371
|
if (!t)
|
|
22372
22372
|
return [];
|
|
@@ -22387,25 +22387,25 @@ Actual: ` + p3.attribValue
|
|
|
22387
22387
|
});
|
|
22388
22388
|
}), [...t, { type: "textStyle", attrs: n }];
|
|
22389
22389
|
}
|
|
22390
|
-
function
|
|
22390
|
+
function om$1(r22, e, t) {
|
|
22391
22391
|
r22 === "tabs" && (r22 = "textIndent");
|
|
22392
22392
|
const n = {
|
|
22393
22393
|
color: () => `#${e["w:val"]}`,
|
|
22394
22394
|
fontSize: () => `${e["w:val"] / 2}pt`,
|
|
22395
|
-
textIndent: () =>
|
|
22396
|
-
fontFamily: () =>
|
|
22397
|
-
lineHeight: () =>
|
|
22395
|
+
textIndent: () => um$1(e),
|
|
22396
|
+
fontFamily: () => am$1(e, t),
|
|
22397
|
+
lineHeight: () => lm$1(e),
|
|
22398
22398
|
textAlign: () => e["w:val"],
|
|
22399
22399
|
link: () => e.href,
|
|
22400
22400
|
underline: () => e["w:val"],
|
|
22401
22401
|
bold: () => e?.["w:val"] || null,
|
|
22402
22402
|
italic: () => e?.["w:val"] || null,
|
|
22403
|
-
highlight: () =>
|
|
22403
|
+
highlight: () => cm$1(e)
|
|
22404
22404
|
};
|
|
22405
22405
|
if (r22 in n || console.debug("❗️❗️ No value mapper for:", r22, "Attributes:", e), r22 in n)
|
|
22406
22406
|
return n[r22], n[r22]();
|
|
22407
22407
|
}
|
|
22408
|
-
function
|
|
22408
|
+
function am$1(r22, e) {
|
|
22409
22409
|
const t = r22["w:ascii"], n = r22["w:asciiTheme"];
|
|
22410
22410
|
if (!e || !n) return t;
|
|
22411
22411
|
const i3 = e["word/theme/theme1.xml"];
|
|
@@ -22413,20 +22413,20 @@ Actual: ` + p3.attribValue
|
|
|
22413
22413
|
const { elements: s } = i3, { elements: o } = s[0];
|
|
22414
22414
|
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
22415
|
}
|
|
22416
|
-
function
|
|
22416
|
+
function um$1(r22) {
|
|
22417
22417
|
let e = r22["w:left"];
|
|
22418
22418
|
return e ? `${qe$2(e)}in` : null;
|
|
22419
22419
|
}
|
|
22420
|
-
function
|
|
22420
|
+
function lm$1(r22) {
|
|
22421
22421
|
const e = r22["w:line"], t = r22["w:lineRule"];
|
|
22422
22422
|
return !e || e === "0" ? null : t === "exact" ? `${tu$2(e)}pt` : `${Ni$2(e)}`;
|
|
22423
22423
|
}
|
|
22424
|
-
function
|
|
22424
|
+
function cm$1(r22) {
|
|
22425
22425
|
return r22["w:fill"] ? `#${r22["w:fill"]}` : Uf$2(r22?.["w:val"]) ? `#${r22["w:val"]}` : Mf$1(r22?.["w:val"]) || null;
|
|
22426
22426
|
}
|
|
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(...
|
|
22427
|
+
function Lt$2(r22, e) {
|
|
22428
|
+
const t = [], n = [], { attributes: i3 = {}, elements: s = [] } = r22, { nodes: o, paragraphProperties: a = {}, runProperties: u = {} } = fm$1(s);
|
|
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(...sm$1(u, t)), a && a.elements?.length && (i3.paragraphProperties = a), t && r22.name === "w:p" && t.forEach((c3) => {
|
|
22430
22430
|
const g = Object.keys(c3.attrs ?? {})[0];
|
|
22431
22431
|
if (g) {
|
|
22432
22432
|
const h3 = c3.attrs[g];
|
|
@@ -22434,7 +22434,7 @@ Actual: ` + p3.attribValue
|
|
|
22434
22434
|
}
|
|
22435
22435
|
}), { elements: o, attributes: i3, marks: t, unknownMarks: n };
|
|
22436
22436
|
}
|
|
22437
|
-
function
|
|
22437
|
+
function fm$1(r22) {
|
|
22438
22438
|
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
22439
|
return {
|
|
22440
22440
|
nodes: r22.filter((s) => s.name !== "w:pPr" && s.name !== "w:rPr" && s.name !== "w:sectPr"),
|
|
@@ -22446,15 +22446,15 @@ Actual: ` + p3.attribValue
|
|
|
22446
22446
|
function lr$2(r22) {
|
|
22447
22447
|
return Nt$4.allowedElements[r22.name || r22.type];
|
|
22448
22448
|
}
|
|
22449
|
-
const
|
|
22449
|
+
const dm$1 = (r22) => !!Nt$4.propertyTypes[r22.name || r22.type];
|
|
22450
22450
|
function pu$2(r22) {
|
|
22451
22451
|
return r22.filter((n) => n.name === "w:r").some((n) => n.elements.some((i3) => i3.name === "w:t"));
|
|
22452
22452
|
}
|
|
22453
|
-
const
|
|
22453
|
+
const mm$1 = (r22) => {
|
|
22454
22454
|
const { nodes: e, nodeListHandler: t } = r22;
|
|
22455
22455
|
if (e.length === 0 || !(e[0].name === "w:del" || e[0].name === "w:ins"))
|
|
22456
22456
|
return { nodes: [], consumed: 0 };
|
|
22457
|
-
const n = e[0], { name: i3 } = n, { attributes: s, elements: o } =
|
|
22457
|
+
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
22458
|
id: s["w:id"],
|
|
22459
22459
|
date: s["w:date"],
|
|
22460
22460
|
author: s["w:author"],
|
|
@@ -22463,10 +22463,10 @@ Actual: ` + p3.attribValue
|
|
|
22463
22463
|
return a.forEach((c3) => {
|
|
22464
22464
|
c3.marks === void 0 && (c3.marks = []), c3.marks.push({ type: u, attrs: f3 });
|
|
22465
22465
|
}), { nodes: a, consumed: 1 };
|
|
22466
|
-
},
|
|
22466
|
+
}, pm$1 = {
|
|
22467
22467
|
handlerName: "trackChangeNodeHandler",
|
|
22468
|
-
handler:
|
|
22469
|
-
},
|
|
22468
|
+
handler: mm$1
|
|
22469
|
+
}, hm$1 = (r22) => {
|
|
22470
22470
|
const { nodes: e, docx: t, nodeListHandler: n } = r22;
|
|
22471
22471
|
if (e.length === 0 || e[0].name !== "w:hyperlink")
|
|
22472
22472
|
return { nodes: [], consumed: 0 };
|
|
@@ -22485,35 +22485,35 @@ Actual: ` + p3.attribValue
|
|
|
22485
22485
|
}
|
|
22486
22486
|
}
|
|
22487
22487
|
return { nodes: n.handler({ ...r22, nodes: T3 }), consumed: 1 };
|
|
22488
|
-
},
|
|
22488
|
+
}, gm$1 = {
|
|
22489
22489
|
handlerName: "hyperlinkNodeHandler",
|
|
22490
|
-
handler:
|
|
22491
|
-
},
|
|
22490
|
+
handler: hm$1
|
|
22491
|
+
}, wm$1 = (r22) => {
|
|
22492
22492
|
const { nodes: e, nodeListHandler: t, parentStyleId: n, docx: i3 } = r22;
|
|
22493
22493
|
if (e.length === 0 || e[0].name !== "w:r")
|
|
22494
22494
|
return { nodes: [], consumed: 0 };
|
|
22495
22495
|
const s = e[0], o = { ...r22, nodes: s.elements };
|
|
22496
22496
|
let a = t.handler(o)?.filter((c3) => c3) || [];
|
|
22497
|
-
const u = s.elements?.some((c3) => c3.name === "w:rPr"), f3 =
|
|
22497
|
+
const u = s.elements?.some((c3) => c3.name === "w:rPr"), f3 = ym$1(i3, n);
|
|
22498
22498
|
if (u) {
|
|
22499
|
-
const { marks: c3 = [], attributes: g = {} } =
|
|
22499
|
+
const { marks: c3 = [], attributes: g = {} } = Lt$2(s), h3 = c3.find((T3) => T3.type === "textStyle"), S = h3 && Object.keys(h3.attrs).length > 0;
|
|
22500
22500
|
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
22501
|
} else f3.marks && (a = a.map((c3) => ({ ...c3, marks: gi$2(f3.marks) })));
|
|
22502
22502
|
return { nodes: a, consumed: 1 };
|
|
22503
|
-
},
|
|
22503
|
+
}, ym$1 = (r22, e) => {
|
|
22504
22504
|
const t = r22?.["word/styles.xml"];
|
|
22505
22505
|
if (!t)
|
|
22506
22506
|
return {};
|
|
22507
22507
|
const i3 = t.elements[0].elements.filter((s) => s.name === "w:style").find((s) => s.attributes["w:styleId"] === e) || {};
|
|
22508
|
-
return i3 ?
|
|
22509
|
-
},
|
|
22508
|
+
return i3 ? Lt$2(i3) : {};
|
|
22509
|
+
}, bm$1 = {
|
|
22510
22510
|
handlerName: "runNodeHandler",
|
|
22511
|
-
handler:
|
|
22512
|
-
},
|
|
22511
|
+
handler: wm$1
|
|
22512
|
+
}, xm$1 = (r22) => {
|
|
22513
22513
|
const { nodes: e, insideTrackChange: t } = r22;
|
|
22514
22514
|
if (e.length === 0 || !(e[0].name === "w:t" || t && e[0].name === "w:delText"))
|
|
22515
22515
|
return { nodes: [], consumed: 0 };
|
|
22516
|
-
const n = e[0], { type: i3 } = n, { attributes: s, elements: o, marks: a = [] } =
|
|
22516
|
+
const n = e[0], { type: i3 } = n, { attributes: s, elements: o, marks: a = [] } = Lt$2(n);
|
|
22517
22517
|
let u;
|
|
22518
22518
|
if (o.length === 1) u = o[0].text;
|
|
22519
22519
|
else if (!o.length && "attributes" in n && n.attributes["xml:space"] === "preserve")
|
|
@@ -22530,36 +22530,36 @@ Actual: ` + p3.attribValue
|
|
|
22530
22530
|
],
|
|
22531
22531
|
consumed: 1
|
|
22532
22532
|
};
|
|
22533
|
-
},
|
|
22533
|
+
}, Am$1 = {
|
|
22534
22534
|
handlerName: "textNodeHandler",
|
|
22535
|
-
handler:
|
|
22535
|
+
handler: xm$1
|
|
22536
22536
|
}, hu$2 = (r22) => {
|
|
22537
22537
|
if (!r22 || !Array.isArray(r22))
|
|
22538
22538
|
return r22;
|
|
22539
22539
|
let e = [], t = null;
|
|
22540
22540
|
for (let n of r22)
|
|
22541
|
-
n.type === "text" ? t &&
|
|
22541
|
+
n.type === "text" ? t && Dm$1(t, n) ? t = {
|
|
22542
22542
|
...t,
|
|
22543
22543
|
text: t.text += n.text
|
|
22544
22544
|
} : (t && e.push(t), t = { ...n }) : (t && (e.push(t), t = null), e.push(n));
|
|
22545
22545
|
return t && e.push(t), e;
|
|
22546
|
-
},
|
|
22546
|
+
}, Dm$1 = (r22, e) => {
|
|
22547
22547
|
if (!r22 || !e) return false;
|
|
22548
22548
|
let t = r22.marks ?? [], n = e.marks ?? [];
|
|
22549
22549
|
if (t.length !== n.length)
|
|
22550
22550
|
return false;
|
|
22551
22551
|
for (let i3 = 0; i3 < t.length; i3++)
|
|
22552
|
-
if (t[i3].type !== n[i3].type || !
|
|
22552
|
+
if (t[i3].type !== n[i3].type || !Em$1(t[i3].attrs, n[i3].attrs))
|
|
22553
22553
|
return false;
|
|
22554
22554
|
return true;
|
|
22555
|
-
},
|
|
22555
|
+
}, Em$1 = (r22 = {}, e = {}) => If$1(r22, e);
|
|
22556
22556
|
function gu$2(r22, e, t) {
|
|
22557
22557
|
this.name = r22, this.message = e || "", this.details = t;
|
|
22558
22558
|
const n = new Error(this.message);
|
|
22559
22559
|
this.stack = n.stack, n.name = this.name;
|
|
22560
22560
|
}
|
|
22561
22561
|
gu$2.prototype = Object.create(Error.prototype);
|
|
22562
|
-
const
|
|
22562
|
+
const vm$1 = (r22) => {
|
|
22563
22563
|
const { nodes: e, lists: t, docx: n } = r22;
|
|
22564
22564
|
if (e.length === 0 || e[0].name !== "w:p")
|
|
22565
22565
|
return { nodes: [], consumed: 0 };
|
|
@@ -22578,9 +22578,9 @@ Actual: ` + p3.attribValue
|
|
|
22578
22578
|
};
|
|
22579
22579
|
} else
|
|
22580
22580
|
return { nodes: [], consumed: 0, lists: t };
|
|
22581
|
-
},
|
|
22581
|
+
}, Cm$1 = {
|
|
22582
22582
|
handlerName: "listHandler",
|
|
22583
|
-
handler:
|
|
22583
|
+
handler: vm$1
|
|
22584
22584
|
};
|
|
22585
22585
|
function wu$2({
|
|
22586
22586
|
listItems: r22,
|
|
@@ -22609,7 +22609,7 @@ Actual: ` + p3.attribValue
|
|
|
22609
22609
|
P3 && g[g.length - 1]?.content.push(P3), N3.seen = true;
|
|
22610
22610
|
continue;
|
|
22611
22611
|
}
|
|
22612
|
-
const { attributes: q, elements: H3, marks: D3 = [] } =
|
|
22612
|
+
const { attributes: q, elements: H3, marks: D3 = [] } = Lt$2(N3), K3 = D3.find((P3) => P3.type === "textStyle"), {
|
|
22613
22613
|
listType: oe2,
|
|
22614
22614
|
listOrderingType: ee,
|
|
22615
22615
|
ilvl: Z,
|
|
@@ -22619,15 +22619,15 @@ Actual: ` + p3.attribValue
|
|
|
22619
22619
|
lvlText: Y,
|
|
22620
22620
|
lvlJc: de2,
|
|
22621
22621
|
numId: J3
|
|
22622
|
-
} =
|
|
22622
|
+
} = Bm$1(N3, n, u);
|
|
22623
22623
|
S = ee;
|
|
22624
|
-
const te2 = parseInt(Z), ie = i3 === te2 && J3 === s,
|
|
22624
|
+
const te2 = parseInt(Z), ie = i3 === te2 && J3 === s, L3 = Fm$1({
|
|
22625
22625
|
firstListId: J3,
|
|
22626
22626
|
secondListId: s,
|
|
22627
22627
|
level: te2,
|
|
22628
22628
|
pStyleId: null,
|
|
22629
22629
|
docx: u
|
|
22630
|
-
}), j = J3 !== s && !
|
|
22630
|
+
}), j = J3 !== s && !L3, V3 = n < te2 || n === te2 && j && I3 === n;
|
|
22631
22631
|
c3[s] || (c3[s] = {}), c3[s][n] || (c3[s][n] = 0);
|
|
22632
22632
|
const $ = {};
|
|
22633
22633
|
if (ie && !V3) {
|
|
@@ -22635,7 +22635,7 @@ Actual: ` + p3.attribValue
|
|
|
22635
22635
|
const P3 = [];
|
|
22636
22636
|
let p3 = {
|
|
22637
22637
|
type: "paragraph",
|
|
22638
|
-
content: f3.handler({ ...t, nodes: [q.paragraphProperties, ...H3] })?.filter((
|
|
22638
|
+
content: f3.handler({ ...t, nodes: [q.paragraphProperties, ...H3] })?.filter((_) => _)
|
|
22639
22639
|
};
|
|
22640
22640
|
p3.content && (p3 = {
|
|
22641
22641
|
...p3,
|
|
@@ -22647,23 +22647,23 @@ Actual: ` + p3.attribValue
|
|
|
22647
22647
|
}), P3.push(p3), I3 = n;
|
|
22648
22648
|
let m = [];
|
|
22649
22649
|
if (S !== "bullet" && (m = [...o, c3[s][n]]), !o.length && i3 > 0) {
|
|
22650
|
-
const
|
|
22651
|
-
if (
|
|
22650
|
+
const _ = c3[s];
|
|
22651
|
+
if (_) {
|
|
22652
22652
|
const W = [];
|
|
22653
|
-
Object.keys(
|
|
22654
|
-
W.push(
|
|
22653
|
+
Object.keys(_).forEach((re2) => {
|
|
22654
|
+
W.push(_[re2]);
|
|
22655
22655
|
}), m = W;
|
|
22656
22656
|
}
|
|
22657
22657
|
}
|
|
22658
|
-
const E3 = N3.elements.find((
|
|
22658
|
+
const E3 = N3.elements.find((_) => _.name === "w:pPr")?.elements.find((_) => _.name === "w:ind");
|
|
22659
22659
|
if (E3) {
|
|
22660
|
-
const
|
|
22661
|
-
E3.attributes["w:left"] !== void 0 && (
|
|
22660
|
+
const _ = {};
|
|
22661
|
+
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
22662
|
}
|
|
22663
22663
|
ae2 && ($.listParagraphProperties = ae2), ce2 && ($.listRunProperties = ce2), $.textStyle = K3, $.order = se, $.lvlText = Y, $.lvlJc = K3?.attrs.textAlign, $.listLevel = m, $.listNumberingType = ee, $.attributes = {
|
|
22664
22664
|
parentAttributes: N3?.attributes || null
|
|
22665
22665
|
};
|
|
22666
|
-
const b = e?.elements?.find((
|
|
22666
|
+
const b = e?.elements?.find((_) => _.name === "w:rPr");
|
|
22667
22667
|
b && ($.attributes.originalInlineRunProps = b), $.numId = J3, u && ($.spacing = xu$2(N3, u));
|
|
22668
22668
|
const x3 = Ro$2(P3, $, []);
|
|
22669
22669
|
g.push(x3);
|
|
@@ -22742,7 +22742,7 @@ Actual: ` + p3.attribValue
|
|
|
22742
22742
|
marks: t
|
|
22743
22743
|
};
|
|
22744
22744
|
}
|
|
22745
|
-
const
|
|
22745
|
+
const Sm$1 = [
|
|
22746
22746
|
"decimal",
|
|
22747
22747
|
// eg: 1, 2, 3, 4, 5, ...
|
|
22748
22748
|
"decimalZero",
|
|
@@ -22767,7 +22767,7 @@ Actual: ` + p3.attribValue
|
|
|
22767
22767
|
// eg: (0, 1, 2, ..., 9, 10, 11, 12, ..., 19, 1A, 1B, 1C, ..., 1Z, 20, 21, ..., 2Z)
|
|
22768
22768
|
"none"
|
|
22769
22769
|
// No bullet
|
|
22770
|
-
],
|
|
22770
|
+
], Tm$1 = [
|
|
22771
22771
|
"bullet",
|
|
22772
22772
|
// A standard bullet point (•)
|
|
22773
22773
|
"square",
|
|
@@ -22776,7 +22776,7 @@ Actual: ` + p3.attribValue
|
|
|
22776
22776
|
// Circle bullets (◦)
|
|
22777
22777
|
"disc"
|
|
22778
22778
|
// Disc bullets (●)
|
|
22779
|
-
],
|
|
22779
|
+
], Fm$1 = ({ firstListId: r22, secondListId: e, level: t, pStyleId: n, docx: i3 }) => {
|
|
22780
22780
|
const { numFmt: s, lvlText: o, lvlJc: a } = br$2(r22, t, n, i3), {
|
|
22781
22781
|
numFmt: u,
|
|
22782
22782
|
lvlText: f3,
|
|
@@ -22806,7 +22806,7 @@ Actual: ` + p3.attribValue
|
|
|
22806
22806
|
}
|
|
22807
22807
|
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
22808
|
(N3) => N3.attributes["w:abstractNumId"] === g
|
|
22809
|
-
), S =
|
|
22809
|
+
), S = km$1(h3, e), A = h3?.elements?.find((N3) => N3.name === "w:numStyleLink")?.attributes["w:val"];
|
|
22810
22810
|
if (A) {
|
|
22811
22811
|
const N3 = Po$2(A, n);
|
|
22812
22812
|
return br$2(N3.numId, e, null, n);
|
|
@@ -22814,7 +22814,7 @@ Actual: ` + p3.attribValue
|
|
|
22814
22814
|
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
22815
|
return { start: F3, numFmt: w, lvlText: k, lvlJc: I3, pPr: C, rPr: B };
|
|
22816
22816
|
};
|
|
22817
|
-
function
|
|
22817
|
+
function Bm$1(r22, e, t) {
|
|
22818
22818
|
if (!r22) return;
|
|
22819
22819
|
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
22820
|
if (!f3) return {};
|
|
@@ -22827,10 +22827,10 @@ Actual: ` + p3.attribValue
|
|
|
22827
22827
|
rPr: B
|
|
22828
22828
|
} = br$2(g, e, A, t);
|
|
22829
22829
|
let N3, q;
|
|
22830
|
-
C && (N3 =
|
|
22830
|
+
C && (N3 = Nm$1(C)), B && (q = Im$1(B));
|
|
22831
22831
|
let H3;
|
|
22832
|
-
if (
|
|
22833
|
-
else if (
|
|
22832
|
+
if (Tm$1.includes(w?.toLowerCase())) H3 = "bulletList";
|
|
22833
|
+
else if (Sm$1.includes(w)) H3 = "orderedList";
|
|
22834
22834
|
else
|
|
22835
22835
|
throw new gu$2("ListParsingError", `Unknown list type found during import: ${w}`, {
|
|
22836
22836
|
listOrderingType: w,
|
|
@@ -22844,10 +22844,10 @@ Actual: ` + p3.attribValue
|
|
|
22844
22844
|
});
|
|
22845
22845
|
return { listType: H3, listOrderingType: w, ilvl: S, numId: g, listrPrs: q, listpPrs: N3, start: F3, lvlText: k, lvlJc: I3 };
|
|
22846
22846
|
}
|
|
22847
|
-
function
|
|
22847
|
+
function km$1(r22, e) {
|
|
22848
22848
|
return r22?.elements?.find((t) => Number(t.attributes["w:ilvl"]) === e);
|
|
22849
22849
|
}
|
|
22850
|
-
function
|
|
22850
|
+
function Nm$1(r22) {
|
|
22851
22851
|
const { elements: e } = r22, t = ["w:ind", "w:jc", "w:tabs"], n = {};
|
|
22852
22852
|
return e && e.forEach((i3) => {
|
|
22853
22853
|
t.includes(i3.name);
|
|
@@ -22857,7 +22857,7 @@ Actual: ` + p3.attribValue
|
|
|
22857
22857
|
});
|
|
22858
22858
|
}), n;
|
|
22859
22859
|
}
|
|
22860
|
-
function
|
|
22860
|
+
function Im$1(r22) {
|
|
22861
22861
|
const { elements: e } = r22, t = [
|
|
22862
22862
|
"w:rFonts",
|
|
22863
22863
|
"w:b",
|
|
@@ -22888,7 +22888,7 @@ Actual: ` + p3.attribValue
|
|
|
22888
22888
|
});
|
|
22889
22889
|
}), n;
|
|
22890
22890
|
}
|
|
22891
|
-
const
|
|
22891
|
+
const Rm$1 = (r22) => {
|
|
22892
22892
|
const { nodes: e, docx: t, nodeListHandler: n, filename: i3 } = r22;
|
|
22893
22893
|
if (e.length === 0 || e[0].name !== "w:p")
|
|
22894
22894
|
return { nodes: [], consumed: 0 };
|
|
@@ -22905,7 +22905,7 @@ Actual: ` + p3.attribValue
|
|
|
22905
22905
|
c3.nodes.length === 1 && (o = c3.nodes[0]);
|
|
22906
22906
|
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
22907
|
if (S && (o.attrs.marksAttrs = Bt$2(S, [])), h3 && (o.attrs.styleId = h3.attributes["w:val"]), t) {
|
|
22908
|
-
const w =
|
|
22908
|
+
const w = Pm$1(s, t, o.attrs.styleId);
|
|
22909
22909
|
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
22910
|
}
|
|
22911
22911
|
const T3 = g?.elements?.find((w) => w.name === "w:jc");
|
|
@@ -22921,7 +22921,7 @@ Actual: ` + p3.attribValue
|
|
|
22921
22921
|
...o,
|
|
22922
22922
|
content: hu$2(o.content)
|
|
22923
22923
|
}), { nodes: o ? [o] : [], consumed: 1 };
|
|
22924
|
-
},
|
|
22924
|
+
}, Pm$1 = (r22, e, t = "") => {
|
|
22925
22925
|
const n = {
|
|
22926
22926
|
left: 0,
|
|
22927
22927
|
right: 0,
|
|
@@ -22963,11 +22963,11 @@ Actual: ` + p3.attribValue
|
|
|
22963
22963
|
spacing: F3 || T3 || A,
|
|
22964
22964
|
indent: I3 || w || k
|
|
22965
22965
|
};
|
|
22966
|
-
},
|
|
22966
|
+
}, Om$1 = {
|
|
22967
22967
|
handlerName: "paragraphNodeHandler",
|
|
22968
|
-
handler:
|
|
22968
|
+
handler: Rm$1
|
|
22969
22969
|
};
|
|
22970
|
-
function
|
|
22970
|
+
function Lm$1(r22, e) {
|
|
22971
22971
|
const t = { lineSpaceBefore: null, lineSpaceAfter: null };
|
|
22972
22972
|
if (!r22) return t;
|
|
22973
22973
|
const n = e["word/styles.xml"];
|
|
@@ -23077,29 +23077,29 @@ Actual: ` + p3.attribValue
|
|
|
23077
23077
|
});
|
|
23078
23078
|
}
|
|
23079
23079
|
return e;
|
|
23080
|
-
},
|
|
23080
|
+
}, _m$1 = (r22) => nodeListHandler.handler({ ...r22, nodes: node.elements }), qm$1 = (r22) => {
|
|
23081
23081
|
const { nodes: e } = r22;
|
|
23082
23082
|
if (e.length === 0 || e[0].name !== "w:sdt")
|
|
23083
23083
|
return { nodes: [], consumed: 0 };
|
|
23084
23084
|
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
23085
|
if (!o)
|
|
23086
23086
|
return { nodes: [], consumed: 0 };
|
|
23087
|
-
if (!
|
|
23087
|
+
if (!Lo$2[o])
|
|
23088
23088
|
return { nodes: [], consumed: 0 };
|
|
23089
|
-
const a = t?.elements.find((c3) => c3.name === "w:sdtContent"), u =
|
|
23089
|
+
const a = t?.elements.find((c3) => c3.name === "w:sdtContent"), u = Lo$2[o];
|
|
23090
23090
|
return {
|
|
23091
23091
|
nodes: u({ ...r22, nodes: [a] }),
|
|
23092
23092
|
consumed: 1
|
|
23093
23093
|
};
|
|
23094
|
-
},
|
|
23095
|
-
"Table of Contents":
|
|
23096
|
-
},
|
|
23094
|
+
}, Lo$2 = {
|
|
23095
|
+
"Table of Contents": _m$1
|
|
23096
|
+
}, Mm$1 = (r22) => {
|
|
23097
23097
|
const { nodes: e, docx: t, nodeListHandler: n, insideTrackChange: i3 } = r22;
|
|
23098
23098
|
if (e.length === 0 || e[0].name !== "w:sdt")
|
|
23099
23099
|
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 } =
|
|
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 } = Um$1(a);
|
|
23101
23101
|
if (o?.elements.find((I3) => I3.name === "w:docPartObj"))
|
|
23102
|
-
return
|
|
23102
|
+
return qm$1({ nodes: e, docx: t, nodeListHandler: n, insideTrackChange: i3 });
|
|
23103
23103
|
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
23104
|
type: T3,
|
|
23105
23105
|
fieldId: h3?.attributes["w:val"],
|
|
@@ -23123,7 +23123,7 @@ Actual: ` + p3.attribValue
|
|
|
23123
23123
|
nodes: [k],
|
|
23124
23124
|
consumed: 1
|
|
23125
23125
|
};
|
|
23126
|
-
},
|
|
23126
|
+
}, Um$1 = (r22 = {}) => {
|
|
23127
23127
|
const t = r22.elements?.find((a) => a.name === "w:r")?.elements?.find((a) => a.name === "w:rPr");
|
|
23128
23128
|
if (!t) return {};
|
|
23129
23129
|
const i3 = Bt$2(t, []) || [], s = [];
|
|
@@ -23145,17 +23145,17 @@ Actual: ` + p3.attribValue
|
|
|
23145
23145
|
attrs: o,
|
|
23146
23146
|
marks: i3
|
|
23147
23147
|
};
|
|
23148
|
-
},
|
|
23148
|
+
}, jm$1 = {
|
|
23149
23149
|
handlerName: "annotationNodeHandler",
|
|
23150
|
-
handler:
|
|
23151
|
-
},
|
|
23150
|
+
handler: Mm$1
|
|
23151
|
+
}, Hm$1 = (r22) => {
|
|
23152
23152
|
const { nodes: e, docx: t, nodeListHandler: n } = r22;
|
|
23153
23153
|
if (!e || e.length === 0)
|
|
23154
23154
|
return { nodes: [], consumed: 0 };
|
|
23155
|
-
const i3 = e[0], { name: s } = i3, { attributes: o, elements: a, marks: u = [] } =
|
|
23155
|
+
const i3 = e[0], { name: s } = i3, { attributes: o, elements: a, marks: u = [] } = Lt$2(i3);
|
|
23156
23156
|
if (s === "w:sdt")
|
|
23157
23157
|
return { nodes: [], consumed: 0 };
|
|
23158
|
-
if (
|
|
23158
|
+
if (dm$1(i3))
|
|
23159
23159
|
return {
|
|
23160
23160
|
nodes: [{
|
|
23161
23161
|
type: lr$2(i3),
|
|
@@ -23175,7 +23175,7 @@ Actual: ` + p3.attribValue
|
|
|
23175
23175
|
consumed: 0,
|
|
23176
23176
|
unhandled: true
|
|
23177
23177
|
};
|
|
23178
|
-
const f3 = [], c3 =
|
|
23178
|
+
const f3 = [], c3 = Vm$1(i3);
|
|
23179
23179
|
if (a && a.length) {
|
|
23180
23180
|
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
23181
|
f3.push(...T3);
|
|
@@ -23186,13 +23186,13 @@ Actual: ` + p3.attribValue
|
|
|
23186
23186
|
attrs: { ...o },
|
|
23187
23187
|
marks: []
|
|
23188
23188
|
}], consumed: 1 };
|
|
23189
|
-
},
|
|
23189
|
+
}, Vm$1 = (r22) => {
|
|
23190
23190
|
const t = r22.elements?.find((n) => n.name === "w:pPr")?.elements?.find((n) => n.name === "w:pStyle");
|
|
23191
23191
|
return t ? t.attributes["w:val"] : null;
|
|
23192
|
-
},
|
|
23192
|
+
}, zm$1 = {
|
|
23193
23193
|
handlerName: "standardNodeHandler",
|
|
23194
|
-
handler:
|
|
23195
|
-
},
|
|
23194
|
+
handler: Hm$1
|
|
23195
|
+
}, Gm$1 = (r22) => {
|
|
23196
23196
|
const { nodes: e } = r22;
|
|
23197
23197
|
return e.length === 0 || e[0].name !== "w:br" ? { nodes: [], consumed: 0 } : {
|
|
23198
23198
|
nodes: [{
|
|
@@ -23200,10 +23200,10 @@ Actual: ` + p3.attribValue
|
|
|
23200
23200
|
}],
|
|
23201
23201
|
consumed: 1
|
|
23202
23202
|
};
|
|
23203
|
-
},
|
|
23203
|
+
}, Wm$1 = {
|
|
23204
23204
|
handlerName: "lineBreakNodeHandler",
|
|
23205
|
-
handler:
|
|
23206
|
-
},
|
|
23205
|
+
handler: Gm$1
|
|
23206
|
+
}, Jm$1 = (r22) => {
|
|
23207
23207
|
const { nodes: e, nodeListHandler: t } = r22;
|
|
23208
23208
|
if (e.length === 0 || e[0].name !== "w:bookmarkStart")
|
|
23209
23209
|
return { nodes: [], consumed: 0 };
|
|
@@ -23214,26 +23214,26 @@ Actual: ` + p3.attribValue
|
|
|
23214
23214
|
return console.error("Standard node handler not found"), { nodes: [], consumed: 0 };
|
|
23215
23215
|
const s = { ...r22, nodes: [n] }, o = i3(s);
|
|
23216
23216
|
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
|
-
},
|
|
23217
|
+
}, Km$1 = {
|
|
23218
23218
|
handlerName: "bookmarkNodeHandler",
|
|
23219
|
-
handler:
|
|
23220
|
-
},
|
|
23219
|
+
handler: Jm$1
|
|
23220
|
+
}, $m$1 = (r22) => {
|
|
23221
23221
|
const { nodes: e } = r22;
|
|
23222
23222
|
return e.length === 0 || e[0].name !== "sd:autoPageNumber" ? { nodes: [], consumed: 0 } : { nodes: [{
|
|
23223
23223
|
type: "page-number"
|
|
23224
23224
|
}], consumed: 1 };
|
|
23225
|
-
},
|
|
23225
|
+
}, Xm$1 = {
|
|
23226
23226
|
handlerName: "autoPageNumberHandler",
|
|
23227
|
-
handler:
|
|
23228
|
-
},
|
|
23227
|
+
handler: $m$1
|
|
23228
|
+
}, Ym$1 = (r22) => {
|
|
23229
23229
|
const { nodes: e } = r22;
|
|
23230
23230
|
return e.length === 0 || e[0].name !== "sd:totalPageNumber" ? { nodes: [], consumed: 0 } : { nodes: [{
|
|
23231
23231
|
type: "total-page-number"
|
|
23232
23232
|
}], consumed: 1 };
|
|
23233
|
-
}, $
|
|
23233
|
+
}, Zm$1 = {
|
|
23234
23234
|
handlerName: "autoTotalPageCountEntity",
|
|
23235
|
-
handler:
|
|
23236
|
-
},
|
|
23235
|
+
handler: Ym$1
|
|
23236
|
+
}, Qm$1 = (r22) => {
|
|
23237
23237
|
const { nodes: e } = r22;
|
|
23238
23238
|
if (e.length === 0 || e[0].name !== "w:tab")
|
|
23239
23239
|
return { nodes: [], consumed: 0 };
|
|
@@ -23245,11 +23245,11 @@ Actual: ` + p3.attribValue
|
|
|
23245
23245
|
},
|
|
23246
23246
|
content: []
|
|
23247
23247
|
}], consumed: 1 };
|
|
23248
|
-
},
|
|
23248
|
+
}, ep$2 = {
|
|
23249
23249
|
handlerName: "tabNodeHandler",
|
|
23250
|
-
handler:
|
|
23250
|
+
handler: Qm$1
|
|
23251
23251
|
};
|
|
23252
|
-
function
|
|
23252
|
+
function tp$2({ docx: r22 }) {
|
|
23253
23253
|
const e = xr$2(), t = r22["word/comments.xml"];
|
|
23254
23254
|
if (!t) return;
|
|
23255
23255
|
const { elements: n } = t;
|
|
@@ -23275,16 +23275,16 @@ Actual: ` + p3.attribValue
|
|
|
23275
23275
|
trackedDeletedText: k
|
|
23276
23276
|
};
|
|
23277
23277
|
});
|
|
23278
|
-
return
|
|
23278
|
+
return rp$2({ docx: r22, comments: s });
|
|
23279
23279
|
}
|
|
23280
|
-
const
|
|
23280
|
+
const rp$2 = ({ docx: r22, comments: e }) => {
|
|
23281
23281
|
const t = r22["word/commentsExtended.xml"];
|
|
23282
23282
|
if (!t) return [];
|
|
23283
23283
|
const { elements: n } = t, { elements: i3 } = n[0], s = i3.filter((o) => o.name === "w15:commentEx");
|
|
23284
23284
|
return e.map((o) => {
|
|
23285
23285
|
const a = s.find((h3) => h3.attributes["w15:paraId"] === o.paraId);
|
|
23286
23286
|
if (!a) return { ...o };
|
|
23287
|
-
const { isDone: u, paraIdParent: f3 } =
|
|
23287
|
+
const { isDone: u, paraIdParent: f3 } = np$2(a);
|
|
23288
23288
|
let c3;
|
|
23289
23289
|
return f3 && (c3 = e.find((h3) => h3.paraId === f3)), {
|
|
23290
23290
|
...o,
|
|
@@ -23292,11 +23292,11 @@ Actual: ` + p3.attribValue
|
|
|
23292
23292
|
parentCommentId: c3?.commentId
|
|
23293
23293
|
};
|
|
23294
23294
|
});
|
|
23295
|
-
},
|
|
23295
|
+
}, np$2 = (r22) => {
|
|
23296
23296
|
const { attributes: e } = r22, t = e["w15:paraId"], n = e["w15:done"] === "1", i3 = e["w15:paraIdParent"];
|
|
23297
23297
|
return { paraId: t, isDone: n, paraIdParent: i3 };
|
|
23298
|
-
},
|
|
23299
|
-
const n = je$2(
|
|
23298
|
+
}, ip$2 = (r22, e, t) => {
|
|
23299
|
+
const n = je$2($d$2(r22));
|
|
23300
23300
|
if (!n) return null;
|
|
23301
23301
|
if (e?.telemetry) {
|
|
23302
23302
|
const o = Object.keys(r22).map((a) => {
|
|
@@ -23321,7 +23321,7 @@ Actual: ` + p3.attribValue
|
|
|
23321
23321
|
}
|
|
23322
23322
|
const i3 = xr$2(), s = n.elements[0].elements.find((o) => o.name === "w:body");
|
|
23323
23323
|
if (s) {
|
|
23324
|
-
const o = s, a = ["w:sectPr"], u = o.elements?.filter((S) => !a.includes(S.name)) ?? [], f3 =
|
|
23324
|
+
const o = s, a = ["w:sectPr"], u = o.elements?.filter((S) => !a.includes(S.name)) ?? [], f3 = tp$2({ docx: r22 }), c3 = {}, h3 = {
|
|
23325
23325
|
type: "doc",
|
|
23326
23326
|
content: i3.handler({
|
|
23327
23327
|
nodes: u,
|
|
@@ -23344,37 +23344,37 @@ Actual: ` + p3.attribValue
|
|
|
23344
23344
|
), {
|
|
23345
23345
|
pmDoc: h3,
|
|
23346
23346
|
savedTagsToRestore: o,
|
|
23347
|
-
pageStyles:
|
|
23347
|
+
pageStyles: op$2(o, r22, e, t),
|
|
23348
23348
|
comments: f3,
|
|
23349
|
-
linkedStyles:
|
|
23350
|
-
numbering:
|
|
23349
|
+
linkedStyles: ap$2(r22),
|
|
23350
|
+
numbering: cp$2(r22)
|
|
23351
23351
|
};
|
|
23352
23352
|
}
|
|
23353
23353
|
return null;
|
|
23354
23354
|
}, xr$2 = () => {
|
|
23355
23355
|
const r22 = [
|
|
23356
|
+
bm$1,
|
|
23357
|
+
Om$1,
|
|
23358
|
+
Cm$1,
|
|
23359
|
+
Am$1,
|
|
23360
|
+
Wm$1,
|
|
23361
|
+
jm$1,
|
|
23362
|
+
Km$1,
|
|
23356
23363
|
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
|
|
23364
|
+
im$1,
|
|
23365
|
+
pm$1,
|
|
23366
|
+
Yd$2,
|
|
23367
|
+
ep$2,
|
|
23368
|
+
Xm$1,
|
|
23369
|
+
Zm$1,
|
|
23370
|
+
zm$1
|
|
23371
23371
|
//this should be the last one, bcs this parses everything!!!
|
|
23372
23372
|
];
|
|
23373
23373
|
return {
|
|
23374
|
-
handler:
|
|
23374
|
+
handler: sp$2(r22),
|
|
23375
23375
|
handlerEntities: r22
|
|
23376
23376
|
};
|
|
23377
|
-
},
|
|
23377
|
+
}, sp$2 = (r22) => {
|
|
23378
23378
|
const e = (n, i3, s, o) => !n || i3 < 0 || i3 >= n.length ? {
|
|
23379
23379
|
elementIndex: i3,
|
|
23380
23380
|
error: "index_out_of_bounds",
|
|
@@ -23459,7 +23459,7 @@ Actual: ` + p3.attribValue
|
|
|
23459
23459
|
};
|
|
23460
23460
|
return t;
|
|
23461
23461
|
};
|
|
23462
|
-
function
|
|
23462
|
+
function op$2(r22, e, t, n) {
|
|
23463
23463
|
const i3 = r22.elements?.find((o) => o.name === "w:sectPr"), s = {};
|
|
23464
23464
|
return i3?.elements?.forEach((o) => {
|
|
23465
23465
|
const { name: a, attributes: u } = o;
|
|
@@ -23497,9 +23497,9 @@ Actual: ` + p3.attribValue
|
|
|
23497
23497
|
case "w:titlePg":
|
|
23498
23498
|
t.headerIds.titlePg = true;
|
|
23499
23499
|
}
|
|
23500
|
-
}),
|
|
23500
|
+
}), lp$2(e, t, n), s.alternateHeaders = fp$2(e), s;
|
|
23501
23501
|
}
|
|
23502
|
-
function
|
|
23502
|
+
function ap$2(r22) {
|
|
23503
23503
|
const e = r22["word/styles.xml"];
|
|
23504
23504
|
if (!e) return [];
|
|
23505
23505
|
const { elements: t } = e.elements[0], n = t.filter((o) => o.name === "w:style");
|
|
@@ -23509,7 +23509,7 @@ Actual: ` + p3.attribValue
|
|
|
23509
23509
|
});
|
|
23510
23510
|
const s = [];
|
|
23511
23511
|
return n.forEach((o) => {
|
|
23512
|
-
const a = o.attributes["w:styleId"], u =
|
|
23512
|
+
const a = o.attributes["w:styleId"], u = Lm$1(a, r22), f3 = {
|
|
23513
23513
|
id: o.attributes["w:styleId"],
|
|
23514
23514
|
type: o.attributes["w:type"],
|
|
23515
23515
|
definition: u,
|
|
@@ -23518,7 +23518,7 @@ Actual: ` + p3.attribValue
|
|
|
23518
23518
|
s.push(f3);
|
|
23519
23519
|
}), s;
|
|
23520
23520
|
}
|
|
23521
|
-
function
|
|
23521
|
+
function up$2(r22) {
|
|
23522
23522
|
if (!r22) return null;
|
|
23523
23523
|
const e = je$2(r22), { elements: t } = e.elements[0];
|
|
23524
23524
|
return Object.keys(vo$3).forEach((n) => {
|
|
@@ -23528,10 +23528,10 @@ Actual: ` + p3.attribValue
|
|
|
23528
23528
|
}
|
|
23529
23529
|
}), e;
|
|
23530
23530
|
}
|
|
23531
|
-
const
|
|
23531
|
+
const lp$2 = (r22, e, t) => {
|
|
23532
23532
|
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
23533
|
u.forEach((h3) => {
|
|
23534
|
-
const { rId: S, referenceFile: T3, currentFileName: A } =
|
|
23534
|
+
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
23535
|
nodes: T3.elements[0].elements,
|
|
23536
23536
|
nodeListHandler: k,
|
|
23537
23537
|
docx: r22,
|
|
@@ -23541,7 +23541,7 @@ Actual: ` + p3.attribValue
|
|
|
23541
23541
|
});
|
|
23542
23542
|
e.headers[S] = { type: "doc", content: [...I3] }, e.headerIds[w] = S;
|
|
23543
23543
|
}), f3.forEach((h3) => {
|
|
23544
|
-
const { rId: S, referenceFile: T3, currentFileName: A } =
|
|
23544
|
+
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
23545
|
nodes: T3.elements[0].elements,
|
|
23546
23546
|
nodeListHandler: k,
|
|
23547
23547
|
docx: r22,
|
|
@@ -23555,7 +23555,7 @@ Actual: ` + p3.attribValue
|
|
|
23555
23555
|
for (const t in r22)
|
|
23556
23556
|
r22[t] === "w:sectPr" ? e.push(r22) : typeof r22[t] == "object" && Eu$2(r22[t], e);
|
|
23557
23557
|
return e;
|
|
23558
|
-
},
|
|
23558
|
+
}, _o$2 = (r22, e) => {
|
|
23559
23559
|
const t = r22.attributes.Id, n = r22.attributes.Target, i3 = e[`word/${n}`];
|
|
23560
23560
|
return {
|
|
23561
23561
|
rId: t,
|
|
@@ -23563,7 +23563,7 @@ Actual: ` + p3.attribValue
|
|
|
23563
23563
|
currentFileName: n
|
|
23564
23564
|
};
|
|
23565
23565
|
};
|
|
23566
|
-
function
|
|
23566
|
+
function cp$2(r22) {
|
|
23567
23567
|
let e = r22["word/numbering.xml"];
|
|
23568
23568
|
(!e || !e.elements?.length || !e.elements[0].elements?.length) && (e = nu$2);
|
|
23569
23569
|
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 +23580,7 @@ Actual: ` + p3.attribValue
|
|
|
23580
23580
|
definitions: o
|
|
23581
23581
|
};
|
|
23582
23582
|
}
|
|
23583
|
-
const
|
|
23583
|
+
const fp$2 = (r22) => {
|
|
23584
23584
|
const e = r22["word/settings.xml"];
|
|
23585
23585
|
if (!e || !e.elements?.length) return false;
|
|
23586
23586
|
const { elements: t = [] } = e.elements[0];
|
|
@@ -23594,7 +23594,7 @@ Actual: ` + p3.attribValue
|
|
|
23594
23594
|
}
|
|
23595
23595
|
parseFromXml() {
|
|
23596
23596
|
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] =
|
|
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] = up$2(this.convertedXml[e.name]));
|
|
23598
23598
|
}), this.initialJSON = this.convertedXml["word/document.xml"], this.initialJSON || (this.initialJSON = this.parseXmlToJson(this.xml)), this.declaration = this.initialJSON?.declaration;
|
|
23599
23599
|
}
|
|
23600
23600
|
parseXmlToJson(e) {
|
|
@@ -23613,7 +23613,7 @@ Actual: ` + p3.attribValue
|
|
|
23613
23613
|
return;
|
|
23614
23614
|
}
|
|
23615
23615
|
}
|
|
23616
|
-
static updateDocumentVersion(e = this.convertedXml, t = "0.10.
|
|
23616
|
+
static updateDocumentVersion(e = this.convertedXml, t = "0.10.12") {
|
|
23617
23617
|
const n = "docProps/custom.xml";
|
|
23618
23618
|
e[n] || (e[n] = Fu$2());
|
|
23619
23619
|
const i3 = e["docProps/custom.xml"];
|
|
@@ -23680,14 +23680,14 @@ Actual: ` + p3.attribValue
|
|
|
23680
23680
|
}
|
|
23681
23681
|
getSchema(e) {
|
|
23682
23682
|
this.getDocumentInternalId();
|
|
23683
|
-
const t =
|
|
23683
|
+
const t = ip$2({ ...this.convertedXml, media: this.media }, this, e);
|
|
23684
23684
|
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
23685
|
}
|
|
23686
23686
|
schemaToXml(e, t = false) {
|
|
23687
23687
|
return new ko$2(this).schemaToXml(e, t);
|
|
23688
23688
|
}
|
|
23689
23689
|
async exportToDocx(e, t, n, i3 = false, s, o = []) {
|
|
23690
|
-
const a = o.map((A) =>
|
|
23690
|
+
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
23691
|
data: e,
|
|
23692
23692
|
editorSchema: t,
|
|
23693
23693
|
comments: o,
|
|
@@ -23709,7 +23709,7 @@ Actual: ` + p3.attribValue
|
|
|
23709
23709
|
});
|
|
23710
23710
|
S = { ...A }, T3 = F3;
|
|
23711
23711
|
}
|
|
23712
|
-
return this.convertedXml = { ...this.convertedXml, ...S }, Ke(this, it$1, Su$2).call(this, [...c3.relationships, ...T3]),
|
|
23712
|
+
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
23713
|
}
|
|
23714
23714
|
exportToXmlJson({
|
|
23715
23715
|
data: e,
|
|
@@ -23747,7 +23747,7 @@ Actual: ` + p3.attribValue
|
|
|
23747
23747
|
* Update comments files and relationships depending on export type
|
|
23748
23748
|
*/
|
|
23749
23749
|
Cu$2 = function({ defs: e, exportType: t, commentsWithParaIds: n }) {
|
|
23750
|
-
const { documentXml: i3, relationships: s } =
|
|
23750
|
+
const { documentXml: i3, relationships: s } = cd$2({
|
|
23751
23751
|
exportType: t,
|
|
23752
23752
|
convertedXml: this.convertedXml,
|
|
23753
23753
|
defs: e,
|
|
@@ -23773,7 +23773,7 @@ Actual: ` + p3.attribValue
|
|
|
23773
23773
|
...this.convertedXml.media,
|
|
23774
23774
|
...t
|
|
23775
23775
|
}, this.media = this.convertedXml.media, this.addedMedia = t;
|
|
23776
|
-
},
|
|
23776
|
+
}, _t$1(dt$1, "allowedElements", Object.freeze({
|
|
23777
23777
|
"w:document": "doc",
|
|
23778
23778
|
"w:body": "body",
|
|
23779
23779
|
"w:p": "paragraph",
|
|
@@ -23794,7 +23794,7 @@ Actual: ` + p3.attribValue
|
|
|
23794
23794
|
"w:commentRangeStart": "commentRangeStart",
|
|
23795
23795
|
"w:commentRangeEnd": "commentRangeEnd",
|
|
23796
23796
|
"w:commentReference": "commentReference"
|
|
23797
|
-
})),
|
|
23797
|
+
})), _t$1(dt$1, "markTypes", [
|
|
23798
23798
|
{ name: "w:b", type: "bold" },
|
|
23799
23799
|
{ name: "w:bCs", type: "bold" },
|
|
23800
23800
|
{ name: "w:i", type: "italic" },
|
|
@@ -23811,15 +23811,15 @@ Actual: ` + p3.attribValue
|
|
|
23811
23811
|
{ name: "link", type: "link", mark: "link", property: "href" },
|
|
23812
23812
|
{ name: "w:highlight", type: "highlight", mark: "highlight", property: "color" }
|
|
23813
23813
|
// { name: 'w:shd', type: 'highlight', mark: 'highlight', property: 'color'}
|
|
23814
|
-
]),
|
|
23814
|
+
]), _t$1(dt$1, "propertyTypes", Object.freeze({
|
|
23815
23815
|
"w:pPr": "paragraphProperties",
|
|
23816
23816
|
"w:rPr": "runProperties",
|
|
23817
23817
|
"w:sectPr": "sectionProperties",
|
|
23818
23818
|
"w:numPr": "numberingProperties",
|
|
23819
23819
|
"w:tcPr": "tableCellProperties"
|
|
23820
|
-
})),
|
|
23820
|
+
})), _t$1(dt$1, "elements", /* @__PURE__ */ new Set(["w:document", "w:body", "w:p", "w:r", "w:t", "w:delText"]));
|
|
23821
23821
|
let Nt$4 = dt$1;
|
|
23822
|
-
function
|
|
23822
|
+
function dp$2(r22) {
|
|
23823
23823
|
const e = "docProps/custom.xml";
|
|
23824
23824
|
r22[e] || (r22[e] = Fu$2());
|
|
23825
23825
|
const n = r22[e].elements.find((a) => a.name === "Properties");
|
|
@@ -23838,7 +23838,7 @@ Actual: ` + p3.attribValue
|
|
|
23838
23838
|
function Fu$2() {
|
|
23839
23839
|
return zf$2;
|
|
23840
23840
|
}
|
|
23841
|
-
function Bu$2(r22 = 2, e = "0.10.
|
|
23841
|
+
function Bu$2(r22 = 2, e = "0.10.12") {
|
|
23842
23842
|
return {
|
|
23843
23843
|
type: "element",
|
|
23844
23844
|
name: "property",
|
|
@@ -26225,7 +26225,7 @@ Actual: ` + p3.attribValue
|
|
|
26225
26225
|
async updateContentTypes(nt2, _) {
|
|
26226
26226
|
const R = Object.keys(_).map((c3) => this.getFileExtension(c3)), y = "[Content_Types].xml", l = await nt2.file(y).async("string");
|
|
26227
26227
|
let a = "";
|
|
26228
|
-
const r =
|
|
26228
|
+
const r = Op$1(l), h3 = /* @__PURE__ */ new Set();
|
|
26229
26229
|
for (let c3 of R) {
|
|
26230
26230
|
if (r.includes(c3) || h3.has(c3)) continue;
|
|
26231
26231
|
const b = `<Default Extension="${c3}" ContentType="image/${c3}"/>`;
|
|
@@ -26668,12 +26668,12 @@ Actual: ` + p3.attribValue
|
|
|
26668
26668
|
}
|
|
26669
26669
|
return Yo$1;
|
|
26670
26670
|
}
|
|
26671
|
-
const vt = new
|
|
26671
|
+
const vt = new Cp$2("history"), Kf$1 = new Cp$2("closeHistory");
|
|
26672
26672
|
function Xf$1(t = {}) {
|
|
26673
26673
|
return t = {
|
|
26674
26674
|
depth: t.depth || 100,
|
|
26675
26675
|
newGroupDelay: t.newGroupDelay || 500
|
|
26676
|
-
}, new
|
|
26676
|
+
}, new vp$2({
|
|
26677
26677
|
key: vt,
|
|
26678
26678
|
state: {
|
|
26679
26679
|
init() {
|
|
@@ -26730,11 +26730,11 @@ Actual: ` + p3.attribValue
|
|
|
26730
26730
|
this.config = {
|
|
26731
26731
|
...this.config,
|
|
26732
26732
|
...e
|
|
26733
|
-
}, this.name = this.config.name, this.config.addOptions && (this.options =
|
|
26733
|
+
}, this.name = this.config.name, this.config.addOptions && (this.options = Bp$2(
|
|
26734
26734
|
E(this, "addOptions", {
|
|
26735
26735
|
name: this.name
|
|
26736
26736
|
})
|
|
26737
|
-
)), this.storage =
|
|
26737
|
+
)), this.storage = Bp$2(
|
|
26738
26738
|
E(this, "addStorage", {
|
|
26739
26739
|
name: this.name,
|
|
26740
26740
|
options: this.options
|
|
@@ -27623,7 +27623,7 @@ Actual: ` + p3.attribValue
|
|
|
27623
27623
|
}
|
|
27624
27624
|
static create(e, n, r, o) {
|
|
27625
27625
|
let i3 = o.nodeViews[n.type.name], s = i3 && i3(n, o, r);
|
|
27626
|
-
return (!s || !s.dom) && (s =
|
|
27626
|
+
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
27627
|
}
|
|
27628
27628
|
parseRule() {
|
|
27629
27629
|
return this.dirty & it || this.mark.type.spec.reparseInView ? null : { mark: this.mark.type.name, attrs: this.mark.attrs, contentElement: this.contentDOM };
|
|
@@ -27678,7 +27678,7 @@ Actual: ` + p3.attribValue
|
|
|
27678
27678
|
d = document.createTextNode(n.text);
|
|
27679
27679
|
else if (d.nodeType != 3)
|
|
27680
27680
|
throw new RangeError("Text must be rendered as a DOM text node");
|
|
27681
|
-
} else d || ({ dom: d, contentDOM: u } =
|
|
27681
|
+
} else d || ({ dom: d, contentDOM: u } = _a$2.renderSpec(document, n.type.spec.toDOM(n), null, n.attrs));
|
|
27682
27682
|
!u && !n.isText && d.nodeName != "BR" && (d.hasAttribute("contenteditable") || (d.contentEditable = "false"), n.type.spec.draggable && (d.draggable = true));
|
|
27683
27683
|
let f3 = d;
|
|
27684
27684
|
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 +28619,7 @@ Actual: ` + p3.attribValue
|
|
|
28619
28619
|
let p3 = r.firstChild;
|
|
28620
28620
|
n.push(p3.type.name, p3.attrs != p3.type.defaultAttrs ? p3.attrs : null), r = p3.content;
|
|
28621
28621
|
}
|
|
28622
|
-
let s = t.someProp("clipboardSerializer") ||
|
|
28622
|
+
let s = t.someProp("clipboardSerializer") || _a$2.fromSchema(t.state.schema), a = Nc$1(), l = a.createElement("div");
|
|
28623
28623
|
l.appendChild(s.serializeFragment(r, { document: a }));
|
|
28624
28624
|
let c3 = l.firstChild, d, u = 0;
|
|
28625
28625
|
for (; c3 && c3.nodeType == 1 && (d = Dc$1[c3.nodeName.toLowerCase()]); ) {
|
|
@@ -28652,7 +28652,7 @@ Actual: ` + p3.attribValue
|
|
|
28652
28652
|
if (u)
|
|
28653
28653
|
a = u;
|
|
28654
28654
|
else {
|
|
28655
|
-
let f3 = o.marks(), { schema: p3 } = t.state, h3 =
|
|
28655
|
+
let f3 = o.marks(), { schema: p3 } = t.state, h3 = _a$2.fromSchema(p3);
|
|
28656
28656
|
s = document.createElement("div"), e.split(/(?:\r\n?|\n)+/).forEach((m) => {
|
|
28657
28657
|
let g = s.appendChild(document.createElement("p"));
|
|
28658
28658
|
m && g.appendChild(h3.serializeNode(p3.text(m, f3)));
|
|
@@ -29184,7 +29184,7 @@ Actual: ` + p3.attribValue
|
|
|
29184
29184
|
if (!s)
|
|
29185
29185
|
return;
|
|
29186
29186
|
n.preventDefault();
|
|
29187
|
-
let l = s ?
|
|
29187
|
+
let l = s ? Ep$1(t.state.doc, i3.pos, s) : i3.pos;
|
|
29188
29188
|
l == null && (l = i3.pos);
|
|
29189
29189
|
let c3 = t.state.tr;
|
|
29190
29190
|
if (a) {
|
|
@@ -30656,7 +30656,7 @@ Actual: ` + p3.attribValue
|
|
|
30656
30656
|
remove: t.length - n - r,
|
|
30657
30657
|
insert: e.slice(n, e.length - r)
|
|
30658
30658
|
};
|
|
30659
|
-
}, mm = hm, te = new
|
|
30659
|
+
}, 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
30660
|
class bm {
|
|
30661
30661
|
constructor() {
|
|
30662
30662
|
this.map = /* @__PURE__ */ new Map();
|
|
@@ -30875,7 +30875,7 @@ Actual: ` + p3.attribValue
|
|
|
30875
30875
|
mapping: i3
|
|
30876
30876
|
} = {}) => {
|
|
30877
30877
|
let s = false;
|
|
30878
|
-
const a = new Um(t, i3), l = new
|
|
30878
|
+
const a = new Um(t, i3), l = new vp$2({
|
|
30879
30879
|
props: {
|
|
30880
30880
|
editable: (c3) => {
|
|
30881
30881
|
const d = te.getState(c3);
|
|
@@ -31672,7 +31672,7 @@ Actual: ` + p3.attribValue
|
|
|
31672
31672
|
cursorBuilder: n = ig,
|
|
31673
31673
|
selectionBuilder: r = sg,
|
|
31674
31674
|
getSelection: o = (s) => s.selection
|
|
31675
|
-
} = {}, i3 = "cursor") => new
|
|
31675
|
+
} = {}, i3 = "cursor") => new vp$2({
|
|
31676
31676
|
key: qr$1,
|
|
31677
31677
|
state: {
|
|
31678
31678
|
init(s, a) {
|
|
@@ -31745,7 +31745,7 @@ Actual: ` + p3.attribValue
|
|
|
31745
31745
|
const e = _t.getState(t).undoManager;
|
|
31746
31746
|
if (e != null)
|
|
31747
31747
|
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
|
|
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 vp$2({
|
|
31749
31749
|
key: _t,
|
|
31750
31750
|
state: {
|
|
31751
31751
|
init: (r, o) => {
|
|
@@ -31958,7 +31958,7 @@ Actual: ` + p3.attribValue
|
|
|
31958
31958
|
return e.altKey && (t = "Alt-" + t), e.ctrlKey && (t = "Ctrl-" + t), e.metaKey && (t = "Meta-" + t), n && e.shiftKey && (t = "Shift-" + t), t;
|
|
31959
31959
|
}
|
|
31960
31960
|
function kg(t) {
|
|
31961
|
-
return new
|
|
31961
|
+
return new vp$2({ props: { handleKeyDown: Ns(t) } });
|
|
31962
31962
|
}
|
|
31963
31963
|
function Ns(t) {
|
|
31964
31964
|
let e = vg(t);
|
|
@@ -32181,7 +32181,7 @@ Actual: ` + p3.attribValue
|
|
|
32181
32181
|
return r;
|
|
32182
32182
|
}, ft(N, Bn$1);
|
|
32183
32183
|
function Bi$1(t) {
|
|
32184
|
-
const e = Object.entries(t).filter(([n, r]) => n === "attrs" &&
|
|
32184
|
+
const e = Object.entries(t).filter(([n, r]) => n === "attrs" && kp$1(r) ? false : r != null);
|
|
32185
32185
|
return Object.fromEntries(e);
|
|
32186
32186
|
}
|
|
32187
32187
|
var zn$2, td$1, nd$1;
|
|
@@ -32195,7 +32195,7 @@ Actual: ` + p3.attribValue
|
|
|
32195
32195
|
static createSchemaByExtensions(e, n) {
|
|
32196
32196
|
var c3, d;
|
|
32197
32197
|
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
|
|
32198
|
+
return new gp$2({ topNode: i3, nodes: a, marks: l });
|
|
32199
32199
|
}
|
|
32200
32200
|
};
|
|
32201
32201
|
zn$2 = /* @__PURE__ */ new WeakSet(), td$1 = function(e, n, r) {
|
|
@@ -32214,19 +32214,19 @@ Actual: ` + p3.attribValue
|
|
|
32214
32214
|
...g ? g(i3) : {}
|
|
32215
32215
|
};
|
|
32216
32216
|
}, {}), d = Bi$1({
|
|
32217
|
-
content:
|
|
32218
|
-
group:
|
|
32219
|
-
marks:
|
|
32220
|
-
inline:
|
|
32221
|
-
atom:
|
|
32222
|
-
selectable:
|
|
32223
|
-
draggable:
|
|
32224
|
-
code:
|
|
32225
|
-
defining:
|
|
32226
|
-
isolating:
|
|
32217
|
+
content: Bp$2(E(i3, "content", a)),
|
|
32218
|
+
group: Bp$2(E(i3, "group", a)),
|
|
32219
|
+
marks: Bp$2(E(i3, "marks", a)),
|
|
32220
|
+
inline: Bp$2(E(i3, "inline", a)),
|
|
32221
|
+
atom: Bp$2(E(i3, "atom", a)),
|
|
32222
|
+
selectable: Bp$2(E(i3, "selectable", a)),
|
|
32223
|
+
draggable: Bp$2(E(i3, "draggable", a)),
|
|
32224
|
+
code: Bp$2(E(i3, "code", a)),
|
|
32225
|
+
defining: Bp$2(E(i3, "defining", a)),
|
|
32226
|
+
isolating: Bp$2(E(i3, "isolating", a)),
|
|
32227
32227
|
attrs: l,
|
|
32228
32228
|
...c3
|
|
32229
|
-
}), u =
|
|
32229
|
+
}), u = Bp$2(E(i3, "parseDOM", a));
|
|
32230
32230
|
u && (d.parseDOM = u.map((h3) => N.insertExtensionAttrsToParseRule(h3, s)));
|
|
32231
32231
|
const f3 = E(i3, "renderDOM", a);
|
|
32232
32232
|
f3 && (d.toDOM = (h3) => f3({
|
|
@@ -32247,13 +32247,13 @@ Actual: ` + p3.attribValue
|
|
|
32247
32247
|
}, l = Object.fromEntries(
|
|
32248
32248
|
s.map((f3) => [f3.name, { default: f3?.attribute?.default }])
|
|
32249
32249
|
), c3 = Bi$1({
|
|
32250
|
-
group:
|
|
32251
|
-
inclusive:
|
|
32252
|
-
excludes:
|
|
32253
|
-
spanning:
|
|
32254
|
-
code:
|
|
32250
|
+
group: Bp$2(E(i3, "group", a)),
|
|
32251
|
+
inclusive: Bp$2(E(i3, "inclusive", a)),
|
|
32252
|
+
excludes: Bp$2(E(i3, "excludes", a)),
|
|
32253
|
+
spanning: Bp$2(E(i3, "spanning", a)),
|
|
32254
|
+
code: Bp$2(E(i3, "code", a)),
|
|
32255
32255
|
attrs: l
|
|
32256
|
-
}), d =
|
|
32256
|
+
}), d = Bp$2(E(i3, "parseDOM", a));
|
|
32257
32257
|
d && (c3.parseDOM = d.map((f3) => N.insertExtensionAttrsToParseRule(f3, s)));
|
|
32258
32258
|
const u = E(i3, "renderDOM", a);
|
|
32259
32259
|
return u && (c3.toDOM = (f3) => u({
|
|
@@ -32389,7 +32389,7 @@ Actual: ` + p3.attribValue
|
|
|
32389
32389
|
}
|
|
32390
32390
|
};
|
|
32391
32391
|
function Sg(t, e) {
|
|
32392
|
-
const n =
|
|
32392
|
+
const n = _a$2.fromSchema(e).serializeFragment(t), o = document.implementation.createHTMLDocument().createElement("div");
|
|
32393
32393
|
return o.appendChild(n), o.innerHTML;
|
|
32394
32394
|
}
|
|
32395
32395
|
const xg = (t, e = 500) => {
|
|
@@ -32470,8 +32470,8 @@ Actual: ` + p3.attribValue
|
|
|
32470
32470
|
}), a.dispatch(p3), c3 = true);
|
|
32471
32471
|
}), c3;
|
|
32472
32472
|
}, Og = ({ editor: t, rules: e }) => {
|
|
32473
|
-
const n = new
|
|
32474
|
-
key: new
|
|
32473
|
+
const n = new vp$2({
|
|
32474
|
+
key: new Cp$2("inputRulesPlugin"),
|
|
32475
32475
|
state: {
|
|
32476
32476
|
init() {
|
|
32477
32477
|
return null;
|
|
@@ -32674,7 +32674,7 @@ Actual: ` + p3.attribValue
|
|
|
32674
32674
|
editor: this.editor,
|
|
32675
32675
|
type: Yn$2(e.name, this.schema)
|
|
32676
32676
|
};
|
|
32677
|
-
e.type === "mark" && (
|
|
32677
|
+
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
32678
|
}
|
|
32679
32679
|
}, /**
|
|
32680
32680
|
* Attach editor events to extension
|
|
@@ -32712,7 +32712,7 @@ Actual: ` + p3.attribValue
|
|
|
32712
32712
|
return false;
|
|
32713
32713
|
let o = ad$1(r);
|
|
32714
32714
|
if (!o) {
|
|
32715
|
-
let s = r.blockRange(), a = s &&
|
|
32715
|
+
let s = r.blockRange(), a = s && yp$2(s);
|
|
32716
32716
|
return a == null ? false : (e && e(t.tr.lift(s, a).scrollIntoView()), true);
|
|
32717
32717
|
}
|
|
32718
32718
|
let i3 = o.nodeBefore;
|
|
@@ -32815,10 +32815,10 @@ Actual: ` + p3.attribValue
|
|
|
32815
32815
|
const Lg = (t, e) => {
|
|
32816
32816
|
let n = t.selection, r = n instanceof Ge$1, o;
|
|
32817
32817
|
if (r) {
|
|
32818
|
-
if (n.node.isTextblock || !
|
|
32818
|
+
if (n.node.isTextblock || !Ap$1(t.doc, n.from))
|
|
32819
32819
|
return false;
|
|
32820
32820
|
o = n.from;
|
|
32821
|
-
} else if (o =
|
|
32821
|
+
} else if (o = Dp$1(t.doc, n.from, -1), o == null)
|
|
32822
32822
|
return false;
|
|
32823
32823
|
if (e) {
|
|
32824
32824
|
let i3 = t.tr.join(o);
|
|
@@ -32828,10 +32828,10 @@ Actual: ` + p3.attribValue
|
|
|
32828
32828
|
}, Fg = (t, e) => {
|
|
32829
32829
|
let n = t.selection, r;
|
|
32830
32830
|
if (n instanceof Ge$1) {
|
|
32831
|
-
if (n.node.isTextblock || !
|
|
32831
|
+
if (n.node.isTextblock || !Ap$1(t.doc, n.to))
|
|
32832
32832
|
return false;
|
|
32833
32833
|
r = n.to;
|
|
32834
|
-
} else if (r =
|
|
32834
|
+
} else if (r = Dp$1(t.doc, n.to, 1), r == null)
|
|
32835
32835
|
return false;
|
|
32836
32836
|
return e && e(t.tr.join(r).scrollIntoView()), true;
|
|
32837
32837
|
}, ud$1 = (t, e) => {
|
|
@@ -32877,17 +32877,17 @@ Actual: ` + p3.attribValue
|
|
|
32877
32877
|
return false;
|
|
32878
32878
|
if (n.depth > 1 && n.after() != n.end(-1)) {
|
|
32879
32879
|
let i3 = n.before();
|
|
32880
|
-
if (
|
|
32880
|
+
if (xp$2(t.doc, i3))
|
|
32881
32881
|
return e && e(t.tr.split(i3).scrollIntoView()), true;
|
|
32882
32882
|
}
|
|
32883
|
-
let r = n.blockRange(), o = r &&
|
|
32883
|
+
let r = n.blockRange(), o = r && yp$2(r);
|
|
32884
32884
|
return o == null ? false : (e && e(t.tr.lift(r, o).scrollIntoView()), true);
|
|
32885
32885
|
};
|
|
32886
32886
|
function zg(t) {
|
|
32887
32887
|
return (e, n) => {
|
|
32888
32888
|
let { $from: r, $to: o } = e.selection;
|
|
32889
32889
|
if (e.selection instanceof Ge$1 && e.selection.node.isBlock)
|
|
32890
|
-
return !r.parentOffset || !
|
|
32890
|
+
return !r.parentOffset || !xp$2(e.doc, r.pos) ? false : (n && n(e.tr.split(r.pos).scrollIntoView()), true);
|
|
32891
32891
|
if (!r.depth)
|
|
32892
32892
|
return false;
|
|
32893
32893
|
let i3 = [], s, a, l = false, c3 = false;
|
|
@@ -32902,8 +32902,8 @@ Actual: ` + p3.attribValue
|
|
|
32902
32902
|
}
|
|
32903
32903
|
let d = e.tr;
|
|
32904
32904
|
(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 =
|
|
32905
|
+
let u = d.mapping.map(r.pos), f3 = xp$2(d.doc, u, i3.length, i3);
|
|
32906
|
+
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
32907
|
let p3 = d.mapping.map(r.before(s)), h3 = d.doc.resolve(p3);
|
|
32908
32908
|
a && r.node(s - 1).canReplaceWith(h3.index(), h3.index() + 1, a) && d.setNodeMarkup(d.mapping.map(r.before(s)), a);
|
|
32909
32909
|
}
|
|
@@ -32913,7 +32913,7 @@ Actual: ` + p3.attribValue
|
|
|
32913
32913
|
const _g = zg(), Vg = (t, e) => (e && e(t.tr.setSelection(new at$2(t.doc))), true);
|
|
32914
32914
|
function $g(t, e, n) {
|
|
32915
32915
|
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 ||
|
|
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 || Ap$1(t.doc, e.pos)) ? false : (n && n(t.tr.join(e.pos).scrollIntoView()), true);
|
|
32917
32917
|
}
|
|
32918
32918
|
function hd$1(t, e, n, r) {
|
|
32919
32919
|
let o = e.nodeBefore, i3 = e.nodeAfter, s, a, l = o.type.spec.isolating || i3.type.spec.isolating;
|
|
@@ -32927,11 +32927,11 @@ Actual: ` + p3.attribValue
|
|
|
32927
32927
|
h3 = Q$2.from(s[b].create(null, h3));
|
|
32928
32928
|
h3 = Q$2.from(o.copy(h3));
|
|
32929
32929
|
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 &&
|
|
32930
|
+
g.nodeAfter && g.nodeAfter.type == o.type && Ap$1(m.doc, g.pos) && m.join(g.pos), n(m.scrollIntoView());
|
|
32931
32931
|
}
|
|
32932
32932
|
return true;
|
|
32933
32933
|
}
|
|
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 &&
|
|
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 && yp$2(u);
|
|
32935
32935
|
if (f3 != null && f3 >= e.depth)
|
|
32936
32936
|
return n && n(t.tr.lift(u, f3).scrollIntoView()), true;
|
|
32937
32937
|
if (c3 && In$2(i3, "start", true) && In$2(o, "end")) {
|
|
@@ -33024,14 +33024,14 @@ Actual: ` + p3.attribValue
|
|
|
33024
33024
|
}, Wg = ({ keepMarks: t = true } = {}) => (e) => {
|
|
33025
33025
|
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
33026
|
if (s instanceof Ge$1 && s.node.isBlock)
|
|
33027
|
-
return !l.parentOffset || !
|
|
33027
|
+
return !l.parentOffset || !xp$2(a, l.pos) ? false : (o && (t && Ga$1(r, i3.extensionService.splittableMarks), n.split(l.pos).scrollIntoView()), true);
|
|
33028
33028
|
if (!l.parent.isBlock) return false;
|
|
33029
33029
|
if (o) {
|
|
33030
33030
|
const f3 = c3.parentOffset === c3.parent.content.size;
|
|
33031
33031
|
s instanceof tt$3 && n.deleteSelection();
|
|
33032
33032
|
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 &&
|
|
33033
|
+
let h3 = f3 && p3 ? [{ type: p3, attrs: u }] : void 0, m = xp$2(n.doc, n.mapping.map(l.pos), 1, h3);
|
|
33034
|
+
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
33035
|
const g = n.mapping.map(l.before()), b = n.doc.resolve(g);
|
|
33036
33036
|
l.node(-1).canReplaceWith(b.index(), b.index() + 1, p3) && n.setNodeMarkup(n.mapping.map(l.before()), p3);
|
|
33037
33037
|
}
|
|
@@ -33159,7 +33159,7 @@ Actual: ` + p3.attribValue
|
|
|
33159
33159
|
if (a.type.isText) return;
|
|
33160
33160
|
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
33161
|
if (!p3) return;
|
|
33162
|
-
const h3 =
|
|
33162
|
+
const h3 = yp$2(p3);
|
|
33163
33163
|
if (a.type.isTextblock) {
|
|
33164
33164
|
const { defaultType: m } = u.parent.contentMatchAt(u.index());
|
|
33165
33165
|
e.setNodeMarkup(p3.start, m);
|
|
@@ -33213,8 +33213,8 @@ Actual: ` + p3.attribValue
|
|
|
33213
33213
|
);
|
|
33214
33214
|
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
33215
|
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(
|
|
33216
|
+
i3 && i3 === c3.type && n.setNodeMarkup(d, void 0, Rp$1(c3.attrs, e)), s && c3.marks.length && c3.marks.forEach((u) => {
|
|
33217
|
+
s === u.type && n.addMark(d, d + c3.nodeSize, s.create(Rp$1(u.attrs, e)));
|
|
33218
33218
|
});
|
|
33219
33219
|
});
|
|
33220
33220
|
}), true) : false;
|
|
@@ -33251,7 +33251,7 @@ Actual: ` + p3.attribValue
|
|
|
33251
33251
|
if (o) {
|
|
33252
33252
|
if (n.errorOnInvalidContent) {
|
|
33253
33253
|
let s = false, a = "";
|
|
33254
|
-
const l = new
|
|
33254
|
+
const l = new gp$2({
|
|
33255
33255
|
topNode: e.spec.topNode,
|
|
33256
33256
|
marks: e.spec.marks,
|
|
33257
33257
|
// Prosemirror's schemas are executed such that: the last to execute, matches last
|
|
@@ -33366,9 +33366,9 @@ Actual: ` + p3.attribValue
|
|
|
33366
33366
|
if (e.$from.index(e.depth - 1) == 0)
|
|
33367
33367
|
return false;
|
|
33368
33368
|
let l = s.resolve(e.start - 2);
|
|
33369
|
-
i3 = new
|
|
33369
|
+
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
33370
|
}
|
|
33371
|
-
let a =
|
|
33371
|
+
let a = bp$2(i3, n, r, e);
|
|
33372
33372
|
return a ? (t && Sy(t, e, a, o, n), true) : false;
|
|
33373
33373
|
}
|
|
33374
33374
|
function Sy(t, e, n, r, o) {
|
|
@@ -33381,7 +33381,7 @@ Actual: ` + p3.attribValue
|
|
|
33381
33381
|
n[d].type == o && (s = d + 1);
|
|
33382
33382
|
let a = n.length - s, l = e.start + n.length - (r ? 2 : 0), c3 = e.parent;
|
|
33383
33383
|
for (let d = e.startIndex, u = e.endIndex, f3 = true; d < u; d++, f3 = false)
|
|
33384
|
-
!f3 &&
|
|
33384
|
+
!f3 && xp$2(t.doc, l, a) && (t.split(l, a), l += 2 * a), l += c3.child(d).nodeSize;
|
|
33385
33385
|
return t;
|
|
33386
33386
|
}
|
|
33387
33387
|
function xy(t) {
|
|
@@ -33392,13 +33392,13 @@ Actual: ` + p3.attribValue
|
|
|
33392
33392
|
}
|
|
33393
33393
|
function My(t, e, n, r) {
|
|
33394
33394
|
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 =
|
|
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 Lc$2(o.doc.resolve(r.$from.pos), o.doc.resolve(s), r.depth));
|
|
33396
|
+
const a = yp$2(r);
|
|
33397
33397
|
if (a == null)
|
|
33398
33398
|
return false;
|
|
33399
33399
|
o.lift(r, a);
|
|
33400
33400
|
let l = o.doc.resolve(o.mapping.map(i3, -1) - 1);
|
|
33401
|
-
return
|
|
33401
|
+
return Ap$1(o.doc, l.pos) && l.nodeBefore.type == l.nodeAfter.type && o.join(l.pos), e(o.scrollIntoView()), true;
|
|
33402
33402
|
}
|
|
33403
33403
|
function Ay(t, e, n) {
|
|
33404
33404
|
let r = t.tr, o = n.parent;
|
|
@@ -33452,7 +33452,7 @@ Actual: ` + p3.attribValue
|
|
|
33452
33452
|
name: r.name,
|
|
33453
33453
|
options: r.options,
|
|
33454
33454
|
storage: r.storage
|
|
33455
|
-
}, i3 =
|
|
33455
|
+
}, i3 = Bp$2(E(r, "group", o));
|
|
33456
33456
|
return typeof i3 != "string" ? false : i3.split(" ").includes("list");
|
|
33457
33457
|
}, Dy = {
|
|
33458
33458
|
type: "element",
|
|
@@ -34603,14 +34603,14 @@ Actual: ` + p3.attribValue
|
|
|
34603
34603
|
const r = t.doc.resolve(Math.max(0, n.pos - 1)).before(n.depth);
|
|
34604
34604
|
if (r === void 0) return true;
|
|
34605
34605
|
const o = t.doc.nodeAt(r);
|
|
34606
|
-
return n.node.type === o?.type &&
|
|
34606
|
+
return n.node.type === o?.type && Ap$1(t.doc, n.pos) && t.join(n.pos), true;
|
|
34607
34607
|
}, li$1 = (t, e) => {
|
|
34608
34608
|
const n = He$2((s) => s.type === e)(t.selection);
|
|
34609
34609
|
if (!n) return true;
|
|
34610
34610
|
const r = t.doc.resolve(n.start).after(n.depth);
|
|
34611
34611
|
if (r === void 0) return true;
|
|
34612
34612
|
const o = t.doc.nodeAt(r);
|
|
34613
|
-
return n.node.type === o?.type &&
|
|
34613
|
+
return n.node.type === o?.type && Ap$1(t.doc, r) && t.join(r), true;
|
|
34614
34614
|
}, Ey = (t, e, n, r = {}) => (o) => {
|
|
34615
34615
|
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
34616
|
if (!y) return false;
|
|
@@ -34699,7 +34699,7 @@ Actual: ` + p3.attribValue
|
|
|
34699
34699
|
{ type: s, attrs: p3 },
|
|
34700
34700
|
{ type: f3, attrs: h3 }
|
|
34701
34701
|
] : [{ type: s, attrs: p3 }];
|
|
34702
|
-
if (!
|
|
34702
|
+
if (!xp$2(n.doc, a.pos, 2))
|
|
34703
34703
|
return false;
|
|
34704
34704
|
if (o) {
|
|
34705
34705
|
const { selection: g, storedMarks: b } = r, { splittableMarks: w } = i3.extensionService, C = b || g.$to.parentOffset && g.$from.marks();
|
|
@@ -34806,13 +34806,13 @@ Actual: ` + p3.attribValue
|
|
|
34806
34806
|
"Ctrl-e": () => this.editor.commands.selectTextblockEnd(),
|
|
34807
34807
|
"Ctrl-t": () => this.editor.commands.insertTabChar()
|
|
34808
34808
|
};
|
|
34809
|
-
return
|
|
34809
|
+
return Np$1() || Ip$2() ? n : e;
|
|
34810
34810
|
}
|
|
34811
34811
|
}), $y = Q$1.create({
|
|
34812
34812
|
name: "editable",
|
|
34813
34813
|
addPmPlugins() {
|
|
34814
|
-
return [new
|
|
34815
|
-
key: new
|
|
34814
|
+
return [new vp$2({
|
|
34815
|
+
key: new Cp$2("editable"),
|
|
34816
34816
|
props: {
|
|
34817
34817
|
editable: () => this.editor.options.editable
|
|
34818
34818
|
}
|
|
@@ -34822,8 +34822,8 @@ Actual: ` + p3.attribValue
|
|
|
34822
34822
|
name: "editorFocus",
|
|
34823
34823
|
addPmPlugins() {
|
|
34824
34824
|
const t = this.editor;
|
|
34825
|
-
return [new
|
|
34826
|
-
key: new
|
|
34825
|
+
return [new vp$2({
|
|
34826
|
+
key: new Cp$2("editorFocus"),
|
|
34827
34827
|
props: {
|
|
34828
34828
|
handleDOMEvents: {
|
|
34829
34829
|
focus: (n, r) => {
|
|
@@ -35010,7 +35010,7 @@ Actual: ` + p3.attribValue
|
|
|
35010
35010
|
}), n;
|
|
35011
35011
|
}
|
|
35012
35012
|
function xd$1(t, e, n) {
|
|
35013
|
-
const o = t.state.doc.content.size, i3 =
|
|
35013
|
+
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
35014
|
top: c3,
|
|
35015
35015
|
bottom: d,
|
|
35016
35016
|
left: u,
|
|
@@ -35108,7 +35108,7 @@ Actual: ` + p3.attribValue
|
|
|
35108
35108
|
});
|
|
35109
35109
|
});
|
|
35110
35110
|
}), e ? n.filter(({ mark: o }) => o.attrs.id === e) : n) : n;
|
|
35111
|
-
}, de = new
|
|
35111
|
+
}, de = new Cp$2("TrackChangesBase"), Ky = (t = {}) => new vp$2({
|
|
35112
35112
|
key: de,
|
|
35113
35113
|
state: {
|
|
35114
35114
|
init(e, n) {
|
|
@@ -35337,7 +35337,7 @@ Actual: ` + p3.attribValue
|
|
|
35337
35337
|
if (!r.options.isInternal && n) return "transparent";
|
|
35338
35338
|
const o = he$2.getState(r.state), i3 = n ? o.internalColor : o.externalColor, s = t == e ? "44" : "22";
|
|
35339
35339
|
return `${i3}${s}`;
|
|
35340
|
-
}, rn$2 = new
|
|
35340
|
+
}, rn$2 = new Cp$2("paginationPlugin"), Qy = async (t) => {
|
|
35341
35341
|
if (!t.converter) return;
|
|
35342
35342
|
const e = { headers: {}, footers: {} }, n = t.converter.headerIds, r = t.converter.footerIds;
|
|
35343
35343
|
for (let o in n) {
|
|
@@ -35403,7 +35403,7 @@ Actual: ` + p3.attribValue
|
|
|
35403
35403
|
}), n({ height: d, sectionEditor: c3, sectionContainer: r });
|
|
35404
35404
|
});
|
|
35405
35405
|
});
|
|
35406
|
-
}), _s = [yr$2, Ri$2, Pi$2], he$2 = new
|
|
35406
|
+
}), _s = [yr$2, Ri$2, Pi$2], he$2 = new Cp$2("comments"), eb = Q$1.create({
|
|
35407
35407
|
name: "comments",
|
|
35408
35408
|
addCommands() {
|
|
35409
35409
|
return {
|
|
@@ -35452,7 +35452,7 @@ Actual: ` + p3.attribValue
|
|
|
35452
35452
|
addPmPlugins() {
|
|
35453
35453
|
const t = this.editor;
|
|
35454
35454
|
let e, n;
|
|
35455
|
-
return t.options.isHeadless ? [] : [new
|
|
35455
|
+
return t.options.isHeadless ? [] : [new vp$2({
|
|
35456
35456
|
key: he$2,
|
|
35457
35457
|
state: {
|
|
35458
35458
|
init() {
|
|
@@ -35491,7 +35491,7 @@ Actual: ` + p3.attribValue
|
|
|
35491
35491
|
if (h3 && (g = d.activeThreadId), n !== g) {
|
|
35492
35492
|
n = g;
|
|
35493
35493
|
const w = {
|
|
35494
|
-
type:
|
|
35494
|
+
type: Tp$2.SELECTED,
|
|
35495
35495
|
activeCommentId: n || null
|
|
35496
35496
|
};
|
|
35497
35497
|
e = true, t.emit("commentsUpdate", w);
|
|
@@ -35721,7 +35721,7 @@ Actual: ` + p3.attribValue
|
|
|
35721
35721
|
if (!b && !w)
|
|
35722
35722
|
return;
|
|
35723
35723
|
const C = {
|
|
35724
|
-
event:
|
|
35724
|
+
event: Tp$2.ADD,
|
|
35725
35725
|
type: "trackedChange",
|
|
35726
35726
|
documentId: i3,
|
|
35727
35727
|
changeId: p3,
|
|
@@ -35732,7 +35732,7 @@ Actual: ` + p3.attribValue
|
|
|
35732
35732
|
authorEmail: u,
|
|
35733
35733
|
date: f3
|
|
35734
35734
|
};
|
|
35735
|
-
return t === "add" ? C.event =
|
|
35735
|
+
return t === "add" ? C.event = Tp$2.ADD : t === "update" && (C.event = Tp$2.UPDATE), C;
|
|
35736
35736
|
};
|
|
35737
35737
|
function ib(t, e) {
|
|
35738
35738
|
let n = null;
|
|
@@ -36226,7 +36226,7 @@ Actual: ` + p3.attribValue
|
|
|
36226
36226
|
* Get HTML string of the document
|
|
36227
36227
|
*/
|
|
36228
36228
|
getHTML() {
|
|
36229
|
-
const n = document.createElement("div"), r =
|
|
36229
|
+
const n = document.createElement("div"), r = _a$2.fromSchema(this.schema).serializeFragment(this.state.doc.content);
|
|
36230
36230
|
return n.appendChild(r), n.innerHTML;
|
|
36231
36231
|
}
|
|
36232
36232
|
/**
|
|
@@ -36304,7 +36304,7 @@ Actual: ` + p3.attribValue
|
|
|
36304
36304
|
* @returns {Y.Doc | undefined} Updated Y.Doc if any, otherwise undefined
|
|
36305
36305
|
*/
|
|
36306
36306
|
processCollaborationMigrations() {
|
|
36307
|
-
if (console.debug("[checkVersionMigrations] Current editor version", "0.10.
|
|
36307
|
+
if (console.debug("[checkVersionMigrations] Current editor version", "0.10.12"), !this.options.ydoc) return;
|
|
36308
36308
|
let r = this.options.ydoc.getMap("meta").get("version");
|
|
36309
36309
|
r || (r = "initial"), console.debug("[checkVersionMigrations] Document version", r);
|
|
36310
36310
|
const o = nl$1(r) || [], s = this.state.plugins.find((c3) => c3.key.startsWith("y-sync"));
|
|
@@ -36554,11 +36554,11 @@ Actual: ` + p3.attribValue
|
|
|
36554
36554
|
this.config = {
|
|
36555
36555
|
...this.config,
|
|
36556
36556
|
...e
|
|
36557
|
-
}, this.name = this.config.name, this.config.addOptions && (this.options =
|
|
36557
|
+
}, this.name = this.config.name, this.config.addOptions && (this.options = Bp$2(
|
|
36558
36558
|
E(this, "addOptions", {
|
|
36559
36559
|
name: this.name
|
|
36560
36560
|
})
|
|
36561
|
-
)), this.storage =
|
|
36561
|
+
)), this.storage = Bp$2(
|
|
36562
36562
|
E(this, "addStorage", {
|
|
36563
36563
|
name: this.name,
|
|
36564
36564
|
options: this.options
|
|
@@ -36585,11 +36585,11 @@ Actual: ` + p3.attribValue
|
|
|
36585
36585
|
this.config = {
|
|
36586
36586
|
...this.config,
|
|
36587
36587
|
...e
|
|
36588
|
-
}, this.name = this.config.name, this.config.addOptions && (this.options =
|
|
36588
|
+
}, this.name = this.config.name, this.config.addOptions && (this.options = Bp$2(
|
|
36589
36589
|
E(this, "addOptions", {
|
|
36590
36590
|
name: this.name
|
|
36591
36591
|
})
|
|
36592
|
-
)), this.storage =
|
|
36592
|
+
)), this.storage = Bp$2(
|
|
36593
36593
|
E(this, "addStorage", {
|
|
36594
36594
|
name: this.name,
|
|
36595
36595
|
options: this.options
|
|
@@ -36696,7 +36696,7 @@ Actual: ` + p3.attribValue
|
|
|
36696
36696
|
if (Number.isNaN(n))
|
|
36697
36697
|
return false;
|
|
36698
36698
|
let { min: o, max: i3, unit: s } = this.options.defaults;
|
|
36699
|
-
return n =
|
|
36699
|
+
return n = Pp$1(n, o, i3), r = r || s, e().setMark("textStyle", { fontSize: `${n}${r}` }).run();
|
|
36700
36700
|
},
|
|
36701
36701
|
unsetFontSize: () => ({ chain: t }) => t().setMark("textStyle", { fontSize: null }).removeEmptyTextStyle().run()
|
|
36702
36702
|
};
|
|
@@ -36818,7 +36818,7 @@ Actual: ` + p3.attribValue
|
|
|
36818
36818
|
lineHeight: {
|
|
36819
36819
|
default: null,
|
|
36820
36820
|
parseDOM: (t) => t.style.lineHeight,
|
|
36821
|
-
renderDOM: (t) => t.lineHeight ? { style:
|
|
36821
|
+
renderDOM: (t) => t.lineHeight ? { style: Lp$1(t.lineHeight, this.options.defaults.unit) } : {}
|
|
36822
36822
|
}
|
|
36823
36823
|
}
|
|
36824
36824
|
}
|
|
@@ -36885,7 +36885,7 @@ Actual: ` + p3.attribValue
|
|
|
36885
36885
|
}
|
|
36886
36886
|
});
|
|
36887
36887
|
function db(t = {}) {
|
|
36888
|
-
return new
|
|
36888
|
+
return new vp$2({
|
|
36889
36889
|
view(e) {
|
|
36890
36890
|
return new ub(e, t);
|
|
36891
36891
|
}
|
|
@@ -36947,7 +36947,7 @@ Actual: ` + p3.attribValue
|
|
|
36947
36947
|
if (n && !i3) {
|
|
36948
36948
|
let s = n.pos;
|
|
36949
36949
|
if (this.editorView.dragging && this.editorView.dragging.slice) {
|
|
36950
|
-
let a =
|
|
36950
|
+
let a = Ep$1(this.editorView.state.doc, s, this.editorView.dragging.slice);
|
|
36951
36951
|
a != null && (s = a);
|
|
36952
36952
|
}
|
|
36953
36953
|
this.setCursor(s), this.scheduleRemoval(5e3);
|
|
@@ -37111,7 +37111,7 @@ Actual: ` + p3.attribValue
|
|
|
37111
37111
|
return true;
|
|
37112
37112
|
}
|
|
37113
37113
|
function hb() {
|
|
37114
|
-
return new
|
|
37114
|
+
return new vp$2({
|
|
37115
37115
|
props: {
|
|
37116
37116
|
decorations: bb,
|
|
37117
37117
|
createSelectionBetween(t, e, n) {
|
|
@@ -37178,14 +37178,14 @@ Actual: ` + p3.attribValue
|
|
|
37178
37178
|
},
|
|
37179
37179
|
extendNodeSchema(t) {
|
|
37180
37180
|
return {
|
|
37181
|
-
allowGapCursor:
|
|
37181
|
+
allowGapCursor: Bp$2(E(t, "allowGapCursor", {
|
|
37182
37182
|
name: t.name,
|
|
37183
37183
|
options: t.options,
|
|
37184
37184
|
storage: t.storage
|
|
37185
37185
|
})) ?? null
|
|
37186
37186
|
};
|
|
37187
37187
|
}
|
|
37188
|
-
}), vb = new
|
|
37188
|
+
}), vb = new Cp$2("collaboration"), kb = Q$1.create({
|
|
37189
37189
|
name: "collaboration",
|
|
37190
37190
|
priority: 1e3,
|
|
37191
37191
|
addOptions() {
|
|
@@ -37333,7 +37333,7 @@ Actual: ` + p3.attribValue
|
|
|
37333
37333
|
match: r,
|
|
37334
37334
|
chain: o
|
|
37335
37335
|
}) => {
|
|
37336
|
-
const i3 =
|
|
37336
|
+
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
37337
|
if (!c3)
|
|
37338
37338
|
return null;
|
|
37339
37339
|
if (s.wrap(l, c3), t.keepMarks && t.editor) {
|
|
@@ -37348,7 +37348,7 @@ Actual: ` + p3.attribValue
|
|
|
37348
37348
|
o().updateAttributes(u, i3).run();
|
|
37349
37349
|
}
|
|
37350
37350
|
const d = s.doc.resolve(n.from - 1).nodeBefore;
|
|
37351
|
-
d && d.type === t.type &&
|
|
37351
|
+
d && d.type === t.type && Ap$1(s.doc, n.from - 1) && (!t.joinPredicate || t.joinPredicate(r, d)) && s.join(n.from - 1);
|
|
37352
37352
|
}
|
|
37353
37353
|
});
|
|
37354
37354
|
}
|
|
@@ -37419,8 +37419,8 @@ Actual: ` + p3.attribValue
|
|
|
37419
37419
|
}
|
|
37420
37420
|
});
|
|
37421
37421
|
function Db(t = {}) {
|
|
37422
|
-
return new
|
|
37423
|
-
key: new
|
|
37422
|
+
return new vp$2({
|
|
37423
|
+
key: new Cp$2("orderedListSync"),
|
|
37424
37424
|
appendTransaction: (e, n, r) => {
|
|
37425
37425
|
if (!(e.some((d) => d.docChanged) && !n.doc.eq(r.doc)))
|
|
37426
37426
|
return;
|
|
@@ -37459,8 +37459,8 @@ Actual: ` + p3.attribValue
|
|
|
37459
37459
|
return Math.floor(Math.random() * 4294967295).toString();
|
|
37460
37460
|
}
|
|
37461
37461
|
function Eb(t) {
|
|
37462
|
-
return new
|
|
37463
|
-
key: new
|
|
37462
|
+
return new vp$2({
|
|
37463
|
+
key: new Cp$2("orderedListMarker"),
|
|
37464
37464
|
appendTransaction: (e, n, r) => {
|
|
37465
37465
|
if (!(e.some((c3) => c3.docChanged) && !n.doc.eq(r.doc)))
|
|
37466
37466
|
return;
|
|
@@ -37608,7 +37608,7 @@ Actual: ` + p3.attribValue
|
|
|
37608
37608
|
renderDOM: (t) => {
|
|
37609
37609
|
let e = t["list-style-type"];
|
|
37610
37610
|
return e ? (e === "lowerLetter" && (e = "lowerAlpha"), {
|
|
37611
|
-
style: `list-style-type: ${
|
|
37611
|
+
style: `list-style-type: ${Sp$2(e)};`
|
|
37612
37612
|
}) : {};
|
|
37613
37613
|
}
|
|
37614
37614
|
},
|
|
@@ -37770,8 +37770,8 @@ Actual: ` + p3.attribValue
|
|
|
37770
37770
|
return e;
|
|
37771
37771
|
};
|
|
37772
37772
|
function Wb(t = {}) {
|
|
37773
|
-
return new
|
|
37774
|
-
key: new
|
|
37773
|
+
return new vp$2({
|
|
37774
|
+
key: new Cp$2("styledListMarker"),
|
|
37775
37775
|
state: {
|
|
37776
37776
|
init(e, n) {
|
|
37777
37777
|
const r = [
|
|
@@ -37836,7 +37836,7 @@ Actual: ` + p3.attribValue
|
|
|
37836
37836
|
style: `
|
|
37837
37837
|
${l ? `margin-top: ${l}px;` : ""}
|
|
37838
37838
|
${c3 ? `margin-bottom: ${c3}px;` : ""}
|
|
37839
|
-
${d ?
|
|
37839
|
+
${d ? Lp$1(d, "") : ""}
|
|
37840
37840
|
`.trim()
|
|
37841
37841
|
};
|
|
37842
37842
|
}
|
|
@@ -37981,7 +37981,7 @@ Actual: ` + p3.attribValue
|
|
|
37981
37981
|
addPmPlugins() {
|
|
37982
37982
|
return [Wb()];
|
|
37983
37983
|
}
|
|
37984
|
-
}), io$2 = new
|
|
37984
|
+
}), io$2 = new Cp$2("linkedStyles"), Kb = Q$1.create({
|
|
37985
37985
|
name: "linkedStyles",
|
|
37986
37986
|
addPmPlugins() {
|
|
37987
37987
|
return [Xb(this.editor)];
|
|
@@ -38004,7 +38004,7 @@ Actual: ` + p3.attribValue
|
|
|
38004
38004
|
}
|
|
38005
38005
|
};
|
|
38006
38006
|
}
|
|
38007
|
-
}), Xb = (t) => new
|
|
38007
|
+
}), Xb = (t) => new vp$2({
|
|
38008
38008
|
key: io$2,
|
|
38009
38009
|
state: {
|
|
38010
38010
|
init(e, { doc: n, selection: r }) {
|
|
@@ -38073,7 +38073,7 @@ Actual: ` + p3.attribValue
|
|
|
38073
38073
|
return {
|
|
38074
38074
|
"margin-top": e + "px",
|
|
38075
38075
|
"margin-bottom": n + "px",
|
|
38076
|
-
...
|
|
38076
|
+
...Lp$1(r, "")
|
|
38077
38077
|
};
|
|
38078
38078
|
}, Zb = (t) => {
|
|
38079
38079
|
const { lineSpaceBefore: e, lineSpaceAfter: n } = t;
|
|
@@ -38361,9 +38361,9 @@ Actual: ` + p3.attribValue
|
|
|
38361
38361
|
},
|
|
38362
38362
|
addPmPlugins() {
|
|
38363
38363
|
const { view: t } = this.editor;
|
|
38364
|
-
return [new
|
|
38364
|
+
return [new vp$2({
|
|
38365
38365
|
name: "tabPlugin",
|
|
38366
|
-
key: new
|
|
38366
|
+
key: new Cp$2("tabPlugin"),
|
|
38367
38367
|
state: {
|
|
38368
38368
|
init(n, r) {
|
|
38369
38369
|
let o = cl$1(r, t);
|
|
@@ -38478,12 +38478,12 @@ Actual: ` + p3.attribValue
|
|
|
38478
38478
|
const m = o === u ? i3 : p3 && p3[h3], g = m ? `${m}px` : "";
|
|
38479
38479
|
if (s += m || r, m || (a = false), l) {
|
|
38480
38480
|
if (l.style.width !== g) {
|
|
38481
|
-
const [b, w] =
|
|
38481
|
+
const [b, w] = fd$2(r, m);
|
|
38482
38482
|
l.style.setProperty(b, w);
|
|
38483
38483
|
}
|
|
38484
38484
|
l = l.nextSibling;
|
|
38485
38485
|
} else {
|
|
38486
|
-
const b = document.createElement("col"), [w, C] =
|
|
38486
|
+
const b = document.createElement("col"), [w, C] = fd$2(r, m);
|
|
38487
38487
|
b.style.setProperty(w, C), e.appendChild(b);
|
|
38488
38488
|
}
|
|
38489
38489
|
}
|
|
@@ -38754,7 +38754,7 @@ Actual: ` + p3.attribValue
|
|
|
38754
38754
|
}
|
|
38755
38755
|
return e;
|
|
38756
38756
|
}
|
|
38757
|
-
var Et = new
|
|
38757
|
+
var Et = new Cp$2("selectingCells");
|
|
38758
38758
|
function $n$2(t) {
|
|
38759
38759
|
for (let e = t.depth - 1; e > 0; e--)
|
|
38760
38760
|
if (t.node(e).type.spec.tableRole == "row")
|
|
@@ -39058,7 +39058,7 @@ Actual: ` + p3.attribValue
|
|
|
39058
39058
|
} 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
39059
|
return i3 && (e || (e = t.tr)).setSelection(i3), e;
|
|
39060
39060
|
}
|
|
39061
|
-
var C0 = new
|
|
39061
|
+
var C0 = new Cp$2("fix-tables");
|
|
39062
39062
|
function pu$1(t, e, n, r) {
|
|
39063
39063
|
const o = t.childCount, i3 = e.childCount;
|
|
39064
39064
|
e: for (let s = 0, a = 0; s < i3; s++) {
|
|
@@ -39972,7 +39972,7 @@ Actual: ` + p3.attribValue
|
|
|
39972
39972
|
l ? (n.style.width = a + "px", n.style.minWidth = "") : (n.style.width = "", n.style.minWidth = a + "px");
|
|
39973
39973
|
}
|
|
39974
39974
|
}
|
|
39975
|
-
var Ee$2 = new
|
|
39975
|
+
var Ee$2 = new Cp$2(
|
|
39976
39976
|
"tableColumnResizing"
|
|
39977
39977
|
);
|
|
39978
39978
|
function J0({
|
|
@@ -39982,7 +39982,7 @@ Actual: ` + p3.attribValue
|
|
|
39982
39982
|
View: r = X0,
|
|
39983
39983
|
lastColumnResizable: o = true
|
|
39984
39984
|
} = {}) {
|
|
39985
|
-
const i3 = new
|
|
39985
|
+
const i3 = new vp$2({
|
|
39986
39986
|
key: Ee$2,
|
|
39987
39987
|
state: {
|
|
39988
39988
|
init(s, a) {
|
|
@@ -40196,7 +40196,7 @@ Actual: ` + p3.attribValue
|
|
|
40196
40196
|
function iw({
|
|
40197
40197
|
allowTableNodeSelection: t = false
|
|
40198
40198
|
} = {}) {
|
|
40199
|
-
return new
|
|
40199
|
+
return new vp$2({
|
|
40200
40200
|
key: Et,
|
|
40201
40201
|
// This piece of state is used to remember when a mouse-drag
|
|
40202
40202
|
// cell-selection is happening, so that it can continue even as
|
|
@@ -40322,7 +40322,7 @@ Actual: ` + p3.attribValue
|
|
|
40322
40322
|
return [{ tag: "table" }];
|
|
40323
40323
|
},
|
|
40324
40324
|
renderDOM({ node: t, htmlAttributes: e }) {
|
|
40325
|
-
const { colgroup: n, tableWidth: r, tableMinWidth: o } =
|
|
40325
|
+
const { colgroup: n, tableWidth: r, tableMinWidth: o } = dd$2(
|
|
40326
40326
|
t,
|
|
40327
40327
|
this.options.cellMinWidth
|
|
40328
40328
|
);
|
|
@@ -40412,7 +40412,7 @@ Actual: ` + p3.attribValue
|
|
|
40412
40412
|
},
|
|
40413
40413
|
extendNodeSchema(t) {
|
|
40414
40414
|
return {
|
|
40415
|
-
tableRole:
|
|
40415
|
+
tableRole: Bp$2(E(t, "tableRole", {
|
|
40416
40416
|
name: t.name,
|
|
40417
40417
|
options: t.options,
|
|
40418
40418
|
storage: t.storage
|
|
@@ -40736,8 +40736,8 @@ Actual: ` + p3.attribValue
|
|
|
40736
40736
|
}
|
|
40737
40737
|
const cw = (t = {}) => {
|
|
40738
40738
|
let { editor: e, annotationClass: n } = t;
|
|
40739
|
-
return new
|
|
40740
|
-
key: new
|
|
40739
|
+
return new vp$2({
|
|
40740
|
+
key: new Cp$2("fieldAnnotation"),
|
|
40741
40741
|
state: {
|
|
40742
40742
|
init() {
|
|
40743
40743
|
return null;
|
|
@@ -41409,7 +41409,7 @@ Actual: ` + p3.attribValue
|
|
|
41409
41409
|
if (!c3.length)
|
|
41410
41410
|
return true;
|
|
41411
41411
|
let [d, u] = Of$1(t), f3 = 8, p3 = 96, h3 = "pt";
|
|
41412
|
-
return Number.isNaN(d) ? false : (d =
|
|
41412
|
+
return Number.isNaN(d) ? false : (d = Pp$1(d, f3, p3), u = u || h3, n && (c3.forEach((m) => {
|
|
41413
41413
|
i3.updateFieldAnnotationsAttributes([m], {
|
|
41414
41414
|
fontSize: `${d}${u}`
|
|
41415
41415
|
});
|
|
@@ -41453,7 +41453,7 @@ Actual: ` + p3.attribValue
|
|
|
41453
41453
|
}
|
|
41454
41454
|
return e;
|
|
41455
41455
|
}
|
|
41456
|
-
const Ao$1 = new
|
|
41456
|
+
const Ao$1 = new Cp$2("ImagePlaceholder"), Dw = (t = {}) => new vp$2({
|
|
41457
41457
|
key: Ao$1,
|
|
41458
41458
|
state: {
|
|
41459
41459
|
init() {
|
|
@@ -42295,8 +42295,8 @@ Actual: ` + p3.attribValue
|
|
|
42295
42295
|
});
|
|
42296
42296
|
return F.create(n.doc, [i3]);
|
|
42297
42297
|
};
|
|
42298
|
-
return [new
|
|
42299
|
-
key: new
|
|
42298
|
+
return [new vp$2({
|
|
42299
|
+
key: new Cp$2("placeholder"),
|
|
42300
42300
|
state: {
|
|
42301
42301
|
init: (n, r) => t(r),
|
|
42302
42302
|
apply: (n, r, o, i3) => t(i3)
|
|
@@ -44083,10 +44083,10 @@ Actual: ` + p3.attribValue
|
|
|
44083
44083
|
], 42, wk))), 128))
|
|
44084
44084
|
], 544));
|
|
44085
44085
|
}
|
|
44086
|
-
}, Mk = /* @__PURE__ */ bk(xk, [["__scopeId", "data-v-0a2a8b4e"]]), Jl$1 = new
|
|
44086
|
+
}, Mk = /* @__PURE__ */ bk(xk, [["__scopeId", "data-v-0a2a8b4e"]]), Jl$1 = new Cp$2("popoverPlugin"), Ak = Q$1.create({
|
|
44087
44087
|
name: "popoverPlugin",
|
|
44088
44088
|
addPmPlugins() {
|
|
44089
|
-
return [new
|
|
44089
|
+
return [new vp$2({
|
|
44090
44090
|
key: Jl$1,
|
|
44091
44091
|
state: {
|
|
44092
44092
|
init: () => ({}),
|
|
@@ -44214,7 +44214,7 @@ Actual: ` + p3.attribValue
|
|
|
44214
44214
|
addPmPlugins() {
|
|
44215
44215
|
const t = this.editor;
|
|
44216
44216
|
let e = false, n = false, r = false, o = false;
|
|
44217
|
-
return [new
|
|
44217
|
+
return [new vp$2({
|
|
44218
44218
|
key: rn$2,
|
|
44219
44219
|
state: {
|
|
44220
44220
|
isReadyToInit: false,
|
|
@@ -53391,7 +53391,7 @@ ${t}
|
|
|
53391
53391
|
console.warn(`[super-toolbar 🎨] Element not found: ${this.config.selector}`);
|
|
53392
53392
|
return;
|
|
53393
53393
|
}
|
|
53394
|
-
this.app = createApp(Ip), this.app.directive("click-outside",
|
|
53394
|
+
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
53395
|
}
|
|
53396
53396
|
log(...o) {
|
|
53397
53397
|
console.debug("[🎨 super-toolbar]", ...o);
|
|
@@ -68638,7 +68638,7 @@ ${style2}
|
|
|
68638
68638
|
this.config.colors = shuffleArray(this.config.colors);
|
|
68639
68639
|
this.userColorMap = /* @__PURE__ */ new Map();
|
|
68640
68640
|
this.colorIndex = 0;
|
|
68641
|
-
this.version = "0.10.
|
|
68641
|
+
this.version = "0.10.12";
|
|
68642
68642
|
console.debug("🦋 [superdoc] Using SuperDoc version:", this.version);
|
|
68643
68643
|
this.superdocId = config.superdocId || v4();
|
|
68644
68644
|
this.colors = this.config.colors;
|