hoeditor-web 3.2.59 → 3.2.61
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.61";
|
|
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,12 @@ class DocProperty {
|
|
|
30302
30302
|
//患者ID
|
|
30303
30303
|
b(this, "_patientName", "");
|
|
30304
30304
|
//患者姓名
|
|
30305
|
+
b(this, "_patientSex", "");
|
|
30306
|
+
//患者性别
|
|
30307
|
+
b(this, "_patientAge", "");
|
|
30308
|
+
//患者年龄
|
|
30309
|
+
b(this, "_patientWeight", "");
|
|
30310
|
+
//患者体重
|
|
30305
30311
|
b(this, "_lastEditTime");
|
|
30306
30312
|
//最后一次修改(保存)时间
|
|
30307
30313
|
b(this, "_lastEditorID");
|
|
@@ -30362,6 +30368,24 @@ class DocProperty {
|
|
|
30362
30368
|
set patientName(t) {
|
|
30363
30369
|
t !== this._patientName && (this._patientName = t);
|
|
30364
30370
|
}
|
|
30371
|
+
get patientAge() {
|
|
30372
|
+
return this._patientAge;
|
|
30373
|
+
}
|
|
30374
|
+
set patientAge(t) {
|
|
30375
|
+
t !== this._patientAge && (this._patientAge = t);
|
|
30376
|
+
}
|
|
30377
|
+
get patientWeight() {
|
|
30378
|
+
return this._patientWeight;
|
|
30379
|
+
}
|
|
30380
|
+
set patientWeight(t) {
|
|
30381
|
+
t !== this._patientWeight && (this._patientWeight = t);
|
|
30382
|
+
}
|
|
30383
|
+
get patientSex() {
|
|
30384
|
+
return this._patientSex;
|
|
30385
|
+
}
|
|
30386
|
+
set patientSex(t) {
|
|
30387
|
+
t !== this._patientSex && (this._patientSex = t);
|
|
30388
|
+
}
|
|
30365
30389
|
get lastEditTime() {
|
|
30366
30390
|
return this._lastEditTime;
|
|
30367
30391
|
}
|
|
@@ -33998,13 +34022,13 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
33998
34022
|
);
|
|
33999
34023
|
});
|
|
34000
34024
|
}
|
|
34001
|
-
function
|
|
34025
|
+
function Ce(S) {
|
|
34002
34026
|
return S.match(/\[[\s\S]/) ? S.replace(/^\[|\]$/g, "") : S.replace(/\\/g, "");
|
|
34003
34027
|
}
|
|
34004
34028
|
function Ie(S) {
|
|
34005
34029
|
var L = S.match(ie), Z, q;
|
|
34006
34030
|
for (Z = 0, q = L.length; Z < q; Z++)
|
|
34007
|
-
Q[L[Z]] ? L[Z] = Q[L[Z]] : L[Z] =
|
|
34031
|
+
Q[L[Z]] ? L[Z] = Q[L[Z]] : L[Z] = Ce(L[Z]);
|
|
34008
34032
|
return function(ce) {
|
|
34009
34033
|
var Le = "", $e;
|
|
34010
34034
|
for ($e = 0; $e < q; $e++)
|
|
@@ -34046,7 +34070,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34046
34070
|
return this._invalidDate;
|
|
34047
34071
|
}
|
|
34048
34072
|
var Te = "%d", He = /\d{1,2}/;
|
|
34049
|
-
function
|
|
34073
|
+
function xe(S) {
|
|
34050
34074
|
return this._ordinal.replace("%d", S);
|
|
34051
34075
|
}
|
|
34052
34076
|
var ae = {
|
|
@@ -34160,7 +34184,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34160
34184
|
return q.priority - ce.priority;
|
|
34161
34185
|
}), L;
|
|
34162
34186
|
}
|
|
34163
|
-
var ot = /\d/, ut = /\d\d/, _t = /\d{3}/, mt = /\d{4}/, Pt = /[+-]?\d{6}/, gt = /\d\d?/, Tt = /\d\d\d\d?/,
|
|
34187
|
+
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
34188
|
Ue = {};
|
|
34165
34189
|
function Ge(S, L, Z) {
|
|
34166
34190
|
Ue[S] = U(L) ? L : function(q, ce) {
|
|
@@ -34420,26 +34444,26 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34420
34444
|
var L, Z;
|
|
34421
34445
|
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
34446
|
}
|
|
34423
|
-
function
|
|
34447
|
+
function Ct(S, L, Z) {
|
|
34424
34448
|
var q = 7 + L - Z, ce = (7 + ft(S, 0, q).getUTCDay() - L) % 7;
|
|
34425
34449
|
return -ce + q - 1;
|
|
34426
34450
|
}
|
|
34427
34451
|
function Ot(S, L, Z, q, ce) {
|
|
34428
|
-
var Le = (7 + Z - q) % 7, $e =
|
|
34452
|
+
var Le = (7 + Z - q) % 7, $e = Ct(S, q, ce), wt = 1 + 7 * (L - 1) + Le + $e, Lt, Vt;
|
|
34429
34453
|
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
34454
|
year: Lt,
|
|
34431
34455
|
dayOfYear: Vt
|
|
34432
34456
|
};
|
|
34433
34457
|
}
|
|
34434
34458
|
function Yt(S, L, Z) {
|
|
34435
|
-
var q =
|
|
34459
|
+
var q = Ct(S.year(), L, Z), ce = Math.floor((S.dayOfYear() - q - 1) / 7) + 1, Le, $e;
|
|
34436
34460
|
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
34461
|
week: Le,
|
|
34438
34462
|
year: $e
|
|
34439
34463
|
};
|
|
34440
34464
|
}
|
|
34441
34465
|
function Ft(S, L, Z) {
|
|
34442
|
-
var q =
|
|
34466
|
+
var q = Ct(S, L, Z), ce = Ct(S + 1, L, Z);
|
|
34443
34467
|
return (Yr(S) - q + ce) / 7;
|
|
34444
34468
|
}
|
|
34445
34469
|
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 +34646,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34622
34646
|
function Hi(S, L) {
|
|
34623
34647
|
return L._meridiemParse;
|
|
34624
34648
|
}
|
|
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",
|
|
34649
|
+
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
34650
|
var q = ct(S);
|
|
34627
34651
|
L[Zt] = q === 24 ? 0 : q;
|
|
34628
34652
|
}), kt(["a", "A"], function(S, L, Z) {
|
|
@@ -34663,7 +34687,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34663
34687
|
weekdaysMin: dn,
|
|
34664
34688
|
weekdaysShort: eo,
|
|
34665
34689
|
meridiemParse: yo
|
|
34666
|
-
}, gr = {},
|
|
34690
|
+
}, gr = {}, xi = {}, ai;
|
|
34667
34691
|
function vo(S, L) {
|
|
34668
34692
|
var Z, q = Math.min(S.length, L.length);
|
|
34669
34693
|
for (Z = 0; Z < q; Z += 1)
|
|
@@ -34718,11 +34742,11 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34718
34742
|
else if (Z = wo(L.parentLocale), Z != null)
|
|
34719
34743
|
q = Z._config;
|
|
34720
34744
|
else
|
|
34721
|
-
return
|
|
34745
|
+
return xi[L.parentLocale] || (xi[L.parentLocale] = []), xi[L.parentLocale].push({
|
|
34722
34746
|
name: S,
|
|
34723
34747
|
config: L
|
|
34724
34748
|
}), null;
|
|
34725
|
-
return gr[S] = new Y(X(q, L)),
|
|
34749
|
+
return gr[S] = new Y(X(q, L)), xi[S] && xi[S].forEach(function(ce) {
|
|
34726
34750
|
Jr(ce.name, ce.config);
|
|
34727
34751
|
}), Qr(S), gr[S];
|
|
34728
34752
|
} else
|
|
@@ -34754,7 +34778,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34754
34778
|
var L, Z = S._a;
|
|
34755
34779
|
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
34780
|
}
|
|
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)?)?$/,
|
|
34781
|
+
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
34782
|
["YYYYYY-MM-DD", /[+-]\d{6}-\d\d-\d\d/],
|
|
34759
34783
|
["YYYY-MM-DD", /\d{4}-\d\d-\d\d/],
|
|
34760
34784
|
["GGGG-[W]WW-E", /\d{4}-W\d\d-\d/],
|
|
@@ -34778,7 +34802,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34778
34802
|
["HHmmss", /\d\d\d\d\d\d/],
|
|
34779
34803
|
["HHmm", /\d\d\d\d/],
|
|
34780
34804
|
["HH", /\d\d/]
|
|
34781
|
-
], zi = /^\/?Date\((-?\d+)/i,
|
|
34805
|
+
], 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
34806
|
UT: 0,
|
|
34783
34807
|
GMT: 0,
|
|
34784
34808
|
EDT: -4 * 60,
|
|
@@ -34818,7 +34842,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34818
34842
|
return;
|
|
34819
34843
|
}
|
|
34820
34844
|
if (ce[4])
|
|
34821
|
-
if (
|
|
34845
|
+
if (xo.exec(ce[4]))
|
|
34822
34846
|
Lt = "Z";
|
|
34823
34847
|
else {
|
|
34824
34848
|
S._isValid = !1;
|
|
@@ -34866,7 +34890,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34866
34890
|
return Le * 60 + ce;
|
|
34867
34891
|
}
|
|
34868
34892
|
function pt(S) {
|
|
34869
|
-
var L =
|
|
34893
|
+
var L = Co.exec(je(S._i)), Z;
|
|
34870
34894
|
if (L) {
|
|
34871
34895
|
if (Z = ve(
|
|
34872
34896
|
L[4],
|
|
@@ -35107,7 +35131,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35107
35131
|
}
|
|
35108
35132
|
o.updateOffset = function() {
|
|
35109
35133
|
};
|
|
35110
|
-
function
|
|
35134
|
+
function Ci(S, L, Z) {
|
|
35111
35135
|
var q = this._offset || 0, ce;
|
|
35112
35136
|
if (!this.isValid())
|
|
35113
35137
|
return S != null ? this : NaN;
|
|
@@ -35138,7 +35162,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35138
35162
|
if (this._tzm != null)
|
|
35139
35163
|
this.utcOffset(this._tzm, !1, !0);
|
|
35140
35164
|
else if (typeof this._i == "string") {
|
|
35141
|
-
var S = ao(
|
|
35165
|
+
var S = ao(Cr, this._i);
|
|
35142
35166
|
S != null ? this.utcOffset(S) : this.utcOffset(0, !0);
|
|
35143
35167
|
}
|
|
35144
35168
|
return this;
|
|
@@ -35223,9 +35247,9 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35223
35247
|
return typeof S == "string" || S instanceof String;
|
|
35224
35248
|
}
|
|
35225
35249
|
function mr(S) {
|
|
35226
|
-
return R(S) || p(S) || or(S) || f(S) || Eo(S) ||
|
|
35250
|
+
return R(S) || p(S) || or(S) || f(S) || Eo(S) || xr(S) || S === null || S === void 0;
|
|
35227
35251
|
}
|
|
35228
|
-
function
|
|
35252
|
+
function xr(S) {
|
|
35229
35253
|
var L = l(S) && !d(S), Z = !1, q = [
|
|
35230
35254
|
"years",
|
|
35231
35255
|
"year",
|
|
@@ -35301,7 +35325,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35301
35325
|
var ce = R(S) ? S : lr(S), Le = R(L) ? L : lr(L);
|
|
35302
35326
|
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
35327
|
}
|
|
35304
|
-
function
|
|
35328
|
+
function xn(S, L) {
|
|
35305
35329
|
var Z = R(S) ? S : lr(S), q;
|
|
35306
35330
|
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
35331
|
}
|
|
@@ -35410,7 +35434,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35410
35434
|
function Yn() {
|
|
35411
35435
|
return this._locale;
|
|
35412
35436
|
}
|
|
35413
|
-
var
|
|
35437
|
+
var Cn = 1e3, Fo = 60 * Cn, bn = 60 * Fo, os = (365 * 400 + 97) * 24 * bn;
|
|
35414
35438
|
function ho(S, L) {
|
|
35415
35439
|
return (S % L + L) % L;
|
|
35416
35440
|
}
|
|
@@ -35466,7 +35490,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35466
35490
|
L = this._d.valueOf(), L -= ho(L, Fo);
|
|
35467
35491
|
break;
|
|
35468
35492
|
case "second":
|
|
35469
|
-
L = this._d.valueOf(), L -= ho(L,
|
|
35493
|
+
L = this._d.valueOf(), L -= ho(L, Cn);
|
|
35470
35494
|
break;
|
|
35471
35495
|
}
|
|
35472
35496
|
return this._d.setTime(L), o.updateOffset(this, !0), this;
|
|
@@ -35517,7 +35541,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35517
35541
|
L = this._d.valueOf(), L += Fo - ho(L, Fo) - 1;
|
|
35518
35542
|
break;
|
|
35519
35543
|
case "second":
|
|
35520
|
-
L = this._d.valueOf(), L +=
|
|
35544
|
+
L = this._d.valueOf(), L += Cn - ho(L, Cn) - 1;
|
|
35521
35545
|
break;
|
|
35522
35546
|
}
|
|
35523
35547
|
return this._d.setTime(L), o.updateOffset(this, !0), this;
|
|
@@ -35576,7 +35600,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35576
35600
|
strict: this._strict
|
|
35577
35601
|
};
|
|
35578
35602
|
}
|
|
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",
|
|
35603
|
+
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
35604
|
["N", "NN", "NNN", "NNNN", "NNNNN"],
|
|
35581
35605
|
function(S, L, Z, q) {
|
|
35582
35606
|
var ce = Z._locale.erasParse(S, q, Z._strict);
|
|
@@ -35675,7 +35699,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35675
35699
|
function ws(S, L) {
|
|
35676
35700
|
return L.erasNameRegex(S);
|
|
35677
35701
|
}
|
|
35678
|
-
function
|
|
35702
|
+
function xs(S, L) {
|
|
35679
35703
|
return L.erasNarrowRegex(S);
|
|
35680
35704
|
}
|
|
35681
35705
|
function ei(S, L) {
|
|
@@ -35706,7 +35730,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35706
35730
|
), wr(["gg", "GG"], function(S, L, Z, q) {
|
|
35707
35731
|
L[q] = o.parseTwoDigitYear(S);
|
|
35708
35732
|
});
|
|
35709
|
-
function
|
|
35733
|
+
function Cs(S) {
|
|
35710
35734
|
return rn.call(
|
|
35711
35735
|
this,
|
|
35712
35736
|
S,
|
|
@@ -35806,9 +35830,9 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35806
35830
|
return this._isUTC ? "Coordinated Universal Time" : "";
|
|
35807
35831
|
}
|
|
35808
35832
|
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 =
|
|
35833
|
+
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
35834
|
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 =
|
|
35835
|
+
}), 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
35836
|
"dates accessor is deprecated. Use date instead.",
|
|
35813
35837
|
Ns
|
|
35814
35838
|
), ht.months = H(
|
|
@@ -35834,7 +35858,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35834
35858
|
return S;
|
|
35835
35859
|
}
|
|
35836
35860
|
var N = Y.prototype;
|
|
35837
|
-
N.calendar = le, N.longDateFormat = Pe, N.invalidDate = qe, N.ordinal =
|
|
35861
|
+
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
35862
|
function F(S, L, Z, q) {
|
|
35839
35863
|
var ce = Or(), Le = y().set(q, L);
|
|
35840
35864
|
return ce[Z](Le, S);
|
|
@@ -40176,7 +40200,7 @@ function requireDom() {
|
|
|
40176
40200
|
if (Ue ? se[G(se, Ue)] = De : se[se.length++] = De, ee) {
|
|
40177
40201
|
De.ownerElement = ee;
|
|
40178
40202
|
var Ge = ee.ownerDocument;
|
|
40179
|
-
Ge && (Ue &&
|
|
40203
|
+
Ge && (Ue && Ce(Ge, ee, Ue), ne(Ge, ee, De));
|
|
40180
40204
|
}
|
|
40181
40205
|
}
|
|
40182
40206
|
function le(ee, se, De) {
|
|
@@ -40186,7 +40210,7 @@ function requireDom() {
|
|
|
40186
40210
|
se[Ue] = se[++Ue];
|
|
40187
40211
|
if (se.length = Ge, ee) {
|
|
40188
40212
|
var Dt = ee.ownerDocument;
|
|
40189
|
-
Dt && (
|
|
40213
|
+
Dt && (Ce(Dt, ee, De), De.ownerElement = null);
|
|
40190
40214
|
}
|
|
40191
40215
|
} else
|
|
40192
40216
|
throw new j(H, new Error(ee.tagName + "@" + De));
|
|
@@ -40424,7 +40448,7 @@ function requireDom() {
|
|
|
40424
40448
|
var Ue = De.namespaceURI;
|
|
40425
40449
|
Ue === r.XMLNS && (se._nsMap[De.prefix ? De.localName : ""] = De.value);
|
|
40426
40450
|
}
|
|
40427
|
-
function
|
|
40451
|
+
function Ce(ee, se, De, Ue) {
|
|
40428
40452
|
ee && ee._inc++;
|
|
40429
40453
|
var Ge = De.namespaceURI;
|
|
40430
40454
|
Ge === r.XMLNS && delete se._nsMap[De.prefix ? De.localName : ""];
|
|
@@ -40478,7 +40502,7 @@ function requireDom() {
|
|
|
40478
40502
|
var Ge = t(De, Pe);
|
|
40479
40503
|
return !(se && Ge && De.indexOf(Ge) > De.indexOf(se));
|
|
40480
40504
|
}
|
|
40481
|
-
function
|
|
40505
|
+
function xe(ee, se, De) {
|
|
40482
40506
|
if (!_e(ee))
|
|
40483
40507
|
throw new j(A, "Unexpected parent node type " + ee.nodeType);
|
|
40484
40508
|
if (De && De.parentNode !== ee)
|
|
@@ -40539,7 +40563,7 @@ function requireDom() {
|
|
|
40539
40563
|
}
|
|
40540
40564
|
}
|
|
40541
40565
|
function $(ee, se, De, Ue) {
|
|
40542
|
-
|
|
40566
|
+
xe(ee, se, De), ee.nodeType === ie.DOCUMENT_NODE && (Ue || ae)(ee, se, De);
|
|
40543
40567
|
var Ge = se.parentNode;
|
|
40544
40568
|
if (Ge && Ge.removeChild(se), se.nodeType === T) {
|
|
40545
40569
|
var Dt = se.firstChild;
|
|
@@ -40589,7 +40613,7 @@ function requireDom() {
|
|
|
40589
40613
|
},
|
|
40590
40614
|
// Introduced in DOM Level 2:
|
|
40591
40615
|
importNode: function(ee, se) {
|
|
40592
|
-
return
|
|
40616
|
+
return Cr(this, ee, se);
|
|
40593
40617
|
},
|
|
40594
40618
|
// Introduced in DOM Level 2:
|
|
40595
40619
|
getElementById: function(ee) {
|
|
@@ -40659,7 +40683,7 @@ function requireDom() {
|
|
|
40659
40683
|
return se.ownerDocument = this, se.appendData(ee), se;
|
|
40660
40684
|
},
|
|
40661
40685
|
createProcessingInstruction: function(ee, se) {
|
|
40662
|
-
var De = new
|
|
40686
|
+
var De = new xt();
|
|
40663
40687
|
return De.ownerDocument = this, De.tagName = De.nodeName = De.target = ee, De.nodeValue = De.data = se, De;
|
|
40664
40688
|
},
|
|
40665
40689
|
createAttribute: function(ee) {
|
|
@@ -40819,9 +40843,9 @@ function requireDom() {
|
|
|
40819
40843
|
function Tt() {
|
|
40820
40844
|
}
|
|
40821
40845
|
Tt.prototype.nodeName = "#document-fragment", Tt.prototype.nodeType = T, u(Tt, ie);
|
|
40822
|
-
function
|
|
40846
|
+
function xt() {
|
|
40823
40847
|
}
|
|
40824
|
-
|
|
40848
|
+
xt.prototype.nodeType = C, u(xt, ie);
|
|
40825
40849
|
function At() {
|
|
40826
40850
|
}
|
|
40827
40851
|
At.prototype.serializeToString = function(ee, se, De) {
|
|
@@ -40954,7 +40978,7 @@ function requireDom() {
|
|
|
40954
40978
|
se.push("??", ee.nodeName);
|
|
40955
40979
|
}
|
|
40956
40980
|
}
|
|
40957
|
-
function
|
|
40981
|
+
function Cr(ee, se, De) {
|
|
40958
40982
|
var Ue;
|
|
40959
40983
|
switch (se.nodeType) {
|
|
40960
40984
|
case p:
|
|
@@ -40972,7 +40996,7 @@ function requireDom() {
|
|
|
40972
40996
|
}
|
|
40973
40997
|
if (Ue || (Ue = se.cloneNode(!1)), Ue.ownerDocument = ee, Ue.parentNode = null, De)
|
|
40974
40998
|
for (var Ge = se.firstChild; Ge; )
|
|
40975
|
-
Ue.appendChild(
|
|
40999
|
+
Ue.appendChild(Cr(ee, Ge, De)), Ge = Ge.nextSibling;
|
|
40976
41000
|
return Ue;
|
|
40977
41001
|
}
|
|
40978
41002
|
function Rt(ee, se, De) {
|
|
@@ -43234,15 +43258,15 @@ function requireSax() {
|
|
|
43234
43258
|
var ne = A.indexOf("<", Q);
|
|
43235
43259
|
if (ne < 0) {
|
|
43236
43260
|
if (!A.substr(Q).match(/^\s*$/)) {
|
|
43237
|
-
var
|
|
43238
|
-
|
|
43261
|
+
var Ce = j.doc, Ie = Ce.createTextNode(A.substr(Q));
|
|
43262
|
+
Ce.appendChild(Ie), j.currentElement = Ie;
|
|
43239
43263
|
}
|
|
43240
43264
|
return;
|
|
43241
43265
|
}
|
|
43242
43266
|
switch (ne > Q && Y(ne), A.charAt(ne + 1)) {
|
|
43243
43267
|
case "/":
|
|
43244
|
-
var
|
|
43245
|
-
|
|
43268
|
+
var xe = A.indexOf(">", ne + 3), we = A.substring(ne + 2, xe).replace(/[ \t\n\r]+$/g, ""), _e = ge.pop();
|
|
43269
|
+
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
43270
|
var pe = _e.localNSMap, Pe = _e.tagName == we, Se = Pe || _e.tagName && _e.tagName.toLowerCase() == we.toLowerCase();
|
|
43247
43271
|
if (Se) {
|
|
43248
43272
|
if (j.endElement(_e.uri, _e.localName, we), pe)
|
|
@@ -43251,19 +43275,19 @@ function requireSax() {
|
|
|
43251
43275
|
Pe || U.fatalError("end tag name: " + we + " is not match the current start tagName:" + _e.tagName);
|
|
43252
43276
|
} else
|
|
43253
43277
|
ge.push(_e);
|
|
43254
|
-
|
|
43278
|
+
xe++;
|
|
43255
43279
|
break;
|
|
43256
43280
|
// end elment
|
|
43257
43281
|
case "?":
|
|
43258
|
-
ie && G(ne),
|
|
43282
|
+
ie && G(ne), xe = I(A, ne, j);
|
|
43259
43283
|
break;
|
|
43260
43284
|
case "!":
|
|
43261
|
-
ie && G(ne),
|
|
43285
|
+
ie && G(ne), xe = T(A, ne, j, U);
|
|
43262
43286
|
break;
|
|
43263
43287
|
default:
|
|
43264
43288
|
ie && G(ne);
|
|
43265
|
-
var Te = new M(), He = ge[ge.length - 1].currentNSMap,
|
|
43266
|
-
if (!Te.closed && D(A,
|
|
43289
|
+
var Te = new M(), He = ge[ge.length - 1].currentNSMap, xe = v(A, ne, Te, He, X, U), ae = Te.length;
|
|
43290
|
+
if (!Te.closed && D(A, xe, Te.tagName, ue) && (Te.closed = !0, O.nbsp || U.warning("unclosed xml attribute")), ie && ae) {
|
|
43267
43291
|
for (var he = w(ie, {}), $ = 0; $ < ae; $++) {
|
|
43268
43292
|
var Ne = Te[$];
|
|
43269
43293
|
G(Ne.offset), Ne.locator = w(ie, {});
|
|
@@ -43271,14 +43295,14 @@ function requireSax() {
|
|
|
43271
43295
|
j.locator = he, C(Te, j, He) && ge.push(Te), j.locator = ie;
|
|
43272
43296
|
} else
|
|
43273
43297
|
C(Te, j, He) && ge.push(Te);
|
|
43274
|
-
a.isHTML(Te.uri) && !Te.closed ?
|
|
43298
|
+
a.isHTML(Te.uri) && !Te.closed ? xe = _(A, xe, Te.tagName, X, j) : xe++;
|
|
43275
43299
|
}
|
|
43276
43300
|
} catch (Be) {
|
|
43277
43301
|
if (Be instanceof m)
|
|
43278
43302
|
throw Be;
|
|
43279
|
-
U.error("element parse error: " + Be),
|
|
43303
|
+
U.error("element parse error: " + Be), xe = -1;
|
|
43280
43304
|
}
|
|
43281
|
-
|
|
43305
|
+
xe > Q ? Q = xe : Y(Math.max(ne, Q) + 1);
|
|
43282
43306
|
}
|
|
43283
43307
|
}
|
|
43284
43308
|
function w(A, H) {
|
|
@@ -43790,8 +43814,8 @@ function requireX2js() {
|
|
|
43790
43814
|
}
|
|
43791
43815
|
Y[o.attributePrefix + ge.name] = ue;
|
|
43792
43816
|
}
|
|
43793
|
-
var
|
|
43794
|
-
return
|
|
43817
|
+
var Ce = u(z);
|
|
43818
|
+
return Ce && (Y.__cnt++, Y.__prefix = Ce), Y["#text"] && (Y.__text = Y["#text"], Y.__text instanceof Array && (Y.__text = Y.__text.join(`
|
|
43795
43819
|
`)), 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
43820
|
return (this.__text ? this.__text : "") + (this.__cdata ? this.__cdata : "");
|
|
43797
43821
|
}), Y);
|
|
@@ -49574,6 +49598,7 @@ class VueController {
|
|
|
49574
49598
|
return;
|
|
49575
49599
|
const o = t.previousLeaf();
|
|
49576
49600
|
let n = r.docTree.getNodeLastPath(o);
|
|
49601
|
+
r.drawTree.moveCaretToPath(n);
|
|
49577
49602
|
const s = r.docTree.getNodeLastPath(t);
|
|
49578
49603
|
if (r.drawTree.paintStatus === PaintState.psReview && t instanceof SignNode) {
|
|
49579
49604
|
const d = t.customProperty.bce01;
|
|
@@ -49634,7 +49659,7 @@ class VueController {
|
|
|
49634
49659
|
((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
49660
|
return;
|
|
49636
49661
|
}
|
|
49637
|
-
r.undoService.begin(), r.undoService.add(new NodeDeleteUndoUnit(this._hoEditorFactoryID, t)), r.undoService.commit()
|
|
49662
|
+
r.undoService.begin(), r.undoService.add(new NodeDeleteUndoUnit(this._hoEditorFactoryID, t)), r.undoService.commit();
|
|
49638
49663
|
const l = t.parentNode;
|
|
49639
49664
|
l && l instanceof TextInputFieldNode && l.childNodes.length === 2 && r.docController.resetEmptyInputFieldNode(r, l);
|
|
49640
49665
|
}
|
|
@@ -51521,8 +51546,8 @@ class VueController {
|
|
|
51521
51546
|
newLineWithCellContent: ie.rowProperty.newLineWithCellContent,
|
|
51522
51547
|
withFormula: ie.rowProperty.withFormula
|
|
51523
51548
|
}, Q = JSON.parse(JSON.stringify(ue)), ne = Object.keys(E);
|
|
51524
|
-
for (let
|
|
51525
|
-
ne[
|
|
51549
|
+
for (let Ce = 0; Ce < ne.length; Ce++)
|
|
51550
|
+
ne[Ce] === "customProperties" ? ie.rowProperty.customProperties.length === 0 && delete Q.customProperties : Q[ne[Ce]] === T[ne[Ce]] && delete Q[ne[Ce]];
|
|
51526
51551
|
I.push({
|
|
51527
51552
|
rowHeight: ie.rowHeight,
|
|
51528
51553
|
//heightFixed: rowInfo.heightFixed,
|
|
@@ -51556,8 +51581,8 @@ class VueController {
|
|
|
51556
51581
|
isLock: ie.colProperty.isLock,
|
|
51557
51582
|
customProperties: ge
|
|
51558
51583
|
}, Q = JSON.parse(JSON.stringify(ue)), ne = Object.keys(A);
|
|
51559
|
-
for (let
|
|
51560
|
-
Q[ne[
|
|
51584
|
+
for (let Ce = 0; Ce < ne.length; Ce++)
|
|
51585
|
+
Q[ne[Ce]] === H[ne[Ce]] && delete Q[ne[Ce]];
|
|
51561
51586
|
O.push({
|
|
51562
51587
|
colWidth: ie.colWidth,
|
|
51563
51588
|
widthFixed: ie.widthFixed,
|
|
@@ -51599,8 +51624,8 @@ class VueController {
|
|
|
51599
51624
|
for (let Q = 0; Q <= R; Q++) {
|
|
51600
51625
|
const ne = ie[Q];
|
|
51601
51626
|
if (ne) {
|
|
51602
|
-
const
|
|
51603
|
-
ue.base = JSON.parse(JSON.stringify(
|
|
51627
|
+
const Ce = c(ne, U);
|
|
51628
|
+
ue.base = JSON.parse(JSON.stringify(Ce)), Ce.rowNo = ye, Ce.colNo = Q, ge.childNodes.CellNode.push(Ce), ge.rowNo = ye;
|
|
51604
51629
|
} else
|
|
51605
51630
|
ge.childNodes.CellNode.push({});
|
|
51606
51631
|
}
|
|
@@ -54067,10 +54092,10 @@ var flm = /* @__PURE__ */ hMap(flt, 9, 0), flrm = /* @__PURE__ */ hMap(flt, 9, 1
|
|
|
54067
54092
|
}, inflt = function(a, t, r) {
|
|
54068
54093
|
var o = a.length, n = !t || r, s = !r || r.i;
|
|
54069
54094
|
r || (r = {}), t || (t = new u8(o * 3));
|
|
54070
|
-
var l = function(
|
|
54095
|
+
var l = function(Ce) {
|
|
54071
54096
|
var Ie = t.length;
|
|
54072
|
-
if (
|
|
54073
|
-
var we = new u8(Math.max(Ie * 2,
|
|
54097
|
+
if (Ce > Ie) {
|
|
54098
|
+
var we = new u8(Math.max(Ie * 2, Ce));
|
|
54074
54099
|
we.set(t), t = we;
|
|
54075
54100
|
}
|
|
54076
54101
|
}, 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 +54331,7 @@ var flm = /* @__PURE__ */ hMap(flt, 9, 0), flrm = /* @__PURE__ */ hMap(flt, 9, 1
|
|
|
54306
54331
|
if (ne > J) {
|
|
54307
54332
|
if (J = ne, le = ie, ne > ge)
|
|
54308
54333
|
break;
|
|
54309
|
-
for (var
|
|
54334
|
+
for (var Ce = Math.min(ie, ne - 2), Ie = 0, G = 0; G < Ce; ++G) {
|
|
54310
54335
|
var we = f - ie + G + 32768 & 32767, _e = v[we], pe = we - _e + 32768 & 32767;
|
|
54311
54336
|
pe > Ie && (Ie = pe, X = we);
|
|
54312
54337
|
}
|
|
@@ -55002,7 +55027,7 @@ function jsPDF(a) {
|
|
|
55002
55027
|
ADVANCED: "advanced"
|
|
55003
55028
|
}, D = _.COMPAT;
|
|
55004
55029
|
function E() {
|
|
55005
|
-
this.saveGraphicsState(),
|
|
55030
|
+
this.saveGraphicsState(), xe(new ct(Rt, 0, 0, -Rt, 0, zi() * Rt).toString() + " cm"), this.setFontSize(this.getFontSize() / Rt), u = "n", D = _.ADVANCED;
|
|
55006
55031
|
}
|
|
55007
55032
|
function T() {
|
|
55008
55033
|
this.restoreGraphicsState(), u = "S", D = _.COMPAT;
|
|
@@ -55109,8 +55134,8 @@ function jsPDF(a) {
|
|
|
55109
55134
|
return ("0" + parseInt(W)).slice(-2);
|
|
55110
55135
|
}, Q = g.__private__.padd2Hex = function(W) {
|
|
55111
55136
|
return W = W.toString(), ("00" + W).substr(W.length);
|
|
55112
|
-
}, ne = 0,
|
|
55113
|
-
ne = 0, we = 0, Ie = [],
|
|
55137
|
+
}, ne = 0, Ce = [], Ie = [], we = 0, _e = [], pe = [], Pe, Se = !1, qe = Ie, Te = function() {
|
|
55138
|
+
ne = 0, we = 0, Ie = [], Ce = [], _e = [], jt = Xt(), Zt = Xt();
|
|
55114
55139
|
};
|
|
55115
55140
|
g.__private__.setCustomOutputDestination = function(W) {
|
|
55116
55141
|
Se = !0, qe = W;
|
|
@@ -55121,10 +55146,10 @@ function jsPDF(a) {
|
|
|
55121
55146
|
g.__private__.resetCustomOutputDestination = function() {
|
|
55122
55147
|
Se = !1, qe = Ie;
|
|
55123
55148
|
};
|
|
55124
|
-
var
|
|
55149
|
+
var xe = g.__private__.out = function(W) {
|
|
55125
55150
|
return W = W.toString(), we += W.length + 1, qe.push(W), qe;
|
|
55126
55151
|
}, ae = g.__private__.write = function(W) {
|
|
55127
|
-
return
|
|
55152
|
+
return xe(arguments.length === 1 ? W.toString() : Array.prototype.join.call(arguments, " "));
|
|
55128
55153
|
}, he = g.__private__.getArrayBuffer = function(W) {
|
|
55129
55154
|
for (var V = W.length, ve = new ArrayBuffer(V), Fe = new Uint8Array(ve); V--; )
|
|
55130
55155
|
Fe[V] = W.charCodeAt(V);
|
|
@@ -55201,7 +55226,7 @@ function jsPDF(a) {
|
|
|
55201
55226
|
throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");
|
|
55202
55227
|
return Pt[W] = V;
|
|
55203
55228
|
};
|
|
55204
|
-
var gt = {}, Tt = {},
|
|
55229
|
+
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
55230
|
if (!(this instanceof W))
|
|
55206
55231
|
return new W(V, ve, Fe, je, Ze, lt);
|
|
55207
55232
|
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 +55385,11 @@ function jsPDF(a) {
|
|
|
55360
55385
|
var W = Xt();
|
|
55361
55386
|
return Wt(W, !0), W;
|
|
55362
55387
|
}, Xt = g.__private__.newObjectDeferred = function() {
|
|
55363
|
-
return ne++,
|
|
55388
|
+
return ne++, Ce[ne] = function() {
|
|
55364
55389
|
return we;
|
|
55365
55390
|
}, ne;
|
|
55366
55391
|
}, Wt = function(V, ve) {
|
|
55367
|
-
return ve = typeof ve == "boolean" ? ve : !1,
|
|
55392
|
+
return ve = typeof ve == "boolean" ? ve : !1, Ce[V] = we, ve && xe(V + " 0 obj"), V;
|
|
55368
55393
|
}, hr = g.__private__.newAdditionalObject = function() {
|
|
55369
55394
|
var W = Xt(), V = {
|
|
55370
55395
|
objId: W,
|
|
@@ -55480,18 +55505,18 @@ function jsPDF(a) {
|
|
|
55480
55505
|
ar.push(It[Kt].value), It[Kt].value = "[" + ar.join(" ") + "]";
|
|
55481
55506
|
}
|
|
55482
55507
|
}
|
|
55483
|
-
|
|
55508
|
+
xe("<<");
|
|
55484
55509
|
for (var kr = 0; kr < It.length; kr++)
|
|
55485
|
-
|
|
55486
|
-
|
|
55510
|
+
xe("/" + It[kr].key + " " + It[kr].value);
|
|
55511
|
+
xe(">>"), bt.data.length !== 0 && (xe("stream"), xe(pt(bt.data)), xe("endstream"));
|
|
55487
55512
|
}, _i = g.__private__.putPage = function(W) {
|
|
55488
55513
|
var V = W.number, ve = W.data, Fe = W.objId, je = W.contentsObjId;
|
|
55489
|
-
Wt(Fe, !0),
|
|
55514
|
+
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
55515
|
objId: Fe,
|
|
55491
55516
|
pageContext: ee[V],
|
|
55492
55517
|
pageNumber: V,
|
|
55493
55518
|
page: ve
|
|
55494
|
-
}),
|
|
55519
|
+
}), xe("/Contents " + je + " 0 R"), xe(">>"), xe("endobj");
|
|
55495
55520
|
var Ze = ve.join(`
|
|
55496
55521
|
`);
|
|
55497
55522
|
return D === _.ADVANCED && (Ze += `
|
|
@@ -55499,7 +55524,7 @@ Q`), Wt(je, !0), Ur({
|
|
|
55499
55524
|
data: Ze,
|
|
55500
55525
|
filters: Mr(),
|
|
55501
55526
|
objectId: je
|
|
55502
|
-
}),
|
|
55527
|
+
}), xe("endobj"), Fe;
|
|
55503
55528
|
}, Yr = g.__private__.putPages = function() {
|
|
55504
55529
|
var W, V, ve = [];
|
|
55505
55530
|
for (W = 1; W <= Gt; W++)
|
|
@@ -55519,18 +55544,18 @@ Q`), Wt(je, !0), Ur({
|
|
|
55519
55544
|
rootDictionaryObjId: jt,
|
|
55520
55545
|
resourceDictionaryObjId: Zt
|
|
55521
55546
|
}));
|
|
55522
|
-
Wt(jt, !0),
|
|
55547
|
+
Wt(jt, !0), xe("<</Type /Pages");
|
|
55523
55548
|
var Fe = "/Kids [";
|
|
55524
55549
|
for (V = 0; V < Gt; V++)
|
|
55525
55550
|
Fe += ve[V] + " 0 R ";
|
|
55526
|
-
|
|
55551
|
+
xe(Fe + "]"), xe("/Count " + Gt), xe(">>"), xe("endobj"), se.publish("postPutPages");
|
|
55527
55552
|
}, Zr = function(V) {
|
|
55528
55553
|
se.publish("putFont", {
|
|
55529
55554
|
font: V,
|
|
55530
|
-
out:
|
|
55555
|
+
out: xe,
|
|
55531
55556
|
newObject: dr,
|
|
55532
55557
|
putStream: Ur
|
|
55533
|
-
}), V.isAlreadyPutted !== !0 && (V.objectNumber = dr(),
|
|
55558
|
+
}), 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
55559
|
}, qi = function() {
|
|
55535
55560
|
for (var V in gt)
|
|
55536
55561
|
gt.hasOwnProperty(V) && (p === !1 || p === !0 && m.hasOwnProperty(V)) && Zr(gt[V]);
|
|
@@ -55556,7 +55581,7 @@ Q`), Wt(je, !0), Ur({
|
|
|
55556
55581
|
data: Fe,
|
|
55557
55582
|
additionalKeyValues: ve,
|
|
55558
55583
|
objectId: V.objectNumber
|
|
55559
|
-
}),
|
|
55584
|
+
}), xe("endobj");
|
|
55560
55585
|
}, gi = function() {
|
|
55561
55586
|
for (var V in Ue)
|
|
55562
55587
|
Ue.hasOwnProperty(V) && oi(Ue[V]);
|
|
@@ -55611,14 +55636,14 @@ Q`), Wt(je, !0), Ur({
|
|
|
55611
55636
|
additionalKeyValues: Ze,
|
|
55612
55637
|
alreadyAppliedFilters: ["/ASCIIHexDecode"],
|
|
55613
55638
|
objectId: Fe
|
|
55614
|
-
}),
|
|
55639
|
+
}), xe("endobj"), V.objectNumber = dr(), xe("<< /ShadingType " + V.type), xe("/ColorSpace /DeviceRGB");
|
|
55615
55640
|
var lt = "/Coords [" + A(parseFloat(V.coords[0])) + " " + // x1
|
|
55616
55641
|
A(parseFloat(V.coords[1])) + " ";
|
|
55617
55642
|
V.type === 2 ? lt += A(parseFloat(V.coords[2])) + " " + // x2
|
|
55618
55643
|
A(parseFloat(V.coords[3])) : lt += A(parseFloat(V.coords[2])) + " " + // r1
|
|
55619
55644
|
A(parseFloat(V.coords[3])) + " " + // x2
|
|
55620
55645
|
A(parseFloat(V.coords[4])) + " " + // y2
|
|
55621
|
-
A(parseFloat(V.coords[5])), lt += "]",
|
|
55646
|
+
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
55647
|
}, fo = function(V, ve) {
|
|
55623
55648
|
var Fe = Xt(), je = dr();
|
|
55624
55649
|
ve.push({
|
|
@@ -55657,63 +55682,63 @@ Q`), Wt(je, !0), Ur({
|
|
|
55657
55682
|
data: V.stream,
|
|
55658
55683
|
additionalKeyValues: Ze,
|
|
55659
55684
|
objectId: V.objectNumber
|
|
55660
|
-
}),
|
|
55685
|
+
}), xe("endobj");
|
|
55661
55686
|
}, yi = function(V) {
|
|
55662
55687
|
var ve;
|
|
55663
55688
|
for (ve in St)
|
|
55664
55689
|
St.hasOwnProperty(ve) && (St[ve] instanceof ShadingPattern ? mi(St[ve]) : St[ve] instanceof TilingPattern && fo(St[ve], V));
|
|
55665
55690
|
}, yr = function(V) {
|
|
55666
|
-
V.objectNumber = dr(),
|
|
55691
|
+
V.objectNumber = dr(), xe("<<");
|
|
55667
55692
|
for (var ve in V)
|
|
55668
55693
|
switch (ve) {
|
|
55669
55694
|
case "opacity":
|
|
55670
|
-
|
|
55695
|
+
xe("/ca " + H(V[ve]));
|
|
55671
55696
|
break;
|
|
55672
55697
|
case "stroke-opacity":
|
|
55673
|
-
|
|
55698
|
+
xe("/CA " + H(V[ve]));
|
|
55674
55699
|
break;
|
|
55675
55700
|
}
|
|
55676
|
-
|
|
55701
|
+
xe(">>"), xe("endobj");
|
|
55677
55702
|
}, vi = function() {
|
|
55678
55703
|
var V;
|
|
55679
55704
|
for (V in Mt)
|
|
55680
55705
|
Mt.hasOwnProperty(V) && yr(Mt[V]);
|
|
55681
55706
|
}, Qi = function() {
|
|
55682
|
-
|
|
55707
|
+
xe("/XObject <<");
|
|
55683
55708
|
for (var V in Ue)
|
|
55684
|
-
Ue.hasOwnProperty(V) && Ue[V].objectNumber >= 0 &&
|
|
55685
|
-
se.publish("putXobjectDict"),
|
|
55709
|
+
Ue.hasOwnProperty(V) && Ue[V].objectNumber >= 0 && xe("/" + V + " " + Ue[V].objectNumber + " 0 R");
|
|
55710
|
+
se.publish("putXobjectDict"), xe(">>");
|
|
55686
55711
|
}, Ji = function() {
|
|
55687
|
-
Tr.oid = dr(),
|
|
55712
|
+
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
55713
|
}, po = function() {
|
|
55689
|
-
|
|
55714
|
+
xe("/Font <<");
|
|
55690
55715
|
for (var V in gt)
|
|
55691
|
-
gt.hasOwnProperty(V) && (p === !1 || p === !0 && m.hasOwnProperty(V)) &&
|
|
55692
|
-
|
|
55716
|
+
gt.hasOwnProperty(V) && (p === !1 || p === !0 && m.hasOwnProperty(V)) && xe("/" + V + " " + gt[V].objectNumber + " 0 R");
|
|
55717
|
+
xe(">>");
|
|
55693
55718
|
}, Ki = function() {
|
|
55694
55719
|
if (Object.keys(St).length > 0) {
|
|
55695
|
-
|
|
55720
|
+
xe("/Shading <<");
|
|
55696
55721
|
for (var V in St)
|
|
55697
|
-
St.hasOwnProperty(V) && St[V] instanceof ShadingPattern && St[V].objectNumber >= 0 &&
|
|
55698
|
-
se.publish("putShadingPatternDict"),
|
|
55722
|
+
St.hasOwnProperty(V) && St[V] instanceof ShadingPattern && St[V].objectNumber >= 0 && xe("/" + V + " " + St[V].objectNumber + " 0 R");
|
|
55723
|
+
se.publish("putShadingPatternDict"), xe(">>");
|
|
55699
55724
|
}
|
|
55700
55725
|
}, Mi = function(V) {
|
|
55701
55726
|
if (Object.keys(St).length > 0) {
|
|
55702
|
-
|
|
55727
|
+
xe("/Pattern <<");
|
|
55703
55728
|
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"),
|
|
55729
|
+
St.hasOwnProperty(ve) && St[ve] instanceof g.TilingPattern && St[ve].objectNumber >= 0 && St[ve].objectNumber < V && xe("/" + ve + " " + St[ve].objectNumber + " 0 R");
|
|
55730
|
+
se.publish("putTilingPatternDict"), xe(">>");
|
|
55706
55731
|
}
|
|
55707
55732
|
}, go = function() {
|
|
55708
55733
|
if (Object.keys(Mt).length > 0) {
|
|
55709
55734
|
var V;
|
|
55710
|
-
|
|
55735
|
+
xe("/ExtGState <<");
|
|
55711
55736
|
for (V in Mt)
|
|
55712
|
-
Mt.hasOwnProperty(V) && Mt[V].objectNumber >= 0 &&
|
|
55713
|
-
se.publish("putGStateDict"),
|
|
55737
|
+
Mt.hasOwnProperty(V) && Mt[V].objectNumber >= 0 && xe("/" + V + " " + Mt[V].objectNumber + " 0 R");
|
|
55738
|
+
se.publish("putGStateDict"), xe(">>");
|
|
55714
55739
|
}
|
|
55715
55740
|
}, me = function(V) {
|
|
55716
|
-
Wt(V.resourcesOid, !0),
|
|
55741
|
+
Wt(V.resourcesOid, !0), xe("<<"), xe("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"), po(), Ki(), Mi(V.objectOid), go(), Qi(), xe(">>"), xe("endobj");
|
|
55717
55742
|
}, Ae = function() {
|
|
55718
55743
|
var V = [];
|
|
55719
55744
|
qi(), vi(), gi(), yi(V), se.publish("putResources"), V.forEach(me), me({
|
|
@@ -55725,7 +55750,7 @@ Q`), Wt(je, !0), Ur({
|
|
|
55725
55750
|
se.publish("putAdditionalObjects");
|
|
55726
55751
|
for (var V = 0; V < _e.length; V++) {
|
|
55727
55752
|
var ve = _e[V];
|
|
55728
|
-
Wt(ve.objId, !0),
|
|
55753
|
+
Wt(ve.objId, !0), xe(ve.content), xe("endobj");
|
|
55729
55754
|
}
|
|
55730
55755
|
se.publish("postPutAdditionalObjects");
|
|
55731
55756
|
}, ke = function(V) {
|
|
@@ -55776,7 +55801,7 @@ Q`), Wt(je, !0), Ur({
|
|
|
55776
55801
|
}, V.foo.bar = V, V.foo;
|
|
55777
55802
|
}, rt = function(V, ve) {
|
|
55778
55803
|
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[
|
|
55804
|
+
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
55805
|
for (It = !1, bt = [], Fe = 0, je = V.length; Fe < je; Fe++)
|
|
55781
55806
|
Bt = pt[V.charCodeAt(Fe)], Bt ? bt.push(String.fromCharCode(Bt)) : bt.push(V[Fe]), bt[Fe].charCodeAt(0) >> 8 && (It = !0);
|
|
55782
55807
|
V = bt.join("");
|
|
@@ -55819,10 +55844,10 @@ Q`), Wt(je, !0), Ur({
|
|
|
55819
55844
|
je > Ze && (o = [Ze, je]);
|
|
55820
55845
|
break;
|
|
55821
55846
|
}
|
|
55822
|
-
dt(o), pn(to),
|
|
55847
|
+
dt(o), pn(to), xe(ai), Qr !== 0 && xe(Qr + " J"), Jr !== 0 && xe(Jr + " j"), se.publish("addPage", {
|
|
55823
55848
|
pageNumber: Gt
|
|
55824
55849
|
});
|
|
55825
|
-
},
|
|
55850
|
+
}, Ct = function(V) {
|
|
55826
55851
|
V > 0 && V <= Gt && (pe.splice(V, 1), ee.splice(V, 1), Gt--, Pe > Gt && (Pe = Gt), this.setPage(Pe));
|
|
55827
55852
|
}, Ot = function(V) {
|
|
55828
55853
|
V > 0 && V <= Gt && (Pe = V);
|
|
@@ -55830,66 +55855,66 @@ Q`), Wt(je, !0), Ur({
|
|
|
55830
55855
|
return pe.length - 1;
|
|
55831
55856
|
}, Ft = function(V, ve, Fe) {
|
|
55832
55857
|
var je = void 0, Ze;
|
|
55833
|
-
return Fe = Fe || {}, V = V !== void 0 ? V : gt[
|
|
55858
|
+
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
55859
|
}, ur = g.__private__.putInfo = function() {
|
|
55835
55860
|
var W = dr(), V = function(je) {
|
|
55836
55861
|
return je;
|
|
55837
55862
|
};
|
|
55838
|
-
f !== null && (V = Tr.encryptor(W, 0)),
|
|
55863
|
+
f !== null && (V = Tr.encryptor(W, 0)), xe("<<"), xe("/Producer (" + at(V("jsPDF " + jsPDF.version)) + ")");
|
|
55839
55864
|
for (var ve in Pt)
|
|
55840
|
-
Pt.hasOwnProperty(ve) && Pt[ve] &&
|
|
55841
|
-
|
|
55865
|
+
Pt.hasOwnProperty(ve) && Pt[ve] && xe("/" + ve.substr(0, 1).toUpperCase() + ve.substr(1) + " (" + at(V(Pt[ve])) + ")");
|
|
55866
|
+
xe("/CreationDate (" + at(V(J)) + ")"), xe(">>"), xe("endobj");
|
|
55842
55867
|
}, sr = g.__private__.putCatalog = function(W) {
|
|
55843
55868
|
W = W || {};
|
|
55844
55869
|
var V = W.rootDictionaryObjId || jt;
|
|
55845
|
-
switch (dr(),
|
|
55870
|
+
switch (dr(), xe("<<"), xe("/Type /Catalog"), xe("/Pages " + V + " 0 R"), Me || (Me = "fullwidth"), Me) {
|
|
55846
55871
|
case "fullwidth":
|
|
55847
|
-
|
|
55872
|
+
xe("/OpenAction [3 0 R /FitH null]");
|
|
55848
55873
|
break;
|
|
55849
55874
|
case "fullheight":
|
|
55850
|
-
|
|
55875
|
+
xe("/OpenAction [3 0 R /FitV null]");
|
|
55851
55876
|
break;
|
|
55852
55877
|
case "fullpage":
|
|
55853
|
-
|
|
55878
|
+
xe("/OpenAction [3 0 R /Fit]");
|
|
55854
55879
|
break;
|
|
55855
55880
|
case "original":
|
|
55856
|
-
|
|
55881
|
+
xe("/OpenAction [3 0 R /XYZ null null 1]");
|
|
55857
55882
|
break;
|
|
55858
55883
|
default:
|
|
55859
55884
|
var ve = "" + Me;
|
|
55860
|
-
ve.substr(ve.length - 1) === "%" && (Me = parseInt(Me) / 100), typeof Me == "number" &&
|
|
55885
|
+
ve.substr(ve.length - 1) === "%" && (Me = parseInt(Me) / 100), typeof Me == "number" && xe("/OpenAction [3 0 R /XYZ null null " + H(Me) + "]");
|
|
55861
55886
|
}
|
|
55862
55887
|
switch (_t || (_t = "continuous"), _t) {
|
|
55863
55888
|
case "continuous":
|
|
55864
|
-
|
|
55889
|
+
xe("/PageLayout /OneColumn");
|
|
55865
55890
|
break;
|
|
55866
55891
|
case "single":
|
|
55867
|
-
|
|
55892
|
+
xe("/PageLayout /SinglePage");
|
|
55868
55893
|
break;
|
|
55869
55894
|
case "two":
|
|
55870
55895
|
case "twoleft":
|
|
55871
|
-
|
|
55896
|
+
xe("/PageLayout /TwoColumnLeft");
|
|
55872
55897
|
break;
|
|
55873
55898
|
case "tworight":
|
|
55874
|
-
|
|
55899
|
+
xe("/PageLayout /TwoColumnRight");
|
|
55875
55900
|
break;
|
|
55876
55901
|
}
|
|
55877
|
-
ot &&
|
|
55902
|
+
ot && xe("/PageMode /" + ot), se.publish("putCatalog"), xe(">>"), xe("endobj");
|
|
55878
55903
|
}, Rr = g.__private__.putTrailer = function() {
|
|
55879
|
-
|
|
55904
|
+
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
55905
|
}, Pi = g.__private__.putHeader = function() {
|
|
55881
|
-
|
|
55906
|
+
xe("%PDF-" + y), xe("%ºß¬à");
|
|
55882
55907
|
}, $i = g.__private__.putXRef = function() {
|
|
55883
55908
|
var W = "0000000000";
|
|
55884
|
-
|
|
55909
|
+
xe("xref"), xe("0 " + (ne + 1)), xe("0000000000 65535 f ");
|
|
55885
55910
|
for (var V = 1; V <= ne; V++) {
|
|
55886
|
-
var ve =
|
|
55887
|
-
typeof ve == "function" ?
|
|
55911
|
+
var ve = Ce[V];
|
|
55912
|
+
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
55913
|
}
|
|
55889
55914
|
}, si = g.__private__.buildDocument = function() {
|
|
55890
55915
|
Te(), He(Ie), se.publish("buildDocument"), Pi(), Yr(), be(), Ae(), f !== null && Ji(), ur(), sr();
|
|
55891
55916
|
var W = we;
|
|
55892
|
-
return $i(), Rr(),
|
|
55917
|
+
return $i(), Rr(), xe("startxref"), xe("" + W), xe("%%EOF"), He(pe[Pe]), Ie.join(`
|
|
55893
55918
|
`);
|
|
55894
55919
|
}, wi = g.__private__.getBlob = function(W) {
|
|
55895
55920
|
return new Blob([he(W)], {
|
|
@@ -56039,7 +56064,7 @@ Q`), Wt(je, !0), Ur({
|
|
|
56039
56064
|
}
|
|
56040
56065
|
return this;
|
|
56041
56066
|
}, g.deletePage = function() {
|
|
56042
|
-
return
|
|
56067
|
+
return Ct.apply(this, arguments), this;
|
|
56043
56068
|
}, g.__private__.text = g.text = function(W, V, ve, Fe, je) {
|
|
56044
56069
|
Fe = Fe || {};
|
|
56045
56070
|
var Ze = Fe.scope || this, lt, pt, bt, It, Bt, Kt, ar, tr;
|
|
@@ -56061,8 +56086,8 @@ Q`), Wt(je, !0), Ur({
|
|
|
56061
56086
|
return vr = vr.split(" ").join(Array(Fe.TabLen || 9).join(" ")), at(vr, ar);
|
|
56062
56087
|
}
|
|
56063
56088
|
function lr(vr) {
|
|
56064
|
-
for (var Nr = vr.concat(), or = [], mr = Nr.length,
|
|
56065
|
-
|
|
56089
|
+
for (var Nr = vr.concat(), or = [], mr = Nr.length, xr; mr--; )
|
|
56090
|
+
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
56091
|
return or;
|
|
56067
56092
|
}
|
|
56068
56093
|
function Go(vr, Nr) {
|
|
@@ -56070,9 +56095,9 @@ Q`), Wt(je, !0), Ur({
|
|
|
56070
56095
|
if (typeof vr == "string")
|
|
56071
56096
|
or = Nr(vr)[0];
|
|
56072
56097
|
else if (Array.isArray(vr)) {
|
|
56073
|
-
for (var mr = vr.concat(),
|
|
56074
|
-
ui = mr.shift(), typeof ui == "string" ?
|
|
56075
|
-
or =
|
|
56098
|
+
for (var mr = vr.concat(), xr = [], Eo = mr.length, ui, Ii; Eo--; )
|
|
56099
|
+
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]]));
|
|
56100
|
+
or = xr;
|
|
56076
56101
|
}
|
|
56077
56102
|
return or;
|
|
56078
56103
|
}
|
|
@@ -56113,7 +56138,7 @@ Q`), Wt(je, !0), Ur({
|
|
|
56113
56138
|
options: Fe,
|
|
56114
56139
|
mutex: {
|
|
56115
56140
|
pdfEscape: at,
|
|
56116
|
-
activeFontKey:
|
|
56141
|
+
activeFontKey: xt,
|
|
56117
56142
|
fonts: gt,
|
|
56118
56143
|
activeFontSize: Ne
|
|
56119
56144
|
}
|
|
@@ -56166,7 +56191,7 @@ Q`), Wt(je, !0), Ur({
|
|
|
56166
56191
|
Er !== -1 ? _r += Er + ` Tr
|
|
56167
56192
|
` : Qo !== -1 && (_r += `0 Tr
|
|
56168
56193
|
`), Er !== -1 && (ji.usedRenderingMode = Er), It = Fe.align || "left";
|
|
56169
|
-
var To = Ne * Di, Hn = Ze.internal.pageSize.getWidth(), ao = gt[
|
|
56194
|
+
var To = Ne * Di, Hn = Ze.internal.pageSize.getWidth(), ao = gt[xt];
|
|
56170
56195
|
Bt = Fe.charSpace || ro, Kt = Fe.maxWidth || 0;
|
|
56171
56196
|
var Xr;
|
|
56172
56197
|
ar = Object.assign({
|
|
@@ -56176,7 +56201,7 @@ Q`), Wt(je, !0), Ur({
|
|
|
56176
56201
|
var Ei = [];
|
|
56177
56202
|
if (Object.prototype.toString.call(W) === "[object Array]") {
|
|
56178
56203
|
pt = lr(W);
|
|
56179
|
-
var
|
|
56204
|
+
var Ci;
|
|
56180
56205
|
It !== "left" && (Xr = pt.map(function(vr) {
|
|
56181
56206
|
return Ze.getStringUnitWidth(vr, {
|
|
56182
56207
|
font: ao,
|
|
@@ -56189,11 +56214,11 @@ Q`), Wt(je, !0), Ur({
|
|
|
56189
56214
|
if (It === "right") {
|
|
56190
56215
|
V -= Xr[0], W = [], Sr = pt.length;
|
|
56191
56216
|
for (var Wi = 0; Wi < Sr; Wi++)
|
|
56192
|
-
Wi === 0 ? (ci = Oi(V),
|
|
56217
|
+
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
56218
|
} else if (It === "center") {
|
|
56194
56219
|
V -= Xr[0] / 2, W = [], Sr = pt.length;
|
|
56195
56220
|
for (var Ui = 0; Ui < Sr; Ui++)
|
|
56196
|
-
Ui === 0 ? (ci = Oi(V),
|
|
56221
|
+
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
56222
|
} else if (It === "left") {
|
|
56198
56223
|
W = [], Sr = pt.length;
|
|
56199
56224
|
for (var Jo = 0; Jo < Sr; Jo++)
|
|
@@ -56201,7 +56226,7 @@ Q`), Wt(je, !0), Ur({
|
|
|
56201
56226
|
} else if (It === "justify") {
|
|
56202
56227
|
W = [], Sr = pt.length, Kt = Kt !== 0 ? Kt : Hn;
|
|
56203
56228
|
for (var di = 0; di < Sr; di++)
|
|
56204
|
-
|
|
56229
|
+
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
56230
|
} else
|
|
56206
56231
|
throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');
|
|
56207
56232
|
}
|
|
@@ -56215,20 +56240,20 @@ Q`), Wt(je, !0), Ur({
|
|
|
56215
56240
|
options: Fe,
|
|
56216
56241
|
mutex: {
|
|
56217
56242
|
pdfEscape: at,
|
|
56218
|
-
activeFontKey:
|
|
56243
|
+
activeFontKey: xt,
|
|
56219
56244
|
fonts: gt,
|
|
56220
56245
|
activeFontSize: Ne
|
|
56221
56246
|
}
|
|
56222
56247
|
}, se.publish("postProcessText", lt), W = lt.text, Vr = lt.mutex.isHex || !1;
|
|
56223
|
-
var Do = gt[
|
|
56248
|
+
var Do = gt[xt].encoding;
|
|
56224
56249
|
(Do === "WinAnsiEncoding" || Do === "StandardEncoding") && (W = Go(W, function(vr, Nr, or) {
|
|
56225
56250
|
return [_o(vr), Nr, or];
|
|
56226
56251
|
})), pt = lr(W), W = [];
|
|
56227
56252
|
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
|
-
`,
|
|
56253
|
+
var xr = "";
|
|
56254
|
+
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
|
|
56255
|
+
`) : xr = A(Nr) + " " + A(or) + ` Td
|
|
56256
|
+
`, xr;
|
|
56232
56257
|
}, qr = 0; qr < pt.length; qr++) {
|
|
56233
56258
|
switch (Fi = "", Zi) {
|
|
56234
56259
|
case Yi:
|
|
@@ -56247,18 +56272,18 @@ T* `) : W.join(` Tj
|
|
|
56247
56272
|
`;
|
|
56248
56273
|
var hi = `BT
|
|
56249
56274
|
/`;
|
|
56250
|
-
return hi +=
|
|
56275
|
+
return hi += xt + " " + Ne + ` Tf
|
|
56251
56276
|
`, hi += A(Ne * Di) + ` TL
|
|
56252
56277
|
`, hi += Ti + `
|
|
56253
|
-
`, hi += _r, hi += W, hi += "ET",
|
|
56278
|
+
`, hi += _r, hi += W, hi += "ET", xe(hi), m[xt] = !0, Ze;
|
|
56254
56279
|
};
|
|
56255
56280
|
var Fn = g.__private__.clip = g.clip = function(W) {
|
|
56256
|
-
return
|
|
56281
|
+
return xe(W === "evenodd" ? "W*" : "W"), this;
|
|
56257
56282
|
};
|
|
56258
56283
|
g.clipEvenOdd = function() {
|
|
56259
56284
|
return Fn("evenodd");
|
|
56260
56285
|
}, g.__private__.discardPath = g.discardPath = function() {
|
|
56261
|
-
return
|
|
56286
|
+
return xe("n"), this;
|
|
56262
56287
|
};
|
|
56263
56288
|
var Gr = g.__private__.isValidStyle = function(W) {
|
|
56264
56289
|
var V = [void 0, null, "S", "D", "F", "DF", "FD", "f", "f*", "B", "B*", "n"], ve = !1;
|
|
@@ -56290,10 +56315,10 @@ T* `) : W.join(` Tj
|
|
|
56290
56315
|
}
|
|
56291
56316
|
return V;
|
|
56292
56317
|
}, un = g.close = function() {
|
|
56293
|
-
return
|
|
56318
|
+
return xe("h"), this;
|
|
56294
56319
|
};
|
|
56295
56320
|
g.stroke = function() {
|
|
56296
|
-
return
|
|
56321
|
+
return xe("S"), this;
|
|
56297
56322
|
}, g.fill = function(W) {
|
|
56298
56323
|
return mo("f", W), this;
|
|
56299
56324
|
}, g.fillEvenOdd = function(W) {
|
|
@@ -56304,9 +56329,9 @@ T* `) : W.join(` Tj
|
|
|
56304
56329
|
return mo("B*", W), this;
|
|
56305
56330
|
};
|
|
56306
56331
|
var mo = function(V, ve) {
|
|
56307
|
-
_typeof(ve) === "object" ? In(ve, V) :
|
|
56332
|
+
_typeof(ve) === "object" ? In(ve, V) : xe(V);
|
|
56308
56333
|
}, Uo = function(V) {
|
|
56309
|
-
V === null || D === _.ADVANCED && V === void 0 || (V = hn(V),
|
|
56334
|
+
V === null || D === _.ADVANCED && V === void 0 || (V = hn(V), xe(V));
|
|
56310
56335
|
};
|
|
56311
56336
|
function Ht(W, V, ve, Fe, je) {
|
|
56312
56337
|
var Ze = new TilingPattern(V || this.boundingBox, ve || this.xStep, Fe || this.yStep, this.gState, je || this.matrix);
|
|
@@ -56317,10 +56342,10 @@ T* `) : W.join(` Tj
|
|
|
56317
56342
|
var In = function(V, ve) {
|
|
56318
56343
|
var Fe = Qt[V.key], je = St[Fe];
|
|
56319
56344
|
if (je instanceof ShadingPattern)
|
|
56320
|
-
|
|
56345
|
+
xe("q"), xe(An(ve)), je.gState && g.setGState(je.gState), xe(V.matrix.toString() + " cm"), xe("/" + Fe + " sh"), xe("Q");
|
|
56321
56346
|
else if (je instanceof TilingPattern) {
|
|
56322
56347
|
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),
|
|
56348
|
+
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
56349
|
}
|
|
56325
56350
|
}, An = function(V) {
|
|
56326
56351
|
switch (V) {
|
|
@@ -56341,11 +56366,11 @@ T* `) : W.join(` Tj
|
|
|
56341
56366
|
return "W n";
|
|
56342
56367
|
}
|
|
56343
56368
|
}, Yo = g.moveTo = function(W, V) {
|
|
56344
|
-
return
|
|
56369
|
+
return xe(A(j(W)) + " " + A(z(V)) + " m"), this;
|
|
56345
56370
|
}, fn = g.lineTo = function(W, V) {
|
|
56346
|
-
return
|
|
56371
|
+
return xe(A(j(W)) + " " + A(z(V)) + " l"), this;
|
|
56347
56372
|
}, ki = g.curveTo = function(W, V, ve, Fe, je, Ze) {
|
|
56348
|
-
return
|
|
56373
|
+
return xe([A(j(W)), A(z(V)), A(j(ve)), A(z(Fe)), A(j(je)), A(z(Ze)), "c"].join(" ")), this;
|
|
56349
56374
|
};
|
|
56350
56375
|
g.__private__.line = g.line = function(W, V, ve, Fe, je) {
|
|
56351
56376
|
if (isNaN(W) || isNaN(V) || isNaN(ve) || isNaN(Fe) || !Gr(je))
|
|
@@ -56380,7 +56405,7 @@ T* `) : W.join(` Tj
|
|
|
56380
56405
|
}, g.__private__.rect = g.rect = function(W, V, ve, Fe, je) {
|
|
56381
56406
|
if (isNaN(W) || isNaN(V) || isNaN(ve) || isNaN(Fe) || !Gr(je))
|
|
56382
56407
|
throw new Error("Invalid arguments passed to jsPDF.rect");
|
|
56383
|
-
return D === _.COMPAT && (Fe = -Fe),
|
|
56408
|
+
return D === _.COMPAT && (Fe = -Fe), xe([A(j(W)), A(z(V)), A(j(ve)), A(j(Fe)), "re"].join(" ")), Uo(je), this;
|
|
56384
56409
|
}, g.__private__.triangle = g.triangle = function(W, V, ve, Fe, je, Ze, lt) {
|
|
56385
56410
|
if (isNaN(W) || isNaN(V) || isNaN(ve) || isNaN(Fe) || isNaN(je) || isNaN(Ze) || !Gr(lt))
|
|
56386
56411
|
throw new Error("Invalid arguments passed to jsPDF.triangle");
|
|
@@ -56423,7 +56448,7 @@ T* `) : W.join(` Tj
|
|
|
56423
56448
|
throw new Error("Invalid arguments passed to jsPDF.circle");
|
|
56424
56449
|
return this.ellipse(W, V, ve, ve, Fe);
|
|
56425
56450
|
}, g.setFont = function(W, V, ve) {
|
|
56426
|
-
return ve && (V = I(V, ve)),
|
|
56451
|
+
return ve && (V = I(V, ve)), xt = Ft(W, V, {
|
|
56427
56452
|
disableWarning: !1
|
|
56428
56453
|
}), this;
|
|
56429
56454
|
};
|
|
@@ -56446,14 +56471,14 @@ T* `) : W.join(` Tj
|
|
|
56446
56471
|
var to = a.lineWidth || 0.200025, Ln = g.__private__.getLineWidth = g.getLineWidth = function() {
|
|
56447
56472
|
return to;
|
|
56448
56473
|
}, pn = g.__private__.setLineWidth = g.setLineWidth = function(W) {
|
|
56449
|
-
return to = W,
|
|
56474
|
+
return to = W, xe(A(j(W)) + " w"), this;
|
|
56450
56475
|
};
|
|
56451
56476
|
g.__private__.setLineDash = jsPDF.API.setLineDash = jsPDF.API.setLineDashPattern = function(W, V) {
|
|
56452
56477
|
if (W = W || [], V = V || 0, isNaN(V) || !Array.isArray(W))
|
|
56453
56478
|
throw new Error("Invalid arguments passed to jsPDF.setLineDash");
|
|
56454
56479
|
return W = W.map(function(ve) {
|
|
56455
56480
|
return A(j(ve));
|
|
56456
|
-
}).join(" "), V = A(j(V)),
|
|
56481
|
+
}).join(" "), V = A(j(V)), xe("[" + W + "] " + V + " d"), this;
|
|
56457
56482
|
};
|
|
56458
56483
|
var Hi, Mn = g.__private__.getLineHeight = g.getLineHeight = function() {
|
|
56459
56484
|
return Ne * Hi;
|
|
@@ -56476,7 +56501,7 @@ T* `) : W.join(` Tj
|
|
|
56476
56501
|
return V - j(W);
|
|
56477
56502
|
}, gr = g.__private__.getHorizontalCoordinateString = g.getHorizontalCoordinateString = function(W) {
|
|
56478
56503
|
return A(Oi(W));
|
|
56479
|
-
},
|
|
56504
|
+
}, xi = g.__private__.getVerticalCoordinateString = g.getVerticalCoordinateString = function(W) {
|
|
56480
56505
|
return A(Ni(W));
|
|
56481
56506
|
}, ai = a.strokeColor || "0 G";
|
|
56482
56507
|
g.__private__.getStrokeColor = g.getDrawColor = function() {
|
|
@@ -56490,7 +56515,7 @@ T* `) : W.join(` Tj
|
|
|
56490
56515
|
pdfColorType: "draw",
|
|
56491
56516
|
precision: 2
|
|
56492
56517
|
};
|
|
56493
|
-
return ai = pr(je),
|
|
56518
|
+
return ai = pr(je), xe(ai), this;
|
|
56494
56519
|
};
|
|
56495
56520
|
var vo = a.fillColor || "0 g";
|
|
56496
56521
|
g.__private__.getFillColor = g.getFillColor = function() {
|
|
@@ -56504,7 +56529,7 @@ T* `) : W.join(` Tj
|
|
|
56504
56529
|
pdfColorType: "fill",
|
|
56505
56530
|
precision: 2
|
|
56506
56531
|
};
|
|
56507
|
-
return vo = pr(je),
|
|
56532
|
+
return vo = pr(je), xe(vo), this;
|
|
56508
56533
|
};
|
|
56509
56534
|
var Ti = a.textColor || "0 g", gn = g.__private__.getTextColor = g.getTextColor = function() {
|
|
56510
56535
|
return nr(Ti);
|
|
@@ -56547,20 +56572,20 @@ T* `) : W.join(` Tj
|
|
|
56547
56572
|
var V = g.CapJoinStyles[W];
|
|
56548
56573
|
if (V === void 0)
|
|
56549
56574
|
throw new Error("Line cap style of '" + W + "' is not recognized. See or extend .CapJoinStyles property for valid styles");
|
|
56550
|
-
return Qr = V,
|
|
56575
|
+
return Qr = V, xe(V + " J"), this;
|
|
56551
56576
|
};
|
|
56552
56577
|
var Jr = 0;
|
|
56553
56578
|
g.__private__.setLineJoin = g.setLineJoin = function(W) {
|
|
56554
56579
|
var V = g.CapJoinStyles[W];
|
|
56555
56580
|
if (V === void 0)
|
|
56556
56581
|
throw new Error("Line join style of '" + W + "' is not recognized. See or extend .CapJoinStyles property for valid styles");
|
|
56557
|
-
return Jr = V,
|
|
56582
|
+
return Jr = V, xe(V + " j"), this;
|
|
56558
56583
|
}, g.__private__.setLineMiterLimit = g.__private__.setMiterLimit = g.setLineMiterLimit = g.setMiterLimit = function(W) {
|
|
56559
56584
|
if (W = W || 0, isNaN(W))
|
|
56560
56585
|
throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");
|
|
56561
|
-
return
|
|
56586
|
+
return xe(A(j(W)) + " M"), this;
|
|
56562
56587
|
}, g.GState = GState, g.setGState = function(W) {
|
|
56563
|
-
typeof W == "string" ? W = Mt[rr[W]] : W = Si(null, W), W.equals(
|
|
56588
|
+
typeof W == "string" ? W = Mt[rr[W]] : W = Si(null, W), W.equals(Cr) || (xe("/" + W.id + " gs"), Cr = W);
|
|
56564
56589
|
};
|
|
56565
56590
|
var Si = function(V, ve) {
|
|
56566
56591
|
if (!(V && rr[V])) {
|
|
@@ -56582,19 +56607,19 @@ T* `) : W.join(` Tj
|
|
|
56582
56607
|
g.addGState = function(W, V) {
|
|
56583
56608
|
return Si(W, V), this;
|
|
56584
56609
|
}, g.saveGraphicsState = function() {
|
|
56585
|
-
return
|
|
56586
|
-
key:
|
|
56610
|
+
return xe("q"), At.push({
|
|
56611
|
+
key: xt,
|
|
56587
56612
|
size: Ne,
|
|
56588
56613
|
color: Ti
|
|
56589
56614
|
}), this;
|
|
56590
56615
|
}, g.restoreGraphicsState = function() {
|
|
56591
|
-
|
|
56616
|
+
xe("Q");
|
|
56592
56617
|
var W = At.pop();
|
|
56593
|
-
return
|
|
56618
|
+
return xt = W.key, Ne = W.size, Ti = W.color, Cr = null, this;
|
|
56594
56619
|
}, g.setCurrentTransformationMatrix = function(W) {
|
|
56595
|
-
return
|
|
56620
|
+
return xe(W.toString() + " cm"), this;
|
|
56596
56621
|
}, g.comment = function(W) {
|
|
56597
|
-
return
|
|
56622
|
+
return xe("#" + W), this;
|
|
56598
56623
|
};
|
|
56599
56624
|
var Or = function(V, ve) {
|
|
56600
56625
|
var Fe = V || 0;
|
|
@@ -56653,7 +56678,7 @@ T* `) : W.join(` Tj
|
|
|
56653
56678
|
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
56679
|
};
|
|
56655
56680
|
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),
|
|
56681
|
+
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
56682
|
};
|
|
56658
56683
|
var yn = function(V, ve, Fe, je, Ze) {
|
|
56659
56684
|
Dt.push(new io()), Gt = Pe = 0, pe = [], Ut = V, Jt = ve, ir = Ze, dt([Fe, je]);
|
|
@@ -56671,7 +56696,7 @@ T* `) : W.join(` Tj
|
|
|
56671
56696
|
return kn(W), this;
|
|
56672
56697
|
}, g.doFormObject = function(W, V) {
|
|
56673
56698
|
var ve = Ue[Ge[W]];
|
|
56674
|
-
return
|
|
56699
|
+
return xe("q"), xe(V.toString() + " cm"), xe("/" + ve.id + " Do"), xe("Q"), this;
|
|
56675
56700
|
}, g.getFormObject = function(W) {
|
|
56676
56701
|
var V = Ue[Ge[W]];
|
|
56677
56702
|
return {
|
|
@@ -56691,19 +56716,19 @@ T* `) : W.join(` Tj
|
|
|
56691
56716
|
}
|
|
56692
56717
|
});
|
|
56693
56718
|
};
|
|
56694
|
-
for (var
|
|
56695
|
-
jsPDF.API.hasOwnProperty(
|
|
56719
|
+
for (var xo in jsPDF.API)
|
|
56720
|
+
jsPDF.API.hasOwnProperty(xo) && (xo === "events" && jsPDF.API.events.length ? function(W, V) {
|
|
56696
56721
|
var ve, Fe, je;
|
|
56697
56722
|
for (je = V.length - 1; je !== -1; je--)
|
|
56698
56723
|
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[
|
|
56724
|
+
}(se, jsPDF.API.events) : g[xo] = jsPDF.API[xo]);
|
|
56700
56725
|
var Bi = g.getPageWidth = function(W) {
|
|
56701
56726
|
return W = W || Pe, (ee[W].mediaBox.topRightX - ee[W].mediaBox.bottomLeftX) / Rt;
|
|
56702
56727
|
}, oo = g.setPageWidth = function(W, V) {
|
|
56703
56728
|
ee[W].mediaBox.topRightX = V * Rt + ee[W].mediaBox.bottomLeftX;
|
|
56704
56729
|
}, zi = g.getPageHeight = function(W) {
|
|
56705
56730
|
return W = W || Pe, (ee[W].mediaBox.topRightY - ee[W].mediaBox.bottomLeftY) / Rt;
|
|
56706
|
-
},
|
|
56731
|
+
}, Co = g.setPageHeight = function(W, V) {
|
|
56707
56732
|
ee[W].mediaBox.topRightY = V * Rt + ee[W].mediaBox.bottomLeftY;
|
|
56708
56733
|
};
|
|
56709
56734
|
return g.internal = {
|
|
@@ -56720,7 +56745,7 @@ T* `) : W.join(` Tj
|
|
|
56720
56745
|
getHorizontalCoordinate: Oi,
|
|
56721
56746
|
getVerticalCoordinate: Ni,
|
|
56722
56747
|
getCoordinateString: gr,
|
|
56723
|
-
getVerticalCoordinateString:
|
|
56748
|
+
getVerticalCoordinateString: xi,
|
|
56724
56749
|
collections: {},
|
|
56725
56750
|
newObject: dr,
|
|
56726
56751
|
newAdditionalObject: hr,
|
|
@@ -56741,7 +56766,7 @@ T* `) : W.join(` Tj
|
|
|
56741
56766
|
return zi(Pe);
|
|
56742
56767
|
},
|
|
56743
56768
|
setHeight: function(V) {
|
|
56744
|
-
|
|
56769
|
+
Co(Pe, V);
|
|
56745
56770
|
}
|
|
56746
56771
|
},
|
|
56747
56772
|
encryptionOptions: f,
|
|
@@ -56750,7 +56775,7 @@ T* `) : W.join(` Tj
|
|
|
56750
56775
|
output: cn,
|
|
56751
56776
|
getNumberOfPages: Yt,
|
|
56752
56777
|
pages: pe,
|
|
56753
|
-
out:
|
|
56778
|
+
out: xe,
|
|
56754
56779
|
f2: H,
|
|
56755
56780
|
f3: O,
|
|
56756
56781
|
getPageInfo: dn,
|
|
@@ -56776,11 +56801,11 @@ T* `) : W.join(` Tj
|
|
|
56776
56801
|
return zi(Pe);
|
|
56777
56802
|
},
|
|
56778
56803
|
set: function(V) {
|
|
56779
|
-
|
|
56804
|
+
Co(Pe, V);
|
|
56780
56805
|
},
|
|
56781
56806
|
enumerable: !0,
|
|
56782
56807
|
configurable: !0
|
|
56783
|
-
}), Re.call(g, $),
|
|
56808
|
+
}), Re.call(g, $), xt = "F1", ft(o, t), se.publish("initialized"), g;
|
|
56784
56809
|
}
|
|
56785
56810
|
jsPDF.API = {
|
|
56786
56811
|
events: []
|
|
@@ -58318,11 +58343,11 @@ jsPDF.AcroForm;
|
|
|
58318
58343
|
key: "SMask",
|
|
58319
58344
|
value: G.objectId + 1 + " 0 R"
|
|
58320
58345
|
});
|
|
58321
|
-
var
|
|
58346
|
+
var Ce = typeof G.filter < "u" ? ["/" + G.filter] : void 0;
|
|
58322
58347
|
if (le({
|
|
58323
58348
|
data: G.data,
|
|
58324
58349
|
additionalKeyValues: ge,
|
|
58325
|
-
alreadyAppliedFilters:
|
|
58350
|
+
alreadyAppliedFilters: Ce,
|
|
58326
58351
|
objectId: G.objectId
|
|
58327
58352
|
}), J("endobj"), "sMask" in G && typeof G.sMask < "u") {
|
|
58328
58353
|
var Ie = "/Predictor " + G.predictor + " /Colors 1 /BitsPerComponent " + G.bitsPerComponent + " /Columns " + G.width, we = {
|
|
@@ -58405,8 +58430,8 @@ jsPDF.AcroForm;
|
|
|
58405
58430
|
}, D = function(G, J, le) {
|
|
58406
58431
|
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
58432
|
}, 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],
|
|
58433
|
+
var ue = D.call(this, le, ye, ie), Q = this.internal.getCoordinateString, ne = this.internal.getVerticalCoordinateString, Ce = p.call(this);
|
|
58434
|
+
if (le = ue[0], ye = ue[1], Ce[ie.index] = ie, ie.exifdata && ie.exifdata.Orientation && (ge = {
|
|
58410
58435
|
6: 270,
|
|
58411
58436
|
8: 90,
|
|
58412
58437
|
// 5: 180,
|
|
@@ -58499,8 +58524,8 @@ jsPDF.AcroForm;
|
|
|
58499
58524
|
var ne = Y;
|
|
58500
58525
|
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
58526
|
}
|
|
58502
|
-
var
|
|
58503
|
-
if (ue === void 0 &&
|
|
58527
|
+
var Ce = this.internal.getFilters();
|
|
58528
|
+
if (ue === void 0 && Ce.indexOf("FlateEncode") !== -1 && (ue = "SLOW"), ue = "SLOW", isNaN(J) || isNaN(le))
|
|
58504
58529
|
throw new Error("Invalid coordinates passed to jsPDF.addImage");
|
|
58505
58530
|
f.call(this);
|
|
58506
58531
|
var Ie = z.call(this, Y, G, ge, ue);
|
|
@@ -59410,8 +59435,8 @@ function parseFontFamily(a) {
|
|
|
59410
59435
|
Q = Q || {}, this.isStrokeTransparent = Q.isStrokeTransparent || !1;
|
|
59411
59436
|
var ne = Q.strokeOpacity || 1;
|
|
59412
59437
|
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
|
-
|
|
59438
|
+
var Ce = Q.fillOpacity || 1;
|
|
59439
|
+
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
59440
|
var Ie = Q.globalAlpha || 1;
|
|
59416
59441
|
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
59442
|
}, r, o, n, s, l, c, d, u, f;
|
|
@@ -59433,13 +59458,13 @@ function parseFontFamily(a) {
|
|
|
59433
59458
|
return ne;
|
|
59434
59459
|
}
|
|
59435
59460
|
});
|
|
59436
|
-
var
|
|
59461
|
+
var Ce = !1;
|
|
59437
59462
|
Object.defineProperty(this, "pageWrapXEnabled", {
|
|
59438
59463
|
get: function() {
|
|
59439
|
-
return
|
|
59464
|
+
return Ce;
|
|
59440
59465
|
},
|
|
59441
59466
|
set: function($) {
|
|
59442
|
-
|
|
59467
|
+
Ce = !!$;
|
|
59443
59468
|
}
|
|
59444
59469
|
});
|
|
59445
59470
|
var Ie = !1;
|
|
@@ -59598,12 +59623,12 @@ function parseFontFamily(a) {
|
|
|
59598
59623
|
var Te = null;
|
|
59599
59624
|
function He(he, $) {
|
|
59600
59625
|
if (Te === null) {
|
|
59601
|
-
var Ne = he.getFontList(), Be =
|
|
59626
|
+
var Ne = he.getFontList(), Be = xe(Ne);
|
|
59602
59627
|
Te = buildFontFaceMap(Be.concat($));
|
|
59603
59628
|
}
|
|
59604
59629
|
return Te;
|
|
59605
59630
|
}
|
|
59606
|
-
function
|
|
59631
|
+
function xe(he) {
|
|
59607
59632
|
var $ = [];
|
|
59608
59633
|
return Object.keys(he).forEach(function(Ne) {
|
|
59609
59634
|
var Be = he[Ne];
|
|
@@ -59682,8 +59707,8 @@ function parseFontFamily(a) {
|
|
|
59682
59707
|
this.pdf.setFont(Tt.ref.name, Tt.ref.style);
|
|
59683
59708
|
return;
|
|
59684
59709
|
}
|
|
59685
|
-
var
|
|
59686
|
-
(Me === "bold" || parseInt(Me, 10) >= 700 || Qe === "bold") && (
|
|
59710
|
+
var xt = "";
|
|
59711
|
+
(Me === "bold" || parseInt(Me, 10) >= 700 || Qe === "bold") && (xt = "bold"), Qe === "italic" && (xt += "italic"), xt.length === 0 && (xt = "normal");
|
|
59687
59712
|
for (var At = "", St = {
|
|
59688
59713
|
arial: "Helvetica",
|
|
59689
59714
|
Arial: "Helvetica",
|
|
@@ -59699,22 +59724,22 @@ function parseFontFamily(a) {
|
|
|
59699
59724
|
fantasy: "Times",
|
|
59700
59725
|
serif: "Times"
|
|
59701
59726
|
}, Qt = 0; Qt < mt.length; Qt++)
|
|
59702
|
-
if (this.pdf.internal.getFont(mt[Qt],
|
|
59727
|
+
if (this.pdf.internal.getFont(mt[Qt], xt, {
|
|
59703
59728
|
noFallback: !0,
|
|
59704
59729
|
disableWarning: !0
|
|
59705
59730
|
}) !== void 0) {
|
|
59706
59731
|
At = mt[Qt];
|
|
59707
59732
|
break;
|
|
59708
|
-
} else if (
|
|
59733
|
+
} else if (xt === "bolditalic" && this.pdf.internal.getFont(mt[Qt], "bold", {
|
|
59709
59734
|
noFallback: !0,
|
|
59710
59735
|
disableWarning: !0
|
|
59711
59736
|
}) !== void 0)
|
|
59712
|
-
At = mt[Qt],
|
|
59737
|
+
At = mt[Qt], xt = "bold";
|
|
59713
59738
|
else if (this.pdf.internal.getFont(mt[Qt], "normal", {
|
|
59714
59739
|
noFallback: !0,
|
|
59715
59740
|
disableWarning: !0
|
|
59716
59741
|
}) !== void 0) {
|
|
59717
|
-
At = mt[Qt],
|
|
59742
|
+
At = mt[Qt], xt = "normal";
|
|
59718
59743
|
break;
|
|
59719
59744
|
}
|
|
59720
59745
|
if (At === "") {
|
|
@@ -59724,7 +59749,7 @@ function parseFontFamily(a) {
|
|
|
59724
59749
|
break;
|
|
59725
59750
|
}
|
|
59726
59751
|
}
|
|
59727
|
-
At = At === "" ? "Times" : At, this.pdf.setFont(At,
|
|
59752
|
+
At = At === "" ? "Times" : At, this.pdf.setFont(At, xt);
|
|
59728
59753
|
}
|
|
59729
59754
|
}), Object.defineProperty(this, "globalCompositeOperation", {
|
|
59730
59755
|
get: function() {
|
|
@@ -59811,10 +59836,10 @@ function parseFontFamily(a) {
|
|
|
59811
59836
|
}), this.ctx.lastPoint = new c(ne.x, ne.y);
|
|
59812
59837
|
}, p.prototype.clip = function() {
|
|
59813
59838
|
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(
|
|
59839
|
+
}, p.prototype.quadraticCurveTo = function(ue, Q, ne, Ce) {
|
|
59840
|
+
if (isNaN(ne) || isNaN(Ce) || isNaN(ue) || isNaN(Q))
|
|
59816
59841
|
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,
|
|
59842
|
+
var Ie = this.ctx.transform.applyToPoint(new c(ne, Ce)), we = this.ctx.transform.applyToPoint(new c(ue, Q));
|
|
59818
59843
|
this.path.push({
|
|
59819
59844
|
type: "qct",
|
|
59820
59845
|
x1: we.x,
|
|
@@ -59822,10 +59847,10 @@ function parseFontFamily(a) {
|
|
|
59822
59847
|
x: Ie.x,
|
|
59823
59848
|
y: Ie.y
|
|
59824
59849
|
}), 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(
|
|
59850
|
+
}, p.prototype.bezierCurveTo = function(ue, Q, ne, Ce, Ie, we) {
|
|
59851
|
+
if (isNaN(Ie) || isNaN(we) || isNaN(ue) || isNaN(Q) || isNaN(ne) || isNaN(Ce))
|
|
59827
59852
|
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,
|
|
59853
|
+
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
59854
|
this.path.push({
|
|
59830
59855
|
type: "bct",
|
|
59831
59856
|
x1: pe.x,
|
|
@@ -59835,8 +59860,8 @@ function parseFontFamily(a) {
|
|
|
59835
59860
|
x: _e.x,
|
|
59836
59861
|
y: _e.y
|
|
59837
59862
|
}), 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(
|
|
59863
|
+
}, p.prototype.arc = function(ue, Q, ne, Ce, Ie, we) {
|
|
59864
|
+
if (isNaN(ue) || isNaN(Q) || isNaN(ne) || isNaN(Ce) || isNaN(Ie))
|
|
59840
59865
|
throw console$1.error("jsPDF.context2d.arc: Invalid arguments", arguments), new Error("Invalid arguments passed to jsPDF.context2d.arc");
|
|
59841
59866
|
if (we = !!we, !this.ctx.transform.isIdentity) {
|
|
59842
59867
|
var _e = this.ctx.transform.applyToPoint(new c(ue, Q));
|
|
@@ -59844,44 +59869,44 @@ function parseFontFamily(a) {
|
|
|
59844
59869
|
var pe = this.ctx.transform.applyToPoint(new c(0, ne)), Pe = this.ctx.transform.applyToPoint(new c(0, 0));
|
|
59845
59870
|
ne = Math.sqrt(Math.pow(pe.x - Pe.x, 2) + Math.pow(pe.y - Pe.y, 2));
|
|
59846
59871
|
}
|
|
59847
|
-
Math.abs(Ie -
|
|
59872
|
+
Math.abs(Ie - Ce) >= 2 * Math.PI && (Ce = 0, Ie = 2 * Math.PI), this.path.push({
|
|
59848
59873
|
type: "arc",
|
|
59849
59874
|
x: ue,
|
|
59850
59875
|
y: Q,
|
|
59851
59876
|
radius: ne,
|
|
59852
|
-
startAngle:
|
|
59877
|
+
startAngle: Ce,
|
|
59853
59878
|
endAngle: Ie,
|
|
59854
59879
|
counterclockwise: we
|
|
59855
59880
|
});
|
|
59856
|
-
}, p.prototype.arcTo = function(ue, Q, ne,
|
|
59881
|
+
}, p.prototype.arcTo = function(ue, Q, ne, Ce, Ie) {
|
|
59857
59882
|
throw new Error("arcTo not implemented.");
|
|
59858
|
-
}, p.prototype.rect = function(ue, Q, ne,
|
|
59859
|
-
if (isNaN(ue) || isNaN(Q) || isNaN(ne) || isNaN(
|
|
59883
|
+
}, p.prototype.rect = function(ue, Q, ne, Ce) {
|
|
59884
|
+
if (isNaN(ue) || isNaN(Q) || isNaN(ne) || isNaN(Ce))
|
|
59860
59885
|
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(
|
|
59886
|
+
this.moveTo(ue, Q), this.lineTo(ue + ne, Q), this.lineTo(ue + ne, Q + Ce), this.lineTo(ue, Q + Ce), this.lineTo(ue, Q);
|
|
59887
|
+
}, p.prototype.fillRect = function(ue, Q, ne, Ce) {
|
|
59888
|
+
if (isNaN(ue) || isNaN(Q) || isNaN(ne) || isNaN(Ce))
|
|
59864
59889
|
throw console$1.error("jsPDF.context2d.fillRect: Invalid arguments", arguments), new Error("Invalid arguments passed to jsPDF.context2d.fillRect");
|
|
59865
59890
|
if (!g.call(this)) {
|
|
59866
59891
|
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,
|
|
59892
|
+
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
59893
|
}
|
|
59869
|
-
}, p.prototype.strokeRect = function(Q, ne,
|
|
59870
|
-
if (isNaN(Q) || isNaN(ne) || isNaN(
|
|
59894
|
+
}, p.prototype.strokeRect = function(Q, ne, Ce, Ie) {
|
|
59895
|
+
if (isNaN(Q) || isNaN(ne) || isNaN(Ce) || isNaN(Ie))
|
|
59871
59896
|
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(
|
|
59897
|
+
y.call(this) || (this.beginPath(), this.rect(Q, ne, Ce, Ie), this.stroke());
|
|
59898
|
+
}, p.prototype.clearRect = function(ue, Q, ne, Ce) {
|
|
59899
|
+
if (isNaN(ue) || isNaN(Q) || isNaN(ne) || isNaN(Ce))
|
|
59875
59900
|
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,
|
|
59901
|
+
this.ignoreClearRect || (this.fillStyle = "#ffffff", this.fillRect(ue, Q, ne, Ce));
|
|
59877
59902
|
}, p.prototype.save = function(ue) {
|
|
59878
59903
|
ue = typeof ue == "boolean" ? ue : !0;
|
|
59879
59904
|
for (var Q = this.pdf.internal.getCurrentPageInfo().pageNumber, ne = 0; ne < this.pdf.internal.getNumberOfPages(); ne++)
|
|
59880
59905
|
this.pdf.setPage(ne + 1), this.pdf.internal.out("q");
|
|
59881
59906
|
if (this.pdf.setPage(Q), ue) {
|
|
59882
59907
|
this.ctx.fontSize = this.pdf.internal.getFontSize();
|
|
59883
|
-
var
|
|
59884
|
-
this.ctxStack.push(this.ctx), this.ctx =
|
|
59908
|
+
var Ce = new t(this.ctx);
|
|
59909
|
+
this.ctxStack.push(this.ctx), this.ctx = Ce;
|
|
59885
59910
|
}
|
|
59886
59911
|
}, p.prototype.restore = function(ue) {
|
|
59887
59912
|
ue = typeof ue == "boolean" ? ue : !0;
|
|
@@ -59892,7 +59917,7 @@ function parseFontFamily(a) {
|
|
|
59892
59917
|
throw new Error("toDataUrl not implemented.");
|
|
59893
59918
|
};
|
|
59894
59919
|
var m = function(Q) {
|
|
59895
|
-
var ne = /rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/,
|
|
59920
|
+
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
59921
|
if (Q.isCanvasGradient === !0 && (Q = Q.getColor()), !Q)
|
|
59897
59922
|
return {
|
|
59898
59923
|
r: 0,
|
|
@@ -59907,7 +59932,7 @@ function parseFontFamily(a) {
|
|
|
59907
59932
|
var Se = ne.exec(Q);
|
|
59908
59933
|
if (Se !== null)
|
|
59909
59934
|
we = parseInt(Se[1]), _e = parseInt(Se[2]), pe = parseInt(Se[3]), Pe = 1;
|
|
59910
|
-
else if (Se =
|
|
59935
|
+
else if (Se = Ce.exec(Q), Se !== null)
|
|
59911
59936
|
we = parseInt(Se[1]), _e = parseInt(Se[2]), pe = parseInt(Se[3]), Pe = parseFloat(Se[4]);
|
|
59912
59937
|
else {
|
|
59913
59938
|
if (Pe = 1, typeof Q == "string" && Q.charAt(0) !== "#") {
|
|
@@ -59929,10 +59954,10 @@ function parseFontFamily(a) {
|
|
|
59929
59954
|
}, y = function() {
|
|
59930
59955
|
return !!(this.ctx.isStrokeTransparent || this.globalAlpha == 0);
|
|
59931
59956
|
};
|
|
59932
|
-
p.prototype.fillText = function(ue, Q, ne,
|
|
59957
|
+
p.prototype.fillText = function(ue, Q, ne, Ce) {
|
|
59933
59958
|
if (isNaN(Q) || isNaN(ne) || typeof ue != "string")
|
|
59934
59959
|
throw console$1.error("jsPDF.context2d.fillText: Invalid arguments", arguments), new Error("Invalid arguments passed to jsPDF.context2d.fillText");
|
|
59935
|
-
if (
|
|
59960
|
+
if (Ce = isNaN(Ce) ? void 0 : Ce, !g.call(this)) {
|
|
59936
59961
|
var Ie = J(this.ctx.transform.rotation), we = this.ctx.transform.scaleX, _e = this.letterSpacing ? parseFloat(this.letterSpacing) : 0;
|
|
59937
59962
|
this.font.indexOf("SimSun") >= 0 && this.font.indexOf("bold") >= 0 ? j.call(this, {
|
|
59938
59963
|
text: ue,
|
|
@@ -59941,7 +59966,7 @@ function parseFontFamily(a) {
|
|
|
59941
59966
|
scale: we,
|
|
59942
59967
|
angle: Ie,
|
|
59943
59968
|
align: this.textAlign,
|
|
59944
|
-
maxWidth:
|
|
59969
|
+
maxWidth: Ce,
|
|
59945
59970
|
// renderingMode: "fillThenStroke",
|
|
59946
59971
|
charSpace: _e,
|
|
59947
59972
|
bold: !0
|
|
@@ -59952,15 +59977,15 @@ function parseFontFamily(a) {
|
|
|
59952
59977
|
scale: we,
|
|
59953
59978
|
angle: Ie,
|
|
59954
59979
|
align: this.textAlign,
|
|
59955
|
-
maxWidth:
|
|
59980
|
+
maxWidth: Ce,
|
|
59956
59981
|
charSpace: _e
|
|
59957
59982
|
});
|
|
59958
59983
|
}
|
|
59959
|
-
}, p.prototype.strokeText = function(ue, Q, ne,
|
|
59984
|
+
}, p.prototype.strokeText = function(ue, Q, ne, Ce) {
|
|
59960
59985
|
if (isNaN(Q) || isNaN(ne) || typeof ue != "string")
|
|
59961
59986
|
throw console$1.error("jsPDF.context2d.strokeText: Invalid arguments", arguments), new Error("Invalid arguments passed to jsPDF.context2d.strokeText");
|
|
59962
59987
|
if (!y.call(this)) {
|
|
59963
|
-
|
|
59988
|
+
Ce = isNaN(Ce) ? void 0 : Ce;
|
|
59964
59989
|
var Ie = J(this.ctx.transform.rotation), we = this.ctx.transform.scaleX, _e = this.letterSpacing ? this.letterSpacing : 0;
|
|
59965
59990
|
j.call(this, {
|
|
59966
59991
|
text: ue,
|
|
@@ -59970,7 +59995,7 @@ function parseFontFamily(a) {
|
|
|
59970
59995
|
renderingMode: "stroke",
|
|
59971
59996
|
angle: Ie,
|
|
59972
59997
|
align: this.textAlign,
|
|
59973
|
-
maxWidth:
|
|
59998
|
+
maxWidth: Ce,
|
|
59974
59999
|
charSpace: _e,
|
|
59975
60000
|
// 自定义修改
|
|
59976
60001
|
bold: !0
|
|
@@ -59980,7 +60005,7 @@ function parseFontFamily(a) {
|
|
|
59980
60005
|
}, p.prototype.measureText = function(ue) {
|
|
59981
60006
|
if (typeof ue != "string")
|
|
59982
60007
|
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,
|
|
60008
|
+
var Q = this.pdf, ne = this.pdf.internal.scaleFactor, Ce = Q.internal.getFontSize(), Ie = Q.getStringUnitWidth(ue) * Ce / Q.internal.scaleFactor;
|
|
59984
60009
|
Ie *= Math.round(ne * 96 / 72 * 1e4) / 1e4;
|
|
59985
60010
|
var we = function(pe) {
|
|
59986
60011
|
pe = pe || {};
|
|
@@ -60009,27 +60034,27 @@ function parseFontFamily(a) {
|
|
|
60009
60034
|
throw console$1.error("jsPDF.context2d.translate: Invalid arguments", arguments), new Error("Invalid arguments passed to jsPDF.context2d.translate");
|
|
60010
60035
|
var ne = new u(1, 0, 0, 1, ue, Q);
|
|
60011
60036
|
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(
|
|
60037
|
+
}, p.prototype.transform = function(ue, Q, ne, Ce, Ie, we) {
|
|
60038
|
+
if (isNaN(ue) || isNaN(Q) || isNaN(ne) || isNaN(Ce) || isNaN(Ie) || isNaN(we))
|
|
60014
60039
|
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,
|
|
60040
|
+
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;
|
|
60041
|
+
var _e = new u(ue, Q, ne, Ce, Ie, we);
|
|
60017
60042
|
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,
|
|
60043
|
+
}, p.prototype.setTransform = function(ue, Q, ne, Ce, Ie, we) {
|
|
60044
|
+
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
60045
|
};
|
|
60021
60046
|
var w = function() {
|
|
60022
60047
|
return this.margin[0] > 0 || this.margin[1] > 0 || this.margin[2] > 0 || this.margin[3] > 0;
|
|
60023
60048
|
};
|
|
60024
|
-
p.prototype.drawImage = function(ue, Q, ne,
|
|
60049
|
+
p.prototype.drawImage = function(ue, Q, ne, Ce, Ie, we, _e, pe, Pe) {
|
|
60025
60050
|
var Se = this.pdf.getImageProperties(ue);
|
|
60026
60051
|
ue.exifdata && (Se.exifdata = ue.exifdata);
|
|
60027
|
-
var qe = 1, Te = 1, He = 1,
|
|
60028
|
-
typeof
|
|
60052
|
+
var qe = 1, Te = 1, He = 1, xe = 1;
|
|
60053
|
+
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
60054
|
var ae = this.ctx.transform.decompose(), he = J(ae.rotate.rotation), $ = new u();
|
|
60030
|
-
$ = $.multiply(ae.translate), $ = $.multiply(ae.skew), $ = $.multiply(ae.scale),
|
|
60055
|
+
$ = $.multiply(ae.translate), $ = $.multiply(ae.skew), $ = $.multiply(ae.scale), Ce || (Ce = pe), Ie || (Ie = Pe);
|
|
60031
60056
|
var Ne;
|
|
60032
|
-
ue.nodeName && ue.nodeName == "CANVAS" ? Ne = $.applyToRectangle(new d(we + this.posX - Q * He, _e + this.posY - ne *
|
|
60057
|
+
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
60058
|
for (var Be = v.call(this, Ne), Qe = [], Me = 0; Me < Be.length; Me += 1)
|
|
60034
60059
|
Qe.indexOf(Be[Me]) === -1 && Qe.push(Be[Me]);
|
|
60035
60060
|
D(Qe);
|
|
@@ -60037,79 +60062,79 @@ function parseFontFamily(a) {
|
|
|
60037
60062
|
if (this.autoPaging)
|
|
60038
60063
|
for (var ot = Qe[0], ut = Qe[Qe.length - 1], _t = ot; _t < ut + 1; _t++) {
|
|
60039
60064
|
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],
|
|
60065
|
+
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
60066
|
if (this.ctx.clip_path.length !== 0) {
|
|
60042
60067
|
var At = this.path;
|
|
60043
|
-
ze = JSON.parse(JSON.stringify(this.ctx.clip_path)), this.path = _(ze, this.posX + this.margin[3], -
|
|
60068
|
+
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
60069
|
}
|
|
60045
60070
|
var St = JSON.parse(JSON.stringify(Ne));
|
|
60046
|
-
St = _([St], this.posX + this.margin[3], -
|
|
60071
|
+
St = _([St], this.posX + this.margin[3], -xt + Pt + this.ctx.prevPageLastElemOffset)[0];
|
|
60047
60072
|
var Qt = (_t > ot || _t < ut) && w.call(this);
|
|
60048
60073
|
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
60074
|
}
|
|
60050
60075
|
else
|
|
60051
60076
|
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
60077
|
};
|
|
60053
|
-
var v = function(Q, ne,
|
|
60078
|
+
var v = function(Q, ne, Ce) {
|
|
60054
60079
|
var Ie = [];
|
|
60055
|
-
ne = ne || this.pdf.internal.pageSize.width,
|
|
60080
|
+
ne = ne || this.pdf.internal.pageSize.width, Ce = Ce || this.pdf.internal.pageSize.height - this.margin[0] - this.margin[2];
|
|
60056
60081
|
var we = this.posY + this.ctx.prevPageLastElemOffset;
|
|
60057
60082
|
switch (Q.type) {
|
|
60058
60083
|
default:
|
|
60059
60084
|
case "mt":
|
|
60060
60085
|
case "lt":
|
|
60061
|
-
Ie.push(Math.floor((Q.y + we) /
|
|
60086
|
+
Ie.push(Math.floor((Q.y + we) / Ce) + 1);
|
|
60062
60087
|
break;
|
|
60063
60088
|
case "arc":
|
|
60064
|
-
Ie.push(Math.floor((Q.y + we - Q.radius) /
|
|
60089
|
+
Ie.push(Math.floor((Q.y + we - Q.radius) / Ce) + 1), Ie.push(Math.floor((Q.y + we + Q.radius) / Ce) + 1);
|
|
60065
60090
|
break;
|
|
60066
60091
|
case "qct":
|
|
60067
60092
|
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) /
|
|
60093
|
+
Ie.push(Math.floor((_e.y + we) / Ce) + 1), Ie.push(Math.floor((_e.y + _e.h + we) / Ce) + 1);
|
|
60069
60094
|
break;
|
|
60070
60095
|
case "bct":
|
|
60071
60096
|
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) /
|
|
60097
|
+
Ie.push(Math.floor((pe.y + we) / Ce) + 1), Ie.push(Math.floor((pe.y + pe.h + we) / Ce) + 1);
|
|
60073
60098
|
break;
|
|
60074
60099
|
case "rect":
|
|
60075
|
-
Ie.push(Math.floor((Q.y + we) /
|
|
60100
|
+
Ie.push(Math.floor((Q.y + we) / Ce) + 1), Ie.push(Math.floor((Q.y + Q.h + we) / Ce) + 1);
|
|
60076
60101
|
}
|
|
60077
60102
|
for (var Pe = 0; Pe < Ie.length; Pe += 1)
|
|
60078
60103
|
for (; this.pdf.internal.getNumberOfPages() < Ie[Pe]; )
|
|
60079
60104
|
C.call(this);
|
|
60080
60105
|
return Ie;
|
|
60081
60106
|
}, 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,
|
|
60107
|
+
var Q = this.fillStyle, ne = this.strokeStyle, Ce = this.font, Ie = this.lineCap, we = this.lineWidth, _e = this.lineJoin;
|
|
60108
|
+
this.pdf.addPage(), this.fillStyle = Q, this.strokeStyle = ne, this.font = Ce, this.lineCap = Ie, this.lineWidth = we, this.lineJoin = _e;
|
|
60109
|
+
}, _ = function(Q, ne, Ce) {
|
|
60085
60110
|
for (var Ie = 0; Ie < Q.length; Ie++)
|
|
60086
60111
|
switch (Q[Ie].type) {
|
|
60087
60112
|
case "bct":
|
|
60088
|
-
Q[Ie].x2 += ne, Q[Ie].y2 +=
|
|
60113
|
+
Q[Ie].x2 += ne, Q[Ie].y2 += Ce;
|
|
60089
60114
|
case "qct":
|
|
60090
|
-
Q[Ie].x1 += ne, Q[Ie].y1 +=
|
|
60115
|
+
Q[Ie].x1 += ne, Q[Ie].y1 += Ce;
|
|
60091
60116
|
case "mt":
|
|
60092
60117
|
case "lt":
|
|
60093
60118
|
case "arc":
|
|
60094
60119
|
default:
|
|
60095
|
-
Q[Ie].x += ne, Q[Ie].y +=
|
|
60120
|
+
Q[Ie].x += ne, Q[Ie].y += Ce;
|
|
60096
60121
|
}
|
|
60097
60122
|
return Q;
|
|
60098
60123
|
}, D = function(Q) {
|
|
60099
|
-
return Q.sort(function(ne,
|
|
60100
|
-
return ne -
|
|
60124
|
+
return Q.sort(function(ne, Ce) {
|
|
60125
|
+
return ne - Ce;
|
|
60101
60126
|
});
|
|
60102
60127
|
}, E = function(Q, ne) {
|
|
60103
|
-
for (var
|
|
60128
|
+
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
60129
|
if (typeof qe[ae].x < "u")
|
|
60105
60130
|
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() <
|
|
60131
|
+
xe.indexOf(he[$]) === -1 && xe.push(he[$]);
|
|
60132
|
+
for (var Ne = 0; Ne < xe.length; Ne++)
|
|
60133
|
+
for (; this.pdf.internal.getNumberOfPages() < xe[Ne]; )
|
|
60109
60134
|
C.call(this);
|
|
60110
|
-
if (D(
|
|
60111
|
-
for (var Be =
|
|
60112
|
-
this.pdf.setPage(Me), this.fillStyle =
|
|
60135
|
+
if (D(xe), this.autoPaging)
|
|
60136
|
+
for (var Be = xe[0], Qe = xe[xe.length - 1], Me = Be; Me < Qe + 1; Me++) {
|
|
60137
|
+
this.pdf.setPage(Me), this.fillStyle = Ce, this.strokeStyle = Ie, this.lineCap = we, this.lineWidth = pe, this.lineJoin = Pe;
|
|
60113
60138
|
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
60139
|
if (this.ctx.clip_path.length !== 0) {
|
|
60115
60140
|
var Pt = this.path;
|
|
@@ -60126,80 +60151,80 @@ function parseFontFamily(a) {
|
|
|
60126
60151
|
this.path = Se;
|
|
60127
60152
|
}, T = function(Q, ne) {
|
|
60128
60153
|
if (!(Q === "stroke" && !ne && y.call(this)) && !(Q !== "stroke" && !ne && g.call(this))) {
|
|
60129
|
-
for (var
|
|
60154
|
+
for (var Ce = [], Ie, we = this.path, _e = 0; _e < we.length; _e++) {
|
|
60130
60155
|
var pe = we[_e];
|
|
60131
60156
|
switch (pe.type) {
|
|
60132
60157
|
case "begin":
|
|
60133
|
-
|
|
60158
|
+
Ce.push({
|
|
60134
60159
|
begin: !0
|
|
60135
60160
|
});
|
|
60136
60161
|
break;
|
|
60137
60162
|
case "close":
|
|
60138
|
-
|
|
60163
|
+
Ce.push({
|
|
60139
60164
|
close: !0
|
|
60140
60165
|
});
|
|
60141
60166
|
break;
|
|
60142
60167
|
case "mt":
|
|
60143
|
-
|
|
60168
|
+
Ce.push({
|
|
60144
60169
|
start: pe,
|
|
60145
60170
|
deltas: [],
|
|
60146
60171
|
abs: []
|
|
60147
60172
|
});
|
|
60148
60173
|
break;
|
|
60149
60174
|
case "lt":
|
|
60150
|
-
var Pe =
|
|
60175
|
+
var Pe = Ce.length;
|
|
60151
60176
|
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
60177
|
for (Pe; Pe >= 0; Pe--)
|
|
60153
|
-
if (
|
|
60154
|
-
|
|
60178
|
+
if (Ce[Pe - 1].close !== !0 && Ce[Pe - 1].begin !== !0) {
|
|
60179
|
+
Ce[Pe - 1].deltas.push(Ie), Ce[Pe - 1].abs.push(pe);
|
|
60155
60180
|
break;
|
|
60156
60181
|
}
|
|
60157
60182
|
}
|
|
60158
60183
|
break;
|
|
60159
60184
|
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],
|
|
60185
|
+
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
60186
|
break;
|
|
60162
60187
|
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,
|
|
60188
|
+
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;
|
|
60189
|
+
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
60190
|
break;
|
|
60166
60191
|
case "arc":
|
|
60167
|
-
|
|
60192
|
+
Ce.push({
|
|
60168
60193
|
deltas: [],
|
|
60169
60194
|
abs: [],
|
|
60170
60195
|
arc: !0
|
|
60171
|
-
}), Array.isArray(
|
|
60196
|
+
}), Array.isArray(Ce[Ce.length - 1].abs) && Ce[Ce.length - 1].abs.push(pe);
|
|
60172
60197
|
break;
|
|
60173
60198
|
}
|
|
60174
60199
|
}
|
|
60175
60200
|
var he;
|
|
60176
60201
|
ne ? he = null : Q === "stroke" ? he = "stroke" : he = "fill";
|
|
60177
|
-
for (var $ = !1, Ne = 0; Ne <
|
|
60178
|
-
if (
|
|
60179
|
-
for (var Be =
|
|
60202
|
+
for (var $ = !1, Ne = 0; Ne < Ce.length; Ne++)
|
|
60203
|
+
if (Ce[Ne].arc) {
|
|
60204
|
+
for (var Be = Ce[Ne].abs, Qe = 0; Qe < Be.length; Qe++) {
|
|
60180
60205
|
var Me = Be[Qe];
|
|
60181
60206
|
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
60207
|
}
|
|
60183
60208
|
$ = !0;
|
|
60184
|
-
} else if (
|
|
60209
|
+
} else if (Ce[Ne].close === !0)
|
|
60185
60210
|
this.pdf.internal.out("h"), $ = !1;
|
|
60186
|
-
else if (
|
|
60187
|
-
var ze =
|
|
60188
|
-
z.call(this,
|
|
60211
|
+
else if (Ce[Ne].begin !== !0) {
|
|
60212
|
+
var ze = Ce[Ne].start.x, ot = Ce[Ne].start.y;
|
|
60213
|
+
z.call(this, Ce[Ne].deltas, ze, ot), $ = !0;
|
|
60189
60214
|
}
|
|
60190
60215
|
he && A.call(this, he), ne && H.call(this);
|
|
60191
60216
|
}
|
|
60192
60217
|
}, I = function(Q) {
|
|
60193
|
-
var ne = this.pdf.internal.getFontSize() / this.pdf.internal.scaleFactor,
|
|
60218
|
+
var ne = this.pdf.internal.getFontSize() / this.pdf.internal.scaleFactor, Ce = ne * (this.pdf.internal.getLineHeightFactor() - 1);
|
|
60194
60219
|
switch (this.ctx.textBaseline) {
|
|
60195
60220
|
case "bottom":
|
|
60196
|
-
return Q -
|
|
60221
|
+
return Q - Ce;
|
|
60197
60222
|
case "top":
|
|
60198
|
-
return Q + ne -
|
|
60223
|
+
return Q + ne - Ce;
|
|
60199
60224
|
case "hanging":
|
|
60200
|
-
return Q + ne - 2 *
|
|
60225
|
+
return Q + ne - 2 * Ce;
|
|
60201
60226
|
case "middle":
|
|
60202
|
-
return Q + ne / 2 -
|
|
60227
|
+
return Q + ne / 2 - Ce;
|
|
60203
60228
|
case "ideographic":
|
|
60204
60229
|
return Q;
|
|
60205
60230
|
case "alphabetic":
|
|
@@ -60207,14 +60232,14 @@ function parseFontFamily(a) {
|
|
|
60207
60232
|
return Q;
|
|
60208
60233
|
}
|
|
60209
60234
|
}, M = function(Q) {
|
|
60210
|
-
var ne = this.pdf.internal.getFontSize() / this.pdf.internal.scaleFactor,
|
|
60211
|
-
return Q +
|
|
60235
|
+
var ne = this.pdf.internal.getFontSize() / this.pdf.internal.scaleFactor, Ce = ne * (this.pdf.internal.getLineHeightFactor() - 1);
|
|
60236
|
+
return Q + Ce;
|
|
60212
60237
|
};
|
|
60213
60238
|
p.prototype.createLinearGradient = function() {
|
|
60214
60239
|
var Q = function() {
|
|
60215
60240
|
};
|
|
60216
|
-
return Q.colorStops = [], Q.addColorStop = function(ne,
|
|
60217
|
-
this.colorStops.push([ne,
|
|
60241
|
+
return Q.colorStops = [], Q.addColorStop = function(ne, Ce) {
|
|
60242
|
+
this.colorStops.push([ne, Ce]);
|
|
60218
60243
|
}, Q.getColor = function() {
|
|
60219
60244
|
return this.colorStops.length === 0 ? "#000000" : this.colorStops[0][1];
|
|
60220
60245
|
}, Q.isCanvasGradient = !0, Q;
|
|
@@ -60223,8 +60248,8 @@ function parseFontFamily(a) {
|
|
|
60223
60248
|
}, p.prototype.createRadialGradient = function() {
|
|
60224
60249
|
return this.createLinearGradient();
|
|
60225
60250
|
};
|
|
60226
|
-
var R = function(Q, ne,
|
|
60227
|
-
for (var qe = Y.call(this,
|
|
60251
|
+
var R = function(Q, ne, Ce, Ie, we, _e, pe, Pe, Se) {
|
|
60252
|
+
for (var qe = Y.call(this, Ce, Ie, we, _e), Te = 0; Te < qe.length; Te++) {
|
|
60228
60253
|
var He = qe[Te];
|
|
60229
60254
|
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
60255
|
}
|
|
@@ -60258,19 +60283,19 @@ function parseFontFamily(a) {
|
|
|
60258
60283
|
ne = "left";
|
|
60259
60284
|
break;
|
|
60260
60285
|
}
|
|
60261
|
-
var
|
|
60286
|
+
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
60287
|
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(
|
|
60288
|
+
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)
|
|
60289
|
+
xe.indexOf(He[ae]) === -1 && xe.push(He[ae]);
|
|
60290
|
+
D(xe);
|
|
60266
60291
|
var he, $, Ne;
|
|
60267
60292
|
if (Q.text = Q.text.replace(/[\t]/g, " "), this.autoPaging)
|
|
60268
|
-
for (var Be =
|
|
60293
|
+
for (var Be = xe[0], Qe = xe[xe.length - 1], Me = Be; Me < Qe + 1; Me++) {
|
|
60269
60294
|
this.pdf.setPage(Me);
|
|
60270
60295
|
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
60296
|
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 =
|
|
60297
|
+
var xt = this.path;
|
|
60298
|
+
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
60299
|
}
|
|
60275
60300
|
var At = _([JSON.parse(JSON.stringify(Te))], this.posX + this.margin[3], -gt + ze + this.ctx.prevPageLastElemOffset)[0];
|
|
60276
60301
|
Q.scale >= 0.01 && ($ = this.pdf.internal.getFontSize(), this.pdf.setFontSize($ * Q.scale), Ne = this.lineWidth, this.lineWidth = Ne * Q.scale);
|
|
@@ -60292,8 +60317,8 @@ function parseFontFamily(a) {
|
|
|
60292
60317
|
}
|
|
60293
60318
|
else {
|
|
60294
60319
|
Q.scale >= 0.01 && ($ = this.pdf.internal.getFontSize(), this.pdf.setFontSize($ * Q.scale), Ne = this.lineWidth, this.lineWidth = Ne * Q.scale);
|
|
60295
|
-
let
|
|
60296
|
-
|
|
60320
|
+
let Cr = Q.maxWidth - Ce.w, Rt = 0;
|
|
60321
|
+
Cr > 2 && Q.bold && Q.maxWidth != 65535 && (Rt = Cr / Q.text.length);
|
|
60297
60322
|
var Tt = Q.charSpace ? parseFloat(Q.charSpace) : 0;
|
|
60298
60323
|
this.pdf.text(Q.text, pe.x + this.posX, pe.y + this.posY, {
|
|
60299
60324
|
angle: Q.angle,
|
|
@@ -60303,43 +60328,43 @@ function parseFontFamily(a) {
|
|
|
60303
60328
|
charSpace: Tt + Rt
|
|
60304
60329
|
}), Q.scale >= 0.01 && (this.pdf.setFontSize($), this.lineWidth = Ne);
|
|
60305
60330
|
}
|
|
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 >
|
|
60331
|
+
}, U = function(Q, ne, Ce, Ie) {
|
|
60332
|
+
Ce = Ce || 0, Ie = Ie || 0, this.pdf.internal.out(o(Q + Ce) + " " + n(ne + Ie) + " l");
|
|
60333
|
+
}, z = function(Q, ne, Ce) {
|
|
60334
|
+
return this.pdf.lines(Q, ne, Ce, null, null);
|
|
60335
|
+
}, X = function(Q, ne, Ce, Ie, we, _e, pe, Pe) {
|
|
60336
|
+
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(" "));
|
|
60337
|
+
}, Y = function(Q, ne, Ce, Ie) {
|
|
60338
|
+
for (var we = 1e-5, _e = Math.PI * 2, pe = Math.PI / 2; ne > Ce; )
|
|
60314
60339
|
ne = ne - _e;
|
|
60315
|
-
var Pe = Math.abs(
|
|
60340
|
+
var Pe = Math.abs(Ce - ne);
|
|
60316
60341
|
Pe < _e && Ie && (Pe = _e - Pe);
|
|
60317
60342
|
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,
|
|
60343
|
+
var He = qe * Math.min(Pe, pe), xe = Te + He;
|
|
60344
|
+
Se.push(G.call(this, Q, Te, xe)), Pe -= Math.abs(xe - Te), Te = xe;
|
|
60320
60345
|
}
|
|
60321
60346
|
return Se;
|
|
60322
|
-
}, G = function(Q, ne,
|
|
60323
|
-
var Ie = (
|
|
60347
|
+
}, G = function(Q, ne, Ce) {
|
|
60348
|
+
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
60349
|
return {
|
|
60325
60350
|
x1: Q * Math.cos(ne),
|
|
60326
60351
|
y1: Q * Math.sin(ne),
|
|
60327
|
-
x2: He * Ne -
|
|
60328
|
-
y2: He * Be +
|
|
60352
|
+
x2: He * Ne - xe * Be,
|
|
60353
|
+
y2: He * Be + xe * Ne,
|
|
60329
60354
|
x3: ae * Ne - he * Be,
|
|
60330
60355
|
y3: ae * Be + he * Ne,
|
|
60331
|
-
x4: Q * Math.cos(
|
|
60332
|
-
y4: Q * Math.sin(
|
|
60356
|
+
x4: Q * Math.cos(Ce),
|
|
60357
|
+
y4: Q * Math.sin(Ce)
|
|
60333
60358
|
};
|
|
60334
60359
|
}, J = function(Q) {
|
|
60335
60360
|
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 =
|
|
60361
|
+
}, le = function(Q, ne, Ce, Ie, we, _e) {
|
|
60362
|
+
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);
|
|
60363
|
+
return new d(Te, xe, He - Te, ae - xe);
|
|
60364
|
+
}, ye = function(Q, ne, Ce, Ie, we, _e, pe, Pe) {
|
|
60365
|
+
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
60366
|
for (Ne = 0; Ne < he + 1; Ne++)
|
|
60342
|
-
$ = Ne / he, Be = Q + $ * Se, Qe = ne + $ * qe, Me =
|
|
60367
|
+
$ = 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
60368
|
return new d(Math.round(At), Math.round(St), Math.round(Qt - At), Math.round(Mt - St));
|
|
60344
60369
|
}, ie = function(Q, ne) {
|
|
60345
60370
|
return JSON.stringify({
|
|
@@ -61187,11 +61212,11 @@ var PNG = function() {
|
|
|
61187
61212
|
console$1.warn(`Invalid filter algorithm: ${d[p - 1], d[p]}--png格式图片只包含[01234]`);
|
|
61188
61213
|
}
|
|
61189
61214
|
if (!ne) {
|
|
61190
|
-
var
|
|
61215
|
+
var Ce = ((w + z * C) * m.width + y) * u, Ie = z * X;
|
|
61191
61216
|
for (T = 0; T < ue; T += 1) {
|
|
61192
61217
|
for (var we = 0; we < u; we += 1)
|
|
61193
|
-
f[
|
|
61194
|
-
|
|
61218
|
+
f[Ce++] = U[Ie++];
|
|
61219
|
+
Ce += (v - 1) * u;
|
|
61195
61220
|
}
|
|
61196
61221
|
}
|
|
61197
61222
|
z++;
|
|
@@ -61549,11 +61574,11 @@ function GifReader(a) {
|
|
|
61549
61574
|
GifReaderLZWOutputIndexStream(a, G.data_offset, le, J);
|
|
61550
61575
|
var ye = G.palette_offset, ie = G.transparent_index;
|
|
61551
61576
|
ie === null && (ie = 256);
|
|
61552
|
-
var ge = G.width, ue = r - ge, Q = ge, ne = (G.y * r + G.x) * 4,
|
|
61577
|
+
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
61578
|
G.interlaced === !0 && (we += r * 4 * 7);
|
|
61554
61579
|
for (var _e = 8, pe = 0, Pe = le.length; pe < Pe; ++pe) {
|
|
61555
61580
|
var Se = le[pe];
|
|
61556
|
-
if (Q === 0 && (Ie += we, Q = ge, Ie >=
|
|
61581
|
+
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
61582
|
Ie += 4;
|
|
61558
61583
|
else {
|
|
61559
61584
|
var qe = a[ye + Se * 3], Te = a[ye + Se * 3 + 1], He = a[ye + Se * 3 + 2];
|
|
@@ -61566,11 +61591,11 @@ function GifReader(a) {
|
|
|
61566
61591
|
GifReaderLZWOutputIndexStream(a, G.data_offset, le, J);
|
|
61567
61592
|
var ye = G.palette_offset, ie = G.transparent_index;
|
|
61568
61593
|
ie === null && (ie = 256);
|
|
61569
|
-
var ge = G.width, ue = r - ge, Q = ge, ne = (G.y * r + G.x) * 4,
|
|
61594
|
+
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
61595
|
G.interlaced === !0 && (we += r * 4 * 7);
|
|
61571
61596
|
for (var _e = 8, pe = 0, Pe = le.length; pe < Pe; ++pe) {
|
|
61572
61597
|
var Se = le[pe];
|
|
61573
|
-
if (Q === 0 && (Ie += we, Q = ge, Ie >=
|
|
61598
|
+
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
61599
|
Y[Ie++] = 255, Y[Ie++] = 255, Y[Ie++] = 255, Y[Ie++] = 255;
|
|
61575
61600
|
else {
|
|
61576
61601
|
var qe = a[ye + Se * 3], Te = a[ye + Se * 3 + 1], He = a[ye + Se * 3 + 2];
|
|
@@ -61641,9 +61666,9 @@ function GifReaderLZWOutputIndexStream(a, t, r, o) {
|
|
|
61641
61666
|
function JPEGEncoder(a) {
|
|
61642
61667
|
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
61668
|
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[
|
|
61669
|
+
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++) {
|
|
61670
|
+
var ae = t((He[xe] * Te + 50) / 100);
|
|
61671
|
+
ae = Math.min(Math.max(ae, 1), 255), r[M[xe]] = ae;
|
|
61647
61672
|
}
|
|
61648
61673
|
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
61674
|
var Ne = t((he[$] * Te + 50) / 100);
|
|
@@ -61654,10 +61679,10 @@ function JPEGEncoder(a) {
|
|
|
61654
61679
|
n[Qe] = 1 / (r[M[Qe]] * Be[Me] * Be[ze] * 8), s[Qe] = 1 / (o[M[Qe]] * Be[Me] * Be[ze] * 8), Qe++;
|
|
61655
61680
|
}
|
|
61656
61681
|
function G(Te, He) {
|
|
61657
|
-
for (var
|
|
61682
|
+
for (var xe = 0, ae = 0, he = new Array(), $ = 1; $ <= 16; $++) {
|
|
61658
61683
|
for (var Ne = 1; Ne <= Te[$]; Ne++)
|
|
61659
|
-
he[He[ae]] = [], he[He[ae]][0] =
|
|
61660
|
-
|
|
61684
|
+
he[He[ae]] = [], he[He[ae]][0] = xe, he[He[ae]][1] = $, ae++, xe++;
|
|
61685
|
+
xe *= 2;
|
|
61661
61686
|
}
|
|
61662
61687
|
return he;
|
|
61663
61688
|
}
|
|
@@ -61665,11 +61690,11 @@ function JPEGEncoder(a) {
|
|
|
61665
61690
|
l = G(R, A), c = G(j, U), d = G(H, O), u = G(z, X);
|
|
61666
61691
|
}
|
|
61667
61692
|
function le() {
|
|
61668
|
-
for (var Te = 1, He = 2,
|
|
61693
|
+
for (var Te = 1, He = 2, xe = 1; xe <= 15; xe++) {
|
|
61669
61694
|
for (var ae = Te; ae < He; ae++)
|
|
61670
|
-
p[32767 + ae] =
|
|
61695
|
+
p[32767 + ae] = xe, f[32767 + ae] = [], f[32767 + ae][1] = xe, f[32767 + ae][0] = ae;
|
|
61671
61696
|
for (var he = -(He - 1); he <= -Te; he++)
|
|
61672
|
-
p[32767 + he] =
|
|
61697
|
+
p[32767 + he] = xe, f[32767 + he] = [], f[32767 + he][1] = xe, f[32767 + he][0] = He - 1 + he;
|
|
61673
61698
|
Te <<= 1, He <<= 1;
|
|
61674
61699
|
}
|
|
61675
61700
|
}
|
|
@@ -61678,8 +61703,8 @@ function JPEGEncoder(a) {
|
|
|
61678
61703
|
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
61704
|
}
|
|
61680
61705
|
function ie(Te) {
|
|
61681
|
-
for (var He = Te[0],
|
|
61682
|
-
He & 1 <<
|
|
61706
|
+
for (var He = Te[0], xe = Te[1] - 1; xe >= 0; )
|
|
61707
|
+
He & 1 << xe && (w |= 1 << v), xe--, v--, v < 0 && (w == 255 ? (ge(255), ge(0)) : ge(w), v = 7, w = 0);
|
|
61683
61708
|
}
|
|
61684
61709
|
function ge(Te) {
|
|
61685
61710
|
y.push(Te);
|
|
@@ -61688,19 +61713,19 @@ function JPEGEncoder(a) {
|
|
|
61688
61713
|
ge(Te >> 8 & 255), ge(Te & 255);
|
|
61689
61714
|
}
|
|
61690
61715
|
function Q(Te, He) {
|
|
61691
|
-
var
|
|
61716
|
+
var xe, ae, he, $, Ne, Be, Qe, Me, ze = 0, ot, ut = 8, _t = 64;
|
|
61692
61717
|
for (ot = 0; ot < ut; ++ot) {
|
|
61693
|
-
|
|
61694
|
-
var mt =
|
|
61695
|
-
Te[ze] = Mt +
|
|
61718
|
+
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];
|
|
61719
|
+
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;
|
|
61720
|
+
Te[ze] = Mt + Cr, Te[ze + 4] = Mt - Cr;
|
|
61696
61721
|
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 =
|
|
61722
|
+
Te[ze + 2] = rr + Gt, Te[ze + 6] = rr - Gt, Mt = Qt + At, Cr = At + Tt, Rt = Tt + Pt;
|
|
61723
|
+
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
61724
|
Te[ze + 5] = Dt + se, Te[ze + 3] = Dt - se, Te[ze + 1] = Ge + De, Te[ze + 7] = Ge - De, ze += 8;
|
|
61700
61725
|
}
|
|
61701
61726
|
for (ze = 0, ot = 0; ot < ut; ++ot) {
|
|
61702
|
-
|
|
61703
|
-
var Ut =
|
|
61727
|
+
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];
|
|
61728
|
+
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
61729
|
Te[ze] = Xt + hr, Te[ze + 32] = Xt - hr;
|
|
61705
61730
|
var Zt = (jt + Wt) * 0.707106781;
|
|
61706
61731
|
Te[ze + 16] = Wt + Zt, Te[ze + 48] = Wt - Zt, Xt = dr + kt, hr = kt + ct, jt = ct + Jt;
|
|
@@ -61715,7 +61740,7 @@ function JPEGEncoder(a) {
|
|
|
61715
61740
|
function ne() {
|
|
61716
61741
|
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
61742
|
}
|
|
61718
|
-
function
|
|
61743
|
+
function Ce(Te, He) {
|
|
61719
61744
|
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
61745
|
}
|
|
61721
61746
|
function Ie() {
|
|
@@ -61733,8 +61758,8 @@ function JPEGEncoder(a) {
|
|
|
61733
61758
|
for (var He = 0; He <= 11; He++)
|
|
61734
61759
|
ge(A[He]);
|
|
61735
61760
|
ge(16);
|
|
61736
|
-
for (var
|
|
61737
|
-
ge(H[
|
|
61761
|
+
for (var xe = 0; xe < 16; xe++)
|
|
61762
|
+
ge(H[xe + 1]);
|
|
61738
61763
|
for (var ae = 0; ae <= 161; ae++)
|
|
61739
61764
|
ge(O[ae]);
|
|
61740
61765
|
ge(1);
|
|
@@ -61751,42 +61776,42 @@ function JPEGEncoder(a) {
|
|
|
61751
61776
|
function _e() {
|
|
61752
61777
|
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
61778
|
}
|
|
61754
|
-
function pe(Te, He,
|
|
61779
|
+
function pe(Te, He, xe, ae, he) {
|
|
61755
61780
|
for (var $ = he[0], Ne = he[240], Be, Qe = 16, Me = 63, ze = 64, ot = Q(Te, He), ut = 0; ut < ze; ++ut)
|
|
61756
61781
|
g[M[ut]] = ot[ut];
|
|
61757
|
-
var _t = g[0] -
|
|
61758
|
-
|
|
61782
|
+
var _t = g[0] - xe;
|
|
61783
|
+
xe = g[0], _t == 0 ? ie(ae[0]) : (Be = 32767 + _t, ie(ae[p[Be]]), ie(f[Be]));
|
|
61759
61784
|
for (var mt = 63; mt > 0 && g[mt] == 0; )
|
|
61760
61785
|
mt--;
|
|
61761
61786
|
if (mt == 0)
|
|
61762
|
-
return ie($),
|
|
61787
|
+
return ie($), xe;
|
|
61763
61788
|
for (var Pt = 1, gt; Pt <= mt; ) {
|
|
61764
61789
|
for (var Tt = Pt; g[Pt] == 0 && Pt <= mt; )
|
|
61765
61790
|
++Pt;
|
|
61766
|
-
var
|
|
61767
|
-
if (
|
|
61768
|
-
gt =
|
|
61791
|
+
var xt = Pt - Tt;
|
|
61792
|
+
if (xt >= Qe) {
|
|
61793
|
+
gt = xt >> 4;
|
|
61769
61794
|
for (var At = 1; At <= gt; ++At)
|
|
61770
61795
|
ie(Ne);
|
|
61771
|
-
|
|
61796
|
+
xt = xt & 15;
|
|
61772
61797
|
}
|
|
61773
|
-
Be = 32767 + g[Pt], ie(he[(
|
|
61798
|
+
Be = 32767 + g[Pt], ie(he[(xt << 4) + p[Be]]), ie(f[Be]), Pt++;
|
|
61774
61799
|
}
|
|
61775
|
-
return mt != Me && ie($),
|
|
61800
|
+
return mt != Me && ie($), xe;
|
|
61776
61801
|
}
|
|
61777
61802
|
function Pe() {
|
|
61778
61803
|
for (var Te = String.fromCharCode, He = 0; He < 256; He++)
|
|
61779
61804
|
E[He] = Te(He);
|
|
61780
61805
|
}
|
|
61781
61806
|
this.encode = function(Te, He) {
|
|
61782
|
-
He && Se(He), y = new Array(), w = 0, v = 7, ue(65496), ne(), Ie(),
|
|
61783
|
-
var
|
|
61807
|
+
He && Se(He), y = new Array(), w = 0, v = 7, ue(65496), ne(), Ie(), Ce(Te.width, Te.height), we(), _e();
|
|
61808
|
+
var xe = 0, ae = 0, he = 0;
|
|
61784
61809
|
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,
|
|
61810
|
+
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
61811
|
for (Me = 0; Me < Qe; ) {
|
|
61787
|
-
for (mt = Qe * ze + Me, gt = -1, Tt = 0,
|
|
61788
|
-
Tt =
|
|
61789
|
-
|
|
61812
|
+
for (mt = Qe * ze + Me, gt = -1, Tt = 0, xt = 0; xt < 64; xt++)
|
|
61813
|
+
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;
|
|
61814
|
+
xe = pe(C, n, xe, l, d), ae = pe(_, s, ae, c, u), he = pe(D, s, he, c, u), Me += 32;
|
|
61790
61815
|
}
|
|
61791
61816
|
ze += 8;
|
|
61792
61817
|
}
|
|
@@ -62071,7 +62096,7 @@ function WebPDecoder(a) {
|
|
|
62071
62096
|
N.Ra >>>= 8, N.Ra += N.oa[N.pa + N.bb] << ao - 8 >>> 0, ++N.bb, N.u -= 8;
|
|
62072
62097
|
pe(N) && (N.h = 1, N.u = 0);
|
|
62073
62098
|
}
|
|
62074
|
-
function
|
|
62099
|
+
function Ce(N, F) {
|
|
62075
62100
|
if (t(0 <= F), !N.h && F <= Hn) {
|
|
62076
62101
|
var k = _e(N) & To[F];
|
|
62077
62102
|
return N.u += F, ne(N), k;
|
|
@@ -62110,7 +62135,7 @@ function WebPDecoder(a) {
|
|
|
62110
62135
|
K += 8, B >>= 8;
|
|
62111
62136
|
return B = 7 ^ K + Ei[B], N.b -= B, N.Ca = (k << B) - 1, te;
|
|
62112
62137
|
}
|
|
62113
|
-
function
|
|
62138
|
+
function xe(N, F, k) {
|
|
62114
62139
|
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
62140
|
}
|
|
62116
62141
|
function ae(N, F) {
|
|
@@ -62169,7 +62194,7 @@ function WebPDecoder(a) {
|
|
|
62169
62194
|
function Tt(N, F, k) {
|
|
62170
62195
|
return Math.abs(F - k) - Math.abs(N - k);
|
|
62171
62196
|
}
|
|
62172
|
-
function
|
|
62197
|
+
function xt(N, F, k, B, K, te, re) {
|
|
62173
62198
|
for (B = te[re - 1], k = 0; k < K; ++k)
|
|
62174
62199
|
te[re + k] = B = ot(N[F + k], B);
|
|
62175
62200
|
}
|
|
@@ -62211,7 +62236,7 @@ function WebPDecoder(a) {
|
|
|
62211
62236
|
B[K++] = te >> 16 & 255, B[K++] = te >> 8 & 255, B[K++] = te >> 0 & 255;
|
|
62212
62237
|
}
|
|
62213
62238
|
}
|
|
62214
|
-
function
|
|
62239
|
+
function Cr(N, F, k, B, K) {
|
|
62215
62240
|
for (k = F + k; F < k; ) {
|
|
62216
62241
|
var te = N[F++];
|
|
62217
62242
|
B[K++] = te >> 16 & 255, B[K++] = te >> 8 & 255, B[K++] = te >> 0 & 255, B[K++] = te >> 24 & 255;
|
|
@@ -62237,14 +62262,14 @@ function WebPDecoder(a) {
|
|
|
62237
62262
|
}
|
|
62238
62263
|
function se(N, F, k, B, K, te) {
|
|
62239
62264
|
if (te == 0) for (k = F + k; F < k; )
|
|
62240
|
-
te = N[F++],
|
|
62265
|
+
te = N[F++], xe(B, (te[0] >> 24 | te[1] >> 8 & 65280 | te[2] << 8 & 16711680 | te[3] << 24) >>> 0), K += 32;
|
|
62241
62266
|
else o(B, K, N, F, k);
|
|
62242
62267
|
}
|
|
62243
62268
|
function De(N, F) {
|
|
62244
62269
|
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
62270
|
}
|
|
62246
62271
|
function Ue(N) {
|
|
62247
|
-
return N == Bn || N == zn || N ==
|
|
62272
|
+
return N == Bn || N == zn || N == xn || N == jn;
|
|
62248
62273
|
}
|
|
62249
62274
|
function Ge() {
|
|
62250
62275
|
this.eb = [], this.size = this.A = this.fb = 0;
|
|
@@ -62273,7 +62298,7 @@ function WebPDecoder(a) {
|
|
|
62273
62298
|
function kt(N, F, k) {
|
|
62274
62299
|
var B = N.F, K = [N.J];
|
|
62275
62300
|
if (B != null) {
|
|
62276
|
-
var te = N.U, re = F.ba.S, oe = re == wn || re ==
|
|
62301
|
+
var te = N.U, re = F.ba.S, oe = re == wn || re == xn;
|
|
62277
62302
|
F = F.ba.f.RGBA;
|
|
62278
62303
|
var de = [0], Ee = N.ka;
|
|
62279
62304
|
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 +62337,12 @@ function WebPDecoder(a) {
|
|
|
62312
62337
|
N.ma.memory = null;
|
|
62313
62338
|
}
|
|
62314
62339
|
function Wt(N, F, k, B) {
|
|
62315
|
-
return
|
|
62340
|
+
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
62341
|
}
|
|
62317
62342
|
function hr(N, F) {
|
|
62318
62343
|
if (4 > N) return N + 1;
|
|
62319
62344
|
var k = N - 2 >> 1;
|
|
62320
|
-
return (2 + (N & 1) << k) +
|
|
62345
|
+
return (2 + (N & 1) << k) + Ce(F, k) + 1;
|
|
62321
62346
|
}
|
|
62322
62347
|
function jt(N, F) {
|
|
62323
62348
|
if (120 < F) return F - 120;
|
|
@@ -62349,7 +62374,7 @@ function WebPDecoder(a) {
|
|
|
62349
62374
|
break;
|
|
62350
62375
|
case 0:
|
|
62351
62376
|
var et = fe, Ye = Ee, Ke = Oe, tt = de, st = oe, nt = et.Ea;
|
|
62352
|
-
Ye == 0 && (
|
|
62377
|
+
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
62378
|
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
62379
|
var cr = Et, $t = et, er = 1;
|
|
62355
62380
|
for (So(Ve, Xe, tt, st - nt, 1, tt, st); er < nt; ) {
|
|
@@ -62393,7 +62418,7 @@ function WebPDecoder(a) {
|
|
|
62393
62418
|
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
62419
|
var Xe = re, Je = oe, et = K, Ye = fe, Ke = Ve;
|
|
62395
62420
|
switch (B) {
|
|
62396
|
-
case
|
|
62421
|
+
case xr:
|
|
62397
62422
|
lo(Xe, Je, et, Ye, Ke);
|
|
62398
62423
|
break;
|
|
62399
62424
|
case Eo:
|
|
@@ -62414,7 +62439,7 @@ function WebPDecoder(a) {
|
|
|
62414
62439
|
case wn:
|
|
62415
62440
|
se(Xe, Je, et, Ye, Ke, 0);
|
|
62416
62441
|
break;
|
|
62417
|
-
case
|
|
62442
|
+
case xn:
|
|
62418
62443
|
se(Xe, Je, et, Ye, Ke, 0), tn(Ye, Ke, 1, et, 1, 0);
|
|
62419
62444
|
break;
|
|
62420
62445
|
case On:
|
|
@@ -62521,22 +62546,22 @@ function WebPDecoder(a) {
|
|
|
62521
62546
|
}
|
|
62522
62547
|
function gi() {
|
|
62523
62548
|
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 =
|
|
62549
|
+
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
62550
|
}
|
|
62526
62551
|
function ni(N, F, k, B, K) {
|
|
62527
62552
|
var te = 1, re = [N], oe = [F], de = B.m, fe = B.s, Ee = null, Oe = 0;
|
|
62528
62553
|
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 =
|
|
62554
|
+
if (k) for (; te && Ce(de, 1); ) {
|
|
62555
|
+
var Ve = re, Xe = oe, Je = B, et = 1, Ye = Je.m, Ke = Je.gc[Je.ab], tt = Ce(Ye, 2);
|
|
62531
62556
|
if (Je.Oc & 1 << tt) te = 0;
|
|
62532
62557
|
else {
|
|
62533
62558
|
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
62559
|
case 0:
|
|
62535
62560
|
case 1:
|
|
62536
|
-
Ke.b =
|
|
62561
|
+
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
62562
|
break;
|
|
62538
62563
|
case 3:
|
|
62539
|
-
var st =
|
|
62564
|
+
var st = Ce(Ye, 8) + 1, nt = 16 < st ? 0 : 4 < st ? 1 : 2 < st ? 2 : 3;
|
|
62540
62565
|
Ve[0] = ze(Ke.Ea, nt), Ke.b = nt;
|
|
62541
62566
|
var et = ni(st, 1, 0, Je, Ke.K), yt;
|
|
62542
62567
|
if (yt = et) {
|
|
@@ -62561,7 +62586,7 @@ function WebPDecoder(a) {
|
|
|
62561
62586
|
te = et;
|
|
62562
62587
|
}
|
|
62563
62588
|
}
|
|
62564
|
-
if (re = re[0], oe = oe[0], te &&
|
|
62589
|
+
if (re = re[0], oe = oe[0], te && Ce(de, 1) && (Oe = Ce(de, 4), te = 1 <= Oe && 11 >= Oe, !te)) {
|
|
62565
62590
|
B.a = 3;
|
|
62566
62591
|
break e;
|
|
62567
62592
|
}
|
|
@@ -62569,8 +62594,8 @@ function WebPDecoder(a) {
|
|
|
62569
62594
|
if (Ir = te) t: {
|
|
62570
62595
|
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
62596
|
r: for (; ; ) {
|
|
62572
|
-
if (Ao &&
|
|
62573
|
-
var Jn =
|
|
62597
|
+
if (Ao && Ce(Qn, 1)) {
|
|
62598
|
+
var Jn = Ce(Qn, 3) + 2, Es = ze(bi, Jn), Fs = ze(Pr, Jn), ra = Es * Fs;
|
|
62574
62599
|
if (!ni(Es, Fs, 0, zr, Lo)) break r;
|
|
62575
62600
|
for (Lo = Lo[0], nn.xc = Jn, jr = 0; jr < ra; ++jr) {
|
|
62576
62601
|
var sn = Lo[jr] >> 8 & 65535;
|
|
@@ -62596,25 +62621,25 @@ function WebPDecoder(a) {
|
|
|
62596
62621
|
for (Dr = 0; 5 > Dr; ++Dr) {
|
|
62597
62622
|
ri = $o[Dr], Le[Dr] = q, $e[Dr] = Mo, !Dr && 0 < ti && (ri += 1 << ti);
|
|
62598
62623
|
o: {
|
|
62599
|
-
var Ar, fi = ri, pi = zr, Kn = Z,
|
|
62624
|
+
var Ar, fi = ri, pi = zr, Kn = Z, xa = q, Ca = Mo, ia = 0, ko = pi.m, ba = Ce(ko, 1);
|
|
62600
62625
|
if (n(Kn, 0, 0, fi), ba) {
|
|
62601
|
-
var Pa =
|
|
62602
|
-
Kn[oa] = 1, Pa == 2 && (oa =
|
|
62626
|
+
var Pa = Ce(ko, 1) + 1, Na = Ce(ko, 1), oa = Ce(ko, Na == 0 ? 1 : 8);
|
|
62627
|
+
Kn[oa] = 1, Pa == 2 && (oa = Ce(ko, 8), Kn[oa] = 1);
|
|
62603
62628
|
var Is = 1;
|
|
62604
62629
|
} else {
|
|
62605
|
-
var da = s(19), ha =
|
|
62630
|
+
var da = s(19), ha = Ce(ko, 4) + 4;
|
|
62606
62631
|
if (19 < ha) {
|
|
62607
62632
|
pi.a = 3;
|
|
62608
62633
|
var As = 0;
|
|
62609
62634
|
break o;
|
|
62610
62635
|
}
|
|
62611
62636
|
for (Ar = 0; Ar < ha; ++Ar)
|
|
62612
|
-
da[Us[Ar]] =
|
|
62637
|
+
da[Us[Ar]] = Ce(ko, 3);
|
|
62613
62638
|
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
62639
|
i: for (; ; ) {
|
|
62615
62640
|
if (!G(ga, 0, 7, Ta, 19)) break i;
|
|
62616
|
-
if (
|
|
62617
|
-
var Sa = 2 + 2 *
|
|
62641
|
+
if (Ce(Ho, 1)) {
|
|
62642
|
+
var Sa = 2 + 2 * Ce(Ho, 3), Ls = 2 + Ce(Ho, Sa);
|
|
62618
62643
|
if (Ls > Ms) break i;
|
|
62619
62644
|
} else Ls = Ms;
|
|
62620
62645
|
for ($n = 0; $n < Ms && Ls--; ) {
|
|
@@ -62624,7 +62649,7 @@ function WebPDecoder(a) {
|
|
|
62624
62649
|
var Sn = ma.value;
|
|
62625
62650
|
if (16 > Sn) fa[$n++] = Sn, Sn != 0 && (pa = Sn);
|
|
62626
62651
|
else {
|
|
62627
|
-
var Da = Sn == 16, ya = Sn - 16, Ea = js[ya], va =
|
|
62652
|
+
var Da = Sn == 16, ya = Sn - 16, Ea = js[ya], va = Ce(Ho, zs[ya]) + Ea;
|
|
62628
62653
|
if ($n + va > Ms) break i;
|
|
62629
62654
|
for (var Fa = Da ? pa : 0; 0 < va--; )
|
|
62630
62655
|
fa[$n++] = Fa;
|
|
@@ -62635,7 +62660,7 @@ function WebPDecoder(a) {
|
|
|
62635
62660
|
}
|
|
62636
62661
|
na || (ua.a = 3), Is = na;
|
|
62637
62662
|
}
|
|
62638
|
-
(Is = Is && !ko.h) && (ia = G(
|
|
62663
|
+
(Is = Is && !ko.h) && (ia = G(xa, Ca, 8, Kn, fi)), Is && ia != 0 ? As = ia : (pi.a = 3, As = 0);
|
|
62639
62664
|
}
|
|
62640
62665
|
if (As == 0) break r;
|
|
62641
62666
|
if (Lt && Ws[Dr] == 1 && (Lt = q[Mo].g == 0), wt += q[Mo].g, Mo += As, 3 >= Dr) {
|
|
@@ -62690,7 +62715,7 @@ function WebPDecoder(a) {
|
|
|
62690
62715
|
var k = N.C, B = F - k, K = N.V, te = N.Ba + N.c * k;
|
|
62691
62716
|
for (t(F <= N.l.o); 0 < B; ) {
|
|
62692
62717
|
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),
|
|
62718
|
+
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
62719
|
}
|
|
62695
62720
|
t(k == F), N.C = N.Ma = F;
|
|
62696
62721
|
}
|
|
@@ -62823,7 +62848,7 @@ function WebPDecoder(a) {
|
|
|
62823
62848
|
for (K = 0; 8 > K; ++K)
|
|
62824
62849
|
for (B = 0; 3 > B; ++B)
|
|
62825
62850
|
for (oe = 0; 11 > oe; ++oe)
|
|
62826
|
-
de = He(te, bn[k][K][B][oe]) ? ge(te, 8) :
|
|
62851
|
+
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
62852
|
for (K = 0; 17 > K; ++K)
|
|
62828
62853
|
re.Xc[k][K] = re.Wc[k][os[K]];
|
|
62829
62854
|
}
|
|
@@ -62853,7 +62878,7 @@ function WebPDecoder(a) {
|
|
|
62853
62878
|
}
|
|
62854
62879
|
return 16;
|
|
62855
62880
|
}
|
|
62856
|
-
function
|
|
62881
|
+
function Ct(N) {
|
|
62857
62882
|
var F = N.rb[N.sb - 1];
|
|
62858
62883
|
F.la = 0, F.Na = 0, n(N.zc, 0, 0, N.zc.length), N.ja = 0;
|
|
62859
62884
|
}
|
|
@@ -62914,7 +62939,7 @@ function WebPDecoder(a) {
|
|
|
62914
62939
|
}
|
|
62915
62940
|
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
62941
|
}
|
|
62917
|
-
if (
|
|
62942
|
+
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
62943
|
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
62944
|
var $t = yt;
|
|
62920
62945
|
st = tt, nt = cr;
|
|
@@ -62982,7 +63007,7 @@ function WebPDecoder(a) {
|
|
|
62982
63007
|
}
|
|
62983
63008
|
N.Vb = re;
|
|
62984
63009
|
}
|
|
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),
|
|
63010
|
+
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
63011
|
}
|
|
62987
63012
|
}
|
|
62988
63013
|
if (k) {
|
|
@@ -62997,7 +63022,7 @@ function WebPDecoder(a) {
|
|
|
62997
63022
|
qr[255 + k] = 0 > k ? 0 : 255 < k ? 255 : k;
|
|
62998
63023
|
hi = 1;
|
|
62999
63024
|
}
|
|
63000
|
-
ho = Ri, _n = $i, Zn = si, Io = wi, Gn = cn, ns = Pi, ss = Or, as = mn, ls = kn, cs =
|
|
63025
|
+
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
63026
|
} else k = 0;
|
|
63002
63027
|
}
|
|
63003
63028
|
k && (k = Ot(N, F)), F.bc != null && F.bc(F), k &= 1;
|
|
@@ -63115,7 +63140,7 @@ function WebPDecoder(a) {
|
|
|
63115
63140
|
}
|
|
63116
63141
|
function An(N, F) {
|
|
63117
63142
|
var k = N[F - 1], B = N[F - 1 + 32], K = N[F - 1 + 64], te = N[F - 1 + 96];
|
|
63118
|
-
|
|
63143
|
+
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
63144
|
}
|
|
63120
63145
|
function Yo(N, F) {
|
|
63121
63146
|
var k = 4, B;
|
|
@@ -63184,7 +63209,7 @@ function WebPDecoder(a) {
|
|
|
63184
63209
|
function gr(N, F) {
|
|
63185
63210
|
yo(128, N, F);
|
|
63186
63211
|
}
|
|
63187
|
-
function
|
|
63212
|
+
function xi(N, F, k) {
|
|
63188
63213
|
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
63214
|
N[F - k] = or[255 + B + Nr[112 + (te + 3 >> 3)]], N[F + 0] = or[255 + K - re];
|
|
63190
63215
|
}
|
|
@@ -63202,12 +63227,12 @@ function WebPDecoder(a) {
|
|
|
63202
63227
|
function gn(N, F, k, B) {
|
|
63203
63228
|
var K = 2 * B + 1;
|
|
63204
63229
|
for (B = 0; 16 > B; ++B)
|
|
63205
|
-
vo(N, F + B, k, K) &&
|
|
63230
|
+
vo(N, F + B, k, K) && xi(N, F + B, k);
|
|
63206
63231
|
}
|
|
63207
63232
|
function ro(N, F, k, B) {
|
|
63208
63233
|
var K = 2 * B + 1;
|
|
63209
63234
|
for (B = 0; 16 > B; ++B)
|
|
63210
|
-
vo(N, F + B * k, 1, K) &&
|
|
63235
|
+
vo(N, F + B * k, 1, K) && xi(N, F + B * k, 1);
|
|
63211
63236
|
}
|
|
63212
63237
|
function wo(N, F, k, B) {
|
|
63213
63238
|
var K;
|
|
@@ -63221,7 +63246,7 @@ function WebPDecoder(a) {
|
|
|
63221
63246
|
}
|
|
63222
63247
|
function Jr(N, F, k, B, K, te, re, oe) {
|
|
63223
63248
|
for (te = 2 * te + 1; 0 < K--; ) {
|
|
63224
|
-
if (Ti(N, F, k, te, re)) if (ai(N, F, k, oe))
|
|
63249
|
+
if (Ti(N, F, k, te, re)) if (ai(N, F, k, oe)) xi(N, F, k);
|
|
63225
63250
|
else {
|
|
63226
63251
|
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
63252
|
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 +63256,7 @@ function WebPDecoder(a) {
|
|
|
63231
63256
|
}
|
|
63232
63257
|
function Si(N, F, k, B, K, te, re, oe) {
|
|
63233
63258
|
for (te = 2 * te + 1; 0 < K--; ) {
|
|
63234
|
-
if (Ti(N, F, k, te, re)) if (ai(N, F, k, oe))
|
|
63259
|
+
if (Ti(N, F, k, te, re)) if (ai(N, F, k, oe)) xi(N, F, k);
|
|
63235
63260
|
else {
|
|
63236
63261
|
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
63262
|
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 +63283,7 @@ function WebPDecoder(a) {
|
|
|
63258
63283
|
function kn(N, F, k, B, K, te, re, oe) {
|
|
63259
63284
|
Jr(N, F, K, 1, 8, te, re, oe), Jr(k, B, K, 1, 8, te, re, oe);
|
|
63260
63285
|
}
|
|
63261
|
-
function
|
|
63286
|
+
function xo(N, F, k, B, K, te, re, oe) {
|
|
63262
63287
|
Jr(N, F, 1, K, 8, te, re, oe), Jr(k, B, 1, K, 8, te, re, oe);
|
|
63263
63288
|
}
|
|
63264
63289
|
function Bi(N, F, k, B, K, te, re, oe) {
|
|
@@ -63270,7 +63295,7 @@ function WebPDecoder(a) {
|
|
|
63270
63295
|
function zi() {
|
|
63271
63296
|
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
63297
|
}
|
|
63273
|
-
function
|
|
63298
|
+
function Co() {
|
|
63274
63299
|
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
63300
|
}
|
|
63276
63301
|
function W() {
|
|
@@ -63425,7 +63450,7 @@ function WebPDecoder(a) {
|
|
|
63425
63450
|
k[B + te] = N[F + te] >> 8;
|
|
63426
63451
|
}
|
|
63427
63452
|
function ar() {
|
|
63428
|
-
tn = bt, Pn = It, ws = Bt,
|
|
63453
|
+
tn = bt, Pn = It, ws = Bt, xs = Kt;
|
|
63429
63454
|
}
|
|
63430
63455
|
function tr(N, F, k) {
|
|
63431
63456
|
U[N] = function(B, K, te, re, oe, de, fe, Ee, Oe, Ve, Xe, Je, et, Ye, Ke, tt, st) {
|
|
@@ -63440,7 +63465,7 @@ function WebPDecoder(a) {
|
|
|
63440
63465
|
};
|
|
63441
63466
|
}
|
|
63442
63467
|
function kr() {
|
|
63443
|
-
ei[
|
|
63468
|
+
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
63469
|
}
|
|
63445
63470
|
function fr(N) {
|
|
63446
63471
|
return N & -16384 ? 0 > N ? 0 : 255 : N >> Ns;
|
|
@@ -63532,7 +63557,7 @@ function WebPDecoder(a) {
|
|
|
63532
63557
|
}
|
|
63533
63558
|
}
|
|
63534
63559
|
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
|
|
63560
|
+
var fe = [0], Ee = [0], Oe = 0, Ve = de != null ? de.kd : 0, Xe = de ?? new Co();
|
|
63536
63561
|
if (N == null || 12 > k) return 7;
|
|
63537
63562
|
Xe.data = N, Xe.w = F, Xe.ha = k, F = [F], k = [k], Xe.gb = [Xe.gb];
|
|
63538
63563
|
e: {
|
|
@@ -63698,7 +63723,7 @@ function WebPDecoder(a) {
|
|
|
63698
63723
|
B.width = N, B.height = F;
|
|
63699
63724
|
e: {
|
|
63700
63725
|
var de = B.width, fe = B.height;
|
|
63701
|
-
if (N = B.S, 0 >= de || 0 >= fe || !(N >=
|
|
63726
|
+
if (N = B.S, 0 >= de || 0 >= fe || !(N >= xr && 13 > N)) N = 2;
|
|
63702
63727
|
else {
|
|
63703
63728
|
if (0 >= B.Rd && B.sd == null) {
|
|
63704
63729
|
var re = te = K = F = 0, oe = de * qn[N], Ee = oe * fe;
|
|
@@ -63708,7 +63733,7 @@ function WebPDecoder(a) {
|
|
|
63708
63733
|
}
|
|
63709
63734
|
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
63735
|
}
|
|
63711
|
-
if (F = 1, K = B.S, te = B.width, re = B.height, K >=
|
|
63736
|
+
if (F = 1, K = B.S, te = B.width, re = B.height, K >= xr && 13 > K)
|
|
63712
63737
|
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
63738
|
else {
|
|
63714
63739
|
N = B.f.kb, oe = (te + 1) / 2, Ee = (re + 1) / 2, de = Math.abs(N.fa);
|
|
@@ -63754,8 +63779,8 @@ function WebPDecoder(a) {
|
|
|
63754
63779
|
var B = F[k - 1];
|
|
63755
63780
|
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
63781
|
};
|
|
63757
|
-
var
|
|
63758
|
-
U.PredictorAdd1 =
|
|
63782
|
+
var Ci = U.PredictorAdd0;
|
|
63783
|
+
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
63784
|
var So = U.PredictorAdd2;
|
|
63760
63785
|
Mt("ColorIndexInverseTransform", "MapARGB", "32b", function(N) {
|
|
63761
63786
|
return N >> 8 & 255;
|
|
@@ -63768,9 +63793,9 @@ function WebPDecoder(a) {
|
|
|
63768
63793
|
});
|
|
63769
63794
|
var ci = U.ColorIndexInverseTransform, Wi = U.MapARGB, Ui = U.VP8LColorIndexInverseTransformAlpha, Jo = U.MapAlpha, di, vn = U.VP8LPredictorsAdd = [];
|
|
63770
63795
|
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 = [];
|
|
63796
|
+
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
63797
|
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,
|
|
63798
|
+
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
63799
|
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
63800
|
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
63801
|
this.WebPDecodeRGBA = function(N, F, k, B, K) {
|
|
@@ -63782,7 +63807,7 @@ function WebPDecoder(a) {
|
|
|
63782
63807
|
if (Oe != 0 ? de = 0 : (de != null && (de[0] = Ee.width[0]), fe != null && (fe[0] = Ee.height[0]), de = 1), de) {
|
|
63783
63808
|
oe.width = oe.width[0], oe.height = oe.height[0], B != null && (B[0] = oe.width), K != null && (K[0] = oe.height);
|
|
63784
63809
|
e: {
|
|
63785
|
-
if (B = new Re(), K = new
|
|
63810
|
+
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
63811
|
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
63812
|
if (N = gi(), N == null) {
|
|
63788
63813
|
re = 1;
|
|
@@ -64429,7 +64454,7 @@ WebPDecoder.prototype.getData = function() {
|
|
|
64429
64454
|
(function(a) {
|
|
64430
64455
|
function t() {
|
|
64431
64456
|
return function() {
|
|
64432
|
-
return globalObject.canvg ? Promise.resolve(globalObject.canvg) : import("./index.es-
|
|
64457
|
+
return globalObject.canvg ? Promise.resolve(globalObject.canvg) : import("./index.es-Dhkha08B.mjs");
|
|
64433
64458
|
}().catch(function(r) {
|
|
64434
64459
|
return Promise.reject(new Error("Could not load canvg: " + r));
|
|
64435
64460
|
}).then(function(r) {
|
|
@@ -64928,7 +64953,7 @@ end`, y;
|
|
|
64928
64953
|
}
|
|
64929
64954
|
return !1;
|
|
64930
64955
|
}, O = function(le, ye, ie, ge) {
|
|
64931
|
-
var ue = ye[ge], Q, ne,
|
|
64956
|
+
var ue = ye[ge], Q, ne, Ce, Ie;
|
|
64932
64957
|
switch (ue) {
|
|
64933
64958
|
case "L":
|
|
64934
64959
|
case "R":
|
|
@@ -64960,17 +64985,17 @@ end`, y;
|
|
|
64960
64985
|
ue = "N";
|
|
64961
64986
|
break;
|
|
64962
64987
|
}
|
|
64963
|
-
for (
|
|
64964
|
-
|
|
64965
|
-
|
|
64988
|
+
for (Ce = ge + 1, Ie = ye.length; Ce < Ie && ye[Ce] === "ET"; )
|
|
64989
|
+
Ce++;
|
|
64990
|
+
Ce < Ie && ye[Ce] === "EN" ? ue = "EN" : ue = "N";
|
|
64966
64991
|
break;
|
|
64967
64992
|
case "NSM":
|
|
64968
64993
|
if (_ && !D) {
|
|
64969
|
-
for (Ie = ye.length,
|
|
64970
|
-
|
|
64971
|
-
if (
|
|
64994
|
+
for (Ie = ye.length, Ce = ge + 1; Ce < Ie && ye[Ce] === "NSM"; )
|
|
64995
|
+
Ce++;
|
|
64996
|
+
if (Ce < Ie) {
|
|
64972
64997
|
var we = le[ge], _e = we >= 1425 && we <= 2303 || we === 64286;
|
|
64973
|
-
if (Q = ye[
|
|
64998
|
+
if (Q = ye[Ce], _e && (Q === "R" || Q === "AL")) {
|
|
64974
64999
|
ue = "R";
|
|
64975
65000
|
break;
|
|
64976
65001
|
}
|
|
@@ -65009,11 +65034,11 @@ end`, y;
|
|
|
65009
65034
|
hiLevel: M
|
|
65010
65035
|
}), ge.reverse(), ye && ye.reverse(), ge.join("");
|
|
65011
65036
|
}, z = function(le, ye, ie) {
|
|
65012
|
-
var ge, ue, Q, ne,
|
|
65037
|
+
var ge, ue, Q, ne, Ce, Ie, we = -1, _e = le.length, pe = 0, Pe = [], Se = M ? d : c, qe = [];
|
|
65013
65038
|
for (g = !1, y = !1, w = !1, Q = 0; Q < _e; Q++)
|
|
65014
65039
|
qe[Q] = A(le[Q]);
|
|
65015
65040
|
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] =
|
|
65041
|
+
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
65042
|
if (ge === 16) {
|
|
65018
65043
|
for (Q = we; Q < ne; Q++)
|
|
65019
65044
|
ye[Q] = 1;
|
|
@@ -65024,10 +65049,10 @@ end`, y;
|
|
|
65024
65049
|
we === -1 && (we = ne);
|
|
65025
65050
|
else if (we > -1) {
|
|
65026
65051
|
for (Q = we; Q < ne; Q++)
|
|
65027
|
-
ye[Q] =
|
|
65052
|
+
ye[Q] = Ce;
|
|
65028
65053
|
we = -1;
|
|
65029
65054
|
}
|
|
65030
|
-
qe[ne] === "B" && (ye[ne] = 0), ie.hiLevel |=
|
|
65055
|
+
qe[ne] === "B" && (ye[ne] = 0), ie.hiLevel |= Ce;
|
|
65031
65056
|
}
|
|
65032
65057
|
w && j(qe, ye, _e);
|
|
65033
65058
|
}, X = function(le, ye, ie, ge, ue) {
|
|
@@ -65036,13 +65061,13 @@ end`, y;
|
|
|
65036
65061
|
ye.reverse(), ie && ie.reverse();
|
|
65037
65062
|
return;
|
|
65038
65063
|
}
|
|
65039
|
-
for (var Q, ne,
|
|
65064
|
+
for (var Q, ne, Ce, Ie, we = ye.length, _e = 0; _e < we; ) {
|
|
65040
65065
|
if (ge[_e] >= le) {
|
|
65041
|
-
for (
|
|
65042
|
-
|
|
65043
|
-
for (Ie = _e, ne =
|
|
65066
|
+
for (Ce = _e + 1; Ce < we && ge[Ce] >= le; )
|
|
65067
|
+
Ce++;
|
|
65068
|
+
for (Ie = _e, ne = Ce - 1; Ie < ne; Ie++, ne--)
|
|
65044
65069
|
Q = ye[Ie], ye[Ie] = ye[ne], ye[ne] = Q, ie && (Q = ie[Ie], ie[Ie] = ie[ne], ie[ne] = Q);
|
|
65045
|
-
_e =
|
|
65070
|
+
_e = Ce;
|
|
65046
65071
|
}
|
|
65047
65072
|
_e++;
|
|
65048
65073
|
}
|
|
@@ -65298,7 +65323,7 @@ var HeadTable = function(a) {
|
|
|
65298
65323
|
t.pos = m;
|
|
65299
65324
|
}
|
|
65300
65325
|
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,
|
|
65326
|
+
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
65327
|
switch (z = new Data(), l = Object.keys(t).sort(function(qe, Te) {
|
|
65303
65328
|
return qe - Te;
|
|
65304
65329
|
}), r) {
|
|
@@ -65345,7 +65370,7 @@ var HeadTable = function(a) {
|
|
|
65345
65370
|
c = d[pe], z.writeUInt16(c);
|
|
65346
65371
|
for (Pe = 0, ne = I.length; Pe < ne; Pe++)
|
|
65347
65372
|
E = I[Pe], z.writeUInt16(E);
|
|
65348
|
-
for (Se = 0,
|
|
65373
|
+
for (Se = 0, Ce = g.length; Se < Ce; Se++)
|
|
65349
65374
|
w = g[Se], z.writeUInt16(w);
|
|
65350
65375
|
return {
|
|
65351
65376
|
charMap: o,
|
|
@@ -67248,8 +67273,8 @@ function requireLocalforage() {
|
|
|
67248
67273
|
return be.db = ft, X(be, Ae._defaultConfig.version) ? z(be) : ft;
|
|
67249
67274
|
}).then(function(ft) {
|
|
67250
67275
|
be.db = We.db = ft, Ae._dbInfo = be;
|
|
67251
|
-
for (var
|
|
67252
|
-
var Ot = dt[
|
|
67276
|
+
for (var Ct = 0; Ct < dt.length; Ct++) {
|
|
67277
|
+
var Ot = dt[Ct];
|
|
67253
67278
|
Ot !== Ae && (Ot._dbInfo.db = be.db, Ot._dbInfo.version = be.version);
|
|
67254
67279
|
}
|
|
67255
67280
|
});
|
|
@@ -67287,26 +67312,26 @@ function requireLocalforage() {
|
|
|
67287
67312
|
try {
|
|
67288
67313
|
var at = rt.objectStore(be._dbInfo.storeName), dt = at.openCursor(), ft = 1;
|
|
67289
67314
|
dt.onsuccess = function() {
|
|
67290
|
-
var
|
|
67291
|
-
if (
|
|
67292
|
-
var Ot =
|
|
67315
|
+
var Ct = dt.result;
|
|
67316
|
+
if (Ct) {
|
|
67317
|
+
var Ot = Ct.value;
|
|
67293
67318
|
J(Ot) && (Ot = G(Ot));
|
|
67294
|
-
var Yt = me(Ot,
|
|
67295
|
-
Yt !== void 0 ? We(Yt) :
|
|
67319
|
+
var Yt = me(Ot, Ct.key, ft++);
|
|
67320
|
+
Yt !== void 0 ? We(Yt) : Ct.continue();
|
|
67296
67321
|
} else
|
|
67297
67322
|
We();
|
|
67298
67323
|
}, dt.onerror = function() {
|
|
67299
67324
|
Re(dt.error);
|
|
67300
67325
|
};
|
|
67301
|
-
} catch (
|
|
67302
|
-
Re(
|
|
67326
|
+
} catch (Ct) {
|
|
67327
|
+
Re(Ct);
|
|
67303
67328
|
}
|
|
67304
67329
|
});
|
|
67305
67330
|
}).catch(Re);
|
|
67306
67331
|
});
|
|
67307
67332
|
return m(ke, Ae), ke;
|
|
67308
67333
|
}
|
|
67309
|
-
function
|
|
67334
|
+
function Ce(me, Ae, be) {
|
|
67310
67335
|
var ke = this;
|
|
67311
67336
|
me = y(me);
|
|
67312
67337
|
var We = new p(function(Re, it) {
|
|
@@ -67320,9 +67345,9 @@ function requireLocalforage() {
|
|
|
67320
67345
|
if (dt)
|
|
67321
67346
|
return it(dt);
|
|
67322
67347
|
try {
|
|
67323
|
-
var
|
|
67348
|
+
var Ct = ft.objectStore(ke._dbInfo.storeName);
|
|
67324
67349
|
at === null && (at = void 0);
|
|
67325
|
-
var Ot =
|
|
67350
|
+
var Ot = Ct.put(at, me);
|
|
67326
67351
|
ft.oncomplete = function() {
|
|
67327
67352
|
at === void 0 && (at = null), Re(at);
|
|
67328
67353
|
}, ft.onabort = ft.onerror = function() {
|
|
@@ -67419,17 +67444,17 @@ function requireLocalforage() {
|
|
|
67419
67444
|
try {
|
|
67420
67445
|
var at = rt.objectStore(be._dbInfo.storeName), dt = !1, ft = at.openKeyCursor();
|
|
67421
67446
|
ft.onsuccess = function() {
|
|
67422
|
-
var
|
|
67423
|
-
if (!
|
|
67447
|
+
var Ct = ft.result;
|
|
67448
|
+
if (!Ct) {
|
|
67424
67449
|
We(null);
|
|
67425
67450
|
return;
|
|
67426
67451
|
}
|
|
67427
|
-
me === 0 || dt ? We(
|
|
67452
|
+
me === 0 || dt ? We(Ct.key) : (dt = !0, Ct.advance(me));
|
|
67428
67453
|
}, ft.onerror = function() {
|
|
67429
67454
|
Re(ft.error);
|
|
67430
67455
|
};
|
|
67431
|
-
} catch (
|
|
67432
|
-
Re(
|
|
67456
|
+
} catch (Ct) {
|
|
67457
|
+
Re(Ct);
|
|
67433
67458
|
}
|
|
67434
67459
|
});
|
|
67435
67460
|
}).catch(Re);
|
|
@@ -67483,8 +67508,8 @@ function requireLocalforage() {
|
|
|
67483
67508
|
A(me);
|
|
67484
67509
|
var dt = _[me.name], ft = dt.forages;
|
|
67485
67510
|
rt.close();
|
|
67486
|
-
for (var
|
|
67487
|
-
var Ot = ft[
|
|
67511
|
+
for (var Ct = 0; Ct < ft.length; Ct++) {
|
|
67512
|
+
var Ot = ft[Ct];
|
|
67488
67513
|
Ot._dbInfo.db = null, Ot._dbInfo.version = at;
|
|
67489
67514
|
}
|
|
67490
67515
|
var Yt = new p(function(Ft, ur) {
|
|
@@ -67516,8 +67541,8 @@ function requireLocalforage() {
|
|
|
67516
67541
|
var at = _[me.name], dt = at.forages;
|
|
67517
67542
|
rt.close();
|
|
67518
67543
|
for (var ft = 0; ft < dt.length; ft++) {
|
|
67519
|
-
var
|
|
67520
|
-
|
|
67544
|
+
var Ct = dt[ft];
|
|
67545
|
+
Ct._dbInfo.db = null;
|
|
67521
67546
|
}
|
|
67522
67547
|
var Ot = new p(function(Yt, Ft) {
|
|
67523
67548
|
var ur = d.deleteDatabase(me.name);
|
|
@@ -67550,7 +67575,7 @@ function requireLocalforage() {
|
|
|
67550
67575
|
_support: u(),
|
|
67551
67576
|
iterate: ne,
|
|
67552
67577
|
getItem: Q,
|
|
67553
|
-
setItem:
|
|
67578
|
+
setItem: Ce,
|
|
67554
67579
|
removeItem: Ie,
|
|
67555
67580
|
clear: we,
|
|
67556
67581
|
length: _e,
|
|
@@ -67561,7 +67586,7 @@ function requireLocalforage() {
|
|
|
67561
67586
|
function Te() {
|
|
67562
67587
|
return typeof openDatabase == "function";
|
|
67563
67588
|
}
|
|
67564
|
-
var He = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",
|
|
67589
|
+
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
67590
|
function At(me) {
|
|
67566
67591
|
var Ae = me.length * 0.75, be = me.length, ke, We = 0, Re, it, rt, at;
|
|
67567
67592
|
me[me.length - 1] === "=" && (Ae--, me[me.length - 2] === "=" && Ae--);
|
|
@@ -67578,13 +67603,13 @@ function requireLocalforage() {
|
|
|
67578
67603
|
}
|
|
67579
67604
|
function Qt(me, Ae) {
|
|
67580
67605
|
var be = "";
|
|
67581
|
-
if (me && (be =
|
|
67606
|
+
if (me && (be = xt.call(me)), me && (be === "[object ArrayBuffer]" || me.buffer && xt.call(me.buffer) === "[object ArrayBuffer]")) {
|
|
67582
67607
|
var ke, We = he;
|
|
67583
67608
|
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
67609
|
} else if (be === "[object Blob]") {
|
|
67585
67610
|
var Re = new FileReader();
|
|
67586
67611
|
Re.onload = function() {
|
|
67587
|
-
var it =
|
|
67612
|
+
var it = xe + me.type + "~" + St(this.result);
|
|
67588
67613
|
Ae(he + Be + it);
|
|
67589
67614
|
}, Re.readAsArrayBuffer(me);
|
|
67590
67615
|
} else
|
|
@@ -67636,7 +67661,7 @@ function requireLocalforage() {
|
|
|
67636
67661
|
stringToBuffer: At,
|
|
67637
67662
|
bufferToString: St
|
|
67638
67663
|
};
|
|
67639
|
-
function
|
|
67664
|
+
function Cr(me, Ae, be, ke) {
|
|
67640
67665
|
me.executeSql("CREATE TABLE IF NOT EXISTS " + Ae.storeName + " (id INTEGER PRIMARY KEY, key unique, value)", [], be, ke);
|
|
67641
67666
|
}
|
|
67642
67667
|
function Rt(me) {
|
|
@@ -67653,7 +67678,7 @@ function requireLocalforage() {
|
|
|
67653
67678
|
return it(rt);
|
|
67654
67679
|
}
|
|
67655
67680
|
be.db.transaction(function(rt) {
|
|
67656
|
-
|
|
67681
|
+
Cr(rt, be, function() {
|
|
67657
67682
|
Ae._dbInfo = be, Re();
|
|
67658
67683
|
}, function(at, dt) {
|
|
67659
67684
|
it(dt);
|
|
@@ -67665,7 +67690,7 @@ function requireLocalforage() {
|
|
|
67665
67690
|
function Gt(me, Ae, be, ke, We, Re) {
|
|
67666
67691
|
me.executeSql(be, ke, We, function(it, rt) {
|
|
67667
67692
|
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) :
|
|
67693
|
+
dt.rows.length ? Re(at, rt) : Cr(at, Ae, function() {
|
|
67669
67694
|
at.executeSql(be, ke, We, Re);
|
|
67670
67695
|
}, Re);
|
|
67671
67696
|
}, Re) : Re(it, rt);
|
|
@@ -67695,7 +67720,7 @@ function requireLocalforage() {
|
|
|
67695
67720
|
var it = be._dbInfo;
|
|
67696
67721
|
it.db.transaction(function(rt) {
|
|
67697
67722
|
Gt(rt, it, "SELECT * FROM " + it.storeName, [], function(at, dt) {
|
|
67698
|
-
for (var ft = dt.rows,
|
|
67723
|
+
for (var ft = dt.rows, Ct = ft.length, Ot = 0; Ot < Ct; Ot++) {
|
|
67699
67724
|
var Yt = ft.item(Ot), Ft = Yt.value;
|
|
67700
67725
|
if (Ft && (Ft = it.serializer.deserialize(Ft)), Ft = me(Ft, Yt.key, Ot + 1), Ft !== void 0) {
|
|
67701
67726
|
We(Ft);
|
|
@@ -67718,8 +67743,8 @@ function requireLocalforage() {
|
|
|
67718
67743
|
We.ready().then(function() {
|
|
67719
67744
|
Ae === void 0 && (Ae = null);
|
|
67720
67745
|
var at = Ae, dt = We._dbInfo;
|
|
67721
|
-
dt.serializer.serialize(Ae, function(ft,
|
|
67722
|
-
|
|
67746
|
+
dt.serializer.serialize(Ae, function(ft, Ct) {
|
|
67747
|
+
Ct ? rt(Ct) : dt.db.transaction(function(Ot) {
|
|
67723
67748
|
Gt(Ot, dt, "INSERT OR REPLACE INTO " + dt.storeName + " (key, value) VALUES (?, ?)", [me, ft], function() {
|
|
67724
67749
|
it(at);
|
|
67725
67750
|
}, function(Yt, Ft) {
|
|
@@ -67864,8 +67889,8 @@ function requireLocalforage() {
|
|
|
67864
67889
|
});
|
|
67865
67890
|
});
|
|
67866
67891
|
}
|
|
67867
|
-
for (var ft = [],
|
|
67868
|
-
ft.push(dt(Re.storeNames[
|
|
67892
|
+
for (var ft = [], Ct = 0, Ot = Re.storeNames.length; Ct < Ot; Ct++)
|
|
67893
|
+
ft.push(dt(Re.storeNames[Ct]));
|
|
67869
67894
|
p.all(ft).then(function() {
|
|
67870
67895
|
it();
|
|
67871
67896
|
}).catch(function(Yt) {
|
|
@@ -67944,9 +67969,9 @@ function requireLocalforage() {
|
|
|
67944
67969
|
for (var We = be._dbInfo, Re = We.keyPrefix, it = Re.length, rt = localStorage.length, at = 1, dt = 0; dt < rt; dt++) {
|
|
67945
67970
|
var ft = localStorage.key(dt);
|
|
67946
67971
|
if (ft.indexOf(Re) === 0) {
|
|
67947
|
-
var
|
|
67948
|
-
if (
|
|
67949
|
-
return
|
|
67972
|
+
var Ct = localStorage.getItem(ft);
|
|
67973
|
+
if (Ct && (Ct = We.serializer.deserialize(Ct)), Ct = me(Ct, ft.substring(it), at++), Ct !== void 0)
|
|
67974
|
+
return Ct;
|
|
67950
67975
|
}
|
|
67951
67976
|
}
|
|
67952
67977
|
});
|
|
@@ -68003,8 +68028,8 @@ function requireLocalforage() {
|
|
|
68003
68028
|
else
|
|
68004
68029
|
try {
|
|
68005
68030
|
localStorage.setItem(at.keyPrefix + me, dt), it(Re);
|
|
68006
|
-
} catch (
|
|
68007
|
-
(
|
|
68031
|
+
} catch (Ct) {
|
|
68032
|
+
(Ct.name === "QuotaExceededError" || Ct.name === "NS_ERROR_DOM_QUOTA_REACHED") && rt(Ct), rt(Ct);
|
|
68008
68033
|
}
|
|
68009
68034
|
});
|
|
68010
68035
|
});
|
|
@@ -68111,8 +68136,8 @@ function requireLocalforage() {
|
|
|
68111
68136
|
rt(dt);
|
|
68112
68137
|
return;
|
|
68113
68138
|
}
|
|
68114
|
-
for (var ft = Qi.concat("_initStorage"),
|
|
68115
|
-
var Yt = ft[
|
|
68139
|
+
for (var ft = Qi.concat("_initStorage"), Ct = 0, Ot = ft.length; Ct < Ot; Ct++) {
|
|
68140
|
+
var Yt = ft[Ct], Ft = !gi(vi, Yt);
|
|
68116
68141
|
if ((Ft || be[Yt]) && typeof be[Yt] != "function") {
|
|
68117
68142
|
rt(dt);
|
|
68118
68143
|
return;
|
|
@@ -68159,15 +68184,15 @@ function requireLocalforage() {
|
|
|
68159
68184
|
function rt() {
|
|
68160
68185
|
Re._config.driver = Re.driver();
|
|
68161
68186
|
}
|
|
68162
|
-
function at(
|
|
68163
|
-
return Re._extend(
|
|
68187
|
+
function at(Ct) {
|
|
68188
|
+
return Re._extend(Ct), rt(), Re._ready = Re._initStorage(Re._config), Re._ready;
|
|
68164
68189
|
}
|
|
68165
|
-
function dt(
|
|
68190
|
+
function dt(Ct) {
|
|
68166
68191
|
return function() {
|
|
68167
68192
|
var Ot = 0;
|
|
68168
68193
|
function Yt() {
|
|
68169
|
-
for (; Ot <
|
|
68170
|
-
var Ft =
|
|
68194
|
+
for (; Ot < Ct.length; ) {
|
|
68195
|
+
var Ft = Ct[Ot];
|
|
68171
68196
|
return Ot++, Re._dbInfo = null, Re._ready = null, Re.getDriver(Ft).then(at).catch(Yt);
|
|
68172
68197
|
}
|
|
68173
68198
|
rt();
|
|
@@ -68181,14 +68206,14 @@ function requireLocalforage() {
|
|
|
68181
68206
|
return p.resolve();
|
|
68182
68207
|
}) : p.resolve();
|
|
68183
68208
|
return this._driverSet = ft.then(function() {
|
|
68184
|
-
var
|
|
68185
|
-
return Re._dbInfo = null, Re._ready = null, Re.getDriver(
|
|
68209
|
+
var Ct = it[0];
|
|
68210
|
+
return Re._dbInfo = null, Re._ready = null, Re.getDriver(Ct).then(function(Ot) {
|
|
68186
68211
|
Re._driver = Ot._driver, rt(), Re._wrapLibraryMethodsWithReady(), Re._initDriver = dt(it);
|
|
68187
68212
|
});
|
|
68188
68213
|
}).catch(function() {
|
|
68189
68214
|
rt();
|
|
68190
|
-
var
|
|
68191
|
-
return Re._driverSet = p.reject(
|
|
68215
|
+
var Ct = new Error("No available storage method found.");
|
|
68216
|
+
return Re._driverSet = p.reject(Ct), Re._driverSet;
|
|
68192
68217
|
}), g(this._driverSet, ke, We), this._driverSet;
|
|
68193
68218
|
}, me.prototype.supports = function(be) {
|
|
68194
68219
|
return !!fo[be];
|
|
@@ -72964,7 +72989,9 @@ const QrCode = __component__$16.exports, lBZ11 = "data:image/png;base64,iVBORw0K
|
|
|
72964
72989
|
style8: i18nHelper("04-001-009-EMR.3.3.337", null, "恒牙牙位图"),
|
|
72965
72990
|
style9: i18nHelper("04-001-009-EMR.3.3.336", null, "乳牙牙位图"),
|
|
72966
72991
|
style10: i18nHelper("04-001-009-EMR.3.3.335", null, "牙位图"),
|
|
72967
|
-
style11: i18nHelper("04-001-009-EMR.3.3.334", null, "Pop-Q评分")
|
|
72992
|
+
style11: i18nHelper("04-001-009-EMR.3.3.334", null, "Pop-Q评分"),
|
|
72993
|
+
style12: "血浆渗透压",
|
|
72994
|
+
style13: "肌酐清除率"
|
|
72968
72995
|
},
|
|
72969
72996
|
menstrualHistory: {
|
|
72970
72997
|
menseDays: "",
|
|
@@ -73055,7 +73082,188 @@ const QrCode = __component__$16.exports, lBZ11 = "data:image/png;base64,iVBORw0K
|
|
|
73055
73082
|
Bp: !1,
|
|
73056
73083
|
D: !1
|
|
73057
73084
|
},
|
|
73058
|
-
menoPauseAgeText: i18nHelper("04-001-009-EMR.3.3.551", null, "岁")
|
|
73085
|
+
menoPauseAgeText: i18nHelper("04-001-009-EMR.3.3.551", null, "岁"),
|
|
73086
|
+
style12Form: {
|
|
73087
|
+
rules: {
|
|
73088
|
+
na: [
|
|
73089
|
+
{
|
|
73090
|
+
required: !0,
|
|
73091
|
+
trigger: "blur",
|
|
73092
|
+
validator: (a, t, r) => {
|
|
73093
|
+
if (!t) {
|
|
73094
|
+
r(new Error("Na⁺浓度不能为空"));
|
|
73095
|
+
return;
|
|
73096
|
+
}
|
|
73097
|
+
if (!/^\d+(\.\d{0,2})?$/.test(t)) {
|
|
73098
|
+
r(new Error("请输入100-200之间的数字"));
|
|
73099
|
+
return;
|
|
73100
|
+
}
|
|
73101
|
+
if (t < 100 || t > 200) {
|
|
73102
|
+
r(new Error("请输入100-200之间的数字"));
|
|
73103
|
+
return;
|
|
73104
|
+
}
|
|
73105
|
+
r();
|
|
73106
|
+
}
|
|
73107
|
+
}
|
|
73108
|
+
],
|
|
73109
|
+
k: [
|
|
73110
|
+
{
|
|
73111
|
+
required: !0,
|
|
73112
|
+
trigger: "blur",
|
|
73113
|
+
validator: (a, t, r) => {
|
|
73114
|
+
if (!t) {
|
|
73115
|
+
r(new Error("k⁺浓度不能为空"));
|
|
73116
|
+
return;
|
|
73117
|
+
}
|
|
73118
|
+
if (!/^\d+(\.\d{0,2})?$/.test(t)) {
|
|
73119
|
+
r(new Error("请输入1-10之间的数字"));
|
|
73120
|
+
return;
|
|
73121
|
+
}
|
|
73122
|
+
if (t < 1 || t > 10) {
|
|
73123
|
+
r(new Error("请输入1-10之间的数字"));
|
|
73124
|
+
return;
|
|
73125
|
+
}
|
|
73126
|
+
r();
|
|
73127
|
+
}
|
|
73128
|
+
}
|
|
73129
|
+
],
|
|
73130
|
+
glucose: [
|
|
73131
|
+
{
|
|
73132
|
+
required: !0,
|
|
73133
|
+
trigger: "blur",
|
|
73134
|
+
validator: (a, t, r) => {
|
|
73135
|
+
if (!t) {
|
|
73136
|
+
r(new Error("血糖浓度不能为空"));
|
|
73137
|
+
return;
|
|
73138
|
+
}
|
|
73139
|
+
if (!/^\d+(\.\d{0,2})?$/.test(t)) {
|
|
73140
|
+
r(new Error("请输入0-50之间的数字"));
|
|
73141
|
+
return;
|
|
73142
|
+
}
|
|
73143
|
+
if (t < 0 || t > 50) {
|
|
73144
|
+
r(new Error("请输入0-50之间的数字"));
|
|
73145
|
+
return;
|
|
73146
|
+
}
|
|
73147
|
+
r();
|
|
73148
|
+
}
|
|
73149
|
+
}
|
|
73150
|
+
],
|
|
73151
|
+
bun: [
|
|
73152
|
+
{
|
|
73153
|
+
required: !0,
|
|
73154
|
+
trigger: "blur",
|
|
73155
|
+
validator: (a, t, r) => {
|
|
73156
|
+
if (!t) {
|
|
73157
|
+
r(new Error("BUN浓度不能为空"));
|
|
73158
|
+
return;
|
|
73159
|
+
}
|
|
73160
|
+
if (!/^\d+(\.\d{0,2})?$/.test(t)) {
|
|
73161
|
+
r(new Error("请输入0-100之间的数字"));
|
|
73162
|
+
return;
|
|
73163
|
+
}
|
|
73164
|
+
if (t < 0 || t > 100) {
|
|
73165
|
+
r(new Error("请输入0-100之间的数字"));
|
|
73166
|
+
return;
|
|
73167
|
+
}
|
|
73168
|
+
r();
|
|
73169
|
+
}
|
|
73170
|
+
}
|
|
73171
|
+
]
|
|
73172
|
+
}
|
|
73173
|
+
},
|
|
73174
|
+
style12: {
|
|
73175
|
+
na: "",
|
|
73176
|
+
k: "",
|
|
73177
|
+
glucose: "",
|
|
73178
|
+
bun: "",
|
|
73179
|
+
plasmaOsmolarity: "",
|
|
73180
|
+
effectiveOsmolarity: ""
|
|
73181
|
+
},
|
|
73182
|
+
style13Form: {
|
|
73183
|
+
rules: {
|
|
73184
|
+
age: [
|
|
73185
|
+
{
|
|
73186
|
+
required: !0,
|
|
73187
|
+
trigger: "blur",
|
|
73188
|
+
validator: (a, t, r) => {
|
|
73189
|
+
if (!t) {
|
|
73190
|
+
r(new Error("年龄不能为空"));
|
|
73191
|
+
return;
|
|
73192
|
+
}
|
|
73193
|
+
if (!/^\d{0,20}$/.test(t)) {
|
|
73194
|
+
r(new Error("请输入正确的年龄"));
|
|
73195
|
+
return;
|
|
73196
|
+
}
|
|
73197
|
+
if (t < 0) {
|
|
73198
|
+
r(new Error("请输入正确的年龄"));
|
|
73199
|
+
return;
|
|
73200
|
+
}
|
|
73201
|
+
r();
|
|
73202
|
+
}
|
|
73203
|
+
}
|
|
73204
|
+
],
|
|
73205
|
+
weight: [
|
|
73206
|
+
{
|
|
73207
|
+
required: !0,
|
|
73208
|
+
trigger: "blur",
|
|
73209
|
+
validator: (a, t, r) => {
|
|
73210
|
+
if (!t) {
|
|
73211
|
+
r(new Error("体重不能为空"));
|
|
73212
|
+
return;
|
|
73213
|
+
}
|
|
73214
|
+
if (!/^\d+(\.\d{1,2})?$/.test(t)) {
|
|
73215
|
+
r(new Error("请输入正确的体重"));
|
|
73216
|
+
return;
|
|
73217
|
+
}
|
|
73218
|
+
r();
|
|
73219
|
+
}
|
|
73220
|
+
}
|
|
73221
|
+
],
|
|
73222
|
+
scr: [
|
|
73223
|
+
{
|
|
73224
|
+
required: !0,
|
|
73225
|
+
trigger: "blur",
|
|
73226
|
+
validator: (a, t, r) => {
|
|
73227
|
+
if (!t) {
|
|
73228
|
+
r(new Error("scr不能为空"));
|
|
73229
|
+
return;
|
|
73230
|
+
}
|
|
73231
|
+
if (!/^\d+(\.\d{1,2})?$/.test(t)) {
|
|
73232
|
+
r(new Error("请输入正确的scr"));
|
|
73233
|
+
return;
|
|
73234
|
+
}
|
|
73235
|
+
r();
|
|
73236
|
+
}
|
|
73237
|
+
}
|
|
73238
|
+
],
|
|
73239
|
+
auc: [
|
|
73240
|
+
{
|
|
73241
|
+
required: !1,
|
|
73242
|
+
trigger: "blur",
|
|
73243
|
+
validator: (a, t, r) => {
|
|
73244
|
+
if (!t) {
|
|
73245
|
+
r();
|
|
73246
|
+
return;
|
|
73247
|
+
}
|
|
73248
|
+
if (!/^\d+(\.\d{1,2})?$/.test(t) || t < 5 || t > 7) {
|
|
73249
|
+
r(new Error("请输入5-7之间的数字"));
|
|
73250
|
+
return;
|
|
73251
|
+
}
|
|
73252
|
+
r();
|
|
73253
|
+
}
|
|
73254
|
+
}
|
|
73255
|
+
]
|
|
73256
|
+
}
|
|
73257
|
+
},
|
|
73258
|
+
style13: {
|
|
73259
|
+
sex: "1",
|
|
73260
|
+
age: "",
|
|
73261
|
+
weight: "",
|
|
73262
|
+
scr: "",
|
|
73263
|
+
auc: "",
|
|
73264
|
+
ccr: "",
|
|
73265
|
+
dose: ""
|
|
73266
|
+
}
|
|
73059
73267
|
};
|
|
73060
73268
|
},
|
|
73061
73269
|
inject: {
|
|
@@ -73080,6 +73288,20 @@ const QrCode = __component__$16.exports, lBZ11 = "data:image/png;base64,iVBORw0K
|
|
|
73080
73288
|
// }
|
|
73081
73289
|
// },
|
|
73082
73290
|
// },
|
|
73291
|
+
style13: {
|
|
73292
|
+
deep: !0,
|
|
73293
|
+
handler() {
|
|
73294
|
+
const a = this.style13;
|
|
73295
|
+
a.age && a.weight && a.scr && this.handleCompute(this.expressStyle);
|
|
73296
|
+
}
|
|
73297
|
+
},
|
|
73298
|
+
style12: {
|
|
73299
|
+
deep: !0,
|
|
73300
|
+
handler() {
|
|
73301
|
+
const a = this.style12;
|
|
73302
|
+
a.na && a.k && a.glucose && a.bun && this.handleCompute(this.expressStyle);
|
|
73303
|
+
}
|
|
73304
|
+
}
|
|
73083
73305
|
},
|
|
73084
73306
|
computed: {
|
|
73085
73307
|
controlType() {
|
|
@@ -73130,6 +73352,12 @@ const QrCode = __component__$16.exports, lBZ11 = "data:image/png;base64,iVBORw0K
|
|
|
73130
73352
|
const t = a;
|
|
73131
73353
|
[this.style89.topLeft, this.style89.topRight, this.style89.bottomLeft, this.style89.bottomRight] = [...t];
|
|
73132
73354
|
} else this.expressStyle == "style11" && (this.style11 = { ...a });
|
|
73355
|
+
} else if (this.expressStyle == "style13") {
|
|
73356
|
+
const a = this.vueController.getDocProperty();
|
|
73357
|
+
if (this.style13.sex = a.patientSex || "1", this.style13.weight = a.patientWeight || "", a.patientAge) {
|
|
73358
|
+
const t = str.match(/(\d+)岁/);
|
|
73359
|
+
this.style13.age = t ? t[1] : "";
|
|
73360
|
+
}
|
|
73133
73361
|
}
|
|
73134
73362
|
},
|
|
73135
73363
|
methods: {
|
|
@@ -73233,6 +73461,26 @@ const QrCode = __component__$16.exports, lBZ11 = "data:image/png;base64,iVBORw0K
|
|
|
73233
73461
|
bottomRightClick(a) {
|
|
73234
73462
|
this.style89.bottomRight = [...this.handleStyle10ValueClick([...this.style89.bottomRight], a)];
|
|
73235
73463
|
},
|
|
73464
|
+
handleCompute(a, t) {
|
|
73465
|
+
a === "style12" ? this.$refs.style12Form.validate((r) => {
|
|
73466
|
+
if (r) {
|
|
73467
|
+
const o = this.style12;
|
|
73468
|
+
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;
|
|
73469
|
+
} else
|
|
73470
|
+
return !1;
|
|
73471
|
+
}) : a === "style13" && this.$refs.style13Form.validate((r) => {
|
|
73472
|
+
if (r) {
|
|
73473
|
+
const o = this.style13, n = parseFloat(o.age) || 0, s = parseFloat(o.weight) || 0, l = parseFloat(o.scr) || 0.1, c = o.sex === "2";
|
|
73474
|
+
let d = (140 - n) * s / (72 * l);
|
|
73475
|
+
if (c || (d *= 0.85), this.style13.ccr = d.toFixed(2), o.auc) {
|
|
73476
|
+
const f = (parseFloat(o.auc) || 5) * (d + 25);
|
|
73477
|
+
this.style13.dose = f.toFixed(2);
|
|
73478
|
+
} else
|
|
73479
|
+
this.style13.dose = "";
|
|
73480
|
+
t == null || t();
|
|
73481
|
+
}
|
|
73482
|
+
});
|
|
73483
|
+
},
|
|
73236
73484
|
/** 取消 */
|
|
73237
73485
|
cancel() {
|
|
73238
73486
|
this.animationClassNames = "control-modal-contents express-dialog animation-out", this.$emit("closed");
|
|
@@ -73265,8 +73513,17 @@ const QrCode = __component__$16.exports, lBZ11 = "data:image/png;base64,iVBORw0K
|
|
|
73265
73513
|
return;
|
|
73266
73514
|
}
|
|
73267
73515
|
this.insertPopQScore(this.controlStatus);
|
|
73268
|
-
}
|
|
73269
|
-
|
|
73516
|
+
} else this.expressStyle === "style12" ? this.handleCompute(this.expressStyle, () => {
|
|
73517
|
+
const a = `<span>
|
|
73518
|
+
<span>血浆渗透压:${this.style12.plasmaOsmolarity}mmol/L</span><br>
|
|
73519
|
+
<span>有效渗透压:${this.style12.effectiveOsmolarity}mmol/L</span>
|
|
73520
|
+
</span>`;
|
|
73521
|
+
this.vueController.insertHtmlText(a), this.cancel();
|
|
73522
|
+
}) : this.expressStyle === "style13" && this.handleCompute(this.expressStyle, () => {
|
|
73523
|
+
let a = `<span><span>肌酐清除率:${this.style13.ccr}mL/min</span>`;
|
|
73524
|
+
this.style13.dose ? a += `<br><span>卡铂剂量:${this.style13.dose}mg</span></span>` : a += "</span>", this.vueController.insertHtmlText(a), this.cancel();
|
|
73525
|
+
});
|
|
73526
|
+
["style12", "style13"].includes(this.expressStyle) || this.cancel();
|
|
73270
73527
|
},
|
|
73271
73528
|
/**
|
|
73272
73529
|
* 经期史
|
|
@@ -73480,7 +73737,33 @@ var _sfc_render$15 = function a() {
|
|
|
73480
73737
|
} }, model: { value: t.style11[n], callback: function(s) {
|
|
73481
73738
|
t.$set(t.style11, n, s);
|
|
73482
73739
|
}, expression: "style11[key]" } })], 1);
|
|
73483
|
-
}), 0)] : t.
|
|
73740
|
+
}), 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", {
|
|
73741
|
+
// labelCol: { span: 10 },
|
|
73742
|
+
// wrapperCol: { span: 14 },
|
|
73743
|
+
labelAlign: "left"
|
|
73744
|
+
}, !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) {
|
|
73745
|
+
t.$set(t.style12, "na", o);
|
|
73746
|
+
}, 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) {
|
|
73747
|
+
t.$set(t.style12, "k", o);
|
|
73748
|
+
}, 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) {
|
|
73749
|
+
t.$set(t.style12, "glucose", o);
|
|
73750
|
+
}, 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) {
|
|
73751
|
+
t.$set(t.style12, "bun", o);
|
|
73752
|
+
}, 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", {
|
|
73753
|
+
// labelCol: { span: 10 },
|
|
73754
|
+
// wrapperCol: { span: 14 },
|
|
73755
|
+
labelAlign: "left"
|
|
73756
|
+
}, !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) {
|
|
73757
|
+
t.$set(t.style13, "sex", o);
|
|
73758
|
+
}, 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) {
|
|
73759
|
+
t.$set(t.style13, "age", o);
|
|
73760
|
+
}, 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) {
|
|
73761
|
+
t.$set(t.style13, "weight", o);
|
|
73762
|
+
}, 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) {
|
|
73763
|
+
t.$set(t.style13, "scr", o);
|
|
73764
|
+
}, 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: "" }, model: { value: t.style13.auc, callback: function(o) {
|
|
73765
|
+
t.$set(t.style13, "auc", o);
|
|
73766
|
+
}, 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
73767
|
}, _sfc_staticRenderFns$15 = [function() {
|
|
73485
73768
|
var a = this, t = a._self._c;
|
|
73486
73769
|
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 +73773,21 @@ var _sfc_render$15 = function a() {
|
|
|
73490
73773
|
}, function() {
|
|
73491
73774
|
var a = this, t = a._self._c;
|
|
73492
73775
|
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")])]);
|
|
73776
|
+
}, function() {
|
|
73777
|
+
var a = this, t = a._self._c;
|
|
73778
|
+
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)")])])]);
|
|
73779
|
+
}, function() {
|
|
73780
|
+
var a = this, t = a._self._c;
|
|
73781
|
+
return a._self._setupProxy, t("div", { staticClass: "style12-card-title" }, [t("span", [a._v("计算结果")])]);
|
|
73782
|
+
}, function() {
|
|
73783
|
+
var a = this, t = a._self._c;
|
|
73784
|
+
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")])])]);
|
|
73785
|
+
}, function() {
|
|
73786
|
+
var a = this, t = a._self._c;
|
|
73787
|
+
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,需根据肿瘤类型及治疗方案确定")])])]);
|
|
73788
|
+
}, function() {
|
|
73789
|
+
var a = this, t = a._self._c;
|
|
73790
|
+
return a._self._setupProxy, t("div", { staticClass: "style12-card-title" }, [t("span", [a._v("计算结果")])]);
|
|
73493
73791
|
}], __component__$15 = /* @__PURE__ */ normalizeComponent$1(
|
|
73494
73792
|
_sfc_main$15,
|
|
73495
73793
|
_sfc_render$15,
|
|
@@ -78423,7 +78721,7 @@ function requireVueColor_min() {
|
|
|
78423
78721
|
return G(ae) / 255;
|
|
78424
78722
|
}
|
|
78425
78723
|
function Q(ae) {
|
|
78426
|
-
return !!
|
|
78724
|
+
return !!xe.CSS_UNIT.exec(ae);
|
|
78427
78725
|
}
|
|
78428
78726
|
function ne(ae) {
|
|
78429
78727
|
ae = ae.replace(Ie, "").replace(we, "").toLowerCase();
|
|
@@ -78431,9 +78729,9 @@ function requireVueColor_min() {
|
|
|
78431
78729
|
if (Te[ae]) ae = Te[ae], he = !0;
|
|
78432
78730
|
else if (ae == "transparent") return { r: 0, g: 0, b: 0, a: 0, format: "name" };
|
|
78433
78731
|
var $;
|
|
78434
|
-
return ($ =
|
|
78732
|
+
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
78733
|
}
|
|
78436
|
-
function
|
|
78734
|
+
function Ce(ae) {
|
|
78437
78735
|
var he, $;
|
|
78438
78736
|
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
78737
|
}
|
|
@@ -78553,7 +78851,7 @@ function requireVueColor_min() {
|
|
|
78553
78851
|
return (l.max($.getLuminance(), Ne.getLuminance()) + 0.05) / (l.min($.getLuminance(), Ne.getLuminance()) + 0.05);
|
|
78554
78852
|
}, c.isReadable = function(ae, he, $) {
|
|
78555
78853
|
var Ne, Be, Qe = c.readability(ae, he);
|
|
78556
|
-
switch (Be = !1, Ne =
|
|
78854
|
+
switch (Be = !1, Ne = Ce($), Ne.level + Ne.size) {
|
|
78557
78855
|
case "AAsmall":
|
|
78558
78856
|
case "AAAlarge":
|
|
78559
78857
|
Be = Qe >= 4.5;
|
|
@@ -78575,7 +78873,7 @@ function requireVueColor_min() {
|
|
|
78575
78873
|
var he = {};
|
|
78576
78874
|
for (var $ in ae) ae.hasOwnProperty($) && (he[ae[$]] = $);
|
|
78577
78875
|
return he;
|
|
78578
|
-
}(Te),
|
|
78876
|
+
}(Te), xe = function() {
|
|
78579
78877
|
var ae = "(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)", he = "[\\s|\\(]+(" + ae + ")[,|\\s]+(" + ae + ")[,|\\s]+(" + ae + ")\\s*\\)?", $ = "[\\s|\\(]+(" + ae + ")[,|\\s]+(" + ae + ")[,|\\s]+(" + ae + ")[,|\\s]+(" + ae + ")\\s*\\)?";
|
|
78580
78878
|
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
78879
|
}();
|
|
@@ -78971,7 +79269,7 @@ function requireVueColor_min() {
|
|
|
78971
79269
|
}, function(r, o, n) {
|
|
78972
79270
|
n(102), n(108), n(109), n(110), r.exports = n(24).Symbol;
|
|
78973
79271
|
}, 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,
|
|
79272
|
+
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
79273
|
return R(z({}, "a", { get: function() {
|
|
78976
79274
|
return z(this, "a", { value: 7 }).a;
|
|
78977
79275
|
} })).a != 7;
|
|
@@ -78981,7 +79279,7 @@ function requireVueColor_min() {
|
|
|
78981
79279
|
} : z, pe = function(Me) {
|
|
78982
79280
|
var ze = ue[Me] = R(Y.prototype);
|
|
78983
79281
|
return ze._k = Me, ze;
|
|
78984
|
-
}, Pe =
|
|
79282
|
+
}, Pe = Ce && typeof Y.iterator == "symbol" ? function(Me) {
|
|
78985
79283
|
return typeof Me == "symbol";
|
|
78986
79284
|
} : function(Me) {
|
|
78987
79285
|
return Me instanceof Y;
|
|
@@ -78996,7 +79294,7 @@ function requireVueColor_min() {
|
|
|
78996
79294
|
}, He = function(Me) {
|
|
78997
79295
|
var ze = ie.call(this, Me = I(Me, !0));
|
|
78998
79296
|
return !(this === ne && l(ue, Me) && !l(Q, Me)) && (!(ze || !l(this, Me) || !l(ue, Me) || l(this, le) && this[le][Me]) || ze);
|
|
78999
|
-
},
|
|
79297
|
+
}, xe = function(Me, ze) {
|
|
79000
79298
|
if (Me = T(Me), ze = I(ze, !0), Me !== ne || !l(ue, ze) || l(Q, ze)) {
|
|
79001
79299
|
var ot = U(Me, ze);
|
|
79002
79300
|
return !ot || !l(ue, ze) || l(Me, le) && Me[le][ze] || (ot.enumerable = !0), ot;
|
|
@@ -79008,7 +79306,7 @@ function requireVueColor_min() {
|
|
|
79008
79306
|
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
79307
|
return _t;
|
|
79010
79308
|
};
|
|
79011
|
-
|
|
79309
|
+
Ce || (Y = function() {
|
|
79012
79310
|
if (this instanceof Y) throw TypeError("Symbol is not a constructor!");
|
|
79013
79311
|
var Me = y(arguments.length > 0 ? arguments[0] : void 0), ze = function(ot) {
|
|
79014
79312
|
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 +79314,12 @@ function requireVueColor_min() {
|
|
|
79016
79314
|
return c && we && _e(ne, Me, { configurable: !0, set: ze }), pe(Me);
|
|
79017
79315
|
}, u(Y.prototype, "toString", function() {
|
|
79018
79316
|
return this._k;
|
|
79019
|
-
}), H.f =
|
|
79317
|
+
}), 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
79318
|
return pe(w(Me));
|
|
79021
|
-
}), d(d.G + d.W + d.F * !
|
|
79319
|
+
}), d(d.G + d.W + d.F * !Ce, { Symbol: Y });
|
|
79022
79320
|
for (var $ = "hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","), Ne = 0; $.length > Ne; ) w($[Ne++]);
|
|
79023
79321
|
for (var Be = j(w.store), Qe = 0; Be.length > Qe; ) C(Be[Qe++]);
|
|
79024
|
-
d(d.S + d.F * !
|
|
79322
|
+
d(d.S + d.F * !Ce, "Symbol", { for: function(Me) {
|
|
79025
79323
|
return l(ge, Me += "") ? ge[Me] : ge[Me] = Y(Me);
|
|
79026
79324
|
}, keyFor: function(Me) {
|
|
79027
79325
|
if (!Pe(Me)) throw TypeError(Me + " is not a symbol!");
|
|
@@ -79030,7 +79328,7 @@ function requireVueColor_min() {
|
|
|
79030
79328
|
we = !0;
|
|
79031
79329
|
}, useSimple: function() {
|
|
79032
79330
|
we = !1;
|
|
79033
|
-
} }), d(d.S + d.F * !
|
|
79331
|
+
} }), 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
79332
|
var Me = Y();
|
|
79035
79333
|
return J([Me]) != "[null]" || J({ a: Me }) != "{}" || J(Object(Me)) != "{}";
|
|
79036
79334
|
})), "JSON", { stringify: function(Me) {
|
|
@@ -79535,7 +79833,7 @@ function requireVueColor_min() {
|
|
|
79535
79833
|
return ge = ue = void 0, we = Se, ne = H.apply(Te, qe);
|
|
79536
79834
|
}
|
|
79537
79835
|
function z(Se) {
|
|
79538
|
-
return we = Se,
|
|
79836
|
+
return we = Se, Ce = setTimeout(G, O), _e ? U(Se) : ne;
|
|
79539
79837
|
}
|
|
79540
79838
|
function X(Se) {
|
|
79541
79839
|
var qe = Se - Ie, Te = Se - we, He = O - qe;
|
|
@@ -79548,26 +79846,26 @@ function requireVueColor_min() {
|
|
|
79548
79846
|
function G() {
|
|
79549
79847
|
var Se = A();
|
|
79550
79848
|
if (Y(Se)) return J(Se);
|
|
79551
|
-
|
|
79849
|
+
Ce = setTimeout(G, X(Se));
|
|
79552
79850
|
}
|
|
79553
79851
|
function J(Se) {
|
|
79554
|
-
return
|
|
79852
|
+
return Ce = void 0, Pe && ge ? U(Se) : (ge = ue = void 0, ne);
|
|
79555
79853
|
}
|
|
79556
79854
|
function le() {
|
|
79557
|
-
|
|
79855
|
+
Ce !== void 0 && clearTimeout(Ce), we = 0, ge = Ie = ue = Ce = void 0;
|
|
79558
79856
|
}
|
|
79559
79857
|
function ye() {
|
|
79560
|
-
return
|
|
79858
|
+
return Ce === void 0 ? ne : J(A());
|
|
79561
79859
|
}
|
|
79562
79860
|
function ie() {
|
|
79563
79861
|
var Se = A(), qe = Y(Se);
|
|
79564
79862
|
if (ge = arguments, ue = this, Ie = Se, qe) {
|
|
79565
|
-
if (
|
|
79566
|
-
if (pe) return
|
|
79863
|
+
if (Ce === void 0) return z(Ie);
|
|
79864
|
+
if (pe) return Ce = setTimeout(G, O), U(Ie);
|
|
79567
79865
|
}
|
|
79568
|
-
return
|
|
79866
|
+
return Ce === void 0 && (Ce = setTimeout(G, O)), ne;
|
|
79569
79867
|
}
|
|
79570
|
-
var ge, ue, Q, ne,
|
|
79868
|
+
var ge, ue, Q, ne, Ce, Ie, we = 0, _e = !1, pe = !1, Pe = !0;
|
|
79571
79869
|
if (typeof H != "function") throw new TypeError(f);
|
|
79572
79870
|
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
79871
|
}
|
|
@@ -84129,7 +84427,7 @@ var _sfc_render$j = function a() {
|
|
|
84129
84427
|
var t = this, r = t._self._c;
|
|
84130
84428
|
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
84429
|
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);
|
|
84430
|
+
} } }, [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
84431
|
}, _sfc_staticRenderFns$j = [], __component__$j = /* @__PURE__ */ normalizeComponent$1(
|
|
84134
84432
|
_sfc_main$j,
|
|
84135
84433
|
_sfc_render$j,
|