hoeditor-web 3.2.84 → 3.2.85
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.
|
@@ -3156,9 +3156,9 @@ createjs = createjs || {};
|
|
|
3156
3156
|
for (u = 1; u < A; u++)
|
|
3157
3157
|
G = G.n = { r: 0, b: 0, g: 0, a: 0 };
|
|
3158
3158
|
G.n = Y;
|
|
3159
|
-
for (var J = null, se = a.MUL_TABLE[o] | 0,
|
|
3159
|
+
for (var J = null, se = a.MUL_TABLE[o] | 0, Ce = a.SHG_TABLE[o] | 0, oe = a.MUL_TABLE[n] | 0, me = a.SHG_TABLE[n] | 0; s-- > 0; ) {
|
|
3160
3160
|
g = m = 0;
|
|
3161
|
-
var ue = se, Q =
|
|
3161
|
+
var ue = se, Q = Ce;
|
|
3162
3162
|
for (d = L; --d > -1; ) {
|
|
3163
3163
|
for (y = j * (_ = l[m | 0]), w = j * (D = l[m + 1 | 0]), v = j * (E = l[m + 2 | 0]), C = j * (T = l[m + 3 | 0]), X = z, u = j; --u > -1; )
|
|
3164
3164
|
X.r = _, X.g = D, X.b = E, X.a = T, X = X.n;
|
|
@@ -7226,17 +7226,17 @@ function flip(a) {
|
|
|
7226
7226
|
A.set(B, se);
|
|
7227
7227
|
}
|
|
7228
7228
|
if (R)
|
|
7229
|
-
for (var
|
|
7230
|
-
var
|
|
7229
|
+
for (var Ce = y ? 3 : 1, oe = function(ne) {
|
|
7230
|
+
var xe = E.find(function(Ie) {
|
|
7231
7231
|
var ve = A.get(Ie);
|
|
7232
7232
|
if (ve)
|
|
7233
7233
|
return ve.slice(0, ne).every(function(_e) {
|
|
7234
7234
|
return _e;
|
|
7235
7235
|
});
|
|
7236
7236
|
});
|
|
7237
|
-
if (
|
|
7238
|
-
return L =
|
|
7239
|
-
}, me =
|
|
7237
|
+
if (xe)
|
|
7238
|
+
return L = xe, "break";
|
|
7239
|
+
}, me = Ce; me > 0; me--) {
|
|
7240
7240
|
var ue = oe(me);
|
|
7241
7241
|
if (ue === "break") break;
|
|
7242
7242
|
}
|
|
@@ -7355,10 +7355,10 @@ function preventOverflow(a) {
|
|
|
7355
7355
|
};
|
|
7356
7356
|
if (I) {
|
|
7357
7357
|
if (s) {
|
|
7358
|
-
var U, z = E === "y" ? top : left, X = E === "y" ? bottom : right, Y = E === "y" ? "height" : "width", G = I[E], J = G + v[z], se = G - v[X],
|
|
7358
|
+
var U, z = E === "y" ? top : left, X = E === "y" ? bottom : right, Y = E === "y" ? "height" : "width", G = I[E], J = G + v[z], se = G - v[X], Ce = g ? -R[Y] / 2 : 0, oe = _ === start ? A[Y] : R[Y], me = _ === start ? -R[Y] : -A[Y], ue = t.elements.arrow, Q = g && ue ? getLayoutRect(ue) : {
|
|
7359
7359
|
width: 0,
|
|
7360
7360
|
height: 0
|
|
7361
|
-
}, ne = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : getFreshSideObject(),
|
|
7361
|
+
}, ne = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : getFreshSideObject(), xe = ne[z], Ie = ne[X], ve = within(0, A[Y], Q[Y]), _e = D ? A[Y] / 2 - Ce - ve - xe - H.mainAxis : oe - ve - xe - H.mainAxis, pe = D ? -A[Y] / 2 + Ce + ve + Ie + H.mainAxis : me + ve + Ie + H.mainAxis, Pe = t.elements.arrow && getOffsetParent(t.elements.arrow), De = Pe ? E === "y" ? Pe.clientTop || 0 : Pe.clientLeft || 0 : 0, Ve = (U = B == null ? void 0 : B[E]) != null ? U : 0, Te = G + _e - Ve - De, He = G + pe - Ve, we = within(g ? min$1(J, Te) : J, G, g ? max$2(se, He) : se);
|
|
7362
7362
|
I[E] = we, j[E] = we - G;
|
|
7363
7363
|
}
|
|
7364
7364
|
if (c) {
|
|
@@ -10531,6 +10531,10 @@ let TableFormula$1 = class _TableFormula extends ControlNode {
|
|
|
10531
10531
|
if (!isNaN(E.getTime()))
|
|
10532
10532
|
return [E.getHours(), E.getMinutes(), E.getSeconds()];
|
|
10533
10533
|
}
|
|
10534
|
+
if (/^\d{1,2}:\d{1,2}$/.test(C)) {
|
|
10535
|
+
const [E, T] = C.split(":").map(Number);
|
|
10536
|
+
return [E, T, 0];
|
|
10537
|
+
}
|
|
10534
10538
|
const _ = [
|
|
10535
10539
|
{ regex: /(\d+)(?:小时|时)/, index: 0 },
|
|
10536
10540
|
// 使用(?:)分组,匹配"小时"或"时"
|
|
@@ -15054,7 +15058,7 @@ class DrawSignNode extends DrawCombineNode {
|
|
|
15054
15058
|
}
|
|
15055
15059
|
}
|
|
15056
15060
|
}
|
|
15057
|
-
const version = "3.2.
|
|
15061
|
+
const version = "3.2.85";
|
|
15058
15062
|
var FingerPosition = /* @__PURE__ */ ((a) => (a[a.left = 0] = "left", a[a.center = 1] = "center", a[a.right = 2] = "right", a))(FingerPosition || {});
|
|
15059
15063
|
class SignNode extends BaseNode {
|
|
15060
15064
|
constructor(hoEditorFactoryID, rootNodes, pNode, nodeType, number, type, name, signType, signFormat, signor, signTime, signTimeFormat, imgSrc, imgWidth, imgHeight, customProperty, isTemplate, styleIndex, connectMode, isFront, allowEditSignTime, fingerPrintSrc, fingerPosition, attribute, connectChar, otherProperties, dataId, associatedElement, isTemp, innerIdentifier) {
|
|
@@ -15444,7 +15448,7 @@ function requireQrcode() {
|
|
|
15444
15448
|
Pe[De][Ve] = null;
|
|
15445
15449
|
}
|
|
15446
15450
|
return Pe;
|
|
15447
|
-
}(j), G(0, 0), G(j - 7, 0), G(0, j - 7),
|
|
15451
|
+
}(j), G(0, 0), G(j - 7, 0), G(0, j - 7), Ce(), se(), me(ve, _e), L >= 7 && oe(ve), U == null && (U = ne(L, H, z)), ue(U, _e);
|
|
15448
15452
|
}, G = function(ve, _e) {
|
|
15449
15453
|
for (var pe = -1; pe <= 7; pe += 1)
|
|
15450
15454
|
if (!(ve + pe <= -1 || j <= ve + pe))
|
|
@@ -15462,7 +15466,7 @@ function requireQrcode() {
|
|
|
15462
15466
|
B[ve][6] == null && (B[ve][6] = ve % 2 == 0);
|
|
15463
15467
|
for (var _e = 8; _e < j - 8; _e += 1)
|
|
15464
15468
|
B[6][_e] == null && (B[6][_e] = _e % 2 == 0);
|
|
15465
|
-
},
|
|
15469
|
+
}, Ce = function() {
|
|
15466
15470
|
for (var ve = c.getPatternPosition(L), _e = 0; _e < ve.length; _e += 1)
|
|
15467
15471
|
for (var pe = 0; pe < ve.length; pe += 1) {
|
|
15468
15472
|
var Pe = ve[_e], De = ve[pe];
|
|
@@ -15599,7 +15603,7 @@ function requireQrcode() {
|
|
|
15599
15603
|
var De = {};
|
|
15600
15604
|
typeof arguments[0] == "object" && (De = arguments[0], ve = De.cellSize, _e = De.margin, pe = De.alt, Pe = De.title), ve = ve || 2, _e = typeof _e > "u" ? ve * 4 : _e, pe = typeof pe == "string" ? { text: pe } : pe || {}, pe.text = pe.text || null, pe.id = pe.text ? pe.id || "qrcode-description" : null, Pe = typeof Pe == "string" ? { text: Pe } : Pe || {}, Pe.text = Pe.text || null, Pe.id = Pe.text ? Pe.id || "qrcode-title" : null;
|
|
15601
15605
|
var Ve = X.getModuleCount() * ve + _e * 2, Te, He, we, le, he = "", $;
|
|
15602
|
-
for ($ = "l" + ve + ",0 0," + ve + " -" + ve + ",0 0,-" + ve + "z ", he += '<svg version="1.1" xmlns="http://www.w3.org/2000/svg"', he += De.scalable ? "" : ' width="' + Ve + 'px" height="' + Ve + 'px"', he += ' viewBox="0 0 ' + Ve + " " + Ve + '" ', he += ' preserveAspectRatio="xMinYMin meet"', he += Pe.text || pe.text ? ' role="img" aria-labelledby="' +
|
|
15606
|
+
for ($ = "l" + ve + ",0 0," + ve + " -" + ve + ",0 0,-" + ve + "z ", he += '<svg version="1.1" xmlns="http://www.w3.org/2000/svg"', he += De.scalable ? "" : ' width="' + Ve + 'px" height="' + Ve + 'px"', he += ' viewBox="0 0 ' + Ve + " " + Ve + '" ', he += ' preserveAspectRatio="xMinYMin meet"', he += Pe.text || pe.text ? ' role="img" aria-labelledby="' + xe([Pe.id, pe.id].join(" ").trim()) + '"' : "", he += ">", he += Pe.text ? '<title id="' + xe(Pe.id) + '">' + xe(Pe.text) + "</title>" : "", he += pe.text ? '<description id="' + xe(pe.id) + '">' + xe(pe.text) + "</description>" : "", he += '<rect width="100%" height="100%" fill="white" cx="0" cy="0"/>', he += '<path d="', we = 0; we < X.getModuleCount(); we += 1)
|
|
15603
15607
|
for (le = we * ve + _e, Te = 0; Te < X.getModuleCount(); Te += 1)
|
|
15604
15608
|
X.isDark(we, Te) && (He = Te * ve + _e, he += "M" + He + "," + le + $);
|
|
15605
15609
|
return he += '" stroke="transparent" fill="black"/>', he += "</svg>", he;
|
|
@@ -15616,9 +15620,9 @@ function requireQrcode() {
|
|
|
15616
15620
|
}, X.createImgTag = function(ve, _e, pe) {
|
|
15617
15621
|
ve = ve || 2, _e = typeof _e > "u" ? ve * 4 : _e;
|
|
15618
15622
|
var Pe = X.getModuleCount() * ve + _e * 2, De = "";
|
|
15619
|
-
return De += "<img", De += ' src="', De += X.createDataURL(ve, _e), De += '"', De += ' width="', De += Pe, De += '"', De += ' height="', De += Pe, De += '"', pe && (De += ' alt="', De +=
|
|
15623
|
+
return De += "<img", De += ' src="', De += X.createDataURL(ve, _e), De += '"', De += ' width="', De += Pe, De += '"', De += ' height="', De += Pe, De += '"', pe && (De += ' alt="', De += xe(pe), De += '"'), De += "/>", De;
|
|
15620
15624
|
};
|
|
15621
|
-
var
|
|
15625
|
+
var xe = function(ve) {
|
|
15622
15626
|
for (var _e = "", pe = 0; pe < ve.length; pe += 1) {
|
|
15623
15627
|
var Pe = ve.charAt(pe);
|
|
15624
15628
|
switch (Pe) {
|
|
@@ -15889,8 +15893,8 @@ function requireQrcode() {
|
|
|
15889
15893
|
}
|
|
15890
15894
|
for (var z = 0; z < j - 1; z += 1)
|
|
15891
15895
|
for (var X = 0; X < j - 1; X += 1) {
|
|
15892
|
-
var
|
|
15893
|
-
B.isDark(z, X) && (
|
|
15896
|
+
var Ce = 0;
|
|
15897
|
+
B.isDark(z, X) && (Ce += 1), B.isDark(z + 1, X) && (Ce += 1), B.isDark(z, X + 1) && (Ce += 1), B.isDark(z + 1, X + 1) && (Ce += 1), (Ce == 0 || Ce == 4) && (U += 3);
|
|
15894
15898
|
}
|
|
15895
15899
|
for (var z = 0; z < j; z += 1)
|
|
15896
15900
|
for (var X = 0; X < j - 6; X += 1)
|
|
@@ -16400,12 +16404,12 @@ function requireQrcode() {
|
|
|
16400
16404
|
};
|
|
16401
16405
|
var B = function(z) {
|
|
16402
16406
|
var X = z, Y = 0, G = 0, J = {};
|
|
16403
|
-
return J.write = function(se,
|
|
16404
|
-
if (se >>>
|
|
16407
|
+
return J.write = function(se, Ce) {
|
|
16408
|
+
if (se >>> Ce)
|
|
16405
16409
|
throw "length over";
|
|
16406
|
-
for (; Y +
|
|
16407
|
-
X.writeByte(255 & (se << Y | G)),
|
|
16408
|
-
G = se << Y | G, Y = Y +
|
|
16410
|
+
for (; Y + Ce >= 8; )
|
|
16411
|
+
X.writeByte(255 & (se << Y | G)), Ce -= 8 - Y, se >>>= 8 - Y, G = 0, Y = 0;
|
|
16412
|
+
G = se << Y | G, Y = Y + Ce;
|
|
16409
16413
|
}, J.flush = function() {
|
|
16410
16414
|
Y > 0 && X.writeByte(G);
|
|
16411
16415
|
}, J;
|
|
@@ -16413,14 +16417,14 @@ function requireQrcode() {
|
|
|
16413
16417
|
for (var X = 1 << z, Y = (1 << z) + 1, G = z + 1, J = U(), se = 0; se < X; se += 1)
|
|
16414
16418
|
J.add(String.fromCharCode(se));
|
|
16415
16419
|
J.add(String.fromCharCode(X)), J.add(String.fromCharCode(Y));
|
|
16416
|
-
var
|
|
16420
|
+
var Ce = v(), oe = B(Ce);
|
|
16417
16421
|
oe.write(X, G);
|
|
16418
16422
|
var me = 0, ue = String.fromCharCode(L[me]);
|
|
16419
16423
|
for (me += 1; me < L.length; ) {
|
|
16420
16424
|
var Q = String.fromCharCode(L[me]);
|
|
16421
16425
|
me += 1, J.contains(ue + Q) ? ue = ue + Q : (oe.write(J.indexOf(ue), G), J.size() < 4095 && (J.size() == 1 << G && (G += 1), J.add(ue + Q)), ue = Q);
|
|
16422
16426
|
}
|
|
16423
|
-
return oe.write(J.indexOf(ue), G), oe.write(Y, G), oe.flush(),
|
|
16427
|
+
return oe.write(J.indexOf(ue), G), oe.write(Y, G), oe.flush(), Ce.toByteArray();
|
|
16424
16428
|
}, U = function() {
|
|
16425
16429
|
var z = {}, X = 0, Y = {};
|
|
16426
16430
|
return Y.add = function(G) {
|
|
@@ -16546,7 +16550,7 @@ function drawText(a, t) {
|
|
|
16546
16550
|
};
|
|
16547
16551
|
return v === 1 ? (_.fillStyle = y, _.fillRect(0, 0, R, T), L()) : (L(), D && function() {
|
|
16548
16552
|
for (var H = _.getImageData(0, 0, R, T), B = H.data, j = R * T, U = [], z = 0, X = function(J) {
|
|
16549
|
-
var se = [],
|
|
16553
|
+
var se = [], Ce = {};
|
|
16550
16554
|
U[z] = se, z = 1 - z;
|
|
16551
16555
|
var oe = U[z];
|
|
16552
16556
|
if (!oe) {
|
|
@@ -16557,7 +16561,7 @@ function drawText(a, t) {
|
|
|
16557
16561
|
oe.forEach(function(ue) {
|
|
16558
16562
|
B[4 * ue + 3] && [ue % R ? ue - 1 : -1, (ue + 1) % R ? ue + 1 : -1, ue - R, ue + R].forEach(function(Q) {
|
|
16559
16563
|
var ne = 4 * Q;
|
|
16560
|
-
ne >= 0 && ne <= B.length && !
|
|
16564
|
+
ne >= 0 && ne <= B.length && !Ce[Q] && (Ce[Q] = 1, se.push(Q));
|
|
16561
16565
|
});
|
|
16562
16566
|
}), se.forEach(function(ue) {
|
|
16563
16567
|
var Q = 4 * ue;
|
|
@@ -18333,9 +18337,9 @@ class TableNode extends RectNode {
|
|
|
18333
18337
|
newLineWithCellContent: Y.rowProperty.newLineWithCellContent,
|
|
18334
18338
|
withFormula: Y.rowProperty.withFormula,
|
|
18335
18339
|
isSignLock: Y.rowProperty.isSignLock
|
|
18336
|
-
}, se = JSON.parse(JSON.stringify(J)),
|
|
18337
|
-
for (let me = 0; me <
|
|
18338
|
-
|
|
18340
|
+
}, se = JSON.parse(JSON.stringify(J)), Ce = Object.keys(p);
|
|
18341
|
+
for (let me = 0; me < Ce.length; me++)
|
|
18342
|
+
Ce[me] === "customProperties" ? Y.rowProperty.customProperties.length === 0 && delete se.customProperties : se[Ce[me]] === m[Ce[me]] && delete se[Ce[me]];
|
|
18339
18343
|
const oe = {
|
|
18340
18344
|
rowHeight: Y.rowHeight
|
|
18341
18345
|
//heightFixed: rowInfo.heightFixed,
|
|
@@ -18373,10 +18377,10 @@ class TableNode extends RectNode {
|
|
|
18373
18377
|
isLock: Y.colProperty.isLock,
|
|
18374
18378
|
addWithDefaultValue: Y.colProperty.addWithDefaultValue,
|
|
18375
18379
|
customProperties: G
|
|
18376
|
-
}, se = JSON.parse(JSON.stringify(J)),
|
|
18380
|
+
}, se = JSON.parse(JSON.stringify(J)), Ce = Object.keys(v);
|
|
18377
18381
|
(Y.colProperty.customProperties.length === 0 || Y.colProperty.customProperties[0].length === 0) && delete se.customProperties;
|
|
18378
|
-
for (let me = 0; me <
|
|
18379
|
-
se[
|
|
18382
|
+
for (let me = 0; me < Ce.length; me++)
|
|
18383
|
+
se[Ce[me]] === C[Ce[me]] && delete se[Ce[me]];
|
|
18380
18384
|
const oe = {
|
|
18381
18385
|
colWidth: Y.colWidth
|
|
18382
18386
|
//widthFixed: colInfo.widthFixed,
|
|
@@ -18420,11 +18424,11 @@ class TableNode extends RectNode {
|
|
|
18420
18424
|
childNodes: { [`${G}`]: Array() }
|
|
18421
18425
|
}, se = { base: {}, childNodes: Array() };
|
|
18422
18426
|
T.push(J), I.push(se);
|
|
18423
|
-
for (let
|
|
18424
|
-
const oe = Y[
|
|
18427
|
+
for (let Ce = u.col; Ce <= w; Ce++) {
|
|
18428
|
+
const oe = Y[Ce];
|
|
18425
18429
|
if (oe) {
|
|
18426
18430
|
const me = oe.node2Json(s, r, o, n, E);
|
|
18427
|
-
se.base = JSON.parse(JSON.stringify(me)), me.rowNo = X - u.row, me.colNo =
|
|
18431
|
+
se.base = JSON.parse(JSON.stringify(me)), me.rowNo = X - u.row, me.colNo = Ce - u.col, r ? J.childNodes.item.push(me) : J.childNodes.CellNode.push(me), J.rowNo = X;
|
|
18428
18432
|
} else
|
|
18429
18433
|
r ? J.childNodes.item.push({}) : J.childNodes.CellNode.push({});
|
|
18430
18434
|
}
|
|
@@ -27492,8 +27496,8 @@ class Print {
|
|
|
27492
27496
|
}
|
|
27493
27497
|
if (l || u.startPageNum !== 0 && l !== void 0) {
|
|
27494
27498
|
const G = u.drawTree.drawPages[u.startPageNum], J = u.pageProperty.heightPixes, se = G.drawFooter.dHeight;
|
|
27495
|
-
let
|
|
27496
|
-
J - se - l < u.defaultLineHeight ?
|
|
27499
|
+
let Ce = 0;
|
|
27500
|
+
J - se - l < u.defaultLineHeight ? Ce = u.startPageNum + 1 : Ce = u.startPageNum, u.printStatus.startIndex = Ce + 1;
|
|
27497
27501
|
} else
|
|
27498
27502
|
u.printStatus.startIndex = 1;
|
|
27499
27503
|
u.printStatus.generatePageIndexs(u.printStatus.printAppoint), u.printStatus.printRange != 2 && u.printStatus.DrawPrintRange().preparePrint();
|
|
@@ -27529,11 +27533,11 @@ class Print {
|
|
|
27529
27533
|
}
|
|
27530
27534
|
}
|
|
27531
27535
|
J.drawDomLevel && J.needUpdateStage && J.drawDomLevel.stage && (J.drawDomLevel.stage.update(), J.needUpdateStage = !1);
|
|
27532
|
-
const
|
|
27533
|
-
if (u.isFixedPrintToA4 == "1" && c && (p == "l" ? (
|
|
27536
|
+
const Ce = { x: 0, y: 0 };
|
|
27537
|
+
if (u.isFixedPrintToA4 == "1" && c && (p == "l" ? (Ce.x = c[0] - m, Ce.y = (c[1] - g) / 2) : Ce.x = (c[0] - m) / 2), u.isUseImagePrint && (!o || o !== "html")) {
|
|
27534
27538
|
r == null || r.addPage(), v++;
|
|
27535
27539
|
let oe = r == null ? void 0 : r.context2d;
|
|
27536
|
-
oe.posX =
|
|
27540
|
+
oe.posX = Ce.x, oe.posY = Ce.y, window.printBlack = u.printBlack, d && ["[148,210]", "[210,148]"].includes(y) ? c && p === "p" ? (oe.translate(0, 1122), oe.rotate(270 * Math.PI / 180), oe && ((T = (E = J.drawDomLevel) == null ? void 0 : E.stage) == null || T.draw(oe)), oe.rotate(90 * Math.PI / 180), oe.translate(0, -1122), oe.translate(0, 1122 / 2), oe.rotate(270 * Math.PI / 180), oe && ((A = (I = J.drawDomLevel) == null ? void 0 : I.stage) == null || A.draw(oe)), oe.rotate(90 * Math.PI / 180), oe.translate(0, -1122 / 2), oe = null) : (oe && ((L = (R = J.drawDomLevel) == null ? void 0 : R.stage) == null || L.draw(oe)), oe.translate(0, 1122 / 2), oe && ((B = (H = J.drawDomLevel) == null ? void 0 : H.stage) == null || B.draw(oe)), oe.translate(0, -1122 / 2), oe = null) : (u.isFixedPrintToA4 == "2" && c && p === "p" && ["[148,210]", "[210,148]"].includes(y) && G == 0 && (oe.translate(0, 1122 / 2), oe.rotate(270 * Math.PI / 180)), oe && ((U = (j = J.drawDomLevel) == null ? void 0 : j.stage) == null || U.draw(oe)), oe = null);
|
|
27537
27541
|
} else {
|
|
27538
27542
|
let oe = new C2S({
|
|
27539
27543
|
width: m,
|
|
@@ -27563,8 +27567,8 @@ class Print {
|
|
|
27563
27567
|
</head>
|
|
27564
27568
|
<body>${f == null ? void 0 : f.innerHTML}</body>
|
|
27565
27569
|
</html>
|
|
27566
|
-
`, se = window.URL.createObjectURL(new Blob([J], { type: "text/html" })),
|
|
27567
|
-
|
|
27570
|
+
`, se = window.URL.createObjectURL(new Blob([J], { type: "text/html" })), Ce = document.createElement("a");
|
|
27571
|
+
Ce.style.display = "none", Ce.href = se, Ce.setAttribute("download", n ? n + ".html" : "电子病历文档.html"), document.body.appendChild(Ce), Ce.click(), setTimeout(() => Ce.remove(), 100), s && s("printend");
|
|
27568
27572
|
return;
|
|
27569
27573
|
} else if (o === "pdf")
|
|
27570
27574
|
r == null || r.deletePage(1), this.processGeneratedPDF(t, r), r == null || r.save(n + ".pdf"), u.printStatus.drawPrintRecord.clear();
|
|
@@ -34132,8 +34136,8 @@ function requireMoment() {
|
|
|
34132
34136
|
var Z = !0;
|
|
34133
34137
|
return g(function() {
|
|
34134
34138
|
if (o.deprecationHandler != null && o.deprecationHandler(null, S), Z) {
|
|
34135
|
-
var q = [], ce, Le, $e,
|
|
34136
|
-
for (Le = 0; Le <
|
|
34139
|
+
var q = [], ce, Le, $e, Ct = arguments.length;
|
|
34140
|
+
for (Le = 0; Le < Ct; Le++) {
|
|
34137
34141
|
if (ce = "", typeof arguments[Le] == "object") {
|
|
34138
34142
|
ce += `
|
|
34139
34143
|
[` + Le + "] ";
|
|
@@ -34199,7 +34203,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34199
34203
|
var q = this._calendar[S] || this._calendar.sameElse;
|
|
34200
34204
|
return U(q) ? q.call(M, Z) : q;
|
|
34201
34205
|
}
|
|
34202
|
-
function
|
|
34206
|
+
function Ce(S, M, Z) {
|
|
34203
34207
|
var q = "" + Math.abs(S), ce = M - q.length, Le = S >= 0;
|
|
34204
34208
|
return (Le ? Z ? "+" : "" : "-") + Math.pow(10, Math.max(0, ce)).toString().substr(1) + q;
|
|
34205
34209
|
}
|
|
@@ -34209,7 +34213,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34209
34213
|
typeof q == "string" && (ce = function() {
|
|
34210
34214
|
return this[q]();
|
|
34211
34215
|
}), S && (Q[S] = ce), M && (Q[M[0]] = function() {
|
|
34212
|
-
return
|
|
34216
|
+
return Ce(ce.apply(this, arguments), M[1], M[2]);
|
|
34213
34217
|
}), Z && (Q[Z] = function() {
|
|
34214
34218
|
return this.localeData().ordinal(
|
|
34215
34219
|
ce.apply(this, arguments),
|
|
@@ -34217,13 +34221,13 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34217
34221
|
);
|
|
34218
34222
|
});
|
|
34219
34223
|
}
|
|
34220
|
-
function
|
|
34224
|
+
function xe(S) {
|
|
34221
34225
|
return S.match(/\[[\s\S]/) ? S.replace(/^\[|\]$/g, "") : S.replace(/\\/g, "");
|
|
34222
34226
|
}
|
|
34223
34227
|
function Ie(S) {
|
|
34224
34228
|
var M = S.match(oe), Z, q;
|
|
34225
34229
|
for (Z = 0, q = M.length; Z < q; Z++)
|
|
34226
|
-
Q[M[Z]] ? M[Z] = Q[M[Z]] : M[Z] =
|
|
34230
|
+
Q[M[Z]] ? M[Z] = Q[M[Z]] : M[Z] = xe(M[Z]);
|
|
34227
34231
|
return function(ce) {
|
|
34228
34232
|
var Le = "", $e;
|
|
34229
34233
|
for ($e = 0; $e < q; $e++)
|
|
@@ -34379,7 +34383,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34379
34383
|
return q.priority - ce.priority;
|
|
34380
34384
|
}), M;
|
|
34381
34385
|
}
|
|
34382
|
-
var ot = /\d/, ht = /\d\d/, bt = /\d{3}/, gt = /\d{4}/, _t = /[+-]?\d{6}/, pt = /\d\d?/, Tt = /\d\d\d\d?/,
|
|
34386
|
+
var ot = /\d/, ht = /\d\d/, bt = /\d{3}/, gt = /\d{4}/, _t = /[+-]?\d{6}/, pt = /\d\d?/, Tt = /\d\d\d\d?/, xt = /\d\d\d\d\d\d?/, It = /\d{1,3}/, St = /\d{1,4}/, Qt = /[+-]?\d{1,6}/, At = /\d+/, or = /[+-]?\d+/, wr = /Z|[+-]\d\d:?\d\d/gi, kt = /Z|[+-]\d\d(?::?\d\d)?/gi, Gt = /[+-]?\d+(\.\d{1,3})?/, ee = /[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i, ae = /^[1-9]\d?/, Se = /^([1-9]\d|\d)/, Ue;
|
|
34383
34387
|
Ue = {};
|
|
34384
34388
|
function Ge(S, M, Z) {
|
|
34385
34389
|
Ue[S] = U(M) ? M : function(q, ce) {
|
|
@@ -34417,7 +34421,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34417
34421
|
}), ce = S.length, Z = 0; Z < ce; Z++)
|
|
34418
34422
|
Pt[S[Z]] = q;
|
|
34419
34423
|
}
|
|
34420
|
-
function
|
|
34424
|
+
function Cr(S, M) {
|
|
34421
34425
|
Ot(S, function(Z, q, ce, Le) {
|
|
34422
34426
|
ce._w = ce._w || {}, M(Z, ce._w, ce, Le);
|
|
34423
34427
|
});
|
|
@@ -34431,7 +34435,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34431
34435
|
var jt = 0, tr = 1, Vt = 2, Zt = 3, lr = 4, gr = 5, Rr = 6, hi = 7, Or = 8;
|
|
34432
34436
|
ne("Y", 0, 0, function() {
|
|
34433
34437
|
var S = this.year();
|
|
34434
|
-
return S <= 9999 ?
|
|
34438
|
+
return S <= 9999 ? Ce(S, 4) : "+" + S;
|
|
34435
34439
|
}), ne(0, ["YY", 2], 0, function() {
|
|
34436
34440
|
return this.year() % 100;
|
|
34437
34441
|
}), ne(0, ["YYYY", 4], 0, "year"), ne(0, ["YYYYY", 5], 0, "year"), ne(0, ["YYYYYY", 6, !0], 0, "year"), Ge("Y", or), Ge("YY", pt, ht), Ge("YYYY", St, gt), Ge("YYYYY", Qt, _t), Ge("YYYYYY", Qt, _t), Ot(["YYYYY", "YYYYYY"], jt), Ot("YYYY", function(S, M) {
|
|
@@ -34482,7 +34486,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34482
34486
|
}
|
|
34483
34487
|
}
|
|
34484
34488
|
function ni(S, M, Z) {
|
|
34485
|
-
var q, ce, Le, $e,
|
|
34489
|
+
var q, ce, Le, $e, Ct;
|
|
34486
34490
|
if (!(!S.isValid() || isNaN(Z))) {
|
|
34487
34491
|
switch (q = S._d, ce = S._isUTC, M) {
|
|
34488
34492
|
case "Milliseconds":
|
|
@@ -34505,7 +34509,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34505
34509
|
default:
|
|
34506
34510
|
return;
|
|
34507
34511
|
}
|
|
34508
|
-
Le = Z, $e = S.month(),
|
|
34512
|
+
Le = Z, $e = S.month(), Ct = S.date(), Ct = Ct === 29 && $e === 1 && !Xt(Le) ? 28 : Ct, ce ? q.setUTCFullYear(Le, $e, Ct) : q.setFullYear(Le, $e, Ct);
|
|
34509
34513
|
}
|
|
34510
34514
|
}
|
|
34511
34515
|
function fi(S) {
|
|
@@ -34620,9 +34624,9 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34620
34624
|
function S(Mt, qt) {
|
|
34621
34625
|
return qt.length - Mt.length;
|
|
34622
34626
|
}
|
|
34623
|
-
var M = [], Z = [], q = [], ce, Le, $e,
|
|
34627
|
+
var M = [], Z = [], q = [], ce, Le, $e, Ct;
|
|
34624
34628
|
for (ce = 0; ce < 12; ce++)
|
|
34625
|
-
Le = y([2e3, ce]), $e = Jt(this.monthsShort(Le, "")),
|
|
34629
|
+
Le = y([2e3, ce]), $e = Jt(this.monthsShort(Le, "")), Ct = Jt(this.months(Le, "")), M.push($e), Z.push(Ct), q.push(Ct), q.push($e);
|
|
34626
34630
|
M.sort(S), Z.sort(S), q.sort(S), this._monthsRegex = new RegExp("^(" + q.join("|") + ")", "i"), this._monthsShortRegex = this._monthsRegex, this._monthsStrictRegex = new RegExp(
|
|
34627
34631
|
"^(" + Z.join("|") + ")",
|
|
34628
34632
|
"i"
|
|
@@ -34632,8 +34636,8 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34632
34636
|
);
|
|
34633
34637
|
}
|
|
34634
34638
|
function at(S, M, Z, q, ce, Le, $e) {
|
|
34635
|
-
var
|
|
34636
|
-
return S < 100 && S >= 0 ? (
|
|
34639
|
+
var Ct;
|
|
34640
|
+
return S < 100 && S >= 0 ? (Ct = new Date(S + 400, M, Z, q, ce, Le, $e), isFinite(Ct.getFullYear()) && Ct.setFullYear(S)) : Ct = new Date(S, M, Z, q, ce, Le, $e), Ct;
|
|
34637
34641
|
}
|
|
34638
34642
|
function ut(S) {
|
|
34639
34643
|
var M, Z;
|
|
@@ -34644,8 +34648,8 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34644
34648
|
return -ce + q - 1;
|
|
34645
34649
|
}
|
|
34646
34650
|
function zt(S, M, Z, q, ce) {
|
|
34647
|
-
var Le = (7 + Z - q) % 7, $e = vt(S, q, ce),
|
|
34648
|
-
return
|
|
34651
|
+
var Le = (7 + Z - q) % 7, $e = vt(S, q, ce), Ct = 1 + 7 * (M - 1) + Le + $e, Mt, qt;
|
|
34652
|
+
return Ct <= 0 ? (Mt = S - 1, qt = Ur(Mt) + Ct) : Ct > Ur(S) ? (Mt = S + 1, qt = Ct - Ur(S)) : (Mt = S, qt = Ct), {
|
|
34649
34653
|
year: Mt,
|
|
34650
34654
|
dayOfYear: qt
|
|
34651
34655
|
};
|
|
@@ -34661,7 +34665,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34661
34665
|
var q = vt(S, M, Z), ce = vt(S + 1, M, Z);
|
|
34662
34666
|
return (Ur(S) - q + ce) / 7;
|
|
34663
34667
|
}
|
|
34664
|
-
ne("w", ["ww", 2], "wo", "week"), ne("W", ["WW", 2], "Wo", "isoWeek"), Ge("w", pt, ae), Ge("ww", pt, ht), Ge("W", pt, ae), Ge("WW", pt, ht),
|
|
34668
|
+
ne("w", ["ww", 2], "wo", "week"), ne("W", ["WW", 2], "Wo", "isoWeek"), Ge("w", pt, ae), Ge("ww", pt, ht), Ge("W", pt, ae), Ge("WW", pt, ht), Cr(
|
|
34665
34669
|
["w", "ww", "W", "WW"],
|
|
34666
34670
|
function(S, M, Z, q) {
|
|
34667
34671
|
M[q.substr(0, 1)] = Et(S);
|
|
@@ -34702,10 +34706,10 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34702
34706
|
return M.weekdaysShortRegex(S);
|
|
34703
34707
|
}), Ge("dddd", function(S, M) {
|
|
34704
34708
|
return M.weekdaysRegex(S);
|
|
34705
|
-
}),
|
|
34709
|
+
}), Cr(["dd", "ddd", "dddd"], function(S, M, Z, q) {
|
|
34706
34710
|
var ce = Z._locale.weekdaysParse(S, q, Z._strict);
|
|
34707
34711
|
ce != null ? M.d = ce : v(Z).invalidWeekday = S;
|
|
34708
|
-
}),
|
|
34712
|
+
}), Cr(["d", "e", "E"], function(S, M, Z, q) {
|
|
34709
34713
|
M[q] = Et(S);
|
|
34710
34714
|
});
|
|
34711
34715
|
function Zr(S, M) {
|
|
@@ -34799,9 +34803,9 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34799
34803
|
function S(Lr, ci) {
|
|
34800
34804
|
return ci.length - Lr.length;
|
|
34801
34805
|
}
|
|
34802
|
-
var M = [], Z = [], q = [], ce = [], Le, $e,
|
|
34806
|
+
var M = [], Z = [], q = [], ce = [], Le, $e, Ct, Mt, qt;
|
|
34803
34807
|
for (Le = 0; Le < 7; Le++)
|
|
34804
|
-
$e = y([2e3, 1]).day(Le),
|
|
34808
|
+
$e = y([2e3, 1]).day(Le), Ct = Jt(this.weekdaysMin($e, "")), Mt = Jt(this.weekdaysShort($e, "")), qt = Jt(this.weekdays($e, "")), M.push(Ct), Z.push(Mt), q.push(qt), ce.push(Ct), ce.push(Mt), ce.push(qt);
|
|
34805
34809
|
M.sort(S), Z.sort(S), q.sort(S), ce.sort(S), this._weekdaysRegex = new RegExp("^(" + ce.join("|") + ")", "i"), this._weekdaysShortRegex = this._weekdaysRegex, this._weekdaysMinRegex = this._weekdaysRegex, this._weekdaysStrictRegex = new RegExp(
|
|
34806
34810
|
"^(" + q.join("|") + ")",
|
|
34807
34811
|
"i"
|
|
@@ -34820,13 +34824,13 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34820
34824
|
return this.hours() || 24;
|
|
34821
34825
|
}
|
|
34822
34826
|
ne("H", ["HH", 2], 0, "hour"), ne("h", ["hh", 2], 0, Uo), ne("k", ["kk", 2], 0, Yo), ne("hmm", 0, 0, function() {
|
|
34823
|
-
return "" + Uo.apply(this) +
|
|
34827
|
+
return "" + Uo.apply(this) + Ce(this.minutes(), 2);
|
|
34824
34828
|
}), ne("hmmss", 0, 0, function() {
|
|
34825
|
-
return "" + Uo.apply(this) +
|
|
34829
|
+
return "" + Uo.apply(this) + Ce(this.minutes(), 2) + Ce(this.seconds(), 2);
|
|
34826
34830
|
}), ne("Hmm", 0, 0, function() {
|
|
34827
|
-
return "" + this.hours() +
|
|
34831
|
+
return "" + this.hours() + Ce(this.minutes(), 2);
|
|
34828
34832
|
}), ne("Hmmss", 0, 0, function() {
|
|
34829
|
-
return "" + this.hours() +
|
|
34833
|
+
return "" + this.hours() + Ce(this.minutes(), 2) + Ce(this.seconds(), 2);
|
|
34830
34834
|
});
|
|
34831
34835
|
function mn(S, M) {
|
|
34832
34836
|
ne(S, 0, 0, function() {
|
|
@@ -34841,7 +34845,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34841
34845
|
function yn(S, M) {
|
|
34842
34846
|
return M._meridiemParse;
|
|
34843
34847
|
}
|
|
34844
|
-
Ge("a", yn), Ge("A", yn), Ge("H", pt, Se), Ge("h", pt, ae), Ge("k", pt, ae), Ge("HH", pt, ht), Ge("hh", pt, ht), Ge("kk", pt, ht), Ge("hmm", Tt), Ge("hmmss",
|
|
34848
|
+
Ge("a", yn), Ge("A", yn), Ge("H", pt, Se), Ge("h", pt, ae), Ge("k", pt, ae), Ge("HH", pt, ht), Ge("hh", pt, ht), Ge("kk", pt, ht), Ge("hmm", Tt), Ge("hmmss", xt), Ge("Hmm", Tt), Ge("Hmmss", xt), Ot(["H", "HH"], Zt), Ot(["k", "kk"], function(S, M, Z) {
|
|
34845
34849
|
var q = Et(S);
|
|
34846
34850
|
M[Zt] = q === 24 ? 0 : q;
|
|
34847
34851
|
}), Ot(["a", "A"], function(S, M, Z) {
|
|
@@ -34864,7 +34868,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34864
34868
|
function $i(S) {
|
|
34865
34869
|
return (S + "").toLowerCase().charAt(0) === "p";
|
|
34866
34870
|
}
|
|
34867
|
-
var
|
|
34871
|
+
var Co = /[ap]\.?m?\.?/i, kn = oi("Hours", !0);
|
|
34868
34872
|
function Hn(S, M, Z) {
|
|
34869
34873
|
return S > 11 ? Z ? "pm" : "PM" : Z ? "am" : "AM";
|
|
34870
34874
|
}
|
|
@@ -34881,7 +34885,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34881
34885
|
weekdays: Ri,
|
|
34882
34886
|
weekdaysMin: Fn,
|
|
34883
34887
|
weekdaysShort: Pr,
|
|
34884
|
-
meridiemParse:
|
|
34888
|
+
meridiemParse: Co
|
|
34885
34889
|
}, sr = {}, vi = {}, ki;
|
|
34886
34890
|
function eo(S, M) {
|
|
34887
34891
|
var Z, q = Math.min(S.length, M.length);
|
|
@@ -34947,7 +34951,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34947
34951
|
} else
|
|
34948
34952
|
return delete sr[S], null;
|
|
34949
34953
|
}
|
|
34950
|
-
function
|
|
34954
|
+
function Ci(S, M) {
|
|
34951
34955
|
if (M != null) {
|
|
34952
34956
|
var Z, q, ce = Ni;
|
|
34953
34957
|
sr[S] != null && sr[S].parentLocale != null ? sr[S].set(X(sr[S]._config, M)) : (q = Ti(S), q != null && (ce = q._config), M = X(ce, M), q == null && (M.abbr = S), Z = new Y(M), Z.parentLocale = sr[S], sr[S] = Z), wi(S);
|
|
@@ -34966,7 +34970,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34966
34970
|
}
|
|
34967
34971
|
return Hi(S);
|
|
34968
34972
|
}
|
|
34969
|
-
function
|
|
34973
|
+
function xo() {
|
|
34970
34974
|
return G(sr);
|
|
34971
34975
|
}
|
|
34972
34976
|
function bo(S) {
|
|
@@ -35010,7 +35014,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35010
35014
|
PST: -8 * 60
|
|
35011
35015
|
};
|
|
35012
35016
|
function W(S) {
|
|
35013
|
-
var M, Z, q = S._i, ce = Zo.exec(q) || wn.exec(q), Le, $e,
|
|
35017
|
+
var M, Z, q = S._i, ce = Zo.exec(q) || wn.exec(q), Le, $e, Ct, Mt, qt = Si.length, Lr = ro.length;
|
|
35014
35018
|
if (ce) {
|
|
35015
35019
|
for (v(S).iso = !0, M = 0, Z = qt; M < Z; M++)
|
|
35016
35020
|
if (Si[M][1].exec(ce[1])) {
|
|
@@ -35024,15 +35028,15 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35024
35028
|
if (ce[3]) {
|
|
35025
35029
|
for (M = 0, Z = Lr; M < Z; M++)
|
|
35026
35030
|
if (ro[M][1].exec(ce[3])) {
|
|
35027
|
-
|
|
35031
|
+
Ct = (ce[2] || " ") + ro[M][0];
|
|
35028
35032
|
break;
|
|
35029
35033
|
}
|
|
35030
|
-
if (
|
|
35034
|
+
if (Ct == null) {
|
|
35031
35035
|
S._isValid = !1;
|
|
35032
35036
|
return;
|
|
35033
35037
|
}
|
|
35034
35038
|
}
|
|
35035
|
-
if (!Le &&
|
|
35039
|
+
if (!Le && Ct != null) {
|
|
35036
35040
|
S._isValid = !1;
|
|
35037
35041
|
return;
|
|
35038
35042
|
}
|
|
@@ -35043,7 +35047,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35043
35047
|
S._isValid = !1;
|
|
35044
35048
|
return;
|
|
35045
35049
|
}
|
|
35046
|
-
S._f = $e + (
|
|
35050
|
+
S._f = $e + (Ct || "") + (Mt || ""), $t(S);
|
|
35047
35051
|
} else
|
|
35048
35052
|
S._isValid = !1;
|
|
35049
35053
|
}
|
|
@@ -35147,12 +35151,12 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35147
35151
|
}
|
|
35148
35152
|
}
|
|
35149
35153
|
function Kt(S) {
|
|
35150
|
-
var M, Z, q, ce, Le, $e,
|
|
35154
|
+
var M, Z, q, ce, Le, $e, Ct, Mt, qt;
|
|
35151
35155
|
M = S._w, M.GG != null || M.W != null || M.E != null ? (Le = 1, $e = 4, Z = mt(
|
|
35152
35156
|
M.GG,
|
|
35153
35157
|
S._a[jt],
|
|
35154
35158
|
Yt(fr(), 1, 4).year
|
|
35155
|
-
), q = mt(M.W, 1), ce = mt(M.E, 1), (ce < 1 || ce > 7) && (Mt = !0)) : (Le = S._locale._week.dow, $e = S._locale._week.doy, qt = Yt(fr(), Le, $e), Z = mt(M.gg, S._a[jt], qt.year), q = mt(M.w, qt.week), M.d != null ? (ce = M.d, (ce < 0 || ce > 6) && (Mt = !0)) : M.e != null ? (ce = M.e + Le, (M.e < 0 || M.e > 6) && (Mt = !0)) : ce = Le), q < 1 || q > Lt(Z, Le, $e) ? v(S)._overflowWeeks = !0 : Mt != null ? v(S)._overflowWeekday = !0 : (
|
|
35159
|
+
), q = mt(M.W, 1), ce = mt(M.E, 1), (ce < 1 || ce > 7) && (Mt = !0)) : (Le = S._locale._week.dow, $e = S._locale._week.doy, qt = Yt(fr(), Le, $e), Z = mt(M.gg, S._a[jt], qt.year), q = mt(M.w, qt.week), M.d != null ? (ce = M.d, (ce < 0 || ce > 6) && (Mt = !0)) : M.e != null ? (ce = M.e + Le, (M.e < 0 || M.e > 6) && (Mt = !0)) : ce = Le), q < 1 || q > Lt(Z, Le, $e) ? v(S)._overflowWeeks = !0 : Mt != null ? v(S)._overflowWeekday = !0 : (Ct = zt(Z, q, ce, Le, $e), S._a[jt] = Ct.year, S._dayOfYear = Ct.dayOfYear);
|
|
35156
35160
|
}
|
|
35157
35161
|
o.ISO_8601 = function() {
|
|
35158
35162
|
}, o.RFC_2822 = function() {
|
|
@@ -35167,12 +35171,12 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35167
35171
|
return;
|
|
35168
35172
|
}
|
|
35169
35173
|
S._a = [], v(S).empty = !0;
|
|
35170
|
-
var M = "" + S._i, Z, q, ce, Le, $e,
|
|
35174
|
+
var M = "" + S._i, Z, q, ce, Le, $e, Ct = M.length, Mt = 0, qt, Lr;
|
|
35171
35175
|
for (ce = _e(S._f, S._locale).match(oe) || [], Lr = ce.length, Z = 0; Z < Lr; Z++)
|
|
35172
35176
|
Le = ce[Z], q = (M.match(Dt(Le, S)) || [])[0], q && ($e = M.substr(0, M.indexOf(q)), $e.length > 0 && v(S).unusedInput.push($e), M = M.slice(
|
|
35173
35177
|
M.indexOf(q) + q.length
|
|
35174
35178
|
), Mt += q.length), Q[Le] ? (q ? v(S).empty = !1 : v(S).unusedTokens.push(Le), Nr(Le, q, S)) : S._strict && !q && v(S).unusedTokens.push(Le);
|
|
35175
|
-
v(S).charsLeftOver =
|
|
35179
|
+
v(S).charsLeftOver = Ct - Mt, M.length > 0 && v(S).unusedInput.push(M), S._a[Zt] <= 12 && v(S).bigHour === !0 && S._a[Zt] > 0 && (v(S).bigHour = void 0), v(S).parsedDateParts = S._a.slice(0), v(S).meridiem = S._meridiem, S._a[Zt] = yr(
|
|
35176
35180
|
S._locale,
|
|
35177
35181
|
S._a[Zt],
|
|
35178
35182
|
S._meridiem
|
|
@@ -35183,13 +35187,13 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35183
35187
|
return Z == null ? M : S.meridiemHour != null ? S.meridiemHour(M, Z) : (S.isPM != null && (q = S.isPM(Z), q && M < 12 && (M += 12), !q && M === 12 && (M = 0)), M);
|
|
35184
35188
|
}
|
|
35185
35189
|
function Sr(S) {
|
|
35186
|
-
var M, Z, q, ce, Le, $e,
|
|
35190
|
+
var M, Z, q, ce, Le, $e, Ct = !1, Mt = S._f.length;
|
|
35187
35191
|
if (Mt === 0) {
|
|
35188
35192
|
v(S).invalidFormat = !0, S._d = /* @__PURE__ */ new Date(NaN);
|
|
35189
35193
|
return;
|
|
35190
35194
|
}
|
|
35191
35195
|
for (ce = 0; ce < Mt; ce++)
|
|
35192
|
-
Le = 0, $e = !1, M = I({}, S), S._useUTC != null && (M._useUTC = S._useUTC), M._f = S._f[ce], $t(M), _(M) && ($e = !0), Le += v(M).charsLeftOver, Le += v(M).unusedTokens.length * 10, v(M).score = Le,
|
|
35196
|
+
Le = 0, $e = !1, M = I({}, S), S._useUTC != null && (M._useUTC = S._useUTC), M._f = S._f[ce], $t(M), _(M) && ($e = !0), Le += v(M).charsLeftOver, Le += v(M).unusedTokens.length * 10, v(M).score = Le, Ct ? Le < q && (q = Le, Z = M) : (q == null || Le < q || $e) && (q = Le, Z = M, $e && (Ct = !0));
|
|
35193
35197
|
g(S, Z || M);
|
|
35194
35198
|
}
|
|
35195
35199
|
function ur(S) {
|
|
@@ -35286,10 +35290,10 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35286
35290
|
return Hr(NaN);
|
|
35287
35291
|
}
|
|
35288
35292
|
function Bi(S) {
|
|
35289
|
-
var M = Qe(S), Z = M.year || 0, q = M.quarter || 0, ce = M.month || 0, Le = M.week || M.isoWeek || 0, $e = M.day || 0,
|
|
35293
|
+
var M = Qe(S), Z = M.year || 0, q = M.quarter || 0, ce = M.month || 0, Le = M.week || M.isoWeek || 0, $e = M.day || 0, Ct = M.hour || 0, Mt = M.minute || 0, qt = M.second || 0, Lr = M.millisecond || 0;
|
|
35290
35294
|
this._isValid = oo(M), this._milliseconds = +Lr + qt * 1e3 + // 1000
|
|
35291
35295
|
Mt * 6e4 + // 1000 * 60
|
|
35292
|
-
|
|
35296
|
+
Ct * 1e3 * 60 * 60, this._days = +$e + Le * 7, this._months = +ce + q * 3 + Z * 12, this._data = {}, this._locale = Qr(), this._bubble();
|
|
35293
35297
|
}
|
|
35294
35298
|
function Er(S) {
|
|
35295
35299
|
return S instanceof Bi;
|
|
@@ -35303,13 +35307,13 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35303
35307
|
Et(S[$e]) !== Et(M[$e]) && Le++;
|
|
35304
35308
|
return Le + ce;
|
|
35305
35309
|
}
|
|
35306
|
-
function
|
|
35310
|
+
function Cn(S, M) {
|
|
35307
35311
|
ne(S, 0, 0, function() {
|
|
35308
35312
|
var Z = this.utcOffset(), q = "+";
|
|
35309
|
-
return Z < 0 && (Z = -Z, q = "-"), q +
|
|
35313
|
+
return Z < 0 && (Z = -Z, q = "-"), q + Ce(~~(Z / 60), 2) + M + Ce(~~Z % 60, 2);
|
|
35310
35314
|
});
|
|
35311
35315
|
}
|
|
35312
|
-
|
|
35316
|
+
Cn("Z", ":"), Cn("ZZ", ""), Ge("Z", kt), Ge("ZZ", kt), Ot(["Z", "ZZ"], function(S, M, Z) {
|
|
35313
35317
|
Z._useUTC = !0, Z._tzm = ao(kt, S);
|
|
35314
35318
|
});
|
|
35315
35319
|
var Ko = /([\+\-]|\d\d)/gi;
|
|
@@ -35344,7 +35348,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35344
35348
|
} else
|
|
35345
35349
|
return this._isUTC ? q : Kr(this);
|
|
35346
35350
|
}
|
|
35347
|
-
function
|
|
35351
|
+
function xi(S, M) {
|
|
35348
35352
|
return S != null ? (typeof S != "string" && (S = -S), this.utcOffset(S, M), this) : -this.utcOffset();
|
|
35349
35353
|
}
|
|
35350
35354
|
function co(S) {
|
|
@@ -35442,7 +35446,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35442
35446
|
return typeof S == "string" || S instanceof String;
|
|
35443
35447
|
}
|
|
35444
35448
|
function dr(S) {
|
|
35445
|
-
return R(S) || p(S) || ar(S) || f(S) ||
|
|
35449
|
+
return R(S) || p(S) || ar(S) || f(S) || xr(S) || Fr(S) || S === null || S === void 0;
|
|
35446
35450
|
}
|
|
35447
35451
|
function Fr(S) {
|
|
35448
35452
|
var M = l(S) && !d(S), Z = !1, q = [
|
|
@@ -35475,13 +35479,13 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35475
35479
|
Le = q[ce], Z = Z || c(S, Le);
|
|
35476
35480
|
return M && Z;
|
|
35477
35481
|
}
|
|
35478
|
-
function
|
|
35482
|
+
function xr(S) {
|
|
35479
35483
|
var M = s(S), Z = !1;
|
|
35480
35484
|
return M && (Z = S.filter(function(q) {
|
|
35481
35485
|
return !f(q) && ar(S);
|
|
35482
35486
|
}).length === 0), M && Z;
|
|
35483
35487
|
}
|
|
35484
|
-
function
|
|
35488
|
+
function xn(S) {
|
|
35485
35489
|
var M = l(S) && !d(S), Z = !1, q = [
|
|
35486
35490
|
"sameDay",
|
|
35487
35491
|
"nextDay",
|
|
@@ -35499,7 +35503,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35499
35503
|
return Z < -6 ? "sameElse" : Z < -1 ? "lastWeek" : Z < 0 ? "lastDay" : Z < 1 ? "sameDay" : Z < 2 ? "nextDay" : Z < 7 ? "nextWeek" : "sameElse";
|
|
35500
35504
|
}
|
|
35501
35505
|
function Ii(S, M) {
|
|
35502
|
-
arguments.length === 1 && (arguments[0] ? dr(arguments[0]) ? (S = arguments[0], M = void 0) :
|
|
35506
|
+
arguments.length === 1 && (arguments[0] ? dr(arguments[0]) ? (S = arguments[0], M = void 0) : xn(arguments[0]) && (M = arguments[0], S = void 0) : (S = void 0, M = void 0));
|
|
35503
35507
|
var Z = S || fr(), q = No(Z, this).startOf("day"), ce = o.calendarFormat(this, q) || "sameElse", Le = M && (U(M[ce]) ? M[ce].call(this, Z) : M[ce]);
|
|
35504
35508
|
return this.format(
|
|
35505
35509
|
Le || this.localeData().calendar(ce, this, fr(Z))
|
|
@@ -35795,7 +35799,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35795
35799
|
strict: this._strict
|
|
35796
35800
|
};
|
|
35797
35801
|
}
|
|
35798
|
-
ne("N", 0, 0, "eraAbbr"), ne("NN", 0, 0, "eraAbbr"), ne("NNN", 0, 0, "eraAbbr"), ne("NNNN", 0, 0, "eraName"), ne("NNNNN", 0, 0, "eraNarrow"), ne("y", ["y", 1], "yo", "eraYear"), ne("y", ["yy", 2], 0, "eraYear"), ne("y", ["yyy", 3], 0, "eraYear"), ne("y", ["yyyy", 4], 0, "eraYear"), Ge("N", Tn), Ge("NN", Tn), Ge("NNN", Tn), Ge("NNNN",
|
|
35802
|
+
ne("N", 0, 0, "eraAbbr"), ne("NN", 0, 0, "eraAbbr"), ne("NNN", 0, 0, "eraAbbr"), ne("NNNN", 0, 0, "eraName"), ne("NNNNN", 0, 0, "eraNarrow"), ne("y", ["y", 1], "yo", "eraYear"), ne("y", ["yy", 2], 0, "eraYear"), ne("y", ["yyy", 3], 0, "eraYear"), ne("y", ["yyyy", 4], 0, "eraYear"), Ge("N", Tn), Ge("NN", Tn), Ge("NNN", Tn), Ge("NNNN", Cs), Ge("NNNNN", xs), Ot(
|
|
35799
35803
|
["N", "NN", "NNN", "NNNN", "NNNNN"],
|
|
35800
35804
|
function(S, M, Z, q) {
|
|
35801
35805
|
var ce = Z._locale.erasParse(S, q, Z._strict);
|
|
@@ -35825,14 +35829,14 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35825
35829
|
return Le;
|
|
35826
35830
|
}
|
|
35827
35831
|
function ps(S, M, Z) {
|
|
35828
|
-
var q, ce, Le = this.eras(), $e,
|
|
35832
|
+
var q, ce, Le = this.eras(), $e, Ct, Mt;
|
|
35829
35833
|
for (S = S.toUpperCase(), q = 0, ce = Le.length; q < ce; ++q)
|
|
35830
|
-
if ($e = Le[q].name.toUpperCase(),
|
|
35834
|
+
if ($e = Le[q].name.toUpperCase(), Ct = Le[q].abbr.toUpperCase(), Mt = Le[q].narrow.toUpperCase(), Z)
|
|
35831
35835
|
switch (M) {
|
|
35832
35836
|
case "N":
|
|
35833
35837
|
case "NN":
|
|
35834
35838
|
case "NNN":
|
|
35835
|
-
if (
|
|
35839
|
+
if (Ct === S)
|
|
35836
35840
|
return Le[q];
|
|
35837
35841
|
break;
|
|
35838
35842
|
case "NNNN":
|
|
@@ -35844,7 +35848,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35844
35848
|
return Le[q];
|
|
35845
35849
|
break;
|
|
35846
35850
|
}
|
|
35847
|
-
else if ([$e,
|
|
35851
|
+
else if ([$e, Ct, Mt].indexOf(S) >= 0)
|
|
35848
35852
|
return Le[q];
|
|
35849
35853
|
}
|
|
35850
35854
|
function gs(S, M) {
|
|
@@ -35891,19 +35895,19 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35891
35895
|
function Tn(S, M) {
|
|
35892
35896
|
return M.erasAbbrRegex(S);
|
|
35893
35897
|
}
|
|
35894
|
-
function
|
|
35898
|
+
function Cs(S, M) {
|
|
35895
35899
|
return M.erasNameRegex(S);
|
|
35896
35900
|
}
|
|
35897
|
-
function
|
|
35901
|
+
function xs(S, M) {
|
|
35898
35902
|
return M.erasNarrowRegex(S);
|
|
35899
35903
|
}
|
|
35900
35904
|
function ei(S, M) {
|
|
35901
35905
|
return M._eraYearOrdinalRegex || At;
|
|
35902
35906
|
}
|
|
35903
35907
|
function Xn() {
|
|
35904
|
-
var S = [], M = [], Z = [], q = [], ce, Le, $e,
|
|
35908
|
+
var S = [], M = [], Z = [], q = [], ce, Le, $e, Ct, Mt, qt = this.eras();
|
|
35905
35909
|
for (ce = 0, Le = qt.length; ce < Le; ++ce)
|
|
35906
|
-
$e = Jt(qt[ce].name),
|
|
35910
|
+
$e = Jt(qt[ce].name), Ct = Jt(qt[ce].abbr), Mt = Jt(qt[ce].narrow), M.push($e), S.push(Ct), Z.push(Mt), q.push($e), q.push(Ct), q.push(Mt);
|
|
35907
35911
|
this._erasRegex = new RegExp("^(" + q.join("|") + ")", "i"), this._erasNameRegex = new RegExp("^(" + M.join("|") + ")", "i"), this._erasAbbrRegex = new RegExp("^(" + S.join("|") + ")", "i"), this._erasNarrowRegex = new RegExp(
|
|
35908
35912
|
"^(" + Z.join("|") + ")",
|
|
35909
35913
|
"i"
|
|
@@ -35917,12 +35921,12 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35917
35921
|
function Sn(S, M) {
|
|
35918
35922
|
ne(0, [S, S.length], 0, M);
|
|
35919
35923
|
}
|
|
35920
|
-
Sn("gggg", "weekYear"), Sn("ggggg", "weekYear"), Sn("GGGG", "isoWeekYear"), Sn("GGGGG", "isoWeekYear"), Ge("G", or), Ge("g", or), Ge("GG", pt, ht), Ge("gg", pt, ht), Ge("GGGG", St, gt), Ge("gggg", St, gt), Ge("GGGGG", Qt, _t), Ge("ggggg", Qt, _t),
|
|
35924
|
+
Sn("gggg", "weekYear"), Sn("ggggg", "weekYear"), Sn("GGGG", "isoWeekYear"), Sn("GGGGG", "isoWeekYear"), Ge("G", or), Ge("g", or), Ge("GG", pt, ht), Ge("gg", pt, ht), Ge("GGGG", St, gt), Ge("gggg", St, gt), Ge("GGGGG", Qt, _t), Ge("ggggg", Qt, _t), Cr(
|
|
35921
35925
|
["gggg", "ggggg", "GGGG", "GGGGG"],
|
|
35922
35926
|
function(S, M, Z, q) {
|
|
35923
35927
|
M[q.substr(0, 2)] = Et(S);
|
|
35924
35928
|
}
|
|
35925
|
-
),
|
|
35929
|
+
), Cr(["gg", "GG"], function(S, M, Z, q) {
|
|
35926
35930
|
M[q] = o.parseTwoDigitYear(S);
|
|
35927
35931
|
});
|
|
35928
35932
|
function bs(S) {
|
|
@@ -36038,7 +36042,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
36038
36042
|
Yr
|
|
36039
36043
|
), dt.zone = H(
|
|
36040
36044
|
"moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",
|
|
36041
|
-
|
|
36045
|
+
xi
|
|
36042
36046
|
), dt.isDSTShifted = H(
|
|
36043
36047
|
"isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",
|
|
36044
36048
|
ai
|
|
@@ -36068,12 +36072,12 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
36068
36072
|
}
|
|
36069
36073
|
function O(S, M, Z, q) {
|
|
36070
36074
|
typeof S == "boolean" ? (f(M) && (Z = M, M = void 0), M = M || "") : (M = S, Z = M, S = !1, f(M) && (Z = M, M = void 0), M = M || "");
|
|
36071
|
-
var ce = Qr(), Le = S ? ce._week.dow : 0, $e,
|
|
36075
|
+
var ce = Qr(), Le = S ? ce._week.dow : 0, $e, Ct = [];
|
|
36072
36076
|
if (Z != null)
|
|
36073
36077
|
return F(M, (Z + Le) % 7, q, "day");
|
|
36074
36078
|
for ($e = 0; $e < 7; $e++)
|
|
36075
|
-
|
|
36076
|
-
return
|
|
36079
|
+
Ct[$e] = F(M, ($e + Le) % 7, q, "day");
|
|
36080
|
+
return Ct;
|
|
36077
36081
|
}
|
|
36078
36082
|
function K(S, M) {
|
|
36079
36083
|
return k(S, M, "months");
|
|
@@ -36140,8 +36144,8 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
36140
36144
|
return S < 0 ? Math.floor(S) : Math.ceil(S);
|
|
36141
36145
|
}
|
|
36142
36146
|
function et() {
|
|
36143
|
-
var S = this._milliseconds, M = this._days, Z = this._months, q = this._data, ce, Le, $e,
|
|
36144
|
-
return S >= 0 && M >= 0 && Z >= 0 || S <= 0 && M <= 0 && Z <= 0 || (S += Je(Ke(Z) + M) * 864e5, M = 0, Z = 0), q.milliseconds = S % 1e3, ce = nr(S / 1e3), q.seconds = ce % 60, Le = nr(ce / 60), q.minutes = Le % 60, $e = nr(Le / 60), q.hours = $e % 24, M += nr($e / 24), Mt = nr(Ye(M)), Z += Mt, M -= Je(Ke(Mt)),
|
|
36147
|
+
var S = this._milliseconds, M = this._days, Z = this._months, q = this._data, ce, Le, $e, Ct, Mt;
|
|
36148
|
+
return S >= 0 && M >= 0 && Z >= 0 || S <= 0 && M <= 0 && Z <= 0 || (S += Je(Ke(Z) + M) * 864e5, M = 0, Z = 0), q.milliseconds = S % 1e3, ce = nr(S / 1e3), q.seconds = ce % 60, Le = nr(ce / 60), q.minutes = Le % 60, $e = nr(Le / 60), q.hours = $e % 24, M += nr($e / 24), Mt = nr(Ye(M)), Z += Mt, M -= Je(Ke(Mt)), Ct = nr(Z / 12), Z %= 12, q.days = M, q.months = Z, q.years = Ct, this;
|
|
36145
36149
|
}
|
|
36146
36150
|
function Ye(S) {
|
|
36147
36151
|
return S * 4800 / 146097;
|
|
@@ -36222,7 +36226,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
36222
36226
|
return ce.relativeTime(M || 1, !!Z, S, q);
|
|
36223
36227
|
}
|
|
36224
36228
|
function Kn(S, M, Z, q) {
|
|
36225
|
-
var ce = Hr(S).abs(), Le = jr(ce.as("s")), $e = jr(ce.as("m")),
|
|
36229
|
+
var ce = Hr(S).abs(), Le = jr(ce.as("s")), $e = jr(ce.as("m")), Ct = jr(ce.as("h")), Mt = jr(ce.as("d")), qt = jr(ce.as("M")), Lr = jr(ce.as("w")), ci = jr(ce.as("y")), di = Le <= Z.ss && ["s", Le] || Le < Z.s && ["ss", Le] || $e <= 1 && ["m"] || $e < Z.m && ["mm", $e] || Ct <= 1 && ["h"] || Ct < Z.h && ["hh", Ct] || Mt <= 1 && ["d"] || Mt < Z.d && ["dd", Mt];
|
|
36226
36230
|
return Z.w != null && (di = di || Lr <= 1 && ["w"] || Lr < Z.w && ["ww", Lr]), di = di || qt <= 1 && ["M"] || qt < Z.M && ["MM", qt] || ci <= 1 && ["y"] || ["yy", ci], di[2] = M, di[3] = +S > 0, di[4] = q, ra.apply(null, di);
|
|
36227
36231
|
}
|
|
36228
36232
|
function Fs(S) {
|
|
@@ -36244,8 +36248,8 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
36244
36248
|
function Lo() {
|
|
36245
36249
|
if (!this.isValid())
|
|
36246
36250
|
return this.localeData().invalidDate();
|
|
36247
|
-
var S = cn(this._milliseconds) / 1e3, M = cn(this._days), Z = cn(this._months), q, ce, Le, $e,
|
|
36248
|
-
return
|
|
36251
|
+
var S = cn(this._milliseconds) / 1e3, M = cn(this._days), Z = cn(this._months), q, ce, Le, $e, Ct = this.asSeconds(), Mt, qt, Lr, ci;
|
|
36252
|
+
return Ct ? (q = nr(S / 60), ce = nr(q / 60), S %= 60, q %= 60, Le = nr(Z / 12), Z %= 12, $e = S ? S.toFixed(3).replace(/\.?0+$/, "") : "", Mt = Ct < 0 ? "-" : "", qt = ri(this._months) !== ri(Ct) ? "-" : "", Lr = ri(this._days) !== ri(Ct) ? "-" : "", ci = ri(this._milliseconds) !== ri(Ct) ? "-" : "", Mt + "P" + (Le ? qt + Le + "Y" : "") + (Z ? qt + Z + "M" : "") + (M ? Lr + M + "D" : "") + (ce || q || S ? "T" : "") + (ce ? ci + ce + "H" : "") + (q ? ci + q + "M" : "") + (S ? ci + $e + "S" : "")) : "P0D";
|
|
36249
36253
|
}
|
|
36250
36254
|
var er = Bi.prototype;
|
|
36251
36255
|
er.isValid = no, er.abs = Ee, er.add = Xe, er.subtract = qe, er.as = tt, er.asMilliseconds = nt, er.asSeconds = yt, er.asMinutes = wt, er.asHours = Nt, er.asDays = Ft, er.asWeeks = pr, er.asMonths = rr, er.asQuarters = ir, er.asYears = Ir, er.valueOf = Ar, er._bubble = et, er.clone = zr, er.get = _i, er.milliseconds = ti, er.seconds = Fo, er.minutes = Wr, er.hours = Tr, er.days = Jn, er.weeks = Ao, er.months = an, er.years = Io, er.humanize = ia, er.toISOString = Lo, er.toString = Lo, er.toJSON = Lo, er.locale = is, er.localeData = Zn, er.toIsoString = H(
|
|
@@ -36257,7 +36261,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
36257
36261
|
Z._d = new Date(Et(S));
|
|
36258
36262
|
});
|
|
36259
36263
|
//! moment.js
|
|
36260
|
-
return o.version = "2.30.1", n(fr), o.fn = dt, o.min = Qo, o.max = Jr, o.now = Dr, o.utc = y, o.unix = ea, o.months = K, o.isDate = p, o.locale = wi, o.invalid = D, o.duration = Hr, o.isMoment = R, o.weekdays = re, o.parseZone = ta, o.localeData = Qr, o.isDuration = Er, o.monthsShort = te, o.weekdaysMin = de, o.defineLocale = qr, o.updateLocale =
|
|
36264
|
+
return o.version = "2.30.1", n(fr), o.fn = dt, o.min = Qo, o.max = Jr, o.now = Dr, o.utc = y, o.unix = ea, o.months = K, o.isDate = p, o.locale = wi, o.invalid = D, o.duration = Hr, o.isMoment = R, o.weekdays = re, o.parseZone = ta, o.localeData = Qr, o.isDuration = Er, o.monthsShort = te, o.weekdaysMin = de, o.defineLocale = qr, o.updateLocale = Ci, o.locales = xo, o.weekdaysShort = ie, o.normalizeUnits = Be, o.relativeTimeRounding = Fs, o.relativeTimeThreshold = Is, o.calendarFormat = Xr, o.prototype = dt, o.HTML5_FMT = {
|
|
36261
36265
|
DATETIME_LOCAL: "YYYY-MM-DDTHH:mm",
|
|
36262
36266
|
// <input type="datetime-local" />
|
|
36263
36267
|
DATETIME_LOCAL_SECONDS: "YYYY-MM-DDTHH:mm:ss",
|
|
@@ -36529,7 +36533,7 @@ const columns$1 = [
|
|
|
36529
36533
|
});
|
|
36530
36534
|
let s = !1;
|
|
36531
36535
|
(o = this.poperSelectList) == null || o.forEach((l, c) => {
|
|
36532
|
-
l.id = String(l.id), l.selected = !1, l.text = l.text.replace("\r", ""), l.text.includes("<元素>") ? l.showText = l.text.split("<元素>")[0] : l.text.includes("<搜索>") ? l.showText = l.text.split("<搜索>")[0] : l.text.includes("__") && l.text.length - l.text.replace(/_/g, "").length == 2 ? (l.showText = l.text.split("__")[0], l.text = l.text.split("__")[0]) : l.showText = l.text, l.input && (s = !0), l.title && (this.isShowTitle = !0), n.length > 0 && n.filter((d) => l.id == d).length === 1 && (l.selected = !0, this.isAllowMultiSelect && !this.insCheckSyncUpdateList && this.poperSelectList.length >=
|
|
36536
|
+
l.id = String(l.id), l.selected = !1, l.text = l.text.replace("\r", ""), l.text.includes("<元素>") ? l.showText = l.text.split("<元素>")[0] : l.text.includes("<搜索>") ? l.showText = l.text.split("<搜索>")[0] : l.text.includes("__") && l.text.length - l.text.replace(/_/g, "").length == 2 ? (l.showText = l.text.split("__")[0], l.text = l.text.split("__")[0]) : l.showText = l.text, l.input && (s = !0), l.title && (this.isShowTitle = !0), n.length > 0 && n.filter((d) => l.id == d).length === 1 && (l.selected = !0, this.isAllowMultiSelect && !this.insCheckSyncUpdateList && this.poperSelectList.length >= 10 ? this.selectedList[n.indexOf(l.id)] = l : this.isAllowMultiSelect && this.insCheckSyncUpdateList && (this.selectedList[n.indexOf(l.id)] = l), this.mutexType = String(l.type), this.selectedIds.push(l.id), this.mutexSelectedIds.push(l.id), this.selectedId = l.id);
|
|
36533
36537
|
}), s && this.isAllowMultiSelect && (this.isShowTitle = !1), this.selectedList = this.selectedList.filter((l) => l), this.currentListNameText = t.name, this.poperSelectList && this.poperSelectList.length >= 20 && (this.isCanSearch = !0), this.currentList = Object.freeze([...this.poperSelectList]);
|
|
36534
36538
|
}
|
|
36535
36539
|
},
|
|
@@ -36862,7 +36866,7 @@ var _sfc_render$1g = function a() {
|
|
|
36862
36866
|
return r("a-radio", { key: o.id + Math.random(), style: { display: "block", whiteSpace: "break-spaces", marginRight: "0px" }, attrs: { value: o.id }, nativeOn: { "~click": function(n) {
|
|
36863
36867
|
return t.selectItemsChange(o);
|
|
36864
36868
|
} } }, [t._v(" " + t._s(o.showText) + " ")]);
|
|
36865
|
-
}), 1)]] : t._e()] : t._e(), t.selectedList.length > 0 && t.isAllowMultiSelect && !t.insCheckSyncUpdateList && !t.mutexSelect && t.isCanSearch ? r("transition-group", { staticClass: "list", attrs: { name: "drag", tag: "ul" } }, [r("li", { key: i18nHelper("04-001-009-EMR.3.3.515", null, "已选择"), staticStyle: { width: "270px", position: "absolute", top: "0px", "z-index": "111", background: "#fff" } }, [t._v(i18nHelper("04-001-009-EMR.3.3.515", null, "已选择") + t._s(t.currentListNameText))]), t._l(t.selectedList, function(o, n) {
|
|
36869
|
+
}), 1)]] : t._e()] : t._e(), t.selectedList.length > 0 && t.isAllowMultiSelect && !t.insCheckSyncUpdateList && !t.mutexSelect && t.isCanSearch ? r("transition-group", { staticClass: "list", attrs: { name: "drag", tag: "ul" } }, [r("li", { key: i18nHelper("04-001-009-EMR.3.3.515", null, "已选择"), staticStyle: { width: "270px", position: "absolute", top: "0px", "z-index": "111", background: "#fff" } }, [t._v(` ${i18nHelper("04-001-009-EMR.3.3.515", null, "已选择")}` + t._s(t.currentListNameText))]), t._l(t.selectedList, function(o, n) {
|
|
36866
36870
|
return [r("li", { key: o.id + Math.random(), staticClass: "drag-item selected", attrs: { draggable: "" }, on: { dragenter: function(s) {
|
|
36867
36871
|
return t.dragenter(s, n);
|
|
36868
36872
|
}, dragover: function(s) {
|
|
@@ -37937,7 +37941,7 @@ class DrawImageNode extends DrawCombineNode {
|
|
|
37937
37941
|
b(this, "_imageManager");
|
|
37938
37942
|
const f = HOEditorFactorys.instance().getFactory(r);
|
|
37939
37943
|
this._imageManager = ImageManager.getInstance(r);
|
|
37940
|
-
const p = f.vueController.getMainBounds(c, d);
|
|
37944
|
+
const p = f.vueController.getMainBounds(c, d, this.node.parentNode);
|
|
37941
37945
|
this.dWidth = Number(p.imageWidth), this.dHeight = Number(p.imageHeight), this._imagePath = l, this._markImagePath = u, this._imageY = -this.dHeight, this.insertImage(), this._drawResize = new DrawResize(r, this.node, this, this._imageY);
|
|
37942
37946
|
}
|
|
37943
37947
|
get markImagePath() {
|
|
@@ -40410,7 +40414,7 @@ function requireDom() {
|
|
|
40410
40414
|
if (Ue ? ae[G(ae, Ue)] = Se : ae[ae.length++] = Se, ee) {
|
|
40411
40415
|
Se.ownerElement = ee;
|
|
40412
40416
|
var Ge = ee.ownerDocument;
|
|
40413
|
-
Ge && (Ue &&
|
|
40417
|
+
Ge && (Ue && xe(Ge, ee, Ue), ne(Ge, ee, Se));
|
|
40414
40418
|
}
|
|
40415
40419
|
}
|
|
40416
40420
|
function se(ee, ae, Se) {
|
|
@@ -40420,7 +40424,7 @@ function requireDom() {
|
|
|
40420
40424
|
ae[Ue] = ae[++Ue];
|
|
40421
40425
|
if (ae.length = Ge, ee) {
|
|
40422
40426
|
var Dt = ee.ownerDocument;
|
|
40423
|
-
Dt && (
|
|
40427
|
+
Dt && (xe(Dt, ee, Se), Se.ownerElement = null);
|
|
40424
40428
|
}
|
|
40425
40429
|
} else
|
|
40426
40430
|
throw new j(H, new Error(ee.tagName + "@" + Se));
|
|
@@ -40469,9 +40473,9 @@ function requireDom() {
|
|
|
40469
40473
|
return null;
|
|
40470
40474
|
}
|
|
40471
40475
|
};
|
|
40472
|
-
function
|
|
40476
|
+
function Ce() {
|
|
40473
40477
|
}
|
|
40474
|
-
|
|
40478
|
+
Ce.prototype = {
|
|
40475
40479
|
/**
|
|
40476
40480
|
* The DOMImplementation.hasFeature() method returns a Boolean flag indicating if a given feature is supported.
|
|
40477
40481
|
* The different implementations fairly diverged in what kind of features were reported.
|
|
@@ -40658,7 +40662,7 @@ function requireDom() {
|
|
|
40658
40662
|
var Ue = Se.namespaceURI;
|
|
40659
40663
|
Ue === r.XMLNS && (ae._nsMap[Se.prefix ? Se.localName : ""] = Se.value);
|
|
40660
40664
|
}
|
|
40661
|
-
function
|
|
40665
|
+
function xe(ee, ae, Se, Ue) {
|
|
40662
40666
|
ee && ee._inc++;
|
|
40663
40667
|
var Ge = Se.namespaceURI;
|
|
40664
40668
|
Ge === r.XMLNS && delete ae._nsMap[Se.prefix ? Se.localName : ""];
|
|
@@ -40893,7 +40897,7 @@ function requireDom() {
|
|
|
40893
40897
|
return ae.ownerDocument = this, ae.appendData(ee), ae;
|
|
40894
40898
|
},
|
|
40895
40899
|
createProcessingInstruction: function(ee, ae) {
|
|
40896
|
-
var Se = new
|
|
40900
|
+
var Se = new xt();
|
|
40897
40901
|
return Se.ownerDocument = this, Se.tagName = Se.nodeName = Se.target = ee, Se.nodeValue = Se.data = ae, Se;
|
|
40898
40902
|
},
|
|
40899
40903
|
createAttribute: function(ee) {
|
|
@@ -41053,9 +41057,9 @@ function requireDom() {
|
|
|
41053
41057
|
function Tt() {
|
|
41054
41058
|
}
|
|
41055
41059
|
Tt.prototype.nodeName = "#document-fragment", Tt.prototype.nodeType = T, u(Tt, oe);
|
|
41056
|
-
function
|
|
41060
|
+
function xt() {
|
|
41057
41061
|
}
|
|
41058
|
-
|
|
41062
|
+
xt.prototype.nodeType = C, u(xt, oe);
|
|
41059
41063
|
function It() {
|
|
41060
41064
|
}
|
|
41061
41065
|
It.prototype.serializeToString = function(ee, ae, Se) {
|
|
@@ -41109,17 +41113,17 @@ function requireDom() {
|
|
|
41109
41113
|
}
|
|
41110
41114
|
if (!Et)
|
|
41111
41115
|
for (var Ot = Ge.length - 1; Ot >= 0; Ot--) {
|
|
41112
|
-
var
|
|
41113
|
-
if (
|
|
41114
|
-
Et =
|
|
41116
|
+
var Cr = Ge[Ot];
|
|
41117
|
+
if (Cr.prefix === "" && Cr.namespace === ee.namespaceURI) {
|
|
41118
|
+
Et = Cr.namespace;
|
|
41115
41119
|
break;
|
|
41116
41120
|
}
|
|
41117
41121
|
}
|
|
41118
41122
|
if (Et !== ee.namespaceURI)
|
|
41119
41123
|
for (var Ot = Ge.length - 1; Ot >= 0; Ot--) {
|
|
41120
|
-
var
|
|
41121
|
-
if (
|
|
41122
|
-
|
|
41124
|
+
var Cr = Ge[Ot];
|
|
41125
|
+
if (Cr.namespace === ee.namespaceURI) {
|
|
41126
|
+
Cr.prefix && (nr = Cr.prefix + ":" + Jt);
|
|
41123
41127
|
break;
|
|
41124
41128
|
}
|
|
41125
41129
|
}
|
|
@@ -41274,7 +41278,7 @@ function requireDom() {
|
|
|
41274
41278
|
}
|
|
41275
41279
|
} catch {
|
|
41276
41280
|
}
|
|
41277
|
-
return dom.DocumentType = bt, dom.DOMException = j, dom.DOMImplementation =
|
|
41281
|
+
return dom.DocumentType = bt, dom.DOMException = j, dom.DOMImplementation = Ce, dom.Element = Be, dom.Node = oe, dom.NodeList = U, dom.XMLSerializer = It, dom;
|
|
41278
41282
|
}
|
|
41279
41283
|
var domParser = {}, entities = {}, hasRequiredEntities;
|
|
41280
41284
|
function requireEntities() {
|
|
@@ -43459,17 +43463,17 @@ function requireSax() {
|
|
|
43459
43463
|
}
|
|
43460
43464
|
}
|
|
43461
43465
|
function G(Be, Qe) {
|
|
43462
|
-
for (; Be >= se && (Qe =
|
|
43466
|
+
for (; Be >= se && (Qe = Ce.exec(L)); )
|
|
43463
43467
|
J = Qe.index, se = J + Qe[0].length, oe.lineNumber++;
|
|
43464
43468
|
oe.columnNumber = Be - J + 1;
|
|
43465
43469
|
}
|
|
43466
|
-
for (var J = 0, se = 0,
|
|
43470
|
+
for (var J = 0, se = 0, Ce = /.*(?:\r\n?|\n)|.*$/g, oe = j.locator, me = [{ currentNSMap: H }], ue = {}, Q = 0; ; ) {
|
|
43467
43471
|
try {
|
|
43468
43472
|
var ne = L.indexOf("<", Q);
|
|
43469
43473
|
if (ne < 0) {
|
|
43470
43474
|
if (!L.substr(Q).match(/^\s*$/)) {
|
|
43471
|
-
var
|
|
43472
|
-
|
|
43475
|
+
var xe = j.doc, Ie = xe.createTextNode(L.substr(Q));
|
|
43476
|
+
xe.appendChild(Ie), j.currentElement = Ie;
|
|
43473
43477
|
}
|
|
43474
43478
|
return;
|
|
43475
43479
|
}
|
|
@@ -43531,8 +43535,8 @@ function requireSax() {
|
|
|
43531
43535
|
);
|
|
43532
43536
|
}
|
|
43533
43537
|
for (var Y, G, J = ++H, se = n; ; ) {
|
|
43534
|
-
var
|
|
43535
|
-
switch (
|
|
43538
|
+
var Ce = L.charAt(J);
|
|
43539
|
+
switch (Ce) {
|
|
43536
43540
|
case "=":
|
|
43537
43541
|
if (se === s)
|
|
43538
43542
|
Y = L.slice(H, J), se = c;
|
|
@@ -43544,12 +43548,12 @@ function requireSax() {
|
|
|
43544
43548
|
case "'":
|
|
43545
43549
|
case '"':
|
|
43546
43550
|
if (se === c || se === s)
|
|
43547
|
-
if (se === s && (z.warning('attribute value must after "="'), Y = L.slice(H, J)), H = J + 1, J = L.indexOf(
|
|
43551
|
+
if (se === s && (z.warning('attribute value must after "="'), Y = L.slice(H, J)), H = J + 1, J = L.indexOf(Ce, H), J > 0)
|
|
43548
43552
|
G = L.slice(H, J), X(Y, G, H - 1), se = u;
|
|
43549
43553
|
else
|
|
43550
|
-
throw new Error("attribute value no end '" +
|
|
43554
|
+
throw new Error("attribute value no end '" + Ce + "' match");
|
|
43551
43555
|
else if (se == d)
|
|
43552
|
-
G = L.slice(H, J), X(Y, G, H), z.warning('attribute "' + Y + '" missed start quot(' +
|
|
43556
|
+
G = L.slice(H, J), X(Y, G, H), z.warning('attribute "' + Y + '" missed start quot(' + Ce + ")!!"), H = J + 1, se = u;
|
|
43553
43557
|
else
|
|
43554
43558
|
throw new Error('attribute value must after "="');
|
|
43555
43559
|
break;
|
|
@@ -43596,9 +43600,9 @@ function requireSax() {
|
|
|
43596
43600
|
return J;
|
|
43597
43601
|
/*xml space '\x20' | #x9 | #xD | #xA; */
|
|
43598
43602
|
case "":
|
|
43599
|
-
|
|
43603
|
+
Ce = " ";
|
|
43600
43604
|
default:
|
|
43601
|
-
if (
|
|
43605
|
+
if (Ce <= " ")
|
|
43602
43606
|
switch (se) {
|
|
43603
43607
|
case n:
|
|
43604
43608
|
B.setTagName(L.slice(H, J)), se = f;
|
|
@@ -43637,16 +43641,16 @@ function requireSax() {
|
|
|
43637
43641
|
}
|
|
43638
43642
|
}
|
|
43639
43643
|
function C(L, H, B) {
|
|
43640
|
-
for (var j = L.tagName, U = null,
|
|
43641
|
-
var z = L[
|
|
43644
|
+
for (var j = L.tagName, U = null, Ce = L.length; Ce--; ) {
|
|
43645
|
+
var z = L[Ce], X = z.qName, Y = z.value, oe = X.indexOf(":");
|
|
43642
43646
|
if (oe > 0)
|
|
43643
43647
|
var G = z.prefix = X.slice(0, oe), J = X.slice(oe + 1), se = G === "xmlns" && J;
|
|
43644
43648
|
else
|
|
43645
43649
|
J = X, G = null, se = X === "xmlns" && "";
|
|
43646
43650
|
z.localName = J, se !== !1 && (U == null && (U = {}, E(B, B = {})), B[se] = U[se] = Y, z.uri = a.XMLNS, H.startPrefixMapping(se, Y));
|
|
43647
43651
|
}
|
|
43648
|
-
for (var
|
|
43649
|
-
z = L[
|
|
43652
|
+
for (var Ce = L.length; Ce--; ) {
|
|
43653
|
+
z = L[Ce];
|
|
43650
43654
|
var G = z.prefix;
|
|
43651
43655
|
G && (G === "xml" && (z.uri = a.XML), G !== "xmlns" && (z.uri = B[G || ""]));
|
|
43652
43656
|
}
|
|
@@ -43694,8 +43698,8 @@ function requireSax() {
|
|
|
43694
43698
|
if (Y > 1 && /!doctype/i.test(X[0][0])) {
|
|
43695
43699
|
var G = X[1][0], J = !1, se = !1;
|
|
43696
43700
|
Y > 3 && (/^public$/i.test(X[2][0]) ? (J = X[3][0], se = Y > 4 && X[4][0]) : /^system$/i.test(X[2][0]) && (se = X[3][0]));
|
|
43697
|
-
var
|
|
43698
|
-
return B.startDTD(G, J, se), B.endDTD(),
|
|
43701
|
+
var Ce = X[Y - 1];
|
|
43702
|
+
return B.startDTD(G, J, se), B.endDTD(), Ce.index + Ce[0].length;
|
|
43699
43703
|
}
|
|
43700
43704
|
}
|
|
43701
43705
|
return -1;
|
|
@@ -43978,8 +43982,8 @@ function requireX2js() {
|
|
|
43978
43982
|
function g(z) {
|
|
43979
43983
|
var X = 60, Y = z.split(/[-T:+Z]/g), G = new Date(Y[0], Y[1] - 1, Y[2]), J = Y[5].split(".");
|
|
43980
43984
|
if (G.setHours(Y[3], Y[4], J[0]), J.length > 1 && G.setMilliseconds(J[1]), Y[6] && Y[7]) {
|
|
43981
|
-
var se = Y[6] * X + Number(Y[7]),
|
|
43982
|
-
se = 0 + (
|
|
43985
|
+
var se = Y[6] * X + Number(Y[7]), Ce = /\d\d-\d\d:\d\d$/.test(z) ? "-" : "+";
|
|
43986
|
+
se = 0 + (Ce === "-" ? -1 * se : se), G.setMinutes(G.getMinutes() - se - G.getTimezoneOffset());
|
|
43983
43987
|
} else z.indexOf("Z", z.length - 1) !== -1 && (G = new Date(Date.UTC(G.getFullYear(), G.getMonth(), G.getDate(), G.getHours(), G.getMinutes(), G.getSeconds(), G.getMilliseconds())));
|
|
43984
43988
|
return G;
|
|
43985
43989
|
}
|
|
@@ -44012,8 +44016,8 @@ function requireX2js() {
|
|
|
44012
44016
|
var Y = {};
|
|
44013
44017
|
Y.__cnt = 0;
|
|
44014
44018
|
for (var G = z.childNodes, J = 0; J < G.length; J++) {
|
|
44015
|
-
var se = G.item(J),
|
|
44016
|
-
se.nodeType !== c.COMMENT_NODE && (Y.__cnt++, Y[
|
|
44019
|
+
var se = G.item(J), Ce = d(se);
|
|
44020
|
+
se.nodeType !== c.COMMENT_NODE && (Y.__cnt++, Y[Ce] == null ? (Y[Ce] = C(se, X + "." + Ce), m(Y, Ce, X + "." + Ce)) : (Y[Ce] instanceof Array || (Y[Ce] = [Y[Ce]], m(Y, Ce, X + "." + Ce)), Y[Ce][Y[Ce].length] = C(se, X + "." + Ce)));
|
|
44017
44021
|
}
|
|
44018
44022
|
for (var oe = 0; oe < z.attributes.length; oe++) {
|
|
44019
44023
|
var me = z.attributes.item(oe);
|
|
@@ -44024,8 +44028,8 @@ function requireX2js() {
|
|
|
44024
44028
|
}
|
|
44025
44029
|
Y[o.attributePrefix + me.name] = ue;
|
|
44026
44030
|
}
|
|
44027
|
-
var
|
|
44028
|
-
return
|
|
44031
|
+
var xe = u(z);
|
|
44032
|
+
return xe && (Y.__cnt++, Y.__prefix = xe), Y["#text"] && (Y.__text = Y["#text"], Y.__text instanceof Array && (Y.__text = Y.__text.join(`
|
|
44029
44033
|
`)), o.escapeMode && (Y.__text = p(Y.__text)), o.stripWhitespaces && (Y.__text = Y.__text.trim()), delete Y["#text"], o.arrayAccessForm === "property" && delete Y["#text_asArray"], Y.__text = y(Y.__text, "#text", X + ".#text")), Y.hasOwnProperty("#cdata-section") && (Y.__cdata = Y["#cdata-section"], delete Y["#cdata-section"], o.arrayAccessForm === "property" && delete Y["#cdata-section_asArray"]), Y.__cnt === 1 && Y.__text && !o.keepText ? Y = Y.__text : Y.__cnt === 0 && o.emptyNodeForm === "text" ? Y = "" : Y.__cnt > 1 && Y.__text !== void 0 && o.skipEmptyTextNodesForObj && (o.stripWhitespaces && Y.__text === "" || Y.__text.trim() === "") && delete Y.__text, delete Y.__cnt, !o.keepCData && !Y.hasOwnProperty("__text") && Y.hasOwnProperty("__cdata") && Object.keys(Y).length === 1 ? Y.__cdata ? Y.__cdata : "" : (o.enableToStringFunc && (Y.__text || Y.__cdata) && (Y.toString = function() {
|
|
44030
44034
|
return (this.__text ? this.__text : "") + (this.__cdata ? this.__cdata : "");
|
|
44031
44035
|
}), Y);
|
|
@@ -44037,8 +44041,8 @@ function requireX2js() {
|
|
|
44037
44041
|
var J = "<" + (z && z.__prefix ? z.__prefix + ":" : "") + X;
|
|
44038
44042
|
if (Y)
|
|
44039
44043
|
for (var se = 0; se < Y.length; se++) {
|
|
44040
|
-
var
|
|
44041
|
-
o.escapeMode && (oe = f(oe)), J += " " +
|
|
44044
|
+
var Ce = Y[se], oe = z[Ce];
|
|
44045
|
+
o.escapeMode && (oe = f(oe)), J += " " + Ce.substr(o.attributePrefix.length) + "=", o.useDoubleQuotes ? J += '"' + oe + '"' : J += "'" + oe + "'";
|
|
44042
44046
|
}
|
|
44043
44047
|
return G ? J += " />" : J += ">", J;
|
|
44044
44048
|
}
|
|
@@ -47654,13 +47658,13 @@ class VueController {
|
|
|
47654
47658
|
insertImage(t, r, o, n) {
|
|
47655
47659
|
const s = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID);
|
|
47656
47660
|
if (s.editController.canIsEdit(s)) {
|
|
47657
|
-
const l = s.docTree.curDomRange, c = l.normalize().startPath, d = l.normalize().endPath, u = new NodeChangingEvent(DocAction.daInsert, c, d, OperType.insertImage);
|
|
47658
|
-
if (s.docTree.changing(
|
|
47661
|
+
const l = s.docTree.curDomRange, c = l.normalize().startPath, d = l.normalize().endPath, [u, f, p, m] = l.inSameTableCell(), g = new NodeChangingEvent(DocAction.daInsert, c, d, OperType.insertImage);
|
|
47662
|
+
if (s.docTree.changing(g))
|
|
47659
47663
|
if (n && n.rotate !== void 0) {
|
|
47660
|
-
const
|
|
47661
|
-
s.docController.insertImage(l,
|
|
47664
|
+
const y = this.getMainBounds(r, o, n.scale, p), w = (v) => {
|
|
47665
|
+
s.docController.insertImage(l, v, y.imageWidth, y.imageHeight, n.isFormula);
|
|
47662
47666
|
};
|
|
47663
|
-
scaleRotateImage(t,
|
|
47667
|
+
scaleRotateImage(t, y.imageWidth, y.imageHeight, n.rotate, w);
|
|
47664
47668
|
} else
|
|
47665
47669
|
s.docController.insertImage(l, t, r, o, n);
|
|
47666
47670
|
}
|
|
@@ -51768,8 +51772,8 @@ class VueController {
|
|
|
51768
51772
|
withFormula: !1
|
|
51769
51773
|
}, T = JSON.parse(JSON.stringify(E)), I = new Array();
|
|
51770
51774
|
let A = v.rowInfos.length - 1, R = v.colInfos.length - 1;
|
|
51771
|
-
for (let
|
|
51772
|
-
const oe = v.rowInfos[
|
|
51775
|
+
for (let Ce = 0; Ce <= A; Ce++) {
|
|
51776
|
+
const oe = v.rowInfos[Ce], ue = {
|
|
51773
51777
|
customProperties: { customProperty: Array(oe.rowProperty.customProperties) },
|
|
51774
51778
|
//dataSource: rowInfo.rowProperty.dataSource,
|
|
51775
51779
|
forcedPageBreak: oe.rowProperty.forcedPageBreak,
|
|
@@ -51784,8 +51788,8 @@ class VueController {
|
|
|
51784
51788
|
newLineWithCellContent: oe.rowProperty.newLineWithCellContent,
|
|
51785
51789
|
withFormula: oe.rowProperty.withFormula
|
|
51786
51790
|
}, Q = JSON.parse(JSON.stringify(ue)), ne = Object.keys(E);
|
|
51787
|
-
for (let
|
|
51788
|
-
ne[
|
|
51791
|
+
for (let xe = 0; xe < ne.length; xe++)
|
|
51792
|
+
ne[xe] === "customProperties" ? oe.rowProperty.customProperties.length === 0 && delete Q.customProperties : Q[ne[xe]] === T[ne[xe]] && delete Q[ne[xe]];
|
|
51789
51793
|
I.push({
|
|
51790
51794
|
rowHeight: oe.rowHeight,
|
|
51791
51795
|
//heightFixed: rowInfo.heightFixed,
|
|
@@ -51805,8 +51809,8 @@ class VueController {
|
|
|
51805
51809
|
isSignLock: !1,
|
|
51806
51810
|
isLock: !1
|
|
51807
51811
|
}, H = JSON.parse(JSON.stringify(L)), B = new Array();
|
|
51808
|
-
for (let
|
|
51809
|
-
const oe = v.colInfos[
|
|
51812
|
+
for (let Ce = 0; Ce <= R; Ce++) {
|
|
51813
|
+
const oe = v.colInfos[Ce], me = { customProperty: Array(oe.colProperty.customProperties) }, ue = {
|
|
51810
51814
|
editorProperty: EditorProperty[oe.colProperty.editorProperty],
|
|
51811
51815
|
align: VAlign[oe.colProperty.align],
|
|
51812
51816
|
width: oe.colProperty.width ? oe.colProperty.width : 0,
|
|
@@ -51819,8 +51823,8 @@ class VueController {
|
|
|
51819
51823
|
isLock: oe.colProperty.isLock,
|
|
51820
51824
|
customProperties: me
|
|
51821
51825
|
}, Q = JSON.parse(JSON.stringify(ue)), ne = Object.keys(L);
|
|
51822
|
-
for (let
|
|
51823
|
-
Q[ne[
|
|
51826
|
+
for (let xe = 0; xe < ne.length; xe++)
|
|
51827
|
+
Q[ne[xe]] === H[ne[xe]] && delete Q[ne[xe]];
|
|
51824
51828
|
B.push({
|
|
51825
51829
|
colWidth: oe.colWidth,
|
|
51826
51830
|
widthFixed: oe.widthFixed,
|
|
@@ -51849,10 +51853,10 @@ class VueController {
|
|
|
51849
51853
|
dateTimeProperty: "",
|
|
51850
51854
|
formula: ""
|
|
51851
51855
|
}, U = JSON.parse(JSON.stringify(j)), z = new Array(), X = new Array();
|
|
51852
|
-
for (let
|
|
51853
|
-
const oe = v.rows[
|
|
51856
|
+
for (let Ce = 0; Ce <= A; Ce++) {
|
|
51857
|
+
const oe = v.rows[Ce], me = {
|
|
51854
51858
|
nodeType: "ntRow",
|
|
51855
|
-
rowNo:
|
|
51859
|
+
rowNo: Ce,
|
|
51856
51860
|
childNodes: { CellNode: Array() }
|
|
51857
51861
|
}, ue = {
|
|
51858
51862
|
base: {},
|
|
@@ -51862,14 +51866,14 @@ class VueController {
|
|
|
51862
51866
|
for (let Q = 0; Q <= R; Q++) {
|
|
51863
51867
|
const ne = oe[Q];
|
|
51864
51868
|
if (ne) {
|
|
51865
|
-
const
|
|
51866
|
-
ue.base = JSON.parse(JSON.stringify(
|
|
51869
|
+
const xe = c(ne, U);
|
|
51870
|
+
ue.base = JSON.parse(JSON.stringify(xe)), xe.rowNo = Ce, xe.colNo = Q, me.childNodes.CellNode.push(xe), me.rowNo = Ce;
|
|
51867
51871
|
} else
|
|
51868
51872
|
me.childNodes.CellNode.push({});
|
|
51869
51873
|
}
|
|
51870
51874
|
}
|
|
51871
|
-
for (let
|
|
51872
|
-
const oe = z[
|
|
51875
|
+
for (let Ce = 0; Ce < z.length; Ce++) {
|
|
51876
|
+
const oe = z[Ce].childNodes.CellNode;
|
|
51873
51877
|
for (let me = 0; me < oe.length; me++)
|
|
51874
51878
|
oe[me].rowSpan > 1 && (oe[me].rowSpan = Math.min(oe[me].rowSpan, oe.length - oe[me].rowNo)), oe[me].colSpan > 1 && (oe[me].colSpan = Math.min(oe[me].colSpan, oe.length - oe[me].colNo));
|
|
51875
51879
|
}
|
|
@@ -52109,36 +52113,33 @@ class VueController {
|
|
|
52109
52113
|
n.docController.parseNodeData([f]);
|
|
52110
52114
|
}
|
|
52111
52115
|
}
|
|
52112
|
-
getMainBounds(t, r, o) {
|
|
52113
|
-
let
|
|
52116
|
+
getMainBounds(t, r, o, n) {
|
|
52117
|
+
let s = {
|
|
52114
52118
|
width: 0,
|
|
52115
52119
|
height: 0,
|
|
52116
52120
|
imageWidth: 0,
|
|
52117
52121
|
imageHeight: 0
|
|
52118
52122
|
};
|
|
52119
|
-
const
|
|
52120
|
-
let
|
|
52121
|
-
|
|
52122
|
-
|
|
52123
|
-
|
|
52124
|
-
|
|
52125
|
-
|
|
52126
|
-
|
|
52127
|
-
|
|
52128
|
-
|
|
52129
|
-
|
|
52130
|
-
|
|
52131
|
-
|
|
52132
|
-
if (n = {
|
|
52133
|
-
width: Math.min(c, l.docWidth),
|
|
52134
|
-
height: Math.min(l.dHeight, d),
|
|
52123
|
+
const l = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID), c = l.drawTree.drawPages[0].drawMainDoc;
|
|
52124
|
+
let d = l.pageProperty.widthPixes - l.pageProperty.leftMarginPixes - l.pageProperty.rightMarginPixes, u = l.pageProperty.heightPixes - l.pageProperty.topMarginPixes - l.pageProperty.bottomMarginPixes - 30;
|
|
52125
|
+
if (n && n instanceof CellNode) {
|
|
52126
|
+
const [f, p] = n.table.getCellInfos(n), [m, g, y] = n.table.getMainCell(f, p);
|
|
52127
|
+
d = m.drawCell.dWidth - 10;
|
|
52128
|
+
let w = m.getNewCellHeight() - 10;
|
|
52129
|
+
u > w && (u = w);
|
|
52130
|
+
const v = m.table.colInfos[m.row.indexOf(m)];
|
|
52131
|
+
v.colProperty.isSpecifyWidth && (d = v.colWidth - 10);
|
|
52132
|
+
}
|
|
52133
|
+
if (s = {
|
|
52134
|
+
width: Math.min(d, c.docWidth),
|
|
52135
|
+
height: Math.min(c.dHeight, u),
|
|
52135
52136
|
imageWidth: 0,
|
|
52136
52137
|
imageHeight: 0
|
|
52137
52138
|
}, t && r) {
|
|
52138
|
-
let
|
|
52139
|
-
t >
|
|
52139
|
+
let f = t / s.width, p = r / s.height;
|
|
52140
|
+
t > s.width && r <= s.height ? (s.imageWidth = s.width, s.imageHeight = Math.floor(r / f)) : t <= s.width && r > s.height ? (s.imageHeight = s.height, s.imageWidth = Math.floor(t / p)) : t > s.width && r > s.height ? f > p ? (s.imageWidth = Math.floor(t / f), s.imageHeight = Math.floor(r / f)) : (s.imageHeight = Math.floor(r / p), s.imageWidth = Math.floor(t / p)) : t <= s.width && r <= s.height && (s.imageHeight = r, s.imageWidth = t), o && o <= 1 && (s.imageWidth = s.imageWidth * o, s.imageHeight = s.imageHeight * o);
|
|
52140
52141
|
}
|
|
52141
|
-
return
|
|
52142
|
+
return s;
|
|
52142
52143
|
}
|
|
52143
52144
|
pageAllEmptyElements(t) {
|
|
52144
52145
|
if (t < 0) return !1;
|
|
@@ -54369,10 +54370,10 @@ var flm = /* @__PURE__ */ hMap(flt, 9, 0), flrm = /* @__PURE__ */ hMap(flt, 9, 1
|
|
|
54369
54370
|
}, inflt = function(a, t, r) {
|
|
54370
54371
|
var o = a.length, n = !t || r, s = !r || r.i;
|
|
54371
54372
|
r || (r = {}), t || (t = new u8(o * 3));
|
|
54372
|
-
var l = function(
|
|
54373
|
+
var l = function(xe) {
|
|
54373
54374
|
var Ie = t.length;
|
|
54374
|
-
if (
|
|
54375
|
-
var ve = new u8(Math.max(Ie * 2,
|
|
54375
|
+
if (xe > Ie) {
|
|
54376
|
+
var ve = new u8(Math.max(Ie * 2, xe));
|
|
54376
54377
|
ve.set(t), t = ve;
|
|
54377
54378
|
}
|
|
54378
54379
|
}, c = r.f || 0, d = r.p || 0, u = r.b || 0, f = r.l, p = r.d, m = r.m, g = r.n, y = o * 8;
|
|
@@ -54423,20 +54424,20 @@ var flm = /* @__PURE__ */ hMap(flt, 9, 0), flrm = /* @__PURE__ */ hMap(flt, 9, 1
|
|
|
54423
54424
|
}
|
|
54424
54425
|
n && l(u + 131072);
|
|
54425
54426
|
for (var G = (1 << m) - 1, J = (1 << g) - 1, se = m + g + 18; s || d + se < y; ) {
|
|
54426
|
-
var U = f[bits16(a, d) & G],
|
|
54427
|
+
var U = f[bits16(a, d) & G], Ce = U >>> 4;
|
|
54427
54428
|
if (d += U & 15, d > y)
|
|
54428
54429
|
throw "unexpected EOF";
|
|
54429
54430
|
if (!U)
|
|
54430
54431
|
throw "invalid length/literal";
|
|
54431
|
-
if (
|
|
54432
|
-
t[u++] =
|
|
54433
|
-
else if (
|
|
54432
|
+
if (Ce < 256)
|
|
54433
|
+
t[u++] = Ce;
|
|
54434
|
+
else if (Ce == 256) {
|
|
54434
54435
|
f = null;
|
|
54435
54436
|
break;
|
|
54436
54437
|
} else {
|
|
54437
|
-
var oe =
|
|
54438
|
-
if (
|
|
54439
|
-
var R =
|
|
54438
|
+
var oe = Ce - 254;
|
|
54439
|
+
if (Ce > 264) {
|
|
54440
|
+
var R = Ce - 257, me = fleb[R];
|
|
54440
54441
|
oe = bits(a, d, (1 << me) - 1) + fl[R], d += me;
|
|
54441
54442
|
}
|
|
54442
54443
|
var ue = p[bits16(a, d) & J], Q = ue >>> 4;
|
|
@@ -54557,7 +54558,7 @@ var flm = /* @__PURE__ */ hMap(flt, 9, 0), flrm = /* @__PURE__ */ hMap(flt, 9, 1
|
|
|
54557
54558
|
var Y, G, J, se;
|
|
54558
54559
|
if (wbits(t, f, 1 + (X < z)), f += 2, X < z) {
|
|
54559
54560
|
Y = hMap(m, g, 0), G = m, J = hMap(w, v, 0), se = w;
|
|
54560
|
-
var
|
|
54561
|
+
var Ce = hMap(H, B, 0);
|
|
54561
54562
|
wbits(t, f, D - 257), wbits(t, f + 5, I - 1), wbits(t, f + 10, j - 4), f += 14;
|
|
54562
54563
|
for (var R = 0; R < j; ++R)
|
|
54563
54564
|
wbits(t, f + 3 * R, H[clim[R]]);
|
|
@@ -54565,7 +54566,7 @@ var flm = /* @__PURE__ */ hMap(flt, 9, 0), flrm = /* @__PURE__ */ hMap(flt, 9, 1
|
|
|
54565
54566
|
for (var oe = [_, T], me = 0; me < 2; ++me)
|
|
54566
54567
|
for (var ue = oe[me], R = 0; R < ue.length; ++R) {
|
|
54567
54568
|
var Q = ue[R] & 31;
|
|
54568
|
-
wbits(t, f,
|
|
54569
|
+
wbits(t, f, Ce[Q]), f += H[Q], Q > 15 && (wbits(t, f, ue[R] >>> 5 & 127), f += ue[R] >>> 12);
|
|
54569
54570
|
}
|
|
54570
54571
|
} else
|
|
54571
54572
|
Y = flm, G = flt, J = fdm, se = fdt;
|
|
@@ -54599,16 +54600,16 @@ var flm = /* @__PURE__ */ hMap(flt, 9, 0), flrm = /* @__PURE__ */ hMap(flt, 9, 1
|
|
|
54599
54600
|
for (var G = 0; G < 30; ++G)
|
|
54600
54601
|
A[G] = 0;
|
|
54601
54602
|
}
|
|
54602
|
-
var J = 2, se = 0,
|
|
54603
|
+
var J = 2, se = 0, Ce = y, oe = z - X & 32767;
|
|
54603
54604
|
if (Y > 2 && U == E(f - oe))
|
|
54604
|
-
for (var me = Math.min(g, Y) - 1, ue = Math.min(32767, f), Q = Math.min(258, Y); oe <= ue && --
|
|
54605
|
+
for (var me = Math.min(g, Y) - 1, ue = Math.min(32767, f), Q = Math.min(258, Y); oe <= ue && --Ce && z != X; ) {
|
|
54605
54606
|
if (a[f + J] == a[f + J - oe]) {
|
|
54606
54607
|
for (var ne = 0; ne < Q && a[f + ne] == a[f + ne - oe]; ++ne)
|
|
54607
54608
|
;
|
|
54608
54609
|
if (ne > J) {
|
|
54609
54610
|
if (J = ne, se = oe, ne > me)
|
|
54610
54611
|
break;
|
|
54611
|
-
for (var
|
|
54612
|
+
for (var xe = Math.min(oe, ne - 2), Ie = 0, G = 0; G < xe; ++G) {
|
|
54612
54613
|
var ve = f - oe + G + 32768 & 32767, _e = v[ve], pe = ve - _e + 32768 & 32767;
|
|
54613
54614
|
pe > Ie && (Ie = pe, X = ve);
|
|
54614
54615
|
}
|
|
@@ -55386,7 +55387,7 @@ function jsPDF(a) {
|
|
|
55386
55387
|
var J, se = g.__private__.convertDateToPDFDate = function(W) {
|
|
55387
55388
|
var V = "", ye = W.getTimezoneOffset(), Fe = ye < 0 ? "+" : "-", We = Math.floor(Math.abs(ye / 60)), Ze = Math.abs(ye % 60), lt = [Fe, ue(We), "'", ue(Ze), "'"].join("");
|
|
55388
55389
|
return V = ["D:", W.getFullYear(), ue(W.getMonth() + 1), ue(W.getDate()), ue(W.getHours()), ue(W.getMinutes()), ue(W.getSeconds()), lt].join(""), V;
|
|
55389
|
-
},
|
|
55390
|
+
}, Ce = g.__private__.convertPDFDateToDate = function(W) {
|
|
55390
55391
|
var V = parseInt(W.substr(2, 4), 10), ye = parseInt(W.substr(6, 2), 10) - 1, Fe = parseInt(W.substr(8, 2), 10), We = parseInt(W.substr(10, 2), 10), Ze = parseInt(W.substr(12, 2), 10), lt = parseInt(W.substr(14, 2), 10), ft = new Date(V, ye, Fe, We, Ze, lt, 0);
|
|
55391
55392
|
return ft;
|
|
55392
55393
|
}, oe = g.__private__.setCreationDate = function(W) {
|
|
@@ -55400,7 +55401,7 @@ function jsPDF(a) {
|
|
|
55400
55401
|
return J = V, J;
|
|
55401
55402
|
}, me = g.__private__.getCreationDate = function(W) {
|
|
55402
55403
|
var V = J;
|
|
55403
|
-
return W === "jsDate" && (V =
|
|
55404
|
+
return W === "jsDate" && (V = Ce(J)), V;
|
|
55404
55405
|
};
|
|
55405
55406
|
g.setCreationDate = function(W) {
|
|
55406
55407
|
return oe(W), this;
|
|
@@ -55411,8 +55412,8 @@ function jsPDF(a) {
|
|
|
55411
55412
|
return ("0" + parseInt(W)).slice(-2);
|
|
55412
55413
|
}, Q = g.__private__.padd2Hex = function(W) {
|
|
55413
55414
|
return W = W.toString(), ("00" + W).substr(W.length);
|
|
55414
|
-
}, ne = 0,
|
|
55415
|
-
ne = 0, ve = 0, Ie = [],
|
|
55415
|
+
}, ne = 0, xe = [], Ie = [], ve = 0, _e = [], pe = [], Pe, De = !1, Ve = Ie, Te = function() {
|
|
55416
|
+
ne = 0, ve = 0, Ie = [], xe = [], _e = [], Zt = jt(), lr = jt();
|
|
55416
55417
|
};
|
|
55417
55418
|
g.__private__.setCustomOutputDestination = function(W) {
|
|
55418
55419
|
De = !0, Ve = W;
|
|
@@ -55503,7 +55504,7 @@ function jsPDF(a) {
|
|
|
55503
55504
|
throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");
|
|
55504
55505
|
return _t[W] = V;
|
|
55505
55506
|
};
|
|
55506
|
-
var pt = {}, Tt = {},
|
|
55507
|
+
var pt = {}, Tt = {}, xt, It = [], St = {}, Qt = {}, At = {}, or = {}, wr = null, kt, Gt = 0, ee = [], ae = new PubSub(g), Se = a.hotfixes || [], Ue = {}, Ge = {}, Dt = [], Ut, Jt, nr, Et = function() {
|
|
55507
55508
|
pt = {}, Tt = {}, It = [], St = {}, Qt = {}, At = {}, or = {}, wr = null, Gt = 0, ee = [], ae = null, Se = [], Ue = {}, Ge = {}, Dt = [], Ut = 0, Jt = 0, nr = {}, this.events.publish("destroy"), this.vFS && (Object.keys(this.vFS).forEach((W) => {
|
|
55508
55509
|
delete this.vFS[W];
|
|
55509
55510
|
}), this.vFS = {}), Ie = [], Ve = [], pe = [], Object.keys(this).forEach((W) => {
|
|
@@ -55638,9 +55639,9 @@ function jsPDF(a) {
|
|
|
55638
55639
|
return new Pt(ft, mt, Bt, Ht, Kt, $t);
|
|
55639
55640
|
}, Pt.prototype.applyToPoint = function(W) {
|
|
55640
55641
|
var V = W.x * this.sx + W.y * this.shx + this.tx, ye = W.x * this.shy + W.y * this.sy + this.ty;
|
|
55641
|
-
return new
|
|
55642
|
+
return new xo(V, ye);
|
|
55642
55643
|
}, Pt.prototype.applyToRectangle = function(W) {
|
|
55643
|
-
var V = this.applyToPoint(W), ye = this.applyToPoint(new
|
|
55644
|
+
var V = this.applyToPoint(W), ye = this.applyToPoint(new xo(W.x + W.w, W.y + W.h));
|
|
55644
55645
|
return new bo(V.x, V.y, ye.x - V.x, ye.y - V.y);
|
|
55645
55646
|
}, Pt.prototype.clone = function() {
|
|
55646
55647
|
var W = this.sx, V = this.shy, ye = this.shx, Fe = this.sy, We = this.tx, Ze = this.ty;
|
|
@@ -55648,8 +55649,8 @@ function jsPDF(a) {
|
|
|
55648
55649
|
}, g.Matrix = Pt;
|
|
55649
55650
|
var Ot = g.matrixMult = function(W, V) {
|
|
55650
55651
|
return V.multiply(W);
|
|
55651
|
-
},
|
|
55652
|
-
g.unitMatrix = g.identityMatrix =
|
|
55652
|
+
}, Cr = new Pt(1, 0, 0, 1, 0, 0);
|
|
55653
|
+
g.unitMatrix = g.identityMatrix = Cr;
|
|
55653
55654
|
var Nr = function(V, ye) {
|
|
55654
55655
|
if (!Qt[V]) {
|
|
55655
55656
|
var Fe = ye instanceof ShadingPattern ? "Sh" : "P", We = Fe + (Object.keys(St).length + 1).toString(10);
|
|
@@ -55668,11 +55669,11 @@ function jsPDF(a) {
|
|
|
55668
55669
|
var W = jt();
|
|
55669
55670
|
return tr(W, !0), W;
|
|
55670
55671
|
}, jt = g.__private__.newObjectDeferred = function() {
|
|
55671
|
-
return ne++,
|
|
55672
|
+
return ne++, xe[ne] = function() {
|
|
55672
55673
|
return ve;
|
|
55673
55674
|
}, ne;
|
|
55674
55675
|
}, tr = function(V, ye) {
|
|
55675
|
-
return ye = typeof ye == "boolean" ? ye : !1,
|
|
55676
|
+
return ye = typeof ye == "boolean" ? ye : !1, xe[V] = ve, ye && we(V + " 0 obj"), V;
|
|
55676
55677
|
}, Vt = g.__private__.newAdditionalObject = function() {
|
|
55677
55678
|
var W = jt(), V = {
|
|
55678
55679
|
objId: W,
|
|
@@ -56084,7 +56085,7 @@ Q`), tr(We, !0), Or({
|
|
|
56084
56085
|
}, V.foo.bar = V, V.foo;
|
|
56085
56086
|
}, ct = function(V, ye) {
|
|
56086
56087
|
var Fe, We, Ze, lt, ft, mt, Bt, Ht, Kt;
|
|
56087
|
-
if (ye = ye || {}, Ze = ye.sourceEncoding || "Unicode", ft = ye.outputEncoding, (ye.autoencode || ft) && pt[
|
|
56088
|
+
if (ye = ye || {}, Ze = ye.sourceEncoding || "Unicode", ft = ye.outputEncoding, (ye.autoencode || ft) && pt[xt].metadata && pt[xt].metadata[Ze] && pt[xt].metadata[Ze].encoding && (lt = pt[xt].metadata[Ze].encoding, !ft && pt[xt].encoding && (ft = pt[xt].encoding), !ft && lt.codePages && (ft = lt.codePages[0]), typeof ft == "string" && (ft = lt[ft]), ft)) {
|
|
56088
56089
|
for (Bt = !1, mt = [], Fe = 0, We = V.length; Fe < We; Fe++)
|
|
56089
56090
|
Ht = ft[V.charCodeAt(Fe)], Ht ? mt.push(String.fromCharCode(Ht)) : mt.push(V[Fe]), mt[Fe].charCodeAt(0) >> 8 && (Bt = !0);
|
|
56090
56091
|
V = mt.join("");
|
|
@@ -56127,7 +56128,7 @@ Q`), tr(We, !0), Or({
|
|
|
56127
56128
|
We > Ze && (o = [Ze, We]);
|
|
56128
56129
|
break;
|
|
56129
56130
|
}
|
|
56130
|
-
ut(o), yn(Yo), we(eo), qr !== 0 && we(qr + " J"),
|
|
56131
|
+
ut(o), yn(Yo), we(eo), qr !== 0 && we(qr + " J"), Ci !== 0 && we(Ci + " j"), ae.publish("addPage", {
|
|
56131
56132
|
pageNumber: Gt
|
|
56132
56133
|
});
|
|
56133
56134
|
}, zt = function(V) {
|
|
@@ -56138,7 +56139,7 @@ Q`), tr(We, !0), Or({
|
|
|
56138
56139
|
return pe.length - 1;
|
|
56139
56140
|
}, hr = function(V, ye, Fe) {
|
|
56140
56141
|
var We = void 0, Ze;
|
|
56141
|
-
return Fe = Fe || {}, V = V !== void 0 ? V : pt[
|
|
56142
|
+
return Fe = Fe || {}, V = V !== void 0 ? V : pt[xt].fontName, ye = ye !== void 0 ? ye : pt[xt].fontStyle, Ze = V.toLowerCase(), Tt[Ze] !== void 0 && Tt[Ze][ye] !== void 0 ? We = Tt[Ze][ye] : Tt[V] !== void 0 && Tt[V][ye] !== void 0 ? We = Tt[V][ye] : Fe.disableWarning === !1 && console$1.warn("Unable to look up font label for font '" + V + "', '" + ye + "'. Refer to getFontList() for available fonts."), !We && !Fe.noFallback && (We = Tt.times[ye], We == null && (We = Tt.times.normal)), We;
|
|
56142
56143
|
}, cr = g.__private__.putInfo = function() {
|
|
56143
56144
|
var W = Xt(), V = function(We) {
|
|
56144
56145
|
return We;
|
|
@@ -56191,8 +56192,8 @@ Q`), tr(We, !0), Or({
|
|
|
56191
56192
|
var W = "0000000000";
|
|
56192
56193
|
we("xref"), we("0 " + (ne + 1)), we("0000000000 65535 f ");
|
|
56193
56194
|
for (var V = 1; V <= ne; V++) {
|
|
56194
|
-
var ye =
|
|
56195
|
-
typeof ye == "function" ? we((W +
|
|
56195
|
+
var ye = xe[V];
|
|
56196
|
+
typeof ye == "function" ? we((W + xe[V]()).slice(-10) + " 00000 n ") : typeof xe[V] < "u" ? we((W + xe[V]).slice(-10) + " 00000 n ") : we("0000000000 00000 n ");
|
|
56196
56197
|
}
|
|
56197
56198
|
}, Zr = g.__private__.buildDocument = function() {
|
|
56198
56199
|
Te(), He(Ie), ae.publish("buildDocument"), Qi(), Yr(), ke(), be(), f !== null && mo(), cr(), kr();
|
|
@@ -56369,8 +56370,8 @@ Q`), tr(We, !0), Or({
|
|
|
56369
56370
|
return vr = vr.split(" ").join(Array(Fe.TabLen || 9).join(" ")), at(vr, $t);
|
|
56370
56371
|
}
|
|
56371
56372
|
function Xo(vr) {
|
|
56372
|
-
for (var ar = vr.concat(), dr = [], Fr = ar.length,
|
|
56373
|
-
|
|
56373
|
+
for (var ar = vr.concat(), dr = [], Fr = ar.length, xr; Fr--; )
|
|
56374
|
+
xr = ar.shift(), typeof xr == "string" ? dr.push(xr) : Array.isArray(vr) && (xr.length === 1 || xr[1] === void 0 && xr[2] === void 0) ? dr.push(xr[0]) : dr.push([xr[0], xr[1], xr[2]]);
|
|
56374
56375
|
return dr;
|
|
56375
56376
|
}
|
|
56376
56377
|
function qo(vr, ar) {
|
|
@@ -56378,9 +56379,9 @@ Q`), tr(We, !0), Or({
|
|
|
56378
56379
|
if (typeof vr == "string")
|
|
56379
56380
|
dr = ar(vr)[0];
|
|
56380
56381
|
else if (Array.isArray(vr)) {
|
|
56381
|
-
for (var Fr = vr.concat(),
|
|
56382
|
-
Xr = Fr.shift(), typeof Xr == "string" ?
|
|
56383
|
-
dr =
|
|
56382
|
+
for (var Fr = vr.concat(), xr = [], xn = Fr.length, Xr, Ii; xn--; )
|
|
56383
|
+
Xr = Fr.shift(), typeof Xr == "string" ? xr.push(ar(Xr)[0]) : Array.isArray(Xr) && typeof Xr[0] == "string" && (Ii = ar(Xr[0], Xr[1], Xr[2]), xr.push([Ii[0], Ii[1], Ii[2]]));
|
|
56384
|
+
dr = xr;
|
|
56384
56385
|
}
|
|
56385
56386
|
return dr;
|
|
56386
56387
|
}
|
|
@@ -56421,7 +56422,7 @@ Q`), tr(We, !0), Or({
|
|
|
56421
56422
|
options: Fe,
|
|
56422
56423
|
mutex: {
|
|
56423
56424
|
pdfEscape: at,
|
|
56424
|
-
activeFontKey:
|
|
56425
|
+
activeFontKey: xt,
|
|
56425
56426
|
fonts: pt,
|
|
56426
56427
|
activeFontSize: Ne
|
|
56427
56428
|
}
|
|
@@ -56430,7 +56431,7 @@ Q`), tr(We, !0), Or({
|
|
|
56430
56431
|
var Jo = Math.cos(mt), Bi = Math.sin(mt);
|
|
56431
56432
|
ur = new Pt(Jo, Bi, -Bi, Jo, 0, 0);
|
|
56432
56433
|
} else mt && mt instanceof Pt && (ur = mt);
|
|
56433
|
-
D === _.ADVANCED && !ur && (ur =
|
|
56434
|
+
D === _.ADVANCED && !ur && (ur = Cr), Ht = Fe.charSpace || Ti, typeof Ht < "u" && (br += L(j(Ht)) + ` Tc
|
|
56434
56435
|
`, this.setCharSpace(this.getCharSpace() || 0)), yr = Fe.horizontalScale, typeof yr < "u" && (br += L(yr * 100) + ` Tz
|
|
56435
56436
|
`), Fe.lang;
|
|
56436
56437
|
var Er = -1, Po = typeof Fe.renderingMode < "u" ? Fe.renderingMode : Fe.stroke, so = Ze.internal.getCurrentPageInfo().pageContext;
|
|
@@ -56470,11 +56471,11 @@ Q`), tr(We, !0), Or({
|
|
|
56470
56471
|
Er = 7;
|
|
56471
56472
|
break;
|
|
56472
56473
|
}
|
|
56473
|
-
var
|
|
56474
|
+
var Cn = typeof so.usedRenderingMode < "u" ? so.usedRenderingMode : -1;
|
|
56474
56475
|
Er !== -1 ? br += Er + ` Tr
|
|
56475
|
-
` :
|
|
56476
|
+
` : Cn !== -1 && (br += `0 Tr
|
|
56476
56477
|
`), Er !== -1 && (so.usedRenderingMode = Er), Bt = Fe.align || "left";
|
|
56477
|
-
var Ko = Ne * Oi, ao = Ze.internal.pageSize.getWidth(), No = pt[
|
|
56478
|
+
var Ko = Ne * Oi, ao = Ze.internal.pageSize.getWidth(), No = pt[xt];
|
|
56478
56479
|
Ht = Fe.charSpace || Ti, Kt = Fe.maxWidth || 0;
|
|
56479
56480
|
var Kr;
|
|
56480
56481
|
$t = Object.assign({
|
|
@@ -56484,7 +56485,7 @@ Q`), tr(We, !0), Or({
|
|
|
56484
56485
|
var lo = [];
|
|
56485
56486
|
if (Object.prototype.toString.call(W) === "[object Array]") {
|
|
56486
56487
|
ft = Xo(W);
|
|
56487
|
-
var
|
|
56488
|
+
var xi;
|
|
56488
56489
|
Bt !== "left" && (Kr = ft.map(function(vr) {
|
|
56489
56490
|
return Ze.getStringUnitWidth(vr, {
|
|
56490
56491
|
font: No,
|
|
@@ -56497,11 +56498,11 @@ Q`), tr(We, !0), Or({
|
|
|
56497
56498
|
if (Bt === "right") {
|
|
56498
56499
|
V -= Kr[0], W = [], Dr = ft.length;
|
|
56499
56500
|
for (var zi = 0; zi < Dr; zi++)
|
|
56500
|
-
zi === 0 ? (bi = Ni(V),
|
|
56501
|
+
zi === 0 ? (bi = Ni(V), xi = sr(ye)) : (bi = j(co - Kr[zi]), xi = -Ko), W.push([ft[zi], bi, xi]), co = Kr[zi];
|
|
56501
56502
|
} else if (Bt === "center") {
|
|
56502
56503
|
V -= Kr[0] / 2, W = [], Dr = ft.length;
|
|
56503
56504
|
for (var Wi = 0; Wi < Dr; Wi++)
|
|
56504
|
-
Wi === 0 ? (bi = Ni(V),
|
|
56505
|
+
Wi === 0 ? (bi = Ni(V), xi = sr(ye)) : (bi = j((co - Kr[Wi]) / 2), xi = -Ko), W.push([ft[Wi], bi, xi]), co = Kr[Wi];
|
|
56505
56506
|
} else if (Bt === "left") {
|
|
56506
56507
|
W = [], Dr = ft.length;
|
|
56507
56508
|
for (var To = 0; To < Dr; To++)
|
|
@@ -56509,7 +56510,7 @@ Q`), tr(We, !0), Or({
|
|
|
56509
56510
|
} else if (Bt === "justify") {
|
|
56510
56511
|
W = [], Dr = ft.length, Kt = Kt !== 0 ? Kt : ao;
|
|
56511
56512
|
for (var ai = 0; ai < Dr; ai++)
|
|
56512
|
-
|
|
56513
|
+
xi = ai === 0 ? sr(ye) : -Ko, bi = ai === 0 ? Ni(V) : 0, ai < Dr - 1 ? lo.push(L(j((Kt - Kr[ai]) / (ft[ai].split("").length - 1)))) : lo.push(0), W.push([ft[ai], bi, xi]);
|
|
56513
56514
|
} else
|
|
56514
56515
|
throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');
|
|
56515
56516
|
}
|
|
@@ -56523,20 +56524,20 @@ Q`), tr(We, !0), Or({
|
|
|
56523
56524
|
options: Fe,
|
|
56524
56525
|
mutex: {
|
|
56525
56526
|
pdfEscape: at,
|
|
56526
|
-
activeFontKey:
|
|
56527
|
+
activeFontKey: xt,
|
|
56527
56528
|
fonts: pt,
|
|
56528
56529
|
activeFontSize: Ne
|
|
56529
56530
|
}
|
|
56530
56531
|
}, ae.publish("postProcessText", lt), W = lt.text, Br = lt.mutex.isHex || !1;
|
|
56531
|
-
var en = pt[
|
|
56532
|
+
var en = pt[xt].encoding;
|
|
56532
56533
|
(en === "WinAnsiEncoding" || en === "StandardEncoding") && (W = qo(W, function(vr, ar, dr) {
|
|
56533
56534
|
return [fr(vr), ar, dr];
|
|
56534
56535
|
})), ft = Xo(W), W = [];
|
|
56535
56536
|
for (var Ei = 0, ho = 1, uo = Array.isArray(ft[0]) ? ho : Ei, Hr, Gr, Fi, ji = "", So = function(ar, dr, Fr) {
|
|
56536
|
-
var
|
|
56537
|
-
return Fr instanceof Pt ? (typeof Fe.angle == "number" ? Fr = Ot(Fr, new Pt(1, 0, 0, 1, ar, dr)) : Fr = Ot(new Pt(1, 0, 0, 1, ar, dr), Fr), D === _.ADVANCED && (Fr = Ot(new Pt(1, 0, 0, -1, 0, 0), Fr)),
|
|
56538
|
-
`) :
|
|
56539
|
-
`,
|
|
56537
|
+
var xr = "";
|
|
56538
|
+
return Fr instanceof Pt ? (typeof Fe.angle == "number" ? Fr = Ot(Fr, new Pt(1, 0, 0, 1, ar, dr)) : Fr = Ot(new Pt(1, 0, 0, 1, ar, dr), Fr), D === _.ADVANCED && (Fr = Ot(new Pt(1, 0, 0, -1, 0, 0), Fr)), xr = Fr.join(" ") + ` Tm
|
|
56539
|
+
`) : xr = L(ar) + " " + L(dr) + ` Td
|
|
56540
|
+
`, xr;
|
|
56540
56541
|
}, Vr = 0; Vr < ft.length; Vr++) {
|
|
56541
56542
|
switch (ji = "", uo) {
|
|
56542
56543
|
case ho:
|
|
@@ -56555,10 +56556,10 @@ T* `) : W.join(` Tj
|
|
|
56555
56556
|
`;
|
|
56556
56557
|
var li = `BT
|
|
56557
56558
|
/`;
|
|
56558
|
-
return li +=
|
|
56559
|
+
return li += xt + " " + Ne + ` Tf
|
|
56559
56560
|
`, li += L(Ne * Oi) + ` TL
|
|
56560
56561
|
`, li += Hi + `
|
|
56561
|
-
`, li += br, li += W, li += "ET", we(li), m[
|
|
56562
|
+
`, li += br, li += W, li += "ET", we(li), m[xt] = !0, Ze;
|
|
56562
56563
|
};
|
|
56563
56564
|
var vo = g.__private__.clip = g.clip = function(W) {
|
|
56564
56565
|
return we(W === "evenodd" ? "W*" : "W"), this;
|
|
@@ -56628,7 +56629,7 @@ T* `) : W.join(` Tj
|
|
|
56628
56629
|
we("q"), we(Rn(ye)), We.gState && g.setGState(We.gState), we(V.matrix.toString() + " cm"), we("/" + Fe + " sh"), we("Q");
|
|
56629
56630
|
else if (We instanceof TilingPattern) {
|
|
56630
56631
|
var Ze = new Pt(1, 0, 0, -1, 0, Di());
|
|
56631
|
-
V.matrix && (Ze = Ze.multiply(V.matrix ||
|
|
56632
|
+
V.matrix && (Ze = Ze.multiply(V.matrix || Cr), Fe = Ln.call(We, V.key, V.boundingBox, V.xStep, V.yStep, Ze).id), we("q"), we("/Pattern cs"), we("/" + Fe + " scn"), We.gState && g.setGState(We.gState), we(ye), we("Q");
|
|
56632
56633
|
}
|
|
56633
56634
|
}, Rn = function(V) {
|
|
56634
56635
|
switch (V) {
|
|
@@ -56731,7 +56732,7 @@ T* `) : W.join(` Tj
|
|
|
56731
56732
|
throw new Error("Invalid arguments passed to jsPDF.circle");
|
|
56732
56733
|
return this.ellipse(W, V, ye, ye, Fe);
|
|
56733
56734
|
}, g.setFont = function(W, V, ye) {
|
|
56734
|
-
return ye && (V = I(V, ye)),
|
|
56735
|
+
return ye && (V = I(V, ye)), xt = hr(W, V, {
|
|
56735
56736
|
disableWarning: !1
|
|
56736
56737
|
}), this;
|
|
56737
56738
|
};
|
|
@@ -56763,7 +56764,7 @@ T* `) : W.join(` Tj
|
|
|
56763
56764
|
return L(j(ye));
|
|
56764
56765
|
}).join(" "), V = L(j(V)), we("[" + W + "] " + V + " d"), this;
|
|
56765
56766
|
};
|
|
56766
|
-
var $i,
|
|
56767
|
+
var $i, Co = g.__private__.getLineHeight = g.getLineHeight = function() {
|
|
56767
56768
|
return Ne * $i;
|
|
56768
56769
|
};
|
|
56769
56770
|
g.__private__.getLineHeight = g.getLineHeight = function() {
|
|
@@ -56857,12 +56858,12 @@ T* `) : W.join(` Tj
|
|
|
56857
56858
|
throw new Error("Line cap style of '" + W + "' is not recognized. See or extend .CapJoinStyles property for valid styles");
|
|
56858
56859
|
return qr = V, we(V + " J"), this;
|
|
56859
56860
|
};
|
|
56860
|
-
var
|
|
56861
|
+
var Ci = 0;
|
|
56861
56862
|
g.__private__.setLineJoin = g.setLineJoin = function(W) {
|
|
56862
56863
|
var V = g.CapJoinStyles[W];
|
|
56863
56864
|
if (V === void 0)
|
|
56864
56865
|
throw new Error("Line join style of '" + W + "' is not recognized. See or extend .CapJoinStyles property for valid styles");
|
|
56865
|
-
return
|
|
56866
|
+
return Ci = V, we(V + " j"), this;
|
|
56866
56867
|
}, g.__private__.setLineMiterLimit = g.__private__.setMiterLimit = g.setLineMiterLimit = g.setMiterLimit = function(W) {
|
|
56867
56868
|
if (W = W || 0, isNaN(W))
|
|
56868
56869
|
throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");
|
|
@@ -56891,20 +56892,20 @@ T* `) : W.join(` Tj
|
|
|
56891
56892
|
return Qr(W, V), this;
|
|
56892
56893
|
}, g.saveGraphicsState = function() {
|
|
56893
56894
|
return we("q"), It.push({
|
|
56894
|
-
key:
|
|
56895
|
+
key: xt,
|
|
56895
56896
|
size: Ne,
|
|
56896
56897
|
color: Hi
|
|
56897
56898
|
}), this;
|
|
56898
56899
|
}, g.restoreGraphicsState = function() {
|
|
56899
56900
|
we("Q");
|
|
56900
56901
|
var W = It.pop();
|
|
56901
|
-
return
|
|
56902
|
+
return xt = W.key, Ne = W.size, Hi = W.color, wr = null, this;
|
|
56902
56903
|
}, g.setCurrentTransformationMatrix = function(W) {
|
|
56903
56904
|
return we(W.toString() + " cm"), this;
|
|
56904
56905
|
}, g.comment = function(W) {
|
|
56905
56906
|
return we("#" + W), this;
|
|
56906
56907
|
};
|
|
56907
|
-
var
|
|
56908
|
+
var xo = function(V, ye) {
|
|
56908
56909
|
var Fe = V || 0;
|
|
56909
56910
|
Object.defineProperty(this, "x", {
|
|
56910
56911
|
enumerable: !0,
|
|
@@ -56936,7 +56937,7 @@ T* `) : W.join(` Tj
|
|
|
56936
56937
|
}
|
|
56937
56938
|
}), this;
|
|
56938
56939
|
}, bo = function(V, ye, Fe, We) {
|
|
56939
|
-
|
|
56940
|
+
xo.call(this, V, ye), this.type = "rect";
|
|
56940
56941
|
var Ze = Fe || 0;
|
|
56941
56942
|
Object.defineProperty(this, "w", {
|
|
56942
56943
|
enumerable: !0,
|
|
@@ -57021,7 +57022,7 @@ T* `) : W.join(` Tj
|
|
|
57021
57022
|
getFontSize: Be,
|
|
57022
57023
|
getCharSpace: wi,
|
|
57023
57024
|
getTextColor: vn,
|
|
57024
|
-
getLineHeight:
|
|
57025
|
+
getLineHeight: Co,
|
|
57025
57026
|
getLineHeightFactor: Hn,
|
|
57026
57027
|
getLineWidth: mn,
|
|
57027
57028
|
write: le,
|
|
@@ -57065,7 +57066,7 @@ T* `) : W.join(` Tj
|
|
|
57065
57066
|
getPageInfoByObjId: In,
|
|
57066
57067
|
getCurrentPageInfo: An,
|
|
57067
57068
|
getPDFVersion: w,
|
|
57068
|
-
Point:
|
|
57069
|
+
Point: xo,
|
|
57069
57070
|
Rectangle: bo,
|
|
57070
57071
|
Matrix: Pt,
|
|
57071
57072
|
hasHotfix: Ri,
|
|
@@ -57089,7 +57090,7 @@ T* `) : W.join(` Tj
|
|
|
57089
57090
|
},
|
|
57090
57091
|
enumerable: !0,
|
|
57091
57092
|
configurable: !0
|
|
57092
|
-
}), it.call(g, $),
|
|
57093
|
+
}), it.call(g, $), xt = "F1", vt(o, t), ae.publish("initialized"), g;
|
|
57093
57094
|
}
|
|
57094
57095
|
jsPDF.API = {
|
|
57095
57096
|
events: []
|
|
@@ -58552,7 +58553,7 @@ jsPDF.AcroForm;
|
|
|
58552
58553
|
]
|
|
58553
58554
|
}, s = a.__addimage__.getImageFileTypeByImageData = function(Y, G) {
|
|
58554
58555
|
G = G || r;
|
|
58555
|
-
var J, se,
|
|
58556
|
+
var J, se, Ce = r, oe, me, ue;
|
|
58556
58557
|
if (G === "RGBA" || Y.data !== void 0 && Y.data instanceof Uint8ClampedArray && "height" in Y && "width" in Y)
|
|
58557
58558
|
return "RGBA";
|
|
58558
58559
|
if (B(Y))
|
|
@@ -58564,7 +58565,7 @@ jsPDF.AcroForm;
|
|
|
58564
58565
|
break;
|
|
58565
58566
|
}
|
|
58566
58567
|
if (me === !0) {
|
|
58567
|
-
|
|
58568
|
+
Ce = ue;
|
|
58568
58569
|
break;
|
|
58569
58570
|
}
|
|
58570
58571
|
}
|
|
@@ -58577,13 +58578,13 @@ jsPDF.AcroForm;
|
|
|
58577
58578
|
break;
|
|
58578
58579
|
}
|
|
58579
58580
|
if (me === !0) {
|
|
58580
|
-
|
|
58581
|
+
Ce = ue;
|
|
58581
58582
|
break;
|
|
58582
58583
|
}
|
|
58583
58584
|
}
|
|
58584
|
-
return
|
|
58585
|
+
return Ce === r && G !== r && (Ce = G), Ce;
|
|
58585
58586
|
}, l = function Y(G) {
|
|
58586
|
-
for (var J = this.internal.write, se = this.internal.putStream,
|
|
58587
|
+
for (var J = this.internal.write, se = this.internal.putStream, Ce = this.internal.getFilters, oe = Ce(); oe.indexOf("FlateEncode") !== -1; )
|
|
58587
58588
|
oe.splice(oe.indexOf("FlateEncode"), 1);
|
|
58588
58589
|
G.objectId = this.internal.newObject();
|
|
58589
58590
|
var me = [];
|
|
@@ -58627,11 +58628,11 @@ jsPDF.AcroForm;
|
|
|
58627
58628
|
key: "SMask",
|
|
58628
58629
|
value: G.objectId + 1 + " 0 R"
|
|
58629
58630
|
});
|
|
58630
|
-
var
|
|
58631
|
+
var xe = typeof G.filter < "u" ? ["/" + G.filter] : void 0;
|
|
58631
58632
|
if (se({
|
|
58632
58633
|
data: G.data,
|
|
58633
58634
|
additionalKeyValues: me,
|
|
58634
|
-
alreadyAppliedFilters:
|
|
58635
|
+
alreadyAppliedFilters: xe,
|
|
58635
58636
|
objectId: G.objectId
|
|
58636
58637
|
}), J("endobj"), "sMask" in G && typeof G.sMask < "u") {
|
|
58637
58638
|
var Ie = "/Predictor " + G.predictor + " /Colors 1 /BitsPerComponent " + G.bitsPerComponent + " /Columns " + G.width, ve = {
|
|
@@ -58657,8 +58658,8 @@ jsPDF.AcroForm;
|
|
|
58657
58658
|
l.call(this, G[J]);
|
|
58658
58659
|
}, d = function() {
|
|
58659
58660
|
var G = this.internal.collections[t + "images"], J = this.internal.write, se;
|
|
58660
|
-
for (var
|
|
58661
|
-
se = G[
|
|
58661
|
+
for (var Ce in G)
|
|
58662
|
+
se = G[Ce], J("/I" + se.index, se.objectId, "0", "R");
|
|
58662
58663
|
}, u = function(G) {
|
|
58663
58664
|
return G && typeof G == "string" && (G = G.toUpperCase()), G in a.image_compression ? G : I.NONE;
|
|
58664
58665
|
}, f = function() {
|
|
@@ -58681,9 +58682,9 @@ jsPDF.AcroForm;
|
|
|
58681
58682
|
var se = "" + G.getAttribute("src");
|
|
58682
58683
|
if (se.indexOf("data:image/") === 0)
|
|
58683
58684
|
return atob$1(unescape(se).split("base64,").pop());
|
|
58684
|
-
var
|
|
58685
|
-
if (
|
|
58686
|
-
return
|
|
58685
|
+
var Ce = a.loadFile(se, !0);
|
|
58686
|
+
if (Ce !== void 0)
|
|
58687
|
+
return Ce;
|
|
58687
58688
|
}
|
|
58688
58689
|
if (G.nodeName === "CANVAS") {
|
|
58689
58690
|
if (G.width === 0 || G.height === 0)
|
|
@@ -58713,9 +58714,9 @@ jsPDF.AcroForm;
|
|
|
58713
58714
|
}
|
|
58714
58715
|
}, D = function(G, J, se) {
|
|
58715
58716
|
return !G && !J && (G = -96, J = -96), G < 0 && (G = -1 * se.width * 72 / G / this.internal.scaleFactor), J < 0 && (J = -1 * se.height * 72 / J / this.internal.scaleFactor), G === 0 && (G = J * se.width / se.height), J === 0 && (J = G * se.height / se.width), [G, J];
|
|
58716
|
-
}, E = function(G, J, se,
|
|
58717
|
-
var ue = D.call(this, se,
|
|
58718
|
-
if (se = ue[0],
|
|
58717
|
+
}, E = function(G, J, se, Ce, oe, me) {
|
|
58718
|
+
var ue = D.call(this, se, Ce, oe), Q = this.internal.getCoordinateString, ne = this.internal.getVerticalCoordinateString, xe = p.call(this);
|
|
58719
|
+
if (se = ue[0], Ce = ue[1], xe[oe.index] = oe, oe.exifdata && oe.exifdata.Orientation && (me = {
|
|
58719
58720
|
6: 270,
|
|
58720
58721
|
8: 90,
|
|
58721
58722
|
// 5: 180,
|
|
@@ -58730,7 +58731,7 @@ jsPDF.AcroForm;
|
|
|
58730
58731
|
return De.toFixed(4);
|
|
58731
58732
|
}, pe = [_e(Ie), _e(ve), _e(ve * -1), _e(Ie), 0, 0, "cm"];
|
|
58732
58733
|
}
|
|
58733
|
-
this.internal.write("q"), me ? (oe.exifdata && oe.exifdata.Orientation ? oe.exifdata.Orientation == 8 || oe.exifdata.Orientation == 4 ? (G +=
|
|
58734
|
+
this.internal.write("q"), me ? (oe.exifdata && oe.exifdata.Orientation ? oe.exifdata.Orientation == 8 || oe.exifdata.Orientation == 4 ? (G += Ce, J -= se - 10) : (oe.exifdata.Orientation == 6 || oe.exifdata.Orientation == 2) && (J -= se - 10) : (G += Number(Q(se)) + 20, J -= Ce), this.internal.write([1, "0", "0", 1, Q(G), ne(J + Ce), "cm"].join(" ")), this.internal.write(pe.join(" ")), this.internal.write([Q(se), "0", "0", Q(Ce), "0", "0", "cm"].join(" "))) : this.internal.write([Q(se), "0", "0", Q(Ce), Q(G), ne(J + Ce), "cm"].join(" ")), this.isAdvancedAPI() && this.internal.write([1, 0, 0, -1, 0, 0, "cm"].join(" ")), this.internal.write("/I" + oe.index + " Do"), this.internal.write("Q");
|
|
58734
58735
|
}, T = a.color_spaces = {
|
|
58735
58736
|
DEVICE_RGB: "DeviceRGB",
|
|
58736
58737
|
DEVICE_GRAY: "DeviceGray",
|
|
@@ -58803,19 +58804,19 @@ jsPDF.AcroForm;
|
|
|
58803
58804
|
return releaseArrayBuffer(Y), G;
|
|
58804
58805
|
};
|
|
58805
58806
|
a.addImage = function() {
|
|
58806
|
-
var Y, G, J, se,
|
|
58807
|
-
if (Y = arguments[0], typeof arguments[1] == "number" ? (G = r, J = arguments[1], se = arguments[2],
|
|
58807
|
+
var Y, G, J, se, Ce, oe, me, ue, Q;
|
|
58808
|
+
if (Y = arguments[0], typeof arguments[1] == "number" ? (G = r, J = arguments[1], se = arguments[2], Ce = arguments[3], oe = arguments[4], me = arguments[5], ue = arguments[6], Q = arguments[7]) : (G = arguments[1], J = arguments[2], se = arguments[3], Ce = arguments[4], oe = arguments[5], me = arguments[6], ue = arguments[7], Q = arguments[8]), _typeof(Y) === "object" && !v(Y) && "imageData" in Y) {
|
|
58808
58809
|
var ne = Y;
|
|
58809
|
-
Y = ne.imageData, G = ne.format || G || r, J = ne.x || J || 0, se = ne.y || se || 0,
|
|
58810
|
+
Y = ne.imageData, G = ne.format || G || r, J = ne.x || J || 0, se = ne.y || se || 0, Ce = ne.w || ne.width || Ce, oe = ne.h || ne.height || oe, me = ne.alias || me, ue = ne.compression || ue, Q = ne.rotation || ne.angle || Q;
|
|
58810
58811
|
}
|
|
58811
|
-
var
|
|
58812
|
-
if (ue === void 0 &&
|
|
58812
|
+
var xe = this.internal.getFilters();
|
|
58813
|
+
if (ue === void 0 && xe.indexOf("FlateEncode") !== -1 && (ue = "SLOW"), ue = "SLOW", isNaN(J) || isNaN(se))
|
|
58813
58814
|
throw new Error("Invalid coordinates passed to jsPDF.addImage");
|
|
58814
58815
|
f.call(this);
|
|
58815
58816
|
var Ie = z.call(this, Y, G, me, ue);
|
|
58816
|
-
return E.call(this, J, se,
|
|
58817
|
+
return E.call(this, J, se, Ce, oe, Ie, Q), this;
|
|
58817
58818
|
};
|
|
58818
|
-
var z = function(G, J, se,
|
|
58819
|
+
var z = function(G, J, se, Ce) {
|
|
58819
58820
|
var oe, me;
|
|
58820
58821
|
let ue = G.exifdata;
|
|
58821
58822
|
if (typeof G == "string" && s(G) === r) {
|
|
@@ -58825,19 +58826,19 @@ jsPDF.AcroForm;
|
|
|
58825
58826
|
}
|
|
58826
58827
|
if (v(G) && (G = C(G, J)), J = s(G, J), !w(J))
|
|
58827
58828
|
throw new Error("addImage does not support files of type '" + J + "', please ensure that a plugin for '" + J + "' support is added.");
|
|
58828
|
-
if (g(se) && (se = y(G)), oe = _.call(this, se), oe || (H() && !(G instanceof Uint8Array) && J !== "RGBA" && (me = G, G = j(G)), oe = this["process" + J.toUpperCase()](G, m.call(this), se, u(
|
|
58829
|
+
if (g(se) && (se = y(G)), oe = _.call(this, se), oe || (H() && !(G instanceof Uint8Array) && J !== "RGBA" && (me = G, G = j(G)), oe = this["process" + J.toUpperCase()](G, m.call(this), se, u(Ce), me)), releaseArrayBuffer(G.data), !oe)
|
|
58829
58830
|
throw new Error("An unknown error occurred whilst processing the image.");
|
|
58830
58831
|
return oe.exifdata = ue, oe;
|
|
58831
58832
|
}, X = a.__addimage__.convertBase64ToBinaryString = function(Y, G) {
|
|
58832
58833
|
G = typeof G == "boolean" ? G : !0;
|
|
58833
|
-
var J, se = "",
|
|
58834
|
+
var J, se = "", Ce;
|
|
58834
58835
|
if (typeof Y == "string") {
|
|
58835
|
-
J = L(Y),
|
|
58836
|
+
J = L(Y), Ce = J !== null ? J.data : Y;
|
|
58836
58837
|
try {
|
|
58837
|
-
se = atob$1(
|
|
58838
|
+
se = atob$1(Ce);
|
|
58838
58839
|
} catch (oe) {
|
|
58839
58840
|
if (G)
|
|
58840
|
-
throw R(
|
|
58841
|
+
throw R(Ce) ? new Error("atob-Error in jsPDF.convertBase64ToBinaryString " + oe.message) : new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ");
|
|
58841
58842
|
}
|
|
58842
58843
|
}
|
|
58843
58844
|
return se;
|
|
@@ -59515,12 +59516,12 @@ function releaseArrayBuffer(a) {
|
|
|
59515
59516
|
}, this);
|
|
59516
59517
|
var se = d.call(this, p[C], D);
|
|
59517
59518
|
for (I = 0; I < y.length; I += 1) {
|
|
59518
|
-
var
|
|
59519
|
+
var Ce = p[C][y[I]];
|
|
59519
59520
|
"cellStart" in g && g.cellStart instanceof Function && g.cellStart({
|
|
59520
59521
|
row: C,
|
|
59521
59522
|
col: I,
|
|
59522
|
-
data:
|
|
59523
|
-
}, this), c.call(this, new l(u, f, D[y[I]], se,
|
|
59523
|
+
data: Ce
|
|
59524
|
+
}, this), c.call(this, new l(u, f, D[y[I]], se, Ce, C + 2, J[y[I]]));
|
|
59524
59525
|
}
|
|
59525
59526
|
}
|
|
59526
59527
|
return this.internal.__cell__.table_x = u, this.internal.__cell__.table_y = f, this;
|
|
@@ -59722,8 +59723,8 @@ function parseFontFamily(a) {
|
|
|
59722
59723
|
Q = Q || {}, this.isStrokeTransparent = Q.isStrokeTransparent || !1;
|
|
59723
59724
|
var ne = Q.strokeOpacity || 1;
|
|
59724
59725
|
ne < 1 ? this.strokeOpacity = 0 : this.strokeOpacity = 1, this.strokeStyle = Q.strokeStyle || "#000000", this.fillStyle = Q.fillStyle || "#000000", this.isFillTransparent = Q.isFillTransparent || !1;
|
|
59725
|
-
var
|
|
59726
|
-
|
|
59726
|
+
var xe = Q.fillOpacity || 1;
|
|
59727
|
+
xe < 1 ? this.fillOpacity = 0 : this.fillOpacity = 1, this.font = Q.font || "10px sans-serif", this.textBaseline = Q.textBaseline || "alphabetic", this.textAlign = Q.textAlign || "left", this.lineWidth = Q.lineWidth || 1, this.lineJoin = Q.lineJoin || "miter", this.lineCap = Q.lineCap || "butt", this.path = Q.path || [], this.transform = typeof Q.transform < "u" ? Q.transform.clone() : new u(), this.globalCompositeOperation = Q.globalCompositeOperation || "normal";
|
|
59727
59728
|
var Ie = Q.globalAlpha || 1;
|
|
59728
59729
|
return Ie < 1 ? this.globalAlpha = 0 : this.globalAlpha = 1, this.clip_path = Q.clip_path || [], this.currentPoint = Q.currentPoint || new c(), this.miterLimit = Q.miterLimit || 10, this.lastPoint = Q.lastPoint || new c(), this.lineDashOffset = Q.lineDashOffset || 0, this.lineDash = Q.lineDash || [], this.margin = Q.margin || [0, 0, 0, 0], this.prevPageLastElemOffset = Q.prevPageLastElemOffset || 0, this.ignoreClearRect = typeof Q.ignoreClearRect == "boolean" ? Q.ignoreClearRect : !0, this;
|
|
59729
59730
|
}, r, o, n, s, l, c, d, u, f;
|
|
@@ -59747,13 +59748,13 @@ function parseFontFamily(a) {
|
|
|
59747
59748
|
return ne;
|
|
59748
59749
|
}
|
|
59749
59750
|
});
|
|
59750
|
-
var
|
|
59751
|
+
var xe = !1;
|
|
59751
59752
|
Object.defineProperty(this, "pageWrapXEnabled", {
|
|
59752
59753
|
get: function() {
|
|
59753
|
-
return
|
|
59754
|
+
return xe;
|
|
59754
59755
|
},
|
|
59755
59756
|
set: function($) {
|
|
59756
|
-
|
|
59757
|
+
xe = !!$;
|
|
59757
59758
|
}
|
|
59758
59759
|
});
|
|
59759
59760
|
var Ie = !1;
|
|
@@ -59996,8 +59997,8 @@ function parseFontFamily(a) {
|
|
|
59996
59997
|
this.pdf.setFont(Tt.ref.name, Tt.ref.style);
|
|
59997
59998
|
return;
|
|
59998
59999
|
}
|
|
59999
|
-
var
|
|
60000
|
-
(Me === "bold" || parseInt(Me, 10) >= 700 || Qe === "bold") && (
|
|
60000
|
+
var xt = "";
|
|
60001
|
+
(Me === "bold" || parseInt(Me, 10) >= 700 || Qe === "bold") && (xt = "bold"), Qe === "italic" && (xt += "italic"), xt.length === 0 && (xt = "normal");
|
|
60001
60002
|
for (var It = "", St = {
|
|
60002
60003
|
arial: "Helvetica",
|
|
60003
60004
|
Arial: "Helvetica",
|
|
@@ -60013,22 +60014,22 @@ function parseFontFamily(a) {
|
|
|
60013
60014
|
fantasy: "Times",
|
|
60014
60015
|
serif: "Times"
|
|
60015
60016
|
}, Qt = 0; Qt < gt.length; Qt++)
|
|
60016
|
-
if (this.pdf.internal.getFont(gt[Qt],
|
|
60017
|
+
if (this.pdf.internal.getFont(gt[Qt], xt, {
|
|
60017
60018
|
noFallback: !0,
|
|
60018
60019
|
disableWarning: !0
|
|
60019
60020
|
}) !== void 0) {
|
|
60020
60021
|
It = gt[Qt];
|
|
60021
60022
|
break;
|
|
60022
|
-
} else if (
|
|
60023
|
+
} else if (xt === "bolditalic" && this.pdf.internal.getFont(gt[Qt], "bold", {
|
|
60023
60024
|
noFallback: !0,
|
|
60024
60025
|
disableWarning: !0
|
|
60025
60026
|
}) !== void 0)
|
|
60026
|
-
It = gt[Qt],
|
|
60027
|
+
It = gt[Qt], xt = "bold";
|
|
60027
60028
|
else if (this.pdf.internal.getFont(gt[Qt], "normal", {
|
|
60028
60029
|
noFallback: !0,
|
|
60029
60030
|
disableWarning: !0
|
|
60030
60031
|
}) !== void 0) {
|
|
60031
|
-
It = gt[Qt],
|
|
60032
|
+
It = gt[Qt], xt = "normal";
|
|
60032
60033
|
break;
|
|
60033
60034
|
}
|
|
60034
60035
|
if (It === "") {
|
|
@@ -60038,7 +60039,7 @@ function parseFontFamily(a) {
|
|
|
60038
60039
|
break;
|
|
60039
60040
|
}
|
|
60040
60041
|
}
|
|
60041
|
-
It = It === "" ? "Times" : It, this.pdf.setFont(It,
|
|
60042
|
+
It = It === "" ? "Times" : It, this.pdf.setFont(It, xt);
|
|
60042
60043
|
}
|
|
60043
60044
|
}), Object.defineProperty(this, "globalCompositeOperation", {
|
|
60044
60045
|
get: function() {
|
|
@@ -60125,10 +60126,10 @@ function parseFontFamily(a) {
|
|
|
60125
60126
|
}), this.ctx.lastPoint = new c(ne.x, ne.y);
|
|
60126
60127
|
}, p.prototype.clip = function() {
|
|
60127
60128
|
this.ctx.clip_path = JSON.parse(JSON.stringify(this.path)), E.call(this, null, !0);
|
|
60128
|
-
}, p.prototype.quadraticCurveTo = function(ue, Q, ne,
|
|
60129
|
-
if (isNaN(ne) || isNaN(
|
|
60129
|
+
}, p.prototype.quadraticCurveTo = function(ue, Q, ne, xe) {
|
|
60130
|
+
if (isNaN(ne) || isNaN(xe) || isNaN(ue) || isNaN(Q))
|
|
60130
60131
|
throw console$1.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments", arguments), new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");
|
|
60131
|
-
var Ie = this.ctx.transform.applyToPoint(new c(ne,
|
|
60132
|
+
var Ie = this.ctx.transform.applyToPoint(new c(ne, xe)), ve = this.ctx.transform.applyToPoint(new c(ue, Q));
|
|
60132
60133
|
this.path.push({
|
|
60133
60134
|
type: "qct",
|
|
60134
60135
|
x1: ve.x,
|
|
@@ -60136,10 +60137,10 @@ function parseFontFamily(a) {
|
|
|
60136
60137
|
x: Ie.x,
|
|
60137
60138
|
y: Ie.y
|
|
60138
60139
|
}), this.ctx.lastPoint = new c(Ie.x, Ie.y);
|
|
60139
|
-
}, p.prototype.bezierCurveTo = function(ue, Q, ne,
|
|
60140
|
-
if (isNaN(Ie) || isNaN(ve) || isNaN(ue) || isNaN(Q) || isNaN(ne) || isNaN(
|
|
60140
|
+
}, p.prototype.bezierCurveTo = function(ue, Q, ne, xe, Ie, ve) {
|
|
60141
|
+
if (isNaN(Ie) || isNaN(ve) || isNaN(ue) || isNaN(Q) || isNaN(ne) || isNaN(xe))
|
|
60141
60142
|
throw console$1.error("jsPDF.context2d.bezierCurveTo: Invalid arguments", arguments), new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");
|
|
60142
|
-
var _e = this.ctx.transform.applyToPoint(new c(Ie, ve)), pe = this.ctx.transform.applyToPoint(new c(ue, Q)), Pe = this.ctx.transform.applyToPoint(new c(ne,
|
|
60143
|
+
var _e = this.ctx.transform.applyToPoint(new c(Ie, ve)), pe = this.ctx.transform.applyToPoint(new c(ue, Q)), Pe = this.ctx.transform.applyToPoint(new c(ne, xe));
|
|
60143
60144
|
this.path.push({
|
|
60144
60145
|
type: "bct",
|
|
60145
60146
|
x1: pe.x,
|
|
@@ -60149,8 +60150,8 @@ function parseFontFamily(a) {
|
|
|
60149
60150
|
x: _e.x,
|
|
60150
60151
|
y: _e.y
|
|
60151
60152
|
}), this.ctx.lastPoint = new c(_e.x, _e.y);
|
|
60152
|
-
}, p.prototype.arc = function(ue, Q, ne,
|
|
60153
|
-
if (isNaN(ue) || isNaN(Q) || isNaN(ne) || isNaN(
|
|
60153
|
+
}, p.prototype.arc = function(ue, Q, ne, xe, Ie, ve) {
|
|
60154
|
+
if (isNaN(ue) || isNaN(Q) || isNaN(ne) || isNaN(xe) || isNaN(Ie))
|
|
60154
60155
|
throw console$1.error("jsPDF.context2d.arc: Invalid arguments", arguments), new Error("Invalid arguments passed to jsPDF.context2d.arc");
|
|
60155
60156
|
if (ve = !!ve, !this.ctx.transform.isIdentity) {
|
|
60156
60157
|
var _e = this.ctx.transform.applyToPoint(new c(ue, Q));
|
|
@@ -60158,44 +60159,44 @@ function parseFontFamily(a) {
|
|
|
60158
60159
|
var pe = this.ctx.transform.applyToPoint(new c(0, ne)), Pe = this.ctx.transform.applyToPoint(new c(0, 0));
|
|
60159
60160
|
ne = Math.sqrt(Math.pow(pe.x - Pe.x, 2) + Math.pow(pe.y - Pe.y, 2));
|
|
60160
60161
|
}
|
|
60161
|
-
Math.abs(Ie -
|
|
60162
|
+
Math.abs(Ie - xe) >= 2 * Math.PI && (xe = 0, Ie = 2 * Math.PI), this.path.push({
|
|
60162
60163
|
type: "arc",
|
|
60163
60164
|
x: ue,
|
|
60164
60165
|
y: Q,
|
|
60165
60166
|
radius: ne,
|
|
60166
|
-
startAngle:
|
|
60167
|
+
startAngle: xe,
|
|
60167
60168
|
endAngle: Ie,
|
|
60168
60169
|
counterclockwise: ve
|
|
60169
60170
|
});
|
|
60170
|
-
}, p.prototype.arcTo = function(ue, Q, ne,
|
|
60171
|
+
}, p.prototype.arcTo = function(ue, Q, ne, xe, Ie) {
|
|
60171
60172
|
throw new Error("arcTo not implemented.");
|
|
60172
|
-
}, p.prototype.rect = function(ue, Q, ne,
|
|
60173
|
-
if (isNaN(ue) || isNaN(Q) || isNaN(ne) || isNaN(
|
|
60173
|
+
}, p.prototype.rect = function(ue, Q, ne, xe) {
|
|
60174
|
+
if (isNaN(ue) || isNaN(Q) || isNaN(ne) || isNaN(xe))
|
|
60174
60175
|
throw console$1.error("jsPDF.context2d.rect: Invalid arguments", arguments), new Error("Invalid arguments passed to jsPDF.context2d.rect");
|
|
60175
|
-
this.moveTo(ue, Q), this.lineTo(ue + ne, Q), this.lineTo(ue + ne, Q +
|
|
60176
|
-
}, p.prototype.fillRect = function(ue, Q, ne,
|
|
60177
|
-
if (isNaN(ue) || isNaN(Q) || isNaN(ne) || isNaN(
|
|
60176
|
+
this.moveTo(ue, Q), this.lineTo(ue + ne, Q), this.lineTo(ue + ne, Q + xe), this.lineTo(ue, Q + xe), this.lineTo(ue, Q);
|
|
60177
|
+
}, p.prototype.fillRect = function(ue, Q, ne, xe) {
|
|
60178
|
+
if (isNaN(ue) || isNaN(Q) || isNaN(ne) || isNaN(xe))
|
|
60178
60179
|
throw console$1.error("jsPDF.context2d.fillRect: Invalid arguments", arguments), new Error("Invalid arguments passed to jsPDF.context2d.fillRect");
|
|
60179
60180
|
if (!g.call(this)) {
|
|
60180
60181
|
var Ie = {};
|
|
60181
|
-
this.lineCap !== "butt" && (Ie.lineCap = this.lineCap, this.lineCap = "butt"), this.lineJoin !== "miter" && (Ie.lineJoin = this.lineJoin, this.lineJoin = "miter"), this.beginPath(), this.rect(ue, Q, ne,
|
|
60182
|
+
this.lineCap !== "butt" && (Ie.lineCap = this.lineCap, this.lineCap = "butt"), this.lineJoin !== "miter" && (Ie.lineJoin = this.lineJoin, this.lineJoin = "miter"), this.beginPath(), this.rect(ue, Q, ne, xe), this.fill(), Ie.hasOwnProperty("lineCap") && (this.lineCap = Ie.lineCap), Ie.hasOwnProperty("lineJoin") && (this.lineJoin = Ie.lineJoin);
|
|
60182
60183
|
}
|
|
60183
|
-
}, p.prototype.strokeRect = function(Q, ne,
|
|
60184
|
-
if (isNaN(Q) || isNaN(ne) || isNaN(
|
|
60184
|
+
}, p.prototype.strokeRect = function(Q, ne, xe, Ie) {
|
|
60185
|
+
if (isNaN(Q) || isNaN(ne) || isNaN(xe) || isNaN(Ie))
|
|
60185
60186
|
throw console$1.error("jsPDF.context2d.strokeRect: Invalid arguments", arguments), new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");
|
|
60186
|
-
y.call(this) || (this.beginPath(), this.rect(Q, ne,
|
|
60187
|
-
}, p.prototype.clearRect = function(ue, Q, ne,
|
|
60188
|
-
if (isNaN(ue) || isNaN(Q) || isNaN(ne) || isNaN(
|
|
60187
|
+
y.call(this) || (this.beginPath(), this.rect(Q, ne, xe, Ie), this.stroke());
|
|
60188
|
+
}, p.prototype.clearRect = function(ue, Q, ne, xe) {
|
|
60189
|
+
if (isNaN(ue) || isNaN(Q) || isNaN(ne) || isNaN(xe))
|
|
60189
60190
|
throw console$1.error("jsPDF.context2d.clearRect: Invalid arguments", arguments), new Error("Invalid arguments passed to jsPDF.context2d.clearRect");
|
|
60190
|
-
this.ignoreClearRect || (this.fillStyle = "#ffffff", this.fillRect(ue, Q, ne,
|
|
60191
|
+
this.ignoreClearRect || (this.fillStyle = "#ffffff", this.fillRect(ue, Q, ne, xe));
|
|
60191
60192
|
}, p.prototype.save = function(ue) {
|
|
60192
60193
|
ue = typeof ue == "boolean" ? ue : !0;
|
|
60193
60194
|
for (var Q = this.pdf.internal.getCurrentPageInfo().pageNumber, ne = 0; ne < this.pdf.internal.getNumberOfPages(); ne++)
|
|
60194
60195
|
this.pdf.setPage(ne + 1), this.pdf.internal.out("q");
|
|
60195
60196
|
if (this.pdf.setPage(Q), ue) {
|
|
60196
60197
|
this.ctx.fontSize = this.pdf.internal.getFontSize();
|
|
60197
|
-
var
|
|
60198
|
-
this.ctxStack.push(this.ctx), this.ctx =
|
|
60198
|
+
var xe = new t(this.ctx);
|
|
60199
|
+
this.ctxStack.push(this.ctx), this.ctx = xe;
|
|
60199
60200
|
}
|
|
60200
60201
|
}, p.prototype.restore = function(ue) {
|
|
60201
60202
|
ue = typeof ue == "boolean" ? ue : !0;
|
|
@@ -60206,7 +60207,7 @@ function parseFontFamily(a) {
|
|
|
60206
60207
|
throw new Error("toDataUrl not implemented.");
|
|
60207
60208
|
};
|
|
60208
60209
|
var m = function(Q) {
|
|
60209
|
-
var ne = /rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/,
|
|
60210
|
+
var ne = /rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/, xe = /rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/, Ie = /transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/, ve, _e, pe, Pe;
|
|
60210
60211
|
if (Q.isCanvasGradient === !0 && (Q = Q.getColor()), !Q)
|
|
60211
60212
|
return {
|
|
60212
60213
|
r: 0,
|
|
@@ -60221,7 +60222,7 @@ function parseFontFamily(a) {
|
|
|
60221
60222
|
var De = ne.exec(Q);
|
|
60222
60223
|
if (De !== null)
|
|
60223
60224
|
ve = parseInt(De[1]), _e = parseInt(De[2]), pe = parseInt(De[3]), Pe = 1;
|
|
60224
|
-
else if (De =
|
|
60225
|
+
else if (De = xe.exec(Q), De !== null)
|
|
60225
60226
|
ve = parseInt(De[1]), _e = parseInt(De[2]), pe = parseInt(De[3]), Pe = parseFloat(De[4]);
|
|
60226
60227
|
else {
|
|
60227
60228
|
if (Pe = 1, typeof Q == "string" && Q.charAt(0) !== "#") {
|
|
@@ -60243,10 +60244,10 @@ function parseFontFamily(a) {
|
|
|
60243
60244
|
}, y = function() {
|
|
60244
60245
|
return !!(this.ctx.isStrokeTransparent || this.globalAlpha == 0);
|
|
60245
60246
|
};
|
|
60246
|
-
p.prototype.fillText = function(ue, Q, ne,
|
|
60247
|
+
p.prototype.fillText = function(ue, Q, ne, xe) {
|
|
60247
60248
|
if (isNaN(Q) || isNaN(ne) || typeof ue != "string")
|
|
60248
60249
|
throw console$1.error("jsPDF.context2d.fillText: Invalid arguments", arguments), new Error("Invalid arguments passed to jsPDF.context2d.fillText");
|
|
60249
|
-
if (
|
|
60250
|
+
if (xe = isNaN(xe) ? void 0 : xe, !g.call(this)) {
|
|
60250
60251
|
var Ie = J(this.ctx.transform.rotation), ve = this.ctx.transform.scaleX, _e = this.letterSpacing ? parseFloat(this.letterSpacing) : 0;
|
|
60251
60252
|
this.font.indexOf("SimSun") >= 0 && this.font.indexOf("bold") >= 0 ? j.call(this, {
|
|
60252
60253
|
text: ue,
|
|
@@ -60255,7 +60256,7 @@ function parseFontFamily(a) {
|
|
|
60255
60256
|
scale: ve,
|
|
60256
60257
|
angle: Ie,
|
|
60257
60258
|
align: this.textAlign,
|
|
60258
|
-
maxWidth:
|
|
60259
|
+
maxWidth: xe,
|
|
60259
60260
|
// renderingMode: "fillThenStroke",
|
|
60260
60261
|
charSpace: _e,
|
|
60261
60262
|
bold: !0
|
|
@@ -60266,15 +60267,15 @@ function parseFontFamily(a) {
|
|
|
60266
60267
|
scale: ve,
|
|
60267
60268
|
angle: Ie,
|
|
60268
60269
|
align: this.textAlign,
|
|
60269
|
-
maxWidth:
|
|
60270
|
+
maxWidth: xe,
|
|
60270
60271
|
charSpace: _e
|
|
60271
60272
|
});
|
|
60272
60273
|
}
|
|
60273
|
-
}, p.prototype.strokeText = function(ue, Q, ne,
|
|
60274
|
+
}, p.prototype.strokeText = function(ue, Q, ne, xe) {
|
|
60274
60275
|
if (isNaN(Q) || isNaN(ne) || typeof ue != "string")
|
|
60275
60276
|
throw console$1.error("jsPDF.context2d.strokeText: Invalid arguments", arguments), new Error("Invalid arguments passed to jsPDF.context2d.strokeText");
|
|
60276
60277
|
if (!y.call(this)) {
|
|
60277
|
-
|
|
60278
|
+
xe = isNaN(xe) ? void 0 : xe;
|
|
60278
60279
|
var Ie = J(this.ctx.transform.rotation), ve = this.ctx.transform.scaleX, _e = this.letterSpacing ? this.letterSpacing : 0;
|
|
60279
60280
|
j.call(this, {
|
|
60280
60281
|
text: ue,
|
|
@@ -60284,7 +60285,7 @@ function parseFontFamily(a) {
|
|
|
60284
60285
|
renderingMode: "stroke",
|
|
60285
60286
|
angle: Ie,
|
|
60286
60287
|
align: this.textAlign,
|
|
60287
|
-
maxWidth:
|
|
60288
|
+
maxWidth: xe,
|
|
60288
60289
|
charSpace: _e,
|
|
60289
60290
|
// 自定义修改
|
|
60290
60291
|
bold: !0
|
|
@@ -60294,7 +60295,7 @@ function parseFontFamily(a) {
|
|
|
60294
60295
|
}, p.prototype.measureText = function(ue) {
|
|
60295
60296
|
if (typeof ue != "string")
|
|
60296
60297
|
throw console$1.error("jsPDF.context2d.measureText: Invalid arguments", arguments), new Error("Invalid arguments passed to jsPDF.context2d.measureText");
|
|
60297
|
-
var Q = this.pdf, ne = this.pdf.internal.scaleFactor,
|
|
60298
|
+
var Q = this.pdf, ne = this.pdf.internal.scaleFactor, xe = Q.internal.getFontSize(), Ie = Q.getStringUnitWidth(ue) * xe / Q.internal.scaleFactor;
|
|
60298
60299
|
Ie *= Math.round(ne * 96 / 72 * 1e4) / 1e4;
|
|
60299
60300
|
var ve = function(pe) {
|
|
60300
60301
|
pe = pe || {};
|
|
@@ -60323,27 +60324,27 @@ function parseFontFamily(a) {
|
|
|
60323
60324
|
throw console$1.error("jsPDF.context2d.translate: Invalid arguments", arguments), new Error("Invalid arguments passed to jsPDF.context2d.translate");
|
|
60324
60325
|
var ne = new u(1, 0, 0, 1, ue, Q);
|
|
60325
60326
|
this.ctx.transform = this.ctx.transform.multiply(ne);
|
|
60326
|
-
}, p.prototype.transform = function(ue, Q, ne,
|
|
60327
|
-
if (isNaN(ue) || isNaN(Q) || isNaN(ne) || isNaN(
|
|
60327
|
+
}, p.prototype.transform = function(ue, Q, ne, xe, Ie, ve) {
|
|
60328
|
+
if (isNaN(ue) || isNaN(Q) || isNaN(ne) || isNaN(xe) || isNaN(Ie) || isNaN(ve))
|
|
60328
60329
|
throw console$1.error("jsPDF.context2d.transform: Invalid arguments", arguments), new Error("Invalid arguments passed to jsPDF.context2d.transform");
|
|
60329
|
-
ue = isNaN(ue) ? 1 : ue, Q = isNaN(Q) ? 0 : Q, ne = isNaN(ne) ? 0 : ne,
|
|
60330
|
-
var _e = new u(ue, Q, ne,
|
|
60330
|
+
ue = isNaN(ue) ? 1 : ue, Q = isNaN(Q) ? 0 : Q, ne = isNaN(ne) ? 0 : ne, xe = isNaN(xe) ? 1 : xe, Ie = isNaN(Ie) ? 0 : Ie, ve = isNaN(ve) ? 0 : ve;
|
|
60331
|
+
var _e = new u(ue, Q, ne, xe, Ie, ve);
|
|
60331
60332
|
this.ctx.transform = this.ctx.transform.multiply(_e);
|
|
60332
|
-
}, p.prototype.setTransform = function(ue, Q, ne,
|
|
60333
|
-
ue = isNaN(ue) ? 1 : ue, Q = isNaN(Q) ? 0 : Q, ne = isNaN(ne) ? 0 : ne,
|
|
60333
|
+
}, p.prototype.setTransform = function(ue, Q, ne, xe, Ie, ve) {
|
|
60334
|
+
ue = isNaN(ue) ? 1 : ue, Q = isNaN(Q) ? 0 : Q, ne = isNaN(ne) ? 0 : ne, xe = isNaN(xe) ? 1 : xe, Ie = isNaN(Ie) ? 0 : Ie, ve = isNaN(ve) ? 0 : ve, this.ctx.transform = new u(ue, Q, ne, xe, Ie, ve);
|
|
60334
60335
|
};
|
|
60335
60336
|
var w = function() {
|
|
60336
60337
|
return this.margin[0] > 0 || this.margin[1] > 0 || this.margin[2] > 0 || this.margin[3] > 0;
|
|
60337
60338
|
};
|
|
60338
|
-
p.prototype.drawImage = function(ue, Q, ne,
|
|
60339
|
+
p.prototype.drawImage = function(ue, Q, ne, xe, Ie, ve, _e, pe, Pe) {
|
|
60339
60340
|
var De = this.pdf.getImageProperties(ue);
|
|
60340
60341
|
ue.exifdata && (De.exifdata = ue.exifdata);
|
|
60341
60342
|
var Ve = 1, Te = 1, He = 1, we = 1;
|
|
60342
|
-
typeof
|
|
60343
|
+
typeof xe < "u" && typeof pe < "u" && (He = pe / xe, we = Pe / Ie, Ve = De.width / xe * pe / xe, Te = De.height / Ie * Pe / Ie), typeof ve > "u" && (ve = Q, _e = ne, Q = 0, ne = 0), typeof xe < "u" && typeof pe > "u" && (pe = xe, Pe = Ie), typeof xe > "u" && typeof pe > "u" && (pe = De.width, Pe = De.height);
|
|
60343
60344
|
var le = this.ctx.transform.decompose(), he = J(le.rotate.rotation), $ = new u();
|
|
60344
|
-
$ = $.multiply(le.translate), $ = $.multiply(le.skew), $ = $.multiply(le.scale),
|
|
60345
|
+
$ = $.multiply(le.translate), $ = $.multiply(le.skew), $ = $.multiply(le.scale), xe || (xe = pe), Ie || (Ie = Pe);
|
|
60345
60346
|
var Ne;
|
|
60346
|
-
ue.nodeName && ue.nodeName == "CANVAS" ? Ne = $.applyToRectangle(new d(ve + this.posX - Q * He, _e + this.posY - ne * we,
|
|
60347
|
+
ue.nodeName && ue.nodeName == "CANVAS" ? Ne = $.applyToRectangle(new d(ve + this.posX - Q * He, _e + this.posY - ne * we, xe * Ve, Ie * Te)) : Ne = $.applyToRectangle(new d(ve - Q * He, _e - ne * we, xe * Ve, Ie * Te));
|
|
60347
60348
|
for (var Be = v.call(this, Ne), Qe = [], Me = 0; Me < Be.length; Me += 1)
|
|
60348
60349
|
Qe.indexOf(Be[Me]) === -1 && Qe.push(Be[Me]);
|
|
60349
60350
|
D(Qe);
|
|
@@ -60351,70 +60352,70 @@ function parseFontFamily(a) {
|
|
|
60351
60352
|
if (this.autoPaging)
|
|
60352
60353
|
for (var ot = Qe[0], ht = Qe[Qe.length - 1], bt = ot; bt < ht + 1; bt++) {
|
|
60353
60354
|
this.pdf.setPage(bt);
|
|
60354
|
-
var gt = this.pdf.internal.pageSize.width - this.margin[3] - this.margin[1], _t = bt === 1 ? this.posY + this.margin[0] : this.margin[0], pt = this.pdf.internal.pageSize.height - this.posY - this.margin[0] - this.margin[2], Tt = this.pdf.internal.pageSize.height - this.margin[0] - this.margin[2],
|
|
60355
|
+
var gt = this.pdf.internal.pageSize.width - this.margin[3] - this.margin[1], _t = bt === 1 ? this.posY + this.margin[0] : this.margin[0], pt = this.pdf.internal.pageSize.height - this.posY - this.margin[0] - this.margin[2], Tt = this.pdf.internal.pageSize.height - this.margin[0] - this.margin[2], xt = bt === 1 ? 0 : pt + (bt - 2) * Tt;
|
|
60355
60356
|
if (this.ctx.clip_path.length !== 0) {
|
|
60356
60357
|
var It = this.path;
|
|
60357
|
-
ze = JSON.parse(JSON.stringify(this.ctx.clip_path)), this.path = _(ze, this.posX + this.margin[3], -
|
|
60358
|
+
ze = JSON.parse(JSON.stringify(this.ctx.clip_path)), this.path = _(ze, this.posX + this.margin[3], -xt + _t + this.ctx.prevPageLastElemOffset), T.call(this, "fill", !0), this.path = It;
|
|
60358
60359
|
}
|
|
60359
60360
|
var St = JSON.parse(JSON.stringify(Ne));
|
|
60360
|
-
St = _([St], this.posX + this.margin[3], -
|
|
60361
|
+
St = _([St], this.posX + this.margin[3], -xt + _t + this.ctx.prevPageLastElemOffset)[0];
|
|
60361
60362
|
var Qt = (bt > ot || bt < ht) && w.call(this);
|
|
60362
60363
|
Qt && (this.pdf.saveGraphicsState(), this.pdf.rect(this.margin[3], this.margin[0], gt, Tt, null).clip().discardPath()), this.pdf.addImage(ue, "JPEG", St.x, St.y, St.w, St.h, null, null, he), Qt && this.pdf.restoreGraphicsState();
|
|
60363
60364
|
}
|
|
60364
60365
|
else
|
|
60365
60366
|
ue.nodeName && ue.nodeName == "CANVAS" ? this.pdf.addImage(ue.toDataURL("image/png"), "", Ne.x, Ne.y, Ne.w, Ne.h) : this.pdf.addImage(ue, "JPEG", Ne.x + this.posX, Ne.y + this.posY, Ne.w, Ne.h, null, null, he, this.posX, this.posY);
|
|
60366
60367
|
};
|
|
60367
|
-
var v = function(Q, ne,
|
|
60368
|
+
var v = function(Q, ne, xe) {
|
|
60368
60369
|
var Ie = [];
|
|
60369
|
-
ne = ne || this.pdf.internal.pageSize.width,
|
|
60370
|
+
ne = ne || this.pdf.internal.pageSize.width, xe = xe || this.pdf.internal.pageSize.height - this.margin[0] - this.margin[2];
|
|
60370
60371
|
var ve = this.posY + this.ctx.prevPageLastElemOffset;
|
|
60371
60372
|
switch (Q.type) {
|
|
60372
60373
|
default:
|
|
60373
60374
|
case "mt":
|
|
60374
60375
|
case "lt":
|
|
60375
|
-
Ie.push(Math.floor((Q.y + ve) /
|
|
60376
|
+
Ie.push(Math.floor((Q.y + ve) / xe) + 1);
|
|
60376
60377
|
break;
|
|
60377
60378
|
case "arc":
|
|
60378
|
-
Ie.push(Math.floor((Q.y + ve - Q.radius) /
|
|
60379
|
+
Ie.push(Math.floor((Q.y + ve - Q.radius) / xe) + 1), Ie.push(Math.floor((Q.y + ve + Q.radius) / xe) + 1);
|
|
60379
60380
|
break;
|
|
60380
60381
|
case "qct":
|
|
60381
60382
|
var _e = se(this.ctx.lastPoint.x, this.ctx.lastPoint.y, Q.x1, Q.y1, Q.x, Q.y);
|
|
60382
|
-
Ie.push(Math.floor((_e.y + ve) /
|
|
60383
|
+
Ie.push(Math.floor((_e.y + ve) / xe) + 1), Ie.push(Math.floor((_e.y + _e.h + ve) / xe) + 1);
|
|
60383
60384
|
break;
|
|
60384
60385
|
case "bct":
|
|
60385
|
-
var pe =
|
|
60386
|
-
Ie.push(Math.floor((pe.y + ve) /
|
|
60386
|
+
var pe = Ce(this.ctx.lastPoint.x, this.ctx.lastPoint.y, Q.x1, Q.y1, Q.x2, Q.y2, Q.x, Q.y);
|
|
60387
|
+
Ie.push(Math.floor((pe.y + ve) / xe) + 1), Ie.push(Math.floor((pe.y + pe.h + ve) / xe) + 1);
|
|
60387
60388
|
break;
|
|
60388
60389
|
case "rect":
|
|
60389
|
-
Ie.push(Math.floor((Q.y + ve) /
|
|
60390
|
+
Ie.push(Math.floor((Q.y + ve) / xe) + 1), Ie.push(Math.floor((Q.y + Q.h + ve) / xe) + 1);
|
|
60390
60391
|
}
|
|
60391
60392
|
for (var Pe = 0; Pe < Ie.length; Pe += 1)
|
|
60392
60393
|
for (; this.pdf.internal.getNumberOfPages() < Ie[Pe]; )
|
|
60393
60394
|
C.call(this);
|
|
60394
60395
|
return Ie;
|
|
60395
60396
|
}, C = function() {
|
|
60396
|
-
var Q = this.fillStyle, ne = this.strokeStyle,
|
|
60397
|
-
this.pdf.addPage(), this.fillStyle = Q, this.strokeStyle = ne, this.font =
|
|
60398
|
-
}, _ = function(Q, ne,
|
|
60397
|
+
var Q = this.fillStyle, ne = this.strokeStyle, xe = this.font, Ie = this.lineCap, ve = this.lineWidth, _e = this.lineJoin;
|
|
60398
|
+
this.pdf.addPage(), this.fillStyle = Q, this.strokeStyle = ne, this.font = xe, this.lineCap = Ie, this.lineWidth = ve, this.lineJoin = _e;
|
|
60399
|
+
}, _ = function(Q, ne, xe) {
|
|
60399
60400
|
for (var Ie = 0; Ie < Q.length; Ie++)
|
|
60400
60401
|
switch (Q[Ie].type) {
|
|
60401
60402
|
case "bct":
|
|
60402
|
-
Q[Ie].x2 += ne, Q[Ie].y2 +=
|
|
60403
|
+
Q[Ie].x2 += ne, Q[Ie].y2 += xe;
|
|
60403
60404
|
case "qct":
|
|
60404
|
-
Q[Ie].x1 += ne, Q[Ie].y1 +=
|
|
60405
|
+
Q[Ie].x1 += ne, Q[Ie].y1 += xe;
|
|
60405
60406
|
case "mt":
|
|
60406
60407
|
case "lt":
|
|
60407
60408
|
case "arc":
|
|
60408
60409
|
default:
|
|
60409
|
-
Q[Ie].x += ne, Q[Ie].y +=
|
|
60410
|
+
Q[Ie].x += ne, Q[Ie].y += xe;
|
|
60410
60411
|
}
|
|
60411
60412
|
return Q;
|
|
60412
60413
|
}, D = function(Q) {
|
|
60413
|
-
return Q.sort(function(ne,
|
|
60414
|
-
return ne -
|
|
60414
|
+
return Q.sort(function(ne, xe) {
|
|
60415
|
+
return ne - xe;
|
|
60415
60416
|
});
|
|
60416
60417
|
}, E = function(Q, ne) {
|
|
60417
|
-
for (var
|
|
60418
|
+
for (var xe = this.fillStyle, Ie = this.strokeStyle, ve = this.lineCap, _e = this.lineWidth, pe = Math.abs(_e * this.ctx.transform.scaleX), Pe = this.lineJoin, De = JSON.parse(JSON.stringify(this.path)), Ve = JSON.parse(JSON.stringify(this.path)), Te, He, we = [], le = 0; le < Ve.length; le++)
|
|
60418
60419
|
if (typeof Ve[le].x < "u")
|
|
60419
60420
|
for (var he = v.call(this, Ve[le]), $ = 0; $ < he.length; $ += 1)
|
|
60420
60421
|
we.indexOf(he[$]) === -1 && we.push(he[$]);
|
|
@@ -60423,7 +60424,7 @@ function parseFontFamily(a) {
|
|
|
60423
60424
|
C.call(this);
|
|
60424
60425
|
if (D(we), this.autoPaging)
|
|
60425
60426
|
for (var Be = we[0], Qe = we[we.length - 1], Me = Be; Me < Qe + 1; Me++) {
|
|
60426
|
-
this.pdf.setPage(Me), this.fillStyle =
|
|
60427
|
+
this.pdf.setPage(Me), this.fillStyle = xe, this.strokeStyle = Ie, this.lineCap = ve, this.lineWidth = pe, this.lineJoin = Pe;
|
|
60427
60428
|
var ze = this.pdf.internal.pageSize.width - this.margin[3] - this.margin[1], ot = Me === 1 ? this.posY + this.margin[0] : this.margin[0], ht = this.pdf.internal.pageSize.height - this.posY - this.margin[0] - this.margin[2], bt = this.pdf.internal.pageSize.height - this.margin[0] - this.margin[2], gt = Me === 1 ? 0 : ht + (Me - 2) * bt;
|
|
60428
60429
|
if (this.ctx.clip_path.length !== 0) {
|
|
60429
60430
|
var _t = this.path;
|
|
@@ -60440,80 +60441,80 @@ function parseFontFamily(a) {
|
|
|
60440
60441
|
this.path = De;
|
|
60441
60442
|
}, T = function(Q, ne) {
|
|
60442
60443
|
if (!(Q === "stroke" && !ne && y.call(this)) && !(Q !== "stroke" && !ne && g.call(this))) {
|
|
60443
|
-
for (var
|
|
60444
|
+
for (var xe = [], Ie, ve = this.path, _e = 0; _e < ve.length; _e++) {
|
|
60444
60445
|
var pe = ve[_e];
|
|
60445
60446
|
switch (pe.type) {
|
|
60446
60447
|
case "begin":
|
|
60447
|
-
|
|
60448
|
+
xe.push({
|
|
60448
60449
|
begin: !0
|
|
60449
60450
|
});
|
|
60450
60451
|
break;
|
|
60451
60452
|
case "close":
|
|
60452
|
-
|
|
60453
|
+
xe.push({
|
|
60453
60454
|
close: !0
|
|
60454
60455
|
});
|
|
60455
60456
|
break;
|
|
60456
60457
|
case "mt":
|
|
60457
|
-
|
|
60458
|
+
xe.push({
|
|
60458
60459
|
start: pe,
|
|
60459
60460
|
deltas: [],
|
|
60460
60461
|
abs: []
|
|
60461
60462
|
});
|
|
60462
60463
|
break;
|
|
60463
60464
|
case "lt":
|
|
60464
|
-
var Pe =
|
|
60465
|
+
var Pe = xe.length;
|
|
60465
60466
|
if (ve[_e - 1] && !isNaN(ve[_e - 1].x) && (Ie = [pe.x - ve[_e - 1].x, pe.y - ve[_e - 1].y], Pe > 0)) {
|
|
60466
60467
|
for (Pe; Pe >= 0; Pe--)
|
|
60467
|
-
if (
|
|
60468
|
-
|
|
60468
|
+
if (xe[Pe - 1].close !== !0 && xe[Pe - 1].begin !== !0) {
|
|
60469
|
+
xe[Pe - 1].deltas.push(Ie), xe[Pe - 1].abs.push(pe);
|
|
60469
60470
|
break;
|
|
60470
60471
|
}
|
|
60471
60472
|
}
|
|
60472
60473
|
break;
|
|
60473
60474
|
case "bct":
|
|
60474
|
-
Ie = [pe.x1 - ve[_e - 1].x, pe.y1 - ve[_e - 1].y, pe.x2 - ve[_e - 1].x, pe.y2 - ve[_e - 1].y, pe.x - ve[_e - 1].x, pe.y - ve[_e - 1].y],
|
|
60475
|
+
Ie = [pe.x1 - ve[_e - 1].x, pe.y1 - ve[_e - 1].y, pe.x2 - ve[_e - 1].x, pe.y2 - ve[_e - 1].y, pe.x - ve[_e - 1].x, pe.y - ve[_e - 1].y], xe[xe.length - 1].deltas.push(Ie);
|
|
60475
60476
|
break;
|
|
60476
60477
|
case "qct":
|
|
60477
60478
|
var De = ve[_e - 1].x + 2 / 3 * (pe.x1 - ve[_e - 1].x), Ve = ve[_e - 1].y + 2 / 3 * (pe.y1 - ve[_e - 1].y), Te = pe.x + 2 / 3 * (pe.x1 - pe.x), He = pe.y + 2 / 3 * (pe.y1 - pe.y), we = pe.x, le = pe.y;
|
|
60478
|
-
Ie = [De - ve[_e - 1].x, Ve - ve[_e - 1].y, Te - ve[_e - 1].x, He - ve[_e - 1].y, we - ve[_e - 1].x, le - ve[_e - 1].y],
|
|
60479
|
+
Ie = [De - ve[_e - 1].x, Ve - ve[_e - 1].y, Te - ve[_e - 1].x, He - ve[_e - 1].y, we - ve[_e - 1].x, le - ve[_e - 1].y], xe[xe.length - 1].deltas.push(Ie);
|
|
60479
60480
|
break;
|
|
60480
60481
|
case "arc":
|
|
60481
|
-
|
|
60482
|
+
xe.push({
|
|
60482
60483
|
deltas: [],
|
|
60483
60484
|
abs: [],
|
|
60484
60485
|
arc: !0
|
|
60485
|
-
}), Array.isArray(
|
|
60486
|
+
}), Array.isArray(xe[xe.length - 1].abs) && xe[xe.length - 1].abs.push(pe);
|
|
60486
60487
|
break;
|
|
60487
60488
|
}
|
|
60488
60489
|
}
|
|
60489
60490
|
var he;
|
|
60490
60491
|
ne ? he = null : Q === "stroke" ? he = "stroke" : he = "fill";
|
|
60491
|
-
for (var $ = !1, Ne = 0; Ne <
|
|
60492
|
-
if (
|
|
60493
|
-
for (var Be =
|
|
60492
|
+
for (var $ = !1, Ne = 0; Ne < xe.length; Ne++)
|
|
60493
|
+
if (xe[Ne].arc) {
|
|
60494
|
+
for (var Be = xe[Ne].abs, Qe = 0; Qe < Be.length; Qe++) {
|
|
60494
60495
|
var Me = Be[Qe];
|
|
60495
60496
|
Me.type === "arc" ? R.call(this, Me.x, Me.y, Me.radius, Me.startAngle, Me.endAngle, Me.counterclockwise, void 0, ne, !$) : U.call(this, Me.x, Me.y);
|
|
60496
60497
|
}
|
|
60497
60498
|
$ = !0;
|
|
60498
|
-
} else if (
|
|
60499
|
+
} else if (xe[Ne].close === !0)
|
|
60499
60500
|
this.pdf.internal.out("h"), $ = !1;
|
|
60500
|
-
else if (
|
|
60501
|
-
var ze =
|
|
60502
|
-
z.call(this,
|
|
60501
|
+
else if (xe[Ne].begin !== !0) {
|
|
60502
|
+
var ze = xe[Ne].start.x, ot = xe[Ne].start.y;
|
|
60503
|
+
z.call(this, xe[Ne].deltas, ze, ot), $ = !0;
|
|
60503
60504
|
}
|
|
60504
60505
|
he && L.call(this, he), ne && H.call(this);
|
|
60505
60506
|
}
|
|
60506
60507
|
}, I = function(Q) {
|
|
60507
|
-
var ne = this.pdf.internal.getFontSize() / this.pdf.internal.scaleFactor,
|
|
60508
|
+
var ne = this.pdf.internal.getFontSize() / this.pdf.internal.scaleFactor, xe = ne * (this.pdf.internal.getLineHeightFactor() - 1);
|
|
60508
60509
|
switch (this.ctx.textBaseline) {
|
|
60509
60510
|
case "bottom":
|
|
60510
|
-
return Q -
|
|
60511
|
+
return Q - xe;
|
|
60511
60512
|
case "top":
|
|
60512
|
-
return Q + ne -
|
|
60513
|
+
return Q + ne - xe;
|
|
60513
60514
|
case "hanging":
|
|
60514
|
-
return Q + ne - 2 *
|
|
60515
|
+
return Q + ne - 2 * xe;
|
|
60515
60516
|
case "middle":
|
|
60516
|
-
return Q + ne / 2 -
|
|
60517
|
+
return Q + ne / 2 - xe;
|
|
60517
60518
|
case "ideographic":
|
|
60518
60519
|
return Q;
|
|
60519
60520
|
case "alphabetic":
|
|
@@ -60521,14 +60522,14 @@ function parseFontFamily(a) {
|
|
|
60521
60522
|
return Q;
|
|
60522
60523
|
}
|
|
60523
60524
|
}, A = function(Q) {
|
|
60524
|
-
var ne = this.pdf.internal.getFontSize() / this.pdf.internal.scaleFactor,
|
|
60525
|
-
return Q +
|
|
60525
|
+
var ne = this.pdf.internal.getFontSize() / this.pdf.internal.scaleFactor, xe = ne * (this.pdf.internal.getLineHeightFactor() - 1);
|
|
60526
|
+
return Q + xe;
|
|
60526
60527
|
};
|
|
60527
60528
|
p.prototype.createLinearGradient = function() {
|
|
60528
60529
|
var Q = function() {
|
|
60529
60530
|
};
|
|
60530
|
-
return Q.colorStops = [], Q.addColorStop = function(ne,
|
|
60531
|
-
this.colorStops.push([ne,
|
|
60531
|
+
return Q.colorStops = [], Q.addColorStop = function(ne, xe) {
|
|
60532
|
+
this.colorStops.push([ne, xe]);
|
|
60532
60533
|
}, Q.getColor = function() {
|
|
60533
60534
|
return this.colorStops.length === 0 ? "#000000" : this.colorStops[0][1];
|
|
60534
60535
|
}, Q.isCanvasGradient = !0, Q;
|
|
@@ -60537,8 +60538,8 @@ function parseFontFamily(a) {
|
|
|
60537
60538
|
}, p.prototype.createRadialGradient = function() {
|
|
60538
60539
|
return this.createLinearGradient();
|
|
60539
60540
|
};
|
|
60540
|
-
var R = function(Q, ne,
|
|
60541
|
-
for (var Ve = Y.call(this,
|
|
60541
|
+
var R = function(Q, ne, xe, Ie, ve, _e, pe, Pe, De) {
|
|
60542
|
+
for (var Ve = Y.call(this, xe, Ie, ve, _e), Te = 0; Te < Ve.length; Te++) {
|
|
60542
60543
|
var He = Ve[Te];
|
|
60543
60544
|
Te === 0 && (De ? B.call(this, He.x1 + Q, He.y1 + ne) : U.call(this, He.x1 + Q, He.y1 + ne)), X.call(this, Q, ne, He.x2, He.y2, He.x3, He.y3, He.x4, He.y4);
|
|
60544
60545
|
}
|
|
@@ -60572,9 +60573,9 @@ function parseFontFamily(a) {
|
|
|
60572
60573
|
ne = "left";
|
|
60573
60574
|
break;
|
|
60574
60575
|
}
|
|
60575
|
-
var
|
|
60576
|
+
var xe = this.pdf.getTextDimensions(Q.text), Ie = I.call(this, Q.y), ve = A.call(this, Ie), _e = ve - xe.h, pe = this.ctx.transform.applyToPoint(new c(Q.x, Ie)), Pe = this.ctx.transform.decompose(), De = new u();
|
|
60576
60577
|
De = De.multiply(Pe.translate), De = De.multiply(Pe.skew), De = De.multiply(Pe.scale);
|
|
60577
|
-
for (var Ve = this.ctx.transform.applyToRectangle(new d(Q.x, Ie,
|
|
60578
|
+
for (var Ve = this.ctx.transform.applyToRectangle(new d(Q.x, Ie, xe.w, xe.h)), Te = De.applyToRectangle(new d(Q.x, _e, xe.w, xe.h)), He = v.call(this, Te), we = [], le = 0; le < He.length; le += 1)
|
|
60578
60579
|
we.indexOf(He[le]) === -1 && we.push(He[le]);
|
|
60579
60580
|
D(we);
|
|
60580
60581
|
var he, $, Ne;
|
|
@@ -60583,8 +60584,8 @@ function parseFontFamily(a) {
|
|
|
60583
60584
|
this.pdf.setPage(Me);
|
|
60584
60585
|
var ze = Me === 1 ? this.posY + this.margin[0] : this.margin[0], ot = this.pdf.internal.pageSize.height - this.posY - this.margin[0] - this.margin[2], ht = this.pdf.internal.pageSize.height - this.margin[2], bt = ht - this.margin[0], gt = this.pdf.internal.pageSize.width - this.margin[1], _t = gt - this.margin[3], pt = Me === 1 ? 0 : ot + (Me - 2) * bt, Tt = Q.charSpace ? parseFloat(Q.charSpace) : 0;
|
|
60585
60586
|
if (console$1.log(Tt, "--------------"), this.ctx.clip_path.length !== 0) {
|
|
60586
|
-
var
|
|
60587
|
-
he = JSON.parse(JSON.stringify(this.ctx.clip_path)), this.path = _(he, this.posX + this.margin[3], -1 * pt + ze), T.call(this, "fill", !0), this.path =
|
|
60587
|
+
var xt = this.path;
|
|
60588
|
+
he = JSON.parse(JSON.stringify(this.ctx.clip_path)), this.path = _(he, this.posX + this.margin[3], -1 * pt + ze), T.call(this, "fill", !0), this.path = xt;
|
|
60588
60589
|
}
|
|
60589
60590
|
var It = _([JSON.parse(JSON.stringify(Te))], this.posX + this.margin[3], -pt + ze + this.ctx.prevPageLastElemOffset)[0];
|
|
60590
60591
|
Q.scale >= 0.01 && ($ = this.pdf.internal.getFontSize(), this.pdf.setFontSize($ * Q.scale), Ne = this.lineWidth, this.lineWidth = Ne * Q.scale);
|
|
@@ -60606,7 +60607,7 @@ function parseFontFamily(a) {
|
|
|
60606
60607
|
}
|
|
60607
60608
|
else {
|
|
60608
60609
|
Q.scale >= 0.01 && ($ = this.pdf.internal.getFontSize(), this.pdf.setFontSize($ * Q.scale), Ne = this.lineWidth, this.lineWidth = Ne * Q.scale);
|
|
60609
|
-
let wr = Q.maxWidth -
|
|
60610
|
+
let wr = Q.maxWidth - xe.w, kt = 0;
|
|
60610
60611
|
wr > 2 && Q.bold && Q.maxWidth != 65535 && (kt = wr / Q.text.length);
|
|
60611
60612
|
var Tt = Q.charSpace ? parseFloat(Q.charSpace) : 0;
|
|
60612
60613
|
this.pdf.text(Q.text, pe.x + this.posX, pe.y + this.posY, {
|
|
@@ -60617,24 +60618,24 @@ function parseFontFamily(a) {
|
|
|
60617
60618
|
charSpace: Tt + kt
|
|
60618
60619
|
}), Q.scale >= 0.01 && (this.pdf.setFontSize($), this.lineWidth = Ne);
|
|
60619
60620
|
}
|
|
60620
|
-
}, U = function(Q, ne,
|
|
60621
|
-
|
|
60622
|
-
}, z = function(Q, ne,
|
|
60623
|
-
return this.pdf.lines(Q, ne,
|
|
60624
|
-
}, X = function(Q, ne,
|
|
60625
|
-
this.pdf.internal.out([r(s(
|
|
60626
|
-
}, Y = function(Q, ne,
|
|
60627
|
-
for (var ve = 1e-5, _e = Math.PI * 2, pe = Math.PI / 2; ne >
|
|
60621
|
+
}, U = function(Q, ne, xe, Ie) {
|
|
60622
|
+
xe = xe || 0, Ie = Ie || 0, this.pdf.internal.out(o(Q + xe) + " " + n(ne + Ie) + " l");
|
|
60623
|
+
}, z = function(Q, ne, xe) {
|
|
60624
|
+
return this.pdf.lines(Q, ne, xe, null, null);
|
|
60625
|
+
}, X = function(Q, ne, xe, Ie, ve, _e, pe, Pe) {
|
|
60626
|
+
this.pdf.internal.out([r(s(xe + Q)), r(l(Ie + ne)), r(s(ve + Q)), r(l(_e + ne)), r(s(pe + Q)), r(l(Pe + ne)), "c"].join(" "));
|
|
60627
|
+
}, Y = function(Q, ne, xe, Ie) {
|
|
60628
|
+
for (var ve = 1e-5, _e = Math.PI * 2, pe = Math.PI / 2; ne > xe; )
|
|
60628
60629
|
ne = ne - _e;
|
|
60629
|
-
var Pe = Math.abs(
|
|
60630
|
+
var Pe = Math.abs(xe - ne);
|
|
60630
60631
|
Pe < _e && Ie && (Pe = _e - Pe);
|
|
60631
60632
|
for (var De = [], Ve = Ie ? -1 : 1, Te = ne; Pe > ve; ) {
|
|
60632
60633
|
var He = Ve * Math.min(Pe, pe), we = Te + He;
|
|
60633
60634
|
De.push(G.call(this, Q, Te, we)), Pe -= Math.abs(we - Te), Te = we;
|
|
60634
60635
|
}
|
|
60635
60636
|
return De;
|
|
60636
|
-
}, G = function(Q, ne,
|
|
60637
|
-
var Ie = (
|
|
60637
|
+
}, G = function(Q, ne, xe) {
|
|
60638
|
+
var Ie = (xe - ne) / 2, ve = Q * Math.cos(Ie), _e = Q * Math.sin(Ie), pe = ve, Pe = -_e, De = pe * pe + Pe * Pe, Ve = De + pe * ve + Pe * _e, Te = 4 / 3 * (Math.sqrt(2 * De * Ve) - Ve) / (pe * _e - Pe * ve), He = pe - Te * Pe, we = Pe + Te * pe, le = He, he = -we, $ = Ie + ne, Ne = Math.cos($), Be = Math.sin($);
|
|
60638
60639
|
return {
|
|
60639
60640
|
x1: Q * Math.cos(ne),
|
|
60640
60641
|
y1: Q * Math.sin(ne),
|
|
@@ -60642,18 +60643,18 @@ function parseFontFamily(a) {
|
|
|
60642
60643
|
y2: He * Be + we * Ne,
|
|
60643
60644
|
x3: le * Ne - he * Be,
|
|
60644
60645
|
y3: le * Be + he * Ne,
|
|
60645
|
-
x4: Q * Math.cos(
|
|
60646
|
-
y4: Q * Math.sin(
|
|
60646
|
+
x4: Q * Math.cos(xe),
|
|
60647
|
+
y4: Q * Math.sin(xe)
|
|
60647
60648
|
};
|
|
60648
60649
|
}, J = function(Q) {
|
|
60649
60650
|
return Q * 180 / Math.PI;
|
|
60650
|
-
}, se = function(Q, ne,
|
|
60651
|
-
var pe = Q + (
|
|
60651
|
+
}, se = function(Q, ne, xe, Ie, ve, _e) {
|
|
60652
|
+
var pe = Q + (xe - Q) * 0.5, Pe = ne + (Ie - ne) * 0.5, De = ve + (xe - ve) * 0.5, Ve = _e + (Ie - _e) * 0.5, Te = Math.min(Q, ve, pe, De), He = Math.max(Q, ve, pe, De), we = Math.min(ne, _e, Pe, Ve), le = Math.max(ne, _e, Pe, Ve);
|
|
60652
60653
|
return new d(Te, we, He - Te, le - we);
|
|
60653
|
-
},
|
|
60654
|
-
var De =
|
|
60654
|
+
}, Ce = function(Q, ne, xe, Ie, ve, _e, pe, Pe) {
|
|
60655
|
+
var De = xe - Q, Ve = Ie - ne, Te = ve - xe, He = _e - Ie, we = pe - ve, le = Pe - _e, he = 40, $, Ne, Be, Qe, Me, ze, ot, ht, bt, gt, _t, pt, Tt, xt, It, St, Qt, At, or, wr, kt, Gt, ee, ae;
|
|
60655
60656
|
for (Ne = 0; Ne < he + 1; Ne++)
|
|
60656
|
-
$ = Ne / he, Be = Q + $ * De, Qe = ne + $ * Ve, Me =
|
|
60657
|
+
$ = Ne / he, Be = Q + $ * De, Qe = ne + $ * Ve, Me = xe + $ * Te, ze = Ie + $ * He, ot = ve + $ * we, ht = _e + $ * le, or = Me - Be, wr = ze - Qe, kt = ot - Me, Gt = ht - ze, _t = Be + $ * or, pt = Qe + $ * wr, bt = Me + $ * kt, gt = ze + $ * Gt, ee = bt - _t, ae = gt - pt, Tt = _t + $ * ee, xt = pt + $ * ae, Ne == 0 ? (It = Tt, St = xt, Qt = Tt, At = xt) : (It = Math.min(It, Tt), St = Math.min(St, xt), Qt = Math.max(Qt, Tt), At = Math.max(At, xt));
|
|
60657
60658
|
return new d(Math.round(It), Math.round(St), Math.round(Qt - It), Math.round(At - St));
|
|
60658
60659
|
}, oe = function(Q, ne) {
|
|
60659
60660
|
return JSON.stringify({
|
|
@@ -61474,7 +61475,7 @@ var PNG = function() {
|
|
|
61474
61475
|
return new Uint8Array(0);
|
|
61475
61476
|
d = unzlibSync(d);
|
|
61476
61477
|
function g(y, w, v, C) {
|
|
61477
|
-
var _, D, E, T, I, A, R, L, H, B, j, U, z, X, Y, G, J, se,
|
|
61478
|
+
var _, D, E, T, I, A, R, L, H, B, j, U, z, X, Y, G, J, se, Ce, oe, me, ue = Math.ceil((m.width - y) / v), Q = Math.ceil((m.height - w) / C), ne = m.width == ue && m.height == Q;
|
|
61478
61479
|
for (X = u * ue, U = ne ? f : new Uint8Array(X * Q), A = d.length, z = 0, D = 0; z < Q && p < A; ) {
|
|
61479
61480
|
switch (d[p++]) {
|
|
61480
61481
|
case 0:
|
|
@@ -61486,7 +61487,7 @@ var PNG = function() {
|
|
|
61486
61487
|
_ = d[p++], I = T < u ? 0 : U[D - u], U[D++] = (_ + I) % 256;
|
|
61487
61488
|
break;
|
|
61488
61489
|
case 2:
|
|
61489
|
-
for (T =
|
|
61490
|
+
for (T = Ce = 0; Ce < X; T = Ce += 1)
|
|
61490
61491
|
_ = d[p++], E = (T - T % u) / u, Y = z && U[(z - 1) * X + E * u + T % u], U[D++] = (Y + _) % 256;
|
|
61491
61492
|
break;
|
|
61492
61493
|
case 3:
|
|
@@ -61501,11 +61502,11 @@ var PNG = function() {
|
|
|
61501
61502
|
console$1.warn(`Invalid filter algorithm: ${d[p - 1], d[p]}--png格式图片只包含[01234]`);
|
|
61502
61503
|
}
|
|
61503
61504
|
if (!ne) {
|
|
61504
|
-
var
|
|
61505
|
+
var xe = ((w + z * C) * m.width + y) * u, Ie = z * X;
|
|
61505
61506
|
for (T = 0; T < ue; T += 1) {
|
|
61506
61507
|
for (var ve = 0; ve < u; ve += 1)
|
|
61507
|
-
f[
|
|
61508
|
-
|
|
61508
|
+
f[xe++] = U[Ie++];
|
|
61509
|
+
xe += (v - 1) * u;
|
|
61509
61510
|
}
|
|
61510
61511
|
}
|
|
61511
61512
|
z++;
|
|
@@ -61699,10 +61700,10 @@ var PNG = function() {
|
|
|
61699
61700
|
B = T.pixelBitlength == 32 ? new Uint32Array(T.decodePixels().buffer) : T.pixelBitlength == 16 ? new Uint16Array(T.decodePixels().buffer) : new Uint8Array(T.decodePixels().buffer), j = B.length, z = new Uint8Array(j * T.colors), U = new Uint8Array(j);
|
|
61700
61701
|
var se = T.pixelBitlength - T.bits;
|
|
61701
61702
|
G = 0, J = 0;
|
|
61702
|
-
for (var
|
|
61703
|
-
for (Y = B[G],
|
|
61704
|
-
z[J++] = Y >>>
|
|
61705
|
-
U[G] = Y >>>
|
|
61703
|
+
for (var Ce; G < j; G++) {
|
|
61704
|
+
for (Y = B[G], Ce = 0; Ce < se; )
|
|
61705
|
+
z[J++] = Y >>> Ce & 255, Ce = Ce + T.bits;
|
|
61706
|
+
U[G] = Y >>> Ce & 255;
|
|
61706
61707
|
}
|
|
61707
61708
|
}
|
|
61708
61709
|
if (T.bits === 16) {
|
|
@@ -61861,16 +61862,16 @@ function GifReader(a) {
|
|
|
61861
61862
|
}, this.decodeAndBlitFrameBGRA = function(X, Y) {
|
|
61862
61863
|
var G = this.frameInfo(X), J = G.width * G.height, se = new Uint8Array(J);
|
|
61863
61864
|
GifReaderLZWOutputIndexStream(a, G.data_offset, se, J);
|
|
61864
|
-
var
|
|
61865
|
+
var Ce = G.palette_offset, oe = G.transparent_index;
|
|
61865
61866
|
oe === null && (oe = 256);
|
|
61866
|
-
var me = G.width, ue = r - me, Q = me, ne = (G.y * r + G.x) * 4,
|
|
61867
|
+
var me = G.width, ue = r - me, Q = me, ne = (G.y * r + G.x) * 4, xe = ((G.y + G.height) * r + G.x) * 4, Ie = ne, ve = ue * 4;
|
|
61867
61868
|
G.interlaced === !0 && (ve += r * 4 * 7);
|
|
61868
61869
|
for (var _e = 8, pe = 0, Pe = se.length; pe < Pe; ++pe) {
|
|
61869
61870
|
var De = se[pe];
|
|
61870
|
-
if (Q === 0 && (Ie += ve, Q = me, Ie >=
|
|
61871
|
+
if (Q === 0 && (Ie += ve, Q = me, Ie >= xe && (ve = ue * 4 + r * 4 * (_e - 1), Ie = ne + (me + ue) * (_e << 1), _e >>= 1)), De === oe)
|
|
61871
61872
|
Ie += 4;
|
|
61872
61873
|
else {
|
|
61873
|
-
var Ve = a[
|
|
61874
|
+
var Ve = a[Ce + De * 3], Te = a[Ce + De * 3 + 1], He = a[Ce + De * 3 + 2];
|
|
61874
61875
|
Y[Ie++] = He, Y[Ie++] = Te, Y[Ie++] = Ve, Y[Ie++] = 255;
|
|
61875
61876
|
}
|
|
61876
61877
|
--Q;
|
|
@@ -61878,16 +61879,16 @@ function GifReader(a) {
|
|
|
61878
61879
|
}, this.decodeAndBlitFrameRGBA = function(X, Y) {
|
|
61879
61880
|
var G = this.frameInfo(X), J = G.width * G.height, se = new Uint8Array(J);
|
|
61880
61881
|
GifReaderLZWOutputIndexStream(a, G.data_offset, se, J);
|
|
61881
|
-
var
|
|
61882
|
+
var Ce = G.palette_offset, oe = G.transparent_index;
|
|
61882
61883
|
oe === null && (oe = 256);
|
|
61883
|
-
var me = G.width, ue = r - me, Q = me, ne = (G.y * r + G.x) * 4,
|
|
61884
|
+
var me = G.width, ue = r - me, Q = me, ne = (G.y * r + G.x) * 4, xe = ((G.y + G.height) * r + G.x) * 4, Ie = ne, ve = ue * 4;
|
|
61884
61885
|
G.interlaced === !0 && (ve += r * 4 * 7);
|
|
61885
61886
|
for (var _e = 8, pe = 0, Pe = se.length; pe < Pe; ++pe) {
|
|
61886
61887
|
var De = se[pe];
|
|
61887
|
-
if (Q === 0 && (Ie += ve, Q = me, Ie >=
|
|
61888
|
+
if (Q === 0 && (Ie += ve, Q = me, Ie >= xe && (ve = ue * 4 + r * 4 * (_e - 1), Ie = ne + (me + ue) * (_e << 1), _e >>= 1)), De === oe)
|
|
61888
61889
|
Y[Ie++] = 255, Y[Ie++] = 255, Y[Ie++] = 255, Y[Ie++] = 255;
|
|
61889
61890
|
else {
|
|
61890
|
-
var Ve = a[
|
|
61891
|
+
var Ve = a[Ce + De * 3], Te = a[Ce + De * 3 + 1], He = a[Ce + De * 3 + 2];
|
|
61891
61892
|
Y[Ie++] = Ve, Y[Ie++] = Te, Y[Ie++] = He, Y[Ie++] = 255;
|
|
61892
61893
|
}
|
|
61893
61894
|
--Q;
|
|
@@ -61987,7 +61988,7 @@ function JPEGEncoder(a) {
|
|
|
61987
61988
|
Te <<= 1, He <<= 1;
|
|
61988
61989
|
}
|
|
61989
61990
|
}
|
|
61990
|
-
function
|
|
61991
|
+
function Ce() {
|
|
61991
61992
|
for (var Te = 0; Te < 256; Te++)
|
|
61992
61993
|
T[Te] = 19595 * Te, T[Te + 256 >> 0] = 38470 * Te, T[Te + 512 >> 0] = 7471 * Te + 32768, T[Te + 768 >> 0] = -11059 * Te, T[Te + 1024 >> 0] = -21709 * Te, T[Te + 1280 >> 0] = 32768 * Te + 8421375, T[Te + 1536 >> 0] = -27439 * Te, T[Te + 1792 >> 0] = -5329 * Te;
|
|
61993
61994
|
}
|
|
@@ -62005,7 +62006,7 @@ function JPEGEncoder(a) {
|
|
|
62005
62006
|
var we, le, he, $, Ne, Be, Qe, Me, ze = 0, ot, ht = 8, bt = 64;
|
|
62006
62007
|
for (ot = 0; ot < ht; ++ot) {
|
|
62007
62008
|
we = Te[ze], le = Te[ze + 1], he = Te[ze + 2], $ = Te[ze + 3], Ne = Te[ze + 4], Be = Te[ze + 5], Qe = Te[ze + 6], Me = Te[ze + 7];
|
|
62008
|
-
var gt = we + Me, _t = we - Me, pt = le + Qe, Tt = le - Qe,
|
|
62009
|
+
var gt = we + Me, _t = we - Me, pt = le + Qe, Tt = le - Qe, xt = he + Be, It = he - Be, St = $ + Ne, Qt = $ - Ne, At = gt + St, or = gt - St, wr = pt + xt, kt = pt - xt;
|
|
62009
62010
|
Te[ze] = At + wr, Te[ze + 4] = At - wr;
|
|
62010
62011
|
var Gt = (kt + or) * 0.707106781;
|
|
62011
62012
|
Te[ze + 2] = or + Gt, Te[ze + 6] = or - Gt, At = Qt + It, wr = It + Tt, kt = Tt + _t;
|
|
@@ -62014,7 +62015,7 @@ function JPEGEncoder(a) {
|
|
|
62014
62015
|
}
|
|
62015
62016
|
for (ze = 0, ot = 0; ot < ht; ++ot) {
|
|
62016
62017
|
we = Te[ze], le = Te[ze + 8], he = Te[ze + 16], $ = Te[ze + 24], Ne = Te[ze + 32], Be = Te[ze + 40], Qe = Te[ze + 48], Me = Te[ze + 56];
|
|
62017
|
-
var Ut = we + Me, Jt = we - Me, nr = le + Qe, Et = le - Qe, Pt = he + Be, Ot = he - Be,
|
|
62018
|
+
var Ut = we + Me, Jt = we - Me, nr = le + Qe, Et = le - Qe, Pt = he + Be, Ot = he - Be, Cr = $ + Ne, Nr = $ - Ne, Xt = Ut + Cr, jt = Ut - Cr, tr = nr + Pt, Vt = nr - Pt;
|
|
62018
62019
|
Te[ze] = Xt + tr, Te[ze + 32] = Xt - tr;
|
|
62019
62020
|
var Zt = (Vt + jt) * 0.707106781;
|
|
62020
62021
|
Te[ze + 16] = jt + Zt, Te[ze + 48] = jt - Zt, Xt = Nr + Ot, tr = Ot + Et, Vt = Et + Jt;
|
|
@@ -62029,7 +62030,7 @@ function JPEGEncoder(a) {
|
|
|
62029
62030
|
function ne() {
|
|
62030
62031
|
ue(65504), ue(16), me(74), me(70), me(73), me(70), me(0), me(1), me(1), me(0), ue(1), ue(1), me(0), me(0);
|
|
62031
62032
|
}
|
|
62032
|
-
function
|
|
62033
|
+
function xe(Te, He) {
|
|
62033
62034
|
ue(65472), ue(17), me(8), ue(He), ue(Te), me(3), me(1), me(17), me(0), me(2), me(17), me(1), me(3), me(17), me(1);
|
|
62034
62035
|
}
|
|
62035
62036
|
function Ie() {
|
|
@@ -62077,14 +62078,14 @@ function JPEGEncoder(a) {
|
|
|
62077
62078
|
for (var _t = 1, pt; _t <= gt; ) {
|
|
62078
62079
|
for (var Tt = _t; g[_t] == 0 && _t <= gt; )
|
|
62079
62080
|
++_t;
|
|
62080
|
-
var
|
|
62081
|
-
if (
|
|
62082
|
-
pt =
|
|
62081
|
+
var xt = _t - Tt;
|
|
62082
|
+
if (xt >= Qe) {
|
|
62083
|
+
pt = xt >> 4;
|
|
62083
62084
|
for (var It = 1; It <= pt; ++It)
|
|
62084
62085
|
oe(Ne);
|
|
62085
|
-
|
|
62086
|
+
xt = xt & 15;
|
|
62086
62087
|
}
|
|
62087
|
-
Be = 32767 + g[_t], oe(he[(
|
|
62088
|
+
Be = 32767 + g[_t], oe(he[(xt << 4) + p[Be]]), oe(f[Be]), _t++;
|
|
62088
62089
|
}
|
|
62089
62090
|
return gt != Me && oe($), we;
|
|
62090
62091
|
}
|
|
@@ -62093,13 +62094,13 @@ function JPEGEncoder(a) {
|
|
|
62093
62094
|
E[He] = Te(He);
|
|
62094
62095
|
}
|
|
62095
62096
|
this.encode = function(Te, He) {
|
|
62096
|
-
He && De(He), y = new Array(), w = 0, v = 7, ue(65496), ne(), Ie(),
|
|
62097
|
+
He && De(He), y = new Array(), w = 0, v = 7, ue(65496), ne(), Ie(), xe(Te.width, Te.height), ve(), _e();
|
|
62097
62098
|
var we = 0, le = 0, he = 0;
|
|
62098
62099
|
w = 0, v = 7, this.encode.displayName = "_encode_";
|
|
62099
|
-
for (var $ = Te.data, Ne = Te.width, Be = Te.height, Qe = Ne * 4, Me, ze = 0, ot, ht, bt, gt, _t, pt, Tt,
|
|
62100
|
+
for (var $ = Te.data, Ne = Te.width, Be = Te.height, Qe = Ne * 4, Me, ze = 0, ot, ht, bt, gt, _t, pt, Tt, xt; ze < Be; ) {
|
|
62100
62101
|
for (Me = 0; Me < Qe; ) {
|
|
62101
|
-
for (gt = Qe * ze + Me, pt = -1, Tt = 0,
|
|
62102
|
-
Tt =
|
|
62102
|
+
for (gt = Qe * ze + Me, pt = -1, Tt = 0, xt = 0; xt < 64; xt++)
|
|
62103
|
+
Tt = xt >> 3, pt = (xt & 7) * 4, _t = gt + Tt * Qe + pt, ze + Tt >= Be && (_t -= Qe * (ze + 1 + Tt - Be)), Me + pt >= Qe && (_t -= Me + pt - Qe + 4), ot = $[_t++], ht = $[_t++], bt = $[_t++], C[xt] = (T[ot] + T[ht + 256 >> 0] + T[bt + 512 >> 0] >> 16) - 128, _[xt] = (T[ot + 768 >> 0] + T[ht + 1024 >> 0] + T[bt + 1280 >> 0] >> 16) - 128, D[xt] = (T[ot + 1280 >> 0] + T[ht + 1536 >> 0] + T[bt + 1792 >> 0] >> 16) - 128;
|
|
62103
62104
|
we = pe(C, n, we, l, d), le = pe(_, s, le, c, u), he = pe(D, s, he, c, u), Me += 32;
|
|
62104
62105
|
}
|
|
62105
62106
|
ze += 8;
|
|
@@ -62117,7 +62118,7 @@ function JPEGEncoder(a) {
|
|
|
62117
62118
|
}
|
|
62118
62119
|
}
|
|
62119
62120
|
function Ve() {
|
|
62120
|
-
a = a || 50, Pe(), J(), se(),
|
|
62121
|
+
a = a || 50, Pe(), J(), se(), Ce(), De(a);
|
|
62121
62122
|
}
|
|
62122
62123
|
Ve();
|
|
62123
62124
|
}
|
|
@@ -62296,8 +62297,8 @@ function WebPDecoder(a) {
|
|
|
62296
62297
|
}
|
|
62297
62298
|
function d(j, U) {
|
|
62298
62299
|
function z(Y, G, J) {
|
|
62299
|
-
for (var se = J[G],
|
|
62300
|
-
z(Y[
|
|
62300
|
+
for (var se = J[G], Ce = 0; Ce < se && (Y.push(J.length > G + 1 ? [] : new U()), !(J.length < G + 1)); Ce++)
|
|
62301
|
+
z(Y[Ce], G + 1, J);
|
|
62301
62302
|
}
|
|
62302
62303
|
var X = [];
|
|
62303
62304
|
return z(X, 0, j), X;
|
|
@@ -62359,7 +62360,7 @@ function WebPDecoder(a) {
|
|
|
62359
62360
|
function se() {
|
|
62360
62361
|
this.value = this.g = 0;
|
|
62361
62362
|
}
|
|
62362
|
-
function
|
|
62363
|
+
function Ce() {
|
|
62363
62364
|
this.G = l(5, J), this.H = s(5), this.jc = this.Qb = this.qb = this.nd = 0, this.pd = l(so, se);
|
|
62364
62365
|
}
|
|
62365
62366
|
function oe(N, F, k, O) {
|
|
@@ -62385,9 +62386,9 @@ function WebPDecoder(a) {
|
|
|
62385
62386
|
N.Ra >>>= 8, N.Ra += N.oa[N.pa + N.bb] << ao - 8 >>> 0, ++N.bb, N.u -= 8;
|
|
62386
62387
|
pe(N) && (N.h = 1, N.u = 0);
|
|
62387
62388
|
}
|
|
62388
|
-
function
|
|
62389
|
+
function xe(N, F) {
|
|
62389
62390
|
if (t(0 <= F), !N.h && F <= Ko) {
|
|
62390
|
-
var k = _e(N) &
|
|
62391
|
+
var k = _e(N) & Cn[F];
|
|
62391
62392
|
return N.u += F, ne(N), k;
|
|
62392
62393
|
}
|
|
62393
62394
|
return N.h = 1, N.u = 0;
|
|
@@ -62483,7 +62484,7 @@ function WebPDecoder(a) {
|
|
|
62483
62484
|
function Tt(N, F, k) {
|
|
62484
62485
|
return Math.abs(F - k) - Math.abs(N - k);
|
|
62485
62486
|
}
|
|
62486
|
-
function
|
|
62487
|
+
function xt(N, F, k, O, K, te, re) {
|
|
62487
62488
|
for (O = te[re - 1], k = 0; k < K; ++k)
|
|
62488
62489
|
te[re + k] = O = ot(N[F + k], O);
|
|
62489
62490
|
}
|
|
@@ -62592,12 +62593,12 @@ function WebPDecoder(a) {
|
|
|
62592
62593
|
var de = [0], Ee = N.ka;
|
|
62593
62594
|
de[0] = N.T, N.Kb && (Ee == 0 ? --de[0] : (--Ee, K[0] -= N.width), N.j + N.ka + N.T == N.o && (de[0] = N.o - N.j - Ee));
|
|
62594
62595
|
var fe = F.eb, Ee = F.fb + Ee * F.A;
|
|
62595
|
-
N =
|
|
62596
|
+
N = Cs(O, K[0], N.width, te, de, fe, Ee + (ie ? 0 : 3), F.A), t(k == de), N && Ue(re) && on(fe, Ee, ie, te, de, F.A);
|
|
62596
62597
|
}
|
|
62597
62598
|
return 0;
|
|
62598
62599
|
}
|
|
62599
|
-
function
|
|
62600
|
-
var F = N.ma, k = F.ba.S, O = 11 > k, K = k ==
|
|
62600
|
+
function Cr(N) {
|
|
62601
|
+
var F = N.ma, k = F.ba.S, O = 11 > k, K = k == xr || k == Xr || k == Ii || k == Bn || k == 12 || Ue(k);
|
|
62601
62602
|
if (F.memory = null, F.Ib = null, F.Jb = null, F.Nd = null, !Bi(F.Oa, N, K ? 11 : 12)) return 0;
|
|
62602
62603
|
if (K && Ue(k) && yr(), N.da) alert("todo:use_scaling");
|
|
62603
62604
|
else {
|
|
@@ -62626,12 +62627,12 @@ function WebPDecoder(a) {
|
|
|
62626
62627
|
N.ma.memory = null;
|
|
62627
62628
|
}
|
|
62628
62629
|
function jt(N, F, k, O) {
|
|
62629
|
-
return
|
|
62630
|
+
return xe(N, 8) != 47 ? 0 : (F[0] = xe(N, 14) + 1, k[0] = xe(N, 14) + 1, O[0] = xe(N, 1), xe(N, 3) != 0 ? 0 : !N.h);
|
|
62630
62631
|
}
|
|
62631
62632
|
function tr(N, F) {
|
|
62632
62633
|
if (4 > N) return N + 1;
|
|
62633
62634
|
var k = N - 2 >> 1;
|
|
62634
|
-
return (2 + (N & 1) << k) +
|
|
62635
|
+
return (2 + (N & 1) << k) + xe(F, k) + 1;
|
|
62635
62636
|
}
|
|
62636
62637
|
function Vt(N, F) {
|
|
62637
62638
|
if (120 < F) return F - 120;
|
|
@@ -62663,10 +62664,10 @@ function WebPDecoder(a) {
|
|
|
62663
62664
|
break;
|
|
62664
62665
|
case 0:
|
|
62665
62666
|
var et = fe, Ye = Ee, Ke = Oe, tt = de, st = ie, nt = et.Ea;
|
|
62666
|
-
Ye == 0 && (lo(Xe, qe, null, null, 1, tt, st),
|
|
62667
|
+
Ye == 0 && (lo(Xe, qe, null, null, 1, tt, st), xt(Xe, qe + 1, 0, 0, nt - 1, tt, st + 1), qe += nt, st += nt, ++Ye);
|
|
62667
62668
|
for (var yt = 1 << et.b, wt = yt - 1, Nt = ze(nt, et.b), Ft = et.K, et = et.w + (Ye >> et.b) * Nt; Ye < Ke; ) {
|
|
62668
62669
|
var pr = Ft, rr = et, ir = 1;
|
|
62669
|
-
for (
|
|
62670
|
+
for (xi(Xe, qe, tt, st - nt, 1, tt, st); ir < nt; ) {
|
|
62670
62671
|
var Ir = ai[pr[rr++] >> 8 & 15], Ar = (ir & ~wt) + yt;
|
|
62671
62672
|
Ar > nt && (Ar = nt), Ir(Xe, qe + +ir, tt, st + ir - nt, Ar - ir, tt, st + ir), ir = Ar;
|
|
62672
62673
|
}
|
|
@@ -62710,13 +62711,13 @@ function WebPDecoder(a) {
|
|
|
62710
62711
|
case Fr:
|
|
62711
62712
|
en(qe, Je, et, Ye, Ke);
|
|
62712
62713
|
break;
|
|
62713
|
-
case
|
|
62714
|
+
case xr:
|
|
62714
62715
|
Ei(qe, Je, et, Ye, Ke);
|
|
62715
62716
|
break;
|
|
62716
62717
|
case zn:
|
|
62717
62718
|
Ei(qe, Je, et, Ye, Ke), on(Ye, Ke, 0, et, 1, 0);
|
|
62718
62719
|
break;
|
|
62719
|
-
case
|
|
62720
|
+
case xn:
|
|
62720
62721
|
Hr(qe, Je, et, Ye, Ke);
|
|
62721
62722
|
break;
|
|
62722
62723
|
case Xr:
|
|
@@ -62840,17 +62841,17 @@ function WebPDecoder(a) {
|
|
|
62840
62841
|
function ni(N, F, k, O, K) {
|
|
62841
62842
|
var te = 1, re = [N], ie = [F], de = O.m, fe = O.s, Ee = null, Oe = 0;
|
|
62842
62843
|
e: for (; ; ) {
|
|
62843
|
-
if (k) for (; te &&
|
|
62844
|
-
var Xe = re, qe = ie, Je = O, et = 1, Ye = Je.m, Ke = Je.gc[Je.ab], tt =
|
|
62844
|
+
if (k) for (; te && xe(de, 1); ) {
|
|
62845
|
+
var Xe = re, qe = ie, Je = O, et = 1, Ye = Je.m, Ke = Je.gc[Je.ab], tt = xe(Ye, 2);
|
|
62845
62846
|
if (Je.Oc & 1 << tt) te = 0;
|
|
62846
62847
|
else {
|
|
62847
62848
|
switch (Je.Oc |= 1 << tt, Ke.hc = tt, Ke.Ea = Xe[0], Ke.nc = qe[0], Ke.K = [null], ++Je.ab, t(4 >= Je.ab), tt) {
|
|
62848
62849
|
case 0:
|
|
62849
62850
|
case 1:
|
|
62850
|
-
Ke.b =
|
|
62851
|
+
Ke.b = xe(Ye, 3) + 2, et = ni(ze(Ke.Ea, Ke.b), ze(Ke.nc, Ke.b), 0, Je, Ke.K), Ke.K = Ke.K[0];
|
|
62851
62852
|
break;
|
|
62852
62853
|
case 3:
|
|
62853
|
-
var st =
|
|
62854
|
+
var st = xe(Ye, 8) + 1, nt = 16 < st ? 0 : 4 < st ? 1 : 2 < st ? 2 : 3;
|
|
62854
62855
|
Xe[0] = ze(Ke.Ea, nt), Ke.b = nt;
|
|
62855
62856
|
var et = ni(st, 1, 0, Je, Ke.K), yt;
|
|
62856
62857
|
if (yt = et) {
|
|
@@ -62875,7 +62876,7 @@ function WebPDecoder(a) {
|
|
|
62875
62876
|
te = et;
|
|
62876
62877
|
}
|
|
62877
62878
|
}
|
|
62878
|
-
if (re = re[0], ie = ie[0], te &&
|
|
62879
|
+
if (re = re[0], ie = ie[0], te && xe(de, 1) && (Oe = xe(de, 4), te = 1 <= Oe && 11 >= Oe, !te)) {
|
|
62879
62880
|
O.a = 3;
|
|
62880
62881
|
break e;
|
|
62881
62882
|
}
|
|
@@ -62883,8 +62884,8 @@ function WebPDecoder(a) {
|
|
|
62883
62884
|
if (Ar = te) t: {
|
|
62884
62885
|
var zr = O, _i = re, _r = ie, ti = Oe, Fo = k, Wr, Tr, Jn = zr.m, an = zr.s, Io = [null], Ao, jr = 1, Zi = 0, ra = Gs[ti];
|
|
62885
62886
|
r: for (; ; ) {
|
|
62886
|
-
if (Fo &&
|
|
62887
|
-
var Kn =
|
|
62887
|
+
if (Fo && xe(Jn, 1)) {
|
|
62888
|
+
var Kn = xe(Jn, 3) + 2, Fs = ze(_i, Kn), Is = ze(_r, Kn), ia = Fs * Is;
|
|
62888
62889
|
if (!ni(Fs, Is, 0, zr, Io)) break r;
|
|
62889
62890
|
for (Io = Io[0], an.xc = Kn, Wr = 0; Wr < ia; ++Wr) {
|
|
62890
62891
|
var cn = Io[Wr] >> 8 & 65535;
|
|
@@ -62896,7 +62897,7 @@ function WebPDecoder(a) {
|
|
|
62896
62897
|
var ri = tn[Tr];
|
|
62897
62898
|
!Tr && 0 < ti && (ri += 1 << ti), Zi < ri && (Zi = ri);
|
|
62898
62899
|
}
|
|
62899
|
-
var Lo = l(jr * ra, J), er = jr, S = l(er,
|
|
62900
|
+
var Lo = l(jr * ra, J), er = jr, S = l(er, Ce);
|
|
62900
62901
|
if (S == null) var M = null;
|
|
62901
62902
|
else t(65536 >= er), M = S;
|
|
62902
62903
|
var Z = s(Zi);
|
|
@@ -62906,29 +62907,29 @@ function WebPDecoder(a) {
|
|
|
62906
62907
|
}
|
|
62907
62908
|
var q = Lo;
|
|
62908
62909
|
for (Wr = Ao = 0; Wr < jr; ++Wr) {
|
|
62909
|
-
var ce = M[Wr], Le = ce.G, $e = ce.H,
|
|
62910
|
+
var ce = M[Wr], Le = ce.G, $e = ce.H, Ct = 0, Mt = 1, qt = 0;
|
|
62910
62911
|
for (Tr = 0; 5 > Tr; ++Tr) {
|
|
62911
62912
|
ri = tn[Tr], Le[Tr] = q, $e[Tr] = Ao, !Tr && 0 < ti && (ri += 1 << ti);
|
|
62912
62913
|
o: {
|
|
62913
|
-
var Lr, ci = ri, di = zr, $n = Z,
|
|
62914
|
+
var Lr, ci = ri, di = zr, $n = Z, xa = q, ba = Ao, oa = 0, Mo = di.m, Pa = xe(Mo, 1);
|
|
62914
62915
|
if (n($n, 0, 0, ci), Pa) {
|
|
62915
|
-
var Na =
|
|
62916
|
-
$n[na] = 1, Na == 2 && (na =
|
|
62916
|
+
var Na = xe(Mo, 1) + 1, Ta = xe(Mo, 1), na = xe(Mo, Ta == 0 ? 1 : 8);
|
|
62917
|
+
$n[na] = 1, Na == 2 && (na = xe(Mo, 8), $n[na] = 1);
|
|
62917
62918
|
var As = 1;
|
|
62918
62919
|
} else {
|
|
62919
|
-
var ha = s(19), ua =
|
|
62920
|
+
var ha = s(19), ua = xe(Mo, 4) + 4;
|
|
62920
62921
|
if (19 < ua) {
|
|
62921
62922
|
di.a = 3;
|
|
62922
62923
|
var Ls = 0;
|
|
62923
62924
|
break o;
|
|
62924
62925
|
}
|
|
62925
62926
|
for (Lr = 0; Lr < ua; ++Lr)
|
|
62926
|
-
ha[Ys[Lr]] =
|
|
62927
|
+
ha[Ys[Lr]] = xe(Mo, 3);
|
|
62927
62928
|
var Ms = void 0, es = void 0, fa = di, Sa = ha, Rs = ci, pa = $n, sa = 0, Ro = fa.m, ga = 8, ma = l(128, J);
|
|
62928
62929
|
i: for (; ; ) {
|
|
62929
62930
|
if (!G(ma, 0, 7, Sa, 19)) break i;
|
|
62930
|
-
if (
|
|
62931
|
-
var Da = 2 + 2 *
|
|
62931
|
+
if (xe(Ro, 1)) {
|
|
62932
|
+
var Da = 2 + 2 * xe(Ro, 3), Ms = 2 + xe(Ro, Da);
|
|
62932
62933
|
if (Ms > Rs) break i;
|
|
62933
62934
|
} else Ms = Rs;
|
|
62934
62935
|
for (es = 0; es < Rs && Ms--; ) {
|
|
@@ -62938,7 +62939,7 @@ function WebPDecoder(a) {
|
|
|
62938
62939
|
var En = ya.value;
|
|
62939
62940
|
if (16 > En) pa[es++] = En, En != 0 && (ga = En);
|
|
62940
62941
|
else {
|
|
62941
|
-
var Ea = En == 16, va = En - 16, Fa = js[va], wa =
|
|
62942
|
+
var Ea = En == 16, va = En - 16, Fa = js[va], wa = xe(Ro, Ws[va]) + Fa;
|
|
62942
62943
|
if (es + wa > Rs) break i;
|
|
62943
62944
|
for (var Ia = Ea ? ga : 0; 0 < wa--; )
|
|
62944
62945
|
pa[es++] = Ia;
|
|
@@ -62949,17 +62950,17 @@ function WebPDecoder(a) {
|
|
|
62949
62950
|
}
|
|
62950
62951
|
sa || (fa.a = 3), As = sa;
|
|
62951
62952
|
}
|
|
62952
|
-
(As = As && !Mo.h) && (oa = G(
|
|
62953
|
+
(As = As && !Mo.h) && (oa = G(xa, ba, 8, $n, ci)), As && oa != 0 ? Ls = oa : (di.a = 3, Ls = 0);
|
|
62953
62954
|
}
|
|
62954
62955
|
if (Ls == 0) break r;
|
|
62955
|
-
if (Mt && Us[Tr] == 1 && (Mt = q[Ao].g == 0),
|
|
62956
|
+
if (Mt && Us[Tr] == 1 && (Mt = q[Ao].g == 0), Ct += q[Ao].g, Ao += Ls, 3 >= Tr) {
|
|
62956
62957
|
var aa = Z[0], ts;
|
|
62957
62958
|
for (ts = 1; ts < ri; ++ts)
|
|
62958
62959
|
Z[ts] > aa && (aa = Z[ts]);
|
|
62959
62960
|
qt += aa;
|
|
62960
62961
|
}
|
|
62961
62962
|
}
|
|
62962
|
-
if (ce.nd = Mt, ce.Qb = 0, Mt && (ce.qb = (Le[3][$e[3] + 0].value << 24 | Le[1][$e[1] + 0].value << 16 | Le[2][$e[2] + 0].value) >>> 0,
|
|
62963
|
+
if (ce.nd = Mt, ce.Qb = 0, Mt && (ce.qb = (Le[3][$e[3] + 0].value << 24 | Le[1][$e[1] + 0].value << 16 | Le[2][$e[2] + 0].value) >>> 0, Ct == 0 && 256 > Le[0][$e[0] + 0].value && (ce.Qb = 1, ce.qb += Le[0][$e[0] + 0].value << 8)), ce.jc = !ce.Qb && 6 > qt, ce.jc) {
|
|
62963
62964
|
var ks, po = ce;
|
|
62964
62965
|
for (ks = 0; ks < so; ++ks) {
|
|
62965
62966
|
var ko = ks, Ho = po.pd[ko], Hs = po.G[0][po.H[0] + ko];
|
|
@@ -62982,8 +62983,8 @@ function WebPDecoder(a) {
|
|
|
62982
62983
|
break e;
|
|
62983
62984
|
}
|
|
62984
62985
|
} else fe.ua = 0;
|
|
62985
|
-
var la = O,
|
|
62986
|
-
if (la.c =
|
|
62986
|
+
var la = O, Ca = re, Aa = ie, ca = la.s, da = ca.xc;
|
|
62987
|
+
if (la.c = Ca, la.i = Aa, ca.md = ze(Ca, da), ca.wc = da == 0 ? -1 : (1 << da) - 1, k) {
|
|
62987
62988
|
O.xb = Xs;
|
|
62988
62989
|
break e;
|
|
62989
62990
|
}
|
|
@@ -63004,7 +63005,7 @@ function WebPDecoder(a) {
|
|
|
63004
63005
|
var k = N.C, O = F - k, K = N.V, te = N.Ba + N.c * k;
|
|
63005
63006
|
for (t(F <= N.l.o); 0 < O; ) {
|
|
63006
63007
|
var re = 16 < O ? 16 : O, ie = N.l.ma, de = N.l.width, fe = de * re, Ee = ie.ca, Oe = ie.tb + de * k, Xe = N.Ta, qe = N.Ua;
|
|
63007
|
-
Rr(N, re, K, te),
|
|
63008
|
+
Rr(N, re, K, te), xs(Xe, qe, Ee, Oe, fe), Ur(ie, k, k + re, Ee, Oe, de), O -= re, K += re * N.c, k += re;
|
|
63008
63009
|
}
|
|
63009
63010
|
t(k == F), N.C = N.Ma = F;
|
|
63010
63011
|
}
|
|
@@ -63311,7 +63312,7 @@ function WebPDecoder(a) {
|
|
|
63311
63312
|
So[255 + k] = 0 > k ? 0 : 255 < k ? 255 : k;
|
|
63312
63313
|
Vr = 1;
|
|
63313
63314
|
}
|
|
63314
|
-
fo = Ki, Nn = Qi, Gn = Wo, Eo = Zr, Vn = Ji, ss = Pi, as = Qr, ls =
|
|
63315
|
+
fo = Ki, Nn = Qi, Gn = Wo, Eo = Zr, Vn = Ji, ss = Pi, as = Qr, ls = xo, cs = wn, ds = On, hs = bo, us = Zo, fs = Si, ps = ro, gs = Hi, ms = vn, ys = Ti, vs = wi, $r[0] = Rn, $r[1] = Pr, $r[2] = Ln, $r[3] = Mn, $r[4] = jo, $r[5] = yi, $r[6] = gn, $r[7] = Uo, $r[8] = mn, $r[9] = Yo, Ai[0] = mi, Ai[1] = un, Ai[2] = In, Ai[3] = An, Ai[4] = fn, Ai[5] = pn, Ai[6] = wo, Li[0] = kn, Li[1] = Fn, Li[2] = yn, Li[3] = $i, Li[4] = Ni, Li[5] = Hn, Li[6] = sr, k = 1;
|
|
63315
63316
|
} else k = 0;
|
|
63316
63317
|
}
|
|
63317
63318
|
k && (k = zt(N, F)), F.bc != null && F.bc(F), k &= 1;
|
|
@@ -63472,7 +63473,7 @@ function WebPDecoder(a) {
|
|
|
63472
63473
|
for (k = 0; 8 > k; ++k)
|
|
63473
63474
|
n(N, F, N[F - 1], 8), F += 32;
|
|
63474
63475
|
}
|
|
63475
|
-
function
|
|
63476
|
+
function Co(N, F, k) {
|
|
63476
63477
|
var O;
|
|
63477
63478
|
for (O = 0; 8 > O; ++O)
|
|
63478
63479
|
n(F, k + 32 * O, N, 8);
|
|
@@ -63481,22 +63482,22 @@ function WebPDecoder(a) {
|
|
|
63481
63482
|
var k = 8, O;
|
|
63482
63483
|
for (O = 0; 8 > O; ++O)
|
|
63483
63484
|
k += N[F + O - 32] + N[F - 1 + 32 * O];
|
|
63484
|
-
|
|
63485
|
+
Co(k >> 4, N, F);
|
|
63485
63486
|
}
|
|
63486
63487
|
function Hn(N, F) {
|
|
63487
63488
|
var k = 4, O;
|
|
63488
63489
|
for (O = 0; 8 > O; ++O)
|
|
63489
63490
|
k += N[F + O - 32];
|
|
63490
|
-
|
|
63491
|
+
Co(k >> 3, N, F);
|
|
63491
63492
|
}
|
|
63492
63493
|
function Ni(N, F) {
|
|
63493
63494
|
var k = 4, O;
|
|
63494
63495
|
for (O = 0; 8 > O; ++O)
|
|
63495
63496
|
k += N[F - 1 + 32 * O];
|
|
63496
|
-
|
|
63497
|
+
Co(k >> 3, N, F);
|
|
63497
63498
|
}
|
|
63498
63499
|
function sr(N, F) {
|
|
63499
|
-
|
|
63500
|
+
Co(128, N, F);
|
|
63500
63501
|
}
|
|
63501
63502
|
function vi(N, F, k) {
|
|
63502
63503
|
var O = N[F - k], K = N[F + 0], te = 3 * (K - O) + li[1020 + N[F - 2 * k] - N[F + k]], re = vr[112 + (te + 4 >> 3)];
|
|
@@ -63543,7 +63544,7 @@ function WebPDecoder(a) {
|
|
|
63543
63544
|
F += O;
|
|
63544
63545
|
}
|
|
63545
63546
|
}
|
|
63546
|
-
function
|
|
63547
|
+
function Ci(N, F, k, O, K, te, re, ie) {
|
|
63547
63548
|
for (te = 2 * te + 1; 0 < K--; ) {
|
|
63548
63549
|
if (to(N, F, k, te, re)) if (ki(N, F, k, ie)) vi(N, F, k);
|
|
63549
63550
|
else {
|
|
@@ -63556,18 +63557,18 @@ function WebPDecoder(a) {
|
|
|
63556
63557
|
function Qr(N, F, k, O, K, te) {
|
|
63557
63558
|
qr(N, F, k, 1, 16, O, K, te);
|
|
63558
63559
|
}
|
|
63559
|
-
function
|
|
63560
|
+
function xo(N, F, k, O, K, te) {
|
|
63560
63561
|
qr(N, F, 1, k, 16, O, K, te);
|
|
63561
63562
|
}
|
|
63562
63563
|
function bo(N, F, k, O, K, te) {
|
|
63563
63564
|
var re;
|
|
63564
63565
|
for (re = 3; 0 < re; --re)
|
|
63565
|
-
F += 4 * k,
|
|
63566
|
+
F += 4 * k, Ci(N, F, k, 1, 16, O, K, te);
|
|
63566
63567
|
}
|
|
63567
63568
|
function Zo(N, F, k, O, K, te) {
|
|
63568
63569
|
var re;
|
|
63569
63570
|
for (re = 3; 0 < re; --re)
|
|
63570
|
-
F += 4,
|
|
63571
|
+
F += 4, Ci(N, F, 1, k, 16, O, K, te);
|
|
63571
63572
|
}
|
|
63572
63573
|
function wn(N, F, k, O, K, te, re, ie) {
|
|
63573
63574
|
qr(N, F, K, 1, 8, te, re, ie), qr(k, O, K, 1, 8, te, re, ie);
|
|
@@ -63576,10 +63577,10 @@ function WebPDecoder(a) {
|
|
|
63576
63577
|
qr(N, F, 1, K, 8, te, re, ie), qr(k, O, 1, K, 8, te, re, ie);
|
|
63577
63578
|
}
|
|
63578
63579
|
function Si(N, F, k, O, K, te, re, ie) {
|
|
63579
|
-
|
|
63580
|
+
Ci(N, F + 4 * K, K, 1, 8, te, re, ie), Ci(k, O + 4 * K, K, 1, 8, te, re, ie);
|
|
63580
63581
|
}
|
|
63581
63582
|
function ro(N, F, k, O, K, te, re, ie) {
|
|
63582
|
-
|
|
63583
|
+
Ci(N, F + 4, 1, K, 8, te, re, ie), Ci(k, O + 4, 1, K, 8, te, re, ie);
|
|
63583
63584
|
}
|
|
63584
63585
|
function Go() {
|
|
63585
63586
|
this.ba = new Ut(), this.ec = [], this.cc = [], this.Mc = [], this.Dc = this.Nc = this.dc = this.fc = 0, this.Oa = new nr(), this.memory = 0, this.Ib = "OutputFunc", this.Jb = "OutputAlphaFunc", this.Nd = "OutputRowFunc";
|
|
@@ -63591,7 +63592,7 @@ function WebPDecoder(a) {
|
|
|
63591
63592
|
this.nc = this.Ea = this.b = this.hc = 0, this.K = [], this.w = 0;
|
|
63592
63593
|
}
|
|
63593
63594
|
function W() {
|
|
63594
|
-
this.ua = 0, this.Wa = new Qe(), this.vb = new Qe(), this.md = this.xc = this.wc = 0, this.vc = [], this.Wb = 0, this.Ya = new
|
|
63595
|
+
this.ua = 0, this.Wa = new Qe(), this.vb = new Qe(), this.md = this.xc = this.wc = 0, this.vc = [], this.Wb = 0, this.Ya = new Ce(), this.yc = new J();
|
|
63595
63596
|
}
|
|
63596
63597
|
function V() {
|
|
63597
63598
|
this.xb = this.a = 0, this.l = new Re(), this.ca = new Ut(), this.V = [], this.Ba = 0, this.Ta = [], this.Ua = 0, this.m = new ve(), this.Pb = 0, this.wd = new ve(), this.Ma = this.$ = this.C = this.i = this.c = this.xd = 0, this.s = new W(), this.ab = 0, this.gc = l(4, Vo), this.Oc = 0;
|
|
@@ -63631,7 +63632,7 @@ function WebPDecoder(a) {
|
|
|
63631
63632
|
var ie = N.Fa, de = N.P, fe = N.qc, Ee = N.mb, Oe = N.nb, Xe = de + 1, qe = fe - 1, Je = re.l;
|
|
63632
63633
|
if (t(ie != null && Ee != null && F != null), Ui[0] = null, Ui[1] = Fe, Ui[2] = We, Ui[3] = Ze, re.ca = Ee, re.tb = Oe, re.c = F.width, re.i = F.height, t(0 < re.c && 0 < re.i), 1 >= fe) F = 0;
|
|
63633
63634
|
else if (re.$a = ie[de + 0] >> 0 & 3, re.Z = ie[de + 0] >> 2 & 3, re.Lc = ie[de + 0] >> 4 & 3, de = ie[de + 0] >> 6 & 3, 0 > re.$a || 1 < re.$a || 4 <= re.Z || 1 < re.Lc || de) F = 0;
|
|
63634
|
-
else if (Je.put = Nr, Je.ac =
|
|
63635
|
+
else if (Je.put = Nr, Je.ac = Cr, Je.bc = Xt, Je.ma = re, Je.width = F.width, Je.height = F.height, Je.Da = F.Da, Je.v = F.v, Je.va = F.va, Je.j = F.j, Je.o = F.o, re.$a) e: {
|
|
63635
63636
|
t(re.$a == 1), F = ui();
|
|
63636
63637
|
t: for (; ; ) {
|
|
63637
63638
|
if (F == null) {
|
|
@@ -63739,7 +63740,7 @@ function WebPDecoder(a) {
|
|
|
63739
63740
|
k[O + te] = N[F + te] >> 8;
|
|
63740
63741
|
}
|
|
63741
63742
|
function Kt() {
|
|
63742
|
-
on = ft, Tn = mt,
|
|
63743
|
+
on = ft, Tn = mt, Cs = Bt, xs = Ht;
|
|
63743
63744
|
}
|
|
63744
63745
|
function $t(N, F, k) {
|
|
63745
63746
|
U[N] = function(O, K, te, re, ie, de, fe, Ee, Oe, Xe, qe, Je, et, Ye, Ke, tt, st) {
|
|
@@ -63754,7 +63755,7 @@ function WebPDecoder(a) {
|
|
|
63754
63755
|
};
|
|
63755
63756
|
}
|
|
63756
63757
|
function yr() {
|
|
63757
|
-
ei[Fr] = Xn, ei[
|
|
63758
|
+
ei[Fr] = Xn, ei[xr] = bs, ei[xn] = Sn, ei[Xr] = _s, ei[Ii] = Ps, ei[Bn] = Ns, ei[rs] = qs, ei[zn] = bs, ei[Wn] = _s, ei[bn] = Ps, ei[jn] = Ns;
|
|
63758
63759
|
}
|
|
63759
63760
|
function Sr(N) {
|
|
63760
63761
|
return N & -16384 ? 0 > N ? 0 : 255 : N >> Ts;
|
|
@@ -64035,7 +64036,7 @@ function WebPDecoder(a) {
|
|
|
64035
64036
|
}
|
|
64036
64037
|
return N != 0 || k != null && k.fd && (N = Er(O)), N;
|
|
64037
64038
|
}
|
|
64038
|
-
var so = 64,
|
|
64039
|
+
var so = 64, Cn = [0, 1, 3, 7, 15, 31, 63, 127, 255, 511, 1023, 2047, 4095, 8191, 16383, 32767, 65535, 131071, 262143, 524287, 1048575, 2097151, 4194303, 8388607, 16777215], Ko = 24, ao = 32, No = 8, Kr = [0, 0, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7];
|
|
64039
64040
|
ht("Predictor0", "PredictorAdd0"), U.Predictor0 = function() {
|
|
64040
64041
|
return 4278190080;
|
|
64041
64042
|
}, U.Predictor1 = function(N) {
|
|
@@ -64069,8 +64070,8 @@ function WebPDecoder(a) {
|
|
|
64069
64070
|
return N = gt(N, F[k + 0]), (pt(N >> 24 & 255, O >> 24 & 255) << 24 | pt(N >> 16 & 255, O >> 16 & 255) << 16 | pt(N >> 8 & 255, O >> 8 & 255) << 8 | pt(N >> 0 & 255, O >> 0 & 255)) >>> 0;
|
|
64070
64071
|
};
|
|
64071
64072
|
var lo = U.PredictorAdd0;
|
|
64072
|
-
U.PredictorAdd1 =
|
|
64073
|
-
var
|
|
64073
|
+
U.PredictorAdd1 = xt, ht("Predictor2", "PredictorAdd2"), ht("Predictor3", "PredictorAdd3"), ht("Predictor4", "PredictorAdd4"), ht("Predictor5", "PredictorAdd5"), ht("Predictor6", "PredictorAdd6"), ht("Predictor7", "PredictorAdd7"), ht("Predictor8", "PredictorAdd8"), ht("Predictor9", "PredictorAdd9"), ht("Predictor10", "PredictorAdd10"), ht("Predictor11", "PredictorAdd11"), ht("Predictor12", "PredictorAdd12"), ht("Predictor13", "PredictorAdd13");
|
|
64074
|
+
var xi = U.PredictorAdd2;
|
|
64074
64075
|
At("ColorIndexInverseTransform", "MapARGB", "32b", function(N) {
|
|
64075
64076
|
return N >> 8 & 255;
|
|
64076
64077
|
}, function(N) {
|
|
@@ -64082,13 +64083,13 @@ function WebPDecoder(a) {
|
|
|
64082
64083
|
});
|
|
64083
64084
|
var co = U.ColorIndexInverseTransform, bi = U.MapARGB, zi = U.VP8LColorIndexInverseTransformAlpha, Wi = U.MapAlpha, To, ai = U.VP8LPredictorsAdd = [];
|
|
64084
64085
|
ai.length = 16, (U.VP8LPredictors = []).length = 16, (U.VP8LPredictorsAdd_C = []).length = 16, (U.VP8LPredictors_C = []).length = 16;
|
|
64085
|
-
var $o, en, Ei, ho, uo, Hr, Gr = s(511), Fi = s(2041), ji = s(225), So = s(767), Vr = 0, li = Fi, vr = ji, ar = So, dr = Gr, Fr = 0, Cr = 1, Cn = 2, Xr = 3, Ii = 4, Bn = 5, rs = 6, zn = 7, Wn = 8, bn = 9, jn = 10, Ws = [2, 3, 7], js = [3, 3, 11], tn = [280, 256, 256, 256, 40], Us = [0, 1, 1, 1, 0], Ys = [17, 18, 0, 1, 2, 3, 4, 5, 16, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], Zs = [24, 7, 23, 25, 40, 6, 39, 41, 22, 26, 38, 42, 56, 5, 55, 57, 21, 27, 54, 58, 37, 43, 72, 4, 71, 73, 20, 28, 53, 59, 70, 74, 36, 44, 88, 69, 75, 52, 60, 3, 87, 89, 19, 29, 86, 90, 35, 45, 68, 76, 85, 91, 51, 61, 104, 2, 103, 105, 18, 30, 102, 106, 34, 46, 84, 92, 67, 77, 101, 107, 50, 62, 120, 1, 119, 121, 83, 93, 17, 31, 100, 108, 66, 78, 118, 122, 33, 47, 117, 123, 49, 63, 99, 109, 82, 94, 0, 116, 124, 65, 79, 16, 32, 98, 110, 48, 115, 125, 81, 95, 64, 114, 126, 97, 111, 80, 113, 127, 96, 112], Gs = [2954, 2956, 2958, 2962, 2970, 2986, 3018, 3082, 3212, 3468, 3980, 5004], Vs = 8, Un = [4, 5, 6, 7, 8, 9, 10, 10, 11, 12, 13, 14, 15, 16, 17, 17, 18, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 25, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 91, 93, 95, 96, 98, 100, 101, 102, 104, 106, 108, 110, 112, 114, 116, 118, 122, 124, 126, 128, 130, 132, 134, 136, 138, 140, 143, 145, 148, 151, 154, 157], Yn = [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 82, 84, 86, 88, 90, 92, 94, 96, 98, 100, 102, 104, 106, 108, 110, 112, 114, 116, 119, 122, 125, 128, 131, 134, 137, 140, 143, 146, 149, 152, 155, 158, 161, 164, 167, 170, 173, 177, 181, 185, 189, 193, 197, 201, 205, 209, 213, 217, 221, 225, 229, 234, 239, 245, 249, 254, 259, 264, 269, 274, 279, 284], rn = null, is = [[173, 148, 140, 0], [176, 155, 140, 135, 0], [180, 157, 141, 134, 130, 0], [254, 254, 243, 230, 196, 177, 153, 140, 133, 130, 129, 0]], os = [0, 1, 4, 8, 5, 2, 3, 6, 9, 12, 13, 10, 7, 11, 14, 15], Zn = [-0, 1, -1, 2, -2, 3, 4, 6, -3, 5, -4, -5, -6, 7, -7, 8, -8, -9], _n = [[[[128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128]], [[253, 136, 254, 255, 228, 219, 128, 128, 128, 128, 128], [189, 129, 242, 255, 227, 213, 255, 219, 128, 128, 128], [106, 126, 227, 252, 214, 209, 255, 255, 128, 128, 128]], [[1, 98, 248, 255, 236, 226, 255, 255, 128, 128, 128], [181, 133, 238, 254, 221, 234, 255, 154, 128, 128, 128], [78, 134, 202, 247, 198, 180, 255, 219, 128, 128, 128]], [[1, 185, 249, 255, 243, 255, 128, 128, 128, 128, 128], [184, 150, 247, 255, 236, 224, 128, 128, 128, 128, 128], [77, 110, 216, 255, 236, 230, 128, 128, 128, 128, 128]], [[1, 101, 251, 255, 241, 255, 128, 128, 128, 128, 128], [170, 139, 241, 252, 236, 209, 255, 255, 128, 128, 128], [37, 116, 196, 243, 228, 255, 255, 255, 128, 128, 128]], [[1, 204, 254, 255, 245, 255, 128, 128, 128, 128, 128], [207, 160, 250, 255, 238, 128, 128, 128, 128, 128, 128], [102, 103, 231, 255, 211, 171, 128, 128, 128, 128, 128]], [[1, 152, 252, 255, 240, 255, 128, 128, 128, 128, 128], [177, 135, 243, 255, 234, 225, 128, 128, 128, 128, 128], [80, 129, 211, 255, 194, 224, 128, 128, 128, 128, 128]], [[1, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [246, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [255, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128]]], [[[198, 35, 237, 223, 193, 187, 162, 160, 145, 155, 62], [131, 45, 198, 221, 172, 176, 220, 157, 252, 221, 1], [68, 47, 146, 208, 149, 167, 221, 162, 255, 223, 128]], [[1, 149, 241, 255, 221, 224, 255, 255, 128, 128, 128], [184, 141, 234, 253, 222, 220, 255, 199, 128, 128, 128], [81, 99, 181, 242, 176, 190, 249, 202, 255, 255, 128]], [[1, 129, 232, 253, 214, 197, 242, 196, 255, 255, 128], [99, 121, 210, 250, 201, 198, 255, 202, 128, 128, 128], [23, 91, 163, 242, 170, 187, 247, 210, 255, 255, 128]], [[1, 200, 246, 255, 234, 255, 128, 128, 128, 128, 128], [109, 178, 241, 255, 231, 245, 255, 255, 128, 128, 128], [44, 130, 201, 253, 205, 192, 255, 255, 128, 128, 128]], [[1, 132, 239, 251, 219, 209, 255, 165, 128, 128, 128], [94, 136, 225, 251, 218, 190, 255, 255, 128, 128, 128], [22, 100, 174, 245, 186, 161, 255, 199, 128, 128, 128]], [[1, 182, 249, 255, 232, 235, 128, 128, 128, 128, 128], [124, 143, 241, 255, 227, 234, 128, 128, 128, 128, 128], [35, 77, 181, 251, 193, 211, 255, 205, 128, 128, 128]], [[1, 157, 247, 255, 236, 231, 255, 255, 128, 128, 128], [121, 141, 235, 255, 225, 227, 255, 255, 128, 128, 128], [45, 99, 188, 251, 195, 217, 255, 224, 128, 128, 128]], [[1, 1, 251, 255, 213, 255, 128, 128, 128, 128, 128], [203, 1, 248, 255, 255, 128, 128, 128, 128, 128, 128], [137, 1, 177, 255, 224, 255, 128, 128, 128, 128, 128]]], [[[253, 9, 248, 251, 207, 208, 255, 192, 128, 128, 128], [175, 13, 224, 243, 193, 185, 249, 198, 255, 255, 128], [73, 17, 171, 221, 161, 179, 236, 167, 255, 234, 128]], [[1, 95, 247, 253, 212, 183, 255, 255, 128, 128, 128], [239, 90, 244, 250, 211, 209, 255, 255, 128, 128, 128], [155, 77, 195, 248, 188, 195, 255, 255, 128, 128, 128]], [[1, 24, 239, 251, 218, 219, 255, 205, 128, 128, 128], [201, 51, 219, 255, 196, 186, 128, 128, 128, 128, 128], [69, 46, 190, 239, 201, 218, 255, 228, 128, 128, 128]], [[1, 191, 251, 255, 255, 128, 128, 128, 128, 128, 128], [223, 165, 249, 255, 213, 255, 128, 128, 128, 128, 128], [141, 124, 248, 255, 255, 128, 128, 128, 128, 128, 128]], [[1, 16, 248, 255, 255, 128, 128, 128, 128, 128, 128], [190, 36, 230, 255, 236, 255, 128, 128, 128, 128, 128], [149, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128]], [[1, 226, 255, 128, 128, 128, 128, 128, 128, 128, 128], [247, 192, 255, 128, 128, 128, 128, 128, 128, 128, 128], [240, 128, 255, 128, 128, 128, 128, 128, 128, 128, 128]], [[1, 134, 252, 255, 255, 128, 128, 128, 128, 128, 128], [213, 62, 250, 255, 255, 128, 128, 128, 128, 128, 128], [55, 93, 255, 128, 128, 128, 128, 128, 128, 128, 128]], [[128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128]]], [[[202, 24, 213, 235, 186, 191, 220, 160, 240, 175, 255], [126, 38, 182, 232, 169, 184, 228, 174, 255, 187, 128], [61, 46, 138, 219, 151, 178, 240, 170, 255, 216, 128]], [[1, 112, 230, 250, 199, 191, 247, 159, 255, 255, 128], [166, 109, 228, 252, 211, 215, 255, 174, 128, 128, 128], [39, 77, 162, 232, 172, 180, 245, 178, 255, 255, 128]], [[1, 52, 220, 246, 198, 199, 249, 220, 255, 255, 128], [124, 74, 191, 243, 183, 193, 250, 221, 255, 255, 128], [24, 71, 130, 219, 154, 170, 243, 182, 255, 255, 128]], [[1, 182, 225, 249, 219, 240, 255, 224, 128, 128, 128], [149, 150, 226, 252, 216, 205, 255, 171, 128, 128, 128], [28, 108, 170, 242, 183, 194, 254, 223, 255, 255, 128]], [[1, 81, 230, 252, 204, 203, 255, 192, 128, 128, 128], [123, 102, 209, 247, 188, 196, 255, 233, 128, 128, 128], [20, 95, 153, 243, 164, 173, 255, 203, 128, 128, 128]], [[1, 222, 248, 255, 216, 213, 128, 128, 128, 128, 128], [168, 175, 246, 252, 235, 205, 255, 255, 128, 128, 128], [47, 116, 215, 255, 211, 212, 255, 255, 128, 128, 128]], [[1, 121, 236, 253, 212, 214, 255, 255, 128, 128, 128], [141, 84, 213, 252, 201, 202, 255, 219, 128, 128, 128], [42, 80, 160, 240, 162, 185, 255, 205, 128, 128, 128]], [[1, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [244, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [238, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128]]]], Do = [[[231, 120, 48, 89, 115, 113, 120, 152, 112], [152, 179, 64, 126, 170, 118, 46, 70, 95], [175, 69, 143, 80, 85, 82, 72, 155, 103], [56, 58, 10, 171, 218, 189, 17, 13, 152], [114, 26, 17, 163, 44, 195, 21, 10, 173], [121, 24, 80, 195, 26, 62, 44, 64, 85], [144, 71, 10, 38, 171, 213, 144, 34, 26], [170, 46, 55, 19, 136, 160, 33, 206, 71], [63, 20, 8, 114, 114, 208, 12, 9, 226], [81, 40, 11, 96, 182, 84, 29, 16, 36]], [[134, 183, 89, 137, 98, 101, 106, 165, 148], [72, 187, 100, 130, 157, 111, 32, 75, 80], [66, 102, 167, 99, 74, 62, 40, 234, 128], [41, 53, 9, 178, 241, 141, 26, 8, 107], [74, 43, 26, 146, 73, 166, 49, 23, 157], [65, 38, 105, 160, 51, 52, 31, 115, 128], [104, 79, 12, 27, 217, 255, 87, 17, 7], [87, 68, 71, 44, 114, 51, 15, 186, 23], [47, 41, 14, 110, 182, 183, 21, 17, 194], [66, 45, 25, 102, 197, 189, 23, 18, 22]], [[88, 88, 147, 150, 42, 46, 45, 196, 205], [43, 97, 183, 117, 85, 38, 35, 179, 61], [39, 53, 200, 87, 26, 21, 43, 232, 171], [56, 34, 51, 104, 114, 102, 29, 93, 77], [39, 28, 85, 171, 58, 165, 90, 98, 64], [34, 22, 116, 206, 23, 34, 43, 166, 73], [107, 54, 32, 26, 51, 1, 81, 43, 31], [68, 25, 106, 22, 64, 171, 36, 225, 114], [34, 19, 21, 102, 132, 188, 16, 76, 124], [62, 18, 78, 95, 85, 57, 50, 48, 51]], [[193, 101, 35, 159, 215, 111, 89, 46, 111], [60, 148, 31, 172, 219, 228, 21, 18, 111], [112, 113, 77, 85, 179, 255, 38, 120, 114], [40, 42, 1, 196, 245, 209, 10, 25, 109], [88, 43, 29, 140, 166, 213, 37, 43, 154], [61, 63, 30, 155, 67, 45, 68, 1, 209], [100, 80, 8, 43, 154, 1, 51, 26, 71], [142, 78, 78, 16, 255, 128, 34, 197, 171], [41, 40, 5, 102, 211, 183, 4, 1, 221], [51, 50, 17, 168, 209, 192, 23, 25, 82]], [[138, 31, 36, 171, 27, 166, 38, 44, 229], [67, 87, 58, 169, 82, 115, 26, 59, 179], [63, 59, 90, 180, 59, 166, 93, 73, 154], [40, 40, 21, 116, 143, 209, 34, 39, 175], [47, 15, 16, 183, 34, 223, 49, 45, 183], [46, 17, 33, 183, 6, 98, 15, 32, 183], [57, 46, 22, 24, 128, 1, 54, 17, 37], [65, 32, 73, 115, 28, 128, 23, 128, 205], [40, 3, 9, 115, 51, 192, 18, 6, 223], [87, 37, 9, 115, 59, 77, 64, 21, 47]], [[104, 55, 44, 218, 9, 54, 53, 130, 226], [64, 90, 70, 205, 40, 41, 23, 26, 57], [54, 57, 112, 184, 5, 41, 38, 166, 213], [30, 34, 26, 133, 152, 116, 10, 32, 134], [39, 19, 53, 221, 26, 114, 32, 73, 255], [31, 9, 65, 234, 2, 15, 1, 118, 73], [75, 32, 12, 51, 192, 255, 160, 43, 51], [88, 31, 35, 67, 102, 85, 55, 186, 85], [56, 21, 23, 111, 59, 205, 45, 37, 192], [55, 38, 70, 124, 73, 102, 1, 34, 98]], [[125, 98, 42, 88, 104, 85, 117, 175, 82], [95, 84, 53, 89, 128, 100, 113, 101, 45], [75, 79, 123, 47, 51, 128, 81, 171, 1], [57, 17, 5, 71, 102, 57, 53, 41, 49], [38, 33, 13, 121, 57, 73, 26, 1, 85], [41, 10, 67, 138, 77, 110, 90, 47, 114], [115, 21, 2, 10, 102, 255, 166, 23, 6], [101, 29, 16, 10, 85, 128, 101, 196, 26], [57, 18, 10, 102, 102, 213, 34, 20, 43], [117, 20, 15, 36, 163, 128, 68, 1, 26]], [[102, 61, 71, 37, 34, 53, 31, 243, 192], [69, 60, 71, 38, 73, 119, 28, 222, 37], [68, 45, 128, 34, 1, 47, 11, 245, 171], [62, 17, 19, 70, 146, 85, 55, 62, 70], [37, 43, 37, 154, 100, 163, 85, 160, 1], [63, 9, 92, 136, 28, 64, 32, 201, 85], [75, 15, 9, 9, 64, 255, 184, 119, 16], [86, 6, 28, 5, 64, 255, 25, 248, 1], [56, 8, 17, 132, 137, 255, 55, 116, 128], [58, 15, 20, 82, 135, 57, 26, 121, 40]], [[164, 50, 31, 137, 154, 133, 25, 35, 218], [51, 103, 44, 131, 131, 123, 31, 6, 158], [86, 40, 64, 135, 148, 224, 45, 183, 128], [22, 26, 17, 131, 240, 154, 14, 1, 209], [45, 16, 21, 91, 64, 222, 7, 1, 197], [56, 21, 39, 155, 60, 138, 23, 102, 213], [83, 12, 13, 54, 192, 255, 68, 47, 28], [85, 26, 85, 85, 128, 128, 32, 146, 171], [18, 11, 7, 63, 144, 171, 4, 4, 246], [35, 27, 10, 146, 174, 171, 12, 26, 128]], [[190, 80, 35, 99, 180, 80, 126, 54, 45], [85, 126, 47, 87, 176, 51, 41, 20, 32], [101, 75, 128, 139, 118, 146, 116, 128, 85], [56, 41, 15, 176, 236, 85, 37, 9, 62], [71, 30, 17, 119, 118, 255, 17, 18, 138], [101, 38, 60, 138, 55, 70, 43, 26, 142], [146, 36, 19, 30, 171, 255, 97, 27, 20], [138, 45, 61, 62, 219, 1, 81, 188, 64], [32, 41, 20, 117, 151, 142, 20, 21, 163], [112, 19, 12, 61, 195, 128, 48, 4, 24]]], Pn = [[[[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[176, 246, 255, 255, 255, 255, 255, 255, 255, 255, 255], [223, 241, 252, 255, 255, 255, 255, 255, 255, 255, 255], [249, 253, 253, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 244, 252, 255, 255, 255, 255, 255, 255, 255, 255], [234, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [253, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 246, 254, 255, 255, 255, 255, 255, 255, 255, 255], [239, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 248, 254, 255, 255, 255, 255, 255, 255, 255, 255], [251, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [251, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 253, 255, 254, 255, 255, 255, 255, 255, 255], [250, 255, 254, 255, 254, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]], [[[217, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [225, 252, 241, 253, 255, 255, 254, 255, 255, 255, 255], [234, 250, 241, 250, 253, 255, 253, 254, 255, 255, 255]], [[255, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [223, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [238, 253, 254, 254, 255, 255, 255, 255, 255, 255, 255]], [[255, 248, 254, 255, 255, 255, 255, 255, 255, 255, 255], [249, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 255, 255, 255, 255, 255, 255, 255, 255, 255], [247, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [252, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [253, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 253, 255, 255, 255, 255, 255, 255, 255, 255], [250, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]], [[[186, 251, 250, 255, 255, 255, 255, 255, 255, 255, 255], [234, 251, 244, 254, 255, 255, 255, 255, 255, 255, 255], [251, 251, 243, 253, 254, 255, 254, 255, 255, 255, 255]], [[255, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [236, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [251, 253, 253, 254, 254, 255, 255, 255, 255, 255, 255]], [[255, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [254, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]], [[[248, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [250, 254, 252, 254, 255, 255, 255, 255, 255, 255, 255], [248, 254, 249, 253, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 253, 255, 255, 255, 255, 255, 255, 255, 255], [246, 253, 253, 255, 255, 255, 255, 255, 255, 255, 255], [252, 254, 251, 254, 254, 255, 255, 255, 255, 255, 255]], [[255, 254, 252, 255, 255, 255, 255, 255, 255, 255, 255], [248, 254, 253, 255, 255, 255, 255, 255, 255, 255, 255], [253, 255, 254, 254, 255, 255, 255, 255, 255, 255, 255]], [[255, 251, 254, 255, 255, 255, 255, 255, 255, 255, 255], [245, 251, 254, 255, 255, 255, 255, 255, 255, 255, 255], [253, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 251, 253, 255, 255, 255, 255, 255, 255, 255, 255], [252, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 252, 255, 255, 255, 255, 255, 255, 255, 255, 255], [249, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 253, 255, 255, 255, 255, 255, 255, 255, 255], [250, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]]], ns = [0, 1, 2, 3, 6, 4, 5, 6, 6, 6, 6, 6, 6, 6, 6, 7, 0], fo, Ai = [], $r = [], Li = [], Nn, ss, Gn, Eo, Vn, as, ls, cs, ds, hs, us, fs, ps, gs, ms, ys, vs, Xs = 1, ws = 2, Ui = [], on, Tn, xs, Cs, ei = [];
|
|
64086
|
+
var $o, en, Ei, ho, uo, Hr, Gr = s(511), Fi = s(2041), ji = s(225), So = s(767), Vr = 0, li = Fi, vr = ji, ar = So, dr = Gr, Fr = 0, xr = 1, xn = 2, Xr = 3, Ii = 4, Bn = 5, rs = 6, zn = 7, Wn = 8, bn = 9, jn = 10, Ws = [2, 3, 7], js = [3, 3, 11], tn = [280, 256, 256, 256, 40], Us = [0, 1, 1, 1, 0], Ys = [17, 18, 0, 1, 2, 3, 4, 5, 16, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], Zs = [24, 7, 23, 25, 40, 6, 39, 41, 22, 26, 38, 42, 56, 5, 55, 57, 21, 27, 54, 58, 37, 43, 72, 4, 71, 73, 20, 28, 53, 59, 70, 74, 36, 44, 88, 69, 75, 52, 60, 3, 87, 89, 19, 29, 86, 90, 35, 45, 68, 76, 85, 91, 51, 61, 104, 2, 103, 105, 18, 30, 102, 106, 34, 46, 84, 92, 67, 77, 101, 107, 50, 62, 120, 1, 119, 121, 83, 93, 17, 31, 100, 108, 66, 78, 118, 122, 33, 47, 117, 123, 49, 63, 99, 109, 82, 94, 0, 116, 124, 65, 79, 16, 32, 98, 110, 48, 115, 125, 81, 95, 64, 114, 126, 97, 111, 80, 113, 127, 96, 112], Gs = [2954, 2956, 2958, 2962, 2970, 2986, 3018, 3082, 3212, 3468, 3980, 5004], Vs = 8, Un = [4, 5, 6, 7, 8, 9, 10, 10, 11, 12, 13, 14, 15, 16, 17, 17, 18, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 25, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 91, 93, 95, 96, 98, 100, 101, 102, 104, 106, 108, 110, 112, 114, 116, 118, 122, 124, 126, 128, 130, 132, 134, 136, 138, 140, 143, 145, 148, 151, 154, 157], Yn = [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 82, 84, 86, 88, 90, 92, 94, 96, 98, 100, 102, 104, 106, 108, 110, 112, 114, 116, 119, 122, 125, 128, 131, 134, 137, 140, 143, 146, 149, 152, 155, 158, 161, 164, 167, 170, 173, 177, 181, 185, 189, 193, 197, 201, 205, 209, 213, 217, 221, 225, 229, 234, 239, 245, 249, 254, 259, 264, 269, 274, 279, 284], rn = null, is = [[173, 148, 140, 0], [176, 155, 140, 135, 0], [180, 157, 141, 134, 130, 0], [254, 254, 243, 230, 196, 177, 153, 140, 133, 130, 129, 0]], os = [0, 1, 4, 8, 5, 2, 3, 6, 9, 12, 13, 10, 7, 11, 14, 15], Zn = [-0, 1, -1, 2, -2, 3, 4, 6, -3, 5, -4, -5, -6, 7, -7, 8, -8, -9], _n = [[[[128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128]], [[253, 136, 254, 255, 228, 219, 128, 128, 128, 128, 128], [189, 129, 242, 255, 227, 213, 255, 219, 128, 128, 128], [106, 126, 227, 252, 214, 209, 255, 255, 128, 128, 128]], [[1, 98, 248, 255, 236, 226, 255, 255, 128, 128, 128], [181, 133, 238, 254, 221, 234, 255, 154, 128, 128, 128], [78, 134, 202, 247, 198, 180, 255, 219, 128, 128, 128]], [[1, 185, 249, 255, 243, 255, 128, 128, 128, 128, 128], [184, 150, 247, 255, 236, 224, 128, 128, 128, 128, 128], [77, 110, 216, 255, 236, 230, 128, 128, 128, 128, 128]], [[1, 101, 251, 255, 241, 255, 128, 128, 128, 128, 128], [170, 139, 241, 252, 236, 209, 255, 255, 128, 128, 128], [37, 116, 196, 243, 228, 255, 255, 255, 128, 128, 128]], [[1, 204, 254, 255, 245, 255, 128, 128, 128, 128, 128], [207, 160, 250, 255, 238, 128, 128, 128, 128, 128, 128], [102, 103, 231, 255, 211, 171, 128, 128, 128, 128, 128]], [[1, 152, 252, 255, 240, 255, 128, 128, 128, 128, 128], [177, 135, 243, 255, 234, 225, 128, 128, 128, 128, 128], [80, 129, 211, 255, 194, 224, 128, 128, 128, 128, 128]], [[1, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [246, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [255, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128]]], [[[198, 35, 237, 223, 193, 187, 162, 160, 145, 155, 62], [131, 45, 198, 221, 172, 176, 220, 157, 252, 221, 1], [68, 47, 146, 208, 149, 167, 221, 162, 255, 223, 128]], [[1, 149, 241, 255, 221, 224, 255, 255, 128, 128, 128], [184, 141, 234, 253, 222, 220, 255, 199, 128, 128, 128], [81, 99, 181, 242, 176, 190, 249, 202, 255, 255, 128]], [[1, 129, 232, 253, 214, 197, 242, 196, 255, 255, 128], [99, 121, 210, 250, 201, 198, 255, 202, 128, 128, 128], [23, 91, 163, 242, 170, 187, 247, 210, 255, 255, 128]], [[1, 200, 246, 255, 234, 255, 128, 128, 128, 128, 128], [109, 178, 241, 255, 231, 245, 255, 255, 128, 128, 128], [44, 130, 201, 253, 205, 192, 255, 255, 128, 128, 128]], [[1, 132, 239, 251, 219, 209, 255, 165, 128, 128, 128], [94, 136, 225, 251, 218, 190, 255, 255, 128, 128, 128], [22, 100, 174, 245, 186, 161, 255, 199, 128, 128, 128]], [[1, 182, 249, 255, 232, 235, 128, 128, 128, 128, 128], [124, 143, 241, 255, 227, 234, 128, 128, 128, 128, 128], [35, 77, 181, 251, 193, 211, 255, 205, 128, 128, 128]], [[1, 157, 247, 255, 236, 231, 255, 255, 128, 128, 128], [121, 141, 235, 255, 225, 227, 255, 255, 128, 128, 128], [45, 99, 188, 251, 195, 217, 255, 224, 128, 128, 128]], [[1, 1, 251, 255, 213, 255, 128, 128, 128, 128, 128], [203, 1, 248, 255, 255, 128, 128, 128, 128, 128, 128], [137, 1, 177, 255, 224, 255, 128, 128, 128, 128, 128]]], [[[253, 9, 248, 251, 207, 208, 255, 192, 128, 128, 128], [175, 13, 224, 243, 193, 185, 249, 198, 255, 255, 128], [73, 17, 171, 221, 161, 179, 236, 167, 255, 234, 128]], [[1, 95, 247, 253, 212, 183, 255, 255, 128, 128, 128], [239, 90, 244, 250, 211, 209, 255, 255, 128, 128, 128], [155, 77, 195, 248, 188, 195, 255, 255, 128, 128, 128]], [[1, 24, 239, 251, 218, 219, 255, 205, 128, 128, 128], [201, 51, 219, 255, 196, 186, 128, 128, 128, 128, 128], [69, 46, 190, 239, 201, 218, 255, 228, 128, 128, 128]], [[1, 191, 251, 255, 255, 128, 128, 128, 128, 128, 128], [223, 165, 249, 255, 213, 255, 128, 128, 128, 128, 128], [141, 124, 248, 255, 255, 128, 128, 128, 128, 128, 128]], [[1, 16, 248, 255, 255, 128, 128, 128, 128, 128, 128], [190, 36, 230, 255, 236, 255, 128, 128, 128, 128, 128], [149, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128]], [[1, 226, 255, 128, 128, 128, 128, 128, 128, 128, 128], [247, 192, 255, 128, 128, 128, 128, 128, 128, 128, 128], [240, 128, 255, 128, 128, 128, 128, 128, 128, 128, 128]], [[1, 134, 252, 255, 255, 128, 128, 128, 128, 128, 128], [213, 62, 250, 255, 255, 128, 128, 128, 128, 128, 128], [55, 93, 255, 128, 128, 128, 128, 128, 128, 128, 128]], [[128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128]]], [[[202, 24, 213, 235, 186, 191, 220, 160, 240, 175, 255], [126, 38, 182, 232, 169, 184, 228, 174, 255, 187, 128], [61, 46, 138, 219, 151, 178, 240, 170, 255, 216, 128]], [[1, 112, 230, 250, 199, 191, 247, 159, 255, 255, 128], [166, 109, 228, 252, 211, 215, 255, 174, 128, 128, 128], [39, 77, 162, 232, 172, 180, 245, 178, 255, 255, 128]], [[1, 52, 220, 246, 198, 199, 249, 220, 255, 255, 128], [124, 74, 191, 243, 183, 193, 250, 221, 255, 255, 128], [24, 71, 130, 219, 154, 170, 243, 182, 255, 255, 128]], [[1, 182, 225, 249, 219, 240, 255, 224, 128, 128, 128], [149, 150, 226, 252, 216, 205, 255, 171, 128, 128, 128], [28, 108, 170, 242, 183, 194, 254, 223, 255, 255, 128]], [[1, 81, 230, 252, 204, 203, 255, 192, 128, 128, 128], [123, 102, 209, 247, 188, 196, 255, 233, 128, 128, 128], [20, 95, 153, 243, 164, 173, 255, 203, 128, 128, 128]], [[1, 222, 248, 255, 216, 213, 128, 128, 128, 128, 128], [168, 175, 246, 252, 235, 205, 255, 255, 128, 128, 128], [47, 116, 215, 255, 211, 212, 255, 255, 128, 128, 128]], [[1, 121, 236, 253, 212, 214, 255, 255, 128, 128, 128], [141, 84, 213, 252, 201, 202, 255, 219, 128, 128, 128], [42, 80, 160, 240, 162, 185, 255, 205, 128, 128, 128]], [[1, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [244, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [238, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128]]]], Do = [[[231, 120, 48, 89, 115, 113, 120, 152, 112], [152, 179, 64, 126, 170, 118, 46, 70, 95], [175, 69, 143, 80, 85, 82, 72, 155, 103], [56, 58, 10, 171, 218, 189, 17, 13, 152], [114, 26, 17, 163, 44, 195, 21, 10, 173], [121, 24, 80, 195, 26, 62, 44, 64, 85], [144, 71, 10, 38, 171, 213, 144, 34, 26], [170, 46, 55, 19, 136, 160, 33, 206, 71], [63, 20, 8, 114, 114, 208, 12, 9, 226], [81, 40, 11, 96, 182, 84, 29, 16, 36]], [[134, 183, 89, 137, 98, 101, 106, 165, 148], [72, 187, 100, 130, 157, 111, 32, 75, 80], [66, 102, 167, 99, 74, 62, 40, 234, 128], [41, 53, 9, 178, 241, 141, 26, 8, 107], [74, 43, 26, 146, 73, 166, 49, 23, 157], [65, 38, 105, 160, 51, 52, 31, 115, 128], [104, 79, 12, 27, 217, 255, 87, 17, 7], [87, 68, 71, 44, 114, 51, 15, 186, 23], [47, 41, 14, 110, 182, 183, 21, 17, 194], [66, 45, 25, 102, 197, 189, 23, 18, 22]], [[88, 88, 147, 150, 42, 46, 45, 196, 205], [43, 97, 183, 117, 85, 38, 35, 179, 61], [39, 53, 200, 87, 26, 21, 43, 232, 171], [56, 34, 51, 104, 114, 102, 29, 93, 77], [39, 28, 85, 171, 58, 165, 90, 98, 64], [34, 22, 116, 206, 23, 34, 43, 166, 73], [107, 54, 32, 26, 51, 1, 81, 43, 31], [68, 25, 106, 22, 64, 171, 36, 225, 114], [34, 19, 21, 102, 132, 188, 16, 76, 124], [62, 18, 78, 95, 85, 57, 50, 48, 51]], [[193, 101, 35, 159, 215, 111, 89, 46, 111], [60, 148, 31, 172, 219, 228, 21, 18, 111], [112, 113, 77, 85, 179, 255, 38, 120, 114], [40, 42, 1, 196, 245, 209, 10, 25, 109], [88, 43, 29, 140, 166, 213, 37, 43, 154], [61, 63, 30, 155, 67, 45, 68, 1, 209], [100, 80, 8, 43, 154, 1, 51, 26, 71], [142, 78, 78, 16, 255, 128, 34, 197, 171], [41, 40, 5, 102, 211, 183, 4, 1, 221], [51, 50, 17, 168, 209, 192, 23, 25, 82]], [[138, 31, 36, 171, 27, 166, 38, 44, 229], [67, 87, 58, 169, 82, 115, 26, 59, 179], [63, 59, 90, 180, 59, 166, 93, 73, 154], [40, 40, 21, 116, 143, 209, 34, 39, 175], [47, 15, 16, 183, 34, 223, 49, 45, 183], [46, 17, 33, 183, 6, 98, 15, 32, 183], [57, 46, 22, 24, 128, 1, 54, 17, 37], [65, 32, 73, 115, 28, 128, 23, 128, 205], [40, 3, 9, 115, 51, 192, 18, 6, 223], [87, 37, 9, 115, 59, 77, 64, 21, 47]], [[104, 55, 44, 218, 9, 54, 53, 130, 226], [64, 90, 70, 205, 40, 41, 23, 26, 57], [54, 57, 112, 184, 5, 41, 38, 166, 213], [30, 34, 26, 133, 152, 116, 10, 32, 134], [39, 19, 53, 221, 26, 114, 32, 73, 255], [31, 9, 65, 234, 2, 15, 1, 118, 73], [75, 32, 12, 51, 192, 255, 160, 43, 51], [88, 31, 35, 67, 102, 85, 55, 186, 85], [56, 21, 23, 111, 59, 205, 45, 37, 192], [55, 38, 70, 124, 73, 102, 1, 34, 98]], [[125, 98, 42, 88, 104, 85, 117, 175, 82], [95, 84, 53, 89, 128, 100, 113, 101, 45], [75, 79, 123, 47, 51, 128, 81, 171, 1], [57, 17, 5, 71, 102, 57, 53, 41, 49], [38, 33, 13, 121, 57, 73, 26, 1, 85], [41, 10, 67, 138, 77, 110, 90, 47, 114], [115, 21, 2, 10, 102, 255, 166, 23, 6], [101, 29, 16, 10, 85, 128, 101, 196, 26], [57, 18, 10, 102, 102, 213, 34, 20, 43], [117, 20, 15, 36, 163, 128, 68, 1, 26]], [[102, 61, 71, 37, 34, 53, 31, 243, 192], [69, 60, 71, 38, 73, 119, 28, 222, 37], [68, 45, 128, 34, 1, 47, 11, 245, 171], [62, 17, 19, 70, 146, 85, 55, 62, 70], [37, 43, 37, 154, 100, 163, 85, 160, 1], [63, 9, 92, 136, 28, 64, 32, 201, 85], [75, 15, 9, 9, 64, 255, 184, 119, 16], [86, 6, 28, 5, 64, 255, 25, 248, 1], [56, 8, 17, 132, 137, 255, 55, 116, 128], [58, 15, 20, 82, 135, 57, 26, 121, 40]], [[164, 50, 31, 137, 154, 133, 25, 35, 218], [51, 103, 44, 131, 131, 123, 31, 6, 158], [86, 40, 64, 135, 148, 224, 45, 183, 128], [22, 26, 17, 131, 240, 154, 14, 1, 209], [45, 16, 21, 91, 64, 222, 7, 1, 197], [56, 21, 39, 155, 60, 138, 23, 102, 213], [83, 12, 13, 54, 192, 255, 68, 47, 28], [85, 26, 85, 85, 128, 128, 32, 146, 171], [18, 11, 7, 63, 144, 171, 4, 4, 246], [35, 27, 10, 146, 174, 171, 12, 26, 128]], [[190, 80, 35, 99, 180, 80, 126, 54, 45], [85, 126, 47, 87, 176, 51, 41, 20, 32], [101, 75, 128, 139, 118, 146, 116, 128, 85], [56, 41, 15, 176, 236, 85, 37, 9, 62], [71, 30, 17, 119, 118, 255, 17, 18, 138], [101, 38, 60, 138, 55, 70, 43, 26, 142], [146, 36, 19, 30, 171, 255, 97, 27, 20], [138, 45, 61, 62, 219, 1, 81, 188, 64], [32, 41, 20, 117, 151, 142, 20, 21, 163], [112, 19, 12, 61, 195, 128, 48, 4, 24]]], Pn = [[[[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[176, 246, 255, 255, 255, 255, 255, 255, 255, 255, 255], [223, 241, 252, 255, 255, 255, 255, 255, 255, 255, 255], [249, 253, 253, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 244, 252, 255, 255, 255, 255, 255, 255, 255, 255], [234, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [253, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 246, 254, 255, 255, 255, 255, 255, 255, 255, 255], [239, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 248, 254, 255, 255, 255, 255, 255, 255, 255, 255], [251, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [251, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 253, 255, 254, 255, 255, 255, 255, 255, 255], [250, 255, 254, 255, 254, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]], [[[217, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [225, 252, 241, 253, 255, 255, 254, 255, 255, 255, 255], [234, 250, 241, 250, 253, 255, 253, 254, 255, 255, 255]], [[255, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [223, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [238, 253, 254, 254, 255, 255, 255, 255, 255, 255, 255]], [[255, 248, 254, 255, 255, 255, 255, 255, 255, 255, 255], [249, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 255, 255, 255, 255, 255, 255, 255, 255, 255], [247, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [252, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [253, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 253, 255, 255, 255, 255, 255, 255, 255, 255], [250, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]], [[[186, 251, 250, 255, 255, 255, 255, 255, 255, 255, 255], [234, 251, 244, 254, 255, 255, 255, 255, 255, 255, 255], [251, 251, 243, 253, 254, 255, 254, 255, 255, 255, 255]], [[255, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [236, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [251, 253, 253, 254, 254, 255, 255, 255, 255, 255, 255]], [[255, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [254, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]], [[[248, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [250, 254, 252, 254, 255, 255, 255, 255, 255, 255, 255], [248, 254, 249, 253, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 253, 255, 255, 255, 255, 255, 255, 255, 255], [246, 253, 253, 255, 255, 255, 255, 255, 255, 255, 255], [252, 254, 251, 254, 254, 255, 255, 255, 255, 255, 255]], [[255, 254, 252, 255, 255, 255, 255, 255, 255, 255, 255], [248, 254, 253, 255, 255, 255, 255, 255, 255, 255, 255], [253, 255, 254, 254, 255, 255, 255, 255, 255, 255, 255]], [[255, 251, 254, 255, 255, 255, 255, 255, 255, 255, 255], [245, 251, 254, 255, 255, 255, 255, 255, 255, 255, 255], [253, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 251, 253, 255, 255, 255, 255, 255, 255, 255, 255], [252, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 252, 255, 255, 255, 255, 255, 255, 255, 255, 255], [249, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 253, 255, 255, 255, 255, 255, 255, 255, 255], [250, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]]], ns = [0, 1, 2, 3, 6, 4, 5, 6, 6, 6, 6, 6, 6, 6, 6, 7, 0], fo, Ai = [], $r = [], Li = [], Nn, ss, Gn, Eo, Vn, as, ls, cs, ds, hs, us, fs, ps, gs, ms, ys, vs, Xs = 1, ws = 2, Ui = [], on, Tn, Cs, xs, ei = [];
|
|
64086
64087
|
$t("UpsampleRgbLinePair", Oi, 3), $t("UpsampleBgrLinePair", _o, 3), $t("UpsampleRgbaLinePair", Qo, 4), $t("UpsampleBgraLinePair", io, 4), $t("UpsampleArgbLinePair", qo, 4), $t("UpsampleRgba4444LinePair", Xo, 2), $t("UpsampleRgb565LinePair", fr, 2);
|
|
64087
64088
|
var Xn = U.UpsampleRgbLinePair, Sn = U.UpsampleBgrLinePair, bs = U.UpsampleRgbaLinePair, _s = U.UpsampleBgraLinePair, Ps = U.UpsampleArgbLinePair, Ns = U.UpsampleRgba4444LinePair, qs = U.UpsampleRgb565LinePair, Dn = 16, nn = 1 << Dn - 1, sn = -227, qn = 482, Ts = 6, Ss = 0, Qs = s(256), Js = s(256), Yi = s(256), Ds = s(256), Ks = s(qn - sn), $s = s(qn - sn);
|
|
64088
64089
|
Dr("YuvToRgbRow", Oi, 3), Dr("YuvToBgrRow", _o, 3), Dr("YuvToRgbaRow", Qo, 4), Dr("YuvToBgraRow", io, 4), Dr("YuvToArgbRow", qo, 4), Dr("YuvToRgba4444Row", Xo, 2), Dr("YuvToRgb565Row", fr, 2);
|
|
64089
64090
|
var Es = [0, 4, 8, 12, 128, 132, 136, 140, 256, 260, 264, 268, 384, 388, 392, 396], dt = [0, 2, 8], ea = [8, 7, 6, 4, 4, 2, 2, 2, 1, 1, 1, 1], ta = 1;
|
|
64090
64091
|
this.WebPDecodeRGBA = function(N, F, k, O, K) {
|
|
64091
|
-
var te =
|
|
64092
|
+
var te = xr, re = new Go(), ie = new Ut();
|
|
64092
64093
|
re.ba = ie, ie.S = te, ie.width = [ie.width], ie.height = [ie.height];
|
|
64093
64094
|
var de = ie.width, fe = ie.height, Ee = new Jt();
|
|
64094
64095
|
if (Ee == null || N == null) var Oe = 2;
|
|
@@ -64097,7 +64098,7 @@ function WebPDecoder(a) {
|
|
|
64097
64098
|
ie.width = ie.width[0], ie.height = ie.height[0], O != null && (O[0] = ie.width), K != null && (K[0] = ie.height);
|
|
64098
64099
|
e: {
|
|
64099
64100
|
if (O = new Re(), K = new Di(), K.data = N, K.w = F, K.ha = k, K.kd = 1, F = [0], t(K != null), N = Jo(K.data, K.w, K.ha, null, null, null, F, null, K), (N == 0 || N == 7) && F[0] && (N = 4), F = N, F == 0) {
|
|
64100
|
-
if (t(re != null), O.data = K.data, O.w = K.w + K.offset, O.ha = K.ha - K.offset, O.put = Nr, O.ac =
|
|
64101
|
+
if (t(re != null), O.data = K.data, O.w = K.w + K.offset, O.ha = K.ha - K.offset, O.put = Nr, O.ac = Cr, O.bc = Xt, O.ma = re, K.xa) {
|
|
64101
64102
|
if (N = ui(), N == null) {
|
|
64102
64103
|
re = 1;
|
|
64103
64104
|
break e;
|
|
@@ -64196,15 +64197,15 @@ function WebPDecoder(a) {
|
|
|
64196
64197
|
for (U += 4, y(j, U) + 8, U += 8; U < j.length; ) {
|
|
64197
64198
|
var se = p(j, U);
|
|
64198
64199
|
U += 4;
|
|
64199
|
-
var
|
|
64200
|
+
var Ce = y(j, U);
|
|
64200
64201
|
U += 4;
|
|
64201
|
-
var oe =
|
|
64202
|
+
var oe = Ce + (Ce & 1);
|
|
64202
64203
|
switch (se) {
|
|
64203
64204
|
case "VP8 ":
|
|
64204
64205
|
case "VP8L":
|
|
64205
64206
|
typeof z.frames[X] > "u" && (z.frames[X] = {});
|
|
64206
64207
|
var Q = z.frames[X];
|
|
64207
|
-
Q.src_off = Y ? J : U - 8, Q.src_size = G +
|
|
64208
|
+
Q.src_off = Y ? J : U - 8, Q.src_size = G + Ce + 8, X++, Y && (Y = !1, G = 0, J = 0);
|
|
64208
64209
|
break;
|
|
64209
64210
|
case "VP8X":
|
|
64210
64211
|
var Q = z.header = {};
|
|
@@ -64743,7 +64744,7 @@ WebPDecoder.prototype.getData = function() {
|
|
|
64743
64744
|
(function(a) {
|
|
64744
64745
|
function t() {
|
|
64745
64746
|
return function() {
|
|
64746
|
-
return globalObject.canvg ? Promise.resolve(globalObject.canvg) : import("./index.es-
|
|
64747
|
+
return globalObject.canvg ? Promise.resolve(globalObject.canvg) : import("./index.es-MxjX0N-p.mjs");
|
|
64747
64748
|
}().catch(function(r) {
|
|
64748
64749
|
return Promise.reject(new Error("Could not load canvg: " + r));
|
|
64749
64750
|
}).then(function(r) {
|
|
@@ -65225,24 +65226,24 @@ end`, y;
|
|
|
65225
65226
|
255: 7
|
|
65226
65227
|
}, p = ["(", ")", "(", "<", ">", "<", "[", "]", "[", "{", "}", "{", "«", "»", "«", "‹", "›", "‹", "⁅", "⁆", "⁅", "⁽", "⁾", "⁽", "₍", "₎", "₍", "≤", "≥", "≤", "〈", "〉", "〈", "﹙", "﹚", "﹙", "﹛", "﹜", "﹛", "﹝", "﹞", "﹝", "﹤", "﹥", "﹤"], m = new RegExp(/^([1-4|9]|1[0-9]|2[0-9]|3[0168]|4[04589]|5[012]|7[78]|159|16[0-9]|17[0-2]|21[569]|22[03489]|250)$/), g = !1, y, w, v = 0, C = 1, _, D, E, T, I, A = v;
|
|
65227
65228
|
this.__bidiEngine__ = {};
|
|
65228
|
-
var R = function(se,
|
|
65229
|
-
if (
|
|
65229
|
+
var R = function(se, Ce) {
|
|
65230
|
+
if (Ce)
|
|
65230
65231
|
for (var oe = 0; oe < se.length; oe++)
|
|
65231
|
-
|
|
65232
|
+
Ce[oe] = oe;
|
|
65232
65233
|
D === void 0 && (D = H(se)), T === void 0 && (T = H(se));
|
|
65233
65234
|
}, L = function(se) {
|
|
65234
|
-
var
|
|
65235
|
-
return me !== void 0 ? l[me * 256 + (
|
|
65235
|
+
var Ce = se.charCodeAt(), oe = Ce >> 8, me = f[oe];
|
|
65236
|
+
return me !== void 0 ? l[me * 256 + (Ce & 255)] : oe === 252 || oe === 253 ? "AL" : m.test(oe) ? "L" : oe === 8 ? "R" : "N";
|
|
65236
65237
|
}, H = function(se) {
|
|
65237
|
-
for (var
|
|
65238
|
-
if (oe = L(se.charAt(
|
|
65238
|
+
for (var Ce = 0, oe; Ce < se.length; Ce++) {
|
|
65239
|
+
if (oe = L(se.charAt(Ce)), oe === "L")
|
|
65239
65240
|
return !1;
|
|
65240
65241
|
if (oe === "R")
|
|
65241
65242
|
return !0;
|
|
65242
65243
|
}
|
|
65243
65244
|
return !1;
|
|
65244
|
-
}, B = function(se,
|
|
65245
|
-
var ue =
|
|
65245
|
+
}, B = function(se, Ce, oe, me) {
|
|
65246
|
+
var ue = Ce[me], Q, ne, xe, Ie;
|
|
65246
65247
|
switch (ue) {
|
|
65247
65248
|
case "L":
|
|
65248
65249
|
case "R":
|
|
@@ -65261,10 +65262,10 @@ end`, y;
|
|
|
65261
65262
|
ue = "N";
|
|
65262
65263
|
break;
|
|
65263
65264
|
case "CS":
|
|
65264
|
-
me < 1 || me + 1 >=
|
|
65265
|
+
me < 1 || me + 1 >= Ce.length || (Q = oe[me - 1]) !== "EN" && Q !== "AN" || (ne = Ce[me + 1]) !== "EN" && ne !== "AN" ? ue = "N" : g && (ne = "AN"), ue = ne === Q ? ne : "N";
|
|
65265
65266
|
break;
|
|
65266
65267
|
case "ES":
|
|
65267
|
-
Q = me > 0 ? oe[me - 1] : "B", ue = Q === "EN" && me + 1 <
|
|
65268
|
+
Q = me > 0 ? oe[me - 1] : "B", ue = Q === "EN" && me + 1 < Ce.length && Ce[me + 1] === "EN" ? "EN" : "N";
|
|
65268
65269
|
break;
|
|
65269
65270
|
case "ET":
|
|
65270
65271
|
if (me > 0 && oe[me - 1] === "EN") {
|
|
@@ -65274,23 +65275,23 @@ end`, y;
|
|
|
65274
65275
|
ue = "N";
|
|
65275
65276
|
break;
|
|
65276
65277
|
}
|
|
65277
|
-
for (
|
|
65278
|
-
|
|
65279
|
-
|
|
65278
|
+
for (xe = me + 1, Ie = Ce.length; xe < Ie && Ce[xe] === "ET"; )
|
|
65279
|
+
xe++;
|
|
65280
|
+
xe < Ie && Ce[xe] === "EN" ? ue = "EN" : ue = "N";
|
|
65280
65281
|
break;
|
|
65281
65282
|
case "NSM":
|
|
65282
65283
|
if (_ && !D) {
|
|
65283
|
-
for (Ie =
|
|
65284
|
-
|
|
65285
|
-
if (
|
|
65284
|
+
for (Ie = Ce.length, xe = me + 1; xe < Ie && Ce[xe] === "NSM"; )
|
|
65285
|
+
xe++;
|
|
65286
|
+
if (xe < Ie) {
|
|
65286
65287
|
var ve = se[me], _e = ve >= 1425 && ve <= 2303 || ve === 64286;
|
|
65287
|
-
if (Q = xe
|
|
65288
|
+
if (Q = Ce[xe], _e && (Q === "R" || Q === "AL")) {
|
|
65288
65289
|
ue = "R";
|
|
65289
65290
|
break;
|
|
65290
65291
|
}
|
|
65291
65292
|
}
|
|
65292
65293
|
}
|
|
65293
|
-
me < 1 || (Q =
|
|
65294
|
+
me < 1 || (Q = Ce[me - 1]) === "B" ? ue = "N" : ue = oe[me - 1];
|
|
65294
65295
|
break;
|
|
65295
65296
|
case "B":
|
|
65296
65297
|
g = !1, y = !0, ue = A;
|
|
@@ -65310,27 +65311,27 @@ end`, y;
|
|
|
65310
65311
|
break;
|
|
65311
65312
|
}
|
|
65312
65313
|
return ue;
|
|
65313
|
-
}, j = function(se,
|
|
65314
|
+
}, j = function(se, Ce, oe) {
|
|
65314
65315
|
for (var me = 0; me < oe; me++)
|
|
65315
65316
|
if (se[me] === "S") {
|
|
65316
|
-
|
|
65317
|
+
Ce[me] = A;
|
|
65317
65318
|
for (var ue = me - 1; ue >= 0 && se[ue] === "WS"; ue--)
|
|
65318
|
-
|
|
65319
|
+
Ce[ue] = A;
|
|
65319
65320
|
}
|
|
65320
|
-
}, U = function(se,
|
|
65321
|
+
}, U = function(se, Ce, oe) {
|
|
65321
65322
|
var me = se.split("");
|
|
65322
65323
|
return oe && z(me, oe, {
|
|
65323
65324
|
hiLevel: A
|
|
65324
|
-
}), me.reverse(),
|
|
65325
|
-
}, z = function(se,
|
|
65326
|
-
var me, ue, Q, ne,
|
|
65325
|
+
}), me.reverse(), Ce && Ce.reverse(), me.join("");
|
|
65326
|
+
}, z = function(se, Ce, oe) {
|
|
65327
|
+
var me, ue, Q, ne, xe, Ie, ve = -1, _e = se.length, pe = 0, Pe = [], De = A ? d : c, Ve = [];
|
|
65327
65328
|
for (g = !1, y = !1, w = !1, Q = 0; Q < _e; Q++)
|
|
65328
65329
|
Ve[Q] = L(se[Q]);
|
|
65329
65330
|
for (ne = 0; ne < _e; ne++) {
|
|
65330
|
-
if (Ie = pe, Pe[ne] = B(se, Ve, Pe, ne), pe = De[Ie][u[Pe[ne]]], me = pe & 240, pe &= 15,
|
|
65331
|
+
if (Ie = pe, Pe[ne] = B(se, Ve, Pe, ne), pe = De[Ie][u[Pe[ne]]], me = pe & 240, pe &= 15, Ce[ne] = xe = De[pe][5], me > 0)
|
|
65331
65332
|
if (me === 16) {
|
|
65332
65333
|
for (Q = ve; Q < ne; Q++)
|
|
65333
|
-
|
|
65334
|
+
Ce[Q] = 1;
|
|
65334
65335
|
ve = -1;
|
|
65335
65336
|
} else
|
|
65336
65337
|
ve = -1;
|
|
@@ -65338,55 +65339,55 @@ end`, y;
|
|
|
65338
65339
|
ve === -1 && (ve = ne);
|
|
65339
65340
|
else if (ve > -1) {
|
|
65340
65341
|
for (Q = ve; Q < ne; Q++)
|
|
65341
|
-
|
|
65342
|
+
Ce[Q] = xe;
|
|
65342
65343
|
ve = -1;
|
|
65343
65344
|
}
|
|
65344
|
-
Ve[ne] === "B" && (
|
|
65345
|
+
Ve[ne] === "B" && (Ce[ne] = 0), oe.hiLevel |= xe;
|
|
65345
65346
|
}
|
|
65346
|
-
w && j(Ve,
|
|
65347
|
-
}, X = function(se,
|
|
65347
|
+
w && j(Ve, Ce, _e);
|
|
65348
|
+
}, X = function(se, Ce, oe, me, ue) {
|
|
65348
65349
|
if (!(ue.hiLevel < se)) {
|
|
65349
65350
|
if (se === 1 && A === C && !y) {
|
|
65350
|
-
|
|
65351
|
+
Ce.reverse(), oe && oe.reverse();
|
|
65351
65352
|
return;
|
|
65352
65353
|
}
|
|
65353
|
-
for (var Q, ne,
|
|
65354
|
+
for (var Q, ne, xe, Ie, ve = Ce.length, _e = 0; _e < ve; ) {
|
|
65354
65355
|
if (me[_e] >= se) {
|
|
65355
|
-
for (
|
|
65356
|
-
|
|
65357
|
-
for (Ie = _e, ne =
|
|
65358
|
-
Q =
|
|
65359
|
-
_e =
|
|
65356
|
+
for (xe = _e + 1; xe < ve && me[xe] >= se; )
|
|
65357
|
+
xe++;
|
|
65358
|
+
for (Ie = _e, ne = xe - 1; Ie < ne; Ie++, ne--)
|
|
65359
|
+
Q = Ce[Ie], Ce[Ie] = Ce[ne], Ce[ne] = Q, oe && (Q = oe[Ie], oe[Ie] = oe[ne], oe[ne] = Q);
|
|
65360
|
+
_e = xe;
|
|
65360
65361
|
}
|
|
65361
65362
|
_e++;
|
|
65362
65363
|
}
|
|
65363
65364
|
}
|
|
65364
|
-
}, Y = function(se,
|
|
65365
|
+
}, Y = function(se, Ce, oe) {
|
|
65365
65366
|
if (oe.hiLevel !== 0 && I)
|
|
65366
65367
|
for (var me = 0, ue; me < se.length; me++)
|
|
65367
|
-
|
|
65368
|
-
}, G = function(se,
|
|
65368
|
+
Ce[me] === 1 && (ue = p.indexOf(se[me]), ue >= 0 && (se[me] = p[ue + 1]));
|
|
65369
|
+
}, G = function(se, Ce, oe) {
|
|
65369
65370
|
var me = se.split(""), ue = {
|
|
65370
65371
|
hiLevel: A
|
|
65371
65372
|
};
|
|
65372
|
-
return oe || (oe = []), z(me, oe, ue), Y(me, oe, ue), X(C + 1, me,
|
|
65373
|
+
return oe || (oe = []), z(me, oe, ue), Y(me, oe, ue), X(C + 1, me, Ce, oe, ue), X(C, me, Ce, oe, ue), me.join("");
|
|
65373
65374
|
};
|
|
65374
|
-
return this.__bidiEngine__.doBidiReorder = function(J, se,
|
|
65375
|
+
return this.__bidiEngine__.doBidiReorder = function(J, se, Ce) {
|
|
65375
65376
|
if (R(J, se), !_ && E && !T)
|
|
65376
|
-
A = D ? C : v, J = G(J, se,
|
|
65377
|
+
A = D ? C : v, J = G(J, se, Ce);
|
|
65377
65378
|
else if (_ && E && D ^ T)
|
|
65378
|
-
A = D ? C : v, J = U(J, se,
|
|
65379
|
+
A = D ? C : v, J = U(J, se, Ce);
|
|
65379
65380
|
else if (!_ && E && T)
|
|
65380
|
-
A = D ? C : v, J = G(J, se,
|
|
65381
|
+
A = D ? C : v, J = G(J, se, Ce), J = U(J, se);
|
|
65381
65382
|
else if (_ && !D && !E && !T)
|
|
65382
|
-
A = v, J = G(J, se,
|
|
65383
|
+
A = v, J = G(J, se, Ce);
|
|
65383
65384
|
else if (_ && !E && D ^ T)
|
|
65384
|
-
J = U(J, se), D ? (A = v, J = G(J, se,
|
|
65385
|
+
J = U(J, se), D ? (A = v, J = G(J, se, Ce)) : (A = C, J = G(J, se, Ce), J = U(J, se));
|
|
65385
65386
|
else if (_ && D && !E && T)
|
|
65386
|
-
A = C, J = G(J, se,
|
|
65387
|
+
A = C, J = G(J, se, Ce), J = U(J, se);
|
|
65387
65388
|
else if (!_ && !E && D ^ T) {
|
|
65388
65389
|
var oe = I;
|
|
65389
|
-
D ? (A = C, J = G(J, se,
|
|
65390
|
+
D ? (A = C, J = G(J, se, Ce), A = v, I = !1, J = G(J, se, Ce), I = oe) : (A = v, J = G(J, se, Ce), J = U(J, se), A = C, I = !1, J = G(J, se, Ce), I = oe, J = U(J, se));
|
|
65390
65391
|
}
|
|
65391
65392
|
return J;
|
|
65392
65393
|
}, this.__bidiEngine__.setOptions = function(J) {
|
|
@@ -65612,7 +65613,7 @@ var HeadTable = function(a) {
|
|
|
65612
65613
|
t.pos = m;
|
|
65613
65614
|
}
|
|
65614
65615
|
return a.encode = function(t, r) {
|
|
65615
|
-
var o, n, s, l, c, d, u, f, p, m, g, y, w, v, C, _, D, E, T, I, A, R, L, H, B, j, U, z, X, Y, G, J, se,
|
|
65616
|
+
var o, n, s, l, c, d, u, f, p, m, g, y, w, v, C, _, D, E, T, I, A, R, L, H, B, j, U, z, X, Y, G, J, se, Ce, oe, me, ue, Q, ne, xe, Ie, ve, _e, pe, Pe, De;
|
|
65616
65617
|
switch (z = new Data(), l = Object.keys(t).sort(function(Ve, Te) {
|
|
65617
65618
|
return Ve - Te;
|
|
65618
65619
|
}), r) {
|
|
@@ -65635,7 +65636,7 @@ var HeadTable = function(a) {
|
|
|
65635
65636
|
maxGlyphID: w + 1
|
|
65636
65637
|
};
|
|
65637
65638
|
case "unicode":
|
|
65638
|
-
for (j = [], p = [], D = 0, _ = {}, o = {}, C = u = null, Y = 0,
|
|
65639
|
+
for (j = [], p = [], D = 0, _ = {}, o = {}, C = u = null, Y = 0, Ce = l.length; Y < Ce; Y++)
|
|
65639
65640
|
n = l[Y], T = t[n], _[T] == null && (_[T] = ++D), o[n] = {
|
|
65640
65641
|
old: T,
|
|
65641
65642
|
new: _[T]
|
|
@@ -65659,7 +65660,7 @@ var HeadTable = function(a) {
|
|
|
65659
65660
|
c = d[pe], z.writeUInt16(c);
|
|
65660
65661
|
for (Pe = 0, ne = I.length; Pe < ne; Pe++)
|
|
65661
65662
|
E = I[Pe], z.writeUInt16(E);
|
|
65662
|
-
for (De = 0,
|
|
65663
|
+
for (De = 0, xe = g.length; De < xe; De++)
|
|
65663
65664
|
w = g[De], z.writeUInt16(w);
|
|
65664
65665
|
return {
|
|
65665
65666
|
charMap: o,
|
|
@@ -67514,7 +67515,7 @@ function requireLocalforage() {
|
|
|
67514
67515
|
});
|
|
67515
67516
|
return g(be, ge, ge), be;
|
|
67516
67517
|
}
|
|
67517
|
-
function
|
|
67518
|
+
function Ce(ge) {
|
|
67518
67519
|
L(ge);
|
|
67519
67520
|
for (var Ae = _[ge.name], be = Ae.forages, ke = 0; ke < be.length; ke++) {
|
|
67520
67521
|
var je = be[ke];
|
|
@@ -67541,7 +67542,7 @@ function requireLocalforage() {
|
|
|
67541
67542
|
if (!ge.db || Re.name === "NotFoundError" && !ge.db.objectStoreNames.contains(ge.storeName) && ge.version <= ge.db.version)
|
|
67542
67543
|
return ge.db && (ge.version = ge.db.version + 1), z(ge);
|
|
67543
67544
|
}).then(function() {
|
|
67544
|
-
return
|
|
67545
|
+
return Ce(ge).then(function() {
|
|
67545
67546
|
oe(ge, Ae, be, ke - 1);
|
|
67546
67547
|
});
|
|
67547
67548
|
}).catch(be);
|
|
@@ -67642,7 +67643,7 @@ function requireLocalforage() {
|
|
|
67642
67643
|
});
|
|
67643
67644
|
return m(ke, Ae), ke;
|
|
67644
67645
|
}
|
|
67645
|
-
function
|
|
67646
|
+
function xe(ge, Ae, be) {
|
|
67646
67647
|
var ke = this;
|
|
67647
67648
|
ge = y(ge);
|
|
67648
67649
|
var je = new p(function(Re, it) {
|
|
@@ -67886,7 +67887,7 @@ function requireLocalforage() {
|
|
|
67886
67887
|
_support: u(),
|
|
67887
67888
|
iterate: ne,
|
|
67888
67889
|
getItem: Q,
|
|
67889
|
-
setItem:
|
|
67890
|
+
setItem: xe,
|
|
67890
67891
|
removeItem: Ie,
|
|
67891
67892
|
clear: ve,
|
|
67892
67893
|
length: _e,
|
|
@@ -67897,7 +67898,7 @@ function requireLocalforage() {
|
|
|
67897
67898
|
function Te() {
|
|
67898
67899
|
return typeof openDatabase == "function";
|
|
67899
67900
|
}
|
|
67900
|
-
var He = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", we = "~~local_forage_type~", le = /^~~local_forage_type~([^~]+)~/, he = "__lfsc__:", $ = he.length, Ne = "arbf", Be = "blob", Qe = "si08", Me = "ui08", ze = "uic8", ot = "si16", ht = "si32", bt = "ur16", gt = "ui32", _t = "fl32", pt = "fl64", Tt = $ + Ne.length,
|
|
67901
|
+
var He = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", we = "~~local_forage_type~", le = /^~~local_forage_type~([^~]+)~/, he = "__lfsc__:", $ = he.length, Ne = "arbf", Be = "blob", Qe = "si08", Me = "ui08", ze = "uic8", ot = "si16", ht = "si32", bt = "ur16", gt = "ui32", _t = "fl32", pt = "fl64", Tt = $ + Ne.length, xt = Object.prototype.toString;
|
|
67901
67902
|
function It(ge) {
|
|
67902
67903
|
var Ae = ge.length * 0.75, be = ge.length, ke, je = 0, Re, it, rt, ct;
|
|
67903
67904
|
ge[ge.length - 1] === "=" && (Ae--, ge[ge.length - 2] === "=" && Ae--);
|
|
@@ -67914,7 +67915,7 @@ function requireLocalforage() {
|
|
|
67914
67915
|
}
|
|
67915
67916
|
function Qt(ge, Ae) {
|
|
67916
67917
|
var be = "";
|
|
67917
|
-
if (ge && (be =
|
|
67918
|
+
if (ge && (be = xt.call(ge)), ge && (be === "[object ArrayBuffer]" || ge.buffer && xt.call(ge.buffer) === "[object ArrayBuffer]")) {
|
|
67918
67919
|
var ke, je = he;
|
|
67919
67920
|
ge instanceof ArrayBuffer ? (ke = ge, je += Ne) : (ke = ge.buffer, be === "[object Int8Array]" ? je += Qe : be === "[object Uint8Array]" ? je += Me : be === "[object Uint8ClampedArray]" ? je += ze : be === "[object Int16Array]" ? je += ot : be === "[object Uint16Array]" ? je += bt : be === "[object Int32Array]" ? je += ht : be === "[object Uint32Array]" ? je += gt : be === "[object Float32Array]" ? je += _t : be === "[object Float64Array]" ? je += pt : Ae(new Error("Failed to get type for BinaryArray"))), Ae(je + St(ke));
|
|
67920
67921
|
} else if (be === "[object Blob]") {
|
|
@@ -68227,7 +68228,7 @@ function requireLocalforage() {
|
|
|
68227
68228
|
keys: nr,
|
|
68228
68229
|
dropInstance: Pt
|
|
68229
68230
|
};
|
|
68230
|
-
function
|
|
68231
|
+
function Cr() {
|
|
68231
68232
|
try {
|
|
68232
68233
|
return typeof localStorage < "u" && "setItem" in localStorage && // in IE8 typeof localStorage.setItem === 'object'
|
|
68233
68234
|
!!localStorage.setItem;
|
|
@@ -68365,7 +68366,7 @@ function requireLocalforage() {
|
|
|
68365
68366
|
var Gi = {
|
|
68366
68367
|
_driver: "localStorageWrapper",
|
|
68367
68368
|
_initStorage: tr,
|
|
68368
|
-
_support:
|
|
68369
|
+
_support: Cr(),
|
|
68369
68370
|
iterate: lr,
|
|
68370
68371
|
getItem: Zt,
|
|
68371
68372
|
setItem: Ur,
|
|
@@ -69886,17 +69887,17 @@ class DocController {
|
|
|
69886
69887
|
G.copyProperty(Y, G), G.creatorIndex = void 0, G.deleterIndex = void 0, G.modifierIndex = void 0;
|
|
69887
69888
|
const J = U.get(z[X]);
|
|
69888
69889
|
if (J == "add") {
|
|
69889
|
-
const se = R.indexOf("(/add)", z[X]),
|
|
69890
|
+
const se = R.indexOf("(/add)", z[X]), Ce = R.substring(z[X] + 5, se), me = new UserHistory(this._hoEditorFactoryID, HistoryEditType.hetCreate).userCompare();
|
|
69890
69891
|
G.creatorIndex = me, G.strikeout = !1, L = a.docTree.styleCompare(G);
|
|
69891
|
-
const ue = new TextNode(this._hoEditorFactoryID, o, n, NodeType$1.ntText,
|
|
69892
|
+
const ue = new TextNode(this._hoEditorFactoryID, o, n, NodeType$1.ntText, Ce, L);
|
|
69892
69893
|
w = this.insertNodeByPath(w, ue, p, !!(v && E >= 1), m);
|
|
69893
69894
|
} else if (J == "del") {
|
|
69894
|
-
const se = R.indexOf("(/del)", z[X]),
|
|
69895
|
+
const se = R.indexOf("(/del)", z[X]), Ce = R.substring(z[X] + 5, se), me = new UserHistory(this._hoEditorFactoryID, HistoryEditType.hetDelete).userCompare();
|
|
69895
69896
|
G.deleterIndex = me, G.strikeout = !0, L = a.docTree.styleCompare(G);
|
|
69896
|
-
const ue = new TextNode(this._hoEditorFactoryID, o, n, NodeType$1.ntText,
|
|
69897
|
+
const ue = new TextNode(this._hoEditorFactoryID, o, n, NodeType$1.ntText, Ce, L);
|
|
69897
69898
|
w = this.insertNodeByPath(w, ue, p, !!(v && E >= 1), m);
|
|
69898
69899
|
} else {
|
|
69899
|
-
const se = R.indexOf("(/old)", z[X]),
|
|
69900
|
+
const se = R.indexOf("(/old)", z[X]), Ce = R.substring(z[X] + 5, se), oe = new TextNode(this._hoEditorFactoryID, o, n, NodeType$1.ntText, Ce, L);
|
|
69900
69901
|
w = this.insertNodeByPath(w, oe, p, !!(v && E >= 1), m);
|
|
69901
69902
|
}
|
|
69902
69903
|
}
|
|
@@ -78549,17 +78550,17 @@ function requireVueColor_min() {
|
|
|
78549
78550
|
};
|
|
78550
78551
|
r.exports = function(C, _, D, E, T, I, A) {
|
|
78551
78552
|
p(D, _, E);
|
|
78552
|
-
var R, L, H, B = function(
|
|
78553
|
-
if (!w &&
|
|
78554
|
-
switch (
|
|
78553
|
+
var R, L, H, B = function(Ce) {
|
|
78554
|
+
if (!w && Ce in X) return X[Ce];
|
|
78555
|
+
switch (Ce) {
|
|
78555
78556
|
case "keys":
|
|
78556
78557
|
case "values":
|
|
78557
78558
|
return function() {
|
|
78558
|
-
return new D(this,
|
|
78559
|
+
return new D(this, Ce);
|
|
78559
78560
|
};
|
|
78560
78561
|
}
|
|
78561
78562
|
return function() {
|
|
78562
|
-
return new D(this,
|
|
78563
|
+
return new D(this, Ce);
|
|
78563
78564
|
};
|
|
78564
78565
|
}, j = _ + " Iterator", U = T == "values", z = !1, X = C.prototype, Y = X[y] || X["@@iterator"] || T && X[T], G = Y || B(T), J = T ? U ? B("entries") : G : void 0, se = _ == "Array" && X.entries || Y;
|
|
78565
78566
|
if (se && (H = g(se.call(new C()))) !== Object.prototype && H.next && (m(H, j, !0), s || u(H, y) || d(H, y, v)), U && Y && Y.name !== "values" && (z = !0, G = function() {
|
|
@@ -78874,8 +78875,8 @@ function requireVueColor_min() {
|
|
|
78874
78875
|
function s(oe) {
|
|
78875
78876
|
return oe && oe.__esModule ? oe : { default: oe };
|
|
78876
78877
|
}
|
|
78877
|
-
var l = n(60), c = s(l), d = n(69), u = s(d), f = n(73), p = s(f), m = n(77), g = s(m), y = n(115), w = s(y), v = n(120), C = s(v), _ = n(135), D = s(_), E = n(139), T = s(E), I = n(143), A = s(I), R = n(19), L = s(R), H = n(20), B = s(H), j = n(5), U = s(j), z = n(12), X = s(z), Y = n(18), G = s(Y), J = n(3), se = s(J),
|
|
78878
|
-
r.exports =
|
|
78878
|
+
var l = n(60), c = s(l), d = n(69), u = s(d), f = n(73), p = s(f), m = n(77), g = s(m), y = n(115), w = s(y), v = n(120), C = s(v), _ = n(135), D = s(_), E = n(139), T = s(E), I = n(143), A = s(I), R = n(19), L = s(R), H = n(20), B = s(H), j = n(5), U = s(j), z = n(12), X = s(z), Y = n(18), G = s(Y), J = n(3), se = s(J), Ce = { version: "2.8.2", Compact: c.default, Grayscale: u.default, Twitter: A.default, Material: p.default, Slider: g.default, Swatches: w.default, Photoshop: C.default, Sketch: D.default, Chrome: T.default, Alpha: L.default, Checkboard: B.default, EditableInput: U.default, Hue: X.default, Saturation: G.default, ColorMixin: se.default };
|
|
78879
|
+
r.exports = Ce;
|
|
78879
78880
|
}, function(r, o, n) {
|
|
78880
78881
|
function s(g) {
|
|
78881
78882
|
n(61);
|
|
@@ -79016,15 +79017,15 @@ function requireVueColor_min() {
|
|
|
79016
79017
|
return { r: 255 * [$, Me, Qe, Qe, ze, $][ot], g: 255 * [ze, $, $, Me, Qe, Qe][ot], b: 255 * [Qe, Qe, ze, $, $, Me][ot] };
|
|
79017
79018
|
}
|
|
79018
79019
|
function y(le, he, $, Ne) {
|
|
79019
|
-
var Be = [
|
|
79020
|
+
var Be = [Ce(pe(le).toString(16)), Ce(pe(he).toString(16)), Ce(pe($).toString(16))];
|
|
79020
79021
|
return Ne && Be[0].charAt(0) == Be[0].charAt(1) && Be[1].charAt(0) == Be[1].charAt(1) && Be[2].charAt(0) == Be[2].charAt(1) ? Be[0].charAt(0) + Be[1].charAt(0) + Be[2].charAt(0) : Be.join("");
|
|
79021
79022
|
}
|
|
79022
79023
|
function w(le, he, $, Ne, Be) {
|
|
79023
|
-
var Qe = [
|
|
79024
|
+
var Qe = [Ce(pe(le).toString(16)), Ce(pe(he).toString(16)), Ce(pe($).toString(16)), Ce(me(Ne))];
|
|
79024
79025
|
return Be && Qe[0].charAt(0) == Qe[0].charAt(1) && Qe[1].charAt(0) == Qe[1].charAt(1) && Qe[2].charAt(0) == Qe[2].charAt(1) && Qe[3].charAt(0) == Qe[3].charAt(1) ? Qe[0].charAt(0) + Qe[1].charAt(0) + Qe[2].charAt(0) + Qe[3].charAt(0) : Qe.join("");
|
|
79025
79026
|
}
|
|
79026
79027
|
function v(le, he, $, Ne) {
|
|
79027
|
-
return [
|
|
79028
|
+
return [Ce(me(Ne)), Ce(pe(le).toString(16)), Ce(pe(he).toString(16)), Ce(pe($).toString(16))].join("");
|
|
79028
79029
|
}
|
|
79029
79030
|
function C(le, he) {
|
|
79030
79031
|
he = he === 0 ? 0 : he || 10;
|
|
@@ -79105,7 +79106,7 @@ function requireVueColor_min() {
|
|
|
79105
79106
|
function se(le) {
|
|
79106
79107
|
return typeof le == "string" && le.indexOf("%") != -1;
|
|
79107
79108
|
}
|
|
79108
|
-
function
|
|
79109
|
+
function Ce(le) {
|
|
79109
79110
|
return le.length == 1 ? "0" + le : "" + le;
|
|
79110
79111
|
}
|
|
79111
79112
|
function oe(le) {
|
|
@@ -79128,7 +79129,7 @@ function requireVueColor_min() {
|
|
|
79128
79129
|
var $;
|
|
79129
79130
|
return ($ = we.rgb.exec(le)) ? { r: $[1], g: $[2], b: $[3] } : ($ = we.rgba.exec(le)) ? { r: $[1], g: $[2], b: $[3], a: $[4] } : ($ = we.hsl.exec(le)) ? { h: $[1], s: $[2], l: $[3] } : ($ = we.hsla.exec(le)) ? { h: $[1], s: $[2], l: $[3], a: $[4] } : ($ = we.hsv.exec(le)) ? { h: $[1], s: $[2], v: $[3] } : ($ = we.hsva.exec(le)) ? { h: $[1], s: $[2], v: $[3], a: $[4] } : ($ = we.hex8.exec(le)) ? { r: G($[1]), g: G($[2]), b: G($[3]), a: ue($[4]), format: he ? "name" : "hex8" } : ($ = we.hex6.exec(le)) ? { r: G($[1]), g: G($[2]), b: G($[3]), format: he ? "name" : "hex" } : ($ = we.hex4.exec(le)) ? { r: G($[1] + "" + $[1]), g: G($[2] + "" + $[2]), b: G($[3] + "" + $[3]), a: ue($[4] + "" + $[4]), format: he ? "name" : "hex8" } : !!($ = we.hex3.exec(le)) && { r: G($[1] + "" + $[1]), g: G($[2] + "" + $[2]), b: G($[3] + "" + $[3]), format: he ? "name" : "hex" };
|
|
79130
79131
|
}
|
|
79131
|
-
function
|
|
79132
|
+
function xe(le) {
|
|
79132
79133
|
var he, $;
|
|
79133
79134
|
return le = le || { level: "AA", size: "small" }, he = (le.level || "AA").toUpperCase(), $ = (le.size || "small").toLowerCase(), he !== "AA" && he !== "AAA" && (he = "AA"), $ !== "small" && $ !== "large" && ($ = "small"), { level: he, size: $ };
|
|
79134
79135
|
}
|
|
@@ -79248,7 +79249,7 @@ function requireVueColor_min() {
|
|
|
79248
79249
|
return (l.max($.getLuminance(), Ne.getLuminance()) + 0.05) / (l.min($.getLuminance(), Ne.getLuminance()) + 0.05);
|
|
79249
79250
|
}, c.isReadable = function(le, he, $) {
|
|
79250
79251
|
var Ne, Be, Qe = c.readability(le, he);
|
|
79251
|
-
switch (Be = !1, Ne =
|
|
79252
|
+
switch (Be = !1, Ne = xe($), Ne.level + Ne.size) {
|
|
79252
79253
|
case "AAsmall":
|
|
79253
79254
|
case "AAAlarge":
|
|
79254
79255
|
Be = Qe >= 4.5;
|
|
@@ -79666,7 +79667,7 @@ function requireVueColor_min() {
|
|
|
79666
79667
|
}, function(r, o, n) {
|
|
79667
79668
|
n(102), n(108), n(109), n(110), r.exports = n(24).Symbol;
|
|
79668
79669
|
}, function(r, o, n) {
|
|
79669
|
-
var s = n(4), l = n(6), c = n(9), d = n(41), u = n(44), f = n(103).KEY, p = n(15), m = n(29), g = n(31), y = n(17), w = n(11), v = n(32), C = n(33), _ = n(104), D = n(105), E = n(13), T = n(10), I = n(25), A = n(16), R = n(45), L = n(106), H = n(107), B = n(8), j = n(27), U = H.f, z = B.f, X = L.f, Y = s.Symbol, G = s.JSON, J = G && G.stringify, se = w("_hidden"),
|
|
79670
|
+
var s = n(4), l = n(6), c = n(9), d = n(41), u = n(44), f = n(103).KEY, p = n(15), m = n(29), g = n(31), y = n(17), w = n(11), v = n(32), C = n(33), _ = n(104), D = n(105), E = n(13), T = n(10), I = n(25), A = n(16), R = n(45), L = n(106), H = n(107), B = n(8), j = n(27), U = H.f, z = B.f, X = L.f, Y = s.Symbol, G = s.JSON, J = G && G.stringify, se = w("_hidden"), Ce = w("toPrimitive"), oe = {}.propertyIsEnumerable, me = m("symbol-registry"), ue = m("symbols"), Q = m("op-symbols"), ne = Object.prototype, xe = typeof Y == "function", Ie = s.QObject, ve = !Ie || !Ie.prototype || !Ie.prototype.findChild, _e = c && p(function() {
|
|
79670
79671
|
return R(z({}, "a", { get: function() {
|
|
79671
79672
|
return z(this, "a", { value: 7 }).a;
|
|
79672
79673
|
} })).a != 7;
|
|
@@ -79676,7 +79677,7 @@ function requireVueColor_min() {
|
|
|
79676
79677
|
} : z, pe = function(Me) {
|
|
79677
79678
|
var ze = ue[Me] = R(Y.prototype);
|
|
79678
79679
|
return ze._k = Me, ze;
|
|
79679
|
-
}, Pe =
|
|
79680
|
+
}, Pe = xe && typeof Y.iterator == "symbol" ? function(Me) {
|
|
79680
79681
|
return typeof Me == "symbol";
|
|
79681
79682
|
} : function(Me) {
|
|
79682
79683
|
return Me instanceof Y;
|
|
@@ -79703,7 +79704,7 @@ function requireVueColor_min() {
|
|
|
79703
79704
|
for (var ze, ot = Me === ne, ht = X(ot ? Q : T(Me)), bt = [], gt = 0; ht.length > gt; ) !l(ue, ze = ht[gt++]) || ot && !l(ne, ze) || bt.push(ue[ze]);
|
|
79704
79705
|
return bt;
|
|
79705
79706
|
};
|
|
79706
|
-
|
|
79707
|
+
xe || (Y = function() {
|
|
79707
79708
|
if (this instanceof Y) throw TypeError("Symbol is not a constructor!");
|
|
79708
79709
|
var Me = y(arguments.length > 0 ? arguments[0] : void 0), ze = function(ot) {
|
|
79709
79710
|
this === ne && ze.call(Q, ot), l(this, se) && l(this[se], Me) && (this[se][Me] = !1), _e(this, Me, A(1, ot));
|
|
@@ -79713,10 +79714,10 @@ function requireVueColor_min() {
|
|
|
79713
79714
|
return this._k;
|
|
79714
79715
|
}), H.f = we, B.f = De, n(49).f = L.f = le, n(34).f = He, n(48).f = he, c && !n(23) && u(ne, "propertyIsEnumerable", He, !0), v.f = function(Me) {
|
|
79715
79716
|
return pe(w(Me));
|
|
79716
|
-
}), d(d.G + d.W + d.F * !
|
|
79717
|
+
}), d(d.G + d.W + d.F * !xe, { Symbol: Y });
|
|
79717
79718
|
for (var $ = "hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","), Ne = 0; $.length > Ne; ) w($[Ne++]);
|
|
79718
79719
|
for (var Be = j(w.store), Qe = 0; Be.length > Qe; ) C(Be[Qe++]);
|
|
79719
|
-
d(d.S + d.F * !
|
|
79720
|
+
d(d.S + d.F * !xe, "Symbol", { for: function(Me) {
|
|
79720
79721
|
return l(me, Me += "") ? me[Me] : me[Me] = Y(Me);
|
|
79721
79722
|
}, keyFor: function(Me) {
|
|
79722
79723
|
if (!Pe(Me)) throw TypeError(Me + " is not a symbol!");
|
|
@@ -79725,7 +79726,7 @@ function requireVueColor_min() {
|
|
|
79725
79726
|
ve = !0;
|
|
79726
79727
|
}, useSimple: function() {
|
|
79727
79728
|
ve = !1;
|
|
79728
|
-
} }), d(d.S + d.F * !
|
|
79729
|
+
} }), d(d.S + d.F * !xe, "Object", { create: Te, defineProperty: De, defineProperties: Ve, getOwnPropertyDescriptor: we, getOwnPropertyNames: le, getOwnPropertySymbols: he }), G && d(d.S + d.F * (!xe || p(function() {
|
|
79729
79730
|
var Me = Y();
|
|
79730
79731
|
return J([Me]) != "[null]" || J({ a: Me }) != "{}" || J(Object(Me)) != "{}";
|
|
79731
79732
|
})), "JSON", { stringify: function(Me) {
|
|
@@ -79735,7 +79736,7 @@ function requireVueColor_min() {
|
|
|
79735
79736
|
if (ot && (_t = ot.call(this, gt, _t)), !Pe(_t)) return _t;
|
|
79736
79737
|
}), ht[1] = ze, J.apply(G, ht);
|
|
79737
79738
|
}
|
|
79738
|
-
} }), Y.prototype[
|
|
79739
|
+
} }), Y.prototype[Ce] || n(7)(Y.prototype, Ce, Y.prototype.valueOf), g(Y, "Symbol"), g(Math, "Math", !0), g(s.JSON, "JSON", !0);
|
|
79739
79740
|
}, function(r, o, n) {
|
|
79740
79741
|
var s = n(17)("meta"), l = n(14), c = n(6), d = n(8).f, u = 0, f = Object.isExtensible || function() {
|
|
79741
79742
|
return !0;
|
|
@@ -80230,7 +80231,7 @@ function requireVueColor_min() {
|
|
|
80230
80231
|
return me = ue = void 0, ve = De, ne = H.apply(Te, Ve);
|
|
80231
80232
|
}
|
|
80232
80233
|
function z(De) {
|
|
80233
|
-
return ve = De,
|
|
80234
|
+
return ve = De, xe = setTimeout(G, B), _e ? U(De) : ne;
|
|
80234
80235
|
}
|
|
80235
80236
|
function X(De) {
|
|
80236
80237
|
var Ve = De - Ie, Te = De - ve, He = B - Ve;
|
|
@@ -80243,28 +80244,28 @@ function requireVueColor_min() {
|
|
|
80243
80244
|
function G() {
|
|
80244
80245
|
var De = L();
|
|
80245
80246
|
if (Y(De)) return J(De);
|
|
80246
|
-
|
|
80247
|
+
xe = setTimeout(G, X(De));
|
|
80247
80248
|
}
|
|
80248
80249
|
function J(De) {
|
|
80249
|
-
return
|
|
80250
|
+
return xe = void 0, Pe && me ? U(De) : (me = ue = void 0, ne);
|
|
80250
80251
|
}
|
|
80251
80252
|
function se() {
|
|
80252
|
-
|
|
80253
|
+
xe !== void 0 && clearTimeout(xe), ve = 0, me = Ie = ue = xe = void 0;
|
|
80253
80254
|
}
|
|
80254
|
-
function
|
|
80255
|
-
return
|
|
80255
|
+
function Ce() {
|
|
80256
|
+
return xe === void 0 ? ne : J(L());
|
|
80256
80257
|
}
|
|
80257
80258
|
function oe() {
|
|
80258
80259
|
var De = L(), Ve = Y(De);
|
|
80259
80260
|
if (me = arguments, ue = this, Ie = De, Ve) {
|
|
80260
|
-
if (
|
|
80261
|
-
if (pe) return
|
|
80261
|
+
if (xe === void 0) return z(Ie);
|
|
80262
|
+
if (pe) return xe = setTimeout(G, B), U(Ie);
|
|
80262
80263
|
}
|
|
80263
|
-
return
|
|
80264
|
+
return xe === void 0 && (xe = setTimeout(G, B)), ne;
|
|
80264
80265
|
}
|
|
80265
|
-
var me, ue, Q, ne,
|
|
80266
|
+
var me, ue, Q, ne, xe, Ie, ve = 0, _e = !1, pe = !1, Pe = !0;
|
|
80266
80267
|
if (typeof H != "function") throw new TypeError(f);
|
|
80267
|
-
return B = u(B) || 0, l(j) && (_e = !!j.leading, pe = "maxWait" in j, Q = pe ? A(u(j.maxWait) || 0, B) : Q, Pe = "trailing" in j ? !!j.trailing : Pe), oe.cancel = se, oe.flush =
|
|
80268
|
+
return B = u(B) || 0, l(j) && (_e = !!j.leading, pe = "maxWait" in j, Q = pe ? A(u(j.maxWait) || 0, B) : Q, Pe = "trailing" in j ? !!j.trailing : Pe), oe.cancel = se, oe.flush = Ce, oe;
|
|
80268
80269
|
}
|
|
80269
80270
|
function s(H, B, j) {
|
|
80270
80271
|
var U = !0, z = !0;
|