hoeditor-web 3.2.13 → 3.2.15
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.
|
@@ -10061,7 +10061,7 @@ class RadioAndCheckBoxNode extends ControlNode {
|
|
|
10061
10061
|
return "单复选框";
|
|
10062
10062
|
}
|
|
10063
10063
|
}
|
|
10064
|
-
var NodeType = /* @__PURE__ */ ((a) => (a[a.ntParagraph = 0] = "ntParagraph", a[a.ntTable = 1] = "ntTable", a[a.ntText = 2] = "ntText", a[a.ntCell = 3] = "ntCell", a[a.ntMedicalExpression = 4] = "ntMedicalExpression", a[a.ntMark = 5] = "ntMark", a[a.ntImage = 6] = "ntImage", a[a.ntField = 7] = "ntField", a[a.ntControl = 8] = "ntControl", a[a.ntSpecialChar = 9] = "ntSpecialChar", a[a.ntPageCount = 10] = "ntPageCount", a[a.ntPageNum = 11] = "ntPageNum", a[a.ntTableFormula = 12] = "ntTableFormula", a[a.ntSeparateChar = 13] = "ntSeparateChar", a[a.ntLabel = 14] = "ntLabel", a[a.ntSign = 15] = "ntSign", a[a.ntGestation = 16] = "ntGestation", a[a.ntRareChar = 17] = "ntRareChar", a[a.ntJumpButton = 18] = "ntJumpButton", a[a.ntTextBorder = 19] = "ntTextBorder", a[a.ntSlider = 20] = "ntSlider", a[a.ntFigure = 21] = "ntFigure", a))(NodeType || {}), FormularType$1 = /* @__PURE__ */ ((a) => (a[a.ftSum = 0] = "ftSum", a[a.ftFormular = 1] = "ftFormular", a[a.ftBMI = 2] = "ftBMI", a[a.ftLaborProcess = 3] = "ftLaborProcess", a[a.ftExpectedBirthDate = 4] = "ftExpectedBirthDate", a[a.ftPregnantWeeks = 5] = "ftPregnantWeeks", a[a.ftScoreMapping = 6] = "ftScoreMapping", a[a.ftBodySurfaceArea = 7] = "ftBodySurfaceArea", a[a.ftCalcDays = 8] = "ftCalcDays", a[a.ftCalcTime = 9] = "ftCalcTime", a[a.ftIdealWeight = 10] = "ftIdealWeight", a[a.ftISS = 11] = "ftISS", a[a.ftCurveChart = 12] = "ftCurveChart", a))(FormularType$1 || {}), SliderDecimalType = /* @__PURE__ */ ((a) => (a[a.Retain = 0] = "Retain", a[a.Rounding = 1] = "Rounding", a[a.Remove = 2] = "Remove", a))(SliderDecimalType || {}), SliderFigureType = /* @__PURE__ */ ((a) => (a[a.Figure = 0] = "Figure", a[a.Skin = 1] = "Skin", a[a.Joint = 2] = "Joint", a[a.Mases = 3] = "Mases", a))(SliderFigureType || {}), PaintState$1 = /* @__PURE__ */ ((a) => (a[a.psDesign = 0] = "psDesign", a[a.psEdit = 1] = "psEdit", a[a.psPreview = 2] = "psPreview", a[a.psPrint = 3] = "psPrint", a[a.psReview = 4] = "psReview", a[a.psReadOnly = 5] = "psReadOnly", a[a.psTrace = 6] = "psTrace", a))(PaintState$1 || {});
|
|
10064
|
+
var NodeType = /* @__PURE__ */ ((a) => (a[a.ntParagraph = 0] = "ntParagraph", a[a.ntTable = 1] = "ntTable", a[a.ntText = 2] = "ntText", a[a.ntCell = 3] = "ntCell", a[a.ntMedicalExpression = 4] = "ntMedicalExpression", a[a.ntMark = 5] = "ntMark", a[a.ntImage = 6] = "ntImage", a[a.ntField = 7] = "ntField", a[a.ntControl = 8] = "ntControl", a[a.ntSpecialChar = 9] = "ntSpecialChar", a[a.ntPageCount = 10] = "ntPageCount", a[a.ntPageNum = 11] = "ntPageNum", a[a.ntTableFormula = 12] = "ntTableFormula", a[a.ntSeparateChar = 13] = "ntSeparateChar", a[a.ntLabel = 14] = "ntLabel", a[a.ntSign = 15] = "ntSign", a[a.ntGestation = 16] = "ntGestation", a[a.ntRareChar = 17] = "ntRareChar", a[a.ntJumpButton = 18] = "ntJumpButton", a[a.ntTextBorder = 19] = "ntTextBorder", a[a.ntSlider = 20] = "ntSlider", a[a.ntFigure = 21] = "ntFigure", a))(NodeType || {}), FormularType$1 = /* @__PURE__ */ ((a) => (a[a.ftSum = 0] = "ftSum", a[a.ftFormular = 1] = "ftFormular", a[a.ftBMI = 2] = "ftBMI", a[a.ftLaborProcess = 3] = "ftLaborProcess", a[a.ftExpectedBirthDate = 4] = "ftExpectedBirthDate", a[a.ftPregnantWeeks = 5] = "ftPregnantWeeks", a[a.ftScoreMapping = 6] = "ftScoreMapping", a[a.ftBodySurfaceArea = 7] = "ftBodySurfaceArea", a[a.ftCalcDays = 8] = "ftCalcDays", a[a.ftCalcTime = 9] = "ftCalcTime", a[a.ftIdealWeight = 10] = "ftIdealWeight", a[a.ftISS = 11] = "ftISS", a[a.ftCurveChart = 12] = "ftCurveChart", a))(FormularType$1 || {}), SliderDecimalType = /* @__PURE__ */ ((a) => (a[a.Retain = 0] = "Retain", a[a.Rounding = 1] = "Rounding", a[a.Remove = 2] = "Remove", a))(SliderDecimalType || {}), SliderFigureType = /* @__PURE__ */ ((a) => (a[a.Figure = 0] = "Figure", a[a.Skin = 1] = "Skin", a[a.Joint = 2] = "Joint", a[a.Mases = 3] = "Mases", a))(SliderFigureType || {}), PaintState$1 = /* @__PURE__ */ ((a) => (a[a.psDesign = 0] = "psDesign", a[a.psEdit = 1] = "psEdit", a[a.psPreview = 2] = "psPreview", a[a.psPrint = 3] = "psPrint", a[a.psReview = 4] = "psReview", a[a.psReadOnly = 5] = "psReadOnly", a[a.psTrace = 6] = "psTrace", a))(PaintState$1 || {}), HistoryComponentPosition = /* @__PURE__ */ ((a) => (a[a.left = 0] = "left", a[a.right = 1] = "right", a))(HistoryComponentPosition || {});
|
|
10065
10065
|
class DrawTableFormularChart extends DrawCombineNode {
|
|
10066
10066
|
constructor(r, o, n) {
|
|
10067
10067
|
var s;
|
|
@@ -14897,7 +14897,7 @@ class DrawSignNode extends DrawCombineNode {
|
|
|
14897
14897
|
}
|
|
14898
14898
|
}
|
|
14899
14899
|
}
|
|
14900
|
-
const version = "3.2.
|
|
14900
|
+
const version = "3.2.15";
|
|
14901
14901
|
var FingerPosition = /* @__PURE__ */ ((a) => (a[a.left = 0] = "left", a[a.center = 1] = "center", a[a.right = 2] = "right", a))(FingerPosition || {});
|
|
14902
14902
|
class SignNode extends BaseNode {
|
|
14903
14903
|
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) {
|
|
@@ -31951,7 +31951,8 @@ const AiModels = __component__$1j.exports, _sfc_main$1i = defineComponent({
|
|
|
31951
31951
|
return {
|
|
31952
31952
|
isHeadFoot: "",
|
|
31953
31953
|
// 页眉页脚是否应该出现
|
|
31954
|
-
topMarginPixes: 0
|
|
31954
|
+
topMarginPixes: 0,
|
|
31955
|
+
historyPosition: 1
|
|
31955
31956
|
};
|
|
31956
31957
|
},
|
|
31957
31958
|
computed: {
|
|
@@ -31984,11 +31985,15 @@ const AiModels = __component__$1j.exports, _sfc_main$1i = defineComponent({
|
|
|
31984
31985
|
a.indexOf(this.index) === -1 ? this.$refs.selectcanvas.removeEventListener("dblclick", this.addEventerDblClick, !0) : this.$refs.selectcanvas.addEventListener("dblclick", this.addEventerDblClick, !0);
|
|
31985
31986
|
}
|
|
31986
31987
|
},
|
|
31988
|
+
created() {
|
|
31989
|
+
const a = HOEditorFactorys.instance().getFactory(this.hoEditorId);
|
|
31990
|
+
this.historyPosition = a.historyPosition;
|
|
31991
|
+
},
|
|
31987
31992
|
mounted() {
|
|
31988
|
-
|
|
31989
|
-
o.init(t, r), this.$emit("pageReady", o), this.$nextTick(() => {
|
|
31993
|
+
this.$nextTick(() => {
|
|
31990
31994
|
var n;
|
|
31991
|
-
|
|
31995
|
+
const a = HOEditorFactorys.instance().getFactory(this.hoEditorId), t = new DrawDomLevel(this.hoEditorId, this.index, this.$refs.domcanvas), r = new DrawSelectLevel(this.hoEditorId, this.index, this.$refs.selectcanvas, this.docIndex, this.index), o = a.drawTree.drawPages[this.index];
|
|
31996
|
+
o.init(t, r), this.$emit("pageReady", o), (n = this.viewableAreaObserver) == null || n.observe(this.$refs.hoPage);
|
|
31992
31997
|
});
|
|
31993
31998
|
},
|
|
31994
31999
|
methods: {
|
|
@@ -32019,9 +32024,9 @@ const AiModels = __component__$1j.exports, _sfc_main$1i = defineComponent({
|
|
|
32019
32024
|
});
|
|
32020
32025
|
var _sfc_render$1i = function a() {
|
|
32021
32026
|
var t = this, r = t._self._c;
|
|
32022
|
-
return t._self._setupProxy, r("div", { ref: "hoPage", class: t.pageClassNames, style: { height: t.normalHeight + "px", width: t.normalWidth + t.commentWidth + "px" } }, [r("canvas", { ref: "domcanvas", class: t.domCanvasName, style: { height: t.normalHeight + "px", width: t.normalWidth + "px" }, attrs: { width: t.scaleWidth, height: t.scaleHeight } }), r("canvas", { ref: "selectcanvas", staticClass: "selectcanvas", style: { height: t.normalHeight + "px", width: t.normalWidth + "px" }, attrs: { width: t.scaleWidth, height: t.scaleHeight }, on: { contextmenu: function(o) {
|
|
32027
|
+
return t._self._setupProxy, r("div", { ref: "hoPage", class: t.pageClassNames, style: { height: t.normalHeight + "px", width: t.normalWidth + t.commentWidth + "px" } }, [t.historyPosition == 0 ? r("div", { class: t.commentCanvasName, style: { height: t.normalHeight + "px", width: t.commentWidth + "px" }, attrs: { id: "ho-comment-box-" + t.index } }) : t._e(), r("canvas", { ref: "domcanvas", class: t.domCanvasName, style: { height: t.normalHeight + "px", width: t.normalWidth + "px" }, attrs: { width: t.scaleWidth, height: t.scaleHeight } }), r("canvas", { ref: "selectcanvas", staticClass: "selectcanvas", style: { height: t.normalHeight + "px", width: t.normalWidth + "px", left: t.historyPosition == 0 ? t.commentWidth + "px" : "0px" }, attrs: { width: t.scaleWidth, height: t.scaleHeight }, on: { contextmenu: function(o) {
|
|
32023
32028
|
return t.canvasRightClick.apply(null, arguments);
|
|
32024
|
-
} } }), r("div", { class: t.commentCanvasName, style: { height: t.normalHeight + "px", width: t.commentWidth + "px" }, attrs: { id: "ho-comment-box-" + t.index } }), [t._t("hoAddCellButton")], [t._t("hoAddSelectMark")], [t._t("hoAddNextCellButton")], t.index === t.aiInfo.pageIndex && t.aiInfo.aiText ? r("AiModel", { attrs: { textStyles: t.textStyles, scaleWidth: t.canvasWidth, hoEditorFactoryId: t.hoEditorId, aiInfo: t.aiInfo } }) : t._e(), t.isHeadFoot === "header" || t.isHeadFoot === "footer" ? r("ho-head-foot", { attrs: { headerFooterPosition: t.canvasHeadFootPos, isHeadFoot: t.isHeadFoot }, scopedSlots: t._u([{ key: "head", fn: function() {
|
|
32029
|
+
} } }), t.historyPosition == 1 ? r("div", { class: t.commentCanvasName, style: { height: t.normalHeight + "px", width: t.commentWidth + "px" }, attrs: { id: "ho-comment-box-" + t.index } }) : t._e(), [t._t("hoAddCellButton")], [t._t("hoAddSelectMark")], [t._t("hoAddNextCellButton")], t.index === t.aiInfo.pageIndex && t.aiInfo.aiText ? r("AiModel", { attrs: { textStyles: t.textStyles, scaleWidth: t.canvasWidth, hoEditorFactoryId: t.hoEditorId, aiInfo: t.aiInfo } }) : t._e(), t.isHeadFoot === "header" || t.isHeadFoot === "footer" ? r("ho-head-foot", { attrs: { headerFooterPosition: t.canvasHeadFootPos, isHeadFoot: t.isHeadFoot }, scopedSlots: t._u([{ key: "head", fn: function() {
|
|
32025
32030
|
return [t._t("hoPageHead")];
|
|
32026
32031
|
}, proxy: !0 }, { key: "foot", fn: function() {
|
|
32027
32032
|
return [t._t("hoPageFoot")];
|
|
@@ -34015,7 +34020,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34015
34020
|
return q.priority - ce.priority;
|
|
34016
34021
|
}), L;
|
|
34017
34022
|
}
|
|
34018
|
-
var yt = /\d/, vt = /\d\d/, et = /\d{3}/, tt = /\d{4}/, gt = /[+-]?\d{6}/, lt = /\d\d?/, Ct = /\d\d\d\d?/, wt = /\d\d\d\d\d\d?/, Et = /\d{1,3}/, Dt = /\d{1,4}/, Qt = /[+-]?\d{1,6}/, Mt = /\d+/, rr = /[+-]?\d+/,
|
|
34023
|
+
var yt = /\d/, vt = /\d\d/, et = /\d{3}/, tt = /\d{4}/, gt = /[+-]?\d{6}/, lt = /\d\d?/, Ct = /\d\d\d\d?/, wt = /\d\d\d\d\d\d?/, Et = /\d{1,3}/, Dt = /\d{1,4}/, Qt = /[+-]?\d{1,6}/, Mt = /\d+/, rr = /[+-]?\d+/, xr = /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, ne = /^[1-9]\d?/, De = /^([1-9]\d|\d)/, We;
|
|
34019
34024
|
We = {};
|
|
34020
34025
|
function Ye(D, L, Y) {
|
|
34021
34026
|
We[D] = U(L) ? L : function(q, ce) {
|
|
@@ -34045,21 +34050,21 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34045
34050
|
var L = +D, Y = 0;
|
|
34046
34051
|
return L !== 0 && isFinite(L) && (Y = ir(L)), Y;
|
|
34047
34052
|
}
|
|
34048
|
-
var
|
|
34049
|
-
function
|
|
34053
|
+
var br = {};
|
|
34054
|
+
function kt(D, L) {
|
|
34050
34055
|
var Y, q = L, ce;
|
|
34051
34056
|
for (typeof D == "string" && (D = [D]), f(L) && (q = function(Le, Ke) {
|
|
34052
34057
|
Ke[L] = ht(Le);
|
|
34053
34058
|
}), ce = D.length, Y = 0; Y < ce; Y++)
|
|
34054
|
-
|
|
34059
|
+
br[D[Y]] = q;
|
|
34055
34060
|
}
|
|
34056
34061
|
function wr(D, L) {
|
|
34057
|
-
|
|
34062
|
+
kt(D, function(Y, q, ce, Le) {
|
|
34058
34063
|
ce._w = ce._w || {}, L(Y, ce._w, ce, Le);
|
|
34059
34064
|
});
|
|
34060
34065
|
}
|
|
34061
34066
|
function dr(D, L, Y) {
|
|
34062
|
-
L != null && c(
|
|
34067
|
+
L != null && c(br, D) && br[D](L, Y._a, Y, D);
|
|
34063
34068
|
}
|
|
34064
34069
|
function Xt(D) {
|
|
34065
34070
|
return D % 4 === 0 && D % 100 !== 0 || D % 400 === 0;
|
|
@@ -34070,11 +34075,11 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34070
34075
|
return D <= 9999 ? we(D, 4) : "+" + D;
|
|
34071
34076
|
}), le(0, ["YY", 2], 0, function() {
|
|
34072
34077
|
return this.year() % 100;
|
|
34073
|
-
}), le(0, ["YYYY", 4], 0, "year"), le(0, ["YYYYY", 5], 0, "year"), le(0, ["YYYYYY", 6, !0], 0, "year"), Ye("Y", rr), Ye("YY", lt, vt), Ye("YYYY", Dt, tt), Ye("YYYYY", Qt, gt), Ye("YYYYYY", Qt, gt),
|
|
34078
|
+
}), le(0, ["YYYY", 4], 0, "year"), le(0, ["YYYYY", 5], 0, "year"), le(0, ["YYYYYY", 6, !0], 0, "year"), Ye("Y", rr), Ye("YY", lt, vt), Ye("YYYY", Dt, tt), Ye("YYYYY", Qt, gt), Ye("YYYYYY", Qt, gt), kt(["YYYYY", "YYYYYY"], jt), kt("YYYY", function(D, L) {
|
|
34074
34079
|
L[jt] = D.length === 2 ? o.parseTwoDigitYear(D) : ht(D);
|
|
34075
|
-
}),
|
|
34080
|
+
}), kt("YY", function(D, L) {
|
|
34076
34081
|
L[jt] = o.parseTwoDigitYear(D);
|
|
34077
|
-
}),
|
|
34082
|
+
}), kt("Y", function(D, L) {
|
|
34078
34083
|
L[jt] = parseInt(D, 10);
|
|
34079
34084
|
});
|
|
34080
34085
|
function Yr(D) {
|
|
@@ -34184,9 +34189,9 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34184
34189
|
return L.monthsShortRegex(D);
|
|
34185
34190
|
}), Ye("MMMM", function(D, L) {
|
|
34186
34191
|
return L.monthsRegex(D);
|
|
34187
|
-
}),
|
|
34192
|
+
}), kt(["M", "MM"], function(D, L) {
|
|
34188
34193
|
L[hr] = ht(D) - 1;
|
|
34189
|
-
}),
|
|
34194
|
+
}), kt(["MMM", "MMMM"], function(D, L, Y, q) {
|
|
34190
34195
|
var ce = Y._locale.monthsParse(D, q, Y._strict);
|
|
34191
34196
|
ce != null ? L[hr] = ce : v(Y).invalidMonth = D;
|
|
34192
34197
|
});
|
|
@@ -34279,7 +34284,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34279
34284
|
var q = 7 + L - Y, ce = (7 + pt(D, 0, q).getUTCDay() - L) % 7;
|
|
34280
34285
|
return -ce + q - 1;
|
|
34281
34286
|
}
|
|
34282
|
-
function
|
|
34287
|
+
function Ot(D, L, Y, q, ce) {
|
|
34283
34288
|
var Le = (7 + Y - q) % 7, Ke = Pt(D, q, ce), _t = 1 + 7 * (L - 1) + Le + Ke, Lt, Vt;
|
|
34284
34289
|
return _t <= 0 ? (Lt = D - 1, Vt = Yr(Lt) + _t) : _t > Yr(D) ? (Lt = D + 1, Vt = _t - Yr(D)) : (Lt = D, Vt = _t), {
|
|
34285
34290
|
year: Lt,
|
|
@@ -34353,7 +34358,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34353
34358
|
function Ri(D, L) {
|
|
34354
34359
|
return D.slice(L, 7).concat(D.slice(0, L));
|
|
34355
34360
|
}
|
|
34356
|
-
var
|
|
34361
|
+
var Tr = "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), eo = "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"), dn = "Su_Mo_Tu_We_Th_Fr_Sa".split("_"), Sn = ee, En = ee, Fn = ee;
|
|
34357
34362
|
function Gr(D, L) {
|
|
34358
34363
|
var Y = s(this._weekdays) ? this._weekdays : this._weekdays[D && D !== !0 && this._weekdays.isFormat.test(L) ? "format" : "standalone"];
|
|
34359
34364
|
return D === !0 ? Ri(Y, this._week.dow) : D ? Y[D.day()] : Y;
|
|
@@ -34401,7 +34406,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34401
34406
|
return q;
|
|
34402
34407
|
}
|
|
34403
34408
|
}
|
|
34404
|
-
function
|
|
34409
|
+
function Ht(D) {
|
|
34405
34410
|
if (!this.isValid())
|
|
34406
34411
|
return D != null ? this : NaN;
|
|
34407
34412
|
var L = gi(this, "Day");
|
|
@@ -34477,23 +34482,23 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34477
34482
|
function Hi(D, L) {
|
|
34478
34483
|
return L._meridiemParse;
|
|
34479
34484
|
}
|
|
34480
|
-
Ye("a", Hi), Ye("A", Hi), Ye("H", lt, De), Ye("h", lt, ne), Ye("k", lt, ne), Ye("HH", lt, vt), Ye("hh", lt, vt), Ye("kk", lt, vt), Ye("hmm", Ct), Ye("hmmss", wt), Ye("Hmm", Ct), Ye("Hmmss", wt),
|
|
34485
|
+
Ye("a", Hi), Ye("A", Hi), Ye("H", lt, De), Ye("h", lt, ne), Ye("k", lt, ne), Ye("HH", lt, vt), Ye("hh", lt, vt), Ye("kk", lt, vt), Ye("hmm", Ct), Ye("hmmss", wt), Ye("Hmm", Ct), Ye("Hmmss", wt), kt(["H", "HH"], Zt), kt(["k", "kk"], function(D, L, Y) {
|
|
34481
34486
|
var q = ht(D);
|
|
34482
34487
|
L[Zt] = q === 24 ? 0 : q;
|
|
34483
|
-
}),
|
|
34488
|
+
}), kt(["a", "A"], function(D, L, Y) {
|
|
34484
34489
|
Y._isPm = Y._locale.isPM(D), Y._meridiem = D;
|
|
34485
|
-
}),
|
|
34490
|
+
}), kt(["h", "hh"], function(D, L, Y) {
|
|
34486
34491
|
L[Zt] = ht(D), v(Y).bigHour = !0;
|
|
34487
|
-
}),
|
|
34492
|
+
}), kt("hmm", function(D, L, Y) {
|
|
34488
34493
|
var q = D.length - 2;
|
|
34489
34494
|
L[Zt] = ht(D.substr(0, q)), L[nr] = ht(D.substr(q)), v(Y).bigHour = !0;
|
|
34490
|
-
}),
|
|
34495
|
+
}), kt("hmmss", function(D, L, Y) {
|
|
34491
34496
|
var q = D.length - 4, ce = D.length - 2;
|
|
34492
34497
|
L[Zt] = ht(D.substr(0, q)), L[nr] = ht(D.substr(q, 2)), L[pr] = ht(D.substr(ce)), v(Y).bigHour = !0;
|
|
34493
|
-
}),
|
|
34498
|
+
}), kt("Hmm", function(D, L, Y) {
|
|
34494
34499
|
var q = D.length - 2;
|
|
34495
34500
|
L[Zt] = ht(D.substr(0, q)), L[nr] = ht(D.substr(q));
|
|
34496
|
-
}),
|
|
34501
|
+
}), kt("Hmmss", function(D, L, Y) {
|
|
34497
34502
|
var q = D.length - 4, ce = D.length - 2;
|
|
34498
34503
|
L[Zt] = ht(D.substr(0, q)), L[nr] = ht(D.substr(q, 2)), L[pr] = ht(D.substr(ce));
|
|
34499
34504
|
});
|
|
@@ -34514,7 +34519,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34514
34519
|
months: Qi,
|
|
34515
34520
|
monthsShort: Ji,
|
|
34516
34521
|
week: sr,
|
|
34517
|
-
weekdays:
|
|
34522
|
+
weekdays: Tr,
|
|
34518
34523
|
weekdaysMin: dn,
|
|
34519
34524
|
weekdaysShort: eo,
|
|
34520
34525
|
meridiemParse: yo
|
|
@@ -34761,7 +34766,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34761
34766
|
function At(D, L, Y) {
|
|
34762
34767
|
return D ?? L ?? Y;
|
|
34763
34768
|
}
|
|
34764
|
-
function
|
|
34769
|
+
function Bt(D) {
|
|
34765
34770
|
var L = new Date(o.now());
|
|
34766
34771
|
return D._useUTC ? [
|
|
34767
34772
|
L.getUTCFullYear(),
|
|
@@ -34772,7 +34777,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34772
34777
|
function Kt(D) {
|
|
34773
34778
|
var L, Y, q = [], ce, Le, Ke;
|
|
34774
34779
|
if (!D._d) {
|
|
34775
|
-
for (ce =
|
|
34780
|
+
for (ce = Bt(D), D._w && D._a[Wt] == null && D._a[hr] == null && ar(D), D._dayOfYear != null && (Ke = At(D._a[jt], ce[jt]), (D._dayOfYear > Yr(Ke) || D._dayOfYear === 0) && (v(D)._overflowDayOfYear = !0), Y = pt(Ke, 0, D._dayOfYear), D._a[hr] = Y.getUTCMonth(), D._a[Wt] = Y.getUTCDate()), L = 0; L < 3 && D._a[L] == null; ++L)
|
|
34776
34781
|
D._a[L] = q[L] = ce[L];
|
|
34777
34782
|
for (; L < 7; L++)
|
|
34778
34783
|
D._a[L] = q[L] = D._a[L] == null ? L === 2 ? 1 : 0 : D._a[L];
|
|
@@ -34788,7 +34793,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34788
34793
|
L.GG,
|
|
34789
34794
|
D._a[jt],
|
|
34790
34795
|
Yt(lr(), 1, 4).year
|
|
34791
|
-
), q = At(L.W, 1), ce = At(L.E, 1), (ce < 1 || ce > 7) && (Lt = !0)) : (Le = D._locale._week.dow, Ke = D._locale._week.doy, Vt = Yt(lr(), Le, Ke), Y = At(L.gg, D._a[jt], Vt.year), q = At(L.w, Vt.week), L.d != null ? (ce = L.d, (ce < 0 || ce > 6) && (Lt = !0)) : L.e != null ? (ce = L.e + Le, (L.e < 0 || L.e > 6) && (Lt = !0)) : ce = Le), q < 1 || q > It(Y, Le, Ke) ? v(D)._overflowWeeks = !0 : Lt != null ? v(D)._overflowWeekday = !0 : (_t =
|
|
34796
|
+
), q = At(L.W, 1), ce = At(L.E, 1), (ce < 1 || ce > 7) && (Lt = !0)) : (Le = D._locale._week.dow, Ke = D._locale._week.doy, Vt = Yt(lr(), Le, Ke), Y = At(L.gg, D._a[jt], Vt.year), q = At(L.w, Vt.week), L.d != null ? (ce = L.d, (ce < 0 || ce > 6) && (Lt = !0)) : L.e != null ? (ce = L.e + Le, (L.e < 0 || L.e > 6) && (Lt = !0)) : ce = Le), q < 1 || q > It(Y, Le, Ke) ? v(D)._overflowWeeks = !0 : Lt != null ? v(D)._overflowWeekday = !0 : (_t = Ot(Y, q, ce, Le, Ke), D._a[jt] = _t.year, D._dayOfYear = _t.dayOfYear);
|
|
34792
34797
|
}
|
|
34793
34798
|
o.ISO_8601 = function() {
|
|
34794
34799
|
}, o.RFC_2822 = function() {
|
|
@@ -34828,7 +34833,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34828
34833
|
Le = 0, Ke = !1, L = I({}, D), D._useUTC != null && (L._useUTC = D._useUTC), L._f = D._f[ce], tr(L), _(L) && (Ke = !0), Le += v(L).charsLeftOver, Le += v(L).unusedTokens.length * 10, v(L).score = Le, _t ? Le < q && (q = Le, Y = L) : (q == null || Le < q || Ke) && (q = Le, Y = L, Ke && (_t = !0));
|
|
34829
34834
|
g(D, Y || L);
|
|
34830
34835
|
}
|
|
34831
|
-
function
|
|
34836
|
+
function _r(D) {
|
|
34832
34837
|
if (!D._d) {
|
|
34833
34838
|
var L = Xe(D._i), Y = L.day === void 0 ? L.date : L.day;
|
|
34834
34839
|
D._a = m(
|
|
@@ -34851,7 +34856,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34851
34856
|
var L = D._i;
|
|
34852
34857
|
u(L) ? D._d = new Date(o.now()) : p(L) ? D._d = new Date(L.valueOf()) : typeof L == "string" ? Nt(D) : s(L) ? (D._a = m(L.slice(0), function(Y) {
|
|
34853
34858
|
return parseInt(Y, 10);
|
|
34854
|
-
}), Kt(D)) : l(L) ?
|
|
34859
|
+
}), Kt(D)) : l(L) ? _r(D) : f(L) ? D._d = new Date(L) : o.createFromInputFallback(D);
|
|
34855
34860
|
}
|
|
34856
34861
|
function _o(D, L, Y, q, ce) {
|
|
34857
34862
|
var Le = {};
|
|
@@ -34885,7 +34890,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34885
34890
|
var D = [].slice.call(arguments, 0);
|
|
34886
34891
|
return No("isBefore", D);
|
|
34887
34892
|
}
|
|
34888
|
-
function
|
|
34893
|
+
function Dr() {
|
|
34889
34894
|
var D = [].slice.call(arguments, 0);
|
|
34890
34895
|
return No("isAfter", D);
|
|
34891
34896
|
}
|
|
@@ -34945,8 +34950,8 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34945
34950
|
return Y < 0 && (Y = -Y, q = "-"), q + we(~~(Y / 60), 2) + L + we(~~Y % 60, 2);
|
|
34946
34951
|
});
|
|
34947
34952
|
}
|
|
34948
|
-
To("Z", ":"), To("ZZ", ""), Ye("Z",
|
|
34949
|
-
Y._useUTC = !0, Y._tzm = ao(
|
|
34953
|
+
To("Z", ":"), To("ZZ", ""), Ye("Z", Rt), Ye("ZZ", Rt), kt(["Z", "ZZ"], function(D, L, Y) {
|
|
34954
|
+
Y._useUTC = !0, Y._tzm = ao(Rt, D);
|
|
34950
34955
|
});
|
|
34951
34956
|
var Hn = /([\+\-]|\d\d)/gi;
|
|
34952
34957
|
function ao(D, L) {
|
|
@@ -34968,7 +34973,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34968
34973
|
return D != null ? this : NaN;
|
|
34969
34974
|
if (D != null) {
|
|
34970
34975
|
if (typeof D == "string") {
|
|
34971
|
-
if (D = ao(
|
|
34976
|
+
if (D = ao(Rt, D), D === null)
|
|
34972
34977
|
return this;
|
|
34973
34978
|
} else Math.abs(D) < 16 && !Y && (D = D * 60);
|
|
34974
34979
|
return !this._isUTC && L && (ce = Ei(this)), this._offset = D, this._isUTC = !0, ce != null && this.add(ce, "m"), q !== D && (!L || this._changeInProgress ? hi(
|
|
@@ -34993,7 +34998,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34993
34998
|
if (this._tzm != null)
|
|
34994
34999
|
this.utcOffset(this._tzm, !1, !0);
|
|
34995
35000
|
else if (typeof this._i == "string") {
|
|
34996
|
-
var D = ao(
|
|
35001
|
+
var D = ao(xr, this._i);
|
|
34997
35002
|
D != null ? this.utcOffset(D) : this.utcOffset(0, !0);
|
|
34998
35003
|
}
|
|
34999
35004
|
return this;
|
|
@@ -35073,7 +35078,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35073
35078
|
var ce = L._milliseconds, Le = Wi(L._days), Ke = Wi(L._months);
|
|
35074
35079
|
D.isValid() && (q = q ?? !0, Ke && ke(D, gi(D, "Month") + Ke * Y), Le && ni(D, "Date", gi(D, "Date") + Le * Y), ce && D._d.setTime(D._d.valueOf() + ce * Y), q && o.updateOffset(D, Le || Ke));
|
|
35075
35080
|
}
|
|
35076
|
-
var vr = qr(1, "add"),
|
|
35081
|
+
var vr = qr(1, "add"), Nr = qr(-1, "subtract");
|
|
35077
35082
|
function or(D) {
|
|
35078
35083
|
return typeof D == "string" || D instanceof String;
|
|
35079
35084
|
}
|
|
@@ -35431,13 +35436,13 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35431
35436
|
strict: this._strict
|
|
35432
35437
|
};
|
|
35433
35438
|
}
|
|
35434
|
-
le("N", 0, 0, "eraAbbr"), le("NN", 0, 0, "eraAbbr"), le("NNN", 0, 0, "eraAbbr"), le("NNNN", 0, 0, "eraName"), le("NNNNN", 0, 0, "eraNarrow"), le("y", ["y", 1], "yo", "eraYear"), le("y", ["yy", 2], 0, "eraYear"), le("y", ["yyy", 3], 0, "eraYear"), le("y", ["yyyy", 4], 0, "eraYear"), Ye("N", Pn), Ye("NN", Pn), Ye("NNN", Pn), Ye("NNNN", ws), Ye("NNNNN", Cs),
|
|
35439
|
+
le("N", 0, 0, "eraAbbr"), le("NN", 0, 0, "eraAbbr"), le("NNN", 0, 0, "eraAbbr"), le("NNNN", 0, 0, "eraName"), le("NNNNN", 0, 0, "eraNarrow"), le("y", ["y", 1], "yo", "eraYear"), le("y", ["yy", 2], 0, "eraYear"), le("y", ["yyy", 3], 0, "eraYear"), le("y", ["yyyy", 4], 0, "eraYear"), Ye("N", Pn), Ye("NN", Pn), Ye("NNN", Pn), Ye("NNNN", ws), Ye("NNNNN", Cs), kt(
|
|
35435
35440
|
["N", "NN", "NNN", "NNNN", "NNNNN"],
|
|
35436
35441
|
function(D, L, Y, q) {
|
|
35437
35442
|
var ce = Y._locale.erasParse(D, q, Y._strict);
|
|
35438
35443
|
ce ? v(Y).era = ce : v(Y).invalidEra = D;
|
|
35439
35444
|
}
|
|
35440
|
-
), Ye("y", Mt), Ye("yy", Mt), Ye("yyy", Mt), Ye("yyyy", Mt), Ye("yo", ei),
|
|
35445
|
+
), Ye("y", Mt), Ye("yy", Mt), Ye("yyy", Mt), Ye("yyyy", Mt), Ye("yo", ei), kt(["y", "yy", "yyy", "yyyy"], jt), kt(["yo"], function(D, L, Y, q) {
|
|
35441
35446
|
var ce;
|
|
35442
35447
|
Y._locale._eraYearOrdinalRegex && (ce = D.match(Y._locale._eraYearOrdinalRegex)), Y._locale.eraYearOrdinalParse ? L[jt] = Y._locale.eraYearOrdinalParse(D, ce) : L[jt] = parseInt(D, 10);
|
|
35443
35448
|
});
|
|
@@ -35600,10 +35605,10 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35600
35605
|
return D == null ? Yt(this, q, ce).year : (Le = It(D, q, ce), L > Le && (L = Le), on.call(this, D, L, Y, q, ce));
|
|
35601
35606
|
}
|
|
35602
35607
|
function on(D, L, Y, q, ce) {
|
|
35603
|
-
var Le =
|
|
35608
|
+
var Le = Ot(D, L, Y, q, ce), Ke = pt(Le.year, 0, Le.dayOfYear);
|
|
35604
35609
|
return this.year(Ke.getUTCFullYear()), this.month(Ke.getUTCMonth()), this.date(Ke.getUTCDate()), this;
|
|
35605
35610
|
}
|
|
35606
|
-
le("Q", 0, "Qo", "quarter"), Ye("Q", yt),
|
|
35611
|
+
le("Q", 0, "Qo", "quarter"), Ye("Q", yt), kt("Q", function(D, L) {
|
|
35607
35612
|
L[hr] = (ht(D) - 1) * 3;
|
|
35608
35613
|
});
|
|
35609
35614
|
function Xn(D) {
|
|
@@ -35611,11 +35616,11 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35611
35616
|
}
|
|
35612
35617
|
le("D", ["DD", 2], "Do", "date"), Ye("D", lt, ne), Ye("DD", lt, vt), Ye("Do", function(D, L) {
|
|
35613
35618
|
return D ? L._dayOfMonthOrdinalParse || L._ordinalParse : L._dayOfMonthOrdinalParseLenient;
|
|
35614
|
-
}),
|
|
35619
|
+
}), kt(["D", "DD"], Wt), kt("Do", function(D, L) {
|
|
35615
35620
|
L[Wt] = ht(D.match(lt)[0]);
|
|
35616
35621
|
});
|
|
35617
35622
|
var Ns = oi("Date", !0);
|
|
35618
|
-
le("DDD", ["DDDD", 3], "DDDo", "dayOfYear"), Ye("DDD", Et), Ye("DDDD", et),
|
|
35623
|
+
le("DDD", ["DDDD", 3], "DDDo", "dayOfYear"), Ye("DDD", Et), Ye("DDDD", et), kt(["DDD", "DDDD"], function(D, L, Y) {
|
|
35619
35624
|
Y._dayOfYear = ht(D);
|
|
35620
35625
|
});
|
|
35621
35626
|
function Ts(D) {
|
|
@@ -35624,9 +35629,9 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35624
35629
|
) + 1;
|
|
35625
35630
|
return D == null ? L : this.add(D - L, "d");
|
|
35626
35631
|
}
|
|
35627
|
-
le("m", ["mm", 2], 0, "minute"), Ye("m", lt, De), Ye("mm", lt, vt),
|
|
35632
|
+
le("m", ["mm", 2], 0, "minute"), Ye("m", lt, De), Ye("mm", lt, vt), kt(["m", "mm"], nr);
|
|
35628
35633
|
var qs = oi("Minutes", !1);
|
|
35629
|
-
le("s", ["ss", 2], 0, "second"), Ye("s", lt, De), Ye("ss", lt, vt),
|
|
35634
|
+
le("s", ["ss", 2], 0, "second"), Ye("s", lt, De), Ye("ss", lt, vt), kt(["s", "ss"], pr);
|
|
35630
35635
|
var Qs = oi("Seconds", !1);
|
|
35631
35636
|
le("S", 0, 0, function() {
|
|
35632
35637
|
return ~~(this.millisecond() / 100);
|
|
@@ -35652,7 +35657,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35652
35657
|
L[Mr] = ht(("0." + D) * 1e3);
|
|
35653
35658
|
}
|
|
35654
35659
|
for (Vi = "S"; Vi.length <= 9; Vi += "S")
|
|
35655
|
-
|
|
35660
|
+
kt(Vi, Js);
|
|
35656
35661
|
Ds = oi("Milliseconds", !1), le("z", 0, 0, "zoneAbbr"), le("zz", 0, 0, "zoneName");
|
|
35657
35662
|
function Ks() {
|
|
35658
35663
|
return this._isUTC ? "UTC" : "";
|
|
@@ -35661,9 +35666,9 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35661
35666
|
return this._isUTC ? "Coordinated Universal Time" : "";
|
|
35662
35667
|
}
|
|
35663
35668
|
var ft = M.prototype;
|
|
35664
|
-
ft.add = vr, ft.calendar = wn, ft.clone = On, ft.diff = Ws, ft.endOf = _n, ft.format = Zs, ft.from = Gs, ft.fromNow = jn, ft.to = Un, ft.toNow = en, ft.get = mi, ft.invalidAt = ds, ft.isAfter = ts, ft.isBefore = Bn, ft.isBetween = zn, ft.isSame = Cn, ft.isSameOrAfter = Wn, ft.isSameOrBefore = zs, ft.isValid = ls, ft.lang = is, ft.locale = rs, ft.localeData = Yn, ft.max = Po, ft.min = Go, ft.parsingFlags = cs, ft.set = fo, ft.startOf = Li, ft.subtract =
|
|
35669
|
+
ft.add = vr, ft.calendar = wn, ft.clone = On, ft.diff = Ws, ft.endOf = _n, ft.format = Zs, ft.from = Gs, ft.fromNow = jn, ft.to = Un, ft.toNow = en, ft.get = mi, ft.invalidAt = ds, ft.isAfter = ts, ft.isBefore = Bn, ft.isBetween = zn, ft.isSame = Cn, ft.isSameOrAfter = Wn, ft.isSameOrBefore = zs, ft.isValid = ls, ft.lang = is, ft.locale = rs, ft.localeData = Yn, ft.max = Po, ft.min = Go, ft.parsingFlags = cs, ft.set = fo, ft.startOf = Li, ft.subtract = Nr, ft.toArray = Gn, ft.toObject = ss, ft.toDate = Io, ft.toISOString = Us, ft.inspect = Ys, typeof Symbol < "u" && Symbol.for != null && (ft[Symbol.for("nodejs.util.inspect.custom")] = function() {
|
|
35665
35670
|
return "Moment<" + this.format() + ">";
|
|
35666
|
-
}), ft.toJSON = as, ft.toString = js, ft.unix = Zn, ft.valueOf = ns, ft.creationData = hs, ft.eraName = gs, ft.eraNarrow = ms, ft.eraAbbr = ys, ft.eraYear = Vs, ft.year = Zr, ft.isLeapYear = qi, ft.weekYear = xs, ft.isoWeekYear = bs, ft.quarter = ft.quarters = Xn, ft.month = ze, ft.daysInMonth = Me, ft.week = ft.weeks = $i, ft.isoWeek = ft.isoWeeks = si, ft.weeksInYear = Xs, ft.weeksInWeekYear = Tn, ft.isoWeeksInYear = _s, ft.isoWeeksInISOWeekYear = Ps, ft.date = Ns, ft.day = ft.days =
|
|
35671
|
+
}), ft.toJSON = as, ft.toString = js, ft.unix = Zn, ft.valueOf = ns, ft.creationData = hs, ft.eraName = gs, ft.eraNarrow = ms, ft.eraAbbr = ys, ft.eraYear = Vs, ft.year = Zr, ft.isLeapYear = qi, ft.weekYear = xs, ft.isoWeekYear = bs, ft.quarter = ft.quarters = Xn, ft.month = ze, ft.daysInMonth = Me, ft.week = ft.weeks = $i, ft.isoWeek = ft.isoWeeks = si, ft.weeksInYear = Xs, ft.weeksInWeekYear = Tn, ft.isoWeeksInYear = _s, ft.isoWeeksInISOWeekYear = Ps, ft.date = Ns, ft.day = ft.days = Ht, ft.weekday = In, ft.isoWeekday = An, ft.dayOfYear = Ts, ft.hour = ft.hours = Rn, ft.minute = ft.minutes = qs, ft.second = ft.seconds = Qs, ft.millisecond = ft.milliseconds = Ds, ft.utcOffset = xi, ft.utc = ci, ft.local = ji, ft.parseZone = Ui, ft.hasAlignedHourOffset = Jo, ft.isDST = di, ft.isLocal = So, ft.isUtcOffset = lo, ft.isUtc = Yi, ft.isUTC = Yi, ft.zoneAbbr = Ks, ft.zoneName = Ss, ft.dates = k(
|
|
35667
35672
|
"dates accessor is deprecated. Use date instead.",
|
|
35668
35673
|
Ns
|
|
35669
35674
|
), ft.months = k(
|
|
@@ -35829,12 +35834,12 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35829
35834
|
function bi(D) {
|
|
35830
35835
|
return D = Oe(D), this.isValid() ? this[D + "s"]() : NaN;
|
|
35831
35836
|
}
|
|
35832
|
-
function
|
|
35837
|
+
function Pr(D) {
|
|
35833
35838
|
return function() {
|
|
35834
35839
|
return this.isValid() ? this._data[D] : NaN;
|
|
35835
35840
|
};
|
|
35836
35841
|
}
|
|
35837
|
-
var ti =
|
|
35842
|
+
var ti = Pr("milliseconds"), Ao = Pr("seconds"), Wr = Pr("minutes"), Sr = Pr("hours"), Qn = Pr("days"), nn = Pr("months"), Lo = Pr("years");
|
|
35838
35843
|
function Mo() {
|
|
35839
35844
|
return ir(this.days() / 7);
|
|
35840
35845
|
}
|
|
@@ -35887,13 +35892,13 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35887
35892
|
qt.isValid = Xo, qt.abs = Se, qt.add = Ze, qt.subtract = Ge, qt.as = it, qt.asMilliseconds = st, qt.asSeconds = xt, qt.asMinutes = bt, qt.asHours = Tt, qt.asDays = Ft, qt.asWeeks = cr, qt.asMonths = $t, qt.asQuarters = er, qt.asYears = Fr, qt.valueOf = Ir, qt._bubble = rt, qt.clone = zr, qt.get = bi, qt.milliseconds = ti, qt.seconds = Ao, qt.minutes = Wr, qt.hours = Sr, qt.days = Qn, qt.weeks = Mo, qt.months = nn, qt.years = Lo, qt.humanize = ra, qt.toISOString = Ro, qt.toString = Ro, qt.toJSON = Ro, qt.locale = rs, qt.localeData = Yn, qt.toIsoString = k(
|
|
35888
35893
|
"toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",
|
|
35889
35894
|
Ro
|
|
35890
|
-
), qt.lang = is, le("X", 0, 0, "unix"), le("x", 0, 0, "valueOf"), Ye("x", rr), Ye("X", Gt),
|
|
35895
|
+
), qt.lang = is, le("X", 0, 0, "unix"), le("x", 0, 0, "valueOf"), Ye("x", rr), Ye("X", Gt), kt("X", function(D, L, Y) {
|
|
35891
35896
|
Y._d = new Date(parseFloat(D) * 1e3);
|
|
35892
|
-
}),
|
|
35897
|
+
}), kt("x", function(D, L, Y) {
|
|
35893
35898
|
Y._d = new Date(ht(D));
|
|
35894
35899
|
});
|
|
35895
35900
|
//! moment.js
|
|
35896
|
-
return o.version = "2.30.1", n(lr), o.fn = ft, o.min = Vo, o.max =
|
|
35901
|
+
return o.version = "2.30.1", n(lr), o.fn = ft, o.min = Vo, o.max = Dr, o.now = Kr, o.utc = y, o.unix = $s, o.months = K, o.isDate = p, o.locale = Qr, o.invalid = S, o.duration = Hr, o.isMoment = H, o.weekdays = re, o.parseZone = ea, o.localeData = Or, o.isDuration = so, o.monthsShort = te, o.weekdaysMin = de, o.defineLocale = Jr, o.updateLocale = Di, o.locales = mn, o.weekdaysShort = oe, o.normalizeUnits = Oe, o.relativeTimeRounding = Es, o.relativeTimeThreshold = Fs, o.calendarFormat = Ii, o.prototype = ft, o.HTML5_FMT = {
|
|
35897
35902
|
DATETIME_LOCAL: "YYYY-MM-DDTHH:mm",
|
|
35898
35903
|
// <input type="datetime-local" />
|
|
35899
35904
|
DATETIME_LOCAL_SECONDS: "YYYY-MM-DDTHH:mm:ss",
|
|
@@ -40186,7 +40191,7 @@ function requireDom() {
|
|
|
40186
40191
|
return this.firstChild != null;
|
|
40187
40192
|
},
|
|
40188
40193
|
cloneNode: function(ee) {
|
|
40189
|
-
return
|
|
40194
|
+
return Rt(this.ownerDocument || this, this, ee);
|
|
40190
40195
|
},
|
|
40191
40196
|
// Modified in DOM Level 2:
|
|
40192
40197
|
normalize: function() {
|
|
@@ -40431,7 +40436,7 @@ function requireDom() {
|
|
|
40431
40436
|
},
|
|
40432
40437
|
// Introduced in DOM Level 2:
|
|
40433
40438
|
importNode: function(ee, ne) {
|
|
40434
|
-
return
|
|
40439
|
+
return xr(this, ee, ne);
|
|
40435
40440
|
},
|
|
40436
40441
|
// Introduced in DOM Level 2:
|
|
40437
40442
|
getElementById: function(ee) {
|
|
@@ -40710,22 +40715,22 @@ function requireDom() {
|
|
|
40710
40715
|
De = r.isHTML(ee.namespaceURI) || De;
|
|
40711
40716
|
var ir = Jt;
|
|
40712
40717
|
if (!De && !ee.prefix && ee.namespaceURI) {
|
|
40713
|
-
for (var ht,
|
|
40714
|
-
if (St.item(
|
|
40715
|
-
ht = St.item(
|
|
40718
|
+
for (var ht, br = 0; br < St.length; br++)
|
|
40719
|
+
if (St.item(br).name === "xmlns") {
|
|
40720
|
+
ht = St.item(br).value;
|
|
40716
40721
|
break;
|
|
40717
40722
|
}
|
|
40718
40723
|
if (!ht)
|
|
40719
|
-
for (var
|
|
40720
|
-
var wr = Ye[
|
|
40724
|
+
for (var kt = Ye.length - 1; kt >= 0; kt--) {
|
|
40725
|
+
var wr = Ye[kt];
|
|
40721
40726
|
if (wr.prefix === "" && wr.namespace === ee.namespaceURI) {
|
|
40722
40727
|
ht = wr.namespace;
|
|
40723
40728
|
break;
|
|
40724
40729
|
}
|
|
40725
40730
|
}
|
|
40726
40731
|
if (ht !== ee.namespaceURI)
|
|
40727
|
-
for (var
|
|
40728
|
-
var wr = Ye[
|
|
40732
|
+
for (var kt = Ye.length - 1; kt >= 0; kt--) {
|
|
40733
|
+
var wr = Ye[kt];
|
|
40729
40734
|
if (wr.namespace === ee.namespaceURI) {
|
|
40730
40735
|
wr.prefix && (ir = wr.prefix + ":" + Jt);
|
|
40731
40736
|
break;
|
|
@@ -40796,7 +40801,7 @@ function requireDom() {
|
|
|
40796
40801
|
ne.push("??", ee.nodeName);
|
|
40797
40802
|
}
|
|
40798
40803
|
}
|
|
40799
|
-
function
|
|
40804
|
+
function xr(ee, ne, De) {
|
|
40800
40805
|
var We;
|
|
40801
40806
|
switch (ne.nodeType) {
|
|
40802
40807
|
case p:
|
|
@@ -40814,10 +40819,10 @@ function requireDom() {
|
|
|
40814
40819
|
}
|
|
40815
40820
|
if (We || (We = ne.cloneNode(!1)), We.ownerDocument = ee, We.parentNode = null, De)
|
|
40816
40821
|
for (var Ye = ne.firstChild; Ye; )
|
|
40817
|
-
We.appendChild(
|
|
40822
|
+
We.appendChild(xr(ee, Ye, De)), Ye = Ye.nextSibling;
|
|
40818
40823
|
return We;
|
|
40819
40824
|
}
|
|
40820
|
-
function
|
|
40825
|
+
function Rt(ee, ne, De) {
|
|
40821
40826
|
var We = new ne.constructor();
|
|
40822
40827
|
for (var Ye in ne)
|
|
40823
40828
|
if (Object.prototype.hasOwnProperty.call(ne, Ye)) {
|
|
@@ -40829,14 +40834,14 @@ function requireDom() {
|
|
|
40829
40834
|
var Ut = ne.attributes, Jt = We.attributes = new Z(), ir = Ut.length;
|
|
40830
40835
|
Jt._ownerElement = We;
|
|
40831
40836
|
for (var ht = 0; ht < ir; ht++)
|
|
40832
|
-
We.setAttributeNode(
|
|
40837
|
+
We.setAttributeNode(Rt(ee, Ut.item(ht), !0));
|
|
40833
40838
|
break;
|
|
40834
40839
|
case m:
|
|
40835
40840
|
De = !0;
|
|
40836
40841
|
}
|
|
40837
40842
|
if (De)
|
|
40838
|
-
for (var
|
|
40839
|
-
We.appendChild(
|
|
40843
|
+
for (var br = ne.firstChild; br; )
|
|
40844
|
+
We.appendChild(Rt(ee, br, De)), br = br.nextSibling;
|
|
40840
40845
|
return We;
|
|
40841
40846
|
}
|
|
40842
40847
|
function Gt(ee, ne, De) {
|
|
@@ -46258,7 +46263,8 @@ const _sfc_main$1b = defineComponent({
|
|
|
46258
46263
|
pageIndex: 0,
|
|
46259
46264
|
selectedId: "",
|
|
46260
46265
|
selectItem: {},
|
|
46261
|
-
list: []
|
|
46266
|
+
list: [],
|
|
46267
|
+
historyPosition: 1
|
|
46262
46268
|
};
|
|
46263
46269
|
},
|
|
46264
46270
|
methods: {
|
|
@@ -46274,17 +46280,17 @@ const _sfc_main$1b = defineComponent({
|
|
|
46274
46280
|
const n = o.querySelector(".ho-history-box");
|
|
46275
46281
|
if (n) {
|
|
46276
46282
|
const s = Array.from(o.querySelectorAll(".ho-comment-item"));
|
|
46277
|
-
o.style.transform = "translate(0, 0)", n.style.paddingLeft = "0", s.forEach((l, c) => {
|
|
46283
|
+
o.style.transform = "translate(0, 0)", this.historyPosition == 1 ? n.style.paddingRight = "0" : n.style.paddingLeft = "0", s.forEach((l, c) => {
|
|
46278
46284
|
l.style.transform = "translate(0, 0)", l.style.boxShadow = "", l.className.includes("history-comment") || (l.className += " history-comment");
|
|
46279
46285
|
}), o.className = o.className.replace("ho-comment-history-selected", "");
|
|
46280
46286
|
}
|
|
46281
46287
|
}
|
|
46282
46288
|
}), r) {
|
|
46283
46289
|
const o = r.querySelector(".ho-history-box"), n = Array.from(o.querySelectorAll(".ho-comment-item"));
|
|
46284
|
-
r.style.transform = "translate(-25px, 0)", o.style.paddingLeft = "25px";
|
|
46290
|
+
this.historyPosition == 1 ? (r.style.transform = "translate(-25px, 0)", o.style.paddingLeft = "25px") : (r.style.transform = "translate(25px, 0)", o.style.paddingRight = "25px");
|
|
46285
46291
|
let s = 0;
|
|
46286
46292
|
n.forEach((l, c) => {
|
|
46287
|
-
l.id === a.id ? (l.className = "ho-comment-item", l.style.boxShadow = "0px 2px 12px 0px #9ea1a5", s = a.endNodeY - l.offsetTop + o.scrollTop, r.offsetHeight - a.endNodeY < l.offsetHeight && (s -= l.offsetHeight - (r.offsetHeight - a.endNodeY) + 60), c == 0 && s < 0 && (s = 0), a.elementName && a.vueController.findAndLightElementsByNames([a.elementName]), l.style.transform = `translate(-25px, ${s}px)`) : (l.className = "ho-comment-item history-comment", l.style.boxShadow = "", setTimeout(() => {
|
|
46293
|
+
l.id === a.id ? (l.className = "ho-comment-item", l.style.boxShadow = "0px 2px 12px 0px #9ea1a5", s = a.endNodeY - l.offsetTop + o.scrollTop, r.offsetHeight - a.endNodeY < l.offsetHeight && (s -= l.offsetHeight - (r.offsetHeight - a.endNodeY) + 60), c == 0 && s < 0 && (s = 0), a.elementName && a.vueController.findAndLightElementsByNames([a.elementName]), this.historyPosition == 1 ? l.style.transform = `translate(-25px, ${s}px)` : l.style.transform = `translate(25px, ${s}px)`) : (l.className = "ho-comment-item history-comment", l.style.boxShadow = "", setTimeout(() => {
|
|
46288
46294
|
l.style.transform = `translate(0, ${s}px)`;
|
|
46289
46295
|
}, 30));
|
|
46290
46296
|
});
|
|
@@ -46294,8 +46300,8 @@ const _sfc_main$1b = defineComponent({
|
|
|
46294
46300
|
});
|
|
46295
46301
|
var _sfc_render$1b = function a() {
|
|
46296
46302
|
var t = this, r = t._self._c;
|
|
46297
|
-
return t._self._setupProxy, r("section", { staticClass: "ho-history-box" }, [t._l(t.list, function(o
|
|
46298
|
-
return [r("div", { ref: "hoCommentItem" + o.id, refInFor: !0, staticClass: "ho-comment-item history-comment", attrs: { id: o.id }, on: { click: function(
|
|
46303
|
+
return t._self._setupProxy, r("section", { staticClass: "ho-history-box" }, [t._l(t.list, function(o) {
|
|
46304
|
+
return [r("div", { key: o.id, ref: "hoCommentItem" + o.id, refInFor: !0, staticClass: "ho-comment-item history-comment", attrs: { id: o.id }, on: { click: function(n) {
|
|
46299
46305
|
return t.selectComment(o);
|
|
46300
46306
|
} } }, [r("header", [r("span", { staticStyle: { "text-align": "left" } }, [t._v(t._s(o.userName))]), t._v(" "), r("span", { staticStyle: { "text-align": "right" } }, [t._v(t._s(o.date))])]), o.ipAddress ? r("p", { staticStyle: { "text-align": "right", "font-size": "12px" } }, [t._v(t._s(o.ipAddress))]) : t._e(), o.showBeforeContent ? r("section", { staticClass: "comment-content" }, [[r("span", [t._v("修改前")]), t._v(":" + t._s(o.text) + " ")]], 2) : t._e(), r("section", { staticClass: "comment-content", staticStyle: { "border-top": "1px solid #ccc" } }, [o.afterContentHtml ? [r("span", [t._v("修改后")]), t._v(":"), r("div", { domProps: { innerHTML: t._s(o.afterContentHtml) } })] : [r("span", [t._v("修改后")]), t._v(":" + t._s(o.afterContent) + " ")]], 2)])];
|
|
46301
46307
|
})], 2);
|
|
@@ -46306,22 +46312,23 @@ var _sfc_render$1b = function a() {
|
|
|
46306
46312
|
);
|
|
46307
46313
|
const HistoryComponent = __component__$1b.exports;
|
|
46308
46314
|
let HistoryConstructor = Vue.extend(HistoryComponent);
|
|
46309
|
-
const createHistoryInstance = (a) => {
|
|
46315
|
+
const createHistoryInstance = (a, t) => {
|
|
46310
46316
|
if (!Array.isArray(a) || a.length == 0)
|
|
46311
46317
|
return;
|
|
46312
|
-
let
|
|
46318
|
+
let r = new HistoryConstructor({
|
|
46313
46319
|
data: {
|
|
46314
46320
|
list: a,
|
|
46315
46321
|
pageIndex: a[0].pageIndex,
|
|
46316
|
-
visible: !0
|
|
46322
|
+
visible: !0,
|
|
46323
|
+
historyPosition: t
|
|
46317
46324
|
}
|
|
46318
46325
|
});
|
|
46319
|
-
|
|
46320
|
-
const
|
|
46321
|
-
|
|
46326
|
+
r.$mount();
|
|
46327
|
+
const o = document.querySelector(`#${a[0].editorId} #ho-comment-box-${a[0].pageIndex}`);
|
|
46328
|
+
o ? o.appendChild(r.$el) : document.body.appendChild(r.$el), r.visible = !0;
|
|
46322
46329
|
}, hoCreateHistory = {
|
|
46323
|
-
open: function(a) {
|
|
46324
|
-
return this.resetBackground(), createHistoryInstance(a);
|
|
46330
|
+
open: function(a, t) {
|
|
46331
|
+
return this.resetBackground(), createHistoryInstance(a, t);
|
|
46325
46332
|
},
|
|
46326
46333
|
resetBackground: function() {
|
|
46327
46334
|
const a = Array.from(document.querySelectorAll(".ho-comment-box"));
|
|
@@ -49625,7 +49632,7 @@ class VueController {
|
|
|
49625
49632
|
}), s += p;
|
|
49626
49633
|
} else
|
|
49627
49634
|
s += f.text;
|
|
49628
|
-
else f instanceof ControlNode && !(f instanceof PageNumNode) && !(f instanceof PageCountNode) ? s += f.text : f instanceof BaseCombineNode ? l(f.childNodes) : f instanceof ParagraphNode ? s += `
|
|
49635
|
+
else f instanceof ControlNode && !(f instanceof PageNumNode) && !(f instanceof PageCountNode) ? f instanceof DateTimeNode && f.name == f.text || (s += f.text) : f instanceof BaseCombineNode ? l(f.childNodes) : f instanceof ParagraphNode ? s += `
|
|
49629
49636
|
` : f instanceof SignNode && f.customProperty && f.customProperty.bce03;
|
|
49630
49637
|
}
|
|
49631
49638
|
};
|
|
@@ -50830,7 +50837,7 @@ class VueController {
|
|
|
50830
50837
|
};
|
|
50831
50838
|
s[c[0]].push(d);
|
|
50832
50839
|
}), s.map((l) => (l.sort((c, d) => c.endNodeY - d.endNodeY), l)), hoCreateHistory.clear(), s.forEach((l) => {
|
|
50833
|
-
hoCreateHistory.open(l);
|
|
50840
|
+
hoCreateHistory.open(l, n.historyPosition);
|
|
50834
50841
|
});
|
|
50835
50842
|
}
|
|
50836
50843
|
clearEditRecords(t) {
|
|
@@ -54665,7 +54672,7 @@ function jsPDF(a) {
|
|
|
54665
54672
|
ADVANCED: "advanced"
|
|
54666
54673
|
}, S = _.COMPAT;
|
|
54667
54674
|
function E() {
|
|
54668
|
-
this.saveGraphicsState(), Ce(new ht(
|
|
54675
|
+
this.saveGraphicsState(), Ce(new ht(Rt, 0, 0, -Rt, 0, zi() * Rt).toString() + " cm"), this.setFontSize(this.getFontSize() / Rt), u = "n", S = _.ADVANCED;
|
|
54669
54676
|
}
|
|
54670
54677
|
function T() {
|
|
54671
54678
|
this.restoreGraphicsState(), u = "S", S = _.COMPAT;
|
|
@@ -54718,7 +54725,7 @@ function jsPDF(a) {
|
|
|
54718
54725
|
if (isNaN(j))
|
|
54719
54726
|
throw new Error("Invalid argument passed to jsPDF.scale");
|
|
54720
54727
|
if (S === _.COMPAT)
|
|
54721
|
-
return j *
|
|
54728
|
+
return j * Rt;
|
|
54722
54729
|
if (S === _.ADVANCED)
|
|
54723
54730
|
return j;
|
|
54724
54731
|
}, U = function(V) {
|
|
@@ -54737,7 +54744,7 @@ function jsPDF(a) {
|
|
|
54737
54744
|
}, G = g.__private__.setFileId = function(j) {
|
|
54738
54745
|
return typeof j < "u" && /^[a-fA-F0-9]{32}$/.test(j) ? X = j.toUpperCase() : X = X.split("").map(function() {
|
|
54739
54746
|
return "ABCDEF0123456789".charAt(Math.floor(Math.random() * 16));
|
|
54740
|
-
}).join(""), f !== null && (
|
|
54747
|
+
}).join(""), f !== null && (Tr = new PDFSecurity(f.userPermissions, f.userPassword, f.ownerPassword, X)), X;
|
|
54741
54748
|
};
|
|
54742
54749
|
g.setFileId = function(j) {
|
|
54743
54750
|
return G(j), this;
|
|
@@ -54798,10 +54805,10 @@ function jsPDF(a) {
|
|
|
54798
54805
|
};
|
|
54799
54806
|
var Te = a.fontSize || 16;
|
|
54800
54807
|
g.__private__.setFontSize = g.setFontSize = function(j) {
|
|
54801
|
-
return S === _.ADVANCED ? Te = j /
|
|
54808
|
+
return S === _.ADVANCED ? Te = j / Rt : Te = j, this;
|
|
54802
54809
|
};
|
|
54803
54810
|
var Oe = g.__private__.getFontSize = g.getFontSize = function() {
|
|
54804
|
-
return S === _.COMPAT ? Te : Te *
|
|
54811
|
+
return S === _.COMPAT ? Te : Te * Rt;
|
|
54805
54812
|
}, Xe = a.R2L || !1;
|
|
54806
54813
|
g.__private__.setR2L = g.setR2L = function(j) {
|
|
54807
54814
|
return Xe = j, this;
|
|
@@ -54864,7 +54871,7 @@ function jsPDF(a) {
|
|
|
54864
54871
|
throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");
|
|
54865
54872
|
return gt[j] = V;
|
|
54866
54873
|
};
|
|
54867
|
-
var lt = {}, Ct = {}, wt, Et = [], Dt = {}, Qt = {}, Mt = {}, rr = {},
|
|
54874
|
+
var lt = {}, Ct = {}, wt, Et = [], Dt = {}, Qt = {}, Mt = {}, rr = {}, xr = null, Rt, Gt = 0, ee = [], ne = new PubSub(g), De = a.hotfixes || [], We = {}, Ye = {}, St = [], Ut, Jt, ir, ht = function j(V, ve, Ie, Be, Ue, dt) {
|
|
54868
54875
|
if (!(this instanceof j))
|
|
54869
54876
|
return new j(V, ve, Ie, Be, Ue, dt);
|
|
54870
54877
|
isNaN(V) && (V = 1), isNaN(ve) && (ve = 0), isNaN(Ie) && (Ie = 0), isNaN(Be) && (Be = 1), isNaN(Ue) && (Ue = 0), isNaN(dt) && (dt = 0), this._matrix = [V, ve, Ie, Be, Ue, dt];
|
|
@@ -54989,8 +54996,8 @@ function jsPDF(a) {
|
|
|
54989
54996
|
}, ht.prototype.toString = function(j) {
|
|
54990
54997
|
return this.join(" ");
|
|
54991
54998
|
}, ht.prototype.inversed = function() {
|
|
54992
|
-
var j = this.sx, V = this.shy, ve = this.shx, Ie = this.sy, Be = this.tx, Ue = this.ty, dt = 1 / (j * Ie - V * ve), mt = Ie * dt, Nt = -V * dt, At = -ve * dt,
|
|
54993
|
-
return new ht(mt, Nt, At,
|
|
54999
|
+
var j = this.sx, V = this.shy, ve = this.shx, Ie = this.sy, Be = this.tx, Ue = this.ty, dt = 1 / (j * Ie - V * ve), mt = Ie * dt, Nt = -V * dt, At = -ve * dt, Bt = j * dt, Kt = -mt * Be - At * Ue, ar = -Nt * Be - Bt * Ue;
|
|
55000
|
+
return new ht(mt, Nt, At, Bt, Kt, ar);
|
|
54994
55001
|
}, ht.prototype.applyToPoint = function(j) {
|
|
54995
55002
|
var V = j.x * this.sx + j.y * this.shx + this.tx, ve = j.x * this.shy + j.y * this.sy + this.ty;
|
|
54996
55003
|
return new Or(V, ve);
|
|
@@ -55001,10 +55008,10 @@ function jsPDF(a) {
|
|
|
55001
55008
|
var j = this.sx, V = this.shy, ve = this.shx, Ie = this.sy, Be = this.tx, Ue = this.ty;
|
|
55002
55009
|
return new ht(j, V, ve, Ie, Be, Ue);
|
|
55003
55010
|
}, g.Matrix = ht;
|
|
55004
|
-
var
|
|
55011
|
+
var br = g.matrixMult = function(j, V) {
|
|
55005
55012
|
return V.multiply(j);
|
|
55006
|
-
},
|
|
55007
|
-
g.unitMatrix = g.identityMatrix =
|
|
55013
|
+
}, kt = new ht(1, 0, 0, 1, 0, 0);
|
|
55014
|
+
g.unitMatrix = g.identityMatrix = kt;
|
|
55008
55015
|
var wr = function(V, ve) {
|
|
55009
55016
|
if (!Qt[V]) {
|
|
55010
55017
|
var Ie = ve instanceof ShadingPattern ? "Sh" : "P", Be = Ie + (Object.keys(Dt).length + 1).toString(10);
|
|
@@ -55105,12 +55112,12 @@ function jsPDF(a) {
|
|
|
55105
55112
|
return s;
|
|
55106
55113
|
}, Ur = g.__private__.putStream = function(j) {
|
|
55107
55114
|
j = j || {};
|
|
55108
|
-
var V = j.data || "", ve = j.filters || Mr(), Ie = j.alreadyAppliedFilters || [], Be = j.addLength1 || !1, Ue = V.length, dt = j.objectId, mt = function(
|
|
55109
|
-
return
|
|
55115
|
+
var V = j.data || "", ve = j.filters || Mr(), Ie = j.alreadyAppliedFilters || [], Be = j.addLength1 || !1, Ue = V.length, dt = j.objectId, mt = function(_r) {
|
|
55116
|
+
return _r;
|
|
55110
55117
|
};
|
|
55111
55118
|
if (f !== null && typeof dt > "u")
|
|
55112
55119
|
throw new Error("ObjectId must be passed to putStream for file encryption");
|
|
55113
|
-
f !== null && (mt =
|
|
55120
|
+
f !== null && (mt = Tr.encryptor(dt, 0));
|
|
55114
55121
|
var Nt = {};
|
|
55115
55122
|
ve === !0 && (ve = ["FlateEncode"]);
|
|
55116
55123
|
var At = j.additionalKeyValues || [];
|
|
@@ -55118,23 +55125,23 @@ function jsPDF(a) {
|
|
|
55118
55125
|
data: V,
|
|
55119
55126
|
reverseChain: []
|
|
55120
55127
|
};
|
|
55121
|
-
var
|
|
55128
|
+
var Bt = Nt.reverseChain + (Array.isArray(Ie) ? Ie.join(" ") : Ie.toString());
|
|
55122
55129
|
if (Nt.data.length !== 0 && (At.push({
|
|
55123
55130
|
key: "Length",
|
|
55124
55131
|
value: Nt.data.length
|
|
55125
55132
|
}), Be === !0 && At.push({
|
|
55126
55133
|
key: "Length1",
|
|
55127
55134
|
value: Ue
|
|
55128
|
-
})),
|
|
55129
|
-
if (
|
|
55135
|
+
})), Bt.length != 0)
|
|
55136
|
+
if (Bt.split("/").length - 1 === 1)
|
|
55130
55137
|
At.push({
|
|
55131
55138
|
key: "Filter",
|
|
55132
|
-
value:
|
|
55139
|
+
value: Bt
|
|
55133
55140
|
});
|
|
55134
55141
|
else {
|
|
55135
55142
|
At.push({
|
|
55136
55143
|
key: "Filter",
|
|
55137
|
-
value: "[" +
|
|
55144
|
+
value: "[" + Bt + "]"
|
|
55138
55145
|
});
|
|
55139
55146
|
for (var Kt = 0; Kt < At.length; Kt += 1)
|
|
55140
55147
|
if (At[Kt].key === "DecodeParms") {
|
|
@@ -55241,8 +55248,8 @@ Q`), jt(Be, !0), Ur({
|
|
|
55241
55248
|
};
|
|
55242
55249
|
V.push(mt);
|
|
55243
55250
|
}
|
|
55244
|
-
for (var Nt = "", At = 0,
|
|
55245
|
-
for (Be = Ie[
|
|
55251
|
+
for (var Nt = "", At = 0, Bt = 0; Bt < Ie.length; Bt++) {
|
|
55252
|
+
for (Be = Ie[Bt]; Be > V[At + 1].offset; )
|
|
55246
55253
|
At++;
|
|
55247
55254
|
var Kt = V[At].offset, ar = V[At + 1].offset, tr = (Be - Kt) / (ar - Kt), kr = V[At].color, fr = V[At + 1].color;
|
|
55248
55255
|
Nt += Q(Math.round((1 - tr) * kr[0] + tr * fr[0]).toString(16)) + Q(Math.round((1 - tr) * kr[1] + tr * fr[1]).toString(16)) + Q(Math.round((1 - tr) * kr[2] + tr * fr[2]).toString(16));
|
|
@@ -55347,7 +55354,7 @@ Q`), jt(Be, !0), Ur({
|
|
|
55347
55354
|
We.hasOwnProperty(V) && We[V].objectNumber >= 0 && Ce("/" + V + " " + We[V].objectNumber + " 0 R");
|
|
55348
55355
|
ne.publish("putXobjectDict"), Ce(">>");
|
|
55349
55356
|
}, Ji = function() {
|
|
55350
|
-
|
|
55357
|
+
Tr.oid = dr(), Ce("<<"), Ce("/Filter /Standard"), Ce("/V " + Tr.v), Ce("/R " + Tr.r), Ce("/U <" + Tr.toHexString(Tr.U) + ">"), Ce("/O <" + Tr.toHexString(Tr.O) + ">"), Ce("/P " + Tr.P), Ce(">>"), Ce("endobj");
|
|
55351
55358
|
}, po = function() {
|
|
55352
55359
|
Ce("/Font <<");
|
|
55353
55360
|
for (var V in lt)
|
|
@@ -55438,10 +55445,10 @@ Q`), jt(Be, !0), Ur({
|
|
|
55438
55445
|
}
|
|
55439
55446
|
}, V.foo.bar = V, V.foo;
|
|
55440
55447
|
}, ot = function(V, ve) {
|
|
55441
|
-
var Ie, Be, Ue, dt, mt, Nt, At,
|
|
55448
|
+
var Ie, Be, Ue, dt, mt, Nt, At, Bt, Kt;
|
|
55442
55449
|
if (ve = ve || {}, Ue = ve.sourceEncoding || "Unicode", mt = ve.outputEncoding, (ve.autoencode || mt) && lt[wt].metadata && lt[wt].metadata[Ue] && lt[wt].metadata[Ue].encoding && (dt = lt[wt].metadata[Ue].encoding, !mt && lt[wt].encoding && (mt = lt[wt].encoding), !mt && dt.codePages && (mt = dt.codePages[0]), typeof mt == "string" && (mt = dt[mt]), mt)) {
|
|
55443
55450
|
for (At = !1, Nt = [], Ie = 0, Be = V.length; Ie < Be; Ie++)
|
|
55444
|
-
|
|
55451
|
+
Bt = mt[V.charCodeAt(Ie)], Bt ? Nt.push(String.fromCharCode(Bt)) : Nt.push(V[Ie]), Nt[Ie].charCodeAt(0) >> 8 && (At = !0);
|
|
55445
55452
|
V = Nt.join("");
|
|
55446
55453
|
}
|
|
55447
55454
|
for (Ie = V.length; At === void 0 && Ie !== 0; )
|
|
@@ -55449,9 +55456,9 @@ Q`), jt(Be, !0), Ur({
|
|
|
55449
55456
|
if (!At)
|
|
55450
55457
|
return V;
|
|
55451
55458
|
for (Nt = ve.noBOM ? [] : [254, 255], Ie = 0, Be = V.length; Ie < Be; Ie++) {
|
|
55452
|
-
if (
|
|
55459
|
+
if (Bt = V.charCodeAt(Ie), Kt = Bt >> 8, Kt >> 8)
|
|
55453
55460
|
throw new Error("Character at position " + Ie + " of string '" + V + "' exceeds 16bits. Cannot be encoded into UCS-2 BE");
|
|
55454
|
-
Nt.push(Kt), Nt.push(
|
|
55461
|
+
Nt.push(Kt), Nt.push(Bt - (Kt << 8));
|
|
55455
55462
|
}
|
|
55456
55463
|
return String.fromCharCode.apply(void 0, Nt);
|
|
55457
55464
|
}, ct = g.__private__.pdfEscape = g.pdfEscape = function(j, V) {
|
|
@@ -55471,10 +55478,10 @@ Q`), jt(Be, !0), Ur({
|
|
|
55471
55478
|
topRightX: Number(j[0]),
|
|
55472
55479
|
topRightY: Number(j[1])
|
|
55473
55480
|
}
|
|
55474
|
-
},
|
|
55481
|
+
}, Ot(Gt), Re(ge[Pe]);
|
|
55475
55482
|
}, pt = function(V, ve) {
|
|
55476
55483
|
var Ie, Be, Ue;
|
|
55477
|
-
switch (t = ve || t, typeof V == "string" && (Ie = C(V.toLowerCase()), Array.isArray(Ie) && (Be = Ie[0], Ue = Ie[1])), Array.isArray(V) && (Be = V[0] *
|
|
55484
|
+
switch (t = ve || t, typeof V == "string" && (Ie = C(V.toLowerCase()), Array.isArray(Ie) && (Be = Ie[0], Ue = Ie[1])), Array.isArray(V) && (Be = V[0] * Rt, Ue = V[1] * Rt), isNaN(Be) && (Be = o[0], Ue = o[1]), (Be > 14400 || Ue > 14400) && (console$1.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"), Be = Math.min(14400, Be), Ue = Math.min(14400, Ue)), o = [Be, Ue], t.substr(0, 1)) {
|
|
55478
55485
|
case "l":
|
|
55479
55486
|
Ue > Be && (o = [Ue, Be]);
|
|
55480
55487
|
break;
|
|
@@ -55487,7 +55494,7 @@ Q`), jt(Be, !0), Ur({
|
|
|
55487
55494
|
});
|
|
55488
55495
|
}, Pt = function(V) {
|
|
55489
55496
|
V > 0 && V <= Gt && (ge.splice(V, 1), ee.splice(V, 1), Gt--, Pe > Gt && (Pe = Gt), this.setPage(Pe));
|
|
55490
|
-
},
|
|
55497
|
+
}, Ot = function(V) {
|
|
55491
55498
|
V > 0 && V <= Gt && (Pe = V);
|
|
55492
55499
|
}, Yt = g.__private__.getNumberOfPages = g.getNumberOfPages = function() {
|
|
55493
55500
|
return ge.length - 1;
|
|
@@ -55498,7 +55505,7 @@ Q`), jt(Be, !0), Ur({
|
|
|
55498
55505
|
var j = dr(), V = function(Be) {
|
|
55499
55506
|
return Be;
|
|
55500
55507
|
};
|
|
55501
|
-
f !== null && (V =
|
|
55508
|
+
f !== null && (V = Tr.encryptor(j, 0)), Ce("<<"), Ce("/Producer (" + ct(V("jsPDF " + jsPDF.version)) + ")");
|
|
55502
55509
|
for (var ve in gt)
|
|
55503
55510
|
gt.hasOwnProperty(ve) && gt[ve] && Ce("/" + ve.substr(0, 1).toUpperCase() + ve.substr(1) + " (" + ct(V(gt[ve])) + ")");
|
|
55504
55511
|
Ce("/CreationDate (" + ct(V(J)) + ")"), Ce(">>"), Ce("endobj");
|
|
@@ -55539,7 +55546,7 @@ Q`), jt(Be, !0), Ur({
|
|
|
55539
55546
|
}
|
|
55540
55547
|
yt && Ce("/PageMode /" + yt), ne.publish("putCatalog"), Ce(">>"), Ce("endobj");
|
|
55541
55548
|
}, Rr = g.__private__.putTrailer = function() {
|
|
55542
|
-
Ce("trailer"), Ce("<<"), Ce("/Size " + (le + 1)), Ce("/Root " + le + " 0 R"), Ce("/Info " + (le - 1) + " 0 R"), f !== null && Ce("/Encrypt " +
|
|
55549
|
+
Ce("trailer"), Ce("<<"), Ce("/Size " + (le + 1)), Ce("/Root " + le + " 0 R"), Ce("/Info " + (le - 1) + " 0 R"), f !== null && Ce("/Encrypt " + Tr.oid + " 0 R"), Ce("/ID [ <" + X + "> <" + X + "> ]"), Ce(">>");
|
|
55543
55550
|
}, Pi = g.__private__.putHeader = function() {
|
|
55544
55551
|
Ce("%PDF-" + y), Ce("%ºß¬à");
|
|
55545
55552
|
}, $i = g.__private__.putXRef = function() {
|
|
@@ -55594,15 +55601,15 @@ Q`), jt(Be, !0), Ur({
|
|
|
55594
55601
|
throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");
|
|
55595
55602
|
case "pdfjsnewwindow":
|
|
55596
55603
|
if (Object.prototype.toString.call(globalObject) === "[object Window]") {
|
|
55597
|
-
var Nt = ve.pdfJsUrl || "examples/PDF.js/web/viewer.html", At = '<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe id="pdfViewer" src="' + Nt + "?file=&downloadName=" + ve.filename + '" width="500px" height="400px" /></body></html>',
|
|
55598
|
-
if (
|
|
55599
|
-
|
|
55604
|
+
var Nt = ve.pdfJsUrl || "examples/PDF.js/web/viewer.html", At = '<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe id="pdfViewer" src="' + Nt + "?file=&downloadName=" + ve.filename + '" width="500px" height="400px" /></body></html>', Bt = globalObject.open();
|
|
55605
|
+
if (Bt !== null) {
|
|
55606
|
+
Bt.document.write(At);
|
|
55600
55607
|
var Kt = this;
|
|
55601
|
-
|
|
55602
|
-
|
|
55608
|
+
Bt.document.documentElement.querySelector("#pdfViewer").onload = function() {
|
|
55609
|
+
Bt.document.title = ve.filename, Bt.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(Kt.output("bloburl"));
|
|
55603
55610
|
};
|
|
55604
55611
|
}
|
|
55605
|
-
return
|
|
55612
|
+
return Bt;
|
|
55606
55613
|
} else
|
|
55607
55614
|
throw new Error("The option pdfjsnewwindow just works in a browser-environment.");
|
|
55608
55615
|
case "dataurlnewwindow":
|
|
@@ -55623,39 +55630,39 @@ Q`), jt(Be, !0), Ur({
|
|
|
55623
55630
|
};
|
|
55624
55631
|
switch (r) {
|
|
55625
55632
|
case "pt":
|
|
55626
|
-
|
|
55633
|
+
Rt = 1;
|
|
55627
55634
|
break;
|
|
55628
55635
|
case "mm":
|
|
55629
|
-
|
|
55636
|
+
Rt = 72 / 25.4;
|
|
55630
55637
|
break;
|
|
55631
55638
|
case "cm":
|
|
55632
|
-
|
|
55639
|
+
Rt = 72 / 2.54;
|
|
55633
55640
|
break;
|
|
55634
55641
|
case "in":
|
|
55635
|
-
|
|
55642
|
+
Rt = 72;
|
|
55636
55643
|
break;
|
|
55637
55644
|
case "px":
|
|
55638
|
-
Ri("px_scaling") == !0 ?
|
|
55645
|
+
Ri("px_scaling") == !0 ? Rt = 72 / 96 : Rt = 96 / 72;
|
|
55639
55646
|
break;
|
|
55640
55647
|
case "pc":
|
|
55641
|
-
|
|
55648
|
+
Rt = 12;
|
|
55642
55649
|
break;
|
|
55643
55650
|
case "em":
|
|
55644
|
-
|
|
55651
|
+
Rt = 12;
|
|
55645
55652
|
break;
|
|
55646
55653
|
case "ex":
|
|
55647
|
-
|
|
55654
|
+
Rt = 6;
|
|
55648
55655
|
break;
|
|
55649
55656
|
default:
|
|
55650
55657
|
if (typeof r == "number")
|
|
55651
|
-
|
|
55658
|
+
Rt = r;
|
|
55652
55659
|
else
|
|
55653
55660
|
throw new Error("Invalid unit: " + r);
|
|
55654
55661
|
}
|
|
55655
|
-
var
|
|
55662
|
+
var Tr = null;
|
|
55656
55663
|
ie(), G();
|
|
55657
55664
|
var eo = function(V) {
|
|
55658
|
-
return f !== null ?
|
|
55665
|
+
return f !== null ? Tr.encryptor(V, 0) : function(ve) {
|
|
55659
55666
|
return ve;
|
|
55660
55667
|
};
|
|
55661
55668
|
}, dn = g.__private__.getPageInfo = g.getPageInfo = function(j) {
|
|
@@ -55684,7 +55691,7 @@ Q`), jt(Be, !0), Ur({
|
|
|
55684
55691
|
g.addPage = function() {
|
|
55685
55692
|
return pt.apply(this, arguments), this;
|
|
55686
55693
|
}, g.setPage = function() {
|
|
55687
|
-
return
|
|
55694
|
+
return Ot.apply(this, arguments), Re.call(this, ge[Pe]), this;
|
|
55688
55695
|
}, g.insertPage = function(j) {
|
|
55689
55696
|
return this.addPage(), this.movePage(Pe, j), this;
|
|
55690
55697
|
}, g.movePage = function(j, V) {
|
|
@@ -55705,7 +55712,7 @@ Q`), jt(Be, !0), Ur({
|
|
|
55705
55712
|
return Pt.apply(this, arguments), this;
|
|
55706
55713
|
}, g.__private__.text = g.text = function(j, V, ve, Ie, Be) {
|
|
55707
55714
|
Ie = Ie || {};
|
|
55708
|
-
var Ue = Ie.scope || this, dt, mt, Nt, At,
|
|
55715
|
+
var Ue = Ie.scope || this, dt, mt, Nt, At, Bt, Kt, ar, tr;
|
|
55709
55716
|
if (typeof j == "number" && typeof V == "number" && (typeof ve == "string" || Array.isArray(ve))) {
|
|
55710
55717
|
var kr = ve;
|
|
55711
55718
|
ve = V, V = j, j = kr;
|
|
@@ -55719,22 +55726,22 @@ Q`), jt(Be, !0), Ur({
|
|
|
55719
55726
|
throw new Error("Invalid arguments passed to jsPDF.text");
|
|
55720
55727
|
if (j.length === 0)
|
|
55721
55728
|
return Ue;
|
|
55722
|
-
var
|
|
55729
|
+
var _r = "", Vr = !1, Si = typeof Ie.lineHeightFactor == "number" ? Ie.lineHeightFactor : Hi, bo = Ue.internal.scaleFactor;
|
|
55723
55730
|
function _o(vr) {
|
|
55724
55731
|
return vr = vr.split(" ").join(Array(Ie.TabLen || 9).join(" ")), ct(vr, ar);
|
|
55725
55732
|
}
|
|
55726
55733
|
function lr(vr) {
|
|
55727
|
-
for (var
|
|
55728
|
-
Cr =
|
|
55734
|
+
for (var Nr = vr.concat(), or = [], mr = Nr.length, Cr; mr--; )
|
|
55735
|
+
Cr = Nr.shift(), typeof Cr == "string" ? or.push(Cr) : Array.isArray(vr) && (Cr.length === 1 || Cr[1] === void 0 && Cr[2] === void 0) ? or.push(Cr[0]) : or.push([Cr[0], Cr[1], Cr[2]]);
|
|
55729
55736
|
return or;
|
|
55730
55737
|
}
|
|
55731
|
-
function Go(vr,
|
|
55738
|
+
function Go(vr, Nr) {
|
|
55732
55739
|
var or;
|
|
55733
55740
|
if (typeof vr == "string")
|
|
55734
|
-
or =
|
|
55741
|
+
or = Nr(vr)[0];
|
|
55735
55742
|
else if (Array.isArray(vr)) {
|
|
55736
55743
|
for (var mr = vr.concat(), Cr = [], Eo = mr.length, ui, Ii; Eo--; )
|
|
55737
|
-
ui = mr.shift(), typeof ui == "string" ? Cr.push(
|
|
55744
|
+
ui = mr.shift(), typeof ui == "string" ? Cr.push(Nr(ui)[0]) : Array.isArray(ui) && typeof ui[0] == "string" && (Ii = Nr(ui[0], ui[1], ui[2]), Cr.push([Ii[0], Ii[1], Ii[2]]));
|
|
55738
55745
|
or = Cr;
|
|
55739
55746
|
}
|
|
55740
55747
|
return or;
|
|
@@ -55745,7 +55752,7 @@ Q`), jt(Be, !0), Ur({
|
|
|
55745
55752
|
else if (Array.isArray(j)) {
|
|
55746
55753
|
var Vo = j.concat();
|
|
55747
55754
|
mt = [];
|
|
55748
|
-
for (var
|
|
55755
|
+
for (var Dr = Vo.length, Kr; Dr--; )
|
|
55749
55756
|
Kr = Vo.shift(), (typeof Kr != "string" || Array.isArray(Kr) && typeof Kr[0] != "string") && (No = !1);
|
|
55750
55757
|
Po = No;
|
|
55751
55758
|
}
|
|
@@ -55767,8 +55774,8 @@ Q`), jt(Be, !0), Ur({
|
|
|
55767
55774
|
ve += li / 2 - no;
|
|
55768
55775
|
break;
|
|
55769
55776
|
}
|
|
55770
|
-
if (Kt = Ie.maxWidth || 0, Kt > 0 && (typeof j == "string" ? j = Ue.splitTextToSize(j, Kt) : Object.prototype.toString.call(j) === "[object Array]" && (j = j.reduce(function(vr,
|
|
55771
|
-
return vr.concat(Ue.splitTextToSize(
|
|
55777
|
+
if (Kt = Ie.maxWidth || 0, Kt > 0 && (typeof j == "string" ? j = Ue.splitTextToSize(j, Kt) : Object.prototype.toString.call(j) === "[object Array]" && (j = j.reduce(function(vr, Nr) {
|
|
55778
|
+
return vr.concat(Ue.splitTextToSize(Nr, Kt));
|
|
55772
55779
|
}, []))), dt = {
|
|
55773
55780
|
text: j,
|
|
55774
55781
|
x: V,
|
|
@@ -55785,8 +55792,8 @@ Q`), jt(Be, !0), Ur({
|
|
|
55785
55792
|
var Xo = Math.cos(Nt), qo = Math.sin(Nt);
|
|
55786
55793
|
fr = new ht(Xo, qo, -qo, Xo, 0, 0);
|
|
55787
55794
|
} else Nt && Nt instanceof ht && (fr = Nt);
|
|
55788
|
-
S === _.ADVANCED && !fr && (fr =
|
|
55789
|
-
`, this.setCharSpace(this.getCharSpace() || 0)), tr = Ie.horizontalScale, typeof tr < "u" && (
|
|
55795
|
+
S === _.ADVANCED && !fr && (fr = kt), Bt = Ie.charSpace || ro, typeof Bt < "u" && (_r += A(W(Bt)) + ` Tc
|
|
55796
|
+
`, this.setCharSpace(this.getCharSpace() || 0)), tr = Ie.horizontalScale, typeof tr < "u" && (_r += A(tr * 100) + ` Tz
|
|
55790
55797
|
`), Ie.lang;
|
|
55791
55798
|
var Er = -1, so = typeof Ie.renderingMode < "u" ? Ie.renderingMode : Ie.stroke, Wi = Ue.internal.getCurrentPageInfo().pageContext;
|
|
55792
55799
|
switch (so) {
|
|
@@ -55826,11 +55833,11 @@ Q`), jt(Be, !0), Ur({
|
|
|
55826
55833
|
break;
|
|
55827
55834
|
}
|
|
55828
55835
|
var Qo = typeof Wi.usedRenderingMode < "u" ? Wi.usedRenderingMode : -1;
|
|
55829
|
-
Er !== -1 ?
|
|
55830
|
-
` : Qo !== -1 && (
|
|
55836
|
+
Er !== -1 ? _r += Er + ` Tr
|
|
55837
|
+
` : Qo !== -1 && (_r += `0 Tr
|
|
55831
55838
|
`), Er !== -1 && (Wi.usedRenderingMode = Er), At = Ie.align || "left";
|
|
55832
55839
|
var To = Te * Si, Hn = Ue.internal.pageSize.getWidth(), ao = lt[wt];
|
|
55833
|
-
|
|
55840
|
+
Bt = Ie.charSpace || ro, Kt = Ie.maxWidth || 0;
|
|
55834
55841
|
var Xr;
|
|
55835
55842
|
ar = Object.assign({
|
|
55836
55843
|
autoencode: !0,
|
|
@@ -55843,34 +55850,34 @@ Q`), jt(Be, !0), Ur({
|
|
|
55843
55850
|
At !== "left" && (Xr = mt.map(function(vr) {
|
|
55844
55851
|
return Ue.getStringUnitWidth(vr, {
|
|
55845
55852
|
font: ao,
|
|
55846
|
-
charSpace:
|
|
55853
|
+
charSpace: Bt,
|
|
55847
55854
|
fontSize: Te,
|
|
55848
55855
|
doKerning: !1
|
|
55849
55856
|
}) * Te / bo;
|
|
55850
55857
|
}));
|
|
55851
55858
|
var Do = 0, ci;
|
|
55852
55859
|
if (At === "right") {
|
|
55853
|
-
V -= Xr[0], j = [],
|
|
55854
|
-
for (var ji = 0; ji <
|
|
55860
|
+
V -= Xr[0], j = [], Dr = mt.length;
|
|
55861
|
+
for (var ji = 0; ji < Dr; ji++)
|
|
55855
55862
|
ji === 0 ? (ci = Oi(V), xi = Ni(ve)) : (ci = W(Do - Xr[ji]), xi = -To), j.push([mt[ji], ci, xi]), Do = Xr[ji];
|
|
55856
55863
|
} else if (At === "center") {
|
|
55857
|
-
V -= Xr[0] / 2, j = [],
|
|
55858
|
-
for (var Ui = 0; Ui <
|
|
55864
|
+
V -= Xr[0] / 2, j = [], Dr = mt.length;
|
|
55865
|
+
for (var Ui = 0; Ui < Dr; Ui++)
|
|
55859
55866
|
Ui === 0 ? (ci = Oi(V), xi = Ni(ve)) : (ci = W((Do - Xr[Ui]) / 2), xi = -To), j.push([mt[Ui], ci, xi]), Do = Xr[Ui];
|
|
55860
55867
|
} else if (At === "left") {
|
|
55861
|
-
j = [],
|
|
55862
|
-
for (var Jo = 0; Jo <
|
|
55868
|
+
j = [], Dr = mt.length;
|
|
55869
|
+
for (var Jo = 0; Jo < Dr; Jo++)
|
|
55863
55870
|
j.push(mt[Jo]);
|
|
55864
55871
|
} else if (At === "justify") {
|
|
55865
|
-
j = [],
|
|
55866
|
-
for (var di = 0; di <
|
|
55867
|
-
xi = di === 0 ? Ni(ve) : -To, ci = di === 0 ? Oi(V) : 0, di <
|
|
55872
|
+
j = [], Dr = mt.length, Kt = Kt !== 0 ? Kt : Hn;
|
|
55873
|
+
for (var di = 0; di < Dr; di++)
|
|
55874
|
+
xi = di === 0 ? Ni(ve) : -To, ci = di === 0 ? Oi(V) : 0, di < Dr - 1 ? Ei.push(A(W((Kt - Xr[di]) / (mt[di].split("").length - 1)))) : Ei.push(0), j.push([mt[di], ci, xi]);
|
|
55868
55875
|
} else
|
|
55869
55876
|
throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');
|
|
55870
55877
|
}
|
|
55871
55878
|
var vn = typeof Ie.R2L == "boolean" ? Ie.R2L : Xe;
|
|
55872
|
-
vn === !0 && (j = Go(j, function(vr,
|
|
55873
|
-
return [vr.split("").reverse().join(""),
|
|
55879
|
+
vn === !0 && (j = Go(j, function(vr, Nr, or) {
|
|
55880
|
+
return [vr.split("").reverse().join(""), Nr, or];
|
|
55874
55881
|
})), dt = {
|
|
55875
55882
|
text: j,
|
|
55876
55883
|
x: V,
|
|
@@ -55884,13 +55891,13 @@ Q`), jt(Be, !0), Ur({
|
|
|
55884
55891
|
}
|
|
55885
55892
|
}, ne.publish("postProcessText", dt), j = dt.text, Vr = dt.mutex.isHex || !1;
|
|
55886
55893
|
var So = lt[wt].encoding;
|
|
55887
|
-
(So === "WinAnsiEncoding" || So === "StandardEncoding") && (j = Go(j, function(vr,
|
|
55888
|
-
return [_o(vr),
|
|
55894
|
+
(So === "WinAnsiEncoding" || So === "StandardEncoding") && (j = Go(j, function(vr, Nr, or) {
|
|
55895
|
+
return [_o(vr), Nr, or];
|
|
55889
55896
|
})), mt = lr(j), j = [];
|
|
55890
|
-
for (var lo = 0, Yi = 1, Zi = Array.isArray(mt[0]) ? Yi : lo, co, Hr, Br, Fi = "", Ko = function(
|
|
55897
|
+
for (var lo = 0, Yi = 1, Zi = Array.isArray(mt[0]) ? Yi : lo, co, Hr, Br, Fi = "", Ko = function(Nr, or, mr) {
|
|
55891
55898
|
var Cr = "";
|
|
55892
|
-
return mr instanceof ht ? (typeof Ie.angle == "number" ? mr =
|
|
55893
|
-
`) : Cr = A(
|
|
55899
|
+
return mr instanceof ht ? (typeof Ie.angle == "number" ? mr = br(mr, new ht(1, 0, 0, 1, Nr, or)) : mr = br(new ht(1, 0, 0, 1, Nr, or), mr), S === _.ADVANCED && (mr = br(new ht(1, 0, 0, -1, 0, 0), mr)), Cr = mr.join(" ") + ` Tm
|
|
55900
|
+
`) : Cr = A(Nr) + " " + A(or) + ` Td
|
|
55894
55901
|
`, Cr;
|
|
55895
55902
|
}, qr = 0; qr < mt.length; qr++) {
|
|
55896
55903
|
switch (Fi = "", Zi) {
|
|
@@ -55913,7 +55920,7 @@ T* `) : j.join(` Tj
|
|
|
55913
55920
|
return hi += wt + " " + Te + ` Tf
|
|
55914
55921
|
`, hi += A(Te * Si) + ` TL
|
|
55915
55922
|
`, hi += Ti + `
|
|
55916
|
-
`, hi +=
|
|
55923
|
+
`, hi += _r, hi += j, hi += "ET", Ce(hi), m[wt] = !0, Ue;
|
|
55917
55924
|
};
|
|
55918
55925
|
var Fn = g.__private__.clip = g.clip = function(j) {
|
|
55919
55926
|
return Ce(j === "evenodd" ? "W*" : "W"), this;
|
|
@@ -55971,7 +55978,7 @@ T* `) : j.join(` Tj
|
|
|
55971
55978
|
}, Uo = function(V) {
|
|
55972
55979
|
V === null || S === _.ADVANCED && V === void 0 || (V = hn(V), Ce(V));
|
|
55973
55980
|
};
|
|
55974
|
-
function
|
|
55981
|
+
function Ht(j, V, ve, Ie, Be) {
|
|
55975
55982
|
var Ue = new TilingPattern(V || this.boundingBox, ve || this.xStep, Ie || this.yStep, this.gState, Be || this.matrix);
|
|
55976
55983
|
Ue.stream = this.stream;
|
|
55977
55984
|
var dt = j + "$$" + this.cloneIndex++ + "$$";
|
|
@@ -55983,7 +55990,7 @@ T* `) : j.join(` Tj
|
|
|
55983
55990
|
Ce("q"), Ce(An(ve)), Be.gState && g.setGState(Be.gState), Ce(V.matrix.toString() + " cm"), Ce("/" + Ie + " sh"), Ce("Q");
|
|
55984
55991
|
else if (Be instanceof TilingPattern) {
|
|
55985
55992
|
var Ue = new ht(1, 0, 0, -1, 0, zi());
|
|
55986
|
-
V.matrix && (Ue = Ue.multiply(V.matrix ||
|
|
55993
|
+
V.matrix && (Ue = Ue.multiply(V.matrix || kt), Ie = Ht.call(Be, V.key, V.boundingBox, V.xStep, V.yStep, Ue).id), Ce("q"), Ce("/Pattern cs"), Ce("/" + Ie + " scn"), Be.gState && g.setGState(Be.gState), Ce(ve), Ce("Q");
|
|
55987
55994
|
}
|
|
55988
55995
|
}, An = function(V) {
|
|
55989
55996
|
switch (V) {
|
|
@@ -56015,11 +56022,11 @@ T* `) : j.join(` Tj
|
|
|
56015
56022
|
throw new Error("Invalid arguments passed to jsPDF.line");
|
|
56016
56023
|
return S === _.COMPAT ? this.lines([[ve - j, Ie - V]], j, V, [1, 1], Be || "S") : this.lines([[ve - j, Ie - V]], j, V, [1, 1]).stroke();
|
|
56017
56024
|
}, g.__private__.lines = g.lines = function(j, V, ve, Ie, Be, Ue) {
|
|
56018
|
-
var dt, mt, Nt, At,
|
|
56025
|
+
var dt, mt, Nt, At, Bt, Kt, ar, tr, kr, fr, _r, Vr;
|
|
56019
56026
|
if (typeof j == "number" && (Vr = ve, ve = V, V = j, j = Vr), Ie = Ie || [1, 1], Ue = Ue || !1, isNaN(V) || isNaN(ve) || !Array.isArray(j) || !Array.isArray(Ie) || !Gr(Be) || typeof Ue != "boolean")
|
|
56020
56027
|
throw new Error("Invalid arguments passed to jsPDF.lines");
|
|
56021
|
-
for (Yo(V, ve), dt = Ie[0], mt = Ie[1], At = j.length, fr = V,
|
|
56022
|
-
|
|
56028
|
+
for (Yo(V, ve), dt = Ie[0], mt = Ie[1], At = j.length, fr = V, _r = ve, Nt = 0; Nt < At; Nt++)
|
|
56029
|
+
Bt = j[Nt], Bt.length === 2 ? (fr = Bt[0] * dt + fr, _r = Bt[1] * mt + _r, fn(fr, _r)) : (Kt = Bt[0] * dt + fr, ar = Bt[1] * mt + _r, tr = Bt[2] * dt + fr, kr = Bt[3] * mt + _r, fr = Bt[4] * dt + fr, _r = Bt[5] * mt + _r, ki(Kt, ar, tr, kr, fr, _r));
|
|
56023
56030
|
return Ue && un(), Uo(Be), this;
|
|
56024
56031
|
}, g.path = function(j) {
|
|
56025
56032
|
for (var V = 0; V < j.length; V++) {
|
|
@@ -56223,7 +56230,7 @@ T* `) : j.join(` Tj
|
|
|
56223
56230
|
throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");
|
|
56224
56231
|
return Ce(A(W(j)) + " M"), this;
|
|
56225
56232
|
}, g.GState = GState, g.setGState = function(j) {
|
|
56226
|
-
typeof j == "string" ? j = Mt[rr[j]] : j = Di(null, j), j.equals(
|
|
56233
|
+
typeof j == "string" ? j = Mt[rr[j]] : j = Di(null, j), j.equals(xr) || (Ce("/" + j.id + " gs"), xr = j);
|
|
56227
56234
|
};
|
|
56228
56235
|
var Di = function(V, ve) {
|
|
56229
56236
|
if (!(V && rr[V])) {
|
|
@@ -56253,7 +56260,7 @@ T* `) : j.join(` Tj
|
|
|
56253
56260
|
}, g.restoreGraphicsState = function() {
|
|
56254
56261
|
Ce("Q");
|
|
56255
56262
|
var j = Et.pop();
|
|
56256
|
-
return wt = j.key, Te = j.size, Ti = j.color,
|
|
56263
|
+
return wt = j.key, Te = j.size, Ti = j.color, xr = null, this;
|
|
56257
56264
|
}, g.setCurrentTransformationMatrix = function(j) {
|
|
56258
56265
|
return Ce(j.toString() + " cm"), this;
|
|
56259
56266
|
}, g.comment = function(j) {
|
|
@@ -56361,13 +56368,13 @@ T* `) : j.join(` Tj
|
|
|
56361
56368
|
ve = V[Be][0], Ie = V[Be][1], j.subscribe.apply(j, [ve].concat(typeof Ie == "function" ? [Ie] : Ie));
|
|
56362
56369
|
}(ne, jsPDF.API.events) : g[Co] = jsPDF.API[Co]);
|
|
56363
56370
|
var Bi = g.getPageWidth = function(j) {
|
|
56364
|
-
return j = j || Pe, (ee[j].mediaBox.topRightX - ee[j].mediaBox.bottomLeftX) /
|
|
56371
|
+
return j = j || Pe, (ee[j].mediaBox.topRightX - ee[j].mediaBox.bottomLeftX) / Rt;
|
|
56365
56372
|
}, oo = g.setPageWidth = function(j, V) {
|
|
56366
|
-
ee[j].mediaBox.topRightX = V *
|
|
56373
|
+
ee[j].mediaBox.topRightX = V * Rt + ee[j].mediaBox.bottomLeftX;
|
|
56367
56374
|
}, zi = g.getPageHeight = function(j) {
|
|
56368
|
-
return j = j || Pe, (ee[j].mediaBox.topRightY - ee[j].mediaBox.bottomLeftY) /
|
|
56375
|
+
return j = j || Pe, (ee[j].mediaBox.topRightY - ee[j].mediaBox.bottomLeftY) / Rt;
|
|
56369
56376
|
}, xo = g.setPageHeight = function(j, V) {
|
|
56370
|
-
ee[j].mediaBox.topRightY = V *
|
|
56377
|
+
ee[j].mediaBox.topRightY = V * Rt + ee[j].mediaBox.bottomLeftY;
|
|
56371
56378
|
};
|
|
56372
56379
|
return g.internal = {
|
|
56373
56380
|
pdfEscape: ct,
|
|
@@ -56392,7 +56399,7 @@ T* `) : j.join(` Tj
|
|
|
56392
56399
|
getFilters: Mr,
|
|
56393
56400
|
putStream: Ur,
|
|
56394
56401
|
events: ne,
|
|
56395
|
-
scaleFactor:
|
|
56402
|
+
scaleFactor: Rt,
|
|
56396
56403
|
pageSize: {
|
|
56397
56404
|
getWidth: function() {
|
|
56398
56405
|
return Bi(Pe);
|
|
@@ -56408,7 +56415,7 @@ T* `) : j.join(` Tj
|
|
|
56408
56415
|
}
|
|
56409
56416
|
},
|
|
56410
56417
|
encryptionOptions: f,
|
|
56411
|
-
encryption:
|
|
56418
|
+
encryption: Tr,
|
|
56412
56419
|
getEncryptor: eo,
|
|
56413
56420
|
output: cn,
|
|
56414
56421
|
getNumberOfPages: Yt,
|
|
@@ -59606,7 +59613,8 @@ function parseFontFamily(a) {
|
|
|
59606
59613
|
align: this.textAlign,
|
|
59607
59614
|
maxWidth: xe,
|
|
59608
59615
|
// renderingMode: "fillThenStroke",
|
|
59609
|
-
charSpace: _e
|
|
59616
|
+
charSpace: _e,
|
|
59617
|
+
bold: !0
|
|
59610
59618
|
}) : W.call(this, {
|
|
59611
59619
|
text: ue,
|
|
59612
59620
|
x: Q,
|
|
@@ -59633,7 +59641,9 @@ function parseFontFamily(a) {
|
|
|
59633
59641
|
angle: Fe,
|
|
59634
59642
|
align: this.textAlign,
|
|
59635
59643
|
maxWidth: xe,
|
|
59636
|
-
charSpace: _e
|
|
59644
|
+
charSpace: _e,
|
|
59645
|
+
// 自定义修改
|
|
59646
|
+
bold: !0
|
|
59637
59647
|
// 自定义修改
|
|
59638
59648
|
});
|
|
59639
59649
|
}
|
|
@@ -59952,13 +59962,15 @@ function parseFontFamily(a) {
|
|
|
59952
59962
|
}
|
|
59953
59963
|
else {
|
|
59954
59964
|
Q.scale >= 0.01 && ($ = this.pdf.internal.getFontSize(), this.pdf.setFontSize($ * Q.scale), Te = this.lineWidth, this.lineWidth = Te * Q.scale);
|
|
59965
|
+
let xr = Q.maxWidth - xe.w, Rt = 0;
|
|
59966
|
+
xr > 2 && Q.bold && (Rt = xr / Q.text.length);
|
|
59955
59967
|
var Ct = Q.charSpace ? parseFloat(Q.charSpace) : 0;
|
|
59956
59968
|
this.pdf.text(Q.text, ge.x + this.posX, ge.y + this.posY, {
|
|
59957
59969
|
angle: Q.angle,
|
|
59958
59970
|
align: le,
|
|
59959
59971
|
renderingMode: Q.renderingMode,
|
|
59960
59972
|
// maxWidth: options.maxWidth,
|
|
59961
|
-
charSpace: Ct
|
|
59973
|
+
charSpace: Ct + Rt
|
|
59962
59974
|
}), Q.scale >= 0.01 && (this.pdf.setFontSize($), this.lineWidth = Te);
|
|
59963
59975
|
}
|
|
59964
59976
|
}, U = function(Q, le, xe, Fe) {
|
|
@@ -59995,9 +60007,9 @@ function parseFontFamily(a) {
|
|
|
59995
60007
|
var ge = Q + (xe - Q) * 0.5, Pe = le + (Fe - le) * 0.5, Ee = me + (xe - me) * 0.5, Ve = _e + (Fe - _e) * 0.5, Ne = Math.min(Q, me, ge, Ee), Re = Math.max(Q, me, ge, Ee), Ce = Math.min(le, _e, Pe, Ve), ae = Math.max(le, _e, Pe, Ve);
|
|
59996
60008
|
return new d(Ne, Ce, Re - Ne, ae - Ce);
|
|
59997
60009
|
}, we = function(Q, le, xe, Fe, me, _e, ge, Pe) {
|
|
59998
|
-
var Ee = xe - Q, Ve = Fe - le, Ne = me - xe, Re = _e - Fe, Ce = ge - me, ae = Pe - _e, he = 40, $, Te, Oe, Xe, Je, $e, yt, vt, et, tt, gt, lt, Ct, wt, Et, Dt, Qt, Mt, rr,
|
|
60010
|
+
var Ee = xe - Q, Ve = Fe - le, Ne = me - xe, Re = _e - Fe, Ce = ge - me, ae = Pe - _e, he = 40, $, Te, Oe, Xe, Je, $e, yt, vt, et, tt, gt, lt, Ct, wt, Et, Dt, Qt, Mt, rr, xr, Rt, Gt, ee, ne;
|
|
59999
60011
|
for (Te = 0; Te < he + 1; Te++)
|
|
60000
|
-
$ = Te / he, Oe = Q + $ * Ee, Xe = le + $ * Ve, Je = xe + $ * Ne, $e = Fe + $ * Re, yt = me + $ * Ce, vt = _e + $ * ae, rr = Je - Oe,
|
|
60012
|
+
$ = Te / he, Oe = Q + $ * Ee, Xe = le + $ * Ve, Je = xe + $ * Ne, $e = Fe + $ * Re, yt = me + $ * Ce, vt = _e + $ * ae, rr = Je - Oe, xr = $e - Xe, Rt = yt - Je, Gt = vt - $e, gt = Oe + $ * rr, lt = Xe + $ * xr, et = Je + $ * Rt, tt = $e + $ * Gt, ee = et - gt, ne = tt - lt, Ct = gt + $ * ee, wt = lt + $ * ne, Te == 0 ? (Et = Ct, Dt = wt, Qt = Ct, Mt = wt) : (Et = Math.min(Et, Ct), Dt = Math.min(Dt, wt), Qt = Math.max(Qt, Ct), Mt = Math.max(Mt, wt));
|
|
60001
60013
|
return new d(Math.round(Et), Math.round(Dt), Math.round(Qt - Et), Math.round(Mt - Dt));
|
|
60002
60014
|
}, ie = function(Q, le) {
|
|
60003
60015
|
return JSON.stringify({
|
|
@@ -61349,19 +61361,19 @@ function JPEGEncoder(a) {
|
|
|
61349
61361
|
var Ce, ae, he, $, Te, Oe, Xe, Je, $e = 0, yt, vt = 8, et = 64;
|
|
61350
61362
|
for (yt = 0; yt < vt; ++yt) {
|
|
61351
61363
|
Ce = Ne[$e], ae = Ne[$e + 1], he = Ne[$e + 2], $ = Ne[$e + 3], Te = Ne[$e + 4], Oe = Ne[$e + 5], Xe = Ne[$e + 6], Je = Ne[$e + 7];
|
|
61352
|
-
var tt = Ce + Je, gt = Ce - Je, lt = ae + Xe, Ct = ae - Xe, wt = he + Oe, Et = he - Oe, Dt = $ + Te, Qt = $ - Te, Mt = tt + Dt, rr = tt - Dt,
|
|
61353
|
-
Ne[$e] = Mt +
|
|
61354
|
-
var Gt = (
|
|
61355
|
-
Ne[$e + 2] = rr + Gt, Ne[$e + 6] = rr - Gt, Mt = Qt + Et,
|
|
61356
|
-
var ee = (Mt -
|
|
61364
|
+
var tt = Ce + Je, gt = Ce - Je, lt = ae + Xe, Ct = ae - Xe, wt = he + Oe, Et = he - Oe, Dt = $ + Te, Qt = $ - Te, Mt = tt + Dt, rr = tt - Dt, xr = lt + wt, Rt = lt - wt;
|
|
61365
|
+
Ne[$e] = Mt + xr, Ne[$e + 4] = Mt - xr;
|
|
61366
|
+
var Gt = (Rt + rr) * 0.707106781;
|
|
61367
|
+
Ne[$e + 2] = rr + Gt, Ne[$e + 6] = rr - Gt, Mt = Qt + Et, xr = Et + Ct, Rt = Ct + gt;
|
|
61368
|
+
var ee = (Mt - Rt) * 0.382683433, ne = 0.5411961 * Mt + ee, De = 1.306562965 * Rt + ee, We = xr * 0.707106781, Ye = gt + We, St = gt - We;
|
|
61357
61369
|
Ne[$e + 5] = St + ne, Ne[$e + 3] = St - ne, Ne[$e + 1] = Ye + De, Ne[$e + 7] = Ye - De, $e += 8;
|
|
61358
61370
|
}
|
|
61359
61371
|
for ($e = 0, yt = 0; yt < vt; ++yt) {
|
|
61360
61372
|
Ce = Ne[$e], ae = Ne[$e + 8], he = Ne[$e + 16], $ = Ne[$e + 24], Te = Ne[$e + 32], Oe = Ne[$e + 40], Xe = Ne[$e + 48], Je = Ne[$e + 56];
|
|
61361
|
-
var Ut = Ce + Je, Jt = Ce - Je, ir = ae + Xe, ht = ae - Xe,
|
|
61373
|
+
var Ut = Ce + Je, Jt = Ce - Je, ir = ae + Xe, ht = ae - Xe, br = he + Oe, kt = he - Oe, wr = $ + Te, dr = $ - Te, Xt = Ut + wr, jt = Ut - wr, hr = ir + br, Wt = ir - br;
|
|
61362
61374
|
Ne[$e] = Xt + hr, Ne[$e + 32] = Xt - hr;
|
|
61363
61375
|
var Zt = (Wt + jt) * 0.707106781;
|
|
61364
|
-
Ne[$e + 16] = jt + Zt, Ne[$e + 48] = jt - Zt, Xt = dr +
|
|
61376
|
+
Ne[$e + 16] = jt + Zt, Ne[$e + 48] = jt - Zt, Xt = dr + kt, hr = kt + ht, Wt = ht + Jt;
|
|
61365
61377
|
var nr = (Xt - Wt) * 0.382683433, pr = 0.5411961 * Xt + nr, Mr = 1.306562965 * Wt + nr, Ur = hr * 0.707106781, _i = Jt + Ur, Yr = Jt - Ur;
|
|
61366
61378
|
Ne[$e + 40] = Yr + pr, Ne[$e + 24] = Yr - pr, Ne[$e + 8] = _i + Mr, Ne[$e + 56] = _i - Mr, $e++;
|
|
61367
61379
|
}
|
|
@@ -61869,13 +61881,13 @@ function WebPDecoder(a) {
|
|
|
61869
61881
|
B[K++] = te >> 16 & 255, B[K++] = te >> 8 & 255, B[K++] = te >> 0 & 255;
|
|
61870
61882
|
}
|
|
61871
61883
|
}
|
|
61872
|
-
function
|
|
61884
|
+
function xr(N, F, R, B, K) {
|
|
61873
61885
|
for (R = F + R; F < R; ) {
|
|
61874
61886
|
var te = N[F++];
|
|
61875
61887
|
B[K++] = te >> 16 & 255, B[K++] = te >> 8 & 255, B[K++] = te >> 0 & 255, B[K++] = te >> 24 & 255;
|
|
61876
61888
|
}
|
|
61877
61889
|
}
|
|
61878
|
-
function
|
|
61890
|
+
function Rt(N, F, R, B, K) {
|
|
61879
61891
|
for (R = F + R; F < R; ) {
|
|
61880
61892
|
var re = N[F++], te = re >> 16 & 240 | re >> 12 & 15, re = re >> 0 & 240 | re >> 28 & 15;
|
|
61881
61893
|
B[K++] = te, B[K++] = re;
|
|
@@ -61922,13 +61934,13 @@ function WebPDecoder(a) {
|
|
|
61922
61934
|
function ht(N) {
|
|
61923
61935
|
return alert("todo:WebPSamplerProcessPlane"), N.T;
|
|
61924
61936
|
}
|
|
61925
|
-
function
|
|
61937
|
+
function br(N, F) {
|
|
61926
61938
|
var R = N.T, B = F.ba.f.RGBA, K = B.eb, te = B.fb + N.ka * B.A, re = ei[F.ba.S], oe = N.y, de = N.O, pe = N.f, Se = N.N, He = N.ea, Ze = N.W, Ge = F.cc, qe = F.dc, rt = F.Mc, je = F.Nc, Qe = N.ka, it = N.ka + N.T, at = N.U, st = at + 1 >> 1;
|
|
61927
61939
|
for (Qe == 0 ? re(oe, de, null, null, pe, Se, He, Ze, pe, Se, He, Ze, K, te, null, null, at) : (re(F.ec, F.fc, oe, de, Ge, qe, rt, je, pe, Se, He, Ze, K, te - B.A, K, te, at), ++R); Qe + 2 < it; Qe += 2)
|
|
61928
61940
|
Ge = pe, qe = Se, rt = He, je = Ze, Se += N.Rc, Ze += N.Rc, te += 2 * B.A, de += 2 * N.fa, re(oe, de - N.fa, oe, de, Ge, qe, rt, je, pe, Se, He, Ze, K, te - B.A, K, te, at);
|
|
61929
61941
|
return de += N.fa, N.j + it < N.o ? (o(F.ec, F.fc, oe, de, at), o(F.cc, F.dc, pe, Se, st), o(F.Mc, F.Nc, He, Ze, st), R--) : it & 1 || re(oe, de, null, null, pe, Se, He, Ze, pe, Se, He, Ze, K, te + B.A, null, null, at), R;
|
|
61930
61942
|
}
|
|
61931
|
-
function
|
|
61943
|
+
function kt(N, F, R) {
|
|
61932
61944
|
var B = N.F, K = [N.J];
|
|
61933
61945
|
if (B != null) {
|
|
61934
61946
|
var te = N.U, re = F.ba.S, oe = re == wn || re == Cn;
|
|
@@ -61948,16 +61960,16 @@ function WebPDecoder(a) {
|
|
|
61948
61960
|
if (B) {
|
|
61949
61961
|
if (F.Ib = ht, N.Kb) {
|
|
61950
61962
|
if (R = N.U + 1 >> 1, F.memory = s(N.U + 2 * R), F.memory == null) return 0;
|
|
61951
|
-
F.ec = F.memory, F.fc = 0, F.cc = F.ec, F.dc = F.fc + N.U, F.Mc = F.cc, F.Nc = F.dc + R, F.Ib =
|
|
61963
|
+
F.ec = F.memory, F.fc = 0, F.cc = F.ec, F.dc = F.fc + N.U, F.Mc = F.cc, F.Nc = F.dc + R, F.Ib = br, kr();
|
|
61952
61964
|
}
|
|
61953
61965
|
} else alert("todo:EmitYUV");
|
|
61954
|
-
K && (F.Jb =
|
|
61966
|
+
K && (F.Jb = kt, B && ar());
|
|
61955
61967
|
}
|
|
61956
61968
|
if (B && !Ts) {
|
|
61957
61969
|
for (N = 0; 256 > N; ++N)
|
|
61958
61970
|
qs[N] = 89858 * (N - 128) + rn >> Tn, Ds[N] = -22014 * (N - 128) + rn, Vi[N] = -45773 * (N - 128), Qs[N] = 113618 * (N - 128) + rn >> Tn;
|
|
61959
61971
|
for (N = on; N < Xn; ++N)
|
|
61960
|
-
F = 76283 * (N - 16) + rn >> Tn, Js[N - on] =
|
|
61972
|
+
F = 76283 * (N - 16) + rn >> Tn, Js[N - on] = Dr(F, 255), Ks[N - on] = Dr(F + 8 >> 4, 15);
|
|
61961
61973
|
Ts = 1;
|
|
61962
61974
|
}
|
|
61963
61975
|
return 1;
|
|
@@ -62179,7 +62191,7 @@ function WebPDecoder(a) {
|
|
|
62179
62191
|
}
|
|
62180
62192
|
function gi() {
|
|
62181
62193
|
var N = new ve();
|
|
62182
|
-
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 = Et, So = Qt, lo = rr, Yi =
|
|
62194
|
+
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 = Et, So = Qt, lo = rr, Yi = xr, Zi = Rt, co = Gt, Hr = ee, U.VP8LMapColor32b = ji, U.VP8LMapColor8b = Jo, N);
|
|
62183
62195
|
}
|
|
62184
62196
|
function ni(N, F, R, B, K) {
|
|
62185
62197
|
var te = 1, re = [N], oe = [F], de = B.m, pe = B.s, Se = null, He = 0;
|
|
@@ -62225,10 +62237,10 @@ function WebPDecoder(a) {
|
|
|
62225
62237
|
}
|
|
62226
62238
|
var Ir;
|
|
62227
62239
|
if (Ir = te) t: {
|
|
62228
|
-
var zr = B, bi = re,
|
|
62240
|
+
var zr = B, bi = re, Pr = oe, ti = He, Ao = R, Wr, Sr, Qn = zr.m, nn = zr.s, Lo = [null], Mo, jr = 1, Xi = 0, ta = Zs[ti];
|
|
62229
62241
|
r: for (; ; ) {
|
|
62230
62242
|
if (Ao && xe(Qn, 1)) {
|
|
62231
|
-
var Jn = xe(Qn, 3) + 2, Es = $e(bi, Jn), Fs = $e(
|
|
62243
|
+
var Jn = xe(Qn, 3) + 2, Es = $e(bi, Jn), Fs = $e(Pr, Jn), ra = Es * Fs;
|
|
62232
62244
|
if (!ni(Es, Fs, 0, zr, Lo)) break r;
|
|
62233
62245
|
for (Lo = Lo[0], nn.xc = Jn, Wr = 0; Wr < ra; ++Wr) {
|
|
62234
62246
|
var sn = Lo[Wr] >> 8 & 65535;
|
|
@@ -62474,7 +62486,7 @@ function WebPDecoder(a) {
|
|
|
62474
62486
|
continue;
|
|
62475
62487
|
} else Ze = R;
|
|
62476
62488
|
var Ge = N.pb[He];
|
|
62477
|
-
Ge.Sc[0] = jn[
|
|
62489
|
+
Ge.Sc[0] = jn[Dr(Ze + K, 127)], Ge.Sc[1] = Un[Dr(Ze + 0, 127)], Ge.Eb[0] = 2 * jn[Dr(Ze + B, 127)], Ge.Eb[1] = 101581 * Un[Dr(Ze + oe, 127)] >> 16, 8 > Ge.Eb[1] && (Ge.Eb[1] = 8), Ge.Qc[0] = jn[Dr(Ze + de, 117)], Ge.Qc[1] = Un[Dr(Ze + pe, 127)], Ge.lc = Ze + pe;
|
|
62478
62490
|
}
|
|
62479
62491
|
if (!re.Rb) return ot(N, 4, "Not a key frame.");
|
|
62480
62492
|
for (Ne(te), re = N.Pa, R = 0; 4 > R; ++R) {
|
|
@@ -62515,7 +62527,7 @@ function WebPDecoder(a) {
|
|
|
62515
62527
|
var F = N.rb[N.sb - 1];
|
|
62516
62528
|
F.la = 0, F.Na = 0, n(N.zc, 0, 0, N.zc.length), N.ja = 0;
|
|
62517
62529
|
}
|
|
62518
|
-
function
|
|
62530
|
+
function Ot(N, F) {
|
|
62519
62531
|
for (N.M = 0; N.M < N.Va; ++N.M) {
|
|
62520
62532
|
var R = N.Jc[N.M & N.Xb], B = N.m, K = N, te;
|
|
62521
62533
|
for (te = 0; te < K.za; ++te) {
|
|
@@ -62578,11 +62590,11 @@ function WebPDecoder(a) {
|
|
|
62578
62590
|
at = it, st = cr;
|
|
62579
62591
|
var Fr = $t.D, er = Fr.Nb;
|
|
62580
62592
|
Qe = $t.R;
|
|
62581
|
-
var Fr = Fr.wa[Fr.Y + at], Ir = $t.sa, zr = $t.ta + 16 * er * Qe + 16 * at, bi = Fr.dd,
|
|
62582
|
-
if (
|
|
62593
|
+
var Fr = Fr.wa[Fr.Y + at], Ir = $t.sa, zr = $t.ta + 16 * er * Qe + 16 * at, bi = Fr.dd, Pr = Fr.tc;
|
|
62594
|
+
if (Pr != 0) if (t(3 <= Pr), $t.L == 1) 0 < at && gs(Ir, zr, Qe, Pr + 4), Fr.La && ys(Ir, zr, Qe, Pr), 0 < st && ps(Ir, zr, Qe, Pr + 4), Fr.La && ms(Ir, zr, Qe, Pr);
|
|
62583
62595
|
else {
|
|
62584
62596
|
var ti = $t.B, Ao = $t.qa, Wr = $t.ra + 8 * er * ti + 8 * at, Sr = $t.Ha, $t = $t.Ia + 8 * er * ti + 8 * at, er = Fr.ld;
|
|
62585
|
-
0 < at && (as(Ir, zr, Qe,
|
|
62597
|
+
0 < at && (as(Ir, zr, Qe, Pr + 4, bi, er), cs(Ao, Wr, Sr, $t, ti, Pr + 4, bi, er)), Fr.La && (hs(Ir, zr, Qe, Pr, bi, er), fs(Ao, Wr, Sr, $t, ti, Pr, bi, er)), 0 < st && (ss(Ir, zr, Qe, Pr + 4, bi, er), ls(Ao, Wr, Sr, $t, ti, Pr + 4, bi, er)), Fr.La && (ds(Ir, zr, Qe, Pr, bi, er), us(Ao, Wr, Sr, $t, ti, Pr, bi, er));
|
|
62586
62598
|
}
|
|
62587
62599
|
}
|
|
62588
62600
|
if (R.ia && alert("todo:DitherRow"), B.put != null) {
|
|
@@ -62658,7 +62670,7 @@ function WebPDecoder(a) {
|
|
|
62658
62670
|
ho = Ri, _n = $i, Zn = si, Io = wi, Gn = cn, ns = Pi, ss = Or, as = mn, ls = kn, cs = Co, 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] = Sn, 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, R = 1;
|
|
62659
62671
|
} else R = 0;
|
|
62660
62672
|
}
|
|
62661
|
-
R && (R =
|
|
62673
|
+
R && (R = Ot(N, F)), F.bc != null && F.bc(F), R &= 1;
|
|
62662
62674
|
}
|
|
62663
62675
|
return R ? (N.cb = 0, R) : 0;
|
|
62664
62676
|
}
|
|
@@ -62709,7 +62721,7 @@ function WebPDecoder(a) {
|
|
|
62709
62721
|
for (te = 0; 4 > te; ++te)
|
|
62710
62722
|
N = K[0 + 4 * te] + 3, re = N + K[3 + 4 * te], oe = K[1 + 4 * te] + K[2 + 4 * te], de = K[1 + 4 * te] - K[2 + 4 * te], pe = N - K[3 + 4 * te], R[B + 0] = re + oe >> 3, R[B + 16] = pe + de >> 3, R[B + 32] = re - oe >> 3, R[B + 48] = pe - de >> 3, B += 64;
|
|
62711
62723
|
}
|
|
62712
|
-
function
|
|
62724
|
+
function Tr(N, F, R) {
|
|
62713
62725
|
var B = F - 32, K = or, te = 255 - N[B - 1], re;
|
|
62714
62726
|
for (re = 0; re < R; ++re) {
|
|
62715
62727
|
var oe = K, de = te + N[F - 1], pe;
|
|
@@ -62719,13 +62731,13 @@ function WebPDecoder(a) {
|
|
|
62719
62731
|
}
|
|
62720
62732
|
}
|
|
62721
62733
|
function eo(N, F) {
|
|
62722
|
-
|
|
62734
|
+
Tr(N, F, 4);
|
|
62723
62735
|
}
|
|
62724
62736
|
function dn(N, F) {
|
|
62725
|
-
|
|
62737
|
+
Tr(N, F, 8);
|
|
62726
62738
|
}
|
|
62727
62739
|
function Sn(N, F) {
|
|
62728
|
-
|
|
62740
|
+
Tr(N, F, 16);
|
|
62729
62741
|
}
|
|
62730
62742
|
function En(N, F) {
|
|
62731
62743
|
var R;
|
|
@@ -62763,17 +62775,17 @@ function WebPDecoder(a) {
|
|
|
62763
62775
|
function Uo(N, F) {
|
|
62764
62776
|
Gr(128, N, F);
|
|
62765
62777
|
}
|
|
62766
|
-
function
|
|
62778
|
+
function Ht(N, F, R) {
|
|
62767
62779
|
return N + 2 * F + R + 2 >> 2;
|
|
62768
62780
|
}
|
|
62769
62781
|
function In(N, F) {
|
|
62770
|
-
var R = F - 32, R = new Uint8Array([
|
|
62782
|
+
var R = F - 32, R = new Uint8Array([Ht(N[R - 1], N[R + 0], N[R + 1]), Ht(N[R + 0], N[R + 1], N[R + 2]), Ht(N[R + 1], N[R + 2], N[R + 3]), Ht(N[R + 2], N[R + 3], N[R + 4])]), B;
|
|
62771
62783
|
for (B = 0; 4 > B; ++B)
|
|
62772
62784
|
o(N, F + 32 * B, R, 0, R.length);
|
|
62773
62785
|
}
|
|
62774
62786
|
function An(N, F) {
|
|
62775
62787
|
var R = N[F - 1], B = N[F - 1 + 32], K = N[F - 1 + 64], te = N[F - 1 + 96];
|
|
62776
|
-
Ce(N, F + 0, 16843009 *
|
|
62788
|
+
Ce(N, F + 0, 16843009 * Ht(N[F - 1 - 32], R, B)), Ce(N, F + 32, 16843009 * Ht(R, B, K)), Ce(N, F + 64, 16843009 * Ht(B, K, te)), Ce(N, F + 96, 16843009 * Ht(K, te, te));
|
|
62777
62789
|
}
|
|
62778
62790
|
function Yo(N, F) {
|
|
62779
62791
|
var R = 4, B;
|
|
@@ -62784,27 +62796,27 @@ function WebPDecoder(a) {
|
|
|
62784
62796
|
}
|
|
62785
62797
|
function fn(N, F) {
|
|
62786
62798
|
var R = N[F - 1 + 0], B = N[F - 1 + 32], K = N[F - 1 + 64], te = N[F - 1 - 32], re = N[F + 0 - 32], oe = N[F + 1 - 32], de = N[F + 2 - 32], pe = N[F + 3 - 32];
|
|
62787
|
-
N[F + 0 + 96] =
|
|
62799
|
+
N[F + 0 + 96] = Ht(B, K, N[F - 1 + 96]), N[F + 1 + 96] = N[F + 0 + 64] = Ht(R, B, K), N[F + 2 + 96] = N[F + 1 + 64] = N[F + 0 + 32] = Ht(te, R, B), N[F + 3 + 96] = N[F + 2 + 64] = N[F + 1 + 32] = N[F + 0 + 0] = Ht(re, te, R), N[F + 3 + 64] = N[F + 2 + 32] = N[F + 1 + 0] = Ht(oe, re, te), N[F + 3 + 32] = N[F + 2 + 0] = Ht(de, oe, re), N[F + 3 + 0] = Ht(pe, de, oe);
|
|
62788
62800
|
}
|
|
62789
62801
|
function ki(N, F) {
|
|
62790
62802
|
var R = N[F + 1 - 32], B = N[F + 2 - 32], K = N[F + 3 - 32], te = N[F + 4 - 32], re = N[F + 5 - 32], oe = N[F + 6 - 32], de = N[F + 7 - 32];
|
|
62791
|
-
N[F + 0 + 0] =
|
|
62803
|
+
N[F + 0 + 0] = Ht(N[F + 0 - 32], R, B), N[F + 1 + 0] = N[F + 0 + 32] = Ht(R, B, K), N[F + 2 + 0] = N[F + 1 + 32] = N[F + 0 + 64] = Ht(B, K, te), N[F + 3 + 0] = N[F + 2 + 32] = N[F + 1 + 64] = N[F + 0 + 96] = Ht(K, te, re), N[F + 3 + 32] = N[F + 2 + 64] = N[F + 1 + 96] = Ht(te, re, oe), N[F + 3 + 64] = N[F + 2 + 96] = Ht(re, oe, de), N[F + 3 + 96] = Ht(oe, de, de);
|
|
62792
62804
|
}
|
|
62793
62805
|
function Zo(N, F) {
|
|
62794
62806
|
var R = N[F - 1 + 0], B = N[F - 1 + 32], K = N[F - 1 + 64], te = N[F - 1 - 32], re = N[F + 0 - 32], oe = N[F + 1 - 32], de = N[F + 2 - 32], pe = N[F + 3 - 32];
|
|
62795
|
-
N[F + 0 + 0] = N[F + 1 + 64] = te + re + 1 >> 1, N[F + 1 + 0] = N[F + 2 + 64] = re + oe + 1 >> 1, N[F + 2 + 0] = N[F + 3 + 64] = oe + de + 1 >> 1, N[F + 3 + 0] = de + pe + 1 >> 1, N[F + 0 + 96] =
|
|
62807
|
+
N[F + 0 + 0] = N[F + 1 + 64] = te + re + 1 >> 1, N[F + 1 + 0] = N[F + 2 + 64] = re + oe + 1 >> 1, N[F + 2 + 0] = N[F + 3 + 64] = oe + de + 1 >> 1, N[F + 3 + 0] = de + pe + 1 >> 1, N[F + 0 + 96] = Ht(K, B, R), N[F + 0 + 64] = Ht(B, R, te), N[F + 0 + 32] = N[F + 1 + 96] = Ht(R, te, re), N[F + 1 + 32] = N[F + 2 + 96] = Ht(te, re, oe), N[F + 2 + 32] = N[F + 3 + 96] = Ht(re, oe, de), N[F + 3 + 32] = Ht(oe, de, pe);
|
|
62796
62808
|
}
|
|
62797
62809
|
function to(N, F) {
|
|
62798
62810
|
var R = N[F + 0 - 32], B = N[F + 1 - 32], K = N[F + 2 - 32], te = N[F + 3 - 32], re = N[F + 4 - 32], oe = N[F + 5 - 32], de = N[F + 6 - 32], pe = N[F + 7 - 32];
|
|
62799
|
-
N[F + 0 + 0] = R + B + 1 >> 1, N[F + 1 + 0] = N[F + 0 + 64] = B + K + 1 >> 1, N[F + 2 + 0] = N[F + 1 + 64] = K + te + 1 >> 1, N[F + 3 + 0] = N[F + 2 + 64] = te + re + 1 >> 1, N[F + 0 + 32] =
|
|
62811
|
+
N[F + 0 + 0] = R + B + 1 >> 1, N[F + 1 + 0] = N[F + 0 + 64] = B + K + 1 >> 1, N[F + 2 + 0] = N[F + 1 + 64] = K + te + 1 >> 1, N[F + 3 + 0] = N[F + 2 + 64] = te + re + 1 >> 1, N[F + 0 + 32] = Ht(R, B, K), N[F + 1 + 32] = N[F + 0 + 96] = Ht(B, K, te), N[F + 2 + 32] = N[F + 1 + 96] = Ht(K, te, re), N[F + 3 + 32] = N[F + 2 + 96] = Ht(te, re, oe), N[F + 3 + 64] = Ht(re, oe, de), N[F + 3 + 96] = Ht(oe, de, pe);
|
|
62800
62812
|
}
|
|
62801
62813
|
function Ln(N, F) {
|
|
62802
62814
|
var R = N[F - 1 + 0], B = N[F - 1 + 32], K = N[F - 1 + 64], te = N[F - 1 + 96];
|
|
62803
|
-
N[F + 0 + 0] = R + B + 1 >> 1, N[F + 2 + 0] = N[F + 0 + 32] = B + K + 1 >> 1, N[F + 2 + 32] = N[F + 0 + 64] = K + te + 1 >> 1, N[F + 1 + 0] =
|
|
62815
|
+
N[F + 0 + 0] = R + B + 1 >> 1, N[F + 2 + 0] = N[F + 0 + 32] = B + K + 1 >> 1, N[F + 2 + 32] = N[F + 0 + 64] = K + te + 1 >> 1, N[F + 1 + 0] = Ht(R, B, K), N[F + 3 + 0] = N[F + 1 + 32] = Ht(B, K, te), N[F + 3 + 32] = N[F + 1 + 64] = Ht(K, te, te), N[F + 3 + 64] = N[F + 2 + 64] = N[F + 0 + 96] = N[F + 1 + 96] = N[F + 2 + 96] = N[F + 3 + 96] = te;
|
|
62804
62816
|
}
|
|
62805
62817
|
function pn(N, F) {
|
|
62806
62818
|
var R = N[F - 1 + 0], B = N[F - 1 + 32], K = N[F - 1 + 64], te = N[F - 1 + 96], re = N[F - 1 - 32], oe = N[F + 0 - 32], de = N[F + 1 - 32], pe = N[F + 2 - 32];
|
|
62807
|
-
N[F + 0 + 0] = N[F + 2 + 32] = R + re + 1 >> 1, N[F + 0 + 32] = N[F + 2 + 64] = B + R + 1 >> 1, N[F + 0 + 64] = N[F + 2 + 96] = K + B + 1 >> 1, N[F + 0 + 96] = te + K + 1 >> 1, N[F + 3 + 0] =
|
|
62819
|
+
N[F + 0 + 0] = N[F + 2 + 32] = R + re + 1 >> 1, N[F + 0 + 32] = N[F + 2 + 64] = B + R + 1 >> 1, N[F + 0 + 64] = N[F + 2 + 96] = K + B + 1 >> 1, N[F + 0 + 96] = te + K + 1 >> 1, N[F + 3 + 0] = Ht(oe, de, pe), N[F + 2 + 0] = Ht(re, oe, de), N[F + 1 + 0] = N[F + 3 + 32] = Ht(R, re, oe), N[F + 1 + 32] = N[F + 3 + 64] = Ht(B, R, re), N[F + 1 + 64] = N[F + 3 + 96] = Ht(K, B, R), N[F + 1 + 96] = Ht(te, K, B);
|
|
62808
62820
|
}
|
|
62809
62821
|
function Hi(N, F) {
|
|
62810
62822
|
var R;
|
|
@@ -62843,8 +62855,8 @@ function WebPDecoder(a) {
|
|
|
62843
62855
|
yo(128, N, F);
|
|
62844
62856
|
}
|
|
62845
62857
|
function Ci(N, F, R) {
|
|
62846
|
-
var B = N[F - R], K = N[F + 0], te = 3 * (K - B) + vr[1020 + N[F - 2 * R] - N[F + R]], re =
|
|
62847
|
-
N[F - R] = or[255 + B +
|
|
62858
|
+
var B = N[F - R], K = N[F + 0], te = 3 * (K - B) + vr[1020 + N[F - 2 * R] - N[F + R]], re = Nr[112 + (te + 4 >> 3)];
|
|
62859
|
+
N[F - R] = or[255 + B + Nr[112 + (te + 3 >> 3)]], N[F + 0] = or[255 + K - re];
|
|
62848
62860
|
}
|
|
62849
62861
|
function ai(N, F, R, B) {
|
|
62850
62862
|
var K = N[F + 0], te = N[F + R];
|
|
@@ -62891,7 +62903,7 @@ function WebPDecoder(a) {
|
|
|
62891
62903
|
for (te = 2 * te + 1; 0 < K--; ) {
|
|
62892
62904
|
if (Ti(N, F, R, te, re)) if (ai(N, F, R, oe)) Ci(N, F, R);
|
|
62893
62905
|
else {
|
|
62894
|
-
var de = N, pe = F, Se = R, He = de[pe - Se], Ze = de[pe + 0], Ge = de[pe + Se], rt = 3 * (Ze - He), qe =
|
|
62906
|
+
var de = N, pe = F, Se = R, He = de[pe - Se], Ze = de[pe + 0], Ge = de[pe + Se], rt = 3 * (Ze - He), qe = Nr[112 + (rt + 4 >> 3)], rt = Nr[112 + (rt + 3 >> 3)], je = qe + 1 >> 1;
|
|
62895
62907
|
de[pe - 2 * Se] = or[255 + de[pe - 2 * Se] + je], de[pe - Se] = or[255 + He + rt], de[pe + 0] = or[255 + Ze - qe], de[pe + Se] = or[255 + Ge - je];
|
|
62896
62908
|
}
|
|
62897
62909
|
F += B;
|
|
@@ -63066,7 +63078,7 @@ function WebPDecoder(a) {
|
|
|
63066
63078
|
F += K;
|
|
63067
63079
|
}
|
|
63068
63080
|
}
|
|
63069
|
-
function
|
|
63081
|
+
function Bt(N, F, R, B, K, te, re, oe) {
|
|
63070
63082
|
var de = 255, pe, Se;
|
|
63071
63083
|
for (Se = 0; Se < K; ++Se) {
|
|
63072
63084
|
for (pe = 0; pe < B; ++pe) {
|
|
@@ -63083,7 +63095,7 @@ function WebPDecoder(a) {
|
|
|
63083
63095
|
R[B + te] = N[F + te] >> 8;
|
|
63084
63096
|
}
|
|
63085
63097
|
function ar() {
|
|
63086
|
-
tn = Nt, Pn = At, ws =
|
|
63098
|
+
tn = Nt, Pn = At, ws = Bt, Cs = Kt;
|
|
63087
63099
|
}
|
|
63088
63100
|
function tr(N, F, R) {
|
|
63089
63101
|
U[N] = function(B, K, te, re, oe, de, pe, Se, He, Ze, Ge, qe, rt, je, Qe, it, at) {
|
|
@@ -63103,7 +63115,7 @@ function WebPDecoder(a) {
|
|
|
63103
63115
|
function fr(N) {
|
|
63104
63116
|
return N & -16384 ? 0 > N ? 0 : 255 : N >> Ns;
|
|
63105
63117
|
}
|
|
63106
|
-
function
|
|
63118
|
+
function _r(N, F) {
|
|
63107
63119
|
return fr((19077 * N >> 8) + (26149 * F >> 8) - 14234);
|
|
63108
63120
|
}
|
|
63109
63121
|
function Vr(N, F, R) {
|
|
@@ -63113,18 +63125,18 @@ function WebPDecoder(a) {
|
|
|
63113
63125
|
return fr((19077 * N >> 8) + (33050 * F >> 8) - 17685);
|
|
63114
63126
|
}
|
|
63115
63127
|
function bo(N, F, R, B, K) {
|
|
63116
|
-
B[K + 0] =
|
|
63128
|
+
B[K + 0] = _r(N, R), B[K + 1] = Vr(N, F, R), B[K + 2] = Si(N, F);
|
|
63117
63129
|
}
|
|
63118
63130
|
function _o(N, F, R, B, K) {
|
|
63119
|
-
B[K + 0] = Si(N, F), B[K + 1] = Vr(N, F, R), B[K + 2] =
|
|
63131
|
+
B[K + 0] = Si(N, F), B[K + 1] = Vr(N, F, R), B[K + 2] = _r(N, R);
|
|
63120
63132
|
}
|
|
63121
63133
|
function lr(N, F, R, B, K) {
|
|
63122
63134
|
var te = Vr(N, F, R);
|
|
63123
|
-
F = te << 3 & 224 | Si(N, F) >> 3, B[K + 0] =
|
|
63135
|
+
F = te << 3 & 224 | Si(N, F) >> 3, B[K + 0] = _r(N, R) & 248 | te >> 5, B[K + 1] = F;
|
|
63124
63136
|
}
|
|
63125
63137
|
function Go(N, F, R, B, K) {
|
|
63126
63138
|
var te = Si(N, F) & 240 | 15;
|
|
63127
|
-
B[K + 0] =
|
|
63139
|
+
B[K + 0] = _r(N, R) & 240 | Vr(N, F, R) >> 4, B[K + 1] = te;
|
|
63128
63140
|
}
|
|
63129
63141
|
function Po(N, F, R, B, K) {
|
|
63130
63142
|
B[K + 0] = 255, bo(N, F, R, B, K + 1);
|
|
@@ -63135,7 +63147,7 @@ function WebPDecoder(a) {
|
|
|
63135
63147
|
function Vo(N, F, R, B, K) {
|
|
63136
63148
|
bo(N, F, R, B, K), B[K + 3] = 255;
|
|
63137
63149
|
}
|
|
63138
|
-
function
|
|
63150
|
+
function Dr(N, F) {
|
|
63139
63151
|
return 0 > N ? 0 : N > F ? F : N;
|
|
63140
63152
|
}
|
|
63141
63153
|
function Kr(N, F, R) {
|
|
@@ -63426,7 +63438,7 @@ function WebPDecoder(a) {
|
|
|
63426
63438
|
});
|
|
63427
63439
|
var ci = U.ColorIndexInverseTransform, ji = U.MapARGB, Ui = U.VP8LColorIndexInverseTransformAlpha, Jo = U.MapAlpha, di, vn = U.VP8LPredictorsAdd = [];
|
|
63428
63440
|
vn.length = 16, (U.VP8LPredictors = []).length = 16, (U.VP8LPredictorsAdd_C = []).length = 16, (U.VP8LPredictors_C = []).length = 16;
|
|
63429
|
-
var So, lo, Yi, Zi, co, Hr, Br = s(511), Fi = s(2041), Ko = s(225), qr = s(767), hi = 0, vr = Fi, Pr = 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, Wn = 10, zs = [2, 3, 7], Ws = [3, 3, 11], $o = [280, 256, 256, 256, 40], js = [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, jn = [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 = [];
|
|
63441
|
+
var So, 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, Wn = 10, zs = [2, 3, 7], Ws = [3, 3, 11], $o = [280, 256, 256, 256, 40], js = [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, jn = [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 = [];
|
|
63430
63442
|
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);
|
|
63431
63443
|
var Vn = U.UpsampleRgbLinePair, Nn = U.UpsampleBgrLinePair, xs = 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), Ds = s(256), Js = s(Xn - on), Ks = s(Xn - on);
|
|
63432
63444
|
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);
|
|
@@ -64087,7 +64099,7 @@ WebPDecoder.prototype.getData = function() {
|
|
|
64087
64099
|
(function(a) {
|
|
64088
64100
|
function t() {
|
|
64089
64101
|
return function() {
|
|
64090
|
-
return globalObject.canvg ? Promise.resolve(globalObject.canvg) : import("./index.es-
|
|
64102
|
+
return globalObject.canvg ? Promise.resolve(globalObject.canvg) : import("./index.es-DqBe5gOd.mjs");
|
|
64091
64103
|
}().catch(function(r) {
|
|
64092
64104
|
return Promise.reject(new Error("Could not load canvg: " + r));
|
|
64093
64105
|
}).then(function(r) {
|
|
@@ -66902,8 +66914,8 @@ function requireLocalforage() {
|
|
|
66902
66914
|
}).then(function(pt) {
|
|
66903
66915
|
be.db = ze.db = pt, Ae._dbInfo = be;
|
|
66904
66916
|
for (var Pt = 0; Pt < ut.length; Pt++) {
|
|
66905
|
-
var
|
|
66906
|
-
|
|
66917
|
+
var Ot = ut[Pt];
|
|
66918
|
+
Ot !== Ae && (Ot._dbInfo.db = be.db, Ot._dbInfo.version = be.version);
|
|
66907
66919
|
}
|
|
66908
66920
|
});
|
|
66909
66921
|
}
|
|
@@ -66942,9 +66954,9 @@ function requireLocalforage() {
|
|
|
66942
66954
|
ut.onsuccess = function() {
|
|
66943
66955
|
var Pt = ut.result;
|
|
66944
66956
|
if (Pt) {
|
|
66945
|
-
var
|
|
66946
|
-
J(
|
|
66947
|
-
var Yt = ye(
|
|
66957
|
+
var Ot = Pt.value;
|
|
66958
|
+
J(Ot) && (Ot = G(Ot));
|
|
66959
|
+
var Yt = ye(Ot, Pt.key, pt++);
|
|
66948
66960
|
Yt !== void 0 ? ze(Yt) : Pt.continue();
|
|
66949
66961
|
} else
|
|
66950
66962
|
ze();
|
|
@@ -66975,11 +66987,11 @@ function requireLocalforage() {
|
|
|
66975
66987
|
try {
|
|
66976
66988
|
var Pt = pt.objectStore(ke._dbInfo.storeName);
|
|
66977
66989
|
ct === null && (ct = void 0);
|
|
66978
|
-
var
|
|
66990
|
+
var Ot = Pt.put(ct, ye);
|
|
66979
66991
|
pt.oncomplete = function() {
|
|
66980
66992
|
ct === void 0 && (ct = null), Me(ct);
|
|
66981
66993
|
}, pt.onabort = pt.onerror = function() {
|
|
66982
|
-
var Yt =
|
|
66994
|
+
var Yt = Ot.error ? Ot.error : Ot.transaction.error;
|
|
66983
66995
|
nt(Yt);
|
|
66984
66996
|
};
|
|
66985
66997
|
} catch (Yt) {
|
|
@@ -67137,8 +67149,8 @@ function requireLocalforage() {
|
|
|
67137
67149
|
var ut = _[ye.name], pt = ut.forages;
|
|
67138
67150
|
ot.close();
|
|
67139
67151
|
for (var Pt = 0; Pt < pt.length; Pt++) {
|
|
67140
|
-
var
|
|
67141
|
-
|
|
67152
|
+
var Ot = pt[Pt];
|
|
67153
|
+
Ot._dbInfo.db = null, Ot._dbInfo.version = ct;
|
|
67142
67154
|
}
|
|
67143
67155
|
var Yt = new p(function(It, ur) {
|
|
67144
67156
|
var sr = d.open(ye.name, ct);
|
|
@@ -67172,7 +67184,7 @@ function requireLocalforage() {
|
|
|
67172
67184
|
var Pt = ut[pt];
|
|
67173
67185
|
Pt._dbInfo.db = null;
|
|
67174
67186
|
}
|
|
67175
|
-
var
|
|
67187
|
+
var Ot = new p(function(Yt, It) {
|
|
67176
67188
|
var ur = d.deleteDatabase(ye.name);
|
|
67177
67189
|
ur.onerror = function() {
|
|
67178
67190
|
var sr = ur.result;
|
|
@@ -67183,7 +67195,7 @@ function requireLocalforage() {
|
|
|
67183
67195
|
sr && sr.close(), Yt(sr);
|
|
67184
67196
|
};
|
|
67185
67197
|
});
|
|
67186
|
-
return
|
|
67198
|
+
return Ot.then(function(Yt) {
|
|
67187
67199
|
ct.db = Yt;
|
|
67188
67200
|
for (var It = 0; It < ut.length; It++) {
|
|
67189
67201
|
var ur = ut[It];
|
|
@@ -67289,10 +67301,10 @@ function requireLocalforage() {
|
|
|
67289
67301
|
stringToBuffer: Et,
|
|
67290
67302
|
bufferToString: Dt
|
|
67291
67303
|
};
|
|
67292
|
-
function
|
|
67304
|
+
function xr(ye, Ae, be, ke) {
|
|
67293
67305
|
ye.executeSql("CREATE TABLE IF NOT EXISTS " + Ae.storeName + " (id INTEGER PRIMARY KEY, key unique, value)", [], be, ke);
|
|
67294
67306
|
}
|
|
67295
|
-
function
|
|
67307
|
+
function Rt(ye) {
|
|
67296
67308
|
var Ae = this, be = {
|
|
67297
67309
|
db: null
|
|
67298
67310
|
};
|
|
@@ -67306,7 +67318,7 @@ function requireLocalforage() {
|
|
|
67306
67318
|
return nt(ot);
|
|
67307
67319
|
}
|
|
67308
67320
|
be.db.transaction(function(ot) {
|
|
67309
|
-
|
|
67321
|
+
xr(ot, be, function() {
|
|
67310
67322
|
Ae._dbInfo = be, Me();
|
|
67311
67323
|
}, function(ct, ut) {
|
|
67312
67324
|
nt(ut);
|
|
@@ -67318,7 +67330,7 @@ function requireLocalforage() {
|
|
|
67318
67330
|
function Gt(ye, Ae, be, ke, ze, Me) {
|
|
67319
67331
|
ye.executeSql(be, ke, ze, function(nt, ot) {
|
|
67320
67332
|
ot.code === ot.SYNTAX_ERR ? nt.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?", [Ae.storeName], function(ct, ut) {
|
|
67321
|
-
ut.rows.length ? Me(ct, ot) :
|
|
67333
|
+
ut.rows.length ? Me(ct, ot) : xr(ct, Ae, function() {
|
|
67322
67334
|
ct.executeSql(be, ke, ze, Me);
|
|
67323
67335
|
}, Me);
|
|
67324
67336
|
}, Me) : Me(nt, ot);
|
|
@@ -67348,9 +67360,9 @@ function requireLocalforage() {
|
|
|
67348
67360
|
var nt = be._dbInfo;
|
|
67349
67361
|
nt.db.transaction(function(ot) {
|
|
67350
67362
|
Gt(ot, nt, "SELECT * FROM " + nt.storeName, [], function(ct, ut) {
|
|
67351
|
-
for (var pt = ut.rows, Pt = pt.length,
|
|
67352
|
-
var Yt = pt.item(
|
|
67353
|
-
if (It && (It = nt.serializer.deserialize(It)), It = ye(It, Yt.key,
|
|
67363
|
+
for (var pt = ut.rows, Pt = pt.length, Ot = 0; Ot < Pt; Ot++) {
|
|
67364
|
+
var Yt = pt.item(Ot), It = Yt.value;
|
|
67365
|
+
if (It && (It = nt.serializer.deserialize(It)), It = ye(It, Yt.key, Ot + 1), It !== void 0) {
|
|
67354
67366
|
ze(It);
|
|
67355
67367
|
return;
|
|
67356
67368
|
}
|
|
@@ -67372,19 +67384,19 @@ function requireLocalforage() {
|
|
|
67372
67384
|
Ae === void 0 && (Ae = null);
|
|
67373
67385
|
var ct = Ae, ut = ze._dbInfo;
|
|
67374
67386
|
ut.serializer.serialize(Ae, function(pt, Pt) {
|
|
67375
|
-
Pt ? ot(Pt) : ut.db.transaction(function(
|
|
67376
|
-
Gt(
|
|
67387
|
+
Pt ? ot(Pt) : ut.db.transaction(function(Ot) {
|
|
67388
|
+
Gt(Ot, ut, "INSERT OR REPLACE INTO " + ut.storeName + " (key, value) VALUES (?, ?)", [ye, pt], function() {
|
|
67377
67389
|
nt(ct);
|
|
67378
67390
|
}, function(Yt, It) {
|
|
67379
67391
|
ot(It);
|
|
67380
67392
|
});
|
|
67381
|
-
}, function(
|
|
67382
|
-
if (
|
|
67393
|
+
}, function(Ot) {
|
|
67394
|
+
if (Ot.code === Ot.QUOTA_ERR) {
|
|
67383
67395
|
if (ke > 0) {
|
|
67384
67396
|
nt(De.apply(ze, [ye, ct, be, ke - 1]));
|
|
67385
67397
|
return;
|
|
67386
67398
|
}
|
|
67387
|
-
ot(
|
|
67399
|
+
ot(Ot);
|
|
67388
67400
|
}
|
|
67389
67401
|
});
|
|
67390
67402
|
});
|
|
@@ -67494,7 +67506,7 @@ function requireLocalforage() {
|
|
|
67494
67506
|
});
|
|
67495
67507
|
});
|
|
67496
67508
|
}
|
|
67497
|
-
function
|
|
67509
|
+
function br(ye, Ae) {
|
|
67498
67510
|
Ae = w.apply(this, arguments);
|
|
67499
67511
|
var be = this.config();
|
|
67500
67512
|
ye = typeof ye != "function" && ye || {}, ye.name || (ye.name = ye.name || be.name, ye.storeName = ye.storeName || be.storeName);
|
|
@@ -67517,7 +67529,7 @@ function requireLocalforage() {
|
|
|
67517
67529
|
});
|
|
67518
67530
|
});
|
|
67519
67531
|
}
|
|
67520
|
-
for (var pt = [], Pt = 0,
|
|
67532
|
+
for (var pt = [], Pt = 0, Ot = Me.storeNames.length; Pt < Ot; Pt++)
|
|
67521
67533
|
pt.push(ut(Me.storeNames[Pt]));
|
|
67522
67534
|
p.all(pt).then(function() {
|
|
67523
67535
|
nt();
|
|
@@ -67530,9 +67542,9 @@ function requireLocalforage() {
|
|
|
67530
67542
|
});
|
|
67531
67543
|
}) : ze = p.reject("Invalid arguments"), m(ze, Ae), ze;
|
|
67532
67544
|
}
|
|
67533
|
-
var
|
|
67545
|
+
var kt = {
|
|
67534
67546
|
_driver: "webSQLStorage",
|
|
67535
|
-
_initStorage:
|
|
67547
|
+
_initStorage: Rt,
|
|
67536
67548
|
_support: Ne(),
|
|
67537
67549
|
iterate: ne,
|
|
67538
67550
|
getItem: ee,
|
|
@@ -67542,7 +67554,7 @@ function requireLocalforage() {
|
|
|
67542
67554
|
length: Ut,
|
|
67543
67555
|
key: Jt,
|
|
67544
67556
|
keys: ir,
|
|
67545
|
-
dropInstance:
|
|
67557
|
+
dropInstance: br
|
|
67546
67558
|
};
|
|
67547
67559
|
function wr() {
|
|
67548
67560
|
try {
|
|
@@ -67705,7 +67717,7 @@ function requireLocalforage() {
|
|
|
67705
67717
|
return Object.prototype.toString.call(ye) === "[object Array]";
|
|
67706
67718
|
}, mi = {}, fo = {}, yi = {
|
|
67707
67719
|
INDEXEDDB: Ve,
|
|
67708
|
-
WEBSQL:
|
|
67720
|
+
WEBSQL: kt,
|
|
67709
67721
|
LOCALSTORAGE: qi
|
|
67710
67722
|
}, yr = [yi.INDEXEDDB._driver, yi.WEBSQL._driver, yi.LOCALSTORAGE._driver], vi = ["dropInstance"], Qi = ["clear", "getItem", "iterate", "key", "keys", "length", "removeItem", "setItem"].concat(vi), Ji = {
|
|
67711
67723
|
description: "",
|
|
@@ -67764,7 +67776,7 @@ function requireLocalforage() {
|
|
|
67764
67776
|
ot(ut);
|
|
67765
67777
|
return;
|
|
67766
67778
|
}
|
|
67767
|
-
for (var pt = Qi.concat("_initStorage"), Pt = 0,
|
|
67779
|
+
for (var pt = Qi.concat("_initStorage"), Pt = 0, Ot = pt.length; Pt < Ot; Pt++) {
|
|
67768
67780
|
var Yt = pt[Pt], It = !gi(vi, Yt);
|
|
67769
67781
|
if ((It || be[Yt]) && typeof be[Yt] != "function") {
|
|
67770
67782
|
ot(ut);
|
|
@@ -67774,7 +67786,7 @@ function requireLocalforage() {
|
|
|
67774
67786
|
var ur = function() {
|
|
67775
67787
|
for (var Pi = function(Ri) {
|
|
67776
67788
|
return function() {
|
|
67777
|
-
var
|
|
67789
|
+
var Tr = new Error("Method " + Ri + " is not implemented by the current driver"), eo = p.reject(Tr);
|
|
67778
67790
|
return m(eo, arguments[arguments.length - 1]), eo;
|
|
67779
67791
|
};
|
|
67780
67792
|
}, $i = 0, si = vi.length; $i < si; $i++) {
|
|
@@ -67817,11 +67829,11 @@ function requireLocalforage() {
|
|
|
67817
67829
|
}
|
|
67818
67830
|
function ut(Pt) {
|
|
67819
67831
|
return function() {
|
|
67820
|
-
var
|
|
67832
|
+
var Ot = 0;
|
|
67821
67833
|
function Yt() {
|
|
67822
|
-
for (;
|
|
67823
|
-
var It = Pt[
|
|
67824
|
-
return
|
|
67834
|
+
for (; Ot < Pt.length; ) {
|
|
67835
|
+
var It = Pt[Ot];
|
|
67836
|
+
return Ot++, Me._dbInfo = null, Me._ready = null, Me.getDriver(It).then(ct).catch(Yt);
|
|
67825
67837
|
}
|
|
67826
67838
|
ot();
|
|
67827
67839
|
var ur = new Error("No available storage method found.");
|
|
@@ -67835,8 +67847,8 @@ function requireLocalforage() {
|
|
|
67835
67847
|
}) : p.resolve();
|
|
67836
67848
|
return this._driverSet = pt.then(function() {
|
|
67837
67849
|
var Pt = nt[0];
|
|
67838
|
-
return Me._dbInfo = null, Me._ready = null, Me.getDriver(Pt).then(function(
|
|
67839
|
-
Me._driver =
|
|
67850
|
+
return Me._dbInfo = null, Me._ready = null, Me.getDriver(Pt).then(function(Ot) {
|
|
67851
|
+
Me._driver = Ot._driver, ot(), Me._wrapLibraryMethodsWithReady(), Me._initDriver = ut(nt);
|
|
67840
67852
|
});
|
|
67841
67853
|
}).catch(function() {
|
|
67842
67854
|
ot();
|
|
@@ -71525,49 +71537,6 @@ class HOEditorFactory {
|
|
|
71525
71537
|
* @return {UserInfo}
|
|
71526
71538
|
*/
|
|
71527
71539
|
constructor(t) {
|
|
71528
|
-
b(this, "_printBlack");
|
|
71529
|
-
// 打印时将彩色字体转换成黑色
|
|
71530
|
-
b(this, "_isUseForm");
|
|
71531
|
-
// 是否启用表单模式
|
|
71532
|
-
b(this, "_allowEditCellInForm", !1);
|
|
71533
|
-
//表单模式下是否允许编辑单元格文本
|
|
71534
|
-
b(this, "_isUseImagePrint");
|
|
71535
|
-
// 是否启用图片打印 默认启用即不使用svg打印
|
|
71536
|
-
b(this, "_isFixedPrintToA4");
|
|
71537
|
-
// 是否将病历固定打印到a4纸上 默认不启用,如果启用则不管什么病历都会在打印生成a4尺寸的pdf,将病历居中靠上绘制到pdf上面
|
|
71538
|
-
b(this, "_isRotate");
|
|
71539
|
-
// 特殊打印时是否旋转过pdf的context内容
|
|
71540
|
-
b(this, "_contentIsModify");
|
|
71541
|
-
// 用于监听文件触发
|
|
71542
|
-
b(this, "_xmlCached");
|
|
71543
|
-
// 用于监听文件触发
|
|
71544
|
-
b(this, "_isCanEditHeadFoot");
|
|
71545
|
-
// 是否可用编辑页眉页脚
|
|
71546
|
-
b(this, "_isEnabledGlobalColor", !1);
|
|
71547
|
-
//是否启用全局颜色
|
|
71548
|
-
b(this, "_isSameColorWithEmptyVlaue", !1);
|
|
71549
|
-
//下拉列表元素的默认项颜色是否和空元素的颜色保持一致
|
|
71550
|
-
b(this, "_isCanUseTableProperty", !1);
|
|
71551
|
-
//非设计模式下是否可以使用表格、单元格、行、列属性设置
|
|
71552
|
-
b(this, "_isUseDrawingOptimization", !1);
|
|
71553
|
-
// 是否启用绘制优化 默认不启用
|
|
71554
|
-
b(this, "_defaultIsAllowDelete", !1);
|
|
71555
|
-
// 元素是否默认可以被删除
|
|
71556
|
-
b(this, "_loadImageCount", 0);
|
|
71557
|
-
// 待加载的图片数量
|
|
71558
|
-
b(this, "_loadImageCallback", null);
|
|
71559
|
-
// 图片加载完成回调
|
|
71560
|
-
b(this, "_aiTextFunc", null);
|
|
71561
|
-
// 获取ai文本函数
|
|
71562
|
-
b(this, "_defaultLineHeight", -1);
|
|
71563
|
-
b(this, "_startPageNum", 0);
|
|
71564
|
-
b(this, "_firstPageStartTop", 0);
|
|
71565
|
-
b(this, "_signHeight", 20);
|
|
71566
|
-
// 医生签名图片高度
|
|
71567
|
-
b(this, "_patientSignHeight", 0);
|
|
71568
|
-
// 患者签名签字图片高度
|
|
71569
|
-
b(this, "_patientFingerHeight", 0);
|
|
71570
|
-
// 患者指纹签名高度
|
|
71571
71540
|
b(this, "_pasteBase", !1);
|
|
71572
71541
|
b(this, "_isHideComments", !0);
|
|
71573
71542
|
b(this, "_openXmled", !1);
|
|
@@ -71611,6 +71580,49 @@ class HOEditorFactory {
|
|
|
71611
71580
|
b(this, "_formatPainter");
|
|
71612
71581
|
b(this, "_lastSaveTime", new Date(Date.now()));
|
|
71613
71582
|
b(this, "_hoLocalStorage");
|
|
71583
|
+
b(this, "_printBlack");
|
|
71584
|
+
// 打印时将彩色字体转换成黑色
|
|
71585
|
+
b(this, "_isUseForm");
|
|
71586
|
+
// 是否启用表单模式
|
|
71587
|
+
b(this, "_allowEditCellInForm", !1);
|
|
71588
|
+
//表单模式下是否允许编辑单元格文本
|
|
71589
|
+
b(this, "_isUseImagePrint");
|
|
71590
|
+
// 是否启用图片打印 默认启用即不使用svg打印
|
|
71591
|
+
b(this, "_isFixedPrintToA4");
|
|
71592
|
+
// 是否将病历固定打印到a4纸上 默认不启用,如果启用则不管什么病历都会在打印生成a4尺寸的pdf,将病历居中靠上绘制到pdf上面
|
|
71593
|
+
b(this, "_isRotate");
|
|
71594
|
+
// 特殊打印时是否旋转过pdf的context内容
|
|
71595
|
+
b(this, "_contentIsModify");
|
|
71596
|
+
// 用于监听文件触发
|
|
71597
|
+
b(this, "_xmlCached");
|
|
71598
|
+
// 用于监听文件触发
|
|
71599
|
+
b(this, "_isCanEditHeadFoot");
|
|
71600
|
+
// 是否可用编辑页眉页脚
|
|
71601
|
+
b(this, "_isEnabledGlobalColor", !1);
|
|
71602
|
+
//是否启用全局颜色
|
|
71603
|
+
b(this, "_isSameColorWithEmptyVlaue", !1);
|
|
71604
|
+
//下拉列表元素的默认项颜色是否和空元素的颜色保持一致
|
|
71605
|
+
b(this, "_isCanUseTableProperty", !1);
|
|
71606
|
+
//非设计模式下是否可以使用表格、单元格、行、列属性设置
|
|
71607
|
+
b(this, "_isUseDrawingOptimization", !1);
|
|
71608
|
+
// 是否启用绘制优化 默认不启用
|
|
71609
|
+
b(this, "_defaultIsAllowDelete", !1);
|
|
71610
|
+
// 元素是否默认可以被删除
|
|
71611
|
+
b(this, "_loadImageCount", 0);
|
|
71612
|
+
// 待加载的图片数量
|
|
71613
|
+
b(this, "_loadImageCallback", null);
|
|
71614
|
+
// 图片加载完成回调
|
|
71615
|
+
b(this, "_aiTextFunc", null);
|
|
71616
|
+
// 获取ai文本函数
|
|
71617
|
+
b(this, "_defaultLineHeight", -1);
|
|
71618
|
+
b(this, "_startPageNum", 0);
|
|
71619
|
+
b(this, "_firstPageStartTop", 0);
|
|
71620
|
+
b(this, "_signHeight", 20);
|
|
71621
|
+
// 医生签名图片高度
|
|
71622
|
+
b(this, "_patientSignHeight", 0);
|
|
71623
|
+
// 患者签名签字图片高度
|
|
71624
|
+
b(this, "_patientFingerHeight", 0);
|
|
71625
|
+
// 患者指纹签名高度
|
|
71614
71626
|
b(this, "_superiorSigns", []);
|
|
71615
71627
|
//上级医生签名之前的内容不允许编辑修改(云his)
|
|
71616
71628
|
b(this, "_forbidEditBeforeSign", !1);
|
|
@@ -71671,9 +71683,11 @@ class HOEditorFactory {
|
|
|
71671
71683
|
b(this, "fixTableImage", !1);
|
|
71672
71684
|
// 修复表格图片卡死问题
|
|
71673
71685
|
b(this, "errorImgurl", []);
|
|
71686
|
+
// 错误图片地址
|
|
71687
|
+
b(this, "historyPosition", HistoryComponentPosition.right);
|
|
71674
71688
|
this._hoEditorFactoryId = t;
|
|
71675
71689
|
}
|
|
71676
|
-
//
|
|
71690
|
+
// 历史痕迹展示位置 默认右侧 单行工具栏启用时候需要调整位置避免被业务弹窗挡住
|
|
71677
71691
|
/**
|
|
71678
71692
|
* Getter hoLocalStorage
|
|
71679
71693
|
* @return {HoLocalStorage}
|
|
@@ -85115,7 +85129,7 @@ const HoFamily = __component__$a.exports, _sfc_main$9 = defineComponent({
|
|
|
85115
85129
|
{ name: /* @__PURE__ */ i18nHelper("04-001-009-EMR.3.3.546", null, "七号"), value: 5.5, px: 7 },
|
|
85116
85130
|
{ name: /* @__PURE__ */ i18nHelper("04-001-009-EMR.3.3.547", null, "八号"), value: 5, px: 6 }
|
|
85117
85131
|
]), o = ref({ name: /* @__PURE__ */ i18nHelper("04-001-009-EMR.3.3.541", null, "四号"), value: 14 }), n = (s) => {
|
|
85118
|
-
o.value = s, a.vueController.fontSize(s);
|
|
85132
|
+
o.value = s, a.vueController.fontSize(s.value);
|
|
85119
85133
|
};
|
|
85120
85134
|
return onMounted(() => {
|
|
85121
85135
|
watch(() => t.textStyle, (s, l) => {
|
|
@@ -85330,7 +85344,11 @@ const HoLineHeight = __component__$5.exports, _sfc_main$4 = defineComponent({
|
|
|
85330
85344
|
},
|
|
85331
85345
|
setup(a) {
|
|
85332
85346
|
const t = ref({}), r = ref(!1);
|
|
85333
|
-
a.showName ? t.value = {} : (t.value.width = a.tool.width + "px", t.value.textAlign = a.tool.align), a.tool.selected && (r.value = a.fontInfo[a.tool.selected])
|
|
85347
|
+
a.showName ? t.value = {} : (t.value.width = a.tool.width + "px", t.value.textAlign = a.tool.align), a.tool.selected && (r.value = a.fontInfo[a.tool.selected]), onMounted(() => {
|
|
85348
|
+
watch(() => a.fontInfo, (n, s) => {
|
|
85349
|
+
r.value = a.fontInfo[a.tool.selected];
|
|
85350
|
+
}, { deep: !0 });
|
|
85351
|
+
});
|
|
85334
85352
|
let o = () => {
|
|
85335
85353
|
};
|
|
85336
85354
|
return a.tool.events && (o = a.tool.events), {
|
|
@@ -85460,8 +85478,8 @@ const _sfc_main$3 = defineComponent({
|
|
|
85460
85478
|
k === "plain" ? (W = ".txt", O += W) : k === "json" && (W = ".json", O += W);
|
|
85461
85479
|
const U = window.URL.createObjectURL(new Blob([H], { type: `text/${k}` })), z = document.createElement("a");
|
|
85462
85480
|
z.style.display = "none", z.href = U, z.setAttribute("download", O), z.click(), setTimeout(() => z.remove(), 0);
|
|
85463
|
-
}, M = () => {
|
|
85464
|
-
f.value = !1;
|
|
85481
|
+
}, M = (H) => {
|
|
85482
|
+
H.target.className != "ho-emr-tool-list" && (f.value = !1);
|
|
85465
85483
|
};
|
|
85466
85484
|
return watch([() => a.reviewJson, () => a.browseJson, () => a.editJson], () => {
|
|
85467
85485
|
p.value = { ...p.value, ...a.reviewJson }, m.value = { ...m.value, ...a.browseJson }, g.value = { ...g.value, ...a.editJson }, C();
|
|
@@ -85472,8 +85490,7 @@ const _sfc_main$3 = defineComponent({
|
|
|
85472
85490
|
const H = new ResizeObserver((A) => {
|
|
85473
85491
|
C();
|
|
85474
85492
|
});
|
|
85475
|
-
H.observe(c.value), H.observe(d.value), H.observe(l.value),
|
|
85476
|
-
}, 3e3), watch(() => r.textStyle, (A, k) => {
|
|
85493
|
+
H.observe(c.value), H.observe(d.value), H.observe(l.value), watch(() => r.textStyle, (A, k) => {
|
|
85477
85494
|
E();
|
|
85478
85495
|
}, { deep: !0 });
|
|
85479
85496
|
}), {
|