hoeditor-web 3.2.59 → 3.2.60
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.
|
@@ -7214,15 +7214,15 @@ function flip(a) {
|
|
|
7214
7214
|
}
|
|
7215
7215
|
if (R)
|
|
7216
7216
|
for (var ye = y ? 3 : 1, ie = function(ne) {
|
|
7217
|
-
var
|
|
7217
|
+
var Ce = E.find(function(Ie) {
|
|
7218
7218
|
var we = M.get(Ie);
|
|
7219
7219
|
if (we)
|
|
7220
7220
|
return we.slice(0, ne).every(function(_e) {
|
|
7221
7221
|
return _e;
|
|
7222
7222
|
});
|
|
7223
7223
|
});
|
|
7224
|
-
if (
|
|
7225
|
-
return A =
|
|
7224
|
+
if (Ce)
|
|
7225
|
+
return A = Ce, "break";
|
|
7226
7226
|
}, ge = ye; ge > 0; ge--) {
|
|
7227
7227
|
var ue = ie(ge);
|
|
7228
7228
|
if (ue === "break") break;
|
|
@@ -7345,8 +7345,8 @@ function preventOverflow(a) {
|
|
|
7345
7345
|
var U, z = E === "y" ? top : left, X = E === "y" ? bottom : right, Y = E === "y" ? "height" : "width", G = I[E], J = G + v[z], le = G - v[X], ye = g ? -R[Y] / 2 : 0, ie = _ === start ? M[Y] : R[Y], ge = _ === start ? -R[Y] : -M[Y], ue = t.elements.arrow, Q = g && ue ? getLayoutRect(ue) : {
|
|
7346
7346
|
width: 0,
|
|
7347
7347
|
height: 0
|
|
7348
|
-
}, ne = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : getFreshSideObject(),
|
|
7349
|
-
I[E] =
|
|
7348
|
+
}, ne = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : getFreshSideObject(), Ce = ne[z], Ie = ne[X], we = within(0, M[Y], Q[Y]), _e = D ? M[Y] / 2 - ye - we - Ce - H.mainAxis : ie - we - Ce - H.mainAxis, pe = D ? -M[Y] / 2 + ye + we + Ie + H.mainAxis : ge + we + Ie + H.mainAxis, Pe = t.elements.arrow && getOffsetParent(t.elements.arrow), Se = Pe ? E === "y" ? Pe.clientTop || 0 : Pe.clientLeft || 0 : 0, qe = (U = O == null ? void 0 : O[E]) != null ? U : 0, Te = G + _e - qe - Se, He = G + pe - qe, xe = within(g ? min$1(J, Te) : J, G, g ? max$2(le, He) : le);
|
|
7349
|
+
I[E] = xe, j[E] = xe - G;
|
|
7350
7350
|
}
|
|
7351
7351
|
if (c) {
|
|
7352
7352
|
var ae, he = E === "x" ? top : left, $ = E === "x" ? bottom : right, Ne = I[T], Be = T === "y" ? "height" : "width", Qe = Ne + v[he], Me = Ne - v[$], ze = [top, left].indexOf(C) !== -1, ot = (ae = O == null ? void 0 : O[T]) != null ? ae : 0, ut = ze ? Qe : Ne - M[Be] - R[Be] - ot + H.altAxis, _t = ze ? Ne + M[Be] + R[Be] - ot - H.altAxis : Me, mt = g && ze ? withinMaxClamp(ut, Ne, _t) : within(g ? ut : Qe, Ne, g ? _t : Me);
|
|
@@ -14940,7 +14940,7 @@ class DrawSignNode extends DrawCombineNode {
|
|
|
14940
14940
|
}
|
|
14941
14941
|
}
|
|
14942
14942
|
}
|
|
14943
|
-
const version = "3.2.
|
|
14943
|
+
const version = "3.2.60";
|
|
14944
14944
|
var FingerPosition = /* @__PURE__ */ ((a) => (a[a.left = 0] = "left", a[a.center = 1] = "center", a[a.right = 2] = "right", a))(FingerPosition || {});
|
|
14945
14945
|
class SignNode extends BaseNode {
|
|
14946
14946
|
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) {
|
|
@@ -14998,7 +14998,7 @@ class SignNode extends BaseNode {
|
|
|
14998
14998
|
b(this, "isTemp", !1);
|
|
14999
14999
|
b(this, "innerIdentifier", "");
|
|
15000
15000
|
const hoEditorFactory = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID);
|
|
15001
|
-
this.number = number, this._type = type, this._signor = signor, this._signTime = signTime, this.imgSrc = imgSrc || "", this._attribute = attribute === void 0 ? 0 : attribute, this._connectChar = connectChar === void 0 ? ":" : connectChar, dataId ? this.dataId = dataId : this.dataId = HOEditorFactorys.instance().getFactory(hoEditorFactoryID).gernerateCode.generateID("Sign"), fingerPrintSrc && (this._fingerPrintSrc = fingerPrintSrc), this._fingerPosition = fingerPosition || 0, this._name = name, this._imgWidth = imgWidth, this._imgHeight = imgHeight, this._isTemplate = isTemplate, this.isTemp = isTemp || isTemplate, this._signType = signType, this._signFormat = signFormat, this._signTimeFormat = signTimeFormat, styleIndex ? this._styleIndex = styleIndex : this._styleIndex = hoEditorFactory.docTree.curStyleIndex, this._connectMode = connectMode, signType === 1 && type !== 1 && (this._isFront = isFront, this._allowEditSignTime = allowEditSignTime), this._otherProperties = new Object(), this._associatedElement = associatedElement || "", this._customProperty = new Object();
|
|
15001
|
+
this.number = number, this._type = type, this._signor = signor, this._signTime = signTime, this.imgSrc = imgSrc || "", this._attribute = attribute === void 0 ? 0 : attribute, this._connectChar = connectChar === void 0 ? ":" : connectChar, dataId ? this.dataId = dataId : this.dataId = HOEditorFactorys.instance().getFactory(hoEditorFactoryID).gernerateCode.generateID("Sign"), fingerPrintSrc && (this._fingerPrintSrc = fingerPrintSrc), this._fingerPosition = fingerPosition || 0, this._name = name, this._imgWidth = imgWidth, this._imgHeight = imgHeight, this._isTemplate = isTemplate, this.isTemp = isTemp || isTemplate, this._signType = signType, this._signFormat = signFormat, this._signTimeFormat = signTimeFormat, styleIndex || styleIndex == 0 ? this._styleIndex = styleIndex : this._styleIndex = hoEditorFactory.docTree.curStyleIndex, this._connectMode = connectMode, signType === 1 && type !== 1 && (this._isFront = isFront, this._allowEditSignTime = allowEditSignTime), this._otherProperties = new Object(), this._associatedElement = associatedElement || "", this._customProperty = new Object();
|
|
15002
15002
|
const assignvalue = (target, source) => {
|
|
15003
15003
|
Object.keys(source).forEach((value) => {
|
|
15004
15004
|
typeof target[value] == "object" ? Object.prototype.toString.call(source[value]) === "[object Object]" ? assignvalue(target[value], source[value]) : source[value] !== "" && source[value] !== null && assignvalue(target[value], eval("(" + source[value] + ")")) : target[value] = source[value];
|
|
@@ -15379,12 +15379,12 @@ function requireQrcode() {
|
|
|
15379
15379
|
}, ue = function(we, _e) {
|
|
15380
15380
|
for (var pe = -1, Pe = j - 1, Se = 7, qe = 0, Te = c.getMaskFunction(_e), He = j - 1; He > 0; He -= 2)
|
|
15381
15381
|
for (He == 6 && (He -= 1); ; ) {
|
|
15382
|
-
for (var
|
|
15383
|
-
if (O[Pe][He -
|
|
15382
|
+
for (var xe = 0; xe < 2; xe += 1)
|
|
15383
|
+
if (O[Pe][He - xe] == null) {
|
|
15384
15384
|
var ae = !1;
|
|
15385
15385
|
qe < we.length && (ae = (we[qe] >>> Se & 1) == 1);
|
|
15386
|
-
var he = Te(Pe, He -
|
|
15387
|
-
he && (ae = !ae), O[Pe][He -
|
|
15386
|
+
var he = Te(Pe, He - xe);
|
|
15387
|
+
he && (ae = !ae), O[Pe][He - xe] = ae, Se -= 1, Se == -1 && (qe += 1, Se = 7);
|
|
15388
15388
|
}
|
|
15389
15389
|
if (Pe += pe, Pe < 0 || j <= Pe) {
|
|
15390
15390
|
Pe -= pe, pe = -pe;
|
|
@@ -15393,11 +15393,11 @@ function requireQrcode() {
|
|
|
15393
15393
|
}
|
|
15394
15394
|
}, Q = function(we, _e) {
|
|
15395
15395
|
for (var pe = 0, Pe = 0, Se = 0, qe = new Array(_e.length), Te = new Array(_e.length), He = 0; He < _e.length; He += 1) {
|
|
15396
|
-
var
|
|
15397
|
-
Pe = Math.max(Pe,
|
|
15396
|
+
var xe = _e[He].dataCount, ae = _e[He].totalCount - xe;
|
|
15397
|
+
Pe = Math.max(Pe, xe), Se = Math.max(Se, ae), qe[He] = new Array(xe);
|
|
15398
15398
|
for (var he = 0; he < qe[He].length; he += 1)
|
|
15399
15399
|
qe[He][he] = 255 & we.getBuffer()[he + pe];
|
|
15400
|
-
pe +=
|
|
15400
|
+
pe += xe;
|
|
15401
15401
|
var $ = c.getErrorCorrectPolynomial(ae), Ne = u(qe[He], $.getLength() - 1), Be = Ne.mod($);
|
|
15402
15402
|
Te[He] = new Array($.getLength() - 1);
|
|
15403
15403
|
for (var he = 0; he < Te[He].length; he += 1) {
|
|
@@ -15484,27 +15484,27 @@ function requireQrcode() {
|
|
|
15484
15484
|
}, X.createSvgTag = function(we, _e, pe, Pe) {
|
|
15485
15485
|
var Se = {};
|
|
15486
15486
|
typeof arguments[0] == "object" && (Se = arguments[0], we = Se.cellSize, _e = Se.margin, pe = Se.alt, Pe = Se.title), we = we || 2, _e = typeof _e > "u" ? we * 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;
|
|
15487
|
-
var qe = X.getModuleCount() * we + _e * 2, Te, He,
|
|
15488
|
-
for ($ = "l" + we + ",0 0," + we + " -" + we + ",0 0,-" + we + "z ", he += '<svg version="1.1" xmlns="http://www.w3.org/2000/svg"', he += Se.scalable ? "" : ' width="' + qe + 'px" height="' + qe + 'px"', he += ' viewBox="0 0 ' + qe + " " + qe + '" ', he += ' preserveAspectRatio="xMinYMin meet"', he += Pe.text || pe.text ? ' role="img" aria-labelledby="' +
|
|
15489
|
-
for (ae =
|
|
15490
|
-
X.isDark(
|
|
15487
|
+
var qe = X.getModuleCount() * we + _e * 2, Te, He, xe, ae, he = "", $;
|
|
15488
|
+
for ($ = "l" + we + ",0 0," + we + " -" + we + ",0 0,-" + we + "z ", he += '<svg version="1.1" xmlns="http://www.w3.org/2000/svg"', he += Se.scalable ? "" : ' width="' + qe + 'px" height="' + qe + 'px"', he += ' viewBox="0 0 ' + qe + " " + qe + '" ', he += ' preserveAspectRatio="xMinYMin meet"', he += Pe.text || pe.text ? ' role="img" aria-labelledby="' + Ce([Pe.id, pe.id].join(" ").trim()) + '"' : "", he += ">", he += Pe.text ? '<title id="' + Ce(Pe.id) + '">' + Ce(Pe.text) + "</title>" : "", he += pe.text ? '<description id="' + Ce(pe.id) + '">' + Ce(pe.text) + "</description>" : "", he += '<rect width="100%" height="100%" fill="white" cx="0" cy="0"/>', he += '<path d="', xe = 0; xe < X.getModuleCount(); xe += 1)
|
|
15489
|
+
for (ae = xe * we + _e, Te = 0; Te < X.getModuleCount(); Te += 1)
|
|
15490
|
+
X.isDark(xe, Te) && (He = Te * we + _e, he += "M" + He + "," + ae + $);
|
|
15491
15491
|
return he += '" stroke="transparent" fill="black"/>', he += "</svg>", he;
|
|
15492
15492
|
}, X.createDataURL = function(we, _e) {
|
|
15493
15493
|
we = we || 2, _e = typeof _e > "u" ? we * 4 : _e;
|
|
15494
15494
|
var pe = X.getModuleCount() * we + _e * 2, Pe = _e, Se = pe - _e;
|
|
15495
15495
|
return E(pe, pe, function(qe, Te) {
|
|
15496
15496
|
if (Pe <= qe && qe < Se && Pe <= Te && Te < Se) {
|
|
15497
|
-
var He = Math.floor((qe - Pe) / we),
|
|
15498
|
-
return X.isDark(
|
|
15497
|
+
var He = Math.floor((qe - Pe) / we), xe = Math.floor((Te - Pe) / we);
|
|
15498
|
+
return X.isDark(xe, He) ? 0 : 1;
|
|
15499
15499
|
} else
|
|
15500
15500
|
return 1;
|
|
15501
15501
|
});
|
|
15502
15502
|
}, X.createImgTag = function(we, _e, pe) {
|
|
15503
15503
|
we = we || 2, _e = typeof _e > "u" ? we * 4 : _e;
|
|
15504
15504
|
var Pe = X.getModuleCount() * we + _e * 2, Se = "";
|
|
15505
|
-
return Se += "<img", Se += ' src="', Se += X.createDataURL(we, _e), Se += '"', Se += ' width="', Se += Pe, Se += '"', Se += ' height="', Se += Pe, Se += '"', pe && (Se += ' alt="', Se +=
|
|
15505
|
+
return Se += "<img", Se += ' src="', Se += X.createDataURL(we, _e), Se += '"', Se += ' width="', Se += Pe, Se += '"', Se += ' height="', Se += Pe, Se += '"', pe && (Se += ' alt="', Se += Ce(pe), Se += '"'), Se += "/>", Se;
|
|
15506
15506
|
};
|
|
15507
|
-
var
|
|
15507
|
+
var Ce = function(we) {
|
|
15508
15508
|
for (var _e = "", pe = 0; pe < we.length; pe += 1) {
|
|
15509
15509
|
var Pe = we.charAt(pe);
|
|
15510
15510
|
switch (Pe) {
|
|
@@ -15529,7 +15529,7 @@ function requireQrcode() {
|
|
|
15529
15529
|
}, Ie = function(we) {
|
|
15530
15530
|
var _e = 1;
|
|
15531
15531
|
we = typeof we > "u" ? _e * 2 : we;
|
|
15532
|
-
var pe = X.getModuleCount() * _e + we * 2, Pe = we, Se = pe - we, qe, Te, He,
|
|
15532
|
+
var pe = X.getModuleCount() * _e + we * 2, Pe = we, Se = pe - we, qe, Te, He, xe, ae, he = {
|
|
15533
15533
|
"██": "█",
|
|
15534
15534
|
"█ ": "▀",
|
|
15535
15535
|
" █": "▄",
|
|
@@ -15541,8 +15541,8 @@ function requireQrcode() {
|
|
|
15541
15541
|
" ": " "
|
|
15542
15542
|
}, Ne = "";
|
|
15543
15543
|
for (qe = 0; qe < pe; qe += 2) {
|
|
15544
|
-
for (He = Math.floor((qe - Pe) / _e),
|
|
15545
|
-
ae = "█", Pe <= Te && Te < Se && Pe <= qe && qe < Se && X.isDark(He, Math.floor((Te - Pe) / _e)) && (ae = " "), Pe <= Te && Te < Se && Pe <= qe + 1 && qe + 1 < Se && X.isDark(
|
|
15544
|
+
for (He = Math.floor((qe - Pe) / _e), xe = Math.floor((qe + 1 - Pe) / _e), Te = 0; Te < pe; Te += 1)
|
|
15545
|
+
ae = "█", Pe <= Te && Te < Se && Pe <= qe && qe < Se && X.isDark(He, Math.floor((Te - Pe) / _e)) && (ae = " "), Pe <= Te && Te < Se && Pe <= qe + 1 && qe + 1 < Se && X.isDark(xe, Math.floor((Te - Pe) / _e)) ? ae += " " : ae += "█", Ne += we < 1 && qe + 1 >= Se ? $[ae] : he[ae];
|
|
15546
15546
|
Ne += `
|
|
15547
15547
|
`;
|
|
15548
15548
|
}
|
|
@@ -15552,10 +15552,10 @@ function requireQrcode() {
|
|
|
15552
15552
|
if (we = we || 1, we < 2)
|
|
15553
15553
|
return Ie(_e);
|
|
15554
15554
|
we -= 1, _e = typeof _e > "u" ? we * 2 : _e;
|
|
15555
|
-
var pe = X.getModuleCount() * we + _e * 2, Pe = _e, Se = pe - _e, qe, Te, He,
|
|
15555
|
+
var pe = X.getModuleCount() * we + _e * 2, Pe = _e, Se = pe - _e, qe, Te, He, xe, ae = Array(we + 1).join("██"), he = Array(we + 1).join(" "), $ = "", Ne = "";
|
|
15556
15556
|
for (qe = 0; qe < pe; qe += 1) {
|
|
15557
15557
|
for (He = Math.floor((qe - Pe) / we), Ne = "", Te = 0; Te < pe; Te += 1)
|
|
15558
|
-
|
|
15558
|
+
xe = 1, Pe <= Te && Te < Se && Pe <= qe && qe < Se && X.isDark(He, Math.floor((Te - Pe) / we)) && (xe = 0), Ne += xe ? ae : he;
|
|
15559
15559
|
for (He = 0; He < we; He += 1)
|
|
15560
15560
|
$ += Ne + `
|
|
15561
15561
|
`;
|
|
@@ -21386,7 +21386,7 @@ class DownListNode extends ControlNode {
|
|
|
21386
21386
|
const u = HOEditorFactorys.instance().getFactory(t);
|
|
21387
21387
|
u.vueController.getNodeByDataID("all", r.dataId) && (r.dataId = u.gernerateCode.generateID("DownList"));
|
|
21388
21388
|
}
|
|
21389
|
-
r.isAllowDelete = r.isAllowDelete ? r.isAllowDelete : !1, r.isReadOnly = r.isReadOnly ? r.isReadOnly : !1, r.mutexSelect = r.mutexSelect ? r.mutexSelect : !1, r.allowMultiSelect = r.allowMultiSelect ? r.allowMultiSelect : !1, r.usePrefix = r.usePrefix ? r.usePrefix : !1, r.selectPrefix = r.selectPrefix || i18nHelper("04-001-009-EMR.3.3.587", null, "有"), r.unSelectPrefix = r.unSelectPrefix || i18nHelper("04-001-009-EMR.3.3.70", null, "无"), r.type = parseInt(ControlType[r.type]), r.isSynchro = r.isSynchro ? r.isSynchro : !1, r.readType = r.readType ? Number(r.readType) : -1;
|
|
21389
|
+
r.isAllowDelete = r.isAllowDelete ? r.isAllowDelete : !1, r.isReadOnly = r.isReadOnly ? r.isReadOnly : !1, r.mutexSelect = r.mutexSelect ? r.mutexSelect : !1, r.allowMultiSelect = r.allowMultiSelect ? r.allowMultiSelect : !1, r.usePrefix = r.usePrefix ? r.usePrefix : !1, r.selectPrefix = r.selectPrefix || i18nHelper("04-001-009-EMR.3.3.587", null, "有"), r.unSelectPrefix = r.unSelectPrefix || i18nHelper("04-001-009-EMR.3.3.70", null, "无"), r.type = parseInt(ControlType[r.type]), r.isSynchro = r.isSynchro ? r.isSynchro : !1, r.readType = r.readType ? Number(r.readType) : -1, r.text = r.text || "";
|
|
21390
21390
|
let l = [], c = [];
|
|
21391
21391
|
const d = r.text.split(",");
|
|
21392
21392
|
if (Array.isArray(r.downLists.item))
|
|
@@ -29107,7 +29107,7 @@ class DrawTree {
|
|
|
29107
29107
|
*/
|
|
29108
29108
|
async rebuildAllDrawLine(t, r, o = !0) {
|
|
29109
29109
|
const n = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID);
|
|
29110
|
-
n.firstPageStartTop > 0 ? (this.drawPages[0].storeDrawHeader.visible = !1, this.drawPages[0].storeDrawFooter.visible = !1) : (this.drawPages[0].storeDrawHeader.visible = !0, this.drawPages[0].storeDrawFooter.visible = !0);
|
|
29110
|
+
this.drawPages[0] && (n.firstPageStartTop > 0 ? (this.drawPages[0].storeDrawHeader.visible = !1, this.drawPages[0].storeDrawFooter.visible = !1) : (this.drawPages[0].storeDrawHeader.visible = !0, this.drawPages[0].storeDrawFooter.visible = !0));
|
|
29111
29111
|
const s = n.subDocManger.headerDocTree;
|
|
29112
29112
|
for (let m = 0; m < s.length; m++) {
|
|
29113
29113
|
const g = s[m].subDocNodes;
|
|
@@ -30302,6 +30302,8 @@ class DocProperty {
|
|
|
30302
30302
|
//患者ID
|
|
30303
30303
|
b(this, "_patientName", "");
|
|
30304
30304
|
//患者姓名
|
|
30305
|
+
b(this, "_patientSex", "");
|
|
30306
|
+
//患者性别
|
|
30305
30307
|
b(this, "_lastEditTime");
|
|
30306
30308
|
//最后一次修改(保存)时间
|
|
30307
30309
|
b(this, "_lastEditorID");
|
|
@@ -30362,6 +30364,12 @@ class DocProperty {
|
|
|
30362
30364
|
set patientName(t) {
|
|
30363
30365
|
t !== this._patientName && (this._patientName = t);
|
|
30364
30366
|
}
|
|
30367
|
+
get patientSex() {
|
|
30368
|
+
return this._patientSex;
|
|
30369
|
+
}
|
|
30370
|
+
set patientSex(t) {
|
|
30371
|
+
t !== this._patientSex && (this._patientSex = t);
|
|
30372
|
+
}
|
|
30365
30373
|
get lastEditTime() {
|
|
30366
30374
|
return this._lastEditTime;
|
|
30367
30375
|
}
|
|
@@ -33998,13 +34006,13 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
33998
34006
|
);
|
|
33999
34007
|
});
|
|
34000
34008
|
}
|
|
34001
|
-
function
|
|
34009
|
+
function Ce(S) {
|
|
34002
34010
|
return S.match(/\[[\s\S]/) ? S.replace(/^\[|\]$/g, "") : S.replace(/\\/g, "");
|
|
34003
34011
|
}
|
|
34004
34012
|
function Ie(S) {
|
|
34005
34013
|
var L = S.match(ie), Z, q;
|
|
34006
34014
|
for (Z = 0, q = L.length; Z < q; Z++)
|
|
34007
|
-
Q[L[Z]] ? L[Z] = Q[L[Z]] : L[Z] =
|
|
34015
|
+
Q[L[Z]] ? L[Z] = Q[L[Z]] : L[Z] = Ce(L[Z]);
|
|
34008
34016
|
return function(ce) {
|
|
34009
34017
|
var Le = "", $e;
|
|
34010
34018
|
for ($e = 0; $e < q; $e++)
|
|
@@ -34046,7 +34054,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34046
34054
|
return this._invalidDate;
|
|
34047
34055
|
}
|
|
34048
34056
|
var Te = "%d", He = /\d{1,2}/;
|
|
34049
|
-
function
|
|
34057
|
+
function xe(S) {
|
|
34050
34058
|
return this._ordinal.replace("%d", S);
|
|
34051
34059
|
}
|
|
34052
34060
|
var ae = {
|
|
@@ -34160,7 +34168,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34160
34168
|
return q.priority - ce.priority;
|
|
34161
34169
|
}), L;
|
|
34162
34170
|
}
|
|
34163
|
-
var ot = /\d/, ut = /\d\d/, _t = /\d{3}/, mt = /\d{4}/, Pt = /[+-]?\d{6}/, gt = /\d\d?/, Tt = /\d\d\d\d?/,
|
|
34171
|
+
var ot = /\d/, ut = /\d\d/, _t = /\d{3}/, mt = /\d{4}/, Pt = /[+-]?\d{6}/, gt = /\d\d?/, Tt = /\d\d\d\d?/, xt = /\d\d\d\d\d\d?/, At = /\d{1,3}/, St = /\d{1,4}/, Qt = /[+-]?\d{1,6}/, Mt = /\d+/, rr = /[+-]?\d+/, Cr = /Z|[+-]\d\d:?\d\d/gi, Rt = /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, se = /^[1-9]\d?/, De = /^([1-9]\d|\d)/, Ue;
|
|
34164
34172
|
Ue = {};
|
|
34165
34173
|
function Ge(S, L, Z) {
|
|
34166
34174
|
Ue[S] = U(L) ? L : function(q, ce) {
|
|
@@ -34420,26 +34428,26 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34420
34428
|
var L, Z;
|
|
34421
34429
|
return S < 100 && S >= 0 ? (Z = Array.prototype.slice.call(arguments), Z[0] = S + 400, L = new Date(Date.UTC.apply(null, Z)), isFinite(L.getUTCFullYear()) && L.setUTCFullYear(S)) : L = new Date(Date.UTC.apply(null, arguments)), L;
|
|
34422
34430
|
}
|
|
34423
|
-
function
|
|
34431
|
+
function Ct(S, L, Z) {
|
|
34424
34432
|
var q = 7 + L - Z, ce = (7 + ft(S, 0, q).getUTCDay() - L) % 7;
|
|
34425
34433
|
return -ce + q - 1;
|
|
34426
34434
|
}
|
|
34427
34435
|
function Ot(S, L, Z, q, ce) {
|
|
34428
|
-
var Le = (7 + Z - q) % 7, $e =
|
|
34436
|
+
var Le = (7 + Z - q) % 7, $e = Ct(S, q, ce), wt = 1 + 7 * (L - 1) + Le + $e, Lt, Vt;
|
|
34429
34437
|
return wt <= 0 ? (Lt = S - 1, Vt = Yr(Lt) + wt) : wt > Yr(S) ? (Lt = S + 1, Vt = wt - Yr(S)) : (Lt = S, Vt = wt), {
|
|
34430
34438
|
year: Lt,
|
|
34431
34439
|
dayOfYear: Vt
|
|
34432
34440
|
};
|
|
34433
34441
|
}
|
|
34434
34442
|
function Yt(S, L, Z) {
|
|
34435
|
-
var q =
|
|
34443
|
+
var q = Ct(S.year(), L, Z), ce = Math.floor((S.dayOfYear() - q - 1) / 7) + 1, Le, $e;
|
|
34436
34444
|
return ce < 1 ? ($e = S.year() - 1, Le = ce + Ft($e, L, Z)) : ce > Ft(S.year(), L, Z) ? (Le = ce - Ft(S.year(), L, Z), $e = S.year() + 1) : ($e = S.year(), Le = ce), {
|
|
34437
34445
|
week: Le,
|
|
34438
34446
|
year: $e
|
|
34439
34447
|
};
|
|
34440
34448
|
}
|
|
34441
34449
|
function Ft(S, L, Z) {
|
|
34442
|
-
var q =
|
|
34450
|
+
var q = Ct(S, L, Z), ce = Ct(S + 1, L, Z);
|
|
34443
34451
|
return (Yr(S) - q + ce) / 7;
|
|
34444
34452
|
}
|
|
34445
34453
|
ne("w", ["ww", 2], "wo", "week"), ne("W", ["WW", 2], "Wo", "isoWeek"), Ge("w", gt, se), Ge("ww", gt, ut), Ge("W", gt, se), Ge("WW", gt, ut), wr(
|
|
@@ -34622,7 +34630,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34622
34630
|
function Hi(S, L) {
|
|
34623
34631
|
return L._meridiemParse;
|
|
34624
34632
|
}
|
|
34625
|
-
Ge("a", Hi), Ge("A", Hi), Ge("H", gt, De), Ge("h", gt, se), Ge("k", gt, se), Ge("HH", gt, ut), Ge("hh", gt, ut), Ge("kk", gt, ut), Ge("hmm", Tt), Ge("hmmss",
|
|
34633
|
+
Ge("a", Hi), Ge("A", Hi), Ge("H", gt, De), Ge("h", gt, se), Ge("k", gt, se), Ge("HH", gt, ut), Ge("hh", gt, ut), Ge("kk", gt, ut), Ge("hmm", Tt), Ge("hmmss", xt), Ge("Hmm", Tt), Ge("Hmmss", xt), kt(["H", "HH"], Zt), kt(["k", "kk"], function(S, L, Z) {
|
|
34626
34634
|
var q = ct(S);
|
|
34627
34635
|
L[Zt] = q === 24 ? 0 : q;
|
|
34628
34636
|
}), kt(["a", "A"], function(S, L, Z) {
|
|
@@ -34663,7 +34671,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34663
34671
|
weekdaysMin: dn,
|
|
34664
34672
|
weekdaysShort: eo,
|
|
34665
34673
|
meridiemParse: yo
|
|
34666
|
-
}, gr = {},
|
|
34674
|
+
}, gr = {}, xi = {}, ai;
|
|
34667
34675
|
function vo(S, L) {
|
|
34668
34676
|
var Z, q = Math.min(S.length, L.length);
|
|
34669
34677
|
for (Z = 0; Z < q; Z += 1)
|
|
@@ -34718,11 +34726,11 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34718
34726
|
else if (Z = wo(L.parentLocale), Z != null)
|
|
34719
34727
|
q = Z._config;
|
|
34720
34728
|
else
|
|
34721
|
-
return
|
|
34729
|
+
return xi[L.parentLocale] || (xi[L.parentLocale] = []), xi[L.parentLocale].push({
|
|
34722
34730
|
name: S,
|
|
34723
34731
|
config: L
|
|
34724
34732
|
}), null;
|
|
34725
|
-
return gr[S] = new Y(X(q, L)),
|
|
34733
|
+
return gr[S] = new Y(X(q, L)), xi[S] && xi[S].forEach(function(ce) {
|
|
34726
34734
|
Jr(ce.name, ce.config);
|
|
34727
34735
|
}), Qr(S), gr[S];
|
|
34728
34736
|
} else
|
|
@@ -34754,7 +34762,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34754
34762
|
var L, Z = S._a;
|
|
34755
34763
|
return Z && v(S).overflow === -2 && (L = Z[hr] < 0 || Z[hr] > 11 ? hr : Z[jt] < 1 || Z[jt] > vi(Z[Wt], Z[hr]) ? jt : Z[Zt] < 0 || Z[Zt] > 24 || Z[Zt] === 24 && (Z[nr] !== 0 || Z[pr] !== 0 || Z[Mr] !== 0) ? Zt : Z[nr] < 0 || Z[nr] > 59 ? nr : Z[pr] < 0 || Z[pr] > 59 ? pr : Z[Mr] < 0 || Z[Mr] > 999 ? Mr : -1, v(S)._overflowDayOfYear && (L < Wt || L > jt) && (L = jt), v(S)._overflowWeeks && L === -1 && (L = Ur), v(S)._overflowWeekday && L === -1 && (L = _i), v(S).overflow = L), S;
|
|
34756
34764
|
}
|
|
34757
|
-
var yn = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, kn = /^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,
|
|
34765
|
+
var yn = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, kn = /^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, xo = /Z|[+-]\d\d(?::?\d\d)?/, Bi = [
|
|
34758
34766
|
["YYYYYY-MM-DD", /[+-]\d{6}-\d\d-\d\d/],
|
|
34759
34767
|
["YYYY-MM-DD", /\d{4}-\d\d-\d\d/],
|
|
34760
34768
|
["GGGG-[W]WW-E", /\d{4}-W\d\d-\d/],
|
|
@@ -34778,7 +34786,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34778
34786
|
["HHmmss", /\d\d\d\d\d\d/],
|
|
34779
34787
|
["HHmm", /\d\d\d\d/],
|
|
34780
34788
|
["HH", /\d\d/]
|
|
34781
|
-
], zi = /^\/?Date\((-?\d+)/i,
|
|
34789
|
+
], zi = /^\/?Date\((-?\d+)/i, Co = /^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/, W = {
|
|
34782
34790
|
UT: 0,
|
|
34783
34791
|
GMT: 0,
|
|
34784
34792
|
EDT: -4 * 60,
|
|
@@ -34818,7 +34826,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34818
34826
|
return;
|
|
34819
34827
|
}
|
|
34820
34828
|
if (ce[4])
|
|
34821
|
-
if (
|
|
34829
|
+
if (xo.exec(ce[4]))
|
|
34822
34830
|
Lt = "Z";
|
|
34823
34831
|
else {
|
|
34824
34832
|
S._isValid = !1;
|
|
@@ -34866,7 +34874,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34866
34874
|
return Le * 60 + ce;
|
|
34867
34875
|
}
|
|
34868
34876
|
function pt(S) {
|
|
34869
|
-
var L =
|
|
34877
|
+
var L = Co.exec(je(S._i)), Z;
|
|
34870
34878
|
if (L) {
|
|
34871
34879
|
if (Z = ve(
|
|
34872
34880
|
L[4],
|
|
@@ -35107,7 +35115,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35107
35115
|
}
|
|
35108
35116
|
o.updateOffset = function() {
|
|
35109
35117
|
};
|
|
35110
|
-
function
|
|
35118
|
+
function Ci(S, L, Z) {
|
|
35111
35119
|
var q = this._offset || 0, ce;
|
|
35112
35120
|
if (!this.isValid())
|
|
35113
35121
|
return S != null ? this : NaN;
|
|
@@ -35138,7 +35146,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35138
35146
|
if (this._tzm != null)
|
|
35139
35147
|
this.utcOffset(this._tzm, !1, !0);
|
|
35140
35148
|
else if (typeof this._i == "string") {
|
|
35141
|
-
var S = ao(
|
|
35149
|
+
var S = ao(Cr, this._i);
|
|
35142
35150
|
S != null ? this.utcOffset(S) : this.utcOffset(0, !0);
|
|
35143
35151
|
}
|
|
35144
35152
|
return this;
|
|
@@ -35223,9 +35231,9 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35223
35231
|
return typeof S == "string" || S instanceof String;
|
|
35224
35232
|
}
|
|
35225
35233
|
function mr(S) {
|
|
35226
|
-
return R(S) || p(S) || or(S) || f(S) || Eo(S) ||
|
|
35234
|
+
return R(S) || p(S) || or(S) || f(S) || Eo(S) || xr(S) || S === null || S === void 0;
|
|
35227
35235
|
}
|
|
35228
|
-
function
|
|
35236
|
+
function xr(S) {
|
|
35229
35237
|
var L = l(S) && !d(S), Z = !1, q = [
|
|
35230
35238
|
"years",
|
|
35231
35239
|
"year",
|
|
@@ -35301,7 +35309,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35301
35309
|
var ce = R(S) ? S : lr(S), Le = R(L) ? L : lr(L);
|
|
35302
35310
|
return this.isValid() && ce.isValid() && Le.isValid() ? (q = q || "()", (q[0] === "(" ? this.isAfter(ce, Z) : !this.isBefore(ce, Z)) && (q[1] === ")" ? this.isBefore(Le, Z) : !this.isAfter(Le, Z))) : !1;
|
|
35303
35311
|
}
|
|
35304
|
-
function
|
|
35312
|
+
function xn(S, L) {
|
|
35305
35313
|
var Z = R(S) ? S : lr(S), q;
|
|
35306
35314
|
return this.isValid() && Z.isValid() ? (L = Be(L) || "millisecond", L === "millisecond" ? this.valueOf() === Z.valueOf() : (q = Z.valueOf(), this.clone().startOf(L).valueOf() <= q && q <= this.clone().endOf(L).valueOf())) : !1;
|
|
35307
35315
|
}
|
|
@@ -35410,7 +35418,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35410
35418
|
function Yn() {
|
|
35411
35419
|
return this._locale;
|
|
35412
35420
|
}
|
|
35413
|
-
var
|
|
35421
|
+
var Cn = 1e3, Fo = 60 * Cn, bn = 60 * Fo, os = (365 * 400 + 97) * 24 * bn;
|
|
35414
35422
|
function ho(S, L) {
|
|
35415
35423
|
return (S % L + L) % L;
|
|
35416
35424
|
}
|
|
@@ -35466,7 +35474,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35466
35474
|
L = this._d.valueOf(), L -= ho(L, Fo);
|
|
35467
35475
|
break;
|
|
35468
35476
|
case "second":
|
|
35469
|
-
L = this._d.valueOf(), L -= ho(L,
|
|
35477
|
+
L = this._d.valueOf(), L -= ho(L, Cn);
|
|
35470
35478
|
break;
|
|
35471
35479
|
}
|
|
35472
35480
|
return this._d.setTime(L), o.updateOffset(this, !0), this;
|
|
@@ -35517,7 +35525,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35517
35525
|
L = this._d.valueOf(), L += Fo - ho(L, Fo) - 1;
|
|
35518
35526
|
break;
|
|
35519
35527
|
case "second":
|
|
35520
|
-
L = this._d.valueOf(), L +=
|
|
35528
|
+
L = this._d.valueOf(), L += Cn - ho(L, Cn) - 1;
|
|
35521
35529
|
break;
|
|
35522
35530
|
}
|
|
35523
35531
|
return this._d.setTime(L), o.updateOffset(this, !0), this;
|
|
@@ -35576,7 +35584,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35576
35584
|
strict: this._strict
|
|
35577
35585
|
};
|
|
35578
35586
|
}
|
|
35579
|
-
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", Pn), Ge("NN", Pn), Ge("NNN", Pn), Ge("NNNN", ws), Ge("NNNNN",
|
|
35587
|
+
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", Pn), Ge("NN", Pn), Ge("NNN", Pn), Ge("NNNN", ws), Ge("NNNNN", xs), kt(
|
|
35580
35588
|
["N", "NN", "NNN", "NNNN", "NNNNN"],
|
|
35581
35589
|
function(S, L, Z, q) {
|
|
35582
35590
|
var ce = Z._locale.erasParse(S, q, Z._strict);
|
|
@@ -35675,7 +35683,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35675
35683
|
function ws(S, L) {
|
|
35676
35684
|
return L.erasNameRegex(S);
|
|
35677
35685
|
}
|
|
35678
|
-
function
|
|
35686
|
+
function xs(S, L) {
|
|
35679
35687
|
return L.erasNarrowRegex(S);
|
|
35680
35688
|
}
|
|
35681
35689
|
function ei(S, L) {
|
|
@@ -35706,7 +35714,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35706
35714
|
), wr(["gg", "GG"], function(S, L, Z, q) {
|
|
35707
35715
|
L[q] = o.parseTwoDigitYear(S);
|
|
35708
35716
|
});
|
|
35709
|
-
function
|
|
35717
|
+
function Cs(S) {
|
|
35710
35718
|
return rn.call(
|
|
35711
35719
|
this,
|
|
35712
35720
|
S,
|
|
@@ -35806,9 +35814,9 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35806
35814
|
return this._isUTC ? "Coordinated Universal Time" : "";
|
|
35807
35815
|
}
|
|
35808
35816
|
var ht = M.prototype;
|
|
35809
|
-
ht.add = vr, ht.calendar = wn, ht.clone = On, ht.diff = js, ht.endOf = _n, ht.format = Zs, ht.from = Gs, ht.fromNow = Wn, ht.to = Un, ht.toNow = en, ht.get = mi, ht.invalidAt = ds, ht.isAfter = ts, ht.isBefore = Bn, ht.isBetween = zn, ht.isSame =
|
|
35817
|
+
ht.add = vr, ht.calendar = wn, ht.clone = On, ht.diff = js, ht.endOf = _n, ht.format = Zs, ht.from = Gs, ht.fromNow = Wn, ht.to = Un, ht.toNow = en, ht.get = mi, ht.invalidAt = ds, ht.isAfter = ts, ht.isBefore = Bn, ht.isBetween = zn, ht.isSame = xn, ht.isSameOrAfter = jn, ht.isSameOrBefore = zs, ht.isValid = ls, ht.lang = is, ht.locale = rs, ht.localeData = Yn, ht.max = Po, ht.min = Go, ht.parsingFlags = cs, ht.set = fo, ht.startOf = Li, ht.subtract = Nr, ht.toArray = Gn, ht.toObject = ss, ht.toDate = Io, ht.toISOString = Us, ht.inspect = Ys, typeof Symbol < "u" && Symbol.for != null && (ht[Symbol.for("nodejs.util.inspect.custom")] = function() {
|
|
35810
35818
|
return "Moment<" + this.format() + ">";
|
|
35811
|
-
}), ht.toJSON = as, ht.toString = Ws, ht.unix = Zn, ht.valueOf = ns, ht.creationData = hs, ht.eraName = gs, ht.eraNarrow = ms, ht.eraAbbr = ys, ht.eraYear = Vs, ht.year = Zr, ht.isLeapYear = qi, ht.weekYear =
|
|
35819
|
+
}), ht.toJSON = as, ht.toString = Ws, ht.unix = Zn, ht.valueOf = ns, ht.creationData = hs, ht.eraName = gs, ht.eraNarrow = ms, ht.eraAbbr = ys, ht.eraYear = Vs, ht.year = Zr, ht.isLeapYear = qi, ht.weekYear = Cs, ht.isoWeekYear = bs, ht.quarter = ht.quarters = Xn, ht.month = We, ht.daysInMonth = Re, ht.week = ht.weeks = $i, ht.isoWeek = ht.isoWeeks = si, ht.weeksInYear = Xs, ht.weeksInWeekYear = Tn, ht.isoWeeksInYear = _s, ht.isoWeeksInISOWeekYear = Ps, ht.date = Ns, ht.day = ht.days = Ht, ht.weekday = In, ht.isoWeekday = An, ht.dayOfYear = Ts, ht.hour = ht.hours = Rn, ht.minute = ht.minutes = qs, ht.second = ht.seconds = Qs, ht.millisecond = ht.milliseconds = Ss, ht.utcOffset = Ci, ht.utc = ci, ht.local = Wi, ht.parseZone = Ui, ht.hasAlignedHourOffset = Jo, ht.isDST = di, ht.isLocal = Do, ht.isUtcOffset = lo, ht.isUtc = Yi, ht.isUTC = Yi, ht.zoneAbbr = Ks, ht.zoneName = Ds, ht.dates = H(
|
|
35812
35820
|
"dates accessor is deprecated. Use date instead.",
|
|
35813
35821
|
Ns
|
|
35814
35822
|
), ht.months = H(
|
|
@@ -35834,7 +35842,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35834
35842
|
return S;
|
|
35835
35843
|
}
|
|
35836
35844
|
var N = Y.prototype;
|
|
35837
|
-
N.calendar = le, N.longDateFormat = Pe, N.invalidDate = qe, N.ordinal =
|
|
35845
|
+
N.calendar = le, N.longDateFormat = Pe, N.invalidDate = qe, N.ordinal = xe, N.preparse = qn, N.postformat = qn, N.relativeTime = he, N.pastFuture = $, N.set = z, N.eras = us, N.erasParse = fs, N.erasConvertYear = ps, N.erasAbbrRegex = Gi, N.erasNameRegex = vs, N.erasNarrowRegex = tn, N.months = go, N.monthsShort = me, N.monthsParse = be, N.monthsRegex = rt, N.monthsShortRegex = it, N.week = ur, N.firstDayOfYear = Pi, N.firstDayOfWeek = Rr, N.weekdays = Gr, N.weekdaysMin = un, N.weekdaysShort = hn, N.weekdaysParse = Uo, N.weekdaysRegex = Yo, N.weekdaysShortRegex = fn, N.weekdaysMinRegex = ki, N.isPM = Mn, N.meridiem = Oi;
|
|
35838
35846
|
function F(S, L, Z, q) {
|
|
35839
35847
|
var ce = Or(), Le = y().set(q, L);
|
|
35840
35848
|
return ce[Z](Le, S);
|
|
@@ -40176,7 +40184,7 @@ function requireDom() {
|
|
|
40176
40184
|
if (Ue ? se[G(se, Ue)] = De : se[se.length++] = De, ee) {
|
|
40177
40185
|
De.ownerElement = ee;
|
|
40178
40186
|
var Ge = ee.ownerDocument;
|
|
40179
|
-
Ge && (Ue &&
|
|
40187
|
+
Ge && (Ue && Ce(Ge, ee, Ue), ne(Ge, ee, De));
|
|
40180
40188
|
}
|
|
40181
40189
|
}
|
|
40182
40190
|
function le(ee, se, De) {
|
|
@@ -40186,7 +40194,7 @@ function requireDom() {
|
|
|
40186
40194
|
se[Ue] = se[++Ue];
|
|
40187
40195
|
if (se.length = Ge, ee) {
|
|
40188
40196
|
var Dt = ee.ownerDocument;
|
|
40189
|
-
Dt && (
|
|
40197
|
+
Dt && (Ce(Dt, ee, De), De.ownerElement = null);
|
|
40190
40198
|
}
|
|
40191
40199
|
} else
|
|
40192
40200
|
throw new j(H, new Error(ee.tagName + "@" + De));
|
|
@@ -40424,7 +40432,7 @@ function requireDom() {
|
|
|
40424
40432
|
var Ue = De.namespaceURI;
|
|
40425
40433
|
Ue === r.XMLNS && (se._nsMap[De.prefix ? De.localName : ""] = De.value);
|
|
40426
40434
|
}
|
|
40427
|
-
function
|
|
40435
|
+
function Ce(ee, se, De, Ue) {
|
|
40428
40436
|
ee && ee._inc++;
|
|
40429
40437
|
var Ge = De.namespaceURI;
|
|
40430
40438
|
Ge === r.XMLNS && delete se._nsMap[De.prefix ? De.localName : ""];
|
|
@@ -40478,7 +40486,7 @@ function requireDom() {
|
|
|
40478
40486
|
var Ge = t(De, Pe);
|
|
40479
40487
|
return !(se && Ge && De.indexOf(Ge) > De.indexOf(se));
|
|
40480
40488
|
}
|
|
40481
|
-
function
|
|
40489
|
+
function xe(ee, se, De) {
|
|
40482
40490
|
if (!_e(ee))
|
|
40483
40491
|
throw new j(A, "Unexpected parent node type " + ee.nodeType);
|
|
40484
40492
|
if (De && De.parentNode !== ee)
|
|
@@ -40539,7 +40547,7 @@ function requireDom() {
|
|
|
40539
40547
|
}
|
|
40540
40548
|
}
|
|
40541
40549
|
function $(ee, se, De, Ue) {
|
|
40542
|
-
|
|
40550
|
+
xe(ee, se, De), ee.nodeType === ie.DOCUMENT_NODE && (Ue || ae)(ee, se, De);
|
|
40543
40551
|
var Ge = se.parentNode;
|
|
40544
40552
|
if (Ge && Ge.removeChild(se), se.nodeType === T) {
|
|
40545
40553
|
var Dt = se.firstChild;
|
|
@@ -40589,7 +40597,7 @@ function requireDom() {
|
|
|
40589
40597
|
},
|
|
40590
40598
|
// Introduced in DOM Level 2:
|
|
40591
40599
|
importNode: function(ee, se) {
|
|
40592
|
-
return
|
|
40600
|
+
return Cr(this, ee, se);
|
|
40593
40601
|
},
|
|
40594
40602
|
// Introduced in DOM Level 2:
|
|
40595
40603
|
getElementById: function(ee) {
|
|
@@ -40659,7 +40667,7 @@ function requireDom() {
|
|
|
40659
40667
|
return se.ownerDocument = this, se.appendData(ee), se;
|
|
40660
40668
|
},
|
|
40661
40669
|
createProcessingInstruction: function(ee, se) {
|
|
40662
|
-
var De = new
|
|
40670
|
+
var De = new xt();
|
|
40663
40671
|
return De.ownerDocument = this, De.tagName = De.nodeName = De.target = ee, De.nodeValue = De.data = se, De;
|
|
40664
40672
|
},
|
|
40665
40673
|
createAttribute: function(ee) {
|
|
@@ -40819,9 +40827,9 @@ function requireDom() {
|
|
|
40819
40827
|
function Tt() {
|
|
40820
40828
|
}
|
|
40821
40829
|
Tt.prototype.nodeName = "#document-fragment", Tt.prototype.nodeType = T, u(Tt, ie);
|
|
40822
|
-
function
|
|
40830
|
+
function xt() {
|
|
40823
40831
|
}
|
|
40824
|
-
|
|
40832
|
+
xt.prototype.nodeType = C, u(xt, ie);
|
|
40825
40833
|
function At() {
|
|
40826
40834
|
}
|
|
40827
40835
|
At.prototype.serializeToString = function(ee, se, De) {
|
|
@@ -40954,7 +40962,7 @@ function requireDom() {
|
|
|
40954
40962
|
se.push("??", ee.nodeName);
|
|
40955
40963
|
}
|
|
40956
40964
|
}
|
|
40957
|
-
function
|
|
40965
|
+
function Cr(ee, se, De) {
|
|
40958
40966
|
var Ue;
|
|
40959
40967
|
switch (se.nodeType) {
|
|
40960
40968
|
case p:
|
|
@@ -40972,7 +40980,7 @@ function requireDom() {
|
|
|
40972
40980
|
}
|
|
40973
40981
|
if (Ue || (Ue = se.cloneNode(!1)), Ue.ownerDocument = ee, Ue.parentNode = null, De)
|
|
40974
40982
|
for (var Ge = se.firstChild; Ge; )
|
|
40975
|
-
Ue.appendChild(
|
|
40983
|
+
Ue.appendChild(Cr(ee, Ge, De)), Ge = Ge.nextSibling;
|
|
40976
40984
|
return Ue;
|
|
40977
40985
|
}
|
|
40978
40986
|
function Rt(ee, se, De) {
|
|
@@ -43234,15 +43242,15 @@ function requireSax() {
|
|
|
43234
43242
|
var ne = A.indexOf("<", Q);
|
|
43235
43243
|
if (ne < 0) {
|
|
43236
43244
|
if (!A.substr(Q).match(/^\s*$/)) {
|
|
43237
|
-
var
|
|
43238
|
-
|
|
43245
|
+
var Ce = j.doc, Ie = Ce.createTextNode(A.substr(Q));
|
|
43246
|
+
Ce.appendChild(Ie), j.currentElement = Ie;
|
|
43239
43247
|
}
|
|
43240
43248
|
return;
|
|
43241
43249
|
}
|
|
43242
43250
|
switch (ne > Q && Y(ne), A.charAt(ne + 1)) {
|
|
43243
43251
|
case "/":
|
|
43244
|
-
var
|
|
43245
|
-
|
|
43252
|
+
var xe = A.indexOf(">", ne + 3), we = A.substring(ne + 2, xe).replace(/[ \t\n\r]+$/g, ""), _e = ge.pop();
|
|
43253
|
+
xe < 0 ? (we = A.substring(ne + 2).replace(/[\s<].*/, ""), U.error("end tag name: " + we + " is not complete:" + _e.tagName), xe = ne + 1 + we.length) : we.match(/\s</) && (we = we.replace(/[\s<].*/, ""), U.error("end tag name: " + we + " maybe not complete"), xe = ne + 1 + we.length);
|
|
43246
43254
|
var pe = _e.localNSMap, Pe = _e.tagName == we, Se = Pe || _e.tagName && _e.tagName.toLowerCase() == we.toLowerCase();
|
|
43247
43255
|
if (Se) {
|
|
43248
43256
|
if (j.endElement(_e.uri, _e.localName, we), pe)
|
|
@@ -43251,19 +43259,19 @@ function requireSax() {
|
|
|
43251
43259
|
Pe || U.fatalError("end tag name: " + we + " is not match the current start tagName:" + _e.tagName);
|
|
43252
43260
|
} else
|
|
43253
43261
|
ge.push(_e);
|
|
43254
|
-
|
|
43262
|
+
xe++;
|
|
43255
43263
|
break;
|
|
43256
43264
|
// end elment
|
|
43257
43265
|
case "?":
|
|
43258
|
-
ie && G(ne),
|
|
43266
|
+
ie && G(ne), xe = I(A, ne, j);
|
|
43259
43267
|
break;
|
|
43260
43268
|
case "!":
|
|
43261
|
-
ie && G(ne),
|
|
43269
|
+
ie && G(ne), xe = T(A, ne, j, U);
|
|
43262
43270
|
break;
|
|
43263
43271
|
default:
|
|
43264
43272
|
ie && G(ne);
|
|
43265
|
-
var Te = new M(), He = ge[ge.length - 1].currentNSMap,
|
|
43266
|
-
if (!Te.closed && D(A,
|
|
43273
|
+
var Te = new M(), He = ge[ge.length - 1].currentNSMap, xe = v(A, ne, Te, He, X, U), ae = Te.length;
|
|
43274
|
+
if (!Te.closed && D(A, xe, Te.tagName, ue) && (Te.closed = !0, O.nbsp || U.warning("unclosed xml attribute")), ie && ae) {
|
|
43267
43275
|
for (var he = w(ie, {}), $ = 0; $ < ae; $++) {
|
|
43268
43276
|
var Ne = Te[$];
|
|
43269
43277
|
G(Ne.offset), Ne.locator = w(ie, {});
|
|
@@ -43271,14 +43279,14 @@ function requireSax() {
|
|
|
43271
43279
|
j.locator = he, C(Te, j, He) && ge.push(Te), j.locator = ie;
|
|
43272
43280
|
} else
|
|
43273
43281
|
C(Te, j, He) && ge.push(Te);
|
|
43274
|
-
a.isHTML(Te.uri) && !Te.closed ?
|
|
43282
|
+
a.isHTML(Te.uri) && !Te.closed ? xe = _(A, xe, Te.tagName, X, j) : xe++;
|
|
43275
43283
|
}
|
|
43276
43284
|
} catch (Be) {
|
|
43277
43285
|
if (Be instanceof m)
|
|
43278
43286
|
throw Be;
|
|
43279
|
-
U.error("element parse error: " + Be),
|
|
43287
|
+
U.error("element parse error: " + Be), xe = -1;
|
|
43280
43288
|
}
|
|
43281
|
-
|
|
43289
|
+
xe > Q ? Q = xe : Y(Math.max(ne, Q) + 1);
|
|
43282
43290
|
}
|
|
43283
43291
|
}
|
|
43284
43292
|
function w(A, H) {
|
|
@@ -43790,8 +43798,8 @@ function requireX2js() {
|
|
|
43790
43798
|
}
|
|
43791
43799
|
Y[o.attributePrefix + ge.name] = ue;
|
|
43792
43800
|
}
|
|
43793
|
-
var
|
|
43794
|
-
return
|
|
43801
|
+
var Ce = u(z);
|
|
43802
|
+
return Ce && (Y.__cnt++, Y.__prefix = Ce), Y["#text"] && (Y.__text = Y["#text"], Y.__text instanceof Array && (Y.__text = Y.__text.join(`
|
|
43795
43803
|
`)), 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() {
|
|
43796
43804
|
return (this.__text ? this.__text : "") + (this.__cdata ? this.__cdata : "");
|
|
43797
43805
|
}), Y);
|
|
@@ -49574,6 +49582,7 @@ class VueController {
|
|
|
49574
49582
|
return;
|
|
49575
49583
|
const o = t.previousLeaf();
|
|
49576
49584
|
let n = r.docTree.getNodeLastPath(o);
|
|
49585
|
+
r.drawTree.moveCaretToPath(n);
|
|
49577
49586
|
const s = r.docTree.getNodeLastPath(t);
|
|
49578
49587
|
if (r.drawTree.paintStatus === PaintState.psReview && t instanceof SignNode) {
|
|
49579
49588
|
const d = t.customProperty.bce01;
|
|
@@ -49634,7 +49643,7 @@ class VueController {
|
|
|
49634
49643
|
((c = (t.otherProperties || {}).lockContentBeforeSign) == null ? void 0 : c.toString()) === "true" ? this.paintLockMask(!0) : r.structureConvert._superiorSign.length > 0 && this.updateHiddenMask(), r.drawTree.paintStatus === PaintState.psEdit && r.useSignLockTable && this.updateTableSignLocked(t, t.dataId);
|
|
49635
49644
|
return;
|
|
49636
49645
|
}
|
|
49637
|
-
r.undoService.begin(), r.undoService.add(new NodeDeleteUndoUnit(this._hoEditorFactoryID, t)), r.undoService.commit()
|
|
49646
|
+
r.undoService.begin(), r.undoService.add(new NodeDeleteUndoUnit(this._hoEditorFactoryID, t)), r.undoService.commit();
|
|
49638
49647
|
const l = t.parentNode;
|
|
49639
49648
|
l && l instanceof TextInputFieldNode && l.childNodes.length === 2 && r.docController.resetEmptyInputFieldNode(r, l);
|
|
49640
49649
|
}
|
|
@@ -51521,8 +51530,8 @@ class VueController {
|
|
|
51521
51530
|
newLineWithCellContent: ie.rowProperty.newLineWithCellContent,
|
|
51522
51531
|
withFormula: ie.rowProperty.withFormula
|
|
51523
51532
|
}, Q = JSON.parse(JSON.stringify(ue)), ne = Object.keys(E);
|
|
51524
|
-
for (let
|
|
51525
|
-
ne[
|
|
51533
|
+
for (let Ce = 0; Ce < ne.length; Ce++)
|
|
51534
|
+
ne[Ce] === "customProperties" ? ie.rowProperty.customProperties.length === 0 && delete Q.customProperties : Q[ne[Ce]] === T[ne[Ce]] && delete Q[ne[Ce]];
|
|
51526
51535
|
I.push({
|
|
51527
51536
|
rowHeight: ie.rowHeight,
|
|
51528
51537
|
//heightFixed: rowInfo.heightFixed,
|
|
@@ -51556,8 +51565,8 @@ class VueController {
|
|
|
51556
51565
|
isLock: ie.colProperty.isLock,
|
|
51557
51566
|
customProperties: ge
|
|
51558
51567
|
}, Q = JSON.parse(JSON.stringify(ue)), ne = Object.keys(A);
|
|
51559
|
-
for (let
|
|
51560
|
-
Q[ne[
|
|
51568
|
+
for (let Ce = 0; Ce < ne.length; Ce++)
|
|
51569
|
+
Q[ne[Ce]] === H[ne[Ce]] && delete Q[ne[Ce]];
|
|
51561
51570
|
O.push({
|
|
51562
51571
|
colWidth: ie.colWidth,
|
|
51563
51572
|
widthFixed: ie.widthFixed,
|
|
@@ -51599,8 +51608,8 @@ class VueController {
|
|
|
51599
51608
|
for (let Q = 0; Q <= R; Q++) {
|
|
51600
51609
|
const ne = ie[Q];
|
|
51601
51610
|
if (ne) {
|
|
51602
|
-
const
|
|
51603
|
-
ue.base = JSON.parse(JSON.stringify(
|
|
51611
|
+
const Ce = c(ne, U);
|
|
51612
|
+
ue.base = JSON.parse(JSON.stringify(Ce)), Ce.rowNo = ye, Ce.colNo = Q, ge.childNodes.CellNode.push(Ce), ge.rowNo = ye;
|
|
51604
51613
|
} else
|
|
51605
51614
|
ge.childNodes.CellNode.push({});
|
|
51606
51615
|
}
|
|
@@ -54067,10 +54076,10 @@ var flm = /* @__PURE__ */ hMap(flt, 9, 0), flrm = /* @__PURE__ */ hMap(flt, 9, 1
|
|
|
54067
54076
|
}, inflt = function(a, t, r) {
|
|
54068
54077
|
var o = a.length, n = !t || r, s = !r || r.i;
|
|
54069
54078
|
r || (r = {}), t || (t = new u8(o * 3));
|
|
54070
|
-
var l = function(
|
|
54079
|
+
var l = function(Ce) {
|
|
54071
54080
|
var Ie = t.length;
|
|
54072
|
-
if (
|
|
54073
|
-
var we = new u8(Math.max(Ie * 2,
|
|
54081
|
+
if (Ce > Ie) {
|
|
54082
|
+
var we = new u8(Math.max(Ie * 2, Ce));
|
|
54074
54083
|
we.set(t), t = we;
|
|
54075
54084
|
}
|
|
54076
54085
|
}, 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;
|
|
@@ -54306,7 +54315,7 @@ var flm = /* @__PURE__ */ hMap(flt, 9, 0), flrm = /* @__PURE__ */ hMap(flt, 9, 1
|
|
|
54306
54315
|
if (ne > J) {
|
|
54307
54316
|
if (J = ne, le = ie, ne > ge)
|
|
54308
54317
|
break;
|
|
54309
|
-
for (var
|
|
54318
|
+
for (var Ce = Math.min(ie, ne - 2), Ie = 0, G = 0; G < Ce; ++G) {
|
|
54310
54319
|
var we = f - ie + G + 32768 & 32767, _e = v[we], pe = we - _e + 32768 & 32767;
|
|
54311
54320
|
pe > Ie && (Ie = pe, X = we);
|
|
54312
54321
|
}
|
|
@@ -55002,7 +55011,7 @@ function jsPDF(a) {
|
|
|
55002
55011
|
ADVANCED: "advanced"
|
|
55003
55012
|
}, D = _.COMPAT;
|
|
55004
55013
|
function E() {
|
|
55005
|
-
this.saveGraphicsState(),
|
|
55014
|
+
this.saveGraphicsState(), xe(new ct(Rt, 0, 0, -Rt, 0, zi() * Rt).toString() + " cm"), this.setFontSize(this.getFontSize() / Rt), u = "n", D = _.ADVANCED;
|
|
55006
55015
|
}
|
|
55007
55016
|
function T() {
|
|
55008
55017
|
this.restoreGraphicsState(), u = "S", D = _.COMPAT;
|
|
@@ -55109,8 +55118,8 @@ function jsPDF(a) {
|
|
|
55109
55118
|
return ("0" + parseInt(W)).slice(-2);
|
|
55110
55119
|
}, Q = g.__private__.padd2Hex = function(W) {
|
|
55111
55120
|
return W = W.toString(), ("00" + W).substr(W.length);
|
|
55112
|
-
}, ne = 0,
|
|
55113
|
-
ne = 0, we = 0, Ie = [],
|
|
55121
|
+
}, ne = 0, Ce = [], Ie = [], we = 0, _e = [], pe = [], Pe, Se = !1, qe = Ie, Te = function() {
|
|
55122
|
+
ne = 0, we = 0, Ie = [], Ce = [], _e = [], jt = Xt(), Zt = Xt();
|
|
55114
55123
|
};
|
|
55115
55124
|
g.__private__.setCustomOutputDestination = function(W) {
|
|
55116
55125
|
Se = !0, qe = W;
|
|
@@ -55121,10 +55130,10 @@ function jsPDF(a) {
|
|
|
55121
55130
|
g.__private__.resetCustomOutputDestination = function() {
|
|
55122
55131
|
Se = !1, qe = Ie;
|
|
55123
55132
|
};
|
|
55124
|
-
var
|
|
55133
|
+
var xe = g.__private__.out = function(W) {
|
|
55125
55134
|
return W = W.toString(), we += W.length + 1, qe.push(W), qe;
|
|
55126
55135
|
}, ae = g.__private__.write = function(W) {
|
|
55127
|
-
return
|
|
55136
|
+
return xe(arguments.length === 1 ? W.toString() : Array.prototype.join.call(arguments, " "));
|
|
55128
55137
|
}, he = g.__private__.getArrayBuffer = function(W) {
|
|
55129
55138
|
for (var V = W.length, ve = new ArrayBuffer(V), Fe = new Uint8Array(ve); V--; )
|
|
55130
55139
|
Fe[V] = W.charCodeAt(V);
|
|
@@ -55201,7 +55210,7 @@ function jsPDF(a) {
|
|
|
55201
55210
|
throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");
|
|
55202
55211
|
return Pt[W] = V;
|
|
55203
55212
|
};
|
|
55204
|
-
var gt = {}, Tt = {},
|
|
55213
|
+
var gt = {}, Tt = {}, xt, At = [], St = {}, Qt = {}, Mt = {}, rr = {}, Cr = null, Rt, Gt = 0, ee = [], se = new PubSub(g), De = a.hotfixes || [], Ue = {}, Ge = {}, Dt = [], Ut, Jt, ir, ct = function W(V, ve, Fe, je, Ze, lt) {
|
|
55205
55214
|
if (!(this instanceof W))
|
|
55206
55215
|
return new W(V, ve, Fe, je, Ze, lt);
|
|
55207
55216
|
isNaN(V) && (V = 1), isNaN(ve) && (ve = 0), isNaN(Fe) && (Fe = 0), isNaN(je) && (je = 1), isNaN(Ze) && (Ze = 0), isNaN(lt) && (lt = 0), this._matrix = [V, ve, Fe, je, Ze, lt];
|
|
@@ -55360,11 +55369,11 @@ function jsPDF(a) {
|
|
|
55360
55369
|
var W = Xt();
|
|
55361
55370
|
return Wt(W, !0), W;
|
|
55362
55371
|
}, Xt = g.__private__.newObjectDeferred = function() {
|
|
55363
|
-
return ne++,
|
|
55372
|
+
return ne++, Ce[ne] = function() {
|
|
55364
55373
|
return we;
|
|
55365
55374
|
}, ne;
|
|
55366
55375
|
}, Wt = function(V, ve) {
|
|
55367
|
-
return ve = typeof ve == "boolean" ? ve : !1,
|
|
55376
|
+
return ve = typeof ve == "boolean" ? ve : !1, Ce[V] = we, ve && xe(V + " 0 obj"), V;
|
|
55368
55377
|
}, hr = g.__private__.newAdditionalObject = function() {
|
|
55369
55378
|
var W = Xt(), V = {
|
|
55370
55379
|
objId: W,
|
|
@@ -55480,18 +55489,18 @@ function jsPDF(a) {
|
|
|
55480
55489
|
ar.push(It[Kt].value), It[Kt].value = "[" + ar.join(" ") + "]";
|
|
55481
55490
|
}
|
|
55482
55491
|
}
|
|
55483
|
-
|
|
55492
|
+
xe("<<");
|
|
55484
55493
|
for (var kr = 0; kr < It.length; kr++)
|
|
55485
|
-
|
|
55486
|
-
|
|
55494
|
+
xe("/" + It[kr].key + " " + It[kr].value);
|
|
55495
|
+
xe(">>"), bt.data.length !== 0 && (xe("stream"), xe(pt(bt.data)), xe("endstream"));
|
|
55487
55496
|
}, _i = g.__private__.putPage = function(W) {
|
|
55488
55497
|
var V = W.number, ve = W.data, Fe = W.objId, je = W.contentsObjId;
|
|
55489
|
-
Wt(Fe, !0),
|
|
55498
|
+
Wt(Fe, !0), xe("<</Type /Page"), xe("/Parent " + W.rootDictionaryObjId + " 0 R"), xe("/Resources " + W.resourceDictionaryObjId + " 0 R"), xe("/MediaBox [" + parseFloat(A(W.mediaBox.bottomLeftX)) + " " + parseFloat(A(W.mediaBox.bottomLeftY)) + " " + A(W.mediaBox.topRightX) + " " + A(W.mediaBox.topRightY) + "]"), W.cropBox !== null && xe("/CropBox [" + A(W.cropBox.bottomLeftX) + " " + A(W.cropBox.bottomLeftY) + " " + A(W.cropBox.topRightX) + " " + A(W.cropBox.topRightY) + "]"), W.bleedBox !== null && xe("/BleedBox [" + A(W.bleedBox.bottomLeftX) + " " + A(W.bleedBox.bottomLeftY) + " " + A(W.bleedBox.topRightX) + " " + A(W.bleedBox.topRightY) + "]"), W.trimBox !== null && xe("/TrimBox [" + A(W.trimBox.bottomLeftX) + " " + A(W.trimBox.bottomLeftY) + " " + A(W.trimBox.topRightX) + " " + A(W.trimBox.topRightY) + "]"), W.artBox !== null && xe("/ArtBox [" + A(W.artBox.bottomLeftX) + " " + A(W.artBox.bottomLeftY) + " " + A(W.artBox.topRightX) + " " + A(W.artBox.topRightY) + "]"), typeof W.userUnit == "number" && W.userUnit !== 1 && xe("/UserUnit " + W.userUnit), se.publish("putPage", {
|
|
55490
55499
|
objId: Fe,
|
|
55491
55500
|
pageContext: ee[V],
|
|
55492
55501
|
pageNumber: V,
|
|
55493
55502
|
page: ve
|
|
55494
|
-
}),
|
|
55503
|
+
}), xe("/Contents " + je + " 0 R"), xe(">>"), xe("endobj");
|
|
55495
55504
|
var Ze = ve.join(`
|
|
55496
55505
|
`);
|
|
55497
55506
|
return D === _.ADVANCED && (Ze += `
|
|
@@ -55499,7 +55508,7 @@ Q`), Wt(je, !0), Ur({
|
|
|
55499
55508
|
data: Ze,
|
|
55500
55509
|
filters: Mr(),
|
|
55501
55510
|
objectId: je
|
|
55502
|
-
}),
|
|
55511
|
+
}), xe("endobj"), Fe;
|
|
55503
55512
|
}, Yr = g.__private__.putPages = function() {
|
|
55504
55513
|
var W, V, ve = [];
|
|
55505
55514
|
for (W = 1; W <= Gt; W++)
|
|
@@ -55519,18 +55528,18 @@ Q`), Wt(je, !0), Ur({
|
|
|
55519
55528
|
rootDictionaryObjId: jt,
|
|
55520
55529
|
resourceDictionaryObjId: Zt
|
|
55521
55530
|
}));
|
|
55522
|
-
Wt(jt, !0),
|
|
55531
|
+
Wt(jt, !0), xe("<</Type /Pages");
|
|
55523
55532
|
var Fe = "/Kids [";
|
|
55524
55533
|
for (V = 0; V < Gt; V++)
|
|
55525
55534
|
Fe += ve[V] + " 0 R ";
|
|
55526
|
-
|
|
55535
|
+
xe(Fe + "]"), xe("/Count " + Gt), xe(">>"), xe("endobj"), se.publish("postPutPages");
|
|
55527
55536
|
}, Zr = function(V) {
|
|
55528
55537
|
se.publish("putFont", {
|
|
55529
55538
|
font: V,
|
|
55530
|
-
out:
|
|
55539
|
+
out: xe,
|
|
55531
55540
|
newObject: dr,
|
|
55532
55541
|
putStream: Ur
|
|
55533
|
-
}), V.isAlreadyPutted !== !0 && (V.objectNumber = dr(),
|
|
55542
|
+
}), V.isAlreadyPutted !== !0 && (V.objectNumber = dr(), xe("<<"), xe("/Type /Font"), xe("/BaseFont /" + toPDFName(V.postScriptName)), xe("/Subtype /Type1"), typeof V.encoding == "string" && xe("/Encoding /" + V.encoding), xe("/FirstChar 32"), xe("/LastChar 255"), xe(">>"), xe("endobj"));
|
|
55534
55543
|
}, qi = function() {
|
|
55535
55544
|
for (var V in gt)
|
|
55536
55545
|
gt.hasOwnProperty(V) && (p === !1 || p === !0 && m.hasOwnProperty(V)) && Zr(gt[V]);
|
|
@@ -55556,7 +55565,7 @@ Q`), Wt(je, !0), Ur({
|
|
|
55556
55565
|
data: Fe,
|
|
55557
55566
|
additionalKeyValues: ve,
|
|
55558
55567
|
objectId: V.objectNumber
|
|
55559
|
-
}),
|
|
55568
|
+
}), xe("endobj");
|
|
55560
55569
|
}, gi = function() {
|
|
55561
55570
|
for (var V in Ue)
|
|
55562
55571
|
Ue.hasOwnProperty(V) && oi(Ue[V]);
|
|
@@ -55611,14 +55620,14 @@ Q`), Wt(je, !0), Ur({
|
|
|
55611
55620
|
additionalKeyValues: Ze,
|
|
55612
55621
|
alreadyAppliedFilters: ["/ASCIIHexDecode"],
|
|
55613
55622
|
objectId: Fe
|
|
55614
|
-
}),
|
|
55623
|
+
}), xe("endobj"), V.objectNumber = dr(), xe("<< /ShadingType " + V.type), xe("/ColorSpace /DeviceRGB");
|
|
55615
55624
|
var lt = "/Coords [" + A(parseFloat(V.coords[0])) + " " + // x1
|
|
55616
55625
|
A(parseFloat(V.coords[1])) + " ";
|
|
55617
55626
|
V.type === 2 ? lt += A(parseFloat(V.coords[2])) + " " + // x2
|
|
55618
55627
|
A(parseFloat(V.coords[3])) : lt += A(parseFloat(V.coords[2])) + " " + // r1
|
|
55619
55628
|
A(parseFloat(V.coords[3])) + " " + // x2
|
|
55620
55629
|
A(parseFloat(V.coords[4])) + " " + // y2
|
|
55621
|
-
A(parseFloat(V.coords[5])), lt += "]",
|
|
55630
|
+
A(parseFloat(V.coords[5])), lt += "]", xe(lt), V.matrix && xe("/Matrix [" + V.matrix.toString() + "]"), xe("/Function " + Fe + " 0 R"), xe("/Extend [true true]"), xe(">>"), xe("endobj");
|
|
55622
55631
|
}, fo = function(V, ve) {
|
|
55623
55632
|
var Fe = Xt(), je = dr();
|
|
55624
55633
|
ve.push({
|
|
@@ -55657,63 +55666,63 @@ Q`), Wt(je, !0), Ur({
|
|
|
55657
55666
|
data: V.stream,
|
|
55658
55667
|
additionalKeyValues: Ze,
|
|
55659
55668
|
objectId: V.objectNumber
|
|
55660
|
-
}),
|
|
55669
|
+
}), xe("endobj");
|
|
55661
55670
|
}, yi = function(V) {
|
|
55662
55671
|
var ve;
|
|
55663
55672
|
for (ve in St)
|
|
55664
55673
|
St.hasOwnProperty(ve) && (St[ve] instanceof ShadingPattern ? mi(St[ve]) : St[ve] instanceof TilingPattern && fo(St[ve], V));
|
|
55665
55674
|
}, yr = function(V) {
|
|
55666
|
-
V.objectNumber = dr(),
|
|
55675
|
+
V.objectNumber = dr(), xe("<<");
|
|
55667
55676
|
for (var ve in V)
|
|
55668
55677
|
switch (ve) {
|
|
55669
55678
|
case "opacity":
|
|
55670
|
-
|
|
55679
|
+
xe("/ca " + H(V[ve]));
|
|
55671
55680
|
break;
|
|
55672
55681
|
case "stroke-opacity":
|
|
55673
|
-
|
|
55682
|
+
xe("/CA " + H(V[ve]));
|
|
55674
55683
|
break;
|
|
55675
55684
|
}
|
|
55676
|
-
|
|
55685
|
+
xe(">>"), xe("endobj");
|
|
55677
55686
|
}, vi = function() {
|
|
55678
55687
|
var V;
|
|
55679
55688
|
for (V in Mt)
|
|
55680
55689
|
Mt.hasOwnProperty(V) && yr(Mt[V]);
|
|
55681
55690
|
}, Qi = function() {
|
|
55682
|
-
|
|
55691
|
+
xe("/XObject <<");
|
|
55683
55692
|
for (var V in Ue)
|
|
55684
|
-
Ue.hasOwnProperty(V) && Ue[V].objectNumber >= 0 &&
|
|
55685
|
-
se.publish("putXobjectDict"),
|
|
55693
|
+
Ue.hasOwnProperty(V) && Ue[V].objectNumber >= 0 && xe("/" + V + " " + Ue[V].objectNumber + " 0 R");
|
|
55694
|
+
se.publish("putXobjectDict"), xe(">>");
|
|
55686
55695
|
}, Ji = function() {
|
|
55687
|
-
Tr.oid = dr(),
|
|
55696
|
+
Tr.oid = dr(), xe("<<"), xe("/Filter /Standard"), xe("/V " + Tr.v), xe("/R " + Tr.r), xe("/U <" + Tr.toHexString(Tr.U) + ">"), xe("/O <" + Tr.toHexString(Tr.O) + ">"), xe("/P " + Tr.P), xe(">>"), xe("endobj");
|
|
55688
55697
|
}, po = function() {
|
|
55689
|
-
|
|
55698
|
+
xe("/Font <<");
|
|
55690
55699
|
for (var V in gt)
|
|
55691
|
-
gt.hasOwnProperty(V) && (p === !1 || p === !0 && m.hasOwnProperty(V)) &&
|
|
55692
|
-
|
|
55700
|
+
gt.hasOwnProperty(V) && (p === !1 || p === !0 && m.hasOwnProperty(V)) && xe("/" + V + " " + gt[V].objectNumber + " 0 R");
|
|
55701
|
+
xe(">>");
|
|
55693
55702
|
}, Ki = function() {
|
|
55694
55703
|
if (Object.keys(St).length > 0) {
|
|
55695
|
-
|
|
55704
|
+
xe("/Shading <<");
|
|
55696
55705
|
for (var V in St)
|
|
55697
|
-
St.hasOwnProperty(V) && St[V] instanceof ShadingPattern && St[V].objectNumber >= 0 &&
|
|
55698
|
-
se.publish("putShadingPatternDict"),
|
|
55706
|
+
St.hasOwnProperty(V) && St[V] instanceof ShadingPattern && St[V].objectNumber >= 0 && xe("/" + V + " " + St[V].objectNumber + " 0 R");
|
|
55707
|
+
se.publish("putShadingPatternDict"), xe(">>");
|
|
55699
55708
|
}
|
|
55700
55709
|
}, Mi = function(V) {
|
|
55701
55710
|
if (Object.keys(St).length > 0) {
|
|
55702
|
-
|
|
55711
|
+
xe("/Pattern <<");
|
|
55703
55712
|
for (var ve in St)
|
|
55704
|
-
St.hasOwnProperty(ve) && St[ve] instanceof g.TilingPattern && St[ve].objectNumber >= 0 && St[ve].objectNumber < V &&
|
|
55705
|
-
se.publish("putTilingPatternDict"),
|
|
55713
|
+
St.hasOwnProperty(ve) && St[ve] instanceof g.TilingPattern && St[ve].objectNumber >= 0 && St[ve].objectNumber < V && xe("/" + ve + " " + St[ve].objectNumber + " 0 R");
|
|
55714
|
+
se.publish("putTilingPatternDict"), xe(">>");
|
|
55706
55715
|
}
|
|
55707
55716
|
}, go = function() {
|
|
55708
55717
|
if (Object.keys(Mt).length > 0) {
|
|
55709
55718
|
var V;
|
|
55710
|
-
|
|
55719
|
+
xe("/ExtGState <<");
|
|
55711
55720
|
for (V in Mt)
|
|
55712
|
-
Mt.hasOwnProperty(V) && Mt[V].objectNumber >= 0 &&
|
|
55713
|
-
se.publish("putGStateDict"),
|
|
55721
|
+
Mt.hasOwnProperty(V) && Mt[V].objectNumber >= 0 && xe("/" + V + " " + Mt[V].objectNumber + " 0 R");
|
|
55722
|
+
se.publish("putGStateDict"), xe(">>");
|
|
55714
55723
|
}
|
|
55715
55724
|
}, me = function(V) {
|
|
55716
|
-
Wt(V.resourcesOid, !0),
|
|
55725
|
+
Wt(V.resourcesOid, !0), xe("<<"), xe("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"), po(), Ki(), Mi(V.objectOid), go(), Qi(), xe(">>"), xe("endobj");
|
|
55717
55726
|
}, Ae = function() {
|
|
55718
55727
|
var V = [];
|
|
55719
55728
|
qi(), vi(), gi(), yi(V), se.publish("putResources"), V.forEach(me), me({
|
|
@@ -55725,7 +55734,7 @@ Q`), Wt(je, !0), Ur({
|
|
|
55725
55734
|
se.publish("putAdditionalObjects");
|
|
55726
55735
|
for (var V = 0; V < _e.length; V++) {
|
|
55727
55736
|
var ve = _e[V];
|
|
55728
|
-
Wt(ve.objId, !0),
|
|
55737
|
+
Wt(ve.objId, !0), xe(ve.content), xe("endobj");
|
|
55729
55738
|
}
|
|
55730
55739
|
se.publish("postPutAdditionalObjects");
|
|
55731
55740
|
}, ke = function(V) {
|
|
@@ -55776,7 +55785,7 @@ Q`), Wt(je, !0), Ur({
|
|
|
55776
55785
|
}, V.foo.bar = V, V.foo;
|
|
55777
55786
|
}, rt = function(V, ve) {
|
|
55778
55787
|
var Fe, je, Ze, lt, pt, bt, It, Bt, Kt;
|
|
55779
|
-
if (ve = ve || {}, Ze = ve.sourceEncoding || "Unicode", pt = ve.outputEncoding, (ve.autoencode || pt) && gt[
|
|
55788
|
+
if (ve = ve || {}, Ze = ve.sourceEncoding || "Unicode", pt = ve.outputEncoding, (ve.autoencode || pt) && gt[xt].metadata && gt[xt].metadata[Ze] && gt[xt].metadata[Ze].encoding && (lt = gt[xt].metadata[Ze].encoding, !pt && gt[xt].encoding && (pt = gt[xt].encoding), !pt && lt.codePages && (pt = lt.codePages[0]), typeof pt == "string" && (pt = lt[pt]), pt)) {
|
|
55780
55789
|
for (It = !1, bt = [], Fe = 0, je = V.length; Fe < je; Fe++)
|
|
55781
55790
|
Bt = pt[V.charCodeAt(Fe)], Bt ? bt.push(String.fromCharCode(Bt)) : bt.push(V[Fe]), bt[Fe].charCodeAt(0) >> 8 && (It = !0);
|
|
55782
55791
|
V = bt.join("");
|
|
@@ -55819,10 +55828,10 @@ Q`), Wt(je, !0), Ur({
|
|
|
55819
55828
|
je > Ze && (o = [Ze, je]);
|
|
55820
55829
|
break;
|
|
55821
55830
|
}
|
|
55822
|
-
dt(o), pn(to),
|
|
55831
|
+
dt(o), pn(to), xe(ai), Qr !== 0 && xe(Qr + " J"), Jr !== 0 && xe(Jr + " j"), se.publish("addPage", {
|
|
55823
55832
|
pageNumber: Gt
|
|
55824
55833
|
});
|
|
55825
|
-
},
|
|
55834
|
+
}, Ct = function(V) {
|
|
55826
55835
|
V > 0 && V <= Gt && (pe.splice(V, 1), ee.splice(V, 1), Gt--, Pe > Gt && (Pe = Gt), this.setPage(Pe));
|
|
55827
55836
|
}, Ot = function(V) {
|
|
55828
55837
|
V > 0 && V <= Gt && (Pe = V);
|
|
@@ -55830,66 +55839,66 @@ Q`), Wt(je, !0), Ur({
|
|
|
55830
55839
|
return pe.length - 1;
|
|
55831
55840
|
}, Ft = function(V, ve, Fe) {
|
|
55832
55841
|
var je = void 0, Ze;
|
|
55833
|
-
return Fe = Fe || {}, V = V !== void 0 ? V : gt[
|
|
55842
|
+
return Fe = Fe || {}, V = V !== void 0 ? V : gt[xt].fontName, ve = ve !== void 0 ? ve : gt[xt].fontStyle, Ze = V.toLowerCase(), Tt[Ze] !== void 0 && Tt[Ze][ve] !== void 0 ? je = Tt[Ze][ve] : Tt[V] !== void 0 && Tt[V][ve] !== void 0 ? je = Tt[V][ve] : Fe.disableWarning === !1 && console$1.warn("Unable to look up font label for font '" + V + "', '" + ve + "'. Refer to getFontList() for available fonts."), !je && !Fe.noFallback && (je = Tt.times[ve], je == null && (je = Tt.times.normal)), je;
|
|
55834
55843
|
}, ur = g.__private__.putInfo = function() {
|
|
55835
55844
|
var W = dr(), V = function(je) {
|
|
55836
55845
|
return je;
|
|
55837
55846
|
};
|
|
55838
|
-
f !== null && (V = Tr.encryptor(W, 0)),
|
|
55847
|
+
f !== null && (V = Tr.encryptor(W, 0)), xe("<<"), xe("/Producer (" + at(V("jsPDF " + jsPDF.version)) + ")");
|
|
55839
55848
|
for (var ve in Pt)
|
|
55840
|
-
Pt.hasOwnProperty(ve) && Pt[ve] &&
|
|
55841
|
-
|
|
55849
|
+
Pt.hasOwnProperty(ve) && Pt[ve] && xe("/" + ve.substr(0, 1).toUpperCase() + ve.substr(1) + " (" + at(V(Pt[ve])) + ")");
|
|
55850
|
+
xe("/CreationDate (" + at(V(J)) + ")"), xe(">>"), xe("endobj");
|
|
55842
55851
|
}, sr = g.__private__.putCatalog = function(W) {
|
|
55843
55852
|
W = W || {};
|
|
55844
55853
|
var V = W.rootDictionaryObjId || jt;
|
|
55845
|
-
switch (dr(),
|
|
55854
|
+
switch (dr(), xe("<<"), xe("/Type /Catalog"), xe("/Pages " + V + " 0 R"), Me || (Me = "fullwidth"), Me) {
|
|
55846
55855
|
case "fullwidth":
|
|
55847
|
-
|
|
55856
|
+
xe("/OpenAction [3 0 R /FitH null]");
|
|
55848
55857
|
break;
|
|
55849
55858
|
case "fullheight":
|
|
55850
|
-
|
|
55859
|
+
xe("/OpenAction [3 0 R /FitV null]");
|
|
55851
55860
|
break;
|
|
55852
55861
|
case "fullpage":
|
|
55853
|
-
|
|
55862
|
+
xe("/OpenAction [3 0 R /Fit]");
|
|
55854
55863
|
break;
|
|
55855
55864
|
case "original":
|
|
55856
|
-
|
|
55865
|
+
xe("/OpenAction [3 0 R /XYZ null null 1]");
|
|
55857
55866
|
break;
|
|
55858
55867
|
default:
|
|
55859
55868
|
var ve = "" + Me;
|
|
55860
|
-
ve.substr(ve.length - 1) === "%" && (Me = parseInt(Me) / 100), typeof Me == "number" &&
|
|
55869
|
+
ve.substr(ve.length - 1) === "%" && (Me = parseInt(Me) / 100), typeof Me == "number" && xe("/OpenAction [3 0 R /XYZ null null " + H(Me) + "]");
|
|
55861
55870
|
}
|
|
55862
55871
|
switch (_t || (_t = "continuous"), _t) {
|
|
55863
55872
|
case "continuous":
|
|
55864
|
-
|
|
55873
|
+
xe("/PageLayout /OneColumn");
|
|
55865
55874
|
break;
|
|
55866
55875
|
case "single":
|
|
55867
|
-
|
|
55876
|
+
xe("/PageLayout /SinglePage");
|
|
55868
55877
|
break;
|
|
55869
55878
|
case "two":
|
|
55870
55879
|
case "twoleft":
|
|
55871
|
-
|
|
55880
|
+
xe("/PageLayout /TwoColumnLeft");
|
|
55872
55881
|
break;
|
|
55873
55882
|
case "tworight":
|
|
55874
|
-
|
|
55883
|
+
xe("/PageLayout /TwoColumnRight");
|
|
55875
55884
|
break;
|
|
55876
55885
|
}
|
|
55877
|
-
ot &&
|
|
55886
|
+
ot && xe("/PageMode /" + ot), se.publish("putCatalog"), xe(">>"), xe("endobj");
|
|
55878
55887
|
}, Rr = g.__private__.putTrailer = function() {
|
|
55879
|
-
|
|
55888
|
+
xe("trailer"), xe("<<"), xe("/Size " + (ne + 1)), xe("/Root " + ne + " 0 R"), xe("/Info " + (ne - 1) + " 0 R"), f !== null && xe("/Encrypt " + Tr.oid + " 0 R"), xe("/ID [ <" + X + "> <" + X + "> ]"), xe(">>");
|
|
55880
55889
|
}, Pi = g.__private__.putHeader = function() {
|
|
55881
|
-
|
|
55890
|
+
xe("%PDF-" + y), xe("%ºß¬à");
|
|
55882
55891
|
}, $i = g.__private__.putXRef = function() {
|
|
55883
55892
|
var W = "0000000000";
|
|
55884
|
-
|
|
55893
|
+
xe("xref"), xe("0 " + (ne + 1)), xe("0000000000 65535 f ");
|
|
55885
55894
|
for (var V = 1; V <= ne; V++) {
|
|
55886
|
-
var ve =
|
|
55887
|
-
typeof ve == "function" ?
|
|
55895
|
+
var ve = Ce[V];
|
|
55896
|
+
typeof ve == "function" ? xe((W + Ce[V]()).slice(-10) + " 00000 n ") : typeof Ce[V] < "u" ? xe((W + Ce[V]).slice(-10) + " 00000 n ") : xe("0000000000 00000 n ");
|
|
55888
55897
|
}
|
|
55889
55898
|
}, si = g.__private__.buildDocument = function() {
|
|
55890
55899
|
Te(), He(Ie), se.publish("buildDocument"), Pi(), Yr(), be(), Ae(), f !== null && Ji(), ur(), sr();
|
|
55891
55900
|
var W = we;
|
|
55892
|
-
return $i(), Rr(),
|
|
55901
|
+
return $i(), Rr(), xe("startxref"), xe("" + W), xe("%%EOF"), He(pe[Pe]), Ie.join(`
|
|
55893
55902
|
`);
|
|
55894
55903
|
}, wi = g.__private__.getBlob = function(W) {
|
|
55895
55904
|
return new Blob([he(W)], {
|
|
@@ -56039,7 +56048,7 @@ Q`), Wt(je, !0), Ur({
|
|
|
56039
56048
|
}
|
|
56040
56049
|
return this;
|
|
56041
56050
|
}, g.deletePage = function() {
|
|
56042
|
-
return
|
|
56051
|
+
return Ct.apply(this, arguments), this;
|
|
56043
56052
|
}, g.__private__.text = g.text = function(W, V, ve, Fe, je) {
|
|
56044
56053
|
Fe = Fe || {};
|
|
56045
56054
|
var Ze = Fe.scope || this, lt, pt, bt, It, Bt, Kt, ar, tr;
|
|
@@ -56061,8 +56070,8 @@ Q`), Wt(je, !0), Ur({
|
|
|
56061
56070
|
return vr = vr.split(" ").join(Array(Fe.TabLen || 9).join(" ")), at(vr, ar);
|
|
56062
56071
|
}
|
|
56063
56072
|
function lr(vr) {
|
|
56064
|
-
for (var Nr = vr.concat(), or = [], mr = Nr.length,
|
|
56065
|
-
|
|
56073
|
+
for (var Nr = vr.concat(), or = [], mr = Nr.length, xr; mr--; )
|
|
56074
|
+
xr = Nr.shift(), typeof xr == "string" ? or.push(xr) : Array.isArray(vr) && (xr.length === 1 || xr[1] === void 0 && xr[2] === void 0) ? or.push(xr[0]) : or.push([xr[0], xr[1], xr[2]]);
|
|
56066
56075
|
return or;
|
|
56067
56076
|
}
|
|
56068
56077
|
function Go(vr, Nr) {
|
|
@@ -56070,9 +56079,9 @@ Q`), Wt(je, !0), Ur({
|
|
|
56070
56079
|
if (typeof vr == "string")
|
|
56071
56080
|
or = Nr(vr)[0];
|
|
56072
56081
|
else if (Array.isArray(vr)) {
|
|
56073
|
-
for (var mr = vr.concat(),
|
|
56074
|
-
ui = mr.shift(), typeof ui == "string" ?
|
|
56075
|
-
or =
|
|
56082
|
+
for (var mr = vr.concat(), xr = [], Eo = mr.length, ui, Ii; Eo--; )
|
|
56083
|
+
ui = mr.shift(), typeof ui == "string" ? xr.push(Nr(ui)[0]) : Array.isArray(ui) && typeof ui[0] == "string" && (Ii = Nr(ui[0], ui[1], ui[2]), xr.push([Ii[0], Ii[1], Ii[2]]));
|
|
56084
|
+
or = xr;
|
|
56076
56085
|
}
|
|
56077
56086
|
return or;
|
|
56078
56087
|
}
|
|
@@ -56113,7 +56122,7 @@ Q`), Wt(je, !0), Ur({
|
|
|
56113
56122
|
options: Fe,
|
|
56114
56123
|
mutex: {
|
|
56115
56124
|
pdfEscape: at,
|
|
56116
|
-
activeFontKey:
|
|
56125
|
+
activeFontKey: xt,
|
|
56117
56126
|
fonts: gt,
|
|
56118
56127
|
activeFontSize: Ne
|
|
56119
56128
|
}
|
|
@@ -56166,7 +56175,7 @@ Q`), Wt(je, !0), Ur({
|
|
|
56166
56175
|
Er !== -1 ? _r += Er + ` Tr
|
|
56167
56176
|
` : Qo !== -1 && (_r += `0 Tr
|
|
56168
56177
|
`), Er !== -1 && (ji.usedRenderingMode = Er), It = Fe.align || "left";
|
|
56169
|
-
var To = Ne * Di, Hn = Ze.internal.pageSize.getWidth(), ao = gt[
|
|
56178
|
+
var To = Ne * Di, Hn = Ze.internal.pageSize.getWidth(), ao = gt[xt];
|
|
56170
56179
|
Bt = Fe.charSpace || ro, Kt = Fe.maxWidth || 0;
|
|
56171
56180
|
var Xr;
|
|
56172
56181
|
ar = Object.assign({
|
|
@@ -56176,7 +56185,7 @@ Q`), Wt(je, !0), Ur({
|
|
|
56176
56185
|
var Ei = [];
|
|
56177
56186
|
if (Object.prototype.toString.call(W) === "[object Array]") {
|
|
56178
56187
|
pt = lr(W);
|
|
56179
|
-
var
|
|
56188
|
+
var Ci;
|
|
56180
56189
|
It !== "left" && (Xr = pt.map(function(vr) {
|
|
56181
56190
|
return Ze.getStringUnitWidth(vr, {
|
|
56182
56191
|
font: ao,
|
|
@@ -56189,11 +56198,11 @@ Q`), Wt(je, !0), Ur({
|
|
|
56189
56198
|
if (It === "right") {
|
|
56190
56199
|
V -= Xr[0], W = [], Sr = pt.length;
|
|
56191
56200
|
for (var Wi = 0; Wi < Sr; Wi++)
|
|
56192
|
-
Wi === 0 ? (ci = Oi(V),
|
|
56201
|
+
Wi === 0 ? (ci = Oi(V), Ci = Ni(ve)) : (ci = j(So - Xr[Wi]), Ci = -To), W.push([pt[Wi], ci, Ci]), So = Xr[Wi];
|
|
56193
56202
|
} else if (It === "center") {
|
|
56194
56203
|
V -= Xr[0] / 2, W = [], Sr = pt.length;
|
|
56195
56204
|
for (var Ui = 0; Ui < Sr; Ui++)
|
|
56196
|
-
Ui === 0 ? (ci = Oi(V),
|
|
56205
|
+
Ui === 0 ? (ci = Oi(V), Ci = Ni(ve)) : (ci = j((So - Xr[Ui]) / 2), Ci = -To), W.push([pt[Ui], ci, Ci]), So = Xr[Ui];
|
|
56197
56206
|
} else if (It === "left") {
|
|
56198
56207
|
W = [], Sr = pt.length;
|
|
56199
56208
|
for (var Jo = 0; Jo < Sr; Jo++)
|
|
@@ -56201,7 +56210,7 @@ Q`), Wt(je, !0), Ur({
|
|
|
56201
56210
|
} else if (It === "justify") {
|
|
56202
56211
|
W = [], Sr = pt.length, Kt = Kt !== 0 ? Kt : Hn;
|
|
56203
56212
|
for (var di = 0; di < Sr; di++)
|
|
56204
|
-
|
|
56213
|
+
Ci = di === 0 ? Ni(ve) : -To, ci = di === 0 ? Oi(V) : 0, di < Sr - 1 ? Ei.push(A(j((Kt - Xr[di]) / (pt[di].split("").length - 1)))) : Ei.push(0), W.push([pt[di], ci, Ci]);
|
|
56205
56214
|
} else
|
|
56206
56215
|
throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');
|
|
56207
56216
|
}
|
|
@@ -56215,20 +56224,20 @@ Q`), Wt(je, !0), Ur({
|
|
|
56215
56224
|
options: Fe,
|
|
56216
56225
|
mutex: {
|
|
56217
56226
|
pdfEscape: at,
|
|
56218
|
-
activeFontKey:
|
|
56227
|
+
activeFontKey: xt,
|
|
56219
56228
|
fonts: gt,
|
|
56220
56229
|
activeFontSize: Ne
|
|
56221
56230
|
}
|
|
56222
56231
|
}, se.publish("postProcessText", lt), W = lt.text, Vr = lt.mutex.isHex || !1;
|
|
56223
|
-
var Do = gt[
|
|
56232
|
+
var Do = gt[xt].encoding;
|
|
56224
56233
|
(Do === "WinAnsiEncoding" || Do === "StandardEncoding") && (W = Go(W, function(vr, Nr, or) {
|
|
56225
56234
|
return [_o(vr), Nr, or];
|
|
56226
56235
|
})), pt = lr(W), W = [];
|
|
56227
56236
|
for (var lo = 0, Yi = 1, Zi = Array.isArray(pt[0]) ? Yi : lo, co, Hr, Br, Fi = "", Ko = function(Nr, or, mr) {
|
|
56228
|
-
var
|
|
56229
|
-
return mr instanceof ct ? (typeof Fe.angle == "number" ? mr = br(mr, new ct(1, 0, 0, 1, Nr, or)) : mr = br(new ct(1, 0, 0, 1, Nr, or), mr), D === _.ADVANCED && (mr = br(new ct(1, 0, 0, -1, 0, 0), mr)),
|
|
56230
|
-
`) :
|
|
56231
|
-
`,
|
|
56237
|
+
var xr = "";
|
|
56238
|
+
return mr instanceof ct ? (typeof Fe.angle == "number" ? mr = br(mr, new ct(1, 0, 0, 1, Nr, or)) : mr = br(new ct(1, 0, 0, 1, Nr, or), mr), D === _.ADVANCED && (mr = br(new ct(1, 0, 0, -1, 0, 0), mr)), xr = mr.join(" ") + ` Tm
|
|
56239
|
+
`) : xr = A(Nr) + " " + A(or) + ` Td
|
|
56240
|
+
`, xr;
|
|
56232
56241
|
}, qr = 0; qr < pt.length; qr++) {
|
|
56233
56242
|
switch (Fi = "", Zi) {
|
|
56234
56243
|
case Yi:
|
|
@@ -56247,18 +56256,18 @@ T* `) : W.join(` Tj
|
|
|
56247
56256
|
`;
|
|
56248
56257
|
var hi = `BT
|
|
56249
56258
|
/`;
|
|
56250
|
-
return hi +=
|
|
56259
|
+
return hi += xt + " " + Ne + ` Tf
|
|
56251
56260
|
`, hi += A(Ne * Di) + ` TL
|
|
56252
56261
|
`, hi += Ti + `
|
|
56253
|
-
`, hi += _r, hi += W, hi += "ET",
|
|
56262
|
+
`, hi += _r, hi += W, hi += "ET", xe(hi), m[xt] = !0, Ze;
|
|
56254
56263
|
};
|
|
56255
56264
|
var Fn = g.__private__.clip = g.clip = function(W) {
|
|
56256
|
-
return
|
|
56265
|
+
return xe(W === "evenodd" ? "W*" : "W"), this;
|
|
56257
56266
|
};
|
|
56258
56267
|
g.clipEvenOdd = function() {
|
|
56259
56268
|
return Fn("evenodd");
|
|
56260
56269
|
}, g.__private__.discardPath = g.discardPath = function() {
|
|
56261
|
-
return
|
|
56270
|
+
return xe("n"), this;
|
|
56262
56271
|
};
|
|
56263
56272
|
var Gr = g.__private__.isValidStyle = function(W) {
|
|
56264
56273
|
var V = [void 0, null, "S", "D", "F", "DF", "FD", "f", "f*", "B", "B*", "n"], ve = !1;
|
|
@@ -56290,10 +56299,10 @@ T* `) : W.join(` Tj
|
|
|
56290
56299
|
}
|
|
56291
56300
|
return V;
|
|
56292
56301
|
}, un = g.close = function() {
|
|
56293
|
-
return
|
|
56302
|
+
return xe("h"), this;
|
|
56294
56303
|
};
|
|
56295
56304
|
g.stroke = function() {
|
|
56296
|
-
return
|
|
56305
|
+
return xe("S"), this;
|
|
56297
56306
|
}, g.fill = function(W) {
|
|
56298
56307
|
return mo("f", W), this;
|
|
56299
56308
|
}, g.fillEvenOdd = function(W) {
|
|
@@ -56304,9 +56313,9 @@ T* `) : W.join(` Tj
|
|
|
56304
56313
|
return mo("B*", W), this;
|
|
56305
56314
|
};
|
|
56306
56315
|
var mo = function(V, ve) {
|
|
56307
|
-
_typeof(ve) === "object" ? In(ve, V) :
|
|
56316
|
+
_typeof(ve) === "object" ? In(ve, V) : xe(V);
|
|
56308
56317
|
}, Uo = function(V) {
|
|
56309
|
-
V === null || D === _.ADVANCED && V === void 0 || (V = hn(V),
|
|
56318
|
+
V === null || D === _.ADVANCED && V === void 0 || (V = hn(V), xe(V));
|
|
56310
56319
|
};
|
|
56311
56320
|
function Ht(W, V, ve, Fe, je) {
|
|
56312
56321
|
var Ze = new TilingPattern(V || this.boundingBox, ve || this.xStep, Fe || this.yStep, this.gState, je || this.matrix);
|
|
@@ -56317,10 +56326,10 @@ T* `) : W.join(` Tj
|
|
|
56317
56326
|
var In = function(V, ve) {
|
|
56318
56327
|
var Fe = Qt[V.key], je = St[Fe];
|
|
56319
56328
|
if (je instanceof ShadingPattern)
|
|
56320
|
-
|
|
56329
|
+
xe("q"), xe(An(ve)), je.gState && g.setGState(je.gState), xe(V.matrix.toString() + " cm"), xe("/" + Fe + " sh"), xe("Q");
|
|
56321
56330
|
else if (je instanceof TilingPattern) {
|
|
56322
56331
|
var Ze = new ct(1, 0, 0, -1, 0, zi());
|
|
56323
|
-
V.matrix && (Ze = Ze.multiply(V.matrix || kt), Fe = Ht.call(je, V.key, V.boundingBox, V.xStep, V.yStep, Ze).id),
|
|
56332
|
+
V.matrix && (Ze = Ze.multiply(V.matrix || kt), Fe = Ht.call(je, V.key, V.boundingBox, V.xStep, V.yStep, Ze).id), xe("q"), xe("/Pattern cs"), xe("/" + Fe + " scn"), je.gState && g.setGState(je.gState), xe(ve), xe("Q");
|
|
56324
56333
|
}
|
|
56325
56334
|
}, An = function(V) {
|
|
56326
56335
|
switch (V) {
|
|
@@ -56341,11 +56350,11 @@ T* `) : W.join(` Tj
|
|
|
56341
56350
|
return "W n";
|
|
56342
56351
|
}
|
|
56343
56352
|
}, Yo = g.moveTo = function(W, V) {
|
|
56344
|
-
return
|
|
56353
|
+
return xe(A(j(W)) + " " + A(z(V)) + " m"), this;
|
|
56345
56354
|
}, fn = g.lineTo = function(W, V) {
|
|
56346
|
-
return
|
|
56355
|
+
return xe(A(j(W)) + " " + A(z(V)) + " l"), this;
|
|
56347
56356
|
}, ki = g.curveTo = function(W, V, ve, Fe, je, Ze) {
|
|
56348
|
-
return
|
|
56357
|
+
return xe([A(j(W)), A(z(V)), A(j(ve)), A(z(Fe)), A(j(je)), A(z(Ze)), "c"].join(" ")), this;
|
|
56349
56358
|
};
|
|
56350
56359
|
g.__private__.line = g.line = function(W, V, ve, Fe, je) {
|
|
56351
56360
|
if (isNaN(W) || isNaN(V) || isNaN(ve) || isNaN(Fe) || !Gr(je))
|
|
@@ -56380,7 +56389,7 @@ T* `) : W.join(` Tj
|
|
|
56380
56389
|
}, g.__private__.rect = g.rect = function(W, V, ve, Fe, je) {
|
|
56381
56390
|
if (isNaN(W) || isNaN(V) || isNaN(ve) || isNaN(Fe) || !Gr(je))
|
|
56382
56391
|
throw new Error("Invalid arguments passed to jsPDF.rect");
|
|
56383
|
-
return D === _.COMPAT && (Fe = -Fe),
|
|
56392
|
+
return D === _.COMPAT && (Fe = -Fe), xe([A(j(W)), A(z(V)), A(j(ve)), A(j(Fe)), "re"].join(" ")), Uo(je), this;
|
|
56384
56393
|
}, g.__private__.triangle = g.triangle = function(W, V, ve, Fe, je, Ze, lt) {
|
|
56385
56394
|
if (isNaN(W) || isNaN(V) || isNaN(ve) || isNaN(Fe) || isNaN(je) || isNaN(Ze) || !Gr(lt))
|
|
56386
56395
|
throw new Error("Invalid arguments passed to jsPDF.triangle");
|
|
@@ -56423,7 +56432,7 @@ T* `) : W.join(` Tj
|
|
|
56423
56432
|
throw new Error("Invalid arguments passed to jsPDF.circle");
|
|
56424
56433
|
return this.ellipse(W, V, ve, ve, Fe);
|
|
56425
56434
|
}, g.setFont = function(W, V, ve) {
|
|
56426
|
-
return ve && (V = I(V, ve)),
|
|
56435
|
+
return ve && (V = I(V, ve)), xt = Ft(W, V, {
|
|
56427
56436
|
disableWarning: !1
|
|
56428
56437
|
}), this;
|
|
56429
56438
|
};
|
|
@@ -56446,14 +56455,14 @@ T* `) : W.join(` Tj
|
|
|
56446
56455
|
var to = a.lineWidth || 0.200025, Ln = g.__private__.getLineWidth = g.getLineWidth = function() {
|
|
56447
56456
|
return to;
|
|
56448
56457
|
}, pn = g.__private__.setLineWidth = g.setLineWidth = function(W) {
|
|
56449
|
-
return to = W,
|
|
56458
|
+
return to = W, xe(A(j(W)) + " w"), this;
|
|
56450
56459
|
};
|
|
56451
56460
|
g.__private__.setLineDash = jsPDF.API.setLineDash = jsPDF.API.setLineDashPattern = function(W, V) {
|
|
56452
56461
|
if (W = W || [], V = V || 0, isNaN(V) || !Array.isArray(W))
|
|
56453
56462
|
throw new Error("Invalid arguments passed to jsPDF.setLineDash");
|
|
56454
56463
|
return W = W.map(function(ve) {
|
|
56455
56464
|
return A(j(ve));
|
|
56456
|
-
}).join(" "), V = A(j(V)),
|
|
56465
|
+
}).join(" "), V = A(j(V)), xe("[" + W + "] " + V + " d"), this;
|
|
56457
56466
|
};
|
|
56458
56467
|
var Hi, Mn = g.__private__.getLineHeight = g.getLineHeight = function() {
|
|
56459
56468
|
return Ne * Hi;
|
|
@@ -56476,7 +56485,7 @@ T* `) : W.join(` Tj
|
|
|
56476
56485
|
return V - j(W);
|
|
56477
56486
|
}, gr = g.__private__.getHorizontalCoordinateString = g.getHorizontalCoordinateString = function(W) {
|
|
56478
56487
|
return A(Oi(W));
|
|
56479
|
-
},
|
|
56488
|
+
}, xi = g.__private__.getVerticalCoordinateString = g.getVerticalCoordinateString = function(W) {
|
|
56480
56489
|
return A(Ni(W));
|
|
56481
56490
|
}, ai = a.strokeColor || "0 G";
|
|
56482
56491
|
g.__private__.getStrokeColor = g.getDrawColor = function() {
|
|
@@ -56490,7 +56499,7 @@ T* `) : W.join(` Tj
|
|
|
56490
56499
|
pdfColorType: "draw",
|
|
56491
56500
|
precision: 2
|
|
56492
56501
|
};
|
|
56493
|
-
return ai = pr(je),
|
|
56502
|
+
return ai = pr(je), xe(ai), this;
|
|
56494
56503
|
};
|
|
56495
56504
|
var vo = a.fillColor || "0 g";
|
|
56496
56505
|
g.__private__.getFillColor = g.getFillColor = function() {
|
|
@@ -56504,7 +56513,7 @@ T* `) : W.join(` Tj
|
|
|
56504
56513
|
pdfColorType: "fill",
|
|
56505
56514
|
precision: 2
|
|
56506
56515
|
};
|
|
56507
|
-
return vo = pr(je),
|
|
56516
|
+
return vo = pr(je), xe(vo), this;
|
|
56508
56517
|
};
|
|
56509
56518
|
var Ti = a.textColor || "0 g", gn = g.__private__.getTextColor = g.getTextColor = function() {
|
|
56510
56519
|
return nr(Ti);
|
|
@@ -56547,20 +56556,20 @@ T* `) : W.join(` Tj
|
|
|
56547
56556
|
var V = g.CapJoinStyles[W];
|
|
56548
56557
|
if (V === void 0)
|
|
56549
56558
|
throw new Error("Line cap style of '" + W + "' is not recognized. See or extend .CapJoinStyles property for valid styles");
|
|
56550
|
-
return Qr = V,
|
|
56559
|
+
return Qr = V, xe(V + " J"), this;
|
|
56551
56560
|
};
|
|
56552
56561
|
var Jr = 0;
|
|
56553
56562
|
g.__private__.setLineJoin = g.setLineJoin = function(W) {
|
|
56554
56563
|
var V = g.CapJoinStyles[W];
|
|
56555
56564
|
if (V === void 0)
|
|
56556
56565
|
throw new Error("Line join style of '" + W + "' is not recognized. See or extend .CapJoinStyles property for valid styles");
|
|
56557
|
-
return Jr = V,
|
|
56566
|
+
return Jr = V, xe(V + " j"), this;
|
|
56558
56567
|
}, g.__private__.setLineMiterLimit = g.__private__.setMiterLimit = g.setLineMiterLimit = g.setMiterLimit = function(W) {
|
|
56559
56568
|
if (W = W || 0, isNaN(W))
|
|
56560
56569
|
throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");
|
|
56561
|
-
return
|
|
56570
|
+
return xe(A(j(W)) + " M"), this;
|
|
56562
56571
|
}, g.GState = GState, g.setGState = function(W) {
|
|
56563
|
-
typeof W == "string" ? W = Mt[rr[W]] : W = Si(null, W), W.equals(
|
|
56572
|
+
typeof W == "string" ? W = Mt[rr[W]] : W = Si(null, W), W.equals(Cr) || (xe("/" + W.id + " gs"), Cr = W);
|
|
56564
56573
|
};
|
|
56565
56574
|
var Si = function(V, ve) {
|
|
56566
56575
|
if (!(V && rr[V])) {
|
|
@@ -56582,19 +56591,19 @@ T* `) : W.join(` Tj
|
|
|
56582
56591
|
g.addGState = function(W, V) {
|
|
56583
56592
|
return Si(W, V), this;
|
|
56584
56593
|
}, g.saveGraphicsState = function() {
|
|
56585
|
-
return
|
|
56586
|
-
key:
|
|
56594
|
+
return xe("q"), At.push({
|
|
56595
|
+
key: xt,
|
|
56587
56596
|
size: Ne,
|
|
56588
56597
|
color: Ti
|
|
56589
56598
|
}), this;
|
|
56590
56599
|
}, g.restoreGraphicsState = function() {
|
|
56591
|
-
|
|
56600
|
+
xe("Q");
|
|
56592
56601
|
var W = At.pop();
|
|
56593
|
-
return
|
|
56602
|
+
return xt = W.key, Ne = W.size, Ti = W.color, Cr = null, this;
|
|
56594
56603
|
}, g.setCurrentTransformationMatrix = function(W) {
|
|
56595
|
-
return
|
|
56604
|
+
return xe(W.toString() + " cm"), this;
|
|
56596
56605
|
}, g.comment = function(W) {
|
|
56597
|
-
return
|
|
56606
|
+
return xe("#" + W), this;
|
|
56598
56607
|
};
|
|
56599
56608
|
var Or = function(V, ve) {
|
|
56600
56609
|
var Fe = V || 0;
|
|
@@ -56653,7 +56662,7 @@ T* `) : W.join(` Tj
|
|
|
56653
56662
|
this.page = Gt, this.currentPage = Pe, this.pages = pe.slice(0), this.pagesContext = ee.slice(0), this.x = Ut, this.y = Jt, this.matrix = ir, this.width = Bi(Pe), this.height = zi(Pe), this.outputDestination = qe, this.id = "", this.objectNumber = -1;
|
|
56654
56663
|
};
|
|
56655
56664
|
io.prototype.restore = function() {
|
|
56656
|
-
Gt = this.page, Pe = this.currentPage, ee = this.pagesContext, pe = this.pages, Ut = this.x, Jt = this.y, ir = this.matrix, oo(Pe, this.width),
|
|
56665
|
+
Gt = this.page, Pe = this.currentPage, ee = this.pagesContext, pe = this.pages, Ut = this.x, Jt = this.y, ir = this.matrix, oo(Pe, this.width), Co(Pe, this.height), qe = this.outputDestination;
|
|
56657
56666
|
};
|
|
56658
56667
|
var yn = function(V, ve, Fe, je, Ze) {
|
|
56659
56668
|
Dt.push(new io()), Gt = Pe = 0, pe = [], Ut = V, Jt = ve, ir = Ze, dt([Fe, je]);
|
|
@@ -56671,7 +56680,7 @@ T* `) : W.join(` Tj
|
|
|
56671
56680
|
return kn(W), this;
|
|
56672
56681
|
}, g.doFormObject = function(W, V) {
|
|
56673
56682
|
var ve = Ue[Ge[W]];
|
|
56674
|
-
return
|
|
56683
|
+
return xe("q"), xe(V.toString() + " cm"), xe("/" + ve.id + " Do"), xe("Q"), this;
|
|
56675
56684
|
}, g.getFormObject = function(W) {
|
|
56676
56685
|
var V = Ue[Ge[W]];
|
|
56677
56686
|
return {
|
|
@@ -56691,19 +56700,19 @@ T* `) : W.join(` Tj
|
|
|
56691
56700
|
}
|
|
56692
56701
|
});
|
|
56693
56702
|
};
|
|
56694
|
-
for (var
|
|
56695
|
-
jsPDF.API.hasOwnProperty(
|
|
56703
|
+
for (var xo in jsPDF.API)
|
|
56704
|
+
jsPDF.API.hasOwnProperty(xo) && (xo === "events" && jsPDF.API.events.length ? function(W, V) {
|
|
56696
56705
|
var ve, Fe, je;
|
|
56697
56706
|
for (je = V.length - 1; je !== -1; je--)
|
|
56698
56707
|
ve = V[je][0], Fe = V[je][1], W.subscribe.apply(W, [ve].concat(typeof Fe == "function" ? [Fe] : Fe));
|
|
56699
|
-
}(se, jsPDF.API.events) : g[
|
|
56708
|
+
}(se, jsPDF.API.events) : g[xo] = jsPDF.API[xo]);
|
|
56700
56709
|
var Bi = g.getPageWidth = function(W) {
|
|
56701
56710
|
return W = W || Pe, (ee[W].mediaBox.topRightX - ee[W].mediaBox.bottomLeftX) / Rt;
|
|
56702
56711
|
}, oo = g.setPageWidth = function(W, V) {
|
|
56703
56712
|
ee[W].mediaBox.topRightX = V * Rt + ee[W].mediaBox.bottomLeftX;
|
|
56704
56713
|
}, zi = g.getPageHeight = function(W) {
|
|
56705
56714
|
return W = W || Pe, (ee[W].mediaBox.topRightY - ee[W].mediaBox.bottomLeftY) / Rt;
|
|
56706
|
-
},
|
|
56715
|
+
}, Co = g.setPageHeight = function(W, V) {
|
|
56707
56716
|
ee[W].mediaBox.topRightY = V * Rt + ee[W].mediaBox.bottomLeftY;
|
|
56708
56717
|
};
|
|
56709
56718
|
return g.internal = {
|
|
@@ -56720,7 +56729,7 @@ T* `) : W.join(` Tj
|
|
|
56720
56729
|
getHorizontalCoordinate: Oi,
|
|
56721
56730
|
getVerticalCoordinate: Ni,
|
|
56722
56731
|
getCoordinateString: gr,
|
|
56723
|
-
getVerticalCoordinateString:
|
|
56732
|
+
getVerticalCoordinateString: xi,
|
|
56724
56733
|
collections: {},
|
|
56725
56734
|
newObject: dr,
|
|
56726
56735
|
newAdditionalObject: hr,
|
|
@@ -56741,7 +56750,7 @@ T* `) : W.join(` Tj
|
|
|
56741
56750
|
return zi(Pe);
|
|
56742
56751
|
},
|
|
56743
56752
|
setHeight: function(V) {
|
|
56744
|
-
|
|
56753
|
+
Co(Pe, V);
|
|
56745
56754
|
}
|
|
56746
56755
|
},
|
|
56747
56756
|
encryptionOptions: f,
|
|
@@ -56750,7 +56759,7 @@ T* `) : W.join(` Tj
|
|
|
56750
56759
|
output: cn,
|
|
56751
56760
|
getNumberOfPages: Yt,
|
|
56752
56761
|
pages: pe,
|
|
56753
|
-
out:
|
|
56762
|
+
out: xe,
|
|
56754
56763
|
f2: H,
|
|
56755
56764
|
f3: O,
|
|
56756
56765
|
getPageInfo: dn,
|
|
@@ -56776,11 +56785,11 @@ T* `) : W.join(` Tj
|
|
|
56776
56785
|
return zi(Pe);
|
|
56777
56786
|
},
|
|
56778
56787
|
set: function(V) {
|
|
56779
|
-
|
|
56788
|
+
Co(Pe, V);
|
|
56780
56789
|
},
|
|
56781
56790
|
enumerable: !0,
|
|
56782
56791
|
configurable: !0
|
|
56783
|
-
}), Re.call(g, $),
|
|
56792
|
+
}), Re.call(g, $), xt = "F1", ft(o, t), se.publish("initialized"), g;
|
|
56784
56793
|
}
|
|
56785
56794
|
jsPDF.API = {
|
|
56786
56795
|
events: []
|
|
@@ -58318,11 +58327,11 @@ jsPDF.AcroForm;
|
|
|
58318
58327
|
key: "SMask",
|
|
58319
58328
|
value: G.objectId + 1 + " 0 R"
|
|
58320
58329
|
});
|
|
58321
|
-
var
|
|
58330
|
+
var Ce = typeof G.filter < "u" ? ["/" + G.filter] : void 0;
|
|
58322
58331
|
if (le({
|
|
58323
58332
|
data: G.data,
|
|
58324
58333
|
additionalKeyValues: ge,
|
|
58325
|
-
alreadyAppliedFilters:
|
|
58334
|
+
alreadyAppliedFilters: Ce,
|
|
58326
58335
|
objectId: G.objectId
|
|
58327
58336
|
}), J("endobj"), "sMask" in G && typeof G.sMask < "u") {
|
|
58328
58337
|
var Ie = "/Predictor " + G.predictor + " /Colors 1 /BitsPerComponent " + G.bitsPerComponent + " /Columns " + G.width, we = {
|
|
@@ -58405,8 +58414,8 @@ jsPDF.AcroForm;
|
|
|
58405
58414
|
}, D = function(G, J, le) {
|
|
58406
58415
|
return !G && !J && (G = -96, J = -96), G < 0 && (G = -1 * le.width * 72 / G / this.internal.scaleFactor), J < 0 && (J = -1 * le.height * 72 / J / this.internal.scaleFactor), G === 0 && (G = J * le.width / le.height), J === 0 && (J = G * le.height / le.width), [G, J];
|
|
58407
58416
|
}, E = function(G, J, le, ye, ie, ge) {
|
|
58408
|
-
var ue = D.call(this, le, ye, ie), Q = this.internal.getCoordinateString, ne = this.internal.getVerticalCoordinateString,
|
|
58409
|
-
if (le = ue[0], ye = ue[1],
|
|
58417
|
+
var ue = D.call(this, le, ye, ie), Q = this.internal.getCoordinateString, ne = this.internal.getVerticalCoordinateString, Ce = p.call(this);
|
|
58418
|
+
if (le = ue[0], ye = ue[1], Ce[ie.index] = ie, ie.exifdata && ie.exifdata.Orientation && (ge = {
|
|
58410
58419
|
6: 270,
|
|
58411
58420
|
8: 90,
|
|
58412
58421
|
// 5: 180,
|
|
@@ -58499,8 +58508,8 @@ jsPDF.AcroForm;
|
|
|
58499
58508
|
var ne = Y;
|
|
58500
58509
|
Y = ne.imageData, G = ne.format || G || r, J = ne.x || J || 0, le = ne.y || le || 0, ye = ne.w || ne.width || ye, ie = ne.h || ne.height || ie, ge = ne.alias || ge, ue = ne.compression || ue, Q = ne.rotation || ne.angle || Q;
|
|
58501
58510
|
}
|
|
58502
|
-
var
|
|
58503
|
-
if (ue === void 0 &&
|
|
58511
|
+
var Ce = this.internal.getFilters();
|
|
58512
|
+
if (ue === void 0 && Ce.indexOf("FlateEncode") !== -1 && (ue = "SLOW"), ue = "SLOW", isNaN(J) || isNaN(le))
|
|
58504
58513
|
throw new Error("Invalid coordinates passed to jsPDF.addImage");
|
|
58505
58514
|
f.call(this);
|
|
58506
58515
|
var Ie = z.call(this, Y, G, ge, ue);
|
|
@@ -59410,8 +59419,8 @@ function parseFontFamily(a) {
|
|
|
59410
59419
|
Q = Q || {}, this.isStrokeTransparent = Q.isStrokeTransparent || !1;
|
|
59411
59420
|
var ne = Q.strokeOpacity || 1;
|
|
59412
59421
|
ne < 1 ? this.strokeOpacity = 0 : this.strokeOpacity = 1, this.strokeStyle = Q.strokeStyle || "#000000", this.fillStyle = Q.fillStyle || "#000000", this.isFillTransparent = Q.isFillTransparent || !1;
|
|
59413
|
-
var
|
|
59414
|
-
|
|
59422
|
+
var Ce = Q.fillOpacity || 1;
|
|
59423
|
+
Ce < 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";
|
|
59415
59424
|
var Ie = Q.globalAlpha || 1;
|
|
59416
59425
|
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;
|
|
59417
59426
|
}, r, o, n, s, l, c, d, u, f;
|
|
@@ -59433,13 +59442,13 @@ function parseFontFamily(a) {
|
|
|
59433
59442
|
return ne;
|
|
59434
59443
|
}
|
|
59435
59444
|
});
|
|
59436
|
-
var
|
|
59445
|
+
var Ce = !1;
|
|
59437
59446
|
Object.defineProperty(this, "pageWrapXEnabled", {
|
|
59438
59447
|
get: function() {
|
|
59439
|
-
return
|
|
59448
|
+
return Ce;
|
|
59440
59449
|
},
|
|
59441
59450
|
set: function($) {
|
|
59442
|
-
|
|
59451
|
+
Ce = !!$;
|
|
59443
59452
|
}
|
|
59444
59453
|
});
|
|
59445
59454
|
var Ie = !1;
|
|
@@ -59598,12 +59607,12 @@ function parseFontFamily(a) {
|
|
|
59598
59607
|
var Te = null;
|
|
59599
59608
|
function He(he, $) {
|
|
59600
59609
|
if (Te === null) {
|
|
59601
|
-
var Ne = he.getFontList(), Be =
|
|
59610
|
+
var Ne = he.getFontList(), Be = xe(Ne);
|
|
59602
59611
|
Te = buildFontFaceMap(Be.concat($));
|
|
59603
59612
|
}
|
|
59604
59613
|
return Te;
|
|
59605
59614
|
}
|
|
59606
|
-
function
|
|
59615
|
+
function xe(he) {
|
|
59607
59616
|
var $ = [];
|
|
59608
59617
|
return Object.keys(he).forEach(function(Ne) {
|
|
59609
59618
|
var Be = he[Ne];
|
|
@@ -59682,8 +59691,8 @@ function parseFontFamily(a) {
|
|
|
59682
59691
|
this.pdf.setFont(Tt.ref.name, Tt.ref.style);
|
|
59683
59692
|
return;
|
|
59684
59693
|
}
|
|
59685
|
-
var
|
|
59686
|
-
(Me === "bold" || parseInt(Me, 10) >= 700 || Qe === "bold") && (
|
|
59694
|
+
var xt = "";
|
|
59695
|
+
(Me === "bold" || parseInt(Me, 10) >= 700 || Qe === "bold") && (xt = "bold"), Qe === "italic" && (xt += "italic"), xt.length === 0 && (xt = "normal");
|
|
59687
59696
|
for (var At = "", St = {
|
|
59688
59697
|
arial: "Helvetica",
|
|
59689
59698
|
Arial: "Helvetica",
|
|
@@ -59699,22 +59708,22 @@ function parseFontFamily(a) {
|
|
|
59699
59708
|
fantasy: "Times",
|
|
59700
59709
|
serif: "Times"
|
|
59701
59710
|
}, Qt = 0; Qt < mt.length; Qt++)
|
|
59702
|
-
if (this.pdf.internal.getFont(mt[Qt],
|
|
59711
|
+
if (this.pdf.internal.getFont(mt[Qt], xt, {
|
|
59703
59712
|
noFallback: !0,
|
|
59704
59713
|
disableWarning: !0
|
|
59705
59714
|
}) !== void 0) {
|
|
59706
59715
|
At = mt[Qt];
|
|
59707
59716
|
break;
|
|
59708
|
-
} else if (
|
|
59717
|
+
} else if (xt === "bolditalic" && this.pdf.internal.getFont(mt[Qt], "bold", {
|
|
59709
59718
|
noFallback: !0,
|
|
59710
59719
|
disableWarning: !0
|
|
59711
59720
|
}) !== void 0)
|
|
59712
|
-
At = mt[Qt],
|
|
59721
|
+
At = mt[Qt], xt = "bold";
|
|
59713
59722
|
else if (this.pdf.internal.getFont(mt[Qt], "normal", {
|
|
59714
59723
|
noFallback: !0,
|
|
59715
59724
|
disableWarning: !0
|
|
59716
59725
|
}) !== void 0) {
|
|
59717
|
-
At = mt[Qt],
|
|
59726
|
+
At = mt[Qt], xt = "normal";
|
|
59718
59727
|
break;
|
|
59719
59728
|
}
|
|
59720
59729
|
if (At === "") {
|
|
@@ -59724,7 +59733,7 @@ function parseFontFamily(a) {
|
|
|
59724
59733
|
break;
|
|
59725
59734
|
}
|
|
59726
59735
|
}
|
|
59727
|
-
At = At === "" ? "Times" : At, this.pdf.setFont(At,
|
|
59736
|
+
At = At === "" ? "Times" : At, this.pdf.setFont(At, xt);
|
|
59728
59737
|
}
|
|
59729
59738
|
}), Object.defineProperty(this, "globalCompositeOperation", {
|
|
59730
59739
|
get: function() {
|
|
@@ -59811,10 +59820,10 @@ function parseFontFamily(a) {
|
|
|
59811
59820
|
}), this.ctx.lastPoint = new c(ne.x, ne.y);
|
|
59812
59821
|
}, p.prototype.clip = function() {
|
|
59813
59822
|
this.ctx.clip_path = JSON.parse(JSON.stringify(this.path)), E.call(this, null, !0);
|
|
59814
|
-
}, p.prototype.quadraticCurveTo = function(ue, Q, ne,
|
|
59815
|
-
if (isNaN(ne) || isNaN(
|
|
59823
|
+
}, p.prototype.quadraticCurveTo = function(ue, Q, ne, Ce) {
|
|
59824
|
+
if (isNaN(ne) || isNaN(Ce) || isNaN(ue) || isNaN(Q))
|
|
59816
59825
|
throw console$1.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments", arguments), new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");
|
|
59817
|
-
var Ie = this.ctx.transform.applyToPoint(new c(ne,
|
|
59826
|
+
var Ie = this.ctx.transform.applyToPoint(new c(ne, Ce)), we = this.ctx.transform.applyToPoint(new c(ue, Q));
|
|
59818
59827
|
this.path.push({
|
|
59819
59828
|
type: "qct",
|
|
59820
59829
|
x1: we.x,
|
|
@@ -59822,10 +59831,10 @@ function parseFontFamily(a) {
|
|
|
59822
59831
|
x: Ie.x,
|
|
59823
59832
|
y: Ie.y
|
|
59824
59833
|
}), this.ctx.lastPoint = new c(Ie.x, Ie.y);
|
|
59825
|
-
}, p.prototype.bezierCurveTo = function(ue, Q, ne,
|
|
59826
|
-
if (isNaN(Ie) || isNaN(we) || isNaN(ue) || isNaN(Q) || isNaN(ne) || isNaN(
|
|
59834
|
+
}, p.prototype.bezierCurveTo = function(ue, Q, ne, Ce, Ie, we) {
|
|
59835
|
+
if (isNaN(Ie) || isNaN(we) || isNaN(ue) || isNaN(Q) || isNaN(ne) || isNaN(Ce))
|
|
59827
59836
|
throw console$1.error("jsPDF.context2d.bezierCurveTo: Invalid arguments", arguments), new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");
|
|
59828
|
-
var _e = this.ctx.transform.applyToPoint(new c(Ie, we)), pe = this.ctx.transform.applyToPoint(new c(ue, Q)), Pe = this.ctx.transform.applyToPoint(new c(ne,
|
|
59837
|
+
var _e = this.ctx.transform.applyToPoint(new c(Ie, we)), pe = this.ctx.transform.applyToPoint(new c(ue, Q)), Pe = this.ctx.transform.applyToPoint(new c(ne, Ce));
|
|
59829
59838
|
this.path.push({
|
|
59830
59839
|
type: "bct",
|
|
59831
59840
|
x1: pe.x,
|
|
@@ -59835,8 +59844,8 @@ function parseFontFamily(a) {
|
|
|
59835
59844
|
x: _e.x,
|
|
59836
59845
|
y: _e.y
|
|
59837
59846
|
}), this.ctx.lastPoint = new c(_e.x, _e.y);
|
|
59838
|
-
}, p.prototype.arc = function(ue, Q, ne,
|
|
59839
|
-
if (isNaN(ue) || isNaN(Q) || isNaN(ne) || isNaN(
|
|
59847
|
+
}, p.prototype.arc = function(ue, Q, ne, Ce, Ie, we) {
|
|
59848
|
+
if (isNaN(ue) || isNaN(Q) || isNaN(ne) || isNaN(Ce) || isNaN(Ie))
|
|
59840
59849
|
throw console$1.error("jsPDF.context2d.arc: Invalid arguments", arguments), new Error("Invalid arguments passed to jsPDF.context2d.arc");
|
|
59841
59850
|
if (we = !!we, !this.ctx.transform.isIdentity) {
|
|
59842
59851
|
var _e = this.ctx.transform.applyToPoint(new c(ue, Q));
|
|
@@ -59844,44 +59853,44 @@ function parseFontFamily(a) {
|
|
|
59844
59853
|
var pe = this.ctx.transform.applyToPoint(new c(0, ne)), Pe = this.ctx.transform.applyToPoint(new c(0, 0));
|
|
59845
59854
|
ne = Math.sqrt(Math.pow(pe.x - Pe.x, 2) + Math.pow(pe.y - Pe.y, 2));
|
|
59846
59855
|
}
|
|
59847
|
-
Math.abs(Ie -
|
|
59856
|
+
Math.abs(Ie - Ce) >= 2 * Math.PI && (Ce = 0, Ie = 2 * Math.PI), this.path.push({
|
|
59848
59857
|
type: "arc",
|
|
59849
59858
|
x: ue,
|
|
59850
59859
|
y: Q,
|
|
59851
59860
|
radius: ne,
|
|
59852
|
-
startAngle:
|
|
59861
|
+
startAngle: Ce,
|
|
59853
59862
|
endAngle: Ie,
|
|
59854
59863
|
counterclockwise: we
|
|
59855
59864
|
});
|
|
59856
|
-
}, p.prototype.arcTo = function(ue, Q, ne,
|
|
59865
|
+
}, p.prototype.arcTo = function(ue, Q, ne, Ce, Ie) {
|
|
59857
59866
|
throw new Error("arcTo not implemented.");
|
|
59858
|
-
}, p.prototype.rect = function(ue, Q, ne,
|
|
59859
|
-
if (isNaN(ue) || isNaN(Q) || isNaN(ne) || isNaN(
|
|
59867
|
+
}, p.prototype.rect = function(ue, Q, ne, Ce) {
|
|
59868
|
+
if (isNaN(ue) || isNaN(Q) || isNaN(ne) || isNaN(Ce))
|
|
59860
59869
|
throw console$1.error("jsPDF.context2d.rect: Invalid arguments", arguments), new Error("Invalid arguments passed to jsPDF.context2d.rect");
|
|
59861
|
-
this.moveTo(ue, Q), this.lineTo(ue + ne, Q), this.lineTo(ue + ne, Q +
|
|
59862
|
-
}, p.prototype.fillRect = function(ue, Q, ne,
|
|
59863
|
-
if (isNaN(ue) || isNaN(Q) || isNaN(ne) || isNaN(
|
|
59870
|
+
this.moveTo(ue, Q), this.lineTo(ue + ne, Q), this.lineTo(ue + ne, Q + Ce), this.lineTo(ue, Q + Ce), this.lineTo(ue, Q);
|
|
59871
|
+
}, p.prototype.fillRect = function(ue, Q, ne, Ce) {
|
|
59872
|
+
if (isNaN(ue) || isNaN(Q) || isNaN(ne) || isNaN(Ce))
|
|
59864
59873
|
throw console$1.error("jsPDF.context2d.fillRect: Invalid arguments", arguments), new Error("Invalid arguments passed to jsPDF.context2d.fillRect");
|
|
59865
59874
|
if (!g.call(this)) {
|
|
59866
59875
|
var Ie = {};
|
|
59867
|
-
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,
|
|
59876
|
+
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, Ce), this.fill(), Ie.hasOwnProperty("lineCap") && (this.lineCap = Ie.lineCap), Ie.hasOwnProperty("lineJoin") && (this.lineJoin = Ie.lineJoin);
|
|
59868
59877
|
}
|
|
59869
|
-
}, p.prototype.strokeRect = function(Q, ne,
|
|
59870
|
-
if (isNaN(Q) || isNaN(ne) || isNaN(
|
|
59878
|
+
}, p.prototype.strokeRect = function(Q, ne, Ce, Ie) {
|
|
59879
|
+
if (isNaN(Q) || isNaN(ne) || isNaN(Ce) || isNaN(Ie))
|
|
59871
59880
|
throw console$1.error("jsPDF.context2d.strokeRect: Invalid arguments", arguments), new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");
|
|
59872
|
-
y.call(this) || (this.beginPath(), this.rect(Q, ne,
|
|
59873
|
-
}, p.prototype.clearRect = function(ue, Q, ne,
|
|
59874
|
-
if (isNaN(ue) || isNaN(Q) || isNaN(ne) || isNaN(
|
|
59881
|
+
y.call(this) || (this.beginPath(), this.rect(Q, ne, Ce, Ie), this.stroke());
|
|
59882
|
+
}, p.prototype.clearRect = function(ue, Q, ne, Ce) {
|
|
59883
|
+
if (isNaN(ue) || isNaN(Q) || isNaN(ne) || isNaN(Ce))
|
|
59875
59884
|
throw console$1.error("jsPDF.context2d.clearRect: Invalid arguments", arguments), new Error("Invalid arguments passed to jsPDF.context2d.clearRect");
|
|
59876
|
-
this.ignoreClearRect || (this.fillStyle = "#ffffff", this.fillRect(ue, Q, ne,
|
|
59885
|
+
this.ignoreClearRect || (this.fillStyle = "#ffffff", this.fillRect(ue, Q, ne, Ce));
|
|
59877
59886
|
}, p.prototype.save = function(ue) {
|
|
59878
59887
|
ue = typeof ue == "boolean" ? ue : !0;
|
|
59879
59888
|
for (var Q = this.pdf.internal.getCurrentPageInfo().pageNumber, ne = 0; ne < this.pdf.internal.getNumberOfPages(); ne++)
|
|
59880
59889
|
this.pdf.setPage(ne + 1), this.pdf.internal.out("q");
|
|
59881
59890
|
if (this.pdf.setPage(Q), ue) {
|
|
59882
59891
|
this.ctx.fontSize = this.pdf.internal.getFontSize();
|
|
59883
|
-
var
|
|
59884
|
-
this.ctxStack.push(this.ctx), this.ctx =
|
|
59892
|
+
var Ce = new t(this.ctx);
|
|
59893
|
+
this.ctxStack.push(this.ctx), this.ctx = Ce;
|
|
59885
59894
|
}
|
|
59886
59895
|
}, p.prototype.restore = function(ue) {
|
|
59887
59896
|
ue = typeof ue == "boolean" ? ue : !0;
|
|
@@ -59892,7 +59901,7 @@ function parseFontFamily(a) {
|
|
|
59892
59901
|
throw new Error("toDataUrl not implemented.");
|
|
59893
59902
|
};
|
|
59894
59903
|
var m = function(Q) {
|
|
59895
|
-
var ne = /rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/,
|
|
59904
|
+
var ne = /rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/, Ce = /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*\)/, we, _e, pe, Pe;
|
|
59896
59905
|
if (Q.isCanvasGradient === !0 && (Q = Q.getColor()), !Q)
|
|
59897
59906
|
return {
|
|
59898
59907
|
r: 0,
|
|
@@ -59907,7 +59916,7 @@ function parseFontFamily(a) {
|
|
|
59907
59916
|
var Se = ne.exec(Q);
|
|
59908
59917
|
if (Se !== null)
|
|
59909
59918
|
we = parseInt(Se[1]), _e = parseInt(Se[2]), pe = parseInt(Se[3]), Pe = 1;
|
|
59910
|
-
else if (Se =
|
|
59919
|
+
else if (Se = Ce.exec(Q), Se !== null)
|
|
59911
59920
|
we = parseInt(Se[1]), _e = parseInt(Se[2]), pe = parseInt(Se[3]), Pe = parseFloat(Se[4]);
|
|
59912
59921
|
else {
|
|
59913
59922
|
if (Pe = 1, typeof Q == "string" && Q.charAt(0) !== "#") {
|
|
@@ -59929,10 +59938,10 @@ function parseFontFamily(a) {
|
|
|
59929
59938
|
}, y = function() {
|
|
59930
59939
|
return !!(this.ctx.isStrokeTransparent || this.globalAlpha == 0);
|
|
59931
59940
|
};
|
|
59932
|
-
p.prototype.fillText = function(ue, Q, ne,
|
|
59941
|
+
p.prototype.fillText = function(ue, Q, ne, Ce) {
|
|
59933
59942
|
if (isNaN(Q) || isNaN(ne) || typeof ue != "string")
|
|
59934
59943
|
throw console$1.error("jsPDF.context2d.fillText: Invalid arguments", arguments), new Error("Invalid arguments passed to jsPDF.context2d.fillText");
|
|
59935
|
-
if (
|
|
59944
|
+
if (Ce = isNaN(Ce) ? void 0 : Ce, !g.call(this)) {
|
|
59936
59945
|
var Ie = J(this.ctx.transform.rotation), we = this.ctx.transform.scaleX, _e = this.letterSpacing ? parseFloat(this.letterSpacing) : 0;
|
|
59937
59946
|
this.font.indexOf("SimSun") >= 0 && this.font.indexOf("bold") >= 0 ? j.call(this, {
|
|
59938
59947
|
text: ue,
|
|
@@ -59941,7 +59950,7 @@ function parseFontFamily(a) {
|
|
|
59941
59950
|
scale: we,
|
|
59942
59951
|
angle: Ie,
|
|
59943
59952
|
align: this.textAlign,
|
|
59944
|
-
maxWidth:
|
|
59953
|
+
maxWidth: Ce,
|
|
59945
59954
|
// renderingMode: "fillThenStroke",
|
|
59946
59955
|
charSpace: _e,
|
|
59947
59956
|
bold: !0
|
|
@@ -59952,15 +59961,15 @@ function parseFontFamily(a) {
|
|
|
59952
59961
|
scale: we,
|
|
59953
59962
|
angle: Ie,
|
|
59954
59963
|
align: this.textAlign,
|
|
59955
|
-
maxWidth:
|
|
59964
|
+
maxWidth: Ce,
|
|
59956
59965
|
charSpace: _e
|
|
59957
59966
|
});
|
|
59958
59967
|
}
|
|
59959
|
-
}, p.prototype.strokeText = function(ue, Q, ne,
|
|
59968
|
+
}, p.prototype.strokeText = function(ue, Q, ne, Ce) {
|
|
59960
59969
|
if (isNaN(Q) || isNaN(ne) || typeof ue != "string")
|
|
59961
59970
|
throw console$1.error("jsPDF.context2d.strokeText: Invalid arguments", arguments), new Error("Invalid arguments passed to jsPDF.context2d.strokeText");
|
|
59962
59971
|
if (!y.call(this)) {
|
|
59963
|
-
|
|
59972
|
+
Ce = isNaN(Ce) ? void 0 : Ce;
|
|
59964
59973
|
var Ie = J(this.ctx.transform.rotation), we = this.ctx.transform.scaleX, _e = this.letterSpacing ? this.letterSpacing : 0;
|
|
59965
59974
|
j.call(this, {
|
|
59966
59975
|
text: ue,
|
|
@@ -59970,7 +59979,7 @@ function parseFontFamily(a) {
|
|
|
59970
59979
|
renderingMode: "stroke",
|
|
59971
59980
|
angle: Ie,
|
|
59972
59981
|
align: this.textAlign,
|
|
59973
|
-
maxWidth:
|
|
59982
|
+
maxWidth: Ce,
|
|
59974
59983
|
charSpace: _e,
|
|
59975
59984
|
// 自定义修改
|
|
59976
59985
|
bold: !0
|
|
@@ -59980,7 +59989,7 @@ function parseFontFamily(a) {
|
|
|
59980
59989
|
}, p.prototype.measureText = function(ue) {
|
|
59981
59990
|
if (typeof ue != "string")
|
|
59982
59991
|
throw console$1.error("jsPDF.context2d.measureText: Invalid arguments", arguments), new Error("Invalid arguments passed to jsPDF.context2d.measureText");
|
|
59983
|
-
var Q = this.pdf, ne = this.pdf.internal.scaleFactor,
|
|
59992
|
+
var Q = this.pdf, ne = this.pdf.internal.scaleFactor, Ce = Q.internal.getFontSize(), Ie = Q.getStringUnitWidth(ue) * Ce / Q.internal.scaleFactor;
|
|
59984
59993
|
Ie *= Math.round(ne * 96 / 72 * 1e4) / 1e4;
|
|
59985
59994
|
var we = function(pe) {
|
|
59986
59995
|
pe = pe || {};
|
|
@@ -60009,27 +60018,27 @@ function parseFontFamily(a) {
|
|
|
60009
60018
|
throw console$1.error("jsPDF.context2d.translate: Invalid arguments", arguments), new Error("Invalid arguments passed to jsPDF.context2d.translate");
|
|
60010
60019
|
var ne = new u(1, 0, 0, 1, ue, Q);
|
|
60011
60020
|
this.ctx.transform = this.ctx.transform.multiply(ne);
|
|
60012
|
-
}, p.prototype.transform = function(ue, Q, ne,
|
|
60013
|
-
if (isNaN(ue) || isNaN(Q) || isNaN(ne) || isNaN(
|
|
60021
|
+
}, p.prototype.transform = function(ue, Q, ne, Ce, Ie, we) {
|
|
60022
|
+
if (isNaN(ue) || isNaN(Q) || isNaN(ne) || isNaN(Ce) || isNaN(Ie) || isNaN(we))
|
|
60014
60023
|
throw console$1.error("jsPDF.context2d.transform: Invalid arguments", arguments), new Error("Invalid arguments passed to jsPDF.context2d.transform");
|
|
60015
|
-
ue = isNaN(ue) ? 1 : ue, Q = isNaN(Q) ? 0 : Q, ne = isNaN(ne) ? 0 : ne,
|
|
60016
|
-
var _e = new u(ue, Q, ne,
|
|
60024
|
+
ue = isNaN(ue) ? 1 : ue, Q = isNaN(Q) ? 0 : Q, ne = isNaN(ne) ? 0 : ne, Ce = isNaN(Ce) ? 1 : Ce, Ie = isNaN(Ie) ? 0 : Ie, we = isNaN(we) ? 0 : we;
|
|
60025
|
+
var _e = new u(ue, Q, ne, Ce, Ie, we);
|
|
60017
60026
|
this.ctx.transform = this.ctx.transform.multiply(_e);
|
|
60018
|
-
}, p.prototype.setTransform = function(ue, Q, ne,
|
|
60019
|
-
ue = isNaN(ue) ? 1 : ue, Q = isNaN(Q) ? 0 : Q, ne = isNaN(ne) ? 0 : ne,
|
|
60027
|
+
}, p.prototype.setTransform = function(ue, Q, ne, Ce, Ie, we) {
|
|
60028
|
+
ue = isNaN(ue) ? 1 : ue, Q = isNaN(Q) ? 0 : Q, ne = isNaN(ne) ? 0 : ne, Ce = isNaN(Ce) ? 1 : Ce, Ie = isNaN(Ie) ? 0 : Ie, we = isNaN(we) ? 0 : we, this.ctx.transform = new u(ue, Q, ne, Ce, Ie, we);
|
|
60020
60029
|
};
|
|
60021
60030
|
var w = function() {
|
|
60022
60031
|
return this.margin[0] > 0 || this.margin[1] > 0 || this.margin[2] > 0 || this.margin[3] > 0;
|
|
60023
60032
|
};
|
|
60024
|
-
p.prototype.drawImage = function(ue, Q, ne,
|
|
60033
|
+
p.prototype.drawImage = function(ue, Q, ne, Ce, Ie, we, _e, pe, Pe) {
|
|
60025
60034
|
var Se = this.pdf.getImageProperties(ue);
|
|
60026
60035
|
ue.exifdata && (Se.exifdata = ue.exifdata);
|
|
60027
|
-
var qe = 1, Te = 1, He = 1,
|
|
60028
|
-
typeof
|
|
60036
|
+
var qe = 1, Te = 1, He = 1, xe = 1;
|
|
60037
|
+
typeof Ce < "u" && typeof pe < "u" && (He = pe / Ce, xe = Pe / Ie, qe = Se.width / Ce * pe / Ce, Te = Se.height / Ie * Pe / Ie), typeof we > "u" && (we = Q, _e = ne, Q = 0, ne = 0), typeof Ce < "u" && typeof pe > "u" && (pe = Ce, Pe = Ie), typeof Ce > "u" && typeof pe > "u" && (pe = Se.width, Pe = Se.height);
|
|
60029
60038
|
var ae = this.ctx.transform.decompose(), he = J(ae.rotate.rotation), $ = new u();
|
|
60030
|
-
$ = $.multiply(ae.translate), $ = $.multiply(ae.skew), $ = $.multiply(ae.scale),
|
|
60039
|
+
$ = $.multiply(ae.translate), $ = $.multiply(ae.skew), $ = $.multiply(ae.scale), Ce || (Ce = pe), Ie || (Ie = Pe);
|
|
60031
60040
|
var Ne;
|
|
60032
|
-
ue.nodeName && ue.nodeName == "CANVAS" ? Ne = $.applyToRectangle(new d(we + this.posX - Q * He, _e + this.posY - ne *
|
|
60041
|
+
ue.nodeName && ue.nodeName == "CANVAS" ? Ne = $.applyToRectangle(new d(we + this.posX - Q * He, _e + this.posY - ne * xe, Ce * qe, Ie * Te)) : Ne = $.applyToRectangle(new d(we - Q * He, _e - ne * xe, Ce * qe, Ie * Te));
|
|
60033
60042
|
for (var Be = v.call(this, Ne), Qe = [], Me = 0; Me < Be.length; Me += 1)
|
|
60034
60043
|
Qe.indexOf(Be[Me]) === -1 && Qe.push(Be[Me]);
|
|
60035
60044
|
D(Qe);
|
|
@@ -60037,79 +60046,79 @@ function parseFontFamily(a) {
|
|
|
60037
60046
|
if (this.autoPaging)
|
|
60038
60047
|
for (var ot = Qe[0], ut = Qe[Qe.length - 1], _t = ot; _t < ut + 1; _t++) {
|
|
60039
60048
|
this.pdf.setPage(_t);
|
|
60040
|
-
var mt = this.pdf.internal.pageSize.width - this.margin[3] - this.margin[1], Pt = _t === 1 ? this.posY + this.margin[0] : this.margin[0], gt = 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],
|
|
60049
|
+
var mt = this.pdf.internal.pageSize.width - this.margin[3] - this.margin[1], Pt = _t === 1 ? this.posY + this.margin[0] : this.margin[0], gt = 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 = _t === 1 ? 0 : gt + (_t - 2) * Tt;
|
|
60041
60050
|
if (this.ctx.clip_path.length !== 0) {
|
|
60042
60051
|
var At = this.path;
|
|
60043
|
-
ze = JSON.parse(JSON.stringify(this.ctx.clip_path)), this.path = _(ze, this.posX + this.margin[3], -
|
|
60052
|
+
ze = JSON.parse(JSON.stringify(this.ctx.clip_path)), this.path = _(ze, this.posX + this.margin[3], -xt + Pt + this.ctx.prevPageLastElemOffset), T.call(this, "fill", !0), this.path = At;
|
|
60044
60053
|
}
|
|
60045
60054
|
var St = JSON.parse(JSON.stringify(Ne));
|
|
60046
|
-
St = _([St], this.posX + this.margin[3], -
|
|
60055
|
+
St = _([St], this.posX + this.margin[3], -xt + Pt + this.ctx.prevPageLastElemOffset)[0];
|
|
60047
60056
|
var Qt = (_t > ot || _t < ut) && w.call(this);
|
|
60048
60057
|
Qt && (this.pdf.saveGraphicsState(), this.pdf.rect(this.margin[3], this.margin[0], mt, Tt, null).clip().discardPath()), this.pdf.addImage(ue, "JPEG", St.x, St.y, St.w, St.h, null, null, he), Qt && this.pdf.restoreGraphicsState();
|
|
60049
60058
|
}
|
|
60050
60059
|
else
|
|
60051
60060
|
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);
|
|
60052
60061
|
};
|
|
60053
|
-
var v = function(Q, ne,
|
|
60062
|
+
var v = function(Q, ne, Ce) {
|
|
60054
60063
|
var Ie = [];
|
|
60055
|
-
ne = ne || this.pdf.internal.pageSize.width,
|
|
60064
|
+
ne = ne || this.pdf.internal.pageSize.width, Ce = Ce || this.pdf.internal.pageSize.height - this.margin[0] - this.margin[2];
|
|
60056
60065
|
var we = this.posY + this.ctx.prevPageLastElemOffset;
|
|
60057
60066
|
switch (Q.type) {
|
|
60058
60067
|
default:
|
|
60059
60068
|
case "mt":
|
|
60060
60069
|
case "lt":
|
|
60061
|
-
Ie.push(Math.floor((Q.y + we) /
|
|
60070
|
+
Ie.push(Math.floor((Q.y + we) / Ce) + 1);
|
|
60062
60071
|
break;
|
|
60063
60072
|
case "arc":
|
|
60064
|
-
Ie.push(Math.floor((Q.y + we - Q.radius) /
|
|
60073
|
+
Ie.push(Math.floor((Q.y + we - Q.radius) / Ce) + 1), Ie.push(Math.floor((Q.y + we + Q.radius) / Ce) + 1);
|
|
60065
60074
|
break;
|
|
60066
60075
|
case "qct":
|
|
60067
60076
|
var _e = le(this.ctx.lastPoint.x, this.ctx.lastPoint.y, Q.x1, Q.y1, Q.x, Q.y);
|
|
60068
|
-
Ie.push(Math.floor((_e.y + we) /
|
|
60077
|
+
Ie.push(Math.floor((_e.y + we) / Ce) + 1), Ie.push(Math.floor((_e.y + _e.h + we) / Ce) + 1);
|
|
60069
60078
|
break;
|
|
60070
60079
|
case "bct":
|
|
60071
60080
|
var pe = ye(this.ctx.lastPoint.x, this.ctx.lastPoint.y, Q.x1, Q.y1, Q.x2, Q.y2, Q.x, Q.y);
|
|
60072
|
-
Ie.push(Math.floor((pe.y + we) /
|
|
60081
|
+
Ie.push(Math.floor((pe.y + we) / Ce) + 1), Ie.push(Math.floor((pe.y + pe.h + we) / Ce) + 1);
|
|
60073
60082
|
break;
|
|
60074
60083
|
case "rect":
|
|
60075
|
-
Ie.push(Math.floor((Q.y + we) /
|
|
60084
|
+
Ie.push(Math.floor((Q.y + we) / Ce) + 1), Ie.push(Math.floor((Q.y + Q.h + we) / Ce) + 1);
|
|
60076
60085
|
}
|
|
60077
60086
|
for (var Pe = 0; Pe < Ie.length; Pe += 1)
|
|
60078
60087
|
for (; this.pdf.internal.getNumberOfPages() < Ie[Pe]; )
|
|
60079
60088
|
C.call(this);
|
|
60080
60089
|
return Ie;
|
|
60081
60090
|
}, C = function() {
|
|
60082
|
-
var Q = this.fillStyle, ne = this.strokeStyle,
|
|
60083
|
-
this.pdf.addPage(), this.fillStyle = Q, this.strokeStyle = ne, this.font =
|
|
60084
|
-
}, _ = function(Q, ne,
|
|
60091
|
+
var Q = this.fillStyle, ne = this.strokeStyle, Ce = this.font, Ie = this.lineCap, we = this.lineWidth, _e = this.lineJoin;
|
|
60092
|
+
this.pdf.addPage(), this.fillStyle = Q, this.strokeStyle = ne, this.font = Ce, this.lineCap = Ie, this.lineWidth = we, this.lineJoin = _e;
|
|
60093
|
+
}, _ = function(Q, ne, Ce) {
|
|
60085
60094
|
for (var Ie = 0; Ie < Q.length; Ie++)
|
|
60086
60095
|
switch (Q[Ie].type) {
|
|
60087
60096
|
case "bct":
|
|
60088
|
-
Q[Ie].x2 += ne, Q[Ie].y2 +=
|
|
60097
|
+
Q[Ie].x2 += ne, Q[Ie].y2 += Ce;
|
|
60089
60098
|
case "qct":
|
|
60090
|
-
Q[Ie].x1 += ne, Q[Ie].y1 +=
|
|
60099
|
+
Q[Ie].x1 += ne, Q[Ie].y1 += Ce;
|
|
60091
60100
|
case "mt":
|
|
60092
60101
|
case "lt":
|
|
60093
60102
|
case "arc":
|
|
60094
60103
|
default:
|
|
60095
|
-
Q[Ie].x += ne, Q[Ie].y +=
|
|
60104
|
+
Q[Ie].x += ne, Q[Ie].y += Ce;
|
|
60096
60105
|
}
|
|
60097
60106
|
return Q;
|
|
60098
60107
|
}, D = function(Q) {
|
|
60099
|
-
return Q.sort(function(ne,
|
|
60100
|
-
return ne -
|
|
60108
|
+
return Q.sort(function(ne, Ce) {
|
|
60109
|
+
return ne - Ce;
|
|
60101
60110
|
});
|
|
60102
60111
|
}, E = function(Q, ne) {
|
|
60103
|
-
for (var
|
|
60112
|
+
for (var Ce = this.fillStyle, Ie = this.strokeStyle, we = this.lineCap, _e = this.lineWidth, pe = Math.abs(_e * this.ctx.transform.scaleX), Pe = this.lineJoin, Se = JSON.parse(JSON.stringify(this.path)), qe = JSON.parse(JSON.stringify(this.path)), Te, He, xe = [], ae = 0; ae < qe.length; ae++)
|
|
60104
60113
|
if (typeof qe[ae].x < "u")
|
|
60105
60114
|
for (var he = v.call(this, qe[ae]), $ = 0; $ < he.length; $ += 1)
|
|
60106
|
-
|
|
60107
|
-
for (var Ne = 0; Ne <
|
|
60108
|
-
for (; this.pdf.internal.getNumberOfPages() <
|
|
60115
|
+
xe.indexOf(he[$]) === -1 && xe.push(he[$]);
|
|
60116
|
+
for (var Ne = 0; Ne < xe.length; Ne++)
|
|
60117
|
+
for (; this.pdf.internal.getNumberOfPages() < xe[Ne]; )
|
|
60109
60118
|
C.call(this);
|
|
60110
|
-
if (D(
|
|
60111
|
-
for (var Be =
|
|
60112
|
-
this.pdf.setPage(Me), this.fillStyle =
|
|
60119
|
+
if (D(xe), this.autoPaging)
|
|
60120
|
+
for (var Be = xe[0], Qe = xe[xe.length - 1], Me = Be; Me < Qe + 1; Me++) {
|
|
60121
|
+
this.pdf.setPage(Me), this.fillStyle = Ce, this.strokeStyle = Ie, this.lineCap = we, this.lineWidth = pe, this.lineJoin = Pe;
|
|
60113
60122
|
var ze = this.pdf.internal.pageSize.width - this.margin[3] - this.margin[1], ot = Me === 1 ? this.posY + this.margin[0] : this.margin[0], ut = this.pdf.internal.pageSize.height - this.posY - this.margin[0] - this.margin[2], _t = this.pdf.internal.pageSize.height - this.margin[0] - this.margin[2], mt = Me === 1 ? 0 : ut + (Me - 2) * _t;
|
|
60114
60123
|
if (this.ctx.clip_path.length !== 0) {
|
|
60115
60124
|
var Pt = this.path;
|
|
@@ -60126,80 +60135,80 @@ function parseFontFamily(a) {
|
|
|
60126
60135
|
this.path = Se;
|
|
60127
60136
|
}, T = function(Q, ne) {
|
|
60128
60137
|
if (!(Q === "stroke" && !ne && y.call(this)) && !(Q !== "stroke" && !ne && g.call(this))) {
|
|
60129
|
-
for (var
|
|
60138
|
+
for (var Ce = [], Ie, we = this.path, _e = 0; _e < we.length; _e++) {
|
|
60130
60139
|
var pe = we[_e];
|
|
60131
60140
|
switch (pe.type) {
|
|
60132
60141
|
case "begin":
|
|
60133
|
-
|
|
60142
|
+
Ce.push({
|
|
60134
60143
|
begin: !0
|
|
60135
60144
|
});
|
|
60136
60145
|
break;
|
|
60137
60146
|
case "close":
|
|
60138
|
-
|
|
60147
|
+
Ce.push({
|
|
60139
60148
|
close: !0
|
|
60140
60149
|
});
|
|
60141
60150
|
break;
|
|
60142
60151
|
case "mt":
|
|
60143
|
-
|
|
60152
|
+
Ce.push({
|
|
60144
60153
|
start: pe,
|
|
60145
60154
|
deltas: [],
|
|
60146
60155
|
abs: []
|
|
60147
60156
|
});
|
|
60148
60157
|
break;
|
|
60149
60158
|
case "lt":
|
|
60150
|
-
var Pe =
|
|
60159
|
+
var Pe = Ce.length;
|
|
60151
60160
|
if (we[_e - 1] && !isNaN(we[_e - 1].x) && (Ie = [pe.x - we[_e - 1].x, pe.y - we[_e - 1].y], Pe > 0)) {
|
|
60152
60161
|
for (Pe; Pe >= 0; Pe--)
|
|
60153
|
-
if (
|
|
60154
|
-
|
|
60162
|
+
if (Ce[Pe - 1].close !== !0 && Ce[Pe - 1].begin !== !0) {
|
|
60163
|
+
Ce[Pe - 1].deltas.push(Ie), Ce[Pe - 1].abs.push(pe);
|
|
60155
60164
|
break;
|
|
60156
60165
|
}
|
|
60157
60166
|
}
|
|
60158
60167
|
break;
|
|
60159
60168
|
case "bct":
|
|
60160
|
-
Ie = [pe.x1 - we[_e - 1].x, pe.y1 - we[_e - 1].y, pe.x2 - we[_e - 1].x, pe.y2 - we[_e - 1].y, pe.x - we[_e - 1].x, pe.y - we[_e - 1].y],
|
|
60169
|
+
Ie = [pe.x1 - we[_e - 1].x, pe.y1 - we[_e - 1].y, pe.x2 - we[_e - 1].x, pe.y2 - we[_e - 1].y, pe.x - we[_e - 1].x, pe.y - we[_e - 1].y], Ce[Ce.length - 1].deltas.push(Ie);
|
|
60161
60170
|
break;
|
|
60162
60171
|
case "qct":
|
|
60163
|
-
var Se = we[_e - 1].x + 2 / 3 * (pe.x1 - we[_e - 1].x), qe = we[_e - 1].y + 2 / 3 * (pe.y1 - we[_e - 1].y), Te = pe.x + 2 / 3 * (pe.x1 - pe.x), He = pe.y + 2 / 3 * (pe.y1 - pe.y),
|
|
60164
|
-
Ie = [Se - we[_e - 1].x, qe - we[_e - 1].y, Te - we[_e - 1].x, He - we[_e - 1].y,
|
|
60172
|
+
var Se = we[_e - 1].x + 2 / 3 * (pe.x1 - we[_e - 1].x), qe = we[_e - 1].y + 2 / 3 * (pe.y1 - we[_e - 1].y), Te = pe.x + 2 / 3 * (pe.x1 - pe.x), He = pe.y + 2 / 3 * (pe.y1 - pe.y), xe = pe.x, ae = pe.y;
|
|
60173
|
+
Ie = [Se - we[_e - 1].x, qe - we[_e - 1].y, Te - we[_e - 1].x, He - we[_e - 1].y, xe - we[_e - 1].x, ae - we[_e - 1].y], Ce[Ce.length - 1].deltas.push(Ie);
|
|
60165
60174
|
break;
|
|
60166
60175
|
case "arc":
|
|
60167
|
-
|
|
60176
|
+
Ce.push({
|
|
60168
60177
|
deltas: [],
|
|
60169
60178
|
abs: [],
|
|
60170
60179
|
arc: !0
|
|
60171
|
-
}), Array.isArray(
|
|
60180
|
+
}), Array.isArray(Ce[Ce.length - 1].abs) && Ce[Ce.length - 1].abs.push(pe);
|
|
60172
60181
|
break;
|
|
60173
60182
|
}
|
|
60174
60183
|
}
|
|
60175
60184
|
var he;
|
|
60176
60185
|
ne ? he = null : Q === "stroke" ? he = "stroke" : he = "fill";
|
|
60177
|
-
for (var $ = !1, Ne = 0; Ne <
|
|
60178
|
-
if (
|
|
60179
|
-
for (var Be =
|
|
60186
|
+
for (var $ = !1, Ne = 0; Ne < Ce.length; Ne++)
|
|
60187
|
+
if (Ce[Ne].arc) {
|
|
60188
|
+
for (var Be = Ce[Ne].abs, Qe = 0; Qe < Be.length; Qe++) {
|
|
60180
60189
|
var Me = Be[Qe];
|
|
60181
60190
|
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);
|
|
60182
60191
|
}
|
|
60183
60192
|
$ = !0;
|
|
60184
|
-
} else if (
|
|
60193
|
+
} else if (Ce[Ne].close === !0)
|
|
60185
60194
|
this.pdf.internal.out("h"), $ = !1;
|
|
60186
|
-
else if (
|
|
60187
|
-
var ze =
|
|
60188
|
-
z.call(this,
|
|
60195
|
+
else if (Ce[Ne].begin !== !0) {
|
|
60196
|
+
var ze = Ce[Ne].start.x, ot = Ce[Ne].start.y;
|
|
60197
|
+
z.call(this, Ce[Ne].deltas, ze, ot), $ = !0;
|
|
60189
60198
|
}
|
|
60190
60199
|
he && A.call(this, he), ne && H.call(this);
|
|
60191
60200
|
}
|
|
60192
60201
|
}, I = function(Q) {
|
|
60193
|
-
var ne = this.pdf.internal.getFontSize() / this.pdf.internal.scaleFactor,
|
|
60202
|
+
var ne = this.pdf.internal.getFontSize() / this.pdf.internal.scaleFactor, Ce = ne * (this.pdf.internal.getLineHeightFactor() - 1);
|
|
60194
60203
|
switch (this.ctx.textBaseline) {
|
|
60195
60204
|
case "bottom":
|
|
60196
|
-
return Q -
|
|
60205
|
+
return Q - Ce;
|
|
60197
60206
|
case "top":
|
|
60198
|
-
return Q + ne -
|
|
60207
|
+
return Q + ne - Ce;
|
|
60199
60208
|
case "hanging":
|
|
60200
|
-
return Q + ne - 2 *
|
|
60209
|
+
return Q + ne - 2 * Ce;
|
|
60201
60210
|
case "middle":
|
|
60202
|
-
return Q + ne / 2 -
|
|
60211
|
+
return Q + ne / 2 - Ce;
|
|
60203
60212
|
case "ideographic":
|
|
60204
60213
|
return Q;
|
|
60205
60214
|
case "alphabetic":
|
|
@@ -60207,14 +60216,14 @@ function parseFontFamily(a) {
|
|
|
60207
60216
|
return Q;
|
|
60208
60217
|
}
|
|
60209
60218
|
}, M = function(Q) {
|
|
60210
|
-
var ne = this.pdf.internal.getFontSize() / this.pdf.internal.scaleFactor,
|
|
60211
|
-
return Q +
|
|
60219
|
+
var ne = this.pdf.internal.getFontSize() / this.pdf.internal.scaleFactor, Ce = ne * (this.pdf.internal.getLineHeightFactor() - 1);
|
|
60220
|
+
return Q + Ce;
|
|
60212
60221
|
};
|
|
60213
60222
|
p.prototype.createLinearGradient = function() {
|
|
60214
60223
|
var Q = function() {
|
|
60215
60224
|
};
|
|
60216
|
-
return Q.colorStops = [], Q.addColorStop = function(ne,
|
|
60217
|
-
this.colorStops.push([ne,
|
|
60225
|
+
return Q.colorStops = [], Q.addColorStop = function(ne, Ce) {
|
|
60226
|
+
this.colorStops.push([ne, Ce]);
|
|
60218
60227
|
}, Q.getColor = function() {
|
|
60219
60228
|
return this.colorStops.length === 0 ? "#000000" : this.colorStops[0][1];
|
|
60220
60229
|
}, Q.isCanvasGradient = !0, Q;
|
|
@@ -60223,8 +60232,8 @@ function parseFontFamily(a) {
|
|
|
60223
60232
|
}, p.prototype.createRadialGradient = function() {
|
|
60224
60233
|
return this.createLinearGradient();
|
|
60225
60234
|
};
|
|
60226
|
-
var R = function(Q, ne,
|
|
60227
|
-
for (var qe = Y.call(this,
|
|
60235
|
+
var R = function(Q, ne, Ce, Ie, we, _e, pe, Pe, Se) {
|
|
60236
|
+
for (var qe = Y.call(this, Ce, Ie, we, _e), Te = 0; Te < qe.length; Te++) {
|
|
60228
60237
|
var He = qe[Te];
|
|
60229
60238
|
Te === 0 && (Se ? O.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);
|
|
60230
60239
|
}
|
|
@@ -60258,19 +60267,19 @@ function parseFontFamily(a) {
|
|
|
60258
60267
|
ne = "left";
|
|
60259
60268
|
break;
|
|
60260
60269
|
}
|
|
60261
|
-
var
|
|
60270
|
+
var Ce = this.pdf.getTextDimensions(Q.text), Ie = I.call(this, Q.y), we = M.call(this, Ie), _e = we - Ce.h, pe = this.ctx.transform.applyToPoint(new c(Q.x, Ie)), Pe = this.ctx.transform.decompose(), Se = new u();
|
|
60262
60271
|
Se = Se.multiply(Pe.translate), Se = Se.multiply(Pe.skew), Se = Se.multiply(Pe.scale);
|
|
60263
|
-
for (var qe = this.ctx.transform.applyToRectangle(new d(Q.x, Ie,
|
|
60264
|
-
|
|
60265
|
-
D(
|
|
60272
|
+
for (var qe = this.ctx.transform.applyToRectangle(new d(Q.x, Ie, Ce.w, Ce.h)), Te = Se.applyToRectangle(new d(Q.x, _e, Ce.w, Ce.h)), He = v.call(this, Te), xe = [], ae = 0; ae < He.length; ae += 1)
|
|
60273
|
+
xe.indexOf(He[ae]) === -1 && xe.push(He[ae]);
|
|
60274
|
+
D(xe);
|
|
60266
60275
|
var he, $, Ne;
|
|
60267
60276
|
if (Q.text = Q.text.replace(/[\t]/g, " "), this.autoPaging)
|
|
60268
|
-
for (var Be =
|
|
60277
|
+
for (var Be = xe[0], Qe = xe[xe.length - 1], Me = Be; Me < Qe + 1; Me++) {
|
|
60269
60278
|
this.pdf.setPage(Me);
|
|
60270
60279
|
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], ut = this.pdf.internal.pageSize.height - this.margin[2], _t = ut - this.margin[0], mt = this.pdf.internal.pageSize.width - this.margin[1], Pt = mt - this.margin[3], gt = Me === 1 ? 0 : ot + (Me - 2) * _t, Tt = Q.charSpace ? parseFloat(Q.charSpace) : 0;
|
|
60271
60280
|
if (console$1.log(Tt, "--------------"), this.ctx.clip_path.length !== 0) {
|
|
60272
|
-
var
|
|
60273
|
-
he = JSON.parse(JSON.stringify(this.ctx.clip_path)), this.path = _(he, this.posX + this.margin[3], -1 * gt + ze), T.call(this, "fill", !0), this.path =
|
|
60281
|
+
var xt = this.path;
|
|
60282
|
+
he = JSON.parse(JSON.stringify(this.ctx.clip_path)), this.path = _(he, this.posX + this.margin[3], -1 * gt + ze), T.call(this, "fill", !0), this.path = xt;
|
|
60274
60283
|
}
|
|
60275
60284
|
var At = _([JSON.parse(JSON.stringify(Te))], this.posX + this.margin[3], -gt + ze + this.ctx.prevPageLastElemOffset)[0];
|
|
60276
60285
|
Q.scale >= 0.01 && ($ = this.pdf.internal.getFontSize(), this.pdf.setFontSize($ * Q.scale), Ne = this.lineWidth, this.lineWidth = Ne * Q.scale);
|
|
@@ -60292,8 +60301,8 @@ function parseFontFamily(a) {
|
|
|
60292
60301
|
}
|
|
60293
60302
|
else {
|
|
60294
60303
|
Q.scale >= 0.01 && ($ = this.pdf.internal.getFontSize(), this.pdf.setFontSize($ * Q.scale), Ne = this.lineWidth, this.lineWidth = Ne * Q.scale);
|
|
60295
|
-
let
|
|
60296
|
-
|
|
60304
|
+
let Cr = Q.maxWidth - Ce.w, Rt = 0;
|
|
60305
|
+
Cr > 2 && Q.bold && Q.maxWidth != 65535 && (Rt = Cr / Q.text.length);
|
|
60297
60306
|
var Tt = Q.charSpace ? parseFloat(Q.charSpace) : 0;
|
|
60298
60307
|
this.pdf.text(Q.text, pe.x + this.posX, pe.y + this.posY, {
|
|
60299
60308
|
angle: Q.angle,
|
|
@@ -60303,43 +60312,43 @@ function parseFontFamily(a) {
|
|
|
60303
60312
|
charSpace: Tt + Rt
|
|
60304
60313
|
}), Q.scale >= 0.01 && (this.pdf.setFontSize($), this.lineWidth = Ne);
|
|
60305
60314
|
}
|
|
60306
|
-
}, U = function(Q, ne,
|
|
60307
|
-
|
|
60308
|
-
}, z = function(Q, ne,
|
|
60309
|
-
return this.pdf.lines(Q, ne,
|
|
60310
|
-
}, X = function(Q, ne,
|
|
60311
|
-
this.pdf.internal.out([r(s(
|
|
60312
|
-
}, Y = function(Q, ne,
|
|
60313
|
-
for (var we = 1e-5, _e = Math.PI * 2, pe = Math.PI / 2; ne >
|
|
60315
|
+
}, U = function(Q, ne, Ce, Ie) {
|
|
60316
|
+
Ce = Ce || 0, Ie = Ie || 0, this.pdf.internal.out(o(Q + Ce) + " " + n(ne + Ie) + " l");
|
|
60317
|
+
}, z = function(Q, ne, Ce) {
|
|
60318
|
+
return this.pdf.lines(Q, ne, Ce, null, null);
|
|
60319
|
+
}, X = function(Q, ne, Ce, Ie, we, _e, pe, Pe) {
|
|
60320
|
+
this.pdf.internal.out([r(s(Ce + Q)), r(l(Ie + ne)), r(s(we + Q)), r(l(_e + ne)), r(s(pe + Q)), r(l(Pe + ne)), "c"].join(" "));
|
|
60321
|
+
}, Y = function(Q, ne, Ce, Ie) {
|
|
60322
|
+
for (var we = 1e-5, _e = Math.PI * 2, pe = Math.PI / 2; ne > Ce; )
|
|
60314
60323
|
ne = ne - _e;
|
|
60315
|
-
var Pe = Math.abs(
|
|
60324
|
+
var Pe = Math.abs(Ce - ne);
|
|
60316
60325
|
Pe < _e && Ie && (Pe = _e - Pe);
|
|
60317
60326
|
for (var Se = [], qe = Ie ? -1 : 1, Te = ne; Pe > we; ) {
|
|
60318
|
-
var He = qe * Math.min(Pe, pe),
|
|
60319
|
-
Se.push(G.call(this, Q, Te,
|
|
60327
|
+
var He = qe * Math.min(Pe, pe), xe = Te + He;
|
|
60328
|
+
Se.push(G.call(this, Q, Te, xe)), Pe -= Math.abs(xe - Te), Te = xe;
|
|
60320
60329
|
}
|
|
60321
60330
|
return Se;
|
|
60322
|
-
}, G = function(Q, ne,
|
|
60323
|
-
var Ie = (
|
|
60331
|
+
}, G = function(Q, ne, Ce) {
|
|
60332
|
+
var Ie = (Ce - ne) / 2, we = Q * Math.cos(Ie), _e = Q * Math.sin(Ie), pe = we, Pe = -_e, Se = pe * pe + Pe * Pe, qe = Se + pe * we + Pe * _e, Te = 4 / 3 * (Math.sqrt(2 * Se * qe) - qe) / (pe * _e - Pe * we), He = pe - Te * Pe, xe = Pe + Te * pe, ae = He, he = -xe, $ = Ie + ne, Ne = Math.cos($), Be = Math.sin($);
|
|
60324
60333
|
return {
|
|
60325
60334
|
x1: Q * Math.cos(ne),
|
|
60326
60335
|
y1: Q * Math.sin(ne),
|
|
60327
|
-
x2: He * Ne -
|
|
60328
|
-
y2: He * Be +
|
|
60336
|
+
x2: He * Ne - xe * Be,
|
|
60337
|
+
y2: He * Be + xe * Ne,
|
|
60329
60338
|
x3: ae * Ne - he * Be,
|
|
60330
60339
|
y3: ae * Be + he * Ne,
|
|
60331
|
-
x4: Q * Math.cos(
|
|
60332
|
-
y4: Q * Math.sin(
|
|
60340
|
+
x4: Q * Math.cos(Ce),
|
|
60341
|
+
y4: Q * Math.sin(Ce)
|
|
60333
60342
|
};
|
|
60334
60343
|
}, J = function(Q) {
|
|
60335
60344
|
return Q * 180 / Math.PI;
|
|
60336
|
-
}, le = function(Q, ne,
|
|
60337
|
-
var pe = Q + (
|
|
60338
|
-
return new d(Te,
|
|
60339
|
-
}, ye = function(Q, ne,
|
|
60340
|
-
var Se =
|
|
60345
|
+
}, le = function(Q, ne, Ce, Ie, we, _e) {
|
|
60346
|
+
var pe = Q + (Ce - Q) * 0.5, Pe = ne + (Ie - ne) * 0.5, Se = we + (Ce - we) * 0.5, qe = _e + (Ie - _e) * 0.5, Te = Math.min(Q, we, pe, Se), He = Math.max(Q, we, pe, Se), xe = Math.min(ne, _e, Pe, qe), ae = Math.max(ne, _e, Pe, qe);
|
|
60347
|
+
return new d(Te, xe, He - Te, ae - xe);
|
|
60348
|
+
}, ye = function(Q, ne, Ce, Ie, we, _e, pe, Pe) {
|
|
60349
|
+
var Se = Ce - Q, qe = Ie - ne, Te = we - Ce, He = _e - Ie, xe = pe - we, ae = Pe - _e, he = 40, $, Ne, Be, Qe, Me, ze, ot, ut, _t, mt, Pt, gt, Tt, xt, At, St, Qt, Mt, rr, Cr, Rt, Gt, ee, se;
|
|
60341
60350
|
for (Ne = 0; Ne < he + 1; Ne++)
|
|
60342
|
-
$ = Ne / he, Be = Q + $ * Se, Qe = ne + $ * qe, Me =
|
|
60351
|
+
$ = Ne / he, Be = Q + $ * Se, Qe = ne + $ * qe, Me = Ce + $ * Te, ze = Ie + $ * He, ot = we + $ * xe, ut = _e + $ * ae, rr = Me - Be, Cr = ze - Qe, Rt = ot - Me, Gt = ut - ze, Pt = Be + $ * rr, gt = Qe + $ * Cr, _t = Me + $ * Rt, mt = ze + $ * Gt, ee = _t - Pt, se = mt - gt, Tt = Pt + $ * ee, xt = gt + $ * se, Ne == 0 ? (At = Tt, St = xt, Qt = Tt, Mt = xt) : (At = Math.min(At, Tt), St = Math.min(St, xt), Qt = Math.max(Qt, Tt), Mt = Math.max(Mt, xt));
|
|
60343
60352
|
return new d(Math.round(At), Math.round(St), Math.round(Qt - At), Math.round(Mt - St));
|
|
60344
60353
|
}, ie = function(Q, ne) {
|
|
60345
60354
|
return JSON.stringify({
|
|
@@ -61187,11 +61196,11 @@ var PNG = function() {
|
|
|
61187
61196
|
console$1.warn(`Invalid filter algorithm: ${d[p - 1], d[p]}--png格式图片只包含[01234]`);
|
|
61188
61197
|
}
|
|
61189
61198
|
if (!ne) {
|
|
61190
|
-
var
|
|
61199
|
+
var Ce = ((w + z * C) * m.width + y) * u, Ie = z * X;
|
|
61191
61200
|
for (T = 0; T < ue; T += 1) {
|
|
61192
61201
|
for (var we = 0; we < u; we += 1)
|
|
61193
|
-
f[
|
|
61194
|
-
|
|
61202
|
+
f[Ce++] = U[Ie++];
|
|
61203
|
+
Ce += (v - 1) * u;
|
|
61195
61204
|
}
|
|
61196
61205
|
}
|
|
61197
61206
|
z++;
|
|
@@ -61549,11 +61558,11 @@ function GifReader(a) {
|
|
|
61549
61558
|
GifReaderLZWOutputIndexStream(a, G.data_offset, le, J);
|
|
61550
61559
|
var ye = G.palette_offset, ie = G.transparent_index;
|
|
61551
61560
|
ie === null && (ie = 256);
|
|
61552
|
-
var ge = G.width, ue = r - ge, Q = ge, ne = (G.y * r + G.x) * 4,
|
|
61561
|
+
var ge = G.width, ue = r - ge, Q = ge, ne = (G.y * r + G.x) * 4, Ce = ((G.y + G.height) * r + G.x) * 4, Ie = ne, we = ue * 4;
|
|
61553
61562
|
G.interlaced === !0 && (we += r * 4 * 7);
|
|
61554
61563
|
for (var _e = 8, pe = 0, Pe = le.length; pe < Pe; ++pe) {
|
|
61555
61564
|
var Se = le[pe];
|
|
61556
|
-
if (Q === 0 && (Ie += we, Q = ge, Ie >=
|
|
61565
|
+
if (Q === 0 && (Ie += we, Q = ge, Ie >= Ce && (we = ue * 4 + r * 4 * (_e - 1), Ie = ne + (ge + ue) * (_e << 1), _e >>= 1)), Se === ie)
|
|
61557
61566
|
Ie += 4;
|
|
61558
61567
|
else {
|
|
61559
61568
|
var qe = a[ye + Se * 3], Te = a[ye + Se * 3 + 1], He = a[ye + Se * 3 + 2];
|
|
@@ -61566,11 +61575,11 @@ function GifReader(a) {
|
|
|
61566
61575
|
GifReaderLZWOutputIndexStream(a, G.data_offset, le, J);
|
|
61567
61576
|
var ye = G.palette_offset, ie = G.transparent_index;
|
|
61568
61577
|
ie === null && (ie = 256);
|
|
61569
|
-
var ge = G.width, ue = r - ge, Q = ge, ne = (G.y * r + G.x) * 4,
|
|
61578
|
+
var ge = G.width, ue = r - ge, Q = ge, ne = (G.y * r + G.x) * 4, Ce = ((G.y + G.height) * r + G.x) * 4, Ie = ne, we = ue * 4;
|
|
61570
61579
|
G.interlaced === !0 && (we += r * 4 * 7);
|
|
61571
61580
|
for (var _e = 8, pe = 0, Pe = le.length; pe < Pe; ++pe) {
|
|
61572
61581
|
var Se = le[pe];
|
|
61573
|
-
if (Q === 0 && (Ie += we, Q = ge, Ie >=
|
|
61582
|
+
if (Q === 0 && (Ie += we, Q = ge, Ie >= Ce && (we = ue * 4 + r * 4 * (_e - 1), Ie = ne + (ge + ue) * (_e << 1), _e >>= 1)), Se === ie)
|
|
61574
61583
|
Y[Ie++] = 255, Y[Ie++] = 255, Y[Ie++] = 255, Y[Ie++] = 255;
|
|
61575
61584
|
else {
|
|
61576
61585
|
var qe = a[ye + Se * 3], Te = a[ye + Se * 3 + 1], He = a[ye + Se * 3 + 2];
|
|
@@ -61641,9 +61650,9 @@ function GifReaderLZWOutputIndexStream(a, t, r, o) {
|
|
|
61641
61650
|
function JPEGEncoder(a) {
|
|
61642
61651
|
var t = Math.floor, r = new Array(64), o = new Array(64), n = new Array(64), s = new Array(64), l, c, d, u, f = new Array(65535), p = new Array(65535), m = new Array(64), g = new Array(64), y = [], w = 0, v = 7, C = new Array(64), _ = new Array(64), D = new Array(64), E = new Array(256), T = new Array(2048), I, M = [0, 1, 5, 6, 14, 15, 27, 28, 2, 4, 7, 13, 16, 26, 29, 42, 3, 8, 12, 17, 25, 30, 41, 43, 9, 11, 18, 24, 31, 40, 44, 53, 10, 19, 23, 32, 39, 45, 52, 54, 20, 22, 33, 38, 46, 51, 55, 60, 21, 34, 37, 47, 50, 56, 59, 61, 35, 36, 48, 49, 57, 58, 62, 63], R = [0, 0, 1, 5, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0], A = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], H = [0, 0, 2, 1, 3, 3, 2, 4, 3, 5, 5, 4, 4, 0, 0, 1, 125], O = [1, 2, 3, 0, 4, 17, 5, 18, 33, 49, 65, 6, 19, 81, 97, 7, 34, 113, 20, 50, 129, 145, 161, 8, 35, 66, 177, 193, 21, 82, 209, 240, 36, 51, 98, 114, 130, 9, 10, 22, 23, 24, 25, 26, 37, 38, 39, 40, 41, 42, 52, 53, 54, 55, 56, 57, 58, 67, 68, 69, 70, 71, 72, 73, 74, 83, 84, 85, 86, 87, 88, 89, 90, 99, 100, 101, 102, 103, 104, 105, 106, 115, 116, 117, 118, 119, 120, 121, 122, 131, 132, 133, 134, 135, 136, 137, 138, 146, 147, 148, 149, 150, 151, 152, 153, 154, 162, 163, 164, 165, 166, 167, 168, 169, 170, 178, 179, 180, 181, 182, 183, 184, 185, 186, 194, 195, 196, 197, 198, 199, 200, 201, 202, 210, 211, 212, 213, 214, 215, 216, 217, 218, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250], j = [0, 0, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0], U = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], z = [0, 0, 2, 1, 2, 4, 4, 3, 4, 7, 5, 4, 4, 0, 1, 2, 119], X = [0, 1, 2, 3, 17, 4, 5, 33, 49, 6, 18, 65, 81, 7, 97, 113, 19, 34, 50, 129, 8, 20, 66, 145, 161, 177, 193, 9, 35, 51, 82, 240, 21, 98, 114, 209, 10, 22, 36, 52, 225, 37, 241, 23, 24, 25, 26, 38, 39, 40, 41, 42, 53, 54, 55, 56, 57, 58, 67, 68, 69, 70, 71, 72, 73, 74, 83, 84, 85, 86, 87, 88, 89, 90, 99, 100, 101, 102, 103, 104, 105, 106, 115, 116, 117, 118, 119, 120, 121, 122, 130, 131, 132, 133, 134, 135, 136, 137, 138, 146, 147, 148, 149, 150, 151, 152, 153, 154, 162, 163, 164, 165, 166, 167, 168, 169, 170, 178, 179, 180, 181, 182, 183, 184, 185, 186, 194, 195, 196, 197, 198, 199, 200, 201, 202, 210, 211, 212, 213, 214, 215, 216, 217, 218, 226, 227, 228, 229, 230, 231, 232, 233, 234, 242, 243, 244, 245, 246, 247, 248, 249, 250];
|
|
61643
61652
|
function Y(Te) {
|
|
61644
|
-
for (var He = [16, 11, 10, 16, 24, 40, 51, 61, 12, 12, 14, 19, 26, 58, 60, 55, 14, 13, 16, 24, 40, 57, 69, 56, 14, 17, 22, 29, 51, 87, 80, 62, 18, 22, 37, 56, 68, 109, 103, 77, 24, 35, 55, 64, 81, 104, 113, 92, 49, 64, 78, 87, 103, 121, 120, 101, 72, 92, 95, 98, 112, 100, 103, 99],
|
|
61645
|
-
var ae = t((He[
|
|
61646
|
-
ae = Math.min(Math.max(ae, 1), 255), r[M[
|
|
61653
|
+
for (var He = [16, 11, 10, 16, 24, 40, 51, 61, 12, 12, 14, 19, 26, 58, 60, 55, 14, 13, 16, 24, 40, 57, 69, 56, 14, 17, 22, 29, 51, 87, 80, 62, 18, 22, 37, 56, 68, 109, 103, 77, 24, 35, 55, 64, 81, 104, 113, 92, 49, 64, 78, 87, 103, 121, 120, 101, 72, 92, 95, 98, 112, 100, 103, 99], xe = 0; xe < 64; xe++) {
|
|
61654
|
+
var ae = t((He[xe] * Te + 50) / 100);
|
|
61655
|
+
ae = Math.min(Math.max(ae, 1), 255), r[M[xe]] = ae;
|
|
61647
61656
|
}
|
|
61648
61657
|
for (var he = [17, 18, 24, 47, 99, 99, 99, 99, 18, 21, 26, 66, 99, 99, 99, 99, 24, 26, 56, 99, 99, 99, 99, 99, 47, 66, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99], $ = 0; $ < 64; $++) {
|
|
61649
61658
|
var Ne = t((he[$] * Te + 50) / 100);
|
|
@@ -61654,10 +61663,10 @@ function JPEGEncoder(a) {
|
|
|
61654
61663
|
n[Qe] = 1 / (r[M[Qe]] * Be[Me] * Be[ze] * 8), s[Qe] = 1 / (o[M[Qe]] * Be[Me] * Be[ze] * 8), Qe++;
|
|
61655
61664
|
}
|
|
61656
61665
|
function G(Te, He) {
|
|
61657
|
-
for (var
|
|
61666
|
+
for (var xe = 0, ae = 0, he = new Array(), $ = 1; $ <= 16; $++) {
|
|
61658
61667
|
for (var Ne = 1; Ne <= Te[$]; Ne++)
|
|
61659
|
-
he[He[ae]] = [], he[He[ae]][0] =
|
|
61660
|
-
|
|
61668
|
+
he[He[ae]] = [], he[He[ae]][0] = xe, he[He[ae]][1] = $, ae++, xe++;
|
|
61669
|
+
xe *= 2;
|
|
61661
61670
|
}
|
|
61662
61671
|
return he;
|
|
61663
61672
|
}
|
|
@@ -61665,11 +61674,11 @@ function JPEGEncoder(a) {
|
|
|
61665
61674
|
l = G(R, A), c = G(j, U), d = G(H, O), u = G(z, X);
|
|
61666
61675
|
}
|
|
61667
61676
|
function le() {
|
|
61668
|
-
for (var Te = 1, He = 2,
|
|
61677
|
+
for (var Te = 1, He = 2, xe = 1; xe <= 15; xe++) {
|
|
61669
61678
|
for (var ae = Te; ae < He; ae++)
|
|
61670
|
-
p[32767 + ae] =
|
|
61679
|
+
p[32767 + ae] = xe, f[32767 + ae] = [], f[32767 + ae][1] = xe, f[32767 + ae][0] = ae;
|
|
61671
61680
|
for (var he = -(He - 1); he <= -Te; he++)
|
|
61672
|
-
p[32767 + he] =
|
|
61681
|
+
p[32767 + he] = xe, f[32767 + he] = [], f[32767 + he][1] = xe, f[32767 + he][0] = He - 1 + he;
|
|
61673
61682
|
Te <<= 1, He <<= 1;
|
|
61674
61683
|
}
|
|
61675
61684
|
}
|
|
@@ -61678,8 +61687,8 @@ function JPEGEncoder(a) {
|
|
|
61678
61687
|
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;
|
|
61679
61688
|
}
|
|
61680
61689
|
function ie(Te) {
|
|
61681
|
-
for (var He = Te[0],
|
|
61682
|
-
He & 1 <<
|
|
61690
|
+
for (var He = Te[0], xe = Te[1] - 1; xe >= 0; )
|
|
61691
|
+
He & 1 << xe && (w |= 1 << v), xe--, v--, v < 0 && (w == 255 ? (ge(255), ge(0)) : ge(w), v = 7, w = 0);
|
|
61683
61692
|
}
|
|
61684
61693
|
function ge(Te) {
|
|
61685
61694
|
y.push(Te);
|
|
@@ -61688,19 +61697,19 @@ function JPEGEncoder(a) {
|
|
|
61688
61697
|
ge(Te >> 8 & 255), ge(Te & 255);
|
|
61689
61698
|
}
|
|
61690
61699
|
function Q(Te, He) {
|
|
61691
|
-
var
|
|
61700
|
+
var xe, ae, he, $, Ne, Be, Qe, Me, ze = 0, ot, ut = 8, _t = 64;
|
|
61692
61701
|
for (ot = 0; ot < ut; ++ot) {
|
|
61693
|
-
|
|
61694
|
-
var mt =
|
|
61695
|
-
Te[ze] = Mt +
|
|
61702
|
+
xe = Te[ze], ae = 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];
|
|
61703
|
+
var mt = xe + Me, Pt = xe - Me, gt = ae + Qe, Tt = ae - Qe, xt = he + Be, At = he - Be, St = $ + Ne, Qt = $ - Ne, Mt = mt + St, rr = mt - St, Cr = gt + xt, Rt = gt - xt;
|
|
61704
|
+
Te[ze] = Mt + Cr, Te[ze + 4] = Mt - Cr;
|
|
61696
61705
|
var Gt = (Rt + rr) * 0.707106781;
|
|
61697
|
-
Te[ze + 2] = rr + Gt, Te[ze + 6] = rr - Gt, Mt = Qt + At,
|
|
61698
|
-
var ee = (Mt - Rt) * 0.382683433, se = 0.5411961 * Mt + ee, De = 1.306562965 * Rt + ee, Ue =
|
|
61706
|
+
Te[ze + 2] = rr + Gt, Te[ze + 6] = rr - Gt, Mt = Qt + At, Cr = At + Tt, Rt = Tt + Pt;
|
|
61707
|
+
var ee = (Mt - Rt) * 0.382683433, se = 0.5411961 * Mt + ee, De = 1.306562965 * Rt + ee, Ue = Cr * 0.707106781, Ge = Pt + Ue, Dt = Pt - Ue;
|
|
61699
61708
|
Te[ze + 5] = Dt + se, Te[ze + 3] = Dt - se, Te[ze + 1] = Ge + De, Te[ze + 7] = Ge - De, ze += 8;
|
|
61700
61709
|
}
|
|
61701
61710
|
for (ze = 0, ot = 0; ot < ut; ++ot) {
|
|
61702
|
-
|
|
61703
|
-
var Ut =
|
|
61711
|
+
xe = Te[ze], ae = 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];
|
|
61712
|
+
var Ut = xe + Me, Jt = xe - Me, ir = ae + Qe, ct = ae - Qe, br = he + Be, kt = he - Be, wr = $ + Ne, dr = $ - Ne, Xt = Ut + wr, Wt = Ut - wr, hr = ir + br, jt = ir - br;
|
|
61704
61713
|
Te[ze] = Xt + hr, Te[ze + 32] = Xt - hr;
|
|
61705
61714
|
var Zt = (jt + Wt) * 0.707106781;
|
|
61706
61715
|
Te[ze + 16] = Wt + Zt, Te[ze + 48] = Wt - Zt, Xt = dr + kt, hr = kt + ct, jt = ct + Jt;
|
|
@@ -61715,7 +61724,7 @@ function JPEGEncoder(a) {
|
|
|
61715
61724
|
function ne() {
|
|
61716
61725
|
ue(65504), ue(16), ge(74), ge(70), ge(73), ge(70), ge(0), ge(1), ge(1), ge(0), ue(1), ue(1), ge(0), ge(0);
|
|
61717
61726
|
}
|
|
61718
|
-
function
|
|
61727
|
+
function Ce(Te, He) {
|
|
61719
61728
|
ue(65472), ue(17), ge(8), ue(He), ue(Te), ge(3), ge(1), ge(17), ge(0), ge(2), ge(17), ge(1), ge(3), ge(17), ge(1);
|
|
61720
61729
|
}
|
|
61721
61730
|
function Ie() {
|
|
@@ -61733,8 +61742,8 @@ function JPEGEncoder(a) {
|
|
|
61733
61742
|
for (var He = 0; He <= 11; He++)
|
|
61734
61743
|
ge(A[He]);
|
|
61735
61744
|
ge(16);
|
|
61736
|
-
for (var
|
|
61737
|
-
ge(H[
|
|
61745
|
+
for (var xe = 0; xe < 16; xe++)
|
|
61746
|
+
ge(H[xe + 1]);
|
|
61738
61747
|
for (var ae = 0; ae <= 161; ae++)
|
|
61739
61748
|
ge(O[ae]);
|
|
61740
61749
|
ge(1);
|
|
@@ -61751,42 +61760,42 @@ function JPEGEncoder(a) {
|
|
|
61751
61760
|
function _e() {
|
|
61752
61761
|
ue(65498), ue(12), ge(3), ge(1), ge(0), ge(2), ge(17), ge(3), ge(17), ge(0), ge(63), ge(0);
|
|
61753
61762
|
}
|
|
61754
|
-
function pe(Te, He,
|
|
61763
|
+
function pe(Te, He, xe, ae, he) {
|
|
61755
61764
|
for (var $ = he[0], Ne = he[240], Be, Qe = 16, Me = 63, ze = 64, ot = Q(Te, He), ut = 0; ut < ze; ++ut)
|
|
61756
61765
|
g[M[ut]] = ot[ut];
|
|
61757
|
-
var _t = g[0] -
|
|
61758
|
-
|
|
61766
|
+
var _t = g[0] - xe;
|
|
61767
|
+
xe = g[0], _t == 0 ? ie(ae[0]) : (Be = 32767 + _t, ie(ae[p[Be]]), ie(f[Be]));
|
|
61759
61768
|
for (var mt = 63; mt > 0 && g[mt] == 0; )
|
|
61760
61769
|
mt--;
|
|
61761
61770
|
if (mt == 0)
|
|
61762
|
-
return ie($),
|
|
61771
|
+
return ie($), xe;
|
|
61763
61772
|
for (var Pt = 1, gt; Pt <= mt; ) {
|
|
61764
61773
|
for (var Tt = Pt; g[Pt] == 0 && Pt <= mt; )
|
|
61765
61774
|
++Pt;
|
|
61766
|
-
var
|
|
61767
|
-
if (
|
|
61768
|
-
gt =
|
|
61775
|
+
var xt = Pt - Tt;
|
|
61776
|
+
if (xt >= Qe) {
|
|
61777
|
+
gt = xt >> 4;
|
|
61769
61778
|
for (var At = 1; At <= gt; ++At)
|
|
61770
61779
|
ie(Ne);
|
|
61771
|
-
|
|
61780
|
+
xt = xt & 15;
|
|
61772
61781
|
}
|
|
61773
|
-
Be = 32767 + g[Pt], ie(he[(
|
|
61782
|
+
Be = 32767 + g[Pt], ie(he[(xt << 4) + p[Be]]), ie(f[Be]), Pt++;
|
|
61774
61783
|
}
|
|
61775
|
-
return mt != Me && ie($),
|
|
61784
|
+
return mt != Me && ie($), xe;
|
|
61776
61785
|
}
|
|
61777
61786
|
function Pe() {
|
|
61778
61787
|
for (var Te = String.fromCharCode, He = 0; He < 256; He++)
|
|
61779
61788
|
E[He] = Te(He);
|
|
61780
61789
|
}
|
|
61781
61790
|
this.encode = function(Te, He) {
|
|
61782
|
-
He && Se(He), y = new Array(), w = 0, v = 7, ue(65496), ne(), Ie(),
|
|
61783
|
-
var
|
|
61791
|
+
He && Se(He), y = new Array(), w = 0, v = 7, ue(65496), ne(), Ie(), Ce(Te.width, Te.height), we(), _e();
|
|
61792
|
+
var xe = 0, ae = 0, he = 0;
|
|
61784
61793
|
w = 0, v = 7, this.encode.displayName = "_encode_";
|
|
61785
|
-
for (var $ = Te.data, Ne = Te.width, Be = Te.height, Qe = Ne * 4, Me, ze = 0, ot, ut, _t, mt, Pt, gt, Tt,
|
|
61794
|
+
for (var $ = Te.data, Ne = Te.width, Be = Te.height, Qe = Ne * 4, Me, ze = 0, ot, ut, _t, mt, Pt, gt, Tt, xt; ze < Be; ) {
|
|
61786
61795
|
for (Me = 0; Me < Qe; ) {
|
|
61787
|
-
for (mt = Qe * ze + Me, gt = -1, Tt = 0,
|
|
61788
|
-
Tt =
|
|
61789
|
-
|
|
61796
|
+
for (mt = Qe * ze + Me, gt = -1, Tt = 0, xt = 0; xt < 64; xt++)
|
|
61797
|
+
Tt = xt >> 3, gt = (xt & 7) * 4, Pt = mt + Tt * Qe + gt, ze + Tt >= Be && (Pt -= Qe * (ze + 1 + Tt - Be)), Me + gt >= Qe && (Pt -= Me + gt - Qe + 4), ot = $[Pt++], ut = $[Pt++], _t = $[Pt++], C[xt] = (T[ot] + T[ut + 256 >> 0] + T[_t + 512 >> 0] >> 16) - 128, _[xt] = (T[ot + 768 >> 0] + T[ut + 1024 >> 0] + T[_t + 1280 >> 0] >> 16) - 128, D[xt] = (T[ot + 1280 >> 0] + T[ut + 1536 >> 0] + T[_t + 1792 >> 0] >> 16) - 128;
|
|
61798
|
+
xe = pe(C, n, xe, l, d), ae = pe(_, s, ae, c, u), he = pe(D, s, he, c, u), Me += 32;
|
|
61790
61799
|
}
|
|
61791
61800
|
ze += 8;
|
|
61792
61801
|
}
|
|
@@ -62071,7 +62080,7 @@ function WebPDecoder(a) {
|
|
|
62071
62080
|
N.Ra >>>= 8, N.Ra += N.oa[N.pa + N.bb] << ao - 8 >>> 0, ++N.bb, N.u -= 8;
|
|
62072
62081
|
pe(N) && (N.h = 1, N.u = 0);
|
|
62073
62082
|
}
|
|
62074
|
-
function
|
|
62083
|
+
function Ce(N, F) {
|
|
62075
62084
|
if (t(0 <= F), !N.h && F <= Hn) {
|
|
62076
62085
|
var k = _e(N) & To[F];
|
|
62077
62086
|
return N.u += F, ne(N), k;
|
|
@@ -62110,7 +62119,7 @@ function WebPDecoder(a) {
|
|
|
62110
62119
|
K += 8, B >>= 8;
|
|
62111
62120
|
return B = 7 ^ K + Ei[B], N.b -= B, N.Ca = (k << B) - 1, te;
|
|
62112
62121
|
}
|
|
62113
|
-
function
|
|
62122
|
+
function xe(N, F, k) {
|
|
62114
62123
|
N[F + 0] = k >> 24 & 255, N[F + 1] = k >> 16 & 255, N[F + 2] = k >> 8 & 255, N[F + 3] = k >> 0 & 255;
|
|
62115
62124
|
}
|
|
62116
62125
|
function ae(N, F) {
|
|
@@ -62169,7 +62178,7 @@ function WebPDecoder(a) {
|
|
|
62169
62178
|
function Tt(N, F, k) {
|
|
62170
62179
|
return Math.abs(F - k) - Math.abs(N - k);
|
|
62171
62180
|
}
|
|
62172
|
-
function
|
|
62181
|
+
function xt(N, F, k, B, K, te, re) {
|
|
62173
62182
|
for (B = te[re - 1], k = 0; k < K; ++k)
|
|
62174
62183
|
te[re + k] = B = ot(N[F + k], B);
|
|
62175
62184
|
}
|
|
@@ -62211,7 +62220,7 @@ function WebPDecoder(a) {
|
|
|
62211
62220
|
B[K++] = te >> 16 & 255, B[K++] = te >> 8 & 255, B[K++] = te >> 0 & 255;
|
|
62212
62221
|
}
|
|
62213
62222
|
}
|
|
62214
|
-
function
|
|
62223
|
+
function Cr(N, F, k, B, K) {
|
|
62215
62224
|
for (k = F + k; F < k; ) {
|
|
62216
62225
|
var te = N[F++];
|
|
62217
62226
|
B[K++] = te >> 16 & 255, B[K++] = te >> 8 & 255, B[K++] = te >> 0 & 255, B[K++] = te >> 24 & 255;
|
|
@@ -62237,14 +62246,14 @@ function WebPDecoder(a) {
|
|
|
62237
62246
|
}
|
|
62238
62247
|
function se(N, F, k, B, K, te) {
|
|
62239
62248
|
if (te == 0) for (k = F + k; F < k; )
|
|
62240
|
-
te = N[F++],
|
|
62249
|
+
te = N[F++], xe(B, (te[0] >> 24 | te[1] >> 8 & 65280 | te[2] << 8 & 16711680 | te[3] << 24) >>> 0), K += 32;
|
|
62241
62250
|
else o(B, K, N, F, k);
|
|
62242
62251
|
}
|
|
62243
62252
|
function De(N, F) {
|
|
62244
62253
|
U[F][0] = U[N + "0"], U[F][1] = U[N + "1"], U[F][2] = U[N + "2"], U[F][3] = U[N + "3"], U[F][4] = U[N + "4"], U[F][5] = U[N + "5"], U[F][6] = U[N + "6"], U[F][7] = U[N + "7"], U[F][8] = U[N + "8"], U[F][9] = U[N + "9"], U[F][10] = U[N + "10"], U[F][11] = U[N + "11"], U[F][12] = U[N + "12"], U[F][13] = U[N + "13"], U[F][14] = U[N + "0"], U[F][15] = U[N + "0"];
|
|
62245
62254
|
}
|
|
62246
62255
|
function Ue(N) {
|
|
62247
|
-
return N == Bn || N == zn || N ==
|
|
62256
|
+
return N == Bn || N == zn || N == xn || N == jn;
|
|
62248
62257
|
}
|
|
62249
62258
|
function Ge() {
|
|
62250
62259
|
this.eb = [], this.size = this.A = this.fb = 0;
|
|
@@ -62273,7 +62282,7 @@ function WebPDecoder(a) {
|
|
|
62273
62282
|
function kt(N, F, k) {
|
|
62274
62283
|
var B = N.F, K = [N.J];
|
|
62275
62284
|
if (B != null) {
|
|
62276
|
-
var te = N.U, re = F.ba.S, oe = re == wn || re ==
|
|
62285
|
+
var te = N.U, re = F.ba.S, oe = re == wn || re == xn;
|
|
62277
62286
|
F = F.ba.f.RGBA;
|
|
62278
62287
|
var de = [0], Ee = N.ka;
|
|
62279
62288
|
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));
|
|
@@ -62312,12 +62321,12 @@ function WebPDecoder(a) {
|
|
|
62312
62321
|
N.ma.memory = null;
|
|
62313
62322
|
}
|
|
62314
62323
|
function Wt(N, F, k, B) {
|
|
62315
|
-
return
|
|
62324
|
+
return Ce(N, 8) != 47 ? 0 : (F[0] = Ce(N, 14) + 1, k[0] = Ce(N, 14) + 1, B[0] = Ce(N, 1), Ce(N, 3) != 0 ? 0 : !N.h);
|
|
62316
62325
|
}
|
|
62317
62326
|
function hr(N, F) {
|
|
62318
62327
|
if (4 > N) return N + 1;
|
|
62319
62328
|
var k = N - 2 >> 1;
|
|
62320
|
-
return (2 + (N & 1) << k) +
|
|
62329
|
+
return (2 + (N & 1) << k) + Ce(F, k) + 1;
|
|
62321
62330
|
}
|
|
62322
62331
|
function jt(N, F) {
|
|
62323
62332
|
if (120 < F) return F - 120;
|
|
@@ -62349,7 +62358,7 @@ function WebPDecoder(a) {
|
|
|
62349
62358
|
break;
|
|
62350
62359
|
case 0:
|
|
62351
62360
|
var et = fe, Ye = Ee, Ke = Oe, tt = de, st = oe, nt = et.Ea;
|
|
62352
|
-
Ye == 0 && (
|
|
62361
|
+
Ye == 0 && (Ci(Ve, Xe, null, null, 1, tt, st), xt(Ve, Xe + 1, 0, 0, nt - 1, tt, st + 1), Xe += nt, st += nt, ++Ye);
|
|
62353
62362
|
for (var yt = 1 << et.b, vt = yt - 1, Nt = ze(nt, et.b), Et = et.K, et = et.w + (Ye >> et.b) * Nt; Ye < Ke; ) {
|
|
62354
62363
|
var cr = Et, $t = et, er = 1;
|
|
62355
62364
|
for (So(Ve, Xe, tt, st - nt, 1, tt, st); er < nt; ) {
|
|
@@ -62393,7 +62402,7 @@ function WebPDecoder(a) {
|
|
|
62393
62402
|
for (var Ve = k.f.RGBA, B = k.S, K = te.U, te = te.T, fe = Ve.eb, Ee = Ve.A, Oe = te, Ve = Ve.fb + N.Ma * Ve.A; 0 < Oe--; ) {
|
|
62394
62403
|
var Xe = re, Je = oe, et = K, Ye = fe, Ke = Ve;
|
|
62395
62404
|
switch (B) {
|
|
62396
|
-
case
|
|
62405
|
+
case xr:
|
|
62397
62406
|
lo(Xe, Je, et, Ye, Ke);
|
|
62398
62407
|
break;
|
|
62399
62408
|
case Eo:
|
|
@@ -62414,7 +62423,7 @@ function WebPDecoder(a) {
|
|
|
62414
62423
|
case wn:
|
|
62415
62424
|
se(Xe, Je, et, Ye, Ke, 0);
|
|
62416
62425
|
break;
|
|
62417
|
-
case
|
|
62426
|
+
case xn:
|
|
62418
62427
|
se(Xe, Je, et, Ye, Ke, 0), tn(Ye, Ke, 1, et, 1, 0);
|
|
62419
62428
|
break;
|
|
62420
62429
|
case On:
|
|
@@ -62521,22 +62530,22 @@ function WebPDecoder(a) {
|
|
|
62521
62530
|
}
|
|
62522
62531
|
function gi() {
|
|
62523
62532
|
var N = new ve();
|
|
62524
|
-
return N == null ? null : (N.a = 0, N.xb = vs, De("Predictor", "VP8LPredictors"), De("Predictor", "VP8LPredictors_C"), De("PredictorAdd", "VP8LPredictorsAdd"), De("PredictorAdd", "VP8LPredictorsAdd_C"), di = At, Do = Qt, lo = rr, Yi =
|
|
62533
|
+
return N == null ? null : (N.a = 0, N.xb = vs, De("Predictor", "VP8LPredictors"), De("Predictor", "VP8LPredictors_C"), De("PredictorAdd", "VP8LPredictorsAdd"), De("PredictorAdd", "VP8LPredictorsAdd_C"), di = At, Do = Qt, lo = rr, Yi = Cr, Zi = Rt, co = Gt, Hr = ee, U.VP8LMapColor32b = Wi, U.VP8LMapColor8b = Jo, N);
|
|
62525
62534
|
}
|
|
62526
62535
|
function ni(N, F, k, B, K) {
|
|
62527
62536
|
var te = 1, re = [N], oe = [F], de = B.m, fe = B.s, Ee = null, Oe = 0;
|
|
62528
62537
|
e: for (; ; ) {
|
|
62529
|
-
if (k) for (; te &&
|
|
62530
|
-
var Ve = re, Xe = oe, Je = B, et = 1, Ye = Je.m, Ke = Je.gc[Je.ab], tt =
|
|
62538
|
+
if (k) for (; te && Ce(de, 1); ) {
|
|
62539
|
+
var Ve = re, Xe = oe, Je = B, et = 1, Ye = Je.m, Ke = Je.gc[Je.ab], tt = Ce(Ye, 2);
|
|
62531
62540
|
if (Je.Oc & 1 << tt) te = 0;
|
|
62532
62541
|
else {
|
|
62533
62542
|
switch (Je.Oc |= 1 << tt, Ke.hc = tt, Ke.Ea = Ve[0], Ke.nc = Xe[0], Ke.K = [null], ++Je.ab, t(4 >= Je.ab), tt) {
|
|
62534
62543
|
case 0:
|
|
62535
62544
|
case 1:
|
|
62536
|
-
Ke.b =
|
|
62545
|
+
Ke.b = Ce(Ye, 3) + 2, et = ni(ze(Ke.Ea, Ke.b), ze(Ke.nc, Ke.b), 0, Je, Ke.K), Ke.K = Ke.K[0];
|
|
62537
62546
|
break;
|
|
62538
62547
|
case 3:
|
|
62539
|
-
var st =
|
|
62548
|
+
var st = Ce(Ye, 8) + 1, nt = 16 < st ? 0 : 4 < st ? 1 : 2 < st ? 2 : 3;
|
|
62540
62549
|
Ve[0] = ze(Ke.Ea, nt), Ke.b = nt;
|
|
62541
62550
|
var et = ni(st, 1, 0, Je, Ke.K), yt;
|
|
62542
62551
|
if (yt = et) {
|
|
@@ -62561,7 +62570,7 @@ function WebPDecoder(a) {
|
|
|
62561
62570
|
te = et;
|
|
62562
62571
|
}
|
|
62563
62572
|
}
|
|
62564
|
-
if (re = re[0], oe = oe[0], te &&
|
|
62573
|
+
if (re = re[0], oe = oe[0], te && Ce(de, 1) && (Oe = Ce(de, 4), te = 1 <= Oe && 11 >= Oe, !te)) {
|
|
62565
62574
|
B.a = 3;
|
|
62566
62575
|
break e;
|
|
62567
62576
|
}
|
|
@@ -62569,8 +62578,8 @@ function WebPDecoder(a) {
|
|
|
62569
62578
|
if (Ir = te) t: {
|
|
62570
62579
|
var zr = B, bi = re, Pr = oe, ti = Oe, Ao = k, jr, Dr, Qn = zr.m, nn = zr.s, Lo = [null], Mo, Wr = 1, Xi = 0, ta = Zs[ti];
|
|
62571
62580
|
r: for (; ; ) {
|
|
62572
|
-
if (Ao &&
|
|
62573
|
-
var Jn =
|
|
62581
|
+
if (Ao && Ce(Qn, 1)) {
|
|
62582
|
+
var Jn = Ce(Qn, 3) + 2, Es = ze(bi, Jn), Fs = ze(Pr, Jn), ra = Es * Fs;
|
|
62574
62583
|
if (!ni(Es, Fs, 0, zr, Lo)) break r;
|
|
62575
62584
|
for (Lo = Lo[0], nn.xc = Jn, jr = 0; jr < ra; ++jr) {
|
|
62576
62585
|
var sn = Lo[jr] >> 8 & 65535;
|
|
@@ -62596,25 +62605,25 @@ function WebPDecoder(a) {
|
|
|
62596
62605
|
for (Dr = 0; 5 > Dr; ++Dr) {
|
|
62597
62606
|
ri = $o[Dr], Le[Dr] = q, $e[Dr] = Mo, !Dr && 0 < ti && (ri += 1 << ti);
|
|
62598
62607
|
o: {
|
|
62599
|
-
var Ar, fi = ri, pi = zr, Kn = Z,
|
|
62608
|
+
var Ar, fi = ri, pi = zr, Kn = Z, xa = q, Ca = Mo, ia = 0, ko = pi.m, ba = Ce(ko, 1);
|
|
62600
62609
|
if (n(Kn, 0, 0, fi), ba) {
|
|
62601
|
-
var Pa =
|
|
62602
|
-
Kn[oa] = 1, Pa == 2 && (oa =
|
|
62610
|
+
var Pa = Ce(ko, 1) + 1, Na = Ce(ko, 1), oa = Ce(ko, Na == 0 ? 1 : 8);
|
|
62611
|
+
Kn[oa] = 1, Pa == 2 && (oa = Ce(ko, 8), Kn[oa] = 1);
|
|
62603
62612
|
var Is = 1;
|
|
62604
62613
|
} else {
|
|
62605
|
-
var da = s(19), ha =
|
|
62614
|
+
var da = s(19), ha = Ce(ko, 4) + 4;
|
|
62606
62615
|
if (19 < ha) {
|
|
62607
62616
|
pi.a = 3;
|
|
62608
62617
|
var As = 0;
|
|
62609
62618
|
break o;
|
|
62610
62619
|
}
|
|
62611
62620
|
for (Ar = 0; Ar < ha; ++Ar)
|
|
62612
|
-
da[Us[Ar]] =
|
|
62621
|
+
da[Us[Ar]] = Ce(ko, 3);
|
|
62613
62622
|
var Ls = void 0, $n = void 0, ua = pi, Ta = da, Ms = fi, fa = Kn, na = 0, Ho = ua.m, pa = 8, ga = l(128, J);
|
|
62614
62623
|
i: for (; ; ) {
|
|
62615
62624
|
if (!G(ga, 0, 7, Ta, 19)) break i;
|
|
62616
|
-
if (
|
|
62617
|
-
var Sa = 2 + 2 *
|
|
62625
|
+
if (Ce(Ho, 1)) {
|
|
62626
|
+
var Sa = 2 + 2 * Ce(Ho, 3), Ls = 2 + Ce(Ho, Sa);
|
|
62618
62627
|
if (Ls > Ms) break i;
|
|
62619
62628
|
} else Ls = Ms;
|
|
62620
62629
|
for ($n = 0; $n < Ms && Ls--; ) {
|
|
@@ -62624,7 +62633,7 @@ function WebPDecoder(a) {
|
|
|
62624
62633
|
var Sn = ma.value;
|
|
62625
62634
|
if (16 > Sn) fa[$n++] = Sn, Sn != 0 && (pa = Sn);
|
|
62626
62635
|
else {
|
|
62627
|
-
var Da = Sn == 16, ya = Sn - 16, Ea = js[ya], va =
|
|
62636
|
+
var Da = Sn == 16, ya = Sn - 16, Ea = js[ya], va = Ce(Ho, zs[ya]) + Ea;
|
|
62628
62637
|
if ($n + va > Ms) break i;
|
|
62629
62638
|
for (var Fa = Da ? pa : 0; 0 < va--; )
|
|
62630
62639
|
fa[$n++] = Fa;
|
|
@@ -62635,7 +62644,7 @@ function WebPDecoder(a) {
|
|
|
62635
62644
|
}
|
|
62636
62645
|
na || (ua.a = 3), Is = na;
|
|
62637
62646
|
}
|
|
62638
|
-
(Is = Is && !ko.h) && (ia = G(
|
|
62647
|
+
(Is = Is && !ko.h) && (ia = G(xa, Ca, 8, Kn, fi)), Is && ia != 0 ? As = ia : (pi.a = 3, As = 0);
|
|
62639
62648
|
}
|
|
62640
62649
|
if (As == 0) break r;
|
|
62641
62650
|
if (Lt && Ws[Dr] == 1 && (Lt = q[Mo].g == 0), wt += q[Mo].g, Mo += As, 3 >= Dr) {
|
|
@@ -62690,7 +62699,7 @@ function WebPDecoder(a) {
|
|
|
62690
62699
|
var k = N.C, B = F - k, K = N.V, te = N.Ba + N.c * k;
|
|
62691
62700
|
for (t(F <= N.l.o); 0 < B; ) {
|
|
62692
62701
|
var re = 16 < B ? 16 : B, oe = N.l.ma, de = N.l.width, fe = de * re, Ee = oe.ca, Oe = oe.tb + de * k, Ve = N.Ta, Xe = N.Ua;
|
|
62693
|
-
Mr(N, re, K, te),
|
|
62702
|
+
Mr(N, re, K, te), xs(Ve, Xe, Ee, Oe, fe), Yr(oe, k, k + re, Ee, Oe, de), B -= re, K += re * N.c, k += re;
|
|
62694
62703
|
}
|
|
62695
62704
|
t(k == F), N.C = N.Ma = F;
|
|
62696
62705
|
}
|
|
@@ -62823,7 +62832,7 @@ function WebPDecoder(a) {
|
|
|
62823
62832
|
for (K = 0; 8 > K; ++K)
|
|
62824
62833
|
for (B = 0; 3 > B; ++B)
|
|
62825
62834
|
for (oe = 0; 11 > oe; ++oe)
|
|
62826
|
-
de = He(te, bn[k][K][B][oe]) ? ge(te, 8) :
|
|
62835
|
+
de = He(te, bn[k][K][B][oe]) ? ge(te, 8) : Cn[k][K][B][oe], re.Wc[k][K].Yb[B][oe] = de;
|
|
62827
62836
|
for (K = 0; 17 > K; ++K)
|
|
62828
62837
|
re.Xc[k][K] = re.Wc[k][os[K]];
|
|
62829
62838
|
}
|
|
@@ -62853,7 +62862,7 @@ function WebPDecoder(a) {
|
|
|
62853
62862
|
}
|
|
62854
62863
|
return 16;
|
|
62855
62864
|
}
|
|
62856
|
-
function
|
|
62865
|
+
function Ct(N) {
|
|
62857
62866
|
var F = N.rb[N.sb - 1];
|
|
62858
62867
|
F.la = 0, F.Na = 0, n(N.zc, 0, 0, N.zc.length), N.ja = 0;
|
|
62859
62868
|
}
|
|
@@ -62914,7 +62923,7 @@ function WebPDecoder(a) {
|
|
|
62914
62923
|
}
|
|
62915
62924
|
if (0 < B.L && (B.wa[B.Y + B.ja] = B.gd[te.$b][te.Za], B.wa[B.Y + B.ja].La |= !fe), K.Ka) return rt(N, 7, "Premature end-of-file encountered.");
|
|
62916
62925
|
}
|
|
62917
|
-
if (
|
|
62926
|
+
if (Ct(N), k = N, B = F, K = 1, te = k.D, re = 0 < k.L && k.M >= k.zb && k.M <= k.Va, k.Aa == 0) e: {
|
|
62918
62927
|
if (te.M = k.M, te.uc = re, Xo(k, te), K = 1, tt = k.D, te = tt.Nb, Je = ht[k.L], re = Je * k.R, de = Je / 2 * k.B, Ye = 16 * te * k.R, vt = 8 * te * k.B, fe = k.sa, Ee = k.ta - re + Ye, Oe = k.qa, oe = k.ra - de + vt, Ve = k.Ha, Xe = k.Ia - de + vt, Nt = tt.M, Et = Nt == 0, et = Nt >= k.Va - 1, k.Aa == 2 && Xo(k, tt), tt.uc) for (yt = k, cr = yt.D.M, t(yt.D.uc), tt = yt.yb; tt < yt.Hb; ++tt) {
|
|
62919
62928
|
var $t = yt;
|
|
62920
62929
|
st = tt, nt = cr;
|
|
@@ -62982,7 +62991,7 @@ function WebPDecoder(a) {
|
|
|
62982
62991
|
}
|
|
62983
62992
|
N.Vb = re;
|
|
62984
62993
|
}
|
|
62985
|
-
re = N.Ec, oe = N.Fc, N.Ac = re, N.Bc = oe, oe += B, N.Gd = l(fe, ke), N.Hd = 0, N.rb = l(Ee + 1, go), N.sb = 1, N.wa = Oe ? l(Oe, Mi) : null, N.Y = 0, N.D.Nb = 0, N.D.wa = N.wa, N.D.Y = N.Y, 0 < N.Aa && (N.D.Y += de), t(!0), N.oc = re, N.pc = oe, oe += 832, N.ya = l(Ve, Ae), N.aa = 0, N.D.ya = N.ya, N.D.aa = N.aa, N.Aa == 2 && (N.D.aa += de), N.R = 16 * de, N.B = 8 * de, fe = ht[N.L], de = fe * N.R, fe = fe / 2 * N.B, N.sa = re, N.ta = oe + de, N.qa = N.sa, N.ra = N.ta + 16 * k * N.R + fe, N.Ha = N.qa, N.Ia = N.ra + 8 * k * N.B + fe, N.$c = 0, oe += K, N.mb = te ? re : null, N.nb = te ? oe : null, t(oe + te <= N.Fc + N.Vb),
|
|
62994
|
+
re = N.Ec, oe = N.Fc, N.Ac = re, N.Bc = oe, oe += B, N.Gd = l(fe, ke), N.Hd = 0, N.rb = l(Ee + 1, go), N.sb = 1, N.wa = Oe ? l(Oe, Mi) : null, N.Y = 0, N.D.Nb = 0, N.D.wa = N.wa, N.D.Y = N.Y, 0 < N.Aa && (N.D.Y += de), t(!0), N.oc = re, N.pc = oe, oe += 832, N.ya = l(Ve, Ae), N.aa = 0, N.D.ya = N.ya, N.D.aa = N.aa, N.Aa == 2 && (N.D.aa += de), N.R = 16 * de, N.B = 8 * de, fe = ht[N.L], de = fe * N.R, fe = fe / 2 * N.B, N.sa = re, N.ta = oe + de, N.qa = N.sa, N.ra = N.ta + 16 * k * N.R + fe, N.Ha = N.qa, N.Ia = N.ra + 8 * k * N.B + fe, N.$c = 0, oe += K, N.mb = te ? re : null, N.nb = te ? oe : null, t(oe + te <= N.Fc + N.Vb), Ct(N), n(N.Ac, N.Bc, 0, B), k = 1;
|
|
62986
62995
|
}
|
|
62987
62996
|
}
|
|
62988
62997
|
if (k) {
|
|
@@ -62997,7 +63006,7 @@ function WebPDecoder(a) {
|
|
|
62997
63006
|
qr[255 + k] = 0 > k ? 0 : 255 < k ? 255 : k;
|
|
62998
63007
|
hi = 1;
|
|
62999
63008
|
}
|
|
63000
|
-
ho = Ri, _n = $i, Zn = si, Io = wi, Gn = cn, ns = Pi, ss = Or, as = mn, ls = kn, cs =
|
|
63009
|
+
ho = Ri, _n = $i, Zn = si, Io = wi, Gn = cn, ns = Pi, ss = Or, as = mn, ls = kn, cs = xo, ds = io, hs = yn, us = Bi, fs = oo, ps = gn, gs = ro, ms = wo, ys = Qr, $r[0] = Yo, $r[1] = eo, $r[2] = In, $r[3] = An, $r[4] = fn, $r[5] = Zo, $r[6] = ki, $r[7] = to, $r[8] = pn, $r[9] = Ln, Ai[0] = hn, Ai[1] = Dn, Ai[2] = En, Ai[3] = Fn, Ai[4] = un, Ai[5] = mo, Ai[6] = Uo, Li[0] = Rn, Li[1] = dn, Li[2] = Hi, Li[3] = Mn, Li[4] = Ni, Li[5] = Oi, Li[6] = gr, k = 1;
|
|
63001
63010
|
} else k = 0;
|
|
63002
63011
|
}
|
|
63003
63012
|
k && (k = Ot(N, F)), F.bc != null && F.bc(F), k &= 1;
|
|
@@ -63115,7 +63124,7 @@ function WebPDecoder(a) {
|
|
|
63115
63124
|
}
|
|
63116
63125
|
function An(N, F) {
|
|
63117
63126
|
var k = N[F - 1], B = N[F - 1 + 32], K = N[F - 1 + 64], te = N[F - 1 + 96];
|
|
63118
|
-
|
|
63127
|
+
xe(N, F + 0, 16843009 * Ht(N[F - 1 - 32], k, B)), xe(N, F + 32, 16843009 * Ht(k, B, K)), xe(N, F + 64, 16843009 * Ht(B, K, te)), xe(N, F + 96, 16843009 * Ht(K, te, te));
|
|
63119
63128
|
}
|
|
63120
63129
|
function Yo(N, F) {
|
|
63121
63130
|
var k = 4, B;
|
|
@@ -63184,7 +63193,7 @@ function WebPDecoder(a) {
|
|
|
63184
63193
|
function gr(N, F) {
|
|
63185
63194
|
yo(128, N, F);
|
|
63186
63195
|
}
|
|
63187
|
-
function
|
|
63196
|
+
function xi(N, F, k) {
|
|
63188
63197
|
var B = N[F - k], K = N[F + 0], te = 3 * (K - B) + vr[1020 + N[F - 2 * k] - N[F + k]], re = Nr[112 + (te + 4 >> 3)];
|
|
63189
63198
|
N[F - k] = or[255 + B + Nr[112 + (te + 3 >> 3)]], N[F + 0] = or[255 + K - re];
|
|
63190
63199
|
}
|
|
@@ -63202,12 +63211,12 @@ function WebPDecoder(a) {
|
|
|
63202
63211
|
function gn(N, F, k, B) {
|
|
63203
63212
|
var K = 2 * B + 1;
|
|
63204
63213
|
for (B = 0; 16 > B; ++B)
|
|
63205
|
-
vo(N, F + B, k, K) &&
|
|
63214
|
+
vo(N, F + B, k, K) && xi(N, F + B, k);
|
|
63206
63215
|
}
|
|
63207
63216
|
function ro(N, F, k, B) {
|
|
63208
63217
|
var K = 2 * B + 1;
|
|
63209
63218
|
for (B = 0; 16 > B; ++B)
|
|
63210
|
-
vo(N, F + B * k, 1, K) &&
|
|
63219
|
+
vo(N, F + B * k, 1, K) && xi(N, F + B * k, 1);
|
|
63211
63220
|
}
|
|
63212
63221
|
function wo(N, F, k, B) {
|
|
63213
63222
|
var K;
|
|
@@ -63221,7 +63230,7 @@ function WebPDecoder(a) {
|
|
|
63221
63230
|
}
|
|
63222
63231
|
function Jr(N, F, k, B, K, te, re, oe) {
|
|
63223
63232
|
for (te = 2 * te + 1; 0 < K--; ) {
|
|
63224
|
-
if (Ti(N, F, k, te, re)) if (ai(N, F, k, oe))
|
|
63233
|
+
if (Ti(N, F, k, te, re)) if (ai(N, F, k, oe)) xi(N, F, k);
|
|
63225
63234
|
else {
|
|
63226
63235
|
var de = N, fe = F, Ee = k, Oe = de[fe - 2 * Ee], Ve = de[fe - Ee], Xe = de[fe + 0], Je = de[fe + Ee], et = de[fe + 2 * Ee], tt = vr[1020 + 3 * (Xe - Ve) + vr[1020 + Oe - Je]], Ye = 27 * tt + 63 >> 7, Ke = 18 * tt + 63 >> 7, tt = 9 * tt + 63 >> 7;
|
|
63227
63236
|
de[fe - 3 * Ee] = or[255 + de[fe - 3 * Ee] + tt], de[fe - 2 * Ee] = or[255 + Oe + Ke], de[fe - Ee] = or[255 + Ve + Ye], de[fe + 0] = or[255 + Xe - Ye], de[fe + Ee] = or[255 + Je - Ke], de[fe + 2 * Ee] = or[255 + et - tt];
|
|
@@ -63231,7 +63240,7 @@ function WebPDecoder(a) {
|
|
|
63231
63240
|
}
|
|
63232
63241
|
function Si(N, F, k, B, K, te, re, oe) {
|
|
63233
63242
|
for (te = 2 * te + 1; 0 < K--; ) {
|
|
63234
|
-
if (Ti(N, F, k, te, re)) if (ai(N, F, k, oe))
|
|
63243
|
+
if (Ti(N, F, k, te, re)) if (ai(N, F, k, oe)) xi(N, F, k);
|
|
63235
63244
|
else {
|
|
63236
63245
|
var de = N, fe = F, Ee = k, Oe = de[fe - Ee], Ve = de[fe + 0], Xe = de[fe + Ee], et = 3 * (Ve - Oe), Je = Nr[112 + (et + 4 >> 3)], et = Nr[112 + (et + 3 >> 3)], Ye = Je + 1 >> 1;
|
|
63237
63246
|
de[fe - 2 * Ee] = or[255 + de[fe - 2 * Ee] + Ye], de[fe - Ee] = or[255 + Oe + et], de[fe + 0] = or[255 + Ve - Je], de[fe + Ee] = or[255 + Xe - Ye];
|
|
@@ -63258,7 +63267,7 @@ function WebPDecoder(a) {
|
|
|
63258
63267
|
function kn(N, F, k, B, K, te, re, oe) {
|
|
63259
63268
|
Jr(N, F, K, 1, 8, te, re, oe), Jr(k, B, K, 1, 8, te, re, oe);
|
|
63260
63269
|
}
|
|
63261
|
-
function
|
|
63270
|
+
function xo(N, F, k, B, K, te, re, oe) {
|
|
63262
63271
|
Jr(N, F, 1, K, 8, te, re, oe), Jr(k, B, 1, K, 8, te, re, oe);
|
|
63263
63272
|
}
|
|
63264
63273
|
function Bi(N, F, k, B, K, te, re, oe) {
|
|
@@ -63270,7 +63279,7 @@ function WebPDecoder(a) {
|
|
|
63270
63279
|
function zi() {
|
|
63271
63280
|
this.ba = new Ut(), this.ec = [], this.cc = [], this.Mc = [], this.Dc = this.Nc = this.dc = this.fc = 0, this.Oa = new ir(), this.memory = 0, this.Ib = "OutputFunc", this.Jb = "OutputAlphaFunc", this.Nd = "OutputRowFunc";
|
|
63272
63281
|
}
|
|
63273
|
-
function
|
|
63282
|
+
function Co() {
|
|
63274
63283
|
this.data = [], this.offset = this.kd = this.ha = this.w = 0, this.na = [], this.xa = this.gb = this.Ja = this.Sa = this.P = 0;
|
|
63275
63284
|
}
|
|
63276
63285
|
function W() {
|
|
@@ -63425,7 +63434,7 @@ function WebPDecoder(a) {
|
|
|
63425
63434
|
k[B + te] = N[F + te] >> 8;
|
|
63426
63435
|
}
|
|
63427
63436
|
function ar() {
|
|
63428
|
-
tn = bt, Pn = It, ws = Bt,
|
|
63437
|
+
tn = bt, Pn = It, ws = Bt, xs = Kt;
|
|
63429
63438
|
}
|
|
63430
63439
|
function tr(N, F, k) {
|
|
63431
63440
|
U[N] = function(B, K, te, re, oe, de, fe, Ee, Oe, Ve, Xe, Je, et, Ye, Ke, tt, st) {
|
|
@@ -63440,7 +63449,7 @@ function WebPDecoder(a) {
|
|
|
63440
63449
|
};
|
|
63441
63450
|
}
|
|
63442
63451
|
function kr() {
|
|
63443
|
-
ei[
|
|
63452
|
+
ei[xr] = Vn, ei[Eo] = Cs, ei[ui] = Nn, ei[Ii] = bs, ei[wn] = _s, ei[On] = Ps, ei[ts] = Xs, ei[Bn] = Cs, ei[zn] = bs, ei[xn] = _s, ei[jn] = Ps;
|
|
63444
63453
|
}
|
|
63445
63454
|
function fr(N) {
|
|
63446
63455
|
return N & -16384 ? 0 > N ? 0 : 255 : N >> Ns;
|
|
@@ -63532,7 +63541,7 @@ function WebPDecoder(a) {
|
|
|
63532
63541
|
}
|
|
63533
63542
|
}
|
|
63534
63543
|
function qo(N, F, k, B, K, te, re, oe, de) {
|
|
63535
|
-
var fe = [0], Ee = [0], Oe = 0, Ve = de != null ? de.kd : 0, Xe = de ?? new
|
|
63544
|
+
var fe = [0], Ee = [0], Oe = 0, Ve = de != null ? de.kd : 0, Xe = de ?? new Co();
|
|
63536
63545
|
if (N == null || 12 > k) return 7;
|
|
63537
63546
|
Xe.data = N, Xe.w = F, Xe.ha = k, F = [F], k = [k], Xe.gb = [Xe.gb];
|
|
63538
63547
|
e: {
|
|
@@ -63698,7 +63707,7 @@ function WebPDecoder(a) {
|
|
|
63698
63707
|
B.width = N, B.height = F;
|
|
63699
63708
|
e: {
|
|
63700
63709
|
var de = B.width, fe = B.height;
|
|
63701
|
-
if (N = B.S, 0 >= de || 0 >= fe || !(N >=
|
|
63710
|
+
if (N = B.S, 0 >= de || 0 >= fe || !(N >= xr && 13 > N)) N = 2;
|
|
63702
63711
|
else {
|
|
63703
63712
|
if (0 >= B.Rd && B.sd == null) {
|
|
63704
63713
|
var re = te = K = F = 0, oe = de * qn[N], Ee = oe * fe;
|
|
@@ -63708,7 +63717,7 @@ function WebPDecoder(a) {
|
|
|
63708
63717
|
}
|
|
63709
63718
|
B.sd = fe, 11 > N ? (de = B.f.RGBA, de.eb = fe, de.fb = 0, de.A = oe, de.size = Ee) : (de = B.f.kb, de.y = fe, de.O = 0, de.fa = oe, de.Fd = Ee, de.f = fe, de.N = 0 + Ee, de.Ab = F, de.Cd = te, de.ea = fe, de.W = 0 + Ee + te, de.Db = F, de.Ed = te, N == 12 && (de.F = fe, de.J = 0 + Ee + 2 * te), de.Tc = re, de.lb = K);
|
|
63710
63719
|
}
|
|
63711
|
-
if (F = 1, K = B.S, te = B.width, re = B.height, K >=
|
|
63720
|
+
if (F = 1, K = B.S, te = B.width, re = B.height, K >= xr && 13 > K)
|
|
63712
63721
|
if (11 > K) N = B.f.RGBA, oe = Math.abs(N.A), F &= oe * (re - 1) + te <= N.size, F &= oe >= te * qn[K], F &= N.eb != null;
|
|
63713
63722
|
else {
|
|
63714
63723
|
N = B.f.kb, oe = (te + 1) / 2, Ee = (re + 1) / 2, de = Math.abs(N.fa);
|
|
@@ -63754,8 +63763,8 @@ function WebPDecoder(a) {
|
|
|
63754
63763
|
var B = F[k - 1];
|
|
63755
63764
|
return N = mt(N, F[k + 0]), (gt(N >> 24 & 255, B >> 24 & 255) << 24 | gt(N >> 16 & 255, B >> 16 & 255) << 16 | gt(N >> 8 & 255, B >> 8 & 255) << 8 | gt(N >> 0 & 255, B >> 0 & 255)) >>> 0;
|
|
63756
63765
|
};
|
|
63757
|
-
var
|
|
63758
|
-
U.PredictorAdd1 =
|
|
63766
|
+
var Ci = U.PredictorAdd0;
|
|
63767
|
+
U.PredictorAdd1 = xt, ut("Predictor2", "PredictorAdd2"), ut("Predictor3", "PredictorAdd3"), ut("Predictor4", "PredictorAdd4"), ut("Predictor5", "PredictorAdd5"), ut("Predictor6", "PredictorAdd6"), ut("Predictor7", "PredictorAdd7"), ut("Predictor8", "PredictorAdd8"), ut("Predictor9", "PredictorAdd9"), ut("Predictor10", "PredictorAdd10"), ut("Predictor11", "PredictorAdd11"), ut("Predictor12", "PredictorAdd12"), ut("Predictor13", "PredictorAdd13");
|
|
63759
63768
|
var So = U.PredictorAdd2;
|
|
63760
63769
|
Mt("ColorIndexInverseTransform", "MapARGB", "32b", function(N) {
|
|
63761
63770
|
return N >> 8 & 255;
|
|
@@ -63768,9 +63777,9 @@ function WebPDecoder(a) {
|
|
|
63768
63777
|
});
|
|
63769
63778
|
var ci = U.ColorIndexInverseTransform, Wi = U.MapARGB, Ui = U.VP8LColorIndexInverseTransformAlpha, Jo = U.MapAlpha, di, vn = U.VP8LPredictorsAdd = [];
|
|
63770
63779
|
vn.length = 16, (U.VP8LPredictors = []).length = 16, (U.VP8LPredictorsAdd_C = []).length = 16, (U.VP8LPredictors_C = []).length = 16;
|
|
63771
|
-
var Do, lo, Yi, Zi, co, Hr, Br = s(511), Fi = s(2041), Ko = s(225), qr = s(767), hi = 0, vr = Fi, Nr = Ko, or = qr, mr = Br, Cr = 0, Eo = 1, ui = 2, Ii = 3, wn = 4, On = 5, ts = 6, Bn = 7, zn = 8, Cn = 9, jn = 10, zs = [2, 3, 7], js = [3, 3, 11], $o = [280, 256, 256, 256, 40], Ws = [0, 1, 1, 1, 0], Us = [17, 18, 0, 1, 2, 3, 4, 5, 16, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], Ys = [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], Zs = [2954, 2956, 2958, 2962, 2970, 2986, 3018, 3082, 3212, 3468, 3980, 5004], Gs = 8, Wn = [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], Un = [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], en = null, rs = [[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]], is = [0, 1, 4, 8, 5, 2, 3, 6, 9, 12, 13, 10, 7, 11, 14, 15], Yn = [-0, 1, -1, 2, -2, 3, 4, 6, -3, 5, -4, -5, -6, 7, -7, 8, -8, -9], xn = [[[[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]]]], Fo = [[[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]]], bn = [[[[255, 255, 255, 255, 255, 255, 255, 255, 255, 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]]]], os = [0, 1, 2, 3, 6, 4, 5, 6, 6, 6, 6, 6, 6, 6, 6, 7, 0], ho, Ai = [], $r = [], Li = [], _n, ns, Zn, Io, Gn, ss, as, ls, cs, ds, hs, us, fs, ps, gs, ms, ys, Vs = 1, vs = 2, Gi = [], tn, Pn, ws, Cs, ei = [];
|
|
63780
|
+
var Do, lo, Yi, Zi, co, Hr, Br = s(511), Fi = s(2041), Ko = s(225), qr = s(767), hi = 0, vr = Fi, Nr = Ko, or = qr, mr = Br, xr = 0, Eo = 1, ui = 2, Ii = 3, wn = 4, On = 5, ts = 6, Bn = 7, zn = 8, xn = 9, jn = 10, zs = [2, 3, 7], js = [3, 3, 11], $o = [280, 256, 256, 256, 40], Ws = [0, 1, 1, 1, 0], Us = [17, 18, 0, 1, 2, 3, 4, 5, 16, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], Ys = [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], Zs = [2954, 2956, 2958, 2962, 2970, 2986, 3018, 3082, 3212, 3468, 3980, 5004], Gs = 8, Wn = [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], Un = [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], en = null, rs = [[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]], is = [0, 1, 4, 8, 5, 2, 3, 6, 9, 12, 13, 10, 7, 11, 14, 15], Yn = [-0, 1, -1, 2, -2, 3, 4, 6, -3, 5, -4, -5, -6, 7, -7, 8, -8, -9], Cn = [[[[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]]]], Fo = [[[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]]], bn = [[[[255, 255, 255, 255, 255, 255, 255, 255, 255, 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]]]], os = [0, 1, 2, 3, 6, 4, 5, 6, 6, 6, 6, 6, 6, 6, 6, 7, 0], ho, Ai = [], $r = [], Li = [], _n, ns, Zn, Io, Gn, ss, as, ls, cs, ds, hs, us, fs, ps, gs, ms, ys, Vs = 1, vs = 2, Gi = [], tn, Pn, ws, xs, ei = [];
|
|
63772
63781
|
tr("UpsampleRgbLinePair", bo, 3), tr("UpsampleBgrLinePair", _o, 3), tr("UpsampleRgbaLinePair", Vo, 4), tr("UpsampleBgraLinePair", No, 4), tr("UpsampleArgbLinePair", Po, 4), tr("UpsampleRgba4444LinePair", Go, 2), tr("UpsampleRgb565LinePair", lr, 2);
|
|
63773
|
-
var Vn = U.UpsampleRgbLinePair, Nn = U.UpsampleBgrLinePair,
|
|
63782
|
+
var Vn = U.UpsampleRgbLinePair, Nn = U.UpsampleBgrLinePair, Cs = U.UpsampleRgbaLinePair, bs = U.UpsampleBgraLinePair, _s = U.UpsampleArgbLinePair, Ps = U.UpsampleRgba4444LinePair, Xs = U.UpsampleRgb565LinePair, Tn = 16, rn = 1 << Tn - 1, on = -227, Xn = 482, Ns = 6, Ts = 0, qs = s(256), Qs = s(256), Vi = s(256), Ss = s(256), Js = s(Xn - on), Ks = s(Xn - on);
|
|
63774
63783
|
Kr("YuvToRgbRow", bo, 3), Kr("YuvToBgrRow", _o, 3), Kr("YuvToRgbaRow", Vo, 4), Kr("YuvToBgraRow", No, 4), Kr("YuvToArgbRow", Po, 4), Kr("YuvToRgba4444Row", Go, 2), Kr("YuvToRgb565Row", lr, 2);
|
|
63775
63784
|
var Ds = [0, 4, 8, 12, 128, 132, 136, 140, 256, 260, 264, 268, 384, 388, 392, 396], ht = [0, 2, 8], $s = [8, 7, 6, 4, 4, 2, 2, 2, 1, 1, 1, 1], ea = 1;
|
|
63776
63785
|
this.WebPDecodeRGBA = function(N, F, k, B, K) {
|
|
@@ -63782,7 +63791,7 @@ function WebPDecoder(a) {
|
|
|
63782
63791
|
if (Oe != 0 ? de = 0 : (de != null && (de[0] = Ee.width[0]), fe != null && (fe[0] = Ee.height[0]), de = 1), de) {
|
|
63783
63792
|
oe.width = oe.width[0], oe.height = oe.height[0], B != null && (B[0] = oe.width), K != null && (K[0] = oe.height);
|
|
63784
63793
|
e: {
|
|
63785
|
-
if (B = new Re(), K = new
|
|
63794
|
+
if (B = new Re(), K = new Co(), K.data = N, K.w = F, K.ha = k, K.kd = 1, F = [0], t(K != null), N = qo(K.data, K.w, K.ha, null, null, null, F, null, K), (N == 0 || N == 7) && F[0] && (N = 4), F = N, F == 0) {
|
|
63786
63795
|
if (t(re != null), B.data = K.data, B.w = K.w + K.offset, B.ha = K.ha - K.offset, B.put = dr, B.ac = wr, B.bc = Xt, B.ma = re, K.xa) {
|
|
63787
63796
|
if (N = gi(), N == null) {
|
|
63788
63797
|
re = 1;
|
|
@@ -64429,7 +64438,7 @@ WebPDecoder.prototype.getData = function() {
|
|
|
64429
64438
|
(function(a) {
|
|
64430
64439
|
function t() {
|
|
64431
64440
|
return function() {
|
|
64432
|
-
return globalObject.canvg ? Promise.resolve(globalObject.canvg) : import("./index.es-
|
|
64441
|
+
return globalObject.canvg ? Promise.resolve(globalObject.canvg) : import("./index.es-kOPPv-Gv.mjs");
|
|
64433
64442
|
}().catch(function(r) {
|
|
64434
64443
|
return Promise.reject(new Error("Could not load canvg: " + r));
|
|
64435
64444
|
}).then(function(r) {
|
|
@@ -64928,7 +64937,7 @@ end`, y;
|
|
|
64928
64937
|
}
|
|
64929
64938
|
return !1;
|
|
64930
64939
|
}, O = function(le, ye, ie, ge) {
|
|
64931
|
-
var ue = ye[ge], Q, ne,
|
|
64940
|
+
var ue = ye[ge], Q, ne, Ce, Ie;
|
|
64932
64941
|
switch (ue) {
|
|
64933
64942
|
case "L":
|
|
64934
64943
|
case "R":
|
|
@@ -64960,17 +64969,17 @@ end`, y;
|
|
|
64960
64969
|
ue = "N";
|
|
64961
64970
|
break;
|
|
64962
64971
|
}
|
|
64963
|
-
for (
|
|
64964
|
-
|
|
64965
|
-
|
|
64972
|
+
for (Ce = ge + 1, Ie = ye.length; Ce < Ie && ye[Ce] === "ET"; )
|
|
64973
|
+
Ce++;
|
|
64974
|
+
Ce < Ie && ye[Ce] === "EN" ? ue = "EN" : ue = "N";
|
|
64966
64975
|
break;
|
|
64967
64976
|
case "NSM":
|
|
64968
64977
|
if (_ && !D) {
|
|
64969
|
-
for (Ie = ye.length,
|
|
64970
|
-
|
|
64971
|
-
if (
|
|
64978
|
+
for (Ie = ye.length, Ce = ge + 1; Ce < Ie && ye[Ce] === "NSM"; )
|
|
64979
|
+
Ce++;
|
|
64980
|
+
if (Ce < Ie) {
|
|
64972
64981
|
var we = le[ge], _e = we >= 1425 && we <= 2303 || we === 64286;
|
|
64973
|
-
if (Q = ye[
|
|
64982
|
+
if (Q = ye[Ce], _e && (Q === "R" || Q === "AL")) {
|
|
64974
64983
|
ue = "R";
|
|
64975
64984
|
break;
|
|
64976
64985
|
}
|
|
@@ -65009,11 +65018,11 @@ end`, y;
|
|
|
65009
65018
|
hiLevel: M
|
|
65010
65019
|
}), ge.reverse(), ye && ye.reverse(), ge.join("");
|
|
65011
65020
|
}, z = function(le, ye, ie) {
|
|
65012
|
-
var ge, ue, Q, ne,
|
|
65021
|
+
var ge, ue, Q, ne, Ce, Ie, we = -1, _e = le.length, pe = 0, Pe = [], Se = M ? d : c, qe = [];
|
|
65013
65022
|
for (g = !1, y = !1, w = !1, Q = 0; Q < _e; Q++)
|
|
65014
65023
|
qe[Q] = A(le[Q]);
|
|
65015
65024
|
for (ne = 0; ne < _e; ne++) {
|
|
65016
|
-
if (Ie = pe, Pe[ne] = O(le, qe, Pe, ne), pe = Se[Ie][u[Pe[ne]]], ge = pe & 240, pe &= 15, ye[ne] =
|
|
65025
|
+
if (Ie = pe, Pe[ne] = O(le, qe, Pe, ne), pe = Se[Ie][u[Pe[ne]]], ge = pe & 240, pe &= 15, ye[ne] = Ce = Se[pe][5], ge > 0)
|
|
65017
65026
|
if (ge === 16) {
|
|
65018
65027
|
for (Q = we; Q < ne; Q++)
|
|
65019
65028
|
ye[Q] = 1;
|
|
@@ -65024,10 +65033,10 @@ end`, y;
|
|
|
65024
65033
|
we === -1 && (we = ne);
|
|
65025
65034
|
else if (we > -1) {
|
|
65026
65035
|
for (Q = we; Q < ne; Q++)
|
|
65027
|
-
ye[Q] =
|
|
65036
|
+
ye[Q] = Ce;
|
|
65028
65037
|
we = -1;
|
|
65029
65038
|
}
|
|
65030
|
-
qe[ne] === "B" && (ye[ne] = 0), ie.hiLevel |=
|
|
65039
|
+
qe[ne] === "B" && (ye[ne] = 0), ie.hiLevel |= Ce;
|
|
65031
65040
|
}
|
|
65032
65041
|
w && j(qe, ye, _e);
|
|
65033
65042
|
}, X = function(le, ye, ie, ge, ue) {
|
|
@@ -65036,13 +65045,13 @@ end`, y;
|
|
|
65036
65045
|
ye.reverse(), ie && ie.reverse();
|
|
65037
65046
|
return;
|
|
65038
65047
|
}
|
|
65039
|
-
for (var Q, ne,
|
|
65048
|
+
for (var Q, ne, Ce, Ie, we = ye.length, _e = 0; _e < we; ) {
|
|
65040
65049
|
if (ge[_e] >= le) {
|
|
65041
|
-
for (
|
|
65042
|
-
|
|
65043
|
-
for (Ie = _e, ne =
|
|
65050
|
+
for (Ce = _e + 1; Ce < we && ge[Ce] >= le; )
|
|
65051
|
+
Ce++;
|
|
65052
|
+
for (Ie = _e, ne = Ce - 1; Ie < ne; Ie++, ne--)
|
|
65044
65053
|
Q = ye[Ie], ye[Ie] = ye[ne], ye[ne] = Q, ie && (Q = ie[Ie], ie[Ie] = ie[ne], ie[ne] = Q);
|
|
65045
|
-
_e =
|
|
65054
|
+
_e = Ce;
|
|
65046
65055
|
}
|
|
65047
65056
|
_e++;
|
|
65048
65057
|
}
|
|
@@ -65298,7 +65307,7 @@ var HeadTable = function(a) {
|
|
|
65298
65307
|
t.pos = m;
|
|
65299
65308
|
}
|
|
65300
65309
|
return a.encode = function(t, r) {
|
|
65301
|
-
var o, n, s, l, c, d, u, f, p, m, g, y, w, v, C, _, D, E, T, I, M, R, A, H, O, j, U, z, X, Y, G, J, le, ye, ie, ge, ue, Q, ne,
|
|
65310
|
+
var o, n, s, l, c, d, u, f, p, m, g, y, w, v, C, _, D, E, T, I, M, R, A, H, O, j, U, z, X, Y, G, J, le, ye, ie, ge, ue, Q, ne, Ce, Ie, we, _e, pe, Pe, Se;
|
|
65302
65311
|
switch (z = new Data(), l = Object.keys(t).sort(function(qe, Te) {
|
|
65303
65312
|
return qe - Te;
|
|
65304
65313
|
}), r) {
|
|
@@ -65345,7 +65354,7 @@ var HeadTable = function(a) {
|
|
|
65345
65354
|
c = d[pe], z.writeUInt16(c);
|
|
65346
65355
|
for (Pe = 0, ne = I.length; Pe < ne; Pe++)
|
|
65347
65356
|
E = I[Pe], z.writeUInt16(E);
|
|
65348
|
-
for (Se = 0,
|
|
65357
|
+
for (Se = 0, Ce = g.length; Se < Ce; Se++)
|
|
65349
65358
|
w = g[Se], z.writeUInt16(w);
|
|
65350
65359
|
return {
|
|
65351
65360
|
charMap: o,
|
|
@@ -67248,8 +67257,8 @@ function requireLocalforage() {
|
|
|
67248
67257
|
return be.db = ft, X(be, Ae._defaultConfig.version) ? z(be) : ft;
|
|
67249
67258
|
}).then(function(ft) {
|
|
67250
67259
|
be.db = We.db = ft, Ae._dbInfo = be;
|
|
67251
|
-
for (var
|
|
67252
|
-
var Ot = dt[
|
|
67260
|
+
for (var Ct = 0; Ct < dt.length; Ct++) {
|
|
67261
|
+
var Ot = dt[Ct];
|
|
67253
67262
|
Ot !== Ae && (Ot._dbInfo.db = be.db, Ot._dbInfo.version = be.version);
|
|
67254
67263
|
}
|
|
67255
67264
|
});
|
|
@@ -67287,26 +67296,26 @@ function requireLocalforage() {
|
|
|
67287
67296
|
try {
|
|
67288
67297
|
var at = rt.objectStore(be._dbInfo.storeName), dt = at.openCursor(), ft = 1;
|
|
67289
67298
|
dt.onsuccess = function() {
|
|
67290
|
-
var
|
|
67291
|
-
if (
|
|
67292
|
-
var Ot =
|
|
67299
|
+
var Ct = dt.result;
|
|
67300
|
+
if (Ct) {
|
|
67301
|
+
var Ot = Ct.value;
|
|
67293
67302
|
J(Ot) && (Ot = G(Ot));
|
|
67294
|
-
var Yt = me(Ot,
|
|
67295
|
-
Yt !== void 0 ? We(Yt) :
|
|
67303
|
+
var Yt = me(Ot, Ct.key, ft++);
|
|
67304
|
+
Yt !== void 0 ? We(Yt) : Ct.continue();
|
|
67296
67305
|
} else
|
|
67297
67306
|
We();
|
|
67298
67307
|
}, dt.onerror = function() {
|
|
67299
67308
|
Re(dt.error);
|
|
67300
67309
|
};
|
|
67301
|
-
} catch (
|
|
67302
|
-
Re(
|
|
67310
|
+
} catch (Ct) {
|
|
67311
|
+
Re(Ct);
|
|
67303
67312
|
}
|
|
67304
67313
|
});
|
|
67305
67314
|
}).catch(Re);
|
|
67306
67315
|
});
|
|
67307
67316
|
return m(ke, Ae), ke;
|
|
67308
67317
|
}
|
|
67309
|
-
function
|
|
67318
|
+
function Ce(me, Ae, be) {
|
|
67310
67319
|
var ke = this;
|
|
67311
67320
|
me = y(me);
|
|
67312
67321
|
var We = new p(function(Re, it) {
|
|
@@ -67320,9 +67329,9 @@ function requireLocalforage() {
|
|
|
67320
67329
|
if (dt)
|
|
67321
67330
|
return it(dt);
|
|
67322
67331
|
try {
|
|
67323
|
-
var
|
|
67332
|
+
var Ct = ft.objectStore(ke._dbInfo.storeName);
|
|
67324
67333
|
at === null && (at = void 0);
|
|
67325
|
-
var Ot =
|
|
67334
|
+
var Ot = Ct.put(at, me);
|
|
67326
67335
|
ft.oncomplete = function() {
|
|
67327
67336
|
at === void 0 && (at = null), Re(at);
|
|
67328
67337
|
}, ft.onabort = ft.onerror = function() {
|
|
@@ -67419,17 +67428,17 @@ function requireLocalforage() {
|
|
|
67419
67428
|
try {
|
|
67420
67429
|
var at = rt.objectStore(be._dbInfo.storeName), dt = !1, ft = at.openKeyCursor();
|
|
67421
67430
|
ft.onsuccess = function() {
|
|
67422
|
-
var
|
|
67423
|
-
if (!
|
|
67431
|
+
var Ct = ft.result;
|
|
67432
|
+
if (!Ct) {
|
|
67424
67433
|
We(null);
|
|
67425
67434
|
return;
|
|
67426
67435
|
}
|
|
67427
|
-
me === 0 || dt ? We(
|
|
67436
|
+
me === 0 || dt ? We(Ct.key) : (dt = !0, Ct.advance(me));
|
|
67428
67437
|
}, ft.onerror = function() {
|
|
67429
67438
|
Re(ft.error);
|
|
67430
67439
|
};
|
|
67431
|
-
} catch (
|
|
67432
|
-
Re(
|
|
67440
|
+
} catch (Ct) {
|
|
67441
|
+
Re(Ct);
|
|
67433
67442
|
}
|
|
67434
67443
|
});
|
|
67435
67444
|
}).catch(Re);
|
|
@@ -67483,8 +67492,8 @@ function requireLocalforage() {
|
|
|
67483
67492
|
A(me);
|
|
67484
67493
|
var dt = _[me.name], ft = dt.forages;
|
|
67485
67494
|
rt.close();
|
|
67486
|
-
for (var
|
|
67487
|
-
var Ot = ft[
|
|
67495
|
+
for (var Ct = 0; Ct < ft.length; Ct++) {
|
|
67496
|
+
var Ot = ft[Ct];
|
|
67488
67497
|
Ot._dbInfo.db = null, Ot._dbInfo.version = at;
|
|
67489
67498
|
}
|
|
67490
67499
|
var Yt = new p(function(Ft, ur) {
|
|
@@ -67516,8 +67525,8 @@ function requireLocalforage() {
|
|
|
67516
67525
|
var at = _[me.name], dt = at.forages;
|
|
67517
67526
|
rt.close();
|
|
67518
67527
|
for (var ft = 0; ft < dt.length; ft++) {
|
|
67519
|
-
var
|
|
67520
|
-
|
|
67528
|
+
var Ct = dt[ft];
|
|
67529
|
+
Ct._dbInfo.db = null;
|
|
67521
67530
|
}
|
|
67522
67531
|
var Ot = new p(function(Yt, Ft) {
|
|
67523
67532
|
var ur = d.deleteDatabase(me.name);
|
|
@@ -67550,7 +67559,7 @@ function requireLocalforage() {
|
|
|
67550
67559
|
_support: u(),
|
|
67551
67560
|
iterate: ne,
|
|
67552
67561
|
getItem: Q,
|
|
67553
|
-
setItem:
|
|
67562
|
+
setItem: Ce,
|
|
67554
67563
|
removeItem: Ie,
|
|
67555
67564
|
clear: we,
|
|
67556
67565
|
length: _e,
|
|
@@ -67561,7 +67570,7 @@ function requireLocalforage() {
|
|
|
67561
67570
|
function Te() {
|
|
67562
67571
|
return typeof openDatabase == "function";
|
|
67563
67572
|
}
|
|
67564
|
-
var He = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",
|
|
67573
|
+
var He = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", xe = "~~local_forage_type~", ae = /^~~local_forage_type~([^~]+)~/, he = "__lfsc__:", $ = he.length, Ne = "arbf", Be = "blob", Qe = "si08", Me = "ui08", ze = "uic8", ot = "si16", ut = "si32", _t = "ur16", mt = "ui32", Pt = "fl32", gt = "fl64", Tt = $ + Ne.length, xt = Object.prototype.toString;
|
|
67565
67574
|
function At(me) {
|
|
67566
67575
|
var Ae = me.length * 0.75, be = me.length, ke, We = 0, Re, it, rt, at;
|
|
67567
67576
|
me[me.length - 1] === "=" && (Ae--, me[me.length - 2] === "=" && Ae--);
|
|
@@ -67578,13 +67587,13 @@ function requireLocalforage() {
|
|
|
67578
67587
|
}
|
|
67579
67588
|
function Qt(me, Ae) {
|
|
67580
67589
|
var be = "";
|
|
67581
|
-
if (me && (be =
|
|
67590
|
+
if (me && (be = xt.call(me)), me && (be === "[object ArrayBuffer]" || me.buffer && xt.call(me.buffer) === "[object ArrayBuffer]")) {
|
|
67582
67591
|
var ke, We = he;
|
|
67583
67592
|
me instanceof ArrayBuffer ? (ke = me, We += Ne) : (ke = me.buffer, be === "[object Int8Array]" ? We += Qe : be === "[object Uint8Array]" ? We += Me : be === "[object Uint8ClampedArray]" ? We += ze : be === "[object Int16Array]" ? We += ot : be === "[object Uint16Array]" ? We += _t : be === "[object Int32Array]" ? We += ut : be === "[object Uint32Array]" ? We += mt : be === "[object Float32Array]" ? We += Pt : be === "[object Float64Array]" ? We += gt : Ae(new Error("Failed to get type for BinaryArray"))), Ae(We + St(ke));
|
|
67584
67593
|
} else if (be === "[object Blob]") {
|
|
67585
67594
|
var Re = new FileReader();
|
|
67586
67595
|
Re.onload = function() {
|
|
67587
|
-
var it =
|
|
67596
|
+
var it = xe + me.type + "~" + St(this.result);
|
|
67588
67597
|
Ae(he + Be + it);
|
|
67589
67598
|
}, Re.readAsArrayBuffer(me);
|
|
67590
67599
|
} else
|
|
@@ -67636,7 +67645,7 @@ function requireLocalforage() {
|
|
|
67636
67645
|
stringToBuffer: At,
|
|
67637
67646
|
bufferToString: St
|
|
67638
67647
|
};
|
|
67639
|
-
function
|
|
67648
|
+
function Cr(me, Ae, be, ke) {
|
|
67640
67649
|
me.executeSql("CREATE TABLE IF NOT EXISTS " + Ae.storeName + " (id INTEGER PRIMARY KEY, key unique, value)", [], be, ke);
|
|
67641
67650
|
}
|
|
67642
67651
|
function Rt(me) {
|
|
@@ -67653,7 +67662,7 @@ function requireLocalforage() {
|
|
|
67653
67662
|
return it(rt);
|
|
67654
67663
|
}
|
|
67655
67664
|
be.db.transaction(function(rt) {
|
|
67656
|
-
|
|
67665
|
+
Cr(rt, be, function() {
|
|
67657
67666
|
Ae._dbInfo = be, Re();
|
|
67658
67667
|
}, function(at, dt) {
|
|
67659
67668
|
it(dt);
|
|
@@ -67665,7 +67674,7 @@ function requireLocalforage() {
|
|
|
67665
67674
|
function Gt(me, Ae, be, ke, We, Re) {
|
|
67666
67675
|
me.executeSql(be, ke, We, function(it, rt) {
|
|
67667
67676
|
rt.code === rt.SYNTAX_ERR ? it.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?", [Ae.storeName], function(at, dt) {
|
|
67668
|
-
dt.rows.length ? Re(at, rt) :
|
|
67677
|
+
dt.rows.length ? Re(at, rt) : Cr(at, Ae, function() {
|
|
67669
67678
|
at.executeSql(be, ke, We, Re);
|
|
67670
67679
|
}, Re);
|
|
67671
67680
|
}, Re) : Re(it, rt);
|
|
@@ -67695,7 +67704,7 @@ function requireLocalforage() {
|
|
|
67695
67704
|
var it = be._dbInfo;
|
|
67696
67705
|
it.db.transaction(function(rt) {
|
|
67697
67706
|
Gt(rt, it, "SELECT * FROM " + it.storeName, [], function(at, dt) {
|
|
67698
|
-
for (var ft = dt.rows,
|
|
67707
|
+
for (var ft = dt.rows, Ct = ft.length, Ot = 0; Ot < Ct; Ot++) {
|
|
67699
67708
|
var Yt = ft.item(Ot), Ft = Yt.value;
|
|
67700
67709
|
if (Ft && (Ft = it.serializer.deserialize(Ft)), Ft = me(Ft, Yt.key, Ot + 1), Ft !== void 0) {
|
|
67701
67710
|
We(Ft);
|
|
@@ -67718,8 +67727,8 @@ function requireLocalforage() {
|
|
|
67718
67727
|
We.ready().then(function() {
|
|
67719
67728
|
Ae === void 0 && (Ae = null);
|
|
67720
67729
|
var at = Ae, dt = We._dbInfo;
|
|
67721
|
-
dt.serializer.serialize(Ae, function(ft,
|
|
67722
|
-
|
|
67730
|
+
dt.serializer.serialize(Ae, function(ft, Ct) {
|
|
67731
|
+
Ct ? rt(Ct) : dt.db.transaction(function(Ot) {
|
|
67723
67732
|
Gt(Ot, dt, "INSERT OR REPLACE INTO " + dt.storeName + " (key, value) VALUES (?, ?)", [me, ft], function() {
|
|
67724
67733
|
it(at);
|
|
67725
67734
|
}, function(Yt, Ft) {
|
|
@@ -67864,8 +67873,8 @@ function requireLocalforage() {
|
|
|
67864
67873
|
});
|
|
67865
67874
|
});
|
|
67866
67875
|
}
|
|
67867
|
-
for (var ft = [],
|
|
67868
|
-
ft.push(dt(Re.storeNames[
|
|
67876
|
+
for (var ft = [], Ct = 0, Ot = Re.storeNames.length; Ct < Ot; Ct++)
|
|
67877
|
+
ft.push(dt(Re.storeNames[Ct]));
|
|
67869
67878
|
p.all(ft).then(function() {
|
|
67870
67879
|
it();
|
|
67871
67880
|
}).catch(function(Yt) {
|
|
@@ -67944,9 +67953,9 @@ function requireLocalforage() {
|
|
|
67944
67953
|
for (var We = be._dbInfo, Re = We.keyPrefix, it = Re.length, rt = localStorage.length, at = 1, dt = 0; dt < rt; dt++) {
|
|
67945
67954
|
var ft = localStorage.key(dt);
|
|
67946
67955
|
if (ft.indexOf(Re) === 0) {
|
|
67947
|
-
var
|
|
67948
|
-
if (
|
|
67949
|
-
return
|
|
67956
|
+
var Ct = localStorage.getItem(ft);
|
|
67957
|
+
if (Ct && (Ct = We.serializer.deserialize(Ct)), Ct = me(Ct, ft.substring(it), at++), Ct !== void 0)
|
|
67958
|
+
return Ct;
|
|
67950
67959
|
}
|
|
67951
67960
|
}
|
|
67952
67961
|
});
|
|
@@ -68003,8 +68012,8 @@ function requireLocalforage() {
|
|
|
68003
68012
|
else
|
|
68004
68013
|
try {
|
|
68005
68014
|
localStorage.setItem(at.keyPrefix + me, dt), it(Re);
|
|
68006
|
-
} catch (
|
|
68007
|
-
(
|
|
68015
|
+
} catch (Ct) {
|
|
68016
|
+
(Ct.name === "QuotaExceededError" || Ct.name === "NS_ERROR_DOM_QUOTA_REACHED") && rt(Ct), rt(Ct);
|
|
68008
68017
|
}
|
|
68009
68018
|
});
|
|
68010
68019
|
});
|
|
@@ -68111,8 +68120,8 @@ function requireLocalforage() {
|
|
|
68111
68120
|
rt(dt);
|
|
68112
68121
|
return;
|
|
68113
68122
|
}
|
|
68114
|
-
for (var ft = Qi.concat("_initStorage"),
|
|
68115
|
-
var Yt = ft[
|
|
68123
|
+
for (var ft = Qi.concat("_initStorage"), Ct = 0, Ot = ft.length; Ct < Ot; Ct++) {
|
|
68124
|
+
var Yt = ft[Ct], Ft = !gi(vi, Yt);
|
|
68116
68125
|
if ((Ft || be[Yt]) && typeof be[Yt] != "function") {
|
|
68117
68126
|
rt(dt);
|
|
68118
68127
|
return;
|
|
@@ -68159,15 +68168,15 @@ function requireLocalforage() {
|
|
|
68159
68168
|
function rt() {
|
|
68160
68169
|
Re._config.driver = Re.driver();
|
|
68161
68170
|
}
|
|
68162
|
-
function at(
|
|
68163
|
-
return Re._extend(
|
|
68171
|
+
function at(Ct) {
|
|
68172
|
+
return Re._extend(Ct), rt(), Re._ready = Re._initStorage(Re._config), Re._ready;
|
|
68164
68173
|
}
|
|
68165
|
-
function dt(
|
|
68174
|
+
function dt(Ct) {
|
|
68166
68175
|
return function() {
|
|
68167
68176
|
var Ot = 0;
|
|
68168
68177
|
function Yt() {
|
|
68169
|
-
for (; Ot <
|
|
68170
|
-
var Ft =
|
|
68178
|
+
for (; Ot < Ct.length; ) {
|
|
68179
|
+
var Ft = Ct[Ot];
|
|
68171
68180
|
return Ot++, Re._dbInfo = null, Re._ready = null, Re.getDriver(Ft).then(at).catch(Yt);
|
|
68172
68181
|
}
|
|
68173
68182
|
rt();
|
|
@@ -68181,14 +68190,14 @@ function requireLocalforage() {
|
|
|
68181
68190
|
return p.resolve();
|
|
68182
68191
|
}) : p.resolve();
|
|
68183
68192
|
return this._driverSet = ft.then(function() {
|
|
68184
|
-
var
|
|
68185
|
-
return Re._dbInfo = null, Re._ready = null, Re.getDriver(
|
|
68193
|
+
var Ct = it[0];
|
|
68194
|
+
return Re._dbInfo = null, Re._ready = null, Re.getDriver(Ct).then(function(Ot) {
|
|
68186
68195
|
Re._driver = Ot._driver, rt(), Re._wrapLibraryMethodsWithReady(), Re._initDriver = dt(it);
|
|
68187
68196
|
});
|
|
68188
68197
|
}).catch(function() {
|
|
68189
68198
|
rt();
|
|
68190
|
-
var
|
|
68191
|
-
return Re._driverSet = p.reject(
|
|
68199
|
+
var Ct = new Error("No available storage method found.");
|
|
68200
|
+
return Re._driverSet = p.reject(Ct), Re._driverSet;
|
|
68192
68201
|
}), g(this._driverSet, ke, We), this._driverSet;
|
|
68193
68202
|
}, me.prototype.supports = function(be) {
|
|
68194
68203
|
return !!fo[be];
|
|
@@ -72964,7 +72973,9 @@ const QrCode = __component__$16.exports, lBZ11 = "data:image/png;base64,iVBORw0K
|
|
|
72964
72973
|
style8: i18nHelper("04-001-009-EMR.3.3.337", null, "恒牙牙位图"),
|
|
72965
72974
|
style9: i18nHelper("04-001-009-EMR.3.3.336", null, "乳牙牙位图"),
|
|
72966
72975
|
style10: i18nHelper("04-001-009-EMR.3.3.335", null, "牙位图"),
|
|
72967
|
-
style11: i18nHelper("04-001-009-EMR.3.3.334", null, "Pop-Q评分")
|
|
72976
|
+
style11: i18nHelper("04-001-009-EMR.3.3.334", null, "Pop-Q评分"),
|
|
72977
|
+
style12: "血浆渗透压",
|
|
72978
|
+
style13: "肌酐清除率"
|
|
72968
72979
|
},
|
|
72969
72980
|
menstrualHistory: {
|
|
72970
72981
|
menseDays: "",
|
|
@@ -73055,7 +73066,188 @@ const QrCode = __component__$16.exports, lBZ11 = "data:image/png;base64,iVBORw0K
|
|
|
73055
73066
|
Bp: !1,
|
|
73056
73067
|
D: !1
|
|
73057
73068
|
},
|
|
73058
|
-
menoPauseAgeText: i18nHelper("04-001-009-EMR.3.3.551", null, "岁")
|
|
73069
|
+
menoPauseAgeText: i18nHelper("04-001-009-EMR.3.3.551", null, "岁"),
|
|
73070
|
+
style12Form: {
|
|
73071
|
+
rules: {
|
|
73072
|
+
na: [
|
|
73073
|
+
{
|
|
73074
|
+
required: !0,
|
|
73075
|
+
trigger: "blur",
|
|
73076
|
+
validator: (a, t, r) => {
|
|
73077
|
+
if (!t) {
|
|
73078
|
+
r(new Error("Na⁺浓度不能为空"));
|
|
73079
|
+
return;
|
|
73080
|
+
}
|
|
73081
|
+
if (!/^\d+(\.\d{0,2})?$/.test(t)) {
|
|
73082
|
+
r(new Error("请输入100-200之间的数字"));
|
|
73083
|
+
return;
|
|
73084
|
+
}
|
|
73085
|
+
if (t < 100 || t > 200) {
|
|
73086
|
+
r(new Error("请输入100-200之间的数字"));
|
|
73087
|
+
return;
|
|
73088
|
+
}
|
|
73089
|
+
r();
|
|
73090
|
+
}
|
|
73091
|
+
}
|
|
73092
|
+
],
|
|
73093
|
+
k: [
|
|
73094
|
+
{
|
|
73095
|
+
required: !0,
|
|
73096
|
+
trigger: "blur",
|
|
73097
|
+
validator: (a, t, r) => {
|
|
73098
|
+
if (!t) {
|
|
73099
|
+
r(new Error("k⁺浓度不能为空"));
|
|
73100
|
+
return;
|
|
73101
|
+
}
|
|
73102
|
+
if (!/^\d+(\.\d{0,2})?$/.test(t)) {
|
|
73103
|
+
r(new Error("请输入1-10之间的数字"));
|
|
73104
|
+
return;
|
|
73105
|
+
}
|
|
73106
|
+
if (t < 1 || t > 10) {
|
|
73107
|
+
r(new Error("请输入1-10之间的数字"));
|
|
73108
|
+
return;
|
|
73109
|
+
}
|
|
73110
|
+
r();
|
|
73111
|
+
}
|
|
73112
|
+
}
|
|
73113
|
+
],
|
|
73114
|
+
glucose: [
|
|
73115
|
+
{
|
|
73116
|
+
required: !0,
|
|
73117
|
+
trigger: "blur",
|
|
73118
|
+
validator: (a, t, r) => {
|
|
73119
|
+
if (!t) {
|
|
73120
|
+
r(new Error("血糖浓度不能为空"));
|
|
73121
|
+
return;
|
|
73122
|
+
}
|
|
73123
|
+
if (!/^\d+(\.\d{0,2})?$/.test(t)) {
|
|
73124
|
+
r(new Error("请输入0-50之间的数字"));
|
|
73125
|
+
return;
|
|
73126
|
+
}
|
|
73127
|
+
if (t < 0 || t > 50) {
|
|
73128
|
+
r(new Error("请输入0-50之间的数字"));
|
|
73129
|
+
return;
|
|
73130
|
+
}
|
|
73131
|
+
r();
|
|
73132
|
+
}
|
|
73133
|
+
}
|
|
73134
|
+
],
|
|
73135
|
+
bun: [
|
|
73136
|
+
{
|
|
73137
|
+
required: !0,
|
|
73138
|
+
trigger: "blur",
|
|
73139
|
+
validator: (a, t, r) => {
|
|
73140
|
+
if (!t) {
|
|
73141
|
+
r(new Error("BUN浓度不能为空"));
|
|
73142
|
+
return;
|
|
73143
|
+
}
|
|
73144
|
+
if (!/^\d+(\.\d{0,2})?$/.test(t)) {
|
|
73145
|
+
r(new Error("请输入0-100之间的数字"));
|
|
73146
|
+
return;
|
|
73147
|
+
}
|
|
73148
|
+
if (t < 0 || t > 100) {
|
|
73149
|
+
r(new Error("请输入0-100之间的数字"));
|
|
73150
|
+
return;
|
|
73151
|
+
}
|
|
73152
|
+
r();
|
|
73153
|
+
}
|
|
73154
|
+
}
|
|
73155
|
+
]
|
|
73156
|
+
}
|
|
73157
|
+
},
|
|
73158
|
+
style12: {
|
|
73159
|
+
na: "",
|
|
73160
|
+
k: "",
|
|
73161
|
+
glucose: "",
|
|
73162
|
+
bun: "",
|
|
73163
|
+
plasmaOsmolarity: "",
|
|
73164
|
+
effectiveOsmolarity: ""
|
|
73165
|
+
},
|
|
73166
|
+
style13Form: {
|
|
73167
|
+
rules: {
|
|
73168
|
+
age: [
|
|
73169
|
+
{
|
|
73170
|
+
required: !0,
|
|
73171
|
+
trigger: "blur",
|
|
73172
|
+
validator: (a, t, r) => {
|
|
73173
|
+
if (!t) {
|
|
73174
|
+
r(new Error("年龄不能为空"));
|
|
73175
|
+
return;
|
|
73176
|
+
}
|
|
73177
|
+
if (!/^\d{0,20}$/.test(t)) {
|
|
73178
|
+
r(new Error("请输入正确的年龄"));
|
|
73179
|
+
return;
|
|
73180
|
+
}
|
|
73181
|
+
if (t < 0) {
|
|
73182
|
+
r(new Error("请输入正确的年龄"));
|
|
73183
|
+
return;
|
|
73184
|
+
}
|
|
73185
|
+
r();
|
|
73186
|
+
}
|
|
73187
|
+
}
|
|
73188
|
+
],
|
|
73189
|
+
weight: [
|
|
73190
|
+
{
|
|
73191
|
+
required: !0,
|
|
73192
|
+
trigger: "blur",
|
|
73193
|
+
validator: (a, t, r) => {
|
|
73194
|
+
if (!t) {
|
|
73195
|
+
r(new Error("体重不能为空"));
|
|
73196
|
+
return;
|
|
73197
|
+
}
|
|
73198
|
+
if (!/^\d{0,20}$/.test(t)) {
|
|
73199
|
+
r(new Error("请输入正确的体重"));
|
|
73200
|
+
return;
|
|
73201
|
+
}
|
|
73202
|
+
r();
|
|
73203
|
+
}
|
|
73204
|
+
}
|
|
73205
|
+
],
|
|
73206
|
+
scr: [
|
|
73207
|
+
{
|
|
73208
|
+
required: !0,
|
|
73209
|
+
trigger: "blur",
|
|
73210
|
+
validator: (a, t, r) => {
|
|
73211
|
+
if (!t) {
|
|
73212
|
+
r(new Error("scr不能为空"));
|
|
73213
|
+
return;
|
|
73214
|
+
}
|
|
73215
|
+
if (!/^\d{0,20}$/.test(t)) {
|
|
73216
|
+
r(new Error("请输入正确的scr"));
|
|
73217
|
+
return;
|
|
73218
|
+
}
|
|
73219
|
+
r();
|
|
73220
|
+
}
|
|
73221
|
+
}
|
|
73222
|
+
],
|
|
73223
|
+
auc: [
|
|
73224
|
+
{
|
|
73225
|
+
required: !1,
|
|
73226
|
+
trigger: "blur",
|
|
73227
|
+
validator: (a, t, r) => {
|
|
73228
|
+
if (!t) {
|
|
73229
|
+
r();
|
|
73230
|
+
return;
|
|
73231
|
+
}
|
|
73232
|
+
if (!/^\d{0,20}$/.test(t)) {
|
|
73233
|
+
r(new Error("请输入正确的AUC"));
|
|
73234
|
+
return;
|
|
73235
|
+
}
|
|
73236
|
+
r();
|
|
73237
|
+
}
|
|
73238
|
+
}
|
|
73239
|
+
]
|
|
73240
|
+
}
|
|
73241
|
+
},
|
|
73242
|
+
style13: {
|
|
73243
|
+
sex: "1",
|
|
73244
|
+
age: "",
|
|
73245
|
+
weight: "",
|
|
73246
|
+
scr: "",
|
|
73247
|
+
auc: "",
|
|
73248
|
+
ccr: "",
|
|
73249
|
+
dose: ""
|
|
73250
|
+
}
|
|
73059
73251
|
};
|
|
73060
73252
|
},
|
|
73061
73253
|
inject: {
|
|
@@ -73080,6 +73272,20 @@ const QrCode = __component__$16.exports, lBZ11 = "data:image/png;base64,iVBORw0K
|
|
|
73080
73272
|
// }
|
|
73081
73273
|
// },
|
|
73082
73274
|
// },
|
|
73275
|
+
style13: {
|
|
73276
|
+
deep: !0,
|
|
73277
|
+
handler() {
|
|
73278
|
+
const a = this.style13;
|
|
73279
|
+
a.age && a.weight && a.scr && this.handleCompute(this.expressStyle);
|
|
73280
|
+
}
|
|
73281
|
+
},
|
|
73282
|
+
style12: {
|
|
73283
|
+
deep: !0,
|
|
73284
|
+
handler() {
|
|
73285
|
+
const a = this.style12;
|
|
73286
|
+
a.na && a.k && a.glucose && a.bun && this.handleCompute(this.expressStyle);
|
|
73287
|
+
}
|
|
73288
|
+
}
|
|
73083
73289
|
},
|
|
73084
73290
|
computed: {
|
|
73085
73291
|
controlType() {
|
|
@@ -73130,6 +73336,9 @@ const QrCode = __component__$16.exports, lBZ11 = "data:image/png;base64,iVBORw0K
|
|
|
73130
73336
|
const t = a;
|
|
73131
73337
|
[this.style89.topLeft, this.style89.topRight, this.style89.bottomLeft, this.style89.bottomRight] = [...t];
|
|
73132
73338
|
} else this.expressStyle == "style11" && (this.style11 = { ...a });
|
|
73339
|
+
} else if (this.expressStyle == "style13") {
|
|
73340
|
+
const a = this.vueController.getDocProperty();
|
|
73341
|
+
this.style13.sex = a.patientSex || "1";
|
|
73133
73342
|
}
|
|
73134
73343
|
},
|
|
73135
73344
|
methods: {
|
|
@@ -73233,6 +73442,26 @@ const QrCode = __component__$16.exports, lBZ11 = "data:image/png;base64,iVBORw0K
|
|
|
73233
73442
|
bottomRightClick(a) {
|
|
73234
73443
|
this.style89.bottomRight = [...this.handleStyle10ValueClick([...this.style89.bottomRight], a)];
|
|
73235
73444
|
},
|
|
73445
|
+
handleCompute(a, t) {
|
|
73446
|
+
a === "style12" ? this.$refs.style12Form.validate((r) => {
|
|
73447
|
+
if (r) {
|
|
73448
|
+
const o = this.style12;
|
|
73449
|
+
return o.plasmaOsmolarity = 2 * (Number(o.na) + Number(o.k)) + Number(o.glucose) + Number(o.bun), o.effectiveOsmolarity = 2 * Number(o.na) + Number(o.glucose), t == null || t(), !0;
|
|
73450
|
+
} else
|
|
73451
|
+
return !1;
|
|
73452
|
+
}) : a === "style13" && this.$refs.style13Form.validate((r) => {
|
|
73453
|
+
if (r) {
|
|
73454
|
+
const o = this.style13, n = parseFloat(o.age) || 0, s = parseFloat(o.weight) || 0, l = parseFloat(o.scr) || 0.1, c = o.sex === "2";
|
|
73455
|
+
let d = (140 - n) * s / (72 * l);
|
|
73456
|
+
if (c || (d *= 0.85), this.style13.ccr = d.toFixed(2), o.auc) {
|
|
73457
|
+
const f = (parseFloat(o.auc) || 5) * (d + 25);
|
|
73458
|
+
this.style13.dose = f.toFixed(2);
|
|
73459
|
+
} else
|
|
73460
|
+
this.style13.dose = "";
|
|
73461
|
+
t == null || t();
|
|
73462
|
+
}
|
|
73463
|
+
});
|
|
73464
|
+
},
|
|
73236
73465
|
/** 取消 */
|
|
73237
73466
|
cancel() {
|
|
73238
73467
|
this.animationClassNames = "control-modal-contents express-dialog animation-out", this.$emit("closed");
|
|
@@ -73265,8 +73494,17 @@ const QrCode = __component__$16.exports, lBZ11 = "data:image/png;base64,iVBORw0K
|
|
|
73265
73494
|
return;
|
|
73266
73495
|
}
|
|
73267
73496
|
this.insertPopQScore(this.controlStatus);
|
|
73268
|
-
}
|
|
73269
|
-
|
|
73497
|
+
} else this.expressStyle === "style12" ? this.handleCompute(this.expressStyle, () => {
|
|
73498
|
+
const a = `<span>
|
|
73499
|
+
<span>血浆渗透压:${this.style12.plasmaOsmolarity}mmol/L</span><br>
|
|
73500
|
+
<span>有效渗透压:${this.style12.effectiveOsmolarity}mmol/L</span>
|
|
73501
|
+
</span>`;
|
|
73502
|
+
this.vueController.insertHtmlText(a), this.cancel();
|
|
73503
|
+
}) : this.expressStyle === "style13" && this.handleCompute(this.expressStyle, () => {
|
|
73504
|
+
let a = `<span><span>肌酐清除率:${this.style13.ccr}mL/min</span>`;
|
|
73505
|
+
this.style13.dose ? a += `<br><span>卡铂剂量:${this.style13.dose}mg</span></span>` : a += "</span>", this.vueController.insertHtmlText(a), this.cancel();
|
|
73506
|
+
});
|
|
73507
|
+
["style12", "style13"].includes(this.expressStyle) || this.cancel();
|
|
73270
73508
|
},
|
|
73271
73509
|
/**
|
|
73272
73510
|
* 经期史
|
|
@@ -73480,7 +73718,33 @@ var _sfc_render$15 = function a() {
|
|
|
73480
73718
|
} }, model: { value: t.style11[n], callback: function(s) {
|
|
73481
73719
|
t.$set(t.style11, n, s);
|
|
73482
73720
|
}, expression: "style11[key]" } })], 1);
|
|
73483
|
-
}), 0)] : t.
|
|
73721
|
+
}), 0)] : t.expressStyle === "style12" ? [r("div", { staticClass: "style12" }, [t._m(3), r("a-form-model", t._b({ ref: "style12Form", attrs: { layout: "inline", rules: t.style12Form.rules, model: t.style12 } }, "a-form-model", {
|
|
73722
|
+
// labelCol: { span: 10 },
|
|
73723
|
+
// wrapperCol: { span: 14 },
|
|
73724
|
+
labelAlign: "left"
|
|
73725
|
+
}, !1), [r("a-row", { attrs: { gutter: 16 } }, [r("a-col", { attrs: { span: 12 } }, [r("a-form-model-item", { attrs: { label: "血钠 (Na⁺)", prop: "na" } }, [r("a-input", { staticStyle: { width: "100%" }, attrs: { placeholder: "Na⁺浓度", suffix: "mmol/L" }, model: { value: t.style12.na, callback: function(o) {
|
|
73726
|
+
t.$set(t.style12, "na", o);
|
|
73727
|
+
}, expression: "style12.na" } })], 1)], 1), r("a-col", { attrs: { span: 12 } }, [r("a-form-model-item", { attrs: { label: "血钾 (K⁺)", prop: "k" } }, [r("a-input", { staticStyle: { width: "100%" }, attrs: { placeholder: "K⁺浓度", suffix: "mmol/L" }, model: { value: t.style12.k, callback: function(o) {
|
|
73728
|
+
t.$set(t.style12, "k", o);
|
|
73729
|
+
}, expression: "style12.k" } })], 1)], 1)], 1), r("a-row", { attrs: { gutter: 16 } }, [r("a-col", { attrs: { span: 12 } }, [r("a-form-model-item", { attrs: { label: "血糖", prop: "glucose" } }, [r("a-input", { staticStyle: { width: "100%" }, attrs: { placeholder: "血糖浓度", suffix: "mmol/L" }, model: { value: t.style12.glucose, callback: function(o) {
|
|
73730
|
+
t.$set(t.style12, "glucose", o);
|
|
73731
|
+
}, expression: "style12.glucose" } })], 1)], 1), r("a-col", { attrs: { span: 12 } }, [r("a-form-model-item", { attrs: { label: "尿素氮 (BUN)", prop: "bun" } }, [r("a-input", { staticStyle: { width: "100%" }, attrs: { placeholder: "BUN浓度", suffix: "mmol/L" }, model: { value: t.style12.bun, callback: function(o) {
|
|
73732
|
+
t.$set(t.style12, "bun", o);
|
|
73733
|
+
}, expression: "style12.bun" } })], 1)], 1)], 1)], 1), r("div", { staticClass: "style12-card", staticStyle: { "margin-top": "6px" } }, [t._m(4), t.style12.plasmaOsmolarity ? r("div", { staticClass: "style12-card-content" }, [r("p", [t._v("血浆渗透压 = " + t._s(t.style12.plasmaOsmolarity) + " mmol/L")]), r("p", [t._v("有效血浆渗透压 = " + t._s(t.style12.effectiveOsmolarity) + " mmol/L")])]) : t._e()])], 1)] : t.expressStyle === "style13" ? [r("div", { staticClass: "style12" }, [t._m(5), t._m(6), r("a-form-model", t._b({ ref: "style13Form", attrs: { layout: "inline", rules: t.style13Form.rules, model: t.style13 } }, "a-form-model", {
|
|
73734
|
+
// labelCol: { span: 10 },
|
|
73735
|
+
// wrapperCol: { span: 14 },
|
|
73736
|
+
labelAlign: "left"
|
|
73737
|
+
}, !1), [r("a-row", [r("a-col", [r("a-form-model-item", { attrs: { label: "性别", prop: "sex" } }, [r("a-radio-group", { model: { value: t.style13.sex, callback: function(o) {
|
|
73738
|
+
t.$set(t.style13, "sex", o);
|
|
73739
|
+
}, expression: "style13.sex" } }, [r("a-radio", { attrs: { value: "1" } }, [t._v("男")]), r("a-radio", { attrs: { value: "2" } }, [t._v("女")])], 1)], 1)], 1)], 1), r("a-row", { attrs: { gutter: 16 } }, [r("a-col", { attrs: { span: 12 } }, [r("a-form-model-item", { attrs: { label: "年龄", prop: "age" } }, [r("a-input", { staticStyle: { width: "100%" }, attrs: { placeholder: "年龄", suffix: i18nHelper("04-001-009-EMR.3.3.551", null, "岁") }, model: { value: t.style13.age, callback: function(o) {
|
|
73740
|
+
t.$set(t.style13, "age", o);
|
|
73741
|
+
}, expression: "style13.age" } })], 1)], 1), r("a-col", { attrs: { span: 12 } }, [r("a-form-model-item", { attrs: { label: i18nHelper("04-001-009-EMR.3.3.292", null, "体重"), prop: "weight" } }, [r("a-input", { staticStyle: { width: "100%" }, attrs: { placeholder: i18nHelper("04-001-009-EMR.3.3.292", null, "体重"), suffix: "kg" }, model: { value: t.style13.weight, callback: function(o) {
|
|
73742
|
+
t.$set(t.style13, "weight", o);
|
|
73743
|
+
}, expression: "style13.weight" } })], 1)], 1)], 1), r("a-row", { attrs: { gutter: 16 } }, [r("a-col", { attrs: { span: 12 } }, [r("a-form-model-item", { attrs: { label: "血清肌酐(scr)", prop: "scr" } }, [r("a-input", { staticStyle: { width: "100%" }, attrs: { placeholder: "血清肌酐", suffix: "mg/dL" }, model: { value: t.style13.scr, callback: function(o) {
|
|
73744
|
+
t.$set(t.style13, "scr", o);
|
|
73745
|
+
}, expression: "style13.scr" } })], 1)], 1), r("a-col", { attrs: { span: 12 } }, [r("a-form-model-item", { attrs: { label: "AUC(可选)", prop: "auc" } }, [r("a-input", { staticStyle: { width: "100%" }, attrs: { placeholder: "AUC", suffix: "mg/L" }, model: { value: t.style13.auc, callback: function(o) {
|
|
73746
|
+
t.$set(t.style13, "auc", o);
|
|
73747
|
+
}, expression: "style13.auc" } })], 1)], 1)], 1)], 1), r("div", { staticClass: "style12-card", staticStyle: { "margin-top": "6px" } }, [t._m(7), r("div", { staticClass: "style12-card-content" }, [t.style13.ccr ? r("p", [t._v("CCR(肌酐清除率) = " + t._s(t.style13.ccr) + " mL/min")]) : t._e(), t.style13.dose ? r("p", [t._v("Carboplatin(卡铂剂量) = " + t._s(t.style13.dose) + " mg")]) : t._e()])])], 1)] : t._e()], 2), r("footer", { staticClass: "dialog-footer" }, [r("a-button", { staticStyle: { margin: "0 20px 0 0" }, attrs: { type: "primary" }, on: { click: t.sure } }, [t._v(i18nHelper("04-001-009-EMR.3.3.347", null, "确定"))]), t.expressStyle === "style8" || t.expressStyle === "style9" || t.expressStyle === "style10" ? r("a-button", { staticStyle: { margin: "0 20px 0 0" }, on: { click: t.reset } }, [t._v(i18nHelper("04-001-009-EMR.3.3.203", null, "重置"))]) : t._e(), t.expressStyle === "style8" || t.expressStyle === "style9" ? r("a-button", { staticStyle: { margin: "0 20px 0 0" }, on: { click: t.reverse } }, [t._v(i18nHelper("04-001-009-EMR.3.3.202", null, "反选"))]) : t._e(), t.expressStyle === "style8" || t.expressStyle === "style9" || t.expressStyle === "style10" ? r("a-button", { staticStyle: { margin: "0 20px 0 0" }, on: { click: t.all } }, [t._v(i18nHelper("04-001-009-EMR.3.3.201", null, "全选"))]) : t._e(), r("a-button", { on: { click: t.cancel } }, [t._v(i18nHelper("04-001-009-EMR.3.3.346", null, "取消"))])], 1)]);
|
|
73484
73748
|
}, _sfc_staticRenderFns$15 = [function() {
|
|
73485
73749
|
var a = this, t = a._self._c;
|
|
73486
73750
|
return a._self._setupProxy, t("ul", { staticClass: "titles" }, [t("li", [a._v(i18nHelper("04-001-009-EMR.3.3.215", null, "第三磨牙"))]), t("li", [a._v(i18nHelper("04-001-009-EMR.3.3.214", null, "第二磨牙"))]), t("li", [a._v(i18nHelper("04-001-009-EMR.3.3.213", null, "第一磨牙"))]), t("li", [a._v(i18nHelper("04-001-009-EMR.3.3.212", null, "第二前磨牙"))]), t("li", [a._v(i18nHelper("04-001-009-EMR.3.3.211", null, "第一前磨牙"))]), t("li", [a._v(i18nHelper("04-001-009-EMR.3.3.210", null, "尖牙"))]), t("li", [a._v(i18nHelper("04-001-009-EMR.3.3.209", null, "侧切牙"))]), t("li", [a._v(i18nHelper("04-001-009-EMR.3.3.208", null, "中切牙"))]), t("li", [a._v(i18nHelper("04-001-009-EMR.3.3.208", null, "中切牙"))]), t("li", [a._v(i18nHelper("04-001-009-EMR.3.3.209", null, "侧切牙"))]), t("li", [a._v(i18nHelper("04-001-009-EMR.3.3.210", null, "尖牙"))]), t("li", [a._v(i18nHelper("04-001-009-EMR.3.3.211", null, "第一前磨牙"))]), t("li", [a._v(i18nHelper("04-001-009-EMR.3.3.212", null, "第二前磨牙"))]), t("li", [a._v(i18nHelper("04-001-009-EMR.3.3.213", null, "第一磨牙"))]), t("li", [a._v(i18nHelper("04-001-009-EMR.3.3.214", null, "第二磨牙"))]), t("li", [a._v(i18nHelper("04-001-009-EMR.3.3.215", null, "第三磨牙"))])]);
|
|
@@ -73490,6 +73754,21 @@ var _sfc_render$15 = function a() {
|
|
|
73490
73754
|
}, function() {
|
|
73491
73755
|
var a = this, t = a._self._c;
|
|
73492
73756
|
return a._self._setupProxy, t("div", { staticStyle: { position: "relative", padding: "18px 0px 13px 0" } }, [t("p", { staticStyle: { width: "100%", height: "1px", background: "#ccc" } }), t("span", { staticStyle: { position: "absolute", left: "187px", top: "5px", "font-size": "14px" } }, [a._v(i18nHelper("04-001-009-EMR.3.3.206", null, "右"))]), t("span", { staticStyle: { position: "absolute", right: "187px", top: "5px", "font-size": "14px" } }, [a._v(i18nHelper("04-001-009-EMR.3.3.207", null, "左"))]), t("span", { staticStyle: { position: "absolute", right: "-2px", top: "-74px", "font-size": "14px" } }, [a._v("19")]), t("span", { staticStyle: { position: "absolute", right: "-2px", top: "-27px", "font-size": "14px" } }, [a._v("29")]), t("span", { staticStyle: { position: "absolute", right: "-2px", top: "39px", "font-size": "14px" } }, [a._v("39")]), t("span", { staticStyle: { position: "absolute", right: "-2px", top: "83px", "font-size": "14px" } }, [a._v("49")])]);
|
|
73757
|
+
}, function() {
|
|
73758
|
+
var a = this, t = a._self._c;
|
|
73759
|
+
return a._self._setupProxy, t("div", { staticClass: "style12-card" }, [t("div", { staticClass: "style12-card-title" }, [a._v("计算公式说明")]), t("div", { staticClass: "style12-card-content" }, [t("p", [a._v("血浆渗透压 = 2 × (Na⁺ + K⁺) + 血糖 + 尿素氮 (单位: mmol/L)")]), t("p", [a._v("有效血浆渗透压 = 2 × Na⁺ + 血糖 (单位: mmol/L)")])])]);
|
|
73760
|
+
}, function() {
|
|
73761
|
+
var a = this, t = a._self._c;
|
|
73762
|
+
return a._self._setupProxy, t("div", { staticClass: "style12-card-title" }, [t("span", [a._v("计算结果")])]);
|
|
73763
|
+
}, function() {
|
|
73764
|
+
var a = this, t = a._self._c;
|
|
73765
|
+
return a._self._setupProxy, t("div", { staticClass: "style12-card" }, [t("div", { staticClass: "style12-card-title" }, [a._v("肌酐清除率(Cockcroft-Gault)计算公式说明")]), t("div", { staticClass: "style12-card-content" }, [t("p", [a._v("男性: CCR(mL/min) = [(140 - 年龄) × 体重(kg)] / [72 × 血清肌酐(mg/dL)]")]), t("p", [a._v("女性: CCR(mL/min) = 0.85 × [(140 - 年龄) × 体重(kg)] / [72 × 血清肌酐(mg/dL)]")]), t("p", [a._v("注: 1 mg/dL = 88.4 μmol/L")])])]);
|
|
73766
|
+
}, function() {
|
|
73767
|
+
var a = this, t = a._self._c;
|
|
73768
|
+
return a._self._setupProxy, t("div", { staticClass: "style12-card", staticStyle: { "margin-top": "8px" } }, [t("div", { staticClass: "style12-card-title" }, [a._v("卡铂剂量(Carboplatin)计算公式(基于AUC)")]), t("div", { staticClass: "style12-card-content" }, [t("p", [a._v("卡铂剂量(mg)= AUC × [CCR(mL/min) + 25]")]), t("p", [a._v("注:AUC为药时曲线下面积,临床常用取值为5-7,需根据肿瘤类型及治疗方案确定")])])]);
|
|
73769
|
+
}, function() {
|
|
73770
|
+
var a = this, t = a._self._c;
|
|
73771
|
+
return a._self._setupProxy, t("div", { staticClass: "style12-card-title" }, [t("span", [a._v("计算结果")])]);
|
|
73493
73772
|
}], __component__$15 = /* @__PURE__ */ normalizeComponent$1(
|
|
73494
73773
|
_sfc_main$15,
|
|
73495
73774
|
_sfc_render$15,
|
|
@@ -78423,7 +78702,7 @@ function requireVueColor_min() {
|
|
|
78423
78702
|
return G(ae) / 255;
|
|
78424
78703
|
}
|
|
78425
78704
|
function Q(ae) {
|
|
78426
|
-
return !!
|
|
78705
|
+
return !!xe.CSS_UNIT.exec(ae);
|
|
78427
78706
|
}
|
|
78428
78707
|
function ne(ae) {
|
|
78429
78708
|
ae = ae.replace(Ie, "").replace(we, "").toLowerCase();
|
|
@@ -78431,9 +78710,9 @@ function requireVueColor_min() {
|
|
|
78431
78710
|
if (Te[ae]) ae = Te[ae], he = !0;
|
|
78432
78711
|
else if (ae == "transparent") return { r: 0, g: 0, b: 0, a: 0, format: "name" };
|
|
78433
78712
|
var $;
|
|
78434
|
-
return ($ =
|
|
78713
|
+
return ($ = xe.rgb.exec(ae)) ? { r: $[1], g: $[2], b: $[3] } : ($ = xe.rgba.exec(ae)) ? { r: $[1], g: $[2], b: $[3], a: $[4] } : ($ = xe.hsl.exec(ae)) ? { h: $[1], s: $[2], l: $[3] } : ($ = xe.hsla.exec(ae)) ? { h: $[1], s: $[2], l: $[3], a: $[4] } : ($ = xe.hsv.exec(ae)) ? { h: $[1], s: $[2], v: $[3] } : ($ = xe.hsva.exec(ae)) ? { h: $[1], s: $[2], v: $[3], a: $[4] } : ($ = xe.hex8.exec(ae)) ? { r: G($[1]), g: G($[2]), b: G($[3]), a: ue($[4]), format: he ? "name" : "hex8" } : ($ = xe.hex6.exec(ae)) ? { r: G($[1]), g: G($[2]), b: G($[3]), format: he ? "name" : "hex" } : ($ = xe.hex4.exec(ae)) ? { r: G($[1] + "" + $[1]), g: G($[2] + "" + $[2]), b: G($[3] + "" + $[3]), a: ue($[4] + "" + $[4]), format: he ? "name" : "hex8" } : !!($ = xe.hex3.exec(ae)) && { r: G($[1] + "" + $[1]), g: G($[2] + "" + $[2]), b: G($[3] + "" + $[3]), format: he ? "name" : "hex" };
|
|
78435
78714
|
}
|
|
78436
|
-
function
|
|
78715
|
+
function Ce(ae) {
|
|
78437
78716
|
var he, $;
|
|
78438
78717
|
return ae = ae || { level: "AA", size: "small" }, he = (ae.level || "AA").toUpperCase(), $ = (ae.size || "small").toLowerCase(), he !== "AA" && he !== "AAA" && (he = "AA"), $ !== "small" && $ !== "large" && ($ = "small"), { level: he, size: $ };
|
|
78439
78718
|
}
|
|
@@ -78553,7 +78832,7 @@ function requireVueColor_min() {
|
|
|
78553
78832
|
return (l.max($.getLuminance(), Ne.getLuminance()) + 0.05) / (l.min($.getLuminance(), Ne.getLuminance()) + 0.05);
|
|
78554
78833
|
}, c.isReadable = function(ae, he, $) {
|
|
78555
78834
|
var Ne, Be, Qe = c.readability(ae, he);
|
|
78556
|
-
switch (Be = !1, Ne =
|
|
78835
|
+
switch (Be = !1, Ne = Ce($), Ne.level + Ne.size) {
|
|
78557
78836
|
case "AAsmall":
|
|
78558
78837
|
case "AAAlarge":
|
|
78559
78838
|
Be = Qe >= 4.5;
|
|
@@ -78575,7 +78854,7 @@ function requireVueColor_min() {
|
|
|
78575
78854
|
var he = {};
|
|
78576
78855
|
for (var $ in ae) ae.hasOwnProperty($) && (he[ae[$]] = $);
|
|
78577
78856
|
return he;
|
|
78578
|
-
}(Te),
|
|
78857
|
+
}(Te), xe = function() {
|
|
78579
78858
|
var ae = "(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)", he = "[\\s|\\(]+(" + ae + ")[,|\\s]+(" + ae + ")[,|\\s]+(" + ae + ")\\s*\\)?", $ = "[\\s|\\(]+(" + ae + ")[,|\\s]+(" + ae + ")[,|\\s]+(" + ae + ")[,|\\s]+(" + ae + ")\\s*\\)?";
|
|
78580
78859
|
return { CSS_UNIT: new RegExp(ae), rgb: new RegExp("rgb" + he), rgba: new RegExp("rgba" + $), hsl: new RegExp("hsl" + he), hsla: new RegExp("hsla" + $), hsv: new RegExp("hsv" + he), hsva: new RegExp("hsva" + $), hex3: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/, hex6: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/, hex4: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/, hex8: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/ };
|
|
78581
78860
|
}();
|
|
@@ -78971,7 +79250,7 @@ function requireVueColor_min() {
|
|
|
78971
79250
|
}, function(r, o, n) {
|
|
78972
79251
|
n(102), n(108), n(109), n(110), r.exports = n(24).Symbol;
|
|
78973
79252
|
}, function(r, o, n) {
|
|
78974
|
-
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), M = n(16), R = n(45), A = n(106), H = n(107), O = n(8), j = n(27), U = H.f, z = O.f, X = A.f, Y = s.Symbol, G = s.JSON, J = G && G.stringify, le = w("_hidden"), ye = w("toPrimitive"), ie = {}.propertyIsEnumerable, ge = m("symbol-registry"), ue = m("symbols"), Q = m("op-symbols"), ne = Object.prototype,
|
|
79253
|
+
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), M = n(16), R = n(45), A = n(106), H = n(107), O = n(8), j = n(27), U = H.f, z = O.f, X = A.f, Y = s.Symbol, G = s.JSON, J = G && G.stringify, le = w("_hidden"), ye = w("toPrimitive"), ie = {}.propertyIsEnumerable, ge = m("symbol-registry"), ue = m("symbols"), Q = m("op-symbols"), ne = Object.prototype, Ce = typeof Y == "function", Ie = s.QObject, we = !Ie || !Ie.prototype || !Ie.prototype.findChild, _e = c && p(function() {
|
|
78975
79254
|
return R(z({}, "a", { get: function() {
|
|
78976
79255
|
return z(this, "a", { value: 7 }).a;
|
|
78977
79256
|
} })).a != 7;
|
|
@@ -78981,7 +79260,7 @@ function requireVueColor_min() {
|
|
|
78981
79260
|
} : z, pe = function(Me) {
|
|
78982
79261
|
var ze = ue[Me] = R(Y.prototype);
|
|
78983
79262
|
return ze._k = Me, ze;
|
|
78984
|
-
}, Pe =
|
|
79263
|
+
}, Pe = Ce && typeof Y.iterator == "symbol" ? function(Me) {
|
|
78985
79264
|
return typeof Me == "symbol";
|
|
78986
79265
|
} : function(Me) {
|
|
78987
79266
|
return Me instanceof Y;
|
|
@@ -78996,7 +79275,7 @@ function requireVueColor_min() {
|
|
|
78996
79275
|
}, He = function(Me) {
|
|
78997
79276
|
var ze = ie.call(this, Me = I(Me, !0));
|
|
78998
79277
|
return !(this === ne && l(ue, Me) && !l(Q, Me)) && (!(ze || !l(this, Me) || !l(ue, Me) || l(this, le) && this[le][Me]) || ze);
|
|
78999
|
-
},
|
|
79278
|
+
}, xe = function(Me, ze) {
|
|
79000
79279
|
if (Me = T(Me), ze = I(ze, !0), Me !== ne || !l(ue, ze) || l(Q, ze)) {
|
|
79001
79280
|
var ot = U(Me, ze);
|
|
79002
79281
|
return !ot || !l(ue, ze) || l(Me, le) && Me[le][ze] || (ot.enumerable = !0), ot;
|
|
@@ -79008,7 +79287,7 @@ function requireVueColor_min() {
|
|
|
79008
79287
|
for (var ze, ot = Me === ne, ut = X(ot ? Q : T(Me)), _t = [], mt = 0; ut.length > mt; ) !l(ue, ze = ut[mt++]) || ot && !l(ne, ze) || _t.push(ue[ze]);
|
|
79009
79288
|
return _t;
|
|
79010
79289
|
};
|
|
79011
|
-
|
|
79290
|
+
Ce || (Y = function() {
|
|
79012
79291
|
if (this instanceof Y) throw TypeError("Symbol is not a constructor!");
|
|
79013
79292
|
var Me = y(arguments.length > 0 ? arguments[0] : void 0), ze = function(ot) {
|
|
79014
79293
|
this === ne && ze.call(Q, ot), l(this, le) && l(this[le], Me) && (this[le][Me] = !1), _e(this, Me, M(1, ot));
|
|
@@ -79016,12 +79295,12 @@ function requireVueColor_min() {
|
|
|
79016
79295
|
return c && we && _e(ne, Me, { configurable: !0, set: ze }), pe(Me);
|
|
79017
79296
|
}, u(Y.prototype, "toString", function() {
|
|
79018
79297
|
return this._k;
|
|
79019
|
-
}), H.f =
|
|
79298
|
+
}), H.f = xe, O.f = Se, n(49).f = A.f = ae, n(34).f = He, n(48).f = he, c && !n(23) && u(ne, "propertyIsEnumerable", He, !0), v.f = function(Me) {
|
|
79020
79299
|
return pe(w(Me));
|
|
79021
|
-
}), d(d.G + d.W + d.F * !
|
|
79300
|
+
}), d(d.G + d.W + d.F * !Ce, { Symbol: Y });
|
|
79022
79301
|
for (var $ = "hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","), Ne = 0; $.length > Ne; ) w($[Ne++]);
|
|
79023
79302
|
for (var Be = j(w.store), Qe = 0; Be.length > Qe; ) C(Be[Qe++]);
|
|
79024
|
-
d(d.S + d.F * !
|
|
79303
|
+
d(d.S + d.F * !Ce, "Symbol", { for: function(Me) {
|
|
79025
79304
|
return l(ge, Me += "") ? ge[Me] : ge[Me] = Y(Me);
|
|
79026
79305
|
}, keyFor: function(Me) {
|
|
79027
79306
|
if (!Pe(Me)) throw TypeError(Me + " is not a symbol!");
|
|
@@ -79030,7 +79309,7 @@ function requireVueColor_min() {
|
|
|
79030
79309
|
we = !0;
|
|
79031
79310
|
}, useSimple: function() {
|
|
79032
79311
|
we = !1;
|
|
79033
|
-
} }), d(d.S + d.F * !
|
|
79312
|
+
} }), d(d.S + d.F * !Ce, "Object", { create: Te, defineProperty: Se, defineProperties: qe, getOwnPropertyDescriptor: xe, getOwnPropertyNames: ae, getOwnPropertySymbols: he }), G && d(d.S + d.F * (!Ce || p(function() {
|
|
79034
79313
|
var Me = Y();
|
|
79035
79314
|
return J([Me]) != "[null]" || J({ a: Me }) != "{}" || J(Object(Me)) != "{}";
|
|
79036
79315
|
})), "JSON", { stringify: function(Me) {
|
|
@@ -79535,7 +79814,7 @@ function requireVueColor_min() {
|
|
|
79535
79814
|
return ge = ue = void 0, we = Se, ne = H.apply(Te, qe);
|
|
79536
79815
|
}
|
|
79537
79816
|
function z(Se) {
|
|
79538
|
-
return we = Se,
|
|
79817
|
+
return we = Se, Ce = setTimeout(G, O), _e ? U(Se) : ne;
|
|
79539
79818
|
}
|
|
79540
79819
|
function X(Se) {
|
|
79541
79820
|
var qe = Se - Ie, Te = Se - we, He = O - qe;
|
|
@@ -79548,26 +79827,26 @@ function requireVueColor_min() {
|
|
|
79548
79827
|
function G() {
|
|
79549
79828
|
var Se = A();
|
|
79550
79829
|
if (Y(Se)) return J(Se);
|
|
79551
|
-
|
|
79830
|
+
Ce = setTimeout(G, X(Se));
|
|
79552
79831
|
}
|
|
79553
79832
|
function J(Se) {
|
|
79554
|
-
return
|
|
79833
|
+
return Ce = void 0, Pe && ge ? U(Se) : (ge = ue = void 0, ne);
|
|
79555
79834
|
}
|
|
79556
79835
|
function le() {
|
|
79557
|
-
|
|
79836
|
+
Ce !== void 0 && clearTimeout(Ce), we = 0, ge = Ie = ue = Ce = void 0;
|
|
79558
79837
|
}
|
|
79559
79838
|
function ye() {
|
|
79560
|
-
return
|
|
79839
|
+
return Ce === void 0 ? ne : J(A());
|
|
79561
79840
|
}
|
|
79562
79841
|
function ie() {
|
|
79563
79842
|
var Se = A(), qe = Y(Se);
|
|
79564
79843
|
if (ge = arguments, ue = this, Ie = Se, qe) {
|
|
79565
|
-
if (
|
|
79566
|
-
if (pe) return
|
|
79844
|
+
if (Ce === void 0) return z(Ie);
|
|
79845
|
+
if (pe) return Ce = setTimeout(G, O), U(Ie);
|
|
79567
79846
|
}
|
|
79568
|
-
return
|
|
79847
|
+
return Ce === void 0 && (Ce = setTimeout(G, O)), ne;
|
|
79569
79848
|
}
|
|
79570
|
-
var ge, ue, Q, ne,
|
|
79849
|
+
var ge, ue, Q, ne, Ce, Ie, we = 0, _e = !1, pe = !1, Pe = !0;
|
|
79571
79850
|
if (typeof H != "function") throw new TypeError(f);
|
|
79572
79851
|
return O = u(O) || 0, l(j) && (_e = !!j.leading, pe = "maxWait" in j, Q = pe ? M(u(j.maxWait) || 0, O) : Q, Pe = "trailing" in j ? !!j.trailing : Pe), ie.cancel = le, ie.flush = ye, ie;
|
|
79573
79852
|
}
|
|
@@ -84129,7 +84408,7 @@ var _sfc_render$j = function a() {
|
|
|
84129
84408
|
var t = this, r = t._self._c;
|
|
84130
84409
|
return t._self._setupProxy, r("div", { staticClass: "ho-emr-tool-item" }, [r("a-dropdown", { attrs: { trigger: ["hover", "click"], getPopupContainer: (o) => o.parentNode || t.document.body } }, [r("p", { staticClass: "ant-dropdown-link-text", on: { click: function(o) {
|
|
84131
84410
|
o.stopPropagation();
|
|
84132
|
-
} } }, [r("span", [t._v(i18nHelper("04-001-009-EMR.3.3.342", null, "医学表达式"))]), r("a-icon", { attrs: { type: "caret-down" } })], 1), r("template", { slot: "overlay" }, [r("a-menu", { staticStyle: { "max-height": "600px", overflow: "auto" }, on: { click: t.selectedSure } }, [r("a-menu-item", { key: "style1" }, [r("p", { staticClass: "ant-dropdown-item-text" }, [r("span", [t._v(i18nHelper("04-001-009-EMR.3.3.341", null, "月经史"))])])]), r("a-menu-item", { key: "style5" }, [r("p", { staticClass: "ant-dropdown-item-text" }, [r("span", [t._v(i18nHelper("04-001-009-EMR.3.3.340", null, "瞳孔图"))])])]), r("a-menu-item", { key: "style6" }, [r("p", { staticClass: "ant-dropdown-item-text" }, [r("span", [t._v(i18nHelper("04-001-009-EMR.3.3.339", null, "光定位图"))])])]), r("a-menu-item", { key: "style7" }, [r("p", { staticClass: "ant-dropdown-item-text" }, [r("span", [t._v(i18nHelper("04-001-009-EMR.3.3.338", null, "胎心图"))])])]), r("a-menu-item", { key: "style8" }, [r("p", { staticClass: "ant-dropdown-item-text" }, [r("span", [t._v(i18nHelper("04-001-009-EMR.3.3.337", null, "恒牙牙位图"))])])]), r("a-menu-item", { key: "style9" }, [r("p", { staticClass: "ant-dropdown-item-text" }, [r("span", [t._v(i18nHelper("04-001-009-EMR.3.3.336", null, "乳牙牙位图"))])])]), r("a-menu-item", { key: "style10" }, [r("p", { staticClass: "ant-dropdown-item-text" }, [r("span", [t._v(i18nHelper("04-001-009-EMR.3.3.335", null, "牙位图"))])])]), r("a-menu-item", { key: "style11" }, [r("p", { staticClass: "ant-dropdown-item-text" }, [r("span", [t._v(i18nHelper("04-001-009-EMR.3.3.334", null, "Pop-Q评分"))])])])], 1)], 1)], 2)], 1);
|
|
84411
|
+
} } }, [r("span", [t._v(i18nHelper("04-001-009-EMR.3.3.342", null, "医学表达式"))]), r("a-icon", { attrs: { type: "caret-down" } })], 1), r("template", { slot: "overlay" }, [r("a-menu", { staticStyle: { "max-height": "600px", overflow: "auto" }, on: { click: t.selectedSure } }, [r("a-menu-item", { key: "style1" }, [r("p", { staticClass: "ant-dropdown-item-text" }, [r("span", [t._v(i18nHelper("04-001-009-EMR.3.3.341", null, "月经史"))])])]), r("a-menu-item", { key: "style5" }, [r("p", { staticClass: "ant-dropdown-item-text" }, [r("span", [t._v(i18nHelper("04-001-009-EMR.3.3.340", null, "瞳孔图"))])])]), r("a-menu-item", { key: "style6" }, [r("p", { staticClass: "ant-dropdown-item-text" }, [r("span", [t._v(i18nHelper("04-001-009-EMR.3.3.339", null, "光定位图"))])])]), r("a-menu-item", { key: "style7" }, [r("p", { staticClass: "ant-dropdown-item-text" }, [r("span", [t._v(i18nHelper("04-001-009-EMR.3.3.338", null, "胎心图"))])])]), r("a-menu-item", { key: "style8" }, [r("p", { staticClass: "ant-dropdown-item-text" }, [r("span", [t._v(i18nHelper("04-001-009-EMR.3.3.337", null, "恒牙牙位图"))])])]), r("a-menu-item", { key: "style9" }, [r("p", { staticClass: "ant-dropdown-item-text" }, [r("span", [t._v(i18nHelper("04-001-009-EMR.3.3.336", null, "乳牙牙位图"))])])]), r("a-menu-item", { key: "style10" }, [r("p", { staticClass: "ant-dropdown-item-text" }, [r("span", [t._v(i18nHelper("04-001-009-EMR.3.3.335", null, "牙位图"))])])]), r("a-menu-item", { key: "style11" }, [r("p", { staticClass: "ant-dropdown-item-text" }, [r("span", [t._v(i18nHelper("04-001-009-EMR.3.3.334", null, "Pop-Q评分"))])])]), r("a-menu-item", { key: "style12" }, [r("p", { staticClass: "ant-dropdown-item-text" }, [r("span", [t._v("血浆渗透压")])])]), r("a-menu-item", { key: "style13" }, [r("p", { staticClass: "ant-dropdown-item-text" }, [r("span", [t._v("CCR肌酐清除率")])])])], 1)], 1)], 2)], 1);
|
|
84133
84412
|
}, _sfc_staticRenderFns$j = [], __component__$j = /* @__PURE__ */ normalizeComponent$1(
|
|
84134
84413
|
_sfc_main$j,
|
|
84135
84414
|
_sfc_render$j,
|