hoeditor-web 3.3.5-beta.1 → 3.3.5-beta.3
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 Ma = Object.defineProperty;
|
|
2
|
+
var Ra = (a, t, r) => t in a ? Ma(a, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : a[t] = r;
|
|
3
|
+
var b = (a, t, r) => Ra(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";
|
|
@@ -4452,7 +4452,7 @@ class DrawContainer extends createjs$1.Container {
|
|
|
4452
4452
|
return this._drawItems.length == 0;
|
|
4453
4453
|
}
|
|
4454
4454
|
}
|
|
4455
|
-
const
|
|
4455
|
+
const Bs = class Bs {
|
|
4456
4456
|
constructor() {
|
|
4457
4457
|
b(this, "_scaleXY");
|
|
4458
4458
|
b(this, "_transformScale", 1);
|
|
@@ -4474,11 +4474,11 @@ const Os = class Os {
|
|
|
4474
4474
|
return this._scaleXY !== 1 ? this._scaleXY : this._transformScale !== 1 ? this._transformScale : 1;
|
|
4475
4475
|
}
|
|
4476
4476
|
static instance() {
|
|
4477
|
-
return this._instance || (this._instance = new
|
|
4477
|
+
return this._instance || (this._instance = new Bs()), this._instance;
|
|
4478
4478
|
}
|
|
4479
4479
|
};
|
|
4480
|
-
b(
|
|
4481
|
-
let DrawConfig =
|
|
4480
|
+
b(Bs, "_instance");
|
|
4481
|
+
let DrawConfig = Bs;
|
|
4482
4482
|
class Caret {
|
|
4483
4483
|
// get dLine(): DrawLine | DrawTable {
|
|
4484
4484
|
// return this._dLine;
|
|
@@ -5706,6 +5706,33 @@ class TextStyle {
|
|
|
5706
5706
|
r.size !== t.size && (this.size = t.size), r.font !== t.font && (this.font = t.font), r.backColor !== t.backColor && (this.backColor = t.backColor), r.color !== t.color && (this.color = t.color), r.bold !== t.bold && (this.bold = t.bold), r.commentID !== t.commentID && (this.commentID = t.commentID), r.creatorIndex !== t.creatorIndex && (this.creatorIndex = t.creatorIndex), r.deleterIndex !== t.deleterIndex && (this.deleterIndex = t.deleterIndex), r.modifierIndex !== t.modifierIndex && (this.modifierIndex = t.modifierIndex), r.italic !== t.italic && (this.italic = t.italic), r.script !== t.script && (this.script = t.script), r.strikeout !== t.strikeout && (this.strikeout = t.strikeout), r.underline !== t.underline && (this.underline = t.underline);
|
|
5707
5707
|
}
|
|
5708
5708
|
}
|
|
5709
|
+
const MISSING_CIRCLED_NUMBERS$1 = {
|
|
5710
|
+
9322: "11",
|
|
5711
|
+
9323: "12",
|
|
5712
|
+
9324: "13",
|
|
5713
|
+
9325: "14",
|
|
5714
|
+
9326: "15",
|
|
5715
|
+
9327: "16",
|
|
5716
|
+
9328: "17",
|
|
5717
|
+
9329: "18",
|
|
5718
|
+
9330: "19",
|
|
5719
|
+
9331: "20"
|
|
5720
|
+
};
|
|
5721
|
+
function isMissingGlyph$1(a) {
|
|
5722
|
+
return a.length === 1 && MISSING_CIRCLED_NUMBERS$1.hasOwnProperty(a.charCodeAt(0));
|
|
5723
|
+
}
|
|
5724
|
+
function getMissingGlyphNumber$1(a) {
|
|
5725
|
+
return MISSING_CIRCLED_NUMBERS$1[a.charCodeAt(0)] || "";
|
|
5726
|
+
}
|
|
5727
|
+
function hasMissingGlyph$1(a) {
|
|
5728
|
+
for (let t = 0; t < a.length; t++)
|
|
5729
|
+
if (isMissingGlyph$1(a[t])) return !0;
|
|
5730
|
+
return !1;
|
|
5731
|
+
}
|
|
5732
|
+
function drawCircledNumber$1(a, t, r, o, n, s, l, c) {
|
|
5733
|
+
const u = o * 0.86 / 2, f = t + o / 2, p = r - o * 0.38;
|
|
5734
|
+
a.beginPath(), a.arc(f, p, u, 0, Math.PI * 2), c ? (a.strokeStyle = l, a.lineWidth = c) : (a.strokeStyle = l, a.lineWidth = Math.max(0.3, o * 0.04)), a.stroke(), a.save(), a.translate(f, p), a.scale(0.72, 0.72), a.fillStyle = l, a.textAlign = "center", a.textBaseline = "middle", a.fillText(n, 0, 0), a.restore();
|
|
5735
|
+
}
|
|
5709
5736
|
const Bo = class Bo extends createjs$1.Text {
|
|
5710
5737
|
constructor(r, o, n, s) {
|
|
5711
5738
|
super(r, o, n);
|
|
@@ -5717,7 +5744,7 @@ const Bo = class Bo extends createjs$1.Text {
|
|
|
5717
5744
|
let c = 0;
|
|
5718
5745
|
if (r)
|
|
5719
5746
|
for (let d = 0, u = r.length; d < u; d++)
|
|
5720
|
-
r.charCodeAt(d) >= 1e4 ? c = this._chinesWordWidth : c = this._getMeasuredWidth(r[d]), this._docWidth += c, l = l + c + this._letterSpacing;
|
|
5747
|
+
isMissingGlyph$1(r[d]) ? c = this._chinesWordWidth : r.charCodeAt(d) >= 1e4 ? c = this._chinesWordWidth : c = this._getMeasuredWidth(r[d]), this._docWidth += c, l = l + c + this._letterSpacing;
|
|
5721
5748
|
}
|
|
5722
5749
|
get docWidth() {
|
|
5723
5750
|
return this._docWidth;
|
|
@@ -5741,9 +5768,27 @@ const Bo = class Bo extends createjs$1.Text {
|
|
|
5741
5768
|
if (r instanceof CanvasRenderingContext2D)
|
|
5742
5769
|
for (let f = 0, p = c.length; f < p; f++) {
|
|
5743
5770
|
let m = 0;
|
|
5744
|
-
c.charCodeAt(f) >= 1e4 ? m = this._chinesWordWidth : m = this._getMeasuredWidth(c[f]), this.outline ? r.strokeText(c[f], d, 0, this.maxWidth || 65535) : r.fillText(c[f], d, 0, this.maxWidth || 65535), d += m + this._letterSpacing, u += m;
|
|
5771
|
+
isMissingGlyph$1(c[f]) ? m = this._chinesWordWidth : c.charCodeAt(f) >= 1e4 ? m = this._chinesWordWidth : m = this._getMeasuredWidth(c[f]), this.outline ? r.strokeText(c[f], d, 0, this.maxWidth || 65535) : r.fillText(c[f], d, 0, this.maxWidth || 65535), d += m + this._letterSpacing, u += m;
|
|
5745
5772
|
}
|
|
5746
|
-
else
|
|
5773
|
+
else if (r)
|
|
5774
|
+
if (hasMissingGlyph$1(c)) {
|
|
5775
|
+
let f = 0;
|
|
5776
|
+
for (let p = 0, m = c.length; p < m; p++) {
|
|
5777
|
+
const g = c[p];
|
|
5778
|
+
let y = 0;
|
|
5779
|
+
isMissingGlyph$1(g) ? y = this._chinesWordWidth : c.charCodeAt(p) >= 1e4 ? y = this._chinesWordWidth : y = this._getMeasuredWidth(g), isMissingGlyph$1(g) ? drawCircledNumber$1(
|
|
5780
|
+
r,
|
|
5781
|
+
f,
|
|
5782
|
+
0,
|
|
5783
|
+
y,
|
|
5784
|
+
getMissingGlyphNumber$1(g),
|
|
5785
|
+
this.font || "12pt SimSun",
|
|
5786
|
+
l,
|
|
5787
|
+
this.outline
|
|
5788
|
+
) : this.outline ? r.strokeText(g, f, 0, y || this.maxWidth) : r.fillText(g, f, 0, y || this.maxWidth), f += y + this._letterSpacing, u += y;
|
|
5789
|
+
}
|
|
5790
|
+
} else
|
|
5791
|
+
this.outline ? r.strokeText(c, 0, 0, this.maxWidth || 65535) : (this.font.indexOf("bold") != -1 && (r.strokeStyle = r.fillStyle, r.strokeText(c, 0, 0, this.maxWidth || 65535)), r.fillText(c, 0, 0, this.maxWidth || 65535));
|
|
5747
5792
|
return this._docWidth = u, s || r.restore(), o;
|
|
5748
5793
|
}
|
|
5749
5794
|
static getWorkingContext() {
|
|
@@ -6570,6 +6615,33 @@ class SpecialCharsNode extends ControlNode {
|
|
|
6570
6615
|
return i18nHelper("04-001-009-EMR.3.3.324", null, "特殊字符");
|
|
6571
6616
|
}
|
|
6572
6617
|
}
|
|
6618
|
+
const MISSING_CIRCLED_NUMBERS = {
|
|
6619
|
+
9322: "11",
|
|
6620
|
+
9323: "12",
|
|
6621
|
+
9324: "13",
|
|
6622
|
+
9325: "14",
|
|
6623
|
+
9326: "15",
|
|
6624
|
+
9327: "16",
|
|
6625
|
+
9328: "17",
|
|
6626
|
+
9329: "18",
|
|
6627
|
+
9330: "19",
|
|
6628
|
+
9331: "20"
|
|
6629
|
+
};
|
|
6630
|
+
function isMissingGlyph(a) {
|
|
6631
|
+
return a.length === 1 && MISSING_CIRCLED_NUMBERS.hasOwnProperty(a.charCodeAt(0));
|
|
6632
|
+
}
|
|
6633
|
+
function getMissingGlyphNumber(a) {
|
|
6634
|
+
return MISSING_CIRCLED_NUMBERS[a.charCodeAt(0)] || "";
|
|
6635
|
+
}
|
|
6636
|
+
function hasMissingGlyph(a) {
|
|
6637
|
+
for (let t = 0; t < a.length; t++)
|
|
6638
|
+
if (isMissingGlyph(a[t])) return !0;
|
|
6639
|
+
return !1;
|
|
6640
|
+
}
|
|
6641
|
+
function drawCircledNumber(a, t, r, o, n, s, l, c) {
|
|
6642
|
+
const u = o * 0.86 / 2, f = t + o / 2, p = r - o * 0.38;
|
|
6643
|
+
a.beginPath(), a.arc(f, p, u, 0, Math.PI * 2), c ? (a.strokeStyle = l, a.lineWidth = c) : (a.strokeStyle = l, a.lineWidth = Math.max(0.3, o * 0.04)), a.stroke(), a.save(), a.translate(f, p), a.scale(0.72, 0.72), a.fillStyle = l, a.textAlign = "center", a.textBaseline = "middle", a.fillText(n, 0, 0), a.restore();
|
|
6644
|
+
}
|
|
6573
6645
|
const zo = class zo extends createjs$1.Text {
|
|
6574
6646
|
constructor(r, o, n, s, l, c, d, u, f) {
|
|
6575
6647
|
super("", c, d);
|
|
@@ -6636,7 +6708,7 @@ const zo = class zo extends createjs$1.Text {
|
|
|
6636
6708
|
}
|
|
6637
6709
|
getCharWidth(r, o) {
|
|
6638
6710
|
let n = 0;
|
|
6639
|
-
return o && o.charCodeAt(0) >= 1e4 ? n = this._chinesWordWidth : (n = this._node.dCombineStyle.getEnglishWidth(o), n == 0 && (r ? n = r.measureText(o).width : n = this._getMeasuredWidth(o), this._node.dCombineStyle.setEnglishWidth(o, n))), n;
|
|
6711
|
+
return o && isMissingGlyph(o) ? this._chinesWordWidth : (o && o.charCodeAt(0) >= 1e4 ? n = this._chinesWordWidth : (n = this._node.dCombineStyle.getEnglishWidth(o), n == 0 && (r ? n = r.measureText(o).width : n = this._getMeasuredWidth(o), this._node.dCombineStyle.setEnglishWidth(o, n))), n);
|
|
6640
6712
|
}
|
|
6641
6713
|
_drawText(r, o, n) {
|
|
6642
6714
|
const s = !!r;
|
|
@@ -6664,7 +6736,23 @@ const zo = class zo extends createjs$1.Text {
|
|
|
6664
6736
|
for (let p = 0, m = this._node.combination.length; p < m; p++)
|
|
6665
6737
|
f += this._node.combination[p];
|
|
6666
6738
|
}
|
|
6667
|
-
|
|
6739
|
+
if (hasMissingGlyph(f)) {
|
|
6740
|
+
let p = 0;
|
|
6741
|
+
for (let m = 0, g = f.length; m < g; m++) {
|
|
6742
|
+
const y = f[m], w = this.getCharWidth(r, y);
|
|
6743
|
+
isMissingGlyph(y) ? drawCircledNumber(
|
|
6744
|
+
r,
|
|
6745
|
+
p,
|
|
6746
|
+
0,
|
|
6747
|
+
w,
|
|
6748
|
+
getMissingGlyphNumber(y),
|
|
6749
|
+
this.font || "12pt SimSun",
|
|
6750
|
+
l,
|
|
6751
|
+
this.outline
|
|
6752
|
+
) : this.outline ? r.strokeText(y, p, 0, w || this._maxWidth) : r.fillText(y, p, 0, w || this._maxWidth), p += w + this._letterSpacing;
|
|
6753
|
+
}
|
|
6754
|
+
} else
|
|
6755
|
+
this.outline ? r.strokeText(f, 0, 0, u || this._maxWidth) : (this.font.indexOf("bold") != -1 && (r.strokeStyle = r.fillStyle, r.strokeText(f, 0, 0, u || this._maxWidth)), r.fillText(f, 0, 0, u || this._maxWidth));
|
|
6668
6756
|
}
|
|
6669
6757
|
return this._docWidth = u, this._dWidth = d > 0 ? d - this._letterSpacing : 0, o && (o.width = this._dWidth, o.height = this._node.dHeight), s || r.restore(), o;
|
|
6670
6758
|
}
|
|
@@ -11579,12 +11667,12 @@ class DrawPageTable extends DrawRect {
|
|
|
11579
11667
|
// return this._endRowinfos.changed;
|
|
11580
11668
|
// }
|
|
11581
11669
|
}
|
|
11582
|
-
const
|
|
11670
|
+
const zs = class zs {
|
|
11583
11671
|
constructor() {
|
|
11584
11672
|
b(this, "_modalStatusObject");
|
|
11585
11673
|
}
|
|
11586
11674
|
static instance() {
|
|
11587
|
-
return this._instance || (this._instance = new
|
|
11675
|
+
return this._instance || (this._instance = new zs()), this._instance;
|
|
11588
11676
|
}
|
|
11589
11677
|
get modalStatusObject() {
|
|
11590
11678
|
return this._modalStatusObject;
|
|
@@ -11593,8 +11681,8 @@ const Bs = class Bs {
|
|
|
11593
11681
|
t !== this._modalStatusObject && (this._modalStatusObject = t);
|
|
11594
11682
|
}
|
|
11595
11683
|
};
|
|
11596
|
-
b(
|
|
11597
|
-
let CommonData =
|
|
11684
|
+
b(zs, "_instance");
|
|
11685
|
+
let CommonData = zs;
|
|
11598
11686
|
function normalizeComponent$1(a, t, r, o, n, s, l, c) {
|
|
11599
11687
|
var d = typeof a == "function" ? a.options : a;
|
|
11600
11688
|
return t && (d.render = t, d.staticRenderFns = r, d._compiled = !0), {
|
|
@@ -15216,7 +15304,7 @@ class DrawSignNode extends DrawCombineNode {
|
|
|
15216
15304
|
}
|
|
15217
15305
|
}
|
|
15218
15306
|
}
|
|
15219
|
-
const version = "3.3.5-beta.
|
|
15307
|
+
const version = "3.3.5-beta.3";
|
|
15220
15308
|
var FingerPosition = /* @__PURE__ */ ((a) => (a[a.left = 0] = "left", a[a.center = 1] = "center", a[a.right = 2] = "right", a))(FingerPosition || {});
|
|
15221
15309
|
class SignNode extends BaseNode {
|
|
15222
15310
|
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) {
|
|
@@ -34941,7 +35029,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34941
35029
|
function Ki(S, A) {
|
|
34942
35030
|
return S.slice(A, 7).concat(S.slice(0, A));
|
|
34943
35031
|
}
|
|
34944
|
-
var Ri = "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), Pr = "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),
|
|
35032
|
+
var Ri = "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), Pr = "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"), In = "Su_Mo_Tu_We_Th_Fr_Sa".split("_"), un = ee, An = ee, Ln = ee;
|
|
34945
35033
|
function vo(S, A) {
|
|
34946
35034
|
var G = s(this._weekdays) ? this._weekdays : this._weekdays[S && S !== !0 && this._weekdays.isFormat.test(A) ? "format" : "standalone"];
|
|
34947
35035
|
return S === !0 ? Ki(G, this._week.dow) : S ? G[S.day()] : G;
|
|
@@ -34995,13 +35083,13 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
34995
35083
|
var A = ui(this, "Day");
|
|
34996
35084
|
return S != null ? (S = Zr(S, this.localeData()), this.add(S - A, "d")) : A;
|
|
34997
35085
|
}
|
|
34998
|
-
function
|
|
35086
|
+
function Mn(S) {
|
|
34999
35087
|
if (!this.isValid())
|
|
35000
35088
|
return S != null ? this : NaN;
|
|
35001
35089
|
var A = (this.day() + 7 - this.localeData()._week.dow) % 7;
|
|
35002
35090
|
return S == null ? A : this.add(S - A, "d");
|
|
35003
35091
|
}
|
|
35004
|
-
function
|
|
35092
|
+
function Rn(S) {
|
|
35005
35093
|
if (!this.isValid())
|
|
35006
35094
|
return S != null ? this : NaN;
|
|
35007
35095
|
if (S != null) {
|
|
@@ -35010,14 +35098,14 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35010
35098
|
} else
|
|
35011
35099
|
return this.day() || 7;
|
|
35012
35100
|
}
|
|
35013
|
-
function
|
|
35101
|
+
function kn(S) {
|
|
35014
35102
|
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);
|
|
35015
35103
|
}
|
|
35016
35104
|
function jo(S) {
|
|
35017
|
-
return this._weekdaysParseExact ? (c(this, "_weekdaysRegex") || yi.call(this), S ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex) : (c(this, "_weekdaysShortRegex") || (this._weekdaysShortRegex =
|
|
35105
|
+
return this._weekdaysParseExact ? (c(this, "_weekdaysRegex") || yi.call(this), S ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex) : (c(this, "_weekdaysShortRegex") || (this._weekdaysShortRegex = An), this._weekdaysShortStrictRegex && S ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex);
|
|
35018
35106
|
}
|
|
35019
35107
|
function gn(S) {
|
|
35020
|
-
return this._weekdaysParseExact ? (c(this, "_weekdaysRegex") || yi.call(this), S ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex) : (c(this, "_weekdaysMinRegex") || (this._weekdaysMinRegex =
|
|
35108
|
+
return this._weekdaysParseExact ? (c(this, "_weekdaysRegex") || yi.call(this), S ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex) : (c(this, "_weekdaysMinRegex") || (this._weekdaysMinRegex = Ln), this._weekdaysMinStrictRegex && S ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex);
|
|
35021
35109
|
}
|
|
35022
35110
|
function yi() {
|
|
35023
35111
|
function S(Lr, ci) {
|
|
@@ -35088,8 +35176,8 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35088
35176
|
function $i(S) {
|
|
35089
35177
|
return (S + "").toLowerCase().charAt(0) === "p";
|
|
35090
35178
|
}
|
|
35091
|
-
var Co = /[ap]\.?m?\.?/i,
|
|
35092
|
-
function
|
|
35179
|
+
var Co = /[ap]\.?m?\.?/i, Hn = oi("Hours", !0);
|
|
35180
|
+
function On(S, A, G) {
|
|
35093
35181
|
return S > 11 ? G ? "pm" : "PM" : G ? "am" : "AM";
|
|
35094
35182
|
}
|
|
35095
35183
|
var Ni = {
|
|
@@ -35103,7 +35191,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35103
35191
|
monthsShort: Xi,
|
|
35104
35192
|
week: cr,
|
|
35105
35193
|
weekdays: Ri,
|
|
35106
|
-
weekdaysMin:
|
|
35194
|
+
weekdaysMin: In,
|
|
35107
35195
|
weekdaysShort: Pr,
|
|
35108
35196
|
meridiemParse: Co
|
|
35109
35197
|
}, sr = {}, vi = {}, ki;
|
|
@@ -35197,7 +35285,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35197
35285
|
var A, G = S._a;
|
|
35198
35286
|
return G && v(S).overflow === -2 && (A = G[tr] < 0 || G[tr] > 11 ? tr : G[Vt] < 1 || G[Vt] > gi(G[jt], G[tr]) ? Vt : G[Zt] < 0 || G[Zt] > 24 || G[Zt] === 24 && (G[lr] !== 0 || G[gr] !== 0 || G[Rr] !== 0) ? Zt : G[lr] < 0 || G[lr] > 59 ? lr : G[gr] < 0 || G[gr] > 59 ? gr : G[Rr] < 0 || G[Rr] > 999 ? Rr : -1, v(S)._overflowDayOfYear && (A < jt || A > Vt) && (A = Vt), v(S)._overflowWeeks && A === -1 && (A = hi), v(S)._overflowWeekday && A === -1 && (A = Or), v(S).overflow = A), S;
|
|
35199
35287
|
}
|
|
35200
|
-
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)?)?$/,
|
|
35288
|
+
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)?)?$/, Bn = /Z|[+-]\d\d(?::?\d\d)?/, Si = [
|
|
35201
35289
|
["YYYYYY-MM-DD", /[+-]\d{6}-\d\d-\d\d/],
|
|
35202
35290
|
["YYYY-MM-DD", /\d{4}-\d\d-\d\d/],
|
|
35203
35291
|
["GGGG-[W]WW-E", /\d{4}-W\d\d-\d/],
|
|
@@ -35261,7 +35349,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35261
35349
|
return;
|
|
35262
35350
|
}
|
|
35263
35351
|
if (ae[4])
|
|
35264
|
-
if (
|
|
35352
|
+
if (Bn.exec(ae[4]))
|
|
35265
35353
|
Mt = "Z";
|
|
35266
35354
|
else {
|
|
35267
35355
|
S._isValid = !1;
|
|
@@ -35729,18 +35817,18 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35729
35817
|
Le || this.localeData().calendar(ae, this, fr(G))
|
|
35730
35818
|
);
|
|
35731
35819
|
}
|
|
35732
|
-
function
|
|
35820
|
+
function zn() {
|
|
35733
35821
|
return new M(this);
|
|
35734
35822
|
}
|
|
35735
|
-
function
|
|
35823
|
+
function is(S, A) {
|
|
35736
35824
|
var G = k(S) ? S : fr(S);
|
|
35737
35825
|
return this.isValid() && G.isValid() ? (A = Be(A) || "millisecond", A === "millisecond" ? this.valueOf() > G.valueOf() : G.valueOf() < this.clone().startOf(A).valueOf()) : !1;
|
|
35738
35826
|
}
|
|
35739
|
-
function
|
|
35827
|
+
function Wn(S, A) {
|
|
35740
35828
|
var G = k(S) ? S : fr(S);
|
|
35741
35829
|
return this.isValid() && G.isValid() ? (A = Be(A) || "millisecond", A === "millisecond" ? this.valueOf() < G.valueOf() : this.clone().endOf(A).valueOf() < G.valueOf()) : !1;
|
|
35742
35830
|
}
|
|
35743
|
-
function
|
|
35831
|
+
function jn(S, A, G, q) {
|
|
35744
35832
|
var ae = k(S) ? S : fr(S), Le = k(A) ? A : fr(A);
|
|
35745
35833
|
return this.isValid() && ae.isValid() && Le.isValid() ? (q = q || "()", (q[0] === "(" ? this.isAfter(ae, G) : !this.isBefore(ae, G)) && (q[1] === ")" ? this.isBefore(Le, G) : !this.isAfter(Le, G))) : !1;
|
|
35746
35834
|
}
|
|
@@ -35748,13 +35836,13 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35748
35836
|
var G = k(S) ? S : fr(S), q;
|
|
35749
35837
|
return this.isValid() && G.isValid() ? (A = Be(A) || "millisecond", A === "millisecond" ? this.valueOf() === G.valueOf() : (q = G.valueOf(), this.clone().startOf(A).valueOf() <= q && q <= this.clone().endOf(A).valueOf())) : !1;
|
|
35750
35838
|
}
|
|
35751
|
-
function
|
|
35839
|
+
function Un(S, A) {
|
|
35752
35840
|
return this.isSame(S, A) || this.isAfter(S, A);
|
|
35753
35841
|
}
|
|
35754
|
-
function
|
|
35842
|
+
function js(S, A) {
|
|
35755
35843
|
return this.isSame(S, A) || this.isBefore(S, A);
|
|
35756
35844
|
}
|
|
35757
|
-
function
|
|
35845
|
+
function Us(S, A, G) {
|
|
35758
35846
|
var q, ae, Le;
|
|
35759
35847
|
if (!this.isValid())
|
|
35760
35848
|
return NaN;
|
|
@@ -35802,10 +35890,10 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35802
35890
|
return A - q < 0 ? (ae = S.clone().add(G - 1, "months"), Le = (A - q) / (q - ae)) : (ae = S.clone().add(G + 1, "months"), Le = (A - q) / (ae - q)), -(G + Le) || 0;
|
|
35803
35891
|
}
|
|
35804
35892
|
o.defaultFormat = "YYYY-MM-DDTHH:mm:ssZ", o.defaultFormatUtc = "YYYY-MM-DDTHH:mm:ss[Z]";
|
|
35805
|
-
function
|
|
35893
|
+
function Ys() {
|
|
35806
35894
|
return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ");
|
|
35807
35895
|
}
|
|
35808
|
-
function
|
|
35896
|
+
function Zs(S) {
|
|
35809
35897
|
if (!this.isValid())
|
|
35810
35898
|
return null;
|
|
35811
35899
|
var A = S !== !0, G = A ? this.clone().utc() : this;
|
|
@@ -35817,51 +35905,51 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35817
35905
|
A ? "YYYY-MM-DD[T]HH:mm:ss.SSS[Z]" : "YYYY-MM-DD[T]HH:mm:ss.SSSZ"
|
|
35818
35906
|
);
|
|
35819
35907
|
}
|
|
35820
|
-
function
|
|
35908
|
+
function Gs() {
|
|
35821
35909
|
if (!this.isValid())
|
|
35822
35910
|
return "moment.invalid(/* " + this._i + " */)";
|
|
35823
35911
|
var S = "moment", A = "", G, q, ae, Le;
|
|
35824
35912
|
return this.isLocal() || (S = this.utcOffset() === 0 ? "moment.utc" : "moment.parseZone", A = "Z"), G = "[" + S + '("]', q = 0 <= this.year() && this.year() <= 9999 ? "YYYY" : "YYYYYY", ae = "-MM-DD[T]HH:mm:ss.SSS", Le = A + '[")]', this.format(G + q + ae + Le);
|
|
35825
35913
|
}
|
|
35826
|
-
function
|
|
35914
|
+
function Vs(S) {
|
|
35827
35915
|
S || (S = this.isUtc() ? o.defaultFormatUtc : o.defaultFormat);
|
|
35828
35916
|
var A = we(this, S);
|
|
35829
35917
|
return this.localeData().postformat(A);
|
|
35830
35918
|
}
|
|
35831
|
-
function
|
|
35919
|
+
function Xs(S, A) {
|
|
35832
35920
|
return this.isValid() && (k(S) && S.isValid() || fr(S).isValid()) ? Hr({ to: this, from: S }).locale(this.locale()).humanize(!A) : this.localeData().invalidDate();
|
|
35833
35921
|
}
|
|
35834
|
-
function
|
|
35922
|
+
function Yn(S) {
|
|
35835
35923
|
return this.from(fr(), S);
|
|
35836
35924
|
}
|
|
35837
|
-
function
|
|
35925
|
+
function Zn(S, A) {
|
|
35838
35926
|
return this.isValid() && (k(S) && S.isValid() || fr(S).isValid()) ? Hr({ from: this, to: S }).locale(this.locale()).humanize(!A) : this.localeData().invalidDate();
|
|
35839
35927
|
}
|
|
35840
35928
|
function rn(S) {
|
|
35841
35929
|
return this.to(fr(), S);
|
|
35842
35930
|
}
|
|
35843
|
-
function
|
|
35931
|
+
function os(S) {
|
|
35844
35932
|
var A;
|
|
35845
35933
|
return S === void 0 ? this._locale._abbr : (A = Qr(S), A != null && (this._locale = A), this);
|
|
35846
35934
|
}
|
|
35847
|
-
var
|
|
35935
|
+
var ns = H(
|
|
35848
35936
|
"moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",
|
|
35849
35937
|
function(S) {
|
|
35850
35938
|
return S === void 0 ? this.localeData() : this.locale(S);
|
|
35851
35939
|
}
|
|
35852
35940
|
);
|
|
35853
|
-
function
|
|
35941
|
+
function Gn() {
|
|
35854
35942
|
return this._locale;
|
|
35855
35943
|
}
|
|
35856
|
-
var _n = 1e3, Do = 60 * _n, Pn = 60 * Do,
|
|
35944
|
+
var _n = 1e3, Do = 60 * _n, Pn = 60 * Do, ss = (365 * 400 + 97) * 24 * Pn;
|
|
35857
35945
|
function fo(S, A) {
|
|
35858
35946
|
return (S % A + A) % A;
|
|
35859
35947
|
}
|
|
35860
35948
|
function Ai(S, A, G) {
|
|
35861
|
-
return S < 100 && S >= 0 ? new Date(S + 400, A, G) -
|
|
35949
|
+
return S < 100 && S >= 0 ? new Date(S + 400, A, G) - ss : new Date(S, A, G).valueOf();
|
|
35862
35950
|
}
|
|
35863
35951
|
function $r(S, A, G) {
|
|
35864
|
-
return S < 100 && S >= 0 ? Date.UTC(S + 400, A, G) -
|
|
35952
|
+
return S < 100 && S >= 0 ? Date.UTC(S + 400, A, G) - ss : Date.UTC(S, A, G);
|
|
35865
35953
|
}
|
|
35866
35954
|
function Li(S) {
|
|
35867
35955
|
var A, G;
|
|
@@ -35965,16 +36053,16 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35965
36053
|
}
|
|
35966
36054
|
return this._d.setTime(A), o.updateOffset(this, !0), this;
|
|
35967
36055
|
}
|
|
35968
|
-
function
|
|
36056
|
+
function as() {
|
|
35969
36057
|
return this._d.valueOf() - (this._offset || 0) * 6e4;
|
|
35970
36058
|
}
|
|
35971
|
-
function
|
|
36059
|
+
function Vn() {
|
|
35972
36060
|
return Math.floor(this.valueOf() / 1e3);
|
|
35973
36061
|
}
|
|
35974
36062
|
function Eo() {
|
|
35975
36063
|
return new Date(this.valueOf());
|
|
35976
36064
|
}
|
|
35977
|
-
function
|
|
36065
|
+
function Xn() {
|
|
35978
36066
|
var S = this;
|
|
35979
36067
|
return [
|
|
35980
36068
|
S.year(),
|
|
@@ -35986,7 +36074,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35986
36074
|
S.millisecond()
|
|
35987
36075
|
];
|
|
35988
36076
|
}
|
|
35989
|
-
function
|
|
36077
|
+
function ls() {
|
|
35990
36078
|
var S = this;
|
|
35991
36079
|
return {
|
|
35992
36080
|
years: S.year(),
|
|
@@ -35998,19 +36086,19 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
35998
36086
|
milliseconds: S.milliseconds()
|
|
35999
36087
|
};
|
|
36000
36088
|
}
|
|
36001
|
-
function
|
|
36089
|
+
function cs() {
|
|
36002
36090
|
return this.isValid() ? this.toISOString() : null;
|
|
36003
36091
|
}
|
|
36004
|
-
function
|
|
36092
|
+
function ds() {
|
|
36005
36093
|
return _(this);
|
|
36006
36094
|
}
|
|
36007
|
-
function
|
|
36095
|
+
function hs() {
|
|
36008
36096
|
return g({}, v(this));
|
|
36009
36097
|
}
|
|
36010
|
-
function
|
|
36098
|
+
function us() {
|
|
36011
36099
|
return v(this).overflow;
|
|
36012
36100
|
}
|
|
36013
|
-
function
|
|
36101
|
+
function fs() {
|
|
36014
36102
|
return {
|
|
36015
36103
|
input: this._i,
|
|
36016
36104
|
format: this._f,
|
|
@@ -36019,7 +36107,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
36019
36107
|
strict: this._strict
|
|
36020
36108
|
};
|
|
36021
36109
|
}
|
|
36022
|
-
oe("N", 0, 0, "eraAbbr"), oe("NN", 0, 0, "eraAbbr"), oe("NNN", 0, 0, "eraAbbr"), oe("NNNN", 0, 0, "eraName"), oe("NNNNN", 0, 0, "eraNarrow"), oe("y", ["y", 1], "yo", "eraYear"), oe("y", ["yy", 2], 0, "eraYear"), oe("y", ["yyy", 3], 0, "eraYear"), oe("y", ["yyyy", 4], 0, "eraYear"), Ge("N", Tn), Ge("NN", Tn), Ge("NNN", Tn), Ge("NNNN",
|
|
36110
|
+
oe("N", 0, 0, "eraAbbr"), oe("NN", 0, 0, "eraAbbr"), oe("NNN", 0, 0, "eraAbbr"), oe("NNNN", 0, 0, "eraName"), oe("NNNNN", 0, 0, "eraNarrow"), oe("y", ["y", 1], "yo", "eraYear"), oe("y", ["yy", 2], 0, "eraYear"), oe("y", ["yyy", 3], 0, "eraYear"), oe("y", ["yyyy", 4], 0, "eraYear"), Ge("N", Tn), Ge("NN", Tn), Ge("NNN", Tn), Ge("NNNN", xs), Ge("NNNNN", bs), Ot(
|
|
36023
36111
|
["N", "NN", "NNN", "NNNN", "NNNNN"],
|
|
36024
36112
|
function(S, A, G, q) {
|
|
36025
36113
|
var ae = G._locale.erasParse(S, q, G._strict);
|
|
@@ -36029,7 +36117,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
36029
36117
|
var ae;
|
|
36030
36118
|
G._locale._eraYearOrdinalRegex && (ae = S.match(G._locale._eraYearOrdinalRegex)), G._locale.eraYearOrdinalParse ? A[jt] = G._locale.eraYearOrdinalParse(S, ae) : A[jt] = parseInt(S, 10);
|
|
36031
36119
|
});
|
|
36032
|
-
function
|
|
36120
|
+
function ps(S, A) {
|
|
36033
36121
|
var G, q, ae, Le = this._eras || Qr("en")._eras;
|
|
36034
36122
|
for (G = 0, q = Le.length; G < q; ++G) {
|
|
36035
36123
|
switch (typeof Le[G].since) {
|
|
@@ -36048,7 +36136,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
36048
36136
|
}
|
|
36049
36137
|
return Le;
|
|
36050
36138
|
}
|
|
36051
|
-
function
|
|
36139
|
+
function gs(S, A, G) {
|
|
36052
36140
|
var q, ae, Le = this.eras(), $e, Ct, Mt;
|
|
36053
36141
|
for (S = S.toUpperCase(), q = 0, ae = Le.length; q < ae; ++q)
|
|
36054
36142
|
if ($e = Le[q].name.toUpperCase(), Ct = Le[q].abbr.toUpperCase(), Mt = Le[q].narrow.toUpperCase(), G)
|
|
@@ -36071,60 +36159,60 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
36071
36159
|
else if ([$e, Ct, Mt].indexOf(S) >= 0)
|
|
36072
36160
|
return Le[q];
|
|
36073
36161
|
}
|
|
36074
|
-
function
|
|
36162
|
+
function ms(S, A) {
|
|
36075
36163
|
var G = S.since <= S.until ? 1 : -1;
|
|
36076
36164
|
return A === void 0 ? o(S.since).year() : o(S.since).year() + (A - S.offset) * G;
|
|
36077
36165
|
}
|
|
36078
|
-
function
|
|
36166
|
+
function ys() {
|
|
36079
36167
|
var S, A, G, q = this.localeData().eras();
|
|
36080
36168
|
for (S = 0, A = q.length; S < A; ++S)
|
|
36081
36169
|
if (G = this.clone().startOf("day").valueOf(), q[S].since <= G && G <= q[S].until || q[S].until <= G && G <= q[S].since)
|
|
36082
36170
|
return q[S].name;
|
|
36083
36171
|
return "";
|
|
36084
36172
|
}
|
|
36085
|
-
function
|
|
36173
|
+
function vs() {
|
|
36086
36174
|
var S, A, G, q = this.localeData().eras();
|
|
36087
36175
|
for (S = 0, A = q.length; S < A; ++S)
|
|
36088
36176
|
if (G = this.clone().startOf("day").valueOf(), q[S].since <= G && G <= q[S].until || q[S].until <= G && G <= q[S].since)
|
|
36089
36177
|
return q[S].narrow;
|
|
36090
36178
|
return "";
|
|
36091
36179
|
}
|
|
36092
|
-
function
|
|
36180
|
+
function ws() {
|
|
36093
36181
|
var S, A, G, q = this.localeData().eras();
|
|
36094
36182
|
for (S = 0, A = q.length; S < A; ++S)
|
|
36095
36183
|
if (G = this.clone().startOf("day").valueOf(), q[S].since <= G && G <= q[S].until || q[S].until <= G && G <= q[S].since)
|
|
36096
36184
|
return q[S].abbr;
|
|
36097
36185
|
return "";
|
|
36098
36186
|
}
|
|
36099
|
-
function
|
|
36187
|
+
function qs() {
|
|
36100
36188
|
var S, A, G, q, ae = this.localeData().eras();
|
|
36101
36189
|
for (S = 0, A = ae.length; S < A; ++S)
|
|
36102
36190
|
if (G = ae[S].since <= ae[S].until ? 1 : -1, q = this.clone().startOf("day").valueOf(), ae[S].since <= q && q <= ae[S].until || ae[S].until <= q && q <= ae[S].since)
|
|
36103
36191
|
return (this.year() - o(ae[S].since).year()) * G + ae[S].offset;
|
|
36104
36192
|
return this.year();
|
|
36105
36193
|
}
|
|
36106
|
-
function
|
|
36107
|
-
return c(this, "_erasNameRegex") ||
|
|
36194
|
+
function Cs(S) {
|
|
36195
|
+
return c(this, "_erasNameRegex") || qn.call(this), S ? this._erasNameRegex : this._erasRegex;
|
|
36108
36196
|
}
|
|
36109
36197
|
function Ui(S) {
|
|
36110
|
-
return c(this, "_erasAbbrRegex") ||
|
|
36198
|
+
return c(this, "_erasAbbrRegex") || qn.call(this), S ? this._erasAbbrRegex : this._erasRegex;
|
|
36111
36199
|
}
|
|
36112
36200
|
function on(S) {
|
|
36113
|
-
return c(this, "_erasNarrowRegex") ||
|
|
36201
|
+
return c(this, "_erasNarrowRegex") || qn.call(this), S ? this._erasNarrowRegex : this._erasRegex;
|
|
36114
36202
|
}
|
|
36115
36203
|
function Tn(S, A) {
|
|
36116
36204
|
return A.erasAbbrRegex(S);
|
|
36117
36205
|
}
|
|
36118
|
-
function
|
|
36206
|
+
function xs(S, A) {
|
|
36119
36207
|
return A.erasNameRegex(S);
|
|
36120
36208
|
}
|
|
36121
|
-
function
|
|
36209
|
+
function bs(S, A) {
|
|
36122
36210
|
return A.erasNarrowRegex(S);
|
|
36123
36211
|
}
|
|
36124
36212
|
function ei(S, A) {
|
|
36125
36213
|
return A._eraYearOrdinalRegex || At;
|
|
36126
36214
|
}
|
|
36127
|
-
function
|
|
36215
|
+
function qn() {
|
|
36128
36216
|
var S = [], A = [], G = [], q = [], ae, Le, $e, Ct, Mt, qt = this.eras();
|
|
36129
36217
|
for (ae = 0, Le = qt.length; ae < Le; ++ae)
|
|
36130
36218
|
$e = Jt(qt[ae].name), Ct = Jt(qt[ae].abbr), Mt = Jt(qt[ae].narrow), A.push($e), S.push(Ct), G.push(Mt), q.push($e), q.push(Ct), q.push(Mt);
|
|
@@ -36149,7 +36237,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
36149
36237
|
), Cr(["gg", "GG"], function(S, A, G, q) {
|
|
36150
36238
|
A[q] = o.parseTwoDigitYear(S);
|
|
36151
36239
|
});
|
|
36152
|
-
function
|
|
36240
|
+
function _s(S) {
|
|
36153
36241
|
return nn.call(
|
|
36154
36242
|
this,
|
|
36155
36243
|
S,
|
|
@@ -36159,7 +36247,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
36159
36247
|
this.localeData()._week.doy
|
|
36160
36248
|
);
|
|
36161
36249
|
}
|
|
36162
|
-
function
|
|
36250
|
+
function Ps(S) {
|
|
36163
36251
|
return nn.call(
|
|
36164
36252
|
this,
|
|
36165
36253
|
S,
|
|
@@ -36169,13 +36257,13 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
36169
36257
|
4
|
|
36170
36258
|
);
|
|
36171
36259
|
}
|
|
36172
|
-
function
|
|
36260
|
+
function Ns() {
|
|
36173
36261
|
return Lt(this.year(), 1, 4);
|
|
36174
36262
|
}
|
|
36175
|
-
function
|
|
36263
|
+
function Ts() {
|
|
36176
36264
|
return Lt(this.isoWeekYear(), 1, 4);
|
|
36177
36265
|
}
|
|
36178
|
-
function
|
|
36266
|
+
function Qs() {
|
|
36179
36267
|
var S = this.localeData()._week;
|
|
36180
36268
|
return Lt(this.year(), S.dow, S.doy);
|
|
36181
36269
|
}
|
|
@@ -36194,7 +36282,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
36194
36282
|
oe("Q", 0, "Qo", "quarter"), Ge("Q", ot), Ot("Q", function(S, A) {
|
|
36195
36283
|
A[tr] = (Et(S) - 1) * 3;
|
|
36196
36284
|
});
|
|
36197
|
-
function
|
|
36285
|
+
function Qn(S) {
|
|
36198
36286
|
return S == null ? Math.ceil((this.month() + 1) / 3) : this.month((S - 1) * 3 + this.month() % 3);
|
|
36199
36287
|
}
|
|
36200
36288
|
oe("D", ["DD", 2], "Do", "date"), Ge("D", pt, ne), Ge("DD", pt, ht), Ge("Do", function(S, A) {
|
|
@@ -36202,20 +36290,20 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
36202
36290
|
}), Ot(["D", "DD"], Vt), Ot("Do", function(S, A) {
|
|
36203
36291
|
A[Vt] = Et(S.match(pt)[0]);
|
|
36204
36292
|
});
|
|
36205
|
-
var
|
|
36293
|
+
var Ss = oi("Date", !0);
|
|
36206
36294
|
oe("DDD", ["DDDD", 3], "DDDo", "dayOfYear"), Ge("DDD", It), Ge("DDDD", bt), Ot(["DDD", "DDDD"], function(S, A, G) {
|
|
36207
36295
|
G._dayOfYear = Et(S);
|
|
36208
36296
|
});
|
|
36209
|
-
function
|
|
36297
|
+
function Ds(S) {
|
|
36210
36298
|
var A = Math.round(
|
|
36211
36299
|
(this.clone().startOf("day") - this.clone().startOf("year")) / 864e5
|
|
36212
36300
|
) + 1;
|
|
36213
36301
|
return S == null ? A : this.add(S - A, "d");
|
|
36214
36302
|
}
|
|
36215
36303
|
oe("m", ["mm", 2], 0, "minute"), Ge("m", pt, Se), Ge("mm", pt, ht), Ot(["m", "mm"], lr);
|
|
36216
|
-
var
|
|
36304
|
+
var Js = oi("Minutes", !1);
|
|
36217
36305
|
oe("s", ["ss", 2], 0, "second"), Ge("s", pt, Se), Ge("ss", pt, ht), Ot(["s", "ss"], gr);
|
|
36218
|
-
var
|
|
36306
|
+
var Ks = oi("Seconds", !1);
|
|
36219
36307
|
oe("S", 0, 0, function() {
|
|
36220
36308
|
return ~~(this.millisecond() / 100);
|
|
36221
36309
|
}), oe(0, ["SS", 2], 0, function() {
|
|
@@ -36233,27 +36321,27 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
36233
36321
|
}), oe(0, ["SSSSSSSSS", 9], 0, function() {
|
|
36234
36322
|
return this.millisecond() * 1e6;
|
|
36235
36323
|
}), Ge("S", It, ot), Ge("SS", It, ht), Ge("SSS", It, bt);
|
|
36236
|
-
var Yi,
|
|
36324
|
+
var Yi, Es;
|
|
36237
36325
|
for (Yi = "SSSS"; Yi.length <= 9; Yi += "S")
|
|
36238
36326
|
Ge(Yi, At);
|
|
36239
|
-
function
|
|
36327
|
+
function $s(S, A) {
|
|
36240
36328
|
A[Rr] = Et(("0." + S) * 1e3);
|
|
36241
36329
|
}
|
|
36242
36330
|
for (Yi = "S"; Yi.length <= 9; Yi += "S")
|
|
36243
|
-
Ot(Yi,
|
|
36244
|
-
|
|
36245
|
-
function
|
|
36331
|
+
Ot(Yi, $s);
|
|
36332
|
+
Es = oi("Milliseconds", !1), oe("z", 0, 0, "zoneAbbr"), oe("zz", 0, 0, "zoneName");
|
|
36333
|
+
function ea() {
|
|
36246
36334
|
return this._isUTC ? "UTC" : "";
|
|
36247
36335
|
}
|
|
36248
|
-
function
|
|
36336
|
+
function Fs() {
|
|
36249
36337
|
return this._isUTC ? "Coordinated Universal Time" : "";
|
|
36250
36338
|
}
|
|
36251
36339
|
var dt = M.prototype;
|
|
36252
|
-
dt.add = li, dt.calendar = Ii, dt.clone =
|
|
36340
|
+
dt.add = li, dt.calendar = Ii, dt.clone = zn, dt.diff = Us, dt.endOf = Nn, dt.format = Vs, dt.from = Xs, dt.fromNow = Yn, dt.to = Zn, dt.toNow = rn, dt.get = fi, dt.invalidAt = us, dt.isAfter = is, dt.isBefore = Wn, dt.isBetween = jn, dt.isSame = bn, dt.isSameOrAfter = Un, dt.isSameOrBefore = js, dt.isValid = ds, dt.lang = ns, dt.locale = os, dt.localeData = Gn, dt.max = qo, dt.min = Xo, dt.parsingFlags = hs, dt.set = go, dt.startOf = Li, dt.subtract = vr, dt.toArray = Xn, dt.toObject = ls, dt.toDate = Eo, dt.toISOString = Zs, dt.inspect = Gs, typeof Symbol < "u" && Symbol.for != null && (dt[Symbol.for("nodejs.util.inspect.custom")] = function() {
|
|
36253
36341
|
return "Moment<" + this.format() + ">";
|
|
36254
|
-
}), dt.toJSON =
|
|
36342
|
+
}), dt.toJSON = cs, dt.toString = Ys, dt.unix = Vn, dt.valueOf = as, dt.creationData = fs, dt.eraName = ys, dt.eraNarrow = vs, dt.eraAbbr = ws, dt.eraYear = qs, dt.year = Yr, dt.isLeapYear = Gi, dt.weekYear = _s, dt.isoWeekYear = Ps, 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 = Ns, dt.isoWeeksInISOWeekYear = Ts, dt.date = Ss, dt.day = dt.days = Rt, dt.weekday = Mn, dt.isoWeekday = Rn, dt.dayOfYear = Ds, dt.hour = dt.hours = Hn, dt.minute = dt.minutes = Js, dt.second = dt.seconds = Ks, dt.millisecond = dt.milliseconds = Es, 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 = ea, dt.zoneName = Fs, dt.dates = H(
|
|
36255
36343
|
"dates accessor is deprecated. Use date instead.",
|
|
36256
|
-
|
|
36344
|
+
Ss
|
|
36257
36345
|
), dt.months = H(
|
|
36258
36346
|
"months accessor is deprecated. Use month instead",
|
|
36259
36347
|
je
|
|
@@ -36267,17 +36355,17 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
36267
36355
|
"isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",
|
|
36268
36356
|
ai
|
|
36269
36357
|
);
|
|
36270
|
-
function
|
|
36358
|
+
function ta(S) {
|
|
36271
36359
|
return fr(S * 1e3);
|
|
36272
36360
|
}
|
|
36273
|
-
function
|
|
36361
|
+
function ra() {
|
|
36274
36362
|
return fr.apply(null, arguments).parseZone();
|
|
36275
36363
|
}
|
|
36276
|
-
function
|
|
36364
|
+
function Jn(S) {
|
|
36277
36365
|
return S;
|
|
36278
36366
|
}
|
|
36279
36367
|
var N = O.prototype;
|
|
36280
|
-
N.calendar = le, N.longDateFormat = Pe, N.invalidDate = Ve, N.ordinal = Ce, N.preparse =
|
|
36368
|
+
N.calendar = le, N.longDateFormat = Pe, N.invalidDate = Ve, N.ordinal = Ce, N.preparse = Jn, N.postformat = Jn, N.relativeTime = de, N.pastFuture = $, N.set = Y, N.eras = ps, N.erasParse = gs, N.erasConvertYear = ms, N.erasAbbrRegex = Ui, N.erasNameRegex = Cs, 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 = kn, N.weekdaysShortRegex = jo, N.weekdaysMinRegex = gn, N.isPM = $i, N.meridiem = On;
|
|
36281
36369
|
function F(S, A, G, q) {
|
|
36282
36370
|
var ae = Qr(), Le = y().set(q, A);
|
|
36283
36371
|
return ae[G](Le, S);
|
|
@@ -36422,7 +36510,7 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
36422
36510
|
return this.isValid() ? this._data[S] : NaN;
|
|
36423
36511
|
};
|
|
36424
36512
|
}
|
|
36425
|
-
var ti = _r("milliseconds"), Fo = _r("seconds"), Wr = _r("minutes"), Tr = _r("hours"),
|
|
36513
|
+
var ti = _r("milliseconds"), Fo = _r("seconds"), Wr = _r("minutes"), Tr = _r("hours"), Kn = _r("days"), an = _r("months"), Io = _r("years");
|
|
36426
36514
|
function Ao() {
|
|
36427
36515
|
return nr(this.days() / 7);
|
|
36428
36516
|
}
|
|
@@ -36442,24 +36530,24 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
36442
36530
|
M: 11
|
|
36443
36531
|
// months to year
|
|
36444
36532
|
};
|
|
36445
|
-
function
|
|
36533
|
+
function ia(S, A, G, q, ae) {
|
|
36446
36534
|
return ae.relativeTime(A || 1, !!G, S, q);
|
|
36447
36535
|
}
|
|
36448
|
-
function
|
|
36536
|
+
function $n(S, A, G, q) {
|
|
36449
36537
|
var ae = Hr(S).abs(), Le = jr(ae.as("s")), $e = jr(ae.as("m")), Ct = jr(ae.as("h")), Mt = jr(ae.as("d")), qt = jr(ae.as("M")), Lr = jr(ae.as("w")), ci = jr(ae.as("y")), di = Le <= G.ss && ["s", Le] || Le < G.s && ["ss", Le] || $e <= 1 && ["m"] || $e < G.m && ["mm", $e] || Ct <= 1 && ["h"] || Ct < G.h && ["hh", Ct] || Mt <= 1 && ["d"] || Mt < G.d && ["dd", Mt];
|
|
36450
|
-
return G.w != null && (di = di || Lr <= 1 && ["w"] || Lr < G.w && ["ww", Lr]), di = di || qt <= 1 && ["M"] || qt < G.M && ["MM", qt] || ci <= 1 && ["y"] || ["yy", ci], di[2] = A, di[3] = +S > 0, di[4] = q,
|
|
36538
|
+
return G.w != null && (di = di || Lr <= 1 && ["w"] || Lr < G.w && ["ww", Lr]), di = di || qt <= 1 && ["M"] || qt < G.M && ["MM", qt] || ci <= 1 && ["y"] || ["yy", ci], di[2] = A, di[3] = +S > 0, di[4] = q, ia.apply(null, di);
|
|
36451
36539
|
}
|
|
36452
|
-
function
|
|
36540
|
+
function Is(S) {
|
|
36453
36541
|
return S === void 0 ? jr : typeof S == "function" ? (jr = S, !0) : !1;
|
|
36454
36542
|
}
|
|
36455
|
-
function
|
|
36543
|
+
function As(S, A) {
|
|
36456
36544
|
return Zi[S] === void 0 ? !1 : A === void 0 ? Zi[S] : (Zi[S] = A, S === "s" && (Zi.ss = A - 1), !0);
|
|
36457
36545
|
}
|
|
36458
|
-
function
|
|
36546
|
+
function oa(S, A) {
|
|
36459
36547
|
if (!this.isValid())
|
|
36460
36548
|
return this.localeData().invalidDate();
|
|
36461
36549
|
var G = !1, q = Zi, ae, Le;
|
|
36462
|
-
return typeof S == "object" && (A = S, S = !1), typeof S == "boolean" && (G = S), typeof A == "object" && (q = Object.assign({}, Zi, A), A.s != null && A.ss == null && (q.ss = A.s - 1)), ae = this.localeData(), Le =
|
|
36550
|
+
return typeof S == "object" && (A = S, S = !1), typeof S == "boolean" && (G = S), typeof A == "object" && (q = Object.assign({}, Zi, A), A.s != null && A.ss == null && (q.ss = A.s - 1)), ae = this.localeData(), Le = $n(this, !G, q, ae), G && (Le = ae.pastFuture(+this, Le)), ae.postformat(Le);
|
|
36463
36551
|
}
|
|
36464
36552
|
var cn = Math.abs;
|
|
36465
36553
|
function ri(S) {
|
|
@@ -36472,16 +36560,16 @@ Arguments: ` + Array.prototype.slice.call(q).join("") + `
|
|
|
36472
36560
|
return Ct ? (q = nr(S / 60), ae = nr(q / 60), S %= 60, q %= 60, Le = nr(G / 12), G %= 12, $e = S ? S.toFixed(3).replace(/\.?0+$/, "") : "", Mt = Ct < 0 ? "-" : "", qt = ri(this._months) !== ri(Ct) ? "-" : "", Lr = ri(this._days) !== ri(Ct) ? "-" : "", ci = ri(this._milliseconds) !== ri(Ct) ? "-" : "", Mt + "P" + (Le ? qt + Le + "Y" : "") + (G ? qt + G + "M" : "") + (A ? Lr + A + "D" : "") + (ae || q || S ? "T" : "") + (ae ? ci + ae + "H" : "") + (q ? ci + q + "M" : "") + (S ? ci + $e + "S" : "")) : "P0D";
|
|
36473
36561
|
}
|
|
36474
36562
|
var er = Bi.prototype;
|
|
36475
|
-
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 =
|
|
36563
|
+
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 = Kn, er.weeks = Ao, er.months = an, er.years = Io, er.humanize = oa, er.toISOString = Lo, er.toString = Lo, er.toJSON = Lo, er.locale = os, er.localeData = Gn, er.toIsoString = H(
|
|
36476
36564
|
"toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",
|
|
36477
36565
|
Lo
|
|
36478
|
-
), er.lang =
|
|
36566
|
+
), er.lang = ns, oe("X", 0, 0, "unix"), oe("x", 0, 0, "valueOf"), Ge("x", or), Ge("X", Gt), Ot("X", function(S, A, G) {
|
|
36479
36567
|
G._d = new Date(parseFloat(S) * 1e3);
|
|
36480
36568
|
}), Ot("x", function(S, A, G) {
|
|
36481
36569
|
G._d = new Date(Et(S));
|
|
36482
36570
|
});
|
|
36483
36571
|
//! moment.js
|
|
36484
|
-
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 =
|
|
36572
|
+
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 = ta, o.months = K, o.isDate = p, o.locale = wi, o.invalid = D, o.duration = Hr, o.isMoment = k, o.weekdays = re, o.parseZone = ra, o.localeData = Qr, o.isDuration = Er, o.monthsShort = te, o.weekdaysMin = ce, o.defineLocale = qr, o.updateLocale = Ci, o.locales = xo, o.weekdaysShort = ie, o.normalizeUnits = Be, o.relativeTimeRounding = Is, o.relativeTimeThreshold = As, o.calendarFormat = Xr, o.prototype = dt, o.HTML5_FMT = {
|
|
36485
36573
|
DATETIME_LOCAL: "YYYY-MM-DDTHH:mm",
|
|
36486
36574
|
// <input type="datetime-local" />
|
|
36487
36575
|
DATETIME_LOCAL_SECONDS: "YYYY-MM-DDTHH:mm:ss",
|
|
@@ -47075,20 +47163,20 @@ const createHistoryInstance = (a, t) => {
|
|
|
47075
47163
|
t.innerHTML = "";
|
|
47076
47164
|
});
|
|
47077
47165
|
}
|
|
47078
|
-
},
|
|
47166
|
+
}, Ws = class Ws {
|
|
47079
47167
|
constructor() {
|
|
47080
47168
|
b(this, "fontSize", "35");
|
|
47081
47169
|
b(this, "borderColor", "#F00");
|
|
47082
47170
|
}
|
|
47083
47171
|
static instance() {
|
|
47084
|
-
return this._instance || (this._instance = new
|
|
47172
|
+
return this._instance || (this._instance = new Ws()), this._instance;
|
|
47085
47173
|
}
|
|
47086
47174
|
setConfig(t) {
|
|
47087
47175
|
this.fontSize = t.fontSize ? t.fontSize : "35", this.borderColor = t.borderColor ? t.borderColor : "35";
|
|
47088
47176
|
}
|
|
47089
47177
|
};
|
|
47090
|
-
b(
|
|
47091
|
-
let HoFabricConfig =
|
|
47178
|
+
b(Ws, "_instance");
|
|
47179
|
+
let HoFabricConfig = Ws;
|
|
47092
47180
|
const initLanguage = async (a, t) => {
|
|
47093
47181
|
i18n.locale = a, i18n.setLocaleMessage(a, t);
|
|
47094
47182
|
};
|
|
@@ -51366,46 +51454,58 @@ class VueController {
|
|
|
51366
51454
|
return n = this.getSelectRanges(s, r, l), n;
|
|
51367
51455
|
}
|
|
51368
51456
|
searchText(t) {
|
|
51369
|
-
|
|
51370
|
-
|
|
51371
|
-
|
|
51372
|
-
|
|
51373
|
-
|
|
51374
|
-
|
|
51375
|
-
|
|
51376
|
-
|
|
51457
|
+
try {
|
|
51458
|
+
const r = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID), s = r.docTree.curDomRange.normalize().npStart.node;
|
|
51459
|
+
let l = s;
|
|
51460
|
+
s && (l = s.rootNodes[0]);
|
|
51461
|
+
const c = r.docTree.findNodes(l, t, 0, !1);
|
|
51462
|
+
let d = [];
|
|
51463
|
+
for (const u of c.obj2.values()) {
|
|
51464
|
+
const f = this.getSelectRanges2(u, t, c.obj1);
|
|
51465
|
+
f && d.push(f);
|
|
51466
|
+
}
|
|
51467
|
+
return d;
|
|
51468
|
+
} catch {
|
|
51469
|
+
return [];
|
|
51470
|
+
}
|
|
51377
51471
|
}
|
|
51378
51472
|
getSelectRanges2(t, r, o) {
|
|
51379
51473
|
const n = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID), s = t.split("|")[0], l = t.split("|")[1], c = parseInt(t.split("|")[2]);
|
|
51380
51474
|
let d = -1, u = -1;
|
|
51381
|
-
for (const
|
|
51382
|
-
const
|
|
51383
|
-
|
|
51475
|
+
for (const v of o.keys()) {
|
|
51476
|
+
const C = parseInt(v.split("|")[2]);
|
|
51477
|
+
v.split("|")[0] === s && v.split("|")[1] === l && (c >= C && C > d && (d = C), c + r.length >= C && C > u && (u = C));
|
|
51384
51478
|
}
|
|
51385
51479
|
const f = o.get(s + "|" + l + "|" + d.toString()), p = o.get(s + "|" + l + "|" + u.toString()), m = n.docTree.findNodePositionByPath(f);
|
|
51386
51480
|
m && m.node && (m.node instanceof TextNode || m.node instanceof DateTimeNode || m.node instanceof DownListNode) && m.node.styleIndex;
|
|
51387
51481
|
let g = "", y = "";
|
|
51388
51482
|
if (c - d - 1 >= 0) {
|
|
51389
|
-
const
|
|
51390
|
-
|
|
51483
|
+
const v = f.split("/");
|
|
51484
|
+
v[v.length - 1] = (c - d - 1).toString(), g = v.join("/");
|
|
51391
51485
|
} else if (m && m.node) {
|
|
51392
|
-
const
|
|
51393
|
-
|
|
51486
|
+
const v = m.node.previousLeaf();
|
|
51487
|
+
v && (g = n.docTree.getNodeLastPath(v));
|
|
51394
51488
|
}
|
|
51395
51489
|
if (m && (m.node instanceof DateTimeNode || m.node instanceof DownListNode))
|
|
51396
51490
|
y = n.docTree.getNodeLastPath(m.node);
|
|
51397
51491
|
else if (c + r.length - u - 1 >= 0) {
|
|
51398
|
-
const
|
|
51399
|
-
|
|
51492
|
+
const v = p.split("/");
|
|
51493
|
+
v[v.length - 1] = (c + r.length - u - 1).toString(), y = v.join("/");
|
|
51400
51494
|
} else {
|
|
51401
|
-
const
|
|
51402
|
-
if (
|
|
51403
|
-
const
|
|
51404
|
-
|
|
51495
|
+
const v = n.docTree.findNodePositionByPath(p);
|
|
51496
|
+
if (v && v.node) {
|
|
51497
|
+
const C = v.node.previousLeaf();
|
|
51498
|
+
C && (y = n.docTree.getNodeLastPath(C));
|
|
51405
51499
|
}
|
|
51406
51500
|
}
|
|
51407
|
-
const w = new SelectRange(this.hoEditorFactoryID)
|
|
51408
|
-
|
|
51501
|
+
const w = new SelectRange(this.hoEditorFactoryID);
|
|
51502
|
+
try {
|
|
51503
|
+
const v = StagePosition.getStagePosByPath(this._hoEditorFactoryID, g), C = StagePosition.getStagePosByPath(this._hoEditorFactoryID, y);
|
|
51504
|
+
w.spStart = v, w.spEnd = C;
|
|
51505
|
+
} catch {
|
|
51506
|
+
return null;
|
|
51507
|
+
}
|
|
51508
|
+
return w;
|
|
51409
51509
|
}
|
|
51410
51510
|
getSelectRanges(t, r, o) {
|
|
51411
51511
|
const n = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID), s = [], l = /* @__PURE__ */ new Map();
|
|
@@ -53540,7 +53640,7 @@ class DomController {
|
|
|
53540
53640
|
return HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID).vueController.isModifyDoc();
|
|
53541
53641
|
}
|
|
53542
53642
|
}
|
|
53543
|
-
class
|
|
53643
|
+
const Fn = class Fn {
|
|
53544
53644
|
constructor(t) {
|
|
53545
53645
|
b(this, "_hoEditorFactoryID");
|
|
53546
53646
|
this._hoEditorFactoryID = t;
|
|
@@ -53742,11 +53842,10 @@ class EditController {
|
|
|
53742
53842
|
const s = n.docTree.curDomRange.startPath, l = n.docTree.getParentNode(s);
|
|
53743
53843
|
if (l instanceof TextInputFieldNode && !l.canModifyContent)
|
|
53744
53844
|
return;
|
|
53745
|
-
let c;
|
|
53845
|
+
let c = [];
|
|
53746
53846
|
if (!t && n.notAllowCrossPatiPaste && n.drawTree.paintStatus !== PaintState.psDesign)
|
|
53747
53847
|
if (r) {
|
|
53748
|
-
|
|
53749
|
-
if (!r.match(u)) {
|
|
53848
|
+
if (!r.match(Fn.PATIENT_ID_REGEX)) {
|
|
53750
53849
|
message.warn(i18nHelper("04-001-009-EMR.3.3.433", null, "不能将他人病历内容复制粘贴到该患者病历中"));
|
|
53751
53850
|
return;
|
|
53752
53851
|
}
|
|
@@ -53757,20 +53856,19 @@ class EditController {
|
|
|
53757
53856
|
let d = "";
|
|
53758
53857
|
if (t) {
|
|
53759
53858
|
d = t.split(":")[0];
|
|
53760
|
-
const u = t.indexOf(":");
|
|
53761
|
-
if (
|
|
53762
|
-
c = n.structureNode.Parse(ClipboardType.ctJSON,
|
|
53859
|
+
const u = t.indexOf(":"), f = t.substring(u + 1);
|
|
53860
|
+
if (n.drawTree.paintStatus === PaintState.psDesign)
|
|
53861
|
+
c = n.structureNode.Parse(ClipboardType.ctJSON, f);
|
|
53763
53862
|
else {
|
|
53764
53863
|
if (n.notAllowCrossPatiPaste && d !== n.docTree.docProperty.patientID) {
|
|
53765
53864
|
message.warn(i18nHelper("04-001-009-EMR.3.3.433", null, "不能将他人病历内容复制粘贴到该患者病历中"));
|
|
53766
53865
|
return;
|
|
53767
53866
|
}
|
|
53768
|
-
const
|
|
53769
|
-
|
|
53867
|
+
const p = JSON.parse(f);
|
|
53868
|
+
p.length == 1 && p[0].nodeType === "ntTable" && l instanceof CellNode || p.length == 1 && p[0].nodeType === "ntRareChar" ? c = n.structureNode.Parse(ClipboardType.ctJSON, f) : r ? c = n.structureNode.Parse(ClipboardType.ctHTML, r) : c = n.structureNode.Parse(ClipboardType.ctText, o);
|
|
53770
53869
|
}
|
|
53771
53870
|
} else if (r) {
|
|
53772
|
-
|
|
53773
|
-
if (r.match(u) && (d = r.match(u)[1], n.notAllowCrossPatiPaste && d !== n.docTree.docProperty.patientID)) {
|
|
53871
|
+
if (r.match(Fn.PATIENT_ID_REGEX) && (d = r.match(Fn.PATIENT_ID_REGEX)[1], n.notAllowCrossPatiPaste && d !== n.docTree.docProperty.patientID)) {
|
|
53774
53872
|
message.warn(i18nHelper("04-001-009-EMR.3.3.433", null, "不能将他人病历内容复制粘贴到该患者病历中"));
|
|
53775
53873
|
return;
|
|
53776
53874
|
}
|
|
@@ -53778,28 +53876,11 @@ class EditController {
|
|
|
53778
53876
|
} else
|
|
53779
53877
|
c = n.structureNode.Parse(ClipboardType.ctText, o);
|
|
53780
53878
|
if (n.limitCharNumber > 0 && n.drawTree.paintStatus != PaintState.psDesign) {
|
|
53781
|
-
|
|
53782
|
-
|
|
53783
|
-
|
|
53784
|
-
const m = c[p];
|
|
53785
|
-
if (m instanceof TextNode || m instanceof TextInputFieldNode) {
|
|
53786
|
-
const g = m.text.replace(" ", "");
|
|
53787
|
-
if (u += g, f())
|
|
53788
|
-
return;
|
|
53789
|
-
}
|
|
53790
|
-
if (m instanceof ControlNode)
|
|
53791
|
-
if (m instanceof DateTimeNode) {
|
|
53792
|
-
const g = m.getDateTimeText().replace(" ", "");
|
|
53793
|
-
if (u += g, f())
|
|
53794
|
-
return;
|
|
53795
|
-
} else {
|
|
53796
|
-
const g = m.text.replace(" ", "");
|
|
53797
|
-
if (u += g, f())
|
|
53798
|
-
return;
|
|
53799
|
-
}
|
|
53800
|
-
}
|
|
53801
|
-
if (f())
|
|
53879
|
+
const u = this.extractNodesText(c).replace(/ /g, "");
|
|
53880
|
+
if (u.length > n.limitCharNumber) {
|
|
53881
|
+
message.warn(i18nHelper("04-001-009-EMR.3.3.432", [u.length, n.limitCharNumber], "根据书写规范要求,复制文本字符数({0})已超过限定字符数({1}),不允许粘贴至其它病历。"));
|
|
53802
53882
|
return;
|
|
53883
|
+
}
|
|
53803
53884
|
}
|
|
53804
53885
|
if (c.length === 1 && c[0] instanceof TableNode && l instanceof CellNode) {
|
|
53805
53886
|
const u = c[0], [f, p] = l.table.getCellInfos(l);
|
|
@@ -53851,12 +53932,39 @@ class EditController {
|
|
|
53851
53932
|
g.script = p.combineStyle.script;
|
|
53852
53933
|
const y = n.docTree.styleCompare(g);
|
|
53853
53934
|
f.styleIndex = y;
|
|
53854
|
-
} else m.combineStyle.font !== p.combineStyle.font
|
|
53935
|
+
} else m.combineStyle.font !== p.combineStyle.font || (f.styleIndex = n.docTree.curStyleIndex);
|
|
53855
53936
|
}
|
|
53856
53937
|
f instanceof ParagraphNode && (f.paraNo = n.docTree.curParaNo);
|
|
53857
53938
|
}
|
|
53939
|
+
if (n.onEditorCommand) {
|
|
53940
|
+
const u = n.docTree.curDomRange.normalize().npStart.node.parentNode;
|
|
53941
|
+
let f = null;
|
|
53942
|
+
u && (f = JSON.parse(
|
|
53943
|
+
JSON.stringify({
|
|
53944
|
+
innerIdentifier: u.innerIdentifier,
|
|
53945
|
+
dataId: u.dataId,
|
|
53946
|
+
id: u.id,
|
|
53947
|
+
name: u.name,
|
|
53948
|
+
oldText: u.text
|
|
53949
|
+
})
|
|
53950
|
+
)), setTimeout(() => {
|
|
53951
|
+
f && (f.newText = u.text), n.onEditorCommand("paste", {
|
|
53952
|
+
parseText: this.extractNodesText(c),
|
|
53953
|
+
node: f
|
|
53954
|
+
});
|
|
53955
|
+
}, 0);
|
|
53956
|
+
}
|
|
53858
53957
|
n.docController.parseNodeData(c);
|
|
53859
53958
|
}
|
|
53959
|
+
/**
|
|
53960
|
+
* 从粘贴节点数组中提取完整文本内容
|
|
53961
|
+
*/
|
|
53962
|
+
extractNodesText(t) {
|
|
53963
|
+
let r = "";
|
|
53964
|
+
for (const o of t)
|
|
53965
|
+
o instanceof TextNode || o instanceof TextInputFieldNode ? r += o.text : o instanceof DateTimeNode ? r += o.getDateTimeText() : o instanceof ControlNode && (r += o.text);
|
|
53966
|
+
return r;
|
|
53967
|
+
}
|
|
53860
53968
|
isEdit(t, r, o) {
|
|
53861
53969
|
var s, l;
|
|
53862
53970
|
let n = !0;
|
|
@@ -53917,7 +54025,9 @@ class EditController {
|
|
|
53917
54025
|
}
|
|
53918
54026
|
return o || (message.destroy(), message.error(i18nHelper("04-001-009-EMR.3.3.430", null, "表单状态元素外不可编辑"))), o;
|
|
53919
54027
|
}
|
|
53920
|
-
}
|
|
54028
|
+
};
|
|
54029
|
+
b(Fn, "PATIENT_ID_REGEX", /<!--:(.*?)-->/);
|
|
54030
|
+
let EditController = Fn;
|
|
53921
54031
|
class ElementController {
|
|
53922
54032
|
constructor(t) {
|
|
53923
54033
|
b(this, "_hoEditorFactoryID");
|
|
@@ -56714,7 +56824,7 @@ Q`), tr(We, !0), Or({
|
|
|
56714
56824
|
}
|
|
56715
56825
|
var Pr = null;
|
|
56716
56826
|
ue(), U();
|
|
56717
|
-
var
|
|
56827
|
+
var In = function(V) {
|
|
56718
56828
|
return f !== null ? Pr.encryptor(V, 0) : function(ye) {
|
|
56719
56829
|
return ye;
|
|
56720
56830
|
};
|
|
@@ -56727,14 +56837,14 @@ Q`), tr(We, !0), Or({
|
|
|
56727
56837
|
pageNumber: W,
|
|
56728
56838
|
pageContext: ee[W]
|
|
56729
56839
|
};
|
|
56730
|
-
},
|
|
56840
|
+
}, An = g.__private__.getPageInfoByObjId = function(W) {
|
|
56731
56841
|
if (isNaN(W) || W % 1 !== 0)
|
|
56732
56842
|
throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");
|
|
56733
56843
|
for (var V in ee)
|
|
56734
56844
|
if (ee[V].objId === W)
|
|
56735
56845
|
break;
|
|
56736
56846
|
return un(V);
|
|
56737
|
-
},
|
|
56847
|
+
}, Ln = g.__private__.getCurrentPageInfo = g.getCurrentPageInfo = function() {
|
|
56738
56848
|
return {
|
|
56739
56849
|
objId: ee[Pe].objId,
|
|
56740
56850
|
pageNumber: Pe,
|
|
@@ -57027,25 +57137,25 @@ T* `) : W.join(` Tj
|
|
|
57027
57137
|
return wo("B*", W), this;
|
|
57028
57138
|
};
|
|
57029
57139
|
var wo = function(V, ye) {
|
|
57030
|
-
_typeof(ye) === "object" ?
|
|
57140
|
+
_typeof(ye) === "object" ? Rn(ye, V) : Ce(V);
|
|
57031
57141
|
}, Rt = function(V) {
|
|
57032
57142
|
V === null || D === _.ADVANCED && V === void 0 || (V = fn(V), Ce(V));
|
|
57033
57143
|
};
|
|
57034
|
-
function
|
|
57144
|
+
function Mn(W, V, ye, Fe, We) {
|
|
57035
57145
|
var Ze = new TilingPattern(V || this.boundingBox, ye || this.xStep, Fe || this.yStep, this.gState, We || this.matrix);
|
|
57036
57146
|
Ze.stream = this.stream;
|
|
57037
57147
|
var lt = W + "$$" + this.cloneIndex++ + "$$";
|
|
57038
57148
|
return Nr(lt, Ze), Ze;
|
|
57039
57149
|
}
|
|
57040
|
-
var
|
|
57150
|
+
var Rn = function(V, ye) {
|
|
57041
57151
|
var Fe = Qt[V.key], We = St[Fe];
|
|
57042
57152
|
if (We instanceof ShadingPattern)
|
|
57043
|
-
Ce("q"), Ce(
|
|
57153
|
+
Ce("q"), Ce(kn(ye)), We.gState && g.setGState(We.gState), Ce(V.matrix.toString() + " cm"), Ce("/" + Fe + " sh"), Ce("Q");
|
|
57044
57154
|
else if (We instanceof TilingPattern) {
|
|
57045
57155
|
var Ze = new Pt(1, 0, 0, -1, 0, Di());
|
|
57046
|
-
V.matrix && (Ze = Ze.multiply(V.matrix || Cr), Fe =
|
|
57156
|
+
V.matrix && (Ze = Ze.multiply(V.matrix || Cr), Fe = Mn.call(We, V.key, V.boundingBox, V.xStep, V.yStep, Ze).id), Ce("q"), Ce("/Pattern cs"), Ce("/" + Fe + " scn"), We.gState && g.setGState(We.gState), Ce(ye), Ce("Q");
|
|
57047
57157
|
}
|
|
57048
|
-
},
|
|
57158
|
+
}, kn = function(V) {
|
|
57049
57159
|
switch (V) {
|
|
57050
57160
|
case "f":
|
|
57051
57161
|
case "F":
|
|
@@ -57184,12 +57294,12 @@ T* `) : W.join(` Tj
|
|
|
57184
57294
|
g.__private__.getLineHeight = g.getLineHeight = function() {
|
|
57185
57295
|
return Ne * $i;
|
|
57186
57296
|
};
|
|
57187
|
-
var
|
|
57297
|
+
var Hn = g.__private__.setLineHeightFactor = g.setLineHeightFactor = function(W) {
|
|
57188
57298
|
return W = W || 1.15, typeof W == "number" && ($i = W), this;
|
|
57189
|
-
},
|
|
57299
|
+
}, On = g.__private__.getLineHeightFactor = g.getLineHeightFactor = function() {
|
|
57190
57300
|
return $i;
|
|
57191
57301
|
};
|
|
57192
|
-
|
|
57302
|
+
Hn(a.lineHeight);
|
|
57193
57303
|
var Ni = g.__private__.getHorizontalCoordinate = function(W) {
|
|
57194
57304
|
return Z(W);
|
|
57195
57305
|
}, sr = g.__private__.getVerticalCoordinate = function(W) {
|
|
@@ -57380,7 +57490,7 @@ T* `) : W.join(` Tj
|
|
|
57380
57490
|
};
|
|
57381
57491
|
var wn = function(V, ye, Fe, We, Ze) {
|
|
57382
57492
|
Dt.push(new Zo()), Gt = Pe = 0, ge = [], Ut = V, Jt = ye, nr = Ze, ut([Fe, We]);
|
|
57383
|
-
},
|
|
57493
|
+
}, Bn = function(V) {
|
|
57384
57494
|
if (Ge[V]) {
|
|
57385
57495
|
Dt.pop().restore();
|
|
57386
57496
|
return;
|
|
@@ -57391,7 +57501,7 @@ T* `) : W.join(` Tj
|
|
|
57391
57501
|
g.beginFormObject = function(W, V, ye, Fe, We) {
|
|
57392
57502
|
return wn(W, V, ye, Fe, We), this;
|
|
57393
57503
|
}, g.endFormObject = function(W) {
|
|
57394
|
-
return
|
|
57504
|
+
return Bn(W), this;
|
|
57395
57505
|
}, g.doFormObject = function(W, V) {
|
|
57396
57506
|
var ye = Ue[Ge[W]];
|
|
57397
57507
|
return Ce("q"), Ce(V.toString() + " cm"), Ce("/" + ye.id + " Do"), Ce("Q"), this;
|
|
@@ -57437,7 +57547,7 @@ T* `) : W.join(` Tj
|
|
|
57437
57547
|
getCharSpace: wi,
|
|
57438
57548
|
getTextColor: vn,
|
|
57439
57549
|
getLineHeight: Co,
|
|
57440
|
-
getLineHeightFactor:
|
|
57550
|
+
getLineHeightFactor: On,
|
|
57441
57551
|
getLineWidth: mn,
|
|
57442
57552
|
write: se,
|
|
57443
57553
|
getHorizontalCoordinate: Ni,
|
|
@@ -57469,7 +57579,7 @@ T* `) : W.join(` Tj
|
|
|
57469
57579
|
},
|
|
57470
57580
|
encryptionOptions: f,
|
|
57471
57581
|
encryption: Pr,
|
|
57472
|
-
getEncryptor:
|
|
57582
|
+
getEncryptor: In,
|
|
57473
57583
|
output: Ki,
|
|
57474
57584
|
getNumberOfPages: Lt,
|
|
57475
57585
|
pages: ge,
|
|
@@ -57477,8 +57587,8 @@ T* `) : W.join(` Tj
|
|
|
57477
57587
|
f2: H,
|
|
57478
57588
|
f3: z,
|
|
57479
57589
|
getPageInfo: un,
|
|
57480
|
-
getPageInfoByObjId:
|
|
57481
|
-
getCurrentPageInfo:
|
|
57590
|
+
getPageInfoByObjId: An,
|
|
57591
|
+
getCurrentPageInfo: Ln,
|
|
57482
57592
|
getPDFVersion: w,
|
|
57483
57593
|
Point: xo,
|
|
57484
57594
|
Rectangle: bo,
|
|
@@ -62973,7 +63083,7 @@ function WebPDecoder(a) {
|
|
|
62973
63083
|
j[F][0] = j[N + "0"], j[F][1] = j[N + "1"], j[F][2] = j[N + "2"], j[F][3] = j[N + "3"], j[F][4] = j[N + "4"], j[F][5] = j[N + "5"], j[F][6] = j[N + "6"], j[F][7] = j[N + "7"], j[F][8] = j[N + "8"], j[F][9] = j[N + "9"], j[F][10] = j[N + "10"], j[F][11] = j[N + "11"], j[F][12] = j[N + "12"], j[F][13] = j[N + "13"], j[F][14] = j[N + "0"], j[F][15] = j[N + "0"];
|
|
62974
63084
|
}
|
|
62975
63085
|
function Ue(N) {
|
|
62976
|
-
return N ==
|
|
63086
|
+
return N == Wn || N == jn || N == bn || N == Un;
|
|
62977
63087
|
}
|
|
62978
63088
|
function Ge() {
|
|
62979
63089
|
this.eb = [], this.size = this.A = this.fb = 0;
|
|
@@ -63007,12 +63117,12 @@ function WebPDecoder(a) {
|
|
|
63007
63117
|
var ce = [0], Ee = N.ka;
|
|
63008
63118
|
ce[0] = N.T, N.Kb && (Ee == 0 ? --ce[0] : (--Ee, K[0] -= N.width), N.j + N.ka + N.T == N.o && (ce[0] = N.o - N.j - Ee));
|
|
63009
63119
|
var pe = F.eb, Ee = F.fb + Ee * F.A;
|
|
63010
|
-
N =
|
|
63120
|
+
N = xs(B, K[0], N.width, te, ce, pe, Ee + (ie ? 0 : 3), F.A), t(R == ce), N && Ue(re) && on(pe, Ee, ie, te, ce, F.A);
|
|
63011
63121
|
}
|
|
63012
63122
|
return 0;
|
|
63013
63123
|
}
|
|
63014
63124
|
function Cr(N) {
|
|
63015
|
-
var F = N.ma, R = F.ba.S, B = 11 > R, K = R == xr || R == Xr || R == Ii || R ==
|
|
63125
|
+
var F = N.ma, R = F.ba.S, B = 11 > R, K = R == xr || R == Xr || R == Ii || R == zn || R == 12 || Ue(R);
|
|
63016
63126
|
if (F.memory = null, F.Ib = null, F.Jb = null, F.Nd = null, !Bi(F.Oa, N, K ? 11 : 12)) return 0;
|
|
63017
63127
|
if (K && Ue(R) && yr(), N.da) alert("todo:use_scaling");
|
|
63018
63128
|
else {
|
|
@@ -63024,12 +63134,12 @@ function WebPDecoder(a) {
|
|
|
63024
63134
|
} else alert("todo:EmitYUV");
|
|
63025
63135
|
K && (F.Jb = Ot, B && Kt());
|
|
63026
63136
|
}
|
|
63027
|
-
if (B && !
|
|
63137
|
+
if (B && !Ds) {
|
|
63028
63138
|
for (N = 0; 256 > N; ++N)
|
|
63029
|
-
|
|
63030
|
-
for (N = sn; N <
|
|
63031
|
-
F = 76283 * (N - 16) + nn >> Dn,
|
|
63032
|
-
|
|
63139
|
+
Js[N] = 89858 * (N - 128) + nn >> Dn, Es[N] = -22014 * (N - 128) + nn, Yi[N] = -45773 * (N - 128), Ks[N] = 113618 * (N - 128) + nn >> Dn;
|
|
63140
|
+
for (N = sn; N < Qn; ++N)
|
|
63141
|
+
F = 76283 * (N - 16) + nn >> Dn, $s[N - sn] = Jr(F, 255), ea[N - sn] = Jr(F + 8 >> 4, 15);
|
|
63142
|
+
Ds = 1;
|
|
63033
63143
|
}
|
|
63034
63144
|
return 1;
|
|
63035
63145
|
}
|
|
@@ -63050,7 +63160,7 @@ function WebPDecoder(a) {
|
|
|
63050
63160
|
}
|
|
63051
63161
|
function Vt(N, F) {
|
|
63052
63162
|
if (120 < F) return F - 120;
|
|
63053
|
-
var R =
|
|
63163
|
+
var R = Gs[F - 1], R = (R >> 4) * N + (8 - (R & 15));
|
|
63054
63164
|
return 1 <= R ? R : 1;
|
|
63055
63165
|
}
|
|
63056
63166
|
function Zt(N, F, R) {
|
|
@@ -63128,7 +63238,7 @@ function WebPDecoder(a) {
|
|
|
63128
63238
|
case xr:
|
|
63129
63239
|
Ei(qe, Je, et, Ye, Ke);
|
|
63130
63240
|
break;
|
|
63131
|
-
case
|
|
63241
|
+
case Wn:
|
|
63132
63242
|
Ei(qe, Je, et, Ye, Ke), on(Ye, Ke, 0, et, 1, 0);
|
|
63133
63243
|
break;
|
|
63134
63244
|
case xn:
|
|
@@ -63137,7 +63247,7 @@ function WebPDecoder(a) {
|
|
|
63137
63247
|
case Xr:
|
|
63138
63248
|
ne(qe, Je, et, Ye, Ke, 1);
|
|
63139
63249
|
break;
|
|
63140
|
-
case
|
|
63250
|
+
case jn:
|
|
63141
63251
|
ne(qe, Je, et, Ye, Ke, 1), on(Ye, Ke, 0, et, 1, 0);
|
|
63142
63252
|
break;
|
|
63143
63253
|
case Ii:
|
|
@@ -63146,13 +63256,13 @@ function WebPDecoder(a) {
|
|
|
63146
63256
|
case bn:
|
|
63147
63257
|
ne(qe, Je, et, Ye, Ke, 0), on(Ye, Ke, 1, et, 1, 0);
|
|
63148
63258
|
break;
|
|
63149
|
-
case
|
|
63259
|
+
case zn:
|
|
63150
63260
|
ho(qe, Je, et, Ye, Ke);
|
|
63151
63261
|
break;
|
|
63152
|
-
case
|
|
63262
|
+
case Un:
|
|
63153
63263
|
ho(qe, Je, et, Ye, Ke), Tn(Ye, Ke, et, 1, 0);
|
|
63154
63264
|
break;
|
|
63155
|
-
case
|
|
63265
|
+
case is:
|
|
63156
63266
|
uo(qe, Je, et, Ye, Ke);
|
|
63157
63267
|
break;
|
|
63158
63268
|
default:
|
|
@@ -63203,7 +63313,7 @@ function WebPDecoder(a) {
|
|
|
63203
63313
|
var nt = 0;
|
|
63204
63314
|
if (ie >= et) {
|
|
63205
63315
|
var et = N, yt = Oe - R;
|
|
63206
|
-
t(et.Pb), et.wd = et.m, et.xd = yt, 0 < et.s.ua && Be(et.s.Wa, et.s.vb), et = ie +
|
|
63316
|
+
t(et.Pb), et.wd = et.m, et.xd = yt, 0 < et.s.ua && Be(et.s.Wa, et.s.vb), et = ie + Xs;
|
|
63207
63317
|
}
|
|
63208
63318
|
if (ce & Ke || (tt = gr(Ee, ce, ie)), t(tt != null), tt.Qb && (F[Oe] = tt.qb, st = !0), !st) if (De(pe), tt.jc) {
|
|
63209
63319
|
var nt = pe, yt = F, wt = Oe, Nt = tt.pd[_e(nt) & so - 1];
|
|
@@ -63250,7 +63360,7 @@ function WebPDecoder(a) {
|
|
|
63250
63360
|
}
|
|
63251
63361
|
function ui() {
|
|
63252
63362
|
var N = new V();
|
|
63253
|
-
return N == null ? null : (N.a = 0, N.xb =
|
|
63363
|
+
return N == null ? null : (N.a = 0, N.xb = Cs, 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, j.VP8LMapColor32b = bi, j.VP8LMapColor8b = Wi, N);
|
|
63254
63364
|
}
|
|
63255
63365
|
function ni(N, F, R, B, K) {
|
|
63256
63366
|
var te = 1, re = [N], ie = [F], ce = B.m, pe = B.s, Ee = null, Oe = 0;
|
|
@@ -63296,22 +63406,22 @@ function WebPDecoder(a) {
|
|
|
63296
63406
|
}
|
|
63297
63407
|
var Ar;
|
|
63298
63408
|
if (Ar = te) t: {
|
|
63299
|
-
var zr = B, _i = re, _r = ie, ti = Oe, Fo = R, Wr, Tr,
|
|
63409
|
+
var zr = B, _i = re, _r = ie, ti = Oe, Fo = R, Wr, Tr, Kn = zr.m, an = zr.s, Io = [null], Ao, jr = 1, Zi = 0, ia = Vs[ti];
|
|
63300
63410
|
r: for (; ; ) {
|
|
63301
|
-
if (Fo && xe(
|
|
63302
|
-
var
|
|
63303
|
-
if (!ni(
|
|
63304
|
-
for (Io = Io[0], an.xc =
|
|
63411
|
+
if (Fo && xe(Kn, 1)) {
|
|
63412
|
+
var $n = xe(Kn, 3) + 2, Is = ze(_i, $n), As = ze(_r, $n), oa = Is * As;
|
|
63413
|
+
if (!ni(Is, As, 0, zr, Io)) break r;
|
|
63414
|
+
for (Io = Io[0], an.xc = $n, Wr = 0; Wr < oa; ++Wr) {
|
|
63305
63415
|
var cn = Io[Wr] >> 8 & 65535;
|
|
63306
63416
|
Io[Wr] = cn, cn >= jr && (jr = cn + 1);
|
|
63307
63417
|
}
|
|
63308
63418
|
}
|
|
63309
|
-
if (
|
|
63419
|
+
if (Kn.h) break r;
|
|
63310
63420
|
for (Tr = 0; 5 > Tr; ++Tr) {
|
|
63311
63421
|
var ri = tn[Tr];
|
|
63312
63422
|
!Tr && 0 < ti && (ri += 1 << ti), Zi < ri && (Zi = ri);
|
|
63313
63423
|
}
|
|
63314
|
-
var Lo = l(jr *
|
|
63424
|
+
var Lo = l(jr * ia, J), er = jr, S = l(er, fe);
|
|
63315
63425
|
if (S == null) var A = null;
|
|
63316
63426
|
else t(65536 >= er), A = S;
|
|
63317
63427
|
var G = s(Zi);
|
|
@@ -63325,60 +63435,60 @@ function WebPDecoder(a) {
|
|
|
63325
63435
|
for (Tr = 0; 5 > Tr; ++Tr) {
|
|
63326
63436
|
ri = tn[Tr], Le[Tr] = q, $e[Tr] = Ao, !Tr && 0 < ti && (ri += 1 << ti);
|
|
63327
63437
|
o: {
|
|
63328
|
-
var Lr, ci = ri, di = zr,
|
|
63329
|
-
if (n(
|
|
63330
|
-
var
|
|
63331
|
-
|
|
63332
|
-
var
|
|
63438
|
+
var Lr, ci = ri, di = zr, es = G, ba = q, Pa = Ao, na = 0, Mo = di.m, Na = xe(Mo, 1);
|
|
63439
|
+
if (n(es, 0, 0, ci), Na) {
|
|
63440
|
+
var Ta = xe(Mo, 1) + 1, Sa = xe(Mo, 1), sa = xe(Mo, Sa == 0 ? 1 : 8);
|
|
63441
|
+
es[sa] = 1, Ta == 2 && (sa = xe(Mo, 8), es[sa] = 1);
|
|
63442
|
+
var Ls = 1;
|
|
63333
63443
|
} else {
|
|
63334
|
-
var
|
|
63335
|
-
if (19 <
|
|
63444
|
+
var ua = s(19), fa = xe(Mo, 4) + 4;
|
|
63445
|
+
if (19 < fa) {
|
|
63336
63446
|
di.a = 3;
|
|
63337
|
-
var
|
|
63447
|
+
var Ms = 0;
|
|
63338
63448
|
break o;
|
|
63339
63449
|
}
|
|
63340
|
-
for (Lr = 0; Lr <
|
|
63341
|
-
|
|
63342
|
-
var
|
|
63450
|
+
for (Lr = 0; Lr < fa; ++Lr)
|
|
63451
|
+
ua[Zs[Lr]] = xe(Mo, 3);
|
|
63452
|
+
var Rs = void 0, ts = void 0, pa = di, Da = ua, ks = ci, ga = es, aa = 0, Ro = pa.m, ma = 8, ya = l(128, J);
|
|
63343
63453
|
i: for (; ; ) {
|
|
63344
|
-
if (!U(
|
|
63454
|
+
if (!U(ya, 0, 7, Da, 19)) break i;
|
|
63345
63455
|
if (xe(Ro, 1)) {
|
|
63346
|
-
var
|
|
63347
|
-
if (
|
|
63348
|
-
} else
|
|
63349
|
-
for (
|
|
63456
|
+
var Ea = 2 + 2 * xe(Ro, 3), Rs = 2 + xe(Ro, Ea);
|
|
63457
|
+
if (Rs > ks) break i;
|
|
63458
|
+
} else Rs = ks;
|
|
63459
|
+
for (ts = 0; ts < ks && Rs--; ) {
|
|
63350
63460
|
De(Ro);
|
|
63351
|
-
var
|
|
63352
|
-
Pe(Ro, Ro.u +
|
|
63353
|
-
var En =
|
|
63354
|
-
if (16 > En)
|
|
63461
|
+
var va = ya[0 + (_e(Ro) & 127)];
|
|
63462
|
+
Pe(Ro, Ro.u + va.g);
|
|
63463
|
+
var En = va.value;
|
|
63464
|
+
if (16 > En) ga[ts++] = En, En != 0 && (ma = En);
|
|
63355
63465
|
else {
|
|
63356
|
-
var
|
|
63357
|
-
if (
|
|
63358
|
-
for (var
|
|
63359
|
-
|
|
63466
|
+
var Fa = En == 16, wa = En - 16, Ia = Us[wa], Ca = xe(Ro, js[wa]) + Ia;
|
|
63467
|
+
if (ts + Ca > ks) break i;
|
|
63468
|
+
for (var Aa = Fa ? ma : 0; 0 < Ca--; )
|
|
63469
|
+
ga[ts++] = Aa;
|
|
63360
63470
|
}
|
|
63361
63471
|
}
|
|
63362
|
-
|
|
63472
|
+
aa = 1;
|
|
63363
63473
|
break i;
|
|
63364
63474
|
}
|
|
63365
|
-
|
|
63475
|
+
aa || (pa.a = 3), Ls = aa;
|
|
63366
63476
|
}
|
|
63367
|
-
(
|
|
63477
|
+
(Ls = Ls && !Mo.h) && (na = U(ba, Pa, 8, es, ci)), Ls && na != 0 ? Ms = na : (di.a = 3, Ms = 0);
|
|
63368
63478
|
}
|
|
63369
|
-
if (
|
|
63370
|
-
if (Mt &&
|
|
63371
|
-
var
|
|
63372
|
-
for (
|
|
63373
|
-
G[
|
|
63374
|
-
qt +=
|
|
63479
|
+
if (Ms == 0) break r;
|
|
63480
|
+
if (Mt && Ys[Tr] == 1 && (Mt = q[Ao].g == 0), Ct += q[Ao].g, Ao += Ms, 3 >= Tr) {
|
|
63481
|
+
var la = G[0], rs;
|
|
63482
|
+
for (rs = 1; rs < ri; ++rs)
|
|
63483
|
+
G[rs] > la && (la = G[rs]);
|
|
63484
|
+
qt += la;
|
|
63375
63485
|
}
|
|
63376
63486
|
}
|
|
63377
63487
|
if (ae.nd = Mt, ae.Qb = 0, Mt && (ae.qb = (Le[3][$e[3] + 0].value << 24 | Le[1][$e[1] + 0].value << 16 | Le[2][$e[2] + 0].value) >>> 0, Ct == 0 && 256 > Le[0][$e[0] + 0].value && (ae.Qb = 1, ae.qb += Le[0][$e[0] + 0].value << 8)), ae.jc = !ae.Qb && 6 > qt, ae.jc) {
|
|
63378
|
-
var
|
|
63379
|
-
for (
|
|
63380
|
-
var ko =
|
|
63381
|
-
256 <=
|
|
63488
|
+
var Hs, po = ae;
|
|
63489
|
+
for (Hs = 0; Hs < so; ++Hs) {
|
|
63490
|
+
var ko = Hs, Ho = po.pd[ko], Os = po.G[0][po.H[0] + ko];
|
|
63491
|
+
256 <= Os.value ? (Ho.g = Os.g + 256, Ho.value = Os.value) : (Ho.g = 0, Ho.value = 0, ko >>= lr(Os, 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));
|
|
63382
63492
|
}
|
|
63383
63493
|
}
|
|
63384
63494
|
}
|
|
@@ -63397,9 +63507,9 @@ function WebPDecoder(a) {
|
|
|
63397
63507
|
break e;
|
|
63398
63508
|
}
|
|
63399
63509
|
} else pe.ua = 0;
|
|
63400
|
-
var
|
|
63401
|
-
if (
|
|
63402
|
-
B.xb =
|
|
63510
|
+
var ca = B, xa = re, La = ie, da = ca.s, ha = da.xc;
|
|
63511
|
+
if (ca.c = xa, ca.i = La, da.md = ze(xa, ha), da.wc = ha == 0 ? -1 : (1 << ha) - 1, R) {
|
|
63512
|
+
B.xb = qs;
|
|
63403
63513
|
break e;
|
|
63404
63514
|
}
|
|
63405
63515
|
if (Ee = s(re * ie), Ee == null) {
|
|
@@ -63419,7 +63529,7 @@ function WebPDecoder(a) {
|
|
|
63419
63529
|
var R = N.C, B = F - R, K = N.V, te = N.Ba + N.c * R;
|
|
63420
63530
|
for (t(F <= N.l.o); 0 < B; ) {
|
|
63421
63531
|
var re = 16 < B ? 16 : B, ie = N.l.ma, ce = N.l.width, pe = ce * re, Ee = ie.ca, Oe = ie.tb + ce * R, Xe = N.Ta, qe = N.Ua;
|
|
63422
|
-
Rr(N, re, K, te),
|
|
63532
|
+
Rr(N, re, K, te), bs(Xe, qe, Ee, Oe, pe), Ur(ie, R, R + re, Ee, Oe, ce), B -= re, K += re * N.c, R += re;
|
|
63423
63533
|
}
|
|
63424
63534
|
t(R == F), N.C = N.Ma = F;
|
|
63425
63535
|
}
|
|
@@ -63432,7 +63542,7 @@ function WebPDecoder(a) {
|
|
|
63432
63542
|
N.a = 3;
|
|
63433
63543
|
break e;
|
|
63434
63544
|
}
|
|
63435
|
-
if (N.xb =
|
|
63545
|
+
if (N.xb = Cs, F.width = R[0], F.height = B[0], !ni(R[0], B[0], 1, N, null)) break e;
|
|
63436
63546
|
return 1;
|
|
63437
63547
|
}
|
|
63438
63548
|
return t(N.a != 0), 0;
|
|
@@ -63545,7 +63655,7 @@ function WebPDecoder(a) {
|
|
|
63545
63655
|
continue;
|
|
63546
63656
|
} else Xe = R;
|
|
63547
63657
|
var qe = N.pb[Oe];
|
|
63548
|
-
qe.Sc[0] =
|
|
63658
|
+
qe.Sc[0] = Yn[Jr(Xe + K, 127)], qe.Sc[1] = Zn[Jr(Xe + 0, 127)], qe.Eb[0] = 2 * Yn[Jr(Xe + B, 127)], qe.Eb[1] = 101581 * Zn[Jr(Xe + ie, 127)] >> 16, 8 > qe.Eb[1] && (qe.Eb[1] = 8), qe.Qc[0] = Yn[Jr(Xe + ce, 117)], qe.Qc[1] = Zn[Jr(Xe + pe, 127)], qe.lc = Xe + pe;
|
|
63549
63659
|
}
|
|
63550
63660
|
if (!re.Rb) return rt(N, 4, "Not a key frame.");
|
|
63551
63661
|
for (Te(te), re = N.Pa, R = 0; 4 > R; ++R) {
|
|
@@ -63554,7 +63664,7 @@ function WebPDecoder(a) {
|
|
|
63554
63664
|
for (ie = 0; 11 > ie; ++ie)
|
|
63555
63665
|
ce = He(te, Pn[R][K][B][ie]) ? ve(te, 8) : _n[R][K][B][ie], re.Wc[R][K].Yb[B][ie] = ce;
|
|
63556
63666
|
for (K = 0; 17 > K; ++K)
|
|
63557
|
-
re.Xc[R][K] = re.Wc[R][
|
|
63667
|
+
re.Xc[R][K] = re.Wc[R][ss[K]];
|
|
63558
63668
|
}
|
|
63559
63669
|
return N.kc = Te(te), N.kc && (N.Bd = ve(te, 8)), N.cb = 1;
|
|
63560
63670
|
}
|
|
@@ -63569,14 +63679,14 @@ function WebPDecoder(a) {
|
|
|
63569
63679
|
var pe = N, Oe = ie, Xe = R, Ee = 0;
|
|
63570
63680
|
if (He(pe, Oe[Xe + 3]))
|
|
63571
63681
|
if (He(pe, Oe[Xe + 6])) {
|
|
63572
|
-
for (ie = 0, Ee = He(pe, Oe[Xe + 8]), Oe = He(pe, Oe[Xe + 9 + Ee]), Xe = 2 * Ee + Oe, Ee = 0, Oe =
|
|
63682
|
+
for (ie = 0, Ee = He(pe, Oe[Xe + 8]), Oe = He(pe, Oe[Xe + 9 + Ee]), Xe = 2 * Ee + Oe, Ee = 0, Oe = os[Xe]; Oe[ie]; ++ie)
|
|
63573
63683
|
Ee += Ee + He(pe, Oe[ie]);
|
|
63574
63684
|
Ee += 3 + (8 << Xe);
|
|
63575
63685
|
} else He(pe, Oe[Xe + 7]) ? (Ee = 7 + 2 * He(pe, 165), Ee += He(pe, 145)) : Ee = 5 + He(pe, 159);
|
|
63576
63686
|
else He(pe, Oe[Xe + 4]) ? Ee = 3 + He(pe, Oe[Xe + 5]) : Ee = 2;
|
|
63577
63687
|
ie = ce[2];
|
|
63578
63688
|
} else Ee = 1, ie = ce[1];
|
|
63579
|
-
ce = re +
|
|
63689
|
+
ce = re + ns[K], pe = N, 0 > pe.b && Ve(pe);
|
|
63580
63690
|
var Oe = pe.b, Xe = pe.Ca >> 1, qe = Xe - (pe.I >> Oe) >> 31;
|
|
63581
63691
|
--pe.b, pe.Ca += qe, pe.Ca |= 1, pe.I -= (Xe + 1 & qe) << Oe, te[ce] = ((Ee ^ qe) - qe) * B[(0 < K) + 0];
|
|
63582
63692
|
}
|
|
@@ -63597,8 +63707,8 @@ function WebPDecoder(a) {
|
|
|
63597
63707
|
var Je = Ee[0 + ie], et;
|
|
63598
63708
|
for (et = 0; 4 > et; ++et) {
|
|
63599
63709
|
Je = Do[ce[pe + et]][Je];
|
|
63600
|
-
for (var Ye =
|
|
63601
|
-
Ye =
|
|
63710
|
+
for (var Ye = Gn[He(re, Je[0])]; 0 < Ye; )
|
|
63711
|
+
Ye = Gn[2 * Ye + He(re, Je[Ye])];
|
|
63602
63712
|
Je = -Ye, ce[pe + et] = Je;
|
|
63603
63713
|
}
|
|
63604
63714
|
o(Xe, qe, ce, pe, 4), qe += 4, Ee[0 + ie] = Je;
|
|
@@ -63650,10 +63760,10 @@ function WebPDecoder(a) {
|
|
|
63650
63760
|
var Ir = rr.D, ir = Ir.Nb;
|
|
63651
63761
|
Ke = rr.R;
|
|
63652
63762
|
var Ir = Ir.wa[Ir.Y + st], Ar = rr.sa, zr = rr.ta + 16 * ir * Ke + 16 * st, _i = Ir.dd, _r = Ir.tc;
|
|
63653
|
-
if (_r != 0) if (t(3 <= _r), rr.L == 1) 0 < st &&
|
|
63763
|
+
if (_r != 0) if (t(3 <= _r), rr.L == 1) 0 < st && ys(Ar, zr, Ke, _r + 4), Ir.La && ws(Ar, zr, Ke, _r), 0 < nt && ms(Ar, zr, Ke, _r + 4), Ir.La && vs(Ar, zr, Ke, _r);
|
|
63654
63764
|
else {
|
|
63655
63765
|
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;
|
|
63656
|
-
0 < st && (
|
|
63766
|
+
0 < st && (cs(Ar, zr, Ke, _r + 4, _i, ir), hs(Fo, Wr, Tr, rr, ti, _r + 4, _i, ir)), Ir.La && (fs(Ar, zr, Ke, _r, _i, ir), gs(Fo, Wr, Tr, rr, ti, _r, _i, ir)), 0 < nt && (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));
|
|
63657
63767
|
}
|
|
63658
63768
|
}
|
|
63659
63769
|
if (R.ia && alert("todo:DitherRow"), B.put != null) {
|
|
@@ -63698,7 +63808,7 @@ function WebPDecoder(a) {
|
|
|
63698
63808
|
} else rt(N, 6, "Frame setup failed"), R = N.a;
|
|
63699
63809
|
if (R = R == 0) {
|
|
63700
63810
|
if (R) {
|
|
63701
|
-
N.$c = 0, 0 < N.Aa || (N.Ic =
|
|
63811
|
+
N.$c = 0, 0 < N.Aa || (N.Ic = ra);
|
|
63702
63812
|
e: {
|
|
63703
63813
|
R = N.Ic;
|
|
63704
63814
|
var ce = N.za, B = 4 * ce, pe = 32 * ce, Ee = ce + 1, Oe = 0 < N.L ? ce * (0 < N.Aa ? 2 : 1) : 0, Xe = (N.Aa == 2 ? 2 : 1) * ce;
|
|
@@ -63726,7 +63836,7 @@ function WebPDecoder(a) {
|
|
|
63726
63836
|
So[255 + R] = 0 > R ? 0 : 255 < R ? 255 : R;
|
|
63727
63837
|
Vr = 1;
|
|
63728
63838
|
}
|
|
63729
|
-
fo = Ki, Nn = Qi,
|
|
63839
|
+
fo = Ki, Nn = Qi, Vn = Wo, Eo = Zr, Xn = Ji, as = Pi, ls = Qr, cs = xo, ds = wn, hs = Bn, us = bo, fs = Zo, ps = Si, gs = ro, ms = Hi, ys = vn, vs = Ti, ws = wi, $r[0] = kn, $r[1] = Pr, $r[2] = Mn, $r[3] = Rn, $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] = An, Ai[3] = Ln, Ai[4] = fn, Ai[5] = pn, Ai[6] = wo, Li[0] = Hn, Li[1] = In, Li[2] = yn, Li[3] = $i, Li[4] = Ni, Li[5] = On, Li[6] = sr, R = 1;
|
|
63730
63840
|
} else R = 0;
|
|
63731
63841
|
}
|
|
63732
63842
|
R && (R = zt(N, F)), F.bc != null && F.bc(F), R &= 1;
|
|
@@ -63792,18 +63902,18 @@ function WebPDecoder(a) {
|
|
|
63792
63902
|
function Pr(N, F) {
|
|
63793
63903
|
Ri(N, F, 4);
|
|
63794
63904
|
}
|
|
63795
|
-
function
|
|
63905
|
+
function In(N, F) {
|
|
63796
63906
|
Ri(N, F, 8);
|
|
63797
63907
|
}
|
|
63798
63908
|
function un(N, F) {
|
|
63799
63909
|
Ri(N, F, 16);
|
|
63800
63910
|
}
|
|
63801
|
-
function
|
|
63911
|
+
function An(N, F) {
|
|
63802
63912
|
var R;
|
|
63803
63913
|
for (R = 0; 16 > R; ++R)
|
|
63804
63914
|
o(N, F + 32 * R, N, F - 32, 16);
|
|
63805
63915
|
}
|
|
63806
|
-
function
|
|
63916
|
+
function Ln(N, F) {
|
|
63807
63917
|
var R;
|
|
63808
63918
|
for (R = 16; 0 < R; --R)
|
|
63809
63919
|
n(N, F, N[F - 1], 16), F += 32;
|
|
@@ -63837,16 +63947,16 @@ function WebPDecoder(a) {
|
|
|
63837
63947
|
function Rt(N, F, R) {
|
|
63838
63948
|
return N + 2 * F + R + 2 >> 2;
|
|
63839
63949
|
}
|
|
63840
|
-
function
|
|
63950
|
+
function Mn(N, F) {
|
|
63841
63951
|
var R = F - 32, R = new Uint8Array([Rt(N[R - 1], N[R + 0], N[R + 1]), Rt(N[R + 0], N[R + 1], N[R + 2]), Rt(N[R + 1], N[R + 2], N[R + 3]), Rt(N[R + 2], N[R + 3], N[R + 4])]), B;
|
|
63842
63952
|
for (B = 0; 4 > B; ++B)
|
|
63843
63953
|
o(N, F + 32 * B, R, 0, R.length);
|
|
63844
63954
|
}
|
|
63845
|
-
function
|
|
63955
|
+
function Rn(N, F) {
|
|
63846
63956
|
var R = N[F - 1], B = N[F - 1 + 32], K = N[F - 1 + 64], te = N[F - 1 + 96];
|
|
63847
63957
|
Ce(N, F + 0, 16843009 * Rt(N[F - 1 - 32], R, B)), Ce(N, F + 32, 16843009 * Rt(R, B, K)), Ce(N, F + 64, 16843009 * Rt(B, K, te)), Ce(N, F + 96, 16843009 * Rt(K, te, te));
|
|
63848
63958
|
}
|
|
63849
|
-
function
|
|
63959
|
+
function kn(N, F) {
|
|
63850
63960
|
var R = 4, B;
|
|
63851
63961
|
for (B = 0; 4 > B; ++B)
|
|
63852
63962
|
R += N[F + B - 32] + N[F - 1 + 32 * B];
|
|
@@ -63892,13 +64002,13 @@ function WebPDecoder(a) {
|
|
|
63892
64002
|
for (B = 0; 8 > B; ++B)
|
|
63893
64003
|
n(F, R + 32 * B, N, 8);
|
|
63894
64004
|
}
|
|
63895
|
-
function
|
|
64005
|
+
function Hn(N, F) {
|
|
63896
64006
|
var R = 8, B;
|
|
63897
64007
|
for (B = 0; 8 > B; ++B)
|
|
63898
64008
|
R += N[F + B - 32] + N[F - 1 + 32 * B];
|
|
63899
64009
|
Co(R >> 4, N, F);
|
|
63900
64010
|
}
|
|
63901
|
-
function
|
|
64011
|
+
function On(N, F) {
|
|
63902
64012
|
var R = 4, B;
|
|
63903
64013
|
for (B = 0; 8 > B; ++B)
|
|
63904
64014
|
R += N[F + B - 32];
|
|
@@ -63987,7 +64097,7 @@ function WebPDecoder(a) {
|
|
|
63987
64097
|
function wn(N, F, R, B, K, te, re, ie) {
|
|
63988
64098
|
qr(N, F, K, 1, 8, te, re, ie), qr(R, B, K, 1, 8, te, re, ie);
|
|
63989
64099
|
}
|
|
63990
|
-
function
|
|
64100
|
+
function Bn(N, F, R, B, K, te, re, ie) {
|
|
63991
64101
|
qr(N, F, 1, K, 8, te, re, ie), qr(R, B, 1, K, 8, te, re, ie);
|
|
63992
64102
|
}
|
|
63993
64103
|
function Si(N, F, R, B, K, te, re, ie) {
|
|
@@ -64154,7 +64264,7 @@ function WebPDecoder(a) {
|
|
|
64154
64264
|
R[B + te] = N[F + te] >> 8;
|
|
64155
64265
|
}
|
|
64156
64266
|
function Kt() {
|
|
64157
|
-
on = ft, Tn = mt,
|
|
64267
|
+
on = ft, Tn = mt, xs = Bt, bs = Ht;
|
|
64158
64268
|
}
|
|
64159
64269
|
function $t(N, F, R) {
|
|
64160
64270
|
j[N] = function(B, K, te, re, ie, ce, pe, Ee, Oe, Xe, qe, Je, et, Ye, Ke, tt, st) {
|
|
@@ -64169,10 +64279,10 @@ function WebPDecoder(a) {
|
|
|
64169
64279
|
};
|
|
64170
64280
|
}
|
|
64171
64281
|
function yr() {
|
|
64172
|
-
ei[Fr] =
|
|
64282
|
+
ei[Fr] = qn, ei[xr] = _s, ei[xn] = Sn, ei[Xr] = Ps, ei[Ii] = Ns, ei[zn] = Ts, ei[is] = Qs, ei[Wn] = _s, ei[jn] = Ps, ei[bn] = Ns, ei[Un] = Ts;
|
|
64173
64283
|
}
|
|
64174
64284
|
function Sr(N) {
|
|
64175
|
-
return N & -16384 ? 0 > N ? 0 : 255 : N >>
|
|
64285
|
+
return N & -16384 ? 0 > N ? 0 : 255 : N >> Ss;
|
|
64176
64286
|
}
|
|
64177
64287
|
function ur(N, F) {
|
|
64178
64288
|
return Sr((19077 * N >> 8) + (26149 * F >> 8) - 14234);
|
|
@@ -64225,7 +64335,7 @@ function WebPDecoder(a) {
|
|
|
64225
64335
|
Nn(F, R, B, K, 0);
|
|
64226
64336
|
break;
|
|
64227
64337
|
case 2:
|
|
64228
|
-
|
|
64338
|
+
as(F, R, B, K);
|
|
64229
64339
|
break;
|
|
64230
64340
|
case 1:
|
|
64231
64341
|
Eo(F, R, B, K);
|
|
@@ -64251,10 +64361,10 @@ function WebPDecoder(a) {
|
|
|
64251
64361
|
for (0 < K && (B >= N.za - 1 ? n(Ke, tt, qe[Je].y[15], 4) : o(Ke, tt, qe[Je + 1].y, 0, 4)), R = 0; 4 > R; R++)
|
|
64252
64362
|
Ke[tt + 128 + R] = Ke[tt + 256 + R] = Ke[tt + 384 + R] = Ke[tt + 0 + R];
|
|
64253
64363
|
for (R = 0; 16 > R; ++R, Ye <<= 2)
|
|
64254
|
-
Ke = re, tt = ie +
|
|
64364
|
+
Ke = re, tt = ie + Fs[R], $r[Xe.Ob[R]](Ke, tt), oo(Ye, et, 16 * +R, Ke, tt);
|
|
64255
64365
|
} else if (Ke = si(B, K, Xe.Ob[0]), Ai[Ke](re, ie), Ye != 0) for (R = 0; 16 > R; ++R, Ye <<= 2)
|
|
64256
|
-
oo(Ye, et, 16 * +R, re, ie +
|
|
64257
|
-
for (R = Xe.Gc, Ke = si(B, K, Xe.Dd), Li[Ke](ce, pe), Li[Ke](Ee, Oe), Xe = R >> 0, Ye = et, Ke = ce, tt = pe, Xe & 255 && (Xe & 170 ?
|
|
64366
|
+
oo(Ye, et, 16 * +R, re, ie + Fs[R]);
|
|
64367
|
+
for (R = Xe.Gc, Ke = si(B, K, Xe.Dd), Li[Ke](ce, pe), Li[Ke](Ee, Oe), Xe = R >> 0, Ye = et, Ke = ce, tt = pe, Xe & 255 && (Xe & 170 ? Vn(Ye, 256, Ke, tt) : Xn(Ye, 256, Ke, tt)), R >>= 8, Xe = Ee, Ye = Oe, R & 255 && (R & 170 ? Vn(et, 320, Xe, Ye) : Xn(et, 320, Xe, Ye)), K < N.Ub - 1 && (o(qe[Je].y, 0, re, ie + 480, 16), o(qe[Je].f, 0, ce, pe + 224, 8), o(qe[Je].ea, 0, Ee, Oe + 224, 8)), R = 8 * te * N.B, qe = N.sa, Je = N.ta + 16 * B + 16 * te * N.R, et = N.qa, Xe = N.ra + 8 * B + R, Ye = N.Ha, Ke = N.Ia + 8 * B + R, R = 0; 16 > R; ++R)
|
|
64258
64368
|
o(qe, Je + R * N.R, re, ie + 32 * R, 16);
|
|
64259
64369
|
for (R = 0; 8 > R; ++R)
|
|
64260
64370
|
o(et, Xe + R * N.B, ce, pe + 32 * R, 8), o(Ye, Ke + R * N.B, Ee, Oe + 32 * R, 8);
|
|
@@ -64430,7 +64540,7 @@ function WebPDecoder(a) {
|
|
|
64430
64540
|
if (N = B.S, 0 >= ce || 0 >= pe || !(N >= Fr && 13 > N)) N = 2;
|
|
64431
64541
|
else {
|
|
64432
64542
|
if (0 >= B.Rd && B.sd == null) {
|
|
64433
|
-
var re = te = K = F = 0, ie = ce *
|
|
64543
|
+
var re = te = K = F = 0, ie = ce * Jn[N], Ee = ie * pe;
|
|
64434
64544
|
if (11 > N || (F = (ce + 1) / 2, te = (pe + 1) / 2 * F, N == 12 && (K = ce, re = K * pe)), pe = s(Ee + 2 * te + re), pe == null) {
|
|
64435
64545
|
N = 1;
|
|
64436
64546
|
break e;
|
|
@@ -64438,7 +64548,7 @@ function WebPDecoder(a) {
|
|
|
64438
64548
|
B.sd = pe, 11 > N ? (ce = B.f.RGBA, ce.eb = pe, ce.fb = 0, ce.A = ie, ce.size = Ee) : (ce = B.f.kb, ce.y = pe, ce.O = 0, ce.fa = ie, ce.Fd = Ee, ce.f = pe, ce.N = 0 + Ee, ce.Ab = F, ce.Cd = te, ce.ea = pe, ce.W = 0 + Ee + te, ce.Db = F, ce.Ed = te, N == 12 && (ce.F = pe, ce.J = 0 + Ee + 2 * te), ce.Tc = re, ce.lb = K);
|
|
64439
64549
|
}
|
|
64440
64550
|
if (F = 1, K = B.S, te = B.width, re = B.height, K >= Fr && 13 > K)
|
|
64441
|
-
if (11 > K) N = B.f.RGBA, ie = Math.abs(N.A), F &= ie * (re - 1) + te <= N.size, F &= ie >= te *
|
|
64551
|
+
if (11 > K) N = B.f.RGBA, ie = Math.abs(N.A), F &= ie * (re - 1) + te <= N.size, F &= ie >= te * Jn[K], F &= N.eb != null;
|
|
64442
64552
|
else {
|
|
64443
64553
|
N = B.f.kb, ie = (te + 1) / 2, Ee = (re + 1) / 2, ce = Math.abs(N.fa);
|
|
64444
64554
|
var pe = Math.abs(N.Ab), Oe = Math.abs(N.Db), Xe = Math.abs(N.lb), qe = Xe * (re - 1) + te;
|
|
@@ -64497,11 +64607,11 @@ function WebPDecoder(a) {
|
|
|
64497
64607
|
});
|
|
64498
64608
|
var co = j.ColorIndexInverseTransform, bi = j.MapARGB, zi = j.VP8LColorIndexInverseTransformAlpha, Wi = j.MapAlpha, To, ai = j.VP8LPredictorsAdd = [];
|
|
64499
64609
|
ai.length = 16, (j.VP8LPredictors = []).length = 16, (j.VP8LPredictorsAdd_C = []).length = 16, (j.VP8LPredictors_C = []).length = 16;
|
|
64500
|
-
var $o, en, Ei, ho, uo, Hr, Gr = s(511), Fi = s(2041), ji = s(225), So = s(767), Vr = 0, li = Fi, vr = ji, ar = So, dr = Gr, Fr = 0, xr = 1, xn = 2, Xr = 3, Ii = 4, Bn = 5, rs = 6, zn = 7, Wn = 8, bn = 9, jn = 10, Ws = [2, 3, 7], js = [3, 3, 11], tn = [280, 256, 256, 256, 40], Us = [0, 1, 1, 1, 0], Ys = [17, 18, 0, 1, 2, 3, 4, 5, 16, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], Zs = [24, 7, 23, 25, 40, 6, 39, 41, 22, 26, 38, 42, 56, 5, 55, 57, 21, 27, 54, 58, 37, 43, 72, 4, 71, 73, 20, 28, 53, 59, 70, 74, 36, 44, 88, 69, 75, 52, 60, 3, 87, 89, 19, 29, 86, 90, 35, 45, 68, 76, 85, 91, 51, 61, 104, 2, 103, 105, 18, 30, 102, 106, 34, 46, 84, 92, 67, 77, 101, 107, 50, 62, 120, 1, 119, 121, 83, 93, 17, 31, 100, 108, 66, 78, 118, 122, 33, 47, 117, 123, 49, 63, 99, 109, 82, 94, 0, 116, 124, 65, 79, 16, 32, 98, 110, 48, 115, 125, 81, 95, 64, 114, 126, 97, 111, 80, 113, 127, 96, 112], Gs = [2954, 2956, 2958, 2962, 2970, 2986, 3018, 3082, 3212, 3468, 3980, 5004], Vs = 8, Un = [4, 5, 6, 7, 8, 9, 10, 10, 11, 12, 13, 14, 15, 16, 17, 17, 18, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 25, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 91, 93, 95, 96, 98, 100, 101, 102, 104, 106, 108, 110, 112, 114, 116, 118, 122, 124, 126, 128, 130, 132, 134, 136, 138, 140, 143, 145, 148, 151, 154, 157], Yn = [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 82, 84, 86, 88, 90, 92, 94, 96, 98, 100, 102, 104, 106, 108, 110, 112, 114, 116, 119, 122, 125, 128, 131, 134, 137, 140, 143, 146, 149, 152, 155, 158, 161, 164, 167, 170, 173, 177, 181, 185, 189, 193, 197, 201, 205, 209, 213, 217, 221, 225, 229, 234, 239, 245, 249, 254, 259, 264, 269, 274, 279, 284], rn = null, is = [[173, 148, 140, 0], [176, 155, 140, 135, 0], [180, 157, 141, 134, 130, 0], [254, 254, 243, 230, 196, 177, 153, 140, 133, 130, 129, 0]], os = [0, 1, 4, 8, 5, 2, 3, 6, 9, 12, 13, 10, 7, 11, 14, 15], Zn = [-0, 1, -1, 2, -2, 3, 4, 6, -3, 5, -4, -5, -6, 7, -7, 8, -8, -9], _n = [[[[128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128]], [[253, 136, 254, 255, 228, 219, 128, 128, 128, 128, 128], [189, 129, 242, 255, 227, 213, 255, 219, 128, 128, 128], [106, 126, 227, 252, 214, 209, 255, 255, 128, 128, 128]], [[1, 98, 248, 255, 236, 226, 255, 255, 128, 128, 128], [181, 133, 238, 254, 221, 234, 255, 154, 128, 128, 128], [78, 134, 202, 247, 198, 180, 255, 219, 128, 128, 128]], [[1, 185, 249, 255, 243, 255, 128, 128, 128, 128, 128], [184, 150, 247, 255, 236, 224, 128, 128, 128, 128, 128], [77, 110, 216, 255, 236, 230, 128, 128, 128, 128, 128]], [[1, 101, 251, 255, 241, 255, 128, 128, 128, 128, 128], [170, 139, 241, 252, 236, 209, 255, 255, 128, 128, 128], [37, 116, 196, 243, 228, 255, 255, 255, 128, 128, 128]], [[1, 204, 254, 255, 245, 255, 128, 128, 128, 128, 128], [207, 160, 250, 255, 238, 128, 128, 128, 128, 128, 128], [102, 103, 231, 255, 211, 171, 128, 128, 128, 128, 128]], [[1, 152, 252, 255, 240, 255, 128, 128, 128, 128, 128], [177, 135, 243, 255, 234, 225, 128, 128, 128, 128, 128], [80, 129, 211, 255, 194, 224, 128, 128, 128, 128, 128]], [[1, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [246, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [255, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128]]], [[[198, 35, 237, 223, 193, 187, 162, 160, 145, 155, 62], [131, 45, 198, 221, 172, 176, 220, 157, 252, 221, 1], [68, 47, 146, 208, 149, 167, 221, 162, 255, 223, 128]], [[1, 149, 241, 255, 221, 224, 255, 255, 128, 128, 128], [184, 141, 234, 253, 222, 220, 255, 199, 128, 128, 128], [81, 99, 181, 242, 176, 190, 249, 202, 255, 255, 128]], [[1, 129, 232, 253, 214, 197, 242, 196, 255, 255, 128], [99, 121, 210, 250, 201, 198, 255, 202, 128, 128, 128], [23, 91, 163, 242, 170, 187, 247, 210, 255, 255, 128]], [[1, 200, 246, 255, 234, 255, 128, 128, 128, 128, 128], [109, 178, 241, 255, 231, 245, 255, 255, 128, 128, 128], [44, 130, 201, 253, 205, 192, 255, 255, 128, 128, 128]], [[1, 132, 239, 251, 219, 209, 255, 165, 128, 128, 128], [94, 136, 225, 251, 218, 190, 255, 255, 128, 128, 128], [22, 100, 174, 245, 186, 161, 255, 199, 128, 128, 128]], [[1, 182, 249, 255, 232, 235, 128, 128, 128, 128, 128], [124, 143, 241, 255, 227, 234, 128, 128, 128, 128, 128], [35, 77, 181, 251, 193, 211, 255, 205, 128, 128, 128]], [[1, 157, 247, 255, 236, 231, 255, 255, 128, 128, 128], [121, 141, 235, 255, 225, 227, 255, 255, 128, 128, 128], [45, 99, 188, 251, 195, 217, 255, 224, 128, 128, 128]], [[1, 1, 251, 255, 213, 255, 128, 128, 128, 128, 128], [203, 1, 248, 255, 255, 128, 128, 128, 128, 128, 128], [137, 1, 177, 255, 224, 255, 128, 128, 128, 128, 128]]], [[[253, 9, 248, 251, 207, 208, 255, 192, 128, 128, 128], [175, 13, 224, 243, 193, 185, 249, 198, 255, 255, 128], [73, 17, 171, 221, 161, 179, 236, 167, 255, 234, 128]], [[1, 95, 247, 253, 212, 183, 255, 255, 128, 128, 128], [239, 90, 244, 250, 211, 209, 255, 255, 128, 128, 128], [155, 77, 195, 248, 188, 195, 255, 255, 128, 128, 128]], [[1, 24, 239, 251, 218, 219, 255, 205, 128, 128, 128], [201, 51, 219, 255, 196, 186, 128, 128, 128, 128, 128], [69, 46, 190, 239, 201, 218, 255, 228, 128, 128, 128]], [[1, 191, 251, 255, 255, 128, 128, 128, 128, 128, 128], [223, 165, 249, 255, 213, 255, 128, 128, 128, 128, 128], [141, 124, 248, 255, 255, 128, 128, 128, 128, 128, 128]], [[1, 16, 248, 255, 255, 128, 128, 128, 128, 128, 128], [190, 36, 230, 255, 236, 255, 128, 128, 128, 128, 128], [149, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128]], [[1, 226, 255, 128, 128, 128, 128, 128, 128, 128, 128], [247, 192, 255, 128, 128, 128, 128, 128, 128, 128, 128], [240, 128, 255, 128, 128, 128, 128, 128, 128, 128, 128]], [[1, 134, 252, 255, 255, 128, 128, 128, 128, 128, 128], [213, 62, 250, 255, 255, 128, 128, 128, 128, 128, 128], [55, 93, 255, 128, 128, 128, 128, 128, 128, 128, 128]], [[128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128]]], [[[202, 24, 213, 235, 186, 191, 220, 160, 240, 175, 255], [126, 38, 182, 232, 169, 184, 228, 174, 255, 187, 128], [61, 46, 138, 219, 151, 178, 240, 170, 255, 216, 128]], [[1, 112, 230, 250, 199, 191, 247, 159, 255, 255, 128], [166, 109, 228, 252, 211, 215, 255, 174, 128, 128, 128], [39, 77, 162, 232, 172, 180, 245, 178, 255, 255, 128]], [[1, 52, 220, 246, 198, 199, 249, 220, 255, 255, 128], [124, 74, 191, 243, 183, 193, 250, 221, 255, 255, 128], [24, 71, 130, 219, 154, 170, 243, 182, 255, 255, 128]], [[1, 182, 225, 249, 219, 240, 255, 224, 128, 128, 128], [149, 150, 226, 252, 216, 205, 255, 171, 128, 128, 128], [28, 108, 170, 242, 183, 194, 254, 223, 255, 255, 128]], [[1, 81, 230, 252, 204, 203, 255, 192, 128, 128, 128], [123, 102, 209, 247, 188, 196, 255, 233, 128, 128, 128], [20, 95, 153, 243, 164, 173, 255, 203, 128, 128, 128]], [[1, 222, 248, 255, 216, 213, 128, 128, 128, 128, 128], [168, 175, 246, 252, 235, 205, 255, 255, 128, 128, 128], [47, 116, 215, 255, 211, 212, 255, 255, 128, 128, 128]], [[1, 121, 236, 253, 212, 214, 255, 255, 128, 128, 128], [141, 84, 213, 252, 201, 202, 255, 219, 128, 128, 128], [42, 80, 160, 240, 162, 185, 255, 205, 128, 128, 128]], [[1, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [244, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [238, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128]]]], Do = [[[231, 120, 48, 89, 115, 113, 120, 152, 112], [152, 179, 64, 126, 170, 118, 46, 70, 95], [175, 69, 143, 80, 85, 82, 72, 155, 103], [56, 58, 10, 171, 218, 189, 17, 13, 152], [114, 26, 17, 163, 44, 195, 21, 10, 173], [121, 24, 80, 195, 26, 62, 44, 64, 85], [144, 71, 10, 38, 171, 213, 144, 34, 26], [170, 46, 55, 19, 136, 160, 33, 206, 71], [63, 20, 8, 114, 114, 208, 12, 9, 226], [81, 40, 11, 96, 182, 84, 29, 16, 36]], [[134, 183, 89, 137, 98, 101, 106, 165, 148], [72, 187, 100, 130, 157, 111, 32, 75, 80], [66, 102, 167, 99, 74, 62, 40, 234, 128], [41, 53, 9, 178, 241, 141, 26, 8, 107], [74, 43, 26, 146, 73, 166, 49, 23, 157], [65, 38, 105, 160, 51, 52, 31, 115, 128], [104, 79, 12, 27, 217, 255, 87, 17, 7], [87, 68, 71, 44, 114, 51, 15, 186, 23], [47, 41, 14, 110, 182, 183, 21, 17, 194], [66, 45, 25, 102, 197, 189, 23, 18, 22]], [[88, 88, 147, 150, 42, 46, 45, 196, 205], [43, 97, 183, 117, 85, 38, 35, 179, 61], [39, 53, 200, 87, 26, 21, 43, 232, 171], [56, 34, 51, 104, 114, 102, 29, 93, 77], [39, 28, 85, 171, 58, 165, 90, 98, 64], [34, 22, 116, 206, 23, 34, 43, 166, 73], [107, 54, 32, 26, 51, 1, 81, 43, 31], [68, 25, 106, 22, 64, 171, 36, 225, 114], [34, 19, 21, 102, 132, 188, 16, 76, 124], [62, 18, 78, 95, 85, 57, 50, 48, 51]], [[193, 101, 35, 159, 215, 111, 89, 46, 111], [60, 148, 31, 172, 219, 228, 21, 18, 111], [112, 113, 77, 85, 179, 255, 38, 120, 114], [40, 42, 1, 196, 245, 209, 10, 25, 109], [88, 43, 29, 140, 166, 213, 37, 43, 154], [61, 63, 30, 155, 67, 45, 68, 1, 209], [100, 80, 8, 43, 154, 1, 51, 26, 71], [142, 78, 78, 16, 255, 128, 34, 197, 171], [41, 40, 5, 102, 211, 183, 4, 1, 221], [51, 50, 17, 168, 209, 192, 23, 25, 82]], [[138, 31, 36, 171, 27, 166, 38, 44, 229], [67, 87, 58, 169, 82, 115, 26, 59, 179], [63, 59, 90, 180, 59, 166, 93, 73, 154], [40, 40, 21, 116, 143, 209, 34, 39, 175], [47, 15, 16, 183, 34, 223, 49, 45, 183], [46, 17, 33, 183, 6, 98, 15, 32, 183], [57, 46, 22, 24, 128, 1, 54, 17, 37], [65, 32, 73, 115, 28, 128, 23, 128, 205], [40, 3, 9, 115, 51, 192, 18, 6, 223], [87, 37, 9, 115, 59, 77, 64, 21, 47]], [[104, 55, 44, 218, 9, 54, 53, 130, 226], [64, 90, 70, 205, 40, 41, 23, 26, 57], [54, 57, 112, 184, 5, 41, 38, 166, 213], [30, 34, 26, 133, 152, 116, 10, 32, 134], [39, 19, 53, 221, 26, 114, 32, 73, 255], [31, 9, 65, 234, 2, 15, 1, 118, 73], [75, 32, 12, 51, 192, 255, 160, 43, 51], [88, 31, 35, 67, 102, 85, 55, 186, 85], [56, 21, 23, 111, 59, 205, 45, 37, 192], [55, 38, 70, 124, 73, 102, 1, 34, 98]], [[125, 98, 42, 88, 104, 85, 117, 175, 82], [95, 84, 53, 89, 128, 100, 113, 101, 45], [75, 79, 123, 47, 51, 128, 81, 171, 1], [57, 17, 5, 71, 102, 57, 53, 41, 49], [38, 33, 13, 121, 57, 73, 26, 1, 85], [41, 10, 67, 138, 77, 110, 90, 47, 114], [115, 21, 2, 10, 102, 255, 166, 23, 6], [101, 29, 16, 10, 85, 128, 101, 196, 26], [57, 18, 10, 102, 102, 213, 34, 20, 43], [117, 20, 15, 36, 163, 128, 68, 1, 26]], [[102, 61, 71, 37, 34, 53, 31, 243, 192], [69, 60, 71, 38, 73, 119, 28, 222, 37], [68, 45, 128, 34, 1, 47, 11, 245, 171], [62, 17, 19, 70, 146, 85, 55, 62, 70], [37, 43, 37, 154, 100, 163, 85, 160, 1], [63, 9, 92, 136, 28, 64, 32, 201, 85], [75, 15, 9, 9, 64, 255, 184, 119, 16], [86, 6, 28, 5, 64, 255, 25, 248, 1], [56, 8, 17, 132, 137, 255, 55, 116, 128], [58, 15, 20, 82, 135, 57, 26, 121, 40]], [[164, 50, 31, 137, 154, 133, 25, 35, 218], [51, 103, 44, 131, 131, 123, 31, 6, 158], [86, 40, 64, 135, 148, 224, 45, 183, 128], [22, 26, 17, 131, 240, 154, 14, 1, 209], [45, 16, 21, 91, 64, 222, 7, 1, 197], [56, 21, 39, 155, 60, 138, 23, 102, 213], [83, 12, 13, 54, 192, 255, 68, 47, 28], [85, 26, 85, 85, 128, 128, 32, 146, 171], [18, 11, 7, 63, 144, 171, 4, 4, 246], [35, 27, 10, 146, 174, 171, 12, 26, 128]], [[190, 80, 35, 99, 180, 80, 126, 54, 45], [85, 126, 47, 87, 176, 51, 41, 20, 32], [101, 75, 128, 139, 118, 146, 116, 128, 85], [56, 41, 15, 176, 236, 85, 37, 9, 62], [71, 30, 17, 119, 118, 255, 17, 18, 138], [101, 38, 60, 138, 55, 70, 43, 26, 142], [146, 36, 19, 30, 171, 255, 97, 27, 20], [138, 45, 61, 62, 219, 1, 81, 188, 64], [32, 41, 20, 117, 151, 142, 20, 21, 163], [112, 19, 12, 61, 195, 128, 48, 4, 24]]], Pn = [[[[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[176, 246, 255, 255, 255, 255, 255, 255, 255, 255, 255], [223, 241, 252, 255, 255, 255, 255, 255, 255, 255, 255], [249, 253, 253, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 244, 252, 255, 255, 255, 255, 255, 255, 255, 255], [234, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [253, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 246, 254, 255, 255, 255, 255, 255, 255, 255, 255], [239, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 248, 254, 255, 255, 255, 255, 255, 255, 255, 255], [251, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [251, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 253, 255, 254, 255, 255, 255, 255, 255, 255], [250, 255, 254, 255, 254, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]], [[[217, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [225, 252, 241, 253, 255, 255, 254, 255, 255, 255, 255], [234, 250, 241, 250, 253, 255, 253, 254, 255, 255, 255]], [[255, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [223, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [238, 253, 254, 254, 255, 255, 255, 255, 255, 255, 255]], [[255, 248, 254, 255, 255, 255, 255, 255, 255, 255, 255], [249, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 255, 255, 255, 255, 255, 255, 255, 255, 255], [247, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [252, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [253, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 253, 255, 255, 255, 255, 255, 255, 255, 255], [250, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]], [[[186, 251, 250, 255, 255, 255, 255, 255, 255, 255, 255], [234, 251, 244, 254, 255, 255, 255, 255, 255, 255, 255], [251, 251, 243, 253, 254, 255, 254, 255, 255, 255, 255]], [[255, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [236, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [251, 253, 253, 254, 254, 255, 255, 255, 255, 255, 255]], [[255, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [254, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]], [[[248, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [250, 254, 252, 254, 255, 255, 255, 255, 255, 255, 255], [248, 254, 249, 253, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 253, 255, 255, 255, 255, 255, 255, 255, 255], [246, 253, 253, 255, 255, 255, 255, 255, 255, 255, 255], [252, 254, 251, 254, 254, 255, 255, 255, 255, 255, 255]], [[255, 254, 252, 255, 255, 255, 255, 255, 255, 255, 255], [248, 254, 253, 255, 255, 255, 255, 255, 255, 255, 255], [253, 255, 254, 254, 255, 255, 255, 255, 255, 255, 255]], [[255, 251, 254, 255, 255, 255, 255, 255, 255, 255, 255], [245, 251, 254, 255, 255, 255, 255, 255, 255, 255, 255], [253, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 251, 253, 255, 255, 255, 255, 255, 255, 255, 255], [252, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 252, 255, 255, 255, 255, 255, 255, 255, 255, 255], [249, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 253, 255, 255, 255, 255, 255, 255, 255, 255], [250, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]]], ns = [0, 1, 2, 3, 6, 4, 5, 6, 6, 6, 6, 6, 6, 6, 6, 7, 0], fo, Ai = [], $r = [], Li = [], Nn, ss, Gn, Eo, Vn, as, ls, cs, ds, hs, us, fs, ps, gs, ms, ys, vs, Xs = 1, ws = 2, Ui = [], on, Tn, Cs, xs, ei = [];
|
|
64610
|
+
var $o, en, Ei, ho, uo, Hr, Gr = s(511), Fi = s(2041), ji = s(225), So = s(767), Vr = 0, li = Fi, vr = ji, ar = So, dr = Gr, Fr = 0, xr = 1, xn = 2, Xr = 3, Ii = 4, zn = 5, is = 6, Wn = 7, jn = 8, bn = 9, Un = 10, js = [2, 3, 7], Us = [3, 3, 11], tn = [280, 256, 256, 256, 40], Ys = [0, 1, 1, 1, 0], Zs = [17, 18, 0, 1, 2, 3, 4, 5, 16, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], Gs = [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], Vs = [2954, 2956, 2958, 2962, 2970, 2986, 3018, 3082, 3212, 3468, 3980, 5004], Xs = 8, Yn = [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], Zn = [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, os = [[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]], ns = [0, 1, 4, 8, 5, 2, 3, 6, 9, 12, 13, 10, 7, 11, 14, 15], Gn = [-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]]]], ss = [0, 1, 2, 3, 6, 4, 5, 6, 6, 6, 6, 6, 6, 6, 6, 7, 0], fo, Ai = [], $r = [], Li = [], Nn, as, Vn, Eo, Xn, ls, cs, ds, hs, us, fs, ps, gs, ms, ys, vs, ws, qs = 1, Cs = 2, Ui = [], on, Tn, xs, bs, ei = [];
|
|
64501
64611
|
$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);
|
|
64502
|
-
var
|
|
64612
|
+
var qn = j.UpsampleRgbLinePair, Sn = j.UpsampleBgrLinePair, _s = j.UpsampleRgbaLinePair, Ps = j.UpsampleBgraLinePair, Ns = j.UpsampleArgbLinePair, Ts = j.UpsampleRgba4444LinePair, Qs = j.UpsampleRgb565LinePair, Dn = 16, nn = 1 << Dn - 1, sn = -227, Qn = 482, Ss = 6, Ds = 0, Js = s(256), Ks = s(256), Yi = s(256), Es = s(256), $s = s(Qn - sn), ea = s(Qn - sn);
|
|
64503
64613
|
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);
|
|
64504
|
-
var
|
|
64614
|
+
var Fs = [0, 4, 8, 12, 128, 132, 136, 140, 256, 260, 264, 268, 384, 388, 392, 396], dt = [0, 2, 8], ta = [8, 7, 6, 4, 4, 2, 2, 2, 1, 1, 1, 1], ra = 1;
|
|
64505
64615
|
this.WebPDecodeRGBA = function(N, F, R, B, K) {
|
|
64506
64616
|
var te = xr, re = new Go(), ie = new Ut();
|
|
64507
64617
|
re.ba = ie, ie.S = te, ie.width = [ie.width], ie.height = [ie.height];
|
|
@@ -64558,7 +64668,7 @@ function WebPDecoder(a) {
|
|
|
64558
64668
|
if (N.Aa = 0, R = re.Oa, K = N, t(K != null), R != null) {
|
|
64559
64669
|
if (ce = R.Md, ce = 0 > ce ? 0 : 100 < ce ? 255 : 255 * ce / 100, 0 < ce) {
|
|
64560
64670
|
for (pe = Ee = 0; 4 > pe; ++pe)
|
|
64561
|
-
Oe = K.pb[pe], 12 > Oe.lc && (Oe.ia = ce *
|
|
64671
|
+
Oe = K.pb[pe], 12 > Oe.lc && (Oe.ia = ce * ta[0 > Oe.lc ? 0 : Oe.lc] >> 3), Ee |= Oe.ia;
|
|
64562
64672
|
Ee && (alert("todo:VP8InitRandom"), K.ia = 1);
|
|
64563
64673
|
}
|
|
64564
64674
|
K.Ga = R.Id, 100 < K.Ga ? K.Ga = 100 : 0 > K.Ga && (K.Ga = 0);
|
|
@@ -64575,7 +64685,7 @@ function WebPDecoder(a) {
|
|
|
64575
64685
|
} else te = null;
|
|
64576
64686
|
return te;
|
|
64577
64687
|
};
|
|
64578
|
-
var
|
|
64688
|
+
var Jn = [3, 4, 3, 4, 4, 2, 2, 4, 4, 4, 2, 1, 1];
|
|
64579
64689
|
};
|
|
64580
64690
|
new u();
|
|
64581
64691
|
/** @license
|
|
@@ -65158,7 +65268,7 @@ WebPDecoder.prototype.getData = function() {
|
|
|
65158
65268
|
(function(a) {
|
|
65159
65269
|
function t() {
|
|
65160
65270
|
return function() {
|
|
65161
|
-
return globalObject.canvg ? Promise.resolve(globalObject.canvg) : import("./index.es-
|
|
65271
|
+
return globalObject.canvg ? Promise.resolve(globalObject.canvg) : import("./index.es-DIvCgnG5.mjs");
|
|
65162
65272
|
}().catch(function(r) {
|
|
65163
65273
|
return Promise.reject(new Error("Could not load canvg: " + r));
|
|
65164
65274
|
}).then(function(r) {
|
|
@@ -72833,9 +72943,11 @@ class HOEditorFactory {
|
|
|
72833
72943
|
b(this, "saveDocLog", !1);
|
|
72834
72944
|
// 记录文档信息
|
|
72835
72945
|
b(this, "drawRadioAndCheckBoxMode", 1);
|
|
72946
|
+
// 绘制模式 1: Unicode 转义 2: 字形
|
|
72947
|
+
/** 编辑器指令回调:宿主可通过 setHoEditorFactoryParams 绑定,接收编辑器发出的指令及参数 */
|
|
72948
|
+
b(this, "onEditorCommand", null);
|
|
72836
72949
|
this._hoEditorFactoryId = t;
|
|
72837
72950
|
}
|
|
72838
|
-
// 绘制模式 1: Unicode 转义 2: 字形
|
|
72839
72951
|
/**
|
|
72840
72952
|
* Getter hoLocalStorage
|
|
72841
72953
|
* @return {HoLocalStorage}
|
|
@@ -75358,7 +75470,7 @@ var _sfc_render$12 = function a() {
|
|
|
75358
75470
|
t.$set(t.textParam.downListProperty, "mutexSelect", o);
|
|
75359
75471
|
}, expression: "textParam.downListProperty.mutexSelect" } }, [t._v(i18nHelper("04-001-009-EMR.3.3.181", null, "选项互斥"))]), r("div", { staticClass: "control-item" }, [r("span", { staticClass: "label", staticStyle: { width: "60px" } }, [t._v(i18nHelper("04-001-009-EMR.3.3.158", null, "连接符"))]), r("a-select", { staticStyle: { "text-align": "left", "font-size": "20px" }, attrs: { size: "small", getPopupContainer: (o) => o.parentNode, placeholder: i18nHelper("04-001-009-EMR.3.3.158", null, "连接符") }, model: { value: t.textParam.downListProperty.splitCharacter, callback: function(o) {
|
|
75360
75472
|
t.$set(t.textParam.downListProperty, "splitCharacter", o);
|
|
75361
|
-
}, expression: "textParam.downListProperty.splitCharacter" } }, [r("a-select-option", { attrs: { value: "," } }, [t._v(",")]), r("a-select-option", { attrs: { value: ";" } }, [t._v(";")]), r("a-select-option", { attrs: { value: "、" } }, [t._v("、")]), r("a-select-option", { attrs: { value: "/" } }, [t._v("/")]), r("a-select-option", { attrs: { value: "-" } }, [t._v("-")]), r("a-select-option", { attrs: { value: "\\" } }, [t._v("\\")]), r("a-select-option", { attrs: { value: "" } }, [t._v("无连接符")])], 1)], 1)], 1) : t._e(), t.textParam.inputFieldType === 1 ? [r("li", { staticClass: "control-item" }, [r("span", { staticClass: "label" }, [t._v(i18nHelper("04-001-009-EMR.3.3.180", null, "设置前缀字符文本"))]), r("a-checkbox", { attrs: { disabled: !t.textParam.downListProperty.allowMultiSelected, size: "small" }, model: { value: t.textParam.downListProperty.usePrefix, callback: function(o) {
|
|
75473
|
+
}, expression: "textParam.downListProperty.splitCharacter" } }, [r("a-select-option", { attrs: { value: "," } }, [t._v(",")]), r("a-select-option", { attrs: { value: ";" } }, [t._v(";")]), r("a-select-option", { attrs: { value: "、" } }, [t._v("、")]), r("a-select-option", { attrs: { value: "/" } }, [t._v("/")]), r("a-select-option", { attrs: { value: "-" } }, [t._v("-")]), r("a-select-option", { attrs: { value: "\\" } }, [t._v("\\")]), r("a-select-option", { attrs: { value: "+" } }, [t._v("+")]), r("a-select-option", { attrs: { value: "" } }, [t._v("无连接符")])], 1)], 1)], 1) : t._e(), t.textParam.inputFieldType === 1 ? [r("li", { staticClass: "control-item" }, [r("span", { staticClass: "label" }, [t._v(i18nHelper("04-001-009-EMR.3.3.180", null, "设置前缀字符文本"))]), r("a-checkbox", { attrs: { disabled: !t.textParam.downListProperty.allowMultiSelected, size: "small" }, model: { value: t.textParam.downListProperty.usePrefix, callback: function(o) {
|
|
75362
75474
|
t.$set(t.textParam.downListProperty, "usePrefix", o);
|
|
75363
75475
|
}, expression: "textParam.downListProperty.usePrefix" } }, [t._v(i18nHelper("04-001-009-EMR.3.3.179", null, "启用"))])], 1), r("li", { staticClass: "control-item" }, [r("span", { staticClass: "label" }, [t._v(i18nHelper("04-001-009-EMR.3.3.178", null, "选中项前缀字符文本"))]), r("a-input", { attrs: { size: "small", disabled: !t.textParam.downListProperty.allowMultiSelected || !t.textParam.downListProperty.usePrefix, placeholder: i18nHelper("04-001-009-EMR.3.3.178", null, "选中项前缀字符文本") }, model: { value: t.textParam.downListProperty.selectPrefix, callback: function(o) {
|
|
75364
75476
|
t.$set(t.textParam.downListProperty, "selectPrefix", o);
|