hoeditor-web 3.2.81 → 3.2.82
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var b = (a, t, r) =>
|
|
1
|
+
var La = Object.defineProperty;
|
|
2
|
+
var Ma = (a, t, r) => t in a ? La(a, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : a[t] = r;
|
|
3
|
+
var b = (a, t, r) => Ma(a, typeof t != "symbol" ? t + "" : t, r);
|
|
4
4
|
import Vue, { defineComponent, computed, h, ref, reactive, inject, onMounted, watch, toRefs, provide, onBeforeMount } from "vue";
|
|
5
5
|
import VueI18n from "vue-i18n";
|
|
6
6
|
import { message, Modal } from "ant-design-vue";
|
|
@@ -4436,7 +4436,7 @@ class DrawContainer extends createjs$1.Container {
|
|
|
4436
4436
|
return this._drawItems.length == 0;
|
|
4437
4437
|
}
|
|
4438
4438
|
}
|
|
4439
|
-
const
|
|
4439
|
+
const Os = class Os {
|
|
4440
4440
|
constructor() {
|
|
4441
4441
|
b(this, "_scaleXY");
|
|
4442
4442
|
b(this, "_transformScale", 1);
|
|
@@ -4458,11 +4458,11 @@ const Hs = class Hs {
|
|
|
4458
4458
|
return this._scaleXY !== 1 ? this._scaleXY : this._transformScale !== 1 ? this._transformScale : 1;
|
|
4459
4459
|
}
|
|
4460
4460
|
static instance() {
|
|
4461
|
-
return this._instance || (this._instance = new
|
|
4461
|
+
return this._instance || (this._instance = new Os()), this._instance;
|
|
4462
4462
|
}
|
|
4463
4463
|
};
|
|
4464
|
-
b(
|
|
4465
|
-
let DrawConfig =
|
|
4464
|
+
b(Os, "_instance");
|
|
4465
|
+
let DrawConfig = Os;
|
|
4466
4466
|
class Caret {
|
|
4467
4467
|
// get dLine(): DrawLine | DrawTable {
|
|
4468
4468
|
// return this._dLine;
|
|
@@ -11505,12 +11505,12 @@ class DrawPageTable extends DrawRect {
|
|
|
11505
11505
|
// return this._endRowinfos.changed;
|
|
11506
11506
|
// }
|
|
11507
11507
|
}
|
|
11508
|
-
const
|
|
11508
|
+
const Bs = class Bs {
|
|
11509
11509
|
constructor() {
|
|
11510
11510
|
b(this, "_modalStatusObject");
|
|
11511
11511
|
}
|
|
11512
11512
|
static instance() {
|
|
11513
|
-
return this._instance || (this._instance = new
|
|
11513
|
+
return this._instance || (this._instance = new Bs()), this._instance;
|
|
11514
11514
|
}
|
|
11515
11515
|
get modalStatusObject() {
|
|
11516
11516
|
return this._modalStatusObject;
|
|
@@ -11519,8 +11519,8 @@ const Os = class Os {
|
|
|
11519
11519
|
t !== this._modalStatusObject && (this._modalStatusObject = t);
|
|
11520
11520
|
}
|
|
11521
11521
|
};
|
|
11522
|
-
b(
|
|
11523
|
-
let CommonData =
|
|
11522
|
+
b(Bs, "_instance");
|
|
11523
|
+
let CommonData = Bs;
|
|
11524
11524
|
function normalizeComponent$1(a, t, r, o, n, s, l, c) {
|
|
11525
11525
|
var d = typeof a == "function" ? a.options : a;
|
|
11526
11526
|
return t && (d.render = t, d.staticRenderFns = r, d._compiled = !0), {
|
|
@@ -14684,14 +14684,28 @@ var module = { exports: {} }, exports = module.exports;
|
|
|
14684
14684
|
}).call(void 0);
|
|
14685
14685
|
const __CJS__export_default__ = (module.exports == null ? {} : module.exports).default || module.exports;
|
|
14686
14686
|
(module.exports == null ? {} : module.exports).EXIF;
|
|
14687
|
-
class
|
|
14687
|
+
const hn = class hn {
|
|
14688
14688
|
// 毫秒
|
|
14689
|
+
// 私有构造函数,防止外部实例化
|
|
14689
14690
|
constructor(t) {
|
|
14690
14691
|
b(this, "hoEditorFactoryID");
|
|
14691
14692
|
b(this, "_imageQueue", []);
|
|
14692
14693
|
b(this, "_isProcessing", !1);
|
|
14693
14694
|
b(this, "THROTTLE_DELAY", 100);
|
|
14694
14695
|
this.hoEditorFactoryID = t;
|
|
14696
|
+
const r = HOEditorFactorys.instance().getFactory(this.hoEditorFactoryID);
|
|
14697
|
+
this.THROTTLE_DELAY = r.imageThrottleDelay || 100;
|
|
14698
|
+
}
|
|
14699
|
+
/**
|
|
14700
|
+
* 获取单例实例
|
|
14701
|
+
*/
|
|
14702
|
+
static getInstance(t) {
|
|
14703
|
+
if (!hn.instance) {
|
|
14704
|
+
if (!t)
|
|
14705
|
+
throw new Error("首次创建 ImageManager 必须提供 hoEditorFactoryID");
|
|
14706
|
+
hn.instance = new hn(t);
|
|
14707
|
+
}
|
|
14708
|
+
return hn.instance;
|
|
14695
14709
|
}
|
|
14696
14710
|
updateSign(t) {
|
|
14697
14711
|
const r = t instanceof DrawSignNode, o = HOEditorFactorys.instance().getFactory(this.hoEditorFactoryID), n = o.drawPageTree.getMainRootArea(t);
|
|
@@ -14702,14 +14716,21 @@ class ImageManager {
|
|
|
14702
14716
|
o.loadSignImageCount == 0 && o.loadImageCount == 0 && o.drawTree.rebuildArea("main", !1);
|
|
14703
14717
|
}
|
|
14704
14718
|
processImageQueue() {
|
|
14705
|
-
this._imageQueue.length > 0
|
|
14706
|
-
|
|
14707
|
-
|
|
14719
|
+
if (this._imageQueue.length > 0) {
|
|
14720
|
+
const t = this._imageQueue.shift();
|
|
14721
|
+
t && t().then((r) => {
|
|
14722
|
+
this.onSuccessCallBack(r), setTimeout(() => {
|
|
14723
|
+
this.processImageQueue();
|
|
14724
|
+
}, this.THROTTLE_DELAY);
|
|
14725
|
+
});
|
|
14726
|
+
} else
|
|
14727
|
+
this._isProcessing = !1;
|
|
14708
14728
|
}
|
|
14709
|
-
addImageQueue(t) {
|
|
14710
|
-
const
|
|
14711
|
-
|
|
14712
|
-
|
|
14729
|
+
addImageQueue(t, r) {
|
|
14730
|
+
const o = HOEditorFactorys.instance().getFactory(this.hoEditorFactoryID);
|
|
14731
|
+
this.loadImage(t), o.drawTree.paintStatus !== PaintState$1.psPreview || !o.isFixPrint ? r().then((n) => {
|
|
14732
|
+
this.onSuccessCallBack(n);
|
|
14733
|
+
}) : (this._imageQueue.push(r), this._isProcessing || (this._isProcessing = !0, this.processImageQueue()));
|
|
14713
14734
|
}
|
|
14714
14735
|
loadImage(t) {
|
|
14715
14736
|
const r = HOEditorFactorys.instance().getFactory(this.hoEditorFactoryID);
|
|
@@ -14721,9 +14742,11 @@ class ImageManager {
|
|
|
14721
14742
|
}
|
|
14722
14743
|
onErrorCallBack(t) {
|
|
14723
14744
|
const r = HOEditorFactorys.instance().getFactory(this.hoEditorFactoryID);
|
|
14724
|
-
r.
|
|
14745
|
+
r.loadImageErrorCount++;
|
|
14725
14746
|
}
|
|
14726
|
-
}
|
|
14747
|
+
};
|
|
14748
|
+
b(hn, "instance");
|
|
14749
|
+
let ImageManager = hn;
|
|
14727
14750
|
class DrawSignNode extends DrawCombineNode {
|
|
14728
14751
|
constructor(r, o, n, s, l, c, d, u, f, p, m, g, y, w, v, C) {
|
|
14729
14752
|
super(r, o, n, 0);
|
|
@@ -14750,7 +14773,7 @@ class DrawSignNode extends DrawCombineNode {
|
|
|
14750
14773
|
//日期位置 1放签名右侧 其它:放签名下面
|
|
14751
14774
|
b(this, "_exif", null);
|
|
14752
14775
|
b(this, "_imageManager");
|
|
14753
|
-
this._imageManager =
|
|
14776
|
+
this._imageManager = ImageManager.getInstance(r), this._number = s, this._imgSrc = d, this._type = l, this._signName = c, this._fingerPrintSrc = m, this._fingerPosition = g, this._attribute = y, this._connectChar = v, this._textStyle = p.getStyleKey(), this._signTime = C && C.time ? C.time : "", this._abi02 = w && w.abi02 ? w.abi02 : "", this._title = C && C.title ? C.title : "";
|
|
14754
14777
|
const _ = !!(C && (C.isDisplayTitle == "true" || C.isDisplayTitle == !0)), D = !!(C && (C.isDisplayTime == "true" || C.isDisplayTime == !0));
|
|
14755
14778
|
this.attribute === 4 && (_ ? this._title == "" && (this._title = this._abi02) : this._title = "", D ? this._timePosition = C && C.timePosition ? C.timePosition : "" : this._signTime = ""), this._title != "" && (this._drawTitle = new createjs$1.Text(this.title + this._connectChar, this._textStyle, "#000000")), this._signTime != "" && (this.attribute === 4 ? this._drawDate = new createjs$1.Text(this.signTime, this._textStyle, "#000000") : this._drawDate = new createjs$1.Text(this.signTime.substring(0, 16), this._textStyle, "#000000"));
|
|
14756
14779
|
const E = HOEditorFactorys.instance().getFactory(r);
|
|
@@ -14878,24 +14901,24 @@ class DrawSignNode extends DrawCombineNode {
|
|
|
14878
14901
|
this._imageManager.onErrorCallBack(this);
|
|
14879
14902
|
}, u.onload = () => {
|
|
14880
14903
|
const p = u.naturalHeight !== 0 ? u.naturalHeight : u.height, m = u.naturalWidth !== 0 ? u.naturalWidth : u.width;
|
|
14881
|
-
n.patientFingerHeight != 0 && (c = n.patientFingerHeight / p), f.y = -p * c, f.x = 0, r.imgHeight = p * c, r.imgWidth = m * c, this._dWidth = r.imgWidth, this._dHeight = r.imgHeight, r.type = 3, f.setTransform(f.x, f.y, c, c)
|
|
14904
|
+
n.patientFingerHeight != 0 && (c = n.patientFingerHeight / p), f.y = -p * c, f.x = 0, r.imgHeight = p * c, r.imgWidth = m * c, this._dWidth = r.imgWidth, this._dHeight = r.imgHeight, r.type = 3, f.setTransform(f.x, f.y, c, c);
|
|
14882
14905
|
};
|
|
14883
14906
|
} else
|
|
14884
|
-
this._imageManager.addImageQueue(new Promise((c) => {
|
|
14907
|
+
this._imageManager.addImageQueue(this, () => new Promise((c) => {
|
|
14885
14908
|
const d = new Image();
|
|
14886
14909
|
d.src = this.imgSrc;
|
|
14887
14910
|
const u = new createjs$1.Bitmap(d);
|
|
14888
|
-
u.y = 0, u.x = 0, u.setBounds(0, 0, o.dWidth, o.dHeight), r.imgWidth && (this._dWidth = r.imgWidth), o.addChildAt(u, 0),
|
|
14911
|
+
u.y = 0, u.x = 0, u.setBounds(0, 0, o.dWidth, o.dHeight), r.imgWidth && (this._dWidth = r.imgWidth), o.addChildAt(u, 0), d.onerror = () => {
|
|
14889
14912
|
this._imageManager.onErrorCallBack(this);
|
|
14890
14913
|
}, d.onload = () => {
|
|
14891
14914
|
const f = () => {
|
|
14892
14915
|
const p = d.naturalWidth !== 0 ? d.naturalWidth : d.width, m = d.naturalHeight !== 0 ? d.naturalHeight : d.height;
|
|
14893
14916
|
let g = n.signHeight / m < 0.4 ? 0.4 : n.signHeight / m > 0.7 ? 1 : n.signHeight / m;
|
|
14894
14917
|
if (o.fingerPosition == FingerPosition.center && n.signHeight / m < 0.2 && (g = n.signHeight * 1.5 / m), n.patientSignHeight != 0 && (g = n.patientSignHeight / m), this._dWidth = p * g, o.fingerPrintSrc !== "")
|
|
14895
|
-
this._imageManager.addImageQueue(new Promise((y) => {
|
|
14918
|
+
this._imageManager.addImageQueue(this, () => new Promise((y) => {
|
|
14896
14919
|
const w = new Image();
|
|
14897
14920
|
let v;
|
|
14898
|
-
w.src = this.fingerPrintSrc, v = new createjs$1.Bitmap(w), v.setBounds(0, 0, r.imgWidth, r.imgHeight), o.addChildAt(v, 1),
|
|
14921
|
+
w.src = this.fingerPrintSrc, v = new createjs$1.Bitmap(w), v.setBounds(0, 0, r.imgWidth, r.imgHeight), o.addChildAt(v, 1), w.onerror = () => {
|
|
14899
14922
|
this._imageManager.onErrorCallBack(this), y(o);
|
|
14900
14923
|
}, w.onload = () => {
|
|
14901
14924
|
let C = w.naturalWidth;
|
|
@@ -14903,7 +14926,7 @@ class DrawSignNode extends DrawCombineNode {
|
|
|
14903
14926
|
let D = o.fingerPosition == FingerPosition.center ? 0.3 : 0.15;
|
|
14904
14927
|
C !== 256 && (D = 1), n.patientFingerHeight != 0 && (D = n.patientFingerHeight / _), v.scaleX = D, v.scaleY = D, v.y = -_ * D, u.y = -m * g, o.fingerPosition == FingerPosition.left ? (u.x = C * D + 5, v.x = 0, this._dWidth = p * g + 5 + C * D, r.imgHeight = Math.floor(Math.max(_ * D, m * g)), this._dHeight = r.imgHeight) : o.fingerPosition == FingerPosition.center ? (v.x = (p * g - C * D) / 2, v.y = -(_ * D + l) / 2, u.y = -(m * g + l) / 2, r.imgHeight = n.signHeight) : o.fingerPosition == FingerPosition.right && (v.x = p * g + 5, this._dWidth = p * g + 5 + C * D, r.imgHeight = Math.floor(Math.max(_ * D, m * g)), this._dHeight = r.imgHeight), r.imgWidth = this._dWidth, o.fingerPosition == FingerPosition.center && (this._dWidth = 0, this._dHeight = 0), u.setTransform(u.x, u.y, g, g), v.setTransform(v.x, v.y, D, D);
|
|
14905
14928
|
const E = new createjs$1.Shape();
|
|
14906
|
-
E.graphics.beginFill("#000000").drawRect(v.x, 0, C * D, _ * D), u.hitArea = E, v.hitArea = E,
|
|
14929
|
+
E.graphics.beginFill("#000000").drawRect(v.x, 0, C * D, _ * D), u.hitArea = E, v.hitArea = E, y(o);
|
|
14907
14930
|
};
|
|
14908
14931
|
}));
|
|
14909
14932
|
else {
|
|
@@ -14914,11 +14937,10 @@ class DrawSignNode extends DrawCombineNode {
|
|
|
14914
14937
|
y > w - 5 && (o.dHeight = (w - 5) * o.dHeight / y - 2, g = (w - 5) / y * g, y = w - 5), o.dWidth = y, r.imgWidth = o.dWidth, r.imgHeight = o.dHeight, u.setTransform(0, -(m * g + l) / 2, g, g);
|
|
14915
14938
|
} else
|
|
14916
14939
|
r.imgWidth = this.dWidth, r.imgHeight = n.signHeight, u.setTransform(0, -(m * g + l) / 2, g, g);
|
|
14917
|
-
this._imageManager.onSuccessCallBack(this);
|
|
14918
14940
|
}
|
|
14919
14941
|
c(o);
|
|
14920
14942
|
};
|
|
14921
|
-
n.drawTree.paintStatus === PaintState$1.psPreview && n.isFixPrint ? setTimeout(() => f(),
|
|
14943
|
+
n.drawTree.paintStatus === PaintState$1.psPreview && n.isFixPrint ? setTimeout(() => f(), this._imageManager.THROTTLE_DELAY) : f();
|
|
14922
14944
|
};
|
|
14923
14945
|
}));
|
|
14924
14946
|
}
|
|
@@ -14928,7 +14950,7 @@ class DrawSignNode extends DrawCombineNode {
|
|
|
14928
14950
|
this.clear();
|
|
14929
14951
|
const r = this, o = (n) => {
|
|
14930
14952
|
if (this.type === 1)
|
|
14931
|
-
this._imageManager.addImageQueue(new Promise((s) => {
|
|
14953
|
+
this._imageManager.addImageQueue(this, () => new Promise((s) => {
|
|
14932
14954
|
const l = new Image();
|
|
14933
14955
|
l.src = this.imgSrc;
|
|
14934
14956
|
const c = new createjs$1.Bitmap(l), d = new createjs$1.Shape();
|
|
@@ -14938,7 +14960,7 @@ class DrawSignNode extends DrawCombineNode {
|
|
|
14938
14960
|
} else
|
|
14939
14961
|
this.attribute === 3 && this.title !== "" ? this.signTime != "" ? (this._drawTitle.textBaseline = "alphabetic", this._drawTitle.textAlign = "left", this._drawTitle.x = 0, this._drawTitle.y = -(this.dHeight - this._drawDate.getMeasuredHeight()) + 2, c.x = this._drawTitle.getMeasuredWidth(), this.addChildAt(this._drawTitle, 0), c.y = this._drawTitle.y, this.addChild(c), this._drawDate.x = 0, this._drawDate.y = 0, this._drawDate.textBaseline = "alphabetic", this._drawDate.textAlign = "left", this.addChild(this._drawDate)) : (this._drawTitle.textBaseline = "alphabetic", this._drawTitle.textAlign = "left", this.addChildAt(this._drawTitle, 0), c.x = this._drawTitle.getMeasuredWidth(), this.addChild(c)) : this.attribute === 4 ? (this.title !== "" ? (this._drawTitle.textBaseline = "alphabetic", this._drawTitle.textAlign = "left", this.addChildAt(this._drawTitle, 0), c.x = this._drawTitle.getMeasuredWidth()) : c.x = 0, this.addChild(c), this.signTime !== "" && (this.timePosition === "1" ? (c.y = -this.dHeight, this._drawDate.x = this.dWidth - this._drawDate.getMeasuredWidth(), this._drawDate.y = -this.dHeight + this._drawDate.getMeasuredHeight()) : (this.title !== "" && (this._drawTitle.y = -this._drawDate.getMeasuredHeight() - 10), c.y = -this.dHeight, this._drawDate.x = 0, this._drawDate.y = -3, this._drawDate.textBaseline = "alphabetic", this._drawDate.textAlign = "left"), this.addChild(this._drawDate))) : c.x === 0 ? this.addChildAt(c, 0) : this.addChild(c);
|
|
14940
14962
|
const u = HOEditorFactorys.instance().getFactory(r.node.hoEditorFactoryID);
|
|
14941
|
-
|
|
14963
|
+
l.onload = async () => {
|
|
14942
14964
|
const f = () => {
|
|
14943
14965
|
const m = l.naturalWidth !== 0 ? l.naturalWidth : l.width, g = l.naturalHeight !== 0 ? l.naturalHeight : l.height, y = this.node, w = y.imgWidth, v = y.imgHeight;
|
|
14944
14966
|
(l.naturalWidth > l.naturalHeight && w < v || l.naturalWidth < l.naturalHeight && y.imgWidth > y.imgHeight) && (y.imgWidth = v, y.imgHeight = w);
|
|
@@ -14965,9 +14987,9 @@ class DrawSignNode extends DrawCombineNode {
|
|
|
14965
14987
|
const _ = new createjs$1.Shape();
|
|
14966
14988
|
_.graphics.beginFill("#000").drawRect(0, 0, r.dWidth, r.dHeight), c.hitArea = _;
|
|
14967
14989
|
const D = r.node.parentNode;
|
|
14968
|
-
D instanceof CellNode && (D.drawCell.needUpdate = !0, D.table.update()),
|
|
14990
|
+
D instanceof CellNode && (D.drawCell.needUpdate = !0, D.table.update()), s(r);
|
|
14969
14991
|
}, p = () => {
|
|
14970
|
-
u.drawTree.paintStatus === PaintState$1.psPreview && u.isFixPrint ? setTimeout(() => f(),
|
|
14992
|
+
u.drawTree.paintStatus === PaintState$1.psPreview && u.isFixPrint ? setTimeout(() => f(), this._imageManager.THROTTLE_DELAY) : f();
|
|
14971
14993
|
};
|
|
14972
14994
|
this.imgSrc.includes("data:image/jpeg") || this.imgSrc.includes("data:image/jpg") || this.imgSrc.includes(".jpg") || this.imgSrc.includes(".jpeg") ? __CJS__export_default__.getData(l, (m) => {
|
|
14973
14995
|
l.exifdata = m, p();
|
|
@@ -15017,7 +15039,7 @@ class DrawSignNode extends DrawCombineNode {
|
|
|
15017
15039
|
}
|
|
15018
15040
|
}
|
|
15019
15041
|
}
|
|
15020
|
-
const version = "3.2.
|
|
15042
|
+
const version = "3.2.82";
|
|
15021
15043
|
var FingerPosition = /* @__PURE__ */ ((a) => (a[a.left = 0] = "left", a[a.center = 1] = "center", a[a.right = 2] = "right", a))(FingerPosition || {});
|
|
15022
15044
|
class SignNode extends BaseNode {
|
|
15023
15045
|
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) {
|
|
@@ -34673,7 +34695,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34673
34695
|
function Ki(S, L) {
|
|
34674
34696
|
return S.slice(L, 7).concat(S.slice(0, L));
|
|
34675
34697
|
}
|
|
34676
|
-
var Ri = "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), Pr = "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),
|
|
34698
|
+
var Ri = "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), Pr = "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"), Fn = "Su_Mo_Tu_We_Th_Fr_Sa".split("_"), un = ee, In = ee, An = ee;
|
|
34677
34699
|
function vo(S, L) {
|
|
34678
34700
|
var Z = s(this._weekdays) ? this._weekdays : this._weekdays[S && S !== !0 && this._weekdays.isFormat.test(L) ? "format" : "standalone"];
|
|
34679
34701
|
return S === !0 ? Ki(Z, this._week.dow) : S ? Z[S.day()] : Z;
|
|
@@ -34681,10 +34703,10 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34681
34703
|
function mi(S) {
|
|
34682
34704
|
return S === !0 ? Ki(this._weekdaysShort, this._week.dow) : S ? this._weekdaysShort[S.day()] : this._weekdaysShort;
|
|
34683
34705
|
}
|
|
34684
|
-
function
|
|
34706
|
+
function fn(S) {
|
|
34685
34707
|
return S === !0 ? Ki(this._weekdaysMin, this._week.dow) : S ? this._weekdaysMin[S.day()] : this._weekdaysMin;
|
|
34686
34708
|
}
|
|
34687
|
-
function
|
|
34709
|
+
function pn(S, L, Z) {
|
|
34688
34710
|
var q, ce, Le, $e = S.toLocaleLowerCase();
|
|
34689
34711
|
if (!this._weekdaysParse)
|
|
34690
34712
|
for (this._weekdaysParse = [], this._shortWeekdaysParse = [], this._minWeekdaysParse = [], q = 0; q < 7; ++q)
|
|
@@ -34700,7 +34722,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34700
34722
|
function wo(S, L, Z) {
|
|
34701
34723
|
var q, ce, Le;
|
|
34702
34724
|
if (this._weekdaysParseExact)
|
|
34703
|
-
return
|
|
34725
|
+
return pn.call(this, S, L, Z);
|
|
34704
34726
|
for (this._weekdaysParse || (this._weekdaysParse = [], this._minWeekdaysParse = [], this._shortWeekdaysParse = [], this._fullWeekdaysParse = []), q = 0; q < 7; q++) {
|
|
34705
34727
|
if (ce = y([2e3, 1]).day(q), Z && !this._fullWeekdaysParse[q] && (this._fullWeekdaysParse[q] = new RegExp(
|
|
34706
34728
|
"^" + this.weekdays(ce, "").replace(".", "\\.?") + "$",
|
|
@@ -34727,13 +34749,13 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34727
34749
|
var L = ui(this, "Day");
|
|
34728
34750
|
return S != null ? (S = Zr(S, this.localeData()), this.add(S - L, "d")) : L;
|
|
34729
34751
|
}
|
|
34730
|
-
function
|
|
34752
|
+
function Ln(S) {
|
|
34731
34753
|
if (!this.isValid())
|
|
34732
34754
|
return S != null ? this : NaN;
|
|
34733
34755
|
var L = (this.day() + 7 - this.localeData()._week.dow) % 7;
|
|
34734
34756
|
return S == null ? L : this.add(S - L, "d");
|
|
34735
34757
|
}
|
|
34736
|
-
function
|
|
34758
|
+
function Mn(S) {
|
|
34737
34759
|
if (!this.isValid())
|
|
34738
34760
|
return S != null ? this : NaN;
|
|
34739
34761
|
if (S != null) {
|
|
@@ -34742,14 +34764,14 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34742
34764
|
} else
|
|
34743
34765
|
return this.day() || 7;
|
|
34744
34766
|
}
|
|
34745
|
-
function
|
|
34746
|
-
return this._weekdaysParseExact ? (c(this, "_weekdaysRegex") || yi.call(this), S ? this._weekdaysStrictRegex : this._weekdaysRegex) : (c(this, "_weekdaysRegex") || (this._weekdaysRegex =
|
|
34767
|
+
function Rn(S) {
|
|
34768
|
+
return this._weekdaysParseExact ? (c(this, "_weekdaysRegex") || yi.call(this), S ? this._weekdaysStrictRegex : this._weekdaysRegex) : (c(this, "_weekdaysRegex") || (this._weekdaysRegex = un), this._weekdaysStrictRegex && S ? this._weekdaysStrictRegex : this._weekdaysRegex);
|
|
34747
34769
|
}
|
|
34748
34770
|
function jo(S) {
|
|
34749
|
-
return this._weekdaysParseExact ? (c(this, "_weekdaysRegex") || yi.call(this), S ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex) : (c(this, "_weekdaysShortRegex") || (this._weekdaysShortRegex =
|
|
34771
|
+
return this._weekdaysParseExact ? (c(this, "_weekdaysRegex") || yi.call(this), S ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex) : (c(this, "_weekdaysShortRegex") || (this._weekdaysShortRegex = In), this._weekdaysShortStrictRegex && S ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex);
|
|
34750
34772
|
}
|
|
34751
|
-
function
|
|
34752
|
-
return this._weekdaysParseExact ? (c(this, "_weekdaysRegex") || yi.call(this), S ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex) : (c(this, "_weekdaysMinRegex") || (this._weekdaysMinRegex =
|
|
34773
|
+
function gn(S) {
|
|
34774
|
+
return this._weekdaysParseExact ? (c(this, "_weekdaysRegex") || yi.call(this), S ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex) : (c(this, "_weekdaysMinRegex") || (this._weekdaysMinRegex = An), this._weekdaysMinStrictRegex && S ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex);
|
|
34753
34775
|
}
|
|
34754
34776
|
function yi() {
|
|
34755
34777
|
function S(Lr, ci) {
|
|
@@ -34784,7 +34806,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34784
34806
|
}), ne("Hmmss", 0, 0, function() {
|
|
34785
34807
|
return "" + this.hours() + ye(this.minutes(), 2) + ye(this.seconds(), 2);
|
|
34786
34808
|
});
|
|
34787
|
-
function
|
|
34809
|
+
function mn(S, L) {
|
|
34788
34810
|
ne(S, 0, 0, function() {
|
|
34789
34811
|
return this.localeData().meridiem(
|
|
34790
34812
|
this.hours(),
|
|
@@ -34793,11 +34815,11 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34793
34815
|
);
|
|
34794
34816
|
});
|
|
34795
34817
|
}
|
|
34796
|
-
|
|
34797
|
-
function
|
|
34818
|
+
mn("a", !0), mn("A", !1);
|
|
34819
|
+
function yn(S, L) {
|
|
34798
34820
|
return L._meridiemParse;
|
|
34799
34821
|
}
|
|
34800
|
-
Ge("a",
|
|
34822
|
+
Ge("a", yn), Ge("A", yn), Ge("H", pt, Se), Ge("h", pt, se), Ge("k", pt, se), Ge("HH", pt, ht), Ge("hh", pt, ht), Ge("kk", pt, ht), Ge("hmm", Tt), Ge("hmmss", Ct), Ge("Hmm", Tt), Ge("Hmmss", Ct), Ot(["H", "HH"], Zt), Ot(["k", "kk"], function(S, L, Z) {
|
|
34801
34823
|
var q = Et(S);
|
|
34802
34824
|
L[Zt] = q === 24 ? 0 : q;
|
|
34803
34825
|
}), Ot(["a", "A"], function(S, L, Z) {
|
|
@@ -34820,8 +34842,8 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34820
34842
|
function $i(S) {
|
|
34821
34843
|
return (S + "").toLowerCase().charAt(0) === "p";
|
|
34822
34844
|
}
|
|
34823
|
-
var xo = /[ap]\.?m?\.?/i,
|
|
34824
|
-
function
|
|
34845
|
+
var xo = /[ap]\.?m?\.?/i, kn = oi("Hours", !0);
|
|
34846
|
+
function Hn(S, L, Z) {
|
|
34825
34847
|
return S > 11 ? Z ? "pm" : "PM" : Z ? "am" : "AM";
|
|
34826
34848
|
}
|
|
34827
34849
|
var Ni = {
|
|
@@ -34835,7 +34857,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34835
34857
|
monthsShort: Xi,
|
|
34836
34858
|
week: cr,
|
|
34837
34859
|
weekdays: Ri,
|
|
34838
|
-
weekdaysMin:
|
|
34860
|
+
weekdaysMin: Fn,
|
|
34839
34861
|
weekdaysShort: Pr,
|
|
34840
34862
|
meridiemParse: xo
|
|
34841
34863
|
}, sr = {}, vi = {}, ki;
|
|
@@ -34862,12 +34884,12 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34862
34884
|
}
|
|
34863
34885
|
return ki;
|
|
34864
34886
|
}
|
|
34865
|
-
function
|
|
34887
|
+
function vn(S) {
|
|
34866
34888
|
return !!(S && S.match("^[^/\\\\]*$"));
|
|
34867
34889
|
}
|
|
34868
34890
|
function Ti(S) {
|
|
34869
34891
|
var L = null, Z;
|
|
34870
|
-
if (sr[S] === void 0 && a && a.exports &&
|
|
34892
|
+
if (sr[S] === void 0 && a && a.exports && vn(S))
|
|
34871
34893
|
try {
|
|
34872
34894
|
L = ki._abbr, Z = commonjsRequire, Z("./locale/" + S), wi(L);
|
|
34873
34895
|
} catch {
|
|
@@ -34929,7 +34951,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34929
34951
|
var L, Z = S._a;
|
|
34930
34952
|
return Z && v(S).overflow === -2 && (L = Z[tr] < 0 || Z[tr] > 11 ? tr : Z[Vt] < 1 || Z[Vt] > gi(Z[jt], Z[tr]) ? Vt : Z[Zt] < 0 || Z[Zt] > 24 || Z[Zt] === 24 && (Z[lr] !== 0 || Z[gr] !== 0 || Z[Rr] !== 0) ? Zt : Z[lr] < 0 || Z[lr] > 59 ? lr : Z[gr] < 0 || Z[gr] > 59 ? gr : Z[Rr] < 0 || Z[Rr] > 999 ? Rr : -1, v(S)._overflowDayOfYear && (L < jt || L > Vt) && (L = Vt), v(S)._overflowWeeks && L === -1 && (L = hi), v(S)._overflowWeekday && L === -1 && (L = Or), v(S).overflow = L), S;
|
|
34931
34953
|
}
|
|
34932
|
-
var Zo = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,
|
|
34954
|
+
var Zo = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, wn = /^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, On = /Z|[+-]\d\d(?::?\d\d)?/, Si = [
|
|
34933
34955
|
["YYYYYY-MM-DD", /[+-]\d{6}-\d\d-\d\d/],
|
|
34934
34956
|
["YYYY-MM-DD", /\d{4}-\d\d-\d\d/],
|
|
34935
34957
|
["GGGG-[W]WW-E", /\d{4}-W\d\d-\d/],
|
|
@@ -34966,7 +34988,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34966
34988
|
PST: -8 * 60
|
|
34967
34989
|
};
|
|
34968
34990
|
function W(S) {
|
|
34969
|
-
var L, Z, q = S._i, ce = Zo.exec(q) ||
|
|
34991
|
+
var L, Z, q = S._i, ce = Zo.exec(q) || wn.exec(q), Le, $e, xt, Mt, qt = Si.length, Lr = ro.length;
|
|
34970
34992
|
if (ce) {
|
|
34971
34993
|
for (v(S).iso = !0, L = 0, Z = qt; L < Z; L++)
|
|
34972
34994
|
if (Si[L][1].exec(ce[1])) {
|
|
@@ -34993,7 +35015,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34993
35015
|
return;
|
|
34994
35016
|
}
|
|
34995
35017
|
if (ce[4])
|
|
34996
|
-
if (
|
|
35018
|
+
if (On.exec(ce[4]))
|
|
34997
35019
|
Mt = "Z";
|
|
34998
35020
|
else {
|
|
34999
35021
|
S._isValid = !1;
|
|
@@ -35259,13 +35281,13 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35259
35281
|
Et(S[$e]) !== Et(L[$e]) && Le++;
|
|
35260
35282
|
return Le + ce;
|
|
35261
35283
|
}
|
|
35262
|
-
function
|
|
35284
|
+
function xn(S, L) {
|
|
35263
35285
|
ne(S, 0, 0, function() {
|
|
35264
35286
|
var Z = this.utcOffset(), q = "+";
|
|
35265
35287
|
return Z < 0 && (Z = -Z, q = "-"), q + ye(~~(Z / 60), 2) + L + ye(~~Z % 60, 2);
|
|
35266
35288
|
});
|
|
35267
35289
|
}
|
|
35268
|
-
|
|
35290
|
+
xn("Z", ":"), xn("ZZ", ""), Ge("Z", kt), Ge("ZZ", kt), Ot(["Z", "ZZ"], function(S, L, Z) {
|
|
35269
35291
|
Z._useUTC = !0, Z._tzm = ao(kt, S);
|
|
35270
35292
|
});
|
|
35271
35293
|
var Ko = /([\+\-]|\d\d)/gi;
|
|
@@ -35437,7 +35459,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35437
35459
|
return !f(q) && ar(S);
|
|
35438
35460
|
}).length === 0), L && Z;
|
|
35439
35461
|
}
|
|
35440
|
-
function
|
|
35462
|
+
function Cn(S) {
|
|
35441
35463
|
var L = l(S) && !d(S), Z = !1, q = [
|
|
35442
35464
|
"sameDay",
|
|
35443
35465
|
"nextDay",
|
|
@@ -35455,38 +35477,38 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35455
35477
|
return Z < -6 ? "sameElse" : Z < -1 ? "lastWeek" : Z < 0 ? "lastDay" : Z < 1 ? "sameDay" : Z < 2 ? "nextDay" : Z < 7 ? "nextWeek" : "sameElse";
|
|
35456
35478
|
}
|
|
35457
35479
|
function Ii(S, L) {
|
|
35458
|
-
arguments.length === 1 && (arguments[0] ? dr(arguments[0]) ? (S = arguments[0], L = void 0) :
|
|
35480
|
+
arguments.length === 1 && (arguments[0] ? dr(arguments[0]) ? (S = arguments[0], L = void 0) : Cn(arguments[0]) && (L = arguments[0], S = void 0) : (S = void 0, L = void 0));
|
|
35459
35481
|
var Z = S || fr(), q = No(Z, this).startOf("day"), ce = o.calendarFormat(this, q) || "sameElse", Le = L && (U(L[ce]) ? L[ce].call(this, Z) : L[ce]);
|
|
35460
35482
|
return this.format(
|
|
35461
35483
|
Le || this.localeData().calendar(ce, this, fr(Z))
|
|
35462
35484
|
);
|
|
35463
35485
|
}
|
|
35464
|
-
function
|
|
35486
|
+
function Bn() {
|
|
35465
35487
|
return new M(this);
|
|
35466
35488
|
}
|
|
35467
|
-
function
|
|
35489
|
+
function rs(S, L) {
|
|
35468
35490
|
var Z = R(S) ? S : fr(S);
|
|
35469
35491
|
return this.isValid() && Z.isValid() ? (L = Be(L) || "millisecond", L === "millisecond" ? this.valueOf() > Z.valueOf() : Z.valueOf() < this.clone().startOf(L).valueOf()) : !1;
|
|
35470
35492
|
}
|
|
35471
|
-
function
|
|
35493
|
+
function zn(S, L) {
|
|
35472
35494
|
var Z = R(S) ? S : fr(S);
|
|
35473
35495
|
return this.isValid() && Z.isValid() ? (L = Be(L) || "millisecond", L === "millisecond" ? this.valueOf() < Z.valueOf() : this.clone().endOf(L).valueOf() < Z.valueOf()) : !1;
|
|
35474
35496
|
}
|
|
35475
|
-
function
|
|
35497
|
+
function Wn(S, L, Z, q) {
|
|
35476
35498
|
var ce = R(S) ? S : fr(S), Le = R(L) ? L : fr(L);
|
|
35477
35499
|
return this.isValid() && ce.isValid() && Le.isValid() ? (q = q || "()", (q[0] === "(" ? this.isAfter(ce, Z) : !this.isBefore(ce, Z)) && (q[1] === ")" ? this.isBefore(Le, Z) : !this.isAfter(Le, Z))) : !1;
|
|
35478
35500
|
}
|
|
35479
|
-
function
|
|
35501
|
+
function bn(S, L) {
|
|
35480
35502
|
var Z = R(S) ? S : fr(S), q;
|
|
35481
35503
|
return this.isValid() && Z.isValid() ? (L = Be(L) || "millisecond", L === "millisecond" ? this.valueOf() === Z.valueOf() : (q = Z.valueOf(), this.clone().startOf(L).valueOf() <= q && q <= this.clone().endOf(L).valueOf())) : !1;
|
|
35482
35504
|
}
|
|
35483
|
-
function
|
|
35505
|
+
function jn(S, L) {
|
|
35484
35506
|
return this.isSame(S, L) || this.isAfter(S, L);
|
|
35485
35507
|
}
|
|
35486
|
-
function
|
|
35508
|
+
function Ws(S, L) {
|
|
35487
35509
|
return this.isSame(S, L) || this.isBefore(S, L);
|
|
35488
35510
|
}
|
|
35489
|
-
function
|
|
35511
|
+
function js(S, L, Z) {
|
|
35490
35512
|
var q, ce, Le;
|
|
35491
35513
|
if (!this.isValid())
|
|
35492
35514
|
return NaN;
|
|
@@ -35534,10 +35556,10 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35534
35556
|
return L - q < 0 ? (ce = S.clone().add(Z - 1, "months"), Le = (L - q) / (q - ce)) : (ce = S.clone().add(Z + 1, "months"), Le = (L - q) / (ce - q)), -(Z + Le) || 0;
|
|
35535
35557
|
}
|
|
35536
35558
|
o.defaultFormat = "YYYY-MM-DDTHH:mm:ssZ", o.defaultFormatUtc = "YYYY-MM-DDTHH:mm:ss[Z]";
|
|
35537
|
-
function
|
|
35559
|
+
function Us() {
|
|
35538
35560
|
return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ");
|
|
35539
35561
|
}
|
|
35540
|
-
function
|
|
35562
|
+
function Ys(S) {
|
|
35541
35563
|
if (!this.isValid())
|
|
35542
35564
|
return null;
|
|
35543
35565
|
var L = S !== !0, Z = L ? this.clone().utc() : this;
|
|
@@ -35549,51 +35571,51 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35549
35571
|
L ? "YYYY-MM-DD[T]HH:mm:ss.SSS[Z]" : "YYYY-MM-DD[T]HH:mm:ss.SSSZ"
|
|
35550
35572
|
);
|
|
35551
35573
|
}
|
|
35552
|
-
function
|
|
35574
|
+
function Zs() {
|
|
35553
35575
|
if (!this.isValid())
|
|
35554
35576
|
return "moment.invalid(/* " + this._i + " */)";
|
|
35555
35577
|
var S = "moment", L = "", Z, q, ce, Le;
|
|
35556
35578
|
return this.isLocal() || (S = this.utcOffset() === 0 ? "moment.utc" : "moment.parseZone", L = "Z"), Z = "[" + S + '("]', q = 0 <= this.year() && this.year() <= 9999 ? "YYYY" : "YYYYYY", ce = "-MM-DD[T]HH:mm:ss.SSS", Le = L + '[")]', this.format(Z + q + ce + Le);
|
|
35557
35579
|
}
|
|
35558
|
-
function
|
|
35580
|
+
function Gs(S) {
|
|
35559
35581
|
S || (S = this.isUtc() ? o.defaultFormatUtc : o.defaultFormat);
|
|
35560
35582
|
var L = we(this, S);
|
|
35561
35583
|
return this.localeData().postformat(L);
|
|
35562
35584
|
}
|
|
35563
|
-
function
|
|
35585
|
+
function Vs(S, L) {
|
|
35564
35586
|
return this.isValid() && (R(S) && S.isValid() || fr(S).isValid()) ? Hr({ to: this, from: S }).locale(this.locale()).humanize(!L) : this.localeData().invalidDate();
|
|
35565
35587
|
}
|
|
35566
|
-
function
|
|
35588
|
+
function Un(S) {
|
|
35567
35589
|
return this.from(fr(), S);
|
|
35568
35590
|
}
|
|
35569
|
-
function
|
|
35591
|
+
function Yn(S, L) {
|
|
35570
35592
|
return this.isValid() && (R(S) && S.isValid() || fr(S).isValid()) ? Hr({ from: this, to: S }).locale(this.locale()).humanize(!L) : this.localeData().invalidDate();
|
|
35571
35593
|
}
|
|
35572
35594
|
function rn(S) {
|
|
35573
35595
|
return this.to(fr(), S);
|
|
35574
35596
|
}
|
|
35575
|
-
function
|
|
35597
|
+
function is(S) {
|
|
35576
35598
|
var L;
|
|
35577
35599
|
return S === void 0 ? this._locale._abbr : (L = Qr(S), L != null && (this._locale = L), this);
|
|
35578
35600
|
}
|
|
35579
|
-
var
|
|
35601
|
+
var os = H(
|
|
35580
35602
|
"moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",
|
|
35581
35603
|
function(S) {
|
|
35582
35604
|
return S === void 0 ? this.localeData() : this.locale(S);
|
|
35583
35605
|
}
|
|
35584
35606
|
);
|
|
35585
|
-
function
|
|
35607
|
+
function Zn() {
|
|
35586
35608
|
return this._locale;
|
|
35587
35609
|
}
|
|
35588
|
-
var
|
|
35610
|
+
var _n = 1e3, Do = 60 * _n, Pn = 60 * Do, ns = (365 * 400 + 97) * 24 * Pn;
|
|
35589
35611
|
function fo(S, L) {
|
|
35590
35612
|
return (S % L + L) % L;
|
|
35591
35613
|
}
|
|
35592
35614
|
function Ai(S, L, Z) {
|
|
35593
|
-
return S < 100 && S >= 0 ? new Date(S + 400, L, Z) -
|
|
35615
|
+
return S < 100 && S >= 0 ? new Date(S + 400, L, Z) - ns : new Date(S, L, Z).valueOf();
|
|
35594
35616
|
}
|
|
35595
35617
|
function $r(S, L, Z) {
|
|
35596
|
-
return S < 100 && S >= 0 ? Date.UTC(S + 400, L, Z) -
|
|
35618
|
+
return S < 100 && S >= 0 ? Date.UTC(S + 400, L, Z) - ns : Date.UTC(S, L, Z);
|
|
35597
35619
|
}
|
|
35598
35620
|
function Li(S) {
|
|
35599
35621
|
var L, Z;
|
|
@@ -35634,19 +35656,19 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35634
35656
|
case "hour":
|
|
35635
35657
|
L = this._d.valueOf(), L -= fo(
|
|
35636
35658
|
L + (this._isUTC ? 0 : this.utcOffset() * Do),
|
|
35637
|
-
|
|
35659
|
+
Pn
|
|
35638
35660
|
);
|
|
35639
35661
|
break;
|
|
35640
35662
|
case "minute":
|
|
35641
35663
|
L = this._d.valueOf(), L -= fo(L, Do);
|
|
35642
35664
|
break;
|
|
35643
35665
|
case "second":
|
|
35644
|
-
L = this._d.valueOf(), L -= fo(L,
|
|
35666
|
+
L = this._d.valueOf(), L -= fo(L, _n);
|
|
35645
35667
|
break;
|
|
35646
35668
|
}
|
|
35647
35669
|
return this._d.setTime(L), o.updateOffset(this, !0), this;
|
|
35648
35670
|
}
|
|
35649
|
-
function
|
|
35671
|
+
function Nn(S) {
|
|
35650
35672
|
var L, Z;
|
|
35651
35673
|
if (S = Be(S), S === void 0 || S === "millisecond" || !this.isValid())
|
|
35652
35674
|
return this;
|
|
@@ -35683,30 +35705,30 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35683
35705
|
L = Z(this.year(), this.month(), this.date() + 1) - 1;
|
|
35684
35706
|
break;
|
|
35685
35707
|
case "hour":
|
|
35686
|
-
L = this._d.valueOf(), L +=
|
|
35708
|
+
L = this._d.valueOf(), L += Pn - fo(
|
|
35687
35709
|
L + (this._isUTC ? 0 : this.utcOffset() * Do),
|
|
35688
|
-
|
|
35710
|
+
Pn
|
|
35689
35711
|
) - 1;
|
|
35690
35712
|
break;
|
|
35691
35713
|
case "minute":
|
|
35692
35714
|
L = this._d.valueOf(), L += Do - fo(L, Do) - 1;
|
|
35693
35715
|
break;
|
|
35694
35716
|
case "second":
|
|
35695
|
-
L = this._d.valueOf(), L +=
|
|
35717
|
+
L = this._d.valueOf(), L += _n - fo(L, _n) - 1;
|
|
35696
35718
|
break;
|
|
35697
35719
|
}
|
|
35698
35720
|
return this._d.setTime(L), o.updateOffset(this, !0), this;
|
|
35699
35721
|
}
|
|
35700
|
-
function
|
|
35722
|
+
function ss() {
|
|
35701
35723
|
return this._d.valueOf() - (this._offset || 0) * 6e4;
|
|
35702
35724
|
}
|
|
35703
|
-
function
|
|
35725
|
+
function Gn() {
|
|
35704
35726
|
return Math.floor(this.valueOf() / 1e3);
|
|
35705
35727
|
}
|
|
35706
35728
|
function Eo() {
|
|
35707
35729
|
return new Date(this.valueOf());
|
|
35708
35730
|
}
|
|
35709
|
-
function
|
|
35731
|
+
function Vn() {
|
|
35710
35732
|
var S = this;
|
|
35711
35733
|
return [
|
|
35712
35734
|
S.year(),
|
|
@@ -35718,7 +35740,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35718
35740
|
S.millisecond()
|
|
35719
35741
|
];
|
|
35720
35742
|
}
|
|
35721
|
-
function
|
|
35743
|
+
function as() {
|
|
35722
35744
|
var S = this;
|
|
35723
35745
|
return {
|
|
35724
35746
|
years: S.year(),
|
|
@@ -35730,19 +35752,19 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35730
35752
|
milliseconds: S.milliseconds()
|
|
35731
35753
|
};
|
|
35732
35754
|
}
|
|
35733
|
-
function
|
|
35755
|
+
function ls() {
|
|
35734
35756
|
return this.isValid() ? this.toISOString() : null;
|
|
35735
35757
|
}
|
|
35736
|
-
function
|
|
35758
|
+
function cs() {
|
|
35737
35759
|
return _(this);
|
|
35738
35760
|
}
|
|
35739
|
-
function
|
|
35761
|
+
function ds() {
|
|
35740
35762
|
return g({}, v(this));
|
|
35741
35763
|
}
|
|
35742
|
-
function
|
|
35764
|
+
function hs() {
|
|
35743
35765
|
return v(this).overflow;
|
|
35744
35766
|
}
|
|
35745
|
-
function
|
|
35767
|
+
function us() {
|
|
35746
35768
|
return {
|
|
35747
35769
|
input: this._i,
|
|
35748
35770
|
format: this._f,
|
|
@@ -35751,7 +35773,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35751
35773
|
strict: this._strict
|
|
35752
35774
|
};
|
|
35753
35775
|
}
|
|
35754
|
-
ne("N", 0, 0, "eraAbbr"), ne("NN", 0, 0, "eraAbbr"), ne("NNN", 0, 0, "eraAbbr"), ne("NNNN", 0, 0, "eraName"), ne("NNNNN", 0, 0, "eraNarrow"), ne("y", ["y", 1], "yo", "eraYear"), ne("y", ["yy", 2], 0, "eraYear"), ne("y", ["yyy", 3], 0, "eraYear"), ne("y", ["yyyy", 4], 0, "eraYear"), Ge("N",
|
|
35776
|
+
ne("N", 0, 0, "eraAbbr"), ne("NN", 0, 0, "eraAbbr"), ne("NNN", 0, 0, "eraAbbr"), ne("NNNN", 0, 0, "eraName"), ne("NNNNN", 0, 0, "eraNarrow"), ne("y", ["y", 1], "yo", "eraYear"), ne("y", ["yy", 2], 0, "eraYear"), ne("y", ["yyy", 3], 0, "eraYear"), ne("y", ["yyyy", 4], 0, "eraYear"), Ge("N", Tn), Ge("NN", Tn), Ge("NNN", Tn), Ge("NNNN", xs), Ge("NNNNN", Cs), Ot(
|
|
35755
35777
|
["N", "NN", "NNN", "NNNN", "NNNNN"],
|
|
35756
35778
|
function(S, L, Z, q) {
|
|
35757
35779
|
var ce = Z._locale.erasParse(S, q, Z._strict);
|
|
@@ -35761,7 +35783,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35761
35783
|
var ce;
|
|
35762
35784
|
Z._locale._eraYearOrdinalRegex && (ce = S.match(Z._locale._eraYearOrdinalRegex)), Z._locale.eraYearOrdinalParse ? L[jt] = Z._locale.eraYearOrdinalParse(S, ce) : L[jt] = parseInt(S, 10);
|
|
35763
35785
|
});
|
|
35764
|
-
function
|
|
35786
|
+
function fs(S, L) {
|
|
35765
35787
|
var Z, q, ce, Le = this._eras || Qr("en")._eras;
|
|
35766
35788
|
for (Z = 0, q = Le.length; Z < q; ++Z) {
|
|
35767
35789
|
switch (typeof Le[Z].since) {
|
|
@@ -35780,7 +35802,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35780
35802
|
}
|
|
35781
35803
|
return Le;
|
|
35782
35804
|
}
|
|
35783
|
-
function
|
|
35805
|
+
function ps(S, L, Z) {
|
|
35784
35806
|
var q, ce, Le = this.eras(), $e, xt, Mt;
|
|
35785
35807
|
for (S = S.toUpperCase(), q = 0, ce = Le.length; q < ce; ++q)
|
|
35786
35808
|
if ($e = Le[q].name.toUpperCase(), xt = Le[q].abbr.toUpperCase(), Mt = Le[q].narrow.toUpperCase(), Z)
|
|
@@ -35803,60 +35825,60 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35803
35825
|
else if ([$e, xt, Mt].indexOf(S) >= 0)
|
|
35804
35826
|
return Le[q];
|
|
35805
35827
|
}
|
|
35806
|
-
function
|
|
35828
|
+
function gs(S, L) {
|
|
35807
35829
|
var Z = S.since <= S.until ? 1 : -1;
|
|
35808
35830
|
return L === void 0 ? o(S.since).year() : o(S.since).year() + (L - S.offset) * Z;
|
|
35809
35831
|
}
|
|
35810
|
-
function
|
|
35832
|
+
function ms() {
|
|
35811
35833
|
var S, L, Z, q = this.localeData().eras();
|
|
35812
35834
|
for (S = 0, L = q.length; S < L; ++S)
|
|
35813
35835
|
if (Z = this.clone().startOf("day").valueOf(), q[S].since <= Z && Z <= q[S].until || q[S].until <= Z && Z <= q[S].since)
|
|
35814
35836
|
return q[S].name;
|
|
35815
35837
|
return "";
|
|
35816
35838
|
}
|
|
35817
|
-
function
|
|
35839
|
+
function ys() {
|
|
35818
35840
|
var S, L, Z, q = this.localeData().eras();
|
|
35819
35841
|
for (S = 0, L = q.length; S < L; ++S)
|
|
35820
35842
|
if (Z = this.clone().startOf("day").valueOf(), q[S].since <= Z && Z <= q[S].until || q[S].until <= Z && Z <= q[S].since)
|
|
35821
35843
|
return q[S].narrow;
|
|
35822
35844
|
return "";
|
|
35823
35845
|
}
|
|
35824
|
-
function
|
|
35846
|
+
function vs() {
|
|
35825
35847
|
var S, L, Z, q = this.localeData().eras();
|
|
35826
35848
|
for (S = 0, L = q.length; S < L; ++S)
|
|
35827
35849
|
if (Z = this.clone().startOf("day").valueOf(), q[S].since <= Z && Z <= q[S].until || q[S].until <= Z && Z <= q[S].since)
|
|
35828
35850
|
return q[S].abbr;
|
|
35829
35851
|
return "";
|
|
35830
35852
|
}
|
|
35831
|
-
function
|
|
35853
|
+
function Xs() {
|
|
35832
35854
|
var S, L, Z, q, ce = this.localeData().eras();
|
|
35833
35855
|
for (S = 0, L = ce.length; S < L; ++S)
|
|
35834
35856
|
if (Z = ce[S].since <= ce[S].until ? 1 : -1, q = this.clone().startOf("day").valueOf(), ce[S].since <= q && q <= ce[S].until || ce[S].until <= q && q <= ce[S].since)
|
|
35835
35857
|
return (this.year() - o(ce[S].since).year()) * Z + ce[S].offset;
|
|
35836
35858
|
return this.year();
|
|
35837
35859
|
}
|
|
35838
|
-
function
|
|
35839
|
-
return c(this, "_erasNameRegex") ||
|
|
35860
|
+
function ws(S) {
|
|
35861
|
+
return c(this, "_erasNameRegex") || Xn.call(this), S ? this._erasNameRegex : this._erasRegex;
|
|
35840
35862
|
}
|
|
35841
35863
|
function Ui(S) {
|
|
35842
|
-
return c(this, "_erasAbbrRegex") ||
|
|
35864
|
+
return c(this, "_erasAbbrRegex") || Xn.call(this), S ? this._erasAbbrRegex : this._erasRegex;
|
|
35843
35865
|
}
|
|
35844
35866
|
function on(S) {
|
|
35845
|
-
return c(this, "_erasNarrowRegex") ||
|
|
35867
|
+
return c(this, "_erasNarrowRegex") || Xn.call(this), S ? this._erasNarrowRegex : this._erasRegex;
|
|
35846
35868
|
}
|
|
35847
|
-
function
|
|
35869
|
+
function Tn(S, L) {
|
|
35848
35870
|
return L.erasAbbrRegex(S);
|
|
35849
35871
|
}
|
|
35850
|
-
function
|
|
35872
|
+
function xs(S, L) {
|
|
35851
35873
|
return L.erasNameRegex(S);
|
|
35852
35874
|
}
|
|
35853
|
-
function
|
|
35875
|
+
function Cs(S, L) {
|
|
35854
35876
|
return L.erasNarrowRegex(S);
|
|
35855
35877
|
}
|
|
35856
35878
|
function ei(S, L) {
|
|
35857
35879
|
return L._eraYearOrdinalRegex || At;
|
|
35858
35880
|
}
|
|
35859
|
-
function
|
|
35881
|
+
function Xn() {
|
|
35860
35882
|
var S = [], L = [], Z = [], q = [], ce, Le, $e, xt, Mt, qt = this.eras();
|
|
35861
35883
|
for (ce = 0, Le = qt.length; ce < Le; ++ce)
|
|
35862
35884
|
$e = Jt(qt[ce].name), xt = Jt(qt[ce].abbr), Mt = Jt(qt[ce].narrow), L.push($e), S.push(xt), Z.push(Mt), q.push($e), q.push(xt), q.push(Mt);
|
|
@@ -35870,10 +35892,10 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35870
35892
|
}), ne(0, ["GG", 2], 0, function() {
|
|
35871
35893
|
return this.isoWeekYear() % 100;
|
|
35872
35894
|
});
|
|
35873
|
-
function
|
|
35895
|
+
function Sn(S, L) {
|
|
35874
35896
|
ne(0, [S, S.length], 0, L);
|
|
35875
35897
|
}
|
|
35876
|
-
|
|
35898
|
+
Sn("gggg", "weekYear"), Sn("ggggg", "weekYear"), Sn("GGGG", "isoWeekYear"), Sn("GGGGG", "isoWeekYear"), Ge("G", or), Ge("g", or), Ge("GG", pt, ht), Ge("gg", pt, ht), Ge("GGGG", St, gt), Ge("gggg", St, gt), Ge("GGGGG", Qt, _t), Ge("ggggg", Qt, _t), xr(
|
|
35877
35899
|
["gggg", "ggggg", "GGGG", "GGGGG"],
|
|
35878
35900
|
function(S, L, Z, q) {
|
|
35879
35901
|
L[q.substr(0, 2)] = Et(S);
|
|
@@ -35881,7 +35903,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35881
35903
|
), xr(["gg", "GG"], function(S, L, Z, q) {
|
|
35882
35904
|
L[q] = o.parseTwoDigitYear(S);
|
|
35883
35905
|
});
|
|
35884
|
-
function
|
|
35906
|
+
function bs(S) {
|
|
35885
35907
|
return nn.call(
|
|
35886
35908
|
this,
|
|
35887
35909
|
S,
|
|
@@ -35891,7 +35913,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35891
35913
|
this.localeData()._week.doy
|
|
35892
35914
|
);
|
|
35893
35915
|
}
|
|
35894
|
-
function
|
|
35916
|
+
function _s(S) {
|
|
35895
35917
|
return nn.call(
|
|
35896
35918
|
this,
|
|
35897
35919
|
S,
|
|
@@ -35901,17 +35923,17 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35901
35923
|
4
|
|
35902
35924
|
);
|
|
35903
35925
|
}
|
|
35904
|
-
function
|
|
35926
|
+
function Ps() {
|
|
35905
35927
|
return Lt(this.year(), 1, 4);
|
|
35906
35928
|
}
|
|
35907
|
-
function
|
|
35929
|
+
function Ns() {
|
|
35908
35930
|
return Lt(this.isoWeekYear(), 1, 4);
|
|
35909
35931
|
}
|
|
35910
|
-
function
|
|
35932
|
+
function qs() {
|
|
35911
35933
|
var S = this.localeData()._week;
|
|
35912
35934
|
return Lt(this.year(), S.dow, S.doy);
|
|
35913
35935
|
}
|
|
35914
|
-
function
|
|
35936
|
+
function Dn() {
|
|
35915
35937
|
var S = this.localeData()._week;
|
|
35916
35938
|
return Lt(this.weekYear(), S.dow, S.doy);
|
|
35917
35939
|
}
|
|
@@ -35926,7 +35948,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35926
35948
|
ne("Q", 0, "Qo", "quarter"), Ge("Q", ot), Ot("Q", function(S, L) {
|
|
35927
35949
|
L[tr] = (Et(S) - 1) * 3;
|
|
35928
35950
|
});
|
|
35929
|
-
function
|
|
35951
|
+
function qn(S) {
|
|
35930
35952
|
return S == null ? Math.ceil((this.month() + 1) / 3) : this.month((S - 1) * 3 + this.month() % 3);
|
|
35931
35953
|
}
|
|
35932
35954
|
ne("D", ["DD", 2], "Do", "date"), Ge("D", pt, se), Ge("DD", pt, ht), Ge("Do", function(S, L) {
|
|
@@ -35934,20 +35956,20 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35934
35956
|
}), Ot(["D", "DD"], Vt), Ot("Do", function(S, L) {
|
|
35935
35957
|
L[Vt] = Et(S.match(pt)[0]);
|
|
35936
35958
|
});
|
|
35937
|
-
var
|
|
35959
|
+
var Ts = oi("Date", !0);
|
|
35938
35960
|
ne("DDD", ["DDDD", 3], "DDDo", "dayOfYear"), Ge("DDD", It), Ge("DDDD", bt), Ot(["DDD", "DDDD"], function(S, L, Z) {
|
|
35939
35961
|
Z._dayOfYear = Et(S);
|
|
35940
35962
|
});
|
|
35941
|
-
function
|
|
35963
|
+
function Ss(S) {
|
|
35942
35964
|
var L = Math.round(
|
|
35943
35965
|
(this.clone().startOf("day") - this.clone().startOf("year")) / 864e5
|
|
35944
35966
|
) + 1;
|
|
35945
35967
|
return S == null ? L : this.add(S - L, "d");
|
|
35946
35968
|
}
|
|
35947
35969
|
ne("m", ["mm", 2], 0, "minute"), Ge("m", pt, Se), Ge("mm", pt, ht), Ot(["m", "mm"], lr);
|
|
35948
|
-
var
|
|
35970
|
+
var Qs = oi("Minutes", !1);
|
|
35949
35971
|
ne("s", ["ss", 2], 0, "second"), Ge("s", pt, Se), Ge("ss", pt, ht), Ot(["s", "ss"], gr);
|
|
35950
|
-
var
|
|
35972
|
+
var Js = oi("Seconds", !1);
|
|
35951
35973
|
ne("S", 0, 0, function() {
|
|
35952
35974
|
return ~~(this.millisecond() / 100);
|
|
35953
35975
|
}), ne(0, ["SS", 2], 0, function() {
|
|
@@ -35965,27 +35987,27 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35965
35987
|
}), ne(0, ["SSSSSSSSS", 9], 0, function() {
|
|
35966
35988
|
return this.millisecond() * 1e6;
|
|
35967
35989
|
}), Ge("S", It, ot), Ge("SS", It, ht), Ge("SSS", It, bt);
|
|
35968
|
-
var Yi,
|
|
35990
|
+
var Yi, Ds;
|
|
35969
35991
|
for (Yi = "SSSS"; Yi.length <= 9; Yi += "S")
|
|
35970
35992
|
Ge(Yi, At);
|
|
35971
|
-
function
|
|
35993
|
+
function Ks(S, L) {
|
|
35972
35994
|
L[Rr] = Et(("0." + S) * 1e3);
|
|
35973
35995
|
}
|
|
35974
35996
|
for (Yi = "S"; Yi.length <= 9; Yi += "S")
|
|
35975
|
-
Ot(Yi,
|
|
35976
|
-
|
|
35977
|
-
function
|
|
35997
|
+
Ot(Yi, Ks);
|
|
35998
|
+
Ds = oi("Milliseconds", !1), ne("z", 0, 0, "zoneAbbr"), ne("zz", 0, 0, "zoneName");
|
|
35999
|
+
function $s() {
|
|
35978
36000
|
return this._isUTC ? "UTC" : "";
|
|
35979
36001
|
}
|
|
35980
|
-
function
|
|
36002
|
+
function Es() {
|
|
35981
36003
|
return this._isUTC ? "Coordinated Universal Time" : "";
|
|
35982
36004
|
}
|
|
35983
36005
|
var dt = M.prototype;
|
|
35984
|
-
dt.add = li, dt.calendar = Ii, dt.clone =
|
|
36006
|
+
dt.add = li, dt.calendar = Ii, dt.clone = Bn, dt.diff = js, dt.endOf = Nn, dt.format = Gs, dt.from = Vs, dt.fromNow = Un, dt.to = Yn, dt.toNow = rn, dt.get = fi, dt.invalidAt = hs, dt.isAfter = rs, dt.isBefore = zn, dt.isBetween = Wn, dt.isSame = bn, dt.isSameOrAfter = jn, dt.isSameOrBefore = Ws, dt.isValid = cs, dt.lang = os, dt.locale = is, dt.localeData = Zn, dt.max = qo, dt.min = Xo, dt.parsingFlags = ds, dt.set = go, dt.startOf = Li, dt.subtract = vr, dt.toArray = Vn, dt.toObject = as, dt.toDate = Eo, dt.toISOString = Ys, dt.inspect = Zs, typeof Symbol < "u" && Symbol.for != null && (dt[Symbol.for("nodejs.util.inspect.custom")] = function() {
|
|
35985
36007
|
return "Moment<" + this.format() + ">";
|
|
35986
|
-
}), dt.toJSON =
|
|
36008
|
+
}), dt.toJSON = ls, dt.toString = Us, dt.unix = Gn, dt.valueOf = ss, dt.creationData = us, dt.eraName = ms, dt.eraNarrow = ys, dt.eraAbbr = vs, dt.eraYear = Xs, dt.year = Yr, dt.isLeapYear = Gi, dt.weekYear = bs, dt.isoWeekYear = _s, dt.quarter = dt.quarters = qn, dt.month = je, dt.daysInMonth = Re, dt.week = dt.weeks = Qi, dt.isoWeek = dt.isoWeeks = Wo, dt.weeksInYear = qs, dt.weeksInWeekYear = Dn, dt.isoWeeksInYear = Ps, dt.isoWeeksInISOWeekYear = Ns, dt.date = Ts, dt.day = dt.days = Rt, dt.weekday = Ln, dt.isoWeekday = Mn, dt.dayOfYear = Ss, dt.hour = dt.hours = kn, dt.minute = dt.minutes = Qs, dt.second = dt.seconds = Js, dt.millisecond = dt.milliseconds = Ds, dt.utcOffset = lo, dt.utc = co, dt.local = bi, dt.parseZone = zi, dt.hasAlignedHourOffset = Wi, dt.isDST = To, dt.isLocal = $o, dt.isUtcOffset = en, dt.isUtc = Ei, dt.isUTC = Ei, dt.zoneAbbr = $s, dt.zoneName = Es, dt.dates = H(
|
|
35987
36009
|
"dates accessor is deprecated. Use date instead.",
|
|
35988
|
-
|
|
36010
|
+
Ts
|
|
35989
36011
|
), dt.months = H(
|
|
35990
36012
|
"months accessor is deprecated. Use month instead",
|
|
35991
36013
|
je
|
|
@@ -35999,17 +36021,17 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35999
36021
|
"isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",
|
|
36000
36022
|
ai
|
|
36001
36023
|
);
|
|
36002
|
-
function
|
|
36024
|
+
function ea(S) {
|
|
36003
36025
|
return fr(S * 1e3);
|
|
36004
36026
|
}
|
|
36005
|
-
function
|
|
36027
|
+
function ta() {
|
|
36006
36028
|
return fr.apply(null, arguments).parseZone();
|
|
36007
36029
|
}
|
|
36008
|
-
function
|
|
36030
|
+
function Qn(S) {
|
|
36009
36031
|
return S;
|
|
36010
36032
|
}
|
|
36011
36033
|
var N = Y.prototype;
|
|
36012
|
-
N.calendar = le, N.longDateFormat = Pe, N.invalidDate = Ve, N.ordinal = xe, N.preparse =
|
|
36034
|
+
N.calendar = le, N.longDateFormat = Pe, N.invalidDate = Ve, N.ordinal = xe, N.preparse = Qn, N.postformat = Qn, N.relativeTime = he, N.pastFuture = $, N.set = z, N.eras = fs, N.erasParse = ps, N.erasConvertYear = gs, N.erasAbbrRegex = Ui, N.erasNameRegex = ws, N.erasNarrowRegex = on, N.months = yo, N.monthsShort = me, N.monthsParse = be, N.monthsRegex = rt, N.monthsShortRegex = it, N.week = hr, N.firstDayOfYear = Pi, N.firstDayOfWeek = kr, N.weekdays = vo, N.weekdaysMin = fn, N.weekdaysShort = mi, N.weekdaysParse = wo, N.weekdaysRegex = Rn, N.weekdaysShortRegex = jo, N.weekdaysMinRegex = gn, N.isPM = $i, N.meridiem = Hn;
|
|
36013
36035
|
function F(S, L, Z, q) {
|
|
36014
36036
|
var ce = Qr(), Le = y().set(q, L);
|
|
36015
36037
|
return ce[Z](Le, S);
|
|
@@ -36154,7 +36176,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
36154
36176
|
return this.isValid() ? this._data[S] : NaN;
|
|
36155
36177
|
};
|
|
36156
36178
|
}
|
|
36157
|
-
var ti = _r("milliseconds"), Fo = _r("seconds"), Wr = _r("minutes"), Tr = _r("hours"),
|
|
36179
|
+
var ti = _r("milliseconds"), Fo = _r("seconds"), Wr = _r("minutes"), Tr = _r("hours"), Jn = _r("days"), an = _r("months"), Io = _r("years");
|
|
36158
36180
|
function Ao() {
|
|
36159
36181
|
return nr(this.days() / 7);
|
|
36160
36182
|
}
|
|
@@ -36174,24 +36196,24 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
36174
36196
|
M: 11
|
|
36175
36197
|
// months to year
|
|
36176
36198
|
};
|
|
36177
|
-
function
|
|
36199
|
+
function ra(S, L, Z, q, ce) {
|
|
36178
36200
|
return ce.relativeTime(L || 1, !!Z, S, q);
|
|
36179
36201
|
}
|
|
36180
|
-
function
|
|
36202
|
+
function Kn(S, L, Z, q) {
|
|
36181
36203
|
var ce = Hr(S).abs(), Le = jr(ce.as("s")), $e = jr(ce.as("m")), xt = jr(ce.as("h")), Mt = jr(ce.as("d")), qt = jr(ce.as("M")), Lr = jr(ce.as("w")), ci = jr(ce.as("y")), di = Le <= Z.ss && ["s", Le] || Le < Z.s && ["ss", Le] || $e <= 1 && ["m"] || $e < Z.m && ["mm", $e] || xt <= 1 && ["h"] || xt < Z.h && ["hh", xt] || Mt <= 1 && ["d"] || Mt < Z.d && ["dd", Mt];
|
|
36182
|
-
return Z.w != null && (di = di || Lr <= 1 && ["w"] || Lr < Z.w && ["ww", Lr]), di = di || qt <= 1 && ["M"] || qt < Z.M && ["MM", qt] || ci <= 1 && ["y"] || ["yy", ci], di[2] = L, di[3] = +S > 0, di[4] = q,
|
|
36204
|
+
return Z.w != null && (di = di || Lr <= 1 && ["w"] || Lr < Z.w && ["ww", Lr]), di = di || qt <= 1 && ["M"] || qt < Z.M && ["MM", qt] || ci <= 1 && ["y"] || ["yy", ci], di[2] = L, di[3] = +S > 0, di[4] = q, ra.apply(null, di);
|
|
36183
36205
|
}
|
|
36184
|
-
function
|
|
36206
|
+
function Fs(S) {
|
|
36185
36207
|
return S === void 0 ? jr : typeof S == "function" ? (jr = S, !0) : !1;
|
|
36186
36208
|
}
|
|
36187
|
-
function
|
|
36209
|
+
function Is(S, L) {
|
|
36188
36210
|
return Zi[S] === void 0 ? !1 : L === void 0 ? Zi[S] : (Zi[S] = L, S === "s" && (Zi.ss = L - 1), !0);
|
|
36189
36211
|
}
|
|
36190
|
-
function
|
|
36212
|
+
function ia(S, L) {
|
|
36191
36213
|
if (!this.isValid())
|
|
36192
36214
|
return this.localeData().invalidDate();
|
|
36193
36215
|
var Z = !1, q = Zi, ce, Le;
|
|
36194
|
-
return typeof S == "object" && (L = S, S = !1), typeof S == "boolean" && (Z = S), typeof L == "object" && (q = Object.assign({}, Zi, L), L.s != null && L.ss == null && (q.ss = L.s - 1)), ce = this.localeData(), Le =
|
|
36216
|
+
return typeof S == "object" && (L = S, S = !1), typeof S == "boolean" && (Z = S), typeof L == "object" && (q = Object.assign({}, Zi, L), L.s != null && L.ss == null && (q.ss = L.s - 1)), ce = this.localeData(), Le = Kn(this, !Z, q, ce), Z && (Le = ce.pastFuture(+this, Le)), ce.postformat(Le);
|
|
36195
36217
|
}
|
|
36196
36218
|
var cn = Math.abs;
|
|
36197
36219
|
function ri(S) {
|
|
@@ -36204,16 +36226,16 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
36204
36226
|
return xt ? (q = nr(S / 60), ce = nr(q / 60), S %= 60, q %= 60, Le = nr(Z / 12), Z %= 12, $e = S ? S.toFixed(3).replace(/\.?0+$/, "") : "", Mt = xt < 0 ? "-" : "", qt = ri(this._months) !== ri(xt) ? "-" : "", Lr = ri(this._days) !== ri(xt) ? "-" : "", ci = ri(this._milliseconds) !== ri(xt) ? "-" : "", Mt + "P" + (Le ? qt + Le + "Y" : "") + (Z ? qt + Z + "M" : "") + (L ? Lr + L + "D" : "") + (ce || q || S ? "T" : "") + (ce ? ci + ce + "H" : "") + (q ? ci + q + "M" : "") + (S ? ci + $e + "S" : "")) : "P0D";
|
|
36205
36227
|
}
|
|
36206
36228
|
var er = Bi.prototype;
|
|
36207
|
-
er.isValid = no, er.abs = Ee, er.add = Xe, er.subtract = qe, er.as = tt, er.asMilliseconds = nt, er.asSeconds = yt, er.asMinutes = wt, er.asHours = Nt, er.asDays = Ft, er.asWeeks = pr, er.asMonths = rr, er.asQuarters = ir, er.asYears = Ir, er.valueOf = Ar, er._bubble = et, er.clone = zr, er.get = _i, er.milliseconds = ti, er.seconds = Fo, er.minutes = Wr, er.hours = Tr, er.days =
|
|
36229
|
+
er.isValid = no, er.abs = Ee, er.add = Xe, er.subtract = qe, er.as = tt, er.asMilliseconds = nt, er.asSeconds = yt, er.asMinutes = wt, er.asHours = Nt, er.asDays = Ft, er.asWeeks = pr, er.asMonths = rr, er.asQuarters = ir, er.asYears = Ir, er.valueOf = Ar, er._bubble = et, er.clone = zr, er.get = _i, er.milliseconds = ti, er.seconds = Fo, er.minutes = Wr, er.hours = Tr, er.days = Jn, er.weeks = Ao, er.months = an, er.years = Io, er.humanize = ia, er.toISOString = Lo, er.toString = Lo, er.toJSON = Lo, er.locale = is, er.localeData = Zn, er.toIsoString = H(
|
|
36208
36230
|
"toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",
|
|
36209
36231
|
Lo
|
|
36210
|
-
), er.lang =
|
|
36232
|
+
), er.lang = os, ne("X", 0, 0, "unix"), ne("x", 0, 0, "valueOf"), Ge("x", or), Ge("X", Gt), Ot("X", function(S, L, Z) {
|
|
36211
36233
|
Z._d = new Date(parseFloat(S) * 1e3);
|
|
36212
36234
|
}), Ot("x", function(S, L, Z) {
|
|
36213
36235
|
Z._d = new Date(Et(S));
|
|
36214
36236
|
});
|
|
36215
36237
|
//! moment.js
|
|
36216
|
-
return o.version = "2.30.1", n(fr), o.fn = dt, o.min = Qo, o.max = Jr, o.now = Dr, o.utc = y, o.unix =
|
|
36238
|
+
return o.version = "2.30.1", n(fr), o.fn = dt, o.min = Qo, o.max = Jr, o.now = Dr, o.utc = y, o.unix = ea, o.months = K, o.isDate = p, o.locale = wi, o.invalid = D, o.duration = Hr, o.isMoment = R, o.weekdays = re, o.parseZone = ta, o.localeData = Qr, o.isDuration = Er, o.monthsShort = te, o.weekdaysMin = de, o.defineLocale = qr, o.updateLocale = xi, o.locales = Co, o.weekdaysShort = oe, o.normalizeUnits = Be, o.relativeTimeRounding = Fs, o.relativeTimeThreshold = Is, o.calendarFormat = Xr, o.prototype = dt, o.HTML5_FMT = {
|
|
36217
36239
|
DATETIME_LOCAL: "YYYY-MM-DDTHH:mm",
|
|
36218
36240
|
// <input type="datetime-local" />
|
|
36219
36241
|
DATETIME_LOCAL_SECONDS: "YYYY-MM-DDTHH:mm:ss",
|
|
@@ -37892,7 +37914,7 @@ class DrawImageNode extends DrawCombineNode {
|
|
|
37892
37914
|
b(this, "_bitMap");
|
|
37893
37915
|
b(this, "_imageManager");
|
|
37894
37916
|
const f = HOEditorFactorys.instance().getFactory(r);
|
|
37895
|
-
this._imageManager =
|
|
37917
|
+
this._imageManager = ImageManager.getInstance(r);
|
|
37896
37918
|
const p = f.vueController.getMainBounds(c, d);
|
|
37897
37919
|
this.dWidth = Number(p.imageWidth), this.dHeight = Number(p.imageHeight), this._imagePath = l, this._markImagePath = u, this._imageY = -this.dHeight, this.insertImage(), this._drawResize = new DrawResize(r, this.node, this, this._imageY);
|
|
37898
37920
|
}
|
|
@@ -37907,13 +37929,13 @@ class DrawImageNode extends DrawCombineNode {
|
|
|
37907
37929
|
}
|
|
37908
37930
|
insertImage() {
|
|
37909
37931
|
const r = this;
|
|
37910
|
-
this._imageManager.addImageQueue(new Promise((o) => {
|
|
37932
|
+
this._imageManager.addImageQueue(this, () => new Promise((o) => {
|
|
37911
37933
|
const n = new Image();
|
|
37912
37934
|
process.env.NODE_ENV === "production" || !this.imagePath.startsWith("http") ? n.src = this.imagePath : n.src = "http://192.168.1.211:8088" + this.imagePath, this._bitMap = new createjs$1.Bitmap(n);
|
|
37913
37935
|
const s = HOEditorFactorys.instance().getFactory(r.node.hoEditorFactoryID);
|
|
37914
37936
|
this._bitMap.y = this._imageY, this._bitMap.x = 0, this._bitMap.name = this.node.id;
|
|
37915
37937
|
const l = new createjs$1.Shape();
|
|
37916
|
-
l.graphics.beginFill("#000").drawRect(0, 0, r.dWidth, r.dHeight), this._bitMap.hitArea = l, this._bitMap.setBounds(0, 0, r.dWidth, r.dHeight), this.
|
|
37938
|
+
l.graphics.beginFill("#000").drawRect(0, 0, r.dWidth, r.dHeight), this._bitMap.hitArea = l, this._bitMap.setBounds(0, 0, r.dWidth, r.dHeight), this.addChild(this._bitMap), n.onload = () => {
|
|
37917
37939
|
const c = () => {
|
|
37918
37940
|
const d = n.naturalWidth !== 0 ? n.naturalWidth : n.width, u = n.naturalHeight !== 0 ? n.naturalHeight : n.height;
|
|
37919
37941
|
this._bitMap.setTransform(0, r._imageY, r.dWidth / d, r.dHeight / u), this._bitMap.setBounds(0, 0, n.naturalWidth, n.naturalHeight);
|
|
@@ -37924,9 +37946,9 @@ class DrawImageNode extends DrawCombineNode {
|
|
|
37924
37946
|
const g = p.toDataURL("image/jpeg", 0.92);
|
|
37925
37947
|
g < this.node.imageDataBase64String && (this.node.imageDataBase64String = g);
|
|
37926
37948
|
}
|
|
37927
|
-
|
|
37949
|
+
o(r);
|
|
37928
37950
|
};
|
|
37929
|
-
s.drawTree.paintStatus === PaintState$1.psPreview && s.isFixPrint ? setTimeout(() => c(),
|
|
37951
|
+
s.drawTree.paintStatus === PaintState$1.psPreview && s.isFixPrint ? setTimeout(() => c(), this._imageManager.THROTTLE_DELAY) : c();
|
|
37930
37952
|
}, this.markImagePath != "" && this.insertMarkImage(), n.onerror = () => {
|
|
37931
37953
|
if (this._imageManager.onErrorCallBack(this), o(r), !r.node.isBackFill) {
|
|
37932
37954
|
const c = this.node.previousLeaf().getNodePath();
|
|
@@ -37938,25 +37960,18 @@ class DrawImageNode extends DrawCombineNode {
|
|
|
37938
37960
|
}));
|
|
37939
37961
|
}
|
|
37940
37962
|
insertMarkImage() {
|
|
37941
|
-
const r = this, o = HOEditorFactorys.instance().getFactory(r.node.hoEditorFactoryID);
|
|
37942
|
-
|
|
37943
|
-
|
|
37944
|
-
|
|
37945
|
-
|
|
37946
|
-
|
|
37947
|
-
|
|
37948
|
-
|
|
37949
|
-
|
|
37950
|
-
|
|
37951
|
-
|
|
37952
|
-
|
|
37953
|
-
this._imageManager.onErrorCallBack(this), n(r);
|
|
37954
|
-
const c = this.node.previousLeaf().getNodePath();
|
|
37955
|
-
o.docTree.deleteNode(this.node);
|
|
37956
|
-
const d = new NodeChangeEvent(this._hoEditorFactoryID, DocAction.daModifyStyle, c, c);
|
|
37957
|
-
d.oldEndPath = c, d.afterChangePath = c, d.oldDrawLines = new SelectRange(this._hoEditorFactoryID).getRangeDrawLines(c, c, !0, !0), o.docTree.change(d);
|
|
37958
|
-
};
|
|
37959
|
-
}));
|
|
37963
|
+
const r = this, o = HOEditorFactorys.instance().getFactory(r.node.hoEditorFactoryID), n = new Image();
|
|
37964
|
+
let s;
|
|
37965
|
+
n.src = this.markImagePath, s = new createjs$1.Bitmap(n), s.name = this.node.id, s.setBounds(0, 0, r.dWidth, r.dHeight), r.addChild(s), n.onload = () => {
|
|
37966
|
+
s.x = 0, s.y = 0;
|
|
37967
|
+
const l = n.naturalWidth !== 0 ? n.naturalWidth : n.width, c = n.naturalHeight !== 0 ? n.naturalHeight : n.height;
|
|
37968
|
+
s.setTransform(0, r._imageY, r.dWidth / l, r.dHeight / c), new createjs$1.Shape().graphics.beginFill("#000000").drawRect(0, 0, l, c);
|
|
37969
|
+
}, n.onerror = () => {
|
|
37970
|
+
const l = this.node.previousLeaf().getNodePath();
|
|
37971
|
+
o.docTree.deleteNode(this.node);
|
|
37972
|
+
const c = new NodeChangeEvent(this._hoEditorFactoryID, DocAction.daModifyStyle, l, l);
|
|
37973
|
+
c.oldEndPath = l, c.afterChangePath = l, c.oldDrawLines = new SelectRange(this._hoEditorFactoryID).getRangeDrawLines(l, l, !0, !0), o.docTree.change(c);
|
|
37974
|
+
};
|
|
37960
37975
|
}
|
|
37961
37976
|
// --内部不在调用
|
|
37962
37977
|
updateSign() {
|
|
@@ -37967,7 +37982,9 @@ class DrawImageNode extends DrawCombineNode {
|
|
|
37967
37982
|
}
|
|
37968
37983
|
}
|
|
37969
37984
|
clone() {
|
|
37970
|
-
const r = new createjs$1.Container()
|
|
37985
|
+
const r = new createjs$1.Container();
|
|
37986
|
+
if (!this._bitMap) return r;
|
|
37987
|
+
const o = this._bitMap.clone();
|
|
37971
37988
|
return o.name = this.node.id, this._cloneProps && this._cloneProps(r), r.removeAllChildren(), r.addChild(o), r;
|
|
37972
37989
|
}
|
|
37973
37990
|
}
|
|
@@ -46744,20 +46761,20 @@ const createHistoryInstance = (a, t) => {
|
|
|
46744
46761
|
t.innerHTML = "";
|
|
46745
46762
|
});
|
|
46746
46763
|
}
|
|
46747
|
-
},
|
|
46764
|
+
}, zs = class zs {
|
|
46748
46765
|
constructor() {
|
|
46749
46766
|
b(this, "fontSize", "35");
|
|
46750
46767
|
b(this, "borderColor", "#F00");
|
|
46751
46768
|
}
|
|
46752
46769
|
static instance() {
|
|
46753
|
-
return this._instance || (this._instance = new
|
|
46770
|
+
return this._instance || (this._instance = new zs()), this._instance;
|
|
46754
46771
|
}
|
|
46755
46772
|
setConfig(t) {
|
|
46756
46773
|
this.fontSize = t.fontSize ? t.fontSize : "35", this.borderColor = t.borderColor ? t.borderColor : "35";
|
|
46757
46774
|
}
|
|
46758
46775
|
};
|
|
46759
|
-
b(
|
|
46760
|
-
let HoFabricConfig =
|
|
46776
|
+
b(zs, "_instance");
|
|
46777
|
+
let HoFabricConfig = zs;
|
|
46761
46778
|
const initLanguage = async (a, t) => {
|
|
46762
46779
|
i18n.locale = a, i18n.setLocaleMessage(a, t);
|
|
46763
46780
|
};
|
|
@@ -55606,7 +55623,7 @@ function jsPDF(a) {
|
|
|
55606
55623
|
g.ShadingPattern = ShadingPattern, g.TilingPattern = TilingPattern, g.addShadingPattern = function(W, V) {
|
|
55607
55624
|
return M("addShadingPattern()"), Nr(W, V), this;
|
|
55608
55625
|
}, g.beginTilingPattern = function(W) {
|
|
55609
|
-
M("beginTilingPattern()"),
|
|
55626
|
+
M("beginTilingPattern()"), wn(W.boundingBox[0], W.boundingBox[1], W.boundingBox[2] - W.boundingBox[0], W.boundingBox[3] - W.boundingBox[1], W.matrix);
|
|
55610
55627
|
}, g.endTilingPattern = function(W, V) {
|
|
55611
55628
|
M("endTilingPattern()"), V.stream = pe[Pe].join(`
|
|
55612
55629
|
`), Nr(W, V), se.publish("endTilingPattern", V), Dt.pop().restore();
|
|
@@ -56074,7 +56091,7 @@ Q`), tr(We, !0), Or({
|
|
|
56074
56091
|
We > Ze && (o = [Ze, We]);
|
|
56075
56092
|
break;
|
|
56076
56093
|
}
|
|
56077
|
-
ut(o),
|
|
56094
|
+
ut(o), yn(Yo), xe(eo), qr !== 0 && xe(qr + " J"), xi !== 0 && xe(xi + " j"), se.publish("addPage", {
|
|
56078
56095
|
pageNumber: Gt
|
|
56079
56096
|
});
|
|
56080
56097
|
}, zt = function(V) {
|
|
@@ -56246,11 +56263,11 @@ Q`), tr(We, !0), Or({
|
|
|
56246
56263
|
}
|
|
56247
56264
|
var Pr = null;
|
|
56248
56265
|
ie(), G();
|
|
56249
|
-
var
|
|
56266
|
+
var Fn = function(V) {
|
|
56250
56267
|
return f !== null ? Pr.encryptor(V, 0) : function(ve) {
|
|
56251
56268
|
return ve;
|
|
56252
56269
|
};
|
|
56253
|
-
},
|
|
56270
|
+
}, un = g.__private__.getPageInfo = g.getPageInfo = function(W) {
|
|
56254
56271
|
if (isNaN(W) || W % 1 !== 0)
|
|
56255
56272
|
throw new Error("Invalid argument passed to jsPDF.getPageInfo");
|
|
56256
56273
|
var V = ee[W].objId;
|
|
@@ -56259,14 +56276,14 @@ Q`), tr(We, !0), Or({
|
|
|
56259
56276
|
pageNumber: W,
|
|
56260
56277
|
pageContext: ee[W]
|
|
56261
56278
|
};
|
|
56262
|
-
},
|
|
56279
|
+
}, In = g.__private__.getPageInfoByObjId = function(W) {
|
|
56263
56280
|
if (isNaN(W) || W % 1 !== 0)
|
|
56264
56281
|
throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");
|
|
56265
56282
|
for (var V in ee)
|
|
56266
56283
|
if (ee[V].objId === W)
|
|
56267
56284
|
break;
|
|
56268
|
-
return
|
|
56269
|
-
},
|
|
56285
|
+
return un(V);
|
|
56286
|
+
}, An = g.__private__.getCurrentPageInfo = g.getCurrentPageInfo = function() {
|
|
56270
56287
|
return {
|
|
56271
56288
|
objId: ee[Pe].objId,
|
|
56272
56289
|
pageNumber: Pe,
|
|
@@ -56325,7 +56342,7 @@ Q`), tr(We, !0), Or({
|
|
|
56325
56342
|
if (typeof vr == "string")
|
|
56326
56343
|
dr = ar(vr)[0];
|
|
56327
56344
|
else if (Array.isArray(vr)) {
|
|
56328
|
-
for (var Fr = vr.concat(), Cr = [],
|
|
56345
|
+
for (var Fr = vr.concat(), Cr = [], Cn = Fr.length, Xr, Ii; Cn--; )
|
|
56329
56346
|
Xr = Fr.shift(), typeof Xr == "string" ? Cr.push(ar(Xr)[0]) : Array.isArray(Xr) && typeof Xr[0] == "string" && (Ii = ar(Xr[0], Xr[1], Xr[2]), Cr.push([Ii[0], Ii[1], Ii[2]]));
|
|
56330
56347
|
dr = Cr;
|
|
56331
56348
|
}
|
|
@@ -56417,9 +56434,9 @@ Q`), tr(We, !0), Or({
|
|
|
56417
56434
|
Er = 7;
|
|
56418
56435
|
break;
|
|
56419
56436
|
}
|
|
56420
|
-
var
|
|
56437
|
+
var xn = typeof so.usedRenderingMode < "u" ? so.usedRenderingMode : -1;
|
|
56421
56438
|
Er !== -1 ? br += Er + ` Tr
|
|
56422
|
-
` :
|
|
56439
|
+
` : xn !== -1 && (br += `0 Tr
|
|
56423
56440
|
`), Er !== -1 && (so.usedRenderingMode = Er), Bt = Fe.align || "left";
|
|
56424
56441
|
var Ko = Ne * Oi, ao = Ze.internal.pageSize.getWidth(), No = pt[Ct];
|
|
56425
56442
|
Ht = Fe.charSpace || Ti, Kt = Fe.maxWidth || 0;
|
|
@@ -56522,7 +56539,7 @@ T* `) : W.join(` Tj
|
|
|
56522
56539
|
g.__private__.setDefaultPathOperation = g.setDefaultPathOperation = function(W) {
|
|
56523
56540
|
return mi(W) && (u = W), this;
|
|
56524
56541
|
};
|
|
56525
|
-
var
|
|
56542
|
+
var fn = g.__private__.getStyle = g.getStyle = function(W) {
|
|
56526
56543
|
var V = u;
|
|
56527
56544
|
switch (W) {
|
|
56528
56545
|
case "D":
|
|
@@ -56544,7 +56561,7 @@ T* `) : W.join(` Tj
|
|
|
56544
56561
|
break;
|
|
56545
56562
|
}
|
|
56546
56563
|
return V;
|
|
56547
|
-
},
|
|
56564
|
+
}, pn = g.close = function() {
|
|
56548
56565
|
return xe("h"), this;
|
|
56549
56566
|
};
|
|
56550
56567
|
g.stroke = function() {
|
|
@@ -56559,25 +56576,25 @@ T* `) : W.join(` Tj
|
|
|
56559
56576
|
return wo("B*", W), this;
|
|
56560
56577
|
};
|
|
56561
56578
|
var wo = function(V, ve) {
|
|
56562
|
-
_typeof(ve) === "object" ?
|
|
56579
|
+
_typeof(ve) === "object" ? Mn(ve, V) : xe(V);
|
|
56563
56580
|
}, Rt = function(V) {
|
|
56564
|
-
V === null || D === _.ADVANCED && V === void 0 || (V =
|
|
56581
|
+
V === null || D === _.ADVANCED && V === void 0 || (V = fn(V), xe(V));
|
|
56565
56582
|
};
|
|
56566
|
-
function
|
|
56583
|
+
function Ln(W, V, ve, Fe, We) {
|
|
56567
56584
|
var Ze = new TilingPattern(V || this.boundingBox, ve || this.xStep, Fe || this.yStep, this.gState, We || this.matrix);
|
|
56568
56585
|
Ze.stream = this.stream;
|
|
56569
56586
|
var lt = W + "$$" + this.cloneIndex++ + "$$";
|
|
56570
56587
|
return Nr(lt, Ze), Ze;
|
|
56571
56588
|
}
|
|
56572
|
-
var
|
|
56589
|
+
var Mn = function(V, ve) {
|
|
56573
56590
|
var Fe = Qt[V.key], We = St[Fe];
|
|
56574
56591
|
if (We instanceof ShadingPattern)
|
|
56575
|
-
xe("q"), xe(
|
|
56592
|
+
xe("q"), xe(Rn(ve)), We.gState && g.setGState(We.gState), xe(V.matrix.toString() + " cm"), xe("/" + Fe + " sh"), xe("Q");
|
|
56576
56593
|
else if (We instanceof TilingPattern) {
|
|
56577
56594
|
var Ze = new Pt(1, 0, 0, -1, 0, Di());
|
|
56578
|
-
V.matrix && (Ze = Ze.multiply(V.matrix || xr), Fe =
|
|
56595
|
+
V.matrix && (Ze = Ze.multiply(V.matrix || xr), Fe = Ln.call(We, V.key, V.boundingBox, V.xStep, V.yStep, Ze).id), xe("q"), xe("/Pattern cs"), xe("/" + Fe + " scn"), We.gState && g.setGState(We.gState), xe(ve), xe("Q");
|
|
56579
56596
|
}
|
|
56580
|
-
},
|
|
56597
|
+
}, Rn = function(V) {
|
|
56581
56598
|
switch (V) {
|
|
56582
56599
|
case "f":
|
|
56583
56600
|
case "F":
|
|
@@ -56597,7 +56614,7 @@ T* `) : W.join(` Tj
|
|
|
56597
56614
|
}
|
|
56598
56615
|
}, jo = g.moveTo = function(W, V) {
|
|
56599
56616
|
return xe(A(j(W)) + " " + A(z(V)) + " m"), this;
|
|
56600
|
-
},
|
|
56617
|
+
}, gn = g.lineTo = function(W, V) {
|
|
56601
56618
|
return xe(A(j(W)) + " " + A(z(V)) + " l"), this;
|
|
56602
56619
|
}, yi = g.curveTo = function(W, V, ve, Fe, We, Ze) {
|
|
56603
56620
|
return xe([A(j(W)), A(z(V)), A(j(ve)), A(z(Fe)), A(j(We)), A(z(Ze)), "c"].join(" ")), this;
|
|
@@ -56611,8 +56628,8 @@ T* `) : W.join(` Tj
|
|
|
56611
56628
|
if (typeof W == "number" && (Br = ve, ve = V, V = W, W = Br), Fe = Fe || [1, 1], Ze = Ze || !1, isNaN(V) || isNaN(ve) || !Array.isArray(W) || !Array.isArray(Fe) || !mi(We) || typeof Ze != "boolean")
|
|
56612
56629
|
throw new Error("Invalid arguments passed to jsPDF.lines");
|
|
56613
56630
|
for (jo(V, ve), lt = Fe[0], ft = Fe[1], Bt = W.length, ur = V, br = ve, mt = 0; mt < Bt; mt++)
|
|
56614
|
-
Ht = W[mt], Ht.length === 2 ? (ur = Ht[0] * lt + ur, br = Ht[1] * ft + br,
|
|
56615
|
-
return Ze &&
|
|
56631
|
+
Ht = W[mt], Ht.length === 2 ? (ur = Ht[0] * lt + ur, br = Ht[1] * ft + br, gn(ur, br)) : (Kt = Ht[0] * lt + ur, $t = Ht[1] * ft + br, yr = Ht[2] * lt + ur, Sr = Ht[3] * ft + br, ur = Ht[4] * lt + ur, br = Ht[5] * ft + br, yi(Kt, $t, yr, Sr, ur, br));
|
|
56632
|
+
return Ze && pn(), Rt(We), this;
|
|
56616
56633
|
}, g.path = function(W) {
|
|
56617
56634
|
for (var V = 0; V < W.length; V++) {
|
|
56618
56635
|
var ve = W[V], Fe = ve.c;
|
|
@@ -56621,13 +56638,13 @@ T* `) : W.join(` Tj
|
|
|
56621
56638
|
jo(Fe[0], Fe[1]);
|
|
56622
56639
|
break;
|
|
56623
56640
|
case "l":
|
|
56624
|
-
|
|
56641
|
+
gn(Fe[0], Fe[1]);
|
|
56625
56642
|
break;
|
|
56626
56643
|
case "c":
|
|
56627
56644
|
yi.apply(this, Fe);
|
|
56628
56645
|
break;
|
|
56629
56646
|
case "h":
|
|
56630
|
-
|
|
56647
|
+
pn();
|
|
56631
56648
|
break;
|
|
56632
56649
|
}
|
|
56633
56650
|
}
|
|
@@ -56698,9 +56715,9 @@ T* `) : W.join(` Tj
|
|
|
56698
56715
|
var Ze = ["StandardEncoding", "MacRomanEncoding", "Identity-H", "WinAnsiEncoding"];
|
|
56699
56716
|
return arguments[3] && Ze.indexOf(arguments[3]) !== -1 ? We = arguments[3] : arguments[3] && Ze.indexOf(arguments[3]) == -1 && (ve = I(ve, Fe)), We = We || "Identity-H", Re.call(this, W, V, ve, We);
|
|
56700
56717
|
};
|
|
56701
|
-
var Yo = a.lineWidth || 0.200025,
|
|
56718
|
+
var Yo = a.lineWidth || 0.200025, mn = g.__private__.getLineWidth = g.getLineWidth = function() {
|
|
56702
56719
|
return Yo;
|
|
56703
|
-
},
|
|
56720
|
+
}, yn = g.__private__.setLineWidth = g.setLineWidth = function(W) {
|
|
56704
56721
|
return Yo = W, xe(A(j(W)) + " w"), this;
|
|
56705
56722
|
};
|
|
56706
56723
|
g.__private__.setLineDash = jsPDF.API.setLineDash = jsPDF.API.setLineDashPattern = function(W, V) {
|
|
@@ -56716,12 +56733,12 @@ T* `) : W.join(` Tj
|
|
|
56716
56733
|
g.__private__.getLineHeight = g.getLineHeight = function() {
|
|
56717
56734
|
return Ne * $i;
|
|
56718
56735
|
};
|
|
56719
|
-
var
|
|
56736
|
+
var kn = g.__private__.setLineHeightFactor = g.setLineHeightFactor = function(W) {
|
|
56720
56737
|
return W = W || 1.15, typeof W == "number" && ($i = W), this;
|
|
56721
|
-
},
|
|
56738
|
+
}, Hn = g.__private__.getLineHeightFactor = g.getLineHeightFactor = function() {
|
|
56722
56739
|
return $i;
|
|
56723
56740
|
};
|
|
56724
|
-
|
|
56741
|
+
kn(a.lineHeight);
|
|
56725
56742
|
var Ni = g.__private__.getHorizontalCoordinate = function(W) {
|
|
56726
56743
|
return j(W);
|
|
56727
56744
|
}, sr = g.__private__.getVerticalCoordinate = function(W) {
|
|
@@ -56761,7 +56778,7 @@ T* `) : W.join(` Tj
|
|
|
56761
56778
|
};
|
|
56762
56779
|
return to = Rr(We), xe(to), this;
|
|
56763
56780
|
};
|
|
56764
|
-
var Hi = a.textColor || "0 g",
|
|
56781
|
+
var Hi = a.textColor || "0 g", vn = g.__private__.getTextColor = g.getTextColor = function() {
|
|
56765
56782
|
return gr(Hi);
|
|
56766
56783
|
};
|
|
56767
56784
|
g.__private__.setTextColor = g.setTextColor = function(W, V, ve, Fe) {
|
|
@@ -56910,9 +56927,9 @@ T* `) : W.join(` Tj
|
|
|
56910
56927
|
Zo.prototype.restore = function() {
|
|
56911
56928
|
Gt = this.page, Pe = this.currentPage, ee = this.pagesContext, pe = this.pages, Ut = this.x, Jt = this.y, nr = this.matrix, Go(Pe, this.width), Vo(Pe, this.height), Ve = this.outputDestination;
|
|
56912
56929
|
};
|
|
56913
|
-
var
|
|
56930
|
+
var wn = function(V, ve, Fe, We, Ze) {
|
|
56914
56931
|
Dt.push(new Zo()), Gt = Pe = 0, pe = [], Ut = V, Jt = ve, nr = Ze, ut([Fe, We]);
|
|
56915
|
-
},
|
|
56932
|
+
}, On = function(V) {
|
|
56916
56933
|
if (Ge[V]) {
|
|
56917
56934
|
Dt.pop().restore();
|
|
56918
56935
|
return;
|
|
@@ -56921,9 +56938,9 @@ T* `) : W.join(` Tj
|
|
|
56921
56938
|
ve.id = Fe, Ge[V] = Fe, Ue[Fe] = ve, se.publish("addFormObject", ve), Dt.pop().restore();
|
|
56922
56939
|
};
|
|
56923
56940
|
g.beginFormObject = function(W, V, ve, Fe, We) {
|
|
56924
|
-
return
|
|
56941
|
+
return wn(W, V, ve, Fe, We), this;
|
|
56925
56942
|
}, g.endFormObject = function(W) {
|
|
56926
|
-
return
|
|
56943
|
+
return On(W), this;
|
|
56927
56944
|
}, g.doFormObject = function(W, V) {
|
|
56928
56945
|
var ve = Ue[Ge[W]];
|
|
56929
56946
|
return xe("q"), xe(V.toString() + " cm"), xe("/" + ve.id + " Do"), xe("Q"), this;
|
|
@@ -56963,14 +56980,14 @@ T* `) : W.join(` Tj
|
|
|
56963
56980
|
};
|
|
56964
56981
|
return g.internal = {
|
|
56965
56982
|
pdfEscape: at,
|
|
56966
|
-
getStyle:
|
|
56983
|
+
getStyle: fn,
|
|
56967
56984
|
getFont: Uo,
|
|
56968
56985
|
getFontSize: Be,
|
|
56969
56986
|
getCharSpace: wi,
|
|
56970
|
-
getTextColor:
|
|
56987
|
+
getTextColor: vn,
|
|
56971
56988
|
getLineHeight: xo,
|
|
56972
|
-
getLineHeightFactor:
|
|
56973
|
-
getLineWidth:
|
|
56989
|
+
getLineHeightFactor: Hn,
|
|
56990
|
+
getLineWidth: mn,
|
|
56974
56991
|
write: ae,
|
|
56975
56992
|
getHorizontalCoordinate: Ni,
|
|
56976
56993
|
getVerticalCoordinate: sr,
|
|
@@ -57001,16 +57018,16 @@ T* `) : W.join(` Tj
|
|
|
57001
57018
|
},
|
|
57002
57019
|
encryptionOptions: f,
|
|
57003
57020
|
encryption: Pr,
|
|
57004
|
-
getEncryptor:
|
|
57021
|
+
getEncryptor: Fn,
|
|
57005
57022
|
output: Ki,
|
|
57006
57023
|
getNumberOfPages: Lt,
|
|
57007
57024
|
pages: pe,
|
|
57008
57025
|
out: xe,
|
|
57009
57026
|
f2: H,
|
|
57010
57027
|
f3: O,
|
|
57011
|
-
getPageInfo:
|
|
57012
|
-
getPageInfoByObjId:
|
|
57013
|
-
getCurrentPageInfo:
|
|
57028
|
+
getPageInfo: un,
|
|
57029
|
+
getPageInfoByObjId: In,
|
|
57030
|
+
getCurrentPageInfo: An,
|
|
57014
57031
|
getPDFVersion: w,
|
|
57015
57032
|
Point: Co,
|
|
57016
57033
|
Rectangle: bo,
|
|
@@ -62334,7 +62351,7 @@ function WebPDecoder(a) {
|
|
|
62334
62351
|
}
|
|
62335
62352
|
function Ce(N, F) {
|
|
62336
62353
|
if (t(0 <= F), !N.h && F <= Ko) {
|
|
62337
|
-
var k = _e(N) &
|
|
62354
|
+
var k = _e(N) & xn[F];
|
|
62338
62355
|
return N.u += F, ne(N), k;
|
|
62339
62356
|
}
|
|
62340
62357
|
return N.h = 1, N.u = 0;
|
|
@@ -62505,7 +62522,7 @@ function WebPDecoder(a) {
|
|
|
62505
62522
|
U[F][0] = U[N + "0"], U[F][1] = U[N + "1"], U[F][2] = U[N + "2"], U[F][3] = U[N + "3"], U[F][4] = U[N + "4"], U[F][5] = U[N + "5"], U[F][6] = U[N + "6"], U[F][7] = U[N + "7"], U[F][8] = U[N + "8"], U[F][9] = U[N + "9"], U[F][10] = U[N + "10"], U[F][11] = U[N + "11"], U[F][12] = U[N + "12"], U[F][13] = U[N + "13"], U[F][14] = U[N + "0"], U[F][15] = U[N + "0"];
|
|
62506
62523
|
}
|
|
62507
62524
|
function Ue(N) {
|
|
62508
|
-
return N ==
|
|
62525
|
+
return N == zn || N == Wn || N == bn || N == jn;
|
|
62509
62526
|
}
|
|
62510
62527
|
function Ge() {
|
|
62511
62528
|
this.eb = [], this.size = this.A = this.fb = 0;
|
|
@@ -62534,17 +62551,17 @@ function WebPDecoder(a) {
|
|
|
62534
62551
|
function Ot(N, F, k) {
|
|
62535
62552
|
var B = N.F, K = [N.J];
|
|
62536
62553
|
if (B != null) {
|
|
62537
|
-
var te = N.U, re = F.ba.S, oe = re == Ii || re ==
|
|
62554
|
+
var te = N.U, re = F.ba.S, oe = re == Ii || re == bn;
|
|
62538
62555
|
F = F.ba.f.RGBA;
|
|
62539
62556
|
var de = [0], Ee = N.ka;
|
|
62540
62557
|
de[0] = N.T, N.Kb && (Ee == 0 ? --de[0] : (--Ee, K[0] -= N.width), N.j + N.ka + N.T == N.o && (de[0] = N.o - N.j - Ee));
|
|
62541
62558
|
var fe = F.eb, Ee = F.fb + Ee * F.A;
|
|
62542
|
-
N =
|
|
62559
|
+
N = xs(B, K[0], N.width, te, de, fe, Ee + (oe ? 0 : 3), F.A), t(k == de), N && Ue(re) && on(fe, Ee, oe, te, de, F.A);
|
|
62543
62560
|
}
|
|
62544
62561
|
return 0;
|
|
62545
62562
|
}
|
|
62546
62563
|
function xr(N) {
|
|
62547
|
-
var F = N.ma, k = F.ba.S, B = 11 > k, K = k == Cr || k == Xr || k == Ii || k ==
|
|
62564
|
+
var F = N.ma, k = F.ba.S, B = 11 > k, K = k == Cr || k == Xr || k == Ii || k == Bn || k == 12 || Ue(k);
|
|
62548
62565
|
if (F.memory = null, F.Ib = null, F.Jb = null, F.Nd = null, !Bi(F.Oa, N, K ? 11 : 12)) return 0;
|
|
62549
62566
|
if (K && Ue(k) && yr(), N.da) alert("todo:use_scaling");
|
|
62550
62567
|
else {
|
|
@@ -62556,12 +62573,12 @@ function WebPDecoder(a) {
|
|
|
62556
62573
|
} else alert("todo:EmitYUV");
|
|
62557
62574
|
K && (F.Jb = Ot, B && Kt());
|
|
62558
62575
|
}
|
|
62559
|
-
if (B && !
|
|
62576
|
+
if (B && !Ss) {
|
|
62560
62577
|
for (N = 0; 256 > N; ++N)
|
|
62561
|
-
|
|
62562
|
-
for (N = sn; N <
|
|
62563
|
-
F = 76283 * (N - 16) + nn >>
|
|
62564
|
-
|
|
62578
|
+
Qs[N] = 89858 * (N - 128) + nn >> Dn, Ds[N] = -22014 * (N - 128) + nn, Yi[N] = -45773 * (N - 128), Js[N] = 113618 * (N - 128) + nn >> Dn;
|
|
62579
|
+
for (N = sn; N < qn; ++N)
|
|
62580
|
+
F = 76283 * (N - 16) + nn >> Dn, Ks[N - sn] = Jr(F, 255), $s[N - sn] = Jr(F + 8 >> 4, 15);
|
|
62581
|
+
Ss = 1;
|
|
62565
62582
|
}
|
|
62566
62583
|
return 1;
|
|
62567
62584
|
}
|
|
@@ -62582,7 +62599,7 @@ function WebPDecoder(a) {
|
|
|
62582
62599
|
}
|
|
62583
62600
|
function Vt(N, F) {
|
|
62584
62601
|
if (120 < F) return F - 120;
|
|
62585
|
-
var k =
|
|
62602
|
+
var k = Zs[F - 1], k = (k >> 4) * N + (8 - (k & 15));
|
|
62586
62603
|
return 1 <= k ? k : 1;
|
|
62587
62604
|
}
|
|
62588
62605
|
function Zt(N, F, k) {
|
|
@@ -62660,31 +62677,31 @@ function WebPDecoder(a) {
|
|
|
62660
62677
|
case Cr:
|
|
62661
62678
|
Ei(qe, Je, et, Ye, Ke);
|
|
62662
62679
|
break;
|
|
62663
|
-
case
|
|
62680
|
+
case zn:
|
|
62664
62681
|
Ei(qe, Je, et, Ye, Ke), on(Ye, Ke, 0, et, 1, 0);
|
|
62665
62682
|
break;
|
|
62666
|
-
case
|
|
62683
|
+
case Cn:
|
|
62667
62684
|
Hr(qe, Je, et, Ye, Ke);
|
|
62668
62685
|
break;
|
|
62669
62686
|
case Xr:
|
|
62670
62687
|
se(qe, Je, et, Ye, Ke, 1);
|
|
62671
62688
|
break;
|
|
62672
|
-
case
|
|
62689
|
+
case Wn:
|
|
62673
62690
|
se(qe, Je, et, Ye, Ke, 1), on(Ye, Ke, 0, et, 1, 0);
|
|
62674
62691
|
break;
|
|
62675
62692
|
case Ii:
|
|
62676
62693
|
se(qe, Je, et, Ye, Ke, 0);
|
|
62677
62694
|
break;
|
|
62678
|
-
case
|
|
62695
|
+
case bn:
|
|
62679
62696
|
se(qe, Je, et, Ye, Ke, 0), on(Ye, Ke, 1, et, 1, 0);
|
|
62680
62697
|
break;
|
|
62681
|
-
case
|
|
62698
|
+
case Bn:
|
|
62682
62699
|
ho(qe, Je, et, Ye, Ke);
|
|
62683
62700
|
break;
|
|
62684
|
-
case
|
|
62685
|
-
ho(qe, Je, et, Ye, Ke),
|
|
62701
|
+
case jn:
|
|
62702
|
+
ho(qe, Je, et, Ye, Ke), Tn(Ye, Ke, et, 1, 0);
|
|
62686
62703
|
break;
|
|
62687
|
-
case
|
|
62704
|
+
case rs:
|
|
62688
62705
|
uo(qe, Je, et, Ye, Ke);
|
|
62689
62706
|
break;
|
|
62690
62707
|
default:
|
|
@@ -62735,7 +62752,7 @@ function WebPDecoder(a) {
|
|
|
62735
62752
|
var nt = 0;
|
|
62736
62753
|
if (oe >= et) {
|
|
62737
62754
|
var et = N, yt = Oe - k;
|
|
62738
|
-
t(et.Pb), et.wd = et.m, et.xd = yt, 0 < et.s.ua && Be(et.s.Wa, et.s.vb), et = oe +
|
|
62755
|
+
t(et.Pb), et.wd = et.m, et.xd = yt, 0 < et.s.ua && Be(et.s.Wa, et.s.vb), et = oe + Vs;
|
|
62739
62756
|
}
|
|
62740
62757
|
if (de & Ke || (tt = gr(Ee, de, oe)), t(tt != null), tt.Qb && (F[Oe] = tt.qb, st = !0), !st) if (De(fe), tt.jc) {
|
|
62741
62758
|
var nt = fe, yt = F, wt = Oe, Nt = tt.pd[_e(nt) & so - 1];
|
|
@@ -62782,7 +62799,7 @@ function WebPDecoder(a) {
|
|
|
62782
62799
|
}
|
|
62783
62800
|
function ui() {
|
|
62784
62801
|
var N = new V();
|
|
62785
|
-
return N == null ? null : (N.a = 0, N.xb =
|
|
62802
|
+
return N == null ? null : (N.a = 0, N.xb = ws, Se("Predictor", "VP8LPredictors"), Se("Predictor", "VP8LPredictors_C"), Se("PredictorAdd", "VP8LPredictorsAdd"), Se("PredictorAdd", "VP8LPredictorsAdd_C"), To = It, $o = Qt, en = or, Ei = wr, ho = kt, uo = Gt, Hr = ee, U.VP8LMapColor32b = bi, U.VP8LMapColor8b = Wi, N);
|
|
62786
62803
|
}
|
|
62787
62804
|
function ni(N, F, k, B, K) {
|
|
62788
62805
|
var te = 1, re = [N], oe = [F], de = B.m, fe = B.s, Ee = null, Oe = 0;
|
|
@@ -62828,22 +62845,22 @@ function WebPDecoder(a) {
|
|
|
62828
62845
|
}
|
|
62829
62846
|
var Ar;
|
|
62830
62847
|
if (Ar = te) t: {
|
|
62831
|
-
var zr = B, _i = re, _r = oe, ti = Oe, Fo = k, Wr, Tr,
|
|
62848
|
+
var zr = B, _i = re, _r = oe, ti = Oe, Fo = k, Wr, Tr, Jn = zr.m, an = zr.s, Io = [null], Ao, jr = 1, Zi = 0, ra = Gs[ti];
|
|
62832
62849
|
r: for (; ; ) {
|
|
62833
|
-
if (Fo && Ce(
|
|
62834
|
-
var
|
|
62835
|
-
if (!ni(
|
|
62836
|
-
for (Io = Io[0], an.xc =
|
|
62850
|
+
if (Fo && Ce(Jn, 1)) {
|
|
62851
|
+
var Kn = Ce(Jn, 3) + 2, Fs = ze(_i, Kn), Is = ze(_r, Kn), ia = Fs * Is;
|
|
62852
|
+
if (!ni(Fs, Is, 0, zr, Io)) break r;
|
|
62853
|
+
for (Io = Io[0], an.xc = Kn, Wr = 0; Wr < ia; ++Wr) {
|
|
62837
62854
|
var cn = Io[Wr] >> 8 & 65535;
|
|
62838
62855
|
Io[Wr] = cn, cn >= jr && (jr = cn + 1);
|
|
62839
62856
|
}
|
|
62840
62857
|
}
|
|
62841
|
-
if (
|
|
62858
|
+
if (Jn.h) break r;
|
|
62842
62859
|
for (Tr = 0; 5 > Tr; ++Tr) {
|
|
62843
62860
|
var ri = tn[Tr];
|
|
62844
62861
|
!Tr && 0 < ti && (ri += 1 << ti), Zi < ri && (Zi = ri);
|
|
62845
62862
|
}
|
|
62846
|
-
var Lo = l(jr *
|
|
62863
|
+
var Lo = l(jr * ra, J), er = jr, S = l(er, ye);
|
|
62847
62864
|
if (S == null) var L = null;
|
|
62848
62865
|
else t(65536 >= er), L = S;
|
|
62849
62866
|
var Z = s(Zi);
|
|
@@ -62857,60 +62874,60 @@ function WebPDecoder(a) {
|
|
|
62857
62874
|
for (Tr = 0; 5 > Tr; ++Tr) {
|
|
62858
62875
|
ri = tn[Tr], Le[Tr] = q, $e[Tr] = Ao, !Tr && 0 < ti && (ri += 1 << ti);
|
|
62859
62876
|
o: {
|
|
62860
|
-
var Lr, ci = ri, di = zr,
|
|
62861
|
-
if (n(
|
|
62862
|
-
var
|
|
62863
|
-
|
|
62864
|
-
var
|
|
62877
|
+
var Lr, ci = ri, di = zr, $n = Z, Ca = q, ba = Ao, oa = 0, Mo = di.m, Pa = Ce(Mo, 1);
|
|
62878
|
+
if (n($n, 0, 0, ci), Pa) {
|
|
62879
|
+
var Na = Ce(Mo, 1) + 1, Ta = Ce(Mo, 1), na = Ce(Mo, Ta == 0 ? 1 : 8);
|
|
62880
|
+
$n[na] = 1, Na == 2 && (na = Ce(Mo, 8), $n[na] = 1);
|
|
62881
|
+
var As = 1;
|
|
62865
62882
|
} else {
|
|
62866
|
-
var
|
|
62867
|
-
if (19 <
|
|
62883
|
+
var ha = s(19), ua = Ce(Mo, 4) + 4;
|
|
62884
|
+
if (19 < ua) {
|
|
62868
62885
|
di.a = 3;
|
|
62869
|
-
var
|
|
62886
|
+
var Ls = 0;
|
|
62870
62887
|
break o;
|
|
62871
62888
|
}
|
|
62872
|
-
for (Lr = 0; Lr <
|
|
62873
|
-
|
|
62874
|
-
var
|
|
62889
|
+
for (Lr = 0; Lr < ua; ++Lr)
|
|
62890
|
+
ha[Ys[Lr]] = Ce(Mo, 3);
|
|
62891
|
+
var Ms = void 0, es = void 0, fa = di, Sa = ha, Rs = ci, pa = $n, sa = 0, Ro = fa.m, ga = 8, ma = l(128, J);
|
|
62875
62892
|
i: for (; ; ) {
|
|
62876
|
-
if (!G(
|
|
62893
|
+
if (!G(ma, 0, 7, Sa, 19)) break i;
|
|
62877
62894
|
if (Ce(Ro, 1)) {
|
|
62878
|
-
var
|
|
62879
|
-
if (
|
|
62880
|
-
} else
|
|
62881
|
-
for (
|
|
62895
|
+
var Da = 2 + 2 * Ce(Ro, 3), Ms = 2 + Ce(Ro, Da);
|
|
62896
|
+
if (Ms > Rs) break i;
|
|
62897
|
+
} else Ms = Rs;
|
|
62898
|
+
for (es = 0; es < Rs && Ms--; ) {
|
|
62882
62899
|
De(Ro);
|
|
62883
|
-
var
|
|
62884
|
-
Pe(Ro, Ro.u +
|
|
62885
|
-
var
|
|
62886
|
-
if (16 >
|
|
62900
|
+
var ya = ma[0 + (_e(Ro) & 127)];
|
|
62901
|
+
Pe(Ro, Ro.u + ya.g);
|
|
62902
|
+
var En = ya.value;
|
|
62903
|
+
if (16 > En) pa[es++] = En, En != 0 && (ga = En);
|
|
62887
62904
|
else {
|
|
62888
|
-
var
|
|
62889
|
-
if (
|
|
62890
|
-
for (var
|
|
62891
|
-
|
|
62905
|
+
var Ea = En == 16, va = En - 16, Fa = js[va], wa = Ce(Ro, Ws[va]) + Fa;
|
|
62906
|
+
if (es + wa > Rs) break i;
|
|
62907
|
+
for (var Ia = Ea ? ga : 0; 0 < wa--; )
|
|
62908
|
+
pa[es++] = Ia;
|
|
62892
62909
|
}
|
|
62893
62910
|
}
|
|
62894
|
-
|
|
62911
|
+
sa = 1;
|
|
62895
62912
|
break i;
|
|
62896
62913
|
}
|
|
62897
|
-
|
|
62914
|
+
sa || (fa.a = 3), As = sa;
|
|
62898
62915
|
}
|
|
62899
|
-
(
|
|
62916
|
+
(As = As && !Mo.h) && (oa = G(Ca, ba, 8, $n, ci)), As && oa != 0 ? Ls = oa : (di.a = 3, Ls = 0);
|
|
62900
62917
|
}
|
|
62901
|
-
if (
|
|
62902
|
-
if (Mt &&
|
|
62903
|
-
var
|
|
62904
|
-
for (
|
|
62905
|
-
Z[
|
|
62906
|
-
qt +=
|
|
62918
|
+
if (Ls == 0) break r;
|
|
62919
|
+
if (Mt && Us[Tr] == 1 && (Mt = q[Ao].g == 0), xt += q[Ao].g, Ao += Ls, 3 >= Tr) {
|
|
62920
|
+
var aa = Z[0], ts;
|
|
62921
|
+
for (ts = 1; ts < ri; ++ts)
|
|
62922
|
+
Z[ts] > aa && (aa = Z[ts]);
|
|
62923
|
+
qt += aa;
|
|
62907
62924
|
}
|
|
62908
62925
|
}
|
|
62909
62926
|
if (ce.nd = Mt, ce.Qb = 0, Mt && (ce.qb = (Le[3][$e[3] + 0].value << 24 | Le[1][$e[1] + 0].value << 16 | Le[2][$e[2] + 0].value) >>> 0, xt == 0 && 256 > Le[0][$e[0] + 0].value && (ce.Qb = 1, ce.qb += Le[0][$e[0] + 0].value << 8)), ce.jc = !ce.Qb && 6 > qt, ce.jc) {
|
|
62910
|
-
var
|
|
62911
|
-
for (
|
|
62912
|
-
var ko =
|
|
62913
|
-
256 <=
|
|
62927
|
+
var ks, po = ce;
|
|
62928
|
+
for (ks = 0; ks < so; ++ks) {
|
|
62929
|
+
var ko = ks, Ho = po.pd[ko], Hs = po.G[0][po.H[0] + ko];
|
|
62930
|
+
256 <= Hs.value ? (Ho.g = Hs.g + 256, Ho.value = Hs.value) : (Ho.g = 0, Ho.value = 0, ko >>= lr(Hs, 8, Ho), ko >>= lr(po.G[1][po.H[1] + ko], 16, Ho), ko >>= lr(po.G[2][po.H[2] + ko], 0, Ho), lr(po.G[3][po.H[3] + ko], 24, Ho));
|
|
62914
62931
|
}
|
|
62915
62932
|
}
|
|
62916
62933
|
}
|
|
@@ -62929,9 +62946,9 @@ function WebPDecoder(a) {
|
|
|
62929
62946
|
break e;
|
|
62930
62947
|
}
|
|
62931
62948
|
} else fe.ua = 0;
|
|
62932
|
-
var
|
|
62933
|
-
if (
|
|
62934
|
-
B.xb =
|
|
62949
|
+
var la = B, xa = re, Aa = oe, ca = la.s, da = ca.xc;
|
|
62950
|
+
if (la.c = xa, la.i = Aa, ca.md = ze(xa, da), ca.wc = da == 0 ? -1 : (1 << da) - 1, k) {
|
|
62951
|
+
B.xb = Xs;
|
|
62935
62952
|
break e;
|
|
62936
62953
|
}
|
|
62937
62954
|
if (Ee = s(re * oe), Ee == null) {
|
|
@@ -62951,7 +62968,7 @@ function WebPDecoder(a) {
|
|
|
62951
62968
|
var k = N.C, B = F - k, K = N.V, te = N.Ba + N.c * k;
|
|
62952
62969
|
for (t(F <= N.l.o); 0 < B; ) {
|
|
62953
62970
|
var re = 16 < B ? 16 : B, oe = N.l.ma, de = N.l.width, fe = de * re, Ee = oe.ca, Oe = oe.tb + de * k, Xe = N.Ta, qe = N.Ua;
|
|
62954
|
-
Rr(N, re, K, te),
|
|
62971
|
+
Rr(N, re, K, te), Cs(Xe, qe, Ee, Oe, fe), Ur(oe, k, k + re, Ee, Oe, de), B -= re, K += re * N.c, k += re;
|
|
62955
62972
|
}
|
|
62956
62973
|
t(k == F), N.C = N.Ma = F;
|
|
62957
62974
|
}
|
|
@@ -62964,7 +62981,7 @@ function WebPDecoder(a) {
|
|
|
62964
62981
|
N.a = 3;
|
|
62965
62982
|
break e;
|
|
62966
62983
|
}
|
|
62967
|
-
if (N.xb =
|
|
62984
|
+
if (N.xb = ws, F.width = k[0], F.height = B[0], !ni(k[0], B[0], 1, N, null)) break e;
|
|
62968
62985
|
return 1;
|
|
62969
62986
|
}
|
|
62970
62987
|
return t(N.a != 0), 0;
|
|
@@ -63077,16 +63094,16 @@ function WebPDecoder(a) {
|
|
|
63077
63094
|
continue;
|
|
63078
63095
|
} else Xe = k;
|
|
63079
63096
|
var qe = N.pb[Oe];
|
|
63080
|
-
qe.Sc[0] =
|
|
63097
|
+
qe.Sc[0] = Un[Jr(Xe + K, 127)], qe.Sc[1] = Yn[Jr(Xe + 0, 127)], qe.Eb[0] = 2 * Un[Jr(Xe + B, 127)], qe.Eb[1] = 101581 * Yn[Jr(Xe + oe, 127)] >> 16, 8 > qe.Eb[1] && (qe.Eb[1] = 8), qe.Qc[0] = Un[Jr(Xe + de, 117)], qe.Qc[1] = Yn[Jr(Xe + fe, 127)], qe.lc = Xe + fe;
|
|
63081
63098
|
}
|
|
63082
63099
|
if (!re.Rb) return rt(N, 4, "Not a key frame.");
|
|
63083
63100
|
for (Te(te), re = N.Pa, k = 0; 4 > k; ++k) {
|
|
63084
63101
|
for (K = 0; 8 > K; ++K)
|
|
63085
63102
|
for (B = 0; 3 > B; ++B)
|
|
63086
63103
|
for (oe = 0; 11 > oe; ++oe)
|
|
63087
|
-
de = He(te,
|
|
63104
|
+
de = He(te, Pn[k][K][B][oe]) ? ge(te, 8) : _n[k][K][B][oe], re.Wc[k][K].Yb[B][oe] = de;
|
|
63088
63105
|
for (K = 0; 17 > K; ++K)
|
|
63089
|
-
re.Xc[k][K] = re.Wc[k][
|
|
63106
|
+
re.Xc[k][K] = re.Wc[k][ns[K]];
|
|
63090
63107
|
}
|
|
63091
63108
|
return N.kc = Te(te), N.kc && (N.Bd = ge(te, 8)), N.cb = 1;
|
|
63092
63109
|
}
|
|
@@ -63101,14 +63118,14 @@ function WebPDecoder(a) {
|
|
|
63101
63118
|
var fe = N, Oe = oe, Xe = k, Ee = 0;
|
|
63102
63119
|
if (He(fe, Oe[Xe + 3]))
|
|
63103
63120
|
if (He(fe, Oe[Xe + 6])) {
|
|
63104
|
-
for (oe = 0, Ee = He(fe, Oe[Xe + 8]), Oe = He(fe, Oe[Xe + 9 + Ee]), Xe = 2 * Ee + Oe, Ee = 0, Oe =
|
|
63121
|
+
for (oe = 0, Ee = He(fe, Oe[Xe + 8]), Oe = He(fe, Oe[Xe + 9 + Ee]), Xe = 2 * Ee + Oe, Ee = 0, Oe = is[Xe]; Oe[oe]; ++oe)
|
|
63105
63122
|
Ee += Ee + He(fe, Oe[oe]);
|
|
63106
63123
|
Ee += 3 + (8 << Xe);
|
|
63107
63124
|
} else He(fe, Oe[Xe + 7]) ? (Ee = 7 + 2 * He(fe, 165), Ee += He(fe, 145)) : Ee = 5 + He(fe, 159);
|
|
63108
63125
|
else He(fe, Oe[Xe + 4]) ? Ee = 3 + He(fe, Oe[Xe + 5]) : Ee = 2;
|
|
63109
63126
|
oe = de[2];
|
|
63110
63127
|
} else Ee = 1, oe = de[1];
|
|
63111
|
-
de = re +
|
|
63128
|
+
de = re + os[K], fe = N, 0 > fe.b && Ve(fe);
|
|
63112
63129
|
var Oe = fe.b, Xe = fe.Ca >> 1, qe = Xe - (fe.I >> Oe) >> 31;
|
|
63113
63130
|
--fe.b, fe.Ca += qe, fe.Ca |= 1, fe.I -= (Xe + 1 & qe) << Oe, te[de] = ((Ee ^ qe) - qe) * B[(0 < K) + 0];
|
|
63114
63131
|
}
|
|
@@ -63129,8 +63146,8 @@ function WebPDecoder(a) {
|
|
|
63129
63146
|
var Je = Ee[0 + oe], et;
|
|
63130
63147
|
for (et = 0; 4 > et; ++et) {
|
|
63131
63148
|
Je = Do[de[fe + et]][Je];
|
|
63132
|
-
for (var Ye =
|
|
63133
|
-
Ye =
|
|
63149
|
+
for (var Ye = Zn[He(re, Je[0])]; 0 < Ye; )
|
|
63150
|
+
Ye = Zn[2 * Ye + He(re, Je[Ye])];
|
|
63134
63151
|
Je = -Ye, de[fe + et] = Je;
|
|
63135
63152
|
}
|
|
63136
63153
|
o(Xe, qe, de, fe, 4), qe += 4, Ee[0 + oe] = Je;
|
|
@@ -63182,10 +63199,10 @@ function WebPDecoder(a) {
|
|
|
63182
63199
|
var Ir = rr.D, ir = Ir.Nb;
|
|
63183
63200
|
Ke = rr.R;
|
|
63184
63201
|
var Ir = Ir.wa[Ir.Y + st], Ar = rr.sa, zr = rr.ta + 16 * ir * Ke + 16 * st, _i = Ir.dd, _r = Ir.tc;
|
|
63185
|
-
if (_r != 0) if (t(3 <= _r), rr.L == 1) 0 < st &&
|
|
63202
|
+
if (_r != 0) if (t(3 <= _r), rr.L == 1) 0 < st && ms(Ar, zr, Ke, _r + 4), Ir.La && vs(Ar, zr, Ke, _r), 0 < nt && gs(Ar, zr, Ke, _r + 4), Ir.La && ys(Ar, zr, Ke, _r);
|
|
63186
63203
|
else {
|
|
63187
63204
|
var ti = rr.B, Fo = rr.qa, Wr = rr.ra + 8 * ir * ti + 8 * st, Tr = rr.Ha, rr = rr.Ia + 8 * ir * ti + 8 * st, ir = Ir.ld;
|
|
63188
|
-
0 < st && (
|
|
63205
|
+
0 < st && (ls(Ar, zr, Ke, _r + 4, _i, ir), ds(Fo, Wr, Tr, rr, ti, _r + 4, _i, ir)), Ir.La && (us(Ar, zr, Ke, _r, _i, ir), ps(Fo, Wr, Tr, rr, ti, _r, _i, ir)), 0 < nt && (as(Ar, zr, Ke, _r + 4, _i, ir), cs(Fo, Wr, Tr, rr, ti, _r + 4, _i, ir)), Ir.La && (hs(Ar, zr, Ke, _r, _i, ir), fs(Fo, Wr, Tr, rr, ti, _r, _i, ir));
|
|
63189
63206
|
}
|
|
63190
63207
|
}
|
|
63191
63208
|
if (k.ia && alert("todo:DitherRow"), B.put != null) {
|
|
@@ -63230,7 +63247,7 @@ function WebPDecoder(a) {
|
|
|
63230
63247
|
} else rt(N, 6, "Frame setup failed"), k = N.a;
|
|
63231
63248
|
if (k = k == 0) {
|
|
63232
63249
|
if (k) {
|
|
63233
|
-
N.$c = 0, 0 < N.Aa || (N.Ic =
|
|
63250
|
+
N.$c = 0, 0 < N.Aa || (N.Ic = ta);
|
|
63234
63251
|
e: {
|
|
63235
63252
|
k = N.Ic;
|
|
63236
63253
|
var de = N.za, B = 4 * de, fe = 32 * de, Ee = de + 1, Oe = 0 < N.L ? de * (0 < N.Aa ? 2 : 1) : 0, Xe = (N.Aa == 2 ? 2 : 1) * de;
|
|
@@ -63258,7 +63275,7 @@ function WebPDecoder(a) {
|
|
|
63258
63275
|
So[255 + k] = 0 > k ? 0 : 255 < k ? 255 : k;
|
|
63259
63276
|
Vr = 1;
|
|
63260
63277
|
}
|
|
63261
|
-
fo = Ki,
|
|
63278
|
+
fo = Ki, Nn = Qi, Gn = Wo, Eo = Zr, Vn = Ji, ss = Pi, as = Qr, ls = Co, cs = wn, ds = On, hs = bo, us = Zo, fs = Si, ps = ro, gs = Hi, ms = vn, ys = Ti, vs = wi, $r[0] = Rn, $r[1] = Pr, $r[2] = Ln, $r[3] = Mn, $r[4] = jo, $r[5] = yi, $r[6] = gn, $r[7] = Uo, $r[8] = mn, $r[9] = Yo, Ai[0] = mi, Ai[1] = un, Ai[2] = In, Ai[3] = An, Ai[4] = fn, Ai[5] = pn, Ai[6] = wo, Li[0] = kn, Li[1] = Fn, Li[2] = yn, Li[3] = $i, Li[4] = Ni, Li[5] = Hn, Li[6] = sr, k = 1;
|
|
63262
63279
|
} else k = 0;
|
|
63263
63280
|
}
|
|
63264
63281
|
k && (k = zt(N, F)), F.bc != null && F.bc(F), k &= 1;
|
|
@@ -63291,7 +63308,7 @@ function WebPDecoder(a) {
|
|
|
63291
63308
|
kr(N, F, k, B), K && kr(N, F + 16, k, B + 4);
|
|
63292
63309
|
}
|
|
63293
63310
|
function Wo(N, F, k, B) {
|
|
63294
|
-
|
|
63311
|
+
Nn(N, F + 0, k, B, 1), Nn(N, F + 32, k, B + 128, 1);
|
|
63295
63312
|
}
|
|
63296
63313
|
function Zr(N, F, k, B) {
|
|
63297
63314
|
N = N[F + 0] + 4;
|
|
@@ -63324,18 +63341,18 @@ function WebPDecoder(a) {
|
|
|
63324
63341
|
function Pr(N, F) {
|
|
63325
63342
|
Ri(N, F, 4);
|
|
63326
63343
|
}
|
|
63327
|
-
function
|
|
63344
|
+
function Fn(N, F) {
|
|
63328
63345
|
Ri(N, F, 8);
|
|
63329
63346
|
}
|
|
63330
|
-
function
|
|
63347
|
+
function un(N, F) {
|
|
63331
63348
|
Ri(N, F, 16);
|
|
63332
63349
|
}
|
|
63333
|
-
function
|
|
63350
|
+
function In(N, F) {
|
|
63334
63351
|
var k;
|
|
63335
63352
|
for (k = 0; 16 > k; ++k)
|
|
63336
63353
|
o(N, F + 32 * k, N, F - 32, 16);
|
|
63337
63354
|
}
|
|
63338
|
-
function
|
|
63355
|
+
function An(N, F) {
|
|
63339
63356
|
var k;
|
|
63340
63357
|
for (k = 16; 0 < k; --k)
|
|
63341
63358
|
n(N, F, N[F - 1], 16), F += 32;
|
|
@@ -63351,13 +63368,13 @@ function WebPDecoder(a) {
|
|
|
63351
63368
|
k += N[F - 1 + 32 * B] + N[F + B - 32];
|
|
63352
63369
|
vo(k >> 5, N, F);
|
|
63353
63370
|
}
|
|
63354
|
-
function
|
|
63371
|
+
function fn(N, F) {
|
|
63355
63372
|
var k = 8, B;
|
|
63356
63373
|
for (B = 0; 16 > B; ++B)
|
|
63357
63374
|
k += N[F - 1 + 32 * B];
|
|
63358
63375
|
vo(k >> 4, N, F);
|
|
63359
63376
|
}
|
|
63360
|
-
function
|
|
63377
|
+
function pn(N, F) {
|
|
63361
63378
|
var k = 8, B;
|
|
63362
63379
|
for (B = 0; 16 > B; ++B)
|
|
63363
63380
|
k += N[F + B - 32];
|
|
@@ -63369,16 +63386,16 @@ function WebPDecoder(a) {
|
|
|
63369
63386
|
function Rt(N, F, k) {
|
|
63370
63387
|
return N + 2 * F + k + 2 >> 2;
|
|
63371
63388
|
}
|
|
63372
|
-
function
|
|
63389
|
+
function Ln(N, F) {
|
|
63373
63390
|
var k = F - 32, k = new Uint8Array([Rt(N[k - 1], N[k + 0], N[k + 1]), Rt(N[k + 0], N[k + 1], N[k + 2]), Rt(N[k + 1], N[k + 2], N[k + 3]), Rt(N[k + 2], N[k + 3], N[k + 4])]), B;
|
|
63374
63391
|
for (B = 0; 4 > B; ++B)
|
|
63375
63392
|
o(N, F + 32 * B, k, 0, k.length);
|
|
63376
63393
|
}
|
|
63377
|
-
function
|
|
63394
|
+
function Mn(N, F) {
|
|
63378
63395
|
var k = N[F - 1], B = N[F - 1 + 32], K = N[F - 1 + 64], te = N[F - 1 + 96];
|
|
63379
63396
|
xe(N, F + 0, 16843009 * Rt(N[F - 1 - 32], k, B)), xe(N, F + 32, 16843009 * Rt(k, B, K)), xe(N, F + 64, 16843009 * Rt(B, K, te)), xe(N, F + 96, 16843009 * Rt(K, te, te));
|
|
63380
63397
|
}
|
|
63381
|
-
function
|
|
63398
|
+
function Rn(N, F) {
|
|
63382
63399
|
var k = 4, B;
|
|
63383
63400
|
for (B = 0; 4 > B; ++B)
|
|
63384
63401
|
k += N[F + B - 32] + N[F - 1 + 32 * B];
|
|
@@ -63389,7 +63406,7 @@ function WebPDecoder(a) {
|
|
|
63389
63406
|
var k = 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], fe = N[F + 3 - 32];
|
|
63390
63407
|
N[F + 0 + 96] = Rt(B, K, N[F - 1 + 96]), N[F + 1 + 96] = N[F + 0 + 64] = Rt(k, B, K), N[F + 2 + 96] = N[F + 1 + 64] = N[F + 0 + 32] = Rt(te, k, B), N[F + 3 + 96] = N[F + 2 + 64] = N[F + 1 + 32] = N[F + 0 + 0] = Rt(re, te, k), N[F + 3 + 64] = N[F + 2 + 32] = N[F + 1 + 0] = Rt(oe, re, te), N[F + 3 + 32] = N[F + 2 + 0] = Rt(de, oe, re), N[F + 3 + 0] = Rt(fe, de, oe);
|
|
63391
63408
|
}
|
|
63392
|
-
function
|
|
63409
|
+
function gn(N, F) {
|
|
63393
63410
|
var k = 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];
|
|
63394
63411
|
N[F + 0 + 0] = Rt(N[F + 0 - 32], k, B), N[F + 1 + 0] = N[F + 0 + 32] = Rt(k, B, K), N[F + 2 + 0] = N[F + 1 + 32] = N[F + 0 + 64] = Rt(B, K, te), N[F + 3 + 0] = N[F + 2 + 32] = N[F + 1 + 64] = N[F + 0 + 96] = Rt(K, te, re), N[F + 3 + 32] = N[F + 2 + 64] = N[F + 1 + 96] = Rt(te, re, oe), N[F + 3 + 64] = N[F + 2 + 96] = Rt(re, oe, de), N[F + 3 + 96] = Rt(oe, de, de);
|
|
63395
63412
|
}
|
|
@@ -63405,11 +63422,11 @@ function WebPDecoder(a) {
|
|
|
63405
63422
|
var k = N[F - 1 + 0], B = N[F - 1 + 32], K = N[F - 1 + 64], te = N[F - 1 + 96];
|
|
63406
63423
|
N[F + 0 + 0] = k + 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] = Rt(k, B, K), N[F + 3 + 0] = N[F + 1 + 32] = Rt(B, K, te), N[F + 3 + 32] = N[F + 1 + 64] = Rt(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;
|
|
63407
63424
|
}
|
|
63408
|
-
function
|
|
63425
|
+
function mn(N, F) {
|
|
63409
63426
|
var k = 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], fe = N[F + 2 - 32];
|
|
63410
63427
|
N[F + 0 + 0] = N[F + 2 + 32] = k + re + 1 >> 1, N[F + 0 + 32] = N[F + 2 + 64] = B + k + 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] = Rt(oe, de, fe), N[F + 2 + 0] = Rt(re, oe, de), N[F + 1 + 0] = N[F + 3 + 32] = Rt(k, re, oe), N[F + 1 + 32] = N[F + 3 + 64] = Rt(B, k, re), N[F + 1 + 64] = N[F + 3 + 96] = Rt(K, B, k), N[F + 1 + 96] = Rt(te, K, B);
|
|
63411
63428
|
}
|
|
63412
|
-
function
|
|
63429
|
+
function yn(N, F) {
|
|
63413
63430
|
var k;
|
|
63414
63431
|
for (k = 0; 8 > k; ++k)
|
|
63415
63432
|
o(N, F + 32 * k, N, F - 32, 8);
|
|
@@ -63424,13 +63441,13 @@ function WebPDecoder(a) {
|
|
|
63424
63441
|
for (B = 0; 8 > B; ++B)
|
|
63425
63442
|
n(F, k + 32 * B, N, 8);
|
|
63426
63443
|
}
|
|
63427
|
-
function
|
|
63444
|
+
function kn(N, F) {
|
|
63428
63445
|
var k = 8, B;
|
|
63429
63446
|
for (B = 0; 8 > B; ++B)
|
|
63430
63447
|
k += N[F + B - 32] + N[F - 1 + 32 * B];
|
|
63431
63448
|
xo(k >> 4, N, F);
|
|
63432
63449
|
}
|
|
63433
|
-
function
|
|
63450
|
+
function Hn(N, F) {
|
|
63434
63451
|
var k = 4, B;
|
|
63435
63452
|
for (B = 0; 8 > B; ++B)
|
|
63436
63453
|
k += N[F + B - 32];
|
|
@@ -63465,7 +63482,7 @@ function WebPDecoder(a) {
|
|
|
63465
63482
|
for (B = 0; 16 > B; ++B)
|
|
63466
63483
|
eo(N, F + B, k, K) && vi(N, F + B, k);
|
|
63467
63484
|
}
|
|
63468
|
-
function
|
|
63485
|
+
function vn(N, F, k, B) {
|
|
63469
63486
|
var K = 2 * B + 1;
|
|
63470
63487
|
for (B = 0; 16 > B; ++B)
|
|
63471
63488
|
eo(N, F + B * k, 1, K) && vi(N, F + B * k, 1);
|
|
@@ -63478,7 +63495,7 @@ function WebPDecoder(a) {
|
|
|
63478
63495
|
function wi(N, F, k, B) {
|
|
63479
63496
|
var K;
|
|
63480
63497
|
for (K = 3; 0 < K; --K)
|
|
63481
|
-
F += 4,
|
|
63498
|
+
F += 4, vn(N, F, k, B);
|
|
63482
63499
|
}
|
|
63483
63500
|
function qr(N, F, k, B, K, te, re, oe) {
|
|
63484
63501
|
for (te = 2 * te + 1; 0 < K--; ) {
|
|
@@ -63516,10 +63533,10 @@ function WebPDecoder(a) {
|
|
|
63516
63533
|
for (re = 3; 0 < re; --re)
|
|
63517
63534
|
F += 4, xi(N, F, 1, k, 16, B, K, te);
|
|
63518
63535
|
}
|
|
63519
|
-
function
|
|
63536
|
+
function wn(N, F, k, B, K, te, re, oe) {
|
|
63520
63537
|
qr(N, F, K, 1, 8, te, re, oe), qr(k, B, K, 1, 8, te, re, oe);
|
|
63521
63538
|
}
|
|
63522
|
-
function
|
|
63539
|
+
function On(N, F, k, B, K, te, re, oe) {
|
|
63523
63540
|
qr(N, F, 1, K, 8, te, re, oe), qr(k, B, 1, K, 8, te, re, oe);
|
|
63524
63541
|
}
|
|
63525
63542
|
function Si(N, F, k, B, K, te, re, oe) {
|
|
@@ -63686,7 +63703,7 @@ function WebPDecoder(a) {
|
|
|
63686
63703
|
k[B + te] = N[F + te] >> 8;
|
|
63687
63704
|
}
|
|
63688
63705
|
function Kt() {
|
|
63689
|
-
on = ft,
|
|
63706
|
+
on = ft, Tn = mt, xs = Bt, Cs = Ht;
|
|
63690
63707
|
}
|
|
63691
63708
|
function $t(N, F, k) {
|
|
63692
63709
|
U[N] = function(B, K, te, re, oe, de, fe, Ee, Oe, Xe, qe, Je, et, Ye, Ke, tt, st) {
|
|
@@ -63701,10 +63718,10 @@ function WebPDecoder(a) {
|
|
|
63701
63718
|
};
|
|
63702
63719
|
}
|
|
63703
63720
|
function yr() {
|
|
63704
|
-
ei[Fr] =
|
|
63721
|
+
ei[Fr] = Xn, ei[Cr] = bs, ei[Cn] = Sn, ei[Xr] = _s, ei[Ii] = Ps, ei[Bn] = Ns, ei[rs] = qs, ei[zn] = bs, ei[Wn] = _s, ei[bn] = Ps, ei[jn] = Ns;
|
|
63705
63722
|
}
|
|
63706
63723
|
function Sr(N) {
|
|
63707
|
-
return N & -16384 ? 0 > N ? 0 : 255 : N >>
|
|
63724
|
+
return N & -16384 ? 0 > N ? 0 : 255 : N >> Ts;
|
|
63708
63725
|
}
|
|
63709
63726
|
function ur(N, F) {
|
|
63710
63727
|
return Sr((19077 * N >> 8) + (26149 * F >> 8) - 14234);
|
|
@@ -63754,10 +63771,10 @@ function WebPDecoder(a) {
|
|
|
63754
63771
|
function oo(N, F, k, B, K) {
|
|
63755
63772
|
switch (N >>> 30) {
|
|
63756
63773
|
case 3:
|
|
63757
|
-
|
|
63774
|
+
Nn(F, k, B, K, 0);
|
|
63758
63775
|
break;
|
|
63759
63776
|
case 2:
|
|
63760
|
-
|
|
63777
|
+
ss(F, k, B, K);
|
|
63761
63778
|
break;
|
|
63762
63779
|
case 1:
|
|
63763
63780
|
Eo(F, k, B, K);
|
|
@@ -63783,10 +63800,10 @@ function WebPDecoder(a) {
|
|
|
63783
63800
|
for (0 < K && (B >= N.za - 1 ? n(Ke, tt, qe[Je].y[15], 4) : o(Ke, tt, qe[Je + 1].y, 0, 4)), k = 0; 4 > k; k++)
|
|
63784
63801
|
Ke[tt + 128 + k] = Ke[tt + 256 + k] = Ke[tt + 384 + k] = Ke[tt + 0 + k];
|
|
63785
63802
|
for (k = 0; 16 > k; ++k, Ye <<= 2)
|
|
63786
|
-
Ke = re, tt = oe +
|
|
63803
|
+
Ke = re, tt = oe + Es[k], $r[Xe.Ob[k]](Ke, tt), oo(Ye, et, 16 * +k, Ke, tt);
|
|
63787
63804
|
} else if (Ke = si(B, K, Xe.Ob[0]), Ai[Ke](re, oe), Ye != 0) for (k = 0; 16 > k; ++k, Ye <<= 2)
|
|
63788
|
-
oo(Ye, et, 16 * +k, re, oe +
|
|
63789
|
-
for (k = Xe.Gc, Ke = si(B, K, Xe.Dd), Li[Ke](de, fe), Li[Ke](Ee, Oe), Xe = k >> 0, Ye = et, Ke = de, tt = fe, Xe & 255 && (Xe & 170 ?
|
|
63805
|
+
oo(Ye, et, 16 * +k, re, oe + Es[k]);
|
|
63806
|
+
for (k = Xe.Gc, Ke = si(B, K, Xe.Dd), Li[Ke](de, fe), Li[Ke](Ee, Oe), Xe = k >> 0, Ye = et, Ke = de, tt = fe, Xe & 255 && (Xe & 170 ? Gn(Ye, 256, Ke, tt) : Vn(Ye, 256, Ke, tt)), k >>= 8, Xe = Ee, Ye = Oe, k & 255 && (k & 170 ? Gn(et, 320, Xe, Ye) : Vn(et, 320, Xe, Ye)), K < N.Ub - 1 && (o(qe[Je].y, 0, re, oe + 480, 16), o(qe[Je].f, 0, de, fe + 224, 8), o(qe[Je].ea, 0, Ee, Oe + 224, 8)), k = 8 * te * N.B, qe = N.sa, Je = N.ta + 16 * B + 16 * te * N.R, et = N.qa, Xe = N.ra + 8 * B + k, Ye = N.Ha, Ke = N.Ia + 8 * B + k, k = 0; 16 > k; ++k)
|
|
63790
63807
|
o(qe, Je + k * N.R, re, oe + 32 * k, 16);
|
|
63791
63808
|
for (k = 0; 8 > k; ++k)
|
|
63792
63809
|
o(et, Xe + k * N.B, de, fe + 32 * k, 8), o(Ye, Ke + k * N.B, Ee, Oe + 32 * k, 8);
|
|
@@ -63962,7 +63979,7 @@ function WebPDecoder(a) {
|
|
|
63962
63979
|
if (N = B.S, 0 >= de || 0 >= fe || !(N >= Fr && 13 > N)) N = 2;
|
|
63963
63980
|
else {
|
|
63964
63981
|
if (0 >= B.Rd && B.sd == null) {
|
|
63965
|
-
var re = te = K = F = 0, oe = de *
|
|
63982
|
+
var re = te = K = F = 0, oe = de * Qn[N], Ee = oe * fe;
|
|
63966
63983
|
if (11 > N || (F = (de + 1) / 2, te = (fe + 1) / 2 * F, N == 12 && (K = de, re = K * fe)), fe = s(Ee + 2 * te + re), fe == null) {
|
|
63967
63984
|
N = 1;
|
|
63968
63985
|
break e;
|
|
@@ -63970,7 +63987,7 @@ function WebPDecoder(a) {
|
|
|
63970
63987
|
B.sd = fe, 11 > N ? (de = B.f.RGBA, de.eb = fe, de.fb = 0, de.A = oe, de.size = Ee) : (de = B.f.kb, de.y = fe, de.O = 0, de.fa = oe, de.Fd = Ee, de.f = fe, de.N = 0 + Ee, de.Ab = F, de.Cd = te, de.ea = fe, de.W = 0 + Ee + te, de.Db = F, de.Ed = te, N == 12 && (de.F = fe, de.J = 0 + Ee + 2 * te), de.Tc = re, de.lb = K);
|
|
63971
63988
|
}
|
|
63972
63989
|
if (F = 1, K = B.S, te = B.width, re = B.height, K >= Fr && 13 > K)
|
|
63973
|
-
if (11 > K) N = B.f.RGBA, oe = Math.abs(N.A), F &= oe * (re - 1) + te <= N.size, F &= oe >= te *
|
|
63990
|
+
if (11 > K) N = B.f.RGBA, oe = Math.abs(N.A), F &= oe * (re - 1) + te <= N.size, F &= oe >= te * Qn[K], F &= N.eb != null;
|
|
63974
63991
|
else {
|
|
63975
63992
|
N = B.f.kb, oe = (te + 1) / 2, Ee = (re + 1) / 2, de = Math.abs(N.fa);
|
|
63976
63993
|
var fe = Math.abs(N.Ab), Oe = Math.abs(N.Db), Xe = Math.abs(N.lb), qe = Xe * (re - 1) + te;
|
|
@@ -63982,7 +63999,7 @@ function WebPDecoder(a) {
|
|
|
63982
63999
|
}
|
|
63983
64000
|
return N != 0 || k != null && k.fd && (N = Er(B)), N;
|
|
63984
64001
|
}
|
|
63985
|
-
var so = 64,
|
|
64002
|
+
var so = 64, xn = [0, 1, 3, 7, 15, 31, 63, 127, 255, 511, 1023, 2047, 4095, 8191, 16383, 32767, 65535, 131071, 262143, 524287, 1048575, 2097151, 4194303, 8388607, 16777215], Ko = 24, ao = 32, No = 8, Kr = [0, 0, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7];
|
|
63986
64003
|
ht("Predictor0", "PredictorAdd0"), U.Predictor0 = function() {
|
|
63987
64004
|
return 4278190080;
|
|
63988
64005
|
}, U.Predictor1 = function(N) {
|
|
@@ -64029,11 +64046,11 @@ function WebPDecoder(a) {
|
|
|
64029
64046
|
});
|
|
64030
64047
|
var co = U.ColorIndexInverseTransform, bi = U.MapARGB, zi = U.VP8LColorIndexInverseTransformAlpha, Wi = U.MapAlpha, To, ai = U.VP8LPredictorsAdd = [];
|
|
64031
64048
|
ai.length = 16, (U.VP8LPredictors = []).length = 16, (U.VP8LPredictorsAdd_C = []).length = 16, (U.VP8LPredictors_C = []).length = 16;
|
|
64032
|
-
var $o, en, Ei, ho, uo, Hr, Gr = s(511), Fi = s(2041), ji = s(225), So = s(767), Vr = 0, li = Fi, vr = ji, ar = So, dr = Gr, Fr = 0, Cr = 1, xn = 2, Xr = 3, Ii = 4, On = 5, ts = 6, Bn = 7, zn = 8, Cn = 9, Wn = 10, zs = [2, 3, 7], Ws = [3, 3, 11], tn = [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], rn = 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], bn = [[[[128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128]], [[253, 136, 254, 255, 228, 219, 128, 128, 128, 128, 128], [189, 129, 242, 255, 227, 213, 255, 219, 128, 128, 128], [106, 126, 227, 252, 214, 209, 255, 255, 128, 128, 128]], [[1, 98, 248, 255, 236, 226, 255, 255, 128, 128, 128], [181, 133, 238, 254, 221, 234, 255, 154, 128, 128, 128], [78, 134, 202, 247, 198, 180, 255, 219, 128, 128, 128]], [[1, 185, 249, 255, 243, 255, 128, 128, 128, 128, 128], [184, 150, 247, 255, 236, 224, 128, 128, 128, 128, 128], [77, 110, 216, 255, 236, 230, 128, 128, 128, 128, 128]], [[1, 101, 251, 255, 241, 255, 128, 128, 128, 128, 128], [170, 139, 241, 252, 236, 209, 255, 255, 128, 128, 128], [37, 116, 196, 243, 228, 255, 255, 255, 128, 128, 128]], [[1, 204, 254, 255, 245, 255, 128, 128, 128, 128, 128], [207, 160, 250, 255, 238, 128, 128, 128, 128, 128, 128], [102, 103, 231, 255, 211, 171, 128, 128, 128, 128, 128]], [[1, 152, 252, 255, 240, 255, 128, 128, 128, 128, 128], [177, 135, 243, 255, 234, 225, 128, 128, 128, 128, 128], [80, 129, 211, 255, 194, 224, 128, 128, 128, 128, 128]], [[1, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [246, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [255, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128]]], [[[198, 35, 237, 223, 193, 187, 162, 160, 145, 155, 62], [131, 45, 198, 221, 172, 176, 220, 157, 252, 221, 1], [68, 47, 146, 208, 149, 167, 221, 162, 255, 223, 128]], [[1, 149, 241, 255, 221, 224, 255, 255, 128, 128, 128], [184, 141, 234, 253, 222, 220, 255, 199, 128, 128, 128], [81, 99, 181, 242, 176, 190, 249, 202, 255, 255, 128]], [[1, 129, 232, 253, 214, 197, 242, 196, 255, 255, 128], [99, 121, 210, 250, 201, 198, 255, 202, 128, 128, 128], [23, 91, 163, 242, 170, 187, 247, 210, 255, 255, 128]], [[1, 200, 246, 255, 234, 255, 128, 128, 128, 128, 128], [109, 178, 241, 255, 231, 245, 255, 255, 128, 128, 128], [44, 130, 201, 253, 205, 192, 255, 255, 128, 128, 128]], [[1, 132, 239, 251, 219, 209, 255, 165, 128, 128, 128], [94, 136, 225, 251, 218, 190, 255, 255, 128, 128, 128], [22, 100, 174, 245, 186, 161, 255, 199, 128, 128, 128]], [[1, 182, 249, 255, 232, 235, 128, 128, 128, 128, 128], [124, 143, 241, 255, 227, 234, 128, 128, 128, 128, 128], [35, 77, 181, 251, 193, 211, 255, 205, 128, 128, 128]], [[1, 157, 247, 255, 236, 231, 255, 255, 128, 128, 128], [121, 141, 235, 255, 225, 227, 255, 255, 128, 128, 128], [45, 99, 188, 251, 195, 217, 255, 224, 128, 128, 128]], [[1, 1, 251, 255, 213, 255, 128, 128, 128, 128, 128], [203, 1, 248, 255, 255, 128, 128, 128, 128, 128, 128], [137, 1, 177, 255, 224, 255, 128, 128, 128, 128, 128]]], [[[253, 9, 248, 251, 207, 208, 255, 192, 128, 128, 128], [175, 13, 224, 243, 193, 185, 249, 198, 255, 255, 128], [73, 17, 171, 221, 161, 179, 236, 167, 255, 234, 128]], [[1, 95, 247, 253, 212, 183, 255, 255, 128, 128, 128], [239, 90, 244, 250, 211, 209, 255, 255, 128, 128, 128], [155, 77, 195, 248, 188, 195, 255, 255, 128, 128, 128]], [[1, 24, 239, 251, 218, 219, 255, 205, 128, 128, 128], [201, 51, 219, 255, 196, 186, 128, 128, 128, 128, 128], [69, 46, 190, 239, 201, 218, 255, 228, 128, 128, 128]], [[1, 191, 251, 255, 255, 128, 128, 128, 128, 128, 128], [223, 165, 249, 255, 213, 255, 128, 128, 128, 128, 128], [141, 124, 248, 255, 255, 128, 128, 128, 128, 128, 128]], [[1, 16, 248, 255, 255, 128, 128, 128, 128, 128, 128], [190, 36, 230, 255, 236, 255, 128, 128, 128, 128, 128], [149, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128]], [[1, 226, 255, 128, 128, 128, 128, 128, 128, 128, 128], [247, 192, 255, 128, 128, 128, 128, 128, 128, 128, 128], [240, 128, 255, 128, 128, 128, 128, 128, 128, 128, 128]], [[1, 134, 252, 255, 255, 128, 128, 128, 128, 128, 128], [213, 62, 250, 255, 255, 128, 128, 128, 128, 128, 128], [55, 93, 255, 128, 128, 128, 128, 128, 128, 128, 128]], [[128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128]]], [[[202, 24, 213, 235, 186, 191, 220, 160, 240, 175, 255], [126, 38, 182, 232, 169, 184, 228, 174, 255, 187, 128], [61, 46, 138, 219, 151, 178, 240, 170, 255, 216, 128]], [[1, 112, 230, 250, 199, 191, 247, 159, 255, 255, 128], [166, 109, 228, 252, 211, 215, 255, 174, 128, 128, 128], [39, 77, 162, 232, 172, 180, 245, 178, 255, 255, 128]], [[1, 52, 220, 246, 198, 199, 249, 220, 255, 255, 128], [124, 74, 191, 243, 183, 193, 250, 221, 255, 255, 128], [24, 71, 130, 219, 154, 170, 243, 182, 255, 255, 128]], [[1, 182, 225, 249, 219, 240, 255, 224, 128, 128, 128], [149, 150, 226, 252, 216, 205, 255, 171, 128, 128, 128], [28, 108, 170, 242, 183, 194, 254, 223, 255, 255, 128]], [[1, 81, 230, 252, 204, 203, 255, 192, 128, 128, 128], [123, 102, 209, 247, 188, 196, 255, 233, 128, 128, 128], [20, 95, 153, 243, 164, 173, 255, 203, 128, 128, 128]], [[1, 222, 248, 255, 216, 213, 128, 128, 128, 128, 128], [168, 175, 246, 252, 235, 205, 255, 255, 128, 128, 128], [47, 116, 215, 255, 211, 212, 255, 255, 128, 128, 128]], [[1, 121, 236, 253, 212, 214, 255, 255, 128, 128, 128], [141, 84, 213, 252, 201, 202, 255, 219, 128, 128, 128], [42, 80, 160, 240, 162, 185, 255, 205, 128, 128, 128]], [[1, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [244, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [238, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128]]]], Do = [[[231, 120, 48, 89, 115, 113, 120, 152, 112], [152, 179, 64, 126, 170, 118, 46, 70, 95], [175, 69, 143, 80, 85, 82, 72, 155, 103], [56, 58, 10, 171, 218, 189, 17, 13, 152], [114, 26, 17, 163, 44, 195, 21, 10, 173], [121, 24, 80, 195, 26, 62, 44, 64, 85], [144, 71, 10, 38, 171, 213, 144, 34, 26], [170, 46, 55, 19, 136, 160, 33, 206, 71], [63, 20, 8, 114, 114, 208, 12, 9, 226], [81, 40, 11, 96, 182, 84, 29, 16, 36]], [[134, 183, 89, 137, 98, 101, 106, 165, 148], [72, 187, 100, 130, 157, 111, 32, 75, 80], [66, 102, 167, 99, 74, 62, 40, 234, 128], [41, 53, 9, 178, 241, 141, 26, 8, 107], [74, 43, 26, 146, 73, 166, 49, 23, 157], [65, 38, 105, 160, 51, 52, 31, 115, 128], [104, 79, 12, 27, 217, 255, 87, 17, 7], [87, 68, 71, 44, 114, 51, 15, 186, 23], [47, 41, 14, 110, 182, 183, 21, 17, 194], [66, 45, 25, 102, 197, 189, 23, 18, 22]], [[88, 88, 147, 150, 42, 46, 45, 196, 205], [43, 97, 183, 117, 85, 38, 35, 179, 61], [39, 53, 200, 87, 26, 21, 43, 232, 171], [56, 34, 51, 104, 114, 102, 29, 93, 77], [39, 28, 85, 171, 58, 165, 90, 98, 64], [34, 22, 116, 206, 23, 34, 43, 166, 73], [107, 54, 32, 26, 51, 1, 81, 43, 31], [68, 25, 106, 22, 64, 171, 36, 225, 114], [34, 19, 21, 102, 132, 188, 16, 76, 124], [62, 18, 78, 95, 85, 57, 50, 48, 51]], [[193, 101, 35, 159, 215, 111, 89, 46, 111], [60, 148, 31, 172, 219, 228, 21, 18, 111], [112, 113, 77, 85, 179, 255, 38, 120, 114], [40, 42, 1, 196, 245, 209, 10, 25, 109], [88, 43, 29, 140, 166, 213, 37, 43, 154], [61, 63, 30, 155, 67, 45, 68, 1, 209], [100, 80, 8, 43, 154, 1, 51, 26, 71], [142, 78, 78, 16, 255, 128, 34, 197, 171], [41, 40, 5, 102, 211, 183, 4, 1, 221], [51, 50, 17, 168, 209, 192, 23, 25, 82]], [[138, 31, 36, 171, 27, 166, 38, 44, 229], [67, 87, 58, 169, 82, 115, 26, 59, 179], [63, 59, 90, 180, 59, 166, 93, 73, 154], [40, 40, 21, 116, 143, 209, 34, 39, 175], [47, 15, 16, 183, 34, 223, 49, 45, 183], [46, 17, 33, 183, 6, 98, 15, 32, 183], [57, 46, 22, 24, 128, 1, 54, 17, 37], [65, 32, 73, 115, 28, 128, 23, 128, 205], [40, 3, 9, 115, 51, 192, 18, 6, 223], [87, 37, 9, 115, 59, 77, 64, 21, 47]], [[104, 55, 44, 218, 9, 54, 53, 130, 226], [64, 90, 70, 205, 40, 41, 23, 26, 57], [54, 57, 112, 184, 5, 41, 38, 166, 213], [30, 34, 26, 133, 152, 116, 10, 32, 134], [39, 19, 53, 221, 26, 114, 32, 73, 255], [31, 9, 65, 234, 2, 15, 1, 118, 73], [75, 32, 12, 51, 192, 255, 160, 43, 51], [88, 31, 35, 67, 102, 85, 55, 186, 85], [56, 21, 23, 111, 59, 205, 45, 37, 192], [55, 38, 70, 124, 73, 102, 1, 34, 98]], [[125, 98, 42, 88, 104, 85, 117, 175, 82], [95, 84, 53, 89, 128, 100, 113, 101, 45], [75, 79, 123, 47, 51, 128, 81, 171, 1], [57, 17, 5, 71, 102, 57, 53, 41, 49], [38, 33, 13, 121, 57, 73, 26, 1, 85], [41, 10, 67, 138, 77, 110, 90, 47, 114], [115, 21, 2, 10, 102, 255, 166, 23, 6], [101, 29, 16, 10, 85, 128, 101, 196, 26], [57, 18, 10, 102, 102, 213, 34, 20, 43], [117, 20, 15, 36, 163, 128, 68, 1, 26]], [[102, 61, 71, 37, 34, 53, 31, 243, 192], [69, 60, 71, 38, 73, 119, 28, 222, 37], [68, 45, 128, 34, 1, 47, 11, 245, 171], [62, 17, 19, 70, 146, 85, 55, 62, 70], [37, 43, 37, 154, 100, 163, 85, 160, 1], [63, 9, 92, 136, 28, 64, 32, 201, 85], [75, 15, 9, 9, 64, 255, 184, 119, 16], [86, 6, 28, 5, 64, 255, 25, 248, 1], [56, 8, 17, 132, 137, 255, 55, 116, 128], [58, 15, 20, 82, 135, 57, 26, 121, 40]], [[164, 50, 31, 137, 154, 133, 25, 35, 218], [51, 103, 44, 131, 131, 123, 31, 6, 158], [86, 40, 64, 135, 148, 224, 45, 183, 128], [22, 26, 17, 131, 240, 154, 14, 1, 209], [45, 16, 21, 91, 64, 222, 7, 1, 197], [56, 21, 39, 155, 60, 138, 23, 102, 213], [83, 12, 13, 54, 192, 255, 68, 47, 28], [85, 26, 85, 85, 128, 128, 32, 146, 171], [18, 11, 7, 63, 144, 171, 4, 4, 246], [35, 27, 10, 146, 174, 171, 12, 26, 128]], [[190, 80, 35, 99, 180, 80, 126, 54, 45], [85, 126, 47, 87, 176, 51, 41, 20, 32], [101, 75, 128, 139, 118, 146, 116, 128, 85], [56, 41, 15, 176, 236, 85, 37, 9, 62], [71, 30, 17, 119, 118, 255, 17, 18, 138], [101, 38, 60, 138, 55, 70, 43, 26, 142], [146, 36, 19, 30, 171, 255, 97, 27, 20], [138, 45, 61, 62, 219, 1, 81, 188, 64], [32, 41, 20, 117, 151, 142, 20, 21, 163], [112, 19, 12, 61, 195, 128, 48, 4, 24]]], _n = [[[[255, 255, 255, 255, 255, 255, 255, 255, 255, 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], fo, Ai = [], $r = [], Li = [], Pn, ns, Zn, Eo, Gn, ss, as, ls, cs, ds, hs, us, fs, ps, gs, ms, ys, Vs = 1, vs = 2, Ui = [], on, Nn, ws, xs, ei = [];
|
|
64049
|
+
var $o, en, Ei, ho, uo, Hr, Gr = s(511), Fi = s(2041), ji = s(225), So = s(767), Vr = 0, li = Fi, vr = ji, ar = So, dr = Gr, Fr = 0, Cr = 1, Cn = 2, Xr = 3, Ii = 4, Bn = 5, rs = 6, zn = 7, Wn = 8, bn = 9, jn = 10, Ws = [2, 3, 7], js = [3, 3, 11], tn = [280, 256, 256, 256, 40], Us = [0, 1, 1, 1, 0], Ys = [17, 18, 0, 1, 2, 3, 4, 5, 16, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], Zs = [24, 7, 23, 25, 40, 6, 39, 41, 22, 26, 38, 42, 56, 5, 55, 57, 21, 27, 54, 58, 37, 43, 72, 4, 71, 73, 20, 28, 53, 59, 70, 74, 36, 44, 88, 69, 75, 52, 60, 3, 87, 89, 19, 29, 86, 90, 35, 45, 68, 76, 85, 91, 51, 61, 104, 2, 103, 105, 18, 30, 102, 106, 34, 46, 84, 92, 67, 77, 101, 107, 50, 62, 120, 1, 119, 121, 83, 93, 17, 31, 100, 108, 66, 78, 118, 122, 33, 47, 117, 123, 49, 63, 99, 109, 82, 94, 0, 116, 124, 65, 79, 16, 32, 98, 110, 48, 115, 125, 81, 95, 64, 114, 126, 97, 111, 80, 113, 127, 96, 112], Gs = [2954, 2956, 2958, 2962, 2970, 2986, 3018, 3082, 3212, 3468, 3980, 5004], Vs = 8, Un = [4, 5, 6, 7, 8, 9, 10, 10, 11, 12, 13, 14, 15, 16, 17, 17, 18, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 25, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 91, 93, 95, 96, 98, 100, 101, 102, 104, 106, 108, 110, 112, 114, 116, 118, 122, 124, 126, 128, 130, 132, 134, 136, 138, 140, 143, 145, 148, 151, 154, 157], Yn = [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 82, 84, 86, 88, 90, 92, 94, 96, 98, 100, 102, 104, 106, 108, 110, 112, 114, 116, 119, 122, 125, 128, 131, 134, 137, 140, 143, 146, 149, 152, 155, 158, 161, 164, 167, 170, 173, 177, 181, 185, 189, 193, 197, 201, 205, 209, 213, 217, 221, 225, 229, 234, 239, 245, 249, 254, 259, 264, 269, 274, 279, 284], rn = null, is = [[173, 148, 140, 0], [176, 155, 140, 135, 0], [180, 157, 141, 134, 130, 0], [254, 254, 243, 230, 196, 177, 153, 140, 133, 130, 129, 0]], os = [0, 1, 4, 8, 5, 2, 3, 6, 9, 12, 13, 10, 7, 11, 14, 15], Zn = [-0, 1, -1, 2, -2, 3, 4, 6, -3, 5, -4, -5, -6, 7, -7, 8, -8, -9], _n = [[[[128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128]], [[253, 136, 254, 255, 228, 219, 128, 128, 128, 128, 128], [189, 129, 242, 255, 227, 213, 255, 219, 128, 128, 128], [106, 126, 227, 252, 214, 209, 255, 255, 128, 128, 128]], [[1, 98, 248, 255, 236, 226, 255, 255, 128, 128, 128], [181, 133, 238, 254, 221, 234, 255, 154, 128, 128, 128], [78, 134, 202, 247, 198, 180, 255, 219, 128, 128, 128]], [[1, 185, 249, 255, 243, 255, 128, 128, 128, 128, 128], [184, 150, 247, 255, 236, 224, 128, 128, 128, 128, 128], [77, 110, 216, 255, 236, 230, 128, 128, 128, 128, 128]], [[1, 101, 251, 255, 241, 255, 128, 128, 128, 128, 128], [170, 139, 241, 252, 236, 209, 255, 255, 128, 128, 128], [37, 116, 196, 243, 228, 255, 255, 255, 128, 128, 128]], [[1, 204, 254, 255, 245, 255, 128, 128, 128, 128, 128], [207, 160, 250, 255, 238, 128, 128, 128, 128, 128, 128], [102, 103, 231, 255, 211, 171, 128, 128, 128, 128, 128]], [[1, 152, 252, 255, 240, 255, 128, 128, 128, 128, 128], [177, 135, 243, 255, 234, 225, 128, 128, 128, 128, 128], [80, 129, 211, 255, 194, 224, 128, 128, 128, 128, 128]], [[1, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [246, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [255, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128]]], [[[198, 35, 237, 223, 193, 187, 162, 160, 145, 155, 62], [131, 45, 198, 221, 172, 176, 220, 157, 252, 221, 1], [68, 47, 146, 208, 149, 167, 221, 162, 255, 223, 128]], [[1, 149, 241, 255, 221, 224, 255, 255, 128, 128, 128], [184, 141, 234, 253, 222, 220, 255, 199, 128, 128, 128], [81, 99, 181, 242, 176, 190, 249, 202, 255, 255, 128]], [[1, 129, 232, 253, 214, 197, 242, 196, 255, 255, 128], [99, 121, 210, 250, 201, 198, 255, 202, 128, 128, 128], [23, 91, 163, 242, 170, 187, 247, 210, 255, 255, 128]], [[1, 200, 246, 255, 234, 255, 128, 128, 128, 128, 128], [109, 178, 241, 255, 231, 245, 255, 255, 128, 128, 128], [44, 130, 201, 253, 205, 192, 255, 255, 128, 128, 128]], [[1, 132, 239, 251, 219, 209, 255, 165, 128, 128, 128], [94, 136, 225, 251, 218, 190, 255, 255, 128, 128, 128], [22, 100, 174, 245, 186, 161, 255, 199, 128, 128, 128]], [[1, 182, 249, 255, 232, 235, 128, 128, 128, 128, 128], [124, 143, 241, 255, 227, 234, 128, 128, 128, 128, 128], [35, 77, 181, 251, 193, 211, 255, 205, 128, 128, 128]], [[1, 157, 247, 255, 236, 231, 255, 255, 128, 128, 128], [121, 141, 235, 255, 225, 227, 255, 255, 128, 128, 128], [45, 99, 188, 251, 195, 217, 255, 224, 128, 128, 128]], [[1, 1, 251, 255, 213, 255, 128, 128, 128, 128, 128], [203, 1, 248, 255, 255, 128, 128, 128, 128, 128, 128], [137, 1, 177, 255, 224, 255, 128, 128, 128, 128, 128]]], [[[253, 9, 248, 251, 207, 208, 255, 192, 128, 128, 128], [175, 13, 224, 243, 193, 185, 249, 198, 255, 255, 128], [73, 17, 171, 221, 161, 179, 236, 167, 255, 234, 128]], [[1, 95, 247, 253, 212, 183, 255, 255, 128, 128, 128], [239, 90, 244, 250, 211, 209, 255, 255, 128, 128, 128], [155, 77, 195, 248, 188, 195, 255, 255, 128, 128, 128]], [[1, 24, 239, 251, 218, 219, 255, 205, 128, 128, 128], [201, 51, 219, 255, 196, 186, 128, 128, 128, 128, 128], [69, 46, 190, 239, 201, 218, 255, 228, 128, 128, 128]], [[1, 191, 251, 255, 255, 128, 128, 128, 128, 128, 128], [223, 165, 249, 255, 213, 255, 128, 128, 128, 128, 128], [141, 124, 248, 255, 255, 128, 128, 128, 128, 128, 128]], [[1, 16, 248, 255, 255, 128, 128, 128, 128, 128, 128], [190, 36, 230, 255, 236, 255, 128, 128, 128, 128, 128], [149, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128]], [[1, 226, 255, 128, 128, 128, 128, 128, 128, 128, 128], [247, 192, 255, 128, 128, 128, 128, 128, 128, 128, 128], [240, 128, 255, 128, 128, 128, 128, 128, 128, 128, 128]], [[1, 134, 252, 255, 255, 128, 128, 128, 128, 128, 128], [213, 62, 250, 255, 255, 128, 128, 128, 128, 128, 128], [55, 93, 255, 128, 128, 128, 128, 128, 128, 128, 128]], [[128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128]]], [[[202, 24, 213, 235, 186, 191, 220, 160, 240, 175, 255], [126, 38, 182, 232, 169, 184, 228, 174, 255, 187, 128], [61, 46, 138, 219, 151, 178, 240, 170, 255, 216, 128]], [[1, 112, 230, 250, 199, 191, 247, 159, 255, 255, 128], [166, 109, 228, 252, 211, 215, 255, 174, 128, 128, 128], [39, 77, 162, 232, 172, 180, 245, 178, 255, 255, 128]], [[1, 52, 220, 246, 198, 199, 249, 220, 255, 255, 128], [124, 74, 191, 243, 183, 193, 250, 221, 255, 255, 128], [24, 71, 130, 219, 154, 170, 243, 182, 255, 255, 128]], [[1, 182, 225, 249, 219, 240, 255, 224, 128, 128, 128], [149, 150, 226, 252, 216, 205, 255, 171, 128, 128, 128], [28, 108, 170, 242, 183, 194, 254, 223, 255, 255, 128]], [[1, 81, 230, 252, 204, 203, 255, 192, 128, 128, 128], [123, 102, 209, 247, 188, 196, 255, 233, 128, 128, 128], [20, 95, 153, 243, 164, 173, 255, 203, 128, 128, 128]], [[1, 222, 248, 255, 216, 213, 128, 128, 128, 128, 128], [168, 175, 246, 252, 235, 205, 255, 255, 128, 128, 128], [47, 116, 215, 255, 211, 212, 255, 255, 128, 128, 128]], [[1, 121, 236, 253, 212, 214, 255, 255, 128, 128, 128], [141, 84, 213, 252, 201, 202, 255, 219, 128, 128, 128], [42, 80, 160, 240, 162, 185, 255, 205, 128, 128, 128]], [[1, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [244, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [238, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128]]]], Do = [[[231, 120, 48, 89, 115, 113, 120, 152, 112], [152, 179, 64, 126, 170, 118, 46, 70, 95], [175, 69, 143, 80, 85, 82, 72, 155, 103], [56, 58, 10, 171, 218, 189, 17, 13, 152], [114, 26, 17, 163, 44, 195, 21, 10, 173], [121, 24, 80, 195, 26, 62, 44, 64, 85], [144, 71, 10, 38, 171, 213, 144, 34, 26], [170, 46, 55, 19, 136, 160, 33, 206, 71], [63, 20, 8, 114, 114, 208, 12, 9, 226], [81, 40, 11, 96, 182, 84, 29, 16, 36]], [[134, 183, 89, 137, 98, 101, 106, 165, 148], [72, 187, 100, 130, 157, 111, 32, 75, 80], [66, 102, 167, 99, 74, 62, 40, 234, 128], [41, 53, 9, 178, 241, 141, 26, 8, 107], [74, 43, 26, 146, 73, 166, 49, 23, 157], [65, 38, 105, 160, 51, 52, 31, 115, 128], [104, 79, 12, 27, 217, 255, 87, 17, 7], [87, 68, 71, 44, 114, 51, 15, 186, 23], [47, 41, 14, 110, 182, 183, 21, 17, 194], [66, 45, 25, 102, 197, 189, 23, 18, 22]], [[88, 88, 147, 150, 42, 46, 45, 196, 205], [43, 97, 183, 117, 85, 38, 35, 179, 61], [39, 53, 200, 87, 26, 21, 43, 232, 171], [56, 34, 51, 104, 114, 102, 29, 93, 77], [39, 28, 85, 171, 58, 165, 90, 98, 64], [34, 22, 116, 206, 23, 34, 43, 166, 73], [107, 54, 32, 26, 51, 1, 81, 43, 31], [68, 25, 106, 22, 64, 171, 36, 225, 114], [34, 19, 21, 102, 132, 188, 16, 76, 124], [62, 18, 78, 95, 85, 57, 50, 48, 51]], [[193, 101, 35, 159, 215, 111, 89, 46, 111], [60, 148, 31, 172, 219, 228, 21, 18, 111], [112, 113, 77, 85, 179, 255, 38, 120, 114], [40, 42, 1, 196, 245, 209, 10, 25, 109], [88, 43, 29, 140, 166, 213, 37, 43, 154], [61, 63, 30, 155, 67, 45, 68, 1, 209], [100, 80, 8, 43, 154, 1, 51, 26, 71], [142, 78, 78, 16, 255, 128, 34, 197, 171], [41, 40, 5, 102, 211, 183, 4, 1, 221], [51, 50, 17, 168, 209, 192, 23, 25, 82]], [[138, 31, 36, 171, 27, 166, 38, 44, 229], [67, 87, 58, 169, 82, 115, 26, 59, 179], [63, 59, 90, 180, 59, 166, 93, 73, 154], [40, 40, 21, 116, 143, 209, 34, 39, 175], [47, 15, 16, 183, 34, 223, 49, 45, 183], [46, 17, 33, 183, 6, 98, 15, 32, 183], [57, 46, 22, 24, 128, 1, 54, 17, 37], [65, 32, 73, 115, 28, 128, 23, 128, 205], [40, 3, 9, 115, 51, 192, 18, 6, 223], [87, 37, 9, 115, 59, 77, 64, 21, 47]], [[104, 55, 44, 218, 9, 54, 53, 130, 226], [64, 90, 70, 205, 40, 41, 23, 26, 57], [54, 57, 112, 184, 5, 41, 38, 166, 213], [30, 34, 26, 133, 152, 116, 10, 32, 134], [39, 19, 53, 221, 26, 114, 32, 73, 255], [31, 9, 65, 234, 2, 15, 1, 118, 73], [75, 32, 12, 51, 192, 255, 160, 43, 51], [88, 31, 35, 67, 102, 85, 55, 186, 85], [56, 21, 23, 111, 59, 205, 45, 37, 192], [55, 38, 70, 124, 73, 102, 1, 34, 98]], [[125, 98, 42, 88, 104, 85, 117, 175, 82], [95, 84, 53, 89, 128, 100, 113, 101, 45], [75, 79, 123, 47, 51, 128, 81, 171, 1], [57, 17, 5, 71, 102, 57, 53, 41, 49], [38, 33, 13, 121, 57, 73, 26, 1, 85], [41, 10, 67, 138, 77, 110, 90, 47, 114], [115, 21, 2, 10, 102, 255, 166, 23, 6], [101, 29, 16, 10, 85, 128, 101, 196, 26], [57, 18, 10, 102, 102, 213, 34, 20, 43], [117, 20, 15, 36, 163, 128, 68, 1, 26]], [[102, 61, 71, 37, 34, 53, 31, 243, 192], [69, 60, 71, 38, 73, 119, 28, 222, 37], [68, 45, 128, 34, 1, 47, 11, 245, 171], [62, 17, 19, 70, 146, 85, 55, 62, 70], [37, 43, 37, 154, 100, 163, 85, 160, 1], [63, 9, 92, 136, 28, 64, 32, 201, 85], [75, 15, 9, 9, 64, 255, 184, 119, 16], [86, 6, 28, 5, 64, 255, 25, 248, 1], [56, 8, 17, 132, 137, 255, 55, 116, 128], [58, 15, 20, 82, 135, 57, 26, 121, 40]], [[164, 50, 31, 137, 154, 133, 25, 35, 218], [51, 103, 44, 131, 131, 123, 31, 6, 158], [86, 40, 64, 135, 148, 224, 45, 183, 128], [22, 26, 17, 131, 240, 154, 14, 1, 209], [45, 16, 21, 91, 64, 222, 7, 1, 197], [56, 21, 39, 155, 60, 138, 23, 102, 213], [83, 12, 13, 54, 192, 255, 68, 47, 28], [85, 26, 85, 85, 128, 128, 32, 146, 171], [18, 11, 7, 63, 144, 171, 4, 4, 246], [35, 27, 10, 146, 174, 171, 12, 26, 128]], [[190, 80, 35, 99, 180, 80, 126, 54, 45], [85, 126, 47, 87, 176, 51, 41, 20, 32], [101, 75, 128, 139, 118, 146, 116, 128, 85], [56, 41, 15, 176, 236, 85, 37, 9, 62], [71, 30, 17, 119, 118, 255, 17, 18, 138], [101, 38, 60, 138, 55, 70, 43, 26, 142], [146, 36, 19, 30, 171, 255, 97, 27, 20], [138, 45, 61, 62, 219, 1, 81, 188, 64], [32, 41, 20, 117, 151, 142, 20, 21, 163], [112, 19, 12, 61, 195, 128, 48, 4, 24]]], Pn = [[[[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[176, 246, 255, 255, 255, 255, 255, 255, 255, 255, 255], [223, 241, 252, 255, 255, 255, 255, 255, 255, 255, 255], [249, 253, 253, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 244, 252, 255, 255, 255, 255, 255, 255, 255, 255], [234, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [253, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 246, 254, 255, 255, 255, 255, 255, 255, 255, 255], [239, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 248, 254, 255, 255, 255, 255, 255, 255, 255, 255], [251, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [251, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 253, 255, 254, 255, 255, 255, 255, 255, 255], [250, 255, 254, 255, 254, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]], [[[217, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [225, 252, 241, 253, 255, 255, 254, 255, 255, 255, 255], [234, 250, 241, 250, 253, 255, 253, 254, 255, 255, 255]], [[255, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [223, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [238, 253, 254, 254, 255, 255, 255, 255, 255, 255, 255]], [[255, 248, 254, 255, 255, 255, 255, 255, 255, 255, 255], [249, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 255, 255, 255, 255, 255, 255, 255, 255, 255], [247, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [252, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [253, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 253, 255, 255, 255, 255, 255, 255, 255, 255], [250, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]], [[[186, 251, 250, 255, 255, 255, 255, 255, 255, 255, 255], [234, 251, 244, 254, 255, 255, 255, 255, 255, 255, 255], [251, 251, 243, 253, 254, 255, 254, 255, 255, 255, 255]], [[255, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [236, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [251, 253, 253, 254, 254, 255, 255, 255, 255, 255, 255]], [[255, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [254, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]], [[[248, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [250, 254, 252, 254, 255, 255, 255, 255, 255, 255, 255], [248, 254, 249, 253, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 253, 255, 255, 255, 255, 255, 255, 255, 255], [246, 253, 253, 255, 255, 255, 255, 255, 255, 255, 255], [252, 254, 251, 254, 254, 255, 255, 255, 255, 255, 255]], [[255, 254, 252, 255, 255, 255, 255, 255, 255, 255, 255], [248, 254, 253, 255, 255, 255, 255, 255, 255, 255, 255], [253, 255, 254, 254, 255, 255, 255, 255, 255, 255, 255]], [[255, 251, 254, 255, 255, 255, 255, 255, 255, 255, 255], [245, 251, 254, 255, 255, 255, 255, 255, 255, 255, 255], [253, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 251, 253, 255, 255, 255, 255, 255, 255, 255, 255], [252, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 252, 255, 255, 255, 255, 255, 255, 255, 255, 255], [249, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 253, 255, 255, 255, 255, 255, 255, 255, 255], [250, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]]], ns = [0, 1, 2, 3, 6, 4, 5, 6, 6, 6, 6, 6, 6, 6, 6, 7, 0], fo, Ai = [], $r = [], Li = [], Nn, ss, Gn, Eo, Vn, as, ls, cs, ds, hs, us, fs, ps, gs, ms, ys, vs, Xs = 1, ws = 2, Ui = [], on, Tn, xs, Cs, ei = [];
|
|
64033
64050
|
$t("UpsampleRgbLinePair", Oi, 3), $t("UpsampleBgrLinePair", _o, 3), $t("UpsampleRgbaLinePair", Qo, 4), $t("UpsampleBgraLinePair", io, 4), $t("UpsampleArgbLinePair", qo, 4), $t("UpsampleRgba4444LinePair", Xo, 2), $t("UpsampleRgb565LinePair", fr, 2);
|
|
64034
|
-
var
|
|
64051
|
+
var Xn = U.UpsampleRgbLinePair, Sn = U.UpsampleBgrLinePair, bs = U.UpsampleRgbaLinePair, _s = U.UpsampleBgraLinePair, Ps = U.UpsampleArgbLinePair, Ns = U.UpsampleRgba4444LinePair, qs = U.UpsampleRgb565LinePair, Dn = 16, nn = 1 << Dn - 1, sn = -227, qn = 482, Ts = 6, Ss = 0, Qs = s(256), Js = s(256), Yi = s(256), Ds = s(256), Ks = s(qn - sn), $s = s(qn - sn);
|
|
64035
64052
|
Dr("YuvToRgbRow", Oi, 3), Dr("YuvToBgrRow", _o, 3), Dr("YuvToRgbaRow", Qo, 4), Dr("YuvToBgraRow", io, 4), Dr("YuvToArgbRow", qo, 4), Dr("YuvToRgba4444Row", Xo, 2), Dr("YuvToRgb565Row", fr, 2);
|
|
64036
|
-
var
|
|
64053
|
+
var Es = [0, 4, 8, 12, 128, 132, 136, 140, 256, 260, 264, 268, 384, 388, 392, 396], dt = [0, 2, 8], ea = [8, 7, 6, 4, 4, 2, 2, 2, 1, 1, 1, 1], ta = 1;
|
|
64037
64054
|
this.WebPDecodeRGBA = function(N, F, k, B, K) {
|
|
64038
64055
|
var te = Cr, re = new Go(), oe = new Ut();
|
|
64039
64056
|
re.ba = oe, oe.S = te, oe.width = [oe.width], oe.height = [oe.height];
|
|
@@ -64090,7 +64107,7 @@ function WebPDecoder(a) {
|
|
|
64090
64107
|
if (N.Aa = 0, k = re.Oa, K = N, t(K != null), k != null) {
|
|
64091
64108
|
if (de = k.Md, de = 0 > de ? 0 : 100 < de ? 255 : 255 * de / 100, 0 < de) {
|
|
64092
64109
|
for (fe = Ee = 0; 4 > fe; ++fe)
|
|
64093
|
-
Oe = K.pb[fe], 12 > Oe.lc && (Oe.ia = de *
|
|
64110
|
+
Oe = K.pb[fe], 12 > Oe.lc && (Oe.ia = de * ea[0 > Oe.lc ? 0 : Oe.lc] >> 3), Ee |= Oe.ia;
|
|
64094
64111
|
Ee && (alert("todo:VP8InitRandom"), K.ia = 1);
|
|
64095
64112
|
}
|
|
64096
64113
|
K.Ga = k.Id, 100 < K.Ga ? K.Ga = 100 : 0 > K.Ga && (K.Ga = 0);
|
|
@@ -64107,7 +64124,7 @@ function WebPDecoder(a) {
|
|
|
64107
64124
|
} else te = null;
|
|
64108
64125
|
return te;
|
|
64109
64126
|
};
|
|
64110
|
-
var
|
|
64127
|
+
var Qn = [3, 4, 3, 4, 4, 2, 2, 4, 4, 4, 2, 1, 1];
|
|
64111
64128
|
};
|
|
64112
64129
|
new u();
|
|
64113
64130
|
/** @license
|
|
@@ -64690,7 +64707,7 @@ WebPDecoder.prototype.getData = function() {
|
|
|
64690
64707
|
(function(a) {
|
|
64691
64708
|
function t() {
|
|
64692
64709
|
return function() {
|
|
64693
|
-
return globalObject.canvg ? Promise.resolve(globalObject.canvg) : import("./index.es-
|
|
64710
|
+
return globalObject.canvg ? Promise.resolve(globalObject.canvg) : import("./index.es-ofDsoWBs.mjs");
|
|
64694
64711
|
}().catch(function(r) {
|
|
64695
64712
|
return Promise.reject(new Error("Could not load canvg: " + r));
|
|
64696
64713
|
}).then(function(r) {
|
|
@@ -72382,9 +72399,11 @@ class HOEditorFactory {
|
|
|
72382
72399
|
b(this, "watermarkText", "");
|
|
72383
72400
|
// 水印内容
|
|
72384
72401
|
b(this, "isFixPrint", !1);
|
|
72402
|
+
//开启打印优化
|
|
72403
|
+
b(this, "imageThrottleDelay", 100);
|
|
72385
72404
|
this._hoEditorFactoryId = t;
|
|
72386
72405
|
}
|
|
72387
|
-
|
|
72406
|
+
//打印优化间隔
|
|
72388
72407
|
/**
|
|
72389
72408
|
* Getter hoLocalStorage
|
|
72390
72409
|
* @return {HoLocalStorage}
|